]> sourceware.org Git - glibc.git/blame - ChangeLog
Make fma and nextafter tests use max_value instead of fltmax.
[glibc.git] / ChangeLog
CommitLineData
74c57478
JM
12013-05-11 Joseph Myers <joseph@codesourcery.com>
2
8329e4da
JM
3 * math/libm-test.inc (fma_test): Use max_value instead of local
4 variable fltmax.
5 (nextafter_test): Likewise.
6
74c57478
JM
7 * math/libm-test.inc (acos_towardzero_test_data): New variable.
8 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9 (acos_downward_test_data): New variable.
10 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11 (acos_upward_test_data): New variable.
12 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13 (acosh_test_data): New variable.
14 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15 (asin_test_data): New variable.
16 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17 (asin_tonearest_test_data): New variable.
18 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19 (asin_towardzero_test_data): New variable.
20 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21 (asin_downward_test_data): New variable.
22 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23 (asin_upward_test_data): New variable.
24 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25 (asinh_test_data): New variable.
26 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27 (atan_test_data): New variable.
28 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29 (atanh_test_data): New variable.
30 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31 (cbrt_test_data): New variable.
32 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33 (ceil_test_data): New variable.
34 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
35 (cos_test_data): New variable.
36 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
37 (cos_tonearest_test_data): New variable.
38 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
39 (cos_towardzero_test_data): New variable.
40 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
41 (cos_downward_test_data): New variable.
42 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
43 (cos_upward_test_data): New variable.
44 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
45 (cosh_test_data): New variable.
46 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
47 (cosh_tonearest_test_data): New variable.
48 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49 (cosh_towardzero_test_data): New variable.
50 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
51 (cosh_downward_test_data): New variable.
52 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53 (cosh_upward_test_data): New variable.
54 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
55 (erf_test_data): New variable.
56 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57 (erfc_test_data): New variable.
58 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
59 (exp_test_data): New variable.
60 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61 (exp_tonearest_test_data): New variable.
62 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
63 (exp_towardzero_test_data): New variable.
64 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
65 (exp_downward_test_data): New variable.
66 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67 (exp_upward_test_data): New variable.
68 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
69 (exp10_test_data): New variable.
70 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
71 (exp2_test_data): New variable.
72 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
73 (expm1_test_data): New variable.
74 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
75 (fabs_test_data): New variable.
76 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
77 (floor_test_data): New variable.
78 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
79 (j0_test_data): New variable.
80 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
81 (j1_test_data): New variable.
82 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
83 (log_test_data): New variable.
84 (log_test): Run tests with RUN_TEST_LOOP_f_f.
85 (log10_test_data): New variable.
86 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
87 (log1p_test_data): New variable.
88 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
89 (log2_test_data): New variable.
90 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
91 (logb_test_data): New variable.
92 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
93 (logb_downward_test_data): New variable.
94 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
95 (nearbyint_test_data): New variable.
96 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
97 (rint_test_data): New variable.
98 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
99 (rint_tonearest_test_data): New variable.
100 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
101 (rint_towardzero_test_data): New variable.
102 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
103 (rint_downward_test_data): New variable.
104 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
105 (rint_upward_test_data): New variable.
106 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
107 (round_test_data): New variable.
108 (round_test): Run tests with RUN_TEST_LOOP_f_f.
109 (sin_test_data): New variable.
110 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
111 (sin_tonearest_test_data): New variable.
112 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
113 (sin_towardzero_test_data): New variable.
114 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
115 (sin_downward_test_data): New variable.
116 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
117 (sin_upward_test_data): New variable.
118 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
119 (sinh_test_data): New variable.
120 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
121 (sinh_tonearest_test_data): New variable.
122 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
123 (sinh_towardzero_test_data): New variable.
124 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
125 (sinh_downward_test_data): New variable.
126 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
127 (sinh_upward_test_data): New variable.
128 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
129 (sqrt_test_data): New variable.
130 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
131 (tan_test_data): New variable.
132 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
133 (tan_tonearest_test_data): New variable.
134 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
135 (tan_towardzero_test_data): New variable.
136 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
137 (tan_downward_test_data): New variable.
138 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
139 (tan_upward_test_data): New variable.
140 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
141 (tanh_test_data): New variable.
142 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
143 (tgamma_test_data): New variable.
144 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
145 (trunc_test_data): New variable.
146 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
147 (y0_test_data): New variable.
148 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
149 (y1_test_data): New variable.
150 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
151 (significand_test_data): New variable.
152 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
153
7187d844
CG
1542013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
155
156 [BZ #12387]
157 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
158
f63fae73
PT
1592013-05-10 Pino Toscano <toscano.pino@tiscali.it>
160
161 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
162
8a67a4b3
AJ
1632013-05-10 Andreas Jaeger <aj@suse.de>
164
165 [BZ #15448]
166 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
167 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
168
51df539d
JM
1692013-05-10 Joseph Myers <joseph@codesourcery.com>
170
171 * math/gen-libm-test.pl (adjust_arg): New function.
172 (special_functions): Handle generating output in both functions
173 and arrays.
174 (parse_args): Likewise.
175 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
176 $in_func argument to parse_args.
177 * math/libm-test.inc (struct test_f_f_data): New type.
178 (IF_ROUND_INIT_): New macro.
179 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
180 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
181 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
182 (IF_ROUND_INIT_FE_UPWARD): Likewise.
183 (ROUND_RESTORE_): Likewise.
184 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
185 (ROUND_RESTORE_FE_TONEAREST): Likewise.
186 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
187 (ROUND_RESTORE_FE_UPWARD): Likewise.
188 (RUN_TEST_LOOP_f_f): New macro.
189 (acos_test_data): New variable.
190 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
191 (acos_tonearest_test_data): New variable.
192 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
193
5c637fe5
SP
1942013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
195
196 * benchtests/bench-skeleton.c (startup): Fix coding style.
197
ab2b9461
JM
1982013-05-10 Joseph Myers <joseph@codesourcery.com>
199
200 [BZ #6809]
201 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
202 negative infinity argument.
203 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
204 negative infinity argument.
205 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
206 negative infinity argument.
207 * math/libm-test.inc (tgamma_test): Expect errno to be set for
208 domain errors.
209
4c0fe6fe
FW
2102013-05-10 Florian Weimer <fweimer@redhat.com>
211
212 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
213 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
214 * iconv/iconv_prog.c (main): Likewise.
215 * locale/programs/charmap-dir.c (charmap_readdir)
216 (fopen_uncompressed): Likewise.
217 * locale/programs/locfile.c (siblings_uncached)
218 (write_locale_data): Use lstat64 instead of lstat.
219 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
220 stat.
221
a3375d29
AJ
2222013-05-10 Andreas Jaeger <aj@suse.de>
223
224 [BZ #15395]
225 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
226 localization.
227 Include <locale.h>.
228
36129722
CD
2292013-05-09 Carlos O'Donell <carlos@redhat.com>
230
231 * elf/dl-close.c (_dl_close_worker): Add comments.
232
faa7f811
JM
2332013-05-09 Joseph Myers <joseph@codesourcery.com>
234
ed41ffef
JM
235 [BZ #15359]
236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
237 high part of pi/2.
238 (__ieee754_rem_pio2l): Update comments.
239
d0213cd0
JM
240 [BZ #15429]
241 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
242 high part of pi/2.
243 (__ieee754_rem_pio2l): Update comments.
244
0d3e777a
JM
245 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
246 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
247
24f56066
JM
248 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
249 M_PI_4l.
250
faa7f811
JM
251 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
252 (M_PI_34_LOG10El): Likewise.
253 (M_PI2_LOG10El): Likewise.
254 (M_PI4_LOG10El): Likewise.
255 (M_PI_LOG10El): Likewise.
256
e9a5e0fd
AZ
2572013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
258
259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
260
d8cd06db
JM
2612013-05-08 Joseph Myers <joseph@codesourcery.com>
262
a0d9f9d7
JM
263 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
264 (MINUS_ZERO_INIT): Likewise.
265 (PLUS_INFTY_INIT): Likewise.
266 (MINUS_INFTY_INIT): Likewise.
267 (QNAN_VALUE_INIT): Likewise.
268 (MAX_VALUE_INIT): Likewise.
269 (MIN_VALUE_INIT): Likewise.
270 (MIN_SUBNORM_VALUE_INIT): Likewise.
271 (plus_zero): Initialize with PLUS_ZERO_INIT.
272 (minus_zero): Initialize with MINUS_ZERO_INIT.
273 (plus_infty): Initialize with PLUS_INFTY_INIT.
274 (minus_infty): Initialize with MINUS_INFTY_INIT.
275 (qnan_value): Initialize with QNAN_VALUE_INIT.
276 (max_value): Initialize with MAX_VALUE_INIT.
277 (min_value): Initialize with MIN_VALUE_INIT.
278 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
279
ae08db3b
JM
280 * math/libm-test.inc (RUN_TEST_if_f): New macro.
281 (jn_test): Use TEST_if_f instead of TEST_ff_f.
282 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
283 (yn_test): Use TEST_if_f instead of TEST_ff_f.
284
f44bf14a
JM
285 * math/libm-test.inc (RUN_TEST_f_f): New macro.
286 (RUN_TEST_2_f): Likewise.
287 (RUN_TEST_ff_f): Likewise.
288 (RUN_TEST_fi_f): Likewise.
289 (RUN_TEST_fl_f): Likewise.
290 (RUN_TEST_fff_f): Likewise.
291 (RUN_TEST_c_f): Likewise.
292 (RUN_TEST_f_f1): Likewise.
293 (RUN_TEST_fF_f1): Likewise.
294 (RUN_TEST_fI_f1): Likewise.
295 (RUN_TEST_ffI_f1): Likewise.
296 (RUN_TEST_c_c): Likewise.
297 (RUN_TEST_cc_c): Likewise.
298 (RUN_TEST_f_i): Likewise.
299 (RUN_TEST_f_i_tg): Likewise.
300 (RUN_TEST_ff_i_tg): Likewise.
301 (RUN_TEST_f_b): Likewise.
302 (RUN_TEST_f_b_tg): Likewise.
303 (RUN_TEST_f_l): Likewise.
304 (RUN_TEST_f_L): Likewise.
305 (RUN_TEST_sincos): Likewise.
306 * math/gen-libm-test.pl (new_test): Take new argument to indicate
307 whether to show exceptions. Do not include ");\n" in return
308 value.
309 (special_functions): Output call to RUN_TEST_sincos instead of
310 check_float calls. Update calls to new_test.
311 (parse_args): Output call to single RUN_TEST_* macro instead of
312 check_* calls and other assignments. Update calls to new_test.
313
d8cd06db
JM
314 [BZ #2546]
315 [BZ #2560]
316 [BZ #5159]
317 [BZ #15426]
318 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
319 input to result for tgamma overflow.
320 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
321 (gamma_coeff): New variable.
322 (NCOEFF): New macro.
323 (gamma_positive): New function.
324 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
325 underflow here. Use gamma_positive instead of exp (lgamma) for
326 other arguments.
327 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
328 (gamma_coeff): New variable.
329 (NCOEFF): New macro.
330 (gammaf_positive): New function.
331 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
332 underflow here. Use gamma_positive instead of exp (lgamma) for
333 other arguments.
334 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
335 (gamma_coeff): New variable.
336 (NCOEFF): New macro.
337 (gammal_positive): New function.
338 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
339 underflow here. Use gamma_positive instead of exp (lgamma) for
340 other arguments.
341 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
342 (gamma_coeff): New variable.
343 (NCOEFF): New macro.
344 (gammal_positive): New function.
345 (__ieee754_gammal_r): Handle positive infinity, overflow and
346 underflow here. Handle NaN the same as positive infinity. Remove
347 check x < 0xffffffff for negative integers. Use gamma_positive
348 instead of exp (lgamma) for other arguments.
349 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
350 (gamma_coeff): New variable.
351 (NCOEFF): New macro.
352 (gammal_positive): New function.
353 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
354 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
355 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
356 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
357 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
358 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
359 * sysdeps/generic/math_private.h (__gamma_productf): New
360 prototype.
361 (__gamma_product): Likewise.
362 (__gamma_productl): Likewise.
363 * math/Makefile (libm-calls): Add gamma_product.
364 * math/libm-test.inc (tgamma_test): Add more tests.
365 * sysdeps/i386/fpu/libm-test-ulps: Update.
366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
367
bb7cf681
OB
3682013-05-08 Ondřej Bílka <neleai@seznam.cz>
369
370 * benchtests/bench-skeleton.c (main): Preheat CPU.
371
ba853947
AJ
3722013-05-07 Aurelien Jarno <aurelien@aurel32.net>
373
374 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
375
8347c74c
RM
3762013-05-07 Roland McGrath <roland@hack.frob.com>
377
378 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
379 and _dl_skip_args_internal.
380
e8dd4791
CD
3812013-05-07 Carlos O'Donell <carlos@redhat.com>
382
383 * manual/message.texi (Message Translation): Talk about users.
384 Message to key mapping impacts design.
385
c7405830
RM
3862013-05-06 Roland McGrath <roland@hack.frob.com>
387
a9173057
RM
388 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
389
976e2f03
RM
390 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
391
9723ffc5
RM
392 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
393 * sysdeps/wordsize-64/glob64.c: ... here.
394
962e6658
RM
395 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
396 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
397 New macros.
398
ee586a6d
RM
399 * debug/getlogin_r_chk.c: Moved to ...
400 * login/getlogin_r_chk.c: ... here.
401 * debug/Makefile (routines): Move getlogin_r_chk to ...
402 * login/Makefile (routines): ... here.
403 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
404 * login/Versions (libc: GLIBC_2.4): ... here.
405
355f9165
RM
406 * io/poll.c (__poll): Renamed from poll.
407 Add libc_hidden_def.
408 (poll): Define as weak alias.
409
bd9ffde6
RM
410 * debug/ptsname_r_chk.c: Moved to ...
411 * login/ptsname_r_chk.c: ... here.
412 * debug/Makefile (routines): Move ptsname_r_chk to ...
413 * login/Makefile (routines): ... here.
414 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
415 * login/Versions (libc: GLIBC_2.4): ... here.
416
8fb16a04
RM
417 * posix/getlogin.c: Moved to ...
418 * login/getlogin.c: ... here.
419 * posix/getlogin_r.c: Moved to ...
420 * login/getlogin_r.c: ... here.
421 * posix/getlogin_r.c: Moved to ...
422 * login/getlogin_r.c: ... here.
423 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
424 * login/Makefile (routines): ... here.
425 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
426 * login/Versions (libc: GLIBC_2.0): ... here.
427
b99b892f
RM
428 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
429 (setrlimit): Define as weak alias.
430
c7405830
RM
431 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
432 Call __ names for open, ftruncate, and close.
433 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
434 (truncate): Define as weak alias.
435
5bf96de5
JM
4362013-05-06 Joseph Myers <joseph@codesourcery.com>
437
9ea3513c
JM
438 * math/gen-libm-test.pl (parse_args): Initialize x before each
439 test of frexp, modf and remquo.
440
5bf96de5
JM
441 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
442 test signgam value.
443
16e616a7
AZ
4442013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
445
446 [BZ #15418]
447 [BZ #15419]
448 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
449 internal tests.
450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
451
d5e82754
RM
4522013-05-06 Roland McGrath <roland@hack.frob.com>
453
454 * elf/dl-writev.h: New file.
455 * elf/dl-misc.c: Include it.
456 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
457 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
458
a7548d41
JM
4592013-05-04 Joseph Myers <joseph@codesourcery.com>
460
b7dab1e4
JM
461 * math/libm-test.inc (noXFails): Remove variable.
462 (noXPasses): Likewise.
463 (BUILD_COMPLEX_INT): Remove macro.
464 (print_screen): Remove xfail argument.
465 (print_screen_max_error): Likewise.
466 (update_stats): Likewise.
467 (print_max_error): Likewise. Update calls to other affected
468 functions.
469 (print_complex_max_error): Likewise.
470 (test_single_exception): Update calls to print_screen.
471 (test_single_errno): Likewise.
472 (check_float_internal): Remove xfail argument. Update calls to
473 other affected functions.
474 (check_float): Likewise.
475 (check_complex): Likewise.
476 (check_int): Likewise.
477 (check_long): Likewise.
478 (check_bool): Likewise.
479 (check_longlong): Likewise.
480 (main): Don't print noXFails and noXPasses.
481 * math/gen-libm-test.pl (top level): Don't mention expected
482 failure handling in comment.
483 (new_test): Don't handle expected failures.
484 (parse_args): Don't mention expected failure handling in comment.
485 (generate_testfile): Don't handle expected failures.
486 (parse_ulps): Likewise.
487 (print_ulps_file): Likewise.
488 (get_failure): Remove function.
489 (output_test): Don't handle expected failures.
490 * make/README.libm-test: Don't mention expected failure handling.
491
a7548d41
JM
492 * math/libm-test.inc (plus_zero): Make const. Add initializer.
493 (minus_zero): Likewise.
494 (plus_infty): Likewise.
495 (minus_infty): Likewise.
496 (qnan_value): Likewise.
497 (max_value): Likewise.
498 (min_value): Likewise.
499 (min_subnorm_value): Likewise.
500 (initialize): Do not initialize those variables dynamically.
501
60bfd54c
RM
5022013-05-03 Roland McGrath <roland@hack.frob.com>
503
cc0e6ed8
RM
504 * io/open.c (__open_2): Moved to ...
505 * io/open_2.c: ... this new file.
506 * io/open64.c (__open64_2): Moved to ...
507 * io/open64_2.c: ... this new file.
508 * io/openat.c (__openat_2): Moved to ...
509 * io/openat_2.c: ... this new file.
510 * io/openat64.c (__openat64_2): Moved to ...
511 * io/openat64_2.c: ... this new file.
512 * io/Makefile (routines): Add them.
513 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
514 * sysdeps/unix/sysv/linux/open_2.c: File removed.
515 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
516 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
517 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
518 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
519 (__openat64): Add hidden_ver.
520 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
521 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
522
60bfd54c
RM
523 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
524 Separately conditionalize setting of GLRO(dl_sysinfo) so
525 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
526 as well, but the actual setting is only under [NEED_DL_SYSINFO].
527
83e7640f
AZ
5282013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529
530 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
531 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
532 definition.
533 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
534 * sysdeps/unix/sysv/linux/powerpc/init-first.c
535 (_libc_vdso_platform_setup): Add __vdso_time initialization.
536 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
537 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
538
d5dc2af3
JM
5392013-05-03 Joseph Myers <joseph@codesourcery.com>
540
c31a5b1e
JM
541 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
542 test signgam value.
543
d5dc2af3
JM
544 * math/libm-test.inc (hypot_test): Do not use
545 IGNORE_ZERO_INF_SIGN.
546
164fd39d
AJ
5472013-05-03 Andreas Jaeger <aj@suse.de>
548
549 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
550 Linux 3.9.
551 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
552 (PF_MAX): Adjust for VSOCK change.
553
8237f48c
AZ
5542013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
555
556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
557
9df02941
CD
5582013-05-02 Carlos O'Donell <carlos@redhat.com>
559
560 [BZ #15264]
561 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
562 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
563 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
564
d422395e
DM
5652013-05-02 David S. Miller <davem@davemloft.net>
566
567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
568
a07c5731
OB
5692013-05-01 Ondřej Bílka <neleai@seznam.cz>
570
571 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
572
1324e37f
RM
5732013-05-01 Roland McGrath <roland@hack.frob.com>
574
575 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
576
0695940b
RS
5772013-05-01 Richard Smith <richard@metafoo.co.uk>
578
bb5f27ad 579 [BZ #14952]
0695940b
RS
580 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
581 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
582 Use __attribute__ ((__gnu_inline__)).
583 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
584 Don't use __attribute__ ((__gnu_inline__)).
585
10de07f5
JM
5862013-05-01 Joseph Myers <joseph@codesourcery.com>
587
588 [BZ #15423]
589 * math/s_catan.c (__catan): Handle small real or imaginary part of
590 input specially to avoid spurious underflow.
591 * math/s_catanf.c (__catanf): Likewise.
592 * math/s_catanh.c (__catanh): Likewise.
593 * math/s_catanhf.c (__catanhf): Likewise.
594 * math/s_catanhl.c (__catanhl): Likewise.
595 * math/s_catanl.c (__catanl): Likewise.
596 * math/libm-test.inc (catan_test): Add more tests.
597 (catanh_test): Likewise.
598 * sysdeps/i386/fpu/libm-test-ulps: Update.
599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
600
cb4d5414
AZ
6012013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
602
603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
604
caf84319
JM
6052013-04-30 Joseph Myers <joseph@codesourcery.com>
606
607 [BZ #15416]
608 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
609 accurately for denominator in atan2.
610 * math/s_catanf.c (__catanf): Likewise.
611 * math/s_catanh.c (__catanh): Likewise.
612 * math/s_catanhf.c (__catanhf): Likewise.
613 * math/s_catanhl.c (__catanhl): Likewise.
614 * math/s_catanl.c (__catanl): Likewise.
615 * math/libm-test.inc (catan_test): Add more tests.
616 (catanh_test): Likewise.
617 * sysdeps/i386/fpu/libm-test-ulps: Update.
618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
619
d569c6ee
SP
6202013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
621
6dbe713d
SP
622 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
623
f0ee064b
SP
624 * benchtests/Makefile (bench): Remove slow benchmarks.
625 * benchtests/atan-inputs: Add slow benchmark inputs.
626 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
627 (BENCH_FUNC): Accept variant offset.
628 (VARIANT): Define.
629 * benchtests/bench-skeleton.c (main): Run benchmark for each
630 variant.
631 * benchtests/cos-inputs: Add slow benchmark inputs.
632 * benchtests/exp-inputs: Likewise.
633 * benchtests/pow-inputs: Likewise.
634 * benchtests/sin-inputs: Likewise.
635 * benchtests/slowatan-inputs: Remove.
636 * benchtests/slowatan.c: Remove.
637 * benchtests/slowcos-inputs: Remove.
638 * benchtests/slowcos.c: Remove.
639 * benchtests/slowexp-inputs: Remove.
640 * benchtests/slowexp.c: Remove.
641 * benchtests/slowpow-inputs: Remove.
642 * benchtests/slowpow.c: Remove.
643 * benchtests/slowsin-inputs: Remove.
644 * benchtests/slowsin.c: Remove.
645 * benchtests/slowtan-inputs: Remove.
646 * benchtests/slowtan.c: Remove.
647 * benchtests/tan-inputs: Add slow benchmark inputs.
648 * scripts/bench.pl: Parse comments and directives.
649
d569c6ee
SP
650 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
651 in CPPFLAGS.
652 ($(objpfx)bench-%.c): Remove *-ITER.
653 * benchtests/bench-modf.c: Remove definition of ITER.
654 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
655 (main): Loop for DURATION seconds instead of fixed number of
656 iterations.
657 * scripts/bench.pl: Don't expect iterations in parameters.
658
a6a242fe
RM
6592013-04-29 Roland McGrath <roland@hack.frob.com>
660
661 * io/fchdir.c (__fchdir): Renamed from fchdir.
662 (fchdir): Define as weak alias.
663
f2da7793
JM
6642013-04-29 Joseph Myers <joseph@codesourcery.com>
665
666 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
667 (ERRNO_EDOM): Likewise.
668 (ERRNO_ERANGE): Likewise.
669 (noErrnoTests): New variable.
670 (init_max_error): Set errno to 0.
671 (test_single_errno): New function.
672 (test_errno): Likewise.
673 (check_float_internal): Call test_errno. Set errno to 0.
674 (check_complex): Refer to errno tests in comment.
675 (check_int): Call test_errno. Set errno to 0.
676 (check_long): Likewise.
677 (check_bool): Likewise.
678 (check_longlong): Likewise.
679 (cos_test): Use ERRNO_* flags for errno tests instead of
680 check_int.
681 (expm1_test): Likewise.
682 (fmod_test): Likewise.
683 (ilogb_test): Likewise.
684 (lgamma_test): Likewise.
685 (pow_test): Likewise.
686 (remainder_test): Likewise.
687 (sin_test): Likewise.
688 (tan_test): Likewise.
689 (yn_test): Likewise.
690 (initialize): Set errno to 0.
691 (main): Print number of errno tests.
692 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
693
b1a36ceb
AJ
6942013-04-29 Andreas Jaeger <aj@suse.de>
695
c3ed8088
AJ
696 [BZ #15084]
697 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
698 and RES_USEVC.
699
f1a24198
AJ
700 [BZ #15085]
701 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
702 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
703 unimplemented.
704
9ce3b2cb
AJ
705 [BZ #15380]
706 * stdlib/random.c (__initstate): Return NULL if
707 __initstate fails.
708
f1a24198 709 [BZ #15086]
b1a36ceb
AJ
710 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
711 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
712 RES_SNGLKUPREOP.
713
7e7b6f36
AZ
7142013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
715
716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
717
4d14f449
JM
7182013-04-29 Joseph Myers <joseph@codesourcery.com>
719
720 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
721 of individual tests.
722 (casin_test): Likewise.
723 (casinh_test): Likewise.
724
5b4217d7
JM
7252013-04-27 Joseph Myers <joseph@codesourcery.com>
726
727 [BZ #15409]
728 * math/s_catan.c (__catan): Handle arguments with large real or
729 imaginary part separately without squaring.
730 * math/s_catanf.c (__catanf): Likewise.
731 * math/s_catanh.c (__catanh): Likewise.
732 * math/s_catanhf.c (__catanhf): Likewise.
733 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
734 and redefine.
735 (__catanhl): Handle arguments with large real or imaginary part
736 separately without squaring.
737 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
738 and redefine.
739 (__catanl): Handle arguments with large real or imaginary part
740 separately without squaring.
741 * math/libm-test.inc (catan_test): Add more tests.
742 (catanh_test): Likewise.
743 * sysdeps/i386/fpu/libm-test-ulps: Update.
744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
745
4220c3ef
AJ
7462013-04-27 Andreas Jaeger <aj@suse.de>
747
748 [BZ #15007]
749 * stdlib/stdlib.h: Update guards for qecvt.
750 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
751 <stdlib.h>.
752
4721b2d1
AM
7532013-04-27 Allan McRae <allan@archlinux.org>
754
755 * sysdeps/i386/fpu/libm-test-ulps: Update.
756
f0302940
JM
7572013-04-26 Joseph Myers <joseph@codesourcery.com>
758
9457fd95
JM
759 [BZ #15406]
760 * math/s_catan.c: Include <float.h>.
761 (__catan): Ensure underflow exception occurs for underflowed
762 result.
763 * math/s_catanf.c: Include <float.h>.
764 (__catanf): Ensure underflow exception occurs for underflowed
765 result.
766 * math/s_catanh.c: Include <float.h>.
767 (__catanh): Ensure underflow exception occurs for underflowed
768 result.
769 * math/s_catanhf.c: Include <float.h>.
770 (__catanhf): Ensure underflow exception occurs for underflowed
771 result.
772 * math/s_catanhl.c: Include <float.h>.
773 (__catanhl): Ensure underflow exception occurs for underflowed
774 result.
775 * math/s_catanl.c: Include <float.h>.
776 (__catanl): Ensure underflow exception occurs for underflowed
777 result.
778 * math/libm-test.inc (catan_test): Add more tests.
779 (catanh_test): Likewise.
780
f0302940
JM
781 [BZ #15405]
782 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
783 underflowed result.
784 * math/s_ccoshf.c (__ccoshf): Likewise.
785 * math/s_ccoshl.c (__ccoshl): Likewise.
786 * math/s_csin.c (__csin): Likewise.
787 * math/s_csinf.c (__csinf): Likewise.
788 * math/s_csinh.c (__csinh): Likewise.
789 * math/s_csinhf.c (__csinhf): Likewise.
790 * math/s_csinhl.c (__csinhl): Likewise.
791 * math/s_csinl.c (__csinl): Likewise.
792 * math/libm-test.inc (ccos_test): Add more tests.
793 (ccosh_test): Likewise.
794 (csin_test): Likewise.
795 (csinh_test): Likewise.
796
aa630f59
AZ
7972013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798
799 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
800 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
801 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
802 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
803 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
804 powerpc/power5+/fpu folders.
805 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
806
807
1b835983
MT
8082013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
809
810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
811
73709b26
JM
8122013-04-25 Joseph Myers <joseph@codesourcery.com>
813
814 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
815 additions to variable.
816 [$(config-machine) = x86_64] (modules-names): Likewise.
817 ($(objpfx)tst-audit3): Remove dependency.
818 ($(objpfx)tst-audit3.out): Likewise.
819 ($(objpfx)tst-audit4): Likewise.
820 ($(objpfx)tst-audit4.out): Likewise.
821 ($(objpfx)tst-audit5): Likewise.
822 ($(objpfx)tst-audit5.out): Likewise.
823 ($(objpfx)tst-audit6): Likewise.
824 ($(objpfx)tst-audit6.out): Likewise.
825 ($(objpfx)tst-audit7): Likewise.
826 ($(objpfx)tst-audit7.out): Likewise.
827 (tst-audit3-ENV): Remove variable.
828 (tst-audit4-ENV): Likewise.
829 (tst-audit5-ENV): Likewise.
830 (tst-audit6-ENV): Likewise.
831 (tst-audit7-ENV): Likewise.
832 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
833 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
834 addition to variable.
835 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
836 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
837 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
838 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
839 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
840 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
841 tst-audit3, tst-audit4 and tst-audit5.
842 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
843 tst-audit6 and tst-audit7.
844 [$(subdir) = elf] (modules-names): Add audit modules for those
845 tests.
846 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
847 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
848 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
849 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
850 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
851 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
852 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
853 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
854 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
855 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
856 [$(subdir) = elf] (tst-audit3-ENV): New variable.
857 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
858 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
859 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
860 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
861 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
862 Likewise.
863 [$(subdir) = elf && $(config-cflags-avx) = yes]
864 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
865 [$(subdir) = elf && $(config-cflags-avx) = yes]
866 (CFLAGS-tst-auditmod4a.c): Likewise.
867 [$(subdir) = elf && $(config-cflags-avx) = yes]
868 (CFLAGS-tst-auditmod4b.c): Likewise.
869 [$(subdir) = elf && $(config-cflags-avx) = yes]
870 (CFLAGS-tst-auditmod6b.c): Likewise.
871 [$(subdir) = elf && $(config-cflags-avx) = yes]
872 (CFLAGS-tst-auditmod6c.c): Likewise.
873 [$(subdir) = elf && $(config-cflags-avx) = yes]
874 (CFLAGS-tst-auditmod7b.c): Likewise.
875 * elf/tst-audit3.c: Move to ...
876 * sysdeps/x86_64/tst-audit3.c: ... here.
877 * elf/tst-audit4.c: Move to ...
878 * sysdeps/x86_64/tst-audit4.c: ... here.
879 * elf/tst-audit5.c: Move to ...
880 * sysdeps/x86_64/tst-audit5.c: ... here.
881 * elf/tst-audit6.c: Move to ...
882 * sysdeps/x86_64/tst-audit6.c: ... here.
883 * elf/tst-audit7.c: Move to ...
884 * sysdeps/x86_64/tst-audit7.c: ... here.
885 * elf/tst-auditmod3a.c: Move to ...
886 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
887 * elf/tst-auditmod3b.c: Move to ...
888 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
889 * elf/tst-auditmod4a.c: Move to ...
890 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
891 * elf/tst-auditmod4b.c: Move to ...
892 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
893 * elf/tst-auditmod5a.c: Move to ...
894 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
895 * elf/tst-auditmod5b.c: Move to ...
896 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
897 * elf/tst-auditmod6a.c: Move to ...
898 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
899 * elf/tst-auditmod6b.c: Move to ...
900 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
901 * elf/tst-auditmod6c.c: Move to ...
902 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
903 * elf/tst-auditmod7a.c: Move to ...
904 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
905 * elf/tst-auditmod7b.c: Move to ...
906 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
907
1ef74943
PP
9082013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
909
910 [BZ #15366]
911 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
912 define unconditionally.
913 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
914 define unconditionally.
915 (INT8_C, INT16_C, etc.): Likewise.
916
93fd48c5
MR
9172013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
918
ae9552cf
MR
919 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
920 __ehdr_start with hidden visibility.
921
93fd48c5
MR
922 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
923
418601aa
CD
9242013-04-24 Carlos O'Donell <carlos@redhat.com>
925
926 * math/libm-test.inc (cos_test): Use accurate hex constants.
927 (sincost_test): Likewise.
928
2f38fbfe
JM
9292013-04-24 Joseph Myers <joseph@codesourcery.com>
930
5e221800
JM
931 * math/libm-test.inc (catan_test): Add more tests.
932 (catanh_test): Likewise.
933
77f143fd
JM
934 * math/s_catanf.c (__catanf): Use suffixed floating-point
935 constants.
936 * math/s_catanhf.c (__catanhf): Likewise.
937 * math/s_catanhl.c (__catanhl): Likewise.
938 * math/s_catanl.c (__catanl): Likewise.
939
2f38fbfe
JM
940 [BZ #15394]
941 * math/s_catan.c (__catan): Calculate imaginary part of result
942 with log1p not log unless computing log of number close to 0.
943 * math/s_catanf.c (__catanf): Likewise.
944 * math/s_catanl.c (__catanl): Likewise.
945 * math/s_catanh.c (__catanh): Calculate real part of result with
946 log1p not log unless computing log of number close to 0.
947 * math/s_catanhf.c (__catanhf): Likewise.
948 * math/s_catanhl.c (__catanhl): Likewise.
949 * math/libm-test.inc (catan_test): Add more tests.
950 (catanh_test): Likewise.
951 * sysdeps/i386/fpu/libm-test-ulps: Update.
952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
953
45d69176
SP
9542013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
955
956 * benchtests/Makefile: Mention files in which fast and slow
957 paths of math functions are implemented.
958
87f51853
RM
9592013-04-23 Roland McGrath <roland@hack.frob.com>
960
961 * sysdeps/posix/timespec_get.c: New file.
962
3c026539
AZ
9632013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
966 POWER.
967 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
968 for POWER.
969 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
970 powerpc/power5/fpu folders.
971 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
972 * benchtests/Makefile: Add modf testcase.
973 * benchtests/bench-modf.c: New file: Benchmark test for mo
974
ff491d14
SP
9752013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
976
977 [BZ #14888]
978 * time/Makefile (tests): Add tst-strptime-whitespace.
979 * time/strptime_l.c (get_number): Use ISSPACE.
980 (__strptime_internal): Likewise.
981 * time/tst-strptime-whitespace.c: New test case.
982
7ed3f4e8
AS
9832013-04-23 Andreas Schwab <schwab@linux-m68k.org>
984
985 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
986 member.
987 (_nss_files_init): Set it here.
988
5c95f7b6
HC
9892013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
990
991 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
992 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
993 unsigned.
994
d34c9158
JBG
9952013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
996
997 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
998
2169712d
SP
9992013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1000
1001 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1002 size just once.
1003
29c5de99
DM
10042013-04-21 David S. Miller <davem@davemloft.net>
1005
1006 * po/ru.po: Update Russion translation from translation project.
1007
ccdad15d
AC
10082013-04-17 Adam Conrad <adconrad@0c3.net>
1009
1010 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1011 and setfsgid.
1012
0f122b8d
CD
10132013-04-17 Carlos O'Donell <carlos@redhat.com>
1014
5c5b07da 1015 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1016 * configure: Regenerate.
5c5b07da 1017 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1018 Add example to error message.
1019 * sysdeps/i386/configure: Regenerate.
1020
037714dd
SP
10212013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1022
1023 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1024 slowtan.
1025 * benchtests/cos-inputs: New file.
1026 * benchtests/slowcos-inputs: New file.
1027 * benchtests/slowcos.c: New file.
1028 * benchtests/slowtan-inputs: New file.
1029 * benchtests/slowtan.c: New file.
1030 * benchtests/tan-inputs: New file.
1031
e913141d
RM
10322013-04-16 Roland McGrath <roland@hack.frob.com>
1033
1034 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1035 considered kosher.
1036
a2964074
SP
10372013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1038
4856bcd2
SP
1039 * benchtests/Makefile: Include cppflags-iterator.mk to add
1040 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1041
a2964074
SP
1042 * Makefile.in (bench-clean): New target.
1043 * benchtests/Makefile (bench-clean): Likewise.
1044
9fbf9aca
DH
10452013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1046
1047 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1048
207d1e2a
TS
10492013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1050
1051 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1052
306dfba9
AS
10532013-04-15 Andreas Schwab <schwab@suse.de>
1054
1055 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1057 * nscd/pwdcache.c (cache_addpw): Likewise.
1058 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1059 more than recsize.
1060
206a6699
SP
10612013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1062
1063 * benchtests/Makefile (bench): Write all output to
1064 bench-out.tmp together.
1065
0582f6b3
AS
10662013-04-15 Andreas Schwab <schwab@suse.de>
1067
1068 * nscd/nscd.c (main): Don't fork again after closing files.
1069
acb4325f
SP
10702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1071
5cb26d0a
SP
1072 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1073
acb4325f
SP
1074 * benchtests/Rules (bench-deps): Collect dependencies into a
1075 single variable. Add Makefile to dependencies.
1076 ($(objpfx)bench-%.c): Depend on bench-deps.
1077
47792506
RM
10782013-04-12 Roland McGrath <roland@hack.frob.com>
1079 Xavier Roche <roche+kml2@exalead.com>
1080
1081 [BZ #15361]
1082 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1083 just that it's a file descriptor.
1084 * manual/llio.texi (Synchronizing AIO Operations): Update description
1085 for EBADF error from aio_fsync.
1086
8fc1bee5
SP
10872013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1088
1089 * Rules (bench): Move target definition...
1090 * benchtests/Makefile: ... here.
1091
aba5e333
CD
10922013-04-11 Carlos O'Donell <carlos@redhat.com>
1093
1094 * math/libm-test.inc (cos_test): Fix PI/2 test.
1095 (sincos_test): Likewise.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1097 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1098
273cdee8
AS
10992013-04-11 Andreas Schwab <schwab@suse.de>
1100
6ecec3b6
AS
1101 [BZ #13988]
1102 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1103 accept exponent character only when digits were seen.
1104 * stdio-common/Makefile (tests): Add bug26.
1105 * stdio-common/bug26.c: New file.
1106
273cdee8
AS
1107 [BZ #14293]
1108 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1109 non-freeable.
1110
8da491f5
SP
11112013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1112
01dc6df9
SP
1113 * Makeconfig (rtld-prefix): Define built linker prefix.
1114 * Rules (run-bench): Use it.
1115 * math/Makefile (run-regen-ulps): Likewise.
1116
8da491f5
SP
1117 * Rules (bench): Remove eval.
1118
abe7f530
SP
11192013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1120 Roland McGrath <roland@hack.frob.com>
1121 Ondrej Bilka <neleai@seznam.cz>
1122
1123 [BZ #15346]
1124 * time/getdate.c: Include ctype.h and alloca.h.
1125 (__getdate_r): Trim leading and trailing spaces of input.
1126 * time/tst-getdate.c (tests): Add tests with leading and
1127 trailing spaces.
1128
61c23e62
RM
11292013-04-08 Roland McGrath <roland@hack.frob.com>
1130
1131 [BZ #14280]
1132 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1133 when computing value.
1134
7208a313
CD
11352013-04-06 Carlos O'Donell <carlos@redhat.com>
1136
085b2d41
CD
1137 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1138 Use testrun.sh to run libm tests.
1139
7208a313
CD
1140 [BZ #15309]
1141 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1142
872c0acd
MM
11432013-04-06 Marko Myllynen <myllynen@redhat.com>
1144
1145 [BZ #15264]
1146 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1147
26510bdd
CD
11482013-04-06 Carlos O'Donell <carlos@redhat.com>
1149
1150 * Makefile.in (regen-ulps): New target.
1151 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1152 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1153 [ifneq (no,$(PERL)] (regen-ulps): New target.
1154 [ifeq (no,$(PERL)] (regen-ulps): New target.
1155 * math/libm-test.inc (ulps_file_name): Define.
1156 (output_dir): New variable.
1157 (options): Add "output-dir" option.
1158 (parse_opt): Handle 'o' case.
1159 (main): If output_dir is non-NULL use it as a prefix
1160 otherwise use "".
1161 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1162
a01f19c8
CD
11632013-04-06 Carlos O'Donell <carlos@redhat.com>
1164
1165 [BZ #10060, #10062]
1166 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1167 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1168 fail configure if __sync_val_compare_and_swap is not inlined.
1169 * sysdeps/i386/configure: Regenerate.
1170 * configure.in: Build for i686 when configured for i386.
1171 * configure: Regenerate.
1172 * README: Remove i386 reference.
1173
b7a329a5
CD
11742013-04-06 Carlos O'Donell <carlos@redhat.com>
1175
1176 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1178
bf0f50df
TS
11792013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1180
ee091edf
TS
1181 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1182 (lmsnanval): New variables.
1183 (F): Add conversion tests.
1184 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1185 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1186
a8b792d6
TS
1187 * stdio-common/tstdiomisc.c (F): Properly collect individual
1188 tests' results.
1189
a1cbf437
TS
1190 [BZ #14686, #15336]
1191 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1192 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1193 Instead, use input NaN values or generate a qNaN by arithmetic
1194 operation. Also fix bugs to comply with the standard.
1195 * math/libm-test.inc (remainder_test): Add more tests.
1196
8b43a0c9
TS
1197 [BZ #15335, #15342]
1198 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1199 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1200 input NaN values or generate a qNaN by arithmetic operation.
1201
d91da4ce
TS
1202 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1203 unreachable code.
1204
bf0f50df
TS
1205 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1206 definitions.
1207
05e166c8
JM
12082013-04-03 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #14478]
1211 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1212 underflowed result.
1213 * math/s_cexpf.c (__cexpf): Likewise.
1214 * math/s_cexpl.c (__cexpl): Likewise.
1215 * math/libm-test.inc (cexp_test): Add more tests.
1216
1cef1b19
AS
12172013-04-03 Andreas Schwab <schwab@suse.de>
1218
1219 [BZ #15330]
1220 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1221 order arrays from heap if bigger than alloca cutoff.
1222
74d87055
TS
12232013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1224
1225 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1226 (SNAN_TESTS_double): Refer to GCC PR56831.
1227 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1228 GCC PR56828.
1229
d755bba4
SP
12302013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1231
90d5d5bb
SP
1232 * Rules (bench): Move bench.out after the run is complete.
1233
73e0cd5d
SP
1234 * Rules (bench): Echo currently running benchmark.
1235
64aabd4b
SP
1236 * benchtests/Makefile (bench): Add atan and slowatan.
1237 * benchtests/atan-inputs: New file.
1238 * benchtests/slowatan-inputs: New file.
1239 * benchtests/slowatan.c: New file.
1240
c871eccd
SP
1241 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1243 its value.
1244
d755bba4
SP
1245 [BZ #15305]
1246 * sysdeps/unix/sysv/linux/kernel-features.h
1247 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1248 __ASSUME_XFS_RESTRICTED_CHOWN.
1249 * sysdeps/unix/sysv/linux/pathconf.c
1250 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1251 Save and restore errno.
1252
52ce4860
JM
12532013-04-02 Joseph Myers <joseph@codesourcery.com>
1254
1255 [BZ #15327]
1256 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1257 arguments using __kernel_casinh.
1258 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1259 arguments using __kernel_casinhf.
1260 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1261 arguments using __kernel_casinhl.
1262 * math/libm-test.inc (cacosh_test): Add more tests.
1263 * sysdeps/i386/fpu/libm-test-ulps: Update.
1264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1265
81f311c2
SP
12662013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1267
e7906a47
SP
1268 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1269 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1270
92e3664b
SP
1271 * bench/Makefile (bench): Add sin and slowsin.
1272 * benchtests/sin-inputs: New file.
1273 * benchtests/slowsin-inputs: New file.
1274 * benchtests/slowsin.c: New file.
1275
81f311c2
SP
1276 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1277 (bench): Add slowexp and slowpow.
1278 (exp-ITER): Increase iterations.
1279 (pow-ITER): Likewise.
1280 * benchtests/exp-inputs: Change input.
1281 * benchtests/pow-inputs: Likewise.
1282 * benchtests/slowexp-inputs: New file.
1283 * benchtests/slowexp.c: New file.
1284 * benchtests/slowpow-inputs: New file.
1285 * benchtests/slowpow.c: New file.
1286
ab0f1aa9
AZ
12872013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288
1289 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1290 instructions.
1291 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1293 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1294 * benchtests/Makefile: Add rint benchtest.
1295 * benchtests/rint-inputs: Input for rint benchtest.
1296
57267616
TS
12972013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1298
1299 * Versions.def (libm): Add GLIBC_2.18.
1300 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1301 hidden libm prototypes.
1302 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1303 * math/Makefile (libm-calls): Add s_issignaling.
1304 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1305 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1306 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1307 declaration.
1308 * math/math.h [__USE_GNU] (issignaling): New macro.
1309 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1310 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1311 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1312 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1315 * manual/arith.texi (issignaling): New section.
1316 * manual/libm-err-tab.pl (@all_functions): Update comment.
1317 * math/gen-libm-test.pl (parse_args): Apply special handling for
1318 issignaling.
1319 * math/libm-test.inc (print_float, issignaling_test): New
1320 functions.
1321 (check_float_internal): Add issignaling checks.
1322 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1323 default definition.
1324 * sysdeps/powerpc/math-tests.h: New file.
1325 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1326 tests.
1327 * math/test-snan.c (TEST_FUNC): Likewise.
1328
6142896d
DM
13292013-03-30 David S. Miller <davem@davemloft.net>
1330
1331 * po/de.po: Update from translation team.
1332
ccc8cadf
JM
13332013-03-30 Joseph Myers <joseph@codesourcery.com>
1334
1335 [BZ #10357]
1336 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1337 imaginary part less than 1.0 and real part less than 0.5
1338 specially.
1339 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1340 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1341 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1342 (cacos_test): Add more tests.
1343 (casin_test): Likewise.
1344 (casinh_test): Likewise.
1345 * sysdeps/i386/fpu/libm-test-ulps: Update.
1346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1347
0f6a8d4b
SP
13482013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1349
0d1029de
SP
1350 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1351 ONE with its value.
1352
c2d94018
SP
1353 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1354 (__pow_mp): Replace ONE and MONE with their values.
1355 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1356 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1357 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1358 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1359 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1360 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1361
27ec37f1
SP
1362 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1363
a64d7e0e
SP
1364 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1365 (__pow_mp): Replace ZERO and MZERO with their values.
1366 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1367 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1368 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1369 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1370 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1371 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1372 (__sqr): Likewise.
1373
d26dd3eb
SP
1374 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1375
0f6a8d4b
SP
1376 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1377
e57b0c61
RM
13782013-03-28 Roland McGrath <roland@hack.frob.com>
1379
1380 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1381 Declare with __attribute__ ((weak)).
1382 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1383 Call __call_tls_dtors only if it's not NULL.
1384
356b3480
RM
13852013-03-28 Roland McGrath <roland@hack.frob.com>
1386
288f7d79
RM
1387 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1388 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1389 magic __ehdr_start linker symbol if it's defined.
1390 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1391 them up here if it was already done.
1392
dc0a0263
RM
1393 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1394 (_dl_aux_init): Use const in cast when setting it.
1395 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1396 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1397 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1398
3d3436ae
RM
1399 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1400 Declare them here.
1401 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1402 * csu/libc-tls.c: Nor here.
1403 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1404
356b3480
RM
1405 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1406 (__libc_message): Never call vsyslog.
1407
b0f1246a
AM
14082013-03-28 Alan Modra <amodra@gmail.com>
1409
1410 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1411 Define as empty.
1412 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1413 Likewise.
1414
fbbe2b9a
AZ
14152013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1416
1417 [BZ #15214]
1418 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1419 underflow.
1420 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1421
1728ab37
SP
14222013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1423
7a86be6e
SP
1424 [BZ #15304]
1425 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1426 Don't add gid passed as argument.
1427
1728ab37
SP
1428 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1429
3a7182a1
JM
14302013-03-27 Joseph Myers <joseph@codesourcery.com>
1431
1432 [BZ #15307]
1433 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1434 imaginary part between 1.0 and 1.5 and real part less than 0.5
1435 specially.
1436 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1437 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1438 * math/libm-test.inc (cacos_test): Add more tests.
1439 (casin_test): Likewise.
1440 (casinh_test): Likewise.
1441 * sysdeps/i386/fpu/libm-test-ulps: Update.
1442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1443
6f2e90e7
SP
14442013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1445
5739f705
SP
1446 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1447 constants.
1448 (norm): Likewise.
1449 (denorm): Likewise.
1450 (__dbl_mp): Likewise.
1451 (add_magnitudes): Likewise.
1452 (sub_magnitudes): Likewise.
1453 (__add): Likewise.
1454 (__sub): Likewise.
1455 (__mul): Likewise.
1456 (__sqr): Likewise.
1457 (__inv): Likewise.
1458 (__dvd): Likewise.
1459
e375e83d
SP
1460 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1461 commented code.
1462 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1463 (__dubcos): Likewise.
1464 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1465 (__ieee754_acos): Likewise.
1466 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1467 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1468 (__exp1): Likewise.
1469 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1471 (log1): Likewise.
1472 (my_log2): Likewise.
1473 (checkint): Likewise.
1474 * sysdeps/ieee754/dbl-64/e_remainder.c
1475 (__ieee754_remainder): Likewise.
1476 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1478 (bsloww): Likewise.
1479 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1480
6f2e90e7
SP
1481 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1482 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1483 MANTISSA_STORE_T to store computations on mantissa. Use
1484 macros for rounding and division.
1485 (denorm): Likewise.
1486 (__dbl_mp): Likewise.
1487 (add_magnitudes): Likewise.
1488 (sub_magnitudes): Likewise.
1489 (__mul): Likewise.
1490 (__sqr): Likewise.
1491 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1492 powers of two in terms of TWOPOW macro.
1493 (mp_no): Make type of mantissa as MANTISSA_T.
1494 [!RADIXI]: Define RADIXI.
1495 [!TWO52]: Define TWO52.
1496 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1497
fce14d4e
AZ
14982013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1499
1500 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1501 llroundl symbol when building for PPC32.
1502
9ad027fb
MW
15032013-03-24 Mark H Weaver <mhw@netris.org>
1504
1505 * manual/arith.texi (Normalization Functions): Fix prototypes for
1506 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1507
e42a38dd
AZ
15082013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1509
1510 [BZ #13889]
1511 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1512 high value to check if expl overflow.
1513 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1514 to check for underflow and overflow.
1515 * math/libm-test.inc: Add exp test.
1516
2e0fb521
DL
15172013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1518
1519 [BZ #11120]
1520 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1521 with NOT_IN_libc.
1522
b5784d95
AZ
15232013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524
1525 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1526 symbol.
1527
5aa4a1a1
TS
15282013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1529
bdef0be7
TS
1530 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1531 wrap blocks consisting of several statements.
1532
5aa4a1a1
TS
1533 * sysdeps/generic/math-tests.h: New file.
1534 * sysdeps/i386/fpu/math-tests.h: Likewise.
1535 * math/test-snan.c: Include it.
1536 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1537
98c48fe5
JM
15382013-03-21 Joseph Myers <joseph@codesourcery.com>
1539
1540 [BZ #15285]
1541 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1542 (__ieee754_j0l): Do not improve calculations using cos of twice
1543 input for inputs above LDBL_MAX / 2.0L.
1544 (__ieee754_y0l): Likewise.
1545 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1546 (__ieee754_j1l): Do not improve calculations using cos of twice
1547 input for inputs above LDBL_MAX / 2.0L.
1548 (__ieee754_y1l): Likewise.
1549 * math/libm-test.inc (j0_test): Add another test.
1550 (j1_test): Likewise.
1551 (y0_test): Likewise.
1552 (y1_test): Likewise.
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1554
3775a8bc
SP
15552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1556
1557 * Rules ($(objpfx)bench-%.c): Include code from a C source
1558 file.
1559
0a1b2ae6
JM
15602013-03-21 Joseph Myers <joseph@codesourcery.com>
1561
1562 [BZ #15287]
1563 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1564 imaginary part 1.0 and real part less than 0.5 specially.
1565 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1566 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1567 * math/libm-test.inc (cacos_test): Add more tests.
1568 (casin_test): Likewise.
1569 (casinh_test): Likewise.
1570 * sysdeps/i386/fpu/libm-test-ulps: Update.
1571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1572
b33d4ce4
SP
15732013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1574
1575 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1576 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1577
bef0b507
JM
15782013-03-20 Joseph Myers <joseph@codesourcery.com>
1579
1580 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1581 * config.make.in (config-cflags-sse4): Remove variable.
1582 (config-cflags-avx): Likewise.
1583 (config-cflags-sse2avx): Likewise.
1584 (config-cflags-novzeroupper): Likewise.
1585 (config-asflags-i686): Likewise.
1586 (have-mfma4): Likewise.
1587 (have-as-vis3): Likewise.
1588 (MIG): Likewise.
1589 * configure.in (MIG): Do not AC_SUBST.
1590 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1591 (libc_cv_cc_sse4): Do not AC_SUBST.
1592 (libc_cv_cc_avx): Likewise.
1593 (libc_cv_cc_sse2avx): Likewise.
1594 (libc_cv_cc_novzeroupper): Likewise.
1595 (libc_cv_cc_fma4): Likewise.
1596 (libc_cv_as_i686): Likewise.
1597 (libc_cv_sparc_as_vis3): Likewise.
1598 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1599 LIBC_CONFIG_VAR.
1600 (config-asflags-i686): Likewise.
1601 (config-cflags-avx): Likewise.
1602 (config-cflags-sse2avx): Likewise.
1603 (have-mfma4): Likewise.
1604 (config-cflags-novzeroupper): Likewise.
1605 * sysdeps/mach/configure.in (MIG): Likewise.
1606 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1607 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1608 LIBC_CONFIG_VAR.
1609 (config-cflags-avx): Likewise.
1610 (config-cflags-sse2avx): Likewise.
1611 (have-mfma4): Likewise.
1612 (config-cflags-novzeroupper): Likewise.
1613 * configure: Regenerated.
1614 * sysdeps/i386/configure: Likewise.
1615 * sysdeps/mach/configure: Likewise.
1616 * sysdeps/sparc/configure: Likewise.
1617 * sysdeps/x86_64/configure: Likewise.
1618
912cc4b3
RM
16192013-03-20 Roland McGrath <roland@hack.frob.com>
1620
1621 [BZ #14812]
1622 * locale/programs/localedef.c (options): Put N_ translation marker
1623 on argument names, not just descriptions.
1624
04eed2b0
MS
16252013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1626
1627 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1628
a065ceff
OB
16292013-03-20 Ondřej Bílka <neleai@seznam.cz>
1630
9bb2a810 1631 [BZ #14176]
a065ceff
OB
1632 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1633
a600e5ce
RM
16342013-03-19 Roland McGrath <roland@hack.frob.com>
1635
1636 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1637 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1638 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1639 [!BEFORE_ABORT] (before_abort): New function.
1640 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1641 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1642 (writev_for_fatal): New function.
1643 (WRITEV_FOR_FATAL): New macro; call that.
1644 (backtrace_and_maps): New function.
1645 (BEFORE_ABORT): New macro; call that.
1646 (struct str_list): Type removed.
1647 (__libc_message, __libc_fatal): Functions removed.
1648 Include <sysdeps/posix/libc_fatal.c> instead.
1649
6b18bea6
JM
16502013-03-19 Joseph Myers <joseph@codesourcery.com>
1651
1652 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1653 constants.
1654 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1655 double constants.
1656
aaa8cb4b
AS
16572013-03-19 Andreas Schwab <schwab@suse.de>
1658
44673770
AS
1659 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1660 * sysdeps/gnu/configure: Regenerate.
1661
aaa8cb4b
AS
1662 * configure.in: Substitute libc_cv_rtlddir.
1663 * configure: Regenerate.
1664 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1665 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1666 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1667 * elf/Makefile (install-others, CFLAGS-interp.c)
1668 (ldso_install, common-ldd-rewrite): Likewise.
1669 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1670 $(inst_slibdir)/$(rtld-installed-name).
1671 * scripts/rellns-sh: Add -p option.
1672 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1673 for source.
1674
d3cfc668
SP
16752013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1676
1677 * manual/nptl.texi: Renamed to ...
1678 * manual/threads.texi: ... this.
1679 * manual/Makefile (chapters): Update.
1680
0e2b9cdd
RM
16812013-03-18 Roland McGrath <roland@hack.frob.com>
1682
1683 [BZ #14812]
1684 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1685 on argument names, not just descriptions.
0e2b9cdd
RM
1686 * malloc/memusagestat.c (options): Likewise.
1687 * nss/getent.c (options): Likewise.
63270c24
RM
1688
16892013-03-18 Benno Schulenberg <bensberg@justemail.net>
1690
1691 [BZ #14812]
1692 * iconv/iconv_prog.c (options): Put N_ translation marker
1693 on argument names, not just descriptions.
1694 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1695
b2e1393c
OB
16962013-03-18 Ondrej Bilka <neleai@seznam.cz>
1697
1698 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1699 implementation which is faster on all x86_64 architectures.
1700 Tested on AMD, Intel Nehalem, SNB, IVB.
1701 * sysdeps/x86_64/strnlen.S: Likewise.
1702
1703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1704 Remove all multiarch strlen and strnlen versions.
1705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1706 Remove strlen and strnlen related parts.
1707
1708 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1709 Inline strlen part.
1710 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1711
1712 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1713 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1714 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1715 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1716 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1717 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1718
ec4ff04d
CD
17192013-03-17 Carlos O'Donell <carlos@redhat.com>
1720
1721 * manual/memory.texi (Malloc Tunable Parameters):
1722 Sort parameters alphabetically. Add comments for missing entries.
1723
cd18e90a
DM
17242013-03-17 David S. Miller <davem@davemloft.net>
1725
1726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1727
2a185d32
JM
17282013-03-16 Joseph Myers <joseph@codesourcery.com>
1729
d2f9799e
JM
1730 [BZ #15283]
1731 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1732 for arguments at most half maximum finite value.
1733 * math/libm-test.inc (j0_test): Add more tests.
1734 (j1_test): Likewise.
1735 (y0_test): Likewise.
1736 (y1_test): Likewise.
1737 * sysdeps/i386/fpu/libm-test-ulps: Update.
1738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1739
2a185d32
JM
1740 [BZ #14155]
1741 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1742 1 / x and functions P and Q for arguments above 0x1p256L.
1743 (__ieee754_y0l): Likewise.
1744 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1745 (__ieee754_y1l): Likewise.
1746 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1747 (j1_test): Likewise.
1748 (y0_test): Likewise.
1749 (y1_test): Likewise.
1750
6cbec759
TS
17512013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1752
1753 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1754 variable.
1755
bc16e260
RM
17562013-03-15 Roland McGrath <roland@hack.frob.com>
1757
aefc9b8c
RM
1758 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1759 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1760 zero since it's initialized to EXEC_PAGESIZE.
1761
bc16e260
RM
1762 * sysdeps/unix/sysv/linux/ldsodefs.h
1763 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1764 * sysdeps/generic/ldsodefs.h: ... here.
1765
a57da955
TS
17662013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1767
af00a34d
TS
1768 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1769
495ded2c
TS
1770 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1771 math/test-snan.c.
1772 * math/test-snan.c: Renamed from
1773 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1774 * math/Makefile (tests): Add test-snan.
1775 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1776 test-powerpc-snan.
1777
777b0332
TS
1778 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1779 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1780 functions.
1781 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1782 __builtin_nan family of functions.
1783 * math/libm-test.inc (initialize): Initialize qnan_value with
1784 __builtin_nan family of functions.
1785 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1786 Remove variables.
1787 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1788 Remove functions.
1789 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1790 storage class. Initialize qNaN_var and sNaN_var with
1791 __builtin_nan and __builtin_nans families of functions,
1792 respectively.
1793
64d063b8
TS
1794 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1795 (sqrt_test): Remove duplicate test with qNaN input.
1796 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1797 (round_test, signbit_test, significand_test): Note missing +/-Inf
1798 as well as qNaN tests.
1799
67e971f1
TS
1800 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1801 qNaN_var. Fix a few strings, too.
1802 * math/libm-test.inc (nan_value): Rename to qnan_value.
1803 * math/gen-libm-test.pl (%beautify): Adjust to that.
1804 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1805 * math/test-misc.c (main): Likewise.
1806 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1807 to __qnan_bytes, and __qnan_union, respectively.
1808 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1809 Likewise.
1810 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1811 and lqnanval, respectively.
1812 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1813 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1814 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1815 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1816
64487e12
TS
1817 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1818 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1819 doubles.
1820
e015e27b
TS
1821 * math/test-misc.c (main): Fix copy'n'pastos.
1822 * misc/tst-efgcvt.c (special): Likewise.
1823
a57da955
TS
1824 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1825 Remove declarations.
1826
1e380345
SP
18272013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1828
1829 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1830 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1831 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1832 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1833
ef26eece
AZ
18342013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1835
1836 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1837 macro to return vdso values correctly in IFUNC implementations.
1838 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1839 Optimization by using IFUNC.
1840
8cfdb7e0
SP
18412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1842 Richard Henderson <rth@redhat.com>
1843 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1844
1845 * Makefile.in (bench): New target.
1846 * NEWS: Mention the benchmark framework.
1847 * Rules (bench): Likewise.
1848 (binaries-bench): Generate binaries for functions to
1849 benchmark.
1850 * benchtests/Makefile: New makefile for benchmark tests.
1851 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1852 programs.
1853 * benchtests/exp-inputs: New input file for EXP function.
1854 * benchtests/pow-inputs: New input file for POW function.
1855 * scripts/bench.pl: New script to generate source files for
1856 benchmark programs.
1857
bcda9880
SP
18582013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1859
d22ca8cd
SP
1860 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1861 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1862 computations on mantissa. Use macros for rounding and
1863 division.
1864 (denorm): Likewise.
1865 (__dbl_mp): Likewise.
1866 (add_magnitudes): Likewise.
1867 (sub_magnitudes): Likewise.
1868 (__mul): Likewise.
1869 (__sqr): Likewise.
1870 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1871 powers of two in terms of TWOPOW macro.
1872 (mp_no): Make type of mantissa as MANTISSA_T.
1873 [!RADIXI]: Define RADIXI.
1874 [!TWO52]: Define TWO52.
1875 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1876
bcda9880
SP
1877 * manual/nptl.texi (cindex): Modify threads to pthreads.
1878
06d5adfb
JM
18792013-03-15 Joseph Myers <joseph@codesourcery.com>
1880
1881 * sysdeps/x86_64/preconfigure: Regenerated.
1882
41c7328e
JM
18832013-03-14 Joseph Myers <joseph@codesourcery.com>
1884
1885 [BZ #14155]
1886 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
1887 0x1p28 and above.
1888 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
1889 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
1890 0x1p28 and above.
1891 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
1892 * math/libm-test.inc (j0_test): Do not allow one spurious
1893 underflow exception.
1894 (y1_test): Likewise.
1895
e25cfa60
SP
18962013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1897
0409959c
SP
1898 * manual/Makefile (chapters): Add nptl.
1899 * manual/debug.texi (Debugging Support): Add link to Threads
1900 chapter.
1901 * manual/nptl.texi: New file.
1902
e25cfa60
SP
1903 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
1904
58a1335e
PB
19052013-03-14 Petr Baudis <pasky@ucw.cz>
1906
1907 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
1908 for non-NULL pointer before the memory validity test. Pointed
1909 out by Holger Brunck <holger.brunck@keymile.com>.
1910
9dc7c64f
AS
19112013-03-13 Andreas Schwab <schwab@suse.de>
1912
1913 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
1914 instead of .os.
1915
54206aa6
JM
19162013-03-13 Joseph Myers <joseph@codesourcery.com>
1917
1918 * timezone/zic.c: Update from tzcode 2013b.
1919
e98cdb38
CD
19202013-03-12 Carlos O'Donell <carlos@redhat.com>
1921
1922 * manual/install.texi (Configuring and compiling):
1923 Mention i686 and i586.
1924 * INSTALL: Regenerate.
1925
9967e003
RM
19262013-03-12 Roland McGrath <roland@hack.frob.com>
1927
1928 * sysdeps/init_array/elf-init.c: New file.
1929 * csu/elf-init.c
1930 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
1931 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
1932
1933 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
1934 __gmon_start__ as global, but as static with a .preinit_array pointer.
1935 * sysdeps/init_array/gmon-start.c: New file. Use that.
1936 * sysdeps/init_array/crti.S: New file, empty except for comments.
1937 * sysdeps/init_array/crtn.S: Likewise.
1938
e6b5a293 19392013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
1940
1941 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
1942 definining bcopy.
80f844c9
OB
1943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1944 Remove Prefer_SSE_for_memop.
1945 * sysdeps/x86_64/multiarch/init-arch.h: Remove
1946 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
1947 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
1948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1949 memset-x86-64.
80f844c9 1950 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 1951 Remove bzero, memset ifunc support.
80f844c9
OB
1952 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
1953 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
1954 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1955 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1956
fb6b0fcb
AS
19572013-03-11 Andreas Schwab <schwab@suse.de>
1958
1959 [BZ #15234]
1960 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
1961 by SHLIB_COMPAT.
1962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
1963 (GLIBC_2.16): Remove pthread_atfork.
1964
3e6bd4b1
PP
19652013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1966
1967 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
1968 (ptestcases.h): Likewise.
1969
222d7f00
RM
19702013-03-08 Roland McGrath <roland@hack.frob.com>
1971
1972 * Makeconfig ($(common-objpfx)config.status): Depend on
1973 sysdeps/*/preconfigure{,.in} too.
1974
1ba4f030
JM
19752013-03-08 Joseph Myers <joseph@codesourcery.com>
1976
a222d91a
JM
1977 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
1978 (__free_hook): Use void * instead of __malloc_ptr_t.
1979 (__malloc_hook): Likewise.
1980 (__realloc_hook): Likewise.
1981 (__memalign_hook): Likewise.
1982 (__after_morecore_hook): Likewise.
1983 * malloc/arena.c (save_malloc_hook): Likewise.
1984 (save_free_hook): Likewise.
1985 * malloc/hooks.c (malloc_hook_ini): Likewise.
1986 (realloc_hook_ini): Likewise.
1987 (memalign_hook_ini): Likewise.
1988 * malloc/malloc.c (malloc_hook_ini): Likewise.
1989 (realloc_hook_ini): Likewise.
1990 (memalign_hook_ini): Likewise.
1991 (__free_hook): Likewise.
1992 (__malloc_hook): Likewise.
1993 (__realloc_hook): Likewise.
1994 (__memalign_hook): Likewise.
1995 (__libc_malloc): Likewise.
1996 (__libc_free): Likewise.
1997 (__libc_realloc): Likewise.
1998 (__libc_memalign): Likewise.
1999 (__libc_valloc): Likewise.
2000 (__libc_pvalloc): Likewise.
2001 (__libc_calloc): Likewise.
2002 (__posix_memalign): Likewise.
2003 * malloc/morecore.c (__sbrk): Likewise.
2004 (__default_morecore): Likewise.
2005
5cc45e10
JM
2006 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2007
dd54b864
JM
2008 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2009 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2010 __malloc_ptrdiff_t.
2011
1ba4f030
JM
2012 * malloc/malloc.h (__malloc_size_t): Remove macro.
2013 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2014 __malloc_size_t.
2015 (old_memalign_hook): Likewise.
2016 (old_realloc_hook): Likewise.
2017 (struct hdr): Likewise.
2018 (flood): Likewise.
2019 (mallochook): Likewise.
2020 (memalignhook): Likewise.
2021 (reallochook): Likewise.
2022 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2023 (tr_old_realloc_hook): Likewise.
2024 (tr_old_memalign_hook): Likewise.
2025 (tr_mallochook): Likewise.
2026 (tr_reallochook): Likewise.
2027 (tr_memalignhook): Likewise.
2028
edf66e57
AZ
20292013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2030
2031 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2032 default_ldbl_pack and using as default implementation.
2033 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2034 implementation.
2035 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2036 redundant definition.
2037 (ldbl_insert_mantissa): Likewise.
2038 (ldbl_canonicalize): Likewise.
2039 (ldbl_nearbyint): Likewise.
2040 (ldbl_pack): Rename to ldbl_pack_ppc.
2041 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2042 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2043 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2044
6d9145d8
SP
20452013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2046
2047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2048 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2049 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2050 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2052 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2053 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2054 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2055
4dd4e157
AJ
20562013-03-07 Andreas Jaeger <aj@suse.de>
2057
2058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2059 bits/mman-linux.h.
2060
adbb8027
SP
20612013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2062
ce544b5b
SP
2063 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2064 Include mpa.h and declare __MPEXP.
2065 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2066 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2067 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2068 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2069 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2070 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2071 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2072
4cc149fd
SP
2073 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2074 (__slowpow): Use long double EXPL and LOGL functions to
2075 compute POW.
2076 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2077 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2078 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2079 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2080 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2081 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2082
e6ebd4a7
SP
2083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2084 intermediate variable to calculate exponent.
2085 (__sqr): Likewise.
2086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2087 Likewise.
2088 (__sqr): Likewise.
2089
82a9811d
SP
2090 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2091 [!NO__SQR]: Define __sqr.
2092 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2093 and NO__SQR. Remove all code except __mul and __sqr. Include
2094 sysdeps/ieee754/dbl-64/mpa.c.
2095 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2096
adbb8027
SP
2097 [BZ #12723]
2098 * posix/Makefile (tests): Add tst-pathconf.
2099 * posix/tst-pathconf.c: New test case.
2100 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2101 _PC_PIPE_BUF.
2102 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2103
39120df9
PF
21042013-03-06 Patsy Franklin <pfrankli@redhat.com>
2105
2106 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2107
67525cb8
AJ
21082013-03-06 Andreas Jaeger <aj@suse.de>
2109
664a9ce4
AJ
2110 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2111 definition via __MAP_ANONYMOUS.
2112
8e39047d
AJ
2113 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2114 it's not part of Linux headers.
2115
67525cb8
AJ
2116 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2117 (MAP_HUGE_MASK): Define.
2118
2119 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2120 Define.
2121 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2122 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2123 Define.
2124 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2125 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2126 Define.
2127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2128 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2129 Define.
2130 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2131
2132 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2133 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2134 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2135 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2136 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2137 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2138
2139 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2140 Handle f2fs.
2141
2142 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2143 Handle f2fs and efivarfs.
2144
2145 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2146 f2fs.
2147
2148 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2149 (EFIVARFS_MAGIC): Add.
2150 (F2FS_LINK_MAX): Add.
2151
e1b42695
PP
21522013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2153
2154 * stdio-common/vfprintf.c: Replace __builtin_expect with
2155 __glibc_unlikely.
2156
2d67d91a
JM
21572013-03-06 Joseph Myers <joseph@codesourcery.com>
2158
2159 [BZ #13550]
2160 * sysdeps/generic/bp-sym.h: Remove file.
2161 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2162 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2163 <bp-sym.h> and <bp-asm.h>.
2164 (__longjmp): Don't use BP_SYM.
2165 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2166 and <bp-asm.h>.
2167 (memcpy): Don't use BP_SYM.
2168 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2169 <bp-sym.h> and <bp-asm.h>.
2170 (memcpy): Don't use BP_SYM.
2171 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2172 <bp-asm.h>.
2173 (memcpy): Don't use BP_SYM.
2174 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2175 <bp-asm.h>.
2176 (memset): Don't use BP_SYM.
2177 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2178 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2179 (__bzero): Don't use BP_SYM.
2180 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2181 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2182 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2183 <bp-sym.h> and <bp-asm.h>.
2184 (memcmp): Don't use BP_SYM. Remove comment about bounded
2185 pointers.
2186 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2187 <bp-sym.h> and <bp-asm.h>.
2188 (memcpy): Don't use BP_SYM.
2189 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2190 <bp-sym.h> and <bp-asm.h>.
2191 (memset): Don't use BP_SYM.
2192 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2193 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2194 (__bzero): Don't use BP_SYM.
2195 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2196 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2197 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2198 <bp-sym.h> and <bp-asm.h>.
2199 (strncmp): Don't use BP_SYM. Remove comment about bounded
2200 pointers.
2201 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2202 <bp-sym.h> and <bp-asm.h>.
2203 (memcpy): Don't use BP_SYM.
2204 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2205 <bp-sym.h> and <bp-asm.h>.
2206 (memset): Don't use BP_SYM.
2207 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2208 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2209 (__bzero): Don't use BP_SYM.
2210 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2211 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2213 <bp-sym.h> and <bp-asm.h>.
2214 (__memchr): Don't use BP_SYM.
2215 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2216 <bp-sym.h> and <bp-asm.h>.
2217 (memcmp): Don't use BP_SYM. Remove comment about bounded
2218 pointers.
2219 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2220 <bp-sym.h> and <bp-asm.h>.
2221 (memcpy): Don't use BP_SYM.
2222 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2223 <bp-sym.h> and <bp-asm.h>.
2224 (__mempcpy): Don't use BP_SYM.
2225 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2226 <bp-sym.h> and <bp-asm.h>.
2227 (__memrchr): Don't use BP_SYM.
2228 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2229 <bp-sym.h> and <bp-asm.h>.
2230 (memset): Don't use BP_SYM.
2231 (__bzero): Likewise.
2232 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2233 <bp-sym.h> and <bp-asm.h>.
2234 (__rawmemchr): Don't use BP_SYM.
2235 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2236 <bp-sym.h> and <bp-asm.h>.
2237 (__STRCMP): Don't use BP_SYM.
2238 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2239 <bp-sym.h> and <bp-asm.h>.
2240 (strchr): Don't use BP_SYM.
2241 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2242 <bp-sym.h> and <bp-asm.h>.
2243 (__strchrnul): Don't use BP_SYM.
2244 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2245 <bp-sym.h> and <bp-asm.h>.
2246 (strlen): Don't use BP_SYM.
2247 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2248 <bp-sym.h> and <bp-asm.h>.
2249 (strncmp): Don't use BP_SYM. Remove comment about bounded
2250 pointers.
2251 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2252 <bp-sym.h> and <bp-asm.h>.
2253 (__strnlen): Don't use BP_SYM.
2254 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2255 <bp-sym.h> and <bp-asm.h>.
2256 (__GI__setjmp): Don't use BP_SYM.
2257 (_setjmp): Likewise.
2258 (__sigsetjmp): Likewise.
2259 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2260 (L(start_addresses)): Don't use BP_SYM.
2261 (_start): Likewise.
2262 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2263 <bp-asm.h>.
2264 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2265 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2266 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2267 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2268 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2269 <bp-asm.h>.
2270 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2271 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2272 about bounded pointers.
2273 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2274 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2275 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2276 <bp-asm.h>.
2277 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2278 about bounded pointers. Remove GKM FIXME comments.
2279 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2280 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2281 <bp-asm.h>.
2282 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2283 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2284 Remove GKM FIXME comments.
2285 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2286 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2287 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2288 <bp-asm.h>.
2289 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2290 about bounded pointers. Remove GKM FIXME comment.
2291 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2292 and <bp-asm.h>.
2293 (strncmp): Don't use BP_SYM. Remove comment about bounded
2294 pointers.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2296 <bp-sym.h> and <bp-asm.h>.
2297 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2299 <bp-sym.h> and <bp-asm.h>.
2300 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2301 comment.
2302
cdcf361f
PP
23032013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2304
2305 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2306 call free(NULL).
2307
3c4a2b15
DM
23082013-03-05 David S. Miller <davem@davemloft.net>
2309
2310 * po/es.po: Update from translation team.
2311
cdcf361f 23122013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2313
2314 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2315 <bits/mman-linux.h>.
2316 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2317 is fine.
2318 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2319 <bits/mman-linux.h> to end of file.
2320 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2321 is fine.
2322 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2323 <bits/mman-linux.h> to end of file.
2324 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2325 is fine.
2326 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2327 <bits/mman-linux.h> to end of file.
2328
2329 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2330 (MCL_CURRENT, MCL_FUTURE): Define here.
2331
5f67c04f
AK
23322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2333
8a4473cc 2334 [BZ #15232]
5f67c04f
AK
2335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2336 attribute_hidden.
2337 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2338
c3e94a95
AK
23392013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2340
2341 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2342 fourth parameter needed for rt_sigprocmask syscall.
2343 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2344 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2345 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2346 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2347 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2348 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2349
cfb6382a
JM
23502013-03-04 Joseph Myers <joseph@codesourcery.com>
2351
2352 [BZ #13550]
2353 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2354 comment about bounded pointers.
2355 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2356 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2357
539d8e01
AJ
23582013-03-04 Andreas Jaeger <aj@suse.de>
2359
2360 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2361 common definitions.
2362
2363 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2364 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2365 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2366 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2367 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2368 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2369
2e167a70 23702013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2371
2372 [BZ #15055]
2373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2374 __ieee754_sqrl instead of __sqrl.
2375
68508633
JM
23762013-03-01 Joseph Myers <joseph@codesourcery.com>
2377
2378 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2379 * sysdeps/powerpc/fpu_control.h: ... here.
2380 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2381 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2382 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2383 * sysdeps/powerpc/bits/mathinline.h: ... here.
2384
7775448e
RM
23852013-03-01 Roland McGrath <roland@hack.frob.com>
2386
2387 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2388 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2389 to just [NEED_DL_SYSINFO_DSO].
2390 * elf/dl-support.c: Likewise.
2391 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2392 * elf/rtld.c (dl_main): Likewise.
2393 * elf/setup-vdso.h (setup_vdso): Likewise.
2394 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2395 * sysdeps/unix/sysv/linux/dl-sysdep.c
2396 (_dl_discover_osversion): Likewise.
2397
4e9b5995
CD
23982013-03-01 Carlos O'Donell <carlos@redhat.com>
2399
2400 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2401 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2402
e23872c8
SP
24032013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2404
e5c74c63
SP
2405 * NEWS: Mention libm performance improvements and non-x86 PI
2406 futex support.
2407
e23872c8
SP
2408 * csu/libc-start.c (__pthread_initialize_minimal): Change
2409 function arguments.
2410 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2411
b5510883
JM
24122013-02-28 Joseph Myers <joseph@codesourcery.com>
2413
2414 [BZ #13550]
2415 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2416 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2417 <bp-sym.h> and <bp-asm.h>.
2418 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2419 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2420 and <bp-asm.h>.
2421 (memcpy): Don't use BP_SYM.
2422 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2423 <bp-asm.h>.
2424 (__mpn_add_n): Don't use BP_SYM.
2425 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2426 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2427 and <bp-asm.h>.
2428 (__mpn_addmul_1): Don't use BP_SYM.
2429 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2430 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2431 <bp-sym.h>.
2432 (_setjmp): Don't use BP_SYM.
2433 (__novmx_setjmp): Likewise.
2434 (__GI__setjmp): Likewise.
2435 (__vmx_setjmp): Likewise.
2436 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2437 <bp-sym.h>.
2438 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2439 (__bzero): Don't use BP_SYM.
2440 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2441 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2442 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2443 <bp-sym.h> and <bp-asm.h>.
2444 (memcpy): Don't use BP_SYM.
2445 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2446 <bp-sym.h> and <bp-asm.h>.
2447 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2448 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2449 <bp-sym.h> and <bp-asm.h>.
2450 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2451 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2452 <bp-asm.h>.
2453 (__mpn_lshift): Don't use BP_SYM.
2454 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2455 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2456 <bp-asm.h>.
2457 (memset): Don't use BP_SYM.
2458 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2459 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2460 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2461 <bp-asm.h>.
2462 (__mpn_mul_1): Don't use BP_SYM.
2463 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2464 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2465 <bp-sym.h> and <bp-asm.h>.
2466 (memcmp): Don't use BP_SYM.
2467 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2468 <bp-sym.h> and <bp-asm.h>.
2469 (memcpy): Don't use BP_SYM.
2470 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2471 <bp-sym.h> and <bp-asm.h>.
2472 (memset): Don't use BP_SYM.
2473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2474 <bp-sym.h> and <bp-asm.h>.
2475 (strncmp): Don't use BP_SYM.
2476 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2477 <bp-sym.h> and <bp-asm.h>.
2478 (memcpy): Don't use BP_SYM.
2479 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2480 <bp-sym.h> and <bp-asm.h>.
2481 (memset): Don't use BP_SYM.
2482 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2483 <bp-sym.h> and <bp-asm.h>.
2484 (__memchr): Don't use BP_SYM.
2485 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2486 <bp-sym.h> and <bp-asm.h>.
2487 (memcmp): Don't use BP_SYM.
2488 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2489 <bp-sym.h> and <bp-asm.h>.
2490 (memcpy): Don't use BP_SYM.
2491 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2492 <bp-sym.h> and <bp-asm.h>.
2493 (__mempcpy): Don't use BP_SYM.
2494 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2495 <bp-sym.h> and <bp-asm.h>.
2496 (__memrchr): Don't use BP_SYM.
2497 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2498 <bp-sym.h> and <bp-asm.h>.
2499 (memset): Don't use BP_SYM.
2500 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2501 <bp-sym.h> and <bp-asm.h>.
2502 (__rawmemchr): Don't use BP_SYM.
2503 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2504 <bp-sym.h> and <bp-asm.h>.
2505 (__STRCMP): Don't use BP_SYM.
2506 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2507 <bp-sym.h> and <bp-asm.h>.
2508 (strchr): Don't use BP_SYM.
2509 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2510 <bp-sym.h> and <bp-asm.h>.
2511 (__strchrnul): Don't use BP_SYM.
2512 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2513 <bp-sym.h> and <bp-asm.h>.
2514 (strlen): Don't use BP_SYM.
2515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2516 <bp-sym.h> and <bp-asm.h>.
2517 (strncmp): Don't use BP_SYM.
2518 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2519 <bp-sym.h> and <bp-asm.h>.
2520 (__strnlen): Don't use BP_SYM.
2521 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2522 <bp-asm.h>.
2523 (__mpn_rshift): Don't use BP_SYM.
2524 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2525 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2526 <bp-sym.h> and <bp-asm.h>.
2527 (__sigsetjmp): Don't use BP_SYM.
2528 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2529 (L(start_addresses)): Don't use BP_SYM.
2530 (_start): Likewise.
2531 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2532 <bp-asm.h>.
2533 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2534 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2535 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2536 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2537 <bp-asm.h>.
2538 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2539 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2540 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2541 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2542 <bp-asm.h>.
2543 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2544 comments.
2545 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2546 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2547 <bp-asm.h>.
2548 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2549 FIXME comments.
2550 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2551 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2552 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2553 <bp-asm.h>.
2554 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2555 comment.
2556 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2557 and <bp-asm.h>.
2558 (strncmp): Don't use BP_SYM,
2559 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2560 <bp-asm.h>.
2561 (__mpn_sub_n): Don't use BP_SYM.
2562 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2563 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2564 and <bp-asm.h>.
2565 (__mpn_submul_1): Don't use BP_SYM.
2566 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2568 <bp-sym.h> and <bp-asm.h>.
2569 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2571 <bp-sym.h> and <bp-asm.h>.
2572 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2573 comment.
2574
8d19fe64
SP
25752013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2576
2577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2578 Use ZK to minimize writes to Z.
2579 (sub_magnitudes): Simplify code a bit.
2580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2581 Use ZK to minimize writes to Z.
2582 (sub_magnitudes): Simplify code a bit.
2583
85bd816a
RM
25842013-02-27 Roland McGrath <roland@hack.frob.com>
2585
2586 * csu/gmon-start.c: Add special exception to license text.
2587
b5977bf2
RH
25882013-02-27 Richard Henderson <rth@redhat.com>
2589
2590 * scripts/config.guess: Update from config.git.
2591 * scripts/config.sub: Likewise.
2592
11d6e2f2
SP
25932013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2594
09c14ed2
SP
2595 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2596
a688864e
SP
2597 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2598
6295157a
SP
2599 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2600
b8de2202
SP
2601 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2602
11d6e2f2
SP
2603 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2604
7e80ddb8
RM
26052013-02-26 Roland McGrath <roland@hack.frob.com>
2606
2607 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2608 [$(build-shared = yes].
7e80ddb8 2609
7da6d9ed
SP
26102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2611
45f05884
SP
2612 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2613 (__mul): Reduce iterations for calculating mantissa.
2614
2236d359
SP
2615 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2616 MPTWO.
2617 (__mpranred): Likewise.
2618
7da6d9ed
SP
2619 [BZ #15160]
2620 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2621 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2622
b7688c42
PE
26232013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2624
2625 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2626 Define __attribute__.
2627
53a5c423
SP
26282013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2629
2630 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2631 unused.
2632 * posix/regex_internal.h (__attribute): Remove.
2633 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2634 (re_string_context_at): Likewise.
2635 (bitset_not): Use __attribute__ and mark function as possibly
2636 unused.
2637 (bitset_merge): Likewise.
2638 (bitset_mask): Likewise.
2639 (re_string_char_size_at): Likewise.
2640 (re_string_wchar_at): Likewise.
2641 (re_string_elem_size_at): Likewise.
2642
60f5a8b5
SP
26432013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2644
2a983a2e
SP
2645 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2646 code.
2647 (cc32): Likewise.
2648
e69804d1
SP
2649 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2650 (__acr): Likewise.
2651 (__cpy): Likewise.
2652 (norm): Likewise.
2653 (denorm): Likewise.
2654 (__dbl_mp): Likewise.
2655 (add_magnitudes): Likewise.
2656 (sub_magnitudes): Likewise.
2657 (__mul): Likewise.
2658 (__inv): Likewise.
2659
2f22a1e8
SP
2660 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2661 style.
2662
8930ddc7
SP
2663 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2664 style.
2665
dc60cb11
SP
2666 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2667 code.
2668
60f5a8b5
SP
2669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2670 up changes with default code.
2671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2672 Likewise.
2673
b4d1fd33
AM
26742013-02-24 Allan McRae <allan@archlinux.org>
2675
faf6f8bc
AM
2676 * manual/socket.texi (The Internet Namespace): Order menu items
2677 to match that in the file.
2678
b4d1fd33
AM
2679 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2680 node listing of the info page menu.
2681
2366713d
JM
26822013-02-21 Joseph Myers <joseph@codesourcery.com>
2683
2684 [BZ #13550]
2685 * sysdeps/i386/bp-asm.h: Remove file.
2686 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2687 (PARMS): Do not use macros from bp-asm.h.
2688 (S1): Likewise.
2689 (S2): Likewise.
2690 (SIZE): Likewise.
2691 (__mpn_add_n): Do not use BP_SYM
2692 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2693 "bp-asm.h".
2694 (PARMS): Do not use macros from bp-asm.h.
2695 (S1): Likewise.
2696 (SIZE): Likewise.
2697 (__mpn_addmul_1): Do not use BP_SYM
2698 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2699 "bp-asm.h".
2700 (PARMS): Do not use macros from bp-asm.h.
2701 (SIGMSK): Likewise.
2702 (_setjmp): Likewise. Do not use BP_SYM.
2703 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2704 "bp-asm.h".
2705 (PARMS): Do not use macros from bp-asm.h.
2706 (SIGMSK): Likewise.
2707 (setjmp): Likewise. Do not use BP_SYM.
2708 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2709 "bp-asm.h".
2710 (PARMS): Do not use macros from bp-asm.h.
2711 (__frexp): Do not use BP_SYM.
2712 (frexp): Likewise.
2713 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2714 "bp-asm.h".
2715 (PARMS): Do not use macros from bp-asm.h.
2716 (__frexpf): Do not use BP_SYM.
2717 (frexpf): Likewise.
2718 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2719 "bp-asm.h".
2720 (PARMS): Do not use macros from bp-asm.h.
2721 (__frexpl): Do not use BP_SYM.
2722 (frexpl): Likewise.
2723 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2724 "bp-asm.h".
2725 (PARMS): Do not use macros from bp-asm.h.
2726 (__remquo): Do not use BP_SYM.
2727 (remquo): Likewise.
2728 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2729 "bp-asm.h".
2730 (PARMS): Do not use macros from bp-asm.h.
2731 (__remquof): Do not use BP_SYM.
2732 (remquof): Likewise.
2733 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2734 "bp-asm.h".
2735 (PARMS): Do not use macros from bp-asm.h.
2736 (__remquol): Do not use BP_SYM.
2737 (remquol): Likewise.
2738 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2739 "bp-asm.h".
2740 (PARMS): Do not use macros from bp-asm.h.
2741 (DEST): Likewise.
2742 (SRC): Likewise.
2743 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2744 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2745 "bp-asm.h".
2746 (PARMS): Do not use macros from bp-asm.h.
2747 (strlen): Do not use BP_SYM.
2748 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2749 "bp-asm.h".
2750 (PARMS): Do not use macros from bp-asm.h.
2751 (S1): Likewise.
2752 (S2): Likewise.
2753 (SIZE): Likewise.
2754 (__mpn_add_n): Do not use BP_SYM.
2755 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2756 "bp-asm.h".
2757 (PARMS): Do not use macros from bp-asm.h.
2758 (S1): Likewise.
2759 (SIZE): Likewise.
2760 (__mpn_addmul_1): Do not use BP_SYM.
2761 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2762 weak_alias.
2763 (bzero): Likewise.
2764 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2765 "bp-asm.h".
2766 (PARMS): Do not use macros from bp-asm.h.
2767 (S): Likewise.
2768 (SIZE): Likewise.
2769 (__mpn_lshift): Do not use BP_SYM.
2770 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2771 "bp-asm.h".
2772 (PARMS): Do not use macros from bp-asm.h.
2773 (DEST): Likewise.
2774 (SRC): Likewise.
2775 (LEN): Likewise.
2776 (memcpy): Likewise. Do not use BP_SYM.
2777 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2778 libc_hidden_def and weak_alias.
2779 (mempcpy): Do not use BP_SYM in weak_alias.
2780 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2781 "bp-asm.h".
2782 (PARMS): Do not use macros from bp-asm.h.
2783 (DEST): Likewise.
2784 (LEN): Likewise.
2785 [!BZERO_P] (CHR): Likewise.
2786 (memset): Likewise. Do not use BP_SYM.
2787 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2788 "bp-asm.h".
2789 (PARMS): Do not use macros from bp-asm.h.
2790 (S1): Likewise.
2791 (SIZE): Likewise.
2792 (__mpn_mul_1): Do not use BP_SYM.
2793 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2794 "bp-asm.h".
2795 (PARMS): Do not use macros from bp-asm.h.
2796 (S): Likewise.
2797 (SIZE): Likewise.
2798 (__mpn_rshift): Do not use BP_SYM.
2799 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2800 "bp-asm.h".
2801 (PARMS): Do not use macros from bp-asm.h.
2802 (STR): Likewise.
2803 (CHR): Likewise.
2804 (strchr): Likewise. Do not use BP_SYM.
2805 (index): Do not use BP_SYM in weak_alias.
2806 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2807 "bp-asm.h".
2808 (PARMS): Do not use macros from bp-asm.h.
2809 (DEST): Likewise.
2810 (SRC): Likewise.
2811 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2812 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2813 "bp-asm.h".
2814 (PARMS): Do not use macros from bp-asm.h.
2815 (strlen): Do not use BP_SYM.
2816 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2817 "bp-asm.h".
2818 (PARMS): Do not use macros from bp-asm.h.
2819 (S1): Likewise.
2820 (S2): Likewise.
2821 (SIZE): Likewise.
2822 (__mpn_sub_n): Do not use BP_SYM.
2823 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2824 "bp-asm.h".
2825 (PARMS): Do not use macros from bp-asm.h.
2826 (S1): Likewise.
2827 (SIZE): Likewise.
2828 (__mpn_submul_1): Do not use BP_SYM.
2829 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2830 "bp-asm.h".
2831 (PARMS): Do not use macros from bp-asm.h.
2832 (S1): Likewise.
2833 (S2): Likewise.
2834 (SIZE): Likewise.
2835 (__mpn_add_n): Do not use BP_SYM.
2836 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2837 weak_alias.
2838 (bzero): Likewise.
2839 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2840 "bp-asm.h".
2841 (PARMS): Do not use macros from bp-asm.h.
2842 (BLK2): Likewise.
2843 (LEN): Likewise.
2844 (memcmp): Do not use BP_SYM.
2845 (bcmp): Do not use BP_SYM in weak_alias.
2846 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2847 "bp-asm.h".
2848 (PARMS): Do not use macros from bp-asm.h.
2849 (DEST): Likewise.
2850 (SRC): Likewise.
2851 (LEN): Likewise.
2852 (memcpy): Likewise. Do not use BP_SYM.
2853 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2854 "bp-asm.h".
2855 (PARMS): Do not use macros from bp-asm.h.
2856 (DEST): Likewise.
2857 (SRC): Likewise.
2858 (LEN): Likewise.
2859 (memmove): Likewise. Do not use BP_SYM.
2860 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2861 "bp-asm.h".
2862 (PARMS): Do not use macros from bp-asm.h.
2863 (DEST): Likewise.
2864 (SRC): Likewise.
2865 (LEN): Likewise.
2866 (__mempcpy): Likewise. Do not use BP_SYM.
2867 (mempcpy): Do not use BP_SYM in weak_alias.
2868 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2869 "bp-asm.h".
2870 (PARMS): Do not use macros from bp-asm.h.
2871 (DEST): Likewise.
2872 (LEN): Likewise.
2873 [!BZERO_P] (CHR): Likewise.
2874 (memset): Likewise. Do not use BP_SYM.
2875 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2876 "bp-asm.h".
2877 (PARMS): Do not use macros from bp-asm.h.
2878 (STR2): Likewise.
2879 (strcmp): Do not use BP_SYM.
2880 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2881 "bp-asm.h".
2882 (PARMS): Do not use macros from bp-asm.h.
2883 (STR): Likewise.
2884 (DELIM): Likewise.
2885 [USE_AS_STRTOK_R] (SAVE): Likewise.
2886 (FUNCTION): Likewise. Do not use BP_SYM.
2887 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
2888 aliases.
2889 (strtok_r): Likewise.
2890 (__GI___strtok_r): Likewise.
2891 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2892 (PARMS): Do not use macros from bp-asm.h.
2893 (S): Likewise.
2894 (SIZE): Likewise.
2895 (__mpn_lshift): Do not use BP_SYM.
2896 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2897 (PARMS): Do not use macros from bp-asm.h.
2898 (STR): Likewise.
2899 (CHR): Likewise.
2900 (__memchr): Do not use BP_SYM.
2901 (memchr): Do not use BP_SYM in weak_alias.
2902 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2903 (PARMS): Do not use macros from bp-asm.h.
2904 (BLK2): Likewise.
2905 (LEN): Likewise.
2906 (memcmp): Do not use BP_SYM.
2907 (bcmp): Do not use BP_SYM in weak_alias.
2908 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
2909 (PARMS): Do not use macros from bp-asm.h.
2910 (S1): Likewise.
2911 (SIZE): Likewise.
2912 (__mpn_mul_1): Do not use BP_SYM.
2913 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
2914 "bp-asm.h".
2915 (PARMS): Do not use macros from bp-asm.h.
2916 (STR): Likewise.
2917 (CHR): Likewise.
2918 (__rawmemchr): Do not use BP_SYM.
2919 (rawmemchr): Do not use BP_SYM in weak_alias.
2920 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
2921 (PARMS): Do not use macros from bp-asm.h.
2922 (S): Likewise.
2923 (SIZE): Likewise.
2924 (__mpn_rshift): Do not use BP_SYM.
2925 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
2926 (PARMS): Do not use macros from bp-asm.h.
2927 (SIGMSK): Likewise.
2928 (__sigsetjmp): Likewise. Do not use BP_SYM.
2929 * sysdeps/i386/start.S: Do not include "bp-sym.h".
2930 (_start): Do not use BP_SYM.
2931 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
2932 (PARMS): Do not use macros from bp-asm.h.
2933 (DEST): Likewise.
2934 (SRC): Likewise.
2935 (__stpcpy): Likewise. Do not use BP_SYM.
2936 (stpcpy): Do not use BP_SYM in weak_alias.
2937 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
2938 "bp-asm.h".
2939 (PARMS): Do not use macros from bp-asm.h.
2940 (DEST): Likewise.
2941 (SRC): Likewise.
2942 (LEN): Likewise.
2943 (__stpncpy): Likewise. Do not use BP_SYM.
2944 (stpncpy): Do not use BP_SYM in weak_alias.
2945 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
2946 (PARMS): Do not use macros from bp-asm.h.
2947 (STR): Likewise.
2948 (CHR): Likewise.
2949 (strchr): Likewise. Do not use BP_SYM.
2950 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
2951 "bp-asm.h".
2952 (PARMS): Do not use macros from bp-asm.h.
2953 (STR): Likewise.
2954 (CHR): Likewise.
2955 (__strchrnul): Likewise. Do not use BP_SYM.
2956 (strchrnul): Do not use BP_SYM in weak_alias.
2957 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
2958 "bp-asm.h".
2959 (PARMS): Do not use macros from bp-asm.h.
2960 (STOP): Likewise.
2961 (strcspn): Do not use BP_SYM.
2962 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
2963 "bp-asm.h".
2964 (PARMS): Do not use macros from bp-asm.h.
2965 (STR): Likewise.
2966 (STOP): Likewise.
2967 (strpbrk): Likewise. Do not use BP_SYM.
2968 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
2969 "bp-asm.h".
2970 (PARMS): Do not use macros from bp-asm.h.
2971 (STR): Likewise.
2972 (CHR): Likewise.
2973 (strrchr): Likewise. Do not use BP_SYM.
2974 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
2975 (PARMS): Do not use macros from bp-asm.h.
2976 (SKIP): Likewise.
2977 (strspn): Do not use BP_SYM.
2978 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
2979 (PARMS): Do not use macros from bp-asm.h.
2980 (STR): Likewise.
2981 (DELIM): Likewise.
2982 (SAVE): Likewise.
2983 (FUNCTION): Likewise. Do not use BP_SYM.
2984 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
2985 aliases.
2986 (strtok_r): Likewise.
2987 (__GI___strtok_r): Likewise.
2988 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2989 (PARMS): Do not use macros from bp-asm.h.
2990 (S1): Likewise.
2991 (S2): Likewise.
2992 (SIZE): Likewise.
2993 (__mpn_sub_n): Do not use BP_SYM.
2994 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
2995 "bp-asm.h".
2996 (PARMS): Do not use macros from bp-asm.h.
2997 (S1): Likewise.
2998 (SIZE): Likewise.
2999 (__mpn_submul_1): Do not use BP_SYM.
3000 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3001 <bp-sym.h>.
3002 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3003 and <bp-asm.h>.
3004 (PARMS): Do not use macros from bp-asm.h.
3005 (FLAGS): Likewise.
3006 (PTID): Likewise.
3007 (TLS): Likewise.
3008 (CTID): Likewise.
3009 (__clone): Do not use BP_SYM.
3010 (clone): Do not use BP_SYM in weak_alias.
3011 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3012 and <bp-asm.h>.
3013 (PARMS): Do not use macros from bp-asm.h.
3014 (LEN): Likewise.
3015 (__mmap64): Do not use BP_SYM.
3016 (mmap64): Do not use BP_SYM in weak_alias.
3017 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3018 <bp-sym.h> and <bp-asm.h>.
3019 (PARMS): Do not use macros from bp-asm.h.
3020 (__posix_fadvise64_l64): Do not use BP_SYM.
3021 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3022 (PARMS): Do not use macros from bp-asm.h.
3023 (NSOPS): Likewise.
3024 (semtimedop): Do not use BP_SYM.
3025 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3026 and <bp-asm.h>.
3027
582a3cff
AM
30282013-02-21 Allan McRae <allan@archlinux.org>
3029
3030 * manual/message.texi (Charset conversion in gettext):
3031 Move @end statement to beginning of line.
3032
bab8a695
SP
30332013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3034
80945231
SP
3035 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3036 static.
3037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3038 Likewise.
3039
bab8a695
SP
3040 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3041 (denorm): Likewise.
3042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3044
e21d7aa7
AK
30452013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3046
3047 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3048 tail-call to the resolved function if pltexit isn't needed.
3049
4c7a4263
SP
30502013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3051
3052 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3053 or Y being zero as being unlikely.
3054 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3055 Likewise.
3056
41f49342
CD
30572013-02-20 Carlos O'Donell <carlos@redhat.com>
3058
3059 * manual/nss.texi (System Databases and Name Service Switch):
3060 Remove frobnicate @pxref.
3061
50022a93
TS
30622013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3063
3064 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3065 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3066
08cbd996
PM
30672013-02-20 Petr Machata <pmachata@redhat.com>
3068
3069 * elf/elf.h (R_ARM_TARGET1): New macro.
3070 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3071 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3072 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3073 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3074 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3075 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3076 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3077 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3078 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3079 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3080 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3081 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3082 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3083 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3084 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3085 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3086 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3087 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3088 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3089 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3090 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3091 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3092 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3093 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3094 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3095 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3096 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3097 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3098 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3099 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3100 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3101 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3102 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3103 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3104 (R_ARM_THM_GOT_BREL12): Likewise.
3105 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3106 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3107 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3108 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3109 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3110 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3111 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3112 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3113 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3114
c7b275d6
TS
31152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3116
3117 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3118 __attribute_used__ to __attribute__ ((unused)).
3119
20cd7fb3
SP
31202013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3121
3122 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3123 powerpc mpa.c.
3124 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3125 comment formatting.
3126 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3127
92945b52
JM
31282013-02-19 Joseph Myers <joseph@codesourcery.com>
3129
3130 [BZ #13550]
3131 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3132 Remove macro.
3133 (ENTER): Remove both macro definitions.
3134 (LEAVE): Likewise.
3135 (CHECK_BOUNDS_LOW): Likewise.
3136 (CHECK_BOUNDS_HIGH): Likewise.
3137 (CHECK_BOUNDS_BOTH): Likewise.
3138 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3139 (RETURN_BOUNDED_POINTER): Likewise.
3140 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3141 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3142 (POP_ERRNO_LOCATION_RETURN): Likewise.
3143 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3144 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3145 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3146 macros.
3147 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3148 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3149 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3150 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3151 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3152 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3153 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3154 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3155 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3156 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3157 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3158 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3159 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3160 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3161 removed macros.
3162 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3163 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3164 macros.
3165 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3166 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3167 * sysdeps/i386/i586/memset.S (memset): Likewise.
3168 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3169 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3170 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3171 macros.
3172 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3173 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3174 Change uses of L(2) to L(out).
3175 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3176 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3177 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3178 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3179 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3180 removed macros.
3181 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3182 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3183 macros.
3184 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3185 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3186 (RETURN): Do not use macro LEAVE.
3187 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3188 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3189 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3190 * sysdeps/i386/i686/memset.S (memset): Likewise.
3191 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3192 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3193 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3194 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3195 Likewise.
3196 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3197 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3198 L(1_2) and L(1_3) into L(1).
3199 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3200 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3201 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3202 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3203 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3204 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3205 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3206 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3207 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3208 macros.
3209 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3210 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3211 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3212 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3213 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3214 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3215 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3216 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3217 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3218 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3219 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3220 * sysdeps/i386/strspn.S (strspn): Likewise.
3221 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3222 conditional code.
3223 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3224 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3225 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3226 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3227 L(1_3) into L(1_1).
3228 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3229 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3230 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3231 macros.
3232 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3233
2389741a
JJ
32342013-02-19 Jakub Jelinek <jakub@redhat.com>
3235
3236 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3237 macro.
3238
2016b3cd
SP
32392013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3240
e4f22324
SP
3241 * math/atest-exp.c (exp_mpn): Remove ROUND.
3242 * math/atest-exp2.c (exp_mpn): Likewise.
3243 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3244
2016b3cd
SP
3245 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3246 * stdlib/tst-tls-atexit-lib.c: Likewise.
3247 * stdlib/tst-tls-atexit.c: Likewise.
3248
4be9b544
MF
32492013-02-18 Mike Frysinger <vapier@gentoo.org>
3250
3251 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3252 and __attribute_alloc_size__.
3253
2f62b9ee
MF
32542013-02-18 Mike Frysinger <vapier@gentoo.org>
3255
3256 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3257 __attribute_alloc_size__.
3258 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3259 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3260
6ff444c4
MF
32612013-02-18 Mike Frysinger <vapier@gentoo.org>
3262
3263 * include/programs/xmalloc.h: New file.
3264 * catgets/gencat.c: Include it.
3265 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3266 * elf/pldd.c: Likewise.
3267 * iconv/iconv_charmap.c: Likewise.
3268 * iconv/iconvconfig.c: Likewise.
3269 * iconv/strtab.c: Likewise.
3270 * locale/programs/locale.c: Likewise.
3271 * locale/programs/localedef.h: Likewise.
3272 * locale/programs/simple-hash.c: Likewise.
3273 * nscd/nscd.h: Likewise.
3274 * nss/makedb.c: Likewise.
3275 * sysdeps/generic/ldconfig.h: Likewise.
3276
be179c8a
SP
32772013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3278
ba384f6e
SP
3279 * Versions.def: Add GLIBC_2.18.
3280 * include/link.h (struct link_map): New member l_tls_dtor_count.
3281 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3282 (__call_tls_dtors): Likewise.
3283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3284 __cxa_thread_atexit_impl.
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3286 Likewise.
3287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3288 Likewise.
3289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3290 Likewise.
3291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3292 Likewise.
3293 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3295 Likewise.
3296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3297 Likewise.
3298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3300 Likewise.
3301 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3302 (tests): Add test case tst-tls-atexit.
3303 (modules-names): Add shared library for tst-tls-atexit.
3304 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3305 (GLIBC_PRIVATE): Add __call_tls_dtors.
3306 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3307 for libstdc++.
3308 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3309 * stdlib/tst-tls-atexit.c: New test case.
3310 * stdlib/tst-tls-atexit-lib.c: New test case.
3311
ffaa74cf 3312 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3313
be179c8a
SP
3314 * elf/Versions (ld): Add _dl_find_dso_for_object.
3315 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3316 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3317 (dl_open_worker): Use _dl_find_dso_for_object.
3318 * elf/dl-sym.c (do_sym): Likewise.
3319 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3320
f78b5caa
AK
33212013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3322
3323 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3324 Syntactic changes only.
3325 (_dl_runtime_profile): Do a tail-call to the resolved function.
3326
29691210
JM
33272013-02-17 Joseph Myers <joseph@codesourcery.com>
3328
3329 [BZ #13550]
3330 * sysdeps/x86_64/bp-asm.h: Remove file.
3331 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3332 <bp-sym.h> and <bp-asm.h>.
3333 (__clone): Do not use BP_SYM.
3334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3335 <bp-sym.h> and <bp-asm.h>.
3336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3337 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3338 "bp-asm.h".
3339 (_setjmp): Do not use BP_SYM.
3340 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3341 "bp-asm.h".
3342 (setjmp): Do not use BP_SYM.
3343 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3344 libc_hidden_def.
3345 (mempcpy): Do not use BP_SYM in weak_alias.
3346 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3347 "bp-asm.h".
3348 (strchr): Do not use BP_SYM.
3349 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3350 "bp-asm.h".
3351 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3352 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3353 (_start): Do not use BP_SYM.
3354 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3355 "bp-asm.h".
3356 (strcat): Do not use BP_SYM.
3357 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3358 "bp-asm.h".
3359 (STRCMP): Do not use BP_SYM.
3360 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3361 "bp-asm.h".
3362 (STRCPY): Do not use BP_SYM.
3363 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3364 "bp-asm.h".
3365 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3366 "bp-asm.h".
3367 (FUNCTION): Do not use BP_SYM.
3368 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3369 weak_alias.
3370 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3371
f238fd19
AJ
33722013-02-17 Andreas Jaeger <aj@suse.de>
3373
3374 * time/Versions: Sort entries.
3375 * string/Versions: Likewise.
3376 * resolv/Versions: Likewise.
3377 * posix/Versions: Likewise.
3378 * iconv/Versions: Likewise.
3379 * elf/Versions: Likewise.
3380 * wcsmbs/Versions: Likewise.
3381
bd07f23c 33822013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3383
22af19f9
SP
3384 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3385 loop termination condition.
3386
4709fe76
SP
3387 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3388 variable to calculate EZ.
3389 (__sqr): Likewise.
2d0e0f29
SP
3390
3391 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3392 the lower precision input.
3393
daaa7713
JM
33942013-02-15 Joseph Myers <joseph@codesourcery.com>
3395
3396 [BZ #13550]
3397 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3398 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3399 (run-via-rtld-prefix): Do not handle %-bp tests.
3400 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3401 (all-object-suffixes): Remove .ob.
3402 (bppfx): Remove variable.
3403 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3404 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3405 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3406 [$(build-bounded) = yes] (libtype.ob): Likewise.
3407 * Makerules (elide-routines.ob): Remove variable.
3408 (do-tests-clean): Do not handle *-bp.out.
3409 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3410 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3411 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3412 (tests): Do not include $(tests-bp.out).
3413 (xtests): Do not include $(xtests-bp.out).
3414 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3415 [$(build-bounded) = yes] ($(addprefix
3416 $(objpfx),$(binaries-bounded))): Remove rule.
3417 ($(objpfx)%-bp.out): Remove rule.
3418 * config.make.in (build-bounded): Remove variable.
3419 * crypt/Makefile [$(build-bounded) = yes]
3420 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3421 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3422 append to variable.
3423 [$(build-bounded) = yes] (install-lib): Likewise.
3424 [$(build-bounded) = yes] (generated): Likewise.
3425 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3426 Remove rule.
3427 * intl/Makefile [$(build-bounded) = yes]
3428 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3429 * math/Makefile [$(build-bounded) = yes]
3430 ($(tests:%=$(objpfx)%-bp): Likewise.
3431 * misc/Makefile [$(build-bounded) = yes]
3432 ($(objpfx)tst-tsearch-bp): Likewise.
3433 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3434 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3435 Remove dependency.
3436 * string/Makefile (o-objects.ob): Remove variable.
3437 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3438 (CFLAGS-.ob): Remove variable.
3439 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3440 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3441 both definitions of variable.
3442 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3443 (ASFLAGS-.ob): Remove variable.
3444
e97ed6dd
JM
34452013-02-14 Joseph Myers <joseph@codesourcery.com>
3446
2bdd4ca6
JM
3447 [BZ #13550]
3448 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3449 Remove __BOUNDED_POINTERS__ from condition.
3450 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3451 * string/bits/string2.h [!__NO_STRING_INLINES &&
3452 !__BOUNDED_POINTERS__]: Likewise.
3453 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3454 Likewise.
3455 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3456 Remove conditional code.
3457 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3458 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3459 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3460 condition.
3461
e97ed6dd
JM
3462 [BZ #13550]
3463 * csu/libc-start.c: Do not include <bp-sym.h>.
3464 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3465 * elf/dl-open.c: Do not include <bp-sym.h>.
3466 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3467 * math/fegetenv.c: Do not include <bp-sym.h>.
3468 (fegetenv): Do not use BP_SYM in versioned symbols.
3469 * nptl/sysdeps/pthread/bits/libc-lockP.h
3470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3471 <bp-sym.h>.
3472 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3473 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3474 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3475 (__pthread_mutex_destroy): Likewise.
3476 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3477 (__pthread_mutex_lock): Likewise.
3478 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3479 (__pthread_mutex_trylock): Likewise.
3480 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3481 (__pthread_mutex_unlock): Likewise.
3482 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3483 (__pthread_mutexattr_init): Likewise.
3484 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3485 (__pthread_mutexattr_destroy): Likewise.
3486 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3487 (__pthread_mutexattr_settype): Likewise.
3488 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3489 (__pthread_rwlock_init): Likewise.
3490 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3491 (__pthread_rwlock_destroy): Likewise.
3492 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3493 (__pthread_rwlock_rdlock): Likewise.
3494 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3495 (__pthread_rwlock_tryrdlock): Likewise.
3496 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3497 (__pthread_rwlock_wrlock): Likewise.
3498 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3499 (__pthread_rwlock_trywrlock): Likewise.
3500 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3501 (__pthread_rwlock_unlock): Likewise.
3502 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3503 (__pthread_key_create): Likewise.
3504 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3505 (__pthread_setspecific): Likewise.
3506 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3507 (__pthread_getspecific): Likewise.
3508 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3509 Likewise.
3510 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3511 (_pthread_cleanup_push_defer): Likewise.
3512 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3513 (_pthread_cleanup_pop_restore): Likewise.
3514 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3515 (pthread_setcancelstate): Likewise.
3516 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3517 <bp-sym.h>.
3518 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3519 (memchr): Do not use BP_SYM in weak_alias.
3520 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3521 (fegetenv): Do not use BP_SYM in versioned symbols.
3522 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3523 (fesetenv): Do not use BP_SYM in versioned symbols.
3524 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3525 (feupdateenv): Do not use BP_SYM in versioned symbols.
3526 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3527 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3528 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3529 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3530 (open64): Do not use BP_SYM in weak_alias.
3531 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3532 (fegetenv): Do not use BP_SYM in versioned symbols.
3533 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3534 (fesetenv): Do not use BP_SYM in versioned symbols.
3535 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3536 (feupdateenv): Do not use BP_SYM in versioned symbols.
3537 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3538 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3539 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3540 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3541 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3542 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3543 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3544 <bp-sym.h>.
3545 (__libc_start_main): Do not use BP_SYM.
3546
d6752ccd
SP
35472013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3548
cb57ce60
SP
3549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3550 redundant return line.
3551 (norm): Likewise.
3552 (denorm): Likewise.
3553 (dbl_mp): Likewise.
3554 (sub_magnitudes): Likewise.
3555 (__add): Likewise.
3556 (__sub): Likewise.
3557 (__mul): Likewise.
3558 (__inv): Likewise.
3559 (__dvd): Likewise.
3560 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3561 (norm): Likewise.
3562 (denorm): Likewise.
3563 (dbl_mp): Likewise.
3564 (sub_magnitudes): Likewise.
3565 (__add): Likewise.
3566 (__sub): Likewise.
3567 (__mul): Likewise.
3568 (__inv): Likewise.
3569 (__dvd): Likewise.
3570
f414520d
SP
3571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3572 instead of __mul.
3573 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3574 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3575 (cc32): Likewise.
3576
d6752ccd
SP
3577 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3578 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3580 of __mul for squares.
3581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3582 function
3583 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3584 Likewise.
3585 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3586 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3587
70d9946a
JM
35882013-02-13 Joseph Myers <joseph@codesourcery.com>
3589
3590 [BZ #13550]
3591 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3592 code.
3593 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3594 prototype or function definition. Rename ubp_* variables and
3595 parameters. Remove argv definitions conditional on
3596 [__BOUNDED_POINTERS__].
3597 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3598 * elf/dl-runtime.c (_dl_fixup): Likewise.
3599 * include/set-hooks.h (RUN_HOOK): Likewise.
3600 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3601 definition.
3602 * string/strcpy.c (strcpy): Do not use __unbounded.
3603 * sysdeps/generic/frame.h (struct layout): Likewise.
3604 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3605 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3606 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3607 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3608 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3609 (__backtrace): Likewise.
3610 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3611 use __ptrvalue.
3612 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3613 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3614 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3615 Likewise.
3616 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3617 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3618 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3619 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3620 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3621 Do not use __unbounded.
3622 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3623 Rename __unboundedrlimits parameter to rlimits in prototype.
3624 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3625 Do not use __unbounded.
3626 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3627 not use __ptrvalue.
3628 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3629 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3630 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3631 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3632 __ptrvalue or __unbounded.
3633 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3634 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3635 use __unbounded.
3636 (__new_msgctl): Do not use __ptrvalue.
3637 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3638 __unbounded.
3639 (__libc_msgrcv): Do not use __ptrvalue.
3640 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3641 startup_info): Do not use __unbounded.
3642 (__libc_start_main): Likewise. Rename ubp_* variables and
3643 parameters. Remove argv definitions conditional on
3644 [__BOUNDED_POINTERS__].
3645 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3646 __ptrvalue.
3647 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3648 use __unbounded.
3649 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3650 or __ptrvalue.
3651 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3652 use __unbounded.
3653 (__new_shmctl): Do not use __ptrvalue.
3654 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3655 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3656 Likewise.
3657 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3658 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3659 (__libc_sigaction): Likewise.
3660 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3661 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3662 Likewise.
3663 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3664
cc7834d6
OB
36652013-02-13 Ondřej Bílka <neleai@seznam.cz>
3666
ffb1ec7b 3667 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3668
3669 * string/mempcpy.c: Implement by calling memcpy.
3670
bdf02814
SP
36712013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3672
c2af38aa
SP
3673 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3674
4e92d59e
SP
3675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3676 evaluation.
3677
909279a5
SP
3678 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3679 values in the mantissa.
3680
bdf02814
SP
3681 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3682 minimize writes to Z.
3683 (sub_magnitudes): Simplify code a bit.
3684
cd525923
RM
36852013-02-12 Roland McGrath <roland@hack.frob.com>
3686
3687 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3688 from the message. The linker prefixes all warnings with that already.
3689
7e2f0d2d
AS
36902013-02-12 Andreas Schwab <schwab@suse.de>
3691
a445af0b
AS
3692 [BZ #15078]
3693 * posix/regexec.c (extend_buffers): Add parameter min_len.
3694 (check_matching): Pass minimum needed length.
3695 (clean_state_log_if_needed): Likewise.
3696 (get_subexp): Likewise.
3697 * posix/Makefile (tests): Add bug-regex34.
3698 (bug-regex34-ENV): Define.
3699 * posix/bug-regex34.c: New file.
3700
7e2f0d2d
AS
3701 [BZ #11561]
3702 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3703 elements compare against the byte sequence of it, not its name.
3704 * posix/Makefile (tests): Add bug-regex35.
3705 (bug-regex35-ENV): Define.
3706 * posix/bug-regex35.c: New file.
3707
a175b684
TV
37082013-02-11 Tom de Vries <tom@codesourcery.com>
3709
3710 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3711 comment.
3712 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3713 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3714 (CHECK_EOL): Add undef.
3715
310998fe 37162013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3717
3718 * bits/stdlib-bsearch.h: New file.
3719 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3720 * stdlib/stdlib.h: Likewise.
41eda41d 3721
8ded91fb
RM
37222013-02-11 Roland McGrath <roland@hack.frob.com>
3723
3724 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3725 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3726 declaration.
3727 * manual/search.texi (Array Search Function): Add missing const in
3728 lfind prototype.
3729 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3730 declaration to use rlim_t.
3731 (Basic Scheduling Functions): Remove erroneous const from
3732 sched_getparam prototype. Remove erroneous * from
3733 sched_get_priority_max and sched_get_priority_min prototypes.
3734 (Resource Usage): Fix summary @comment on vtimes to refer to
3735 sys/vtimes.h rather than vtimes.h.
3736 Add missing *s in vtimes prototype.
3737 (Limits on Resources): Fix ulimit prototype to return long int.
3738 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3739 prototypes to use long int rather than double.
3740 (BSD Random): Fix initstate and setstate to use char *, not void *.
3741 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3742 prototype to make second argument 'struct aiocb64 *const[]'.
3743 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3744 (Status of AIO Operations): Remove erroneous const in aio_return and
3745 aio_return64 prototypes.
3746 (Synchronizing I/O): Fix sync prototype to return void.
3747 * manual/startup.texi (Suboptions): Remove an erroneous const in
3748 getsubopt prototype.
3749 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3750 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3751 use size_t rather than int.
3752 (Scanning All Users): Likewise for getpwent_r.
3753 (Setting Groups): Add missing const to setgroups prototype.
3754 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3755 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3756 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3757 'const void *' rather than 'const char *'.
3758 (Host Address Functions): Likewise for inet_ntop.
3759 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3760 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3761 ssize_t for return value.
3762 (Sending Data): Likewise for send, sendto, sendmsg.
3763 (Socket Option Functions): Add a missing const in setsockopt prototype.
3764 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3765 use wchar_t for the argument.
3766 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3767 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3768 take no arguments.
3769 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3770 double/float/long double for second argument.
3771 Fix return types of significand, significandf, significandl.
3772 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3773 argument in fchmod prototype.
3774 (File Owner): Use uid_t and gid_t in fchown prototype.
3775 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3776 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3777 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3778 use 'const struct dirent **' as argument types to CMP function pointer
3779 argument.
3780 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3781 (File Times): Fix summary magic @comment for struct utimbuf and utime
3782 to refer to utime.h, not time.h.
3783 * manual/string.texi (Argz Functions): Add missing const in
3784 argz_extract and argz_next prototypes.
3785 (Finding Tokens in a String): Likewise for basename.
3786 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3787 (Copying and Concatenation): Fix typo in wmemmove prototype.
3788 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3789 (Signal Stack): Remove erroneous const in sigstack prototype.
3790 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3791 prototype.
3792 (Simple Calendar Time): Likewise for stime.
3793 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3794 prototype.
3795 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3796 say sys/sysctl.h instead.
3797 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3798 and vsyslog prototypes.
3799
fe77fe6d
TV
38002013-02-11 Tom de Vries <tom@codesourcery.com>
3801
3802 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3803 Remove.
3804
3a09b620
RM
38052013-02-11 Roland McGrath <roland@hack.frob.com>
3806
3807 * misc/sys/mman.h: Fix typo in mremap comment.
3808
550a0b89
RM
38092013-02-08 Roland McGrath <roland@hack.frob.com>
3810
3811 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3812 the '\0' terminator.
3813
a2da1673
JM
38142013-02-08 Joseph Myers <joseph@codesourcery.com>
3815
3816 [BZ #13550]
3817 * debug/segfault.c: Don't include <bp-checks.h>.
3818 * sysdeps/generic/bp-checks.h: Remove file.
3819 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3820 (__GETDENTS): Don't use CHECK_N.
3821 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3822 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3823 (__getgroups): Don't use CHECK_N.
3824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3825 (setgroups): Don't use CHECK_N.
3826 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3827 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3828 (__libc_msgrcv): Don't use CHECK_N.
3829 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3830 (__libc_msgsnd): Don't use CHECK_N.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3832 <bp-checks.h>.
3833 (__libc_pread): Don't use CHECK_N.
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3835 include <bp-checks.h>.
3836 (__libc_pread64): Don't use CHECK_N.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3838 include <bp-checks.h>.
3839 (__libc_pwrite): Don't use CHECK_N.
3840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3841 include <bp-checks.h>.
3842 (__libc_pwrite64): Don't use CHECK_N.
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3844 <bp-checks.h>.
3845 (__libc_pread): Don't use CHECK_N.
3846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3847 include <bp-checks.h>.
3848 (__libc_pread64): Don't use CHECK_N.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3850 include <bp-checks.h>.
3851 (__libc_pwrite): Don't use CHECK_N.
3852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3853 include <bp-checks.h>.
3854 (__libc_pwrite64): Don't use CHECK_N.
3855 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3856 (do_pread): Don't use CHECK_N.
3857 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3858 (do_pread64): Don't use CHECK_N.
3859 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3860 (do_pwrite): Don't use CHECK_N.
3861 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3862 (do_pwrite64): Don't use CHECK_N.
3863 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3864 (__libc_readv): Don't use CHECK_N.
3865 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3866 (semop): Don't use CHECK_N.
3867 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3868 <bp-checks.h>.
3869 (semtimedop): Don't use CHECK_N.
3870 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3871 (__libc_pread): Don't use CHECK_N.
3872 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3873 <bp-checks.h>.
3874 (__libc_pread64): Don't use CHECK_N.
3875 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3876 <bp-checks.h>.
3877 (__libc_pwrite): Don't use CHECK_N.
3878 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3879 <bp-checks.h>.
3880 (__libc_pwrite64): Don't use CHECK_N.
3881 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3882 <bp-checks.h>.
3883 (__libc_msgrcv): Don't use CHECK_N.
3884 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
3885 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
3886 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
3887 (__libc_writev): Don't use CHECK_N.
3888
b84660a8
RM
38892013-02-08 Roland McGrath <roland@hack.frob.com>
3890
7f3e75f8
RM
3891 * string/strcpy.c: Removed unused variable.
3892
b84660a8
RM
3893 * Makeconfig (+sysdep-includes): Define with := rather than =.
3894 Use an existing include/ subdir of each sysdeps dir before it.
3895
471514d3
CD
38962013-02-08 Carlos O'Donell <carlos@redhat.com>
3897
3898 * nscd/connection.c (register_traced_file): Comment function.
3899 [HAVE_INOTIFY] (union __inev): Define.
3900 [HAVE_INOTIFY] (inotify_check_files): New function.
3901 [HAVE_INOTIFY] (clear_db_cache): Likewise.
3902 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
3903 clear_db_cache.
3904 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
3905
b2d3c3be
CD
39062013-02-08 Carlos O'Donell <carlos@redhat.com>
3907
3908 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
3909 loaded if not already and that a failure is permanent.
3910
b39949d2
CD
39112013-02-08 Carlos O'Donell <carlos@redhat.com>
3912
ddacd1db 3913 [BZ #15006]
b39949d2
CD
3914 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
3915 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
3916
b2c9eff4
JM
39172013-02-08 Joseph Myers <joseph@codesourcery.com>
3918
f3aae3f3
JM
3919 [BZ #13550]
3920 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
3921 (CHECK_1_NULL_OK): Likewise.
3922 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
3923 (__fxstat): Do not use CHECK_1.
3924 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
3925 <bp-checks.h>.
3926 (___fxstat64): Do not use CHECK_1.
3927 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3928 <bp-checks.h>.
3929 (__fxstatat): Do not use CHECK_1.
3930 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3931 <bp-checks.h>.
3932 (__fxstatat64): Do not use CHECK_1.
3933 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
3934 <bp-checks.h>.
3935 (__fxstat): Do not use CHECK_1.
3936 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3937 <bp-checks.h>.
3938 (__fxstatat): Do not use CHECK_1.
3939 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3940 <bp-checks.h>.
3941 (__getresgid): Do not use CHECK_1.
3942 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3943 <bp-checks.h>.
3944 (__getresuid): Do not use CHECK_1.
3945 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
3946 <bp-checks.h>.
3947 (__lxstat): Do not use CHECK_1.
3948 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3949 <bp-checks.h>.
3950 (__old_msgctl): Do not use CHECK_1.
3951 (__new_msgctl): Likewise.
3952 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
3953 <bp-checks.h>.
3954 (__new_setrlimit): Do not use CHECK_1.
3955 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3956 <bp-checks.h>.
3957 (__old_shmctl): Do not use CHECK_1.
3958 (__new_shmctl): Likewise.
3959 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
3960 <bp-checks.h>.
3961 (__xstat): Do not use CHECK_1.
3962 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
3963 (__lxstat): Do not use CHECK_1.
3964 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
3965 <bp-checks.h>.
3966 (___lxstat64): Do not use CHECK_1.
3967 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
3968 (__old_msgctl): Do not use CHECK_1.
3969 (__new_msgctl): Likewise.
3970 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
3971 <bp-checks.h>.
3972 (__gettimeofday): Do not use CHECK_1.
3973 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
3974 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
3975 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
3976 <bp-checks.h>.
3977 (__gettimeofday): Do not use CHECK_1.
3978 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
3979 (__old_shmctl): Do not use CHECK_1_NULL_OK.
3980 (__new_shmctl): Do not use CHECK_1.
3981 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
3982 <bp-checks.h>.
3983 (do_sigtimedwait): Do not use CHECK_1.
3984 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
3985 <bp-checks.h>.
3986 (do_sigwaitinfo): Do not use CHECK_1.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
3988 <bp-checks.h>.
3989 (msgctl): Do not use CHECK_1.
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
3991 <bp-checks.h>.
3992 (shmctl): Do not use CHECK_1.
3993 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
3994 (ustat): Do not use CHECK_1.
3995 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
3996 <bp-checks.h>.
3997 (__fxstat): Do not use CHECK_1.
3998 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3999 <bp-checks.h>.
4000 (__fxstatat): Do not use CHECK_1.
4001 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4002 <bp-checks.h>.
4003 (__lxstat): Do not use CHECK_1.
4004 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4005 <bp-checks.h>.
4006 (__xstat): Do not use CHECK_1.
4007 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4008 (__xstat): Do not use CHECK_1.
4009 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4010 (___xstat64): Do not use CHECK_1.
4011
b2c9eff4
JM
4012 [BZ #13550]
4013 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4014 definitions.
4015 (CHECK_BOUNDS_HIGH): Likewise.
4016 * string/strcpy.c: Do not include <bp-checks.h>.
4017 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4018
f1d70dad
RM
40192013-02-07 Roland McGrath <roland@hack.frob.com>
4020
4021 * nscd/nscd-client.h (__nscd_drop_map_ref):
4022 Add __attribute__ ((unused)).
4023 * nis/nss-nisplus.h (niserr2nss): Likewise.
4024
4025 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4026 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4027
4028 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4029 Remove inline keyword.
4030 * include/rounding-mode.h (round_away): Likewise.
4031 * libio/wfileops.c (adjust_wide_data): Likewise.
4032 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4033 (__m128i_strloadu_tolower): Likewise.
4034 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4035 (__m128i_strloadu_tolower): Likewise.
4036 * time/mktime.c (ydhms_diff): Likewise.
4037 * locale/elem-hash.h (elem_hash): Likewise.
4038 * locale/setlocale.c (setdata): Likewise.
4039 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4040 (re_string_wchar_at): Likewise.
4041 (bitset_not, bitset_merge, bitset_mask): Likewise.
4042 [!(__GNUC__ > 3)] (inline): Remove macro.
4043 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4044 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4045 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4046 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4047 * string/memcmp.c (memcmp_bytes): Likewise.
4048 * locale/programs/locarchive.c (compute_hashval): Likewise.
4049 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4050 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4051 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4052 * nss/getent.c (print_rpc, print_protocols): Likewise.
4053 (print_passwd, print_group, print_aliases): Likewise.
4054 * nis/nss-nisplus.h (niserr2nss): Likewise.
4055 * nscd/connections.c (restart_p): Likewise.
4056 Change return type to bool.
4057
eab55bfb
RM
40582013-02-05 Roland McGrath <roland@hack.frob.com>
4059
7bd642f5
RM
4060 * Makeconfig (all-Depend-files): Add existing
4061 $(sorted-subdirs:=/Depend) files.
4062 (all-subdirs): Remove nss.
4063 * sysdeps/unix/inet/Subdirs: Add it here instead.
4064 * hesiod/Depend: New file.
4065
573c29b2
RM
4066 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4067 instead of calling alloca.
4068
b2e25af0
RM
4069 * io/lseek.c (__lseek): Rename to __libc_lseek.
4070 Define __lseek as an alias.
4071
eab55bfb
RM
4072 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4073
9a0d1941
CD
40742013-02-04 Carlos O'Donell <carlos@redhat.com>
4075
4076 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4077 else clause and remove check for non-standard endianness.
4078
b83bbec4
DM
40792013-02-04 David S. Miller <davem@davemloft.net>
4080
4081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4082
6277fdab
JM
40832013-02-04 Joseph Myers <joseph@codesourcery.com>
4084
4085 [BZ #13550]
4086 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4087 (__ubp_memchr): Remove prototype.
4088 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4089 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4090 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4091 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4092 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4093 Remove alias.
4094 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4095 (__ubp_memchr): Likewise.
4096 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4097 (__ubp_memchr): Likewise.
4098 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4099 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4100 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4101 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4102 CHECK_STRING.
4103 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4104 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4105 (__getcwd): Do not use CHECK_STRING.
4106 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4107 <bp-checks.h>.
4108 (__real_chown): Do not use CHECK_STRING.
4109 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4110 <bp-checks.h>.
4111 (fchownat): Do not use CHECK_STRING.
4112 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4113 CHECK_STRING.
4114 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4115 <bp-checks.h>.
4116 (__lchown): Do not use CHECK_STRING.
4117 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4118 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4119 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4120 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4122 include <bp-checks.h>.
4123 (truncate64): Do not use CHECK_STRING.
4124 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4125 <bp-checks.h>.
4126 (__real_chown): Do not use CHECK_STRING.
4127 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4128 <bp-checks.h>.
4129 (__lchown): Do not use CHECK_STRING.
4130 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4131 <bp-checks.h>.
4132 (__chown): Do not use CHECK_STRING.
4133 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4134 <bp-checks.h>.
4135 (truncate64): Do not use CHECK_STRING.
4136 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4137 Likewise.
4138 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4139 (__xmknod): Do not use CHECK_STRING.
4140 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4141 <bp-checks.h>.
4142 (__xmknodat): Do not use CHECK_STRING.
4143 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4144 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4145
903ae060
AS
41462013-02-04 Andreas Schwab <schwab@suse.de>
4147
4148 [BZ #14142]
4149 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4150 * include/netdb.h: Likewise for h_errno.
4151 * elf/tst-stackguard1.c: Include <tls.h>.
4152
542f9466
JK
41532013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4154
4155 * elf/link.h (struct link_map): Extend the l_addr comment.
4156 * include/link.h (struct link_map): Likewise.
4157
e782a927
JM
41582013-02-01 Joseph Myers <joseph@codesourcery.com>
4159
4160 [BZ #13550]
4161 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4162 (BOUNDED_1): Remove macro.
4163 * debug/backtrace.c: Don't include <bp-checks.h>.
4164 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4165 (__backtrace): Likewise.
4166 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4167 <bp-checks.h>.
4168 (__backtrace): Don't use BOUNDED_1.
4169 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4170 <bp-checks.h>.
4171 (__backtrace): Don't use BOUNDED_1.
4172 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4173 (__backtrace): Don't use BOUNDED_1.
4174 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4175 (shmat): Don't use BOUNDED_N.
4176
8cf28c5e
JM
41772013-01-31 Joseph Myers <joseph@codesourcery.com>
4178
3a7ac8a0
JM
4179 [BZ #13550]
4180 * sysdeps/generic/bp-start.h: Remove file.
4181 * csu/libc-start.c: Don't include <bp-start.h>.
4182 (LIBC_START_MAIN): Set up __environ directly instead of using
4183 INIT_ARGV_and_ENVIRON.
4184 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4185 <bp-start.h>.
4186
f3499f95
JM
4187 [BZ #13550]
4188 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4189 definitions.
4190 (CHECK_FCNTL): Likewise.
4191 (CHECK_N_PAGES): Likewise.
4192
32a45bea
JM
4193 [BZ #13550]
4194 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4195 definitions.
4196 (CHECK_SIGSET_NULL_OK): Likewise.
4197 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4198 <bp-checks.h>.
4199 (sigpending): Don't use CHECK_SIGSET.
4200 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4201 <bp-checks.h>.
4202 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4203 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4204 <bp-checks.h>.
4205 (do_sigsuspend): Don't use CHECK_SIGSET.
4206 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4207 use CHECK_SIGSET.
4208 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4209 (do_sigwait): Don't use CHECK_SIGSET.
4210 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4211 use CHECK_SIGSET.
4212 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4213 include <bp-checks.h>.
4214 (sigpending): Don't use CHECK_SIGSET.
4215 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4216 include <bp-checks.h>.
4217 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4218 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4219 <bp-checks.h>.
4220 (sigpending): Don't use CHECK_SIGSET.
4221 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4222 <bp-checks.h>.
4223 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4224
2e8a5c8c
JM
4225 [BZ #13550]
4226 * sysdeps/generic/bp-semctl.h: Remove file.
4227 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4228 <bp-checks.h> and <bp-semctl.h>.
4229 (__old_semctl): Don't use CHECK_SEMCTL.
4230 (__new_semctl): Likewise.
4231 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4232 and <bp-semctl.h>.
4233 (__old_semctl): Don't use CHECK_SEMCTL.
4234 (__new_semctl): Likewise.
4235 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4236 <bp-checks.h> and <bp-semctl.h>.
4237 (__old_semctl): Don't use CHECK_SEMCTL.
4238 (__new_semctl): Likewise.
4239 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4240 <bp-checks.h> and <bp-semctl.h>.
4241 (semctl): Don't use CHECK_SEMCTL.
4242
c2d54929
JM
4243 [BZ #13550]
4244 * Makerules (elide-bp-thunks): Remove variable.
4245 (elide-routines.oS): Don't use $(elide-bp-thunks).
4246 (elide-routines.os): Likewise.
4247 (elide-routines.o): Likewise.
4248 (elide-routines.op): Likewise.
4249 (elide-routines.og): Likewise.
4250 (objects): Don't use $(bp-thunks).
4251 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4252 include.
4253 (common-generated): Do not add s-proto-bp.d.
4254 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4255 (int): Likewise.
4256 (typ): Likewise.
4257 Do not generate makefile rules for bounded-pointer thunks.
4258 * sysdeps/generic/bp-thunks.h: Remove file.
4259 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4260 * sysdeps/unix/s-proto-bp.S: Likewise.
4261
8cf28c5e
JM
4262 [BZ #15062]
4263 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4264 parts of result separately when argument is not close to line from
4265 -i to i and one part of argument is small.
4266 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4267 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4268 * math/libm-test.inc (cacos_test): Add more tests.
4269 (casin_test): Likewise.
4270 (casinh_test): Likewise.
4271 * sysdeps/i386/fpu/libm-test-ulps: Update.
4272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4273
c4e33b8d
DM
42742013-01-31 David S. Miller <davem@davemloft.net>
4275
4276 * po/de.po: Update from translation team.
4277
3b60b421
MK
42782013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4279
4280 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4281
bb931195
TS
42822013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4283
b5a5da23
TS
4284 * configure.in (_AC_PROG_CC_C89): New definition.
4285 * configure: Regenerate.
4286
bb931195
TS
4287 * configure.in (AC_PROG_CPP): New definition.
4288 * configure: Regenerate.
4289
8c53a12c
JM
42902013-01-23 Joseph Myers <joseph@codesourcery.com>
4291
4292 * debug/tst-backtrace.h: New file.
4293 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4294 (ret): Remove variable.
4295 (x): Likewise.
4296 (FAIL): Remove macro.
4297 (NO_INLINE): Likewise.
4298 (fn1): Use match function instead of strstr.
4299 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4300 (ret): Remove variable.
4301 (x): Likewise.
4302 (FAIL): Remove macro.
4303 (NO_INLINE): Likewise.
4304 (fn): Use match function instead of strstr.
4305 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4306 (ret): Remove variable.
4307 (x): Likewise.
4308 (FAIL): Remove macro.
4309 (NO_INLINE): Likewise.
4310 (handle_signal): Use match function instead of strstr.
4311 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4312 (ret): Remove variable.
4313 (x): Likewise.
4314 (FAIL): Remove macro.
4315 (NO_INLINE): Likewise.
4316 (handle_signal): Use match function instead of strstr.
4317
4858fa2a
RM
43182013-01-23 Roland McGrath <roland@hack.frob.com>
4319
4320 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4321
bae8e7f5
DM
43222013-01-23 David S. Miller <davem@davemloft.net>
4323
4324 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4325 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4326 argument of CAS if possible.
4327 * sysdeps/sparc/sparc64/bits/atomic.h
4328 (__arch_compare_and_exchange_val_32_acq): Likewise.
4329 (__arch_compare_and_exchange_val_64_acq): Likewise.
4330
9cbbc4ae
PT
43312013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4332
4333 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4334 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4335 Include <limits.h>.
67b3f58c 4336 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4337
5655a0b5
AC
43382013-01-23 Adam Conrad <adconrad@0c3.net>
4339
4340 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4341 (LDFLAGS-tst-array5): Likewise.
4342
052aff95
JM
43432013-01-23 Joseph Myers <joseph@codesourcery.com>
4344
4345 [BZ #15036]
4346 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4347 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4348 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4349 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4350
7c1e01aa
DM
43512013-01-21 David S. Miller <davem@davemloft.net>
4352
4353 * sysdeps/sparc/backtrace.c: New file.
4354 * sysdeps/sparc/sparc32/backtrace.h: New file.
4355 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4356 * sysdeps/sparc/sparc64/backtrace.h: New file.
4357 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4358 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4359 -funwind-tables.
4360
ab087e0a
AS
43612013-01-21 Andreas Schwab <schwab@suse.de>
4362
4363 [BZ #15020]
4364 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4365 closed its stdout.
4366
ed689c2f
AS
43672013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4368
4369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4370 "mpa2.h".
4371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4372
31d470ac
JM
43732013-01-18 Joseph Myers <joseph@codesourcery.com>
4374 Mark Mitchell <mark@codesourcery.com>
4375 Tom de Vries <tom@codesourcery.com>
4376 Paul Pluzhnikov <ppluzhnikov@google.com>
4377
4378 * debug/tst-backtrace2.c: New file.
4379 * debug/tst-backtrace3.c: Likewise.
4380 * debug/tst-backtrace4.c: Likewise.
4381 * debug/tst-backtrace5.c: Likewise.
4382 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4383 (CFLAGS-tst-backtrace3.c): Likewise.
4384 (CFLAGS-tst-backtrace4.c): Likewise.
4385 (CFLAGS-tst-backtrace5.c): Likewise.
4386 (LDFLAGS-tst-backtrace2): Likewise.
4387 (LDFLAGS-tst-backtrace3): Likewise.
4388 (LDFLAGS-tst-backtrace4): Likewise.
4389 (LDFLAGS-tst-backtrace5): Likewise.
4390 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4391 tst-backtrace4 and tst-backtrace5.
4392
90567f30 43932013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4394 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4395
4396 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4397 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4398 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4399 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4401 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4402 "+r" and remove output regs list as redundant. Add explicit inline
4403 asm to specify register of return val to work around compiler codegen
4404 bug. Remove (int) cast on return value. Add return type parameter to
4405 use in macro so that this macro does not truncate return value for
4406 64-bit values.
4407 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4408 pass to INTERNAL_VSYSCALL_NCS.
4409 (INLINE_VSYSCALL): Add 'long int' as return type to
4410 INTERNAL_VSYSCALL_NCS macro invocation.
4411 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4412 INTERNAL_VSYSCALL_NCS macro invocation.
4413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4414
d3b9ea61
SP
44152013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4416
0b57daeb
SP
4417 [BZ #14496]
4418 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4419 Fix application of SIMD FP exception mask.
4420
caa99d06
SP
4421 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4422 mp_no from a power of two.
4423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4424 __mpexp_twomm1. Use __pow_mp.
4425
d3b9ea61
SP
4426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4427 multiplication.
4428
1dbaee3c
DM
44292013-01-17 David S. Miller <davem@davemloft.net>
4430
4431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4432
728d7b43
JM
44332013-01-17 Joseph Myers <joseph@codesourcery.com>
4434
4435 [BZ #15023]
4436 * include/complex.h: Condition contents on [!_COMPLEX_H].
4437 (__kernel_casinhf): New prototype.
4438 (__kernel_casinh): Likewise.
4439 (__kernel_casinhl): Likewise.
4440 * math/Makefile (libm_calls): Add k_casinh.
4441 * math/k_casinh.c: New file.
4442 * math/k_casinhf.c: Likewise.
4443 * math/k_casinhl.c: Likewise.
4444 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4445 finite nonzero arguments.
4446 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4447 finite nonzero arguments.
4448 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4449 finite nonzero arguments.
4450 * math/s_casinh.c: Do not include <float.h>.
4451 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4452 * math/s_casinhf.c: Do not include <float.h>.
4453 (__casinhf): Move code for finite nonzero arguments to
4454 k_casinhf.c.
4455 * math/s_casinhl.c: Do not include <float.h>.
4456 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4457 redefine.
4458 (__casinhl): Move code for finite nonzero arguments to
4459 k_casinhl.c.
4460 * math/libm-test.inc (cacos_test): Add more tests.
4461 * sysdeps/i386/fpu/libm-test-ulps: Update.
4462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4463
2a26ef3a
PT
44642013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4465
4466 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4467 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4468 [!HAVE_MREMAP]: Remove [defined linux] case.
4469 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4470
a897655d
SP
44712013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4472
4473 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4474
881ebe89 44752013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4476
4477 * elf/elf.h (R_386_SIZE32): New relocation.
4478 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4479 R_386_SIZE32.
4480 (elf_machine_rela): Likewise.
4481 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4482 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4483
59981e9b
JM
44842013-01-17 Joseph Myers <joseph@codesourcery.com>
4485
4486 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4487 (FP_FAST_FMA): Do not define.
4488 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4489 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4490 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4491 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4492 !_SOFT_FLOAT]: Likewise.
4493 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4494 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4495 value.
4496 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4497 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4498 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4499 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4500 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4501 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4502 file.
4503
cfa8054f
AS
45042013-01-16 Andreas Schwab <schwab@suse.de>
4505
4506 [BZ #14327]
4507 * include/stdlib.h (__mktemp): Add declaration.
4508 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4509 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4510
dd930cc5
SP
45112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4512
881ebe89
SP
4513 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4514 definitions.
4515 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4516 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4517 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4518 definitions here.
4519 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4520 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4521 definitions.
4522 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4523 and ONE.
4524 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4525 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4526 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4527 definitions.
4528 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4529 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4530 definitions.
4531 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4532
dd930cc5
SP
4533 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4534
c19a9f89
DM
45352013-01-15 David S. Miller <davem@davemloft.net>
4536
1aa61767
DM
4537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4538 trunc{,f} to libm-sysdep_routes.
4539 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4541 file.
4542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4544 file.
4545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4546 file.
4547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4549 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4550 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4551 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4552 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4553 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4554 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4555
c42d5e98
DM
4556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4557 nearbyint{,f} to libm-sysdep_routes.
4558 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4560 New file.
4561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4562 file.
4563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4564 New file.
4565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4566 file.
4567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4569 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4570 file.
4571 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4572 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4573 file.
4574 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4575 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4576 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4577
c19a9f89
DM
4578 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4579 libc_feholdexcept and libc_fesetenv.
4580
357679d2
MF
45812013-01-15 Mike Frysinger <vapier@gentoo.org>
4582
4583 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4584
65a82e3d
DM
45852013-01-14 David S. Miller <davem@davemloft.net>
4586
8b954ab9
DM
4587 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4588 (SPARC_ASM_VIS2_IFUNC): Likewise.
4589 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4591 use of 'siam' instruction.
4592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4593 Likewise.
4594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4595 Likewise.
4596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4597 Likewise.
4598 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4599 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4600 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4601 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4603 file.
4604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4605 file.
4606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4607 file.
4608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4609 file.
4610 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4615 new VIS2 routines.
4616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4619 Likewise.
4620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4623 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4625 routines to libm-sysdep_routines.
4626 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4627
65a82e3d
DM
4628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4629 fdim/fdimf to libm-sysdep_routines.
4630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4631 file.
4632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4634 file.
4635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4638 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4639 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4640 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4641 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4642
e34ab705
SP
46432013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4644
2a91b573
SP
4645 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4646 to optimize copies.
4647
1066a534
SP
4648 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4650 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4651
e34ab705
SP
4652 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4653 local variable MPTWO.
4654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4655 Likewise.
4656
aba5e596
MF
46572013-01-13 Mike Frysinger <vapier@gentoo.org>
4658
4659 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4660 GLOB_NOESCAPE.
4661
e557e9e5
MF
46622013-01-13 Mike Frysinger <vapier@gentoo.org>
4663
4664 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4665
0428cec9
MF
46662013-01-13 Mike Frysinger <vapier@gentoo.org>
4667
4668 * manual/pattern.texi (glob_t): Document gl_flags.
4669 (glob64_t): Likewise.
4670
8794a964
DM
46712013-01-11 David S. Miller <davem@davemloft.net>
4672
66438c3f
RM
4673 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4674 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4675 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4676 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4677 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4678 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4679 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4680 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4681 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4682 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4683 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4684 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4685 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4686
4ae4244d
DM
4687 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4688 sparc V9 rather than using V8 code.
4689 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4690 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4691
8794a964
DM
4692 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4693 Move to...
4694 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4695 Here.
4696
6270516e
RM
46972013-01-11 Roland McGrath <roland@hack.frob.com>
4698
4699 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4700 not in the main loop.
4701 * configure: Regenerated.
4702
6a57d931
JM
47032013-01-11 Joseph Myers <joseph@codesourcery.com>
4704
4705 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4706 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4707 to just #else.
4708 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4709 [!__GLIBC_HAVE_LONG_LONG] case.
4710 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4711 condition to just #else.
4712 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4713 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4714 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4715 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4716 unconditional.
4717 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4718 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4719 #elif condition to just #else.
4720 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4721 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4722 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4723 #elif condition to just #else.
4724
0e8529e9
SE
47252013-01-11 Steve Ellcey <sellcey@mips.com>
4726
4727 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4728 (EF_MIPS_ARCH_64): Fix value.
4729 (EF_MIPS_ARCH_32R2): New.
4730 (EF_MIPS_ARCH_64R2): New.
4731
740b3dbe
L
47322013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4733
4734 * Makeconfig (+link-pie-before-libc): New.
4735 (+link-pie-after-libc): Likewise.
4736 (+link-pie-tests): Likewise.
4737 (+link-pie): Rewritten.
4738 (link-before-libc): Remove $(config-LDFLAGS).
4739 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4740 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4741 (config-LDFLAGS): Renamed to ...
4742 (rtld-LDFLAGS): This.
4743 (rtld-tests-LDFLAGS): New macro.
4744 (link-libc-rpath-link): Likewise.
4745 (link-libc-tests-rpath-link): Likewise.
4746 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4747 (link-libc): Prepand $(link-libc-rpath-link).
4748 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4749 (test-program-prefix): New macro.
4750 (test-via-rtld-prefix): Likewise.
4751 (test-program-cmd): Likewise.
4752 (host-test-program-cmd): Likewise.
4753 * Makefile ($(common-objpfx)testrun.sh): Replace
4754 $(run-program-prefix) with $(test-program-prefix).
4755 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4756 $(rtld-LDFLAGS).
4757 ($(common-objpfx)shlib.lds): Likewise.
4758 (build-module-helper): Likewise.
4759 ($(common-objpfx)format.lds): Likewise.
4760 * Rules (binaries-pie-tests): New.
4761 (binaries-pie-notests): Likewise.
4762 (binaries-pie): Rewritten.
4763 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4764 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4765 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4766 (make-test-out): Replace $(host-built-program-cmd) with
4767 $(host-test-program-cmd).
4768 * config.make.in (build-hardcoded-path-in-tests): New variable.
4769 * configure.in (--enable-hardcoded-path-in-tests): New configure
4770 option.
4771 (hardcoded_path_in_tests): New AC_SUBST.
4772 * configure: Regenerated.
4773 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4774 $(built-program-cmd) with $(test-program-cmd).
4775 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4776 (test_program_cmd): This.
4777 * elf/Makefile ($(objpfx)order.out): Run test with
4778 $(test-program-prefix).
4779 ($(objpfx)order2.out): Likewise.
4780 ($(objpfx)tst-initorder.out): Likewise.
4781 ($(objpfx)tst-initorder2.out): Likewise.
4782 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4783 $(test-program-cmd).
4784 ($(objpfx)tst-array1-static.out): Likewise.
4785 ($(objpfx)tst-array2.out): Likewise.
4786 ($(objpfx)tst-array3.out): Likewise.
4787 ($(objpfx)tst-array4.out): Likewise.
4788 ($(objpfx)tst-array5.out): Likewise.
4789 ($(objpfx)tst-array5-static.out): Likewise.
4790 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4791 $(test-program-cmd).
4792 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4793 $(run-program-prefix) with $(test-program-prefix).
4794 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4795 (test_program_prefix): This.
4796 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4797 $(run-program-prefix) with $(test-program-prefix).
4798 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4799 (test_program_prefix): This.
4800 * iconvdata/tst-tables.sh: Likewise.
4801 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4802 $(run-program-prefix) with $(test-program-prefix).
4803 ($(objpfx)tst-translit.out): Likewise.
4804 ($(objpfx)tst-gettext2.out): Likewise.
4805 ($(objpfx)tst-gettext4.out): Likewise.
4806 ($(objpfx)tst-gettext6.out): Likewise.
4807 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4808 (test_program_prefix): This.
4809 * intl/tst-gettext2.sh: Likewise.
4810 * intl/tst-gettext4.sh Likewise.
4811 * intl/tst-gettext6.sh: Likewise.
4812 * intl/tst-translit.sh: Likewise.
4813 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4814 with $(test-program-cmd).
4815 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4816 $(run-program-prefix) with $(test-program-prefix).
4817 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4818 (test_program_prefix): This.
4819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4820 $(run-program-prefix) with $(test-program-prefix).
4821 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4822 (test_program_prefix): This.
4823 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4824 * posix/Makefile ($(objpfx)globtest.out): Replace
4825 $(run-via-rtld-prefix) and $(test-wrapper) with
4826 $(test-program-prefix) and $(test-via-rtld-prefix).
4827 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4828 $(test-program-prefix).
4829 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4830 $(host-test-program-cmd).
4831 (tst-spawn-ARGS): Likewise.
4832 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4833 $(test-program-prefix).
4834 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4835 (test_via_rtld_prefix): This.
4836 (test_wrapper): Renamed to ...
4837 (test_program_prefix): This.
4838 (run_program_prefix): Replaced by test_program_prefix.
4839 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4840 (test_program_prefix): This.
4841 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4842 with $(host-test-program-cmd).
4843 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4844 $(run-program-prefix) with $(test-program-prefix).
4845 ($(objpfx)tst-printf.out): Likewise.
4846 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4847 $(test-program-cmd).
4848 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4849 (test_program_prefix): This.
4850 * stdio-common/tst-unbputc.sh: Likewise.
4851 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4852 $(run-program-prefix) with $(test-program-prefix).
4853 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4854 (test_program_prefix): This.
4855 * string/Makefile ($(objpfx)tst-svc.out): Replace
4856 $(built-program-cmd) with $(test-program-cmd).
4857
c6fe55cf
AJ
48582013-01-11 Andreas Jaeger <aj@suse.de>
4859
4860 [BZ #15003]
4861 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4862 value. Sync with Linux 3.7.
4863
9e6919c8
DM
48642013-01-10 David S. Miller <davem@davemloft.net>
4865
4866 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4867 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4868 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4869
1c9f1a02
RM
48702013-01-10 Roland McGrath <roland@hack.frob.com>
4871
4872 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4873 never set.
4874 * configure: Regenerated.
4875
b9de2dde
DM
48762013-01-10 David S. Miller <davem@davemloft.net>
4877
4878 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4879 sparc V9 rather than using V8 code.
4880 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4881 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4882
e7f68ef4
RM
48832013-01-10 Roland McGrath <roland@hack.frob.com>
4884
4885 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4886 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
4887 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
4888 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
4889 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
4890 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
4891 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
4892 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
4893 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
4894 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
4895 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
4896 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
4897 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
4898 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
4899 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
4900 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
4901 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
4902 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
4903 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
4904 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
4905 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
4906 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
4907 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
4908 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
4909 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
4910 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
4911 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
4912
5a47cc9c
DM
49132013-01-10 David S. Miller <davem@davemloft.net>
4914
4915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4916
4cf8f209
L
49172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4918
4919 * posix/Makefile (tests-static): New variable.
4920 (tests): Add $(tests-static).
4921 (tst-exec-static-ARGS): New variable.
4922 (tst-spawn-static-ARGS): Likewise.
4923 * posix/tst-exec-static.c: New file.
4924 * posix/tst-spawn-static.c: Likewise.
4925 * posix/tst-exec.c: Support run directly.
4926 * posix/tst-spawn.c: Likewise.
4927
fed0faa1
JM
49282013-01-10 Joseph Myers <joseph@codesourcery.com>
4929
828beb13
JM
4930 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
4931 long.
4932 * math/bits/mathcalls.h (llrint): Likewise.
4933 (llround): Likewise.
4934 * stdlib/stdlib.h (struct drand48_data): Likewise.
4935 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
4936 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
4937 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
4938 Likewise.
4939 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
4940 Likewise.
4941 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
4942 (elf_greg_t): Likewise.
4943 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
4944 (__jmp_buf): Likewise.
4945 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
4946 definitions.
4947 (llrint): Likewise, for all definitions.
4948 (llrintl): Likewise.
4949
fed0faa1
JM
4950 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
4951 Remove [__GNUC__] condition.
4952 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
4953 condition to just [__USE_ISOC99].
4954 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
4955
1a20cb20
L
49562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
4957
4958 [BZ #14200]
4959 * sysdeps/unix/sysv/linux/x86/bits/environments.h
4960 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
4961 defined.
4962 (_POSIX_V6_ILP32_OFF32): Likewise.
4963 (_XBS5_ILP32_OFF32): Likewise.
4964 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
4965 (__ILP32_OFFBIG_LDFLAGS): Likewise.
4966
751b85f7
SP
49672013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4968
7490eb81
SP
4969 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
4970
751b85f7
SP
4971 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
4972 doubles __mpexp_twomm1. Adjust usage.
4973 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
4974 Remove.
4975
988197f0
AS
49762013-01-10 Andreas Schwab <schwab@suse.de>
4977
4978 [BZ #14964]
4979 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
4980 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
4981
e83d7298
DM
49822013-01-09 David S. Miller <davem@davemloft.net>
4983
034ed64b 4984 [BZ #15003]
e83d7298
DM
4985 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
4986 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
4987 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
4988 TCP_FASTOPEN): Define.
4989 (tcp_repair_opt): New structure.
4990 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
4991 enum values.
4992 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
4993 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
4994 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
4995 (tcp_cookie_transactions): New structure.
4996
d5e0b9bd
AB
49972013-01-09 Anton Blanchard <anton@samba.org>
4998
4999 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5000 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5001 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5002 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5003
0c07e3ea
JM
50042013-01-09 Joseph Myers <joseph@codesourcery.com>
5005
5006 * include/features.h (__USE_ANSI): Remove.
5007
232f7002
RM
50082013-01-09 Roland McGrath <roland@hack.frob.com>
5009
ad98e30c
RM
5010 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5011
232f7002
RM
5012 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5013
950c99ca
SP
50142013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5015
b5792741
SP
5016 * sysdeps/s390/fpu/libm-test-ulps: Update.
5017
47cf2278
SP
5018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5019
950c99ca
SP
5020 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5021 (__acr): Likewise.
5022 (__cpy): Likewise.
5023 (norm): Likewise.
5024 (denorm): Likewise.
5025 (__mp_dbl): Likewise.
5026 (__dbl_mp): Likewise.
5027 (add_magnitudes): Likewise.
5028 (sub_magnitudes): Likewise.
5029 (__add): Likewise.
5030 (__sub): Likewise.
5031 (__mul): Likewise.
5032 (__inv): Likewise.
5033 (__dvd): Likewise.
5034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5035 (__acr): Likewise.
5036 (__cpy): Likewise.
5037 (norm): Likewise.
5038 (denorm): Likewise.
5039 (__mp_dbl): Likewise.
5040 (__dbl_mp): Likewise.
5041 (add_magnitudes): Likewise.
5042 (sub_magnitudes): Likewise.
5043 (__add): Likewise.
5044 (__sub): Likewise.
5045 (__mul): Likewise.
5046 (__inv): Likewise.
5047 (__dvd): Likewise.
5048 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5049 (__acr): Likewise.
5050 (__cpy): Likewise.
5051 (norm): Likewise.
5052 (denorm): Likewise.
5053 (__mp_dbl): Likewise.
5054 (__dbl_mp): Likewise.
5055 (add_magnitudes): Likewise.
5056 (sub_magnitudes): Likewise.
5057 (__add): Likewise.
5058 (__sub): Likewise.
5059 (__mul): Likewise.
5060 (__inv): Likewise.
5061 (__dvd): Likewise.
5062
eede9df9
JM
50632013-01-08 Joseph Myers <joseph@codesourcery.com>
5064
5065 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5066 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5067 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5068 2 && __USE_EXTERN_INLINES]: Likewise.
5069
c40ea3d9
AJ
50702013-01-08 Andreas Jaeger <aj@suse.de>
5071
5072 [BZ# 14985]
5073 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5074 Remove.
5075 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5076 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5077
2ccdea26
AB
50782013-01-07 Anton Blanchard <anton@samba.org>
5079
5080 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5081 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5082 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5083 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5084 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5085 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5086 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5087 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5089 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5090 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5091 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5092 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5095 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5096 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5097 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5098 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5100 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5102 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5103 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5104 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5105 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5106 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5107 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5108 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5109 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5110 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5112 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5113 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5114 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5115 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5116 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5117 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5118 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5120 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5121 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5122 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5123
a9708fed
JM
51242013-01-07 Joseph Myers <joseph@codesourcery.com>
5125
375607b9
JM
5126 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5127 (__MALLOC_PMT): Likewise.
5128 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5129 [__GNUC__], only on [_LIBC].
5130 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5131 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5132 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5133 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5134 forward declaration.
5135 (realloc_hook_ini): Likewise.
5136 (memalign_hook_ini): Likewise.
5137 (__libc_memalign): Do not use __MALLOC_PMT in variable
5138 declaration.
5139 (__libc_valloc): Likewise.
5140 (__libc_pvalloc): Likewise.
5141 (__libc_calloc): Likewise.
5142 (__posix_memalign): Likewise.
5143
a9708fed
JM
5144 [BZ #14996]
5145 * math/s_casinh.c: Include <float.h>.
5146 (__casinh): Do not do computation with squaring and square root
5147 for large arguments.
5148 * math/s_casinhf.c: Include <float.h>.
5149 (__casinhf): Do not do computation with squaring and square root
5150 for large arguments.
5151 * math/s_casinhl.c: Include <float.h>.
5152 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5153 (__casinhl): Do not do computation with squaring and square root
5154 for large arguments.
5155 * math/libm-test.inc (casin_test): Add more tests.
5156 (casinh_test): Likewise.
5157 * sysdeps/i386/fpu/libm-test-ulps: Update.
5158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5159
afec409a
L
51602013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5161
5162 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5163 (__x86_64_raw_data_cache_size): Likewise.
5164 (__x86_64_data_cache_size_half): Likewise.
5165 (__x86_64_raw_data_cache_size_half): Likewise.
5166 (__x86_64_shared_cache_size): Likewise.
5167 (__x86_64_raw_shared_cache_size): Likewise.
5168 (__x86_64_shared_cache_size_half): Likewise.
5169 (__x86_64_raw_shared_cache_size_half): Likewise.
5170 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5171 to ...
5172 (__x86_data_cache_size): This.
5173 (__x86_64_raw_data_cache_size): Renamed to ...
5174 (__x86_raw_data_cache_size): This.
5175 (__x86_64_data_cache_size_half): Renamed to ...
5176 (__x86_data_cache_size_half): This.
5177 (__x86_64_raw_data_cache_size_half): Renamed to ...
5178 (__x86_raw_data_cache_size_half): This.
5179 (__x86_64_shared_cache_size): Renamed to ...
5180 (__x86_shared_cache_size): This.
5181 (__x86_64_raw_shared_cache_size): Renamed to ...
5182 (__x86_raw_shared_cache_size): This.
5183 (__x86_64_shared_cache_size_half): Renamed to ...
5184 (__x86_shared_cache_size_half): This.
5185 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5186 (__x86_raw_shared_cache_size_half): This.
5187 * sysdeps/x86_64/memcpy.S: Updated.
5188 * sysdeps/x86_64/memset.S: Likewise.
5189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5190 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5192
0b3986d0
DM
51932013-01-04 David S. Miller <davem@davemloft.net>
5194
5195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5196
e47686e9
AS
51972013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5198
d643bac1
AS
5199 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5200 1 to avoid redefinition warning.
5201 (__USE_GNU): Don't define.
5202 (init_signaling_nan): Protoize.
5203
e47686e9
AS
5204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5205
b18decba
SP
52062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5207
fffb407f
SP
5208 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5209 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5210 (__cpymn): Likewise.
5211 (norm): Remove commented code.
5212 (denorm): Likewise.
5213 (__mp_dbl): Likewise.
5214 (__inv): Likewise.
5215 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5216 (__cpymn): Likewise.
5217 (norm): Remove commented code.
5218 (denorm): Likewise.
5219 (__mp_dbl): Likewise.
5220 (__inv): Likewise.
5221
b18decba
SP
5222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5223 mp_no value for 1.0 and 2.0.
5224 (norm): Use RADIXI instead of radixi.d.
5225 (denorm): Likewise.
5226 (__mul): Use 0.0 instead of zero.d.
5227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5228 mp_no value for 1.0 and 2.0.
5229 (norm): Use RADIXI instead of radixi.d.
5230 (denorm): Likewise.
5231 (__mul): Use 0.0 instead of zero.d.
5232
cdc1c96f
JM
52332013-01-04 Joseph Myers <joseph@codesourcery.com>
5234
5235 [BZ #14994]
5236 * math/s_casinh.c (__casinh): Reduce finite argument to first
5237 quadrant then set signs of results at the end.
5238 * math/s_casinhf.c (__casinhf): Likewise.
5239 * math/s_casinhl.c (__casinhl): Likewise.
5240 * math/libm-test.inc (casin_test): Add more tests.
5241 (casinh_test): Likewise.
5242 * sysdeps/i386/fpu/libm-test-ulps: Update.
5243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5244
302913e1
SP
52452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5246
6420d207
SP
5247 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5248
a9e48ab4
SP
5249 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5250
b7837264
SP
5251 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5252 declarations.
5253 (denorm): Likewise.
5254 (__mp_dbl): Likewise.
5255 (__inv): Likewise.
5256
f8af25d2
SP
5257 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5258 and adjust the header comment.
5259
302913e1
SP
5260 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5261 variable name from declaration.
5262
5d7dd1ca
L
52632013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5264
5265 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5266 Initialize COMMON_CPUID_INDEX_7 element.
5267 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5268 (CPUID_RTM): Likewise.
5269 (HAS_RTM): Likewise.
5270 (COMMON_CPUID_INDEX_7): New enum.
5271
2f5f40f4
AS
52722013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5273
5274 [BZ #14981]
5275 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5276 size is zero, record memory as freed.
5277
4056f4a0
AJ
52782013-01-03 Andreas Jaeger <aj@suse.de>
5279
5280 * po/ia.po: Add new Interlingua translation.
5281
ab15736f 52822012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5283
5284 * locale/programs/localedef.c: Fix description of '--posix' flag.
5285
568035b7
JM
52862013-01-02 Joseph Myers <joseph@codesourcery.com>
5287
e6898b8d
JM
5288 * NEWS: Update dates in second copyright notice.
5289 * README: Update copyright dates in example.
5290 * manual/libc.texinfo: Update copyright dates.
5291 * scripts/test-installation.pl: Update copyright date in --version
5292 output.
5293
0e2f9562
JM
5294 * hurd/ctty-input.c: Fix copyright notice formatting.
5295 * hurd/ctty-output.c: Likewise.
5296 * hurd/dtable.c: Likewise.
5297 * hurd/hurd-raise.c: Likewise.
5298 * hurd/hurdprio.c: Likewise.
5299 * hurd/msgportdemux.c: Likewise.
5300 * misc/sys/file.h: Likewise.
5301 * misc/sys/ioctl.h: Likewise.
5302 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5303 * sysdeps/mach/hurd/chdir.c: Likewise.
5304 * sysdeps/mach/hurd/fchdir.c: Likewise.
5305 * sysdeps/mach/hurd/rename.c: Likewise.
5306 * sysdeps/mach/hurd/rmdir.c: Likewise.
5307 * sysdeps/mach/hurd/seekdir.c: Likewise.
5308 * sysdeps/mach/hurd/setsid.c: Likewise.
5309 * sysdeps/posix/wait3.c: Likewise.
5310
568035b7
JM
5311 * All files with FSF copyright notices: Update copyright dates
5312 using scripts/update-copyrights.
5313 * intl/plural.c: Regenerated.
5314 * locale/programs/charmap-kw.h: Likewise.
5315 * locale/programs/locfile-kw.h: Likewise.
5316
da08f647
SP
53172013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5318
0f5477af
SP
5319 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5320 four values.
5321
44e0d4c2
SP
5322 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5323 calculation loop and add branch prediction.
5324
4d55b4e5
SP
5325 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5326 check access beyond bounds of m1np.
5327
da08f647
SP
5328 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5329 MPTWO.
5330 (__inv): Remove local variable MPTWO to use the global
5331 constant.
5332 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5333 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5334 variable MPTWO.
5335 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5336 MP3HALFS static const.
5337
8e051029
DM
53382013-01-01 David S. Miller <davem@davemloft.net>
5339
5340 * po/ca.po: Update from translation team.
5341
f4cf5f2d
JM
53422013-01-01 Joseph Myers <joseph@codesourcery.com>
5343
5344 * scripts/update-copyrights: New file.
5345 * Makeconfig: Reformat copyright notice.
5346 * ctype/ctype.h: Likewise.
5347 * debug/swprintf_chk.c: Likewise.
5348 * elf/dl-cache.c: Likewise.
5349 * elf/dl-debug.c: Likewise.
5350 * elf/dl-object.c: Likewise.
5351 * grp/initgroups.c: Likewise.
5352 * hurd/Makefile: Likewise.
5353 * hurd/hurd/signal.h: Likewise.
5354 * hurd/hurdfault.c: Likewise.
5355 * hurd/hurdioctl.c: Likewise.
5356 * hurd/hurdlookup.c: Likewise.
5357 * hurd/intr-msg.c: Likewise.
5358 * iconv/gconv_open.c: Likewise.
5359 * libio/swprintf.c: Likewise.
5360 * locale/lc-ctype.c: Likewise.
5361 * locale/nl_langinfo.c: Likewise.
5362 * mach/Machrules: Likewise.
5363 * mach/Makefile: Likewise.
5364 * malloc/obstack.h: Likewise.
5365 * manual/Makefile: Likewise.
5366 * manual/tsort.awk: Likewise.
5367 * misc/bits/stab.def: Likewise.
5368 * nis/nis_print_group_entry.c: Likewise.
5369 * nis/nis_table.c: Likewise.
5370 * nis/nss_compat/compat-pwd.c: Likewise.
5371 * nis/nss_compat/compat-spwd.c: Likewise.
5372 * po/Makefile: Likewise.
5373 * posix/fnmatch.c: Likewise.
5374 * posix/regex.h: Likewise.
5375 * resolv/Makefile: Likewise.
5376 * resolv/nss_dns/dns-network.c: Likewise.
5377 * resolv/res_hconf.c: Likewise.
5378 * scripts/gen-sorted.awk: Likewise.
5379 * soft-fp/soft-fp.h: Likewise.
5380 * stdio-common/printf.h: Likewise.
5381 * stdlib/monetary.h: Likewise.
5382 * stdlib/random.c: Likewise.
5383 * stdlib/random_r.c: Likewise.
5384 * sysdeps/generic/Makefile: Likewise.
5385 * sysdeps/gnu/Makefile: Likewise.
5386 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5390 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5393 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5396 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5397 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5398 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5399 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5409 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5410 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5414 * sysdeps/mach/hurd/errnos.awk: Likewise.
5415 * sysdeps/mach/hurd/fork.c: Likewise.
5416 * sysdeps/mach/hurd/getcwd.c: Likewise.
5417 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5418 * sysdeps/mach/hurd/mmap.c: Likewise.
5419 * sysdeps/mach/hurd/utimes.c: Likewise.
5420 * sysdeps/mach/hurd/xmknod.c: Likewise.
5421 * sysdeps/posix/profil.c: Likewise.
5422 * sysdeps/posix/readdir_r.c: Likewise.
5423 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5424 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5425 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5426 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5428 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5429 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5430 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5432 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5433 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5434 * sysdeps/pthread/lio_listio.c: Likewise.
5435 * sysdeps/sparc/dl-procinfo.h: Likewise.
5436 * sysdeps/unix/i386/sysdep.S: Likewise.
5437 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5438 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5439 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5440 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5442 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5443 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5444 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5445 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5446 * sysdeps/wordsize-32/divdi3.c: Likewise.
5447 * time/sys/time.h: Likewise.
5448 * wcsmbs/Makefile: Likewise.
5449
0549fbba
DM
54502013-01-01 David S. Miller <davem@davemloft.net>
5451
a141f1a7
DM
5452 * po/fr.po: Update from translation team.
5453
0549fbba
DM
5454 * catgets/gencat.c: Update copyright year.
5455 * csu/version.c: Likewise.
5456 * debug/catchsegv.sh: Likewise.
5457 * debug/pcprofiledump.c: Likewise.
5458 * debug/xtrace.sh: Likewise.
5459 * elf/ldconfig.c: Likewise.
5460 * elf/ldd.bash.in: Likewise.
5461 * elf/pldd.c: Likewise.
5462 * elf/sotruss.ksh: Likewise.
5463 * elf/sprof.c: Likewise.
5464 * iconv/iconv_prog.c: Likewise.
5465 * iconv/iconvconfig.c: Likewise.
5466 * locale/programs/locale.c: Likewise.
5467 * locale/programs/localedef.c: Likewise.
5468 * login/programs/pt_chown.c: Likewise.
5469 * malloc/memusage.sh: Likewise.
5470 * malloc/memusagestat.c: Likewise.
5471 * malloc/mtrace.pl: Likewise.
5472 * nscd/nscd.c: Likewise.
5473 * nss/getent.c: Likewise.
5474 * nss/makedb.c: Likewise.
5475 * posix/getconf.c: Likewise.
5476
18ea052c
SP
54772012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5478
5479 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5480 numbers.
5481
9c89fca6
MF
54822012-12-30 Mike Frysinger <vapier@gentoo.org>
5483
5484 * math/bits/mathcalls.h (modf): Use __nonnull.
5485
085ec079
SP
54862012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5487
5488 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5489 (split): Use macro CN instead of the bare value.
5490 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5491 could be used.
5492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5493 instead of the bare value.
5494 (power1): Likewise.
5495
6d9f97e1
SP
54962012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5497
d63f73be
SP
5498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5499 __ATAN_TWOM.
5500 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5501
6d9f97e1
SP
5502 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5503 their values.
5504 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5505 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5506 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5507 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5508
4c4febf5
AJ
55092012-12-28 Andreas Jaeger <aj@suse.de>
5510
af5843ef
AJ
5511 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5512 values are from Linux 3.7.
5513
4c4febf5
AJ
5514 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5515 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5516
99136f82
SP
55172012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5518
2f216c3c 5519 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5520 TRUE case.
5521
99136f82
SP
5522 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5523 (norm): Likewise.
5524 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5525 variables with preprocessor constants.
5526 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5527 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5528 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5529
7fffbdff
BH
55302012-12-27 Bruno Haible <bruno@clisp.org>
5531
5532 [BZ #14317]
5533 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5534 only if needed.
5535
b76eb5f0
SP
55362012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5537
31a7fe5c
SP
5538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5539 and use variable directly.
5540 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5541
b76eb5f0
SP
5542 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5543 MPONE.
5544 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5545 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5546 variable MPONE.
5547 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5549 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5550 include directive. Remove local variable MPONE.
5551 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5552 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5553 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5554
2c8bfe7d
DM
55552012-12-25 David S. Miller <davem@davemloft.net>
5556
5557 * version.h (RELEASE): Set to "development".
5558 (VERSION): Set to "2.17.90".
5559 * NEWS: Add 2.18 section.
5560
147d03b0
DM
55612012-12-21 David S. Miller <davem@davemloft.net>
5562
5563 * po/hr.po: Update from translation team.
5564
a8ebb2b9
AK
55652012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5566
5567 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5568
95b4f1b6
SE
55692012-12-19 Steve Ellcey <sellcey@mips.com>
5570
b2d94007 5571 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5572
cedb2a90
MS
55732012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5574
5575 * manual/contrib.texi (Contributors): Spelling correction.
5576
bbf527d6
DM
55772012-12-15 David S. Miller <davem@davemloft.net>
5578
5579 * po/ru.po: Update from translation team.
5580
bc38c906
DM
55812012-12-13 David S. Miller <davem@davemloft.net>
5582
85429b1a
DM
5583 * NEWS: Mention IFUNC testsuite enhancements.
5584
d283e353
DM
5585 * po/pl.po: Update from translation team.
5586 * po/bg.po: Likewise.
5587
bc38c906
DM
5588 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5589 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5590
a181b0d7
DM
55912012-12-11 David S. Miller <davem@davemloft.net>
5592
4641d57e
DM
5593 * po/sv.po: Update from translation team.
5594
f7bc6495
DM
5595 * po/vi.po: Update from translation team.
5596
6fc9048f
DM
5597 * po/cs.po: Update from translation team.
5598
a181b0d7
DM
5599 * po/de.po: Update from translation team.
5600 * po/eo.po: Likewise.
5601 * po/nl.po: Likewise.
5602
f70bfe80
SP
56032012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5604
3c8b4190
SP
5605 [BZ #14246]
5606 * manual/argp.texi (Argp Helper Functions): Move node to follow
5607 Argp Parsing State.
5608
f70bfe80
SP
5609 [BZ #14872]
5610 * manual/conf.texi (Limits on File System Capacity): Mention if
5611 terminating null is included in the max size.
5612
188f0adf
AJ
56132012-12-10 Andreas Jaeger <aj@suse.de>
5614
5615 * po/cs.po: Update from translation team.
5616
56e7d3ad
SP
56172012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5618
5619 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5620 void pointer and cast to uintptr_t.
5621 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5622 path.
5623 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5624 * sysdeps/s390/s390-64/memset.S: Likewise.
5625
76f2d2ea 56262012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5627
5628 [BZ #14833]
5629 * menual/message.texi (Message Translation): Fix typos.
5630 (Helper programs for gettext): Likewise.
5631
67cbf9a2
AS
56322012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5633
5634 [BZ #14898]
5635 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5636 Change to -1.
5637
682d0e9a
DM
56382012-12-07 David S. Miller <davem@davemloft.net>
5639
5640 * po/libc.pot: Update.
5641
573cd484
RH
56422012-12-07 Richard Henderson <rth@redhat.com>
5643
7e9da188 5644 [BZ #10114]
573cd484
RH
5645 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5646 normal/normal case to before the switch.
5647 (_FP_DIV): Likewise.
5648
e933a943
MF
56492012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5650 Mike Frysinger <vapier@gentoo.org>
5651
5652 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5653 check for __NR_fadvise64_64.
5654
82123268
CM
56552012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5656
5657 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5658 0, not just to plain "0" as a statement.
5659 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5660 with cw.
5661
d9814526
JM
56622012-12-06 Joseph Myers <joseph@codesourcery.com>
5663
5664 * NEWS: Use sourceware.org in Bugzilla URL.
5665
7728c574
SP
56662012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5667
f16946dd
SP
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5669 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5670
5704bbcb
SP
5671 * stdio-common/tst-put-error.c (do_test): Add newline to the
5672 padded test to ensure flush.
5673
17aa0516
JL
56742012-12-05 Jeff Law <law@redhat.com>
5675
5676 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5677
363313b5
JM
56782012-12-05 Joseph Myers <joseph@codesourcery.com>
5679
effbd42a
JM
5680 * README: Don't refer to ports add-on as distributed separately.
5681 Mention AArch64 in list of systems supported in the ports add-on.
5682
87600365
JM
5683 * LICENSES: Add more non-FSF copyright and license notices.
5684
a0d7066a
JM
5685 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5686 ((unused)).
5687
66ca5a5b
JM
5688 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5689
363313b5
JM
5690 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5691 10000 as width of padded output.
5692
b37984ad
JM
56932012-12-04 Joseph Myers <joseph@codesourcery.com>
5694
9003570a
JM
5695 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5696
b37984ad
JM
5697 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5698 variable LX with __attribute__ ((unused)).
5699 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5700 Likewise.
5701 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5702 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5704 with __attribute__ ((unused)).
5705
c8df52ec
DM
57062012-12-04 David S. Miller <davem@abraco.davemloft.net>
5707
5708 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5709
b3b099af
JM
57102012-12-04 Joseph Myers <joseph@codesourcery.com>
5711
c33aa6e3
JM
5712 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5713 (CFLAGS-nldbl-acos.c): New variable.
5714 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5715 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5716 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5717 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5718 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5719 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5720 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5721 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5722 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5723 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5724 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5725 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5726 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5727 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5728 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5729 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5730 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5731 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5732 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5733 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5734 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5735 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5736 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5737 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5738 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5739 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5740 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5741 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5742 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5743 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5744 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5745 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5746 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5747 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5748 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5749 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5750 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5751 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5752 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5753 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5754 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5755 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5756 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5757 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5758 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5759 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5760 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5761 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5762 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5763 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5764 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5765 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5766 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5767 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5768 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5769 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5770 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5771 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5772 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5773 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5774 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5775 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5776 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5777 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5778 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5779 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5780 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5781 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5782 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5783 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5784 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5785 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5786 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5787 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5788 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5789 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5790 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5791 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5792 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5793 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5794 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5795 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5796 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5797 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5798 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5799 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5800 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5801 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5802 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5803 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5804 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5805 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5806 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5807 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5808 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5809 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5810 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5811
20f0018d
JM
5812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5813 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5814
b3b099af
JM
5815 [BZ #14914]
5816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5817 whole low double instead of just low 47 bits when splitting values
5818 into two parts.
5819
029264d1
AM
58202012-12-03 Allan McRae <allan@archlinux.org>
5821
5822 * manual/stdio.texi (Predefined Printf Handlers): Remove
5823 @hsep and @vsep usage.
5824
c9d6789e
MF
58252012-12-03 Mike Frysinger <vapier@gentoo.org>
5826
5827 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5828 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5829
4b7634a5
JL
58302012-12-03 Jeff Law <law@redhat.com>
5831
5832 * time/sys/time.h (settimeofday): Do not mark TV argument
5833 as __nonnull.
5834
eb6cbd24
MF
58352012-12-01 Mike Frysinger <vapier@gentoo.org>
5836
5837 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5838 when currently writing and seek to current position when not.
5839 * libio/Makefile (tests): Remove bug-fclose1.
5840 * libio/bug-fclose1.c: Delete.
5841
f638872a
JM
58422012-12-01 Joseph Myers <joseph@codesourcery.com>
5843
5844 * manual/arith.texi (feenableexcept): Fix typo.
5845 (fedisableexcept): Likewise.
5846
48085d14
RM
58472012-11-30 Roland McGrath <roland@hack.frob.com>
5848
5849 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5850 second, differently-typed declaration, rather than a cast.
5851
1a538b9f
SP
58522012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5853
5854 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5855 * include/rpc/svc.h: ... here.
5856
d07f2ff1 58572012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5858
5859 [BZ #13013]
5860 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5861 depending n and resplen2 to catch cases where answer
5862 equals answerp2.
5863
c93ec1f0
CD
58642012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5865
5866 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5867 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5868
37db69de
MF
58692012-11-29 Mike Frysinger <vapier@gentoo.org>
5870
5871 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5872
e10c4e4f
RM
58732012-11-29 Roland McGrath <roland@hack.frob.com>
5874
5875 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5876
2af1b328
JL
58772012-11-28 Jeff Law <law@redhat.com>
5878
5879 [BZ #13761]
5880 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5881 dataset_temporary. Track alloca usage into alloca_used.
5882 If dataset is large allocate and release it via malloc/free.
5883
111db5b1
FW
58842012-06-04 Florian Weimer <fweimer@redhat.com>
5885
f06cc227 5886 [BZ #14197]
111db5b1
FW
5887 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
5888
dd694abd
DM
58892012-11-28 David S. Miller <davem@davemloft.net>
5890
5891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5892
9984dd01
JM
58932012-11-28 Joseph Myers <joseph@codesourcery.com>
5894
5895 [BZ #14803]
5896 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
5897 of pi/2 rounded to nearest to 64 bits.
5898 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
5899 nearest to 64 bits.
5900 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
5901 bits.
5902
14bc93a9
JL
59032012-11-28 Jeff Law <law@redhat.com>
5904 Martin Osvald <mosvald@redhat.com>
5905
5906 [BZ #14889]
5907 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
5908 * sunrpc/svc.c: Include time.h.
5909 (__svc_accept_failed): New function.
5910 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
5911 any reason other than EINTR, call __svc_accept_failed.
5912 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
5913 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
5914
e3c6aa3a
AS
59152012-11-28 Andreas Schwab <schwab@suse.de>
5916
5917 * scripts/abilist.awk: Also handle indirect functions in .opd
5918 section.
5919
1bead169
JM
59202012-11-28 Joseph Myers <joseph@codesourcery.com>
5921
5922 [BZ #13881]
5923 * sysdeps/x86/fpu/powl_helper.c: New file.
5924 * sysdeps/x86/fpu/Makefile: Likewise.
5925 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
5926 (p3): New object.
5927 (__ieee754_powl): Use __powl_helper for finite arguments except
5928 integer exponents below 8.
5929 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
5930 (p3): New object.
5931 (__ieee754_powl): Use __powl_helper for finite arguments except
5932 integer exponents below 8.
5933 * math/libm-test.inc (pow_test): Add more tests and enable some
5934 previously disabled tests.
5935 * sysdeps/i386/fpu/libm-test-ulps: Update.
5936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5937
0817d63d
SP
59382012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5939 Carlos O'Donell <carlos_odonell@mentor.com>
5940
5941 * nss/makedb.c (is_prime): Assert that input is odd and greater
5942 than 4. Note that fact in a comment too.
5943 (next_prime): Add 4 to input.
5944
de2fd463
SP
59452012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5946
5947 [BZ #11741]
5948 * libio/Makefile (tests): Add test case tst-fwrite-error.
5949 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
5950 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
5951 * libio/tst-fwrite-error.c: New test case.
5952
c515fb51
L
59532012-11-26 H.J. Lu <hongjiu.lu@intel.com>
5954
5955 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
5956 before casting to void *.
5957 * include/libc-internal.h (__pointer_type): New macro.
5958 (__integer_if_pointer_type_sub): Likewise.
5959 (__integer_if_pointer_type): Likewise.
5960 (cast_to_integer): Likewise.
5961 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
5962 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
5963 before casting to atomic64_t.
5964 (atomic_exchange_acq): Likewise.
5965 (__arch_exchange_and_add_body): Likewise.
5966 (__arch_add_body): Likewise.
5967 (atomic_add_negative): Likewise.
5968 (atomic_add_zero): Likewise.
5969
4cf77aa9
JM
59702012-11-26 Joseph Myers <joseph@codesourcery.com>
5971
5972 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
5973 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
5974 (add_fdes): Likewise.
5975 (linear_search_fdes): Likewise.
5976 (binary_search_unencoded_fdes): Likewise.
5977
d260b3b4
AS
59782012-11-26 Andreas Schwab <schwab@linux-m68k.org>
5979
5980 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
5981
67060746
AC
59822012-11-24 Adam Conrad <adconrad@0c3.net>
5983
5984 * configure.in: Autodetect C++ header directories.
5985 * configure: Regenerated.
5986
800938a1
MF
59872012-11-23 Mike Frysinger <vapier@gentoo.org>
5988
5989 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
5990
4e6e34e6
AS
59912012-11-23 Andreas Schwab <schwab@linux-m68k.org>
5992
5993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5994
7c7feb47
JM
59952012-11-22 Joseph Myers <joseph@codesourcery.com>
5996
7184dcdf
JM
5997 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
5998 LDBL_MANT_DIG == 106]: Disable some tests.
5999 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6000 Likewise.
6001 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6002 Likewise.
6003
0a42601f
JM
6004 [BZ #14871]
6005 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6006 input for small inputs. Return +/- pi/2 for large inputs.
6007 * math/libm-test.inc (atan_test): Add more tests.
6008
79c9b9fe
JM
6009 * sysdeps/generic/unwind-dw2-fde-glibc.c
6010 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6011 __attribute__ ((unused)).
6012
c60d3bf2
JM
6013 [BZ #14645]
6014 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6015 x * y if x and y are nonzero and z is zero.
6016
ef1e0867
JM
6017 [BZ #14811]
6018 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6019 nonzero exponents with absolute value below 0x1p-117 to +/-
6020 0x1p-117.
6021
1468ded3
JM
6022 [BZ #14869]
6023 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6024 up arguments below 2**-450, not just those below 2**-500.
6025 * math/libm-test.inc (hypot_test): Add another test.
6026
8e27e3cc
JM
6027 [BZ #14868]
6028 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6029 Return a+b for ratio over 2**120, not 2**60.
6030 * math/libm-test.inc (hypot_test): Add another test.
6031
c9c0279b
JM
6032 * math/libm-test.inc (clog_test): Use
6033 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6034 (clog10_test): Likewise.
6035
7c7feb47
JM
6036 [BZ #6778]
6037 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6038
fff1530e
AS
60392012-11-22 Andreas Schwab <schwab@suse.de>
6040
6041 * sysdeps/i386/fpu/libm-test-ulps: Update.
6042
94558d30
PT
60432012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6044
6045 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6046 printf output with newline.
6047
7e1be741
L
60482012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6049
6bfea974
L
6050 [BZ #14865]
6051 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6052 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6053 -z nodlopen, -z initfirst and -z execstack support.
6054 * configure: Regenerated.
6055
7e1be741
L
6056 * elf/elf.h (DF_1_NODIRECT): New macro.
6057 (DF_1_IGNMULDEF): Likewise.
6058 (DF_1_NOKSYMS): Likewise.
6059 (DF_1_NOHDR): Likewise.
6060 (DF_1_EDITED): Likewise.
6061 (DF_1_NORELOC): Likewise.
6062 (DF_1_SYMINTPOSE): Likewise.
6063 (DF_1_GLOBAUDIT): Likewise.
6064 (DF_1_SINGLETON): Likewise.
6065 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6066 DT_1_SUPPORTED_MASK bits.
6067 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6068
105ce2ce
CD
60692012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6070
6071 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6072
123be9de
TS
60732012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6074
d072f3f7
TS
6075 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6076 macro.
6077
123be9de
TS
6078 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6079 (sendmmsg): Move declarations...
6080 * socket/sys/socket.h: ... here.
6081 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6082 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6083 include it from...
6084 * socket/recvmmsg.c: ... this new file.
6085 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6086 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6087 definition of __sendmmsg hidden.
6088 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6089 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6090 Move ENOSYS stub into and include it from...
6091 * socket/sendmmsg.c: ... this new file.
6092 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6093 (sysdep_routines): Move recvmmsg and sendmmsg...
6094 * socket/Makefile (routines): ... here.
6095 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6096 (GLIBC_PRIVATE): Add __sendmmsg.
6097 * include/sys/socket.h (__sendmmsg): Add declarations.
6098 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6099 sendmmsg.
6100
cf9a5d18
JM
61012012-11-20 Joseph Myers <joseph@codesourcery.com>
6102
6103 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6104 variable I1 with __attribute__ ((unused)).
6105 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6106
ecd4caf9
JM
61072012-11-19 Joseph Myers <joseph@codesourcery.com>
6108
be14d48f
JM
6109 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6110 DUMMY variables with __attribute__ ((unused)).
6111
ecd4caf9
JM
6112 * bits/byteswap.h: Include <bits/types.h>.
6113 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6114
986cab95
PT
61152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6116
6117 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6118 string_t. Do not manually set errno.
6119 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6120 length with __strnlen. Make sure to both set errno and return it on
6121 failure.
6122
6d33cc9d
DM
61232012-11-19 David S. Miller <davem@davemloft.net>
6124
6125 With help from Joseph Myers.
6126 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6127 very large arguments properly.
6128 * math/libm-test.inc (atan_test): New tests.
6129 (atan2_test): New tests.
6130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6132
ee663277
JM
61332012-11-19 Joseph Myers <joseph@codesourcery.com>
6134
877f2d8e
JM
6135 [BZ #14856]
6136 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6137 Define to 3.
6138
116fc08a
JM
6139 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6140 [POSIX] (EADDRNOTAVAIL): Likewise.
6141 [POSIX] (EAFNOSUPPORT): Likewise.
6142 [POSIX] (EALREADY): Likewise.
6143 [POSIX] (ECONNABORTED): Likewise.
6144 [POSIX] (ECONNREFUSED): Likewise.
6145 [POSIX] (ECONNRESET): Likewise.
6146 [POSIX] (EDESTADDRREQ): Likewise.
6147 [POSIX] (EDQUOT): Likewise.
6148 [POSIX] (EHOSTUNREACH): Likewise.
6149 [POSIX] (EIDRM): Likewise.
6150 [POSIX] (EISCONN): Likewise.
6151 [POSIX] (ELOOP): Likewise.
6152 [POSIX] (EMULTIHOP): Likewise.
6153 [POSIX] (ENETDOWN): Likewise.
6154 [POSIX] (ENETUNREACH): Likewise.
6155 [POSIX] (ENOBUFS): Likewise.
6156 [POSIX] (ENODATA): Likewise.
6157 [POSIX] (ENOLINK): Likewise.
6158 [POSIX] (ENOMSG): Likewise.
6159 [POSIX] (ENOPROTOOPT): Likewise.
6160 [POSIX] (ENOSR): Likewise.
6161 [POSIX] (ENOSTR): Likewise.
6162 [POSIX] (ENOTCONN): Likewise.
6163 [POSIX] (ENOTSOCK): Likewise.
6164 [POSIX] (EOPNOTSUPP): Likewise.
6165 [POSIX] (EOVERFLOW): Likewise.
6166 [POSIX] (EPROTO): Likewise.
6167 [POSIX] (EPROTONOSUPPORT): Likewise.
6168 [POSIX] (EPROTOTYPE): Likewise.
6169 [POSIX] (ESTALE): Likewise.
6170 [POSIX] (ETIME): Likewise.
6171 [POSIX] (ETXTBSY): Likewise.
6172 [POSIX] (EWOULDBLOCK): Likewise.
6173 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6174 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6175 [POSIX] (SEEK_CUR): Likewise.
6176 [POSIX] (SEEK_END): Likewise.
6177 [POSIX || UNIX98] (mode_t): Do not require.
6178 [POSIX] (off_t): Likewise.
6179 [POSIX] (pid_t): Likewise.
6180 [POSIX] (sys/stat.h): Do not allow header.
6181 [POSIX] (unistd.h): Likewise.
6182 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6183 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6184 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6185 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6186 require.
6187 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6188 sigevent): Specify elements.
6189 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6190 entry.
6191 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6192 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6193
a483863f
JM
6194 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6195 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6196 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6197 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6198 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6199 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6200 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6201 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6202 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6203 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6204 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6205 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6206 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6207 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6208 Likewise.
6209 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6210 Likewise.
6211 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6212 Likewise.
6213 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6214 Likewise.
6215 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6216 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6217 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6218 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6219 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6220 Specify lower bound on value.
6221 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6222 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6223 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6224 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6225 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6226 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6227 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6228 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6229 value.
6230 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6231 as optional.
6232 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6233 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6234 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6235 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6236 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6237 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6238 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6239 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6240 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6241 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6242 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6244 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6245 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6246 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6247 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6248 entry.
6249 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6250 optional.
6251 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6253 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6254 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6257 Likewise.
6258 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6259 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6260 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6261 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6262 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6263 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6265 as optional.
6266 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6267 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6268 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6269 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6270 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6271 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6272 specify as optional.
6273 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6274 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6275 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6276 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6277 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6278 [XPG3] (NL_LANGMAX): Likewise.
6279 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6280 [POSIX || XPG3] (NL_NMAX): Likewise.
6281 [POSIX || XPG3] (NL_SETMAX): Likewise.
6282 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6283 [XPG3] (NZERO): Likewise.
6284 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6285 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6286 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6287 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6288 (REG_ERANGE): Expect.
6289 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6290 optional-constant.
6291 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6292 Use (void) in prototype.
6293 [POSIX] (*_t): Allow.
6294 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6295 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6296 (WRDE_BADVAL): Expect.
6297
5ba924e3
JM
6298 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6299 expect.
6300 [XPG3 || XPG4] (O_RSYNC): Likewise.
6301 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6302 Likewise.
6303 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6304 [XPG3 || XPG4] (sigqueue): Likewise.
6305 [XPG3 || XPG4] (sigtimedwait): Likewise.
6306 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6307 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6308 [XPG3 || XPG4] (vsnprintf): Likewise.
6309 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6310 Likewise.
6311 [XPG3 || XPG4] (blksize_t): Likewise.
6312 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6313 Likewise.
6314 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6315 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6316 [XPG3 || XPG4] (struct itimerspec): Likewise.
6317 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6318 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6319 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6320 [XPG3 || XPG4] (clockid_t): Likewise.
6321 [XPG3 || XPG4] (timer_t): Likewise.
6322 [XPG3 || XPG4] (clock_getres): Likewise.
6323 [XPG3 || XPG4] (clock_gettime): Likewise.
6324 [XPG3 || XPG4] (clock_settime): Likewise.
6325 [XPG3 || XPG4] (nanosleep): Likewise.
6326 [XPG3 || XPG4] (timer_create): Likewise.
6327 [XPG3 || XPG4] (timer_delete): Likewise.
6328 [XPG3 || XPG4] (timer_gettime): Likewise.
6329 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6330 [XPG3 || XPG4] (timer_settime): Likewise.
6331 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6332 [XPG3 || XPG4] (getlogin_r): Likewise.
6333 [XPG3 || XPG4] (pread): Likewise.
6334 [XPG3 || XPG4] (pthread_atfork): Likewise.
6335 [XPG3 || XPG4] (pwrite): Likewise.
6336
ee663277
JM
6337 [BZ #14835]
6338 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6339 <bits/siginfo.h>.
6340
942caa16
PT
63412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6342
e19af380
PT
6343 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6344 finalizing MALLSTREAM.
6345
942caa16
PT
6346 * sysdeps/mach/hurd/syncfs.c: New file.
6347
cfde9b46
SP
63482012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6349
6350 [BZ #14719]
6351 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6352 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6353 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6354 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6355 (_nss_dns_gethostbyname4_r): Likewise.
6356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6357 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6358
f6da27e5
PH
63592012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6360
6361 [BZ #13763]
6362 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6363
6665d4a2
SM
63642012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6365
1f51ee92
SM
6366 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6367 * elf/cache.c (print_entry): Print ",AArch64" for
6368 FLAG_AARCH64_LIB64
6369
6665d4a2
SM
6370 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6371 * elf/cache.c (print_entry): Print ",hard-float" for
6372 FLAG_ARM_LIBHF.
6373
05b227bd
DM
63742012-11-18 David S. Miller <davem@davemloft.net>
6375
6376 With help from Joseph Myers.
6377 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6378 cutoff to 2**-13.
6379 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6380 cutoff to 2**-25.
6381 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6382 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6383 small.
6384 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6385 * math/libm-test.inc (y0_test): New tests.
6386 (y1_test): New tests.
6387 * sysdeps/i386/fpu/libm-test-ulps: Update.
6388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6390
786b0b67
AS
63912012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6392
6393 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6394 64-bit targets.
6395 * configure: Regenerated.
6396
8e18b86d
DM
63972012-11-17 David S. Miller <davem@davemloft.net>
6398
6399 [BZ #14811]
6400 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6401 nonzero exponents with absolute value below 0x1p-128 to +/-
6402 0x1p-128.
6403
531f1ae0
JM
64042012-11-17 Joseph Myers <joseph@codesourcery.com>
6405
12df29e2
JM
6406 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6407
150dc1a0
JM
6408 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6409
531f1ae0
JM
6410 * posix/getconf-speclist.c: New file.
6411 * posix/posix-envs.def: Likewise.
6412 * posix/confstr.c (START_ENV_GROUP): New macro.
6413 (END_ENV_GROUP): Likewise.
6414 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6415 (KNOWN_PRESENT_ENV_STRING): Likewise.
6416 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6417 (UNKNOWN_ENVIRONMENT): Likewise.
6418 (confstr): Include posix-envs.def instead of handling
6419 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6420 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6421 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6422 (END_ENV_GROUP): Likewise.
6423 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6424 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6425 (UNKNOWN_ENVIRONMENT): Likewise.
6426 (__sysconf): Include posix-envs.def instead of handling associated
6427 cases directly here.
6428 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6429 preprocessing getconf-speclist.c rather than running getconf or
6430 generating empty file.
6431
a93f9cbc
PT
64322012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6433
6434 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6435
d64d9f87
AL
64362012-11-16 Andrej Lajovic <natrij@gmail.com>
6437
6438 [BZ #14672]
6439 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6440
447885eb
DM
64412012-11-16 David S. Miller <davem@davemloft.net>
6442
6443 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6444 smaller than LDBL_EPSILON/2.0L, just return xm1.
6445
bcbf9830
L
64462012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6447
6448 * elf/tst-array1.c (init): Set constructor priority to 1000.
6449 (fini): Set destructor priority to 1000.
6450 * elf/tst-array2dep.c: Likewise.
6451
2b766585
SP
64522012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6453
6454 [BZ #11741]
6455 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6456 (_IO_new_file_xsputn): Also return EOF if none of the input
6457 data was written when overflow failed.
6458 * libio/iopadn.c (_IO_padn): Likewise.
6459 * libio/iowpadn.c (_IO_wpadn): Likewise.
6460 * stdio-common/tst-put-error.c: Add copyright notice.
6461 (do_test): Add case for printing padded string.
6462 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6463 _IO_padn returned error.
6464 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6465 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6466 return EOF.
6467
b1848fde
SP
64682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6469
6470 * libio/libioP.h: Add comment note that the references to C++
6471 bits are now obsolete.
6472
2fd89785
MS
64732012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6474
6475 * math/libm-test.inc (check_complex): Use asprintf.
6476
e3ea5409
JM
64772012-11-14 Joseph Myers <joseph@codesourcery.com>
6478
6479 * debug/pcprofiledump.c (print_version): Update copyright year.
6480 * malloc/memusagestat.c (print_version): Likewise.
6481
2e64d265
L
64822012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6483
6484 [BZ #14831]
6485 * elf/Makefile (tests): Add tst-audit8.
6486 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6487 ($(objpfx)tst-audit8.out): New target.
6488 (tst-audit8-ENV): New variable.
6489 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6490 audit if l_reloc_result is NULL.
6491 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6492 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6493 * elf/tst-audit8.c: New file.
6494
c485e4d2
MS
64952012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6496
6497 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6498 * misc/Makefile (CFLAGS-select.c): Define.
6499 * posix/Makefile (CFLAGS-pause.c): Define.
6500
3a0d900a
DM
65012012-11-13 David S. Miller <davem@davemloft.net>
6502
6503 * crypt/Makefile: Move test targets after toplevel Rules
6504 inclusion. Grab any necessary sysdep routines when linking.
6505 * crypt/md5.c (md5_process_block): Remove define, we will always
6506 name it __md5_process_block.
6507 (md5_finish_ctx): Update md5_process_block call.
6508 (md5_stream): Likewise.
6509 (md5_process_bytes): Likewise.
6510 (md5_process_block): Rename to __md5_process_block and move to ...
6511 * crypt/md5-block.c: ... here.
6512 * crypt/sha256.c (sha256_process_block): Move to ...
6513 * crypt/sha256-block.c: ... here.
6514 * crypt/sha512.c (sha512_process_block): Move to ...
6515 * crypt/sha512-block.c: ... here.
6516 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6517 path.
6518 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6519 * sysdeps/sparc/sparc64/multiarch/Makefile
6520 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6521 crypt subdir.
6522 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6523 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6524 multiarch changes.
6525 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6526 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6527 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6528 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6529 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6530 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6531 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6532 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6533 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6534 file.
6535 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6536 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6537 file.
6538 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6539
8ca89318
JM
65402012-11-13 Joseph Myers <joseph@codesourcery.com>
6541
e27d476a
JM
6542 * timezone/tzselect.ksh: Update from tzcode git revision
6543 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6544 * timezone/zdump.c: Likewise.
6545 * timezone/zic.c: Likewise.
6546 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6547 in TZVERSION setting, not $(PKGVERSION).
6548 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6549 REPORT_BUGS_TO settings.
6550
8ca89318
JM
6551 [BZ #14838]
6552 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6553 macro.
6554
47594329
MS
65552012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6556
6557 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6558 detection to immediately after _FP_ROUND().
6559 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6560 bits are 0.
6561
640ac3f1
DM
65622012-11-11 David S. Miller <davem@davemloft.net>
6563
6564 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6565 inttypes.h
6566 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6567 __close rather than their public counterparts.
6568
3d2577bb
JM
65692012-11-10 Joseph Myers <joseph@codesourcery.com>
6570
6571 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6572 file.
6573 [UNIX98] (sem_timedwait): Do not expect.
6574 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6575 [XPG4 || UNIX98] (sockatmark): Do not expect.
6576 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6577 (clock_getcpuclockid): Do not expect.
6578 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6579 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6580 Do not expect.
6581 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6582 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6583 [UNIX98] (vwscanf): Likewise.
6584 [UNIX98] (vswscanf): Likewise.
6585
fb1ae1ee
JM
65862012-11-09 Joseph Myers <joseph@codesourcery.com>
6587
9ec6f8bd
JM
6588 * timezone/version.h: Remove file.
6589 * timezone/README: Do not refer to version.h.
6590 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6591 $(objpfx)version.h.
6592 ($(objpfx)zdump.o): Likewise.
c3f81911 6593 ($(objpfx)version.h): New target.
9ec6f8bd 6594
0aa8f8a1
JM
6595 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6596 2012i.
6597 * timezone/README: Don't mention modification to tzselect.ksh.
6598 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6599 work on unmodified tzselect.ksh. Substitute version numbers in
6600 tzselect.ksh.
6601
4e87147f
JM
6602 * Makefile (format-me): Remove.
6603 (INSTALL): Adjust indentation. Use commands directly instead of
6604 using $(format-me).
6605
8b748aed
JM
6606 * aclocal.m4 (ACX_PKGVERSION): New macro.
6607 (ACX_BUGURL): Likewise.
6608 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6609 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6610 (REPORT_BUGS_TO): Likewise.
6611 * configure: Regenerated.
6612 * config.h.in (PKGVERSION): New macro.
6613 (REPORT_BUGS_TO): Likewise.
6614 * config.make.in (PKGVERSION): New variable.
6615 (PKGVERSION_TEXI): Likewise.
6616 (REPORT_BUGS_TO): Likewise.
6617 (REPORT_BUGS_TEXI): Likewise.
6618 * Makefile (format-me): Use -I$(common-objpfx)manual.
6619 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6620 ($(common-objpfx)manual/%): New target.
6621 (manual/%): Remove target.
6622 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6623 (print_version): Use PKGVERSION.
6624 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6625 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6626 and REPORT_BUGS_TO.
6627 ($(objpfx)xtrace): Likewise.
6628 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6629 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6630 (print_version): Use PKGVERSION.
6631 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6632 (do_version): Use PKGVERSION.
6633 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6634 REPORT_BUGS_TO.
6635 (common-ldd-rewrite): Likewise.
6636 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6637 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6638 (print_version): Use PKGVERSION.
6639 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6640 * elf/pldd.c (argp_program_bug_address): Remove variable.
6641 (more_help): New function.
6642 (argp): Use more_help.
6643 (print_version): Use PKGVERSION.
6644 * elf/sln.c (main): Use PKGVERSION.
6645 (usage): Use REPORT_BUGS_TO.
6646 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6647 (top level): Use PKGVERSION.
6648 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6649 (print_version): Use PKGVERSION.
6650 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6651 (print_version): Use PKGVERSION.
6652 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6653 (print_version): Use PKGVERSION.
6654 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6655 (print_version): Use PKGVERSION.
6656 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6657 (print_version): Use PKGVERSION.
6658 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6659 (print_version): Use PKGVERSION.
6660 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6661 and BUGURL.
6662 ($(objpfx)memusage): Likewise.
6663 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6664 (do_version): Use PKGVERSION.
6665 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6666 (print_version): Use PKGVERSION.
6667 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6668 ($PKGVERSION): New variable.
6669 ($REPORT_BUGS_TO): Likewise.
6670 (usage): Use $REPORT_BUGS_TO.
6671 (top level): Use $PKGVERSION.
6672 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6673 ($(objpfx)pkgvers.texi): New rule.
6674 ($(objpfx)stamp-pkgvers): Likewise.
6675 * manual/install.texi: Include pkgvers.texi.
6676 (--with-pkgversion): Document new configure option.
6677 (--with-bugurl): Likewise.
6678 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6679 than necessarily for this particular distribution. Use
6680 REPORT_BUGS_TO for where to report bugs.
6681 * INSTALL: Regenerated.
6682 * manual/libc.texinfo: Include pkgvers.texi.
6683 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6684 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6685 (print_version): Use PKGVERSION.
6686 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6687 (print_version): Use PKGVERSION.
6688 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6689 (print_version): Use PKGVERSION.
6690 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6691 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6692 macro.
6693 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6694 (print_version): Use PKGVERSION.
6695 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6696 (print_version): Use PKGVERSION.
6697 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6698 and PKGVERSION.
6699
92e4b6a9
JM
6700 * timezone/checktab.awk: Update from tzcode 2012i.
6701 * timezone/ialloc.c: Likewise.
6702 * timezone/private.h: Likewise.
6703 * timezone/scheck.c: Likewise.
6704 * timezone/tzfile.h: Likewise.
6705 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6706 (TZVERSION): Hardcode tzcode version number.
6707 * timezone/zdump.c: Update from tzcode 2012i.
6708 * timezone/zic.c: Likewise.
6709 * timezone/version.h: New file.
6710 * timezone/README: Describe version.h. Update upstream location.
6711
9bde902c
JM
6712 [BZ #14824]
6713 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6714 (mktemp): Enable declaration.
6715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6716 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6718 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6719 Likewise.
6720 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6721 Likewise.
6722 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6723 Likewise.
6724 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6725 Likewise.
6726 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6727 Likewise.
6728 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6729 Likewise.
6730
fb1ae1ee
JM
6731 [BZ #14821]
6732 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6733 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6734 for copies of such integer values.
6735 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6736 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6737
2c1adbcb
AJ
67382012-11-09 Andreas Jaeger <aj@suse.de>
6739
6740 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6741 definitions and declarations that are provided by
6742 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6743
d0f8457e
AK
67442012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6745
3a235abb 6746 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6747 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6748 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6749 definition.
6750
57241e26
MS
67512012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6752
6753 * elf/elf.h: Update comment before AArch64 relocations.
6754
60e8270d
DM
67552012-11-07 David S. Miller <davem@davemloft.net>
6756
6757 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6758 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6759 (__start_context): Declare.
6760 (__makecontext_ret): Delete.
6761 (__makecontext): Hook up __start_context instead of
6762 __makecontext_ret.
6763 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6764 (sysdep_routines): Add __start_context when in stdlib.
6765
0fbb0fbc
JM
67662012-11-07 Joseph Myers <joseph@codesourcery.com>
6767
6768 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6769 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6770 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6771 hardcoded "nm".
6772 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6773 (READELF): New variable. Use it instead of hardcoded "readelf".
6774
eb48db7e
L
67752012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6776
6777 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6778 * sysdeps/x86/Makefile: Here.
6779 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6780 * sysdeps/x86/tst-xmmymm.sh: This.
6781
05bcf62a
JM
67822012-11-07 Joseph Myers <joseph@codesourcery.com>
6783
c4b6cf53
JM
6784 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6785 expectations.
6786 [UNIX98] (pthread_barrier_t): Do not expect.
6787 [UNIX98] (pthread_barrierattr_t): Likewise.
6788 [UNIX98] (pthread_spinlock_t): Likewise.
6789 [UNIX98] (pthread_barrier_destroy): Likewise.
6790 [UNIX98] (pthread_barrier_init): Likewise.
6791 [UNIX98] (pthread_barrier_wait): Likewise.
6792 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6793 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6794 [UNIX98] (pthread_barrierattr_init): Likewise.
6795 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6796 [UNIX98] (pthread_getcpuclockid): Likewise.
6797 [UNIX98] (pthread_mutex_timedlock): Likewise.
6798 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6799 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6800 [UNIX98] (pthread_sigmask): Likewise.
6801 [UNIX98] (pthread_spin_destroy): Likewise.
6802 [UNIX98] (pthread_spin_init): Likewise.
6803 [UNIX98] (pthread_spin_lock): Likewise.
6804 [UNIX98] (pthread_spin_trylock): Likewise.
6805 [UNIX98] (pthread_spin_unlock): Likewise.
6806 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6807 Do not expect.
6808 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6809 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6810 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6811 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6812 [XPG3 || XPG4] (pthread_key_t): Likewise.
6813 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6814 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6815 [XPG3 || XPG4] (pthread_once_t): Likewise.
6816 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6817 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6818 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6819 [XPG3 || XPG4] (pthread_t): Likewise.
6820
cbe6e120
JM
6821 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6822 not expect.
6823 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6824
1b126443
JM
6825 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6826 Change function return type to int.
6827
b961a573
JM
6828 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6829 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6830 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6831 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6832 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6833 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6834 [!POSIX] (posix_madvise): Likewise.
6835 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6836 && !UNIX98].
6837 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6838 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6839 (mode_t): Likewise.
6840 (posix_mem_offset): Likewise.
6841 (posix_typed_mem_get_info): Likewise.
6842 (posix_typed_mem_open): Likewise.
6843
9e188909
JM
6844 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6845 Change condition to [XOPEN2K8].
6846
05bcf62a
JM
6847 * conform/conformtest.pl: Preprocess allow-header data with -x c
6848 instead of from stdin.
6849 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6850 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6851 [C99-based standards] (cerfc): Likewise.
6852 [C99-based standards] (cexp2): Likewise.
6853 [C99-based standards] (cexpm1): Likewise.
6854 [C99-based standards] (clog10): Likewise.
6855 [C99-based standards] (clog1p): Likewise.
6856 [C99-based standards] (clog2): Likewise.
6857 [C99-based standards] (clgamma): Likewise.
6858 [C99-based standards] (ctgamma): Likewise.
6859 [C99-based standards] (cerff): Likewise.
6860 [C99-based standards] (cerfcf): Likewise.
6861 [C99-based standards] (cexp2f): Likewise.
6862 [C99-based standards] (cexpm1f): Likewise.
6863 [C99-based standards] (clog10f): Likewise.
6864 [C99-based standards] (clog1pf): Likewise.
6865 [C99-based standards] (clog2f): Likewise.
6866 [C99-based standards] (clgammaf): Likewise.
6867 [C99-based standards] (ctgammaf): Likewise.
6868 [C99-based standards] (cerfl): Likewise.
6869 [C99-based standards] (cerfcl): Likewise.
6870 [C99-based standards] (cexp2l): Likewise.
6871 [C99-based standards] (cexpm1l): Likewise.
6872 [C99-based standards] (clog10l): Likewise.
6873 [C99-based standards] (clog1pl): Likewise.
6874 [C99-based standards] (clog2l): Likewise.
6875 [C99-based standards] (clgammal): Likewise.
6876 [C99-based standards] (ctgammal): Likewise.
6877 * conform/data/inttypes.h-data [C99-based standards]: Include
6878 stdint.h-data. Remove all expectations for stdint.h contents.
6879 [C99-based standards] (PRI*): Do not allow.
6880 [C99-based standards] (SCN*): Likewise.
6881 [C99-based standards] (*_t): Likewise.
6882 [C99-based-standards] (PRId8): Expect macro.
6883 [C99-based-standards] (PRIi8): Likewise.
6884 [C99-based-standards] (PRIo8): Likewise.
6885 [C99-based-standards] (PRIu8): Likewise.
6886 [C99-based-standards] (PRIx8): Likewise.
6887 [C99-based-standards] (PRIX8): Likewise.
6888 [C99-based-standards] (SCNd8): Likewise.
6889 [C99-based-standards] (SCNi8): Likewise.
6890 [C99-based-standards] (SCNo8): Likewise.
6891 [C99-based-standards] (SCNu8): Likewise.
6892 [C99-based-standards] (SCNx8): Likewise.
6893 [C99-based-standards] (PRIdLEAST8): Likewise.
6894 [C99-based-standards] (PRIiLEAST8): Likewise.
6895 [C99-based-standards] (PRIoLEAST8): Likewise.
6896 [C99-based-standards] (PRIuLEAST8): Likewise.
6897 [C99-based-standards] (PRIxLEAST8): Likewise.
6898 [C99-based-standards] (PRIXLEAST8): Likewise.
6899 [C99-based-standards] (SCNdLEAST8): Likewise.
6900 [C99-based-standards] (SCNiLEAST8): Likewise.
6901 [C99-based-standards] (SCNoLEAST8): Likewise.
6902 [C99-based-standards] (SCNuLEAST8): Likewise.
6903 [C99-based-standards] (SCNxLEAST8): Likewise.
6904 [C99-based-standards] (PRIdFAST8): Likewise.
6905 [C99-based-standards] (PRIiFAST8): Likewise.
6906 [C99-based-standards] (PRIoFAST8): Likewise.
6907 [C99-based-standards] (PRIuFAST8): Likewise.
6908 [C99-based-standards] (PRIxFAST8): Likewise.
6909 [C99-based-standards] (PRIXFAST8): Likewise.
6910 [C99-based-standards] (SCNdFAST8): Likewise.
6911 [C99-based-standards] (SCNiFAST8): Likewise.
6912 [C99-based-standards] (SCNoFAST8): Likewise.
6913 [C99-based-standards] (SCNuFAST8): Likewise.
6914 [C99-based-standards] (SCNxFAST8): Likewise.
6915 [C99-based-standards] (PRId16): Likewise.
6916 [C99-based-standards] (PRIi16): Likewise.
6917 [C99-based-standards] (PRIo16): Likewise.
6918 [C99-based-standards] (PRIu16): Likewise.
6919 [C99-based-standards] (PRIx16): Likewise.
6920 [C99-based-standards] (PRIX16): Likewise.
6921 [C99-based-standards] (SCNd16): Likewise.
6922 [C99-based-standards] (SCNi16): Likewise.
6923 [C99-based-standards] (SCNo16): Likewise.
6924 [C99-based-standards] (SCNu16): Likewise.
6925 [C99-based-standards] (SCNx16): Likewise.
6926 [C99-based-standards] (PRIdLEAST16): Likewise.
6927 [C99-based-standards] (PRIiLEAST16): Likewise.
6928 [C99-based-standards] (PRIoLEAST16): Likewise.
6929 [C99-based-standards] (PRIuLEAST16): Likewise.
6930 [C99-based-standards] (PRIxLEAST16): Likewise.
6931 [C99-based-standards] (PRIXLEAST16): Likewise.
6932 [C99-based-standards] (SCNdLEAST16): Likewise.
6933 [C99-based-standards] (SCNiLEAST16): Likewise.
6934 [C99-based-standards] (SCNoLEAST16): Likewise.
6935 [C99-based-standards] (SCNuLEAST16): Likewise.
6936 [C99-based-standards] (SCNxLEAST16): Likewise.
6937 [C99-based-standards] (PRIdFAST16): Likewise.
6938 [C99-based-standards] (PRIiFAST16): Likewise.
6939 [C99-based-standards] (PRIoFAST16): Likewise.
6940 [C99-based-standards] (PRIuFAST16): Likewise.
6941 [C99-based-standards] (PRIxFAST16): Likewise.
6942 [C99-based-standards] (PRIXFAST16): Likewise.
6943 [C99-based-standards] (SCNdFAST16): Likewise.
6944 [C99-based-standards] (SCNiFAST16): Likewise.
6945 [C99-based-standards] (SCNoFAST16): Likewise.
6946 [C99-based-standards] (SCNuFAST16): Likewise.
6947 [C99-based-standards] (SCNxFAST16): Likewise.
6948 [C99-based-standards] (PRId32): Likewise.
6949 [C99-based-standards] (PRIi32): Likewise.
6950 [C99-based-standards] (PRIo32): Likewise.
6951 [C99-based-standards] (PRIu32): Likewise.
6952 [C99-based-standards] (PRIx32): Likewise.
6953 [C99-based-standards] (PRIX32): Likewise.
6954 [C99-based-standards] (SCNd32): Likewise.
6955 [C99-based-standards] (SCNi32): Likewise.
6956 [C99-based-standards] (SCNo32): Likewise.
6957 [C99-based-standards] (SCNu32): Likewise.
6958 [C99-based-standards] (SCNx32): Likewise.
6959 [C99-based-standards] (PRIdLEAST32): Likewise.
6960 [C99-based-standards] (PRIiLEAST32): Likewise.
6961 [C99-based-standards] (PRIoLEAST32): Likewise.
6962 [C99-based-standards] (PRIuLEAST32): Likewise.
6963 [C99-based-standards] (PRIxLEAST32): Likewise.
6964 [C99-based-standards] (PRIXLEAST32): Likewise.
6965 [C99-based-standards] (SCNdLEAST32): Likewise.
6966 [C99-based-standards] (SCNiLEAST32): Likewise.
6967 [C99-based-standards] (SCNoLEAST32): Likewise.
6968 [C99-based-standards] (SCNuLEAST32): Likewise.
6969 [C99-based-standards] (SCNxLEAST32): Likewise.
6970 [C99-based-standards] (PRIdFAST32): Likewise.
6971 [C99-based-standards] (PRIiFAST32): Likewise.
6972 [C99-based-standards] (PRIoFAST32): Likewise.
6973 [C99-based-standards] (PRIuFAST32): Likewise.
6974 [C99-based-standards] (PRIxFAST32): Likewise.
6975 [C99-based-standards] (PRIXFAST32): Likewise.
6976 [C99-based-standards] (SCNdFAST32): Likewise.
6977 [C99-based-standards] (SCNiFAST32): Likewise.
6978 [C99-based-standards] (SCNoFAST32): Likewise.
6979 [C99-based-standards] (SCNuFAST32): Likewise.
6980 [C99-based-standards] (SCNxFAST32): Likewise.
6981 [C99-based-standards] (PRId64): Likewise.
6982 [C99-based-standards] (PRIi64): Likewise.
6983 [C99-based-standards] (PRIo64): Likewise.
6984 [C99-based-standards] (PRIu64): Likewise.
6985 [C99-based-standards] (PRIx64): Likewise.
6986 [C99-based-standards] (PRIX64): Likewise.
6987 [C99-based-standards] (SCNd64): Likewise.
6988 [C99-based-standards] (SCNi64): Likewise.
6989 [C99-based-standards] (SCNo64): Likewise.
6990 [C99-based-standards] (SCNu64): Likewise.
6991 [C99-based-standards] (SCNx64): Likewise.
6992 [C99-based-standards] (PRIdLEAST64): Likewise.
6993 [C99-based-standards] (PRIiLEAST64): Likewise.
6994 [C99-based-standards] (PRIoLEAST64): Likewise.
6995 [C99-based-standards] (PRIuLEAST64): Likewise.
6996 [C99-based-standards] (PRIxLEAST64): Likewise.
6997 [C99-based-standards] (PRIXLEAST64): Likewise.
6998 [C99-based-standards] (SCNdLEAST64): Likewise.
6999 [C99-based-standards] (SCNiLEAST64): Likewise.
7000 [C99-based-standards] (SCNoLEAST64): Likewise.
7001 [C99-based-standards] (SCNuLEAST64): Likewise.
7002 [C99-based-standards] (SCNxLEAST64): Likewise.
7003 [C99-based-standards] (PRIdFAST64): Likewise.
7004 [C99-based-standards] (PRIiFAST64): Likewise.
7005 [C99-based-standards] (PRIoFAST64): Likewise.
7006 [C99-based-standards] (PRIuFAST64): Likewise.
7007 [C99-based-standards] (PRIxFAST64): Likewise.
7008 [C99-based-standards] (PRIXFAST64): Likewise.
7009 [C99-based-standards] (SCNdFAST64): Likewise.
7010 [C99-based-standards] (SCNiFAST64): Likewise.
7011 [C99-based-standards] (SCNoFAST64): Likewise.
7012 [C99-based-standards] (SCNuFAST64): Likewise.
7013 [C99-based-standards] (SCNxFAST64): Likewise.
7014 [C99-based-standards] (PRIdMAX): Likewise.
7015 [C99-based-standards] (PRIiMAX): Likewise.
7016 [C99-based-standards] (PRIoMAX): Likewise.
7017 [C99-based-standards] (PRIuMAX): Likewise.
7018 [C99-based-standards] (PRIxMAX): Likewise.
7019 [C99-based-standards] (PRIXMAX): Likewise.
7020 [C99-based-standards] (SCNdMAX): Likewise.
7021 [C99-based-standards] (SCNiMAX): Likewise.
7022 [C99-based-standards] (SCNoMAX): Likewise.
7023 [C99-based-standards] (SCNuMAX): Likewise.
7024 [C99-based-standards] (SCNxMAX): Likewise.
7025 [C99-based-standards] (PRIdPTR): Likewise.
7026 [C99-based-standards] (PRIiPTR): Likewise.
7027 [C99-based-standards] (PRIoPTR): Likewise.
7028 [C99-based-standards] (PRIuPTR): Likewise.
7029 [C99-based-standards] (PRIxPTR): Likewise.
7030 [C99-based-standards] (PRIXPTR): Likewise.
7031 [C99-based-standards] (SCNdPTR): Likewise.
7032 [C99-based-standards] (SCNiPTR): Likewise.
7033 [C99-based-standards] (SCNoPTR): Likewise.
7034 [C99-based-standards] (SCNuPTR): Likewise.
7035 [C99-based-standards] (SCNxPTR): Likewise.
7036 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7037 allow.
7038 * conform/data/stdint.h-data: Update comments to clarify
7039 requirements.
7040 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7041 type.
7042 [C99-based standards] (INT8_MAX): Likewise.
7043 [C99-based standards] (INT16_MIN): Likewise.
7044 [C99-based standards] (INT16_MAX): Likewise.
7045 [C99-based standards] (INT32_MIN): Likewise.
7046 [C99-based standards] (INT32_MAX): Likewise.
7047 [C99-based standards] (INT64_MIN): Likewise.
7048 [C99-based standards] (INT64_MAX): Likewise.
7049 [C99-based standards] (UINT8_MAX): Likewise.
7050 [C99-based standards] (UINT16_MAX): Likewise.
7051 [C99-based standards] (UINT32_MAX): Likewise.
7052 [C99-based standards] (UINT64_MAX): Likewise.
7053 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7054 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7055 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7056 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7057 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7058 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7059 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7060 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7061 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7062 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7063 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7064 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7065 [C99-based standards] (INT_FAST8_MIN): Likewise.
7066 [C99-based standards] (INT_FAST8_MAX): Likewise.
7067 [C99-based standards] (INT_FAST16_MIN): Likewise.
7068 [C99-based standards] (INT_FAST16_MAX): Likewise.
7069 [C99-based standards] (INT_FAST32_MIN): Likewise.
7070 [C99-based standards] (INT_FAST32_MAX): Likewise.
7071 [C99-based standards] (INT_FAST64_MIN): Likewise.
7072 [C99-based standards] (INT_FAST64_MAX): Likewise.
7073 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7074 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7075 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7076 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7077 [C99-based standards] (INTPTR_MIN): Likewise.
7078 [C99-based standards] (INTPTR_MAX): Likewise.
7079 [C99-based standards] (UINTPTR_MAX): Likewise.
7080 [C99-based standards] (INTMAX_MIN): Likewise.
7081 [C99-based standards] (INTMAX_MAX): Likewise.
7082 [C99-based standards] (UINTMAX_MAX): Likewise.
7083 [C99-based standards] (PTRDIFF_MIN): Likewise.
7084 [C99-based standards] (PTRDIFF_MAX): Likewise.
7085 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7086 [C99-based standards] (SIZE_MAX): Likewise.
7087 [C99-based standards] (WCHAR_MAX): Likewise.
7088 [C99-based standards] (WINT_MAX): Likewise.
7089 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7090 constraint on value.
7091 [C99-based standards] (WCHAR_MIN): Likewise.
7092 [C99-based standards] (WINT_MIN): Likewise.
7093 [C99-based standards] (*_t): Allow.
7094 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7095 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7096 Include math.h-data and complex.h-data. Remove all expectations
7097 of math.h and complex.h contents.
7098 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7099 at end of line.
7100 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7101 (struct tm): Expect tag.
7102 [C99-based-standards] (wcstof): Expect function.
7103 [C99-based-standards] (wcstold): Likewise.
7104 [C99-based-standards] (wcstoll): Likewise.
7105 [C99-based-standards] (wcstoull): Likewise.
7106 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7107 macro-int-constant. Specify type.
7108 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7109 constraint on value.
7110 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7111 Specify type.
7112 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7113 Specify value.
7114 [ISO C standards]: Do not allow headers.
7115 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7116 wcs[abcdefghijklmnopqrstuvwxyz]*.
7117 [ISO C standards] (*_t): Do not allow.
7118 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7119 Expect function.
7120 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7121 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7122 Specify type.
7123 [ISO C standards]: Do not allow headers.
7124 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7125 is[abcdefghijklmnopqrstuvwxyz]*.
7126 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7127 to[abcdefghijklmnopqrstuvwxyz]*.
7128 [ISO C standards] (*_t): Do not allow.
7129 * conform/data/stdalign.h-data: New file.
7130 * conform/data/stdbool.h-data: Likewise.
7131 * conform/data/stdnoreturn.h-data: Likewise.
7132
7514feb8
RM
71332012-11-07 Roland McGrath <roland@hack.frob.com>
7134
7135 [BZ #14815]
7136 * manual/filesys.texi (Directory Entries): Typo fix.
7137 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7138
19b2ecfc
MS
71392012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7140
7141 * elf/elf.h (EM_AARCH64): New macro.
7142 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7143 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7144 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7145 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7146 (R_AARCH64_TLSDESC): Likewise.
7147 (NT_ARM_TLS): Likewise.
7148 (NT_ARM_HW_BREAK): Likewise.
7149 (NT_ARM_HW_WATCH): Likewise.
7150
60e235ee
JM
71512012-11-07 Joseph Myers <joseph@codesourcery.com>
7152
7153 [BZ #14811]
7154 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7155 (__ieee754_powl): Saturate nonzero exponents with absolute value
7156 below 0x1p-79 to +/- 0x1p-79.
7157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7158 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7159 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7160 nonzero exponents with absolute value below 0x1p-32 to +/-
7161 0x1p-32.
7162 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7163 (__ieee754_powl): Saturate nonzero exponents with absolute value
7164 below 0x1p-79 to +/- 0x1p-79.
7165 * math/libm-test.inc (pow_test): Add more tests.
7166
0ab234b7
AK
71672012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7168
7169 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7170 _dl_s390_cap_flags with kernel. Increase string length.
7171 (_dl_s390_platforms): Add z196 and zEC12.
7172
45832f74
JM
71732012-11-07 Joseph Myers <joseph@codesourcery.com>
7174
7175 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7176 Change XOPEN21K to XOPEN2K.
7177
19218757
MK
71782012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7179
7180 * string/memmove.c: Use memcpy when possible.
7181
c5f45721
AJ
71822012-11-06 Andreas Jaeger <aj@suse.de>
7183
7184 * po/eo.po: Update from translation team.
7185
82477c28
JM
71862012-11-06 Joseph Myers <joseph@codesourcery.com>
7187
7188 [BZ #14793]
7189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7190 exponent and small x and y exponents, scale x or y up. Increase
7191 by 2 the exponent used in scaling up.
7192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7194 * math/libm-test.inc (fma_test): Add more tests.
7195 (fma_test_towardzero): Likewise.
7196 (fma_test_downward): Likewise.
7197 (fma_test_upward): Likewise.
7198
99252c8c
JM
71992012-11-05 Joseph Myers <joseph@codesourcery.com>
7200
acfa885f
JM
7201 [BZ #14805]
7202 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7203 fenv_t *.
7204
99252c8c
JM
7205 [BZ #14801]
7206 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7207 namespace for names of struct fields.
7208 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7209 fenv_t fields.
7210 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7211 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7212
d6d98dea
ST
72132012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7214
7215 [BZ #3665]
7216 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7217
e10bb107
TS
72182012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7219
7220 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7221 PTR_DEMANGLE.
7222
7223 [BZ #5246]
7224 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7225 PTR_DEMANGLE.
7226
a0c2940d
JM
72272012-11-04 Joseph Myers <joseph@codesourcery.com>
7228
7229 [BZ #14797]
7230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7231 definitely overflow as x * y not x * y + z.
7232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7234 * math/libm-test.inc (fma_test): Add more tests.
7235 (fma_test_towardzero): Likewise.
7236 (fma_test_downward): Likewise.
7237 (fma_test_upward): Likewise.
7238
b830319d
TS
72392012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7240
7241 [BZ #157]
7242
7243 * include/stub-tag.h: Remove file.
7244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7245 '#include' of it.
7246 * manual/maint.texi (Porting): Don't reference it.
7247 * Makerules ($(objpfx)stubs): Likewise.
7248 * dirent/closedir.c: Don't include <stub-tag.h>.
7249 * dirent/dirfd.c: Likewise.
7250 * dirent/fdopendir.c: Likewise.
7251 * dirent/getdents.c: Likewise.
7252 * dirent/getdents64.c: Likewise.
7253 * dirent/opendir.c: Likewise.
7254 * dirent/readdir.c: Likewise.
7255 * dirent/readdir64.c: Likewise.
7256 * dirent/readdir64_r.c: Likewise.
7257 * dirent/readdir_r.c: Likewise.
7258 * dirent/rewinddir.c: Likewise.
7259 * dirent/seekdir.c: Likewise.
7260 * dirent/telldir.c: Likewise.
7261 * gmon/profil.c: Likewise.
7262 * grp/setgroups.c: Likewise.
7263 * inet/if_index.c: Likewise.
7264 * io/access.c: Likewise.
7265 * io/chdir.c: Likewise.
7266 * io/chmod.c: Likewise.
7267 * io/chown.c: Likewise.
7268 * io/close.c: Likewise.
7269 * io/dup.c: Likewise.
7270 * io/dup2.c: Likewise.
7271 * io/dup3.c: Likewise.
7272 * io/euidaccess.c: Likewise.
7273 * io/faccessat.c: Likewise.
7274 * io/fchdir.c: Likewise.
7275 * io/fchmod.c: Likewise.
7276 * io/fchmodat.c: Likewise.
7277 * io/fchown.c: Likewise.
7278 * io/fchownat.c: Likewise.
7279 * io/fcntl.c: Likewise.
7280 * io/flock.c: Likewise.
7281 * io/fstatfs.c: Likewise.
7282 * io/fstatfs64.c: Likewise.
7283 * io/fstatvfs.c: Likewise.
7284 * io/fstatvfs64.c: Likewise.
7285 * io/futimens.c: Likewise.
7286 * io/fxstat.c: Likewise.
7287 * io/fxstat64.c: Likewise.
7288 * io/fxstatat.c: Likewise.
7289 * io/fxstatat64.c: Likewise.
7290 * io/getcwd.c: Likewise.
7291 * io/isatty.c: Likewise.
7292 * io/lchmod.c: Likewise.
7293 * io/lchown.c: Likewise.
7294 * io/link.c: Likewise.
7295 * io/linkat.c: Likewise.
7296 * io/lseek.c: Likewise.
7297 * io/lseek64.c: Likewise.
7298 * io/lxstat64.c: Likewise.
7299 * io/mkdir.c: Likewise.
7300 * io/mkdirat.c: Likewise.
7301 * io/mkfifo.c: Likewise.
7302 * io/mkfifoat.c: Likewise.
7303 * io/open.c: Likewise.
7304 * io/open64.c: Likewise.
7305 * io/openat.c: Likewise.
7306 * io/openat64.c: Likewise.
7307 * io/pipe.c: Likewise.
7308 * io/pipe2.c: Likewise.
7309 * io/poll.c: Likewise.
7310 * io/posix_fadvise.c: Likewise.
7311 * io/posix_fadvise64.c: Likewise.
7312 * io/posix_fallocate.c: Likewise.
7313 * io/posix_fallocate64.c: Likewise.
7314 * io/read.c: Likewise.
7315 * io/readlink.c: Likewise.
7316 * io/readlinkat.c: Likewise.
7317 * io/rmdir.c: Likewise.
7318 * io/sendfile.c: Likewise.
7319 * io/sendfile64.c: Likewise.
7320 * io/statfs.c: Likewise.
7321 * io/statfs64.c: Likewise.
7322 * io/statvfs.c: Likewise.
7323 * io/statvfs64.c: Likewise.
7324 * io/symlink.c: Likewise.
7325 * io/symlinkat.c: Likewise.
7326 * io/ttyname.c: Likewise.
7327 * io/ttyname_r.c: Likewise.
7328 * io/umask.c: Likewise.
7329 * io/unlink.c: Likewise.
7330 * io/unlinkat.c: Likewise.
7331 * io/utime.c: Likewise.
7332 * io/utimensat.c: Likewise.
7333 * io/write.c: Likewise.
7334 * io/xmknod.c: Likewise.
7335 * io/xmknodat.c: Likewise.
7336 * io/xstat.c: Likewise.
7337 * io/xstat64.c: Likewise.
7338 * login/getpt.c: Likewise.
7339 * login/grantpt.c: Likewise.
7340 * login/unlockpt.c: Likewise.
7341 * math/e_acoshl.c: Likewise.
7342 * math/e_acosl.c: Likewise.
7343 * math/e_asinl.c: Likewise.
7344 * math/e_atan2l.c: Likewise.
7345 * math/e_atanhl.c: Likewise.
7346 * math/e_coshl.c: Likewise.
7347 * math/e_expl.c: Likewise.
7348 * math/e_fmodl.c: Likewise.
7349 * math/e_gammal_r.c: Likewise.
7350 * math/e_hypotl.c: Likewise.
7351 * math/e_j0l.c: Likewise.
7352 * math/e_j1l.c: Likewise.
7353 * math/e_jnl.c: Likewise.
7354 * math/e_lgammal_r.c: Likewise.
7355 * math/e_log10l.c: Likewise.
7356 * math/e_log2l.c: Likewise.
7357 * math/e_logl.c: Likewise.
7358 * math/e_powl.c: Likewise.
7359 * math/e_rem_pio2l.c: Likewise.
7360 * math/e_sinhl.c: Likewise.
7361 * math/e_sqrtl.c: Likewise.
7362 * math/fclrexcpt.c: Likewise.
7363 * math/fedisblxcpt.c: Likewise.
7364 * math/feenablxcpt.c: Likewise.
7365 * math/fegetenv.c: Likewise.
7366 * math/fegetexcept.c: Likewise.
7367 * math/fegetround.c: Likewise.
7368 * math/feholdexcpt.c: Likewise.
7369 * math/fesetenv.c: Likewise.
7370 * math/fesetround.c: Likewise.
7371 * math/feupdateenv.c: Likewise.
7372 * math/fgetexcptflg.c: Likewise.
7373 * math/fraiseexcpt.c: Likewise.
7374 * math/fsetexcptflg.c: Likewise.
7375 * math/ftestexcept.c: Likewise.
7376 * math/k_cosl.c: Likewise.
7377 * math/k_rem_pio2l.c: Likewise.
7378 * math/k_sinl.c: Likewise.
7379 * math/k_tanl.c: Likewise.
7380 * math/s_asinhl.c: Likewise.
7381 * math/s_atanl.c: Likewise.
7382 * math/s_cbrtl.c: Likewise.
7383 * math/s_erfl.c: Likewise.
7384 * math/s_expm1l.c: Likewise.
7385 * math/s_log1pl.c: Likewise.
7386 * math/s_tanhl.c: Likewise.
7387 * misc/acct.c: Likewise.
7388 * misc/brk.c: Likewise.
7389 * misc/chflags.c: Likewise.
7390 * misc/chroot.c: Likewise.
7391 * misc/fchflags.c: Likewise.
7392 * misc/fgetxattr.c: Likewise.
7393 * misc/flistxattr.c: Likewise.
7394 * misc/fremovexattr.c: Likewise.
7395 * misc/fsetxattr.c: Likewise.
7396 * misc/fsync.c: Likewise.
7397 * misc/ftruncate.c: Likewise.
7398 * misc/futimes.c: Likewise.
7399 * misc/futimesat.c: Likewise.
7400 * misc/getdomain.c: Likewise.
7401 * misc/getdtsz.c: Likewise.
7402 * misc/gethostid.c: Likewise.
7403 * misc/gethostname.c: Likewise.
7404 * misc/getloadavg.c: Likewise.
7405 * misc/getpagesize.c: Likewise.
7406 * misc/getsysstats.c: Likewise.
7407 * misc/getxattr.c: Likewise.
7408 * misc/gtty.c: Likewise.
7409 * misc/ioctl.c: Likewise.
7410 * misc/lgetxattr.c: Likewise.
7411 * misc/listxattr.c: Likewise.
7412 * misc/llistxattr.c: Likewise.
7413 * misc/lremovexattr.c: Likewise.
7414 * misc/lsetxattr.c: Likewise.
7415 * misc/lutimes.c: Likewise.
7416 * misc/madvise.c: Likewise.
7417 * misc/mincore.c: Likewise.
7418 * misc/mlock.c: Likewise.
7419 * misc/mlockall.c: Likewise.
7420 * misc/mmap.c: Likewise.
7421 * misc/mprotect.c: Likewise.
7422 * misc/msync.c: Likewise.
7423 * misc/munlock.c: Likewise.
7424 * misc/munlockall.c: Likewise.
7425 * misc/munmap.c: Likewise.
7426 * misc/preadv.c: Likewise.
7427 * misc/preadv64.c: Likewise.
7428 * misc/ptrace.c: Likewise.
7429 * misc/pwritev.c: Likewise.
7430 * misc/pwritev64.c: Likewise.
7431 * misc/readv.c: Likewise.
7432 * misc/reboot.c: Likewise.
7433 * misc/remap_file_pages.c: Likewise.
7434 * misc/removexattr.c: Likewise.
7435 * misc/revoke.c: Likewise.
7436 * misc/select.c: Likewise.
7437 * misc/setdomain.c: Likewise.
7438 * misc/setegid.c: Likewise.
7439 * misc/seteuid.c: Likewise.
7440 * misc/sethostid.c: Likewise.
7441 * misc/sethostname.c: Likewise.
7442 * misc/setregid.c: Likewise.
7443 * misc/setreuid.c: Likewise.
7444 * misc/setxattr.c: Likewise.
7445 * misc/sstk.c: Likewise.
7446 * misc/stty.c: Likewise.
7447 * misc/swapoff.c: Likewise.
7448 * misc/swapon.c: Likewise.
7449 * misc/sync.c: Likewise.
7450 * misc/syncfs.c: Likewise.
7451 * misc/syscall.c: Likewise.
7452 * misc/truncate.c: Likewise.
7453 * misc/ualarm.c: Likewise.
7454 * misc/usleep.c: Likewise.
7455 * misc/ustat.c: Likewise.
7456 * misc/utimes.c: Likewise.
7457 * misc/vhangup.c: Likewise.
7458 * misc/writev.c: Likewise.
7459 * posix/_exit.c: Likewise.
7460 * posix/alarm.c: Likewise.
7461 * posix/execve.c: Likewise.
7462 * posix/fexecve.c: Likewise.
7463 * posix/fork.c: Likewise.
7464 * posix/fpathconf.c: Likewise.
7465 * posix/getaddrinfo.c: Likewise.
7466 * posix/getegid.c: Likewise.
7467 * posix/geteuid.c: Likewise.
7468 * posix/getgid.c: Likewise.
7469 * posix/getgroups.c: Likewise.
7470 * posix/getlogin.c: Likewise.
7471 * posix/getlogin_r.c: Likewise.
7472 * posix/getpgid.c: Likewise.
7473 * posix/getpid.c: Likewise.
7474 * posix/getppid.c: Likewise.
7475 * posix/getresgid.c: Likewise.
7476 * posix/getresuid.c: Likewise.
7477 * posix/getsid.c: Likewise.
7478 * posix/getuid.c: Likewise.
7479 * posix/glob64.c: Likewise.
7480 * posix/nanosleep.c: Likewise.
7481 * posix/pathconf.c: Likewise.
7482 * posix/pause.c: Likewise.
7483 * posix/posix_madvise.c: Likewise.
7484 * posix/pread.c: Likewise.
7485 * posix/pread64.c: Likewise.
7486 * posix/pwrite.c: Likewise.
7487 * posix/pwrite64.c: Likewise.
7488 * posix/sched_getaffinity.c: Likewise.
7489 * posix/sched_getp.c: Likewise.
7490 * posix/sched_gets.c: Likewise.
7491 * posix/sched_primax.c: Likewise.
7492 * posix/sched_primin.c: Likewise.
7493 * posix/sched_rr_gi.c: Likewise.
7494 * posix/sched_setaffinity.c: Likewise.
7495 * posix/sched_setp.c: Likewise.
7496 * posix/sched_sets.c: Likewise.
7497 * posix/sched_yield.c: Likewise.
7498 * posix/setgid.c: Likewise.
7499 * posix/setlogin.c: Likewise.
7500 * posix/setpgid.c: Likewise.
7501 * posix/setresgid.c: Likewise.
7502 * posix/setresuid.c: Likewise.
7503 * posix/setsid.c: Likewise.
7504 * posix/setuid.c: Likewise.
7505 * posix/sleep.c: Likewise.
7506 * posix/spawni.c: Likewise.
7507 * posix/sysconf.c: Likewise.
7508 * posix/times.c: Likewise.
7509 * posix/wait.c: Likewise.
7510 * posix/wait3.c: Likewise.
7511 * posix/wait4.c: Likewise.
7512 * posix/waitpid.c: Likewise.
7513 * resolv/gai_sigqueue.c: Likewise.
7514 * resource/getpriority.c: Likewise.
7515 * resource/getrlimit.c: Likewise.
7516 * resource/getrusage.c: Likewise.
7517 * resource/nice.c: Likewise.
7518 * resource/setpriority.c: Likewise.
7519 * resource/setrlimit.c: Likewise.
7520 * resource/ulimit.c: Likewise.
7521 * rt/aio_cancel.c: Likewise.
7522 * rt/aio_fsync.c: Likewise.
7523 * rt/aio_read.c: Likewise.
7524 * rt/aio_sigqueue.c: Likewise.
7525 * rt/aio_suspend.c: Likewise.
7526 * rt/aio_write.c: Likewise.
7527 * rt/clock_getres.c: Likewise.
7528 * rt/clock_gettime.c: Likewise.
7529 * rt/clock_nanosleep.c: Likewise.
7530 * rt/clock_settime.c: Likewise.
7531 * rt/lio_listio.c: Likewise.
7532 * rt/mq_close.c: Likewise.
7533 * rt/mq_getattr.c: Likewise.
7534 * rt/mq_notify.c: Likewise.
7535 * rt/mq_open.c: Likewise.
7536 * rt/mq_receive.c: Likewise.
7537 * rt/mq_send.c: Likewise.
7538 * rt/mq_setattr.c: Likewise.
7539 * rt/mq_timedreceive.c: Likewise.
7540 * rt/mq_timedsend.c: Likewise.
7541 * rt/mq_unlink.c: Likewise.
7542 * rt/shm_open.c: Likewise.
7543 * rt/shm_unlink.c: Likewise.
7544 * rt/timer_create.c: Likewise.
7545 * rt/timer_delete.c: Likewise.
7546 * rt/timer_getoverr.c: Likewise.
7547 * rt/timer_gettime.c: Likewise.
7548 * rt/timer_settime.c: Likewise.
7549 * setjmp/__longjmp.c: Likewise.
7550 * setjmp/setjmp.c: Likewise.
7551 * signal/kill.c: Likewise.
7552 * signal/killpg.c: Likewise.
7553 * signal/raise.c: Likewise.
7554 * signal/sigaction.c: Likewise.
7555 * signal/sigaltstack.c: Likewise.
7556 * signal/sigblock.c: Likewise.
7557 * signal/sigignore.c: Likewise.
7558 * signal/sigintr.c: Likewise.
7559 * signal/signal.c: Likewise.
7560 * signal/sigpause.c: Likewise.
7561 * signal/sigpending.c: Likewise.
7562 * signal/sigqueue.c: Likewise.
7563 * signal/sigreturn.c: Likewise.
7564 * signal/sigset.c: Likewise.
7565 * signal/sigsetmask.c: Likewise.
7566 * signal/sigstack.c: Likewise.
7567 * signal/sigsuspend.c: Likewise.
7568 * signal/sigtimedwait.c: Likewise.
7569 * signal/sigvec.c: Likewise.
7570 * signal/sigwait.c: Likewise.
7571 * signal/sigwaitinfo.c: Likewise.
7572 * signal/sysv_signal.c: Likewise.
7573 * socket/accept.c: Likewise.
7574 * socket/accept4.c: Likewise.
7575 * socket/bind.c: Likewise.
7576 * socket/connect.c: Likewise.
7577 * socket/getpeername.c: Likewise.
7578 * socket/getsockname.c: Likewise.
7579 * socket/getsockopt.c: Likewise.
7580 * socket/isfdtype.c: Likewise.
7581 * socket/listen.c: Likewise.
7582 * socket/recv.c: Likewise.
7583 * socket/recvfrom.c: Likewise.
7584 * socket/recvmsg.c: Likewise.
7585 * socket/send.c: Likewise.
7586 * socket/sendmsg.c: Likewise.
7587 * socket/sendto.c: Likewise.
7588 * socket/setsockopt.c: Likewise.
7589 * socket/shutdown.c: Likewise.
7590 * socket/sockatmark.c: Likewise.
7591 * socket/socket.c: Likewise.
7592 * socket/socketpair.c: Likewise.
7593 * stdio-common/ctermid.c: Likewise.
7594 * stdio-common/cuserid.c: Likewise.
7595 * stdio-common/remove.c: Likewise.
7596 * stdio-common/rename.c: Likewise.
7597 * stdio-common/renameat.c: Likewise.
7598 * stdio-common/tempname.c: Likewise.
7599 * stdlib/getcontext.c: Likewise.
7600 * stdlib/makecontext.c: Likewise.
7601 * stdlib/setcontext.c: Likewise.
7602 * stdlib/swapcontext.c: Likewise.
7603 * stdlib/system.c: Likewise.
7604 * streams/fattach.c: Likewise.
7605 * streams/fdetach.c: Likewise.
7606 * streams/getmsg.c: Likewise.
7607 * streams/getpmsg.c: Likewise.
7608 * streams/putmsg.c: Likewise.
7609 * streams/putpmsg.c: Likewise.
7610 * sysdeps/unix/bsd/getpt.c: Likewise.
7611 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7612 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7613 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7615 Likewise.
7616 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7617 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7618 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7619 * sysvipc/msgctl.c: Likewise.
7620 * sysvipc/msgget.c: Likewise.
7621 * sysvipc/msgrcv.c: Likewise.
7622 * sysvipc/msgsnd.c: Likewise.
7623 * sysvipc/semctl.c: Likewise.
7624 * sysvipc/semget.c: Likewise.
7625 * sysvipc/semop.c: Likewise.
7626 * sysvipc/semtimedop.c: Likewise.
7627 * sysvipc/shmat.c: Likewise.
7628 * sysvipc/shmctl.c: Likewise.
7629 * sysvipc/shmdt.c: Likewise.
7630 * sysvipc/shmget.c: Likewise.
7631 * termios/tcdrain.c: Likewise.
7632 * termios/tcflow.c: Likewise.
7633 * termios/tcflush.c: Likewise.
7634 * termios/tcgetattr.c: Likewise.
7635 * termios/tcgetpgrp.c: Likewise.
7636 * termios/tcsendbrk.c: Likewise.
7637 * termios/tcsetattr.c: Likewise.
7638 * termios/tcsetpgrp.c: Likewise.
7639 * time/adjtime.c: Likewise.
7640 * time/clock.c: Likewise.
7641 * time/getitimer.c: Likewise.
7642 * time/gettimeofday.c: Likewise.
7643 * time/setitimer.c: Likewise.
7644 * time/settimeofday.c: Likewise.
7645 * time/stime.c: Likewise.
7646 * time/time.c: Likewise.
7647
76482012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7649
a20492cf
PT
7650 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7651 /usr/old/bin.
7652
72e182e3
PT
7653 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7654 instead of spaces.
7655 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7656
fbeafede
JM
76572012-11-03 Joseph Myers <joseph@codesourcery.com>
7658
5b5b04d6
JM
7659 [BZ #14796]
7660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7661 FE_TONEAREST before applying Dekker multiplication and Knuth
7662 addition. Clear inexact exceptions and check for exact zero
7663 results afterwards.
7664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7665 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7667 * math/libm-test.inc (fma_test): Add more tests.
7668 (fma_test_towardzero): Likewise.
7669 (fma_test_downward): Likewise.
7670 (fma_test_upward): Likewise.
7671 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7672 function.
7673 (libc_fesetround): New macro.
7674 (libc_fesetroundf): Likewise.
7675 (libc_fesetroundl): Likewise.
7676 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7677 function.
7678 (libc_fesetround_387): Likewise.
7679 (libc_fesetroundf): New macro.
7680 (libc_fesetround): Likewise.
7681 (libc_fesetroundl): Likewise.
7682 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7683 function.
7684 (libc_fesetroundf): New macro.
7685 (libc_fesetround): Likewise.
7686 (libc_fesetroundl): Likewise.
7687 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7688 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7689 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7690 libm_hidden_ver.
7691 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7692 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7693 libm_hidden_def.
7694 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7695 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7696 libm_hidden_ver.
7697 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7698 libm_hidden_def.
7699
fbeafede
JM
7700 [BZ #3439]
7701 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7702 integer constant usable in #if and use that to give value to enum
7703 constant.
7704 (FE_DIVBYZERO): Likewise.
7705 (FE_UNDERFLOW): Likewise.
7706 (FE_OVERFLOW): Likewise.
7707 (FE_INVALID): Likewise.
7708 (FE_INVALID_SNAN): Likewise.
7709 (FE_INVALID_ISI): Likewise.
7710 (FE_INVALID_IDI): Likewise.
7711 (FE_INVALID_ZDZ): Likewise.
7712 (FE_INVALID_IMZ): Likewise.
7713 (FE_INVALID_COMPARE): Likewise.
7714 (FE_INVALID_SOFTWARE): Likewise.
7715 (FE_INVALID_SQRT): Likewise.
7716 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7717 (FE_TONEAREST): Likewise.
7718 (FE_TOWARDZERO): Likewise.
7719 (FE_UPWARD): Likewise.
7720 (FE_DOWNWARD): Likewise.
7721 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7722 (FE_DIVBYZERO): Likewise.
7723 (FE_OVERFLOW): Likewise.
7724 (FE_UNDERFLOW): Likewise.
7725 (FE_INEXACT): Likewise.
7726 (FE_TONEAREST): Likewise.
7727 (FE_DOWNWARD): Likewise.
7728 (FE_UPWARD): Likewise.
7729 (FE_TOWARDZERO): Likewise.
7730 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7731 (FE_UNDERFLOW): Likewise.
7732 (FE_OVERFLOW): Likewise.
7733 (FE_DIVBYZERO): Likewise.
7734 (FE_INVALID): Likewise.
7735 (FE_TONEAREST): Likewise.
7736 (FE_TOWARDZERO): Likewise.
7737 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7738 (FE_OVERFLOW): Likewise.
7739 (FE_UNDERFLOW): Likewise.
7740 (FE_DIVBYZERO): Likewise.
7741 (FE_INEXACT): Likewise.
7742 (FE_TONEAREST): Likewise.
7743 (FE_TOWARDZERO): Likewise.
7744 (FE_UPWARD): Likewise.
7745 (FE_DOWNWARD): Likewise.
7746 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7747 (FE_DIVBYZERO): Likewise.
7748 (FE_OVERFLOW): Likewise.
7749 (FE_UNDERFLOW): Likewise.
7750 (FE_INEXACT): Likewise.
7751 (FE_TONEAREST): Likewise.
7752 (FE_DOWNWARD): Likewise.
7753 (FE_UPWARD): Likewise.
7754 (FE_TOWARDZERO): Likewise.
7755
105ca950
CM
77562012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7757
7758 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7759
a542b389
AS
77602012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7761
7762 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7763 commands. Quote $PWD.
7764 (blacklist_exports): Don't use remove_newlines. Replace "declare
7765 -x" by "export".
7766 (remove_newlines): Remove.
7767
f62c8abc
L
77682012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7769
7770 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7771 * stdlib/stdlib.h (atof): Moved to ...
7772 * include/bits/stdlib-float.h: Here. New file.
7773 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7774 * stdlib/bits/stdlib-float.h: New file.
7775 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7776 -mno-sse -mno-mmx.
7777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7778 <xmmintrin.h>.
7779
0155d5b2
JM
77802012-11-02 Joseph Myers <joseph@codesourcery.com>
7781
a68d0680
JM
7782 * conform/conformtest.pl (@headers): Add fenv.h.
7783 * conform/data/fenv.h-data: New file.
7784 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7785 include of <math/fenv.h>.
7786
caf7f573
JM
7787 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7788 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7789 && !UNIX98]. Enables tests for XOPEN2K8.
7790 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7791 POSIX2008]: Likewise.
7792
6c073ad6
JM
7793 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7794 (struct rusage): Do not expect type or its members.
7795
0155d5b2
JM
7796 [BZ #3439]
7797 * math/math.h (FP_NAN): Define macro to integer constant usable in
7798 #if and use that to give value to enum constant.
7799 (FP_INFINITE): Likewise.
7800 (FP_ZERO): Likewise.
7801 (FP_SUBNORMAL): Likewise.
7802 (FP_NORMAL): Likewise.
7803
b5dcacb4
AS
78042012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7805
7806 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7807 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7808 arguments.
7809
f7934be8
RM
78102012-11-02 Roland McGrath <roland@hack.frob.com>
7811
7812 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7813 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7814 autoconf-time if not.
7815 * configure.in: Remove AC_PREREQ.
7816
d7d08bde
TMQMF
78172012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7818
7819 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7820 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7821 of the internal implementation.
7822
dcdae19a
JM
78232012-11-02 Joseph Myers <joseph@codesourcery.com>
7824
7825 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7826 except include of <misc/sys/syslog.h>.
7827
d6cffd3e
AS
78282012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7829
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7831 function returns with a NULL context exit with zero.
7832
b3563932
TMQMF
78332012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7834
7835 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7836
b288a93d
L
78372012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7838
7839 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7840 (run_program_cmd): This.
7841 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7842 (tst_langinfo): New variable. Use it.
7843
a2421a68
SAS
78442012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7845
7846 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7847 floating point opcodes.
7848
6f796e1b
TS
78492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7850
7402596b
TS
7851 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7852 variable.
7853
d0d4f868
TS
7854 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7855
6f796e1b
TS
7856 * sysdeps/mach/hurd/powerpc: Remove directory.
7857 * sysdeps/mach/powerpc: Likewise.
7858
4da224a2
AS
78592012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7860
7861 * scripts/check-local-headers.sh: Ignore c++ headers.
7862
341dd673
TS
78632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7864
7865 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7866 __libc_cleanup_region_start argument.
7867
473611b2
JM
78682012-11-01 Joseph Myers <joseph@codesourcery.com>
7869
7870 [BZ #14784]
7871 [BZ #14785]
7872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7873 x * y using scaling, not as x * y + z.
7874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7876 * math/libm-test.inc (fma_test): Add more tests.
7877 (fma_test_towardzero): Likewise.
7878 (fma_test_downward): Likewise.
7879 (fma_test_upward): Likewise.
7880
4078da3d
TS
78812012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7882
7883 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
7884
903252aa
JM
78852012-10-31 Joseph Myers <joseph@codesourcery.com>
7886
7887 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
7888 New variable.
7889
cbc818d0
TS
78902012-10-31 Thomas Schwinge <thomas@codesourcery.com>
7891
7892 * rt/tst-shm.c (worker): Correct checking for mmap failure.
7893
5a03cb1e
AS
78942012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7895
7896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7897 Fix sort order.
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7899 Likewise.
7900
90aff2ff
TMQMF
79012012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7902
7903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7904 Fix the order of the list for glibc 2.17.
7905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7906 Likewise.
7907
1818fcb7
AS
79082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
7909
7910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7911
ef82f4da
JM
79122012-10-31 Joseph Myers <joseph@codesourcery.com>
7913
16a0e2ec
JM
7914 [BZ #14610]
7915 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
7916 for low part of x being zero before using __atanl (y).
7917 * math/libm-test.inc (atan2_test): Add another test.
7918
0eb69512
JM
7919 * manual/install.texi (Configuring and compiling): Document
7920 general use of test-wrapper and test-wrapper-env.
7921 * INSTALL: Regenerated.
7922
ef82f4da
JM
7923 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
7924 (__fma): Do not extract and scale down low bits on after-rounding
7925 systems when result rounded to normal precision would have normal
7926 exponent.
7927 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
7928 (__fmal): Do not extract and scale down low bits on after-rounding
7929 systems when result rounded to normal precision would have normal
7930 exponent.
7931 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
7932 (__fmal): Do not extract and scale down low bits on after-rounding
7933 systems when result rounded to normal precision would have normal
7934 exponent.
7935 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
7936 macro.
7937 (fma_test): Add more tests.
7938 (fma_test_towardzero): Likewise.
7939 (fma_test_downward): Likewise.
7940 (fma_test_upward): Likewise.
7941
954ef0d9
L
79422012-10-30 H.J. Lu <hongjiu.lu@intel.com>
7943
7944 * sysdeps/i386/tininess.h: Renamed to ...
7945 * sysdeps/x86/tininess.h: This.
7946 * sysdeps/x86_64/tininess.h: Removed.
7947
df61ffb2
JM
79482012-10-30 Joseph Myers <joseph@codesourcery.com>
7949
7950 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
7951 input. Use $(build-program-cmd).
7952 ($(objpfx)tst-array1-static.out): Likewise.
7953 ($(objpfx)tst-array2.out): Likewise.
7954 ($(objpfx)tst-array3.out): Likewise.
7955 ($(objpfx)tst-array4.out): Likewise.
7956 ($(objpfx)tst-array5.out): Likewise.
7957 ($(objpfx)tst-array5-static.out): Likewise.
7958
01767843
CM
79592012-10-30 Chris Metcalf <cmetcalf@tilera.com>
7960
47cc1490
CM
7961 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
7962 if defined.
7963
01767843
CM
7964 * nss/nsswitch.h (nss_interface_function): Provide new
7965 macro for use with NSS functions.
7966 * grp/initgroups.c: Use new macro.
7967 * nss/getXXbyYY.c: Likewise.
7968 * nss/getXXbyYY_r.c: Likewise.
7969 * nss/getXXent.c: Likewise.
7970 * nss/getXXent_r.c: Likewise.
7971 * sysdeps/posix/getaddrinfo.c: Likewise.
7972
8321aa97
AJ
79732012-10-30 Andreas Jaeger <aj@suse.de>
7974
7975 * po/ru.po: Update Russion translation from translation project.
7976
2a27fd6d
JM
79772012-10-30 Joseph Myers <joseph@codesourcery.com>
7978
8627a232
JM
7979 [BZ #14152]
7980 [BZ #14783]
7981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
7982 result and shift together with sticky bit instead of replicating
7983 round-to-nearest rounding.
7984 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7985 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7986 * math/libm-test.inc (fma_test): Add more tests. Do not permit
7987 missing underflow exceptions.
7988 (fma_test_towardzero): Add more tests.
7989 (fma_test_downward): Likewise.
7990 (fma_test_upward): Likewise.
7991
2a27fd6d
JM
7992 [BZ #14047]
7993 * sysdeps/generic/tininess.h: New file.
7994 * sysdeps/i386/tininess.h: Likewise.
7995 * sysdeps/sh/tininess.h: Likewise.
7996 * sysdeps/x86_64/tininess.h: Likewise.
7997 * stdlib/tst-strtod-underflow.c: Likewise.
7998 * stdlib/tst-tininess.c: Likewise.
7999 * stdlib/strtod_l.c: Include <tininess.h>.
8000 (round_and_return): Do not set errno for exact underflow cases.
8001 Force an underflow exception when setting errno for underflow.
8002 Determine underflow based on rounding to normal precision if
8003 TININESS_AFTER_ROUNDING.
8004 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8005 ERANGE for exact underflow cases.
8006 * stdlib/Makefile (tests): Add tst-tininess and
8007 tst-strtod-underflow.
8008 ($(objpfx)tst-tininess): Use $(link-libm).
8009 ($(objpfx)tst-strtod-underflow): Likewise.
8010
e7170363
AJ
80112012-10-30 Andreas Jaeger <aj@suse.de>
8012
e5088dc6
AJ
8013 [BZ#14767]
8014 * elf/Makefile (tests): Remove conditional for have-initfini-array
8015 since this is now always required and the variable does not exist
8016 anymore.
8017 (tests-static): Likewise.
8018 (modules-names): Likewise.
8019
e7170363 8020 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8021
8022 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8023 merged with constructor/destructor.
8024 (init_array): Likewise.
8025 * elf/tst-array2dep.c (fini_array): Likewise.
8026 (init_array): Likewise.
8027
60457d8a
MF
80282012-10-29 Mike Frysinger <vapier@gentoo.org>
8029
8030 * manual/message.texi: Delete @cartouche tags.
8031
8bece752
PT
80322012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8033
94ce799f
PT
8034 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8035 EOPNOTSUPP.
8036 * sysdeps/mach/hurd/fsync.c: Likewise.
8037
8bece752
PT
8038 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8039 [_POSIX_REALTIME_SIGNALS]: Change condition to
8040 [_POSIX_REALTIME_SIGNALS > 0].
8041
86ebe6b1
AJ
80422012-10-27 Andreas Jaeger <aj@suse.de>
8043
8044 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8045 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8046 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8047 [__WORDSIZE != 64]: Likewise.
8048
54399c08
L
80492012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8050
8051 * iconvdata/tst-table.sh: Remove ${SHELL}.
8052 * iconvdata/tst-tables.sh: Likewise.
8053
e2211bed
DM
80542012-10-25 David S. Miller <davem@davemloft.net>
8055
8056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8057 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8058 of strtoull.
8059
f303f97c
DM
8060 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8061 ifunc-impl-list.c
8062 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8063 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8064 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8065 file.
8066
1e9d84cd
RM
80672012-10-25 Roland McGrath <roland@hack.frob.com>
8068
8069 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8070 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8071 __getdirentries.
8072
df381762
JM
80732012-10-25 Joseph Myers <joseph@codesourcery.com>
8074 Jim Blandy <jimb@codesourcery.com>
8075
8076 * scripts/cross-test-ssh.sh: New file.
8077 * manual/install.texi (Configuring and compiling): Document use of
8078 cross-test-ssh.sh.
8079 * INSTALL: Regenerated.
8080
bff64913
PT
80812012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8082
8083 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8084 EOPNOTSUPP.
8085
25fe8932
JM
80862012-10-25 Joseph Myers <joseph@codesourcery.com>
8087
8088 * Makeconfig (run-program-prefix): Fix comment.
8089
cc1290d0
JM
80902012-10-24 Joseph Myers <joseph@codesourcery.com>
8091 Jim Blandy <jimb@codesourcery.com>
8092
8093 * Makeconfig (test-wrapper): New variable,
8094 (test-wrapper-env): Likewise.
8095 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8096 (run-built-tests): Define to yes.
8097 (run-program-prefix): Use $(test-wrapper).
8098 (built-program-cmd): Likewise.
8099 * Rules (make-test-out): Use $(test-wrapper-env) and
8100 $(host-built-program-cmd).
8101 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8102 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8103 tst-pathopt.sh.
8104 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8105 $(test-wrapper-env) to tst-rtld-load-self.sh.
8106 ($(objpfx)order2.out): Use $(test-wrapper).
8107 ($(objpfx)tst-initorder.out): Likewise.
8108 ($(objpfx)tst-initorder2.out): Likewise.
8109 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8110 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8111 (test_wrapper_env): New variable. Use it to run ld.so.
8112 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8113 Use it to run ld.so.
8114 (test_wrapper_env): Likewise.
8115 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8116 $(test-wrapper) to run-iconv-test.sh.
8117 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8118 (ICONV): Use $test_wrapper.
8119 * posix/Makefile ($(objpfx)globtest.out): Pass
8120 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8121 globtest.sh, not $(run-program-prefix).
8122 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8123 (test_wrapper): Likewise.
8124 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8125 set together with run_via_rtld_prefix.
8126 (run_program_prefix): Define in terms of test_wrapper and
8127 run_via_rtld_prefix.
8128
6e6249d0
RM
81292012-10-24 Roland McGrath <roland@hack.frob.com>
8130
8131 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8132 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8133 Targets removed.
8134
8135 [BZ #14743]
8136 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8137 Declare __clock_getres, __clock_gettime, __clock_settime,
8138 __clock_nanosleep, and __clock_getcpuclockid.
8139 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8140 Remove librt_hidden_def (clock_gettime).
8141 * sysdeps/unix/clock_gettime.c: Likewise.
8142 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8143 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8144 * rt/clock_getres.c: Define __clock_getres as an alias.
8145 * sysdeps/posix/clock_getres.c: Likewise.
8146 * rt/clock_settime.c: Define __clock_settime as an alias.
8147 * sysdeps/unix/clock_settime.c: Likewise.
8148 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8149 * sysdeps/unix/clock_nanosleep.c: Likewise.
8150 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8151 * rt/clock-compat.c: New file.
8152 * rt/Makefile (librt-routines): Add clock-compat and move
8153 $(clock-routines) to ...
8154 (routines): ... here, new variable.
8155 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8156 Don't add get_clockfreq here.
8157 * rt/Versions (libc: GLIBC_2.17): New version set.
8158 Add clock_* symbols here.
8159 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8160 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8161 (GLIBC_2.17): Add clock_* symbols.
8162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8166 Likewise.
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8168 Likewise.
8169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8173 * NEWS: Mention the move.
8174
8175 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8176 Use __open, __read, __close rather than their public counterparts.
8177 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8178 (__get_clockfreq_via_cpuinfo): Likewise.
8179 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8180 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8181
8182 * config.h.in (HAVE_IFUNC): New #undef.
8183 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8184 was successful.
8185 * configure: Regenerated.
8186
0cae3f4b
MF
81872012-10-24 Mike Frysinger <vapier@gentoo.org>
8188
8189 * configure.in: Move READELF check to start of file.
8190 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8191 libc_cv_asm_gnu_indirect_function in the process.
8192 * configure: Regenerated.
8193
8175a253
MF
81942012-10-24 Mike Frysinger <vapier@gentoo.org>
8195
8196 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8197 send the output to /dev/null.
8198 (libc_cv_cc_with_libunwind): Likewise.
8199 (libc_cv_as_noexecstack): Likewise.
8200 * configure: Regenerate.
8201
0708a7d1
JM
82022012-10-24 Joseph Myers <joseph@codesourcery.com>
8203
10b40d85
JM
8204 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8205
0708a7d1
JM
8206 * posix/globtest.sh (TMPDIR): Do not set.
8207 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8208 (testout): Likewise.
8209
9fddec1a
AJ
82102012-10-24 Andreas Jaeger <aj@suse.de>
8211
3a8db22f
AJ
8212 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8213 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8214 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8215 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8216 posix_fadvise64, posix_fallocate64.
8217
9fddec1a
AJ
8218 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8219 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8220 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8221 Likewise.
8222 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8223 Likewise.
8224 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8225
8226 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8227 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8228 <bits/fcntl-linux.h>.
8229 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8230
8231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8232 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8233 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8234 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8235 [__WORDSIZE != 64]: Likewise.
8236
ebfd1bbd
JM
82372012-10-23 Joseph Myers <joseph@codesourcery.com>
8238
03ac099f
JM
8239 * Makeconfig (run-built-tests): New variable.
8240 * Rules [$(cross-compiling) = yes]: Change condition to
8241 [$(run-built-tests) = no].
8242 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8243 to [$(run-built-tests) = yes].
8244 * elf/Makefile [$(cross-compiling) = no]: Likewise
8245 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8246 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8247 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8248 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8249 * io/Makefile [$(cross-compiling) = no]: Likewise.
8250 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8251 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8252 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8253 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8254 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8255 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8256 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8257 * string/Makefile [$(cross-compiling) = no]: Likewise.
8258
ebfd1bbd
JM
8259 * posix/Makefile ($(objpfx)globtest.out): Pass
8260 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8261 $(rtld-installed-name).
8262 * posix/globtest.sh (elf_objpfx): Remove variable.
8263 (rtld_installed_name): Likewise.
8264 (library_path): Likewise.
8265 (run_program_prefix): New variable. Use for running globtest
8266 binary.
8267
166bca24
JB
82682012-10-23 Jim Blandy <jimb@codesourcery.com>
8269 Joseph Myers <joseph@codesourcery.com>
8270
8271 * Makeconfig (host-built-program-cmd): New variable.
8272 * elf/Makefile (tst-stackguard1-ARGS): Use
8273 $(host-built-program-cmd).
8274 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8275 (tst-spawn-ARGS): Likewise.
8276 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8277
88866099
JM
82782012-10-23 Joseph Myers <joseph@codesourcery.com>
8279 Jim Blandy <jimb@codesourcery.com>
8280
8281 * Makeconfig (run-via-rtld-prefix): New variable.
8282 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8283 (built-program-cmd): Likewise.
8284
b4b4c296
AJ
82852012-10-22 Andreas Jaeger <aj@suse.de>
8286
8287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8288 __O_RSYNC if it exists, otherwise to O_SYNC.
8289
6fb54a22
JB
82902012-10-22 Jim Blandy <jimb@codesourcery.com>
8291 Joseph Myers <joseph@codesourcery.com>
8292
8293 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8294 /dev/null.
8295 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8296 from /dev/null
8297 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8298 /dev/null.
8299
481b90b9
AJ
83002012-10-22 Andreas Jaeger <aj@suse.de>
8301
2a0e2669
AJ
8302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8303 Define always.
8304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8305
76e38f9a
AJ
8306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8307 bits/fcntl-linux.h.
8308
7cd37b43
AJ
8309 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8310 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8311
481b90b9
AJ
8312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8313 to __O_LARGEFILE.
8314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8315 to __O_LARGEFILE.
8316
aba75984
JB
83172012-10-21 Jim Blandy <jimb@codesourcery.com>
8318 Joseph Myers <joseph@codesourcery.com>
8319
8320 * config.make.in (NM): New variable.
8321
88d4247f
AJ
83222012-10-21 Andreas Jaeger <aj@suse.de>
8323
8324 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8325 definitions and declarations that are provided by
8326 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8327
f2eed205
L
83282012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8329
8330 [BZ #14683]
8331 * elf/Makefile (tests-static): Add tst-leaks1-static.
8332 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8333 ($(objpfx)tst-leaks1-static): New rule.
8334 ($(objpfx)tst-leaks1-static-mem): Likewise.
8335 (tst-leaks1-static-ENV): New macro.
8336 * elf/dl-open.c (dl_open_worker): Check the main application
8337 only if SHARED is defined.
8338 * elf/tst-leaks1-static.c: New file.
8339
335e6931
AJ
83402012-10-20 Andreas Jaeger <aj@suse.de>
8341
8342 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8343 generic values for Linux.
8344 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8345 and declarations that are provided by <bits/fcntl-linux.h> and
8346 include <bits/fcntl-linux.h>.
8347 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8348 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8349
ac5c94d3
RM
83502012-10-20 Roland McGrath <roland@hack.frob.com>
8351
8352 * io/fcntl.h: Move include of <bits/types.h> to the top and
8353 include it unconditionally.
8354
de54b33a
L
83552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8356
228cfb01
L
8357 * wcsmbs/Makefile (tests-ifunc): New variable.
8358 (tests): Add $(tests-ifunc).
8359 * wcsmbs/test-wcschr-ifunc.c: New file.
8360 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8361 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8362 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8363 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8364 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8365
69f07e5f
L
8366 * string/Makefile (tests-ifunc): New variable.
8367 (tests): Add $(tests-ifunc).
8368 * string/test-memccpy.c (TEST_NAME): New macro.
8369 * string/test-memchr.c (TEST_NAME): Likewise.
8370 * string/test-memcmp.c (TEST_NAME): Likewise.
8371 * string/test-memcpy.c (TEST_NAME): Likewise.
8372 * string/test-memmem.c (TEST_NAME): Likewise.
8373 * string/test-memmove.c (TEST_NAME): Likewise.
8374 * string/test-memset.c (TEST_NAME): Likewise.
8375 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8376 * string/test-stpcpy.c (TEST_NAME): Likewise.
8377 * string/test-stpncpy.c (TEST_NAME): Likewise.
8378 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8379 * string/test-strcasestr.c (TEST_NAME): Likewise.
8380 * string/test-strcat.c (TEST_NAME): Likewise.
8381 * string/test-strchr.c (TEST_NAME): Likewise.
8382 * string/test-strcmp.c(TEST_NAME): Likewise.
8383 * string/test-strcpy.c (TEST_NAME): Likewise.
8384 * string/test-strcspn.c (TEST_NAME): Likewise.
8385 * string/test-strlen.c (TEST_NAME): Likewise.
8386 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8387 * string/test-strncmp.c (TEST_NAME): Likewise.
8388 * string/test-strncpy.c (TEST_NAME): Likewise.
8389 * string/test-strnlen.c (TEST_NAME): Likewise.
8390 * string/test-strpbrk.c (TEST_NAME): Likewise.
8391 * string/test-strrchr.c (TEST_NAME): Likewise.
8392 * string/test-strspn.c (TEST_NAME): Likewise.
8393 * string/test-strstr.c (TEST_NAME): Likewise.
8394 * string/test-bcopy-ifunc.c: New file.
8395 * string/test-bzero-ifunc.c: Likewise.
8396 * string/test-memccpy-ifunc.c: Likewise.
8397 * string/test-memchr-ifunc.c: Likewise.
8398 * string/test-memcmp-ifunc.c: Likewise.
8399 * string/test-memcpy-ifunc.c: Likewise.
8400 * string/test-memmem-ifunc.c: Likewise.
8401 * string/test-memmove-ifunc.c: Likewise.
8402 * string/test-mempcpy-ifunc.c: Likewise.
8403 * string/test-memset-ifunc.c: Likewise.
8404 * string/test-rawmemchr-ifunc.c: Likewise.
8405 * string/test-stpcpy-ifunc.c: Likewise.
8406 * string/test-stpncpy-ifunc.c: Likewise.
8407 * string/test-strcasecmp-ifunc.c: Likewise.
8408 * string/test-strcasestr-ifunc.c: Likewise.
8409 * string/test-strcat-ifunc.c: Likewise.
8410 * string/test-strchr-ifunc.c: Likewise.
8411 * string/test-strchrnul-ifunc.c: Likewise.
8412 * string/test-strcmp-ifunc.c: Likewise.
8413 * string/test-strcpy-ifunc.c: Likewise.
8414 * string/test-strcspn-ifunc.c: Likewise.
8415 * string/test-strlen-ifunc.c: Likewise.
8416 * string/test-strncasecmp-ifunc.c: Likewise.
8417 * string/test-strncat-ifunc.c: Likewise.
8418 * string/test-strncmp-ifunc.c: Likewise.
8419 * string/test-strncpy-ifunc.c: Likewise.
8420 * string/test-strnlen-ifunc.c: Likewise.
8421 * string/test-strpbrk-ifunc.c: Likewise.
8422 * string/test-strrchr-ifunc.c: Likewise.
8423 * string/test-strspn-ifunc.c: Likewise.
8424 * string/test-strstr-ifunc.c: Likewise.
8425
de54b33a
L
8426 * debug/Makefile (tests-ifunc): New variable.
8427 (tests): Add $(tests-ifunc).
8428 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8429 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8430 * debug/test-stpcpy_chk-ifunc.c: New file.
8431 * debug/test-strcpy_chk-ifunc.c: Likewise.
8432
88481c16
SP
84332012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8434
8435 [BZ #13601]
8436 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8437 header is not read in.
8438
135948bd
JM
84392012-10-19 Joseph Myers <joseph@codesourcery.com>
8440
89f1c388
JM
8441 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8442 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8443 directly. Pass built executable to script as
8444 $(built-program-cmd).
8445 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8446 $testprogram without using LD_LIBRARY_PATH and $ldso.
8447
e40a0d21
JM
8448 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8449 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8450 $(rtld-installed-name).
8451 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8452 (rtld_installed_name): Likewise.
8453 (library_path): Likewise.
8454 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8455 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8456 $(run-program-prefix) to tst-tables.sh.
8457 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8458 it to run tst-table-from and tst-table-to.
8459 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8460 Pass it to tst-table.sh.
8461 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8462 $(run-program-prefix) to tst-gettext.sh.
8463 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8464 tst-translit.sh.
8465 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8466 tst-gettext2.sh.
8467 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8468 to run tst-gettext.
8469 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8470 to run tst-gettext2.
8471 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8472 to run tst-translit.
8473 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8474 $(run-program-prefix) to tst-mtrace.sh.
8475 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8476 to run tst-mtrace.
8477 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8478 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8479 $(rtld-installed-name).
8480 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8481 (rtld_installed_name): Likewise.
8482 (run_program_prefix): New variable. Use it to run wordexp-test.
8483
728e272a
JM
8484 * Makeconfig (ARCH): Remove all definitions.
8485 (machine): Likewise.
8486 [ARCH]: Remove conditional code.
8487 [!objdir]: Give error.
8488 [!objdir] (objpfx): Remove.
8489 [!objdir] (common-objpfx): Likewise.
8490 [!objdir] (common-objdir): Likewise.
8491 * configure.in (config_makefile): Remove. Hardcode Makefile in
8492 AC_CONFIG_FILES call.
8493 * configure: Regenerated.
8494
d528cdcf
JM
8495 [BZ #13888]
8496 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8497 or TMPDIR.
8498 (testout): Likewise.
8499
135948bd
JM
8500 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8501 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8502 $(rtld-installed-name).
8503 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8504 (rtld_installed_name): Likwise.
8505 (runit): Remove function.
8506 (run_getconf): New variable, Use it for running getconf binary.
8507
38c78296
L
85082012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8509
8510 [BZ #14716]
8511 * string/test-memmem.c (check_result): New function.
8512 (do_one_test): Use it.
8513 (check1): New function.
8514 (test_main): Use it.
8515
d077f65f
MT
85162012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8517
8518 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8519
ced52c71
JM
85202012-10-18 Joseph Myers <joseph@codesourcery.com>
8521
8522 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8523 (_G_LSEEK64): Likewise.
8524 (_G_MMAP64): Likewise.
8525 (_G_FSTAT64): Likewise.
8526 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8527 (_G_LSEEK64): Likewise.
8528 (_G_MMAP64): Likewise.
8529 (_G_FSTAT64): Likewise.
8530 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8531 unconditional. Call __mmap64 directly.
8532 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8533 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8534 __lseek64 directly.
8535 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8536 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8537 __mmap64 directly.
8538 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8539 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8540 __lseek64 directly.
8541 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8542 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8543 __lseek64 directly.
8544 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8545 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8546 __lseek64 directly.
8547 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8548 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8549 __fxstat64 directly.
8550 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8551 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8552 unconditional.
8553 (freopen64) [!_G_OPEN64]: Remove conditional code.
8554 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8555 unconditional.
8556 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8557 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8558 unconditional.
8559 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8560 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8561 unconditional.
8562 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8563 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8564 unconditional.
8565 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8566 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8567 unconditional.
8568 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8569 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8570 unconditional.
8571 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8572 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8573 unconditional.
8574 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8575
b741de23
SP
85762012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8577
8578 [BZ #12140]
8579 * manual/memory.texi (Malloc Tunable Parameters): Add note
8580 about free list pointers overwriting some perturb bytes.
8581 Wording suggested by Roland McGrath.
8582
f9b9d9c9
JM
85832012-10-17 Joseph Myers <joseph@codesourcery.com>
8584
8585 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8586 (lgamma_test): Likewise.
8587 (tgamma_test): Likewise.
8588
172a631a
FW
85892012-10-16 Florian Weimer <fweimer@redhat.com>
8590
8591 [BZ #14700]
8592 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8593 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8594
e9f37252
MK
85952012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8596
8597 * NEWS: Mention BZ #14716.
8598 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8599 when removing AVAILABLE1_USES_J macro.
8600
d394eb74
L
86012012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8602
8603 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8604 (__bswap_64): __uint64_t for unsigned 64-bit int.
8605
ca38dc17
AS
86062012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8607
8608 * include/string.h (memmem): Declare libc hidden alias.
8609 * string/memmem.c (memmem): Define libc hidden alias.
8610 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8611 __read, __close instead of open, read, close.
8612
9a387d1f
L
86132012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8614
ac49ecaf
L
8615 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8616 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8617 global and hidden.
8618 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8619 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8620 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8621 Likewise.
8622 (__rawmemchr_sse2): Likewise.
8623 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8624 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8625 (__strchr_sse2): Likewise.
8626 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8627 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8628 (__strcasecmp_sse2): Likewise.
8629 (__strncasecmp_sse2): Likewise.
8630 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8631 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8632 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8633 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8634 (__strrchr_sse2): Likewise.
8635 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8636 ifunc-impl-list.c.
8637 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8638 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8639 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8640 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8641 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8642 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8643 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8644 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8645 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8646 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8647 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8648 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8649 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8650 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8651 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8652 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8653 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8654 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8655 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8656 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8657 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8658 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8659 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8660 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8661 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8662 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8663 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8664 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8665 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8666 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8667
b090e8ea
L
8668 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8669 global and hidden.
8670 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8671 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8672 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8673 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8674 Likewise.
8675 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8676 Likewise.
8677 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8678 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8679 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8680 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8681 ifunc-impl-list.c.
8682 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8683 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8684 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8685 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8686 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8687 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8688 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8689 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8690 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8691 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8692 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8693 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8694 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8695 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8696 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8697 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8698 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8699 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8700 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8701 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8702 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8703 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8704 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8705 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8707 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8708 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8709 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8710 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8711 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8712 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8713 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8714 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8715 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8716 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8717 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8718 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8719 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8720 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8721 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8722 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8723
11dd4af6
L
8724 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8725 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8726 * include/ifunc-impl-list.h: New file.
8727 * misc/ifunc-impl-list.c: Likewise.
8728 * misc/Makefile (routines): Add ifunc-impl-list.
8729 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8730 * string/test-string.h: Include <ifunc-impl-list.h>.
8731 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8732 impl_array): New variables.
8733 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8734 are defined.
8735 (test_init): Call __libc_ifunc_impl_list to initialize
8736 func_list if TEST_IFUNC and TEST_NAME are defined.
8737
9a387d1f
L
8738 * string/Makefile (strop-tests): Add bcopy and bzero.
8739 * string/test-bcopy.c: New file.
8740 * string/test-bzero.c: Likewise.
8741 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8742 defined.
8743 * string/test-memset.c: Support bzero test if TEST_BZERO is
8744 defined.
8745 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8746 __libc_memmove.
8747 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8748 __libc_memset.
8749 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8750 of memset.
8751
472371b9
JM
87522012-10-10 Joseph Myers <joseph@codesourcery.com>
8753
1e4a9536
JM
8754 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8755 * configure: Regenerated.
8756
d173d12e
JM
8757 * Makeconfig (+link-static-before-libc): Don't include
8758 $(link-static-libc).
8759
472371b9
JM
8760 * libio/libio.h (_IO_pos_t): Remove.
8761
89a3ad0b
AO
87622012-10-10 Alexandre Oliva <aoliva@redhat.com>
8763
8764 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8765 McGrath.
8766
e7451425
AO
87672012-10-10 Alexandre Oliva <aoliva@redhat.com>
8768
8769 * crypt/crypt-entry.c: Include fips-private.h.
8770 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8771 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8772 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8773 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8774
4ba74a35
AO
87752012-10-10 Alexandre Oliva <aoliva@redhat.com>
8776
8777 * crypt/crypt-private.h: Include stdbool.h.
8778 (_ufc_setup_salt_r): Return bool.
8779 * crypt/crypt-entry.c: Include errno.h.
8780 (__crypt_r): Return NULL with EINVAL for bad salt.
8781 * crypt/crypt_util.c (bad_for_salt): New.
8782 (_ufc_setup_salt_r): Check that salt is long enough and within
8783 the specified alphabet.
8784 * crypt/badsalttest.c: New file.
8785 * crypt/Makefile (tests): Add it.
8786 ($(objpfx)badsalttest): New.
8787
f96f1242
MK
87882012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8789
8790 * NEWS: Add entry for BZ #14602.
8791
0e8e0c1c
JM
87922012-10-09 Joseph Myers <joseph@codesourcery.com>
8793
8794 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8795 type-generic.
8796 * math/libm-test.inc: Update comment listing what functions and
8797 macros are tested.
8798 (isgreater_test): New function.
8799 (isgreaterequal_test): Likewise.
8800 (isless_test): Likewise.
8801 (islessequal_test): Likewise.
8802 (islessgreater_test): Likewise.
8803 (isunordered_test): Likewise.
8804 (main): Call the new functions.
8805
273edc5e
RM
88062012-10-09 Roland McGrath <roland@hack.frob.com>
8807
b8493de0
RM
8808 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8809 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8810 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8811 * sysdeps/i386/configure: Regenerated.
8812 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8813 * sysdeps/mach/configure: Regenerated.
8814 * sysdeps/mach/hurd/configure: Regenerated.
8815 * sysdeps/powerpc/configure: Regenerated.
8816 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8817 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8818 * sysdeps/s390/s390-32/configure: Regenerated.
8819 * sysdeps/s390/s390-64/configure: Regenerated.
8820 * sysdeps/sh/configure: Regenerated.
8821 * sysdeps/sparc/configure: Regenerated.
8822 * sysdeps/unix/sysv/linux/configure: Regenerated.
8823 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8824 * sysdeps/x86_64/configure: Regenerated.
8825
273edc5e
RM
8826 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8827 defined. Don't check if MAP is NULL.
8828
c8450f70
JM
88292012-10-09 Joseph Myers <joseph@codesourcery.com>
8830
8831 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8832 (_G_stat64): Likewise.
8833 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8834 (_G_stat64): Likewise.
8835 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8836 instead of struct _G_stat64.
8837 * libio/fileops.c (mmap_remap_check): Likewise.
8838 (decide_maybe_mmap): Likewise.
8839 (_IO_new_file_seekoff): Likewise.
8840 (_IO_file_stat): Likewise.
8841 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8842 _G_off64_t.
8843 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8844 instead of struct _G_stat64.
8845 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8846
57e605ba
MK
88472012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8848
8849 [BZ #14602]
8850 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8851 Replace with ...
8852 (CHECK_EOL): New macro.
8853 (two_way_short_needle): Check beginning of haystack for EOL. Use
8854 CHECK_EOL.
8855 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8856 Replace with CHECK_EOL.
8857 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8858 Replace with CHECK_EOL.
8859
ef1bb361
JM
88602012-10-08 Joseph Myers <joseph@codesourcery.com>
8861
8862 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8863 type-generic.
8864 * math/libm-test.inc: Update comment listing what functions and
8865 macros are tested.
8866 (finite_test): New function.
8867 (isinf_test): Likewise.
8868 (isnan_test): Likewise.
8869 (fpclassify_test): Test subnormal input.
8870 (isfinite_test): Likewise.
8871 (isnormal_test): Likewise.
8872 (main): Call the new functions.
8873
55f11534
JN
88742012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8875
8876 [BZ #14660]
8877 * Makerules (%.dynsym): Force C locale when running
8878 $(OBJDUMP) --dynamic-syms.
8879
1ab29350
AS
88802012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8881
8882 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8883 <stdint.h>.
8884
f1ecb7ef
DM
88852012-10-06 David S. Miller <davem@davemloft.net>
8886
8887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
8888 upper 32-bits of the length value in %o2 since we use branch-on-register
8889 tests which consider the entire 64-bit register.
8890
5d41d91a
L
88912012-10-06 H.J. Lu <hongjiu.lu@intel.com>
8892
8893 * string/test-strstr.c (check2): Add a test for page boundary.
8894
3baddb72
DM
88952012-10-05 David S. Miller <davem@davemloft.net>
8896
8897 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
8898 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
8899 file.
8900 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8901 sysdep_routines.
8902 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8903 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
8904 and bzero when HWCAP_SPARC_CRYPTO is present.
8905
9cee5585
L
89062012-10-05 H.J. Lu <hongjiu.lu@intel.com>
8907
d7e0dab9
L
8908 [BZ #14602]
8909 * string/test-strstr.c (check2): New function.
8910 (test_main): Call check2.
8911
03759f47
L
8912 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
8913 and bug-strchr1.
8914 * string/bug-strcasestr1.c (do_test): Moved to ...
8915 * string/test-strcasestr.c (check1): Here. New function.
8916 (do_one_test): Break out result checking code into ...
8917 (check_result): This. New function.
8918 (do_one_test): Call check_result.
8919 (test_main): Call check1.
8920 * string/bug-strchr1.c (do_test): Moved to ...
8921 * string/test-strchr.c (check1): Here. New function.
8922 (do_one_test): Break out result checking code into ...
8923 (check_result): This. New function.
8924 (do_one_test): Call check_result.
8925 (test_main): Call check1.
8926 * string/bug-strstr1.c (main): Moved to ...
046f153e 8927 * string/test-strstr.c (check1): Here. New function.
03759f47
L
8928 (do_one_test): Break out result checking code into ...
8929 (check_result): This. New function.
8930 (do_one_test): Call check_result.
8931 (test_main): Call check1.
8932 * string/bug-strcasestr1.c: Removed.
8933 * string/bug-strchr1.c: Likewise.
8934 * string/bug-strstr1.c: Likewise.
8935
53cea63e
L
8936 * elf/Makefile (dl-routines): Add hwcaps.
8937 * elf/dl-support.c (_dl_important_hwcaps): Removed.
8938 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
8939 (_dl_important_hwcaps): Moved to ...
8940 * elf/dl-hwcaps.c: Here. New file.
8941 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
8942
9cee5585 8943 [BZ #14557]
bb859b06
L
8944 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
8945 if IS_IN_rtld isn't defined.
8946
9cee5585
L
8947 * elf/dl-support.c (_dl_sysinfo_map): New.
8948 Include "get-dynamic-info.h" and "setup-vdso.h".
8949 (_dl_non_dynamic_init): Call setup_vdso.
8950 * elf/dynamic-link.h: Don't include <assert.h>.
8951 (elf_get_dynamic_info): Moved to ...
8952 * elf/get-dynamic-info.h: Here. New file.
8953 * elf/dynamic-link.h: Include "get-dynamic-info.h".
8954 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
8955 * elf/setup-vdso.h: Here. New file.
8956 * elf/rtld.c: Include "setup-vdso.h".
8957 (dl_main): Call setup_vdso.
8958
23c31b76
JM
89592012-10-05 Joseph Myers <joseph@codesourcery.com>
8960
28234b07
JM
8961 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
8962 creal in comment listing functions tested. List finite, isinf,
8963 isnan, isless, islessequal, isgreater, isgreaterequal,
8964 islessgreater, isunordered, lgamma_r and pow10 as functions and
8965 macros not tested. Mention which functions not tested are aliases
8966 for other functions. Fix typo. Note that signs of NaNs are not
8967 tested.
8968
23c31b76
JM
8969 * scripts/config.guess: Update from config.git.
8970 * scripts/config.sub: Likewise.
8971
9043e228
RM
89722012-10-04 Roland McGrath <roland@hack.frob.com>
8973
8974 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
8975 * misc/madvise.c (madvise): Renamed to __madvise.
8976 Make madvise a weak alias.
8977 * include/sys/mman.h: Declare __madvise.
8978 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
8979 * sysdeps/unix/syscalls.list
8980 (madvise): Make __madvise the strong name, and madvise a weak alias.
8981 * sysdeps/unix/sysv/linux/syscalls.list
8982 (madvise, mmap): Remove redundant entries.
8983 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
8984 * malloc/malloc.c (mtrim): Likewise.
8985 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
8986
f57f8055
RM
89872012-10-03 Roland McGrath <roland@hack.frob.com>
8988
8989 * sysdeps/mach/hurd/dl-cache.c: File removed.
8990 * config.h.in (USE_LDCONFIG): New #undef.
8991 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
8992 * configure: Regenerated.
8993 * elf/Makefile (dl-routines): Add dl-cache only under
8994 [$(use-ldconfig) = yes].
8995 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
8996 cache on [USE_LDCONFIG].
8997 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
8998 [USE_LDCONFIG].
8999 * elf/rtld.c (dl_main): Likewise.
9000
5bb0c10a
PT
90012012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9002
9003 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9004 _SC_LEVEL4_CACHE_LINESIZE.
9005
010188c6
RM
90062012-10-03 Roland McGrath <roland@hack.frob.com>
9007
9008 * sysdeps/unix/bsd/confstr.h: File removed.
9009
b6c5ec07
AO
90102012-10-02 Alexandre Oliva <aoliva@redhat.com>
9011
9012 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9013 sys/sdt-config.h.
9014
408223d4
RM
90152012-10-02 Roland McGrath <roland@hack.frob.com>
9016
9017 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9018 Make 'mapoff' field ElfW(Off) rather than off_t.
9019
bb9510dc
DL
90202012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9021
fc997c6e
DL
9022 * nscd/Makefile: Remove nscd-cflags and all its users.
9023 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9024 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9025
bb9510dc
DL
9026 [BZ #10631]
9027 * malloc.c (malloc_printerr): Clarify error message.
9028
05699367
L
90292012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9030
9031 [BZ #14648]
9032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9033 Set bit_FMA_Usable if FMA is supported.
9034 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9035 macro.
9036 (bit_FMA4_Usable): Updated.
9037 (index_FMA_Usable): New macro.
9038 (CPUID_FMA): Likewise
9039 (HAS_FMA): Defined with bit_FMA_Usable.
9040
51367701
RM
90412012-10-01 Roland McGrath <roland@hack.frob.com>
9042
9043 * bits/types.h (__swblk_t): Type removed.
9044 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9045 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9046 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9047 (__SWBLK_T_TYPE): Likewise.
9048 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9049 (__SWBLK_T_TYPE): Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9051 (__SWBLK_T_TYPE): Likewise.
9052 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9053 (__SWBLK_T_TYPE): Likewise.
9054
4d57bf63 90552012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9056 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9057
9058 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9059 (xdr_mapname): Use YPMAXMAP as maxsize.
9060 (xdr_peername): Use YPMAXPEER as maxsize.
9061 (xdr_keydat): Use YPAXRECORD as maxsize.
9062 (xdr_valdat): Use YPMAXRECORD as maxsize.
9063
93c65d43
RM
90642012-10-01 Roland McGrath <roland@hack.frob.com>
9065
497a03d6
RM
9066 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9067
93c65d43
RM
9068 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9069 * csu/init-first.c: ... here.
9070 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9071 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9072 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9073 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9074 * sysdeps/i386/init-first.c: File removed.
9075 * sysdeps/sh/init-first.c: File removed.
9076
bec749fd
JM
90772012-10-01 Joseph Myers <joseph@codesourcery.com>
9078
9079 [BZ #14645]
9080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9081 if x * y might underflow to zero and z is zero.
9082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9084 * math/libm-test.inc (min_subnorm_value): New variable.
9085 (fma_test): Add more tests.
9086 (fma_test_towardzero): Likewise.
9087 (fma_test_downward): Likewise
9088 (fma_test_upward): Likewise.
9089 (initialize): Set min_subnorm_value.
9090
8ec5b013
JM
90912012-09-29 Joseph Myers <joseph@codesourcery.com>
9092
9093 [BZ #14638]
9094 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9095 0 + 0.
9096 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9097 mode for addition resulting in exact zero.
9098 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9099 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9100 exact 0 + 0.
9101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9103 * math/libm-test.inc (fma_test): Add more tests.
9104 (fma_test_towardzero): New function.
9105 (fma_test_downward): Likewise.
9106 (fma_test_upward): Likewise.
9107 (main): Call the new functions.
9108
b1fa802e
DM
91092012-09-28 David S. Miller <davem@davemloft.net>
9110
9111 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9112
d3b9fd9e
RM
91132012-09-28 Roland McGrath <roland@hack.frob.com>
9114
ea4d37b3
RM
9115 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9116 instead of SIGALRM.
9117
ac51c949
RM
9118 * sysdeps/gnu/_G_config.h: Moved to ...
9119 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9120 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9121 * sysdeps/generic/_G_config.h: ... here.
9122
28c195f7
RM
9123 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9124
848917f9
RM
9125 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9126
6bacf05b
RM
9127 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9128 Conditionalize target on [libnss_test1.so-version].
9129
91363dbb
RM
9130 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9131
cc87f7d8
RM
9132 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9133 (elfobjdir): Move out of conditionals.
9134
b1c608fe
RM
9135 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9136 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9137 (__nss_lookup_function): Conditionalize label remove_from_tree on
9138 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9139
1d9a6d96
DM
91402012-09-28 David S. Miller <davem@davemloft.net>
9141
9142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9143 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9144 file.
9145 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9146 sysdep_routines.
9147 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9149 when HWCAP_SPARC_CRYPTO is present.
9150
72581615
PT
91512012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9152
9153 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9154
715a900c
JL
91552012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9156
9157 [BZ #6530]
9158 * stdio-common/vfprintf.c (process_string_arg): Revert
9159 2000-07-22 change.
9160
91612011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9162
9163 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9164 for testcase.
9165 * stdio-common/tst-sprintf.c: Include <locale.h>
9166 (main): Test sprintf's handling of incomplete multibyte
9167 characters.
9168
9bac1d86
L
91692012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9170
9171 * elf/dl-runtime.c (VERSYMIDX): Removed.
9172 * elf/dl-version.c (VERSYMIDX): Likewise.
9173 * elf/do-rel.h (VERSYMIDX): Likewise.
9174 (VALIDX): Likewise.
9175 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9176 * elf/rtld.c (VALIDX): Likewise.
9177 (ADDRIDX): Likewise.
9bac1d86
L
9178 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9179 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9180 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9181 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9182 (VALIDX): Likewise.
9183 (ADDRIDX): Likewise.
9bac1d86 9184
b31606c0
PT
91852012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9186
9187 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9188
11541177
JL
91892012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9190
9191 [BZ #11438]
9192 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9193 to global scope.
9194 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9195 addresses are in the same scope as 192.0.2/24.
9196 * posix/gai.conf: Document new scope table defaults.
9197
adb26fae
SP
91982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9199
9200 [BZ #5298]
9201 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9202 for ftell. Compute offsets from write pointers instead.
9203 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9204
4573c6b0
SP
92052012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9206
9207 [BZ #14543]
9208 * libio/Makefile (tests): New test case tst-fseek.
9209 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9210 combination works in wide mode.
9211 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9212 state when the external buffer state changes.
9213
aa9bbfe6
DM
92142012-09-27 David S. Miller <davem@davemloft.net>
9215
9216 [BZ #14376]
9217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9218 pass reloc->r_addend in as the 'high' argument to
9219 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9220
784421e7
DM
9221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9222
c39bc8b8
PT
92232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9224
9225 * rt/tst-aio2.c: Include <pthread.h>.
9226 * rt/tst-aio3.c: Likewise.
9227
1ccc2399
SE
92282012-09-27 Steve Ellcey <sellcey@mips.com>
9229
9230 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9231
31ed4153
L
92322012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9233
25f5f885
L
9234 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9235 contents on [SHARED].
31ed4153 9236
b7bfe116
MP
92372012-09-26 Marek Polacek <polacek@redhat.com>
9238
9239 [BZ #14530]
9240 [BZ #13741]
9241 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9242 for C++ and GCC <4.3 as well as for non GCC compilers.
9243
43c4edba
MT
92442012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9245
9246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9247
6a1bf82f
RM
92482012-09-25 Roland McGrath <roland@hack.frob.com>
9249
9250 * Makefile.in (all, install): Declare with .PHONY.
9251 Reported by Michael Hope <michael.hope@linaro.org>.
9252
8ad11b9a
TMQMF
92532012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9254
9255 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9256 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9257 system header.
9258 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9259 Likewise.
9260 (sydep_routines): Add the new and the internal functions.
9261 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9262 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9264 (GLIBC_2.17): Add the new function.
9265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9266 (GLIBC_2.17): Likewise.
9267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9268 (GLIBC_2.17): Likewise.
9269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9270 (GLIBC_2.17): Likewise.
9271 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9272
7e2fca8d
AM
92732012-09-25 Alan Modra <amodra@gmail.com>
9274
9275 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9276 Add release barrier before setting once_control to say
9277 initialisation is done. Add hints on lwarx. Use macro in
9278 place of isync.
9279 (clear_once_control): Add release barrier.
9280
b87c4b24
JM
92812012-09-25 Joseph Myers <joseph@codesourcery.com>
9282
d032e0d2
JM
9283 [BZ #13629]
9284 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9285 specially.
9286 * math/s_clog10.c (__clog10): Likewise.
9287 * math/s_clog10f.c (__clog10f): Likewise.
9288 * math/s_clog10l.c (__clog10l): Likewise.
9289 * math/s_clogf.c (__clogf): Likewise.
9290 * math/s_clogl.c (__clogl): Likewise.
9291 * math/Makefile (libm-calls): Add x2y2m1.
9292 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9293 (__x2y2m1): Likewise.
9294 (__x2y2m1l): Likewise.
9295 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9296 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9299 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9300 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9301 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9302 * sysdeps/i386/fpu/libm-test-ulps: Update.
9303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9304
b87c4b24
JM
9305 [BZ #14621]
9306 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9307 int as type of variable DEPTH.
9308 (glob): Use size_t instead of int as type of variables NEWCOUNT
9309 and OLD_PATHC.
9310
6d3bf199
LD
93112012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9312
22bf5c17
LD
9313 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9314 Add s_sincosf-sse2.
9315 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9316 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9317 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9318 macros for using routine as __sincosf_ia32.
9319 Use macro for function declaration and weak_alias.
9320 * sysdeps/i386/fpu/libm-test-ulps: Update.
9321
9322 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9324
9325 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9326 subnormal argument.
9327 * math/s_cexpf.c (__cexpf): Likewise.
9328 * math/s_csinf.c (__csinf): Likewise.
9329 * math/s_csinhf.c (__csinhf): Likewise.
9330 * math/s_ctanf.c (__ctanf): Likewise.
9331 * math/s_ctanhf.c (__ctanhf): Likewise.
9332 * math/s_ccosh.c (__ccoshf): Likewise.
9333 * math/s_cexp.c (__cexpl): Likewise.
9334 * math/s_csin.c (__csin): Likewise.
9335 * math/s_csinh.c (__csinh): Likewise.
9336 * math/s_ctan.c (__ctan): Likewise.
9337 * math/s_ctanh.c (ctanh): Likewise.
9338 * math/s_ccoshl.c (__ccoshl): Likewise.
9339 * math/s_cexpl.c (__cexpl): Likewise.
9340 * math/s_csinl.c (__csinl): Likewise.
9341 * math/s_csinhl.c (__csinhl): Likewise.
9342 * math/s_ctanl.c (__ctanl): Likewise.
9343 * math/s_ctanhl.c (__ctanhl): Likewise.
9344
203e5603
JM
93452012-09-25 Joseph Myers <joseph@codesourcery.com>
9346
9347 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9348 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9349 (_IO_off_t): Define to __off_t, not _G_off_t.
9350 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9351 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9352 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9353 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9354 type of __dummy and __dummy2 fields.
9355 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9356 (_G_ssize_t): Likewise.
9357 (_G_off_t): Likewise.
9358 (_G_pid_t): Likewise.
9359 (_G_uid_t): Likewise.
9360 (_G_wchar_t): Likewise.
9361 (_G_wint_t): Likewise.
9362 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9363 (_G_ssize_t): Likewise.
9364 (_G_off_t): Likewise.
9365 (_G_pid_t): Likewise.
9366 (_G_uid_t): Likewise.
9367 (_G_wchar_t): Likewise.
9368 (_G_wint_t): Likewise.
9369 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9370 (_G_ssize_t): Likewise.
9371 (_G_off_t): Likewise.
9372 (_G_pid_t): Likewise.
9373 (_G_uid_t): Likewise.
9374 (_G_wchar_t): Likewise.
9375 (_G_wint_t): Likewise.
9376
9fab36eb
SP
93772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9378
9379 * malloc/arena.c: Include malloc-sysdep.h.
9380 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9381 is sufficient to shrink the heap or an unmap is needed.
9382 * sysdeps/generic/malloc-sysdep.h: New file. Define
9383 new function check_may_shrink_heap.
9384 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9385 new function check_may_shrink_heap.
9386
2b4f00d1
SP
93872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9388
9389 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9390 comments.
9391
9a9028b1
DL
93922012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9393
57c69bef
DL
9394 * catgets/test-gencat.sh: Add "set -e".
9395 * elf/tst-pathopt.sh: Likewise.
9396 * grp/tst_fgetgrent.sh: Likewise.
9397 * iconvdata/run-iconv-test.sh: Likewise.
9398 * intl/tst-gettext.sh: Likewise.
9399 * intl/tst-gettext2.sh: Likewise.
9400 * intl/tst-gettext4.sh: Likewise.
9401 * intl/tst-gettext6.sh: Likewise.
9402 * intl/tst-translit.sh: Likewise.
9403 * io/ftwtest-sh: Likewise.
9404 * libio/test-freopen.sh: Likewise.
9405 * malloc/tst-mtrace.sh: Likewise.
9406 * posix/globtest.sh: Likewise.
9407 * posix/tst-getconf.sh: Likewise.
9408 * posix/wordexp-tst.sh: Likewise.
9409 * stdio-common/tst-printf.sh: Likewise.
9410 * stdio-common/tst-unbputc.sh: Likewise.
9411 * stdlib/tst-fmtmsg.sh: Likewise.
9412 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9413 * catgets/Makefile: Do not specify -e option when running
9414 testsuite shell scripts.
9415 * elf/Makefile: Likewise.
9416 * grp/Makefile: Likewise.
9417 * iconvdata/Makefile: Likewise.
9418 * intl/Makefile: Likewise.
9419 * io/Makefile: Likewise.
9420 * libio/Makefile: Likewise.
9421 * malloc/Makefile: Likewise.
9422 * posix/Makefile: Likewise.
9423 * stdio-common/Makefile: Likewise.
9424 * stdlib/Makefile: Likewise.
9425 * sysdeps/x86_64/Makefile: Likewise.
9426
9a9028b1
DL
9427 * io/ftwtest-sh: Add copyright header.
9428 * posix/globtest.sh: Likewise.
9429 * posix/tst-getconf.sh: Likewise.
9430 * posix/wordexp-tst.sh: Likewise.
9431 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9432
ced6f16e
L
94332012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9434
94b32c39
L
9435 [BZ #13679]
9436 * Makeconfig (+link): Defined as $(+link-static) if
9437 $(build-shared) isn't yes.
9438 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9439 isn't yes.
9440 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9441
189e935b
L
9442 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9443
ced6f16e
L
9444 [BZ #14562]
9445 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9446 new chunk size with MALLOC_ALIGN_MASK.
9447
a9f8e53a
JM
94482012-09-24 Joseph Myers <joseph@codesourcery.com>
9449
9450 [BZ #5044]
9451 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9452 <rounding-mode.h>.
9453 (__printf_fphex): Determine rounding using get_rounding_mode and
9454 round_away.
9455 * stdio-common/tst-printf-round.c (struct hex_test): New
9456 structure.
9457 (hex_tests): New variable.
9458 (test_hex_in_one_mode): New function.
9459 (do_test): Also run tests for hex float output.
9460
43153109
JM
94612012-09-21 Joseph Myers <joseph@codesourcery.com>
9462
9463 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9464 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9465 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9466 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9467 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9468 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9469 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9470 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9471
8a26625d
JM
94722012-09-20 Joseph Myers <joseph@codesourcery.com>
9473
9474 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9475 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9476 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9477 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9478
f3fd569c
DL
94792012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9480
9481 [BZ #14579]
9482 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9483 mode only.
9484 * elf/tst-rtld-load-self.sh: New test.
9485 * elf/Makefile: Run it.
9486
63bbedd4
JM
94872012-09-18 Joseph Myers <joseph@codesourcery.com>
9488
9489 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9490 (tst-writev-ENV): Remove.
9491 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9492
626f8b6a
CM
94932012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9494
9495 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9496
b7aaa4d6
JM
94972012-09-17 Joseph Myers <joseph@codesourcery.com>
9498
9499 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9500 unconditional.
9501 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9502 Likewise.
9503 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9504 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9505 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9506 Likewise.
9507
65513990
L
95082012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9509
9510 [BZ #14587]
9511 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9512 * config.make.in (have-cpp-asm-debuginfo): Removed.
9513 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9514 * configure: Regenerated.
9515
784761be
JM
95162012-09-14 Joseph Myers <joseph@codesourcery.com>
9517
9518 [BZ #5044]
9519 * stdio-common/printf_fp.c: Include <stdbool.h> and
9520 <rounding-mode.h>.
9521 (___printf_fp): Determine rounding using get_rounding_mode and
9522 round_away.
9523 * stdio-common/tst-printf-round.c: New file.
9524 * stdio-common/Makefile (tests): Add tst-printf-round.
9525 (link-libm): New variable.
9526 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9527
9503345f
L
95282012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9529
9530 [BZ #14576]
9531 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9532 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9533 Likewise.
9534 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9535 Likewise.
9536
ad35fc00
JM
95372012-09-13 Joseph Myers <joseph@codesourcery.com>
9538
9539 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9540 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9541 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9542 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9543
6c9b0f68
JM
95442012-09-12 Joseph Myers <joseph@codesourcery.com>
9545
9546 [BZ #14518]
9547 * include/rounding-mode.h: New file.
9548 * sysdeps/generic/get-rounding-mode.h: Likewise.
9549 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9550 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9551 (MAX_VALUE): New macro.
9552 (MIN_VALUE): Likewise.
9553 (overflow_value): New function.
9554 (underflow_value): Likewise.
9555 (round_and_return): Use overflow_value and underflow_value to
9556 determine return values in overflow and underflow cases. Use
9557 round_away to determine rounding depending on rounding mode.
9558 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9559 determine return values in overflow and underflow cases.
9560 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9561 (struct test_results): New structure.
9562 (struct test): Use struct test_results to store expected results
9563 for all rounding modes.
9564 (TEST): Include expected results for all rounding modes.
9565 (test_in_one_mode): New function.
9566 (do_test): Use test_in_one_mode to compute and check results.
9567 Check results for all rounding modes.
9568 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9569 $(link-libm).
9570
19fcedd5
AM
95712012-12-09 Allan McRae <allan@archlinux.org>
9572
1e9d84cd 9573 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9574
8bbfd2f1
JM
95752012-09-11 Joseph Myers <joseph@codesourcery.com>
9576
9577 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9578 (_G_int32_t): Likewise.
9579 (_G_uint16_t): Likewise.
9580 (_G_uint32_t): Likewise.
9581 (_G_HAVE_BOOL): Likewise.
9582 (_G_HAVE_ATEXIT): Likewise.
9583 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9584 (_G_HAVE_IO_FILE_OPEN): Likewise.
9585 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9586 (_G_int32_t): Likewise.
9587 (_G_uint16_t): Likewise.
9588 (_G_uint32_t): Likewise.
9589 (_G_HAVE_BOOL): Likewise.
9590 (_G_HAVE_ATEXIT): Likewise.
9591 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9592 (_G_HAVE_IO_FILE_OPEN): Likewise.
9593 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9594 (_G_int32_t): Likewise.
9595 (_G_uint16_t): Likewise.
9596 (_G_uint32_t): Likewise.
9597 (_G_HAVE_BOOL): Likewise.
9598 (_G_HAVE_ATEXIT): Likewise.
9599 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9600 (_G_HAVE_IO_FILE_OPEN): Likewise.
9601
b1dc5912
L
96022012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9603
9604 * csu/libc-tls.c: Update copyright years.
9605
0e886ef9
JM
96062012-09-10 Joseph Myers <joseph@codesourcery.com>
9607
28361c5e
JM
9608 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9609 [!_G_USING_THUNKS]: Remove conditional code.
9610 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9611 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9612
0e886ef9
JM
9613 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9614 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9615 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9616 (_G_VTABLE_LABEL_PREFIX): Likewise.
9617 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9618 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9619 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9620 (_G_VTABLE_LABEL_PREFIX): Likewise.
9621 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9622 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9623 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9624 (_G_VTABLE_LABEL_PREFIX): Likewise.
9625 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9626
bcba7aa2
L
96272012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9628
9629 * libio/Makefile: Include ../Makeconfig before tests.
9630 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9631 only if $(build-shared) is yes.
9632
06585ee8
L
9633 * iconv/gconv_db.c: Update copyright years.
9634
80ccd52c
LD
96352012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9636
9637 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9638 unwind info if defined PIC. Fix special cases description.
9639 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9640
9641 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9642 DP_HI_MASK entry.
9643 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9644
691bc9c1
L
96452012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9646
3d9b46b3
L
9647 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9648
de2139a9
L
9649 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9650 is NULL.
9651
5ca78dd0
L
9652 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9653 (LDLIBS-tst-chk4): This.
9654 (LDFLAGS-tst-chk5): Renamed to ...
9655 (LDLIBS-tst-chk5): This.
9656 (LDFLAGS-tst-chk6): Renamed to ...
9657 (LDLIBS-tst-chk6): This.
9658 (LDFLAGS-tst-lfschk4): Renamed to ...
9659 (LDLIBS-tst-lfschk4): This.
9660 (LDFLAGS-tst-lfschk5): Renamed to ...
9661 (LDLIBS-tst-lfschk5): This.
9662 (LDFLAGS-tst-lfschk6): Renamed to ...
9663 (LDLIBS-tst-lfschk6): This.
9664
691bc9c1
L
9665 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9666 on $(common-objpfx)soversions.mk.
9667
65cafb1c
JM
96682012-09-07 Joseph Myers <joseph@codesourcery.com>
9669
9670 [BZ #10014]
9671 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9672 example host name.
9673
c78ab094
SP
96742012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9675
9676 * malloc/arena.c (arena_get_retry): New function that gets
9677 another arena for the caller to try its request on.
9678 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9679 current arena cannot fulfill the request.
9680 (__libc_memalign): Likewise.
9681 (__libc_memalign): Likewise.
9682 (__libc_pvalloc): Likewise.
9683 (__libc_calloc): Likewise.
9684
01f49f59
JT
96852012-09-05 John Tobey <john.tobey@gmail.com>
9686
9687 [BZ #13542]
9688 * manual/arith.texi (Operations on Complex): Fix description
9689 of carg branch cut.
9690
4c23fed5
JM
96912012-09-06 Joseph Myers <joseph@codesourcery.com>
9692
1d3c8572
JM
9693 [BZ #10014]
9694 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9695 host name.
9696
4c23fed5
JM
9697 [BZ #10038]
9698 * manual/memory.texi (Memory): Make order of menu items match
9699 order of sections.
9700
04570aaa
L
97012012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9702
9703 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9704 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9705 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9706
b80af2f4
L
97072012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9708
9709 * csu/libc-tls.c (static_dtv): Renamed to ...
9710 (_dl_static_dtv): This. Make it global.
9711 (_dl_initial_dtv): Removed.
9712 (__libc_setup_tls): Updated.
9713 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9714 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9715 DL_INITIAL_DTV.
9716
2abe9f15
PM
97172012-09-06 Petr Machata <pmachata@redhat.com>
9718
9719 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9720 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9721 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9722 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9723
0948c3af
L
97242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9725
9726 [BZ #14545]
9727 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9728 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9729 freeing dtv[-1].
9730
a5055ad1
L
97312012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9732
9733 [BZ #14544]
9734 * Makeconfig (link-static-before-libc): Replace $(+prector)
9735 with $(+prectorT).
9736 (link-static-after-libc): Replace $(+postctor) with
9737 $(+postctorT).
9738 (link-bounded): Replace $(+prector)/$(+postctor) with
9739 $(+prectorT)/$(+postctorT).
9740 (+prectorT): New macro.
9741 (+postctorT): Likewise.
9742
ed8c2ecd
JM
97432012-09-06 Joseph Myers <joseph@codesourcery.com>
9744
9745 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9746 (round_str): Handle values above the maximum for IBM long double
9747 as inexact.
9748 * stdlib/tst-strtod-round.c (tests): Regenerated.
9749
14c996c8
AK
97502012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9751
9752 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9753 assembler flag.
9754 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9755 zarch_nohighgprs around the zarch optimized routines.
9756 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9757 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9758 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9759 for zarch.
9760
430d6ce6
DM
97612012-09-05 David S. Miller <davem@davemloft.net>
9762
9763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9764
ff04dda4
DM
9765 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9766 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9767 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9768 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9769 entries.
9770
24d4e01b
AO
97712012-09-05 Alexandre Oliva <aoliva@redhat.com>
9772
9773 * malloc/arena.c: Fold copyright years.
9774 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9775
61d58174
AO
97762012-09-05 Alexandre Oliva <aoliva@redhat.com>
9777
9778 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9779
20196a5e
AO
97802012-09-05 Alexandre Oliva <aoliva@redhat.com>
9781
9782 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9783
5c447383
AO
97842012-09-05 Alexandre Oliva <aoliva@redhat.com>
9785
9786 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9787 change internal state upon failure.
9788
fad64255
AO
97892012-09-05 Alexandre Oliva <aoliva@redhat.com>
9790
9791 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9792 * malloc/memusage.c (mmap): Likewise.
9793 (mmap64, mremap): Likewise. Adjust name in comment.
9794
1ffb8c90
SP
97952012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9796
9797 * libio/fileops.c: Fix typos in comments.
9798 * libio/oldfileops.c: Likewise.
9799 * libio/wfileops.c: Likewise.
9800
6ef9cc37
SP
98012012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9802
9803 [BZ #1349]
9804 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9805 (tst-malloc-usable-ENV): Set environment for test case.
9806 * malloc/hooks.c (malloc_check_get_size): New function to get
9807 requested size.
9808 * malloc/malloc.c (musable): Use malloc_check_get_size.
9809 * malloc/tst-malloc-usable.c: New test case.
9810
4d038ae3
AS
98112012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9812
9813 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9814
c4e85184
AM
98152012-09-05 Allan McRae <allan@archlinux.org>
9816
b9dafc56 9817 [BZ #13966]
c4e85184
AM
9818 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9819 determine header location.
9820 * configure: Regenerated.
9821
e1343020
AS
98222012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9823
9824 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9825 float format.
9826 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9827 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9828 format.
e1343020
AS
9829 (test): Regenerate.
9830
0a9f1987
DM
98312012-09-04 David S. Miller <davem@davemloft.net>
9832
9833 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9834 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9835 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9836
29237804
FW
98372012-09-04 Florian Weimer <fweimer@redhat.com>
9838
9839 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9840 failures.
9841
edb3cb88
FW
9842 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9843
60160d83
JM
98442012-09-04 Joseph Myers <joseph@codesourcery.com>
9845
9846 [BZ #9914]
9847 * libio/iogetdelim.c: Include <limits.h>.
9848 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9849 + len + 1 would overflow.
9850
bcd6c8dc
AJ
98512012-09-03 Andreas Jaeger <aj@suse.de>
9852
9853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9854 * sysdeps/i386/fpu/libm-test-ulps: Update.
9855
4ffffbd2
LD
98562012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9857
9858 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9859 Add s_sinf-sse2, s_conf-sse2.
9860
9861 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9862 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9863 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9864 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9865
9866 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9867 for using routine as __sinf_ia32.
9868 Use macro for function declaration and weak_alias.
9869 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9870 for using routine as __cosf_ia32.
9871 Use macro for function declaration and weak_alias.
9872
9873 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9874 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9875
9876 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9877 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9878 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9879
9880 * math/libm-test.inc (cos_test): Add more test cases.
9881 (sin_test): Likewise.
9882 (sincos_test): Likewise.
9883
511fa286
AK
98842012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9885
9886 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9887 (IFUNC_RESOLVE): Make pointers to the specialized implementations
9888 hidden.
9889 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9890
5f30cfec
L
98912012-09-02 H.J. Lu <hongjiu.lu@intel.com>
9892
9893 [BZ #14538]
9894 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
9895 first element of the GOT.
9896 (elf_machine_load_address): Return the difference between
9897 the runtime address of _DYNAMIC and elf_machine_dynamic ().
9898
0786794f
AM
98992012-09-01 Allan McRae <allan@archlinux.org>
9900
5f30cfec
L
9901 [BZ #13412]
9902 * configure.in (AWK): Require gawk version 3.0 or later.
9903 * configure: Regenerated.
0786794f 9904
26889eac
JM
99052012-09-01 Joseph Myers <joseph@codesourcery.com>
9906
9907 * sysdeps/unix/sysv/linux/kernel-features.h
9908 (__ASSUME_POSIX_CPU_TIMERS): Remove.
9909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9910 [__NR_clock_getres]: Make code unconditional.
9911 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
9912 (clock_getcpuclockid): Remove code left unreachable by removal of
9913 conditionals.
9914 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
9915 code unconditional.
9916 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9918 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
9919 Make code unconditional.
9920 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
9921 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9922 * sysdeps/unix/sysv/linux/clock_settime.c
9923 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
9924 conditional code.
9925 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
9926 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
9927
d22e28b0
L
99282012-08-29 H.J. Lu <hongjiu.lu@intel.com>
9929
9930 [BZ #14476]
9931 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
9932 scripts/test-installation.pl.
9933
9934 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
9935 and $ld_so_version if it is set.
9936
050af9c4
SP
99372012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9938
9939 [BZ #14516]
9940 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
9941 failure if reading from procfs failed.
9942 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
9943
ad845c0b
JM
99442012-08-27 Joseph Myers <joseph@codesourcery.com>
9945
9946 * sysdeps/unix/sysv/linux/kernel-features.h
9947 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
9948 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9949 Remove conditional code.
9950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9951 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
9952 Remove conditional code.
9953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9954 * sysdeps/unix/sysv/linux/i386/fxstat.c
9955 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9957 * sysdeps/unix/sysv/linux/i386/fxstatat.c
9958 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9960 * sysdeps/unix/sysv/linux/i386/lxstat.c
9961 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
9962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9963 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
9964 Remove conditional code.
9965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9966 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
9967 Remove conditional code.
9968 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9969 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
9970 <kernel-features.h>.
9971 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
9972 Remove.
9973 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
9974 Remove conditional code.
9975 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
9976 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
9977 Remove conditional.
9978
5dbf56af
MF
99792012-08-27 Mike Frysinger <vapier@gentoo.org>
9980
9981 [BZ #5400]
9982 * NEWS: Add fixed bug number.
9983
d6e70f43
JM
99842012-08-27 Joseph Myers <joseph@codesourcery.com>
9985
7efb4737
JM
9986 [BZ #14519]
9987 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
9988 underflowing exponent in case of negative sign.
9989 * stdlib/tst-strtod-round-data: Add more tests.
9990 * stdlib/tst-strtod-round.c (tests): Regenerated.
9991
af92131a
JM
9992 [BZ #3479]
9993 * stdlib/strtod_l.c (NDIG): Remove.
9994 (HEXNDIG): Likewise.
9995 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
9996 smallest representable value.
9997 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
9998 lie within an exact representation of 1/2 ulp of the result.
9999 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10000 unconditionally.
10001 (TENS_P9_IDX): Define unconditionally.
10002 (TENS_P9_SIZE): Likewise.
10003 (TENS_P10_IDX): Likewise.
10004 (TENS_P10_SIZE): Likewise.
10005 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10006 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10007 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10008 entries for 10^2^13 and 10^2^14.
10009 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10010 (TENS_P13_IDX): Define.
10011 (TENS_P13_SIZE): Likewise.
10012 (TENS_P14_IDX): Likewise.
10013 (TENS_P14_SIZE): Likewise.
10014 (_fpioconst_pow10): Change array size to
10015 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10016 unconditional.
10017 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10018 1024]: Add entries for 10^2^13 and 10^2^14.
10019 [LAST_POW10 > _LAST_POW10]: Remove #error.
10020 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10021 (_fpioconst_pow10): Change array size to
10022 FPIOCONST_POW10_ARRAY_SIZE.
10023 * stdlib/gen-fpioconst.c: New file.
10024 * stdlib/gen-tst-strtod-round.c: Likewise.
10025 * stdlib/tst-strtod-round-data: Likewise.
10026 * stdlib/tst-strtod-round.c: Likewise.
10027 * stdlib/Makefile (tests): Add tst-strtod-round.
10028
d6e70f43
JM
10029 [BZ #14459]
10030 * stdlib/strtod_l.c: Include <stdint.h>.
10031 (NDEBUG): Do not define.
10032 (round_and_return): Change EXPONENT parameter to type intmax_t.
10033 Rearrange calculations to avoid internal overflow possibilities.
10034 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10035 Rearrange calculations to avoid internal overflow possibilities.
10036 Assert that number fits inside MPNSIZE limbs.
10037 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10038 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10039 calculations and add assertions to avoid internal overflow
10040 possibilities. Add casts to avoid signed/unsigned operations.
10041 * stdlib/tst-strtod-overflow.c: New file.
10042 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10043
1f529f7d
MP
100442012-08-25 Marek Polacek <polacek@redhat.com>
10045
10046 * time/time.h: Fix some typos in comments.
10047
59a629f1
RM
100482012-08-23 Roland McGrath <roland@hack.frob.com>
10049
10050 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10051 * posix/tst-rfc3484-2.c: Likewise.
10052 * posix/tst-rfc3484-3.c: Likewise.
10053
d3bafbc9
SM
100542012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10055
10056 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10057 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10058
4efcc022
JM
100592012-08-23 Joseph Myers <joseph@codesourcery.com>
10060
10061 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10062 #include of fxstatat64.c.
10063
3cc3ef96
RM
100642012-08-22 Roland McGrath <roland@hack.frob.com>
10065
f04e2132
RM
10066 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10067 * shadow/getspent_r.c: Likewise.
10068 * shadow/getspnam.c: Likewise.
10069 * shadow/getspnam_r.c: Likewise.
10070 * gshadow/getsgent.c: Likewise.
10071 * gshadow/getsgent_r.c: Likewise.
10072 * gshadow/getsgnam.c: Likewise.
10073 * gshadow/getsgnam_r.c: Likewise.
10074 * inet/getnetbyad.c: Likewise.
10075 * inet/getnetbyad_r.c: Likewise.
10076 * inet/getnetbynm.c: Likewise.
10077 * inet/getnetbynm_r.c: Likewise.
10078 * inet/getnetent.c: Likewise.
10079 * inet/getnetent_r.c: Likewise.
10080 * inet/getproto.c: Likewise.
10081 * inet/getproto_r.c: Likewise.
10082 * inet/getprtent.c: Likewise.
10083 * inet/getprtent_r.c: Likewise.
10084 * inet/getprtname.c: Likewise.
10085 * inet/getprtname_r.c: Likewise.
10086 * inet/getrpcbyname.c: Likewise.
10087 * inet/getrpcbyname_r.c: Likewise.
10088 * inet/getrpcbynumber.c: Likewise.
10089 * inet/getrpcbynumber_r.c: Likewise.
10090 * inet/getrpcent.c: Likewise.
10091 * inet/getrpcent_r.c: Likewise.
10092 * inet/getaliasent.c: Likewise.
10093 * inet/getaliasent_r.c: Likewise.
10094 * inet/getaliasname.c: Likewise.
10095 * inet/getaliasname_r.c: Likewise.
10096 * nscd/getgrgid_r.c: Likewise.
10097 * nscd/getgrnam_r.c: Likewise.
10098 * nscd/gethstbyad_r.c: Likewise.
10099 * nscd/gethstbynm3_r.c: Likewise.
10100 * nscd/getpwnam_r.c: Likewise.
10101 * nscd/getpwuid_r.c: Likewise.
10102 * nscd/getsrvbynm_r.c: Likewise.
10103 * nscd/getsrvbypt_r.c: Likewise.
10104 * nscd/gai.c: Likewise.
10105
c53d909c
RM
10106 * configure.in (build_nscd): New substituted variable, set
10107 by --disable-build-nscd and defaults to $use_nscd.
10108 * configure: Regenerated.
10109 * config.make.in (build-nscd): New substituted variable.
10110 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10111 Change conditional to require [$(build-nscd) = yes] as well.
10112 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10113
3cc3ef96
RM
10114 [BZ# 13696]
10115 * configure.in (use_nscd): New substituted variable, set by
10116 --disable-nscd. If enabled, define USE_NSCD.
10117 * configure: Regenerated.
10118 * config.h.in: Add USE_NSCD.
10119 * config.make.in (use-nscd): New substituted variable.
10120 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10121 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10122 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10123 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10124 (CFLAGS-getgrnam_r.c): Likewise.
10125 (CFLAGS-initgroups.c): Likewise.
10126 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10127 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10128 Variables removed.
10129 * inet/getnetgrent_r.c
10130 (nscd_setnetgrent): New function, broken out of ...
10131 (setnetgrent): ... here. Call it.
10132 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10133 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10134 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10135 * nscd/Makefile (routines, aux): Move definitions after include of
10136 Makeconfig. Conditionalize on [$(use-nscd) != no].
10137 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10138 Conditionalize on [USE_NSCD].
10139 (is_nscd, nscd_init_cb): Likewise.
10140 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10141 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10142 * nss/nss_db/db-init.c: Likewise.
10143 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10144 [USE_NSCD].
10145 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10146 (make_request): Use it.
10147 (cache_valid_p): New function.
10148 (__check_pf): Use it.
10149 * NEWS: Add item for --disable-nscd.
10150
07e51550
DL
101512012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10152
10153 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10154 to support sed >= 4.2.1-20-ga9bf076.
10155 * configure: Regenerated.
10156
35a5b08b
RM
101572012-08-22 Roland McGrath <roland@hack.frob.com>
10158
10159 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10160 Conditionalize whole body on [IREL].
10161
8479f23a
JL
101622012-08-22 Jeff Law <law@redhat.com>
10163
10164 [BZ #14505]
10165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10166 if the family is PF_UNSPEC.
10167
48da0b21
MF
101682012-08-22 Mike Frysinger <vapier@gentoo.org>
10169
10170 * Makerules (lib-version): Rename from V.
10171 (install-lib-nosubdir): Change V to lib-version.
10172
15d0da8c
WS
101732012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10174
10175 [BZ #14252]
10176 * powerpc32/power6/wcschr.c: New file.
10177 * powerpc32/power6/wcscpy.c: New file.
10178 * powerpc32/power6/wcsrchr.c: New file.
10179 * powerpc64/power6/wcschr.c: New file.
10180 * powerpc64/power6/wcscpy.c: New file.
10181 * powerpc64/power6/wcsrchr.c: New file.
10182
bcca0895
MK
101832012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10184
10185 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10186 (two_way_short_needle): Use it.
5a4aaa33
RM
10187 * string/strstr.c (AVAILABLE1_USES_J): Define.
10188 * string/strcasestr.c: Likewise.
99677e57
MK
10189
10190 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10191 array references.
10192 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10193
400726de
MK
10194 [BZ #11607]
10195 * NEWS: Add an entry.
10196 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10197 define their defaults.
10198 (two_way_short_needle): Detect end-of-string on-the-fly.
10199 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10200 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10201 * string/bug-strcasestr1.c: New test.
10202 * string/Makefile: Run it.
10203
20a71f2c
MK
102042012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10205
10206 [BZ #11607]
10207 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10208 the first character.
10209
21ad0558
RM
102102012-08-21 Roland McGrath <roland@hack.frob.com>
10211
10212 * csu/elf-init.c (__libc_csu_irel): Function removed.
10213 * csu/libc-start.c (apply_irel): New function.
10214 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10215
0e1d9911
JM
102162012-08-21 Joseph Myers <joseph@codesourcery.com>
10217
10218 * sysdeps/unix/sysv/linux/kernel-features.h
10219 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10220 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10221 <kernel-features.h>.
10222 [__NR_fadvise64_64]: Make code unconditional.
10223 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10224 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10225 !__NR_fadvise64_64)]: Likewise.
10226 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10227 !__NR_fadvise64_64))]: Likewise.
10228 [__NR_fadvise64]: Make code unconditional.
10229 [!__NR_fadvise64]: Remove conditional code.
10230 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10231 <kernel-features.h>.
10232 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10233 unconditional.
10234 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10235 conditional code.
10236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10237 not include <kernel-features.h>.
10238 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10239 unconditional.
10240 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10241 conditional code.
10242 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10243 include <kernel-features.h>.
10244 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10245 unconditional.
10246 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10247 conditional code.
10248
14a50c9d
WS
102492012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10250
10251 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10252 slight instruction rearrangements per scrollpipe analysis.
10253 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10254
c0f4faf0
RM
102552012-08-20 Roland McGrath <roland@hack.frob.com>
10256
696da859
RM
10257 * manual/syslog.texi (syslog; vsyslog, closelog):
10258 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10259 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10260
c0f4faf0
RM
10261 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10262 DSOCAPS to match condition on defining it.
10263
348363b2
JM
102642012-08-20 Joseph Myers <joseph@codesourcery.com>
10265
a35cbf28
JM
10266 * sysdeps/unix/sysv/linux/kernel-features.h
10267 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10269 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10270 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10272 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10273 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10275 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10276 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10277
445f7ecd
JM
10278 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10279 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10280
348363b2
JM
10281 * sysdeps/unix/sysv/linux/kernel-features.h
10282 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10283 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10284 unconditional.
10285 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10286 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10287 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10288 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10289 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10290 Make code unconditional.
10291 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10292 (__mmap64) [!__NR_mmap2]: Likewise.
10293 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10294 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10295 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10296 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10297 [__NR_mmap2]: Make code unconditional.
10298 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10299 (__mmap64) [!__NR_mmap2]: Likewise.
10300
bc5bc0e5
AK
103012012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10302
10303 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10304
88d506de
AJ
103052012-08-18 Andreas Jaeger <aj@suse.de>
10306
10307 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10308
493387d2
MF
103092012-08-18 Mike Frysinger <vapier@gentoo.org>
10310
10311 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10312 * include/unistd.h (__have_sock_cloexec): Likewise.
10313 (__have_pipe2): Likewise.
10314 (__have_dup3): Likewise.
10315
a277af22
MF
103162012-08-18 Mike Frysinger <vapier@gentoo.org>
10317
10318 [BZ #9685]
10319 * include/unistd.h (__have_pipe2): Change define into an extern int.
10320 (__have_dup3): Likewise.
10321 * socket/have_sock_cloexec.c: Include fcntl.h.
10322 (__have_pipe2): New variable.
10323 (__have_dup3): Likewise.
10324
fdab8fd3
MF
103252012-08-17 Mike Frysinger <vapier@gentoo.org>
10326
10327 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10328
31035e80
MP
103292012-08-17 Marek Polacek <polacek@redhat.com>
10330
10331 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10332 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10333
3bd9e993
RM
103342012-08-17 Roland McGrath <roland@hack.frob.com>
10335
c91c505f
RM
10336 * configure.in: Add AC_SUBST for sysheaders.
10337 * configure: Regenerated.
10338 * config.make.in (sysheaders): New substituted variable.
10339
7c6f9d53
RM
10340 * sysdeps/unix/mkfifo.c: Moved ...
10341 * sysdeps/posix/mkfifo.c: ... here.
10342 * sysdeps/unix/mkfifoat.c: Moved ...
10343 * sysdeps/posix/mkfifoat.c: ... here.
10344
10345 * sysdeps/unix/utime.c: Moved ...
10346 * sysdeps/posix/utime.c: ... here.
10347
10348 * sysdeps/unix/time.c: Moved ...
10349 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10350 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10351 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10352
10353 * sysdeps/unix/nice.c: Moved ...
10354 * sysdeps/posix/nice.c: ... here.
10355
10356 * sysdeps/unix/alarm.c: Moved ...
10357 * sysdeps/posix/alarm.c: ... here.
10358
3bd9e993
RM
10359 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10360
d1f09384
JL
103612012-08-17 Jeff Law <law@redhat.com>
10362
10363 * intl/Makefile (codeset_mo): New variable.
10364 ($(codeset_mo)): New target.
10365 (tst-codeset.out): Depend on that. Remove explicit rule.
10366 (tst-gettext3.out, tst-gettext5.out): Likewise.
10367 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10368 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10369 * intl/tst-codeset.sh: Remove.
10370 * intl/tst-gettext3.sh: Likewise.
10371 * intl/tst-gettext5.sh: Likewise.
10372
2ae1ae5c
RM
103732012-08-17 Roland McGrath <roland@hack.frob.com>
10374
c31fdb83
RM
10375 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10376 * sysdeps/unix/syscalls.list: ... here.
10377
a0844057
RM
10378 * sysdeps/posix/getaddrinfo.c
10379 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10380 (gaiconf_init, gaiconf_reload): Use them.
10381 [!_STATBUF_ST_NSEC]
10382 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10383 Define using time_t rather than struct timespec.
10384
750c1f2a
RM
10385 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10386 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10387 Macros removed.
10388 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10389 [!NO_THREADS].
10390 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10391 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10392 Likewise.
10393
2ae1ae5c
RM
10394 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10395 __libc_cleanup_push argument.
10396
e66a42f5
RM
10397 * bits/param.h: New file.
10398 * misc/sys/param.h: New file.
10399 * include/sys/param.h: New file.
10400 * misc/Makefile (headers): Add bits/param.h.
10401 * sysdeps/generic/sys/param.h: File removed.
10402 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10403 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10404 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10405 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10406
b7c08a66
RM
10407 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10408 last change.
10409
b2e1c562
RM
10410 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10411 [_IO_MTSAFE_IO].
10412 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10413 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10414 New macros.
10415
c75ccd4c
RM
10416 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10417 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10418 rather than -D_IO_MTSAFE_IO conditionally.
10419 * stdio-common/Makefile (CPPFLAGS): Likewise.
10420 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10421 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10422 Use $(libio-mtsafe).
10423 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10424 of -D_IO_MTSAFE_IO.
10425 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10426 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10427 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10428 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10429 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10430 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10431 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10432 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10433 (CFLAGS-fread_u_chk.c): Likewise.
10434 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10435 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10436 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10437 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10438 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10439 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10440 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10441 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10442 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10443
10444 * libio/Makefile: Test [$(libc-reentrant) = yes]
10445 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10446
10447 * Makeconfig
10448 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10449 * sysdeps/pthread/configure: File removed.
10450 * sysdeps/pthread/Makeconfig: New file.
10451 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10452 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10453
d9195db8
GB
104542012-08-16 Gary Benson <gbenson@redhat.com>
10455
10456 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10457 unmapping the first object in a namespace.
10458
86466cd9
RM
104592012-08-16 Roland McGrath <roland@hack.frob.com>
10460
10461 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10462 (__internal_setnetgrent): ... this. Add internal_function to
10463 definition. Add libc_hidden_def.
10464 (setnetgrent): Update caller.
10465 (internal_endnetgrent): Renamed to ...
10466 (__internal_endnetgrent): ... this. Add internal_function to
10467 definition. Add libc_hidden_def.
10468 (endnetgrent): Update caller.
10469 (internal_getnetgrent_r): Renamed to ...
10470 (__internal_getnetgrent_r): ... this. Add internal_function to
10471 definition. Add libc_hidden_def.
10472 (__getnetgrent_r): Update caller.
10473 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10474
c3c8283c
JM
104752012-08-16 Joseph Myers <joseph@codesourcery.com>
10476
10477 * stdlib/longlong.h: Update from GCC.
10478
db1ee0a8
RM
104792012-08-16 Roland McGrath <roland@hack.frob.com>
10480
10481 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10482 on _QL, which is set by umul_ppmm but never used.
10483 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10484 variables, which are set by GMP macros but never used.
10485 * stdio-common/_itowa.c (_itowa): Likewise.
10486 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10487 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10488
30f69637
CD
104892012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10490
10491 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10492 struct La_sh_regs is not constant.
10493 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10494 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10495 and struct La_sparc64_regs are not constant.
10496
93a78ac4
JM
104972012-08-16 Joseph Myers <joseph@codesourcery.com>
10498
10499 * sysdeps/unix/sysv/linux/kernel-features.h
10500 (__ASSUME_POSIX_TIMERS): Remove.
10501 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10503 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10504 Make code unconditional.
10505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10506 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10507 Make code unconditional.
10508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10509 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10510 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10512 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10513 Make code unconditional.
10514 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10515 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10516 (__libc_missing_posix_timers): Remove.
10517
dd924cd7
RM
105182012-08-15 Roland McGrath <roland@hack.frob.com>
10519
4b4f2771
RM
10520 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10521 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10522
601c888b
RM
10523 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10524
176790a7
RM
10525 * elf/dl-sym.c: Include <stdlib.h>.
10526
329bc018
RM
10527 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10528 constants, which avoids warnings in 32-bit builds.
10529
e04e272d
RM
10530 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10531 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10532
952bf94a
RM
10533 * misc/lseek.c: File moved to ...
10534 * io/lseek.c: ... here.
10535
7c99b50a
RM
10536 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10537
dd924cd7
RM
10538 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10539 shifting LEN more than 31 bits at once.
10540
b3f479a8
LD
105412012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10542
10543 [BZ #14195]
8c4ae0d4
RM
10544 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10545 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10546 * string/test-strncasecmp.c (check1): Renamed to...
10547 (bz12205): ...this.
10548 (bz14195): Add new testcase for two empty input strings and N > 0.
10549 (test_main): Call new testcase, adapt for renamed function.
10550
9c55864e
AJ
105512012-08-15 Andreas Jaeger <aj@suse.de>
10552
10553 [BZ #14090]
10554 * crypt/md5test2.c: New test, based on test supplied by Serge
10555 Belyshev <belyshev@depni.sinp.msu.ru>.
10556 * crypt/Makefile (xtests): Add md5test-giant..
10557 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10558
02dcb6c5
PE
105592012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10560
10561 [BZ #14090]
10562 * crypt/md5.c (md5_process_block): Don't assume the buffer
10563 length is less than 2**32.
10564 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10565 length is less than 2**64.
10566
a3f95dcc
RM
105672012-08-15 Roland McGrath <roland@hack.frob.com>
10568
be75d758
RM
10569 * string/str-two-way.h: Include <sys/param.h>.
10570 (MAX): Macro removed.
10571
7312ca90
RM
10572 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10573 Move #define and #undef of memmove to just before and after
10574 including <string.h>.
10575
9a0a5486
RM
10576 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10577 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10578 and after including <string.h>. Move declarations of
10579 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10580 to before #include "string/memmove.c".
10581
67cc348d
RM
10582 * include/dirent.h: Declare __getdirentries.
10583
a3f95dcc
RM
10584 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10585 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10586
ca98e171
MF
105872012-08-14 Mike Frysinger <vapier@gentoo.org>
10588
10589 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10590 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10591 * sysdeps/i386/configure: Regenerated.
10592 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10593 STABS_CURRENT_FILE, and STABS_FUN.
10594 (END): Remove call to STABS_FUN_END.
10595 (STABS_CURRENT_FILE1): Delete.
10596 (STABS_CURRENT_FILE): Likewise.
10597 (STABS_FUN): Likewise.
10598 (STABS_FUN_END): Likewise.
10599 (STABS_FUN2): Likewise.
10600 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10601 * sysdeps/x86_64/configure: Regenerated.
10602
5908bf46
RM
106032012-08-14 Roland McGrath <roland@hack.frob.com>
10604
10605 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10606 * elf/dl-lookup.c: Likewise.
5908bf46 10607
f2c05b9e
JM
106082012-08-14 Joseph Myers <joseph@codesourcery.com>
10609
10610 * sysdeps/unix/sysv/linux/kernel-features.h
10611 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10612 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10613 unconditionally.
10614 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10615 unconditionally.
10616 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10617 condition on __ASSUME_CLONE_THREAD_FLAGS.
10618
e11f5155
AJ
106192012-08-14 Andreas Jaeger <aj@suse.de>
10620
10621 * sysdeps/i386/fpu/libm-test-ulps: Update.
10622
51a9ba86
MK
106232012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10624
2fdd4f78
AJ
10625 * include/atomic.h (atomic_exchange_and_add): Split into ...
10626 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10627 New atomic macros.
51a9ba86 10628
ba6cba9e
MT
106292012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10630
10631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10632
42443a47
JL
106332012-08-13 Jeff Law <law@redhat.com>
10634
10635 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10636 null byte in the output string.
10637
121dce05
JM
106382012-08-10 Joseph Myers <joseph@codesourcery.com>
10639
10640 * sysdeps/unix/sysv/linux/kernel-features.h
10641 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10642 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10643 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10644 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10645 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10646 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10647 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10648
bf51f568
JL
106492012-08-09 Jeff Law <law@redhat.com>
10650
10651 [BZ #13939]
10652 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10653 When avoid_arena is set, don't retry in the that arena. Pick the
10654 next one, whatever it might be.
10655 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10656 (arena_lock): Pass in new parameter to arena_get2.
10657 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10658 arena_get2.
10659 (__libc_malloc): Unify retrying after main arena failure with
10660 __libc_memalign version.
10661 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10662
f85fa270
L
106632012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10664
10665 [BZ #14166]
10666 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10667 to __redirect_strstr.
10668 (__strstr_sse42): Use typeof __redirect_strstr.
10669 (__strstr_ia32): Likewise.
10670 (__libc_strstr): New prototype.
10671 (strstr): Renamed to ...
10672 (__libc_strstr): This.
10673 (strstr): New strong alias of __libc_strstr.
10674 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10675 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10676 __redirect_time.
10677 Include <time.h>.
10678 (__libc_time): New prototype.
10679 (time_ifunc): Replace time with __libc_time.
10680 (time): New strong alias and hidden definition of __libc_time.
10681 (__GI_time): Remove strong alias.
10682 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10683 Include <stddef.h>.
10684 (memmove): Redefined to __redirect_memmove.
10685 (__memmove_sse2): Use typeof __redirect_memmove.
10686 (__memmove_ssse3): Likewise.
10687 (__memmove_ssse3_back): Likewise.
10688 (__libc_memmove): New prototype.
10689 (memmove): Renamed to ...
10690 (__libc_memmove): This.
10691 (memmove): New strong alias of __libc_memmove.
10692
33b4a91e
MS
106932012-08-08 Mark Salter <msalter@redhat.com>
10694
10695 * elf/elf.h
10696 (R_MN10300_TLS_GD): Define.
10697 (R_MN10300_TLS_LD): Likewise.
10698 (R_MN10300_TLS_LDO): Likewise.
10699 (R_MN10300_TLS_GOTIE): Likewise.
10700 (R_MN10300_TLS_IE): Likewise.
10701 (R_MN10300_TLS_LE): Likewise.
10702 (R_MN10300_TLS_DTPMOD): Likewise.
10703 (R_MN10300_TLS_DTPOFF): Likewise.
10704 (R_MN10300_TLS_TPOFF): Likewise.
10705 (R_MN10300_SYM_DIFF): Likewise.
10706 (R_MN10300_ALIGN): Likewise.
10707 (R_MN10300_NUM): Update.
10708
b36137f1
JM
107092012-08-08 Joseph Myers <joseph@codesourcery.com>
10710
10711 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10712 Remove.
10713
cdd915fd
RM
107142012-08-08 Roland McGrath <roland@hack.frob.com>
10715
a2433aac
RM
10716 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10717
cdd915fd
RM
10718 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10719 sysdeps/unix -> sysdeps/posix move.
10720 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10721
bf9b740a
AM
107222012-08-07 Allan McRae <allan@archlinux.org>
10723
10724 [BZ #14303]
10725 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10726 (SUNOS_CPP): Likewise.
10727 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10728 not found.
10729 (open_input): Call CPP using execvp.
10730
93df14ee
JM
107312012-08-07 Joseph Myers <joseph@codesourcery.com>
10732
10733 * sysdeps/unix/sysv/linux/kernel-features.h
10734 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10735 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10736 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10737 (__ASSUME_WAITID_SYSCALL): Likewise.
10738 * sysdeps/unix/sysv/linux/dl-execstack.c
10739 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10740 code unconditional.
10741 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10742 conditional code.
10743 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10744 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10745 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10746 code.
10747 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10748 unconditional.
10749 [__ASSUME_WAITID_SYSCALL]: Likewise.
10750 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10751
d34689de
RM
107522012-08-07 Roland McGrath <roland@hack.frob.com>
10753
a281decc
RM
10754 * sysdeps/unix/closedir.c: Renamed to ...
10755 * sysdeps/posix/closedir.c: ... here.
10756 * sysdeps/unix/dirfd.c: Renamed to ...
10757 * sysdeps/posix/dirfd.c: ... here.
10758 * sysdeps/unix/dirstream.h: Renamed to ...
10759 * sysdeps/posix/dirstream.h: ... here.
10760 * sysdeps/unix/fdopendir.c: Renamed to ...
10761 * sysdeps/posix/fdopendir.c: ... here.
10762 * sysdeps/unix/opendir.c: Renamed to ...
10763 * sysdeps/posix/opendir.c: ... here.
10764 * sysdeps/unix/readdir.c: Renamed to ...
10765 * sysdeps/posix/readdir.c: ... here.
10766 * sysdeps/unix/readdir_r.c: Renamed to ...
10767 * sysdeps/posix/readdir_r.c: ... here.
10768 * sysdeps/unix/rewinddir.c: Renamed to ...
10769 * sysdeps/posix/rewinddir.c: ... here.
10770 * sysdeps/unix/seekdir.c: Renamed to ...
10771 * sysdeps/posix/seekdir.c: ... here.
10772 * sysdeps/unix/telldir.c: Renamed to ...
10773 * sysdeps/posix/telldir.c: ... here.
10774 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10775 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10776 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10777 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10778
22895b47
RM
10779 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10780 * bits/fcntl.h: ... here.
10781
707a53b6
RM
10782 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10783 not 0.
10784 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10785 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10786 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10787 (struct flock): Move l_start, l_len to the beginning.
10788 Use __pid_t for l_pid.
10789 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10790 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10791 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10792 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10793 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10794 [__USE_LARGEFILE64] (struct flock64): New type.
10795 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10796
f0bd3e25
RM
10797 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10798 * bits/dirent.h: ... here.
10799
d34689de
RM
10800 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10801 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10802
6dad2c06
JM
108032012-08-07 Joseph Myers <joseph@codesourcery.com>
10804
10805 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10806 Change from 2.6.0 to 2.6.16.
10807 * sysdeps/unix/sysv/linux/configure: Regenerated.
10808 * sysdeps/unix/sysv/linux/kernel-features.h
10809 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10810 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10811 version.
10812 (__ASSUME_UTIMES): Likewise.
10813 (__ASSUME_CLONE_STOPPED): Remove.
10814 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10815 architectures, not kernel version.
10816 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10817 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10818 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10819 (__ASSUME_WAITID_SYSCALL): Likewise.
10820 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10821 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10822 * README: State 2.6.16 as minimum Linux kernel version. Do not
10823 refer to older versions.
10824
03af9520
RM
108252012-08-06 Roland McGrath <roland@hack.frob.com>
10826
8e49df1d
RM
10827 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10828 Define alphasort64 as an alias.
10829 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10830 Define versionsort64 as an alias.
10831 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10832 Define scandir64 as an alias.
10833 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10834 Define scandirat64 as an alias.
10835 * dirent/alphasort64.c (alphasort64):
10836 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10837 * dirent/versionsort64.c: Likewise.
10838 * dirent/scandir64.c: Likewise.
10839 * dirent/scandirat64.c: Likewise.
10840 * sysdeps/wordsize-64/alphasort.c: File removed.
10841 * sysdeps/wordsize-64/alphasort64.c: File removed.
10842 * sysdeps/wordsize-64/scandir.c: File removed.
10843 * sysdeps/wordsize-64/scandir64.c: File removed.
10844 * sysdeps/wordsize-64/scandirat.c: File removed.
10845 * sysdeps/wordsize-64/scandirat64.c: File removed.
10846 * sysdeps/wordsize-64/versionsort.c: File removed.
10847 * sysdeps/wordsize-64/versionsort64.c: File removed.
10848 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10849 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10850 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10851 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10852 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10853 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10854 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10855 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10856
10857 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10859 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10861 [defined __arch64__ || defined __sparcv9]
10862 (__INO_T_MATCHES_INO64_T): New macro.
10863 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10864 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10865 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10866 * sysdeps/unix/sysv/linux/bits/dirent.h
10867 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10868 (_DIRENT_MATCHES_DIRENT64): New macro.
10869
03af9520
RM
10870 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10871 Define lockf64 as an alias.
10872 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10873 Define fseeko64 as an alias.
10874 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10875 Define ftello64 as an alias.
10876 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10877 Define _IO_fgetpos64 and fgetpos64 as aliases.
10878 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10879 Define _IO_fsetpos64 and fsetpos64 as aliases.
10880 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10881 Conditionalize body on this.
10882 * libio/fseeko64.c: Likewise.
10883 * libio/ftello64.c: Likewise.
10884 * libio/iofgetpos64.c: Likewise.
10885 * libio/iofsetpos64.c: Likewise.
10886 * sysdeps/wordsize-64/lockf.c: File removed.
10887 * sysdeps/wordsize-64/lockf64.c: File removed.
10888 * sysdeps/wordsize-64/fseeko.c: File removed.
10889 * sysdeps/wordsize-64/fseeko64.c: File removed.
10890 * sysdeps/wordsize-64/ftello.c: File removed.
10891 * sysdeps/wordsize-64/ftello64.c: File removed.
10892 * sysdeps/wordsize-64/iofgetpos.c: File removed.
10893 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
10894 * sysdeps/wordsize-64/iofsetpos.c: File removed.
10895 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
10896 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
10897 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
10898 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
10899 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
10900 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
10901 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
10902 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
10903 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
10904 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
10905 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
10906
10907 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10908 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10909 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
10910 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10911 [defined __arch64__ || defined __sparcv9]
10912 (__OFF_T_MATCHES_OFF64_T): New macro.
10913 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10914 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
10915 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
10916 (__OFF_T_MATCHES_OFF64_T): New macro.
10917
c5757acd
L
109182012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10919
10920 * stdlib/secure-getenv.c (__secure_getenv): Replace
10921 GLIBC_2_16 with GLIBC_2_17.
10922
3a31811e
L
109232012-08-06 H.J. Lu <hongjiu.lu@intel.com>
10924
10925 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
10926 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
10927
faa2bccb
DM
109282012-08-03 David S. Miller <davem@davemloft.net>
10929
10930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10931
85fe1997
JM
109322012-08-03 Joseph Myers <joseph@codesourcery.com>
10933
10934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
10935 Remove.
10936 (__ASSUME_CORRECT_SI_PID): Likewise.
10937 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
10938 (__ASSUME_TMPFS_NAME): Likewise.
10939 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
10940 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
10941 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
10942 (HAVE_AUX_SECURE): Make definition unconditional.
10943 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
10944 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
10945
4f75b7a0
RM
109462012-08-03 Roland McGrath <roland@hack.frob.com>
10947
10948 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
10949 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
10950 * sysdeps/mach/hurd/eloop-threshold.h: New file.
10951 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10952 __eloop_threshold instead of SYMLOOP_MAX.
10953
10954 * sysdeps/generic/eloop-threshold.h: New file.
10955 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
10956 of MAXSYMLINKS.
10957 * elf/chroot_canon.c (chroot_canon): Likewise.
10958
7aab07e4
JM
109592012-08-03 Joseph Myers <joseph@codesourcery.com>
10960
10961 [BZ #13717]
10962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10963 Change to 2.6.0 everywhere.
10964 * sysdeps/unix/sysv/linux/configure: Regenerated.
10965 * sysdeps/unix/sysv/linux/kernel-features.h
10966 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
10967 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
10968 kernel versions.
10969 (__ASSUME_POSIX_TIMERS): Define unconditionally.
10970 (__ASSUME_FUTEX_REQUEUE): Remove.
10971 (__ASSUME_STATFS64): Define unconditionally.
10972 (__ASSUME_AT_SECURE): Likewise.
10973 (__ASSUME_CORRECT_SI_PID): Likewise.
10974 (__ASSUME_TGKILL): Define without depending on kernel version for
10975 i386.
10976 (__ASSUME_UTIMES): Likewise.
10977 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
10978 kernel version.
10979 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
10980 (__ASSUME_TMPFS_NAME): Likewise.
10981 * README: Update reference to Linux kernel versions.
10982
b67e9372
MP
109832012-08-02 Marek Polacek <polacek@redhat.com>
10984
1f529f7d 10985 [BZ# 14150]
b67e9372
MP
10986 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
10987 libc_cv_asm_type_prefix with %.
10988 * configure: Regenerated.
d2441631
RM
10989 * include/libc-symbols.h: Remove comment about
10990 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
10991 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
10992 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
10993 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
10994 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
10995 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
10996 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
10997 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
10998 * elf/tst-unique2mod1.c: Likewise.
10999 * elf/tst-unique1mod2.c: Likewise.
11000 * elf/tst-unique1mod1.c: Likewise.
11001 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11002 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11003 Replace ASM_TYPE_DIRECTIVE with .type.
11004 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11005 * sysdeps/i386/sysdep.h: Likewise.
11006 * sysdeps/x86_64/sysdep.h: Likewise.
11007 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11009 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11010 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11011 * sysdeps/powerpc/powerpc32/sysdep.h:
11012 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11013 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11014 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11015 * sysdeps/i386/fpu/e_powf.S: Likewise.
11016 * sysdeps/i386/fpu/e_expl.S: Likewise.
11017 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11018 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11019 * sysdeps/i386/fpu/e_pow.S: Likewise.
11020 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11021 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11022 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11023 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11024 * sysdeps/i386/fpu/e_log2.S: Likewise.
11025 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11026 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11027 * sysdeps/i386/fpu/e_powl.S: Likewise.
11028 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11029 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11030 * sysdeps/i386/fpu/e_logl.S: Likewise.
11031 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11032 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11033 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11034 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11035 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11036 * sysdeps/i386/fpu/e_log.S: Likewise.
11037 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11038 * sysdeps/i386/fpu/e_logf.S: Likewise.
11039 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11040 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11041 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11042 * sysdeps/i386/fpu/e_log10.S: Likewise.
11043 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11044 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11045 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11046 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11047 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11048 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11049 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11050 * sysdeps/i386/i686/strtok.S: Likewise.
11051 * sysdeps/i386/i386-mcount.S: Likewise.
11052 * sysdeps/i386/strtok.S: Likewise.
11053 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11054 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11055 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11056 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11057 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11058 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11059 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11060 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11061 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11062 * sysdeps/x86_64/_mcount.S: Likewise.
11063 * sysdeps/x86_64/strtok.S: Likewise.
11064 * sysdeps/sh/_mcount.S: Likewise.
11065
2747bf9a
RM
110662012-08-01 Roland McGrath <roland@hack.frob.com>
11067
11068 * libio/iofopen.c: Include <fcntl.h>.
11069 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11070 (_IO_fopen64, fopen64): Define as aliases.
11071 * libio/iofopen64.c: Include <fcntl.h>.
11072 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11073 Conditionalize body on this.
11074 * sysdeps/wordsize-64/iofopen.c: File removed.
11075 * sysdeps/wordsize-64/iofopen64.c: File removed.
11076
3fb791b8
MP
110772012-08-01 Marek Polacek <polacek@redhat.com>
11078
11079 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11080 Use dlfcn directly instead of a variable.
11081 (binfmt-subdir): Do not define.
11082 (dlfcn): Likewise.
11083
a9f1039f
JM
110842012-08-01 Joseph Myers <joseph@codesourcery.com>
11085
23bddc06
JM
11086 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11087 Remove all definitions.
11088 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11089 <kernel-features.h>.
11090 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11091 (miss_F_GETOWN_EX): Remove all definitions.
11092 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11093 macro definition.
11094 [!__ASSUME_FCNTL64]: Remove conditional code.
11095 [__ASSUME_FCNTL64]: Make code unconditional.
11096 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11097 <kernel-features.h>.
11098 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11099 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11100 (lockf64) [__NR_fcntl64]: Make code unconditional.
11101 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11102
a9f1039f
JM
11103 * sysdeps/unix/sysv/linux/kernel-features.h
11104 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11105 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11106 Make code unconditional.
11107 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11108 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11110 [__NR_vfork]: Make code unconditional.
11111 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11112 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11114 [__NR_vfork]: Make code unconditional.
11115 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11116 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11117
09c0ee5f
RM
111182012-08-01 Roland McGrath <roland@hack.frob.com>
11119
48aec5b9
RM
11120 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11121 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11122
cd97c966
RM
11123 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11124 Define mkstemp64 as an alias.
3f55550c
RM
11125 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11126 Define mkstemps64 as an alias.
cd97c966
RM
11127 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11128 Define mkostemp64 as an alias.
b8625cfc
RM
11129 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11130 Define mkostemps64 as an alias.
cd97c966
RM
11131 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11132 Conditionalize body on this.
11133 * misc/mkostemp64.c: Likewise.
b8625cfc 11134 * misc/mkostemps64.c: Likewise.
3f55550c 11135 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11136 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11137 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11138 * sysdeps/wordsize-64/mkostemp.c: File removed.
11139 * sysdeps/wordsize-64/mkstemp.c: File removed.
11140 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11141 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11142 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11143 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11144
09c0ee5f
RM
11145 [BZ #14138]
11146 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11147 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11148 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11149 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11150
11151 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11152 compat_symbol macros from <shlib-compat.h> rather than the underlying
11153 default_symbol_version and symbol_version macros, so that DEFAULT
11154 lines in shlib-versions are respected.
11155 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11156
7e66ee51
FW
111572012-08-01 Florian Weimer <fweimer@redhat.com>
11158
11159 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11160 Declare with warn_unused_result.
11161 (setgid, setregid, setegid, setresgid): Likewise.
11162 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11163 Likewise.
11164 * WUR-REPORT: Remove set*id functions.
11165
d2a54255
PT
111662012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11167
11168 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11169
7ecdb005
RM
111702012-07-31 Roland McGrath <roland@hack.frob.com>
11171
b4180a5e 11172 [BZ #10191]
789bd351
RM
11173 * include/sys/socket.h (__libc_accept, __libc_accept4):
11174 Add attribute_hidden.
11175 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11176
40ce302d
RM
11177 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11178 use of PTR_MANGLE.
11179 * inet/getnetgrent_r.c (setup): Likewise.
11180
7ecdb005
RM
11181 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11182
e2eabb2c
DM
111832012-07-31 David S. Miller <davem@davemloft.net>
11184
11185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11186
d0419dbf
JM
111872012-07-31 Joseph Myers <joseph@codesourcery.com>
11188
11189 [BZ #13629]
11190 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11191 value between 1.0 and 2.0 and smaller part has absolute value less
11192 than 1.0.
11193 * math/s_clog10.c (__clog10): Likewise.
11194 * math/s_clog10f.c (__clog10f): Likewise.
11195 * math/s_clog10l.c (__clog10l): Likewise.
11196 * math/s_clogf.c (__clogf): Likewise.
11197 * math/s_clogl.c (__clogl): Likewise.
11198 * math/libm-test.inc (clog_test): Add more tests.
11199 (clog10_test): Likewise.
11200 * sysdeps/i386/fpu/libm-test-ulps: Update.
11201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11202
2bc13872
FW
112032012-07-31 Florian Weimer <fweimer@redhat.com>
11204
11205 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11206 Exit with zero in case no suitable GID is found, and write a
11207 message to standard error.
11208
bea9b193
RM
112092012-07-30 Roland McGrath <roland@hack.frob.com>
11210
11211 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11212 rather than to 1.
11213 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11214 (MAXPATHLEN): Removed.
11215 (NOGROUP, NODEV): New macros.
11216 (setbit, clrbit, isset, isclr): New macros.
11217 (howmany, roundup, powerof2): New macros.
11218 (DEV_BSIZE): New macro.
11219
11220 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11221 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11222
11223 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11224 definition on [!__NO_LONG_DOUBLE_MATH].
11225
11226 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11227 PTR_MANGLE and PTR_DEMANGLE.
11228
11229 * socket/accept4.c (accept4): Rename to __libc_accept4.
11230 Define accept4 as a weak alias.
11231
11232 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11233 on [_DIRENT_HAVE_D_TYPE].
11234 * io/ftw.c (ftw_dir): Likewise.
11235
11236 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11237
11238 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11239
11240 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11241 Use the BSD numbers rather than the arbitrary ones we had.
11242 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11243 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11244 (SIGXCPU, SIGXFSZ): New macros.
11245 (_NSIG): Now 32.
11246
11247 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11248 initializer on [_LIBC_REENTRANT].
11249
11250 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11251 definitions inside [_POSIX_MAPPED_FILES].
11252
11253 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11254
11255 * dirent/opendir.c: Include <fcntl.h>.
11256
11257 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11258 (__libc_getspecific): Likewise.
11259 (__libc_key_create): Likewise.
11260
11261 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11262 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11263 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11264 (tmpfile64): Define as alias.
11265 * sysdeps/wordsize-64/tmpfile.c: File removed.
11266 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11267 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11268 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11269
11270 * stdio-common/vfscanf.c: Include <stdbool.h>.
11271 * nss/makedb.c: Likewise.
11272 * stdio-common/_i18n_number.h: Likewise.
11273 * argp/argp-help.c: Likewise.
11274 * posix/wordexp.c: Likewise.
11275 * sysdeps/posix/spawni.c: Likewise.
11276 * nss/nss_files/files-initgroups.c: Likewise.
11277 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11278 * nss/nss_files/files-initgroups.c: Likewise.
11279 * nss/nss_db/db-netgrp.c: Likewise.
11280 * nss/nss_db/db-initgroups.c: Likewise.
11281 * io/fchmodat.c: Include <sys/stat.h>.
11282
11283 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11284 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11285
11286 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11287 [HAVE_MMAP].
11288
11289 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11290 Add multiple inclusion protection.
11291
e5abc686
DM
112922012-07-27 David S. Miller <davem@davemloft.net>
11293
11294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11295
815e6fa3
GB
112962012-07-27 Gary Benson <gbenson@redhat.com>
11297
11298 [BZ #14298]
11299 * elf/rtld.c: Include <stap-probe.h>.
11300 (dl_main): Added static probes "init_start" and "init_complete".
11301 * elf/dl-load.c: Include <stap-probe.h>.
11302 (lose): Take new parameter "nsid".
11303 Added static probe "map_failed".
11304 (_dl_map_object_from_fd): Pass namespace id to lose.
11305 Added static probe "map_start".
11306 (open_verify): Pass namespace id to lose.
11307 * elf/dl-open.c: Include <stap-probe.h>.
11308 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11309 and "reloc_complete".
11310 * elf/dl-close.c: Include <stap-probe.h>.
11311 (_dl_close_worker): Added static probes "unmap_start" and
11312 "unmap_complete".
11313 * elf/rtld-debugger-interface.txt: New file documenting the above.
11314
9f98c16c
RM
113152012-07-26 Roland McGrath <roland@hack.frob.com>
11316
11317 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11318 rather than a string variable.
11319 * sunrpc/rpc_main.c (h_output): Likewise.
11320 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11321
f3c22df3
PT
113222012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11323
11324 * inet/check_native.c: New file.
11325
3129cfc6
JM
113262012-07-26 Joseph Myers <joseph@codesourcery.com>
11327
da865e95
JM
11328 [BZ #13629]
11329 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11330 if larger part has absolute value 1.0.
11331 * math/s_clog10.c (__clog10): Likewise.
11332 * math/s_clog10f.c (__clog10f): Likewise.
11333 * math/s_clog10l.c (__clog10l): Likewise.
11334 * math/s_clogf.c (__clogf): Likewise.
11335 * math/s_clogl.c (__clogl): Likewise.
11336 * math/libm-test.inc (clog_test): Add more tests.
11337 (clog10_test): Likewise.
11338 * sysdeps/i386/fpu/libm-test-ulps: Update.
11339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11340
3129cfc6
JM
11341 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11342 (pltexit): Likewise.
11343 (La_regs): Likewise.
11344 (La_retval): Likewise.
11345 (int_retval): Likewise.
11346 Update #error for removed macros to refer only to definitions in
11347 tst-audit.h.
11348 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11349 macro.
11350 (pltexit): Likewise.
11351 (La_regs): Likewise.
11352 (La_retval): Likewise.
11353 (int_retval): Likewise.
11354 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11355 macro.
11356 (pltexit): Likewise.
11357 (La_regs): Likewise.
11358 (La_retval): Likewise.
11359 (int_retval): Likewise.
11360 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11361 macro.
11362 (pltexit): Likewise.
11363 (La_regs): Likewise.
11364 (La_retval): Likewise.
11365 (int_retval): Likewise.
11366 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11367 macro.
11368 (pltexit): Likewise.
11369 (La_regs): Likewise.
11370 (La_retval): Likewise.
11371 (int_retval): Likewise.
11372 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11373 macro.
11374 (pltexit): Likewise.
11375 (La_regs): Likewise.
11376 (La_retval): Likewise.
11377 (int_retval): Likewise.
11378 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11379 macro.
11380 (pltexit): Likewise.
11381 (La_regs): Likewise.
11382 (La_retval): Likewise.
11383 (int_retval): Likewise.
11384 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11385 macro definitions in tst-audit.h.
11386 * sysdeps/i386/tst-audit.h: New file.
11387 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11388 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11389 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11390 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11391 * sysdeps/sh/tst-audit.h: Likewise.
11392 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11393 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11394 * sysdeps/x86_64/tst-audit.h: Likewise.
11395
bfc07087
AJ
113962012-07-26 Andreas Jaeger <aj@suse.de>
11397
b1b2aaf8
AJ
11398 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11399 ptrace.
11400
11401 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11402 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11403 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11404 PTRACE_O_MASK.
11405 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11406 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11407 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11408
bfc07087
AJ
11409 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11410 value.
11411
11412 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11413 _sigsys.
11414 (si_call_addr, si_syscall, si_arch): Define new macro.
11415 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11416 _sigsys.
11417 (si_call_addr, si_syscall, si_arch): Define new marcro.
11418 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11419 _sigsys.
11420 (si_call_addr, si_syscall, si_arch): Define new macro.
11421 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11422 _sigsys.
11423 (si_call_addr, si_syscall, si_arch): Define new macro.
11424
89b4b02f
JM
114252012-07-25 Joseph Myers <joseph@codesourcery.com>
11426
11427 [BZ #13717]
11428 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11429 Change to 2.4.21 where previously 2.4.1.
11430 * sysdeps/unix/sysv/linux/configure: Regenerated.
11431 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11432 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11433 Linux kernel version.
11434 (__ASSUME_STD_AUXV): Remove.
11435 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11436 kernel version.
11437 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11438 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11439 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11440 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11441 (__ASSUME_NETLINK_SUPPORT): Likewise.
11442 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11443 (__no_netlink_support): Remove conditional definition.
11444 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11445 Remove.
11446 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11447 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11448 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11449 (if_nameindex_ioctl): Remove.
11450 (if_nameindex_netlink): Do not handle __no_netlink_support.
11451 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11452 code.
11453 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11454 Remove conditional code.
11455 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11456 code.
11457 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11458 unconditional.
11459 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11460 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11461 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11462 Remove.
11463 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11464 [!__ASSUME_STD_AUXV]: Remove conditional code.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11466 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11467 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11469 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11470 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11471 code.
11472 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11474 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11475 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11476 conditional code.
11477 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11479 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11480 code.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11482 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11483 conditional code.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11485 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11486 code unconditional.
11487 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11488 conditional code.
11489 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11490 unconditional.
11491 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11492 conditional code.
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11494 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11495 unconditional.
11496 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11497 conditional code.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11499 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11500 code unconditional.
11501 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11502 conditional code.
11503 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11504 unconditional.
11505 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11506 conditional code.
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11508 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11509 code unconditional.
11510 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11511 conditional code.
11512 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11513 unconditional.
11514 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11515 conditional code.
11516
842a39cd
AS
115172012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11518
11519 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11520 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11521 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11522 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11523 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11524 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11525 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11526 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11527 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11528 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11529 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11530 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11531 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11532 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11534 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11535 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11537 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11538 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11539 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11540 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11542
84b3fd84
FW
115432012-07-25 Florian Weimer <fweimer@redhat.com>
11544
11545 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11546 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11547 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11548 Introduce __libc_secure_getenv.
0c7936d5
FW
11549 * stdlib/Versions (2.17): Add secure_getenv
11550 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11551 * stdlib/secure-getenv.c: Rename __secure_getenv to
11552 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11553 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11554 * stdlib/tst-secure-getenv.c: New.
11555 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11556 * manual/startup.texi (Environment Access): Document
11557 secure_getenv.
84b3fd84
FW
11558 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11559 __libc_secure_getenv.
11560 * inet/ruserpass.c (ruserpass): Likewise.
11561 * malloc/mtrace.c (mtrace): Likewise.
11562 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11563 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11564 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11565 * sysdeps/posix/tempname.c: Likewise. Evaluate
11566 HAVE_SECURE_GETENV.
11567 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11568 __secure_getenv to __libc_secure_getenv.
84b3fd84 11569 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11571 Likewise.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11573 Likewise.
11574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11576 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11581
56e49b71
JM
115822012-07-25 Joseph Myers <joseph@codesourcery.com>
11583
11584 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11585 (struct La_i86_retval): Likewise.
11586 (struct La_x86_64_regs): Likewise.
11587 (struct La_x86_64_retval): Likewise.
11588 (struct La_x32_regs): Likewise.
11589 (struct La_x32_retval): Likewise.
11590 (struct La_ppc32_regs): Likewise.
11591 (struct La_ppc32_retval): Likewise.
11592 (struct La_ppc64_regs): Likewise.
11593 (struct La_ppc64_retval): Likewise.
11594 (struct La_sh_regs): Likewise.
11595 (struct La_sh_retval): Likewise.
11596 (struct La_s390_32_regs): Likewise.
11597 (struct La_s390_32_retval): Likewise.
11598 (struct La_s390_64_regs): Likewise.
11599 (struct La_s390_64_retval): Likewise.
11600 (struct La_sparc32_regs): Likewise.
11601 (struct La_sparc32_retval): Likewise.
11602 (struct La_sparc64_regs): Likewise.
11603 (struct La_sparc64_retval): Likewise.
11604 (struct audit_ifaces): Remove architecture-specific pltenter and
11605 pltexit members.
11606 * sysdeps/i386/ldsodefs.h: New file.
11607 * sysdeps/powerpc/ldsodefs.h: Likewise.
11608 * sysdeps/s390/ldsodefs.h: Likewise.
11609 * sysdeps/sh/ldsodefs.h: Likewise.
11610 * sysdeps/sparc/ldsodefs.h: Likewise.
11611 * sysdeps/x86_64/ldsodefs.h: Likewise.
11612
354691b7
MP
116132012-07-25 Marek Polacek <polacek@redhat.com>
11614
11615 [BZ #6808]
11616 * math/libm-test.inc (yn_test): Add another test.
11617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11618 to ERANGE when the result is +-Inf.
11619 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11620 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11621 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11622 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11623
bf9e2071
JM
116242012-07-24 Joseph Myers <joseph@codesourcery.com>
11625
11626 * conform/data/time.h-data (NULL): Use macro-constant. Require
11627 equal to 0.
11628 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11629 clock_t.
11630 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11631
57633811
TS
116322012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11633
11634 * configure.in <sysdeps resolving>: Correct printing
11635 Implies_before.
11636 * configure: Regenerate.
11637
c23c33b0
TS
116382012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11639
11640 * math/w_ilogb.c: Include <limits.h>.
11641 * math/w_ilogbl.c: Likewise.
11642
b5982523
JM
116432012-07-20 Joseph Myers <joseph@codesourcery.com>
11644
11645 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11646 va_copy. Document allowing for unavailable va_copy only as
11647 pre-C99 compatibility.
11648 * manual/string.texi (Copying and Concatenation): Use va_copy
11649 instead of __va_copy in concat example.
11650
ac4ea442
PT
116512012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11652
11653 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11654 (__sendto): Use create_address_port. Initialize APORT and deallocate
11655 it if not null.
11656
f98eafbd
PT
11657 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11658 with O_NOLINK passed to __file_name_lookup.
11659
898c7aab
PT
11660 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11661 with O_NOLINK passed to __file_name_lookup.
11662
0ced335a
PT
11663 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11664 negative N or less than NGIDS.
11665
b3404dbd
PT
11666 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11667 type to string_t. Set ERANGE as errno and return it if NAME is not big
11668 enough. Use memcpy instead of strncpy.
11669
0f48659e
JM
116702012-07-20 Joseph Myers <joseph@codesourcery.com>
11671
11672 * elf/Makefile (check-data): Remove.
11673 (localplt.data): New vpath directive.
11674 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11675 instead of $(check-data).
11676 * scripts/data/localplt-generic.data: Move to ...
11677 * sysdeps/generic/localplt.data: ... here.
11678 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11679 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11680 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11682 ... here.
11683 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11685 ... here.
11686 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11688 ... here.
11689 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11691 ... here.
11692 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11694 ... here.
11695 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11697 ... here.
11698
d37cbdaa
AZ
116992012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11700
11701 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11702 PPC32 and PPC64 files.
11703 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11704 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11705
46f85fc2
AK
117062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11707
11708 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11709 __makecontext_ret to ...
11710 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11711 ... here and call exit if uc_link is NULL. New file.
11712 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11713 __makecontext_ret.S.
11714 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11715 __makecontext_ret to ...
11716 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11717 ... here and call exit if uc_link is NULL. New file.
11718 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11719 __makecontext_ret.S.
11720
08f43f9b
AK
117212012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11722
11723 * elf/elf.h (R_390_IRELATIVE): New definition.
11724 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11725 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11726 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11727 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11728 (elf_machine_lazy_rel): Likewise.
11729 * sysdeps/s390/dl-irel.h: New file.
11730 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11731 * sysdeps/s390/s390-64/memset.S: New asm code.
11732 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11733 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11734 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11735 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11736 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11737 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11738 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11739 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11740 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11741 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11742 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11743 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11744 * sysdeps/s390/s390-32/memset.S: New asm code.
11745 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11746
3b05db33
MP
117472012-07-17 Marek Polacek <polacek@redhat.com>
11748
11749 [BZ #14349]
11750 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11751 * sysdeps/s390/s390-64/configure.in: Likewise.
11752 * sysdeps/sparc/configure.in: Likewise.
11753 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11754 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11755 * sysdeps/i386/configure.in: Likewise.
11756 * sysdeps/x86_64/configure.in: Likewise.
11757 * sysdeps/sh/configure.in: Likewise.
11758 * sysdeps/s390/s390-32/configure: Regenerated.
11759 * sysdeps/s390/s390-64/configure: Likewise.
11760 * sysdeps/x86_64/configure: Likewise.
11761 * sysdeps/sh/configure: Likewise.
11762 * sysdeps/powerpc/powerpc64/configure: Likewise.
11763 * sysdeps/powerpc/powerpc32/configure: Likewise.
11764 * sysdeps/sparc/configure: Likwise.
11765 * sysdeps/i386/configure: Likewise.
11766
a66877c6
MP
11767 * elf/dl-open.c: Comment fixes.
11768
cfc82fd8
JM
117692012-07-17 Joseph Myers <joseph@codesourcery.com>
11770
bd29910a
JM
11771 * Makefile [CXX] (check-data): Remove.
11772 [CXX] (c++-types.data): New vpath directive.
11773 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11774 vpath. Do not allow for C++ type data being missing.
11775 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11776 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11777 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11778 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11779 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11780 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11781 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11783 ... here.
11784 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11786 ... here.
11787 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11789 ... here.
11790 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11792 ... here.
11793 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11795 ... here.
11796 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11798 ... here.
11799 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11801 ... here.
11802 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11804
cfc82fd8
JM
11805 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11806 definitions to architecture-specific files.
11807 (TLS_IE): Likewise.
11808 (TLS_LD): Likewise.
11809 (TLS_GD): Likewise.
11810 * sysdeps/i386/tls-macros.h: New file.
11811 * sysdeps/powerpc/tls-macros.h: Likewise.
11812 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11813 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11814 * sysdeps/sh/tls-macros.h: Likewise.
11815 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11816 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11817 * sysdeps/x86_64/tls-macros.h: Likewise.
11818
f7db3170
TS
118192012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11820
07cbfc23
TS
11821 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11822 zero value for regular exit case.
11823
f7db3170
TS
11824 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11825 (__start_context): Preserve zero value for regular exit case.
11826
dc97c227
TS
118272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11828 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11829
11830 * manual/setjmp.texi (setcontext): Clarify normal process
11831 termination when uc_link is the null pointer.
11832 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11833 exit call.
11834
d0cd7d02
AS
118352012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11836
11837 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11838 preprocessor. Test for each exception mask separately.
11839
dd318934
AJ
118402012-07-16 Andreas Jaeger <aj@suse.de>
11841
11842 * po/ru.po: Update from translation team.
11843
8048311a
JM
118442012-07-15 Joseph Myers <joseph@codesourcery.com>
11845
11846 * conform/data/string.h-data (NULL): Use macro-constant. Require
11847 equal to 0.
11848 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11849 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11850 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11851 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11852 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11853
b637d46e
AJ
118542012-07-13 Andreas Jaeger <aj@suse.de>
11855
11856 * po/fr.po: Update from translation team.
11857
541428fe
MP
118582012-07-12 Marek Polacek <polacek@redhat.com>
11859
11860 [BZ #14173]
11861 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11862 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11863 loop condition.
11864
ec332e94
JM
118652012-07-12 Joseph Myers <joseph@codesourcery.com>
11866
11867 [BZ #13717]
11868 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11869 Change to 2.4.1 where previously 2.4.0.
11870 * sysdeps/unix/sysv/linux/configure: Regenerated.
11871 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11872 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11873 version.
11874 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11875 (__ASSUME_AT_CLKTCK): Remove.
11876 (__ASSUME_AT_PAGESIZE): Likewise.
11877 (__ASSUME_AT_XID): Likewise.
11878 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11879 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11880 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11881 unconditionally.
11882 (HAVE_AUX_PAGESIZE): Likewise.
11883 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
11884 [__ASSUME_AT_CLKTCK]: Make code unconditional.
11885 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
11886
7b6e99be
JB
118872012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
11888
11889 [BZ #14307]
11890 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
11891 the temporary buffer used to invoke __gethostbyname2_r,
11892 __gethostbyaddr_r and gethostbyname4_r to make room for struct
11893 host_data / struct gaih_addrtuple.
11894 * resolv/nss_dns/dns-host.c (global scope): Move definition of
11895 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
11896 header file nss/nsswitch.h.
11897 * nss/nsswitch.h (global scope): Add definition of implementation
11898 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
11899 resolv/nss_dns/dns-host.c).
11900
608404eb
AJ
119012012-07-11 Andreas Jaeger <aj@suse.de>
11902
11903 * po/fr.po: Update from translation team.
11904
71220aca
AJ
11905 * po/sv.po: Update from translation team
11906 * po/fr.po: Another update from translation team.
11907
28cfe843
AZ
119082012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11909
11910 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
11911 for subnormals or multiply small sinh result by itself.
11912 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11914
6b90f981
DM
119152012-07-11 David S. Miller <davem@davemloft.net>
11916
11917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11918
c6825772
AS
119192012-07-10 Andreas Schwab <schwab@linux-m68k.org>
11920
11921 [BZ #14347]
11922 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
11923 (INTERNAL_MARK): Shift it here.
11924
7b8e0d49
MP
119252012-07-10 Marek Polacek <polacek@redhat.com>
11926
11927 [BZ #14151]
11928 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
11929 libc_cv_asm_global_directive with .globl.
11930 * configure: Regenerated.
11931 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
11932 with .globl.
11933 * sysdeps/i386/configure: Regenerated.
11934 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
11935 with .globl.
11936 * sysdeps/x86_64/configure: Regenerated.
11937 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
11938 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
11939 * elf/tst-unique2mod2.c: Likewise.
11940 * elf/tst-unique2mod1.c: Likewise.
11941 * elf/tst-unique1mod2.c: Likewise.
11942 * elf/tst-unique1mod1.c: Likewise.
11943 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11944 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11945 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11946 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11947 * sysdeps/mach/sysdep.h: Likewise.
11948 * sysdeps/i386/sysdep.h: Likewise.
11949 * sysdeps/i386/i386-mcount.S: Likewise.
11950 * sysdeps/x86_64/_mcount.S: Likewise.
11951 * sysdeps/x86_64/sysdep.h: Likewise.
11952 * sysdeps/sh/_mcount.S: Likewise.
11953 * sysdeps/sh/sysdep.h: Likewise.
11954 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
11955 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
11956 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
11957 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11958 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
11959 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
11960 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
11961 * locale/localeinfo.h: Likewise.
11962 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
11963 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
11964
6c55cda3
RM
119652012-07-09 Roland McGrath <roland@hack.frob.com>
11966
11967 [BZ #14336]
11968 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
11969 system".
11970 * manual/message.texi (The Uniforum approach): Likewise.
11971 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
11972 (glibc iconv Implementation): Likewise.
11973
638a572e
JM
119742012-07-09 Joseph Myers <joseph@codesourcery.com>
11975
11976 [BZ #14337]
11977 * math/s_clog.c (__clog): Avoid scaling a value down where that
11978 could result in underflow.
11979 * math/s_clog10.c (__clog10): Likewise.
11980 * math/s_clog10f.c (__clog10f): Likewise.
11981 * math/s_clog10l.c (__clog10l): Likewise.
11982 * math/s_clogf.c (__clogf): Likewise.
11983 * math/s_clogl.c (__clogl): Likewise.
11984 * math/libm-test.inc (clog_test): Add more tests.
11985 (clog10_test): Likewise.
11986 * sysdeps/i386/fpu/libm-test-ulps: Update.
11987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11988
261f4859
AS
119892012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11990
0abaf3e4
AS
11991 [BZ #14283]
11992 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
11993 by 7 not 8 to examine high bit of fractional part.
11994
261f4859
AS
11995 [BZ #14042]
11996 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
11997 for call to __mcount_internal.
11998 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
11999 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12000 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12001
f17ac40d
JM
120022012-07-06 Joseph Myers <joseph@codesourcery.com>
12003
9ad63c23
JM
12004 [BZ #14154]
12005 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12006 approximation for values within 0x1p-13f of an odd multiple of
12007 pi/4.
12008 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12009 exception. Add more tests.
12010 * sysdeps/i386/fpu/libm-test-ulps: Update.
12011
f17ac40d
JM
12012 [BZ #6778]
12013 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12014 inputs and return -1 for them. Do not check for +Inf in case not
12015 reachable for +Inf.
12016 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12017 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12018 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12019 and return -1 for them. Do not check for +Inf in case not
12020 reachable for +Inf.
12021 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12022 define.
12023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12024 and return -1 for them. Do not check for +Inf in case not
12025 reachable for +Inf.
12026 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12027 spurious underflow.
12028 * sysdeps/i386/fpu/libm-test-ulps: Update.
12029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12030
fb21f89b
MF
120312012-07-06 Mike Frysinger <vapier@gentoo.org>
12032
12033 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12034
cdfe2c5e
JM
120352012-07-05 Joseph Myers <joseph@codesourcery.com>
12036
12037 [BZ #14157]
12038 [BZ #14331]
12039 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12040 could result in spurious underflow. Scale down values above
12041 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12042 * math/s_csqrtf.c (__csqrtf): Likewise.
12043 * math/s_csqrtl.c (__csqrtl): Likewise.
12044 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12045 spurious underflow.
12046 * sysdeps/i386/fpu/libm-test-ulps: Update.
12047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12048
70d35b67
AS
120492012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12050
704bc459
AS
12051 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12052 xopen-msg.sed.
12053 * catgets/xopen-msg.awk: New file.
12054 * catgets/xopen-msg.sed: Removed.
12055
70d35b67
AS
12056 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12057 po2text.sed.
12058 * intl/po2test.awk: New file.
12059 * intl/po2test.sed: Removed.
12060
ca61cf32
JM
120612012-07-04 Joseph Myers <joseph@codesourcery.com>
12062
12063 [BZ #14328]
12064 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12065 or multiply small sinh result by itself.
12066 * math/s_ctanf.c (__ctanf): Likewise.
12067 * math/s_ctanh.c (__ctanh): Likewise.
12068 * math/s_ctanhf.c (__ctanhf): Likewise.
12069 * math/s_ctanhl.c (__ctanhl): Likewise.
12070 * math/s_ctanl.c (__ctanl): Likewise.
12071 * math/libm-test.inc (ctan_test_tonearest): New function.
12072 (ctan_test_towardzero): Likewise.
12073 (ctan_test_downward): Likewise.
12074 (ctan_test_upward): Likewise.
12075 (ctanh_test_tonearest): Likewise.
12076 (ctanh_test_towardzero): Likewise.
12077 (ctanh_test_downward): Likewise.
12078 (ctanh_test_upward): Likewise.
12079 (main): Call these new functions.
12080 * sysdeps/i386/fpu/libm-test-ulps: Update.
12081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12082
ca48a46a
MF
120832012-07-03 Mike Frysinger <vapier@gentoo.org>
12084
12085 * .gitignore: Delete /ports entry.
12086
9d63d37d
AJ
120872012-07-03 Andreas Jaeger <aj@suse.de>
12088
12089 * po/bg.po: Update from translation team.
12090 * po/cs.po: Likewise.
12091 * po/de.po: Likewise.
12092 * po/hr.po: Likewise.
12093 * po/nl.pl: Likewise.
12094 * po/pl.po: Likewise.
12095 * po/vi.po: Likewise.
12096
370ca3d2
JM
120972012-07-03 Joseph Myers <joseph@codesourcery.com>
12098
95f5a9a8
JM
12099 * Makeconfig [!+link] (+link-before-libc): New variable.
12100 [!+link] (+link-after-libc): Likewise.
12101 [!+link] (+link-tests): Likewise.
12102 [!+link] (+link): Define in terms of $(+link-before-libc) and
12103 $(+link-after-libc).
12104 [!+link-static] (+link-static-before-libc): New variable.
12105 [!+link-static] (+link-static-after-libc): Likewise.
12106 [!+link-static] (+link-static-tests): Likewise.
12107 [!+link-static] (+link-static): Define in terms of
12108 $(+link-static-before-libc) and $(+link-static-after-libc).
12109 [build-shared] (link-libc-before-gnulib): New variable.
12110 [build-shared] (link-libc-tests): Likewise.
12111 [build-shared] (link-libc): Define in terms of
12112 $(link-libc-before-gnulib).
12113 [!build-shared] (link-libc-tests): New variable.
12114 (link-libc-static-tests): New variable.
12115 [!gnulib] (gnulib-arch): New variable.
12116 [!gnulib] (gnulib-tests): Likewise.
12117 [!gnulib] (static-gnulib-arch): Likewise.
12118 [!gnulib] (static-gnulib-tests): Likewise.
12119 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12120 Define with "=" instead of ":=".
12121 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12122 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12123 * Rules (binaries-all-notests): New variable.
12124 (binaries-all-tests): Likewise.
12125 (binaries-static-notests): Likewise.
12126 (binaries-static-tests): Likewise.
12127 (binaries-all): Define using $(binaries-all-notests) and
12128 $(binaries-all-tests).
12129 (binaries-static): Define using $(binaries-static-notests) and
12130 $(binaries-static-tests).
12131 (binaries-shared-tests): New variable.
12132 (binaries-shared-notests): Likewise.
12133 (binaries-shared): Remove variable.
12134 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12135 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12136 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12137 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12138 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12139 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12140 * elf/Makefile (sln-modules): New variable.
12141 (extra-objs): Add $(sln-modules:=.o).
12142 (ldconfig-modules): Add static-stubs.
12143 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12144 * elf/static-stubs.c: New file.
12145
7a845b2c
JM
12146 [BZ #14283]
12147 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12148 by 7 not 8 to examine high bit of fractional part. Use volatile
12149 variables when splitting into final array of floats if
12150 __FLT_EVAL_METHOD__ != 0.
12151 * math/libm-test.inc (cos_test): Add another test.
12152 (sin_test): Likewise.
12153 * sysdeps/i386/fpu/libm-test-ulps: Update.
12154
e2283f38
JM
12155 [BZ #14273]
12156 * math/libm-test.inc (cosh_test): Add more tests.
12157
370ca3d2
JM
12158 * version.h (RELEASE): Set to "development".
12159 (VERSION): Set to "2.16.90".
12160
ee9247c3
CD
121612012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12162
12163 * NEWS: Update copyright. Remove last-updated date.
12164 Mention math library bug fixes and timezone data changes.
12165 * README: Mention GNU/Hurd, x32, and HPPA support status.
12166
4648c381
TS
121672012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12168
12169 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12170
aac78a43
AJ
121712012-06-27 Andreas Jaeger <aj@suse.de>
12172
12173 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12174
ed3dbfad
AJ
121752012-06-25 Andreas Jaeger <aj@suse.de>
12176
12177 * sysdeps/s390/fpu/libm-test-ulps: Update.
12178
4d0ee855
AS
121792012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12180 Thomas Schwinge <thomas@codesourcery.com>
12181
12182 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12183 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12184 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12185 fanotify_mark.
12186
af1bce34
TS
121872012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12188
a9fa33ba
TS
12189 * sysdeps/mach/start.c: Remove file.
12190 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12191 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12192 * sysdeps/sh/init-first.c: Likewise.
12193
58f902b8
TS
12194 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12195 registers for frame unwinding purposes, add CFI directives.
12196 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12197 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12198 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12199 Likewise.
12200
1518f58b
TS
12201 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12202 __fortify_fail returning.
12203 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12204
db9b5059
TS
12205 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12206 sysdeps/sh/____longjmp_chk.S.
12207 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12208 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12209 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12210 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12211
967705fe
TS
12212 * sysdeps/sh/abort-instr.h: New file.
12213 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12214 process in case exit returns.
12215
a9def8c4
TS
12216 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12217 initialize the GOT register before use.
12218
2a649725
TS
12219 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12220 calculation of ARGC > 4.
12221
af1bce34
TS
12222 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12223 meaningful names to some local labels.
12224
d230f50a
KK
122252012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12226 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12227
12228 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12229 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12230 (__arch_compare_and_exchange_val_16_acq): Likewise.
12231 (__arch_compare_and_exchange_val_32_acq): Likewise.
12232 (atomic_exchange_and_add): Fix gUSA sequence.
12233 (atomic_add): Likewise.
12234 (atomic_add_negative): Likewise.
12235 (atomic_add_zero): Likewise.
12236 (atomic_bit_test_set): Likewise.
12237
0479b305
AS
122382012-06-22 Andreas Schwab <schwab@redhat.com>
12239
12240 [BZ #13579]
12241 * include/link.h (struct link_map): Add l_free_initfini.
12242 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12243 l_initfini.
12244 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12245 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12246 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12247 set.
12248
0e3933b9
CD
122492012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12250
12251 * configure.in: Use AC_LANG_SOURCE.
12252 * configure: Regenerate.
12253
4248b1b1
RM
122542012-06-22 Roland McGrath <roland@hack.frob.com>
12255
12256 * configure.in (libc_cv_localstatedir): New substituted variable.
12257 * configure: Regenerated.
12258 * config.make.in (localstatedir): New variable, substituted from
12259 libc_cv_localstatedir.
12260 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12261 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12262 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12263 * sysdeps/gnu/configure: Regenerated.
12264
006dd861
JL
122652012-06-21 Jeff Law <law@redhat.com>
12266
12267 [BZ #14277]
12268 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12269 free. Simplify list management for _LIBC case.
12270
79662d42
JM
122712012-06-21 Joseph Myers <joseph@codesourcery.com>
12272
b7abb4bf
JM
12273 [BZ #14273]
12274 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12275 Clear sign bit of 64-bit integer value before comparing against
12276 overflow value.
12277
79662d42
JM
12278 * sysdeps/mach/configure: Regenerated.
12279
1f150908
L
122802012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12281
12282 [BZ #14278]
12283 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12284
28363bbf
JL
122852012-06-21 Jeff Law <law@redhat.com>
12286
12287 [BZ #13882]
12288 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12289 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12290 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12291 * elf/dl-open.c (dl_open_worker): Likewise.
12292
09615db4
CD
122932012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12294
12295 * scripts/list-sources.sh: Scan PORTS for translations.
12296 * po/libc.pot: Regenerated.
12297
2174c6dd
AJ
122982012-06-21 Andreas Jaeger <aj@suse.de>
12299
12300 [BZ #12194]
12301 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12302 warning.
12303 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12304 * bits/byteswap-16.h (__bswap_16): Likewise.
12305 * bits/byteswap.h (__bswap_constant_16): Likewise.
12306
3ee947b1
L
123072012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12308
12309 [BZ #14117]
a2f34833
L
12310 * sysdeps/i386/fpu_control.h: Removed.
12311 * sysdeps/x86_64/fpu_control.h: Moved to ...
12312 * sysdeps/x86/fpu_control.h: Here.
12313
3ee947b1
L
12314 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12315 (_FPU_SETCW): Likewise.
12316
ed1825f8
L
123172012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12318
25f1282a
L
12319 [BZ #14117]
12320 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12321 * sysdeps/x86/fpu/bits/mathinline.h: This.
12322 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12323
ed1825f8
L
12324 [BZ #14050]
12325 [BZ #14117]
12326 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12327 functions if __x86_64__ is defined.
12328
36d54b74
CLT
123292012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12330
12331 * string/endian.h: Add !__ASSEMBLER__ condition for including
12332 conversion interfaces.
12333
10285c21
JM
123342012-06-15 Joseph Myers <joseph@codesourcery.com>
12335
12336 [BZ #14241]
12337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12338 of ABS(x) in calculating zero to negative powers other than odd
12339 integers.
12340 * math/libm-test.inc (pow_test): Add more tests.
12341
06c5abbd
AJ
123422012-06-15 Andreas Jaeger <aj@suse.de>
12343
12344 * manual/contrib.texi (Contributors): Update entry of Liubov
12345 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12346 Machado Filho.
12347
a3aeac40
CH
123482012-06-15 Cyril Hrubis <metan@ucw.cz>
12349
12350 * string/string.h: Add __wur to GNU version of strerror_r.
12351
49bdf4c1
L
123522012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12353
12354 [BZ #14229]
12355 * string/Makefile (tests): Add tst-strtok_r.
12356 * string/tst-strtok_r.c: New file.
12357 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12358 RAX_LP/RDX_LP on SAVE_PTR.
12359
834f9b8d
RM
123602012-06-14 Roland McGrath <roland@hack.frob.com>
12361
12362 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12363
75fa1921
JM
123642012-06-14 Joseph Myers <joseph@codesourcery.com>
12365
12366 * libm_test.inc (csqrt_test): Allow more spurious underflow
12367 exceptions.
12368 (j0_test): Likewise.
12369 (j1_test): Likewise.
12370 (y0_test): Likewise.
12371 (y1_test): Likewise.
12372
771766df
CD
123732012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12374
12375 * po/Makefile (libc.pot): Use UTF-8 charset.
12376
ceb9e56b
PP
123772012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12378
12379 [BZ #14210]
12380 Suppress sign-conversion warning from FD_SET.
12381 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12382 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12383 not unsigned long int.
12384 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12385
ddb28975
L
123862012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12387
12388 [BZ #14050]
12389 [BZ #14117]
12390 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12391 __extern_always_inline instead of __extern_inline.
12392 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12393 (__signbit): Likewise.
12394 (__signbitl): Support C++ namespace.
12395 (lrintf): New inline function.
12396 (lrint): Likewise.
12397 (llrintf): Likewise.
12398 (llrint): Likewise.
12399 (fmaxf): Likewise.
12400 (fmax): Likewise.
12401 (fminf): Likewise.
12402 (fmin): Likewise.
12403 (rint): Likewise.
12404 (rintf): Likewise.
12405 (ceil): Likewise.
12406 (ceilf): Likewise.
12407 (floor): Likewise.
12408 (floorf): Likewise.
12409 (nearbyint): Likewise.
12410 (nearbyintf): Likewise.
12411
d7b4fb26
TS
124122012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12413
12414 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12415 non-default versions.
12416
eb55f5c2
RM
124172012-06-11 Roland McGrath <roland@hack.frob.com>
12418
12419 [BZ #14218]
12420 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12421
366af02c
TS
124222012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12423
99ff6e5c
TS
12424 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12425 (FE_UPWARD, FE_DOWNWARD): Don't define.
12426 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12427 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12428
366af02c
TS
12429 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12430 reading it.
12431 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12432 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12433
793ea851
KK
124342012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12435
12436 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12438 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12439 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12440
a728a38f
L
124412012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12442
12443 [BZ #14117]
c08010c7
L
12444 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12445 * sysdeps/i386/fpu/Implies: New file.
12446 * sysdeps/x86_64/fpu/Implies: Likewise.
12447 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12448 * sysdeps/x86/fpu/bits/fenv.h: This.
12449
a728a38f
L
12450 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12451 __SSE_MATH__.
12452
6e230d11
SP
124532012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12454
12455 [BZ #14134]
12456 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12457 character 0xffff that matches the last element of the
12458 conversion table.
12459
1b671feb
AZ
124602012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12461
12462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12463 fmodl commit.
12464
6043738b
AZ
124652012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12466
12467 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12468 values higher than 25.6283.
12469
34ae0b32
AZ
124702012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12471
12472 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12473 subnormal exponent extraction and add some __builtin_expect.
12474 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12475 Fix for subnormal mantissa calculation.
12476
1214ec8f
MF
124772012-06-04 Mike Frysinger <vapier@gentoo.org>
12478
12479 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12480 cpu2 is -1 and errno is not ENOSYS.
12481
f3d1f93c
L
124822012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12483
12484 [BZ #14117]
0e4a3cd7
L
12485 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12486 * sysdeps/x86/bits/string.h: This.
12487 * sysdeps/x86_64/bits/string.h: Removed.
12488
6704c645
L
12489 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12490 if not compiling for x86-64, but compiling for >= i486.
12491
48495318
L
12492 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12493 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12494
14adcbfc
L
12495 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12496 New macro from Linux kernel 3.4.0.
12497 (FP_XSTATE_MAGIC2): Likewise.
12498 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12499 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12500 (struct _fpx_sw_bytes): New struct.
12501 (struct _xsave_hdr): Likewise.
12502 (struct _ymmh_state): Likewise.
12503 (struct _xstate): Likewise.
12504
68e408ab
L
12505 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12506 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12507 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12508 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12509 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12510 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12511
f3d1f93c
L
12512 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12513 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12514 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12515 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12516 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12517 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12518
d9dc34cd
TMQMF
125192012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12520
12521 [BZ #13743]
12522 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12523 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12524 (sysdep_headers): Include sys/platform/ppc.h.
12525 * sysdeps/powerpc/test-gettimebase.c: Test for
12526 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12527 * manual/Makefile (appendices): Include platform.texi.
12528 * manual/contrib.texi (Contributors): Update @node pointers.
12529 * manual/maint.texi (Maintenance): Likewise.
12530 (Platform): New node.
12531 * manual/platform.texi: New file. Document the new features.
12532
4af3879c
SP
125332012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12534 Jakub Jelinek <jakub@redhat.com>
12535
12536 [BZ #14188]
12537 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12538 where __builtin_expect is unavailable.
12539
2fd6ff13
DM
125402012-06-03 David S. Miller <davem@davemloft.net>
12541
12542 * stdlib/longlong.h: Updated from GCC.
12543
173f7220
AS
125442012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12545
12546 [BZ #14042]
12547 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12548 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12549 __mcount_internal.
12550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12551 (GLIBC_2.16): Likewise.
12552
f34a1c6f
L
125532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12554
12555 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12556
88a4576f
JM
125572012-06-01 Joseph Myers <joseph@codesourcery.com>
12558
ea32bcdd
JM
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12560 (default-abi): New variable.
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12562 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12563 variable.
12564 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12565 Likewise.
12566 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12567 Likewise.
12568 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12569 Likewise.
12570
88a4576f
JM
12571 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12572 definition. Document in comment.
12573
402fe938
DM
125742012-06-01 David S. Miller <davem@davemloft.net>
12575
12576 * stdlib/longlong.h: Updated from GCC.
12577
3553723f
L
125782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12579
12580 [BZ #14117]
3bd872c4
L
12581 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12582 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12583 sys/debugreg.h sys/io.h here.
12584 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12585 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12586 sys/io.h.
12587 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12588 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12589 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12590 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12591 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12592 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12593
3553723f
L
12594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12595 Define only if __x86_64__ is defined.
12596
4842e4fe
JM
125972012-06-01 Joseph Myers <joseph@codesourcery.com>
12598
c5bfe3d5
JM
12599 [BZ #14048]
12600 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12601 Use int64_t for variable i.
12602 * math/libm-test.inc (fmod_test): Add more tests.
12603
4842e4fe
JM
12604 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12605 z computation is not scheduled after fetestexcept.
12606 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12607 Use math_force_eval instead of asm to ensure calculation scheduled
12608 before exception test.
12609 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12610 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12611
efb73488
AJ
126122012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12613
12614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12615 computation is not scheduled after fetestexcept.
12616
29bcce7c
L
126172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12618
12619 [BZ #14117]
12620 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12621 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12622
73a68f94
AZ
126232012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12624
12625 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12626 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12627
67b6df78
L
126282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12629
edf2933a 12630 [BZ #14117]
ebc64a18
L
12631 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12632 <bits/wordsize.h>.
12633 (__WCHAR_MIN): Support __WORDSIZE == 64.
12634 (__WCHAR_MAX): Likewise.
12635
edf2933a
L
12636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12637 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12638
57c6cf40
L
12639 [BZ #14183]
12640 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12641 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12642
67b6df78 12643 [BZ #14117]
8eb6281e
L
12644 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12645 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12646
aac639f4
L
12647 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12648 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12649
67b6df78
L
12650 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12651 Defined to 1 if __x86_64__ isn't defined.
12652 (_STAT_VER_LINUX_OLD): New.
12653 (st_atime): Remove duplicate.
12654 (st_mtime): Likewise.
12655 (st_ctime): Likewise.
12656
1c2cfe81
DM
126572012-05-31 David S. Miller <davem@davemloft.net>
12658
12659 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12660 entries.
12661
5be8418c
AS
126622012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12663
e7725326
AS
12664 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12665 gen-libm-test.pl.
12666
5be8418c
AS
12667 [BZ #14132]
12668 * elf/dl-reloc.c: Include <_itoa.h>.
12669 (_dl_reloc_bad_type): Remove use of INTUSE.
12670 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12671 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12672 * stdio-common/psiginfo.c (psiginfo): Likewise.
12673 * stdio-common/psignal.c (psignal): Likewise.
12674 * string/strsignal.c (strsignal): Likewise.
12675 * include/signal.h (_sys_siglist): Declare hidden proto.
12676 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12677 INTVARDEF with libc_hidden_data_def.
12678 * stdio-common/itoa-udigits.c: Likewise.
12679 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12680 (_itoa_lower_digits_internal): Remove declaration.
12681 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12682 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12683 (_sys_sigabbrev_internal): Remove aliases.
12684 (_sys_siglist): Define hidden alias.
12685
507352f1
MT
126862012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12687
12688 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12689 bits/sysctl.h.
12690
42bbb1c3
L
126912012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12692
12693 [BZ #14117]
6bd784b6
L
12694 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12695 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12696
8bca20f0
L
12697 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12698 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12699 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12700 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12702 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12703
f9e890a9
L
12704 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12705 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12706 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12707
471101a1
L
12708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12709 with __addr.
12710 (insw): Likewise.
12711 (insl): Likewise.
12712 (outsb): Likewise.
12713 (outsw): Likewise.
12714 (outsl): Likewise.
12715
6451c862
L
12716 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12717 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12718 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12719
a254b8c9
L
12720 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12721 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12722 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12723 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12724 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12725 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12726
b8dfdd92
L
12727 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12728 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12729
578cd270
L
12730 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12731 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12732
de662f5f
L
12733 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12735 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12736
25653439
L
12737 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12738 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12739 to ...
12740 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12741
6bad24a0
L
12742 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12743 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12744 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12745
42bbb1c3
L
12746 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12747 for x86-64.
12748 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12749
2d10d547
JM
127502012-05-31 Joseph Myers <joseph@codesourcery.com>
12751
12752 * math/math.h (M_El): Use two more decimal places.
12753 (M_LOG2El): Likewise.
12754 (M_LOG10El): Likewise.
12755 (M_LN2l): Likewise.
12756 (M_LN10l): Likewise.
12757 (M_PIl): Likewise.
12758 (M_PI_2l): Likewise.
12759 (M_PI_4l): Likewise.
12760 (M_1_PIl): Likewise.
12761 (M_2_PIl): Likewise.
12762 (M_2_SQRTPIl): Likewise.
12763 (M_SQRT2l): Likewise.
12764 (M_SQRT1_2l): Likewise.
12765
f230c29b
DM
127662012-05-31 David S. Miller <davem@davemloft.net>
12767
12768 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12769 values between float registers.
12770 * sysdeps/sparc/sparc64/memset.S: Likewise.
12771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12772
fed806c3
MF
127732012-05-31 Mike Frysinger <vapier@gentoo.org>
12774
12775 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12776 -D_FORTIFY_SOURCE=1.
12777 (CPPFLAGS-tst-longjmp_chk.c): Define.
12778 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12779 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12780 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12781 CFLAGS-tst-wchar-h.c.
12782
30917259
MP
127832012-05-31 Marek Polacek <polacek@redhat.com>
12784
12785 [BZ #14132]
12786 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12787 __endmntent_internal): Remove declaration.
12788 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12789 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12790 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12791
1c58d5dc
DM
127922012-05-30 David S. Miller <davem@davemloft.net>
12793
12794 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12795 (___Q_simulate_exceptions): Use real FP ops rather than writing
12796 into the %fsr.
12797 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12798 Likewise.
12799
7dc00e0d
L
128002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12801
12802 [BZ #14117]
0bd53985
L
12803 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12804 * sysdeps/x86/bits/xtitypes.h: This.
12805
3a257e66
L
12806 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12807 * sysdeps/x86/bits/wordsize.h: This.
12808
62f62904
L
12809 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12810 * sysdeps/x86/bits/huge_vall.h: This.
12811
404fe9d9
L
12812 * sysdeps/i386/bits/select.h: Removed.
12813 * sysdeps/x86_64/bits/select.h: Renamed to ...
12814 * sysdeps/x86/bits/select.h: This.
12815
d48d0446
L
12816 * sysdeps/i386/bits/setjmp.h: Removed.
12817 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12818 * sysdeps/x86/bits/setjmp.h: This.
12819
7dc00e0d
L
12820 * sysdeps/i386/bits/mathdef.h: Removed.
12821 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12822 * sysdeps/x86/bits/mathdef.h: This.
12823
03277f8f
AS
128242012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12825
12826 [BZ #14132]
12827 * include/sys/socket.h (__connect_internal)
12828 (__libc_sa_len_internal): Remove declaration.
12829 (__connect, __libc_sa_len): Declare hidden_proto.
12830 (SA_LEN): Remove use of INTUSE.
12831 * socket/connect.c: Add libc_hidden_def.
12832 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12833 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12834 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12835 alias.
12836 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12837 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12838 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12839 of adding _internal alias.
12840
13764867
L
128412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12842
12843 [BZ #14117]
6bd97696
L
12844 * sysdeps/i386/bits/link.h: Removed.
12845 * sysdeps/i386/bits/linkmap.h: Likewise.
12846 * sysdeps/x86_64/bits/link.h: Renamed to ...
12847 * sysdeps/x86/bits/link.h: This.
12848 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12849 * sysdeps/x86/bits/linkmap.h: This.
12850
f726f0bb
L
12851 * sysdeps/i386/bits/endian.h: Removed.
12852 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12853 * sysdeps/x86/bits/endian.h: This.
12854
13764867
L
12855 * sysdeps/i386/bits/byteswap.h: Removed.
12856 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12857 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12858 * sysdeps/x86/bits/byteswap.h: This.
12859 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12860 * sysdeps/x86/bits/byteswap-16.h: This.
12861 * sysdeps/i386/Implies: Add x86.
12862 * sysdeps/x86_64/Implies: Likewise.
12863
ae251b0b
DM
128642012-05-30 David S. Miller <davem@davemloft.net>
12865
12866 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12867 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12868 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12869 (FP_TRAPPING_EXCEPTIONS): Define.
12870 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12871 (FP_TRAPPING_EXCEPTIONS): Define.
12872 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12873 subnormals only when inexact has been signalled or underflow
12874 exceptions are enabled.
12875 (_FP_PACK_CANONICAL): Likewise.
12876
d5c90867
L
128772012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12878
12879 [BZ #14183]
12880 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12881 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12882
63f1549e
RH
128832012-05-30 Richard Henderson <rth@twiddle.net>
12884
8d8f2279
RH
12885 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
12886 with #ifndef NOT_IN_libc.
12887
63f1549e
RH
12888 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
12889 marked to avoid plt entry.
12890
0ab0291b
L
128912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12892
12893 [BZ #14112]
12894 * Makeconfig (default-abi): New macro.
12895 (abi-includes): Likewise.
12896 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
12897 $(abi-$(default-abi)-lib-soname) for soname if defined.
12898 ($(common-objpfx)gnu/lib-names.stmp): Generate from
12899 abi-variants.
12900 * Makefile (installed-stubs): Likewise.
12901 * include/stubs-biarch.h: Removed.
12902 * scripts/lib-names.awk: Only handle one library at a time.
12903 * scripts/soversions.awk: Remove WORDSIZE support.
12904 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
12905 entries.
12906 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
12907 Removed.
12908 (syscall-list-default-condition): Likewise.
12909 (syscall-list-default-condition): Likewise.
12910 (syscall-list-includes): Likewise.
12911 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
12912 syscall-list-* with abi-*. Handle undefined abi-variants.
12913 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
12914 * sysdeps/unix/sysv/linux/i386/Implies: New file.
12915 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
12916 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
12917 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
12918 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
12919 Removed.
12920 (syscall-list-32-options): Likewise.
12921 (syscall-list-32-condition): Likewise.
12922 (syscall-list-64-options): Likewise.
12923 (syscall-list-64-condition): Likewise.
12924 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
12925 macro.
12926 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
12927 Renamed to ...
12928 (abi-*): This.
12929 (abi-64-ld-soname): New macro.
12930 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
12931 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
12932 Renamed to ...
12933 (abi-*): This.
12934 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
12935 * sysdeps/x86_64/x32/shlib-versions: Likewise.
12936
4da0431d
JM
129372012-05-30 Joseph Myers <joseph@codesourcery.com>
12938
3a85279c
JM
12939 * sysdeps/unix/sysv/linux/kernel-features.h
12940 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
12941 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
12942 include <kernel-features.h>.
12943 [!__NR_ftruncate64]: Remove conditional code.
12944 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12945 [__NR_ftruncate64]: Make code unconditional.
12946 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12947 * sysdeps/unix/sysv/linux/truncate64.c: Do not
12948 include <kernel-features.h>.
12949 [!__NR_ftruncate64]: Remove conditional code.
12950 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12951 [__NR_ftruncate64]: Make code unconditional.
12952 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
12954 include <kernel-features.h>.
12955 [!__NR_ftruncate64]: Remove conditional code.
12956 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12957 [__NR_ftruncate64]: Make code unconditional.
12958 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12960 include <kernel-features.h>.
12961 [!__NR_ftruncate64]: Remove conditional code.
12962 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12963 [__NR_ftruncate64]: Make code unconditional.
12964 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
12965
4da0431d
JM
12966 * configure.in (libc_cv_fpie): Weaken to a compile test using
12967 LIBC_TRY_CC_OPTION.
12968 * configure: Regenerated.
12969
11ef492c
AK
129702012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12971
12972 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
12973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
12974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
12975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12976 Refreshed.
12977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
12978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
12979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
12980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
12982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12983 Refreshed.
12984
d66ef399
DM
129852012-05-27 David S. Miller <davem@davemloft.net>
12986
12987 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
12988 (___Q_zero): New.
12989 (__Q_simulate_exceptions): Return void. Change to simulate
12990 exceptions by writing into the %fsr.
12991 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
12992 (__Qp_handle_exceptions): Likewise.
12993 (numbers): Delete.
12994 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
12995 __Qp_handle_exceptions.
12996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
12997 __Qp_handle_exceptions.
12998 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
12999 as unused and give dummy FP_RND_NEAREST initializer.
13000 (FP_INHIBIT_RESULTS): Define.
13001 (___Q_simulate_exceptions): Update declaration.
13002 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13003 formatting.
13004 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13005 as unused and give dummy FP_RND_NEAREST initializer.
13006 (__Qp_handle_exceptions): Update declaration.
13007 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13008 formatting.
13009
04fb54b5
TS
130102012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13011
13012 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13013 the temporary FPU control word.
13014 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13015 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13016 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13017 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13018 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13019 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13020 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13021 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13022 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13023 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13024 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13025
3f99608f
KK
130262012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13027
13028 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13029 fields.
13030
65a4de4e
CLT
130312012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13032
13033 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13034 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13035 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13036 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13037 Likewise.
13038 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13039 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13040 Likewise.
13041
15749d40
UD
130422012-05-27 Ulrich Drepper <drepper@gmail.com>
13043
13044 * po/h.po: Update from translation team.
13045
25dbcb27
AS
130462012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13047
3d3f8e55
AS
13048 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13049
25dbcb27
AS
13050 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13051 handling of denormals.
13052 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13053 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13054 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13055 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13056 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13058 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13059 Likewise.
13060
7ad47a80 130612012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13062
13063 [BZ #14152]
13064 * math/libm-test.inc (fma_test): Don't always expect underflow
13065 exception.
13066
9c6ea9fa
SP
130672012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13068
13069 [BZ #12416]
13070 * elf/tst-execstack.c: Include stackinfo.h.
13071 (do_test): Adjust test case to ensure that pthread_getattr_np
13072 behaviour remains the same after marking stack executable.
13073
a8239222
JM
130742012-05-25 Joseph Myers <joseph@codesourcery.com>
13075
13076 * sysdeps/unix/sysv/linux/kernel-features.h
13077 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13078 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13079 kernel-features.h.
13080 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13081 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13082 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13083 kernel-features.h.
13084 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13085 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13086
918b5606
L
130872012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13088
13089 * configure.in: Define the default includes to being none.
13090 * configure: Regenerated.
13091
3a097cc7
RM
130922012-05-25 Roland McGrath <roland@hack.frob.com>
13093
8422c9a5
RM
13094 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13095 * sysdeps/x86_64/setjmp.S: Likewise.
13096 * sysdeps/i386/bsd-setjmp.S: Likewise.
13097 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13098 * sysdeps/i386/setjmp.S: Likewise.
13099 * sysdeps/i386/__longjmp.S: Likewise.
13100 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13101 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13102
3a097cc7
RM
13103 * include/stap-probe.h: New file.
13104 * configure.in: Handle --enable-systemtap.
13105 * configure: Regenerated.
13106 * config.h.in (USE_STAP_PROBE): New #undef.
13107 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13108 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13109 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13110
21708942
JM
131112012-05-25 Joseph Myers <joseph@codesourcery.com>
13112
13113 [BZ #13717]
13114 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13115 to 2.4.0 where earlier.
13116 * sysdeps/unix/sysv/linux/configure: Regenerated.
13117 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13118 <kernel-features.h>.
13119 [__ASSUME_32BITUIDS]: Make code unconditional.
13120 [!__ASSUME_32BITUIDS]: Remove conditional code.
13121 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13122 <kernel-features.h>.
13123 [__ASSUME_32BITUIDS]: Make code unconditional.
13124 [!__ASSUME_32BITUIDS]: Remove conditional code.
13125 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13126 [__ASSUME_32BITUIDS]: Make code unconditional.
13127 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13128 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13129 <kernel-features.h>.
13130 [__ASSUME_32BITUIDS]: Make code unconditional.
13131 [!__ASSUME_32BITUIDS]: Remove conditional code.
13132 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13133 <kernel-features.h>.
13134 [__ASSUME_32BITUIDS]: Make code unconditional.
13135 [!__ASSUME_32BITUIDS]: Remove conditional code.
13136 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13137 <kernel-features.h>.
13138 [__ASSUME_32BITUIDS]: Make code unconditional.
13139 [!__ASSUME_32BITUIDS]: Remove conditional code.
13140 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13141 <kernel-features.h>.
13142 [__ASSUME_32BITUIDS]: Make code unconditional.
13143 [!__ASSUME_32BITUIDS]: Remove conditional code.
13144 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13145 <kernel-features.h>.
13146 [__ASSUME_32BITUIDS]: Make code unconditional.
13147 [!__ASSUME_32BITUIDS]: Remove conditional code.
13148 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13149 <kernel-features.h>.
13150 [__ASSUME_32BITUIDS]: Make code unconditional.
13151 [!__ASSUME_32BITUIDS]: Remove conditional code.
13152 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13153 <kernel-features.h>.
13154 [__ASSUME_32BITUIDS]: Make code unconditional.
13155 [!__ASSUME_32BITUIDS]: Remove conditional code.
13156 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13157 <kernel-features.h>.
13158 [__ASSUME_32BITUIDS]: Make code unconditional.
13159 [!__ASSUME_32BITUIDS]: Remove conditional code.
13160 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13161 <kernel-features.h>.
13162 [__ASSUME_32BITUIDS]: Make code unconditional.
13163 [!__ASSUME_32BITUIDS]: Remove conditional code.
13164 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13165 <kernel-features.h>.
13166 [__ASSUME_32BITUIDS]: Make code unconditional.
13167 [!__ASSUME_32BITUIDS]: Remove conditional code.
13168 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13169 <kernel-features.h>.
13170 [__NR_setresgid] (__setresgid): Do not declare.
13171 [__ASSUME_32BITUIDS]: Make code unconditional.
13172 [!__ASSUME_32BITUIDS]: Remove conditional code.
13173 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13174 <kernel-features.h>.
13175 [__NR_setresuid] (__setresuid): Do not declare.
13176 [__ASSUME_32BITUIDS]: Make code unconditional.
13177 [!__ASSUME_32BITUIDS]: Remove conditional code.
13178 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13179 <kernel-features.h>.
13180 [__ASSUME_32BITUIDS]: Make code unconditional.
13181 [!__ASSUME_32BITUIDS]: Remove conditional code.
13182 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13183 <kernel-features.h>.
13184 [__ASSUME_32BITUIDS]: Make code unconditional.
13185 [!__ASSUME_32BITUIDS]: Remove conditional code.
13186 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13187 <kernel-features.h>.
13188 [__ASSUME_32BITUIDS]: Make code unconditional.
13189 [!__ASSUME_32BITUIDS]: Remove conditional code.
13190 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13191 <kernel-features.h>.
13192 [__ASSUME_32BITUIDS]: Make code unconditional.
13193 [!__ASSUME_32BITUIDS]: Remove conditional code.
13194 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13195 <kernel-features.h>.
13196 [__ASSUME_32BITUIDS]: Make code unconditional.
13197 [!__ASSUME_32BITUIDS]: Remove conditional code.
13198 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13199 <kernel-features.h>.
13200 [__ASSUME_32BITUIDS]: Make code unconditional.
13201 [!__ASSUME_32BITUIDS]: Remove conditional code.
13202 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13203 <kernel-features.h>.
13204 [__ASSUME_32BITUIDS]: Make code unconditional.
13205 [!__ASSUME_32BITUIDS]: Remove conditional code.
13206 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13207 <kernel-features.h>.
13208 [__ASSUME_32BITUIDS]: Make code unconditional.
13209 [!__ASSUME_32BITUIDS]: Remove conditional code.
13210 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13211 <kernel-features.h>.
13212 [__ASSUME_32BITUIDS]: Make code unconditional.
13213 [!__ASSUME_32BITUIDS]: Remove conditional code.
13214 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13215 <kernel-features.h>.
13216 [__ASSUME_32BITUIDS]: Make code unconditional.
13217 [!__ASSUME_32BITUIDS]: Remove conditional code.
13218 * sysdeps/unix/sysv/linux/kernel-features.h
13219 (__ASSUME_SETRESUID_SYSCALL): Remove.
13220 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13221 (__ASSUME_32BITUIDS): Likewise.
13222 (__ASSUME_LDT_WORKS): Likewise.
13223 (__ASSUME_O_DIRECTORY): Likewise.
13224 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13225 architecture but not kernel version.
13226 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13227 (__ASSUME_MMAP2_SYSCALL): Likewise.
13228 (__ASSUME_STAT64_SYSCALL): Likewise.
13229 (__ASSUME_IPC64): Likewise.
13230 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13231 <kernel-features.h>.
13232 [__ASSUME_32BITUIDS]: Make code unconditional.
13233 [!__ASSUME_32BITUIDS]: Remove conditional code.
13234 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13235 <kernel-features.h>.
13236 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13237 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13238 132096]: Remove conditional code.
13239 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13240 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13241 <kernel-features.h>.
13242 [__ASSUME_32BITUIDS]: Make code unconditional.
13243 [!__ASSUME_32BITUIDS]: Remove conditional code.
13244 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13245 <kernel-features.h>.
13246 [__ASSUME_32BITUIDS]: Make code unconditional.
13247 [!__ASSUME_32BITUIDS]: Remove conditional code.
13248 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13249 <kernel-features.h>.
13250 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13251 unconditional.
13252 (__setresgid): Do not declare.
13253 [__ASSUME_32BITUIDS]: Make code unconditional.
13254 [!__ASSUME_32BITUIDS]: Remove conditional code.
13255 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13256 <kernel-features.h>.
13257 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13258 unconditional.
13259 (__setresuid): Do not declare.
13260 [__ASSUME_32BITUIDS]: Make code unconditional.
13261 [!__ASSUME_32BITUIDS]: Remove conditional code.
13262 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13263 <kernel-features.h>.
13264 [__ASSUME_32BITUIDS]: Make code unconditional.
13265 [!__ASSUME_32BITUIDS]: Remove conditional code.
13266 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13267 <kernel-features.h>.
13268 [__ASSUME_32BITUIDS]: Make code unconditional.
13269 [!__ASSUME_32BITUIDS]: Remove conditional code.
13270
a386f1cc
RH
132712012-05-25 Richard Henderson <rth@twiddle.net>
13272
13273 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13274 dl_hwcap to ifunc resolver.
13275 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13276 elf_ifunc_invoke.
13277 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13278 dl_hwcap to ifunc resolver.
13279 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13280
b6550497
JM
132812012-05-24 Joseph Myers <joseph@codesourcery.com>
13282
13283 [BZ #14153]
13284 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13285 for |x| <= 2**-26, not 2**-57.
13286 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13287 exception.
13288
b0bc23a1
JL
132892012-05-24 Jeff Law <law@redhat.com>
13290
13291 * stdio-common/Makefile (tests): Add bug25.
13292 * stdio-common/bug25.c: New test.
13293
347c92e9
L
132942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13295
13296 [BZ #13576]
13297 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13298 multiple of MALLOC_ALIGNMENT in size.
13299 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13300
6bcc8b3f
JM
133012012-05-24 Joseph Myers <joseph@codesourcery.com>
13302
13303 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13304 Require >= 256.
13305 (FILENAME_MAX): Use macro-int-constant.
13306 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13307 (_IOFBF): Use macro-int-constant.
13308 (_IOLBF): Likewise.
13309 (_IONBF): Likewise.
13310 (SEEK_CUR): Likewise.
13311 (SEEK_END): Likewise.
13312 (SEEK_SET): Likewise.
13313 (TMP_MAX): Likewise.
13314 (EOF): Use macro-int-constant. Require < 0.
13315 (NULL): Use macro-constant. Require == 0.
13316 (stdin): Require type to be FILE *.
13317 (stdout): Likewise.
13318 (stderr): Likewise.
13319 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13320 macro-int-constant.
13321 (EXIT_SUCCESS): Likewise.
13322 (NULL): Use macro-constant. Require == 0.
13323 (RAND_MAX): Use macro-int-constant.
13324 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13325 [C99-based standards] (strtof): Require function.
13326 [C99-based standards] (strtold): Likewise.
13327 [C99-based standards] (strtoll): Likewise.
13328 [C99-based standards] (strtoull): Likewise.
13329 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13330 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13331 [ISO || ISO99 || ISO11] (math.h): Likewise.
13332 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13333 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13334 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13335
d18ea0c5
AS
133362012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13337
13338 [BZ #14132]
56d25bb8
AS
13339 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13340 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13341 * intl/dgettext.c (DCGETTEXT): Likewise.
13342 * intl/gettext.c (DCGETTEXT): Likewise.
13343 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13344 * posix/regex_internal.h (gettext): Likewise.
13345 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13346 Remove declaration.
13347 * include/argz.h (__argz_count_internal)
13348 (__argz_stringify_internal): Remove declaration.
13349 (__argz_count, __argz_stringify): Declare hidden proto.
13350 * intl/dcgettext.c: Remove use of INTDEF.
13351 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13352 * string/argz-stringify.c: Likewise.
13353 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13354 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13355 Declare hidden proto.
d18ea0c5
AS
13356 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13357 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13358 Declare hidden proto.
13359 * include/stdio.h (__asprintf_internal): Don't declare.
13360 (__asprintf): Don't define as macro. Declare hidden proto.
13361 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13362 (__fsetlocking): Declare hidden proto.
13363 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13364 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13365 hidden proto.
13366 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13367 (_IO_setlinebuf): Remove use of INTUSE.
13368 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13369 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13370 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13371 Remove declaration.
13372 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13373 (_IO_do_flush): Remove use of INTUSE.
13374 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13375 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13376 (_IO_adjust_column, _IO_least_wmarker)
13377 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13378 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13379 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13380 (_IO_default_doallocate, _IO_wdefault_doallocate)
13381 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13382 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13383 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13384 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13385 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13386 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13387 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13388 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13389 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13390 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13391 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13392 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13393 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13394 proto.
13395 (_IO_flush_all_internal, _IO_adjust_column_internal)
13396 (_IO_default_uflow_internal, _IO_default_finish_internal)
13397 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13398 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13399 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13400 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13401 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13402 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13403 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13404 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13405 (_IO_file_close_internal, _IO_file_close_it_internal)
13406 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13407 (_IO_file_init_internal, _IO_file_attach_internal)
13408 (_IO_file_fopen_internal, _IO_file_read_internal)
13409 (_IO_file_sync_internal, _IO_file_seek_internal)
13410 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13411 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13412 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13413 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13414 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13415 (_IO_list_all_internal, _IO_link_in_internal)
13416 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13417 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13418 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13419 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13420 (_IO_do_write_internal, _IO_padn_internal)
13421 (_IO_getline_info_internal, _IO_getline_internal)
13422 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13423 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13424 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13425 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13426 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13427 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13428 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13429 with libc_hidden_ver, remove use of INTUSE.
13430 * libio/genops.c: Likewise.
13431 * libio/freopen.c: Likewise.
13432 * libio/freopen64.c: Likewise.
13433 * libio/iofclose.c: Likewise.
13434 * libio/iofdopen.c: Likewise.
13435 * libio/iofflush.c: Likewise.
13436 * libio/iofflush_u.c: Likewise.
13437 * libio/iofgets.c: Likewise.
13438 * libio/iofgets_u.c: Likewise.
13439 * libio/iofopen.c: Likewise.
13440 * libio/iofopncook.c: Likewise.
13441 * libio/iofread.c: Likewise.
13442 * libio/iofread_u.c: Likewise.
13443 * libio/ioftell.c: Likewise.
13444 * libio/iofwrite.c: Likewise.
13445 * libio/iogetline.c: Likewise.
13446 * libio/iogets.c: Likewise.
13447 * libio/iogetwline.c: Likewise.
13448 * libio/iopadn.c: Likewise.
13449 * libio/iopopen.c: Likewise.
13450 * libio/ioseekoff.c: Likewise.
13451 * libio/ioseekpos.c: Likewise.
13452 * libio/iosetbuffer.c: Likewise.
13453 * libio/iosetvbuf.c: Likewise.
13454 * libio/ioungetc.c: Likewise.
13455 * libio/ioungetwc.c: Likewise.
13456 * libio/iovdprintf.c: Likewise.
13457 * libio/iovsprintf.c: Likewise.
13458 * libio/iovsscanf.c: Likewise.
13459 * libio/memstream.c: Likewise.
13460 * libio/obprintf.c: Likewise.
13461 * libio/oldfileops.c: Likewise.
13462 * libio/oldiofclose.c: Likewise.
13463 * libio/oldiofdopen.c: Likewise.
13464 * libio/oldiofopen.c: Likewise.
13465 * libio/oldiopopen.c: Likewise.
13466 * libio/oldstdfiles.c: Likewise.
13467 * libio/putc.c: Likewise.
13468 * libio/setbuf.c: Likewise.
13469 * libio/setlinebuf.c: Likewise.
13470 * libio/stdfiles.c: Likewise.
13471 * libio/strops.c: Likewise.
13472 * libio/vasprintf.c: Likewise.
13473 * libio/vscanf.c: Likewise.
13474 * libio/vsnprintf.c: Likewise.
13475 * libio/vswprintf.c: Likewise.
13476 * libio/wfiledoalloc.c: Likewise.
13477 * libio/wfileops.c: Likewise.
13478 * libio/wgenops.c: Likewise.
13479 * libio/wmemstream.c: Likewise.
13480 * libio/wstrops.c: Likewise.
13481 * libio/__fpurge.c: Likewise.
13482 * libio/__fsetlocking.c: Likewise.
13483 * assert/assert.c: Likewise.
13484 * debug/fgets_chk.c: Likewise.
13485 * debug/fgets_u_chk.c: Likewise.
13486 * debug/fread_chk.c: Likewise.
13487 * debug/fread_u_chk.c: Likewise.
13488 * debug/gets_chk.c: Likewise.
13489 * debug/obprintf_chk.c: Likewise.
13490 * debug/vasprintf_chk.c: Likewise.
13491 * debug/vdprintf_chk.c: Likewise.
13492 * debug/vsnprintf_chk.c: Likewise.
13493 * debug/vsprintf_chk.c: Likewise.
13494 * malloc/mtrace.c: Likewise.
13495 * misc/error.c: Likewise.
13496 * misc/syslog.c: Likewise.
13497 * stdio-common/asprintf.c: Likewise.
13498 * stdio-common/fxprintf.c: Likewise.
13499 * stdio-common/getw.c: Likewise.
13500 * stdio-common/isoc99_fscanf.c: Likewise.
13501 * stdio-common/isoc99_scanf.c: Likewise.
13502 * stdio-common/isoc99_vfscanf.c: Likewise.
13503 * stdio-common/isoc99_vscanf.c: Likewise.
13504 * stdio-common/isoc99_vsscanf.c: Likewise.
13505 * stdio-common/printf-prs.c: Likewise.
13506 * stdio-common/printf_fp.c: Likewise.
13507 * stdio-common/printf_fphex.c: Likewise.
13508 * stdio-common/printf_size.c: Likewise.
13509 * stdio-common/putw.c: Likewise.
13510 * stdio-common/scanf.c: Likewise.
13511 * stdio-common/sprintf.c: Likewise.
13512 * stdio-common/tmpfile.c: Likewise.
13513 * stdio-common/vfprintf.c: Likewise.
13514 * stdio-common/vfscanf.c: Likewise.
13515 * stdlib/strfmon_l.c: Likewise.
13516 * sunrpc/openchild.c: Likewise.
13517 * sunrpc/xdr_stdio.c: Likewise.
13518 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13519 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13520
d6c33fda
RM
135212012-05-24 Roland McGrath <roland@hack.frob.com>
13522
c1487492
RM
13523 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13524
13525 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13526 in the third column, to generate for the shared library an IFUNC
13527 that uses _dl_vdso_vsym.
13528 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13529 * Makeconfig (object-suffixes-noshared): New variable.
13530
13531 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13532 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13533 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13534 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13535
d6c33fda
RM
13536 [BZ #14132]
13537 * include/sys/time.h (__gettimeofday): Remove macro.
13538 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13539 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13540 Remove INTDEF.
13541 (__gettimeofday): Add libc_hidden_def.
13542 (gettimeofday): Add libc_hidden_weak.
13543 * sysdeps/mach/gettimeofday.c: Likewise.
13544 * sysdeps/posix/gettimeofday.c: Likewise.
13545 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13546 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13548 (__gettimeofday_internal): Remove strong_alias.
13549 (__gettimeofday): Add libc_hidden_def.
13550 (gettimeofday): Add libc_hidden_weak.
13551 * sysdeps/unix/syscalls.list (gettimeofday):
13552 Remove __gettimeofday_internal alias.
13553
b5a2bbe6
L
135542012-05-24 Daniel Jacobowitz <drow@false.org>
13555 H.J. Lu <hongjiu.lu@intel.com>
13556
13557 [BZ #12495]
13558 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13559 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13560 (largebin_index_32_big): New.
13561 (largebin_index): Use it for 16-byte alignment.
13562 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13563 correction with front_misalign.
13564
cfba4fda
L
135652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13566
7f907421
L
13567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13569 Likewise.
13570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13571 Likewise.
13572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13573 Likewise.
13574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13575 Likewise.
13576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13577 Likewise.
13578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13579 Likewise.
13580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13581 Likewise.
13582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13583 Likewise.
13584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13585 Likewise.
13586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13587 Likewise.
13588 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13589 Likewise.
13590 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13591 Likewise.
13592
cfba4fda
L
13593 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13594 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13595
80bad0cc
JM
135962012-05-24 Joseph Myers <joseph@codesourcery.com>
13597
7a25eb06
JM
13598 [BZ #10846]
13599 [BZ #14036]
13600 * math/libm-test.inc (exp_test): Add test from bug 14036.
13601 (pow_test): Add test from bug 10846.
13602
795405f9
JM
13603 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13604 and other flags.
13605 (special_function): Do not include flags in test name.
13606 (parse_args): Likewise.
13607 * sysdeps/i386/fpu/libm-test-ulps: Update.
13608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13609 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13610 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13612
80bad0cc
JM
13613 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13614 exceptions.
13615 * math/libm-test.inc ("Philosophy"): Update comment about
13616 exception testing.
13617 (UNDERFLOW_EXCEPTION): New macro.
13618 (UNDERFLOW_EXCEPTION_OK): Likewise.
13619 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13620 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13621 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13622 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13623 (INVALID_EXCEPTION_OK): Update value.
13624 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13625 (OVERFLOW_EXCEPTION_OK): Likewise.
13626 (IGNORE_ZERO_INF_SIGN): Likewise.
13627 (test_exceptions): Handle underflow exceptions.
13628 (acos_test): Update for underflow exception expectations.
13629 (cexp_test): Likewise.
13630 (clog_test): Likewise.
13631 (clog10_test): Likewise.
13632 (csqrt_test): Likewise.
13633 (ctan_test): Likewise.
13634 (ctanh_test): Likewise.
13635 (exp_test): Likewise.
13636 (exp10_test): Likewise.
13637 (exp2_test): Likewise.
13638 (expm1_test): Likewise.
13639 (fma_test): Likewise.
13640 (j0_test): Likewise.
13641 (jn_test): Likewise.
13642 (nexttoward_test): Likewise.
13643 (pow_test): Likewise.
13644 (scalbn_test): Likewise.
13645 (scalbln_test): Likewise.
13646 (tan_test): Likewise.
13647 (y1_test): Likewise.
13648 * sysdeps/i386/fpu/libm-test-ulps: Update.
13649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13650
9e0e3d0b
DM
136512012-05-23 David S. Miller <davem@davemloft.net>
13652
13653 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13654 (__libc_sigaction): Remove unused local variables.
13655
ccd0a08f
L
136562012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13657
13658 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13659
62bdf9a6
PE
136602012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13661
f8591f80
PE
13662 mktime: avoid signed integer overflow
13663 * time/mktime.c (__mktime_internal): Do not mishandle the case
13664 where diff == INT_MIN.
13665
94c7d826
PE
13666 mktime: simplify computation of average
13667 * time/mktime.c (ranged_convert): Use new time_t_avg function
13668 instead of rolling our own (probably-slower) code.
13669
ce73d683
PE
13670 mktime: do not assume signed right shift propagates sign bit
13671 * time/mktime.c (isdst_differ): New static function.
13672 (__mktime_internal): No need to normalize tm_isdst now.
13673 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13674 tm_isdst values.
13675
72a22e59
PE
13676 mktime: merge another wrapv change from gnulib
13677 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13678 from some compilers.
13679
68605433
PE
13680 mktime: remove incorrect attempt at unusual arithmetics
13681 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13682 The code didn't really work on such machines anyway.
13683 (TYPE_MINIMUM): Assume two's complement.
13684 (twos_complement_arithmetic): Verify that long_int and time_t
13685 are two's complement (or unsigned, in the latter case).
13686
03cf7fe3
PE
13687 mktime: check signed shifts on long_int and time_t, too
13688 * time/mktime.c (SHR): Check that shifts work as desired
13689 on the types long_int and time_t too, as SHR is used on
13690 such types.
13691
f04dfbc2
PE
13692 mktime: do not assume 'long' is wide enough
13693 * time/mktime.c (verify): Move decl up.
13694 (long_int): New type.
13695 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13696 to remove assumption in the code that 'long' is wide enough to
13697 store year values. This assumption is not true on x32 and on
13698 some non-glibc platforms.
13699
62bdf9a6
PE
13700 mktime: merge wrapv change from gnulib
13701 * time/mktime.c (WRAPV): New macro.
13702 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13703 (guess_time_tm, __mktime_internal): Do not assume that signed
13704 integer overflow wraps around; modern compilers generate code
13705 where this assumption is no longer valid.
13706
5e292e4f
L
137072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13708
13709 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13710 Replace "jmp L(pseudo_end)" with "ret".
13711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13712 Likewise.
13713
8caf8c87
AJ
137142012-05-23 Andreas Jaeger <aj@suse.de>
13715
13716 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13717 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13718
1a09dc56
AJ
137192012-05-23 Andreas Jaeger <aj@suse.de>
13720 Maximilian Attems <max@stro.at>
13721
13722 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13723 New macros.
13724
1c87aba0
L
137252012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13726
13727 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13728 code so that pseudo_end is just ret and the stack pointer is
13729 correct also for static library in error case.
13730
40e45bd5
JM
137312012-05-23 Joseph Myers <joseph@codesourcery.com>
13732
c2670533
JM
13733 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13734 move to syscalls.list.
13735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13739
40e45bd5
JM
13740 * manual/install.texi (Running make install): Do not mention Linux
13741 kernel version for which pt_chown is not needed.
13742 (Linux): Do not mention problems with nscd with 2.0 kernels.
13743 * INSTALL: Regenerated.
13744
be08eda5
AJ
137452012-05-23 Andreas Jaeger <aj@suse.de>
13746
13747 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13748 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13749 macro.
13750 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13752 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13754 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13757 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13758 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13759 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13760 * sysdeps/unix/sysv/linux/bits/in.h
13761 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13762
a6a056bb
RM
137632012-05-22 Roland McGrath <roland@hack.frob.com>
13764
13765 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13766 (PREPARE_VERSION): Just use assert instead, it will be elided
13767 under [NDEBUG] anyway.
13768
c9009328
L
137692012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13770
13771 * sysdeps/unix/sysv/linux/Makefile: Include
13772 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13773 (sysdep_routines): Remove sysctl.
c9009328
L
13774 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13775 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13776 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13777 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13778 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13779
73338355
AJ
137802012-05-22 Andreas Jaeger <aj@suse.de>
13781
13782 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13783 that pseudo_end is just ret and the stack pointer is correct also
13784 for static library in error case.
13785
d44638b0
PP
137862012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13787
13788 [BZ #14122]
13789 * nss/nsswitch.c (defconfig_entries): New variable.
13790 (__nss_database_lookup): Don't leak defconfig entries.
13791 (nss_parse_service_list): Don't leak on error paths.
13792 (free_database_entries): New function.
13793 (free_defconfig): New function.
13794 (free_mem): Move common code to free_database_entries.
13795
31a39bd8
L
137962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13797
da0331a8
L
13798 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13799 Add arch_prctl.
13800 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13801
31a39bd8
L
13802 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13803 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13804 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13805 New macro.
13806 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13807 (INTERNAL_SYSCALL_TYPES): Likewise.
13808 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13809 (LOAD_REGS_TYPES_[1-6]): Likewise.
13810 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13811 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13812
45470df3
AZ
138132012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13814
13815 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13816 copysignl for GLIBC_2_0.
13817 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13818 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13819 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13820 logbl for GLIBC_2_0.
13821 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13822 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13823
98a61bcb
L
138242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13825
a4f6e481
L
13826 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13828
f63d5db6
L
13829 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13830 Use "neg %eax".
13831
98a61bcb
L
13832 * time/mktime.c: Update copyright years.
13833
95770f14
PE
138342012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13835
6226efbd
PE
13836 mktime: merge comment-quoting-style change from gnulib
13837 * time/mktime.c: Quote 'like this' in comments.
13838 The GNU coding standards suggest that we no longer quote `like this',
13839 as "`" and "'" are typically rendered asymmetrically nowadays.
13840 The typical gnulib style is to quote 'like this' when quoting
13841 code, and "like this" when quoting English.
13842
b99e4f78
PE
13843 * time/mktime.c (compile-command): Add "-I.".
13844
643e01e6
PE
13845 mktime: merge mktime-internal.h change from gnulib
13846 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13847
2554247d
PE
13848 mktime: merge time_r change from gnulib
13849 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13850
826dd0ab
PE
13851 mktime: merge DEBUG change from gnulib
13852 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13853 case system <time.h> has a #define.
13854
bd83aabe
PE
13855 mktime: merge <sys/types.h> change from gnulib
13856 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13857 since <time.t> is now guaranteed to define time_t.
13858
95770f14
PE
13859 mktime: merge HAVE_CONFIG_H change from gnulib
13860 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13861
5e1a27a9
L
138622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13863
0e44a77e
L
13864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13865 Use "neg %eax".
13866
5e1a27a9
L
13867 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13868 __rlim_t cast.
13869 (struct rusage): Use anonymous union to pad each field to
13870 __syscall_slong_t.
13871
46259bec
DM
138722012-05-21 David S. Miller <davem@davemloft.net>
13873
13874 * Makefules (o-iterator): Remove .s cases.
13875 (compile-command.s): Delete.
13876 (COMPILE.s): Delete.
13877 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13878
59f0c22e
JM
138792012-05-21 Joseph Myers <joseph@codesourcery.com>
13880
13881 * configure.in (libc_cv_predef_stack_protector): Only consider
13882 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13883 * configure: Regenerated.
13884
20c07380
L
138852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13886
bbb3154b
L
13887 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13888 New macro. Use R*LP on int and pointer.
13889 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
13890 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
13891 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
13892 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
13893
20c07380
L
13894 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
13895 [__WORDSIZE_TIME64_COMPAT32] instead of
13896 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
13897 (struct utmp): Likewise.
13898 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
13899 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
13900 Renamed to ...
13901 (__WORDSIZE_TIME64_COMPAT32): This.
13902 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
13903 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
13904 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
13906 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
13907 (__WORDSIZE_TIME64_COMPAT32): New macro.
13908
d8d1017e
AJ
139092012-05-21 Andreas Jaeger <aj@suse.de>
13910
13911 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
13912 only if [SHARED]. Add prototype for __wcschr_ia32.
13913
6c7fb145
RM
139142012-05-21 Roland McGrath <roland@hack.frob.com>
13915
13916 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
13917 of %rbp unmolested in the jmp_buf while mangling the low bits.
13918 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
13919 unmolested high bits of %rbp while demangling the low bits.
13920 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13921
66274218
AJ
139222012-05-21 Andreas Jaeger <aj@suse.de>
13923
07c58f8f
AJ
13924 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
13925 * sunrpc/svc_simple.c: Use it for registerrpc.
13926 * sunrpc/xcrypt.c: Use it for passwd2des.
13927
66274218
AJ
13928 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
13929
61f65140
L
139302012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13931
13932 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
13933 Don't define if [__SYSCALL_WORDSIZE != 32].
13934 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
13935 New macro.
13936
5fefb436
AJ
139372012-05-21 Bruno Haible <bruno@clisp.org>
13938 Andreas Jaeger <aj@suse.de>
13939
13940 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
13941 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
13942 inptr and inend for must_buffer_ch.
13943 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
13944 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
13945 * stdio-common/Makefile (tests): Remove bug15.
13946 (bug15-ENV): Remove macro.
13947 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
13948 anymore.
13949
d8e272ab
AJ
139502012-05-19 Andreas Jaeger <aj@suse.de>
13951 Roland McGrath <roland@hack.frob.com>
13952
13953 * manual/contrib.texi: Completely rewritten. It contains now an
13954 alphabetical list of contributors and their contributions.
13955
4a56a162
RH
139562012-05-21 Richard Henderson <rth@twiddle.net>
13957
13958 * misc/getauxval.c (__getauxval): Use unsigned long int.
13959 * misc/sys/auxv.h: Include <sys/cdefs.h>.
13960 (getauxval): Use unsigned long int.
13961
d024d23c
L
139622012-05-21 H.J. Lu <hongjiu.lu@intel.com>
13963
13964 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13965
cbc00a03
RM
139662012-05-21 Roland McGrath <roland@hack.frob.com>
13967
13968 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
13969 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
13970 __alignof__ (long double).
13971
478143fa
AZ
139722012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13973
13974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13975
c7683a6d
RH
139762012-05-20 Richard Henderson <rth@twiddle.net>
13977
13978 * misc/getauxval.c: New file.
13979 * misc/sys/auxv.h: New file.
13980 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
13981 (routines): Add getauxval.
13982 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
13983 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
13984 * elf/dl-sysdep.c (_dl_auxv): Remove.
13985 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
13986 * elf/dl-support.c (_dl_auxv): New variable.
13987 (_dl_aux_init): Initialize it.
13988 * manual/startup.texi (Auxiliary Vector): New node.
13989 * sysdeps/generic/bits/hwcap.h: New file.
13990 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
13991 * sysdeps/powerpc/sysdep.h: ... here. Include it.
13992 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
13993 * sysdeps/sparc/sysdep.h: ... here. Include it.
13994 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
13995 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13997 Update.
c7683a6d
RH
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
13999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14001 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14006
a6f1845d
AZ
140072012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14008
14009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14010
cbcbe830
DM
140112012-05-19 David S. Miller <davem@davemloft.net>
14012
14013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14014
e0b16cc2
JM
140152012-05-19 Joseph Myers <joseph@codesourcery.com>
14016
14017 [BZ #14123]
14018 * math/s_ccosh.c: Include <float.h>
14019 (__ccosh): Avoid internal overflow calculating sinh and cosh
14020 values before multiplying by sin and cos values.
14021 * math/s_ccoshf.c: Likewise.
14022 * math/s_ccoshl.c: Likewise.
14023 * math/s_csin.c: Likewise.
14024 * math/s_csinf.c: Likewise.
14025 * math/s_csinl.c: Likewise.
14026 * math/s_csinh.c: Likewise.
14027 * math/s_csinhf.c: Likewise.
14028 * math/s_csinhl.c: Likewise.
14029 * math/libm-test.inc (ccos_test): Add more tests.
14030 (ccosh_test): Likewise.
14031 (csin_test): Likewise.
14032 (csinh_test): Likewise.
14033 * sysdeps/i386/fpu/libm-test-ulps: Update.
14034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14035
6ad13e08
L
140362012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14037
f66f0ce8
L
14038 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14039 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14040
6ad13e08
L
14041 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14042
b1d072a7
JM
140432012-05-19 Joseph Myers <joseph@codesourcery.com>
14044
14045 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14046 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14047 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14048 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14049 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14050 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14051 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14052 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14053 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14054 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14055 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14056 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14057 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14058 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14059 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14060 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14061 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14062 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14063 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14064 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14065 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14066 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14067 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14068 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14069 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14070 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14071 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14072 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14073 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14074 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14075 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14076
9eae47cb
AJ
140772012-05-18 Andreas Jaeger <aj@suse.de>
14078
14079 * csu/.gitignore: Delete.
14080
bb07f69f
L
140812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14082
14083 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14084 (timex): Use __syscall_slong_t.
14085
e6bdb741
AJ
140862012-05-18 Andreas Jaeger <aj@suse.de>
14087 Carlos O'Donell <carlos_odonell@mentor.com>
14088
14089 * manual/install.texi (Configuring and compiling): Update
14090 description about files modified in the source directory.
d6c33fda 14091 * INSTALL: Regenerated.
e6bdb741 14092
1b74487e
L
140932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14094
14095 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14096 value. Use "or" to set return value to -1.
14097 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14098 negate return value.
14099
a88b64b9
TMQMF
141002012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14101
14102 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14103 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14104 failure if the compiler has Graphite support disabled.
14105 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14106 Likewise.
14107 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14108 CFLAGS-memmove.c): Likewise.
14109 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14110 Likewise.
14111
3707636e
L
141122012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14113
610b8622
L
14114 * sysdeps/x86_64/x32/_itoa.h: New file.
14115
7cd195df
L
14116 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14117 getdents system call only if kernel and user dirents have the
14118 same d_ino and d_off.
14119
94b07d20
L
14120 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14121 LLONG_MAX != LONG_MAX.
14122 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14123 (_fitoa_word): Likewise.
14124
18298070
L
14125 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14126 years.
14127 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14128 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14129 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14130
553c7ea4
L
14131 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14132 include <bits/wordsize.h>. Check __x86_64__ instead of
14133 __WORDSIZE.
14134 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14135 if __x86_64__ is defined. Use anonymous union on fpstate.
14136
3707636e
L
14137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14138 anonymous union.
14139
b53ef01a
AS
141402012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14141
37fb1dc0
AS
14142 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14143 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14144 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14145 Refer to _rtld_local_ro instead of _rtld_global_ro.
14146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14147 Likewise.
14148 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14149 Likewise.
14150 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14151 Likewise.
14152 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14153 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14154 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14155
b53ef01a
AS
14156 * sysdeps/powerpc/powerpc32/dl-machine.c
14157 (__elf_machine_runtime_setup) [PROF]: Don't reference
14158 _dl_prof_resolve.
14159
7a185db2
AJ
141602012-05-18 Andreas Jaeger <aj@suse.de>
14161
14162 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14163 function only available for GCCs before 3.4 since GCC 3.4
14164 introduced a builtin.
14165 (lrint): Likewise.
14166 (llrintf): Likewise.
14167 (llrint): Likewise.
14168 (fmaxf): Likewise.
14169 (fmax): Likewise.
14170 (fminf): Likewise.
14171 (fmin): Likewise.
14172 (rint): Likewise.
14173 (rintf): Likewise.
14174 (nearbyint): Likewise.
14175 (nearbyintf): Likewise.
14176 (ceil): Likewise.
14177 (ceilf): Likewise.
14178 (floor): Likewise.
14179 (floorf): Likewise.
14180
3e5aef87
L
141812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14182
428bd707
L
14183 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14184 on both fields and cast pointer to __syscall_ulong_t.
14185
3e5aef87
L
14186 * bits/types.h (__fsword_t): New type.
14187 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14188 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14190 (__FSWORD_T_TYPE): Likewise.
14191 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14192 (__FSWORD_T_TYPE): Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14194 (__FSWORD_T_TYPE): Likewise.
14195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14196 (__FSWORD_T_TYPE): Likewise.
14197 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14198 __SWORD_TYPE with __fsword_t.
14199 (statfs64): Likewise.
14200
1ba7c3dc
DM
142012012-05-17 David S. Miller <davem@davemloft.net>
14202
14203 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14204
59910343
AJ
142052012-05-17 Andreas Jaeger <aj@suse.de>
14206
14207 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14208 warning.
14209
2e4c1e9e
L
142102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14211
14212 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14213
de7f5ce7
AJ
142142012-05-17 Andreas Jaeger <aj@suse.de>
14215
14216 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14217 when it is used.
14218
286abc3d
CM
142192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14220
14221 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14222
477cc68e
L
142232012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14224
14225 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14226 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14227
1a0994f5
CD
142282012-05-17 Andreas Jaeger <aj@suse.de>
14229 Carlos O'Donell <carlos_odonell@mentor.com>
14230
14231 [BZ #14059]
14232 * sysdeps/x86_64/multiarch/init-arch.h
14233 (bit_YMM_Usable): Rename to...
14234 (bit_AVX_Usable): ... this.
14235 (bit_FMA4_Usable): New macro.
14236 (bit_XMM_state): New macro.
14237 (bit_YMM_state): New macro.
14238 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14239 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14240 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14241 (CPUID_OSXSAVE): New macro.
14242 (CPUID_AVX): New macro.
14243 (CPUID_FMA4): New macro.
14244 (index_YMM_Usable): Rename to...
14245 (index_AVX_Usable): ... this.
14246 (HAS_AVX): Use HAS_ARCH_FEATURE.
14247 (HAS_FMA4): Likewise.
14248 (HAS_YMM_USABLE): Remove.
14249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14250 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14251 are present.
14252 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14253 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14254 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14255 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14256 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14257
0af797de
CM
142582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14259
14260 * math/libm-test.c: Support platforms without multiple rounding modes.
14261 * math/bug-nextafter.c: Support platforms without FP exceptions.
14262 * math/bug-nexttoward.c: Likewise.
14263 * math/test-fenv.c: Likewise.
14264 * math/test-misc.c: Likewise.
14265 * stdlib/bug-getcontext.c: Likewise.
14266
e39745ff
AJ
142672012-05-17 Andreas Jaeger <aj@suse.de>
14268
14269 * manual/examples/search.c (critter_cmp): Change signature to
14270 avoid warnings.
14271 * manual/string.texi (Collation Functions): Likewise.
14272
48970aba
L
142732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14274
14275 * bits/types.h: Fold copyright years.
14276 * bits/typesizes.h: Likewise.
14277 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14279 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14280 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14281 * time/time.h: Likewise.
14282
bedee953
PP
142832012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14284
14285 [BZ #208]
14286 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14287 in instead of returning them. Return void.
14288 (__libc_mallinfo): Accumulate over all arenas.
14289 (__malloc_stats): Adjust for change in int_mallinfo interface.
14290
61653dfb
RM
142912012-05-16 Roland McGrath <roland@hack.frob.com>
14292
30b99d79
RM
14293 [BZ #10375]
14294 * configure.in (NM): Add AC_CHECK_TOOL for it.
14295 (libc_extra_cflags): New substituted variable.
14296 Check for -fstack-protector being used implicitly.
14297 * configure: Regenerated.
14298 * config.make.in (config-extra-cflags): New variable,
14299 gets @libc_extra_cflags@.
14300 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14301
61653dfb
RM
14302 [BZ #10375]
14303 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14304 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14305 * configure: Regenerated.
14306 * config.make.in (CPPUNDEFS): New substituted variable.
14307 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14308 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14309 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14310
661768bb
L
143112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14312
14313 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14314 (mq_attr): Use __syscall_slong_t.
14315
d4261567
L
143162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14317
14318 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14319 Check __x86_64__ instead of __WORDSIZE.
14320 (_STAT_VER_LINUX): Likewise.
14321 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14322 __syscall_ulong_t and __syscall_slong_t.
14323 (stat64): Likewise.
14324
cf3ff365
L
143252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14326
14327 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14328
76cf3e4d
L
143292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14330
14331 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14332
a637753a
L
143332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14334
14335 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14336 __syscall_ulong_t.
14337
d5e05119
L
14338 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14339 include <bits/wordsize.h>. Check __x86_64__ instead of
14340 __WORDSIZE.
14341 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14342 defined.
14343 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14344
f62ee380
L
14345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14346 include <bits/wordsize.h>. Check __x86_64__ instead of
14347 __WORDSIZE.
14348 (user_regs_struct): Use "__extension__ unsigned long long"
14349 instead of "unsigned long" if __x86_64__ is defined.
14350 (user): Likewise. Pad after pointer field if __ILP32__ is
14351 defined.
14352
4e124ced
JM
143532012-05-16 Joseph Myers <joseph@codesourcery.com>
14354
6a3951a0
JM
14355 * configure.in (makeinfo): Require version 4.5 or later. Allow
14356 versions 5 to 9.
14357 * configure: Regenerated.
14358 * manual/install.texi (texinfo): Increase version requirement to
14359 4.5 or later.
14360 * INSTALL: Regenerated.
14361
4e124ced
JM
14362 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14363
953ca31a
L
143642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14365
14366 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14367
617aca05
L
14368 * sysdeps/x86_64/x32/ffs.c: New file.
14369
5762f7ae
L
14370 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14371 __syscall_ulong_t.
14372 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14373 defined. Use __syscall_ulong_t.
14374 (shminfo): Use __syscall_ulong_t.
14375 (shm_info): Likewise.
14376
a26b6856
L
14377 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14378 __syscall_ulong_t.
14379
cb2b9ef7
L
14380 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14381 <bits/wordsize.h>.
14382 (msgqnum_t): Use __syscall_ulong_t.
14383 (msglen_t): Likewise.
14384 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14385 __syscall_ulong_t.
14386
34683bb0
L
14387 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14388 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14389
84a68786
L
14390 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14391
48baa5f1
L
14392 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14393 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14394
180be88b
L
14395 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14396 __syscall_slong_t.
14397
5e90c8ad
L
14398 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14399 include <bits/wordsize.h>. Check __x86_64__ instead of
14400 __WORDSIZE.
14401
23dfb58b
L
14402 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14403 "unsigned long long int" if __x86_64__ is defined.
14404 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14405
ce5d54b0
L
14406 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14407 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14408 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14409
13dc9eac
L
14410 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14411 <stdint.h>.
14412 (GET_PC): Cast to uintptr_t first.
14413 (GET_FRAME): Likewise.
14414 (GET_STACK): Likewise.
14415
a7895d15
L
14416 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14417 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14418 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14419 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14420 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14421 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14422 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14423 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14424 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14425 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14426 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14427 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14428 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14429 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14430 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14431 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14432 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14433 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14434 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14435 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14436 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14437 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14438 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14439 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14440 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14441 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14442 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14443 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14445
656416c9
AS
144462012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14447
5bd66283
AS
14448 * Makerules (+depfiles): Also collect depfiles from .oS in
14449 $(extra-objs).
14450 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14451 .oS, $(libnldbl-routines)).
14452
656416c9
AS
14453 * Makerules (native-compile-mkdep-flags): Define.
14454 * sunrpc/Makefile (extra-objs): Add $(addprefix
14455 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14456 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14457 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14458 calling $(make-target-directory).
14459
a46f2169
L
144602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 * bits/types.h (__snseconds_t): Removed.
14463 * time/time.h (struct timespec): Replace __snseconds_t with
14464 __syscall_slong_t.
14465 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14466 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14467 Likewise.
14468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14469 (__SNSECONDS_T_TYPE): Likewise.
14470 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14471 (__SNSECONDS_T_TYPE): Likewise.
14472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14473 (__SNSECONDS_T_TYPE): Likewise.
14474
6af6528b
L
144752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14476
14477 * sysdeps/mach/hurd/bits/typesizes.h
14478 (__SYSCALL_SLONG_TYPE): New macro.
14479 (__SYSCALL_ULONG_TYPE): Likewise.
14480
de986b56
L
144812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14482
14483 * bits/types.h (__syscall_slong_t): New type.
14484 (__syscall_ulong_t): Likewise.
14485
14486 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14487 (__SYSCALL_ULONG_TYPE): Likewise.
14488 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14489 (__SYSCALL_SLONG_TYPE): Likewise.
14490 (__SYSCALL_ULONG_TYPE): Likewise.
14491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14492 (__SYSCALL_SLONG_TYPE): Likewise.
14493 (__SYSCALL_ULONG_TYPE): Likewise.
14494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14495 (__SYSCALL_SLONG_TYPE): Likewise.
14496 (__SYSCALL_ULONG_TYPE): Likewise.
14497
85736dc7
L
144982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14499
14500 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14501 Add sigaltstack-offsets.sym.
14502 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14503 <sigaltstack-offsets.h>.
14504 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14505 longjmp_msg pointer.
14506 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14507 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14508 signal stack.
14509 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14510
cc03b296
JM
145112012-05-15 Joseph Myers <joseph@codesourcery.com>
14512
a9538892
JM
14513 * elf/stackguard-macros.h: Remove file.
14514 * sysdeps/generic/stackguard-macros.h: New file.
14515 * sysdeps/i386/stackguard-macros.h: Likewise.
14516 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14517 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14518 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14519 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14520 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14521 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14522 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14523 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14524 <elf/stackguard-macros.h>.
14525
cc03b296
JM
14526 [BZ #14109]
14527 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14528 __aligned__ in attribute.
14529 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14530 (gregset_t): Likewise.
14531
93171016
L
145322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14533
14534 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14535 * sysdeps/x86_64/64/Implies-after: Here. New file.
14536 * sysdeps/x86_64/x32/Implies-after: New file.
14537
d86813a0
L
145382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14539
14540 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14541 and access return value for _dl_profile_fixup. Use R10_LP to
14542 load frame size.
14543
2953ec75
L
145442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14545
14546 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14547
3b550e9e
L
145482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14549
14550 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14551 * sysdeps/x86_64/x32/sysdep.h: New file.
14552
eda41706
L
145532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14554
14555 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14556 * sysdeps/x86_64/setjmp.S: Likewise.
14557
9ea01d93
AZ
145582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14559
14560 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14561 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14562 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14563 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14564 remove unused global constant.
14565
02a91938
CM
145662012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14567
14568 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14569 include of <not-cancel.h>.
14570
6540185f
RM
145712012-05-15 Roland McGrath <roland@hack.frob.com>
14572
14573 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14574
509072a0
AJ
145752012-05-15 Jeff Law <law@redhat.com>
14576 Andreas Jaeger <aj@suse.de>
14577
14578 [BZ #13594]
14579 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14580 out from...
14581 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14582 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14583 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14584 code changing __hst_map_handle.map.
14585
ba75122d
RM
145862012-05-15 Roland McGrath <roland@hack.frob.com>
14587
14588 * configure.in (sysnames): Look for Implies-before and Implies-after
14589 files.
14590 * configure: Regenerated.
14591
890d8bd8
L
145922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14593
14594 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14595 8-byte data alignment with LP_SIZE alignment.
14596
f6ee6623
L
145972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14598
14599 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14600 into R10_LP.
14601
ea2626f6
L
146022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14603
14604 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14605
085f715e
L
146062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14607
14608 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14609 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14610 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14611 Likewise.
14612 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14613
be8498fc
L
146142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14615
14616 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14617 (stackinfo_sub_sp): Likewise.
14618
70bc83b9
L
146192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14620
14621 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14622 RAX_LP.
14623
9bc0b730
L
146242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14625
14626 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14627 into R*_LP.
14628
6d2850e7
L
146292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14630
14631 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14632 sizes into R*_LP.
14633
3cb84561
L
146342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14635
14636 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14637
54e2ed81
L
146382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14639
14640 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14641 into R11_LP and load __x86_64_shared_cache_size_half into
14642 R8_LP.
14643
8a17f349
L
146442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14645
14646 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14647 R8_LP.
14648
777b1eea
AZ
146492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14650
14651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14652 logb for POWER7.
14653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14654 logbf for POWER7.
14655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14656 logbl for POWER7.
14657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14658 powerpc32/power7/fpu/s_logb.c via #include.
14659 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14660 powerpc32/power7/fpu/s_logbf.c via #include.
14661 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14662 powerpc32/power7/fpu/s_logbl.c via #include.
14663
d20d4ac2
JM
146642012-05-15 Joseph Myers <joseph@codesourcery.com>
14665
14666 * README.libm: Remove file.
14667
6cdef1ab
L
146682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14669
14670 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14671 count for x32. Use R*_LP and omit operand-size suffix.
14672
0b254d8f
L
146732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14674
14675 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14676 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14677 * sysdeps/x86_64/x32/shlib-versions: New file.
14678
ceb809dc
RM
146792012-05-14 Roland McGrath <roland@hack.frob.com>
14680
14681 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14682 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14683 Use _dl_fatal_printf instead.
14684
37f1abd4
JM
146852012-05-14 Joseph Myers <joseph@codesourcery.com>
14686
14687 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14688 set if not set by the user. Do not allow for being unset.
14689 * sysdeps/unix/sysv/linux/configure: Regenerated.
14690
11de3a33
L
146912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14692
14693 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14694 the `q' suffix from lea and replace .quad with ASM_ADDR.
14695
e02f153a
L
146962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14697
14698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14699 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14700 instead of $17.
14701 (PTR_DEMANGLE): Likewise.
14702
520ae0fd
L
147032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14704
14705 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14706 (LP_OP): Likewise.
14707 (ASM_ADDR): Likewise.
14708 (RAX_LP): Likewise.
14709 (RBP_LP): Likewise.
14710 (RBX_LP): Likewise.
14711 (RCX_LP): Likewise.
14712 (RDI_LP): Likewise.
14713 (RSI_LP): Likewise.
14714 (RSP_LP): Likewise.
14715 (R8_LP): Likewise.
14716 (R9_LP): Likewise.
14717 (R10_LP): Likewise.
14718 (R10_LP): Likewise.
14719 (R11_LP): Likewise.
14720 (R12_LP): Likewise.
14721 (R13_LP): Likewise.
14722 (R14_LP): Likewise.
14723 (R15_LP): Likewise.
14724
b985be81
L
147252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14726
14727 * sysdeps/x86_64/x32/dl-machine.h: New file.
14728
6a4888ff
AJ
147292012-05-14 Andreas Jaeger <aj@suse.de>
14730
14731 * manual/Makefile (subdir): Remove export of subdir.
14732 (all): Remove target.
14733 (.PHONY): Remove all from list.
14734 (mkinstalldirs): Remove.
14735 (.PHONY): Remove installdirs from list.
14736 ($(inst_infodir)/libc.info): Use make-target-directory.
14737 (installdirs): Remove.
14738 (subdir_%): Remove.
14739 (glibc-targets): Remove.
14740 (lib): Remove.
14741 (stubs): Remove.
14742 ($(objpfx)stubs ../po/manual.pot): Remove.
14743 ($(objpfx)stamp%): Remove.
14744 (make-target-directory): Remove.
14745 (subdir_install): Remove.
14746 (routines): Remove.
14747 (aux): Remove.
14748 (sources): Remove.
14749 (objects): Remove.
14750 (headers): Remove.
14751
14752 [BZ #13750]
14753 * manual/.gitignore: Remove, it's not needed anymore.
14754 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14755 all files in it.
14756 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14757 directory.
14758 (texis): Renamed to $(objpfx)texis.
14759 (texis-path): New, contains path to generated files.
14760 (chapters.%): Use texis-path for complete path, add extra argument
14761 libc-texinfo.sh.
14762 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14763 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14764 (summary,texi, stamp-summary): Use complete path of
14765 files. Generate files in build dir.
14766 (dir-add.texi): Build in build dir.
14767 (libm-err.texi,stamp-libm-err): Likewise.
14768 (version.texi, stamp-version): Likewise.
14769 (.%c.texi): Likewise.
14770 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14771 (mostlyclean): Remove target.
14772 (realclean): Remove target.
14773 (generated): Add new variable with contents from mostlyclean and
14774 realclean, remove entries duplicated in common-mostlyclean, add
14775 stamp-libm-err and stamp-version.
14776 (generated-dirs): Add libc directory.
14777 ($(inst_infodir)/libc.info): Install files from build dir.
14778
14779 * manual/install.texi (Configuring and compiling): Adjust since
14780 the info files are not part of the tar ball anymore.
14781
7ac77294
AJ
147822012-05-14 Andreas Jaeger <aj@suse.de>
14783
14784 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14785 variable.
14786
ffb7875d
JM
147872012-05-14 Joseph Myers <joseph@codesourcery.com>
14788
14789 [BZ #13717]
14790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14791 to 2.2.0 where earlier.
14792 * sysdeps/unix/sysv/linux/configure: Regenerated.
14793 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14794 Remove conditional code.
14795 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14796 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14797 Remove conditional code.
14798 [!__NR_lchown]: Likewise.
14799 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14800 [__NR_lchown]: Likewise.
14801 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14802 comment referencing __ASSUME_LCHOWN_SYSCALL.
14803 * sysdeps/unix/sysv/linux/i386/sigaction.c
14804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14806 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14807 Remove conditional code.
14808 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14809 (__protocol_available): Remove #if 0 code.
14810 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14811 conditional code.
14812 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14813 * sysdeps/unix/sysv/linux/kernel-features.h
14814 (__ASSUME_GETCWD_SYSCALL): Don't define.
14815 (__ASSUME_REALTIME_SIGNALS): Likewise.
14816 (__ASSUME_PREAD_SYSCALL): Likewise.
14817 (__ASSUME_PWRITE_SYSCALL): Likewise.
14818 (__ASSUME_POLL_SYSCALL): Likewise.
14819 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14820 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14821 non-SPARC.
14822 (__ASSUME_SIOCGIFNAME): Don't define.
14823 (__ASSUME_MSG_NOSIGNAL): Likewise.
14824 (__ASSUME_SENDFILE): Define unconditionally.
14825 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14826 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14827 conditional code.
14828 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14829 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14830 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14831 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14832 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14833 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14834 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14836 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14837 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14842 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14843 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14848 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14849 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14851 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14854 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14855 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14857 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14858 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14859 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14860 Remove conditional code.
14861 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14862 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14863 Remove conditional code.
14864 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14865 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14866 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14867 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14868 Remove conditional code.
14869 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14870 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14871 Remove conditional code.
14872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14873 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14874 Remove conditional code.
14875 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14876 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14877 Remove conditional code.
14878 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14879 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14880 Remove conditional code.
14881 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14882 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14883 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14884 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14885 * sysdeps/unix/sysv/linux/sigaction.c
14886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14888 * sysdeps/unix/sysv/linux/sigpending.c
14889 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14890 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14891 * sysdeps/unix/sysv/linux/sigprocmask.c
14892 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14893 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14894 * sysdeps/unix/sysv/linux/sigsuspend.c
14895 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14896 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14897 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14898 (__libc_missing_rt_sigs): Remove.
14899 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
14900 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
14901 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
14902 Remove conditional code.
14903 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
14904 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
14905 return 1.
14906 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
14907 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
14908 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
14909 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
14910
1bfb7291
AJ
149112012-05-14 Andreas Jaeger <aj@suse.de>
14912
caae5a81
AJ
14913 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
14914 it's not used in glibc.
14915 (__coshm1): Likewise.
14916 (__acosh1p): Likewise.
14917 (__sgn): Likewise.
14918
1bfb7291
AJ
14919 * manual/string.texi (Copying and Concatenation): Add missing
14920 variable in concat example.
14921 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14922
c044d724
L
149232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14924
144c5467 14925 [BZ #14103]
c044d724
L
14926 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
14927 __builtin_clzl with __builtin_clzll.
14928
2523c62b
L
149292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14930
14931 [BZ #14104]
14932 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
14933 libc_freeres_ptr.
14934
d7bb4c42
LD
149352012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14936
14937 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
14938 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
14939 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
14940 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
14941
9dc4e1fb
MF
149422012-05-14 Mike Frysinger <vapier@gentoo.org>
14943
14944 * NEWS: Update ia64 info.
14945
c7df0112
AS
149462012-05-12 Andreas Schwab <schwab@linux-m68k.org>
14947
14948 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
14949 used as bcopy.
14950
dc70356c
TS
149512012-05-12 Thomas Schwinge <thomas@codesourcery.com>
14952
14953 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
14954 * sysdeps/unix/syscalls.list (dup3): Likewise.
14955 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
14956 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
14957
9fb1a21f
L
149582012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14959
14960 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
14961 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
14962
4822a2a5
L
149632012-05-11 H.J. Lu <hongjiu.lu@intel.com>
14964
14965 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
14966 thread pointer.
14967 (TLS_IE): Use mov/add instead of movq/addq to load thread
14968 pointer.
14969 (TLS_GD_PREFIX): New.
14970 (TLS_GD): Use it.
14971
842b81d6
DM
149722012-05-11 David S. Miller <davem@davemloft.net>
14973
14974 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
14975 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
14976 (_FPU_SETCW): Likewise.
14977
1cf463cd
L
149782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14979
14980 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
14981 is 32-byte aligned.
14982
60cc4a18
AS
149832012-05-11 Andreas Schwab <schwab@linux-m68k.org>
14984
14985 [BZ #11837]
14986 * iconvdata/gb18030.c: Update tables.
14987 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
14988 characters specially.
14989 (BODY for TO_LOOP): Add encoding of missing ranges.
14990
febb44a4
TS
149912012-05-11 Thomas Schwinge <thomas@codesourcery.com>
14992
14993 [BZ #13673]
14994 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
14995 * sysdeps/mach/hurd/dup3.c: Likewise.
14996 * sysdeps/mach/hurd/readlinkat.c: Likewise.
14997 * sysdeps/powerpc/memmove.c:: Likewise.
14998
0a10fb9e
L
149992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15000
15001 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15002 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15003
df8a552f
L
150042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15005
15006 * elf/elf.h (R_X86_64_RELATIVE64): New.
15007 (R_X86_64_NUM): Updated.
15008 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15009 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15010 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15011 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15012 tst-quad1pie tst-quad2pie
15013 (modules-names): Add tst-quadmod1 tst-quadmod2.
15014 ($(objpfx)tst-quad1): New dependency.
15015 ($(objpfx)tst-quad2): Likewise.
15016 ($(objpfx)tst-quad1pie): Likewise.
15017 ($(objpfx)tst-quad2pie): Likewise.
15018 * sysdeps/x86_64/tst-quad1.c: New file.
15019 * sysdeps/x86_64/tst-quad1pie.c: New file.
15020 * sysdeps/x86_64/tst-quad2.c: Likewise.
15021 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15022 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15023 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15024 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15025 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15026
f34d6f84
ST
150272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15028
f42d41d1
ST
15029 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15030 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15031 * streams/stropts.h (t_scalar_t): Define type.
15032
3c3571fc
ST
15033 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15034 (_PATH_PRESERVE): Set to "/var/lib".
15035 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15036
61f06bd3
ST
15037 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15038 instead of int.
15039
918d4d71
ST
15040 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15041 if __dir_mkfile succeeded.
15042
f34d6f84
ST
15043 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15044 checking for _hurd_dtablesize. Unlock it right after having
15045 finished _hurd_dtable allocation.
15046
10589b4a
TS
150472012-05-10 Thomas Schwinge <thomas@schwinge.name>
15048
674cdbc7
TS
15049 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15050 * sysdeps/mach/hurd/configure: Regenerated.
15051 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15052 special-casing to...
15053 * sysdeps/gnu/configure.in: ... this new file.
15054 * sysdeps/unix/sysv/linux/configure: Regenerated.
15055 * sysdeps/gnu/configure: New generated file.
15056
8e41b99f
TS
15057 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15058 for Linux: use nsec instead of usec, as well as:
15059 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15060 members of type struct timespec.
15061 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15062 New macros.
15063 (struct stat64): Likewise.
15064 (_STATBUF_ST_NSEC): New macro.
15065 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15066
10589b4a
TS
15067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15068 __strtoul_internal rather than strtoul.
15069
63643c85
PT
150702012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15071
15072 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15073 and reject them.
15074
3faebe6a
ST
150752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15076
15077 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15078 which preserves existing values.
15079 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15080
c6474b07
PT
150812012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15082
15083 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15084 TIMEOUT values. Return EINVAL for NFDS values either negative or
15085 greater than FD_SETSIZE.
15086
1043890b
ST
150872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15088
15089 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15090 allocated, call __vm_protect to finish enabling the existing space, and
15091 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15092 allocate the remainder.
15093
37ed8b9b
PT
150942012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15095
15096 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15097 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15098
db653660
ST
150992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15100
37ed8b9b
PT
15101 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15102 sysdeps/mach/hurd/readlink.c.
b29d4053 15103
db653660
ST
15104 * posix/tst-sysconf.c (posix_options): Only use
15105 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15106 _POSIX_SYNCHRONIZED_IO when they are defined
15107 * sysdeps/mach/hurd/bits/posix_opt.h:
15108 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15109 (_XOPEN_REALTIME): Undefine macro.
15110 (_XOPEN_REALTIME_THREADS): Undefine macro.
15111 (_XOPEN_SHM): Undefine macro.
15112 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15113 macro to -1.
15114 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15115 macro to -1.
15116 (_POSIX_ASYNC_IO): Undefine macro.
15117 (_POSIX_PRIORITIZED_IO): Undefine macro.
15118 (_POSIX_SPIN_LOCKS): Define macro to -1.
15119
ee16e894
ST
15120 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15121 SA_NODEFER, SA_RESETHAND.
15122 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15123 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15124 F_DUPFD_CLOEXEC.
15125
6103ae3b
TS
151262012-05-10 Thomas Schwinge <thomas@schwinge.name>
15127
15128 * elf/Makefile (pldd-modules): Define unconditionally.
15129
80b4e5f3
TS
151302012-05-10 Thomas Schwinge <thomas@schwinge.name>
15131
15132 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15133
edadcbd6
ST
151342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15135
15136 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15137 Return ENOENT when name is empty.
15138 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15139
80694780
TS
151402012-05-10 Thomas Schwinge <thomas@schwinge.name>
15141
1792c087
TS
15142 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15143
80694780
TS
15144 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15145
6b645f0d
ST
151462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15147
80694780
TS
15148 Fix mlock in all cases except non-readable pages.
15149 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15150 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15151
6b645f0d
ST
15152 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15153 (__mkdir): When path is `/', just fail with EEXIST.
15154 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15155
e468f8a3
TS
151562012-05-10 Thomas Schwinge <thomas@schwinge.name>
15157
15158 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15159 <sys/uio.h> (for writev).
15160 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15161 and <sys/param.h> (for MIN).
15162
a4186cff
PT
151632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15164
15165 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15166 REQUESTED_TIME. Properly set the remaining time and return EINTR
15167 if interrupted.
15168
510bbf14
TS
151692012-05-10 Thomas Schwinge <thomas@schwinge.name>
15170
15171 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15172 Depend on against $(link-rpcuserlibs).
15173
5d5722e8
ST
151742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15175
a4186cff
PT
15176 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15177 (__libc_stack_end): Do not use attribute_relro.
15178 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15179 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15180 to libthread-provided value.
a4186cff
PT
15181 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15182 attribute_relro.
5d5722e8 15183
37233df9
TS
151842012-05-10 Thomas Schwinge <thomas@schwinge.name>
15185
be971a2b
TS
15186 [BZ #3748]
15187 * bits/libc-lock.h (__libc_once_get): New macro.
15188 * sysdeps/mach/bits/libc-lock.h: Likewise.
15189 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15190 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15191 instead of using implementation details.
15192
37233df9
TS
15193 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15194 * libio/freopen.c: Likewise.
15195 * libio/freopen64.c: Likewise.
15196 * misc/syslog.c: Likewise.
15197 * nscd/connections.c: Likewise.
15198 * nscd/netgroupcache.c: Likewise.
15199 * sysdeps/posix/getcwd.c: Likewise.
15200
38de94a5
RM
152012012-05-10 Roland McGrath <roland@hack.frob.com>
15202
15203 * math/w_ilogbf.c: Add #include <limits.h>.
15204
67530489
ST
152052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15206
a4186cff 15207 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15208 path instead of returning without unlocking.
15209
67530489
ST
15210 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15211 immediate-write ioctls.
15212 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15213
5aa3a74a
TS
152142012-05-10 Thomas Schwinge <thomas@schwinge.name>
15215
18bad2ae
TS
15216 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15217 __builtin_frame_address instead of making assumptions about the
15218 location of the return address relative to DATA. Force early load of
15219 the return address.
15220 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15221 __builtin_frame_address.
15222
5aa3a74a
TS
15223 dup3 for GNU Hurd.
15224 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15225 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15226 implement dup3 and do some further code clean-ups.
15227 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15228 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15229
ecd0de9a
ST
152302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15231
cd9fa985
ST
15232 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15233
a4186cff
PT
15234 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15235 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15236 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15237 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15238 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15239 d->port.lock.
802ca5a5 15240
a4186cff
PT
15241 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15242 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15243 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15244
bcf55240
TS
152452012-05-10 Thomas Schwinge <thomas@schwinge.name>
15246
6960eb42
TS
15247 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15248 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15249 definitions.
15250
eb43375f
TS
15251 accept4 for GNU Hurd.
15252 * include/sys/socket.h (__libc_accept4): New prototype.
15253 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15254 to implement __libc_accept4.
15255 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15256 __libc_accept4.
15257 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15258
bcf55240
TS
15259 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15260 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15261 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15262 signal-defines.sym.
15263
6178c55b
ST
152642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15265
a4186cff 15266 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15267
6f080c2f
TS
152682012-05-10 Thomas Schwinge <thomas@schwinge.name>
15269
15270 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15271 assertion on O_CLOEXEC flag.
15272 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15273 * hurd/intern-fd.c: Likewise.
15274 * hurd/port2fd.c: Likewise.
15275
bcfe3a54
ST
152762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15277
15278 [BZ #3906]
15279 * bits/in.h (IPV6_PKTINFO): Define new macro.
15280 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15281
89c9aa49
AZ
152822012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15283
15284 [BZ #13954]
15285 [BZ #13955]
15286 [BZ #13956]
15287 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15288 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15289 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15290 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15292 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15293 * math/libm-test.inc (logb_test) : Additional logb tests.
15294
021db4be
AJ
152952012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15296 Andreas Jaeger <aj@suse.de>
15297
15298 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15299 * configure: Regenerated.
15300 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15301 * config.make.in (link-obsolete-rpc): New substituted variable.
15302 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15303 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15304 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15305 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15306 so that libc.a contains the symbols.
15307 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15308 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15309 * sunrpc/auth_none.c: Likewise.
15310 * sunrpc/auth_unix.c: Likewise.
15311 * sunrpc/authdes_prot.c: Likewise.
15312 * sunrpc/authuxprot.c: Likewise.
15313 * sunrpc/clnt_gen.c: Likewise.
15314 * sunrpc/clnt_perr.c: Likewise.
15315 * sunrpc/clnt_raw.c: Likewise.
15316 * sunrpc/clnt_simp.c: Likewise.
15317 * sunrpc/clnt_tcp.c: Likewise.
15318 * sunrpc/clnt_udp.c: Likewise.
15319 * sunrpc/clnt_unix.c: Likewise.
15320 * sunrpc/des_crypt.c: Likewise.
15321 * sunrpc/des_soft.c: Likewise.
15322 * sunrpc/get_myaddr.c: Likewise.
15323 * sunrpc/key_call.c: Likewise.
15324 * sunrpc/key_prot.c: Likewise.
15325 * sunrpc/netname.c: Likewise.
15326 * sunrpc/pm_getmaps.c: Likewise.
15327 * sunrpc/pm_getport.c: Likewise.
15328 * sunrpc/pmap_clnt.c: Likewise.
15329 * sunrpc/pmap_prot.c: Likewise.
15330 * sunrpc/pmap_prot2.c: Likewise.
15331 * sunrpc/pmap_rmt.c: Likewise.
15332 * sunrpc/publickey.c: Likewise.
15333 * sunrpc/rpc_cmsg.c: Likewise.
15334 * sunrpc/rpc_common.c: Likewise.
15335 * sunrpc/rpc_dtable.c: Likewise.
15336 * sunrpc/rpc_prot.c: Likewise.
15337 * sunrpc/rpc_thread.c: Likewise.
15338 * sunrpc/rtime.c: Likewise.
15339 * sunrpc/svc.c: Likewise.
15340 * sunrpc/svc_auth.c: Likewise.
15341 * sunrpc/svc_raw.c: Likewise.
15342 * sunrpc/svc_run.c: Likewise.
15343 * sunrpc/svc_tcp.c: Likewise.
15344 * sunrpc/svc_udp.c: Likewise.
15345 * sunrpc/svc_unix.c: Likewise.
15346 * sunrpc/svcauth_des.c: Likewise.
15347 * sunrpc/xcrypt.c: Likewise.
15348 * sunrpc/xdr.c: Likewise.
15349 * sunrpc/xdr_array.c: Likewise.
15350 * sunrpc/xdr_float.c: Likewise.
15351 * sunrpc/xdr_intXX_t.c: Likewise.
15352 * sunrpc/xdr_mem.c: Likewise.
15353 * sunrpc/xdr_rec.c: Likewise.
15354 * sunrpc/xdr_ref.c: Likewise.
15355 * sunrpc/xdr_sizeof.c: Likewise.
15356 * sunrpc/xdr_stdio.c: Likewise.
15357
b5c086a2
RM
153582012-05-10 Roland McGrath <roland@hack.frob.com>
15359
15360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15361 change. Update copyright years.
15362
6d74dd09
JM
153632012-05-10 Joseph Myers <joseph@codesourcery.com>
15364
15365 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15366
28e72501
MK
153672012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15368 Joseph Myers <joseph@codesourcery.com>
15369 Paul Pluzhnikov <ppluzhnikov@google.com>
15370
15371 [BZ #14012]
15372 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15373 requiring rpcgen.
15374 [cross-compiling] (extra-libs): Likewise.
15375 [cross-compiling] (extra-libs-others): Likewise.
15376 [cross-compiling] (librpcsvc-routines): Likewise.
15377 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15378 [cross-compiling] (omit-deps): Likewise.
15379 (sunrpc-CPPFLAGS): New variable.
15380 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15381 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15382 (cross-rpcgen-objs): New variable.
15383 (extra-objs): Append $(cross-rpcgen-objs).
15384 ($(cross-rpcgen-objs)): New rule.
15385 ($(objpfx)cross-rpcgen): Likewise.
15386 (rpcgen-cmd): Define to use $(built-program-file). Expand
15387 comment.
15388 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15389 ($(objpfx)x%.stmp): Likewise.
15390 * sunrpc/proto.h [IS_IN_build] (_): Define.
15391 [IS_IN_build] (_libc_intl_domainname): Likewise.
15392
c8c59454
L
153932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15394
15395 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15396 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15397 and R_X86_64_TPOFF64.
15398
6f27cd16
JM
153992012-05-10 Joseph Myers <joseph@codesourcery.com>
15400
15401 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15402 sysdeps/unix/sysv/syscalls.list.
15403 (stime): Likewise.
15404 (utime): Likewise.
15405 * sysdeps/unix/sysv/syscalls.list: Remove file.
15406
02467e1c
PE
154072012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15408
15409 [BZ #3440]
15410 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15411 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15412 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15413 (__LC_IDENTIFICATION): Make these macros useful in #if
15414 expressions, as required by C99.
15415
da392631
AS
154162012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15417
15418 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15419 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15420 after this.
15421
8115f29b
L
154222012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15423
15424 * stdlib/longlong.h: Updated from GCC.
15425
bdd74070
AJ
154262012-05-09 Andreas Jaeger <aj@suse.de>
15427
edfe0dbe
AJ
15428 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15429 default is first entry.
15430 (run_mode): Set type.
15431 (main): Remove informal message about syslog.
15432 (options): Fix typo.
15433
bcfe3a54
ST
15434 [BZ #14053]
15435 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15436 to asm.
bcfe3a54
ST
15437 (lrint): Likewise.
15438 (llrintf): Likewise.
15439 (llrint): Likewise.
15440 (rint): Likewise.
15441 (rintf): Likewise.
15442 (nearbyint): Likewise.
15443 (nearbyintf): Likewise.
bdd74070 15444
91d8d69e
AJ
154452012-05-09 Andreas Jaeger <aj@suse.de>
15446 Pedro Alves <palves@redhat.com>
15447
15448 * nscd/nscd.c (run_mode): Use enum.
15449 (main): Cleanup coding style issue.
15450
bb90b80b
AJ
154512012-05-09 Alexandre Oliva <aoliva@redhat.com>
15452 Andreas Jaeger <aj@suse.de>
15453
bcfe3a54
ST
15454 * nscd/nscd.c (go_background): Replaced with...
15455 (run_mode): ... this.
bb90b80b 15456 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15457 (options): Add -F --foreground.
15458 (main): Implement it.
15459 (parse_opt): Parse it.
bb90b80b 15460
1a4b75a1
AJ
154612012-05-09 Andreas Jaeger <aj@suse.de>
15462
15463 [BZ #14083]
15464 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15465 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15466 -Wconversion warning.
15467 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15468 Likewise.
15469
b1cc2472
JM
154702012-05-09 Joseph Myers <joseph@codesourcery.com>
15471
15472 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15473 == 0.
15474 (LC_ALL): Use macro-int-constant.
15475 (LC_COLLATE): Likewise.
15476 (LC_CTYPE): Likewise.
15477 (LC_MESSAGES): Likewise.
15478 (LC_MONETARY): Likewise.
15479 (LC_NUMERIC): Likewise.
15480 (LC_TIME): Likewise.
15481 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15482 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15484 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15485 Specify type.
15486 [C99-based standards] (float_t): Expect type.
15487 [C99-based standards] (double_t): Expect type.
15488 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15489 type.
15490 [C99-based standards] (HUGE_VALL): Likewise.
15491 [C99-based standards] (INFINITY): Likewise.
15492 [C99-based standards] (NAN): Likewise.
15493 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15494 [C99-based standards] (FP_NAN): Likewise.
15495 [C99-based standards] (FP_NORMAL): Likewise.
15496 [C99-based standards] (FP_SUBNORMAL): Likewise.
15497 [C99-based standards] (FP_ZERO): Likewise.
15498 [C99-based standards] (FP_FAST_FMA): Use
15499 optional-macro-int-constant. Specify type. Require == 1.
15500 [C99-based standards] (FP_FAST_FMAF): Likewise.
15501 [C99-based standards] (FP_FAST_FMAL): Likewise.
15502 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15503 [C99-based standards] (FP_ILOGBNAN): Likewise.
15504 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15505 Specify type.
15506 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15507 [C99-based standards] (math_errhandling): Specify type.
15508 [ISO99 || ISO11] (signgam): Do not allow.
15509 [non-C99-based standards] (copysignf): Do not allow.
15510 [non-C99-based standards] (exp2f): Likewise.
15511 [non-C99-based standards] (log2f): Likewise.
15512 [non-C99-based standards] (modff): Allow.
15513 [non-C99-based standards] (erff): Do not allow.
15514 [non-C99-based standards] (erfcf): Likewise.
15515 [non-C99-based standards] (gammaf): Likewise.
15516 [non-C99-based standards] (hypotf): Likewise.
15517 [non-C99-based standards] (j0f): Likewise.
15518 [non-C99-based standards] (j1f): Likewise.
15519 [non-C99-based standards] (jnf): Likewise.
15520 [non-C99-based standards] (lgammaf): Likewise.
15521 [non-C99-based standards] (tgammaf): Likewise.
15522 [non-C99-based standards] (y0f): Likewise.
15523 [non-C99-based standards] (y1f): Likewise.
15524 [non-C99-based standards] (ynf): Likewise.
15525 [non-C99-based standards] (isnanf): Likewise.
15526 [non-C99-based standards] (acoshf): Likewise.
15527 [non-C99-based standards] (asinhf): Likewise.
15528 [non-C99-based standards] (atanhf): Likewise.
15529 [non-C99-based standards] (cbrtf): Likewise.
15530 [non-C99-based standards] (expm1f): Likewise.
15531 [non-C99-based standards] (ilogbf): Likewise.
15532 [non-C99-based standards] (log1pf): Likewise.
15533 [non-C99-based standards] (logbf): Likewise.
15534 [non-C99-based standards] (nextafterf): Likewise.
15535 [non-C99-based standards] (remainderf): Likewise.
15536 [non-C99-based standards] (rintf): Likewise.
15537 [non-C99-based standards] (scalbf): Likewise.
15538 [non-C99-based standards] (copysignl): Likewise.
15539 [non-C99-based standards] (exp2l): Likewise.
15540 [non-C99-based standards] (log2l): Likewise.
15541 [non-C99-based standards] (modfl): Allow.
15542 [non-C99-based standards] (erfl): Do not allow.
15543 [non-C99-based standards] (erfcl): Likewise.
15544 [non-C99-based standards] (gammal): Likewise.
15545 [non-C99-based standards] (hypotl): Likewise.
15546 [non-C99-based standards] (j0l): Likewise.
15547 [non-C99-based standards] (j1l): Likewise.
15548 [non-C99-based standards] (jnl): Likewise.
15549 [non-C99-based standards] (lgammal): Likewise.
15550 [non-C99-based standards] (tgammal): Likewise.
15551 [non-C99-based standards] (y0l): Likewise.
15552 [non-C99-based standards] (y1l): Likewise.
15553 [non-C99-based standards] (ynl): Likewise.
15554 [non-C99-based standards] (isnanl): Likewise.
15555 [non-C99-based standards] (acoshl): Likewise.
15556 [non-C99-based standards] (asinhl): Likewise.
15557 [non-C99-based standards] (atanhl): Likewise.
15558 [non-C99-based standards] (cbrtl): Likewise.
15559 [non-C99-based standards] (expm1l): Likewise.
15560 [non-C99-based standards] (ilogbl): Likewise.
15561 [non-C99-based standards] (log1pl): Likewise.
15562 [non-C99-based standards] (logbl): Likewise.
15563 [non-C99-based standards] (nextafterl): Likewise.
15564 [non-C99-based standards] (remainderl): Likewise.
15565 [non-C99-based standards] (rintl): Likewise.
15566 [non-C99-based standards] (scalbl): Likewise.
15567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15568 [non-C99-based standards] (FP_*): Do not allow.
15569 [C99-based standards] (FP_*): Change to
15570 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15571 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15572 allow.
15573 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15574 (SIG_ERR): Likewise.
15575 [X/Open-based standards] (SIG_HOLD): Likewise.
15576 (SIG_IGN): Likewise.
15577 (SIGABRT): Use macro-int-constant. Specify type. Require
15578 positive value.
15579 (SIGFPE): Likewise.
15580 (SIGILL): Likewise.
15581 (SIGINT): Likewise.
15582 (SIGSEGV): Likewise.
15583 (SIGTER): Likewise.
15584 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15585 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15586 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15587 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15588 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15589 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15590 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15591 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15592 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15593 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15594 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15595 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15596 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15597 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15598 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15599 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15600 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15601 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15602 [X/Open-based standards] (SIGTRAP): Likewise.
15603 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15604 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15605 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15606 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15607 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15608 allow.
15609
b9f1922d
IW
156102012-05-08 Ian Wienand <ianw@vmware.com>
15611
15612 [BZ #14080]
15613 * time/tzset.c (__tzset_parse_tz): Update default rules for
15614 daylight time changes in the Energy Policy Act of 2005.
15615
1db86e88
AJ
156162012-05-09 Andreas Jaeger <aj@suse.de>
15617
15618 [BZ #13983]
15619 * elf/ldconfig.c (parse_conf): Change string to make clear that
15620 ldconfig only issued a warning if ld.so.conf does not exist.
15621
dee4a4e3
DM
156222012-05-08 David S. Miller <davem@davemloft.net>
15623
ee0db190
DM
15624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15625 movxtod instead of popping the value on the stack.
15626
dee4a4e3
DM
15627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15628
6a43ec98
CD
156292012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15630
15631 * config.h.in: Add HAVE_ARM_PCS_VFP.
15632
05c2c961
RMG
156332012-05-08 Roland Mc Grath <roland@hack.frob.com>
15634
bcfe3a54
ST
15635 [BZ #13979]
15636 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15637 checking but the checks are disabled for any reason.
05c2c961 15638
4b30f61a
L
156392012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15640
15641 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15642 and ELF64_R_TYPE with ELFW(R_TYPE).
15643
eee2bc67
JM
156442012-05-08 Joseph Myers <joseph@codesourcery.com>
15645
7ea5391a
JM
15646 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15647 (ulimit): Likewise.
15648
eee2bc67
JM
15649 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15650 (settimeofday): Likewise.
15651
abb66a67
MF
156522012-05-08 Mike Frysinger <vapier@gentoo.org>
15653
15654 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15655 a struct th_u2 inside the union, and move tu_block/tu_code into
15656 a new th_u3 union of tu_block/tu_code inside of that. Move
15657 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15658 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15659 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15660 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15661 (th_stuff): Change to th_u1.tu_stuff.
15662 (th_data): Define.
15663 (th_msg): Change to th_u1.th_u2.tu_data.
15664
7f18b530
DM
156652012-05-07 David S. Miller <davem@davemloft.net>
15666
05760585
DM
15667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15668
7f18b530
DM
15669 [BZ #14074]
15670 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15671 (SETUP_PIC_REG): Use it.
15672 (SETUP_PIC_REG_LEAF): Use it.
15673
495fd99f
JM
156742012-05-07 Joseph Myers <joseph@codesourcery.com>
15675
15676 [BZ #13885]
15677 [BZ #13923]
15678 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15679 USE_AS_EXPM1L.
15680 (EXPL_FINITE): Likewise.
15681 (FLDLOG): Likewise.
15682 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15683 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15684 e_expl.S.
15685 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15686 USE_AS_EXPM1L.
15687 (EXPL_FINITE): Likewise.
15688 (FLDLOG): Likewise.
15689 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15690 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15691 e_expl.S.
15692 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15693 test of -max_value argument for long double.
15694 * sysdeps/i386/fpu/libm-test-ulps: Update.
15695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15696
6693d694
DM
156972012-05-06 David S. Miller <davem@davemloft.net>
15698
15699 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15700 quad soft-float symbols whose references which are compiler
15701 generated.
15702 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15703
6c23e11c
JM
157042012-05-06 Joseph Myers <joseph@codesourcery.com>
15705
d8b82cad
JM
15706 [BZ #13884]
15707 [BZ #13914]
15708 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15709 USE_AS_EXP10L.
15710 (EXPL_FINITE): Likewise.
15711 (FLDLOG): Likewise.
15712 (c0): Likewise.
15713 (c1): Likewise.
15714 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15715 Adjust comments for base varying.
15716 (__expl_finite): Change alias to EXPL_FINITE.
15717 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15718 e_expl.S.
15719 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15720 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15722 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15723 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15724 USE_AS_EXP10L.
15725 (EXPL_FINITE): Likewise.
15726 (FLDLOG): Likewise.
15727 (c0): Likewise.
15728 (c1): Likewise.
15729 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15730 Adjust comments for base varying.
15731 (__expl_finite): Change alias to EXPL_FINITE.
15732 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15733 tests for bugs.
15734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15735
6c23e11c
JM
15736 [BZ #14064]
15737 * math/libm-test.inc (check_float_internal): Correct ulp
15738 calculation for subnormal expected results.
15739
29ba805c
AJ
157402012-05-06 Andreas Jaeger <aj@suse.de>
15741
15742 * Makeconfig (+math-flags): New, set to -frounding-math.
15743 (+cflags): Add +math-flags so that all of glibc gets compiled with
15744 it.
15745
15746 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15747
7b17aeda
JM
157482012-05-05 Joseph Myers <joseph@codesourcery.com>
15749
5779f134
JM
15750 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15751 Disable one test.
15752
41498f4d
JM
15753 [BZ #13787]
15754 [BZ #13922]
15755 [BZ #14036]
15756 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15757 (__ieee754_expl): Allow for and saturate large arguments.
15758 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15759 (u_threshold): Likewise.
15760 (__exp): Call __ieee754_exp before checking for overflow and
15761 underflow.
15762 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15763 (u_threshold): Likewise.
15764 (__expf): Call __ieee754_expf before checking for overflow and
15765 underflow.
15766 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15767 (u_threshold): Likewise.
15768 (__expl): Call __ieee754_expl before checking for overflow and
15769 underflow.
15770 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15771 (__ieee754_expl): Allow for and saturate large arguments.
15772 * math/libm-test.inc (exp_test): Add another test. Do not allow
15773 missing overflow exception on overflow.
15774 (expm1_test): Do not allow missing overflow exception on overflow.
15775
6698b8bf
JM
15776 * sysdeps/i386/fpu/e_expl.c: Move to ...
15777 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15778 rather than using inline asm.
15779 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15780 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15781 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15782
7b17aeda
JM
15783 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15784 (nice): Likewise.
15785 (poll): Likewise.
15786 (signal): Likewise.
15787 (time): Likewise.
15788 (times): Likewise.
15789
f7c85819
JM
157902012-05-04 Joseph Myers <joseph@codesourcery.com>
15791
15792 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15793 sysdeps/unix/common/syscalls.list.
15794 (fchmod): Likewise.
15795 (fchown): Likewise.
15796 (ftruncate): Likewise.
15797 (getrusage): Likewise.
15798 (gettimeofday): Likewise.
15799 (setpgid): Likewise.
15800 (setregid): Likewise.
15801 (setreuid): Likewise.
15802 (sigaction): Likewise.
15803 (truncate): Likewise.
15804 (vhangup): Likewise.
15805 * sysdeps/unix/common/syscalls.list: Remove file.
15806 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15807 * sysdeps/unix/sysv/linux/Implies: Likewise.
15808
336270d0
L
158092012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15810
15811 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15813 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15814 Moved to ...
15815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15816 Here.
15817 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15818 to ...
15819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15820 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15821 to ...
15822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15823 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15824 to ...
15825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15826 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15827 to ...
15828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15829 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15830 to ...
15831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15832 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15833 to ...
15834 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15835 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15836 to ...
15837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15838 Here.
15839 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15840 to ...
15841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15842 Here.
15843 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15844 to ...
15845 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15846 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15847 Moved to ...
15848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15849 Here.
15850 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15851 to ...
15852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15853
d128e450
JM
158542012-05-04 Joseph Myers <joseph@codesourcery.com>
15855
fa8ee516
JM
15856 * sysdeps/unix/common/bits/dirent.h: Remove file.
15857 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15858
d128e450
JM
15859 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15860 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15861 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15862 * sysdeps/unix/bsd/isatty.c: Likewise.
15863 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15864 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15865 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15866
ff8faaf0 158672012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15868
62881be4 15869 [BZ #13563]
31dc8730
AZ
15870 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15871 long double comparison inaccuracies.
15872 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15874
6fef930c
AS
158752012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15876
15877 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15879
8f203e6c
JM
158802012-05-04 Joseph Myers <joseph@codesourcery.com>
15881
15882 [BZ #14049]
15883 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
15884 nonzero digits before rounding a hex value.
15885 * stdlib/tst-strtod.c (tests): Add another test.
15886
5197d9c2
AK
158872012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15888
15889 * sysdeps/s390/fpu/libm-test-ulps: Update.
15890
f0c1dedf
AJ
158912012-05-03 Andreas Jaeger <aj@suse.de>
15892
15893 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
15894 does not get optimized out.
15895 (malloc_opt_barrier): New.
15896
a65ef2ae 158972012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 15898 Roland McGrath <roland@hack.frob.com>
a65ef2ae 15899
2b942cb7 15900 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 15901 intermediate file deletion.
2b942cb7 15902 (generated): Add .symlist files.
a65ef2ae 15903
54b71e02
JM
159042012-05-03 Joseph Myers <joseph@codesourcery.com>
15905
15906 [BZ #13775]
15907 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
15908 Redirect under this condition.
15909 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15910 [__USE_GNU] (__dprintf_chk): Not under this condition.
15911 [__USE_GNU] (__vdprintf_chk): Likewise.
15912 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
15913 under this condition.
15914 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
15915 [__USE_XOPEN2K8] (dprintf): Define under this condition.
15916 [__USE_XOPEN2K8] (vdprintf): Likewise.
15917 [__USE_GNU] (__dprintf_chk): Not under this condition.
15918 [__USE_GNU] (__vdprintf_chk): Likewise.
15919 [__USE_GNU] (dprintf): Likewise.
15920 [__USE_GNU] (vdprintf): Likewise.
15921
d3dfcc41
RM
159222012-05-03 Roland McGrath <roland@hack.frob.com>
15923
15924 * elf/Makefile (common-generated): Set this instead of generated for
15925 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
15926 $(all-built-dso)-derived lists.
15927
7ac30cc5
AJ
159282012-05-03 Andreas Jaeger <aj@suse.de>
15929
0c51e550
AJ
15930 * sysdeps/i386/fpu/libm-test-ulps: Update.
15931
7ac30cc5
AJ
15932 * FAQ: Removed.
15933 * FAQ.in: Likewise.
15934 * scripts/gen-FAQ.pl: Likewise.
15935 * manual/install.texi (Installation): Point to online location of
15936 FAQ.
15937 * Makefile (files-for-dist): Remove FAQ.
15938 (FAQ): Remove.
15939
d4c2917f
AM
159402012-05-02 Allan McRae <allan@archlinux.org>
15941
15942 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
15943 (LDFLAGS-reldepmod5.so): Likewise.
15944 (LDFLAGS-reldep6mod1.so): Likewise.
15945 (LDFLAGS-reldep6mod4.so): Likewise.
15946 (LDFLAGS-reldep8mod3.so): Likewise.
15947 (LDFLAGS-unload4mod1.so): Likewise.
15948 (LDFLAGS-unload4mod2.so): Likewise.
15949 (LDFLAGS-tst-initorder): Likewise.
15950 (LDFLAGS-tst-initordera2.so): Likewise.
15951 (LDFLAGS-tst-initordera3.so): Likewise.
15952 (LDFLAGS-tst-initordera4.so): Likewise.
15953 (LDFLAGS-tst-initorderb2.so): Likewise.
15954 (LDFLAGS-noload): Likewise.
15955 (LDFLAGS-next): Likewise.
15956 (LDFLAGS-order2mod1.so): Likewise.
15957 (LDFLAGS-order2mod2.so): Likewise.
15958 (LDFLAGS-tst-initorder2): Likewise.
15959 (LDFLAGS-tst-initorder2a.so): Likewise.
15960 (LDFLAGS-tst-initorder2b.so): Likewise.
15961 (LDFLAGS-tst-initorder2c.so): Likewise.
15962 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
15963
d77f993f
DM
159642012-05-02 David S. Miller <davem@davemloft.net>
15965
15966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15967
171a70b4
PP
159682012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
15969
15970 [BZ #14055]
15971 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
15972
0be196ad
AJ
159732012-05-02 Andreas Jaeger <aj@suse.de>
15974
15975 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
15976 since we manipulate rounding mode.
15977 (CPPFLAGS-test-idouble.c): Likewise.
15978 (CPPFLAGS-test-ifloat.c): Likewise.
15979 (CFLAGS-test-ldouble.c): Likewise.
15980 (CFLAGS-test-double.c): Likewise.
15981 (CFLAGS-test-float.c): Likewise.
15982 (CFLAGS-test-misc.c): Likewise.
15983 (CFLAGS-test-test-fenv.c): Likewise.
15984
4f9d04aa
AZ
159852012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15986
2b942cb7
RM
15987 [BZ #2550]
15988 [BZ #2570]
15989 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
15990 comparisons to determine direction to adjust input.
4f9d04aa 15991
82a79e7d
RM
159922012-05-01 Roland McGrath <roland@hack.frob.com>
15993
f5a01ca9
RM
15994 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
15995 output to the target.
15996
90fe4186
RM
15997 * scripts/localplt.awk: New file.
15998 * elf/Makefile ($(objpfx)check-localplt): Target removed.
15999 (check-localplt-CFLAGS): Variable removed.
16000 ($(all-built-dso:=.jmprel)): New static pattern rule.
16001 (generated): Add those targets.
16002 (localplt-built-dso): New variable.
16003 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16004
16005 * elf/check-localplt.c: File removed.
16006
82397ed6
RM
16007 * scripts/check-execstack.awk: New file.
16008 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16009 (check-execstack-CFLAGS): Variable removed.
16010 ($(objpfx)check-execstack.h): Target removed.
16011 ($(objpfx)execstack-default): New target.
16012 (generated): Add that instead of check-execstack.h.
16013 ($(all-built-dso:=.phdr)): New static pattern rule.
16014 (generated): Add those targets.
16015 * elf/check-execstack.c: File removed.
16016
82a79e7d
RM
16017 * scripts/check-textrel.awk: New file.
16018 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16019 (check-textrel-CFLAGS): Variable removed.
16020 (all-built-dso): Use := to define.o
16021 ($(all-built-dso:=.dyn)): New static pattern rule.
16022 (generated): Add those targets.
16023 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16024 * config.make.in (READELF): New substituted variable.
16025 * elf/check-textrel.c: File removed.
16026
62fde54f 160272012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16028
615605c9
JM
16029 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16030 allow.
16031 * conform/data/ctype.h-data [C99-based standards] (isblank):
16032 Expect function.
16033 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16034 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16035 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16036 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16037 Specify type. Require positive value.
16038 (EILSEQ): Likewise.
16039 (ERANGE): Likewise.
16040 [ISO || POSIX] (EILSEQ): Do not expect.
16041 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16042 Specify type. Require positive value.
16043 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16044 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16045 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16046 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16047 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16048 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16049 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16050 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16051 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16052 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16053 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16054 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16055 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16056 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16057 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16058 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16059 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16060 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16061 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16062 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16063 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16064 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16065 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16066 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16067 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16068 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16069 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16070 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16071 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16072 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16073 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16074 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16075 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16076 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16077 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16078 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16079 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16080 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16081 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16082 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16083 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16084 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16085 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16086 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16087 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16088 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16089 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16090 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16091 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16092 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16093 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16094 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16095 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16096 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16097 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16098 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16099 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16100 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16101 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16102 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16103 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16104 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16105 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16106 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16107 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16108 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16109 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16110 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16111 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16112 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16113 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16114 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16115 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16116 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16117 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16118 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16119 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16120 Require >= 2.
16121 (FLT_ROUNDS): Expect as macro, not constant.
16122 (FLT_MANT_DIG): Use macro-int-constant.
16123 (DBL_MANT_DIG): Likewise.
16124 (LDBL_MANT_DIG): Likewise.
16125 (FLT_DIG): Likewise.
16126 (DBL_DIG): Likewise.
16127 (LDBL_DIG): Likewise.
16128 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16129 (DBL_MIN_EXP): Likewise.
16130 (LDBL_MIN_EXP): Likewise.
16131 (FLT_MAX_EXP): Use macro-int-constant.
16132 (DBL_MAX_EXP): Likewise.
16133 (LDBL_MAX_EXP): Likewise.
16134 (FLT_MAX_10_EXP): Likewise.
16135 (DBL_MAX_10_EXP): Likewise.
16136 (LDBL_MAX_10_EXP): Likewise.
16137 (FLT_MAX): Use macro-constant.
16138 (DBL_MAX): Likewise.
16139 (LDBL_MAX): Likewise.
16140 (FLT_EPSILON): Use macro-constant. Give upper bound.
16141 (DBL_EPSILON): Likewise.
16142 (LDBL_EPSILON): Likewise.
16143 (FLT_MIN): Likewise.
16144 (DBL_MIN): Likewise.
16145 (LDBL_MIN): Likewise.
16146 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16147 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16148 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16149 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16150 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16151 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16152 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16153 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16154 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16155 [ISO11] (FLT_TRUE_MIN): Likewise.
16156 [ISO11] (LDBL_TRUE_MIN): Likewise.
16157 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16158 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16159 (SCHAR_MIN): Use macro-int-constant. Specify type.
16160 (SCHAR_MAX): Likewise.
16161 (UCHAR_MAX): Likewise.
16162 (CHAR_MIN): Likewise.
16163 (CHAR_MAX): Likewise.
16164 (MB_LEN_MAX): Use macro-int-constant.
16165 (SHRT_MIN): Use macro-int-constant. Specify type.
16166 (SHRT_MAX): Likewise.
16167 (USHRT_MAX): Likewise.
16168 (INT_MAX): Likewise.
16169 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16170 bound negative.
16171 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16172 bound with "U".
16173 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16174 bound with "L".
16175 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16176 bound negative. Suffix upper bound with "L".
16177 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16178 bound with "UL".
16179 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16180 Specify type.
16181 [C99-based standards] (LLONG_MAX): Likewise.
16182 [C99-based standards] (ULLONG_MAX): Likewise.
16183 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16184 == 0.
16185 [ISO11] (max_align_t): Require type.
16186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16187
c9140a62
JM
16188 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16189 from $CFLAGS, without defining away __attribute__ calls.
16190 (checknamespace): Use $CFLAGS_namespace.
16191
9af0bf29
JM
16192 * conform/conformtest.pl (@keywords): Only include C99 keywords
16193 for standards based on C99 or C11.
16194
343222a2
JM
16195 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16196 Disable tests.
16197 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16198 UNIX98]: Likewise.
16199
661f8cf0
JM
16200 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16201 usability of symbols in #if.
16202
ee74b9cb
JM
16203 * conform/conformtest.pl: If macro or constant types start
16204 "promoted:", expect the symbol to be of the following type
16205 promoted by the integer promotions.
62fde54f 16206
aafc49b3
JM
16207 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16208 in one place. Also handle "macro-constant".
16209
fefdf574
JM
16210 * conform/conformtest.pl: Only accept expected macro values with
16211 "==". Parse all "macro" lines in one place.
16212 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16213
f2d922fe
JM
16214 * conform/conformtest.pl: Handle braced types on "constant" lines
16215 instead of handling "typed-constant".
16216 * conform/data/signal.h-data: Use "constant" instead of
16217 "typed-constant".
16218
d22956c9
JM
16219 * conform/conformtest.pl: Handle "optional-" at start of lines in
16220 one place rather than duplicating several cases. Handle each
16221 format of "macro" line with initial "optional-".
16222
028e2e38
JM
16223 * conform/conformtest.pl: Only accept expected constant or
16224 optional-constant values with "==". Parse all "constant" lines in
16225 one place. Parse all "optional-constant" lines in one place.
16226 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16227 * conform/data/fmtmsg.h-data: Likewise.
16228 * conform/data/netinet/in.h-data: Likewise.
16229 * conform/data/tar.h-data: Likewise.
16230 * conform/data/limits.h-data: Use "==" form on "constant" and
16231 "optional-constant" lines.
16232
1b8f2850
JM
16233 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16234 Use -std=c99 for XOPEN2K.
16235 (@knownproblems): Remove.
16236 (newtoken): Don't check %isknown.
16237
a05a144b
JM
16238 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16239 Do not expect macro.
16240 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16241 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16242 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16243 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16244 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16245 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16246 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16247 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16248 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16249 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16250 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16251 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16252 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16253 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16254 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16255 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16256 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16257 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16258 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16259 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16260 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16261 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16262 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16263 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16264 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16265 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16266 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16267 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16268 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16269 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16270 [XPG3] (acosh): Likewise.
16271 [XPG3] (asinh): Likewise.
16272 [XPG3] (atanh): Likewise.
16273 [XPG3] (cbrt): Likewise.
16274 [XPG3] (expm1): Likewise.
16275 [XPG3] (ilogb): Likewise.
16276 [XPG3] (log1p): Likewise.
16277 [XPG3] (logb): Likewise.
16278 [XPG3] (nextafter): Likewise.
16279 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16280 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16281 [XPG3] (remainder): Likewise.
16282 [XPG3] (rint): Likewise.
16283 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16284 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16285 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16286 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16287 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16288 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16289 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16290 [UNIX98 || XOPEN2K] (scalb): Expect.
16291 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16292 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16293 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16294 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16295 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16296 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16297 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16298 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16299 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16300 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16301 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16302 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16303 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16304 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16305 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16306 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16307 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16308 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16309 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16310 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16311 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16312 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16313 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16314 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16315 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16316 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16317 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16318 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16319 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16320 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16321 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16322 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16323 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16324 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16325 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16326 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16327 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16328 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16329 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16330 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16331 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16332 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16333 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16334 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16335 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16336 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16337 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16338 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16339 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16340 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16341 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16342 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16343 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16344 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16345 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16346 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16347 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16348 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16349 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16350 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16351 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16352 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16353 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16354 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16355 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16356 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16357 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16358 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16359 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16360 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16361 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16362 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16363 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16364 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16365 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16366 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16367 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16368 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16369 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16370 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16371 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16372 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16373 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16374 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16375 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16376 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16377 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16378 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16379 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16380 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16381 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16382 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16383 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16384 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16385 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16386 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16387 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16388 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16389 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16390 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16391 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16392 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16393 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16394 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16395 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16396 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16397 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16398 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16399 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16400 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16401 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16402 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16403 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16404 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16405 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16406 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16407 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16408 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16409 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16410 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16411 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16412 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16413 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16414 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16415 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16416 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16417 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16418 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16419 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16420 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16421 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16422 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16423 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16424 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16425 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16426 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16427 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16428
73c5ebe3
JM
16429 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16430 _XOPEN_SOURCE_EXTENDED for XPG4.
16431
39c33b6c
JM
16432 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16433
62fde54f
JM
16434 * Makeconfig (localtime): Remove variable.
16435 (inst_localtime-file): Likewise.
16436
0741d64c
AS
164372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16438
16439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16440 Update.
16441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16442 Update.
16443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16444 Update.
16445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16446 Update.
16447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16448 Update.
16449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16450 Update.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16452 Update.
16453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16454 Update.
16455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16456 Update.
16457
7cb029ee
JM
164582012-05-01 Joseph Myers <joseph@codesourcery.com>
16459
16460 [BZ #2550]
16461 [BZ #2570]
16462 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16463 comparisons to determine direction to adjust input.
16464 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16465 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16466 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16467 Likewise.
16468 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16469 Likewise.
16470 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16471 Likewise.
16472 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16473 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16474 Likewise.
16475 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16476 Likewise.
16477 * math/libm-test.inc (nexttoward_test): Add more tests.
16478
412bd966
AS
164792012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16480
16481 [BZ #14040]
16482 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16483 in version GLIBC_2.1, not GLIBC_2.0.
16484 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16485 Likewise.
16486
9568c0c2
JM
164872012-04-30 Joseph Myers <joseph@codesourcery.com>
16488
adfbc8ac
JM
16489 [BZ #13942]
16490 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16491 (1 - x) * (1 + x).
16492 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16493 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16494 * math/libm-test.inc (acos_test): Add more tests.
16495 (asin_test): Likewise.
16496 * sysdeps/i386/fpu/libm-test-ulps: Update.
16497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16498
5ba3cc69
JM
16499 [BZ #14034]
16500 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16501 of square root.
16502 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16503 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16504 * math/libm-test.inc (acos_test_tonearest): New function.
16505 (acos_test_towardzero): Likewise.
16506 (acos_test_downward): Likewise.
16507 (acos_test_upward): Likewise.
16508 (asin_test_tonearest): Likewise.
16509 (asin_test_towardzero): Likewise.
16510 (asin_test_downward): Likewise.
16511 (asin_test_upward): Likewise.
16512 (main): Call the new functions.
16513 * sysdeps/i386/fpu/libm-test-ulps: Update.
16514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16515
9568c0c2
JM
16516 [BZ #13884]
16517 [BZ #13924]
16518 * math/e_exp10.c: Include <float.h>.
16519 (__ieee754_exp10): Handle underflow here rather than multiplying
16520 large negative argument by M_LN10.
16521 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16522 of __ieee754_expf.
16523 * math/e_exp10l.c: Include <float.h>.
16524 (__ieee754_exp10l): Handle underflow here rather than multiplying
16525 large negative argument by M_LN10l.
16526 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16527 spurious overflow exception on underflow.
16528
5ac3ea17
MP
165292012-04-29 Marek Polacek <polacek@redhat.com>
16530
16531 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16532 (__fortify_function): New macro.
16533 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16534 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16535 __extern_always_inline.
16536 * libio/bits/stdio2.h: Likewise.
16537 * libio/bits/stdio.h: Likewise.
16538 * string/string.h: Likewise.
16539 * string/bits/string3.h: Likewise.
16540 * include/stdio.h: Likewise.
16541 * stdlib/bits/stdlib.h: Likewise.
16542 * stdlib/stdlib.h: Likewise.
16543 * rt/bits/mqueue2.h: Likewise.
16544 * rt/mqueue.h: Likewise.
16545 * posix/bits/unistd.h: Likewise.
16546 * posix/unistd.h: Likewise.
16547 * io/bits/poll2.h: Likewise.
16548 * io/bits/fcntl2.h: Likewise.
16549 * io/fcntl.h: Likewise.
16550 * io/sys/poll.h: Likewise.
16551 * misc/bits/syslog.h: Likewise.
16552 * misc/bits/syslog-ldbl.h: Likewise.
16553 * misc/sys/syslog.h: Likewise.
16554 * socket/bits/socket2.h: Likewise.
16555 * socket/sys/socket.h: Likewise.
16556 * debug/tst-chk1.c: Likewise.
16557 * wcsmbs/bits/wchar2.h: Likewise.
16558 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16559 * wcsmbs/wchar.h: Likewise.
16560
ecf0ebfb
AJ
165612012-04-29 Andreas Jaeger <aj@suse.de>
16562
16563 * Makerules (tests): Remove enable-check-abi protection.
16564 (check-abi-warn): Remove.
16565 (check-abi-%): Remove check-abi-warn usage.
16566
16567 * configure.in: Remove check-abi configure option.
16568 * configure: Regenerated.
16569 * config.make.in (enable-check-abi): Remove.
16570
6d5c57fa
AS
165712012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16572
24c5d07e 16573 [BZ #14033]
ded5180a
AS
16574 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16575 double functions to double *_finite functions.
16576
7e0d315d
AS
16577 [BZ #13941]
16578 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16579 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16580 LDBL_MIN_EXP.
16581 * stdio-common/Makefile (tests): Add tst-sprintf3.
16582 * stdio-common/tst-sprintf3.c: New file.
16583
6d5c57fa
AS
16584 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16585 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16586
0749ff8b
JM
165872012-04-28 Joseph Myers <joseph@codesourcery.com>
16588
16589 * conform/conformtest.pl: Remove duplicate typed-constant
16590 handling.
16591
8dbd5d7b
DM
165922012-04-28 David S. Miller <davem@davemloft.net>
16593
16594 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16595 (check-abi-%): Remove AWK script prerequisite and explicit
16596 abilist directory.
16597 (check-abi): Rewrite to just diff the symlist with the abilist.
16598 (config-tls, config-abi-config): Delete, no longer used.
16599 (update-abi-%): Remove AWK script and explicit abilist directory.
16600 (update-abi): Rewrite to simply compare and conditionally copy the
16601 symlist and the sysdep abilist file. Remove update-abi-config
16602 checks.
16603 * abilist/ld.abilist: Remove.
16604 * abilist/libBrokenLocale.abilist: Remove.
16605 * abilist/libanl.abilist: Remove.
16606 * abilist/libcrypt.abilist: Remove.
16607 * abilist/libdl.abilist: Remove.
16608 * abilist/librt.abilist: Remove.
16609 * abilist/libthread_db.abilist: Remove.
16610 * abilist/libutil.abilist: Remove.
16611 * scripts/extract-abilist.awk: Remove.
16612 * scripts/merge-abilist.awk: Remove.
16613 * sysdeps/generic/libcidn.abilist: New file.
16614 * sysdeps/generic/libnss_compat.abilist: New file.
16615 * sysdeps/generic/libnss_db.abilist: New file.
16616 * sysdeps/generic/libnss_dns.abilist: New file.
16617 * sysdeps/generic/libnss_files.abilist: New file.
16618 * sysdeps/generic/libnss_hesiod.abilist: New file.
16619 * sysdeps/generic/libnss_nis.abilist: New file.
16620 * sysdeps/generic/libnss_nisplus.abilist: New file.
16621 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16622 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16623 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16624 file.
16625 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16626 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16627 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16628 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16629 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16630 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16631 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16632 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16633 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16634 file.
16635 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16636 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16637 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16638 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16639 file.
16640 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16641 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16642 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16644 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16645 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16646 file.
16647 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16648 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16649 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16650 file.
16651 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16653 New file.
16654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16655 New file.
16656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16657 New file.
16658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16659 New file.
16660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16661 New file.
16662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16663 New file.
16664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16665 New file.
16666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16667 New file.
16668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16669 New file.
16670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16671 New file.
16672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16673 New file.
16674 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16675 New file.
16676 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16677 New file.
16678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16679 file.
16680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16681 New file.
16682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16683 New file.
16684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16685 file.
16686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16687 New file.
16688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16689 New file.
16690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16691 file.
16692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16693 New file.
16694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16695 New file.
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16697 New file.
16698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16699 New file.
16700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16701 New file.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16703 New file.
16704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16706 file.
16707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16708 New file.
16709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16710 file.
16711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16712 file.
16713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16714 file.
16715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16716 file.
16717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16718 file.
16719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16720 New file.
16721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16722 file.
16723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16724 file.
16725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16726 New file.
16727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16728 file.
16729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16731 file.
16732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16733 New file.
16734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16735 file.
16736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16737 file.
16738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16739 file.
16740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16741 file.
16742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16743 file.
16744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16745 New file.
16746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16747 file.
16748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16749 file.
16750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16751 New file.
16752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16753 file.
16754 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16755 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16756 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16757 file.
16758 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16759 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16760 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16761 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16762 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16763 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16764 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16765 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16766 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16767 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16770 file.
16771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16772 New file.
16773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16774 file.
16775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16776 file.
16777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16778 file.
16779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16780 file.
16781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16782 file.
16783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16784 New file.
16785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16786 New file.
16787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16788 file.
16789 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16790 New file.
16791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16792 file.
16793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16795 file.
16796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16797 New file.
16798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16799 file.
16800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16801 file.
16802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16803 file.
16804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16805 file.
16806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16807 file.
16808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16809 New file.
16810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16811 New file.
16812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16813 file.
16814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16815 New file.
16816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16817 file.
16818
41d73a1b
JM
168192012-04-28 Joseph Myers <joseph@codesourcery.com>
16820
16821 * conform/conformtest.pl: Fix typo in handling typed-constant from
16822 allow-header.
16823
28aeeda4
JM
168242012-04-27 Joseph Myers <joseph@codesourcery.com>
16825
adae8f5e
JM
16826 * README: Cut down references to pre-2.6 Linux kernels and
16827 Linuxthreads. Update lists of configurations in libc and ports
16828 and sort alphabetically. Say "or newer" with Linux kernel version
16829 requirements.
16830
28aeeda4
JM
16831 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16832
a462cb63
RA
168332012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16834
16835 [BZ #887]
16836 * math/libm-test.inc (logb_test_downward): New test to expose
16837 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16838 rounding mode.
16839
6ad3493e
JM
168402012-04-27 Joseph Myers <joseph@codesourcery.com>
16841
16842 [BZ #14027]
16843 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16844 to be done.
16845 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16846 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16847
2ce4f015
JM
168482012-04-26 Joseph Myers <joseph@codesourcery.com>
16849
5aeb141a
JM
16850 * sysdeps/unix/i386/brk.S: Remove file.
16851 * sysdeps/unix/i386/dl-brk.S: Likewise.
16852 * sysdeps/unix/i386/pipe.S: Likewise.
16853 * sysdeps/unix/i386/sigreturn.S: Likewise.
16854 * sysdeps/unix/i386/syscall.S: Likewise.
16855 * sysdeps/unix/i386/vfork.S: Likewise.
16856 * sysdeps/unix/i386/wait.S: Likewise.
16857
7143acae
JM
16858 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16859 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16860
2ce4f015
JM
16861 * configure.in (arm*-none*): Do not allow without
16862 --enable-hacker-mode.
16863 (netbsd*): Remove case setting base_os.
16864 (386bsd*): Likewise.
16865 (freebsd*): Likewise.
16866 (bsdi*): Likewise.
16867 (osf*): Likewise.
16868 (sunos*): Likewise.
16869 (ultrix*): Likewise.
16870 (newsos*): Likewise.
16871 (dynix*): Likewise.
16872 (*bsd*): Likewise.
16873 (sysv*): Likewise.
16874 (isc*): Likewise.
16875 (esix*): Likewise.
16876 (sco*): Likewise.
16877 (minix*): Likewise.
16878 (irix4*): Likewise.
16879 (irix6*): Likewise.
16880 (solaris[2-9]*): Likewise.
16881 (none): Likewise.
16882 * configure: Regenerated.
16883
0ac229c8
AZ
168842012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16885
16886 [BZ #11521]
16887 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
16888 overflow or cancellation in calculating denominator.
16889 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
16890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
16891 down expression to avoid unexpected rounding in newer GCCs.
16892 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
16893
33f244f4
DM
168942012-04-26 David S. Miller <davem@davemloft.net>
16895
16896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
16897 long-double compat symbols.
16898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
16902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
16904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
16905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
16906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
16907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
16908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
16909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
16910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
16911
cfa1f3e8
DM
169122012-04-25 David S. Miller <davem@davemloft.net>
16913
16914 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
16915 HWCAP_* values only after the memory barriers have been defined.
16916 (atomic_full_barrier): Define.
16917 (atomic_read_barrier): Define.
16918 (atomic_write_barrier): Define.
16919
6e236b92
SP
169202012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16921
16922 * shlib-versions: Add libgcc_s version information.
16923 * sysdeps/generic/libgcc_s.h: Remove.
16924 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
16925 libgcc_s.h.
16926 * sysdeps/gnu/unwind-resume.c: Likewise.
16927 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
16928
aab39a09
DM
169292012-04-25 David S. Miller <davem@davemloft.net>
16930
16931 * sysdeps/unix/sparc/brk.S: Delete.
16932 * sysdeps/unix/sparc/dl-brk.S: Delete.
16933 * sysdeps/unix/sparc/pipe.S: Delete.
16934 * sysdeps/unix/sparc/sysdep.S: Delete.
16935 * sysdeps/unix/sparc/sysdep.h: Delete.
16936 * sysdeps/unix/sparc/vfork.S: Delete.
16937 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
16938 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
16939 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
16940 ret_ERRVAL, r0, r1, MOVE): Define.
16941 (JUMPTARGET): Remove.
16942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
16943 sysdeps/unix/sparc/sysdep.h
16944 (ENTRY, END): Remove.
16945 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
16946
a3cc4f48
JM
169472012-04-25 Joseph Myers <joseph@codesourcery.com>
16948
2ed8cda2
JM
16949 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
16950 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
16951 -DIS_IN_build.
16952
35d76d59
JM
16953 * timezone/README: Update upstream location and email address for
16954 tzcode and tzdata.
16955 * timezone/zdump.c: Update from tzcode 2012b.
16956 * timezone/zic.c: Likewise.
16957
a3cc4f48
JM
16958 * configure.in (libc_cv_as_needed): Remove test.
16959 * configure: Regenerated.
16960 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
16961 conditional definition.
16962 [$(have-as-needed) != yes] (no-as-needed): Likewise.
16963 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
16964 * config.make.in (have-as-needed): Remove variable.
16965
ceab42c3
SP
169662012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16967 Paul Pluzhnikov <ppluzhnikov@google.com>
16968
16969 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
16970 strings correctly.
16971
3ce2865f
CLT
169722012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
16973
16974 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
16975 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
16976 * sysdeps/sh/strlen.S: Likewise.
16977
f37e0d68
JM
169782012-04-24 Joseph Myers <joseph@codesourcery.com>
16979
ae186e9a
JM
16980 * sysdeps/unix/fork.S: Remove file.
16981 * sysdeps/unix/i386/fork.S: Likewise.
16982 * sysdeps/unix/sparc/fork.S: Likewise.
16983
b96914af
JM
16984 * sysdeps/unix/system.c: Remove file.
16985 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
16986
f37e0d68
JM
16987 * sysdeps/unix/getegid.S: Remove file.
16988 * sysdeps/unix/geteuid.S: Likewise.
16989
87ef29ca
RM
169902012-04-24 Roland McGrath <roland@hack.frob.com>
16991
83bcd236
RM
16992 * scripts/check-localplt.awk: New file.
16993 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
16994 of diff.
16995 * scripts/data/localplt-generic.data: Add a comment.
16996
87ef29ca
RM
16997 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
16998 NODE when __dir_mkfile failed.
16999 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17000 Reported by Ludovic Courtès <ludo@gnu.org>.
17001
e5a6e567
AJ
170022012-04-24 Andreas Jaeger <aj@suse.de>
17003
17004 * Makerules (common-clean): Also remove gen-as-const-headers
17005 files.
17006
c1820385
JM
170072012-04-24 Joseph Myers <joseph@codesourcery.com>
17008
17009 * Makerules (native-compile): Do not change working directory for
17010 build. Use $(OUTPUT_OPTION) in command.
17011 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17012
94e02fc4
AZ
170132012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17014
17015 [BZ #13886]
17016 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17017 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17018 * math/libm-test.inc (floor_test): Add more tests.
17019 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17020
3a533ca3
JM
170212012-04-24 Joseph Myers <joseph@codesourcery.com>
17022
940ab4b3
JM
17023 * sysdeps/unix/getdents.c: Remove file.
17024 * sysdeps/unix/sysv/getdents.c: Likewise.
17025 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17026
90e037bd
JM
17027 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17028 sysdeps/unix/mman/syscalls.list.
17029 (mmap): Likewise.
17030 (mprotect): Likewise.
17031 (msync): Likewise.
17032 (munmap): Likewise.
17033 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17034 * sysdeps/unix/mman/syscalls.list: Remove.
17035 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17036
3a533ca3
JM
17037 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17038 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17039 * configure: Regenerated.
17040 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17041 $(libgcc_s_suffix).
17042 * config.make.in (libgcc_s_suffix): Remove variable.
17043
1ad743de
JM
170442012-04-23 Joseph Myers <joseph@codesourcery.com>
17045
4ad451e2
JM
17046 * sysdeps/unix/sysv/gethostname.c: Move to ...
17047 * sysdeps/posix/gethostname.c: ... here.
17048
5e37ce39
JM
17049 * sysdeps/unix/execve.S: Remove file.
17050
1ad743de
JM
17051 * sysdeps/unix/_exit.S: Remove file.
17052
4e681b5b
AJ
170532012-04-23 Andreas Jaeger <aj@suse.de>
17054
17055 [BZ #13739]
17056 * manual/Makefile: Remove make dist support, there's no
17057 need for a stand-alone documentation tar ball.
17058 (TEXI2DVI): Define always, it's not in Makeconfig.
17059 (dist): Removed.
17060 (tar-it): Removed.
17061 (edition): Removed.
17062 (glibc-doc-$(edition).tar): Removed
17063 (%.Z): Removed.
17064 (%.gz): Removed.
17065 (%.uu): Removed.
17066 (ETAGS): Remove, it's in Makeconfig.
17067 (move-if-change): Remove, it's in Makeconfig.
17068
38686a03 170692012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17070
17071 [BZ #13970]
17072 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17073 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17074 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17075 (strtod_l, strtof_l, strtold_l): Remove __wur.
17076 It is not necessarily an error to ignore strtol's return value.
17077 One can reliably look at the stored endptr to decide whether
17078 the number had valid syntax.
17079
7c0616fa
AJ
170802012-04-21 Andreas Jaeger <aj@suse.de>
17081
803cb6b7 17082 [BZ #13739]
7c0616fa
AJ
17083 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17084
b0fe253f
JM
170852012-04-21 Joseph Myers <joseph@codesourcery.com>
17086
17087 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17088 * sysdeps/unix/sysv/Versions: Remove file.
17089
8280f22d
MT
170902012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17091
17092 [BZ #13927]
17093 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17094
75ce411f 170952012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17096
17097 [BZ #7064]
17098 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17099 version from __vm86.
17100
097d59fa
JM
171012012-04-20 Joseph Myers <joseph@codesourcery.com>
17102
a90f3bcb
JM
17103 * sysdeps/unix/common/lxstat.c: Remove file.
17104 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17105
edc7ea78
JM
17106 * sysdeps/unix/sysv/Makefile: Remove file.
17107
cb78c221
JM
17108 * sysdeps/unix/sysv/direct.h: Remove file.
17109
efa6a45f
JM
17110 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17111 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17112 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17113 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17114 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17115 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17116 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17117
9c9f2d0c
JM
17118 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17119
4541c83b
JM
17120 * sysdeps/unix/xmknod.c: Remove file.
17121 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17122
f5d153a0
JM
17123 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17124
aa746595
JM
17125 * sysdeps/unix/sysv/i386/time.S: Remove file.
17126
cce5905e
JM
17127 * sysdeps/unix/fxstat.c: Remove file.
17128 * sysdeps/unix/xstat.c: Likewise.
17129 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17130
37fa3841
JM
17131 * sysdeps/unix/sysv/sigaction.c: Remove file.
17132
ff1962a3
JM
17133 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17134 (sysdep_headers): Remove variable.
17135 [termio.h not in sysdep_headers] (generated): Likewise.
17136 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17137 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17138 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17139 * sysdeps/unix/sysv/tcflow.c: Likewise.
17140 * sysdeps/unix/sysv/tcflush.c: Likewise.
17141 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17142 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17143 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17144 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17145 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17146
e7740d31
JM
17147 * sysdeps/unix/siglist.c: Remove file.
17148
ee06f18b
JM
17149 * sysdeps/unix/getppid.S: Remove file.
17150
097d59fa
JM
17151 * sysdeps/unix/mkdir.c: Remove file.
17152 * sysdeps/unix/rmdir.c: Likewise.
17153
ff3d51ec
AS
171542012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17155
17156 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17157 ERR_MAX value.
17158 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17159 errlist-compat value.
17160
50f81fd7
DM
171612012-04-18 David S. Miller <davem@davemloft.net>
17162
17163 * sysdeps/generic/memcopy.h (reg_char): Delete.
17164 * debug/strcat_chk.c: Use char, not reg_char.
17165 * debug/strcpy_chk.c: Likewise.
17166 * debug/strncat_chk.c: Likewise.
17167 * debug/strncpy_chk.c: Likewise.
17168 * string/memchr.c: Likewise.
17169 * string/memrchr.c: Likewise.
17170 * string/rawmemchr.c: Likewise.
17171 * string/strcat.c: Likewise.
17172 * string/strchr.c: Likewise.
17173 * string/strchrnul.c: Likewise.
17174 * string/strcmp.c: Likewise.
17175 * string/strcpy.c: Likewise.
17176 * string/strncat.c: Likewise.
17177 * string/strncmp.c: Likewise.
17178 * string/strncpy.c: Likewise.
17179
8ff41c46
WS
171802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17181
17182 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17183 __builtin_memcopy is called when src and dest ranges are known to not
17184 overlap.
17185
6b652f46
WS
171862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17187
17188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17189 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17190 fwd_align_merge macro call.
17191 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17192 bwd_align_merge macro call.
17193 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17194
b282631e
WS
171952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17196
17197 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17198 bwd_align_merge macros.
17199 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17200 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17201 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17202
95aa737c
DM
172032012-04-18 David S. Miller <davem@davemloft.net>
17204
17205 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17206
7a99a614
AJ
172072012-04-18 Andreas Jaeger <aj@suse.de>
17208
17209 [BZ# 6794]
17210 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17211 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17212 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17213
17214 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17215 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17216 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17217
17218 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17219 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17220 Adjust for changed ldbl-128 files.
17221
17222 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17223 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17224 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17225
e5270c23
DM
172262012-04-17 David S. Miller <davem@davemloft.net>
17227
17228 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17229
fb5e92c9
AS
172302012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17231
17232 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17233 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17234 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17235 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17236 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17237 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17238
76da7265
AZ
172392012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17240
17241 [BZ #6794]
17242 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17243 * math/libm-test.inc: Add ilogb errno and exception tests.
17244 * math/w_ilogb.c: New file: ilogb wrapper.
17245 * math/w_ilogbf.c: New file: ilogbf wrapper.
17246 * math/w_ilogbl.c: New file: ilogbl wrapper.
17247 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17248 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17249 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17250 exception being thrown with 0.0 as argument.
17251 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17252 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17253 exception being thrown with 0.0 as argument.
17254 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17255 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17256 exception being thrown with 0.0 as argument.
17257 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17258 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17259 exception being thrown with 0.0 as argument.
17260 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17261 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17262 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17263 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17264 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17265 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17266 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17267 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17268 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17269
0396e69d
PB
172702012-04-17 Petr Baudis <pasky@ucw.cz>
17271
17272 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17273 with altivec.
17274
750b5926
MP
172752012-04-16 Marek Polacek <polacek@redhat.com>
17276
17277 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17278
751728a1
MP
172792012-04-16 Marek Polacek <polacek@redhat.com>
17280
17281 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17282 operands of fdivp instruction.
17283
34a27407
L
172842012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17285
17286 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17287 * elf/tst-auditmod3b.c: Likewise.
17288 * elf/tst-auditmod4b.c: Likewise.
17289 * elf/tst-auditmod5b.c: Likewise.
17290 * elf/tst-auditmod6b.c: Likewise.
17291 * elf/tst-auditmod6c.c: Likewise.
17292 * elf/tst-auditmod7b.c: Likewise.
17293 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17294 * sysdeps/x86_64/preconfigure.in: Likewise.
17295 * sysdeps/x86_64/preconfigure: Regenerated.
17296
7e73e17d
L
172972012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17298
17299 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17300 __ILP32__.
17301
c7a6ab72
AB
173022012-04-13 Antoine Balestrat <merkil33@gmail.com>
17303
17304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17305 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17306
a9e8e0e0
CL
173072012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17308
17309 [BZ #13973]
17310 * locale/iso-639.def: Fix gl language name. Spotted by
17311 Yaron Shahrabani.
17312
ec98af7d
RM
173132012-04-12 Roland McGrath <roland@hack.frob.com>
17314
17315 [BZ #2074]
17316 * libio/libio.h (__io_write_fn): Update comment.
17317
247c3ede
PB
173182012-04-12 Petr Baudis <pasky@ucw.cz>
17319
17320 [BZ #2074]
17321 * stdio.texi (Hook Functions): The user provided writer function
17322 is not allowed to return -1.
17323
55939d6d
DM
173242012-04-11 David S. Miller <davem@davemloft.net>
17325
17326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17327
90020f5a
MF
173282012-04-11 Mike Frysinger <vapier@gentoo.org>
17329
17330 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17331 Add a leading slash to rtkaio.
17332
288f9098
JM
173332012-04-11 Jim Meyering <meyering@redhat.com>
17334
90020f5a
MF
17335 [BZ #11959]
17336 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17337 It is not necessarily an error to ignore fwrite's return
17338 value. One can reliably use ferror to test for errors after
17339 the fact.
288f9098 17340
4be2b570
L
173412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17342
17343 * bits/types.h (__snseconds_t): New type.
17344 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17345
17346 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17348 (__SNSECONDS_T_TYPE): Likewise.
17349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17350 (__SNSECONDS_T_TYPE): Likewise.
17351 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17352 (__SNSECONDS_T_TYPE): Likewise.
17353
288f9098 173542012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17355
17356 [BZ #2636]
17357 * manual/time.texi (Processor Time): Return type of times is
17358 elapsed real time since an arbitrary point in the past.
17359 (CPU Time): Move CLK_TCK from here...
17360 (Processor Time): ...to here. Correct description.
17361 * manual/conf.texi (Constants for Sysconf): Correct description of
17362 _SC_CLK_TCK.
17363
d7dd4413
DM
173642012-04-10 David S. Miller <davem@davemloft.net>
17365
17366 [BZ #13967]
17367 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17368 where the is a gap between DT_REL(A) and DT_JMPREL.
17369
b46068fc
L
173702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17371
17372 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17373 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17374 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17375
73d65cc3
SP
173762012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17377
17378 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17379 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17380 (dl_main): Handle --inhibit-cache.
17381 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17382 _dl_inhibit_cache.
17383 * elf/dl-load.c (_dl_map_object): Use it.
17384 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17385
bcc8d661
JM
173862012-04-09 Joseph Myers <joseph@codesourcery.com>
17387
8f9a2fae
JM
17388 [BZ #13872]
17389 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17390 (__ieee754_powl): Saturate large exponents rather than testing for
17391 overflow of y*log2(x).
17392 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17393 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17394 exceptions.
17395
bcc8d661
JM
17396 [BZ #11521]
17397 * math/s_ctan.c: Include <float.h>.
17398 (__ctan): Avoid internal overflow or cancellation in calculating
17399 denominator.
17400 * math/s_ctanf.c: Likewise.
17401 * math/s_ctanl.c: Likewise.
17402 * math/s_ctanh.c: Likewise.
17403 * math/s_ctanhf.c: Likewise.
17404 * math/s_ctanhl.c: Likewise.
17405 * math/libm-test.inc (ctan_test): Add more tests.
17406 (ctanh_test): Likewise.
17407 * sysdeps/i386/fpu/libm-test-ulps: Update.
17408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17409
823fbbb4
AJ
174102012-04-09 Andreas Jaeger <aj@suse.de>
17411
03879793
AJ
17412 [BZ #6894]
17413 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17414 is an optional BSD extension.
17415
823fbbb4
AJ
17416 [BZ #10254]
17417 * manual/stdio.texi (Opening Streams): Document additional fopen
17418 parameters.
17419
8de131cb
RM
174202012-04-09 Roland McGrath <roland@hack.frob.com>
17421
17422 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17423 %eax without telling the compiler.
17424
c0ed9d7d
CD
174252012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17426
17427 [BZ # 13963]
17428 * manual/install.texi: Use sourceware.org.
17429
c483f6b4
JM
174302012-04-09 Joseph Myers <joseph@codesourcery.com>
17431
d7dd9453
JM
17432 [BZ #13873]
17433 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17434 (__ieee754_pow): Generate overflow and underflow using huge*huge
17435 and tiny*tiny rather than just returning constant infinity or zero
17436 for large exponents.
17437 * math/libm-test.inc (pow_test): Require overflow exceptions for
17438 applicable cases of large exponents.
17439
c483f6b4
JM
17440 [BZ #706]
17441 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17442 (__ieee754_pow): Use iterative multiplication algorithm only for
17443 integer exponents with absolute value below 1024. Check for odd
17444 integer exponents when using algorithm for real exponents.
17445 * math/libm-test.inc (pow_test): Add more tests.
17446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17447
d2de7579
JM
174482012-04-08 Joseph Myers <joseph@codesourcery.com>
17449
17450 [BZ #13705]
17451 * math/libm-test.inc (exp_test): Do not allow overflow exception
17452 on underflow test.
17453
f77f1232
AJ
174542012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17455
17456 [BZ #13705]
17457 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17458 instead of __kernel_standard_f.
17459
3884932b
MF
174602012-04-08 Mike Frysinger <vapier@gentoo.org>
17461
17462 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17463 * sysdeps/x86_64/memset_chk.S: Likewise.
17464
54472e9c
AJ
174652012-04-08 Andreas Jaeger <aj@suse.de>
17466
6ab0fbfc
AJ
17467 [BZ #10153]
17468 * manual/startup.texi (Environment Access): Describe return value
17469 for putenv and setenv.
17470
61efba8c
AJ
17471 [BZ #6895]
17472 * manual/filesys.texi (Directory Entries): Add description for
17473 DT_LNK.
17474
95c3f29a
AJ
17475 [BZ #6890]
17476 * manual/filesys.texi (Directory Entries): Clarify that it's file
17477 system not operating system in the description of DT_UNKNOWN.
17478
54472e9c
AJ
17479 [BZ #6578]
17480 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17481
624254b1
SC
174822012-04-08 Stephen Compall <s11@member.fsf.org>
17483
17484 [BZ #6649]
17485 * manual/llio.texi (Opening and Closing Files): Add cross
17486 reference to explain mode argument.
17487
1e4920e0
MF
174882012-04-07 Mike Frysinger <vapier@gentoo.org>
17489
17490 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17491 * sysdeps/x86_64/memset_chk.S: Likewise.
17492
5ed848f3
DM
174932012-04-07 David S. Miller <davem@davemloft.net>
17494
17495 * elf/elf.h (R_SPARC_WDISP10): Define.
17496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17497 R_SPARC_SIZE32.
17498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17499 R_SPARC_SIZE64 and R_SPARC_H34.
17500
96154cd8
CD
175012012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17502
17503 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17504 conditions and remove no longer applicable assertion.
17505
9904dc47
L
175062012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17507
17508 * bits/byteswap.h: Include <features.h>.
17509 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17510 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17511
f8887d0a
L
175122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17513
17514 * bits/byteswap.h (__bswap_16): Removed.
17515 Include <bits/byteswap-16.h> to get __bswap_16.
17516 * sysdeps/i386/bits/byteswap.h: Likewise.
17517 * sysdeps/s390/bits/byteswap.h: Likewise.
17518 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17519 * bits/byteswap-16.h: New file.
17520 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17521 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17522 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17523 * string/Makefile (headers): Add bits/byteswap-16.h.
17524
62470f60
PP
175252012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17526
17527 [BZ #13895]
17528 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17529 extra indirection.
17530 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17531 * nss/tst-nss-static.c: New.
17532
4dad7bab
RM
175332012-04-06 Robert Millan <rmh@gnu.org>
17534
17535 [BZ #6486]
17536 * manual/llio.texi (File Position Primitive): lseek
17537 refers to WHENCE when it really means OFFSET.
17538
e9142a17
AJ
175392012-04-06 Andreas Jaeger <aj@suse.de>
17540
2c040eff
AJ
17541 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17542 strncmp declarations.
17543
e9142a17
AJ
17544 * abilist/libc.abilist: Add __poll and __ppoll.
17545
ff9f1c5f
DM
175462012-04-05 David S. Miller <davem@davemloft.net>
17547
dcd2ae90
DM
17548 * scripts/check-local-headers.sh: Accept a host triplet in the
17549 path matched by the exclude regexp.
17550
993eb054
DM
17551 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17552 definition.
17553 * sysdeps/powerpc/powerpc32/dl-machine.h
17554 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17555 * sysdeps/s390/s390-32/dl-machine.h
17556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17557 * sysdeps/sparc/sparc32/dl-machine.h
17558 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17559 * sysdeps/sparc/sparc64/dl-machine.h
17560 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17561
ff9f1c5f
DM
17562 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17563 lazy binding.
48e2e132 17564 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17565 undefined symbol errors.
17566
48e2e132 17567 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17568 DT_NEEDED entries.
17569
e80d6f94
MM
175702012-04-05 Michael Matz <matz@suse.de>
17571
17572 [BZ #13592]
17573 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17574
349fa79f
AJ
175752012-04-05 Andreas Jaeger <aj@suse.de>
17576
17577 [BZ #13908]
17578 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17579 comment.
17580
f402708f
KK
175812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17582
17583 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17584 which ROUND is no valid rounding mode.
17585
2ecccfc9
KK
175862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17587
17588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17589 read again.
17590 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17591
8a53f50f
KK
175922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17593
17594 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17595 an exception using FPU order intentionally.
17596
175972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17598
17599 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17600 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17601 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17602 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17603
d653abb7
SJ
176042012-04-05 Simon Josefsson <simon@josefsson.org>
17605
17606 [BZ #12340]
17607 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17608 EINVAL when BUFLEN is too smal.
17609
c3b1bf7d
TS
176102012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17611
17612 [BZ #13553]
17613 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17614 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17615
b1aa60f3
AJ
176162012-04-03 Andreas Jaeger <aj@suse.de>
17617
c3b1bf7d 17618 [BZ #13938]
67f60a26
AJ
17619 * manual/setjmp.texi (System V contexts): Fix sentence.
17620
b1aa60f3
AJ
17621 [BZ #13926]
17622 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17623 New macro for this case.
17624 [!__GNUC__] (__bswap_64): New inline function for this case.
17625 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17626 * bits/byteswap.h: Likewise.
17627 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17628 ull, guard with __GLIBC_HAVE_LONG_LONG.
17629
17630 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17631 __GLIBC_HAVE_LONG_LONG.
17632
17633 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17634 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17635
39c59c35
TMQMF
176362012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17637
17638 [BZ #13691]
17639 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17640 inptr and inend, rather than using last_ch.
17641
135ffda8
DM
176422012-04-02 David S. Miller <davem@davemloft.net>
17643
17644 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17645 * stdio-common/printf-parse.h (read_int): Change return type to
17646 'int', return -1 on INT_MAX overflow.
17647 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17648 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17649 overflows INT_MAX. Check for overflow of in-format-string precision
17650 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17651 SIZE_MAX not INT_MAX for integer overflow test.
17652 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17653 skip the construct in the format string but do not record anything.
17654 * stdio-common/bug22.c: Adjust to test both width/prevision
17655 INT_MAX overflow as well as total length INT_MAX overflow. Check
17656 explicitly for proper errno values.
17657
228c019e
TS
176582012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17659
302cadd3
TS
17660 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17661 CHAR_MAX.
17662 * string/test-strcmp.c [! WIDE]: Likewise.
17663 * time/tst-mktime2.c: Likewise for INT_MAX.
17664 * string/test-string.h: #include <sys/param.h> for MIN.
17665
228c019e
TS
17666 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17667 * sysdeps/i386/init-first.c (init): Likewise.
17668 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17669 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17670 * sysdeps/sh/init-first.c (init): Likewise.
17671
cfa633f5
UD
176722012-04-01 Ulrich Drepper <drepper@gmail.com>
17673
17674 * po/ru.po: Update from translation team.
d1635ef8 17675 * po/vi.po: Likewise.
cfa633f5 17676
6cd0a5ea
SP
176772012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17678
17679 * resolv/nss_dns/dns-host.c: Merge copyright years.
17680
4b43400f
LD
176812012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17682
17683 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17684 Optimize memcpy with prefetch if
17685 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17686 src, dst pointers have unequal 16 byte alignments.
17687
48c41d04
SP
176882012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17689
17690 [BZ #13928]
17691 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17692 from a CNAME entry and return the minimum ttl for the query.
17693 (gaih_getanswer_slice): Likewise.
17694
b8dc394d
JL
176952012-03-30 Jeff Law <law@redhat.com>
17696
17697 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17698 due to long keys.
17699 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17700 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17701
2f5a5ed0
JL
17702 * resolv/nss_dns/dns-host.c: Update copyright year.
17703
1d39e359
UD
177042012-03-30 Ulrich Drepper <drepper@gmail.com>
17705
c030f70c 17706 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17707 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17708
1d39e359
UD
17709 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17710 comments for sendmmsg.
17711
177122012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17713
17714 [BZ #13691]
17715 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17716 with only 1 character between 0x0041 and 0x01b0.
17717 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17718 * wcsmbs/tst-mbsnrtowcs.c: New file.
17719
20fde227
DM
177202012-03-29 David S. Miller <davem@davemloft.net>
17721
17722 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17723 small copies by hand.
17724
984a4237
JL
177252012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17726
17727 [BZ #13761]
17728 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17729 _nss_compat_initgroups_dyn): Fall back to malloc/free
17730 for large group memberships.
17731
18c9d62b
DM
177322012-03-28 David S. Miller <davem@davemloft.net>
17733
88d85d4f
DM
17734 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17735 that branches into memcpy.
17736 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17737 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17738 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17739 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17741 bits.
17742 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17743 implementation too.
17744 * sysdeps/sparc/mempcpy.S: New file.
17745
e5aa83e1
DM
17746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17747 the IFUNC routine in the libc case.
17748 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17749
88570753
DM
17750 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17751 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17752 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17753 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17754 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17755 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17756 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17757 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17758
249d7567
DM
17759 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17760 loop to 256 bytes instead of 64 bytes and fix test signedness.
17761
18c9d62b
DM
17762 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17763 * sysdeps/sparc/sparc32/Makefile: rather than here...
17764 * sysdeps/sparc/sparc64/Makefile: and here.
17765
05f3d1f6
UD
177662012-03-28 Ulrich Drepper <drepper@gmail.com>
17767
17768 * malloc/mallocbug.c: Avoid warnings about unused variables.
17769
86ae07a8
JL
177702012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17771
17772 [BZ #13760]
17773 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17774 in the right place. Discard and retry query if response is
17775 larger than input buffer size.
17776
41bf21a1
JM
177772012-03-28 Joseph Myers <joseph@codesourcery.com>
17778
d6270972
JM
17779 [BZ #369]
17780 [BZ #2678]
17781 [BZ #3866]
17782 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17783 x for large integer exponent.
17784 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17785 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17786 sign of result as needed afterwards.
17787 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17788 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17789 result for underflowing pow the same as for overflow.
17790 (__kernel_standard_l): Handle powl overflow and underflow here
17791 rather than calling __kernel_standard.
17792 * math/libm-test.inc (pow_test): Add more tests.
17793
414fca03 17794 [BZ #3868]
41bf21a1
JM
17795 [BZ #13879]
17796 [BZ #13910]
17797 [BZ #13911]
17798 [BZ #13912]
17799 [BZ #13913]
17800 [BZ #13915]
17801 [BZ #13916]
17802 [BZ #13917]
17803 [BZ #13918]
17804 [BZ #13919]
17805 [BZ #13920]
17806 [BZ #13921]
17807 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17808 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17809 (__kernel_standard_l): New function.
17810 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17811 __kernel_standard.
17812 * math/w_acosl.c (__acosl): Likewise.
17813 * math/w_asinl.c (__asinl): Likewise.
17814 * math/w_atan2l.c (__atan2l): Likewise.
17815 * math/w_atanhl.c (__atanhl): Likewise.
17816 * math/w_coshl.c (__coshl): Likewise.
17817 * math/w_exp10l.c (__exp10l): Likewise.
17818 * math/w_exp2l.c (__exp2l): Likewise.
17819 * math/w_fmodl.c (__fmodl): Likewise.
17820 * math/w_hypotl.c (__hypotl): Likewise.
17821 * math/w_j0l.c (__j0l, __y0l): Likewise.
17822 * math/w_j1l.c (__j1l, __y1l): Likewise.
17823 * math/w_jnl.c (__jnl, __ynl): Likewise.
17824 * math/w_lgammal.c (__lgammal): Likewise.
17825 * math/w_log10l.c (__log10l): Likewise.
17826 * math/w_log2l.c (__log2l): Likewise.
17827 * math/w_logl.c (__logl): Likewise.
17828 * math/w_powl.c (__powl): Likewise.
17829 * math/w_remainderl.c (__remainderl): Likewise.
17830 * math/w_scalbl.c (sysv_scalbl): Likewise.
17831 * math/w_sinhl.c (__sinhl): Likewise.
17832 * math/w_sqrtl.c (__sqrtl): Likewise.
17833 * math/w_tgammal.c (__tgammal): Likewise.
17834 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17835 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17836 * math/libm-test.inc (acos_test): Add more tests.
17837 (acosh_test): Likewise.
17838 (asin_test): Likewise.
17839 (atanh_test): Likewise.
17840 (exp_test): Likewise.
17841 (exp10_test): Likewise.
17842 (exp2_test): Likewise.
17843 (expm1_test): Likewise.
17844 (lgamma_test): Likewise.
17845 (log_test): Likewise.
17846 (log10_test): Likewise.
17847 (log1p_test): Likewise.
17848 (log2_test): Likewise.
17849 (pow_test): Do not allow some spurious overflow exceptions.
17850 (sqrt_test): Add more tests.
17851 (tgamma_test): Likewise.
17852 (y0_test): Likewise.
17853 (y1_test): Likewise.
17854 (yn_test): Likewise.
17855
dd62fda6
AB
178562012-03-27 Anton Blanchard <anton@samba.org>
17857
17858 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17859 MAP_HUGETLB.
17860 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17861 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17862 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17863
1e3cdfda
AJ
178642012-03-27 David S. Miller <davem@davemloft.net>
17865
b855ab85
DM
17866 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17867
1e3cdfda
AJ
17868 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17869 have-as-vis3 check.
17870
178712012-03-27 Andreas Jaeger <aj@suse.de>
17872
17873 * sysdeps/x86_64/elf/configure.in: Moved to ...
17874 * sysdeps/x86_64/configure.in: ... here.
17875 * sysdeps/x86_64/elf/start.S: Moved to ...
17876 * sysdeps/x86_64/start.S: ... here.
17877 * sysdeps/x86_64/elf/configure: Delete.
17878
17879 * sysdeps/x86_64/configure.in: Merge contents from
17880 sysdeps/i386/configure.in (without i686 check).
17881
17882 * sysdeps/i386/elf/Versions: Merge into ...
17883 * sysdeps/i386/Versions: ... this.
17884 * sysdeps/i386/elf/Versions: Delete file.
17885 * sysdeps/i386/elf/start.S: Moved to ...
17886 * sysdeps/i386/start.S: ...here.
17887 * sysdeps/i386/elf/configure.in: Merge into...
17888 * sysdeps/i386/configure.in: ...here.
17889 * sysdeps/i386/elf/configure.in: Delete file.
17890 * sysdeps/i386/elf/configure: Delete file.
17891
17892 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
17893 * debug/backtracesyms.c: ... here.
17894 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
17895 * debug/backtracesymsfd.c: ... here.
17896 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
17897 * sysdeps/generic/ifunc-sel.h: ... here.
17898
17899 * sysdeps/unix/i386/start.c: Delete file.
17900 * sysdeps/unix/sparc/start.c: Delete file.
17901 * sysdeps/unix/start.c: Delete file.
17902
17903 * sysdeps/sh/elf/configure.in: Moved to ...
17904 * sysdeps/sh/configure.in: ... here.
17905 * sysdeps/sh/elf/start.S: Moved to ...
17906 * sysdeps/sh/start.S: ... here.
17907 * sysdeps/sh/elf/configure: Delete file.
17908
17909 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
17910 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
17911 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
17912 * sysdeps/powerpc/powerpc64/entry.h: ... here.
17913 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
17914 * sysdeps/powerpc/powerpc64/start.S: here.
17915 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
17916 * sysdeps/powerpc/powerpc64/Makefile: ... this.
17917 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
17918 * sysdeps/powerpc/powerpc64/configure.in: ... this.
17919 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
17920
17921 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
17922 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
17923 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
17924 * sysdeps/powerpc/powerpc32/start.S: ... here.
17925 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
17926 * sysdeps/powerpc/powerpc32/configure.in: ... this.
17927 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
17928
17929 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
17930 * sysdeps/powerpc/ifunc-sel.h: ... here.
17931 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
17932 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
17933
17934 * sysdeps/sparc/elf/configure.in: Moved to ...
17935 * sysdeps/sparc/configure.in: ... here.
17936 * sysdeps/sparc/elf/configure: Delete file.
17937 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
17938 * sysdeps/sparc/sparc32/start.S: ... here.
17939 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
17940 * sysdeps/sparc/sparc64/start.S: ... here.
17941 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
17942 * sysdeps/sparc/sparc32/Makefile: ... this.
17943 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
17944 * sysdeps/sparc/sparc64/Makefile: ... this.
17945
17946 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
17947 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
17948 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
17949 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
17950 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
17951 * sysdeps/s390/s390-32/setjmp.S: ... here.
17952 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
17953 * sysdeps/s390/s390-32/configure.in: ... here.
17954 * sysdeps/s390/s390-32/elf/configure: Delete file.
17955 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
17956 * sysdeps/s390/s390-32/start.S: ... here.
17957
17958 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
17959 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
17960 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
17961 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
17962 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
17963 * sysdeps/s390/s390-64/setjmp.S: ... here.
17964 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
17965 * sysdeps/s390/s390-64/configure.in: ... here
17966 * sysdeps/s390/s390-64/elf/configure: Delete file.
17967 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
17968 * sysdeps/s390/s390-64/start.S: ... here.
17969 * sysdeps/s390/s390-64/elf/configure: Delete.
17970
17971 * configure.in: Remove support for elf directories in sysdeps.
17972
17973 * configure: Regenerated.
17974 * sysdeps/i386/configure: Regenerated.
17975 * sysdeps/powerpc/powerpc32/configure: Regenerated.
17976 * sysdeps/powerpc/powerpc64/configure: Regenerated.
17977 * sysdeps/s390/s390-32/configure: Regenerated.
17978 * sysdeps/s390/s390-64/configure: Regenerated.
17979 * sysdeps/sh/configure: Regenerated.
17980 * sysdeps/sparc/configure: Regenerated.
17981 * sysdeps/x86_64/configure: Regenerated.
17982
a3f61311
AS
179832012-03-26 Andreas Schwab <schwab@linux-m68k.org>
17984
c876e002
AS
17985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17986
a3f61311
AS
17987 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
17988 denormal result into account.
17989
ac4c54f0
RM
179902012-03-25 Roland McGrath <roland@hack.frob.com>
17991
17992 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
17993 Reported by Allan McRae <allan@archlinux.org>.
17994
6a9b9c02
JL
179952012-03-23 Jeff Law <law@redhat.com>
17996
17997 * nss/getnssent.c (__nss_getent): Fix typo.
17998
4c42a0c1
DM
179992012-03-23 David S. Miller <davem@davemloft.net>
18000
18001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18002
1532c7ac
L
180032012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18004
18005 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18006 to pad to uint64_t for each field.
18007 (dl_tls_index): Replace unsigned long with uint64_t.
18008
3ff42526
PP
180092012-03-23 Daniel Jacobowitz <dmj@google.com>
18010 Paul Pluzhnikov <ppluzhnikov@google.com>
18011
18012 [BZ #6528]
18013 * grp/Makefile (otherlibs): Don't set it.
18014 * inet/Makefile (otherlibs): Likewise.
18015 * login/Makefile (otherlibs): Likewise.
18016 * nscd/Makefile (otherlibs): Likewise.
18017 * posix/Makefile (otherlibs): Likewise.
18018 * pwd/Makefile (otherlibs): Likewise.
18019 * rt/Makefile (otherlibs): Likewise.
18020 * sunrpc/Makefile (otherlibs): Likewise.
18021 * nss/Makefile (otherlibs): Likewise.
18022 Add libnss_files to routines and static-only-routines.
18023 ($(objpfx)getent): Remove rule.
18024 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18025 static-only-routines.
18026
7c69cd14
JM
180272012-03-22 Joseph Myers <joseph@codesourcery.com>
18028
18029 [BZ #13892]
18030 * math/s_cexp.c: Include <float.h>.
18031 (__cexp): Handle exp result overflowing not necessarily
18032 overflowing both real and imaginary parts of result.
18033 * math/s_cexpf.c: Likewise.
18034 * math/s_cexpl.c: Likewise.
18035 * math/libm-test.inc (cexp_test): Add more tests.
18036 * sysdeps/i386/fpu/libm-test-ulps: Update.
18037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18038
81b035fe
L
180392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18040
18041 * include/link.h (ELFW): New macro.
18042 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18043 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18044
1da7940c
L
180452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18046
18047 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18048 with uint64_t.
18049
b749dbb9
L
180502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18051
18052 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18053 declaration.
18054 (struct La_x32_retval): Likewise.
18055
2ff87f3f
L
180562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18057
18058 * sysdeps/x86_64/preconfigure.in: New file.
18059 * sysdeps/x86_64/preconfigure: New generated file.
18060
c0df8e69
JM
180612012-03-22 Joseph Myers <joseph@codesourcery.com>
18062
48e44791
JM
18063 [BZ #13824]
18064 * math/e_exp2l.c: Include <float.h>.
18065 (__ieee754_exp2l): Handle overflow and underflow cases
18066 separately. Only pass fractional part of argument to
18067 __ieee754_expl.
18068 * math/libm-test.inc (exp2_test): Add more tests.
18069
c0df8e69
JM
18070 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18071 negating x to take absolute value.
18072 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18073 Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18075 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18076 Likewise.
18077 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18078 computing low part if x was negated.
18079 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18080
c8e43ba7
L
180812012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18082
18083 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18084 la_x32_gnu_pltexit.
18085 (pltexit): Cast int_retval to ptrdiff_t.
18086 * elf/tst-auditmod3b.c: Likewise.
18087 * elf/tst-auditmod4b.c: Likewise.
18088 * elf/tst-auditmod5b.c: Likewise.
18089 * elf/tst-auditmod6b.c: Likewise.
18090 * elf/tst-auditmod6c.c: Likewise.
18091 * elf/tst-auditmod7b.c: Likewise.
18092
18093 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18094 and x32_gnu_pltexit.
18095
18096 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18097 __ELF_NATIVE_CLASS.
18098 (La_x32_regs): New macro.
18099 (La_x32_retval): Likewise.
18100 (la_x32_gnu_pltenter): New function prototype.
18101 (la_x32_gnu_pltexit): Likewise.
18102
7998fa78
AS
181032012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18104
dcb33988
AS
18105 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18106 exponent.
18107
233fc563
AS
18108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18109
7998fa78
AS
18110 * configure.in (libc_cv_cc_nofma): Check for option to disable
18111 generation of FMA instructions.
18112 * configure: Regenerate.
18113 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18114 * sysdeps/ieee754/dbl-64/Makefile: New file.
18115 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18116 Remove brandred-fma4.
18117 (CFLAGS-brandred-fma4.c): Remove.
18118 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18119 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18120 define.
18121 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18122 define.
18123
8e95c99a
L
181242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18125
18126 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18127 LLONG_MAX != LONG_MAX.
18128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18129 (_fitoa_word): Likewise.
18130 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18131 LLONG_MAX != LONG_MAX.
18132 * stdio-common/_itowa.h: Include <_itoa.h>.
18133 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18134 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18135 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18136 only if not defined.
18137 (_ITOA_WORD_TYPE): Likewise.
18138 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18139 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18140
6f4db457
DM
181412012-03-21 David S. Miller <davem@davemloft.net>
18142
18143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18144
7785fe5a
L
181452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18146
18147 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18148 of x86_64 when setting libc_cv_slibdir, libdir and
18149 libc_cv_localedir.
18150 * sysdeps/unix/sysv/linux/configure: Regenerated.
18151
4535cd55
JM
181522012-03-21 Joseph Myers <joseph@codesourcery.com>
18153
18154 * manual/lang.texi (Old Varargs): Remove section.
18155 (How Variadic): Update menu.
18156 (va_start): Do not mention varargs.h.
18157
17228132
TS
181582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18159 Joseph Myers <joseph@codesourcery.com>
18160
18161 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18162 link test.
18163 * configure: Regenerated.
18164
8149f976
TS
181652012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18166
05f3d1f6
UD
18167 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18168 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18169 conformtest.pl
8149f976 18170
1a4ac776
JM
181712012-03-21 Joseph Myers <joseph@codesourcery.com>
18172
be22ce65
JM
18173 * NOTES: Remove.
18174 * Makefile (files-for-dist): Remove NOTES.
18175 (NOTES): Remove rule.
18176 * README: Don't refer to NOTES.
18177 * manual/creature.texi: Don't include macros.texi.
18178 * manual/intro.texi (creature.texi): Remove comment referring to
18179 NOTES.
18180
40b601fb
JM
18181 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18182 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18183 * configure: Regenerated.
18184 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18185 LIBC_TRY_CC_OPTION.
18186 (libc_cv_as_i686): Likewise.
18187 (libc_cv_cc_avx): Likewise.
18188 (libc_cv_cc_sse2avx): Likewise.
18189 (libc_cv_cc_fma4): Likewise.
18190 (libc_cv_cc_novzeroupper): Likewise.
18191 * sysdeps/i386/configure: Regenerated.
18192
1a4ac776
JM
18193 [BZ #13883]
18194 * sysdeps/i386/fpu/s_cexp.S: Remove.
18195 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18196 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18197 * math/libm-test.inc (cexp_test): Add more tests.
18198 * sysdeps/i386/fpu/libm-test-ulps: Update.
18199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18200
a458e7fe
AM
182012012-03-21 Allan McRae <allan@archlinux.org>
18202
18203 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18204
0cb7efc5
JM
182052012-03-21 Joseph Myers <joseph@codesourcery.com>
18206
18207 [BZ #13871]
18208 * math/w_exp2.c: Do not include <float.h>.
18209 (o_threshold, u_threshold): Remove.
18210 (__exp2): Calculate result before checking finiteness and calling
18211 __kernel_standard.
18212 * math/w_exp2f.c: Likewise.
18213 * math/w_exp2l.c: Likewise.
18214 * math/libm-test.inc (exp2_test): Require overflow exception for
18215 1e6 input.
2460d3aa
JM
18216
18217 [BZ #3866]
18218 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18219 range of signed 64-bit integers before using fistpll. Remove
18220 checks for whether integers fit in mantissa bits.
18221 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18222 the range of signed 32-bit integers before using fistpl. Remove
18223 checks for whether integers fit in mantissa bits.
18224 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18225 (__ieee754_powl): Test for y outside the range of signed 64-bit
18226 integers before using fistpll. Reduce 64-bit values to 63-bit
18227 ones as needed.
18228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18229 divide-by-zero is raised for zero to large negative powers.
18230 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18231 (__ieee754_powl): Test for y outside the range of signed 64-bit
18232 integers before using fistpll. Reduce 64-bit values to 63-bit
18233 ones as needed.
18234 * math/libm-test.inc (pow_test): Add more tests.
18235
eb96ffb0
L
182362012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18237
18238 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18239 <stdio-common/_itoa.h>.
18240 * debug/segfault.c: Likewise.
18241 * elf/dl-cache.c: Likewise.
18242 * elf/dl-minimal.c: Likewise.
18243 * elf/dl-misc.c: Likewise.
18244 * elf/dl-sysdep.c: Likewise.
18245 * elf/dl-version.c: Likewise.
18246 * elf/rtld.c: Likewise.
18247 * hurd/hurdsock.c: Likewise.
18248 * hurd/lookup-retry.c: Likewise.
18249 * malloc/malloc.c: Likewise.
18250 * malloc/mtrace.c: Likewise.
18251 * nscd/nscd_getgr_r.c: Likewise.
18252 * nscd/nscd_getpw_r.c: Likewise.
18253 * nscd/nscd_getserv_r.c: Likewise.
18254 * posix/getopt_init.c: Likewise.
18255 * posix/wordexp.c: Likewise.
18256 * stdio-common/_itoa.c: Likewise.
18257 * stdio-common/printf_fphex.c: Likewise.
18258 * stdio-common/vfprintf.c: Likewise.
18259 * string/_strerror.c: Likewise.
18260 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18261 * sysdeps/i386/i686/hp-timing.h: Likewise.
18262 * sysdeps/mach/_strerror.c: Likewise.
18263 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18264 * sysdeps/mach/hurd/sethostid.c: Likewise.
18265 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18266 * sysdeps/mach/xpg-strerror.c: Likewise.
18267 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18268 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18269 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18270 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18271 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18272 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18273 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18274 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18275 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18276 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18277 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18278 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18279 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18280 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18281 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18282 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18283 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18284 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18285 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18286 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18287 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18288
18289 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18290
18291 * stdio-common/_itoa.h: Moved to ...
18292 * sysdeps/generic/_itoa.h: Here.
18293
18294 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18295
18296 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18297 instead of "_itoa.h" and "_itowa.h".
18298 * stdio-common/vfprintf.: Likewise.
18299
d1af992d
L
183002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18301
18302 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18303 <bits/wordsize.h>.
18304 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18305 (__signbit): Likwise.
18306 (llrintf): Likwise.
18307 (llrint): Likwise.
18308
114883e0
L
183092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18310
18311 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18312 __WORDSIZE != 64.
18313
c135cc1b
JM
183142012-03-20 Joseph Myers <joseph@codesourcery.com>
18315
18316 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18317 OVERFLOW_EXCEPTION_OK.
18318 * math/libm-test.inc ("Philosophy"): Update comment about
18319 exception testing.
18320 (OVERFLOW_EXCEPTION): Define.
18321 (OVERFLOW_EXCEPTION_OK): Likewise.
18322 (INVALID_EXCEPTION_OK): Renumber.
18323 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18324 (IGNORE_ZERO_INF_SIGN): Likewise.
18325 (test_exceptions): Handle FE_OVERFLOW.
18326 (exp10_test): Expect overflow exceptions.
18327 (exp2_test): Likewise.
18328 (expm1_test): Likewise.
18329 (nextafter_test): Likewise.
18330 (pow_test): Likewise.
18331 (scalbn_test): Likewise.
18332 (scalbln_test): Likewise.
18333
95443d88
L
183342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18335
18336 * sysdeps/x86_64/bits/atomic.h
18337 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18338 64bit integer.
18339 (atomic_exchange_acq): Likewise.
18340 (__arch_exchange_and_add_body): Likewise.
18341 (__arch_add_body): Likewise.
18342 (atomic_add_negative): Likewise.
18343 (atomic_add_zero): Likewise.
18344
490df6c4
L
183452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18346
c2722551 18347 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18348 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18349
5e52b189
L
183502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18351
18352 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18353 Check __x86_64__ instead of __WORDSIZE.
18354
a9879d4c
L
183552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18356
18357 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18358
5df98260
DM
183592012-03-19 David S. Miller <davem@davemloft.net>
18360
e1497744
DM
18361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18362
5df98260
DM
18363 * sysdeps/sparc/fpu/fenv_private.h: New file.
18364 * sysdeps/sparc/fpu/math_private.h: Use it.
18365 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18366 Remove.
18367 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18368 (libc_feholdexcept_setroundl): Remove.
18369 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18370 Remove.
18371 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18372 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18373
b4c35121
L
183742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18375
18376 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18377 int64_t instead of long int.
18378 (INSERT_WORDS64): Likwise.
18379
56965fd7
L
183802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18381
18382 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18383 _Unwind_GetCFA return to _Unwind_Ptr first.
18384
83d1aec8
JM
183852012-03-19 Joseph Myers <joseph@codesourcery.com>
18386
1897ad44
JM
18387 [BZ #13629]
18388 * math/s_clog.c: Include <float.h>.
18389 (__clog): Scale large or subnormal inputs.
18390 * math/s_clogf.c: Likewise.
18391 * math/s_clogl.c: Likewise.
18392 * math/s_clog10.c: Include <float.h>.
18393 (M_LOG10_2): Define.
18394 (__clog10): Scale large or subnormal inputs.
18395 * math/s_clog10f.c: Likewise.
18396 * math/s_clog10l.c: Likewise.
18397 * math/libm-test.inc (clog_test): Add more tests.
18398 (clog10_test): Likewise.
18399 * sysdeps/i386/fpu/libm-test-ulps: Update.
18400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18401
7726d6a9
JM
18402 [BZ #11451]
18403 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18404 x and y.
18405 * math/libm-test.inc (atan2_test): Add another test.
18406
83d1aec8
JM
18407 * Makerules (common-objdir-compile): Remove.
18408 * sysdeps/unix/Makefile (config-generated): Do not add
18409 $(unix-generated) to variable.
18410 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18411 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18412 Remove rule.
18413 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18414 Likewise.
18415 [generic bits/local_lim.h] (before-compile): Do not append to
18416 variable.
18417 [generic bits/local_lim.h] (common-generated): Likewise.
18418 [generic sys/param.h] (before-compile): Do not append to variable.
18419 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18420 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18421 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18422 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18423 include.
18424 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18425 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18426 [generic sys/param.h] ($(addprefix
18427 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18428 [generic sys/param.h] (common-generated): Do not append to
18429 variable.
18430 [generic sys/param.h] (sysdep_headers): Likewise.
18431 [generic bits/errno.h] (before-compile): Do not append to
18432 variable.
18433 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18434 rule.
18435 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18436 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18437 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18438 [generic bits/errno.h] (common-generated): Do not append to
18439 variable.
18440 [generic bits/ioctls.h] (before-compile): Do not append to
18441 variable.
18442 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18443 rule.
18444 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18445 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18446 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18447 rule.
18448 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18449 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18450 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18451 [generic bits/ioctls.h] (common-generated): Do not append to
18452 variable.
18453 [generic sys/syscall.h] (syscall.h): Remove variable.
18454 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18455 rule.
18456 [generic sys/syscall.h] (before-compile): Do not append to
18457 variable.
18458 [generic sys/syscall.h] (common-generated): Likewise.
18459 * sysdeps/unix/errnos-tmpl.c: Remove file.
18460 * sysdeps/unix/errnos.awk: Likewise.
18461 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18462 * sysdeps/unix/ioctls.awk: Likewise.
18463 * sysdeps/unix/mk-local_lim.c: Likewise.
18464 * sysdeps/unix/snarf-ioctls: Likewise.
18465
4851a949
RH
184662012-03-19 Richard Henderson <rth@twiddle.net>
18467
bd37f2ee
RH
18468 * sysdeps/i386/fpu/fenv_private.h: New file.
18469 * sysdeps/i386/fpu/math_private.h: Use it.
18470 (math_opt_barrier, math_force_eval): Remove.
18471 (libc_feholdexcept_setround_53bit): Remove.
18472 (libc_feupdateenv_53bit): Remove.
18473 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18474 (math_opt_barrier, math_force_eval): Remove.
18475 (libc_feholdexcept): Remove.
18476 (libc_feholdexcept_setround): Remove.
18477 (libc_fetestexcept, libc_fesetenv): Remove.
18478 (libc_feupdateenv_test): Remove.
18479 (libc_feupdateenv, libc_feholdsetround): Remove.
18480 (libc_feresetround): Remove.
18481
d0adc922
RH
18482 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18483 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18484
0fe0f1f8
RH
18485 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18486 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18487 (libc_feupdateenv_testl): New.
18488 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18489 (libc_feupdateenv_testf): New.
18490 (libc_feupdateenv): Use libc_feupdateenv_test.
18491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18492 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18493
eb92c487
RH
18494 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18495 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18496 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18497 (libc_feresetround_noex): New.
18498 (libc_feresetround_noexf): New.
18499 (libc_feresetround_noexl): New.
18500 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18501 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18502 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18503 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18504 SET_RESTORE_ROUND.
18505 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18506 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18507 (__cos): Likewise.
18508 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18509 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18510 SET_RESTORE_ROUND_NOEX.
18511 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18512 SET_RESTORE_ROUND_NOEXF.
18513 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18514 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18515 (libc_feholdsetroundf): New.
18516 (libc_feresetround, libc_feresetroundf): New.
18517
7d2e8012
RH
18518 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18519 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18520 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18521
b4dabbb4
RH
18522 * sysdeps/generic/math_private.h: Include <fenv.h>.
18523 (default_libc_feholdexcept): New.
18524 (default_libc_feholdexcept_setround): New.
18525 (default_libc_fesetenv, default_libc_feupdateenv): New.
18526 (libc_feholdexcept): Only define if undefined.
18527 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18528 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18529 (libc_feholdexcept_setroundl): Likewise.
18530 (libc_feholdexcept_setround_53bit): Likewise.
18531 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18532 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18533 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18534 (libc_feupdateenv_53bit): Likewise.
18535 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18536 (libc_feholdexcept): Convert from macro to inline function.
18537 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18538 (libc_fesetenv, libc_feupdateenv): Likewise.
18539
4851a949
RH
18540 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18541 not previously defined.
18542 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18543 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18544 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18545 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18546 * sysdeps/ieee754/flt-32/math_private.h: New file.
18547 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18548 math_private.h below SET_FLOAT_WORD.
18549 (__isnan, __isinf_ns, __finite): Remove.
18550 (__isnanf, __isinf_nsf, __finitef): Remove.
18551
e79d442e
AS
185522012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18553
18554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18555
90b80344
DM
185562012-03-17 David S. Miller <davem@davemloft.net>
18557
18558 [BZ #6471]
18559 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18560 for 2.16.
18561
edc21804
DM
185622012-03-16 David S. Miller <davem@davemloft.net>
18563
77e927af
DM
18564 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18565 warnings.
18566
374976dd
DM
18567 [BZ #6471]
18568 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18569 properly.
18570 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18571 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18572 sysdep_routines when subdir is sysvipc.
18573 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18574 __getshmlba helper.
18575
edc21804
DM
18576 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18577
473c3ef3
L
185782012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18579
18580 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18581 [__LP64__].
18582
eb0f39b6
L
185832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18584
18585 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18586 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18587 (__lround): Renamed to ...
18588 (__llround): This. Replace long int with long long int.
18589 Define lround functions as aliases of llround functions.
18590 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18591
6b6cd74b
L
185922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18593
18594 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18595 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18596 adresses to uintptr_t. Replace "long int" and "unsigned long
18597 int" with "greg_t" on va_arg.
18598
f1a77b01
L
185992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18600
18601 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18602 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18603
18604 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18605 Move e_machine check before EI_CLASS check. Handle x32
18606 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18607 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18608 SKIP_EM_IA_64 and include
18609 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18610
18611 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18612 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18613 (add_system_dir): New macro.
18614
18615 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18616 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18617
11b90b9f
JM
186182012-03-16 Joseph Myers <joseph@codesourcery.com>
18619
c36e1d23
JM
18620 [BZ #2551]
18621 [BZ #2552]
18622 [BZ #2553]
18623 [BZ #2554]
18624 [BZ #2562]
18625 [BZ #2563]
18626 [BZ #2565]
18627 [BZ #2566]
18628 [BZ #2576]
18629 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18630 (y0): Likewise.
18631 * math/w_j0f.c (j0f): Likewise.
18632 (y0f): Likewise.
18633 * math/w_j0l.c (__j0l): Likewise.
18634 (__y0l): Likewise.
18635 * math/w_j1.c (j1): Likewise.
18636 (y1): Likewise.
18637 * math/w_j1f.c (j1f): Likewise.
18638 (y1f): Likewise.
18639 * math/w_j1l.c (__j1l): Likewise.
18640 (__y1l): Likewise.
18641 * math/w_jn.c (jn): Likewise.
18642 (yn): Likewise.
18643 * math/w_jnf.c (jnf): Likewise.
18644 (ynf): Likewise.
18645 * math/w_jnl.c (__jnl): Likewise.
18646 (__ynl): Likewise.
18647 * math/libm-test.inc (j0_test): Add more tests.
18648 (j1_test): Likewise.
18649 (jn_test): Likewise. Add trailing semicolon to existing test.
18650 (y0_test): Likewise.
18651 (y1_test): Likewise.
18652 * sysdeps/i386/fpu/libm-test-ulps: Update.
18653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18654
11b90b9f
JM
18655 [BZ #13851]
18656 [BZ #13854]
18657 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18658 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18659 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18660 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18661 (__tanl): Set errno for infinite argument.
18662 * sysdeps/i386/fpu/mptan.c: Remove.
18663 * sysdeps/i386/fpu/s_tan.S: Likewise.
18664 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18665 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18666 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18667 * math/libm-test.inc (tan_test): Add more tests and enable more
18668 tests for double and long double.
18669 * sysdeps/i386/fpu/libm-test-ulps: Update.
18670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18671
6a1bd2a1
JK
186722012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18673
18674 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18675 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18676
10a803e0
RM
186772012-03-16 Roland McGrath <roland@hack.frob.com>
18678
18679 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18680 * configure.in: Use it for both main tree and add-ons.
18681 * configure: Regenerated.
18682
f196c7f7
L
186832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18684
18685 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18686
8848d99d
JM
186872012-03-16 Joseph Myers <joseph@codesourcery.com>
18688
96cbe7f4
JM
18689 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18690 in comment.
18691
8848d99d
JM
18692 [BZ #13851]
18693 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18694 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18695 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18696 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18697 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18698 infinite argument.
18699 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18701 != 0 for prec == 2.
18702 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18703 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18704 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18705 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18706 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18707 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18708 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18709 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18710 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18711 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18712 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18713 * math/libm-test.inc (cos_test): Add more tests and enable more
18714 tests for long double.
18715 (sin_test): Likewise.
18716 (sincos_test): Likewise.
18717 * sysdeps/i386/fpu/libm-test-ulps: Update.
18718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18719
dd7f4703
DM
187202012-03-16 David S. Miller <davem@davemloft.net>
18721
18722 * sysdeps/sparc/fpu/math_private.h: New file.
18723
006f1daa
DM
187242012-03-15 David S. Miller <davem@davemloft.net>
18725
c0c83bc8
DM
18726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18727 file.
e6a62e18 18728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18730 file.
e6a62e18
DM
18731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18736 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18737 sysdep routines.
18738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18739
88cb87d9
DM
18740 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18741 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18742
006f1daa 18743 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18745 sparc-ifunc.h
006f1daa 18746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18748 Likewise.
18749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18750 Likewise.
006f1daa
DM
18751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18755 Likewise.
006f1daa
DM
18756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18761 Likewise.
18762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18763 Likewise.
006f1daa
DM
18764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18770 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18771 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18775 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18776 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18777 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18778 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18779 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18780 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18781 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18782 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18783 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18784 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18785 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18786 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18787 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18788
11e0098e
AS
187892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18790
18791 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18792 scaling.
18793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18794
e85b09d0
AJ
187952012-03-15 Andreas Jaeger <aj@suse.de>
18796
18797 [BZ #13852]
18798 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18799 ieee754/flt-32 implementation for sin, cos and sincos.
18800 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18801 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18802 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18803 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18804 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18805 ieee754/flt-32 implementation for tan.
18806
18807 * math/libm-test.inc (cos_test): Enable some large input tests for
18808 float as well
18809 (sin_test): Likewise.
18810 (sincos_test): Likewise.
18811 (tan_test): Add tests for large input.
18812
18813 * sysdeps/i386/fpu/libm-test-ulps: Update.
18814
81c64153
AJ
188152012-03-15 Andreas Jaeger <aj@suse.de>
18816
18817 [BZ #13658]
18818 * math/libm-test.inc (cos_test): Add more test cases.
18819 (sin_test): Likewise.
18820 (sincos_test): Likewise.
18821
7bbfa5c6
AJ
188222012-03-15 Andreas Jaeger <aj@suse.de>
18823
18824 [BZ #13837]
18825 * math/libm-test.inc (cos_test): Add a test case for large input
18826 value.
18827 (sin_test): Likewise.
18828 (sincos_test): Likewise.
18829
188302012-03-15 Andreas Jaeger <aj@suse.de>,
18831 Joseph Myers <joseph@codesourcery.com>
18832
18833 [BZ #13658]
0671f479 18834 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18835 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18836 * sysdeps/i386/fpu/branred.c: Likewise.
18837 * sysdeps/i386/fpu/dosincos.c: Likewise.
18838 * sysdeps/i386/fpu/mpa.c: Likewise.
18839 * sysdeps/i386/fpu/s_cos.S: Likewise.
18840 * sysdeps/i386/fpu/s_sin.S: Likewise.
18841 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18842 * sysdeps/i386/fpu/sincos32.c: Likewise.
18843
18844 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18845 Define.
18846 (libc_feupdateenv_53bit): Define.
18847 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18848 Define.
18849 (libc_feupdateenv_53bit): Define.
18850
18851 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18852 53 bit (without extend i386 double precision).
18853
18854 * math/libm-test.inc (sincos_test): Add tests for large input.
18855 (sin): Likewise.
18856 (cos): Likewise.
18857
18858 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18859
9cad04ea
AS
188602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18861
18862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18863
f7062b9a
DM
188642012-03-15 David S. Miller <davem@davemloft.net>
18865
18866 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18867 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18868 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18869 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18878 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18879 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18882 file.
f7062b9a 18883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
18884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
18885 file.
f7062b9a 18886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
18887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
18888 file.
f7062b9a 18889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
18891 file.
f7062b9a
DM
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
18893 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
18894 fmin/fmax sysdep routines.
18895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18896
7bd951ff
DM
188972012-03-14 David S. Miller <davem@davemloft.net>
18898
559398ab
DM
18899 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
18900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
18901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
18902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
18904 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
18905 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
18906 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
18907 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
18908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
18910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
18912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
18913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
18914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
18915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
18916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
18917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
18920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
18922 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
18923 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
18924 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
18925 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
18926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18927 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
18928 routines.
18929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
18930 file.
559398ab 18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
18933 file.
559398ab 18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
18936 file.
559398ab 18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
18938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
18939 file.
559398ab 18940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
18942 file.
559398ab 18943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
18945 file.
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
18947 file.
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
18949 file.
18950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
18951 file.
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
18953 New file.
18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
18955 file.
18956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
18957 file.
559398ab 18958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
18960 file.
559398ab 18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
18963 file.
559398ab 18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
18966 file.
559398ab 18967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
18969 VIS3 routines.
559398ab
DM
18970
18971 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18972 New file.
18973
5a1c1e32
DM
18974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18975
eae47a36
DM
18976 * sysdeps/sparc/configure.in: New file.
18977 * sysdeps/sparc/configure: Generate.
18978 * configure.in (libc_cv_sparc_as_vis3): Substitute.
18979 * configure: Regenerate.
18980 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
18981 * config.make.in (have-as-vis3): New.
18982 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
18983 available use -Av9d instead of -Av9a.
18984 * sysdeps/sparc/sparc64/Makefile: Likewise.
18985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
18987 New file.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
18989 file.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
18991 New file.
18992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
18993 file.
eae47a36
DM
18994 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
18995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
18996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
18997 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
18998 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
18999
c0c83bc8
DM
19000 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19001 fzeros/fnegs to load 0x80000000 into a float register instead of
19002 using the stack.
7bd951ff
DM
19003 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19004
bd951ccb
JM
190052012-03-14 Joseph Myers <joseph@codesourcery.com>
19006
19007 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19008 bits/syscall.h.
19009 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19010 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19011 ($(inst_includedir)/bits/syscall.h): Remove rule.
19012 ($(objpfx)bits/syscall.d): Include instead of
19013 $(objpfx)syscall-list.d.
19014 (generated): Change syscall-list.h and syscall-list.d to
19015 bits/syscall.h and bits/syscall.d.
19016
bb4e6db2
RM
190172012-03-14 Roland McGrath <roland@hack.frob.com>
19018
19019 [BZ #13846]
19020 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19021
aa4a2ae1
JM
190222012-03-14 Joseph Myers <joseph@codesourcery.com>
19023
e456826d
JM
19024 [BZ #13841]
19025 * math/s_csqrt.c: Include <float.h>.
19026 (__csqrt): Scale large or subnormal inputs.
19027 * math/s_csqrtf.c: Likewise.
19028 * math/s_csqrtl.c: Likewise.
19029 * math/libm-test.inc (csqrt_test): Add more tests.
19030 * sysdeps/i386/fpu/libm-test-ulps: Update.
19031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19032
aa4a2ae1
JM
19033 [BZ #13840]
19034 * math/libm-test.inc (hypot_test): Add more tests.
19035
7c10fd35
DM
190362012-03-13 David S. Miller <davem@davemloft.net>
19037
19038 [BZ #13840]
19039 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19040 double-precision for the calculation instead of scaling.
19041
f453b98b
JM
190422012-03-13 Joseph Myers <joseph@codesourcery.com>
19043
19044 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19045 manipulate bits before adding and subtracting TWO52[sx].
19046 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19048 Likewise.
19049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19050
09a3453f
DM
190512012-03-13 David S. Miller <davem@davemloft.net>
19052
8e59da90
DM
19053 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19054 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19056 rtld-global-offsets.h
19057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19058
2a8ab7f2
DM
19059 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19060 large parameters.
19061
10f62770
DM
19062 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19063
5f0bdb18
DM
19064 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19065 'err' in the ifdef scope in which it is actually used.
19066
09a3453f
DM
19067 * nss/nss_db/db-init.c: Include string.h
19068
b4b2eb5e
DM
190692012-03-12 David S. Miller <davem@davemloft.net>
19070
98bb2f1c
DM
19071 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19072 masking out of the most significant byte of random value used.
19073 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19074 Fix coding style in previous change.
19075
b4b2eb5e
DM
19076 * sysdeps/unix/sysv/linux/kernel-features.h
19077 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19078 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19079 expression.
19080 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19081 later.
19082
6e226b09
DM
190832012-03-11 David S. Miller <davem@davemloft.net>
19084
a1bcbd40
DM
19085 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19086 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19087 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19088 for 'resultvar' otherwise things get truncated on 64-bit.
19089
cb9d6174
DM
19090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19091 Fix masking out of the most significant byte of random value used.
19092
6e226b09
DM
19093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19094
058c132d
AS
190952012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19096
19097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19098
2d2cd515
DM
190992012-03-09 David S. Miller <davem@davemloft.net>
19100
19101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19102 variables with appropriate CPP guards.
19103 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19104 frame pointer, not the stack pointer. Correct layout comments. Fix test
19105 on resulting framesize and the management of the outregs buffer for pltexit.
19106 Preserve floating point return values across _dl_call_pltexit call.
19107 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19108 framesize and the management of the outregs buffer for pltexit.
19109 Preserve floating point return values across _dl_call_pltexit
19110 call.
19111 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19112 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19113 (print_exit): Fix format string for return register value.
19114
9a07f9d0
JM
191152012-03-10 Joseph Myers <joseph@codesourcery.com>
19116
19117 * sunrpc/Makefile (others): Add rpcgen.
19118 ($(objpfx)rpcgen): Remove special build rule and dependency on
19119 libc.
19120 * sunrpc/rpcgen.c: New file.
19121
547b5e30
PE
191222012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19123
c524201a
PE
19124 [BZ #13673]
19125 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19126 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19127 * sysdeps/i386/crti.S: Likewise.
19128 * sysdeps/i386/crtn.S: Likewise.
19129 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19130 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19131 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19132 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19133 * sysdeps/sh/crti.S: Likewise.
19134 * sysdeps/sh/crtn.S: Likewise.
19135 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19136
7b6235f2
PE
19137 [BZ #13673]
19138 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19139 with URL.
19140 * locale/programs/locfile-kw.gperf: Likewise.
19141 * locale/programs/charmap-kw.h: Regenerated.
19142 * locale/programs/locfile-kw.h: Likewise.
19143
547b5e30
PE
19144 [BZ #13673]
19145 * intl/plural.y: Replace FSF snail mail address with URL.
19146 * intl/plural.c: Regenerated.
19147
5f0a5dae
RH
191482012-03-09 Richard Henderson <rth@twiddle.net>
19149
19150 * include/math_private.h: Remove file.
19151 * math/math_private.h: Move file ...
19152 * sysdeps/generic/math_private.h: ... here.
19153
b8c03620
RH
19154 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19155 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19156 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19157
4e234f5d 19158 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19159 and <math_private.h>.
19160 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19161 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19162 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19163 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19164 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19165 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19166 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19168 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19169 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19171 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19172 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19173 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19174 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19175 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19176 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19177 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19178 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19179 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19181 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19182 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19183 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19184 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19185 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19186 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19187 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19189 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19190 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19191 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19192 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19193 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19194 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19195 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19196 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19197 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19198 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19200 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19201 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19202 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19203 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19204 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19205 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19206 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19207 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19208 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19209 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19210 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19211 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19212 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19214 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19215 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19216 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19217 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19218 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19219 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19221 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19222 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19223 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19224 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19225 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19226 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19227 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19228 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19229 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19230 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19231 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19232 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19233 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19234 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19238 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19239 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19240 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19241 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19242 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19243 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19247 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19248 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19249 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19250 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19251 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19253 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19254 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19255 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19256 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19257 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19258 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19259 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19260 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19261 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19262 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19263 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19264 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19265 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19266 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19267 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19268 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19269 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19270 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19271 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19272 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19273 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19274 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19275 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19276 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19277 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19278 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19279 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19280 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19281 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19282 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19283 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19284 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19285 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19286 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19287 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19288 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19289 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19290 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19292 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19293 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19294 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19295 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19296 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19297 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19298 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19299 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19300 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19301 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19302 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19303 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19304 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19306 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19307 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19308 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19309 * sysdeps/ieee754/k_standard.c: Likewise.
19310 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19311 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19312 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19316 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19320 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19321 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19322 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19323 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19324 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19353 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19356 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19359 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19360 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19361 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19362 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19363 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19364 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19365 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19366 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19369 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19372 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19373 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19377 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19378 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19381 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19384 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19385 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19386 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19387 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19392 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19394 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19396 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19397 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19398 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19400 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19401 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19403 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19405 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19406 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19407 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19408 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19409 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19410 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19411 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19412 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19413 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19414 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19417 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19420 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19421 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19422 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19423 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19424 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19425 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19426 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19429 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19430 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19432 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19437 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19438 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19440 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19441 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19442 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19443 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19444 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19446 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19447 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19448 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19449 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19450 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19451 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19453 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19454 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19455 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19456 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19457 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19458 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19459 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19460 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19470 * sysdeps/ieee754/s_lib_version.c: Likewise.
19471 * sysdeps/ieee754/s_matherr.c: Likewise.
19472 * sysdeps/ieee754/s_signgam.c: Likewise.
19473 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19474 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19475 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19476 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19477 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19478 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19479 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19480 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19481 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19482 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19483 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19484 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19485 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19486 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19487 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19488 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19489 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19490 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19491 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19492 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19493 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19494
1991fa03
JM
194952012-03-09 Joseph Myers <joseph@codesourcery.com>
19496
19497 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19498 * sunrpc/rpc_main.c: Likewise.
19499 * sunrpc/rpc_svcout.c: Likewise.
19500
60d6f5a6
DM
195012012-03-09 David S. Miller <davem@davemloft.net>
19502
19503 * include/math_private.h: New file.
19504
4962050e
JM
195052012-03-09 Joseph Myers <joseph@codesourcery.com>
19506
02a6f887
JM
19507 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19508 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19509 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19510 from <bits/socket_type.h>.
19511 (enum __socket_type): Don't define here.
19512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19513 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19514 bits/socket_type.h.
19515
c6e013c1
JM
19516 [BZ #13566]
19517 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19518 checking __USE_GNU.
19519
4962050e
JM
19520 * Makerules ($(inst_includedir)/%.h): New rule.
19521 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19522 (install-others): Remove variable setting.
19523 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19524
38842f45
RH
195252012-03-08 Richard Henderson <rth@twiddle.net>
19526
67bb6da6
RH
19527 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19528 from macro to inline function; merge with the
19529 !__LIBC_INTERNAL_MATH_INLINES version.
19530 (__ieee754_sqrtf): Likewise.
19531
15194b4b
RH
19532 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19533 to inline function.
19534 (__rintf, __floor, __floorf): Likewise.
19535
64e21ede
RH
19536 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19537 macro to inline function.
19538 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19539
38842f45
RH
19540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19541 not <math/math_private.h>.
19542
c64bf5fe
DM
195432012-03-08 David S. Miller <davem@davemloft.net>
19544
19545 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19546 copyright year.
19547 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19548
82d86f28
TS
195492012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19550
19551 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19552 normalization.
19553 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19554 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19555
aea5d727
UD
195562012-03-08 Ulrich Drepper <drepper@gmail.com>
19557
19558 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19559 be defined individually, they must be defined as a block. Define
19560 S for printing a string instead of hidint the different by using a
19561 macro for adding the 'l'.
19562 * stdio-common/tst-fphex-wide.c: Adjust.
19563
70bca0a3
MP
195642012-03-07 Marek Polacek <polacek@redhat.com>
19565
19566 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19567
65b81130
MP
195682012-03-08 Marek Polacek <polacek@redhat.com>
19569
19570 [BZ #13806]
19571 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19572 * stdio-common/tst-fphex.c: Define a few macros to make the
19573 test reusable. Use them.
19574 * stdio-common/tst-fphex-wide.c: New file.
19575
07037eeb
JM
195762012-03-08 Joseph Myers <joseph@codesourcery.com>
19577
a7a93d50
JM
19578 [BZ #6911]
19579 * manual/macros.texi (gnusystems): New macro.
19580 (nongnusystems): Likewise.
19581 (gnulinuxhurdsystems): Likewise.
19582 (gnuhurdsystems): Likewise..
19583 (gnulinuxsystems): Likewise.
19584 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19585 variants of the GNU system, not "GNU system".
19586 * manual/conf.texi: Likewise.
19587 * manual/errno.texi: Likewise. Update example of errno macro
19588 expansion.
19589 * manual/filesys.texi: Likewise.
19590 (getumask): Document as specific to GNU/Hurd.
19591 * manual/install.texi: Likewise. Reword some references to
19592 GNU/Linux.
19593 * manual/intro.texi: Likewise.
19594 * manual/io.texi: Likewise.
19595 (File Name Portability): Detail which constraints are inapplicable
19596 to all GNU systems and which are only inapplicable to GNU/Hurd.
19597 * manual/job.texi: Likewise.
19598 * manual/llio.texi: Likewise.
19599 (O_NOCTTY): Document as present on GNU/Linux.
19600 * manual/maint.texi: Likewise.
19601 * manual/memory.texi: Likewise.
19602 * manual/pattern.texi: Likewise.
19603 * manual/pipe.texi: Likewise.
19604 * manual/process.texi: Likewise.
19605 * manual/resource.texi: Likewise.
19606 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19607 child on GNU/Hurd.
19608 * manual/setjmp.texi: Likewise.
19609 * manual/signal.texi: Likewise.
19610 * manual/startup.texi: Likewise.
19611 * manual/stdio.texi: Likewise.
19612 * manual/terminal.texi: Likewise.
19613 (ONLCR): Document as POSIX.
19614 (OXTABS): Document availability on GNU/Linux as XTABS.
19615 (ONOEOT): Document availability separately from other bits.
19616 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19617 * manual/time.texi: Likewise.
19618 * manual/users.texi: Likewise.
19619 * INSTALL: Regenerated.
19620 * sysdeps/gnu/errlist.c: Regenerated.
19621
07037eeb
JM
19622 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19623 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19624 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19625 puts.
19626 * configure: Regenerated.
19627
d1d3431a
JM
196282012-03-07 Joseph Myers <joseph@codesourcery.com>
19629
af6a1e37
JM
19630 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19631 default includes instead of AC_HEADER_CHECK.
19632 * sysdeps/i386/configure: Regenerated.
19633
d1d3431a
JM
19634 [BZ #10716]
19635 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19636 * math/s_cacoshf.c (__cacoshf): Likewise.
19637 * math/s_cacoshl.c (__cacoshl): Likewise.
19638 * math/s_casinh.c (__casinh): Set signs of result from argument.
19639 * math/s_casinhf.c (__casinhf): Likewise.
19640 * math/s_casinhl.c (__casinhl): Likewise.
19641 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19642 (casinh_test): Add more tests.
19643 * sysdeps/i386/fpu/libm-test-ulps: Update.
19644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19645
482ff4da
UD
196462012-03-07 Ulrich Drepper <drepper@gmail.com>
19647
872fda05
UD
19648 * po/zh_TW.po: Update from translation team.
19649
a4300c7a
UD
19650 * login/Makefile (distribute): Remove variable.
19651 * catgets/Makefile: Likewise.
19652 * mach/Makefile: Likewise.
19653 * malloc/Makefile: Likewise.
19654 * misc/Makefile: Likewise.
19655 * iconv/Makefile: Likewise.
19656 * nscd/Makefile: Likewise.
19657 * hurd/Makefile: Likewise.
19658 * manual/Makefile: Likewise.
19659 * locale/Makefile: Likewise.
19660 * intl/Makefile: Likewise.
19661 * conform/Makefile: Likewise.
19662 * nss/Makefile: Likewise.
19663 * time/Makefile: Likewise.
19664 * soft-fp/Makefile: Likewise.
19665 * dirent/Makefile: Likewise.
19666 * gmon/Makefile: Likewise.
19667 * po/Makefile: Likewise.
19668 * rt/Makefile: Likewise.
19669 * socket/Makefile: Likewise.
19670 * math/Makefile: Likewise.
19671 * signal/Makefile: Likewise.
19672 * debug/Makefile: Likewise.
19673 * elf/Makefile: Likewise.
19674 * timezone/Makefile: Likewise.
19675 * stdlib/Makefile: Likewise.
19676 * iconvdata/Makefile: Likewise.
19677 * sunrpc/Makefile: Likewise.
19678 * io/Makefile: Likewise.
19679 * argp/Makefile: Likewise.
19680 * inet/Makefile: Likewise.
19681 * hesiod/Makefile: Likewise.
19682 * grp/Makefile: Likewise.
19683 * csu/Makefile: Likewise.
19684 * wctype/Makefile: Likewise.
19685 * crypt/Makefile: Likewise.
19686 * libio/Makefile: Likewise.
19687 * string/Makefile: Likewise.
19688 * nis/Makefile: Likewise.
19689 * resolv/Makefile: Likewise.
19690 * stdio-common/Makefile: Likewise.
19691 * wcsmbs/Makefile: Likewise.
19692 * dlfcn/Makefile: Likewise.
19693 * posix/Makefile: Likewise.
19694
3b7c4e74 19695 [BZ #6959]
482ff4da
UD
19696 * timezone/Makefile: Don't install timezone files, just the programs
19697 and scripts.
19698
f72ed77d
UD
196992012-03-06 Ulrich Drepper <drepper@gmail.com>
19700
a000466f
UD
19701 * nss/databases.def: Add missing gshadow entry.
19702
f72ed77d
UD
19703 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19704
a53b7a4e
MP
197052012-03-06 Marek Polacek <polacek@redhat.com>
19706
19707 [BZ #13726]
19708 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19709 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19710 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19711 * stdio-common/tst-long-dbl-fphex.c: New file.
19712
e9258400
DM
197132012-03-06 David S. Miller <davem@davemloft.net>
19714
19715 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19716 (set_obp_int): New function.
19717 (get_obp_int): New function.
19718 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19720 Avoid unused variable warnings on 'val' and use builtin_expect.
19721 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19722 __builtin_expect.
e9258400
DM
19723 (INLINE_CLONE_SYSCALL): Likewise.
19724
3bd2c723
DM
197252012-03-05 David S. Miller <davem@davemloft.net>
19726
19727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19728
bbb78d03
AS
197292012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19730
884c5db4
AS
19731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19732
bbb78d03
AS
19733 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19734 only for |x| >= 40.
19735 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19736
1c9f702a 197372012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19738
19739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19740 Replace gettimeofday with __vdso_gettimeofday.
19741
7be16f82
RM
19742 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19743 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19744 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19745
19746 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19747 time with __vdso_time.
19748
ed58a00f
JM
197492012-03-05 Joseph Myers <joseph@codesourcery.com>
19750
19751 * manual/lang.texi (size_t): Note types to which size_t may be
19752 equivalent with the GNU C Library, but do not describe when
19753 differences between them are significant.
19754
30ee4ced
AJ
197552012-03-05 Andreas Jaeger <aj@suse.de>
19756
19757 * sysdeps/i386/fpu/libm-test-ulps: Update.
19758
b7cd39e8
JM
197592012-03-05 Joseph Myers <joseph@codesourcery.com>
19760
19761 [BZ #3976]
19762 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19763 (__ieee754_pow): Save and restore rounding mode and use
19764 round-to-nearest for main computations.
19765 * math/libm-test.inc (pow_test_tonearest): New function.
19766 (pow_test_towardzero): Likewise.
19767 (pow_test_downward): Likewise.
19768 (pow_test_upward): Likewise.
19769 (main): Call the new functions.
19770 * sysdeps/i386/fpu/libm-test-ulps: Update.
19771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19772
19773 [BZ #3976]
19774 * math/libm-test.inc (cosh_test_tonearest): New function.
19775 (cosh_test_towardzero): Likewise.
19776 (cosh_test_downward): Likewise.
19777 (cosh_test_upward): Likewise.
19778 (sinh_test_tonearest): Likewise.
19779 (sinh_test_towardzero): Likewise.
19780 (sinh_test_downward): Likewise.
19781 (sinh_test_upward): Likewise.
19782 (main): Call the new functions.
19783 * sysdeps/i386/fpu/libm-test-ulps: Update.
19784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19785
6c6a98c9
TV
197862012-03-05 Tom de Vries <tom@codesourcery.com>
19787
19788 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19789 default stack guard is set in last bytes.
19790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19791
21bb2d2e 197922012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19793
21bb2d2e 19794 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19795
21bb2d2e
AJ
19796 [BZ #13656]
19797 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19798 possibly allocate from heap instead of stack.
19799 * stdio-common/bug-vfprintf-nargs.c: New file.
19800 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19801
c6922934
AS
198022012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19803
19804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19805
bc957d53
MP
198062012-03-03 Marek Polacek <polacek@redhat.com>
19807
19808 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19809 * math/math_private.h: Likewise.
19810 * stdlib/tst-strtod.c: Likewise.
19811 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19812 * sysdeps/x86_64/bits/atomic.h: Likewise.
19813
6358490d
DM
198142012-03-02 David S. Miller <davem@davemloft.net>
19815
19816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19820 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19821 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19822 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19823 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19824
01ae168d
RM
198252012-03-02 Roland McGrath <roland@hack.frob.com>
19826
d9a17c07
RM
19827 [BZ #13792]
19828 * manual/examples/README: New file, says the example source files
19829 can be used under GPL>=2.
19830 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19831 line containing just "*/".
19832 * manual/examples/add.c: Add copyright header (GPL>=2).
19833 * manual/examples/argp-ex1.c: Likewise.
19834 * manual/examples/argp-ex2.c: Likewise.
19835 * manual/examples/argp-ex3.c: Likewise.
19836 * manual/examples/argp-ex4.c: Likewise.
19837 * manual/examples/atexit.c: Likewise.
19838 * manual/examples/db.c: Likewise.
19839 * manual/examples/dir.c: Likewise.
19840 * manual/examples/dir2.c: Likewise.
19841 * manual/examples/execinfo.c: Likewise.
19842 * manual/examples/filecli.c: Likewise.
19843 * manual/examples/filesrv.c: Likewise.
19844 * manual/examples/fmtmsgexpl.c: Likewise.
19845 * manual/examples/genpass.c: Likewise.
19846 * manual/examples/inetcli.c: Likewise.
19847 * manual/examples/inetsrv.c: Likewise.
19848 * manual/examples/isockad.c: Likewise.
19849 * manual/examples/longopt.c: Likewise.
19850 * manual/examples/memopen.c: Likewise.
19851 * manual/examples/memstrm.c: Likewise.
19852 * manual/examples/mkfsock.c: Likewise.
19853 * manual/examples/mkisock.c: Likewise.
19854 * manual/examples/mygetpass.c: Likewise.
19855 * manual/examples/pipe.c: Likewise.
19856 * manual/examples/popen.c: Likewise.
19857 * manual/examples/rprintf.c: Likewise.
19858 * manual/examples/search.c: Likewise.
19859 * manual/examples/select.c: Likewise.
19860 * manual/examples/setjmp.c: Likewise.
19861 * manual/examples/sigh1.c: Likewise.
19862 * manual/examples/sigusr.c: Likewise.
19863 * manual/examples/stpcpy.c: Likewise.
19864 * manual/examples/strdupa.c: Likewise.
19865 * manual/examples/strftim.c: Likewise.
19866 * manual/examples/strncat.c: Likewise.
19867 * manual/examples/subopt.c: Likewise.
19868 * manual/examples/swapcontext.c: Likewise.
19869 * manual/examples/termios.c: Likewise.
19870 * manual/examples/testopt.c: Likewise.
19871 * manual/examples/testpass.c: Likewise.
19872 * manual/examples/timeval_subtract.c: Likewise.
19873
01ae168d
RM
19874 [BZ #13792]
19875 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19876 function to ...
19877 * manual/timeval_subtract.c.texi: ... here, new file.
19878
49efa33d
DM
198792012-03-02 David S. Miller <davem@davemloft.net>
19880
19881 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19882
28afd92d
JM
198832012-03-02 Joseph Myers <joseph@codesourcery.com>
19884
804360ed
JM
19885 [BZ #3976]
19886 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
19887 (__sin): Save and restore rounding mode and use round-to-nearest
19888 for all computations.
19889 (__cos): Save and restore rounding mode and use round-to-nearest
19890 for all computations.
19891 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
19892 <fenv.h>.
19893 (tan): Save and restore rounding mode and use round-to-nearest for
19894 all computations.
19895 * math/libm-test.inc (cos_test_tonearest): New function.
19896 (cos_test_towardzero): Likewise.
19897 (cos_test_downward): Likewise.
19898 (cos_test_upward): Likewise.
19899 (sin_test_tonearest): Likewise.
19900 (sin_test_towardzero): Likewise.
19901 (sin_test_downward): Likewise.
19902 (sin_test_upward): Likewise.
19903 (tan_test_tonearest): Likewise.
19904 (tan_test_towardzero): Likewise.
19905 (tan_test_downward): Likewise.
19906 (tan_test_upward): Likewise.
19907 (main): Call the new functions.
19908 * sysdeps/i386/fpu/libm-test-ulps: Update.
19909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19910
a6d06d7b
JM
19911 [BZ #10135]
19912 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
19913 small n, then large n, before computing and testing k+n.
19914 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
19916 Likewise.
19917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
19918 Likewise.
19919 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
19920 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
19921 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
19922 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
19923 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19925 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
19926 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
19927 * math/libm-test.inc (scalbn_test): Add more tests.
19928 (scalbln_test): Likewise.
19929
07e12bb3
JM
19930 * manual/filesys.texi (mode_t): Describe constraints on size and
19931 signedness, not exact equivalence to a particular type.
19932 (ino_t): Likewise.
19933 (ino64_t): Likewise.
19934 (dev_t): Likewise.
19935 (nlink_t): Likewise.
19936 (blkcnt_t): Likewise.
19937 (blkcnt64_t): Likewise.
19938 * manual/llio.texi (off_t): Likewise.
19939
28afd92d
JM
19940 [BZ #3976]
19941 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
19942 (__ieee754_exp): Save and restore rounding mode and use
19943 round-to-nearest for all computations.
19944 * math/libm-test.inc (exp_test_tonearest): New function.
19945 (exp_test_towardzero): Likewise.
19946 (exp_test_downward): Likewise.
19947 (exp_test_upward): Likewise.
19948 (main): Call the new functions.
19949 * sysdeps/i386/fpu/libm-test-ulps: Update.
19950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19951
b1eeb65d
CD
199522012-03-01 Chris Demetriou <cgd@google.com>
19953
19954 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
19955 have predictable order.
19956
53362a4b
DM
199572012-03-01 David S. Miller <davem@davemloft.net>
19958
3c969083
DM
19959 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
19960
759707de
DM
19961 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
19962 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
19963 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
19964 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
19965
dfdb8ff2
DM
19966 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
19967 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
19968 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
19969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
19970 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
19971 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
19972 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
19973 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
19974 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
19975
ead89f96
DM
19976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19977
7f66bd07
DM
19978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
19979 * sysdeps/sparc/fpu/libm-test-ulps: to here.
19980 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
19981
53362a4b
DM
19982 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
19983 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19984 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19985 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
19986 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
19987 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
19988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
19989 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19990 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19991 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
19992 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
19993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19995 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19996 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19997 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19998 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
19999 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20000 * sysdeps/sparc/elf/configure: Regenerated.
20001
7b1902cb
JM
200022012-03-01 Joseph Myers <joseph@codesourcery.com>
20003
bec039bc
JM
20004 * configure.in (AS, LD): Require binutils 2.20 or later.
20005 * configure: Regenerated.
20006 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20007 as required minimum version.
20008 * INSTALL: Regenerated.
20009
7b1902cb
JM
20010 [BZ #2541]
20011 [BZ #4108]
20012 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20013 before squaring exponent.
20014 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20015 bottom long double and 27 bits of top long double before squaring
20016 exponent.
20017 * math/libm-test.inc (erfc_test): Add more tests.
20018 * sysdeps/i386/fpu/libm-test-ulps: Update.
20019 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20021
f775c276
KT
200222012-03-01 Kai Tietz <ktietz@redhat.com>
20023
20024 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20025 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20026 containing bit-fields.
20027 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20028 * soft-fp/single.h (_FP_UNION_S): Likewise.
20029 * soft-fp/double.h (_FP_UNION_D): Likewise.
20030
5b8a4d4a
JM
200312012-02-29 Joseph Myers <joseph@codesourcery.com>
20032
0bab47b6
JM
20033 [BZ #13786]
20034 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20035 not include ../strcmp.S.
20036 [USE_AS_STRNCASECMP_L]: Likewise.
20037 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20038 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20039 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20040 (__strncasecmp_l_ia32): Define as alias to
20041 __strncasecmp_l_nonascii.
20042
0fcad3e2
JM
20043 [BZ #5794]
20044 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20045 * sysdeps/i386/fpu/libm-test-ulps: Update.
20046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20047
5b8a4d4a
JM
20048 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20050
8fdceb2e
JL
200512012-02-29 Jeff Law <law@redhat.com>
20052
20053 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20054 out of bounds read.
20055
1f393a11
MP
200562012-02-29 Marek Polacek <polacek@redhat.com>
20057
20058 [BZ #13706]
20059 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20060 * elf/Makefile: Add rules to run tst-unused-dep.out.
20061
8847f037
DM
200622012-02-28 David S. Miller <davem@davemloft.net>
20063
20064 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20065 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20066 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20067 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20068 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20069 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20070
169d7f11
JM
200712012-02-29 Joseph Myers <joseph@codesourcery.com>
20072
20073 * math/libm-test.inc (llround_test): Move one test from
20074 lround_test. Use TEST_f_L in moved test.
20075 (lround_test): Move misplaced test to llround_test. Add testcase
20076 from bug 2561.
20077
39adf059
UD
200782012-02-28 Ulrich Drepper <drepper@gmail.com>
20079
20080 * sysdeps/x86_64/fpu/e_expf.S: New file.
20081 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20082
71b5d1c5
SB
200832012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20084
20085 [BZ #13637]
20086 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20087 of remain_len that may cause incomplete multi-byte character and
20088 false match.
20089 * posix/bug-regex33.c: New file.
20090 * posix/Makefile (tests): Add bug-regex33.
20091
1f77f049
JM
200922012-02-28 Joseph Myers <joseph@codesourcery.com>
20093
20094 * manual/macros.texi: New file.
20095 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20096 * manual/libc.texinfo: Include macros.texi.
20097 * manual/creatute.texi: Likewise.
20098 * manual/install.texi: Likewise.
20099 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20100 @glibcadj{} in references to the GNU C Library.
20101 * manual/charset.texi: Likewise.
20102 * manual/conf.texi: Likewise.
20103 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20104 when not using those macros.
20105 * manual/creature.texi: Likewise.
20106 * manual/crypt.texi: Likewise.
20107 * manual/errno.texi: Likewise.
20108 * manual/filesys.texi: Likewise.
20109 * manual/header.texi: Likewise.
20110 * manual/install.texi: Likewise.
20111 * manual/intro.texi: Likewise.
20112 * manual/io.texi: Likewise.
20113 * manual/job.texi: Likewise.
20114 * manual/lang.texi: Likewise.
20115 * manual/libc.texiinfo: Likewise.
20116 * manual/llio.texi: Likewise.
20117 * manual/locale.texi: Likewise.
20118 * manual/maint.texi: Likewise.
20119 * manual/math.texi: Likewise.
20120 * manual/memory.texi: Likewise.
20121 * manual/message.texi: Likewise.
20122 * manual/nss.texi: Likewise.
20123 * manual/pattern.texi: Likewise.
20124 * manual/process.texi: Likewise.
20125 * manual/resource.texi: Likewise.
20126 * manual/search.texi: Likewise.
20127 * manual/setjmp.texi: Likewise.
20128 * manual/signal.texi: Likewise.
20129 * manual/socket.texi: Likewise.
20130 * manual/startup.texi: Likewise.
20131 * manual/stdio.texi: Likewise.
20132 * manual/string.texi: Likewise.
20133 * manual/sysinfo.texi: Likewise.
20134 * manual/syslog.texi: Likewise.
20135 * manual/terminal.texi: Likewise.
20136 * manual/time.texi: Likewise.
20137 * manual/users.texi: Likewise.
20138 * INSTALL: Regenerated.
20139 * NOTES: Regenerated.
d40c5d54 20140 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20141
450bf206
AS
201422012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20143
20144 * include/dirent.h: Include <dirstream.h> before
20145 <dirent/dirent.h>.
20146
741a235b
DM
201472012-02-28 David S. Miller <davem@davemloft.net>
20148
20149 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20150 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20151 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20152 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20153
d6b5aa58
DM
201542012-02-27 David S. Miller <davem@davemloft.net>
20155
1aff59a3
DM
20156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20158 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20159 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20160
d6b5aa58
DM
20161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20162 frame pointer instead of stack pointer relative arg slot.
20163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20164 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20165 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20166
433f48bf
CD
201672012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20168
20169 [BZ #3992]
20170 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20171
d674b76d
DM
201722012-02-27 David S. Miller <davem@davemloft.net>
20173
20174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20178 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20179 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20180 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20181 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20182
0e7727f7
JM
201832012-02-27 Joseph Myers <joseph@codesourcery.com>
20184
20185 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20186 later. Allow versions 5-9.
43be4ca2 20187 * configure: Regenerated.
0e7727f7
JM
20188 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20189 required minimum version and 4.6 as recommended version. Do not
20190 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20191 * INSTALL: Regenerated.
0e7727f7 20192
a78bc654
DM
201932012-02-27 David S. Miller <davem@davemloft.net>
20194
428d5830
DM
20195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20199 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20200 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20201 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20202 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20203
a78bc654
DM
20204 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20205 manipulate bits before adding and subtracting TWO112[sx].
20206 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20207
4579f81c
RM
202082012-02-27 Roland McGrath <roland@hack.frob.com>
20209
36c8acb4
RM
20210 [BZ #13775]
20211 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20212 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20213 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20214 being in POSIX, because they are in 1003.1-2008.
20215
84ad622b
RM
20216 * rt/tst-aio.c: Include <fcntl.h>.
20217 * rt/tst-aio7.c: Likewise.
20218 * rt/tst-aio64.c: Likewise.
20219
4579f81c
RM
20220 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20221
abd923db
JM
202222012-02-27 Joseph Myers <joseph@codesourcery.com>
20223
20224 * manual/install.texi (--with-headers): Describe headers as
20225 interface headers, not private headers.
20226 (Specific advice for GNU/Linux systems): Describe use of headers
20227 from "make headers_install", not private headers from older
20228 kernels.
43be4ca2 20229 * INSTALL: Regenerated.
abd923db
JM
20230 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20231 Change to 2.6.19.
20232 * sysdeps/unix/sysv/linux/configure: Regenerated.
20233
6664049b
JM
20234 * manual/llio.texi (fclean): Remove documentation.
20235
bb8b6697
JM
20236 * manual/Makefile (libc-texi-generated): New variable. Include
20237 version.texi.
20238 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20239 $(libc-texi-generated), not duplicated list of files.
20240 (version.texi, stamp-version): New rules.
20241 (realclean): Remove $(libc-texi-generated), not individual files
20242 from that list. Do not remove dir-add.texinfo.
20243 * manual/libc.texinfo: Comment out uses of edition numbers and
20244 references to printed manual. Remove last-updated dates.
20245 (EDITION): Comment out.
20246 (ISBN): Likewise.
20247 (VERSION, UPDATED): Remove.
20248 (version.texi): Include.
20249
12e5c3b9
AS
202502012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20251
20252 * sysdeps/posix/spawni.c: Include <signal.h>.
20253 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20254 * sysdeps/pthread/aio_fsync.c: Likewise.
20255
4efeffc1 202562012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20257
ba63ba08
UD
20258 * conform/Makefile (tests): Run only when not cross-compiling and
20259 when fast-check is not defined.
20260
d94a4670
UD
20261 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20262 * conform/data/limits.h-data: Fixes for POSIX2008.
20263 * conform/run-conformtest.sh: Run all tests.
20264 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20265 headers.
20266 * include/bits/dlfcn.h: Likewise.
20267 * include/langinfo.h: Likewise.
20268 * include/monetary.h: Likewise.
20269 * include/sys/poll.h: Likewise.
20270
20271 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20272 for __USE_GNU.
20273 * posix/spawn.h: Define __need_sigset_t.
20274 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20275 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20276 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20277 to get sigevent_t only.
20278 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20279 only for __USE_GNU.
20280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20281 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20282 process_vm_writev only for __USE_GNU.
20283 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20284
20285 * conform/Makefile: For now ignore errors from run-conformtest.
20286 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20287 POSIX to avoid namespace pollution. Don't prepend headers.
20288 * conform/data/aio.h-data: Fixes for POSIX testing.
20289 * conform/data/fcntl.h-data: Likewise.
20290 * conform/data/glob.h-data: Likewise.
20291 * conform/data/grp.h-data: Likewise.
20292 * conform/data/pthread.h-data: Likewise.
20293 * conform/data/pwd.h-data: Likewise.
20294 * conform/data/signal.h-data: Likewise.
20295 * conform/data/spawn.h-data: Likewise.
20296 * conform/data/stdio.h-data: Likewise.
20297 * conform/data/stdlib.h-data: Likewise.
20298 * conform/data/stropts.h-data: Likewise.
20299 * conform/data/sys/mman.h-data: Likewise.
20300 * conform/data/sys/stat.h-data: Likewise.
20301 * conform/data/sys/types.h-data: Likewise.
20302 * conform/data/sys/wait.h-data: Likewise.
20303 * conform/data/time.h-data: Likewise.
20304 * conform/data/unistd.h-data: Likewise.
20305 * conform/data/utime.h-data: Likewise.
20306
20307 * io/sys/stat.h: fchmod was always in POSIX.
20308 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20309 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20310 * rt/aio.h: Define __need_timespec before including <time.h>.
20311 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20312 struct. Add forward declaration of pthread_attr_t and use it in
20313 sigevent.
20314 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20316 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20317 always remove CLK_TCK definition.
20318
c20105c3
AS
203192012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20320
20321 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20322
7a270350
UD
203232012-02-25 Ulrich Drepper <drepper@gmail.com>
20324
31341567
UD
20325 * conform/run-conformtest.sh: New file.
20326 * conform/Makefile: Run run-conformtest for tests.
20327 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20328 support.
20329
20330 * conform/data/uchar.h-data: New file.
20331 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20332 * conform/data/arpa/inet.h-data: Likewise.
20333 * conform/data/assert.h-data: Likewise.
20334 * conform/data/complex.h-data: Likewise.
20335 * conform/data/cpio.h-data: Likewise.
20336 * conform/data/ctype.h-data: Likewise.
20337 * conform/data/dirent.h-data: Likewise.
20338 * conform/data/dlfcn.h-data: Likewise.
20339 * conform/data/errno.h-data: Likewise.
20340 * conform/data/fcntl.h-data: Likewise.
20341 * conform/data/float.h-data: Likewise.
20342 * conform/data/fmtmsg.h-data: Likewise.
20343 * conform/data/fnmatch.h-data: Likewise.
20344 * conform/data/ftw.h-data: Likewise.
20345 * conform/data/glob.h-data: Likewise.
20346 * conform/data/grp.h-data: Likewise.
20347 * conform/data/iconv.h-data: Likewise.
20348 * conform/data/inttypes.h-data: Likewise.
20349 * conform/data/langinfo.h-data: Likewise.
20350 * conform/data/libgen.h-data: Likewise.
20351 * conform/data/limits.h-data: Likewise.
20352 * conform/data/locale.h-data: Likewise.
20353 * conform/data/math.h-data: Likewise.
20354 * conform/data/monetary.h-data: Likewise.
20355 * conform/data/mqueue.h-data: Likewise.
20356 * conform/data/ndbm.h-data: Likewise.
20357 * conform/data/net/if.h-data: Likewise.
20358 * conform/data/netdb.h-data: Likewise.
20359 * conform/data/netinet/in.h-data: Likewise.
20360 * conform/data/nl_types.h-data: Likewise.
20361 * conform/data/poll.h-data: Likewise.
20362 * conform/data/pthread.h-data: Likewise.
20363 * conform/data/pwd.h-data: Likewise.
20364 * conform/data/regex.h-data: Likewise.
20365 * conform/data/sched.h-data: Likewise.
20366 * conform/data/search.h-data: Likewise.
20367 * conform/data/semaphore.h-data: Likewise.
20368 * conform/data/setjmp.h-data: Likewise.
20369 * conform/data/signal.h-data: Likewise.
20370 * conform/data/spawn.h-data: Likewise.
20371 * conform/data/stdarg.h-data: Likewise.
20372 * conform/data/stdio.h-data: Likewise.
20373 * conform/data/stdlib.h-data: Likewise.
20374 * conform/data/string.h-data: Likewise.
20375 * conform/data/strings.h-data: Likewise.
20376 * conform/data/stropts.h-data: Likewise.
20377 * conform/data/sys/ipc.h-data: Likewise.
20378 * conform/data/sys/mman.h-data: Likewise.
20379 * conform/data/sys/msg.h-data: Likewise.
20380 * conform/data/sys/resource.h-data: Likewise.
20381 * conform/data/sys/select.h-data: Likewise.
20382 * conform/data/sys/sem.h-data: Likewise.
20383 * conform/data/sys/shm.h-data: Likewise.
20384 * conform/data/sys/socket.h-data: Likewise.
20385 * conform/data/sys/stat.h-data: Likewise.
20386 * conform/data/sys/statvfs.h-data: Likewise.
20387 * conform/data/sys/time.h-data: Likewise.
20388 * conform/data/sys/timeb.h-data: Likewise.
20389 * conform/data/sys/times.h-data: Likewise.
20390 * conform/data/sys/types.h-data: Likewise.
20391 * conform/data/sys/uio.h-data: Likewise.
20392 * conform/data/sys/un.h-data: Likewise.
20393 * conform/data/sys/utsname.h-data: Likewise.
20394 * conform/data/sys/wait.h-data: Likewise.
20395 * conform/data/syslog.h-data: Likewise.
20396 * conform/data/tar.h-data: Likewise.
20397 * conform/data/termios.h-data: Likewise.
20398 * conform/data/utime.h-data: Likewise.
20399 * conform/data/utmpx.h-data: Likewise.
20400 * conform/data/varargs.h-data: Likewise.
20401 * conform/data/wchar.h-data: Likewise.
20402 * conform/data/wctype.h-data: Likewise.
20403 * conform/data/wordexp.h-data: Likewise.
20404
20405 * include/stropts.h: New file.
20406 * include/uchar.h: New file.
20407 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20408 * include/assert.h: Likewise.
20409 * include/ctype.h: Likewise.
20410 * include/dirent.h: Likewise.
20411 * include/dlfcn.h: Likewise.
20412 * include/fcntl.h: Likewise.
20413 * include/fnmatch.h: Likewise.
20414 * include/glob.h: Likewise.
20415 * include/grp.h: Likewise.
20416 * include/libio.h: Likewise.
20417 * include/locale.h: Likewise.
20418 * include/math.h: Likewise.
20419 * include/net/if.h: Likewise.
20420 * include/netdb.h: Likewise.
20421 * include/netinet/in.h: Likewise.
20422 * include/pthread.h: Likewise.
20423 * include/pwd.h: Likewise.
20424 * include/regex.h: Likewise.
20425 * include/sched.h: Likewise.
20426 * include/search.h: Likewise.
20427 * include/setjmp.h: Likewise.
20428 * include/signal.h: Likewise.
20429 * include/stdio.h: Likewise.
20430 * include/stdlib.h: Likewise.
20431 * include/string.h: Likewise.
20432 * include/sys/cdefs.h: Likewise.
20433 * include/sys/mman.h: Likewise.
20434 * include/sys/msg.h: Likewise.
20435 * include/sys/resource.h: Likewise.
20436 * include/sys/select.h: Likewise.
20437 * include/sys/socket.h: Likewise.
20438 * include/sys/stat.h: Likewise.
20439 * include/sys/statvfs.h: Likewise.
20440 * include/sys/time.h: Likewise.
20441 * include/sys/times.h: Likewise.
20442 * include/sys/uio.h: Likewise.
20443 * include/sys/utsname.h: Likewise.
20444 * include/sys/wait.h: Likewise.
20445 * include/termios.h: Likewise.
20446 * include/time.h: Likewise.
20447 * include/ulimit.h: Likewise.
20448 * include/unistd.h: Likewise.
20449 * include/utime.h: Likewise.
20450 * include/wchar.h: Likewise.
20451 * include/wctype.h: Likewise.
20452 * include/wordexp.h: Likewise.
20453
20454 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20455
7a270350
UD
20456 * time/time.h: TIME_UTC must be a macro.
20457 Make timespec_get available for ISO C11 only as well.
20458
7724defc
UD
204592012-02-24 Ulrich Drepper <drepper@gmail.com>
20460
20461 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20462 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20463
6b1d1d46
JM
204642012-02-24 Joseph Myers <joseph@codesourcery.com>
20465
20466 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20467
0f8bbd69
JM
204682012-02-24 Joseph Myers <joseph@codesourcery.com>
20469
20470 * manual/texinfo.tex: Update to version 2012-01-19.16.
20471
66ab80bc
JM
204722012-02-24 Joseph Myers <joseph@codesourcery.com>
20473
20474 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20475
74981cc5
RM
204762012-02-24 Roland McGrath <roland@hack.frob.com>
20477
ee968201
RM
20478 [BZ #13738]
20479 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20480 * manual/fdl-1.3.texi: New file.
20481 * manual/fdl-1.1.texi: File removed.
20482
74981cc5
RM
20483 [BZ #13738]
20484 * manual/libc.texinfo (FDL_VERSION): New @set.
20485 Use it for mention of FDL in cover text.
20486 (Documentation License): Use it in @include file name.
20487
7bb764bc
JM
204882012-02-22 Joseph Myers <joseph@codesourcery.com>
20489 Roland McGrath <roland@hack.frob.com>
20490
20491 [BZ #5461]
20492 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20493 not LONG_LONG_MAX and LONG_LONG_MIN.
20494 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20495 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20496 name.
20497 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20498
6cbeae47
JM
204992012-02-22 Joseph Myers <joseph@codesourcery.com>
20500
20501 [BZ #2547]
20502 [BZ #11365]
20503 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20504 manipulate bits before adding and subtracting TWO23[sx].
20505 * math/libm-test.inc (nearbyint_test): Add more tests.
20506
fe45ce09
JM
205072012-02-22 Joseph Myers <joseph@codesourcery.com>
20508
20509 [BZ #2548]
20510 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20511 bits before adding and subtracting TWO23[sx].
20512 * math/libm-test.inc (rint_test): Add more tests.
20513 (rint_test_tonearest): Likewise.
20514 (rint_test_towardzero): Likewise.
20515 (rint_test_downward): Likewise.
20516 (rint_test_upward: Likewise.
20517
ff3b3d82
JM
205182012-02-22 Joseph Myers <joseph@codesourcery.com>
20519
20520 [BZ #10110]
20521 * include/stdc-predef.h: New file. Extracted from features.h.
20522 * include/features.h: Include stdc-predef.h.
20523 * Makefile (headers): Add stdc-predef.h.
20524 * CONFORMANCE (Compiler limitations): Update.
20525
ef0aab35
JM
205262012-02-22 Joseph Myers <joseph@codesourcery.com>
20527
20528 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20529
58639409
DM
205302012-02-21 David S. Miller <davem@davemloft.net>
20531
20532 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20533 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20534
c0e70b25
DM
205352012-02-20 David S. Miller <davem@davemloft.net>
20536
20537 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20538 using a normal save/restore sequence, rather than allocating a
20539 dummy stack frame just to store a frame pointer and restore.
20540 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20541
fb06851d
JM
205422012-02-21 Joseph Myers <joseph@codesourcery.com>
20543
20544 * manual/install.texi: Fix stray word in line-wrapped comment.
20545
7a8b71c3
DM
205462012-02-20 David S. Miller <davem@davemloft.net>
20547
d510c123
DM
20548 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20549 both binutils and gcc support GOTDATA.
20550
0722d7c2
DM
20551 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20552 "rd %pc" in the PIC register setup sequences.
20553
3d2b3019
DM
20554 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20555 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20556 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20557 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20558 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20559 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20560 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20561 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20563 (SYSCALL_ERROR_HANDLER): Likewise.
20564 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20565 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20566 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20567 (SYSCALL_ERROR_HANDLER): Likewise.
20568
c80098a9
DM
20569 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20570 (HAVE_GCC_GOTDATA): New.
20571 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20572 relocation support in both binutils and gcc.
20573 * sysdeps/sparc/elf/configure: Regenerate.
20574
3a2545a0
DM
20575 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20576 * sysdeps/sparc/sparc32/elf/configure: Delete.
20577 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20578 * sysdeps/sparc/sparc64/elf/configure: Delete.
20579 * sysdeps/sparc/elf/configure.in: New file.
20580 * sysdeps/sparc/elf/configure: Generate.
20581
7a8b71c3
DM
20582 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20583 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20584 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20585 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20586 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20587
f1e86fca
JM
205882012-02-21 Joseph Myers <joseph@codesourcery.com>
20589
20590 * manual/install.texi: Do not mention specific glibc version
20591 numbers.
20592 * manual/libc.texinfo (VERSION, UPDATED): Update.
20593 (@copying): Use @copyright{} and range of years.
20594
0e7dfaef
JM
205952012-02-21 Joseph Myers <joseph@codesourcery.com>
20596
20597 [BZ #13695]
20598 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20599 [crti.S not in sysdirs] (generated): Do not append.
20600 [crti.S not in sysdirs] (omit-deps): Likewise.
20601 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20602 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20603 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20604 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20605 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20606 Likewise.
20607 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20608 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20609 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20610 * csu/defs.awk: Remove file.
20611 * sysdeps/generic/initfini.c: Likewise.
20612 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20613 variable.
20614 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20615 Likewise.
20616
599af3ca
JM
206172012-02-20 Joseph Myers <joseph@codesourcery.com>
20618
20619 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20620 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20621 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20622 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20623 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20624 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20625 <bits/epoll.h>.
20626 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20627 (__EPOLL_PACKED): Define to empty if not defined by
20628 <bits/epoll.h>.
20629 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20631 bits/epoll.h.
20632
0e499750
JM
206332012-02-20 Joseph Myers <joseph@codesourcery.com>
20634
20635 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20636 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20637 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20638 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20639 <bits/timerfd.h>.
20640 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20642 bits/timerfd.h.
20643
5ad91f6e
JM
206442012-02-20 Joseph Myers <joseph@codesourcery.com>
20645
20646 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20647 in C locale.
20648 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20649 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20650 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20652
06b99b02
AJ
206532012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20654
20655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20656 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20657
7638c0fd
AS
206582012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20659
20660 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20661 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20662 defined.
20663 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20664 Likewise.
20665 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20666 entry for 2.16.
20667
92221550
AJ
206682012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20669
20670 * math/w_acos.c: Use non-signaling floating-point comparisons.
20671 * math/w_acosf.c: Likewise.
20672 * math/w_acosh.c: Likewise.
20673 * math/w_acoshf.c: Likewise.
20674 * math/w_acoshl.c: Likewise.
20675 * math/w_acosl.c: Likewise.
20676 * math/w_asin.c: Likewise.
20677 * math/w_asinf.c: Likewise.
20678 * math/w_asinl.c: Likewise.
20679 * math/w_atanh.c: Likewise.
20680 * math/w_atanhf.c: Likewise.
20681 * math/w_atanhl.c: Likewise.
20682 * math/w_exp2.c: Likewise.
20683 * math/w_exp2f.c: Likewise.
20684 * math/w_exp2l.c: Likewise.
20685 * math/w_j0.c: Likewise.
20686 * math/w_j0f.c: Likewise.
20687 * math/w_j0l.c: Likewise.
20688 * math/w_j1.c: Likewise.
20689 * math/w_j1f.c: Likewise.
20690 * math/w_j1l.c: Likewise.
20691 * math/w_jn.c: Likewise.
20692 * math/w_jnf.c: Likewise.
20693 * math/w_log.c: Likewise.
20694 * math/w_log10.c: Likewise.
20695 * math/w_log10f.c: Likewise.
20696 * math/w_log10l.c: Likewise.
20697 * math/w_log2.c: Likewise.
20698 * math/w_log2f.c: Likewise.
20699 * math/w_log2l.c: Likewise.
20700 * math/w_logf.c: Likewise.
20701 * math/w_logl.c: Likewise.
20702 * math/w_sqrt.c: Likewise.
20703 * math/w_sqrtf.c: Likewise.
20704 * math/w_sqrtl.c: Likewise.
20705 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20706 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20707 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20708 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20709 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20710
ebaf36eb
JM
207112012-02-19 Joseph Myers <joseph@codesourcery.com>
20712
20713 [BZ #9739]
20714 * manual/string.texi (strnlen): Use correct parameter name in
20715 equivalent expression.
20716
71c254a6
JM
207172012-02-19 Joseph Myers <joseph@codesourcery.com>
20718
20719 [BZ #11174]
20720 * manual/users.texi (seteuid): Consistently use neweuid for
20721 argument name.
20722
16d2c631
JM
207232012-02-19 Joseph Myers <joseph@codesourcery.com>
20724
20725 [BZ #13704]
20726 * manual/nss.texi (Services in the NSS configuration): Correct
20727 list of services in example configuration file.
20728
cd837b09
NB
207292012-02-19 Nick Bowler <nbowler@draconx.ca>
20730
20731 [BZ #11322]
20732 * manual/arith.texi: Remove statements about negative zero
20733 behaving identically to zero.
20734
02c4bbad
JM
207352012-02-18 Joseph Myers <joseph@codesourcery.com>
20736
20737 [BZ #5993]
20738 * manual/install.texi: Do not document upgrading from libc5.
20739
366842e7
JM
207402012-02-18 Joseph Myers <joseph@codesourcery.com>
20741
20742 [BZ #4596]
20743 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20744
dd54084d
DM
207452012-02-18 David S. Miller <davem@davemloft.net>
20746
20747 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20748 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20749 %o7 across the call.
20750 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20751 instead.
20752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20753 SETUP_PIC_REG_LEAF.
20754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20755 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20756 * sysdeps/sparc/crtn.S: Likewise.
20757
2bcc53a3
UD
207582012-02-17 Ulrich Drepper <drepper@gmail.com>
20759
20760 * aout/Makefile: Remove.
20761
09c093b5
RK
207622012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20763
20764 [BZ #13058]
20765 * manual/examples/argp-ex1.c (main): Format definition in GNU
20766 style.
20767 * manual/examples/argp-ex2.c (main): Likewise.
20768 * manual/examples/argp-ex3.c (main): Likewise.
20769 * manual/examples/argp-ex4.c (main): Likewise.
20770 * manual/examples/longopt.c (main): Use new-style prototype
20771 definition.
20772 * manual/examples/strncat.c (main): Specify return type and use
20773 (void) for arguments.
20774 * manual/examples/subopt.c (main): Use char **argv argument.
20775
2ee633a2
JM
207762012-02-17 Joseph Myers <joseph@codesourcery.com>
20777
20778 [BZ #5077]
20779 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20780 rounding modes.
20781
0520adde
FB
207822012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20783
20784 [BZ #6907]
20785 * manual/string.texi (strchr): Change when strchrnul is
20786 recommended.
20787
3f4081cd
DGM
207882012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20789
20790 [BZ #174]
20791 * manual/locale.texi (setlocale): Document LOCPATH.
20792
d1b10e78
JM
207932012-02-17 Joseph Myers <joseph@codesourcery.com>
20794
20795 [BZ #10210]
20796 * manual/process.texi (execle): Move @dots{} before last argument.
20797
79c6869c
PB
207982012-02-17 Paul Bolle <pebolle@tiscali.nl>
20799
20800 [BZ #12047]
20801 * manual/charset.texi (Generic Charset Conversion): Fix typo
20802 (LC_TYPE -> LC_CTYPE).
20803
cc6e48bc
NB
208042012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20805
20806 [BZ #5805]
20807 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20808 (scalbnf): Likewise.
20809 (scalbnl): Likewise.
20810 (scalbln): Likewise.
20811 (scalblnf): Likewise.
20812 (scalblnl): Likewise.
20813 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20814 (vwarnx): Likewise.
20815 (verr): Likewise.
20816 (verrx): Likewise.
20817 * manual/filesys.texi (telldir): Use braces around return type.
20818 * manual/llio.texi (mmap): Add space after comma.
20819 (mmap64): Likewise.
20820 * manual/math.texi (jn): Use @var{} on parameter names.
20821 (jnf): Likewise.
20822 (jnl): Likewise.
20823 (yn): Likewise.
20824 (ynf): Likewise.
20825 (ynl): Likewise.
20826 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20827 line.
20828 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20829 "...".
20830 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20831 (sched_get_priority_max): Likewise.
20832 * manual/signal.texi (sigvec): Add space after comma.
20833 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20834 names.
20835 (if_indextoname): Likewise.
20836 (if_freenameindex): Likewise.
20837 (sendto): Use ',' instead of '.' in prototype.
20838 * manual/startup.texi (syscall): Use @dots{} instead of literal
20839 "...".
20840 * manual/stdio.texi (__fpending): Separate initial words of
20841 paragraph from @deftypefun line.
20842 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20843 "...".
20844 (vsyslog): Use @var{} on parameter names.
20845 * manual/terminal.texi (stty): Use @var{} on parameter names.
20846 * manual/users.texi (getutmp): Use @var{} on parameter names.
20847 (getutmpx): Likewise.
20848
5b23062f
JM
208492012-02-17 Joseph Myers <joseph@codesourcery.com>
20850
20851 [BZ #6884]
20852 * manual/stdio.texi (fopen): Fix typos in description of
20853 ",ccs=STRING".
20854
8dee4833
AJ
208552012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20856
20857 [BZ #4026]
20858 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20859 get clock_id definition.
20860
9078ce93
TS
208612012-02-17 Thomas Schwinge <thomas@schwinge.name>
20862
20863 [BZ #4822]
20864 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20865 (madvise): Cast every argument to void on its own.
20866
3835c55f
JM
208672012-02-17 Joseph Myers <joseph@codesourcery.com>
20868
20869 [BZ #9902]
20870 * manual/startup.texi (Exit Status): Fix typo.
20871
35c47e37
JM
208722012-02-17 Joseph Myers <joseph@codesourcery.com>
20873
20874 [BZ #10140]
20875 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20876 * manual/examples/argp-ex2.c: Likewise.
20877 * manual/examples/argp-ex3.c: Likewise.
20878
e3b69ca7
RH
208792012-02-16 Richard Henderson <rth@redhat.com>
20880
20881 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20882 * sysdeps/s390/s390-32/initfini.c: Remove.
20883 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
20884 * sysdeps/s390/s390-64/initfini.c: Remove.
20885
df83af67
KK
208862012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20887
20888 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
20889 compiler output for sysdeps/generic/initfini.c.
20890 * sysdeps/sh/elf/initfini.c: Remove file.
20891
f63f3380
DM
208922012-02-16 David S. Miller <davem@davemloft.net>
20893
fb59b3a4
DM
20894 [BZ #11494]
20895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
20896
f63f3380
DM
20897 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
20898 * sysdeps/sparc/crti.S: New file.
20899 * sysdeps/sparc/crtn.S: New file.
20900 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
20901 * sysdeps/sparc/sparc64/Makefile: Likewise.
20902
df6a4a4a
MF
209032012-02-15 Mike Frysinger <vapier@gentoo.org>
20904
6dd8f3dc 20905 [BZ #3335]
df6a4a4a
MF
20906 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
20907
1cac7236
RM
209082012-02-15 Roland McGrath <roland@hack.frob.com>
20909
d2c736f8
RM
20910 [BZ #4822]
20911 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
20912
1cac7236
RM
20913 * mach/devstream.c (cookie_io_functions_t): Macro removed.
20914 (write, read, close): Likewise.
20915 Patch by Aurelien Jarno <aurelien@aurel32.net>.
20916
8e475601
JM
209172012-02-15 Joseph Myers <joseph@codesourcery.com>
20918
20919 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
20920 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
20921 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
20922 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
20923 <bits/signalfd.h>.
20924 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
20925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20926 bits/signalfd.h.
20927
ed656b40
MP
209282012-02-14 Marek Polacek <polacek@redhat.com>
20929
20930 * sysdeps/x86_64/crti.S: New file.
20931 * sysdeps/x86_64/crtn.S: New file.
20932 * sysdeps/x86_64/elf/initfini.c: Remove file.
20933
2a979d3a
JM
209342012-02-13 Joseph Myers <joseph@codesourcery.com>
20935
20936 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
20937 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
20938 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
20939 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
20940 <bits/inotify.h>.
20941 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
20942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20943 bits/inotify.h.
20944
2a418ac3
JM
209452012-02-13 Joseph Myers <joseph@codesourcery.com>
20946
20947 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
20948 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
20949 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
20950 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
20951 <bits/eventfd.h>.
20952 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
20953 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20954 bits/eventfd.h.
20955
fb779be7
TS
209562012-02-10 Thomas Schwinge <thomas@codesourcery.com>
20957
e19e83c5
RM
20958 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
20959 __feraiseexcept instead of feraiseexcept.
7c35ffed 20960
fb779be7
TS
20961 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
20962 nanosleep invocations.
20963 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
20964 strings, and add error checking for a nanosleep invocations.
20965
59ba27a6
PE
209662012-02-09 Paul Eggert <eggert@cs.ucla.edu>
20967
20968 Replace FSF snail mail address with URLs, as per GNU coding standards.
20969 Most of the snail mail addresses were wrong anyway, and omitting
20970 them makes the source code easier to maintain. Almost all of the
20971 changes are to license notices and to locale LC_IDENTIFICATION
20972 addresses, except for this one:
20973 * manual/libc.texinfo: In "Published by", give the FSF's URL,
20974 not its snail mail address.
20975
57b957eb
RH
209762012-02-09 Richard Henderson <rth@twiddle.net>
20977
af850b1c
RH
20978 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
20979 of kernel-features.h.
20980
57b957eb
RH
20981 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
20982
6b73181a
MP
209832012-02-08 Marek Polacek <polacek@redhat.com>
20984
20985 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
20986 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
20987 * sysdeps/gnu/_G_config.h: Likewise.
20988 * sysdeps/generic/_G_config.h: Likewise.
20989
26ecc33a
AS
209902012-02-08 Andreas Schwab <schwab@linux-m68k.org>
20991
6c6dbc63
AS
20992 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
20993 tests.
20994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20995
e216c012
AS
20996 * sysdeps/powerpc/powerpc32/crti.S: New file.
20997 * sysdeps/powerpc/powerpc32/crtn.S: New file.
20998 * sysdeps/powerpc/powerpc64/crti.S: New file.
20999 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21000
26ecc33a
AS
21001 * Makeconfig (have-initfini): Don't set.
21002 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21003 * configure.in (nopic_initfini): Don't substitute.
21004 * config.h.in (HAVE_INITFINI): Don't #undef.
21005 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21006 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21007
3add8e13
JM
210082012-02-08 Joseph Myers <joseph@codesourcery.com>
21009
21010 Support crti.S and crtn.S provided directly by architectures.
21011 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21012 [crti.S in sysdirs] (omit-deps): Likewise.
21013 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21014 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21015 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21016 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21017 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21018 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21019 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21020 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21021 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21022 compiler output for sysdeps/generic/initfini.c.
21023 * sysdeps/i386/elf/Makefile: Remove file.
21024 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21025
a22f12b4
MP
210262012-02-07 Marek Polacek <polacek@redhat.com>
21027
21028 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21029 * sysdeps/gnu/_G_config.h: Likewise.
21030 * sysdeps/mach/hurd/_G_config.h: Likewise.
21031
148cf100
MP
210322012-02-07 Marek Polacek <polacek@redhat.com>
21033
21034 * math/Makefile (tests): Add tst-CMPLX2.
21035 * math/tst-CMPLX2.c: New file.
21036
cfdc0dd7
AS
210372012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21038
84ba42c4
AS
21039 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21040
cfdc0dd7
AS
21041 * math/libm-test.inc (jn_test): Add missing L suffix.
21042
622c86f4
MP
210432012-02-06 Marek Polacek <polacek@redhat.com>
21044
21045 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21046 * sysdeps/i386/fpu/e_powf.S: Likewise.
21047 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21048 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21049 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21050 * sysdeps/i386/fpu/e_pow.S: Likewise.
21051 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21052 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21053 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21054 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21055 * sysdeps/i386/fpu/e_log2.S: Likewise.
21056 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21057 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21058 * sysdeps/i386/fpu/e_powl.S: Likewise.
21059 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21060 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21061 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21062 * sysdeps/i386/fpu/e_logl.S: Likewise.
21063 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21064 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21065 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21066 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21067 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21068 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21069 * sysdeps/i386/fpu/e_log.S: Likewise.
21070 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21071 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21072 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21073 * sysdeps/i386/fpu/e_logf.S: Likewise.
21074 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21075 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21076 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21077 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21078 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21079 * sysdeps/i386/fpu/e_log10.S: Likewise.
21080 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21081 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21082 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21083 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21084 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21085 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21086 * sysdeps/i386/asm-syntax.h: Likewise.
21087 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21088 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21089 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21090 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21091 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21092 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21093 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21094 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21096 * sysdeps/powerpc/sysdep.h: Likewise.
21097 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21098 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21099
d4a54ac6
JM
211002012-02-06 Joseph Myers <joseph@codesourcery.com>
21101
21102 [BZ #411]
21103 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21104
314054ea
JM
211052012-02-06 Joseph Myers <joseph@codesourcery.com>
21106
21107 * sysdeps/i386/sysdep.h: Include <features.h>.
21108 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21109 version.
21110
d8e0ca50
JM
211112012-02-05 Joseph Myers <joseph@codesourcery.com>
21112
21113 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21114 Define.
21115 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21116 LOAD_PIC_REG_STR.
21117
b1da7dd9
JM
211182012-02-03 Joseph Myers <joseph@codesourcery.com>
21119
21120 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21121 (SETUP_PIC_REG): Use GET_PC_THUNK.
21122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21123 macro.
21124
9a1d9254
JM
211252012-02-03 Joseph Myers <joseph@codesourcery.com>
21126
21127 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21128 for non-PIC compilation.
21129 (SETUP_PIC_REG): Add .p2align directive.
21130 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21131 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21132 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21133 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21134 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21135 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21136 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21137 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21138 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21139 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21140 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21141 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21142 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21143 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21144 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21145 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21146 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21147 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21148 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21149 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21150 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21151 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21152 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21153 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21154 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21155 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21156 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21157 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21158 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21159 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21160 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21161 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21162 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21163 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21164 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21165 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21166 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21167 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21168 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21169 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21170 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21171
65dc3b75
JM
211722012-02-03 Joseph Myers <joseph@codesourcery.com>
21173
21174 * math/tst-CMPLX.c: Include <stdio.h>.
21175
d55bf177
JM
211762012-01-31 Joseph Myers <joseph@codesourcery.com>
21177
21178 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21179 float.
21180 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21181 * sysdeps/sparc/bits/mathdef.h: Likewise.
21182
69db4f8f
MP
211832012-01-31 Marek Polacek <polacek@redhat.com>
21184
21185 * libio/libio.h: Don't define _PARAMS.
21186 * locale/programs/config.h: Don't define PARAMS.
21187 * stdlib/strtol_l.c: Likewise.
21188 (__strtol_l): Remove PARAMS from the prototype.
21189
41b81892
UD
211902012-01-31 Ulrich Drepper <drepper@gmail.com>
21191
3b49edc0
UD
21192 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21193 names. Just use the correct names. Remove unnecessary wrapper
21194 functions.
21195 * malloc/arena.c: Likewise.
21196 * malloc/hooks.c: Likewise.
21197
41b81892
UD
21198 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21199 ARENA_TEST says not to. Simplify test for creation of a new arena.
21200 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21201
27a25b6e
UD
212022012-01-30 Ulrich Drepper <drepper@gmail.com>
21203
21204 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21205 into tail calls.
21206 (update_get_addr): New function.
21207 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21208 GET_ADDR_MODULE parameter.
21209
c8a89e7d
JM
212102012-01-30 Joseph Myers <joseph@codesourcery.com>
21211
21212 * crypt/cert.c: Remove __STDC__ conditionals.
21213 * crypt/crypt-entry.c: Likewise.
21214 * crypt/crypt_util.c: Likewise.
21215 * libio/filedoalloc.c: Likewise.
21216 * libio/fileops.c: Likewise.
21217 * libio/genops.c: Likewise.
21218 * libio/iofclose.c: Likewise.
21219 * libio/iofdopen.c: Likewise.
21220 * libio/iofopen.c: Likewise.
21221 * libio/iofopen64.c: Likewise.
21222 * libio/iogetdelim.c: Likewise.
21223 * libio/iopopen.c: Likewise.
21224 * libio/obprintf.c: Likewise.
21225 * libio/oldfileops.c: Likewise.
21226 * libio/oldiofclose.c: Likewise.
21227 * libio/oldiofdopen.c: Likewise.
21228 * libio/oldiofopen.c: Likewise.
21229 * libio/oldiopopen.c: Likewise.
21230 * libio/wfiledoalloc.c: Likewise.
21231 * libio/wgenops.c: Likewise.
21232 * locale/programs/xmalloc.c: Likewise.
21233 * misc/syslog.c: Likewise.
21234 * stdio-common/xbug.c: Likewise.
21235 * string/memchr.c: Likewise.
21236 * string/memcmp.c: Likewise.
21237 * string/memrchr.c: Likewise.
21238 * string/rawmemchr.c: Likewise.
21239 * sysdeps/posix/getcwd.c: Likewise.
21240 * time/strftime_l.c: Likewise.
21241
3b100462
JM
212422012-01-30 Joseph Myers <joseph@codesourcery.com>
21243
21244 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21245 * config.make.in (config-cflags-sse2avx): Define.
21246 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21247 Fix typo.
21248
607998af
CM
212492012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21250
21251 * scripts/config.guess: Update from upstream config git repository.
21252 * scripts/config.sub: Likewise.
21253
3601428f
CM
212542012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21255
3ac8b282
CM
21256 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21257 (EM_NUM): Update.
21258 (R_TILEPRO_*, R_TILEGX_*): New macros.
21259
e034841e
CM
21260 * scripts/firstversions.awk: Fix bug in version range handling.
21261
540d7568
CM
21262 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21263
3601428f
CM
21264 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21265
463de862
CM
21266 * include/sys/epoll.h: New file.
21267 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21268 libc_hidden_def.
21269
73139a76
UD
212702012-01-28 Ulrich Drepper <drepper@gmail.com>
21271
96bc5b45
UD
21272 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21273 Avoid unnecessary __WORDSIZE == 64 test.
21274 (fmaxf): Use VEX format if possible.
21275 (fmax): Likewise.
21276 (fminf): Likewise.
21277 (fmin): Likewise.
21278
56f6f6a2
UD
21279 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21280 * math/math_private.h: Remove libc_fegetround* and
21281 libc_fesetround*.
21282 * sysdeps/i386/configure.in: Check for -msse2avx.
21283 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21284 also if SSE2AVX is defined.
21285 Remove libc_fegetround* and libc_fesetround*.
21286 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21287 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21288 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21289 of HAS_YMM_USABLE.
21290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21295
73139a76
UD
21296 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21297
d73f93a4
AZ
212982012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21299
21300 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21301 size is not set.
21302 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21303
6ee65ed6
UD
213042012-01-27 Ulrich Drepper <drepper@gmail.com>
21305
21306 [BZ #13618]
21307 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21308 relocation.
21309 * Makeconfig (libm): Define.
21310 * elf/Makefile: Add rules to build and run tst-relsort1.
21311 * elf/tst-relsort1.c: New file.
21312 * elf/tst-relsort1mod1.c: New file.
21313 * elf/tst-relsort1mod2.c: New file.
21314
8db21882
JM
213152012-01-27 Joseph Myers <joseph@codesourcery.com>
21316
21317 * math/s_ldexp.c: Remove __STDC__ conditionals.
21318 * math/s_ldexpf.c: Likewise.
21319 * math/s_ldexpl.c: Likewise.
21320 * math/s_nextafter.c: Likewise.
21321 * math/s_nexttowardf.c: Likewise.
21322 * math/s_significand.c: Likewise.
21323 * math/s_significandf.c: Likewise.
21324 * math/s_significandl.c: Likewise.
21325 * math/w_jnl.c: Likewise.
21326 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21327 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21328 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21329 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21330 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21332 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21333 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21334 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21335 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21336 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21338 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21339 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21340 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21341 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21342 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21343 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21344 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21345 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21346 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21347 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21348 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21350 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21351 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21352 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21353 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21354 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21355 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21356 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21357 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21358 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21359 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21360 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21361 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21362 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21363 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21364 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21365 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21366 * sysdeps/ieee754/k_standard.c: Likewise.
21367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21368 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21369 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21370 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21371 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21372 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21373 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21374 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21375 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21376 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21377 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21378 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21379 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21380 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21381 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21382 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21383 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21384 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21385 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21386 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21387 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21392 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21394 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21396 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21397 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21398 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21399 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21400 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21402 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21403 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21404 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21405 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21406 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21407 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21410 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21411 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21412 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21417 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21418 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21419 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21420 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21421 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21422 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21423 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21424 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21425 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21426 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21427 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21428 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21429 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21430 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21431 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21432 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21433 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21434 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21435 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21436 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21437 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21438 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21439 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21440 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21441 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21442 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21443 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21444 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21445 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21446 * sysdeps/ieee754/s_matherr.c: Likewise.
21447 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21448 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21449 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21451
965a54a4
JM
214522012-01-26 Joseph Myers <joseph@codesourcery.com>
21453
21454 * crypt/md5.h: Remove __STDC__ conditionals.
21455 * libio/libioP.h: Likewise.
21456 * locale/programs/config.h: Likewise.
21457 * sysdeps/generic/sysdep.h: Likewise.
21458 * sysdeps/i386/asm-syntax.h: Likewise.
21459 * sysdeps/s390/asm-syntax.h: Likewise.
21460 * sysdeps/unix/sysdep.h: Likewise.
21461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21463
7071ad79
JM
214642012-01-26 Joseph Myers <joseph@codesourcery.com>
21465
21466 * libio/libio.h: Remove __STDC__ conditionals.
21467 * malloc/obstack.h: Likewise.
21468 * math/complex.h: Likewise.
21469 * math/math.h: Likewise.
21470 * sysdeps/generic/_G_config.h: Likewise.
21471 * sysdeps/gnu/_G_config.h: Likewise.
21472 * sysdeps/mach/hurd/_G_config.h: Likewise.
21473 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21474 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21475 * sysdeps/sparc/bits/mathdef.h: Likewise.
21476
afc5ed09
UD
214772012-01-26 Ulrich Drepper <drepper@gmail.com>
21478
21479 [BZ #13583]
21480 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21481 Clean up HAS_* macros.
afc5ed09 21482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21483 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21484 possible.
21485 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21486 HAS_AVX.
21487 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21488 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21489 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21490 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21491 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21492
bdb6de1d
JM
214932012-01-25 Joseph Myers <joseph@codesourcery.com>
21494
21495 * elf/tst-unique3.cc (gets): Remove declaration.
21496 * elf/tst-unique3lib.cc (gets): Likewise.
21497 * elf/tst-unique3lib2.cc (gets): Likewise.
21498 * elf/tst-unique4.cc (gets): Likewise.
21499
b15549e6
UD
215002012-01-24 Ulrich Drepper <drepper@gmail.com>
21501
21502 * include/stdio.h: Add C++ protection. Add gets declarations and
21503 definitions.
21504 * debug/tst-chk1.c: Don't declare gets here.
21505 * stdio-common/tst-gets.c: Likewise.
21506
a037381f
JM
215072012-01-24 Joseph Myers <joseph@codesourcery.com>
21508
21509 * posix/glob: Remove directory.
21510
f1d4aa75
JM
215112012-01-24 Joseph Myers <joseph@codesourcery.com>
21512
21513 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21514
81c0c964
PT
215152012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21516
21517 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21518 of the non-standard EPFNOSUPPORT.
21519
0ea698ae
ST
215202011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21521
21522 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21523 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21524 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21525
d220b117
UD
215262012-01-21 Ulrich Drepper <drepper@gmail.com>
21527
21528 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21529
3e1aa84e
UD
215302012-01-20 Ulrich Drepper <drepper@gmail.com>
21531
21532 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21533 transient errors.
21534 * nscd/grpcache.c (cache_addgr): Likewise.
21535 * nscd/hstcache.c (cache_addhst): Likewise.
21536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21537 * nscd/pwdcache.c (cache_addpw): Likewise.
21538 * nscd/servicescache.c (cache_addserv): Likewise.
21539
400aa020
UD
215402012-01-16 Ulrich Drepper <drepper@gmail.com>
21541
d77e7869
UD
21542 * malloc/malloc.c: Various cleanups.
21543 * malloc/hooks.c: Likewise.
21544
400aa020
UD
21545 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21546 * stdlib/bug-fmtmsg1.c: New file.
21547
21548 * stdlib/fmtmsg.c (init): Add missing unlock.
21549 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21550
e0a309cf
MP
215512012-01-12 Marek Polacek <polacek@redhat.com>
21552
21553 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21554 and _GNU_SOURCE.
21555
929d11c7
WS
215562012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21557
21558 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21559 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21560 macro to ensure uniqueness of label name.
21561 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21562 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21563
41d0e869
UD
215642012-01-11 Ulrich Drepper <drepper@gmail.com>
21565
0cc5ed3b
UD
21566 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21567
41d0e869
UD
21568 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21569 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21570 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21572
a47a831a
UD
215732012-01-10 Ulrich Drepper <drepper@gmail.com>
21574
daa891c0
UD
21575 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21576
21577 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21578 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21579 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21580
e58ef0f2
UD
21581 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21582
a47a831a 21583 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21584 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21585 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21587
21588 * math/bits/math-finite.h: Add ldexp support.
21589
a0bfc9c7
MP
215902012-01-10 Marek Polacek <polacek@redhat.com>
21591
21592 * locale/programs/localedef.h (show_archive_content): Add noreturn
21593 attribute.
21594
d6e97a1d
UD
215952012-01-09 Ulrich Drepper <drepper@gmail.com>
21596
21597 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21598
d5835c26
UD
215992012-01-08 Ulrich Drepper <drepper@gmail.com>
21600
e5f484c6
UD
21601 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21602
d5835c26
UD
21603 * io/Makefile (headers): Add bits/poll2.h.
21604
d1f741e9
WS
216052011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21606
21607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21608 typo #include statement.
21609
ec09c1c4
UD
216102012-01-08 Ulrich Drepper <drepper@gmail.com>
21611
21612 * include/sys/cdefs.h: Define __attribute_alloc_size.
21613 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21614 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21615 * elf/pldd.c: Likewise.
21616 * iconv/iconv_charmap.c: Likewise.
21617 * iconv/iconvconfig.c: Likewise.
21618 * iconv/strtab.c: Likewise.
21619 * locale/programs/locale.c: Likewise.
21620 * locale/programs/localedef.h: Likewise.
21621 * locale/programs/simple-hash.c: Likewise.
21622 * nscd/nscd.h: Likewise.
21623 * nss/makedb.c: Likewise.
21624 * sysdeps/generic/ldconfig.h: Likewise.
21625 * locale/programs/localedef.c: Remove xmalloc prototype.
21626 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21627
20b38e03
PP
216282012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21629
21630 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21631 appropriate.
21632
a0da5fe1
UD
216332012-01-08 Ulrich Drepper <drepper@gmail.com>
21634
1d5a644a 21635 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21636 * math/tst-CMPLX.c: New file.
1d5a644a 21637
8784a6db
UD
21638 * math/complex.h (CMPLXL): Fix typo.
21639
d9a216c0
UD
21640 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21641 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21642 GLIBC_2.16.
21643 * debug/tst-chk1.c: Add poll and ppoll tests.
21644 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21645 * include/sys/poll.h: Add hidden proto for ppoll.
21646 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21647 * sysdeps/mach/hurd/ppoll.c: Likewise.
21648 * io/ppoll.c: Likewise.
21649 * debug/poll_chk.c: New file.
21650 * debug/ppoll_chk.c: New file.
21651 * include/bits/poll2.h: New file.
21652 * io/bits/poll2.h: New file.
21653
ac097f5c
UD
21654 [BZ #1350]
21655 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21656
2119dcfa
UD
21657 * configure.in: static is always set to yes. Remove.
21658 * config.make.in: Don't set build-static.
21659 * Makeconfig: Remove use of build-static.
21660 * dlfcn/Makefile: Likewise.
21661 * elf/Makefile: Likewise.
21662 * math/Makefile: Likewise.
21663 * misc/Makefile: Likewise.
21664 * nptl/Makefile: Likewise.
21665 * sysdeps/mach/hurd/Makefile: Likewise.
21666
121766a9
UD
21667 * configure.in: PWD_P is not used anymore.
21668 * config.make.in: Remove PWD_P entry.
21669
51a1d39c 21670 * configure.in: Remove last remnants of RANLIB.
8720d066 21671 No need to check for signed size_t anymore.
215f4bdc
UD
21672 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21673 and IA-64.
3857022a 21674 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21675 * aclocal.m4: Likewise.
21676
d3ed7225
UD
21677 * wcsmbs/mbrtoc16.c: Implement using towc function.
21678 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21679 * wcsmbs/wcsmbsload.c: Likewise.
21680 * iconv/gconv_simple.c: Likewise.
21681 * iconv/gconv_int.h: Likewise.
21682 * iconv/gconv_builtin.h: Likewise.
21683 * iconv/iconv_prog.c: Remove CHAR16 handling.
21684
21685 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21686
21687 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21688
a0da5fe1
UD
21689 * configure.in: Remove --with-elf and --enable-bounded options.
21690 Dont set base_machine for ia64. More non-ELF conditions removed.
21691 Remove testing and setting of leading underscore information.
21692 * config.make.in (build-bounded): Set to no.
21693 * config.h.in: Remove NO_UNDERSCORES entry.
21694 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21695 them.
21696 * csu/start.c: Remove !NO_UNDERSCORE code.
21697 * locale/localeinfo.h: Likewise.
21698 * sysdeps/generic/machine-gmon.h: Likewise.
21699 * sysdeps/generic/sysdep.h: Likewise.
21700 * sysdeps/i386/sysdep.h: Likewise.
21701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21702 * sysdeps/mach/sysdep.h: Likewise.
21703 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21704 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21705 * sysdeps/sh/sysdep.h: Likewise.
21706 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21707 * sysdeps/unix/i386/sysdep.S: Likewise.
21708 * sysdeps/unix/sparc/start.c: Likewise.
21709 * sysdeps/unix/sparc/sysdep.S: Likewise.
21710 * sysdeps/unix/sparc/sysdep.h: Likewise.
21711 * sysdeps/unix/start.c: Likewise.
21712 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21713 * sysdeps/x86_64/sysdep.h: Likewise.
21714
df78418a
UD
217152012-01-07 Ulrich Drepper <drepper@gmail.com>
21716
a784e502
UD
21717 [BZ #13553]
21718 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21719 for non-gcc.
21720 * argp/argp-fmtstream.h: Use const instead __const.
21721 * argp/argp.h: Likewise.
21722 * assert/assert.h: Likewise.
21723 * bits/fenv.h: Likewise.
21724 * bits/sched.h: Likewise.
21725 * bits/sigset.h: Likewise.
21726 * bits/sigthread.h: Likewise.
21727 * catgets/nl_types.h: Likewise.
21728 * conform/data/pthread.h-data: Likewise.
21729 * crypt/crypt-private.h: Likewise.
21730 * crypt/crypt.h: Likewise.
21731 * crypt/crypt_util.c: Likewise.
21732 * ctype/ctype.h: Likewise.
21733 * debug/execinfo.h: Likewise.
21734 * debug/mbsnrtowcs_chk.c: Likewise.
21735 * debug/mbsrtowcs_chk.c: Likewise.
21736 * debug/wcsnrtombs_chk.c: Likewise.
21737 * debug/wcsrtombs_chk.c: Likewise.
21738 * debug/wcstombs_chk.c: Likewise.
21739 * dirent/dirent.h: Likewise.
21740 * dlfcn/dlfcn.h: Likewise.
21741 * elf/neededtest4.c: Likewise.
21742 * grp/grp.h: Likewise.
21743 * gshadow/gshadow.h: Likewise.
21744 * iconv/gconv.h: Likewise.
21745 * iconv/gconv_int.h: Likewise.
21746 * iconv/gconv_simple.c: Likewise.
21747 * iconv/iconv.h: Likewise.
21748 * iconv/loop.c: Likewise.
21749 * iconv/skeleton.c: Likewise.
21750 * include/aio.h: Likewise.
21751 * include/aliases.h: Likewise.
21752 * include/argz.h: Likewise.
21753 * include/arpa/inet.h: Likewise.
21754 * include/assert.h: Likewise.
21755 * include/dirent.h: Likewise.
21756 * include/dlfcn.h: Likewise.
21757 * include/execinfo.h: Likewise.
21758 * include/fcntl.h: Likewise.
21759 * include/fenv.h: Likewise.
21760 * include/glob.h: Likewise.
21761 * include/grp.h: Likewise.
21762 * include/libintl.h: Likewise.
21763 * include/mntent.h: Likewise.
21764 * include/netdb.h: Likewise.
21765 * include/pwd.h: Likewise.
21766 * include/rpc/netdb.h: Likewise.
21767 * include/sched.h: Likewise.
21768 * include/search.h: Likewise.
21769 * include/shadow.h: Likewise.
21770 * include/signal.h: Likewise.
21771 * include/stdio.h: Likewise.
21772 * include/stdlib.h: Likewise.
21773 * include/string.h: Likewise.
21774 * include/sys/socket.h: Likewise.
21775 * include/sys/stat.h: Likewise.
21776 * include/sys/statfs.h: Likewise.
21777 * include/sys/statvfs.h: Likewise.
21778 * include/sys/syslog.h: Likewise.
21779 * include/sys/time.h: Likewise.
21780 * include/sys/uio.h: Likewise.
21781 * include/time.h: Likewise.
21782 * include/unistd.h: Likewise.
21783 * include/utmp.h: Likewise.
21784 * include/wchar.h: Likewise.
21785 * include/wctype.h: Likewise.
21786 * inet/aliases.h: Likewise.
21787 * inet/arpa/inet.h: Likewise.
21788 * inet/netinet/ether.h: Likewise.
21789 * inet/netinet/in.h: Likewise.
21790 * intl/libintl.h: Likewise.
21791 * io/bits/fcntl2.h: Likewise.
21792 * io/fcntl.h: Likewise.
21793 * io/ftw.h: Likewise.
21794 * io/sys/poll.h: Likewise.
21795 * io/sys/stat.h: Likewise.
21796 * io/sys/statfs.h: Likewise.
21797 * io/sys/statvfs.h: Likewise.
21798 * io/utime.h: Likewise.
21799 * libio/bits/stdio.h: Likewise.
21800 * libio/bits/stdio2.h: Likewise.
21801 * libio/libio.h: Likewise.
21802 * libio/libioP.h: Likewise.
21803 * libio/stdio.h: Likewise.
21804 * locale/lc-ctype.c: Likewise.
21805 * locale/locale.h: Likewise.
21806 * login/utmp.h: Likewise.
21807 * malloc/arena.c: Likewise.
21808 * malloc/malloc.c: Likewise.
21809 * malloc/malloc.h: Likewise.
21810 * malloc/mcheck.c: Likewise.
21811 * malloc/mtrace.c: Likewise.
21812 * math/bits/mathcalls.h: Likewise.
21813 * math/fenv.h: Likewise.
21814 * math/math_private.h: Likewise.
21815 * misc/bits/error.h: Likewise.
21816 * misc/bits/syslog.h: Likewise.
21817 * misc/err.h: Likewise.
21818 * misc/error.h: Likewise.
21819 * misc/fstab.h: Likewise.
21820 * misc/mntent.h: Likewise.
21821 * misc/regexp.h: Likewise.
21822 * misc/search.h: Likewise.
21823 * misc/sgtty.h: Likewise.
21824 * misc/sys/mman.h: Likewise.
21825 * misc/sys/syslog.h: Likewise.
21826 * misc/sys/uio.h: Likewise.
21827 * misc/sys/xattr.h: Likewise.
21828 * misc/ttyent.h: Likewise.
21829 * nis/rpcsvc/ypclnt.h: Likewise.
21830 * nss/nss.h: Likewise.
21831 * posix/bits/unistd.h: Likewise.
21832 * posix/fnmatch.h: Likewise.
21833 * posix/glob.h: Likewise.
21834 * posix/sched.h: Likewise.
21835 * posix/spawn.h: Likewise.
21836 * posix/sys/wait.h: Likewise.
21837 * posix/unistd.h: Likewise.
21838 * posix/wordexp.h: Likewise.
21839 * pwd/pwd.h: Likewise.
21840 * resolv/netdb.h: Likewise.
21841 * resource/sys/resource.h: Likewise.
21842 * rt/aio.h: Likewise.
21843 * rt/bits/mqueue2.h: Likewise.
21844 * rt/mqueue.h: Likewise.
21845 * shadow/shadow.h: Likewise.
21846 * signal/signal.h: Likewise.
21847 * socket/send.c: Likewise.
21848 * socket/sendto.c: Likewise.
21849 * socket/sys/socket.h: Likewise.
21850 * stdio-common/printf.h: Likewise.
21851 * stdlib/bits/stdlib.h: Likewise.
21852 * stdlib/fmtmsg.h: Likewise.
21853 * stdlib/monetary.h: Likewise.
21854 * stdlib/stdlib.h: Likewise.
21855 * stdlib/ucontext.h: Likewise.
21856 * streams/stropts.h: Likewise.
21857 * string/argz.h: Likewise.
21858 * string/bits/string2.h: Likewise.
21859 * string/string.h: Likewise.
21860 * string/strings.h: Likewise.
21861 * sunrpc/rpc/auth.h: Likewise.
21862 * sunrpc/rpc/auth_des.h: Likewise.
21863 * sunrpc/rpc/clnt.h: Likewise.
21864 * sunrpc/rpc/netdb.h: Likewise.
21865 * sunrpc/rpc/pmap_clnt.h: Likewise.
21866 * sunrpc/rpc/xdr.h: Likewise.
21867 * sysdeps/generic/inttypes.h: Likewise.
21868 * sysdeps/generic/net/if.h: Likewise.
21869 * sysdeps/generic/sys/swap.h: Likewise.
21870 * sysdeps/gnu/net/if.h: Likewise.
21871 * sysdeps/gnu/utmpx.h: Likewise.
21872 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21873 * sysdeps/i386/i486/bits/string.h: Likewise.
21874 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21875 * sysdeps/s390/bits/string.h: Likewise.
21876 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21877 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21878 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21879 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21880 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21881 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21882 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21883 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
21884 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
21885 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
21886 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
21887 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
21888 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
21889 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
21890 * sysdeps/unix/sysv/linux/readv.c: Likewise.
21891 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
21892 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
21894 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
21895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
21896 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21897 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
21898 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
21899 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
21900 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
21901 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
21902 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
21903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21904 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
21905 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
21906 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
21907 * sysvipc/sys/ipc.h: Likewise.
21908 * sysvipc/sys/msg.h: Likewise.
21909 * sysvipc/sys/sem.h: Likewise.
21910 * sysvipc/sys/shm.h: Likewise.
21911 * termios/termios.h: Likewise.
21912 * time/sys/time.h: Likewise.
21913 * time/time.h: Likewise.
21914 * wcsmbs/bits/wchar2.h: Likewise.
21915 * wcsmbs/uchar.h: Likewise.
21916 * wcsmbs/wchar.h: Likewise.
21917 * wctype/wctype.h: Likewise.
21918
0269750c
UD
21919 [BZ #13551]
21920 * Makeconfig: Remove all but ELF support including AIX support.
21921 * Makerules: Likewise.
21922 * config.h.in: Likewise.
21923 * config.make.in: Likewise.
21924 * configure: Likewise.
21925 * configure.in: Likewise.
21926 * csu/Makefile: Likewise.
21927 * csu/version.c: Likewise.
21928 * debug/Makefile: Likewise.
21929 * dlfcn/Makefile: Likewise.
21930 * elf/Makefile: Likewise.
21931 * extra-lib.mk: Likewise.
21932 * iconv/Makefile: Likewise.
21933 * include/libc-symbols.h: Likewise.
21934 * include/shlib-compat.h: Likewise.
21935 * resolv/Makefile: Likewise.
21936 * resolv/res_libc.c: Likewise.
21937 * rt/Makefile: Likewise.
21938 * sysdeps/i386/asm-syntax.h: Likewise.
21939 * sysdeps/i386/sysdep.h: Likewise.
21940 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21941 * sysdeps/mach/sysdep.h: Likewise.
21942 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
21943 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
21944 * sysdeps/s390/asm-syntax.h: Likewise.
21945 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21946 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21947 * sysdeps/sh/sysdep.h: Likewise.
21948 * sysdeps/unix/sparc/sysdep.h: Likewise.
21949 * sysdeps/wordsize-32/divdi3.c: Likewise.
21950 * sysdeps/x86_64/sysdep.h: Likewise.
21951
00bbd29b
UD
21952 * argp/Versions: Remove _argp_unlock_xxx.
21953
21954 [BZ #13559]
21955 * abilist/ld.abilist: Update. Adjust for removal of tls option.
21956 * abilist/libBrokenLocale.abilist: Likewise.
21957 * abilist/libanl.abilist: Likewise.
21958 * abilist/libc.abilist: Likewise.
21959 * abilist/libcrypt.abilist: Likewise.
21960 * abilist/libdl.abilist: Likewise.
21961 * abilist/libm.abilist: Likewise.
21962 * abilist/libnsl.abilist: Likewise.
21963 * abilist/libpthread.abilist: Likewise.
21964 * abilist/libresolv.abilist: Likewise.
21965 * abilist/librt.abilist: Likewise.
21966 * abilist/libthread_db.abilist: Likewise.
21967 * abilist/libutil.abilist: Likewise.
21968 * abilist/libnss_db.abilist: New file.
21969
21970 * scripts/abilist.awk: Add support for indirect functions.
21971
a2693a0e
UD
21972 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
21973
3f05895f
UD
21974 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
21975
ecb6fb48
UD
21976 * shlib-versions: Remove entries for ports architectures.
21977
664f8cb9
UD
21978 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
21979 files in ports.
21980 * elf/stackguard-macros.h: Remove support for IA-64.
21981 * elf/tst-auditmod1.c: Likewise.
21982 * sysdeps/generic/ldsodefs.h: Likewise.
21983
7ae81d88
UD
21984 * sysdeps/unix/sysv/linux/configure.in: Ports should define
21985 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
21986 configure files.
21987
bdeba135
UD
21988 [BZ #13552]
21989 * configure.in: Remove --enable-omitfp support.
21990 * FAQ.in: Adjust.
21991 * config.make.in: Likewise.
21992 * Makeconfig: Likewise.
21993 * manual/install.texi: Likewise.
21994
d75a0a62
UD
21995 In case anyone cares, the IA-64 architecture could move to ports.
21996 * sysdeps/ia64/*: Removed.
21997 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 21998 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 21999
dcc9756b
UD
22000 [BZ #13555]
22001 * configure.in: Remove entries for unsupported architectures.
22002
d3761ebc 22003 [BZ #13533]
9954432e
UD
22004 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22005 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22006 routines.
22007 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22008 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22009 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22010 fall back to using wcrtomb.
22011 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22012 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22013 renaming.
22014 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22015 * wcsmbs/tst-c16c32-1.c: New file.
22016
22017 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22018 local variable.
22019
c3a87236
UD
22020 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22021
28926a1b
UD
22022 * elf/tst-unique3.cc: Add explicit declaration of gets.
22023 * elf/tst-unique3lib.cc: Likewise.
22024 * elf/tst-unique3lib2.cc: Likewise.
22025 * elf/tst-unique4.cc: Likewise.
22026
df78418a
UD
22027 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22028
8ecd6b2a
JM
220292012-01-06 Joseph Myers <joseph@codesourcery.com>
22030
22031 [BZ #13566]
22032 * assert/assert.h (static_assert): Don't define for C++.
22033 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22034 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22035
9f115170
UD
220362012-01-03 Ulrich Drepper <drepper@gmail.com>
22037
5e0d0300
UD
22038 * iconv/loop.c (single loop): Fix assertion in storing of
22039 remaining bytes.
22040
9f115170
UD
22041 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22042
81fb02b0
UD
220432012-01-01 Ulrich Drepper <drepper@gmail.com>
22044
22045 * posix/getconf.c: Update copyright year.
22046 * nss/getent.c: Likewise.
a316c1f6 22047 * nss/makedb.c: Likewise.
81fb02b0
UD
22048 * iconv/iconvconfig.c: Likewise.
22049 * iconv/iconv_prog.c: Likewise.
22050 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22051 * elf/pldd.c: Likewise.
22052 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22053 * catgets/gencat.c: Likewise.
22054 * csu/version.c: Likewise.
22055 * elf/ldd.bash.in: Likewise.
22056 * elf/sprof.c (print_version): Likewise.
22057 * locale/programs/locale.c: Likewise.
22058 * locale/programs/localedef.c: Likewise.
a316c1f6 22059 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22060 * nscd/nscd.c (print_version): Likewise.
22061 * debug/xtrace.sh: Likewise.
22062 * malloc/memusage.sh: Likewise.
22063 * malloc/mtrace.pl: Likewise.
22064 * debug/catchsegv.sh: Likewise.
22065
2ba92745
JJ
220662011-12-30 Jakub Jelinek <jakub@redhat.com>
22067
22068 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22069 pure attribute.
22070
dadebdae
UD
220712011-12-24 Ulrich Drepper <drepper@gmail.com>
22072
d3761ebc 22073 [BZ #13533]
db6af3eb
UD
22074 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22075 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22076 transformations.
22077 * iconv/gconv_int.h: Likewise.
22078 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22079 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22080 from libc for GLIBC_2.16.
22081 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22082 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22083 * wcsmbs/uchar.h: Really define mbstate_t.
22084 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22085 * wcsmbs/c16rtomb.c: New file.
22086 * wcsmbs/mbrtoc16.c: New file.
22087 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22088 for C/POSIX locale.
22089 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22090 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22091
dadebdae
UD
22092 * wcsmbs/wchar.h: Add missing __restrict.
22093
67371b56
UD
220942011-12-23 Ulrich Drepper <drepper@gmail.com>
22095
74033a25
UD
22096 [BZ #13532]
22097 * time/Makefile (routines): Add timespec_get.
22098 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22099 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22100 timespec for ISO C11.
22101 * time/timespec_get.c: New file.
22102 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22103 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22104
380d7e87
UD
22105 [BZ #13531]
22106 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22107 * stdlib/stdlib.h: Declare aligned_alloc.
22108 * Versions.def: Add GLIBC_2.16 for libc.
22109 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22110
4e9e7a35
UD
22111 [BZ 13527]
22112 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22113 ISO C11.
22114
380d7e87 22115 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22116 code.
22117
03a71829
UD
22118 [BZ #13528]
22119 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22120
839e283e
UD
22121 [BZ #13529]
22122 * assert/assert.h (static_assert): Define.
22123
ce5294e2 22124 * version.h: Update for 2.16 development version.
90fa7312 22125
8d44e150 22126 [BZ #13526]
d7809905
UD
22127 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22128 _ISOC11_SOURCE.
22129
c0da14cd
UD
22130 * version.h (RELEASE): Bump for 2.15 release.
22131 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22132
530a3249
MP
22133 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22134 Patch by Marek Polacek <mpolacek@redhat.com>.
22135
67371b56
UD
22136 * bits/byteswap.h: Protect long long constants with __extension__.
22137 * sysdeps/i386/bits/byteswap.h: Likewise.
22138 * sysdeps/ia64/bits/byteswap.h: Likewise.
22139 * sysdeps/s390/bits/byteswap.h: Likewise.
22140 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22141
15db4de1
LD
221422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22143
22144 [BZ #13540]
bbe315ea
LD
22145 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22146 destination buffer.
15db4de1
LD
22147 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22148
2b2596b1
MP
221492011-12-23 Marek Polacek <polacek@redhat.com>
22150
22151 * elf/dl-addr.c (determine_info): Add inline keyword.
22152 * elf/tst-auditmod4b.c (check_avx): Likewise.
22153 * elf/tst-auditmod6b.c (check_avx): Likewise.
22154 * elf/tst-auditmod6c.c (check_avx): Likewise.
22155 * elf/tst-auditmod7b.c (check_avx): Likewise.
22156
70c6c246
UD
221572011-12-23 Ulrich Drepper <drepper@gmail.com>
22158
22159 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22160 !__SSE_MATH__.
22161
c044cf14
LD
221622011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22163
15db4de1 22164 [BZ #13540]
c044cf14
LD
22165 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22166 processing for last bytes.
22167
6b13d9d9
BH
221682011-08-06 Bruno Haible <bruno@clisp.org>
22169
d455f537
BH
22170 [BZ #13061]
22171 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22172 U+0385, not to U+1FEE.
22173
6b13d9d9
BH
22174 [BZ #13062]
22175 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22176 entry for U+00A5 U+0301.
22177
db910efd
UD
221782011-12-22 Ulrich Drepper <drepper@gmail.com>
22179
27deeafc
UD
22180 [BZ #13166]
22181 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22182 buffer for the output is too small.
22183
aed9d171
UD
22184 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22185 optimization.
22186
db910efd
UD
22187 [BZ #13185]
22188 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22189 SSE flags if possible.
22190
2bd779ae
LD
221912011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22192
e7f9dac3 22193 [BZ #13540]
2bd779ae
LD
22194 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22195 processing for last bytes.
22196
154bfc16
JM
221972011-12-22 Joseph Myers <joseph@codesourcery.com>
22198
22199 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22200 (syscall-list-default-options, syscall-list-default-condition)
22201 (syscall-list-includes): Define.
22202 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22203 list of ABIs and options and #if conditions for each ABI. Do not
22204 handle common syscalls between ABIs specially.
22205 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22206 Remove.
22207 (syscall-list-variants, syscall-list-32bit-options)
22208 (syscall-list-32bit-condition, syscall-list-64bit-options)
22209 (syscall-list-64bit-condition): Define.
22210 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22211 (syscall-list-variants, syscall-list-32bit-options)
22212 (syscall-list-32bit-condition, syscall-list-64bit-options)
22213 (syscall-list-64bit-condition): Define.
22214 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22215 Remove.
22216 (syscall-list-variants, syscall-list-32bit-options)
22217 (syscall-list-32bit-condition, syscall-list-64bit-options)
22218 (syscall-list-64bit-condition): Define.
22219 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22220 Remove.
22221 (syscall-list-variants, syscall-list-32bit-options)
22222 (syscall-list-32bit-condition, syscall-list-64bit-options)
22223 (syscall-list-64bit-condition): Define.
22224
21eaf3a5
UD
222252011-12-22 Ulrich Drepper <drepper@gmail.com>
22226
16c6f992
UD
22227 * locale/iso-639.def: Add brx entry.
22228
41043168
UD
22229 [BZ #13328]
22230 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22231 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22232
21eaf3a5
UD
22233 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22234 __feraiseexcept_renamed.
22235
e3a851a2
UD
222362011-12-21 Ulrich Drepper <drepper@gmail.com>
22237
4920765e
UD
22238 [BZ #13538]
22239 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22240 EPOLLET with unsigned values.
22241 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22242 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22243
e3a851a2
UD
22244 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22245 to large cancellation.
22246 * math/s_cacoshf.c: Likewise.
22247 * math/s_cacoshl.c: Likewise.
22248
b27e24b8
RK
222492011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22250
22251 [BZ #13305]
aebefeee 22252 [BZ #12786]
b27e24b8
RK
22253 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22254 * math/s_cacoshf.c: Likewise.
22255 * math/s_cacoshl.c: Likewise.
22256
ee190f67
UD
222572011-12-21 Ulrich Drepper <drepper@gmail.com>
22258
22259 [BZ #13439]
22260 * iconv/gconv.h: Define __GCONV_SWAP.
22261 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22262 * iconvdata/utf-16.c: Likewise.
22263 * iconvdata/utf-32.c: Likewise.
22264
707f25df
AS
222652011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22266
22267 [BZ #13524]
22268 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22269 numerator after shifting it by one limb.
22270
d2daaa1e
RÁE
222712011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22272
22273 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22274 under [__USE_EXTERN_INLINES].
22275
a4647e72
UD
222762011-12-17 Ulrich Drepper <drepper@gmail.com>
22277
22278 [BZ #13446]
22279 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22280
f0b264f1
AZ
222812011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22282
22283 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22284 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22285 optimized code.
22286 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22287 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22288 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22289 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22290 for strncasecmp/strncasecmp_l compilation.
22291 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22292 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22293
8ef4f244
MP
222942011-12-08 Marek Polacek <mpolacek@redhat.com>
22295
22296 [BZ #13484]
22297 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22298 of __asm__.
22299
97ac2654
UD
223002011-12-17 Ulrich Drepper <drepper@gmail.com>
22301
22302 [BZ #13506]
22303 * time/tzfile.c (__tzfile_read): Check values from file header.
22304
91d2a845
WS
223052011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22306
22307 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22308 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22309 * powerpc/powerpc32/dl-start.S: Likewise.
22310 * powerpc/powerpc32/elf/start.S: Likewise.
22311 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22312 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22313 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22314 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22315 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22316 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22317 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22318 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22319 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22320 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22321 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22322 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22323 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22324 * powerpc/powerpc32/memset.S: Likewise.
22325 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22326 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22327 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22328 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22329 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22330 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22331 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22332 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22333 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22334 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22335 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22336 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22337 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22338
a1267ba1
AZ
223392011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22340
22341 * math/libm-test.inc: Added more nearbyint tests.
22342 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22343 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22344 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22345 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22346
ad8ac1bd
RL
223472011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22348
22349 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22350 FD_CLOEXEC.
22351
1d3e4b61
UD
223522011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22353
22354 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22355 Add wcscpy-ssse3 wcscpy-c.
22356 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22357 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22358 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22359 * sysdeps/x86_64/wcschr.S: New file.
22360 * sysdeps/x86_64/wcsrchr.S: New file.
22361 * string/test-strcmp.c: Remove checking of wcscmp function for
22362 wrong alignments.
22363 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22364 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22365 wcsrchr-sse2 wcsrchr-c.
22366 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22367 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22368 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22369 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22370 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22371 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22372 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22373 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22374 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22375 * wcsmbc/wcschr.c (WCSCHR): New macro.
22376
5b330a2d
UD
223772011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22378
22379 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22380 * wcsmbs/test-wcsrchr.c: New file.
22381 * string/test-strrchr.c: Add wcsrchr support.
22382 (WIDE): New macro.
22383 * wcsmbs/test-wcscpy.c: New file.
22384 * string/test-strcpy.c: Add wcscpy support.
22385 (WIDE): New macro.
26428b7c 22386
f039c043
UD
223872011-12-10 Ulrich Drepper <drepper@gmail.com>
22388
22389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22390 the inner loop.
22391
850fb039
AS
223922011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22393
22394 [BZ #13472]
22395 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22396
4efbd5cb
UD
223972011-12-04 Ulrich Drepper <drepper@gmail.com>
22398
52ff5dd0 22399 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22400 Minor optimizations.
52ff5dd0 22401
4efbd5cb
UD
22402 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22403 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22404 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22405
8a426e12
UD
224062011-12-03 Ulrich Drepper <drepper@gmail.com>
22407
aff2453d
UD
22408 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22409 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22410 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22411 for gcc to avoid warnings.
22412 * inet/Makefile (tests): Add tst-checks.
22413 * inet/tst-checks.c: New file.
22414
22415 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22416 warning.
22417
22418 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22419 __wmemcmp_sse2.
22420
22421 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22422 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22423
8a426e12
UD
22424 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22425
9bea3473
UD
224262011-12-02 Ulrich Drepper <drepper@gmail.com>
22427
3a965496
UD
22428 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22429 problem.
22430
9bea3473
UD
22431 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22432
f101631b
UD
224332011-11-29 Joseph Myers <joseph@codesourcery.com>
22434
22435 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22436 conditional on GCC version.
22437 (__arch_compare_and_exchange_val_8_acq)
22438 (__arch_compare_and_exchange_val_16_acq)
22439 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22440 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22441 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22442
a98275aa
UD
224432011-12-02 Joseph Myers <joseph@codesourcery.com>
22444
22445 * sysdeps/sh/backtrace.c: New file.
22446
d4cc29a2
AS
224472011-12-02 Andreas Schwab <schwab@redhat.com>
22448
22449 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22450 parenthesis.
22451
6257af2d
AS
224522011-12-01 Andreas Schwab <schwab@redhat.com>
22453
22454 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22455 falling back to utime.
22456
b5f44c1a
AS
224572011-11-30 Andreas Schwab <schwab@redhat.com>
22458
22459 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22460 expectations for float.
22461
f3a6cc0a
AS
224622011-11-29 Andreas Schwab <schwab@redhat.com>
22463
22464 * locale/weight.h (findidx): Add parameter len.
22465 * locale/weightwc.h (findidx): Likewise.
22466 * posix/fnmatch_loop.c (FCT): Adjust caller.
22467 * posix/regcomp.c (build_equiv_class): Likewise.
22468 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22469 * posix/regexec.c (check_node_accept_bytes): Likewise.
22470 * string/strcoll_l.c (STRCOLL): Likewise.
22471 * string/strxfrm_l.c (STRXFRM): Likewise.
22472
9d65ea3a
UD
224732011-11-17 Ulrich Drepper <drepper@gmail.com>
22474
22475 * Makefile.in: Remove CVSOPT handling.
22476 * configure.in: Remove use of AC_REVISION.
22477 * iconvdata/Makefile (distribute): No need to filter out CVS.
22478 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22479 handling.
22480
5583a086
AS
224812011-11-16 Andreas Schwab <schwab@redhat.com>
22482
22483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22484 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22485 [USE_AS_STRNCASECMP_L]: Likewise.
22486 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22487 NO_TLS_DIRECT_SEG_REFS.
22488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22489 Fix argument offsets for non-PIC.
22490 [USE_AS_STRNCASECMP_L]: Likewise.
22491 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22492 NO_TLS_DIRECT_SEG_REFS.
22493
d62a8200
UD
224942011-11-15 Ulrich Drepper <drepper@gmail.com>
22495
9d65ea3a 22496 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22497 O_CLOEXEC.
22498 * locale/loadlocale.c (_nl_load_locale): Likewise.
22499
09f93bd3
AS
225002011-11-15 Andreas Schwab <schwab@redhat.com>
22501
446514f9
AS
22502 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22503 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22504 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22505 (SYSCALL_GETTIME): Set errno on error.
22506
09f93bd3
AS
22507 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22508 count references to noai6ai_cached.
22509
312be3f9
UD
225102011-11-15 Ulrich Drepper <drepper@gmail.com>
22511
22512 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22513
22514 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22515 FD_CLOEXEC for /proc/self/maps.
22516
22517 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22518 FD_CLOEXEC for /proc/meminfo.
22519
22520 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22521 gai.conf.
22522
22523 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22524 FD_CLOEXEC for given file.
22525
22526 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22527
22528 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22529 FD_CLOEXEC for /etc/hosts.
22530 (_gethtent): Likewise.
22531
22532 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22533
22534 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22535 cancellation and set FD_CLOEXEC for /etc/netgroup.
22536
22537 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22538 reading /etc/publickey.
22539
22540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22541 allow cancellation when reading /etc/group.
22542
22543 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22544 cancellation.
22545 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22546
22547 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22548 when using data file.
22549
22550 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22551
22552 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22553 (write_nis_obj): Use "c" and "e" in fopen.
22554
22555 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22556
22557 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22558
22559 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22560
22561 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22562
22563 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22564 locale.alias.
22565
22566 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22567
22568 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22569
22570 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22571
22572 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22573 file parsing and set FD_CLOEXEC.
22574
82af0fa8
UD
225752011-11-14 Ulrich Drepper <drepper@gmail.com>
22576
22577 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22578
a5fb313c
AS
225792011-11-14 Andreas Schwab <schwab@redhat.com>
22580
22581 * malloc/arena.c (arena_get2): Don't call reused_arena when
22582 _int_new_arena failed.
22583
6abf3465
UD
225842011-11-14 Ulrich Drepper <drepper@gmail.com>
22585
22586 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22587 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22588 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22589 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22590 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22591 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22592 to compile strcasecmp and strncasecmp.
22593 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22594 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22595
22596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22597
76e3966e
UD
225982011-11-13 Ulrich Drepper <drepper@gmail.com>
22599
22600 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22601 locale-defines.sym to gen-as-const-headers.
22602 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22603 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22604 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22605 to compile strcasecmp and strncasecmp.
22606 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22607 strcasecmp_l and strncasecmp_l.
22608 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22609 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22610 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22612 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22613 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22614 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22615 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22616 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22617 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22618 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22619
ab26144e
UD
226202011-11-12 Ulrich Drepper <drepper@gmail.com>
22621
7edb22ef
UD
22622 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22623 result of SYSDEP_GETTIME_CPU to retval.
22624 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22625 parameter list to macro. Remove trailing semicolon. Adjust users.
22626
9694fc44
UD
22627 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22628 variable.
22629
8ad89ef8
UD
22630 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22631 mantissa words.
22632 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22633
0c822ef9
UD
22634 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22635 from unused variable.
22636
874e0564
UD
22637 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22638 DWARF definitions.
22639 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22640 for assembling.
22641
3a2edc79
UD
22642 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22643 over namespaces.
22644
f3c2577f
UD
22645 * sunrpc/rpc_prot.c (rejected): Fix case value.
22646
294ce126
UD
22647 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22648 unsigned long long int to avoid warnings in shift.
22649
5e2b63c6
UD
22650 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22651 of use of trans.
22652 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22653 variable tmp.
22654
e7f4b08e
UD
22655 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22656 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22657 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22658
ab26144e
UD
22659 * nis/nis_table.c (nis_list): Use variable of correct type for
22660 result of __follow_path call.
22661
8a6d5255
AZ
226622011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22663
22664 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22665 of math functions ceil, trunc, floor, round, and sqrt, when
22666 avaliable on the platform.
22667 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22668 name clash.
22669 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22670 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22671 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22672
aaddc98c
MP
226732011-10-30 Marek Polacek <mpolacek@redhat.com>
22674
22675 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22676 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22677
95b7042b
RM
226782011-11-11 Roland McGrath <roland@hack.frob.com>
22679
22680 * include/unistd.h: Fix __readlink return type.
22681 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22682
57769839
UD
226832011-11-11 Ulrich Drepper <drepper@gmail.com>
22684
22685 * stdlib/ucontext.h: Undo last change for makecontext.
22686
edc5984d
AS
226872011-11-11 Andreas Schwab <schwab@redhat.com>
22688
98591e58
AS
22689 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22690
edc5984d
AS
22691 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22692 * setjmp/setjmp.h: Mark functions as non-leaf.
22693 * setjmp/bits/setjmp2.h: Likewise.
22694 * stdlib/ucontext.h: Likewise.
22695
77cdc054
AS
226962011-11-10 Andreas Schwab <schwab@redhat.com>
22697
22698 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22699 (reused_arena): Don't check arena limit.
22700 (arena_get2): Atomically check arena limit.
22701
fe72eebd
UD
227022011-11-08 Ulrich Drepper <drepper@gmail.com>
22703
5f078c32
UD
22704 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22705 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22706
fe72eebd
UD
22707 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22708 instructions.
22709
ae1bc2fa
AS
227102011-11-07 Andreas Schwab <schwab@redhat.com>
22711
7583a88d
AS
22712 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22713 handler when locking.
22714
ae1bc2fa
AS
22715 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22716 Fix size of allocated buffer.
22717
10fb0bfa
AS
227182011-11-04 Andreas Schwab <schwab@redhat.com>
22719
998832a4
AS
22720 [BZ #10103]
22721 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22722 declarations for long double functions.
22723 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22724
10fb0bfa
AS
22725 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22726
3d7ba52b
AS
227272011-11-03 Andreas Schwab <schwab@redhat.com>
22728
a9ae54a1
AS
22729 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22730 installed.
22731
3d7ba52b
AS
22732 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22733 is disabled.
22734
bc8db248
ST
227352011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22736
22737 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22738
45b96dd6
AS
227392011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22740
647776f6
AS
22741 * include/alloca.h (stackinfo_alloca_round): Define.
22742 (extend_alloca): Use it.
22743 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22744 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22745 here.
22746
d91a8b93
AS
22747 * scripts/check-local-headers.sh: Ignore libaudit.h.
22748
45b96dd6
AS
22749 * nscd/Makefile (extra-objs): Make recursively expanded.
22750
432d41ce
UD
227512011-11-01 Ulrich Drepper <drepper@gmail.com>
22752
34372fc6
UD
22753 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22754 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22755
fadb59f8
UD
22756 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22757 * posix/tst-rfc3484-2.c: Likewise.
22758 * posix/tst-rfc3484-3.c: Likewise.
22759
78239589
UD
22760 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22761 process_vm_writev.
22762 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22763 process_vm_writev.
22764 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22765 process_vm_writev from libc using GLIBC_2.15 version.
22766
432d41ce
UD
22767 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22768
02f9c6cf
PP
227692011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22770
22771 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22772 stack usage.
22773
3a2c0242
UD
227742011-10-31 Ulrich Drepper <drepper@gmail.com>
22775
f4ec4833
UD
22776 [BZ #13367]
22777 * nss/getent.c (initgroups_keys): Show error message in case no group
22778 names are given.
22779
3a2c0242
UD
22780 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22781 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22782 __bump_nl_timestamp.
22783 * nscd/connections (nscd_init): When host database is served open
22784 netlink socket and request notification about configuration changes.
22785 (main_loop_poll): Track netlink file descriptor and bump timestamp
22786 in case data becomes available.
22787 (main_loop_epoll): Likewise.
22788 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22789 (database_pers_head): Add extra_data fileds.
22790 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22791 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22792 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22793 Adjust caller.
22794 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22795 in6ai data, call __free_in6ai.
22796 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22797 Add -DHAVE_NETLINK.
22798 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22799 interface information. Reuse previous data if netlink timestamp
22800 is not changed.
22801 (__bump_nl_timestamp): New function.
22802 (__free_in6ai): New function.
22803
636064eb
UD
228042011-10-30 Ulrich Drepper <drepper@gmail.com>
22805
22806 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22807 close_not_cancel_no_status here.
22808 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22809
9beb2334
UD
228102011-10-29 Ulrich Drepper <drepper@gmail.com>
22811
6ef76f3b
UD
22812 [BZ #13276]
22813 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22814 return value.
22815
0ffc4f3e 22816 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22817 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22818 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22819
cb95113e
UD
228202011-07-03 Andreas Jaeger <aj@suse.de>
22821
22822 [BZ #10709]
22823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22824 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22825 * math/libm-test.inc (sin_test): Add test case.
22826
a1b560ff
UD
228272011-10-29 Ulrich Drepper <drepper@gmail.com>
22828
c9aaface
UD
22829 [BZ #13337]
22830 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22831 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22832
d272e7f1
UD
22833 * elf/chroot_canon.c (chroot_canon): Cleanups.
22834
1bc33071
UD
22835 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22836
1760874d
TJ
22837 [BZ #13335]
22838 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22839 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22840
51d91b18
UD
22841 * string/test-strchr.c: Make usable for strchrnul testing.
22842 * string/test-strchrnul.c: New file.
22843 * string/Makefile (strop-tests): Add strchrnul.
22844
a1b560ff 22845 * po/it.po: Update from translation team.
b611fb81 22846 * po/es.po: Likewise.
a1b560ff 22847
a5b81e1f
UD
228482011-10-28 Ulrich Drepper <drepper@gmail.com>
22849
fd52bc6d
UD
22850 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22851 the three constants needed as parameters. Drop the others.
22852 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22853 __m128i_strloadu_tolower.
52e4b9eb
UD
22854 Create and initialize variable zero and use it in all the places
22855 where _mm_setzero_si128 was used.
fd52bc6d 22856
a5b81e1f
UD
22857 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22858 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22859 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22860 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22861 anymore.
22862 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22863 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22864 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22865 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22866 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22867 __mpranred, __mptan.
22868 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22869 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22870 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22871 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22872 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22873 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22874 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22875 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22876 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22877
b4343346
AS
228782011-10-28 Andreas Schwab <schwab@redhat.com>
22879
0c92d8a8
AS
22880 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22881 redefine if SHARED.
22882 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22883
b4343346
AS
22884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
22885 wide char related routines to wcsmbs subdir.
22886
3871f58f
AS
228872011-10-27 Andreas Schwab <schwab@redhat.com>
22888
22889 [BZ #13344]
22890 * misc/sys/cdefs.h (__THROWNL): Define.
22891 * posix/unistd.h: Use __THREADNL instead of __THREAD
22892 for memory synchronization functions.
22893
94d44d9f
RM
228942011-10-26 Roland McGrath <roland@hack.frob.com>
22895
21b64b15 22896 [BZ #13349]
94d44d9f
RM
22897 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
22898 doesn't exist.
22899 * manual/stdio.texi (Obstack Streams): Node removed.
22900
f6ce9294
AS
229012011-10-26 Andreas Schwab <schwab@redhat.com>
22902
80479147
AS
22903 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
22904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22905 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22906
f6ce9294
AS
22907 * math/math_private.h (math_force_eval): Allow non-addressable
22908 arguments.
22909 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
22910
618280a1
UD
229112011-10-25 Ulrich Drepper <drepper@gmail.com>
22912
e0016b11
UD
22913 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
22914 file is not needed.
22915
22916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
22917 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22918 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22919 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22920 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22921 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22922 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22923 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
22924 Add AVX variants.
22925 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
22926 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
22927 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
22928 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
22929 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
22930 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
22931 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
22932 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
22933 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
22934 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
22935 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
22936 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
22937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
22938 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
22939 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
22940 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
22941 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
22942 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
22943 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
22944
22945 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
22946 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
22947
618280a1
UD
22948 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
22949 place. Use VEX encoding when compiling for AVX.
22950
37822576
AS
229512011-10-25 Andreas Schwab <schwab@redhat.com>
22952
1f1e1947
AS
22953 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
22954 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22955
37822576
AS
22956 * string/test-strchr.c (do_test): Don't generate NUL bytes.
22957
31ea014d
UD
229582011-10-25 Ulrich Drepper <drepper@gmail.com>
22959
d7826aa1 22960 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 22961 useless if() expression.
d7826aa1
UD
22962 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22963 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22964 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22966 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22967 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22970 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22971 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22972 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22973 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22974 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22975 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22976 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22977 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22978 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22979 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22980 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22981
31ea014d
UD
22982 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
22983
16437fec
AS
229842011-10-25 Andreas Schwab <schwab@redhat.com>
22985
22986 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
22987 condition.
22988 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22989
31d3cc00
UD
229902011-10-25 Ulrich Drepper <drepper@gmail.com>
22991
22992 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
22993 .text section. Avoid duplicate constants.
22994 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22996 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22997 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22998 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23000 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23002 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23003 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23004 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23005 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23006 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23007 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23008 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23009 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23010 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23011 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23012 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23013 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23014 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23015 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23016 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23017 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23018 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23019 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23020 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23021 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23022 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23023 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23024 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23025 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23026 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23027 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23028 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23030 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23031 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23032 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23033 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23034 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23035 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23036 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23037 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23038 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23039
58985aa9
UD
230402011-10-24 Ulrich Drepper <drepper@gmail.com>
23041
202c9deb
UD
23042 * sysdeps/x86_64/dla.h: Move to ...
23043 * sysdeps/x86_64/fpu/dla.h: ...here.
23044 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23045 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23046
af968f62
UD
23047 * config.make.in: Add have-mfma4 entry.
23048 * configure.in: Substitute libc_cv_cc_fma4.
23049 * math/Makefile (dbl-only-routines): Add sincostab.
23050 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23051 Use __sincostab not sincos.
23052 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23053 name is a macro.
23054 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23056 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23058 using __copysign.
23059 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23060 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23061 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23062 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23063 and __inv.
23064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23065 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23066 __copysign.
23067 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23068 define aliases when function name is a macro.
23069 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23070 sysdeps/ieee754/dbl-64/sincos.tbl.
23071 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23072 fma4-enabled routines.
23073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23074 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23075 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23076 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23077 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23078 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23079 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23080 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23081 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23082 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23083 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23084 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23085 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23086 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23087 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23088 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23089 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23090 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23091 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23093 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23094 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23096 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23097 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23098 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23100 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23101 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23102 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23103
58985aa9
UD
23104 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23105 rename.
23106 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23107 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23108 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23109 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23110 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23114
a201fbcf
AS
231152011-10-24 Andreas Schwab <schwab@redhat.com>
23116
23117 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23118
fc2ee42a
LD
231192011-10-23 Ulrich Drepper <drepper@gmail.com>
23120
bb3129bd
UD
23121 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23122
0275fff8
UD
23123 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23124 prediction.
23125 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23126
2fa2ae85
UD
23127 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23128 Remove unused variable magic_bits.
23129 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23130
fc2ee42a
LD
23131 * string/strnlen.c: Define and use STRNLEN macro.
23132 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23133 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23134 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23135 * wcsmbs/wcslen.c: Define and use WCSLEN.
23136 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23137 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23138 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23139 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23140 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23141 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23142 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23143
ce7dd29f
LD
231442011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23145
23146 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23147 strnlen-sse2-no-bsf.
23148 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23150 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23151 Add strnlen support.
23152 (USE_AS_STRNLEN): New macro.
23153 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23154 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23155 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23156 * sysdeps/x86_64/wcslen.S: New file.
23157
979c70a3
MZ
231582011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23159
23160 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23161 XMM-moves are used for copying on small sizes.
23162
2d09f82f
LD
231632011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23164
23165 * wcsmbs/Makefile (strop-tests): Add wcschr.
23166 * wcsmbs/test-wcschr.c: New file.
23167 * string/test-strchr.c: Update.
23168 Add wcschr support.
23169 (WIDE): New macro.
23170
619fccca
LD
231712011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23172
2d09f82f 23173 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23174 * wcsmbs/test-wcslen.c: New file.
23175 * string/test-strlen.c: Update.
23176 Add wcslen support.
23177 (WIDE): New macro.
23178
09f699ea
UD
231792011-10-23 Ulrich Drepper <drepper@gmail.com>
23180
23181 * po/it.po: Update from translation team.
23182
95584d3b
LD
231832011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23184
23185 * sysdeps/x86_64/wcscmp.S: Update.
23186 Fix wrong comparison semantics.
23187 wcscmp shall use signed comparison not unsigned.
23188 Don't use substraction to avoid overflow bug.
23189 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23190 * wcsmbc/wcscmp.c: Likewise.
23191 * string/test-strcmp.c: Likewise.
23192 Add new tests to check cases with negative values.
23193
c8b3296b
UD
231942011-10-23 Ulrich Drepper <drepper@gmail.com>
23195
23196 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23197 * sysdeps/x86_64/dla.h: ...here. New file.
23198 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23199 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23207
246ad57a
AS
232082011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23209
23210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23211 __ynl_finite aliases.
23212
a1a87169
UD
232132011-10-22 Ulrich Drepper <drepper@gmail.com>
23214
0d355eb7
UD
23215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23216
a1a87169
UD
23217 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23218 define DLA_FMA.
23219 [DLA_FMA] (EMULV): Use DLA_FMA.
23220 [DLA_FMA] (MUL12): Use EMULV.
23221 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23222 that are not needed.
23223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23230
ee2aafe0
AS
232312011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23232
23233 * math/s_nan.c: Undef __nan.
23234 * math/s_nanf.c: Undef __nanf.
23235 * math/s_nanl.c: Undef __nanl.
23236 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23237 "math_private.h".
23238
bc62c2fb
UD
232392011-10-22 Ulrich Drepper <drepper@gmail.com>
23240
77425c63
UD
23241 * math/s_catan.c: Add branch predictions.
23242 * math/s_catanf.c: Likewise.
23243 * math/s_catanh.c: Likewise.
23244 * math/s_catanhf.c: Likewise.
23245 * math/s_catanhl.c: Likewise.
23246 * math/s_catanl.c: Likewise.
23247 * math/s_cexp.c: Likewise.
23248 * math/s_cexpf.c: Likewise.
23249 * math/s_cexpl.c: Likewise.
23250 * math/s_clog.c: Likewise.
23251 * math/s_clog10.c: Likewise.
23252 * math/s_clog10f.c: Likewise.
23253 * math/s_clog10l.c: Likewise.
23254 * math/s_clogf.c: Likewise.
23255 * math/s_clogl.c: Likewise.
23256 * math/s_csqrt.c: Likewise.
23257 * math/s_csqrtf.c: Likewise.
23258 * math/s_csqrtl.c: Likewise.
23259 * math/s_ctanf.c: Likewise.
23260 * math/s_ctanh.c: Likewise.
23261 * math/s_ctanhf.c: Likewise.
23262 * math/s_ctanhl.c: Likewise.
23263 * math/s_ctanl.c: Likewise.
23264
bc62c2fb
UD
23265 * math/math_private.h: Define __nan, __nanf, __nanl.
23266 * math/s_cacosh.c: Include <math_private.h>.
23267 * math/s_cacoshl.c: Likewise.
23268 * math/s_casinh.c: Likewise.
23269 * math/s_casinhf.c: Likewise.
23270 * math/s_casinhl.c: Likewise.
23271 * math/s_ccos.c: Rely entire on ccosh.
23272 * math/s_ccosf.c: Rely entire on ccoshf.
23273 * math/s_ccosl.c: Rely entirely on ccoshl.
23274 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23275 Remove tests for FE_INVALID.
23276 * math/s_ccoshf.c: Likewise.
23277 * math/s_ccoshl.c: Likewise.
23278 * math/s_csin.c: Likewise.
23279 * math/s_csinf.c: Likewise.
23280 * math/s_csinh.c Likewise.
23281 * math/s_csinhf.c: Likewise.
23282 * math/s_csinhl.c: Likewise.
23283 * math/s_csinl.c: Likewise.
23284 * math/s_ctan.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23286 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23287 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23288
8ec250a4
UD
232892011-10-21 Ulrich Drepper <drepper@gmail.com>
23290
c196fed8
UD
23291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23292 compilation problems.
23293
8ec250a4
UD
23294 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23295 __builtin_expect.
23296
8d4f46c6
UD
232972011-10-20 Ulrich Drepper <drepper@gmail.com>
23298
ed72b654
UD
23299 * sysdeps/i386/configure.in: Test for -mfma4 option.
23300 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23301 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23302 COMMON_CPUID_INDEX_80000001.
23303 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23304 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23305 use it if FMA3 is not supported.
23306 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23307
8d4f46c6
UD
23308 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23309 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23310
d45c60c2
AS
233112011-10-20 Andreas Schwab <schwab@redhat.com>
23312
23313 [BZ #12892]
23314 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23315 it would create a cycle with a link time dependency.
23316
d9a4d2ab
UD
233172011-10-19 Ulrich Drepper <drepper@gmail.com>
23318
855d1560
UD
23319 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23320 instruction.
23321 * string/Makefile (strop-tests): Add rawmemchr.
23322 * string/test-rawmemchr.c: New file.
23323
d9a4d2ab
UD
23324 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23325 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23326 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23327 when compiling str{,n}casecmp and when AVX is available. Hook up
23328 new optimized code in initializers.
23329
8f3b1ffe
AS
233302011-10-19 Andreas Schwab <schwab@redhat.com>
23331
23332 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23333 __feraiseexcept instead of feraiseexcept.
23334
d38f1dba
UD
233352011-10-18 Ulrich Drepper <drepper@gmail.com>
23336
d9a8d0ab
UD
23337 * math/math_private.h: Define defaults for libc_fetestexcept and
23338 libc_feupdateenv.
23339 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23340 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23341 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23342 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23343 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23344 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23345 libc_fetestexcept and libc_feupdateenv.
23346
4855e3dd
UD
23347 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23348 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23349 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23350 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23351 libc_feholdexcept_setround.
23352
581d30e3
UD
23353 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23354 Add s_nearbyint-c and s_nearbyintf-c.
23355 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23356 nearbyintf inlines.
23357 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23358 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23359 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23360 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23361
d38f1dba
UD
23362 * math/math_private.h: Define defaults for libc_fegetround,
23363 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23364 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23365 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23366 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23367 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23368 standard functions.
23369 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23370 Remove comments and hacks for old compiler versions.
23371 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23372 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23373 libc_feholdexceptl.
23374
caa6c9d8
AS
233752011-10-18 Andreas Schwab <schwab@redhat.com>
23376
23377 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23378 (__feraiseexcept_renamed): Add __NTH.
23379 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23380 namespace violations.
23381
97c066e6
UD
233822011-10-17 Ulrich Drepper <drepper@gmail.com>
23383
99ce7b04
UD
23384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23385
1004d182
UD
23386 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23387
228a984d
UD
23388 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23389 recently added interfaces.
23390 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23391
c8553a6a
UD
23392 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23393 about macro parameter expansion.
23394
ed22dcf6
UD
23395 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23396 __NO_MATH_INLINES is defined. Cleanups.
23397
23398 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23399 and __floorf is target has SSE4.1.
23400 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23401 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23402 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23403 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23404
b171c137
UD
23405 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23406 name.
23407 (floorf): Likewise.
23408
97c066e6
UD
23409 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23410
629f62ef
AS
234112011-10-17 Andreas Schwab <schwab@redhat.com>
23412
49a43d80
AS
23413 * misc/sys/cdefs.h: Fix last change.
23414
629f62ef
AS
23415 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23416 database lookup.
23417
e453f6cd
UD
234182011-10-16 Ulrich Drepper <drepper@gmail.com>
23419
aa78043a
UD
23420 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23421
ad0f5cad
UD
23422 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23423 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23424 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23427 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23428 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23429 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23430 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23431 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23432 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23433 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23434 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23435 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23436 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23437 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23438 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23439 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23440 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23441 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23442 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23443 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23444
23445 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23446 ceil, ceilf, floor, floorf.
23447
23448 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23449 Perform IRELATIVE relocations last.
23450
e453f6cd
UD
23451 * elf/do-rel.h: Add another parameter nrelative, replacing the
23452 local variable with the same name. Change name of the function
23453 to end in Rel or Rela (uppercase).
23454 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23455 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23456 elf_dynamic_do_##reloc function.
23457
fd5bdc09
UD
234582011-10-15 Ulrich Drepper <drepper@gmail.com>
23459
79b195b5
UD
23460 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23461 is sufficient, at least on modern CPUs.
23462
d4a28569
UD
23463 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23464
b61099b5
UD
23465 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23466 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23467
bcf01e6d
UD
23468 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23469 __expl_finite.
23470 * math/bits/math-finite.h: Add entries for exp.
23471 * math/e_expl.c: Add __*_finite alias.
23472 * sysdeps/i386/fpu/e_exp.S: Likewise.
23473 * sysdeps/i386/fpu/e_expf.S: Likewise.
23474 * sysdeps/i386/fpu/e_expl.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23476 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23477 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23478 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23479 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23480 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23481 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23482
ba1a0d59
UD
23483 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23484 is sufficient, at least on modern CPUs.
23485
fd5bdc09
UD
23486 * ctype/ctype-info.c (__ctype_init): Define.
23487 * include/ctype.h (__ctype_init): Declare.
23488 (__ctype_b_loc): The variable is always initialized.
23489 (__ctype_toupper_loc): Likewise.
23490 (__ctype_tolower_loc): Likewise.
23491 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23492 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23493
7872cfb0
AS
234942011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23495
b468825a
AS
23496 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23497
7872cfb0
AS
23498 * configure.in: Also look in $cxxmachine/include for C++ system
23499 headers.
23500
be13f7bf
LD
235012011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23502
23503 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23504 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23505 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23506 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23507 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23508 (USE_AS_WMEMCMP): New macro.
23509 Fixing indents.
23510 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23511 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23512 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23513 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23515 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23516 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23517 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23518 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23519 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23520 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23521 (USE_AS_WMEMCMP): New macro.
23522 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23523 * sysdeps/string/test-memcmp.c: Update.
23524 Fix simple_wmemcmp.
23525 Add new tests.
23526 * wcsmbs/wmemcmp.c: Update.
23527 (WMEMCMP): New macro.
23528 Fix overflow bug.
23529
556a2007
AJ
235302011-10-12 Andreas Jaeger <aj@suse.de>
23531
23532 [BZ #13268]
23533 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23534
538faaa7
UD
235352011-10-15 Ulrich Drepper <drepper@gmail.com>
23536
ab6737ff
UD
23537 * libio/iofwide.c (do_length): Avoid warning.
23538
538faaa7
UD
23539 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23540
396a21b1
UD
235412011-10-14 Ulrich Drepper <drepper@gmail.com>
23542
cdf2901f
UD
23543 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23544
38ad40ce
UD
23545 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23546 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23547 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23548 * sysdeps/i386/i686/fpu/e_log.S: New file.
23549 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23550 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23551
396a21b1
UD
23552 * ctype/ctype.h: Add support for inlined isXXX functions when
23553 compiling C++ code.
23554
6b1f68c9
AS
235552011-10-14 Andreas Schwab <schwab@redhat.com>
23556
349290c0
AS
23557 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23558
6b1f68c9
AS
23559 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23560
f2282d42
RM
235612011-10-13 Roland McGrath <roland@hack.frob.com>
23562
23563 [BZ #13291]
23564 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23565
5298ffa8
AS
235662011-10-13 Andreas Schwab <schwab@redhat.com>
23567
714fad23
AS
23568 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23569 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23570 feraiseexcept.
23571
81dcc7fb
AS
23572 * sysdeps/x86_64/memrchr.S: Check for zero size.
23573
5298ffa8
AS
23574 * string/stratcliff.c: Add memrchr tests.
23575
951fbcec
LD
235762011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23577
23578 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23579 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23580 rawmemchr-sse2 rawmemchr-sse2-bsf.
23581 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23582 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23583 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23584 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23585 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23586 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23587 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23588 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23589 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23590 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23591 * string/memrchr.c (MEMRCHR): New macro.
23592
0ac5ae23
UD
235932011-10-12 Ulrich Drepper <drepper@gmail.com>
23594
23595 Add integration with gcc's -ffinite-math-only and optimize wrapper
23596 functions in libm.
23597 * Versions.def: Define GLIBC_2.15 version for libm.
23598 * math/Makefile (headers): Add bits/math-finite.h.
23599 * math/bits/math-finite.h: New file.
23600 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23601 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23602 * math/e_acoshl.c: Add __*_finite alias.
23603 * math/e_acosl.c: Likewise.
23604 * math/e_asinl.c: Likewise.
23605 * math/e_atan2l.c: Likewise.
23606 * math/e_atanhl.c: Likewise.
23607 * math/e_coshl.c: Likewise.
23608 * math/e_exp10.c: Likewise.
23609 * math/e_exp10f.c: Likewise.
23610 * math/e_exp10l.c: Likewise.
23611 * math/e_exp2l.c: Likewise.
23612 * math/e_fmodl.c: Likewise.
23613 * math/e_gammal_r.c: Likewise.
23614 * math/e_hypotl.c: Likewise.
23615 * math/e_j0l.c: Likewise.
23616 * math/e_j1l.c: Likewise.
23617 * math/e_jnl.c: Likewise.
23618 * math/e_lgammal_r.c: Likewise.
23619 * math/e_log10l.c: Likewise.
23620 * math/e_log2l.c: Likewise.
23621 * math/e_logl.c: Likewise.
23622 * math/e_powl.c: Likewise.
23623 * math/e_sinhl.c: Likewise.
23624 * math/e_sqrtl.c: Likewise.
23625 * math/e_scalb.c: Completely rewritten and optimized.
23626 * math/e_scalbf.c: Likewise.
23627 * math/e_scalbl.c: Likewise.
23628 * math/w_acos.c: Likewise.
23629 * math/w_acosf.c: Likewise.
23630 * math/w_acosl.c: Likewise.
23631 * math/w_acosh.c: Likewise.
23632 * math/w_acoshf.c: Likewise.
23633 * math/w_acoshl.c: Likewise.
23634 * math/w_asin.c: Likewise.
23635 * math/w_asinf.c: Likewise.
23636 * math/w_asinl.c: Likewise.
23637 * math/w_atan2.c: Likewise.
23638 * math/w_atan2f.c: Likewise.
23639 * math/w_atan2l.c: Likewise.
23640 * math/w_atanh.c: Likewise.
23641 * math/w_atanhf.c: Likewise.
23642 * math/w_atanhl.c: Likewise.
23643 * math/w_exp10.c: Likewise.
23644 * math/w_exp10f.c: Likewise.
23645 * math/w_exp10l.c: Likewise.
23646 * math/w_fmod.c: Likewise.
23647 * math/w_fmodf.c: Likewise.
23648 * math/w_fmodl.c: Likewise.
23649 * math/w_j0.c: Likewise.
23650 * math/w_j0f.c: Likewise.
23651 * math/w_j0l.c: Likewise.
23652 * math/w_j1.c: Likewise.
23653 * math/w_j1f.c: Likewise.
23654 * math/w_j1l.c: Likewise.
23655 * math/w_jn.c: Likewise.
23656 * math/w_jnf.c: Likewise.
23657 * math/w_log.c: Likewise.
23658 * math/w_logf.c: Likewise.
23659 * math/w_logl.c: Likewise.
23660 * math/w_log10.c: Likewise.
23661 * math/w_log10f.c: Likewise.
23662 * math/w_log10l.c: Likewise.
23663 * math/w_log2.c: Likewise.
23664 * math/w_log2f.c: Likewise.
23665 * math/w_log2l.c: Likewise.
23666 * math/w_pow.c: Likewise.
23667 * math/w_powf.c: Likewise.
23668 * math/w_powl.c: Likewise.
23669 * math/w_remainder.c: Likewise.
23670 * math/w_remainderf.c: Likewise.
23671 * math/w_remainderl.c: Likewise.
23672 * math/w_scalb.c: Likewise.
23673 * math/w_scalbf.c: Likewise.
23674 * math/w_scalbl.c: Likewise.
23675 * math/w_sqrt.c: Likewise.
23676 * math/w_sqrtf.c: Likewise.
23677 * math/w_sqrtl.c: Likewise.
23678 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23679 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23680 used.
23681 * math/math_private.h: Declare __kernel_standard_f.
23682 * math/w_cosh.c: Remove cruft and optimize a bit.
23683 * math/w_coshf.c: Likewise.
23684 * math/w_coshl.c: Likewise.
23685 * math/w_exp2.c: Likewise.
23686 * math/w_exp2f.c: Likewise.
23687 * math/w_exp2l.c: Likewise.
23688 * math/w_hypot.c: Likewise.
23689 * math/w_hypotf.c: Likewise.
23690 * math/w_hypotl.c: Likewise.
23691 * math/w_lgamma.c: Likewise.
23692 * math/w_lgamma_r.c: Likewise.
23693 * math/w_lgammaf.c: Likewise.
23694 * math/w_lgammaf_r.c: Likewise.
23695 * math/w_lgammal.c: Likewise.
23696 * math/w_lgammal_r.c: Likewise.
23697 * math/w_sinh.c: Likewise.
23698 * math/w_sinhf.c: Likewise.
23699 * math/w_sinhl.c: Likewise.
23700 * math/w_tgamma.c: Likewise.
23701 * math/w_tgammaf.c: Likewise.
23702 * math/w_tgammal.c: Likewise.
23703 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23704 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23705 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23706 Minor optimizations. Pretty printing. Remove cruft.
23707 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23708 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23709 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23710 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23711 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23712 * sysdeps/i386/fpu/e_asin.S: Likewise.
23713 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23714 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23715 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23716 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23717 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23718 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23719 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23720 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23721 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23722 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23723 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23724 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23725 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23726 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23727 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23728 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23729 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23730 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23731 * sysdeps/i386/fpu/e_log.S: Likewise.
23732 * sysdeps/i386/fpu/e_log10.S: Likewise.
23733 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23734 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23735 * sysdeps/i386/fpu/e_log2.S: Likewise.
23736 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23737 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23738 * sysdeps/i386/fpu/e_logf.S: Likewise.
23739 * sysdeps/i386/fpu/e_logl.S: Likewise.
23740 * sysdeps/i386/fpu/e_pow.S: Likewise.
23741 * sysdeps/i386/fpu/e_powf.S: Likewise.
23742 * sysdeps/i386/fpu/e_powl.S: Likewise.
23743 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23744 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23745 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23746 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23747 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23748 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23749 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23750 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23751 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23752 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23753 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23754 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23755 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23756 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23760 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23761 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23762 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23763 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23764 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23765 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23766 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23767 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23769 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23773 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23774 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23775 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23776 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23777 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23778 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23779 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23780 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23781 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23783 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23784 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23785 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23786 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23787 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23788 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23789 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23790 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23791 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23792 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23793 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23794 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23795 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23796 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23797 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23798 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23799 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23800 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23801 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23802 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23803 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23804 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23805 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23806 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23807 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23808 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23809 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23810 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23811 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23812 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23813 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23814 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23815 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23816 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23817 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23819 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23820 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23822 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23823 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23824 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23825 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23826 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23827 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23828 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23829 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23831 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23832 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23833 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23834 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23835 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23836 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23837 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23838 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23839 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23840 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23841 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23842 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23843 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23844 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23845 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23847 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23848 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23849 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23850 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23851 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23852 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23853 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23854 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23855 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23856 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23857 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23858 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23859 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23860 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23861 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23862 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23863 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23864 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23865 (__isnanf): Likewise.
23866 (__isinf_ns): Likewise.
23867 (__isinf_nsf): Likewise.
23868 (__finite): Likewise.
23869 (__finitef): Likewise.
23870 (__ieee754_sqrt): Define as macro.
23871 (__ieee754_sqrtf): Define as macro.
23872 (__ieee754_sqrtl): Define as macro.
23873 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23874 inlined copy.
23875 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23876 __FINITE_MATH_ONLY__ consistent.
23877 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23878
12cc2fcd
AS
238792011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23880
a843a204
AS
23881 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23882 of rawmemchr.
23883
12cc2fcd
AS
23884 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
23885
c853acd5
UD
238862011-10-09 Ulrich Drepper <drepper@gmail.com>
23887
23888 * po/ja.po: Update from translation team.
23889
c658d255
RM
238902011-10-08 Roland McGrath <roland@hack.frob.com>
23891
110946e4
RM
23892 * locale/programs/locarchive.c (prepare_address_space): New function.
23893 (create_archive, enlarge_archive, open_archive): Use it.
23894
50604220
RM
23895 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
23896 inside [SHARED], where it is used.
23897
c658d255
RM
23898 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
23899
23900 * nss/getent.c (netgroup_keys): Remove unused variable.
23901 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23902
6a621eb7
UD
239032011-10-08 Ulrich Drepper <drepper@gmail.com>
23904
7edb55ce
UD
23905 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
23906 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
23907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
23908 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
23909 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
23910 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
23911 * math/Makefile (libm-calls): Add s_isinf_ns.
23912 * math/divtc3.c: Use __isinf_nsl instead of isinf.
23913 * math/multc3.c: Likewise.
23914 * math/s_casin.c: Likewise.
23915 * math/s_casinf.c: Likewise.
23916 * math/s_casinl.c: Likewise.
23917 * math/s_ccos.c: Likewise.
23918 * math/s_ccosf.c: Likewise.
23919 * math/s_ccosl.c: Likewise.
23920 * math/s_ctan.c: Likewise.
23921 * math/s_ctanf.c: Likewise.
23922 * math/s_ctanh.c: Likewise.
23923 * math/s_ctanhf.c: Likewise.
23924 * math/s_ctanhl.c: Likewise.
23925 * math/s_ctanl.c: Likewise.
23926 * math/w_fmod.c: Likewise.
23927 * math/w_fmodf.c: Likewise.
23928 * math/w_fmodl.c: Likewise.
23929 * math/w_remainder.c: Likewise.
23930 * math/w_remainderf.c: Likewise.
23931 * math/w_remainderl.c: Likewise.
23932 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
23933 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
23934 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
23935 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
23936 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
23937 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
23938 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
23939 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
23940
187da0ae
UD
23941 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
23942 of the number.
23943 * stdio-common/printf_fphex.c: Likewise.
23944 * stdio-common/printf_size.c: Likewise.
23945
9277c064
UD
23946 * math/e_exp10.c: Include math_private.h using <...> not "...".
23947 * math/e_exp10f.c: Likewise.
23948 * math/e_exp10l.c: Likewise.
23949 * math/e_exp2l.c: Likewise.
23950 * math/e_j0l.c: Likewise.
23951 * math/e_j1l.c: Likewise.
23952 * math/e_jnl.c: Likewise.
23953 * math/e_lgammal_r.c: Likewise.
23954 * math/e_rem_pio2l.c: Likewise.
23955 * math/e_scalb.c: Likewise.
23956 * math/e_scalbf.c: Likewise.
23957 * math/e_scalbl.c: Likewise.
23958 * math/k_cosl.c: Likewise.
23959 * math/k_sinl.c: Likewise.
23960 * math/k_tanl.c: Likewise.
23961 * math/s_cacoshf.c: Likewise.
23962 * math/s_catan.c: Likewise.
23963 * math/s_catanf.c: Likewise.
23964 * math/s_catanh.c: Likewise.
23965 * math/s_catanhf.c: Likewise.
23966 * math/s_catanhl.c: Likewise.
23967 * math/s_catanl.c: Likewise.
23968 * math/s_ccosh.c: Likewise.
23969 * math/s_ccoshf.c: Likewise.
23970 * math/s_ccoshl.c: Likewise.
23971 * math/s_cexp.c: Likewise.
23972 * math/s_cexpf.c: Likewise.
23973 * math/s_cexpl.c: Likewise.
23974 * math/s_clog.c: Likewise.
23975 * math/s_clog10.c: Likewise.
23976 * math/s_clog10f.c: Likewise.
23977 * math/s_clog10l.c: Likewise.
23978 * math/s_clogf.c: Likewise.
23979 * math/s_clogl.c: Likewise.
23980 * math/s_csin.c: Likewise.
23981 * math/s_csinf.c: Likewise.
23982 * math/s_csinh.c: Likewise.
23983 * math/s_csinhf.c: Likewise.
23984 * math/s_csinhl.c: Likewise.
23985 * math/s_csinl.c: Likewise.
23986 * math/s_csqrt.c: Likewise.
23987 * math/s_csqrtf.c: Likewise.
23988 * math/s_csqrtl.c: Likewise.
23989 * math/s_ctan.c: Likewise.
23990 * math/s_ctanf.c: Likewise.
23991 * math/s_ctanh.c: Likewise.
23992 * math/s_ctanhf.c: Likewise.
23993 * math/s_ctanhl.c: Likewise.
23994 * math/s_ctanl.c: Likewise.
23995 * math/s_ldexp.c: Likewise.
23996 * math/s_ldexpf.c: Likewise.
23997 * math/s_ldexpl.c: Likewise.
23998 * math/s_significand.c: Likewise.
23999 * math/s_significandf.c: Likewise.
24000 * math/s_significandl.c: Likewise.
24001 * math/w_acos.c: Likewise.
24002 * math/w_acosf.c: Likewise.
24003 * math/w_acosh.c: Likewise.
24004 * math/w_acoshf.c: Likewise.
24005 * math/w_acoshl.c: Likewise.
24006 * math/w_acosl.c: Likewise.
24007 * math/w_asin.c: Likewise.
24008 * math/w_asinf.c: Likewise.
24009 * math/w_asinl.c: Likewise.
24010 * math/w_atan2.c: Likewise.
24011 * math/w_atan2f.c: Likewise.
24012 * math/w_atan2l.c: Likewise.
24013 * math/w_atanh.c: Likewise.
24014 * math/w_atanhf.c: Likewise.
24015 * math/w_atanhl.c: Likewise.
24016 * math/w_cosh.c: Likewise.
24017 * math/w_coshf.c: Likewise.
24018 * math/w_coshl.c: Likewise.
24019 * math/w_dremf.c: Likewise.
24020 * math/w_exp10.c: Likewise.
24021 * math/w_exp10f.c: Likewise.
24022 * math/w_exp10l.c: Likewise.
24023 * math/w_exp2.c: Likewise.
24024 * math/w_exp2f.c: Likewise.
24025 * math/w_fmod.c: Likewise.
24026 * math/w_fmodf.c: Likewise.
24027 * math/w_fmodl.c: Likewise.
24028 * math/w_hypot.c: Likewise.
24029 * math/w_hypotf.c: Likewise.
24030 * math/w_hypotl.c: Likewise.
24031 * math/w_j0.c: Likewise.
24032 * math/w_j0f.c: Likewise.
24033 * math/w_j0l.c: Likewise.
24034 * math/w_j1.c: Likewise.
24035 * math/w_j1f.c: Likewise.
24036 * math/w_j1l.c: Likewise.
24037 * math/w_jn.c: Likewise.
24038 * math/w_jnf.c: Likewise.
24039 * math/w_jnl.c: Likewise.
24040 * math/w_lgamma.c: Likewise.
24041 * math/w_lgamma_r.c: Likewise.
24042 * math/w_lgammaf.c: Likewise.
24043 * math/w_lgammaf_r.c: Likewise.
24044 * math/w_lgammal.c: Likewise.
24045 * math/w_lgammal_r.c: Likewise.
24046 * math/w_log.c: Likewise.
24047 * math/w_log10.c: Likewise.
24048 * math/w_log10f.c: Likewise.
24049 * math/w_log10l.c: Likewise.
24050 * math/w_log2.c: Likewise.
24051 * math/w_log2f.c: Likewise.
24052 * math/w_log2l.c: Likewise.
24053 * math/w_logf.c: Likewise.
24054 * math/w_logl.c: Likewise.
24055 * math/w_pow.c: Likewise.
24056 * math/w_powf.c: Likewise.
24057 * math/w_powl.c: Likewise.
24058 * math/w_remainder.c: Likewise.
24059 * math/w_remainderf.c: Likewise.
24060 * math/w_remainderl.c: Likewise.
24061 * math/w_scalb.c: Likewise.
24062 * math/w_scalbf.c: Likewise.
24063 * math/w_scalbl.c: Likewise.
24064 * math/w_sinh.c: Likewise.
24065 * math/w_sinhf.c: Likewise.
24066 * math/w_sinhl.c: Likewise.
24067 * math/w_sqrt.c: Likewise.
24068 * math/w_sqrtf.c: Likewise.
24069 * math/w_sqrtl.c: Likewise.
24070 * math/w_tgamma.c: Likewise.
24071 * math/w_tgammaf.c: Likewise.
24072 * math/w_tgammal.c: Likewise.
24073
6a621eb7
UD
24074 * po/ja.po: Update from translation team.
24075
bf582445
AJ
240762011-09-29 Andreas Jaeger <aj@suse.de>
24077
f9efbf3a
AJ
24078 [BZ #13179]
24079 * sunrpc/netname.c (netname2host): Fix logic.
24080
bf582445
AJ
24081 [BZ #6779]
24082 [BZ #6783]
24083 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24084 correctly.
24085 * math/w_remainder.c (__remainder): Likewise.
24086 * math/w_remainderf.c (__remainderf): Likewise.
24087 * math/libm-test.inc (remainder_test): Add test cases.
24088
48693bea
AK
240892011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24090
24091 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24092 sdiv_qrnnd.
24093
42622229
LD
240942011-10-07 Ulrich Drepper <drepper@gmail.com>
24095
24096 * string/test-memcmp.c: Avoid unncessary #defines.
24097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24098
093ecf92
LD
240992011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24100
24101 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24102 Use new sse2 version for core i3 - i7 as it's faster
24103 than sse42 version.
24104 (bit_Prefer_PMINUB_for_stringop): New.
24105 * sysdeps/x86_64/rawmemchr.S: Update.
24106 Replace with faster SSE2 version.
24107 * sysdeps/x86_64/memrchr.S: New file.
24108 * sysdeps/x86_64/memchr.S: Update.
24109 Replace with faster SSE2 version.
24110
fde56e5c
MP
241112011-09-12 Marek Polacek <mpolacek@redhat.com>
24112
24113 * elf/dl-load.c (lose): Add cast to avoid warning.
24114
21fd49a9
UD
241152011-10-07 Ulrich Drepper <drepper@gmail.com>
24116
5a06e643
UD
24117 * po/ca.po: Update from translation team.
24118
684ae515
UD
24119 * inet/getnetgrent_r.c: Hook up nscd.
24120 * nscd/Makefile (routines): Add nscd_netgroup.
24121 (nscd-modules): Add netgroupcache.
24122 (CFLAGS-netgroupcache.c): Define.
24123 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24124 (cache_search): Add const to second parameter.
24125 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24126 INNETGR.
24127 (dbs): Add netgrdb entry.
24128 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24129 (verify_persistent_db): Handle netgrdb.
24130 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24131 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24132 GETFDNETGR.
24133 (netgroup_response_header): Define.
24134 (innetgroup_response_header): Define.
24135 (datahead): Add netgroup_response_header and innetgroup_response_header
24136 elements.
24137 * nscd/nscd.conf: Add entries for netgroup cache.
24138 * nscd/nscd.h (dbtype): Add netgrdb.
24139 (_PATH_NSCD_NETGROUP_DB): Define.
24140 (netgroup_iov_disabled): Declare.
24141 (xmalloc, xcalloc, xrealloc): Move declarations here.
24142 (cache_search): Adjust prototype.
24143 Add netgroup-related prototypes.
24144 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24145 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24146 (__nscd_innetgr): Declare.
24147 * nscd/selinux.c (perms): Use access_vector_t as element type and
24148 add netgroup-related initializers.
24149 * nscd/netgroupcache.c: New file.
24150 * nscd/nscd_netgroup.c: New file.
24151 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24152 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24153 For four parameters use innetgr.
24154 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24155 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24156 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24157 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24158
21fd49a9
UD
24159 * nscd/connections.c (register_traced_file): Don't register file
24160 for disabled databases.
24161
054c0457
UD
241622011-10-06 Ulrich Drepper <drepper@gmail.com>
24163
32b63198
UD
24164 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24165
054c0457
UD
24166 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24167 from tree and freeing node.
24168
64031225
JO
241692011-09-25 Jiri Olsa <jolsa@redhat.com>
24170
24171 * nss/nsswitch.c (__nss_database_lookup): Handle
24172 nss_parse_service_list out of memory case.
24173
0490345c
JO
241742011-09-15 Jiri Olsa <jolsa@redhat.com>
24175
24176 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24177 out of memory case.
24178
3a62d00d
AS
241792011-10-04 Andreas Schwab <schwab@redhat.com>
24180
24181 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24182 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24183 pass it down.
24184 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24185 elf_machine_rela, elf_machine_lazy_rel.
24186 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24187 (ELF_DYNAMIC_DO_REL): Likewise.
24188 (ELF_DYNAMIC_DO_RELA): Likewise.
24189 (ELF_DYNAMIC_RELOCATE): Likewise.
24190 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24191 to ELF_DYNAMIC_DO_REL.
24192 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24193 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24194 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24195 elf_machine_rela.
24196 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24197 skip_ifunc, don't call ifunc function if non-zero.
24198 (elf_machine_rela): Likewise.
24199 (elf_machine_lazy_rel): Likewise.
24200 (elf_machine_lazy_rela): Likewise.
24201 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24202 (elf_machine_lazy_rel): Likewise.
24203 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24204 Likewise.
24205 (elf_machine_lazy_rel): Likewise.
24206 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24207 Likewise.
24208 (elf_machine_lazy_rel): Likewise.
24209 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24210 (elf_machine_lazy_rel): Likewise.
24211 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24212 (elf_machine_lazy_rel): Likewise.
24213 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24214 (elf_machine_lazy_rel): Likewise.
24215 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24216 (elf_machine_lazy_rel): Likewise.
24217 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24218 (elf_machine_lazy_rel): Likewise.
24219 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24220 (elf_machine_lazy_rel): Likewise.
24221
68577918
UD
242222011-09-28 Ulrich Drepper <drepper@gmail.com>
24223
24224 * nss/nss_files/files-init.c (_nss_files_init): Use static
24225 initialization for all the *_traced_file variables.
24226
68822d74
AS
242272011-09-28 Andreas Schwab <schwab@redhat.com>
24228
24229 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24230
2056100b
RM
242312011-09-27 Roland McGrath <roland@hack.frob.com>
24232
24233 [BZ #13226]
24234 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24235
32c76b63
AS
242362011-09-27 Andreas Schwab <schwab@redhat.com>
24237
24238 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24239 Reread the line before reparsing it.
24240
bf972c9d
AS
242412011-09-26 Andreas Schwab <schwab@redhat.com>
24242
24243 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24244
e057a1b5
JM
242452011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24246 Maxim Kuvyrkov <maxim@codesourcery.com>
24247 Joseph Myers <joseph@codesourcery.com>
24248
24249 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24250 if needed for __stack_chk_guard.
24251
bc7e1c36
RM
242522011-09-19 Roland McGrath <roland@hack.frob.com>
24253
ecb1482f
RM
24254 * sysdeps/posix/spawni.c (script_execute): Always define it.
24255 It will be optimized away if unused.
24256 (maybe_script_execute): New function.
24257 (__spawni): Call it.
24258
bc7e1c36
RM
24259 * Makerules: Don't include tls.make.
24260 (config-tls): Always set to thread.
24261 * tls.make.c: File removed.
24262
1c3b002b
MF
242632011-09-19 Mike Frysinger <vapier@gentoo.org>
24264
24265 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24266 * config.make.in (CPPFLAGS-config): New substituted variable.
24267
2840865d
UD
242682011-09-15 Ulrich Drepper <drepper@gmail.com>
24269
88738eb6
UD
24270 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24271
cbf645a6 24272 [BZ #13192]
2840865d
UD
24273 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24274 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24275
b402e91a
RM
242762011-09-15 Roland McGrath <roland@hack.frob.com>
24277
24278 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24279 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24281 (CALL_FAIL): Likewise.
24282 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24283 (CALL_FAIL): Macro removed.
24284 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24285
4c1a1f71
UD
242862011-09-15 Ulrich Drepper <drepper@gmail.com>
24287
24288 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24289 for __FINITE_MATH_ONLY__ == 1.
24290
edc121be
AS
242912011-09-15 Andreas Schwab <schwab@redhat.com>
24292
24293 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24294 __ieee754_sqrt instead of sqrt.
24295 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24296 __ieee754_sqrtf instead of sqrtf.
24297 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24298 __floorf instead of floorf.
24299 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24300 __floorf, __truncf instead of floorf, truncf.
24301
cd205654
UD
243022011-09-14 Ulrich Drepper <drepper@gmail.com>
24303
ee4d0315
UD
24304 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24305
cd205654
UD
24306 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24307 __extern_always_inline.
24308 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24309 32-bit.
24310
48b67d71
AS
243112011-09-14 Andreas Schwab <schwab@redhat.com>
24312
24313 * elf/rtld.c (dl_main): Also relocate in dependency order when
24314 doing symbol dependency testing.
24315
1ae12c75
AS
243162011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24317
24318 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24319 Always define `refsym'.
24320
995a80df
AS
243212011-09-13 Andreas Schwab <schwab@redhat.com>
24322
e529793b
AS
24323 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24324 (__FD_ELT): Renamed from __FDELT.
24325 * misc/bits/select2.h (__FD_ELT): Likewise.
24326 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24327 __FD_MASK instead of __FDELT, __FDMASK.
24328 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24329 Likewise.
24330 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24331 Likewise.
24332
52d4fef8
AS
24333 * elf/Makefile (gen-ldd): Fix pattern.
24334
995a80df
AS
24335 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24336 (init_tls): Likewise.
24337
8682f8b0
UD
243382011-09-12 Ulrich Drepper <drepper@gmail.com>
24339
24340 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24341
de82006d
AS
243422011-09-12 Andreas Schwab <schwab@redhat.com>
24343
a7c8e6a1
AS
24344 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24345 `struct cmsghdr *' instead of `void *'.
24346 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24347 Likewise.
24348
0f31fe77
AS
243492011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24350
24351 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24352 if non-absolute.
24353 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24354 ldd_rewrite_script.
0f31fe77 24355
32b4c839
UD
243562011-09-11 Ulrich Drepper <drepper@gmail.com>
24357
83cd1420
UD
24358 * configure.in: Remove --with-tls option.
24359 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24360 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24361 out in case it is missing.
24362 * sysdeps/ia64/elf/configure.in: Likewise.
24363 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24364 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24365 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24366 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24367 * sysdeps/sh/elf/configure.in: Likewise.
24368 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24369 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24370 * sysdeps/x86_64/elf/configure.in: Likewise.
24371 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24372 * sysdeps/mach/hurd/tls.h: Likewise.
24373
633f745d
UD
24374 [BZ #13067]
24375 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24376
f318beb8
UD
24377 [BZ #13090]
24378 * configure.in: Fix use of AC_INIT.
24379
32b4c839
UD
24380 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24381
3ce1f295
UD
243822011-09-10 Ulrich Drepper <drepper@gmail.com>
24383
bb016596
UD
24384 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24385 __set_errno.
8e58439c
UD
24386 * malloc/hooks.c: Likewise.
24387
aebae053 24388 [BZ #11929]
02d46fc4
UD
24389 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24390 variables statically.
24391 (narenas): Initialize.
24392 (list_lock): Initialize.
bb016596
UD
24393 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24394 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24395 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24396 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24397 Add initializers to main_arena and mp_.
24398 (malloc_state): Remove pagesize member. Change all users to use
24399 GLRO(dl_pagesize).
24400
24401 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24402 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24403 is always initialized.
24404
22a89187
UD
24405 * malloc/malloc.c: Removed unused configurations and dead code.
24406 * malloc/arena.c: Likewise.
24407 * malloc/hooks.c: Likewise.
02d46fc4 24408 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24409
d063d164
UD
24410 * include/tls.h: Removed. USE___THREAD must always be defined.
24411 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24412 * elf/dl-libc.c: Likewise.
24413 * elf/dl-tsd.c: Likewise.
24414 * include/errno.h: Likewise.
24415 * include/netdb.h: Likewise.
24416 * include/resolv.h: Likewise.
24417 * inet/herrno-loc.c: Likewise.
24418 * inet/herrno.c: Likewise.
24419 * malloc/arena.c: Likewise.
24420 * malloc/hooks.c: Likewise.
24421 * malloc/malloc.c: Likewise.
24422 * resolv/res-state.c: Likewise.
24423 * resolv/res_libc.c: Likewise.
24424 * sysdeps/i386/dl-machine.h: Likewise.
24425 * sysdeps/ia64/dl-machine.h: Likewise.
24426 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24427 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24428 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24429 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24430 * sysdeps/sh/dl-machine.h: Likewise.
24431 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24432 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24433 * sysdeps/unix/i386/sysdep.S: Likewise.
24434 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24435 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24436 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24437 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24438 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24439 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24440 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24441 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24442 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24444 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24445 * sysdeps/x86_64/dl-machine.h: Likewise.
24446 * tls.make.c: Likewise.
24447
3ce1f295
UD
24448 * configure.in: Remove --with-__thread option. Make tests for
24449 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24450 tls_model attribute fail if no support is available. Remove
24451 USE_IN_LIBIO.
24452 * Makeconfig: Adjust for dropped configure option. All features are
24453 now mandatory.
24454 * Makerules: Likewise.
24455 * Versions.def: Likewise.
24456 * argp/argp-fmtstream.c: Likewise.
24457 * argp/argp-fmtstream.h: Likewise.
24458 * argp/argp-help.c: Likewise.
24459 * assert/assert.c: Likewise.
24460 * config.h.in: Likewise.
24461 * config.make.in: Likewise.
24462 * configure: Likewise.
24463 * configure.in: Likewise.
24464 * csu/Versions: Likewise.
24465 * csu/init.c: Likewise.
24466 * elf/tst-audit2.c: Likewise.
24467 * elf/tst-tls10.c: Likewise.
24468 * elf/tst-tls10.h: Likewise.
24469 * elf/tst-tls11.c: Likewise.
24470 * elf/tst-tls12.c: Likewise.
24471 * elf/tst-tls14.c: Likewise.
24472 * elf/tst-tlsmod11.c: Likewise.
24473 * elf/tst-tlsmod12.c: Likewise.
24474 * elf/tst-tlsmod13.c: Likewise.
24475 * elf/tst-tlsmod13a.c: Likewise.
24476 * elf/tst-tlsmod14a.c: Likewise.
24477 * elf/tst-tlsmod15b.c: Likewise.
24478 * elf/tst-tlsmod16a.c: Likewise.
24479 * elf/tst-tlsmod16b.c: Likewise.
24480 * elf/tst-tlsmod7.c: Likewise.
24481 * elf/tst-tlsmod8.c: Likewise.
24482 * elf/tst-tlsmod9.c: Likewise.
24483 * gmon/gmon.c: Likewise.
24484 * grp/fgetgrent_r.c: Likewise.
24485 * grp/putgrent.c: Likewise.
24486 * hurd/fopenport.c: Likewise.
24487 * include/libc-symbols.h: Likewise.
24488 * include/tls.h: Likewise.
24489 * intl/gettextP.h: Likewise.
24490 * intl/loadinfo.h: Likewise.
24491 * locale/global-locale.c: Likewise.
24492 * locale/localeinfo.h: Likewise.
24493 * mach/devstream.c: Likewise.
24494 * malloc/arena.c: Likewise.
24495 * malloc/set-freeres.c: Likewise.
24496 * misc/err.c: Likewise.
24497 * misc/getttyent.c: Likewise.
24498 * misc/mntent_r.c: Likewise.
24499 * posix/getopt.c: Likewise.
24500 * posix/wordexp.c: Likewise.
24501 * pwd/fgetpwent_r.c: Likewise.
24502 * resolv/Versions: Likewise.
24503 * resolv/res_hconf.c: Likewise.
24504 * shadow/fgetspent_r.c: Likewise.
24505 * shadow/putspent.c: Likewise.
24506 * stdio-common/printf_fphex.c: Likewise.
24507 * stdio-common/tmpfile.c: Likewise.
24508 * stdlib/abort.c: Likewise.
24509 * stdlib/fmtmsg.c: Likewise.
24510 * sunrpc/auth_unix.c: Likewise.
24511 * sunrpc/clnt_perr.c: Likewise.
24512 * sunrpc/clnt_tcp.c: Likewise.
24513 * sunrpc/clnt_udp.c: Likewise.
24514 * sunrpc/clnt_unix.c: Likewise.
24515 * sunrpc/openchild.c: Likewise.
24516 * sunrpc/svc_simple.c: Likewise.
24517 * sunrpc/svc_tcp.c: Likewise.
24518 * sunrpc/svc_udp.c: Likewise.
24519 * sunrpc/svc_unix.c: Likewise.
24520 * sunrpc/xdr.c: Likewise.
24521 * sunrpc/xdr_array.c: Likewise.
24522 * sunrpc/xdr_rec.c: Likewise.
24523 * sunrpc/xdr_ref.c: Likewise.
24524 * sunrpc/xdr_stdio.c: Likewise.
24525
1248c1c4
PB
245262011-09-09 Ulrich Drepper <drepper@gmail.com>
24527
24528 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24529
245302011-07-03 Andreas Jaeger <aj@suse.de>
24531
24532 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24533 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24534 regenerate with gen-libm-tests.pl.
24535
245362010-05-12 Petr Baudis <pasky@suse.cz>
24537
24538 [BZ #11589]
24539 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24540 around j0() zero points by switching to j1().
24541 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24545
f22e1074
UD
245462011-09-09 Ulrich Drepper <drepper@gmail.com>
24547
f19009c1
UD
24548 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24549 instead of 0.
24550 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24551 instead of 0.
f19009c1
UD
24552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24553 Patch in part by Pavel Roskin <proski@gnu.org>.
24554
3f8cc204
UD
24555 [BZ #13138]
24556 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24557 realloc.
24558 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24559 Free memory block if necessary.
24560
f22e1074
UD
24561 [BZ #12847]
24562 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24563 be NULL. Don't lock in this case.
24564
0a2349f9
RM
245652011-09-09 Roland McGrath <roland@hack.frob.com>
24566
24567 * elf/elf.h (ELFOSABI_GNU): New macro.
24568 (ELFOSABI_LINUX): Define to that.
24569
f3cdd467
DZ
245702011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24571
24572 * string/strncat.c (strncat): Undef the symbol in case it has been
24573 defined in bits/string.h.
24574
74718d13
UD
245752011-09-09 Ulrich Drepper <drepper@gmail.com>
24576
633e9e0f
UD
24577 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24578
0a2349f9 24579 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24580 link map.
24581
f9924780
AJ
245822011-08-17 Andreas Jaeger <aj@suse.de>
24583
24584 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24585
7f5517aa
PP
245862011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24587 Ian Lance Taylor <iant@google.com>
24588
24589 * math/libm-test.inc (lround_test): New testcase.
24590 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24591
762011fe
UD
245922011-09-08 Ulrich Drepper <drepper@gmail.com>
24593
92963737
UD
24594 * Makefile: Remove support for automatic cvs check-ins.
24595 * Makerules: Likewise.
24596 * config.make.in: Likewise.
24597 * configure.in: Likewise.
24598 * intl/Makefile: Likewise.
24599 * locale/Makefile: Likewise.
24600 * po/Makefile: Likewise.
24601 * posix/Makefile: Likewise.
24602 * sysdeps/gnu/Makefile: Likewise.
24603 * sysdeps/mach/hurd/Makefile: Likewise.
24604 * sysdeps/sparc/sparc32/Makefile: Likewise.
24605
b0727fd8
JS
24606 [BZ #13118]
24607 * posix/Makefile (bug-regex32-ENV): Define.
24608 Patch by John Stanley <jpsinthemix@verizon.net>.
24609
a0f33f99
UD
24610 * misc/Makefile (headers): Add bits/select2.h.
24611 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24612 * misc/bits/select2.h: New file.
24613 * include/bits/select2.h: New file.
24614 * debug/Makefile (routines): Add fdelt_chk.
24615 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24616 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24617 FD_ISSET.
24618 * debug/fdelt_chk.c: New file.
24619
762011fe
UD
24620 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24621 * wcsmbs/test-wmemcmp.c: Likewise.
24622 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24623 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24624
246252011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24626
24627 * string/Makefile (strop-tests): Add memcmp.
24628 * string/test-wmemcmp.c: New file.
24629 * string/test-memcmp.c: Add wmemcmp support.
24630
7f513ec8
RM
246312011-09-08 Roland McGrath <roland@hack.frob.com>
24632
0442afb4
RM
24633 [BZ #13153]
24634 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24635 2011-07-19 change.
24636
7f513ec8
RM
24637 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24638 garbage value in a __mach_port_mod_refs call in the cases of the
24639 task-self and thread-self ports.
24640
a12b2239
ST
246412011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24642
24643 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24644
610f9ab4
AS
246452011-09-08 Andreas Schwab <schwab@redhat.com>
24646
7f513ec8 24647 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24648
48882a1a
LD
246492011-09-07 Ulrich Drepper <drepper@gmail.com>
24650
b49865be
UD
24651 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24652
fdc86bc9
UD
24653 * elf/dl-libc.c (dlerror_run): Pass back error code from
24654 dl_catch_error.
24655
c966526a
UD
24656 [BZ #13123]
24657 * elf/dl-load.c (lose): Free l_origin if it is valid.
24658
48882a1a
LD
24659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24660 names.
24661 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24662 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24663 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24664 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24665 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24666 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24667
77a2a8b4
AZ
246682011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24669
24670 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24671 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24672 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24673 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24674 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24675 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24676 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24677 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24678 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24679 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24680
24f579d8
AM
246812011-08-15 Alan Modra <amodra@gmail.com>
24682
24683 [BZ #13092]
24684 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24685 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24686 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24687 ppc_mcount to static-only-routines.
24688 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24689 __mcount_internal.
24690 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24691 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24692
3d4837df
UD
246932011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24694
24695 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24696 for finite and infinity parameters.
24697
22700377
WS
246982011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24699
24700 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24701 and add nop instructions for throughput optimization.
24702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24703
5025581e
WS
247042011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24705
24706 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24707 aligned copy for power7 with vector-scalar instructions.
24708 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24709
08a300c9
L
247102011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24711
24712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24713 AVX check.
24714
59178ef9
AS
247152011-09-07 Andreas Schwab <schwab@redhat.com>
24716
24717 [BZ #13144]
24718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24719 last change.
24720
e38ba7ab
UD
247212011-09-07 Ulrich Drepper <drepper@gmail.com>
24722
24723 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24724 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24725 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24726 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24727 clock_gettime.
24728
d53a73ac
UD
247292011-09-06 Ulrich Drepper <drepper@gmail.com>
24730
fc8bffcc
UD
24731 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24732 Forgot to demangle the pointer.
24733
ceaa0c5d
UD
24734 * sysdeps/i386/sysdep.h: Define atom_text_section.
24735 * sysdeps/x86_64/sysdep.h: Likewise.
24736 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24737 section with atom_text_section.
24738 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24739 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24740 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24741 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24743
a77d3c17
UD
24744 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24745 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24746 already be defined. Change to take two parameters and don't assign
24747 result to variable. Adjust all users.
24748 Define INTERNAL_GETTIME if not already defined.
24749 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24750 call.
24751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24752 HAVE_CLOCK_GETTIME_VSYSCALL.
24753 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24754
d53a73ac
UD
24755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24756 gettimeofday vsyscall, just use time.
24757
a8f84144
AS
247582011-09-06 Andreas Schwab <schwab@redhat.com>
24759
24760 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24761 <errno.h>.
24762
ef606249
UD
247632011-09-06 Ulrich Drepper <drepper@gmail.com>
24764
24765 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24766 syscall on x86-64.
24767 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24768 syscall.
24769 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24770 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24771 syscall if possible.
24772
6585cb60
UD
247732011-09-05 Ulrich Drepper <drepper@gmail.com>
24774
24775 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24776 e_ident. Don't pass to find_mapsXX.
24777 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24778
a5f524e4
LD
247792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24780
24781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24782 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24783 * sysdeps/x86_64/multiarch/strchr.S: Update.
24784 Check bit_slow_BSF bit.
24785 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24786 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24787 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24788
554881ef
UD
247892011-09-05 Ulrich Drepper <drepper@gmail.com>
24790
d96de963
UD
24791 [BZ #13134]
24792 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24793 before glibc 2.15.
24794 (tryshell): Define.
24795 (__spawni): Change last parameter to be flag. Test
24796 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24797 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24798 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24799 * posix/spawni.c: Likewise.
24800 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24801 * posix/spawnp.c: Likewise. Change normal version to use
24802 SPAWN_XFLAGS_USE_PATH.
24803 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24804 SPAWN_XFLAGS_TRY_SHELL.
24805
d48e5868
UD
24806 [BZ #13150]
24807 * posix/glob.h: Remove gcc 1.x support.
24808
554881ef
UD
24809 [BZ #13068]
24810 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24811
693fb948
LD
248122011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24813
24814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24815 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24816 strrchr-sse2-bsf
24817 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24818 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24819 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24820 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24821 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24822 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24823
1b48c537
UD
248242011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24825
49d42c37
UD
24826 * sysdeps/x86_64/wcscmp.S: New file.
24827
1b48c537
UD
24828 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24829 wcscmp-c wcscmp-sse2
24830 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24831 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24832 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24833 * wcsmbs/wcscmp.c: Allow renaming.
24834
15c95c5d
DM
248352011-09-05 David S. Miller <davem@davemloft.net>
24836
24837 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24838 stack slot, rather than the struct return pointer slot.
24839 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24840 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24842 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24843
2f0ad8f3
UD
248442011-09-05 Ulrich Drepper <drepper@gmail.com>
24845
d88ae418
UD
24846 * po/ja.po: Update from translation team.
24847
2f0ad8f3
UD
24848 [BZ #13144]
24849 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24850 kernel in 64-bit binaries.
24851
5f4318d1
DM
248522011-09-01 David S. Miller <davem@davemloft.net>
24853
24854 * elf/elf.h (HWCAP_SPARC_*): Move to..
24855 * sysdeps/sparc/sysdep.h: this new file and add new values.
24856 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24857 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24858 _DL_HWCAP_COUNT to 24.
24859 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24860 entries.
24861 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24862 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24863 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24865 instead of magic constants.
24866 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24867
3ba57516
DM
248682011-08-31 David S. Miller <davem@davemloft.net>
24869
24870 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24872 Reimplement to do errno handling inline.
24873 (SYSCALL_ERROR_HANDLER): New macro.
24874 (__SYSCALL_STRING): Do not do errno handling in asm.
24875 (__CLONE_SYSCALL_STRING): Delete.
24876 (__INTERNAL_SYSCALL_STRING): Delete.
24877 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24878 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24879 (PSEUDO): Reimplement to do errno handling inline.
24880 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24881 (SYSCALL_ERROR_HANDLER): New macro.
24882 (__SYSCALL_STRING): Do not do errno handling in asm.
24883 (__CLONE_SYSCALL_STRING): Delete.
24884 (__INTERNAL_SYSCALL_STRING): Delete.
24885 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
24886 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
24887 i386.
24888 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
24889 (inline_syscall*): Add 'err' argument.
24890 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
24891 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
24892 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
24893 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
24894
24895 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
24896 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24897
2bc17433
AS
248982011-08-30 Andreas Schwab <schwab@redhat.com>
24899
24900 * elf/rtld.c (dl_main): Relocate objects in dependency order.
24901
fbeb5f4d
JO
249022011-08-29 Jiri Olsa <jolsa@redhat.com>
24903
24904 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
24905 directive.
24906
ad69cc26
DM
249072011-08-24 David S. Miller <davem@davemloft.net>
24908
24909 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
24910
39dd69df
AS
249112011-08-24 Andreas Schwab <schwab@redhat.com>
24912
24913 * elf/Makefile: Add rules to build and run unload8 test.
24914 * elf/unload8.c: New file.
24915 * elf/unload8mod1.c: New file.
24916 * elf/unload8mod1x.c: New file.
24917 * elf/unload8mod2.c: New file.
24918 * elf/unload8mod3.c: New file.
24919
24920 * elf/dl-close.c (_dl_close_worker): Reset private search list if
24921 it wasn't used.
24922
2c0b250a
DM
249232011-08-23 David S. Miller <davem@davemloft.net>
24924
24925 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
24926 subtract stack bias.
24927 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
24928 %sp not %fp in calculations.
24929 (_JMPBUF_UNWINDS_ADJ): Likewise.
24930
22044b48
DM
24931 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
24932 (aio_suspend): Call it to force an exception region around the
24933 AIO_MISC_WAIT() invocation.
24934
2cae4995
AS
249352011-08-23 Andreas Schwab <schwab@redhat.com>
24936
24937 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
24938 backslash.
24939
873a772e
AJ
249402011-07-04 Aurelien Jarno <aurelien@aurel32.net>
24941
24942 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
24943 protection macro.
24944 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
24945 and <dl-machine.h>.
24946 (Elf64_FuncDesc): Remove.
24947
25ad0df1
DM
249482011-08-22 David S. Miller <davem@davemloft.net>
24949
24950 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
24951 sigaltstack check, add missing cfi directives.
24952 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
24953 missing cfi directives, and sigaltstack handling.
24954
e888bcbe
AS
249552011-08-16 Andreas Schwab <schwab@redhat.com>
24956
24957 [BZ #11724]
24958 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
24959 object is seen twice.
24960 * elf/dl-fini.c (_dl_sort_fini): Likewise.
24961
24962 * elf/Makefile (distribute): Add tst-initorder2.c.
24963 (tests): Add tst-initorder2.
24964 (modules-names): Add tst-initorder2a tst-initorder2b
24965 tst-initorder2c tst-initorder2d. Add rules to build them.
24966 ($(objpfx)tst-initorder2.out): New rule.
24967 * elf/tst-initorder2.c: New file.
24968 * elf/tst-initorder2.exp: New file.
24969
87162f46
AS
249702011-08-22 Andreas Schwab <schwab@redhat.com>
24971
70538b7f
AS
24972 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
24973
f55ffe58
AS
24974 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
24975 dependencies back to end of function.
24976
87162f46
AS
24977 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
24978 $(elfobjdir)/ld.so.
24979
91b392a4
UD
249802011-08-21 Ulrich Drepper <drepper@gmail.com>
24981
24982 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
24983 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
24984 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
24985 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
24986 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
24987 of __vdso_gettimeofday.
24988 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
24989 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
24990 attribute_hidden.
24991 (_libc_vdso_platform_setup): Remove initialization of
24992 __vdso_gettimeofday and __vdso_time.
24993
5c43483f
UD
249942011-08-20 Ulrich Drepper <drepper@gmail.com>
24995
775a77e7
UD
24996 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
24997 and fgetc_unlocked.
24998 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
24999 getc_unlocked.
89f447ed 25000
49c74ba9
UD
25001 * elf/dl-open.c (add_to_global): Report additions to the global scope
25002 for LD_DEBUG=scopes.
25003 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25004 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25005
5c43483f
UD
25006 [BZ #13114]
25007 * stdio-common/Makefile (tests): Add bug24.
25008 * stdio-common/bug24.c: New file.
25009
a101b025
AJ
250102011-08-19 Andreas Jaeger <aj@suse.de>
25011
25012 [BZ #13114]
25013 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25014 non-existant file when using close-on-exec mode.
25015
c88f1766
UD
250162011-08-20 Ulrich Drepper <drepper@gmail.com>
25017
0276a718
UD
25018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25019 the very first instruction.
25020
c88f1766
UD
25021 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25022 the CFI state in the end.
25023 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25024 inclusion of dl-trampoline.h.
25025 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25026
51ccffa0
AS
250272011-08-19 Andreas Schwab <schwab@redhat.com>
25028
94d7165f
AS
25029 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25030 expectations for long double.
25031
51ccffa0
AS
25032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25033 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25034
fd708658 250352011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25036
25037 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25038 artificual limit depends upon the system page size.
25039
44f0a71e
UD
250402011-08-17 Ulrich Drepper <drepper@gmail.com>
25041
25042 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25043 * resolv/Makefile: Define CFLAGS-libresolv.
25044
8de79a24
AS
250452011-08-17 Andreas Schwab <schwab@redhat.com>
25046
25047 * nss/makedb.c (compute_tables): Make variables used in nested
25048 function static.
25049
27724598
UD
250502011-08-17 Ulrich Drepper <drepper@gmail.com>
25051
c5305d88
UD
25052 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25053 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25054 if buffer was too small.
25055
27724598
UD
25056 * elf/pldd.c (main): Attach to all threads in the process.
25057 Rewrite /proc handling to use *at functions.
25058
076fe015
UD
250592011-08-16 Ulrich Drepper <drepper@gmail.com>
25060
174baab3
UD
25061 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25062 specifies first scope to show.
25063 (dl_open_worker): Update callers. Move printing scope of new
25064 object to before the relocation.
44f0a71e 25065 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25066 * sysdeps/generic/ldsodefs.h: Update declaration.
25067
076fe015
UD
25068 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25069 string for the scope number.
25070
a60df2c3
UD
250712011-08-14 Ulrich Drepper <drepper@gmail.com>
25072
25073 * nscd/servicescache.c (cache_addserv): Make sure written is always
25074 initialized.
25075
5e4287d1
RM
250762011-08-14 Roland McGrath <roland@hack.frob.com>
25077
85ae0589
RM
25078 * sysdeps/i386/i486/bits/atomic.h
25079 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25080 statement expression, so as to suppress "set but not used" warning.
25081 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25082
69f63097
RM
25083 * string/strncat.c (STRNCAT): Use prototype definition.
25084
675456ef
RM
25085 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25086 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25087 -Iprograms here.
25088 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25089 (localedef-modules): Add localedef.
25090 (locale-modules): Add locale.
25091
5e4287d1
RM
25092 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25093 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25094 to avoid a warning.
25095
9c96ff23
DM
250962011-08-14 David S. Miller <davem@davemloft.net>
25097
25098 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25099 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25100
f9ddf089
UD
251012011-08-13 Ulrich Drepper <drepper@gmail.com>
25102
44f0a71e 25103 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25104 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25105 * elf/rtld.c (dl_main): Set l_name of vDSO.
25106 Call _dl_show_scope when DL_DEBUG_SCOPES.
25107 (process_dl_debug): Recognize scopes flag and also set it for all.
25108 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25109 Declare _dl_show_scope.
25110
1dc27704
UD
25111 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25112 (do_dlopen): Pass caller_dlopen to dl_open.
25113 (__libc_dlopen_mode): Initialize caller_dlopen.
25114
f9ddf089
UD
25115 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25116 of libc. Make tolower call locale-independent. Optimize a bit by
25117 using isdigit instead of isalnum.
25118 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25119
9ac533d3
UD
251202011-08-12 Ulrich Drepper <drepper@gmail.com>
25121
25122 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25123 was a dependency or dynamically loaded.
25124
89edf2e9
UD
251252011-08-11 Ulrich Drepper <drepper@gmail.com>
25126
8e999d29
UD
25127 * intl/l10nflist.c: Allow architecture-specific pop function.
25128 * sysdeps/x86_64/l10nflist.c: New file.
25129
89edf2e9
UD
25130 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25131 classification.
25132
14d96785
AS
251332011-08-10 Andreas Schwab <schwab@redhat.com>
25134
25135 * include/dirent.h: Add libc_hidden_proto for scandirat and
25136 scandirat64. Don't declare __scandirat64.
25137 * dirent/scandirat.c: Add libc_hidden_def.
25138 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25139 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25140
6761ac04
DM
251412011-08-10 David S. Miller <davem@davemloft.net>
25142
25143 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25144 enum.
25145 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25146 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25147 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25148
c55fbd1e
UD
251492011-08-09 Ulrich Drepper <drepper@gmail.com>
25150
25151 * Versions.def [libc]: Add GLIBC_2.15.
25152 * dirent/Makefile (routines): Add scandirat and scandirat64.
25153 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25154 GLIBC_2.15.
25155 * dirent/dirent.h: Declare scandirat and scandirat64.
25156 * dirent/scandirat.c: New file.
25157 * dirent/scandirat64.c: New file.
25158 * sysdeps/wordsize-64/scandirat.c: New file.
25159 * sysdeps/wordsize-64/scandirat64.c: New file.
25160 * dirent/opendir.c: Define opendirat.
25161 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25162 using scandirat.
25163 * dirent/scandir64.c: Adjust for scandir.c change.
25164 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25165 __scandirat64, and __scandir_cancel_handler.
25166 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25167 additional parameter and use openat instead of open (outside of ld.so).
25168 Add new __opendir as wrapper around __opendirat.
25169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25170 here without requiring old scandirat implementation.
25171
879165f2
UD
251722011-08-08 Ulrich Drepper <drepper@gmail.com>
25173
25174 * dirent/scandir.c (cancel_handler): Renamed to
25175 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25176 defined. Adjust users.
25177 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25178 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25179
cb7e923b
UD
251802011-08-04 Ulrich Drepper <drepper@gmail.com>
25181
16292edd
UD
25182 * string/test-string.h (IMPL): Use __STRING to expand name and then
25183 stringify it.
25184
cb7e923b
UD
25185 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25186 of cleanups.
25187
cff82933
LD
251882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25189
25190 * string/Makefile: Update.
25191 (strop-tests): Append strncat.
25192 * string/test-wcscmp.c: New file.
25193 New comprehensive test for wcscmp.
25194 * string/test-strcmp.c: Update.
25195 (WIDE): New define.
25196
9be9bfcc
AS
251972011-07-22 Andreas Schwab <schwab@redhat.com>
25198
25199 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25200 line.
25201
2e96f1c7
AS
252022011-07-26 Andreas Schwab <schwab@redhat.com>
25203
25204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25205 encoding to ACE if AI_IDN.
25206
85188888
JJ
252072011-08-01 Jakub Jelinek <jakub@redhat.com>
25208
25209 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25210 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25211
5fa16e9b
LD
252122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25213
25214 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25215 Fix overflow bug in strncat.
25216 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25217
25218 * string/test-strncat.c: Update.
25219 Add new tests for checking overflow bugs.
25220
252212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25222
25223 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25224 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25225 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25226 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25227 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25228 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25229 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25230 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25231 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25232
25233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25234 (USE_AS_STRCAT): Define.
25235 Add strcat and strncat support.
25236 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25237
8c1a459f
AS
252382011-07-25 Andreas Schwab <schwab@redhat.com>
25239
25240 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25241 __n bigger than INT_MAX+1.
25242 (__strncmp_g): Likewise.
25243
bba33c28
UD
252442011-07-23 Ulrich Drepper <drepper@gmail.com>
25245
798be72d
UD
25246 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25247 * libio/stido.h: Likewise.
25248
8accd4dc
UD
25249 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25250 (AF_NFC): Define.
25251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25252 (AF_NFC): Define.
25253
cbff0d96
UD
25254 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25255 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25257 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25258 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25259
9191c04a
UD
25260 [BZ #13021]
25261 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25262 installed.
25263
bba33c28
UD
25264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25265 typo.
25266 (_dl_x86_64_save_sse): Likewise.
25267
90f139dd
UD
252682011-07-22 Ulrich Drepper <drepper@gmail.com>
25269
1aae088a
UD
25270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25271 OSXSAVE.
25272 (_dl_x86_64_save_sse): Likewise.
25273
8e2045f5
UD
25274 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25275
90f139dd
UD
25276 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25277
1d002f25
AS
252782011-07-21 Andreas Schwab <schwab@redhat.com>
25279
25280 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25281 change.
25282 (_dl_x86_64_save_sse): Use correct AVX check.
25283
21137f89
UD
252842011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25285
25286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25287 bug in strncpy/strncat.
25288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25289
a65c0b7a
UD
252902011-07-21 Ulrich Drepper <drepper@gmail.com>
25291
25292 * string/tester.c (test_strcat): Add tests for different alignments
25293 of source and destination.
25294 (test_strncat): Likewise.
25295
6986b98a
UD
252962011-07-20 Ulrich Drepper <drepper@gmail.com>
25297
90bb2039
UD
25298 [BZ #12852]
25299 * posix/glob.c (glob): Check passed in values before using them in
25300 expressions to avoid some overflows.
25301 (glob_in_dir): Likewise.
25302
5644ef54
UD
25303 [BZ #13007]
25304 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25305 check for AVX enablement so that we don't crash with old kernels and
25306 new hardware.
25307 * elf/tst-audit4.c: Add same checks here.
25308 * elf/tst-audit6.c: Likewise.
25309
25310 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25311
bfc9dc9b
AS
253122011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25313
25314 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25315
702e64bb
UD
253162011-07-20 Ulrich Drepper <drepper@gmail.com>
25317
25318 * po/cs.po: Update from translation team.
25319 * po/bg.po: Likewise.
25320
295e904f
MP
253212011-07-12 Marek Polacek <mpolacek@redhat.com>
25322
25323 * misc/sys/cdefs.h: Add support for const attribute.
25324 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25325 to gnu_dev_{major,minor,makedev} functions.
25326
3ff94596
MP
253272011-07-20 Marek Polacek <mpolacek@redhat.com>
25328
25329 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25330
28b59fca
AS
253312011-07-20 Andreas Schwab <schwab@redhat.com>
25332
25333 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25334 strlen results.
25335
19df733e
AK
253362011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25337
25338 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25339 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25340 register in order to avoid conflicts with the soft frame pointer
25341 being held in r11 when necessary.
25342 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25343 (INTERNAL_VSYSCALL_NCS): Likewise.
25344
c8835729
MP
253452011-07-14 Marek Polacek <mpolacek@redhat.com>
25346
25347 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25348 * elf/dl-fini.c (_dl_fini): Adjust caller.
25349 * elf/dl-close.c (_dl_close_worker): Likewise.
25350 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25351
b902330c
MP
253522011-07-15 Marek Polacek <mpolacek@redhat.com>
25353
8991e135
MP
25354 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25355 "aux_cache->nlibs < 0".
25356
b902330c
MP
25357 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25358 in the reload-count case.
25359
99710781
LD
253602011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25361
25362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25363 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25364 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25365 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25366 * sysdeps/x86_64/multiarch/strcat.S: New file.
25367 * sysdeps/x86_64/multiarch/strncat.S: New file.
25368 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25369 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25370 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25371 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25372 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25373 (USE_AS_STRCAT): Define.
25374 Add strcat and strncat support.
25375 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25376 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25377 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25378 * string/strncat.c: Update.
25379 (USE_AS_STRNCAT): Define.
25380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25381 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25382 and i7.
25383 * sysdeps/x86_64/multiarch/init-arch.h
25384 (bit_Prefer_PMINUB_for_stringop): New.
25385 (index_Prefer_PMINUB_for_stringop): Likewise.
25386 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25387 bit_Prefer_PMINUB_for_stringop.
25388
7dc6bd90
UD
253892011-07-19 Ulrich Drepper <drepper@gmail.com>
25390
25391 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25392 buffer64.
25393 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25394 of casting of buffer.
25395 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25396 buffer32 and buffer64.
25397 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25398 writes instead of casting of buffer.
25399 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25400 buffer32.
25401 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25402 casting of buffer.
25403
e0e72284
AS
254042011-07-19 Andreas Schwab <schwab@redhat.com>
25405
25406 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25407
feb1eb0b
UD
254082011-07-19 Ulrich Drepper <drepper@gmail.com>
25409
25410 * nscd/nscd.c (termination_handler): Don't do anything for a database
25411 if it has not yet been initialized.
25412
298711ff
UD
254132011-07-18 Ulrich Drepper <drepper@gmail.com>
25414
25415 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25416
254172011-07-15 Marek Polacek <mpolacek@redhat.com>
25418
25419 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25420
f9d68389
UD
254212011-07-18 Ulrich Drepper <drepper@gmail.com>
25422
25423 * po/nl.po: Update from translation team.
25424 * po/sv.po: Likewise.
25425
db290cf5
RM
254262011-07-16 Roland McGrath <roland@hack.frob.com>
25427
25428 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25429 now disallowed by GCC.
5c550700 25430
fd5e21c7
RM
25431 * configure.in (use-default-link): Default to yes if a test -shared
25432 link meets our qualifications.
25433 * configure: Regenerated.
25434
5c550700
RM
25435 * config.make.in (output-format): New variable.
25436 * configure.in: Check for ld --print-output-format support.
25437 * configure: Regenerated.
25438 * Makerules ($(common-objpfx)format.lds)
25439 [$(output-format) != unknown]: Just use $(output-format),
25440 instead of the linker-script munging.
25441
9fa2c032
RM
254422011-07-14 Roland McGrath <roland@hack.frob.com>
25443
a6928d51
RM
25444 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25445 of $(common-objpfx)shlib.lds.
25446 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25447
661607b3
RM
25448 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25449 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25450
9fa2c032
RM
25451 * configure.in (-z relro check): Adjust test code to add a large
25452 writable data section after it.
25453 * configure: Regenerated.
25454
defe9061
RM
254552011-07-11 Roland McGrath <roland@hack.frob.com>
25456
25457 * configure.in (-z relro check): Fix test code to make the variable
25458 truly const.
25459 * configure: Regenerated.
25460
319b9ad4
UD
254612011-07-11 Ulrich Drepper <drepper@gmail.com>
25462
25463 * nscd/nscd.h (struct traced_file): Define.
25464 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25465 elements. Add traced_files.
25466 (inotify_fd): Declare.
25467 (register_traced_file): Declare.
25468 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25469 (inotify_fd): Export.
25470 (resolv_conf_descr): Remove.
25471 (nscd_init): Move inotify descriptor creation to main.
25472 Don't register files for notification here.
25473 (register_traced_file): New function.
25474 (invalidate_cache): Don't use reset_res to determine whether to call
25475 res_init, go through the list of registered files.
25476 (main_loop_poll): The inotify descriptors are now stored in the
25477 structures for the traced files.
25478 (main_loop_epoll): Likewise
25479 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25480 to __nss_disable_nscd.
25481 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25482 for a database anymore. Check the records for all the registered
25483 files instead.
25484 * nss/Makefile (libnss_files-routines): Add files-init.
25485 (libnss_db-routines): Add db-init.
25486 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25487 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25488 * nss/nss_db/db-init.c: New file.
25489 * nss/nss_files/files-init.c: New file.
25490 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25491 __nss_lookup_function.
25492 (__nss_lookup_function): Call nss_load_library.
25493 (nss_load_all_libraries): New function.
25494 (__nss_disable_nscd): Take parameter with callback function for files
25495 to register. Set is_nscd. Load all the DSOs for the NSS modules
25496 used for the cached services.
25497 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25498 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25499 options for features to all the files in nscd.
25500
25501 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25502
23bee3e8
RM
255032011-07-10 Roland McGrath <roland@hack.frob.com>
25504
25505 * csu/elf-init.c (__libc_csu_init): Comment typo.
25506
46a5b7f0
UD
255072011-07-09 Ulrich Drepper <drepper@gmail.com>
25508
25509 * po/pl.po: Update from translation team.
25510 * po/ja.po: Likewise.
25511 * po/ru.po: Likewise.
25512 * po/ko.po: Likewise.
25513 * po/fr.po: Likewise.
25514
d30cf5bb
RM
255152011-07-09 Roland McGrath <roland@hack.frob.com>
25516
113ddea4
RM
25517 * configure.in (.ctors/.dtors header and trailer check):
25518 Use an empirical test on a built program.
25519 * configure: Regenerated.
25520
574920b4
RM
25521 * configure.in (-z relro check): Use an empirical test on a built DSO.
25522 Detect, but do not require, on ia64.
25523 * configure: Regenerated.
25524
d30cf5bb
RM
25525 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25526 Update tests that use readelf to use $READELF instead.
25527 * configure: Regenerated.
25528
8538fdb3
UD
255292011-07-08 Ulrich Drepper <drepper@gmail.com>
25530
25531 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25532 if the result is not used.
25533
04d08991
AJ
255342011-07-05 Andreas Jaeger <aj@suse.de>
25535
25536 [BZ#9696]
25537 * stdlib/tst-strtod.c: Add testcase.
25538
de283087
AD
255392011-07-07 Ulrich Drepper <drepper@gmail.com>
25540
4e5f31c8 25541 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25542 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25543 The latter has a higher limit. Take additional parameter to pass to
25544 the new function.
25545 (__pathconf): Pass file to __statfs_link_max.
25546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25547 __statfs_link_max.
25548 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25549 __statfs_link_max.
25550
de283087
AD
25551 [BZ #12868]
25552 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25553 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25554 Handle Lustre.
25555 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25556 (__statfs_filesize_max): Likewise.
25557 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25558
c75fa153
AJ
255592011-07-05 Andreas Jaeger <aj@suse.de>
25560
25561 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25562
1a544854
UD
255632011-07-06 Marek Polacek <mpolacek@redhat.com>
25564
25565 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25566 `status' variable.
25567 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25568 Likewise.
25569
6f0eec67
UD
255702011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25571
25572 * Makefile (strop-tests): Add strncat.
25573 * string/test-strncat.c: New file.
25574
aae30307
UD
255752011-06-30 Marek Polacek <mpolacek@redhat.com>
25576
25577 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25578
c0cfb5eb
UD
255792011-06-21 Andreas Jaeger <aj@suse.de>
25580
25581 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25582 Copy rule from iconvdata/Makefile.
25583
01636b21
UD
255842011-07-06 Ulrich Drepper <drepper@gmail.com>
25585
25586 [BZ #12922]
25587 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25588 but no long options are defined, just return 'W'.
25589
9895c8bc
UD
255902011-06-22 Marek Polacek <mpolacek@redhat.com>
25591
25592 [BZ #9696]
25593 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25594
5d4cf042
UD
255952011-07-06 Ulrich Drepper <drepper@gmail.com>
25596
25597 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25598 netgroups to read.
960e5535 25599 (innetgr): Likewise.
5d4cf042 25600
751eb97e
RM
256012011-07-05 Roland McGrath <roland@hack.frob.com>
25602
25603 * config.make.in (install_root): Default to $(DESTDIR).
25604
f15f1e45
UD
256052011-07-05 Ulrich Drepper <drepper@gmail.com>
25606
25607 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25608
4e34ac6a
RM
256092011-07-02 Roland McGrath <roland@hack.frob.com>
25610
5e9b6af4
RM
25611 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25612
84f9ea0f
RM
25613 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25614 containing directory rather than embedding absolute directory names.
25615
ea5ee9f7
RM
25616 * scripts/check-local-headers.sh: Rewritten using awk.
25617 Match by word, not by line. Print error messages for matches.
25618 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25619
1b74661a
RM
25620 * Makerules [shlib-lds-flags empty]:
25621 ($(common-objpfx)libc_pic.opts): New target.
25622 ($(common-objpfx)libc_pic.os.clean): New target.
25623 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25624
25625 * config.make.in (OBJCOPY): New variable.
25626 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25627 * configure: Regenerated.
25628
f781ef40
RM
25629 * config.make.in (use-default-link): New variable.
25630 * configure.in (use_default_link): Grok --with-default-link to set it.
25631 * configure: Regenerated.
25632 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25633 (shlib-lds, shlib-lds-flags): Define to empty.
25634
2d4fa81e
RM
25635 * Makerules (shlib-lds): New variable.
25636 (shlib-lds-flags): New variable.
25637 (build-shlib, build-moduile, build-module-asneeded): Use it.
25638 ($(common-objpfx)libc.so): Use $(shlib-lds).
25639 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25640 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25641
31fffa6b
RM
25642 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25643 DT_FLAGS/DT_FLAGS_1 with zero flags.
25644
4e34ac6a
RM
25645 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25646 linker script munging.
25647
fcfc776b
UD
256482011-07-02 Ulrich Drepper <drepper@gmail.com>
25649
25650 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25651 as 128-bit value.
25652 * crypt/sha512.c (sha512_process_block): Perform total addition using
25653 128-bit if possible.
25654 (__sha512_finish_ctx): Likewise.
25655 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25656 as 64-bit value.
25657 * crypt/sha256.c (SWAP64): Define.
25658 (sha256_process_block): Perform total addition using 64-bit if
25659 possible.
25660 (__sha256_finish_ctx): Likewise.
25661
99231d9a
UD
256622011-07-01 Ulrich Drepper <drepper@gmail.com>
25663
25664 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25666 * nscd/hstcache.c (cache_addhst): Likewise.
25667 * nscd/grpcache.c (cache_addgr): Likewise.
25668 * nscd/aicache.c (addhstaiX): Likewise
25669 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25670
445b4a53
TK
256712011-07-01 Thorsten Kukuk <kukuk@suse.de>
25672
25673 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25674 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25675 * nscd/hstcache.c (cache_addhst): Likewise.
25676 * nscd/grpcache.c (cache_addgr): Likewise.
25677 * nscd/aicache.c (addhstaiX): Likewise
25678
6d4d8e8e
AS
256792011-07-01 Andreas Schwab <schwab@redhat.com>
25680
25681 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25682 domain only when needed.
25683
89f654c5
AS
256842011-06-30 Andreas Schwab <schwab@redhat.com>
25685
25686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25687 is always restored.
25688
cf3b23ff
UD
256892011-06-29 Ulrich Drepper <drepper@gmail.com>
25690
25691 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25692 are re-adding the entry.
25693 * nscd/servicescache.c (cache_addserv): Likewise.
25694
751626f9
AJ
256952011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25696
25697 * sysdeps/generic/dl-irel.h: fix protection against multiple
25698 inclusions.
25699 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25700
9113ea1f
UD
257012011-06-28 Ulrich Drepper <drepper@gmail.com>
25702
5c0b8d90
UD
25703 [BZ #12935]
25704 * malloc/memusage.sh: Fix quoting in message.
25705 * debug/xtrace.sh: Likewise.
25706
9113ea1f
UD
25707 * configure.in: Remove support for --experimental-malloc option, make
25708 it the default.
25709 * config.make.in: Likewise.
25710 * malloc/Makefile: Likewise.
25711
a4172181
AS
257122011-06-27 Andreas Schwab <schwab@redhat.com>
25713
25714 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25715 two-byte characters.
25716
78a7eee7
RM
257172011-06-27 Roland McGrath <roland@hack.frob.com>
25718
62bede13
RM
25719 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25720 AC_CACHE_CHECK invocation.
25721 * configure: Regenerated.
25722
78a7eee7
RM
25723 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25724
5ce33a62
UD
257252011-06-27 Ulrich Drepper <drepper@gmail.com>
25726
034807a9
UD
25727 [BZ #12350]
25728 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25729 bit from old_res_options.
25730
4902da17
UD
25731 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25732
5ce33a62
UD
25733 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25734 value type for setfct.
25735
c2344f56
L
257362011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25737
25738 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25739 __gettimeofday instead of gettimeofday.
25740
68468076
UD
257412011-06-26 Ulrich Drepper <drepper@gmail.com>
25742
25743 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25744
acb0d739
L
257452011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25746
25747 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25748
25749 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25750 info.
25751
8912479f
L
257522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25753
25754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25755 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25756 strcpy-sse2-unaligned strncpy-sse2-unaligned
25757 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25758 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25759 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25760 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25761 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25762 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25763 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25764 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25765 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25766 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25767 (STRCPY): Support SSE2 and SSSE3 versions.
25768
d5495a11
UD
257692011-06-24 Ulrich Drepper <drepper@gmail.com>
25770
25771 [BZ #12874]
25772 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25773 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25774 kernels which artificially limit size of requests.
25775
0b1cbaae
L
257762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25777
25778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25779 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25780 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25781 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25782 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25783 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25784 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25785 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25786 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25787 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25788 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25789 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25790 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25791 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25792 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25794 Enable unaligned load optimization for Intel Core i3, i5 and i7
25795 processors.
25796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25797 Define.
25798 (index_Fast_Unaligned_Load): Define.
25799 (HAS_FAST_UNALIGNED_LOAD): Define.
25800
07f494a0
MP
258012011-06-23 Marek Polacek <mpolacek@redhat.com>
25802
25803 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25804
fa3fc0fe
UD
258052011-06-22 Ulrich Drepper <drepper@gmail.com>
25806
25807 [BZ #12907]
25808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25809 until it is clear that the information is realy needed.
25810 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25811
e12df166
AS
258122011-06-22 Andreas Schwab <schwab@redhat.com>
25813
25814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25815
852eb34d
UD
258162011-06-22 Ulrich Drepper <drepper@gmail.com>
25817
84e2a551
UD
25818 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25819 /sys/devices/system/cpu/online if it is usable.
25820
852eb34d
UD
25821 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25822 reading the information from the /proc filesystem to once a second.
25823
6e502e19
UD
258242011-06-21 Andreas Jaeger <aj@suse.de>
25825
25826 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25827 NULL after inclusion of kernel headers.
25828
75d39ff2
UD
258292011-06-21 Ulrich Drepper <drepper@gmail.com>
25830
51f9aa6a
UD
25831 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25832 calls to internal_setent.
25833
c0244a9d
UD
25834 [BZ #12885]
25835 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25836 addresses using gethostbyname4_r ignore IPv4 addresses.
25837
c5e3c2ae
UD
25838 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25839 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25840
75d39ff2
UD
25841 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25842
42675c6f
DM
258432011-06-20 David S. Miller <davem@davemloft.net>
25844
25845 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25846 inclusions.
25847 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25848
25849 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25850 (elf_irel): Use it.
25851 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25852 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25853 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25854 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25855 * sysdeps/x86_64/dl-irel.h: Likewise.
25856
25857 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25858 * elf/dl-sym.c: Likewise.
25859
57912a71
UD
258602011-06-15 Ulrich Drepper <drepper@gmail.com>
25861
25862 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25863 need to dereference resplen2.
25864
ee22793d
AS
258652011-06-14 Andreas Schwab <schwab@redhat.com>
25866
25867 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25868
a9e836b0
UD
258692011-06-15 Ulrich Drepper <drepper@gmail.com>
25870
77fb9117
UD
25871 * Makeconfig: Define vardbdir and inst_vardbdir.
25872 * nss/Makefile: Add rules to install db-Makefile.
25873
40c1b22c
UD
25874 * nss/nss_db/db-XXX.c: Cleanup.
25875
9f2da732
UD
25876 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25877 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25878 GLIBC_PRIVATE.
25879 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25880 * nss/makedb.c: Implement -g option to specify that value strings
25881 are generated and should not be added to table iterated over for
25882 get*ent calls.
25883 * nss/nss_db/db-initgroups.c: New file.
25884
82e9a1f7
UD
25885 * nss/getent.c: Add support for initgroups lookups through getgrouplist
25886 interface.
25887
c41af17e
UD
25888 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
25889 (internal_getgrouplist): Adjust to name change.
25890 Update use_initgroups_entry if this is not the first call.
25891 * nss/databases.def: Add initgroups entry.
25892
a9e836b0
UD
25893 * nss/makedb.c (compute_tables): Check result of multiple hash table
25894 sizes to minimize maximum chain length.
25895
2666d441
UD
258962011-06-14 Ulrich Drepper <drepper@gmail.com>
25897
25898 * Versions.def: Add entry for libnss_db.
25899 * shlib-versions: Likewise.
25900 * nss/Makefile: Add rules to build libnss_db.
25901 * nss/Versions: Add libnss_db information. Organize libnss_files
25902 entries better.
25903 * nss/db-Makefile: Add gshadow support. Change rules for the new
25904 makedb progra. Some minor improvements to generate smaller files.
25905 * nss/nss_db/nss_db.h: Move NSS database header data structures to
25906 here from...
25907 * nss/makedb.c: ...here.
25908 Improve database format to be smaller and require less memory at
25909 runtime.
25910 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
25911 db anymore.
25912 * nss/nss_db/db-netgrp.c: Likewise.
25913 * nss/nss_db/db-open.c: Likewise.
25914 * nss/nss_files/flies-XXX.x: Adjust comments.
25915 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
25916 * nss/nss_files/files-grp.c: Likewise.
25917 * nss/nss_files/files-hosts.c: Likewise.
25918 * nss/nss_files/files-network.c: Likewise.
25919 * nss/nss_files/files-proto.c: Likewise.
25920 * nss/nss_files/files-pwd.c: Likewise.
25921 * nss/nss_files/files-rpc.c: Likewise.
25922 * nss/nss_files/files-service.c: Likewise.
25923 * nss/nss_files/files-sgrp.c: Likewise.
25924 * nss/nss_files/files-spwd.c: Likewise.
25925 * nss/nss_db/db-alias.c: Removed.
25926 * nss/nss_db/dummy-db.h: Removed.
25927
9ee76b5a
UD
259282011-06-02 Ulrich Drepper <drepper@gmail.com>
25929
25930 * nss/makedb.c: Rewritten to not use database library.
25931 * nss/Makefile: Update to build new makedb program.
25932
c71ca1f8
AJ
259332011-06-14 Andreas Jaeger <aj@suse.de>
25934
25935 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
25936 memset declaration.
25937
3154bfb8
UD
259382011-06-10 Andreas Schwab <schwab@redhat.com>
25939
25940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
25941 tmpbuf.
25942
b350afab
RM
259432011-06-10 Roland McGrath <roland@hack.frob.com>
25944
decd4e50
RM
25945 * Makerules (shlib.lds): Fail if the linker script comes out empty.
25946 * elf/Makefile ($(objpfx)ld.so): Likewise.
25947
5615eaf2
RM
25948 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
25949 Don't list ld.so twice in dependencies.
25950
25951 * posix/bug-regex31.c: Include <stdlib.h>.
25952
25953 * nscd/hstcache.c (cache_addhst): Remove unused variable.
25954
25955 * nis/nss_compat/compat-spwd.c
25956 (getspent_next_nss_netgr): Remove unused variable.
25957 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
25958
25959 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
25960 nonmembers" output to use the right array.
25961
25962 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
25963
25964 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
25965
25966 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
25967 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
25968 * catgets/gencat.c (read_input_file): Likewise.
25969 * locale/programs/locarchive.c (enlarge_archive): Likewise.
25970
25971 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
25972 variable definition inside #if's controlling its use.
25973
25974 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
25975
25976 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
25977
25978 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
25979
25980 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
25981 unreachable code.
25982
25983 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
25984
b68e08db
RM
25985 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
25986 * configure: Regenerated.
25987
b350afab
RM
25988 * Makerules: Revert last change.
25989 * elf/Makefile: Likewise.
25990
28368601
RM
259912011-06-09 Roland McGrath <roland@hack.frob.com>
25992
25993 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
25994 * elf/Makefile ($(objpfx)librtld.os): Likewise.
25995 (reloc-link): Likewise.
25996
11988f8f
UD
259972011-06-09 Ulrich Drepper <drepper@gmail.com>
25998
25999 * elf/Makefile: Add rules to build pldd.
26000 * elf/pldd.c: New file.
26001 * elf/pldd-xx.c: New file.
26002
e80fab37
UD
260032011-06-07 Ulrich Drepper <drepper@gmail.com>
26004
26005 * version.h: Update for 2.15 development version.
26006
9b849836
DM
260072011-06-07 David S. Miller <davem@davemloft.net>
26008
26009 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26010 ifuncs.
26011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26012 elf_machine_lazy_rel): Likewise.
26013 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26014 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26015 elf_machine_lazy_rel): Likewise.
26016 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26017 dl_hwcap via passed in argument.
26018 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26019 Likewise.
26020
5a31b283
AK
260212011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26022
26023 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26024
069e52f8
RM
260252011-06-06 Roland McGrath <roland@hack.frob.com>
26026
26027 [BZ #12849]
26028 * manual/fdl-1.1.texi: New file, verbatim from:
26029 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26030 * manual/lgpl-2.1.texi: New file, verbatim from:
26031 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26032 * manual/Makefile (licenses): New variable, list those new file names.
26033 (texis): Use it.
26034 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26035
26036 * manual/fdl.texi: File removed.
26037 * manual/lesser.texi: File removed.
26038 * manual/libc.texinfo (Copying, Documentation License):
26039 Use new @include file names, put @appendix directive before @include.
26040
f16846a5
JJ
260412011-06-04 Jakub Jelinek <jakub@redhat.com>
26042
26043 [BZ #12841]
26044 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26045 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26046 (mq_open): Add __NTH.
26047
3d29045b
L
260482011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26049
26050 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26051 Assume Intel Core i3/i5/i7 processor if AVX is available.
26052
8c297311
UD
260532011-05-31 Ulrich Drepper <drepper@gmail.com>
26054
26055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26056 typo.
26057
c8fc0c91
UD
260582011-05-31 Andreas Schwab <schwab@redhat.com>
26059
26060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26061 memory. Use alloca_account. Fix memory leak when retrying.
26062
5b27a807
UD
260632011-05-31 Ulrich Drepper <drepper@gmail.com>
26064
356f8bc6
UD
26065 * version.h (RELEASE): Bump for 2.14 release.
26066 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26067
5b27a807
UD
26068 * config.make.in (RANLIB): Remove entry.
26069
01f16ab0
UD
260702011-05-30 Ulrich Drepper <drepper@gmail.com>
26071
41fce8bd
UD
26072 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26073 (libc.pot): Work around missing support for .ksh extension in xgettext.
26074
4769ae77
UD
26075 [BZ #12684]
26076 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26077 if both request failed.
26078 (send_dg): In case of server errors clear resplen or *resplen2.
26079
6b1e7d19
UD
26080 [BZ #12454]
26081 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26082 when there are multiple maps.
26083 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26084 (_dl_fini): Remove test here.
26085
01f16ab0
UD
26086 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26087
b1ebd700
UD
260882011-05-29 Ulrich Drepper <drepper@gmail.com>
26089
7ae22829
UD
26090 [BZ #12350]
26091 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26092 bit from old_res_options.
26093 (gaih_inet): Likewise.
26094
553149f6 26095 [BZ #11099]
18a84741 26096 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26097 as signed.
26098
652ffab1
UD
26099 * resolv/res_init.c (res_setoptions): Make the code more compact.
26100
16985fd0
UD
26101 [BZ #11558]
26102 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26103 set RES_USEVC.
26104
0464f746
UD
26105 [BZ #11634]
26106 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26107
7d17596c
UD
26108 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26109
cf6bbbd7
UD
26110 [BZ #11781]
26111 * malloc/malloc.h: Declare malloc hook variables as volatile.
26112
13f1ab36
UD
26113 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26114 in last patch.
26115
b1ebd700
UD
26116 [BZ #11799]
26117 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26118 raise in the comment.
80e2212d
UD
26119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26121 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26122
ce67228d
UD
261232011-05-28 Ulrich Drepper <drepper@gmail.com>
26124
8887a920
UD
26125 [BZ #12811]
26126 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26127 grow the buffers more if it already has to be sufficient.
26128 (build_wcs_upper_buffer): Likewise.
26129 * posix/regexec.c (check_matching): Likewise.
26130 (clean_state_log_if_needed): Likewise.
26131 (extend_buffers): Don't enlarge buffers beyond size of the input
26132 buffer.
26133 Patches mostly by Emil Wojak <emil@wojak.eu>.
26134 * posix/bug-regex32.c: New file.
26135 * posix/Makefile (tests): Add bug-regex32.
26136
4f031072
UD
26137 * locale/findlocale.c (_nl_find_locale): Return right away if
26138 _nl_explode_name failed.
26139 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26140
d0478f0c
UD
26141 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26142
de81b246
UD
26143 * debug/xtrace.sh: Unify messages.
26144 * malloc/memusage.sh: Likewise.
26145
c738465a
UD
26146 [BZ #12813]
26147 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26148 time symbol from vDSO. Substitute with vsyscall if not available.
26149 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26150 __vdso_time.
26151
f1f929d7
UD
26152 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26153 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26154 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26155 Add sendmmsg and internal_sendmmsg.
26156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26157 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26158 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26159
ce67228d
UD
26160 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26161 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26162 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26163
e57420c6
UD
261642011-05-27 Ulrich Drepper <drepper@gmail.com>
26165
a8509ca5
UD
26166 [BZ #12813]
26167 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26168 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26169 available.
26170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26171 __vdso_getcpu.
26172
e57420c6
UD
26173 [BZ #12814]
26174 * iconvdata/Makefile (tests): Add bug-iconv9.
26175 * iconvdata/bug-iconv9.c: New file.
26176
4d07db15
AS
261772011-05-27 Andreas Schwab <schwab@redhat.com>
26178
26179 [BZ #12814]
26180 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26181
ea486f69
JJ
261822011-05-25 Jakub Jelinek <jakub@redhat.com>
26183
26184 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26185 (struct user_regs_struct): Change intcs field back to cs.
26186
6f038433
UD
261872011-05-25 Ulrich Drepper <drepper@gmail.com>
26188
26189 * po/ja.po: Update from translation team.
26190
67f86a25
UD
261912011-05-23 Ulrich Drepper <drepper@gmail.com>
26192
26193 [BZ #12795]
26194 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26195 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26196
def7fbd6
AS
261972011-05-20 Andreas Schwab <schwab@redhat.com>
26198
26199 * stdlib/longlong.h: Update from GCC.
26200
f50ef8f1
AS
262012011-05-23 Andreas Schwab <schwab@redhat.com>
26202
26203 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26204 parameter name.
26205 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26206 Add parameter name.
26207 (__sysconf): Pass it down.
26208
de7ce8f1
UD
262092011-05-22 Ulrich Drepper <drepper@gmail.com>
26210
f2962a71
UD
26211 [BZ #12671]
26212 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26213 some situations.
26214 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26215 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26216 add in in __libc_use_alloca calls. Adjust callers.
26217 (glob): Use malloc in some situations.
26218
de7ce8f1
UD
26219 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26220 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26221 pltexit.
26222
aec84f53
UD
262232011-05-21 Ulrich Drepper <drepper@gmail.com>
26224
05bb4a68
UD
26225 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26226 and CLOCK_BOOTTIME_ALARM.
26227
7ea72f99
UD
26228 [BZ #12782]
26229 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26230 is returned.
26231
7e4afad5
UD
26232 * string/_strerror.c (__strerror_r): Print negative errors as signed
26233 numbers.
26234
8e211fec
UD
26235 [BZ #12777]
26236 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26237 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26238 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26239
f7d82dc9
UD
26240 * configure.in: Fix typo in redirection and correct removal of test
26241 files in two cases.
26242
cc9e536d
UD
26243 [BZ #12788]
26244 * locale/setlocale.c (new_composite_name): Fix test to check for
26245 identical name of all categories.
26246
aec84f53
UD
26247 [BZ #12792]
26248 * libio/filedoalloc.c (local_isatty): New function.
26249 (_IO_file_doallocate): Use local_isatty.
26250 * stdio-common/perror.c (perror): In case a new stream is used
26251 forward the stream error.
26252 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26253 error flag.
26254
78e64fdc
RT
262552011-05-20 Ulrich Drepper <drepper@gmail.com>
26256
34a9094f
UD
26257 [BZ #11869]
26258 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26259 alloca.
26260 * include/alloca.h (extend_alloca_account): Define.
26261
78e64fdc
RT
26262 [BZ #11857]
26263 * posix/regex.h: Fix comments with documentation of user-accessible
26264 fields after compilation and describe correct free'ing of pattern
26265 after re_compile_pattern.
26266 Patch by Reuben Thomas <rrt@sc3d.org>.
26267
457bddfc
RA
262682011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26269
26270 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26271 and -mno-altivec to prevent the compiler from using Altivec and/or
26272 VSX instructions when the corresponding registers are not available.
26273
a4527b51
AS
262742011-05-19 Andreas Schwab <schwab@redhat.com>
26275
26276 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26277
ed690b2f
UD
262782011-05-19 Ulrich Drepper <drepper@gmail.com>
26279
26280 * libio/freopen.c (freopen): Use __dup2, not dup2.
26281 * libio/freopen64.c (freopen64): Likewise.
26282
8db73634
L
262832011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26284
26285 [BZ #12775]
26286 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26287 * math/Makefile (tests): Add test-powl.
26288 (CFLAGS-test-powl.c): Define.
26289 * math/test-powl.c: New file.
26290
0a197a9d
L
262912011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26292
26293 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26294
ee30c380
UD
262952011-05-17 Ulrich Drepper <drepper@gmail.com>
26296
26297 [BZ #11837]
26298 * iconvdata/gb18030.c: Update to GB18020-2005.
26299
6ce75379
UD
263002011-05-16 Ulrich Drepper <drepper@gmail.com>
26301
a4b89fd8
AR
26302 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26303 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26304 Patch by Aharon Robbins <arnold@skeeve.com>.
26305
ea389b12
UD
26306 [BZ #11892]
26307 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26308 on the stack.
26309
68a3f91f
UD
26310 [BZ #11895]
26311 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26312 through underflows.
26313
15cc7dd1
UD
26314 [BZ #12766]
26315 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26316 point to strings before performing equality test for error_one_per_line
26317 mode.
26318
f3799213
UD
26319 [BZ #11697]
26320 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26321
d79a9c94
UD
26322 [BZ #11820]
26323 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26324 (struct user_fpregs_struct): Avoid __uint*_t types.
26325
56e5eb46
UD
26326 [BZ #6420]
26327 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26328 symbol info. Use it instead of calling _dl_addr locally.
26329 (lock_and_info): New function.
26330 (tr_freehook): Call lock_and_info and pass symbol info as additional
26331 parameter to tr_where.
26332 (tr_mallochook): Likewise.
26333 (tr_reallochook): Likewise.
26334 (tr_memalignhook): Likewise.
26335
6ce75379
UD
26336 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26337 used and couldn't be at all thread-safe.
26338
f8a3b5bf
UD
263392011-05-15 Ulrich Drepper <drepper@gmail.com>
26340
94b7cc37
UD
26341 * libio/freopen.c (freopen): Don't close old file descriptor
26342 before the new one is opened. Instead dup the new file descriptor
26343 to the old one after the new stream is created.
26344 * libio/freopen64.c (freopen64): Likewise.
26345 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26346 * libio/fileops.c (_IO_new_file_close_it): Handle new
26347 _IO_FLAGS2_NOCLOSE flag.
26348 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26349 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26350 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26351 _IO_FLAGS2_NOCLOSE flag.
26352 * include/unistd.h: Add hidden_proto for dup3.
26353 Define __have_dup3.
26354 * io/dup3.c: Define hidden symbol.
26355 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26356
bd25564e
UD
26357 [BZ #7101]
26358 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26359 when an incomplete long option is used.
26360 * posix/tst-getopt_long1.c: New file.
26361 * posix/Makefile (tests): Add tst-getopt_long1.
26362
c84cfef4
UD
26363 [BZ #10138]
26364 * scripts/config.guess: Update from autoconf-2.68.
26365 * scripts/config.sub: Likewise.
26366
3b85df27
UD
26367 [BZ #10157]
26368 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26369 tests into ...
26370 (has_cpuclock): ...this. New function.
26371 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26372 macro here based on has_cpuclock code.
26373
15a856b1
UD
26374 [BZ #10149]
26375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26376 First byte (not low byte) is now always NUL.
26377 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26378
05f399e6
UD
26379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26380 Use non-cancelable interfaces.
26381
10a52685 26382 [BZ #9809]
94ecc67d
UD
26383 * locale/iso-639.def: Add entry for Sorani.
26384
f8a3b5bf
UD
26385 [BZ #11901]
26386 * include/stdlib.h: Move include protection to the right place.
26387 Define abort_msg_s. Declare __abort_msg with it.
26388 * stdlib/abort.c (__abort_msg): Adjust type.
26389 * assert/assert.c (__assert_fail_base): New function. Majority
26390 of code from __assert_fail. Allocate memory for __abort_msg with
26391 mmap.
26392 (__assert_fail): Now call __assert_fail_base.
26393 * assert/assert-perr.c: Remove bulk of implementation. Use
26394 __assert_fail_base.
26395 * include/assert.hL Declare __assert_fail_base.
26396 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26397 mmap.
26398 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26399
1af4e298
UD
264002011-05-14 Ulrich Drepper <drepper@gmail.com>
26401
f8a3b5bf 26402 [BZ #11952]
d26dfc60
MG
26403 [BZ #12453]
26404 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26405 until all modules are registered in the DTV.
26406 * elf/Makefile: Add rules to build and run tst-tls19.
26407 * elf/tst-tls19.c: New file.
26408 * elf/tst-tls19mod1.c: New file.
26409 * elf/tst-tls19mod2.c: New file.
26410 * elf/tst-tls19mod3.c: New file.
26411 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26412
2fc54d6f
UD
26413 [BZ #12083]
26414 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26415 correctly.
26416
98d76b46
UD
26417 [BZ #12601]
26418 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26419 two-byte sequence errors.
26420 * iconvdata/Makefile (tests): Add bug-iconv8.
26421 * iconvdata/bug-iconv8.c: New file.
26422
da3c19ef
UD
26423 [BZ #12626]
26424 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26425 buf2 definition.
26426
ca408c15
UD
26427 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26428
d6f67f7d
UD
26429 [BZ #12432]
26430 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26431 (dummy_getcfa): New function.
26432 (init): Get _Unwind_GetCFA address, use dummy if not found.
26433 (backtrace_helper): In recursion check, also check whether CFA changes.
26434 (__backtrace): Completely initialize arg.
26435
1af4e298 26436 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26437 storing incomplete byte sequence in state object. Avoid testing for
26438 guaranteed too small input if we know there is enough data available.
1af4e298 26439
da62f81b
AS
264402011-05-11 Andreas Schwab <schwab@redhat.com>
26441
26442 * Makeconfig (+link-pie): Indent.
26443 * Rules (binaries-pie): Define if $(have-fpie) and
26444 $(build-shared).
26445 (binaries-shared): Also filter out $(binaries-pie).
26446 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26447 * nscd/Makefile (others-pie): Add nscd.
26448 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26449 ($(objpfx)nscd): Remove command override.
26450 * login/Makefile (others-pie): Add pt_chown.
26451 ($(objpfx)pt_chown): Remove command override.
26452 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26453 remove command overrides.
26454
fcabc0f8
UD
264552011-05-13 Ulrich Drepper <drepper@gmail.com>
26456
20030ae6
UD
26457 * libio/tst_putwc.c: Fix error messages.
26458
fcabc0f8
UD
26459 [BZ #12724]
26460 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26461 currently writing and seek to current position when not.
26462 * libio/Makefile (tests): Add bug-fclose1.
26463 * libio/bug-fclose1.c: New file.
26464
320a5dc0
PB
264652011-05-12 Ulrich Drepper <drepper@gmail.com>
26466
26467 [BZ #12511]
26468 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26469 don't set DF_1_NODELETE here.
26470 (do_lookup_x): When entering new entry test for copy relocation
26471 and if necessary set DF_1_NODELETE flag.
26472 * elf/tst-unique4.cc: New file.
26473 * elf/tst-unique4.h: New file.
26474 * elf/tst-unique4lib.cc: New file.
26475 * elf/Makefile: Add rules to build and run tst-unique4.
26476 Patch by Piotr Bury <pbury@goahead.com>.
26477
22836f52
UD
264782011-05-11 Ulrich Drepper <drepper@gmail.com>
26479
f574184a
UD
26480 [BZ #12052]
26481 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26482
e1fb097f
UD
26483 [BZ #12625]
26484 * misc/mntent_r.c (addmntent): Flush the stream after the output
26485
22836f52
UD
26486 [BZ #12393]
26487 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26488 (is_trusted_path_normalize): Skip initial colon. Append slash
26489 to empty buffer. Duplicate is_trusted_path code but allow
26490 constructed patch to be prefix.
26491 (is_dst): Allow $ORIGIN followed by /.
26492 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26493 Correct testing of result of is_trusted_path_normalize
26494 (decompose_rpath): Fix warning.
26495
7b3b0b2a
UD
264962011-05-10 Ulrich Drepper <drepper@gmail.com>
26497
26498 [BZ #11257]
26499 * grp/initgroups.c (internal_getgrouplist): When we found the service
26500 list through the initgroups entry in nsswitch.conf do not always
26501 continue on a successful lookup. Don't always use the
eac80ce2 26502 __nss_group_database value if it is set.
7b3b0b2a
UD
26503 * nss/nsswitch.conf (initgroups): Change action for successful db
26504 lookup to continue for compatibility.
26505
2a81eaa5
UD
265062011-05-09 Ulrich Drepper <drepper@gmail.com>
26507
be97a69e
UD
26508 [BZ #11532]
26509 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26510 and CP774 modules.
26511 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26512 and CP774 modules.
26513 * iconvdata/tst-tables.sh: Likewise.
26514 * iconvdata/cp770.c: New file.
26515 * iconvdata/cp771.c: New file.
26516 * iconvdata/cp772.c: New file.
26517 * iconvdata/cp773.c: New file.
26518 * iconvdata/cp774.c: New file.
26519 * iconvdata/testdata/CP770: New file.
26520 * iconvdata/testdata/CP770..UTF8: New file.
26521 * iconvdata/testdata/CP771: New file.
26522 * iconvdata/testdata/CP771..UTF8: New file.
26523 * iconvdata/testdata/CP772: New file.
26524 * iconvdata/testdata/CP772..UTF8: New file.
26525 * iconvdata/testdata/CP773: New file.
26526 * iconvdata/testdata/CP773..UTF8: New file.
26527 * iconvdata/testdata/CP774: New file.
26528 * iconvdata/testdata/CP774..UTF8: New file.
26529
26530 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26531 END CHARMAP line.
26532 * iconvdata/gen-8bit-gap.sh: Likewise.
26533 * iconvdata/gen-8bit.sh: Likewise.
26534
c1e9e399
UD
26535 * locale/iso-639.def: Add ary entry.
26536
24c55fb3 26537 [BZ #11258]
96b4b1b0
UD
26538 * locale/C-translit.h.in: Add U20A1 transliteration.
26539
bdc2f971
KB
26540 [BZ #12178]
26541 * locale/iso-639.def: Add wae entry.
26542 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26543
2952b117
UD
26544 [BZ #12545]
26545 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26546 for n.
26547
2a81eaa5
UD
26548 [BZ #12711]
26549 * locale/C-translit.h.in: Add entry for U20B9.
26550 Patch by pravin.d.s@gmail.com.
26551
28377d1b
UD
265522011-05-08 Ulrich Drepper <drepper@gmail.com>
26553
7fb90fb8
UD
26554 [BZ #12713]
26555 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26556 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26557 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26558 in rtld. Use *stat64.
7fb90fb8 26559 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26560 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26561 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26562 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26563 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26564 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26565 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26566 __fstatat64 macros.
7fb90fb8
UD
26567 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26568 * dirent/rewinddir.c: Add libc_hidden_def.
26569 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26570 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26571
28377d1b
UD
26572 * include/dirent.h (__alloc_dir): Add flags parameter.
26573 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26574 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26575 __alloc_dir.
26576 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26577 from fdopendir if O_CLOEXEC is already set.
26578
66bdbaa4
AM
265792011-03-15 Alan Modra <amodra@gmail.com>
26580
26581 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26582 l_tls_firstbyte_offset non-zero. Save padding offset in
26583 l_tls_firstbyte_offset for later use.
26584 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26585 freeing static tls block.
26586
95721191
JN
265872011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26588
26589 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26590 where #ifdef was intended. The intent is to prevent ARG_MAX from
26591 being defined by the kernel headers.
26592
f87dfb1f
UD
265932011-05-07 Ulrich Drepper <drepper@gmail.com>
26594
26595 [BZ #12734]
26596 * resolv/resolv.h: Define RES_NOTLDQUERY.
26597 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26598 no-tld-query and set RES_NOTLDQUERY.
26599 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26600 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26601 modern BIND to search name as TLD unless forbidden.
26602
47c3cd7a
UD
266032011-05-07 Petr Baudis <pasky@suse.cz>
26604 Ulrich Drepper <drepper@gmail.com>
26605
26606 [BZ #12393]
26607 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26608 (is_trusted_path): ...to here.
c1e9ea35 26609 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26610 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26611 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26612
8a35c912
PP
266132011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26614
26615 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26616 __BEGIN/__END_DECLS.
26617
acd41f47
UD
266182011-05-06 Ulrich Drepper <drepper@gmail.com>
26619
26620 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26621 NSS_STATUS_NOTFOUND if no record was found.
26622
597df647
AS
266232011-05-05 Andreas Schwab <schwab@redhat.com>
26624
26625 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26626 (headers-not-in-tirpc): Remove rpc/netdb.h
26627 * resolv/netdb.h: Revert last change.
26628
b9af1301
PP
266292011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26630
26631 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26632 circular dependency between libgcc.a and libc.a.
26633
4e34d5f5
AS
266342011-05-05 Andreas Schwab <schwab@redhat.com>
26635
26636 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26637 * nis/Makefile: Don't install rpcsvc/*.
26638 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26639 instead of <rpc/types.h>.
26640 (MAXHOSTNAMELEN): Define.
26641
00ee369c
AS
266422011-05-03 Andreas Schwab <schwab@redhat.com>
26643
26644 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26645
0b592a30
MB
266462011-04-28 Maciej Babinski <mbabinski@google.com>
26647
26648 [BZ #12714]
26649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26650 gethostbyname4_r when IPv6 results are possible.
26651
6e04cbbe
UD
266522011-05-02 Ulrich Drepper <drepper@gmail.com>
26653
26654 [BZ #12723]
26655 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26656 _PC_PIPE_BUF handling.
26657
e4ecafe0
BH
266582011-04-30 Bruno Haible <bruno@clisp.org>
26659
26660 [BZ #12717]
26661 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26662 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26663 to 'int'.
26664 * inet/getnameinfo.c (getnameinfo): Likewise.
26665
125ee683
UD
266662011-04-29 Ulrich Drepper <drepper@gmail.com>
26667
26668 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26669 to groups setting in database lookup.
26670 * nss/nsswitch.conf: Add initgroups entry.
26671
b722481a
EB
266722011-04-22 Ulrich Drepper <drepper@gmail.com>
26673
26674 [BZ #12685]
26675 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26676 mode string.
26677 Patch by Eric Blake <eblake@redhat.com>.
26678
4df46dbd
L
266792011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26680
26681 * sunrpc/Makefile (need-export-routines): Add svc_run.
26682 (routines): Remove svc_run.
26683 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26684 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26685 * sunrpc/svc_run.c (svc_run): Likewise.
26686 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26687
e84142d2
UD
266882011-04-21 Ulrich Drepper <drepper@gmail.com>
26689
26690 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26691 problem in reallocation in last patch.
26692
877175d8
UD
266932011-04-20 Ulrich Drepper <drepper@gmail.com>
26694
26695 * sunrpc/Makefile: Move inclusion of Rules.
26696
ab8eed78
UD
266972011-04-19 Ulrich Drepper <drepper@gmail.com>
26698
26699 * nss/nss_files/files-initgroups.c: New file.
26700 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26701 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26702 _nss_files_initgroups_dyn.
26703
e3d8f584
RS
267042011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26705
26706 * elf/elf.h (R_ARM_IRELATIVE): Define.
26707
af190f45
UD
267082011-04-19 Ulrich Drepper <drepper@gmail.com>
26709
26710 * po/ru.po: Update from translation team.
26711
53cf59ef
UD
267122011-04-17 Ulrich Drepper <drepper@gmail.com>
26713
26714 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26715 dependencies.
26716
4c559bcd
MF
267172011-02-06 Mike Frysinger <vapier@gentoo.org>
26718
26719 [BZ #12653]
26720 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26721 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26722 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26723 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26724 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26725
4420675c
AS
267262011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26727
26728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26729 differing bytes.
26730 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26733
75ea32ab
UD
267342011-04-17 Ulrich Drepper <drepper@gmail.com>
26735
26736 [BZ #12420]
26737 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26738 storing it.
26739 * stdlib/bug-getcontext.c: New file.
26740 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26741
27390476
AK
267422011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26743
26744 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26745 instructions into .machine "z9-109".
26746 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26747 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26748
10442705
AK
267492011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26750
26751 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26752 between environment variables and auxiliary vector.
26753
7b57bfe5
UD
267542011-04-16 Ulrich Drepper <drepper@gmail.com>
26755
26756 * Makefile: Add rules to build linkobj/libc.so.
26757 * include/libc-symbols.h: Define libc_hidden_nolink.
26758 * include/rpc/auth.h: Mark functions which are to be hidden.
26759 * include/rpc/auth_des.h: Likewise.
26760 * include/rpc/auth_unix.h: Likewise.
26761 * include/rpc/clnt.h: Likewise.
26762 * include/rpc/des_crypt.h: Likewise.
26763 * include/rpc/key_prot.h: Likewise.
26764 * include/rpc/pmap_clnt.h: Likewise.
26765 * include/rpc/pmap_prot.h: Likewise.
26766 * include/rpc/pmap_rmt.h: Likewise.
26767 * include/rpc/rpc_msg.h: Likewise.
26768 * include/rpc/svc.h: Likewise.
26769 * include/rpc/svc_auth.h: Likewise.
26770 * include/rpc/xdr.h: Likewise.
26771 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26772 * nss/Makefile: Likewise.
26773 * sunrpc/Makefile: Don't install headers. Build library with normal
26774 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26775 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26776 for the compat linking library. Remove use of INTDEF/INTUSE.
26777 * sunrpc/auth_none.c: Likewise.
26778 * sunrpc/auth_unix.c: Likewise.
26779 * sunrpc/authdes_prot.c: Likewise.
26780 * sunrpc/authuxprot.c: Likewise.
26781 * sunrpc/clnt_gen.c: Likewise.
26782 * sunrpc/clnt_perr.c: Likewise.
26783 * sunrpc/clnt_raw.c: Likewise.
26784 * sunrpc/clnt_simp.c: Likewise.
26785 * sunrpc/clnt_tcp.c: Likewise.
26786 * sunrpc/clnt_udp.c: Likewise.
26787 * sunrpc/clnt_unix.c: Likewise.
26788 * sunrpc/des_crypt.c: Likewise.
26789 * sunrpc/des_soft.c: Likewise.
26790 * sunrpc/get_myaddr.c: Likewise.
26791 * sunrpc/key_call.c: Likewise.
26792 * sunrpc/key_prot.c: Likewise.
26793 * sunrpc/netname.c: Likewise.
26794 * sunrpc/pm_getmaps.c: Likewise.
26795 * sunrpc/pm_getport.c: Likewise.
26796 * sunrpc/pmap_clnt.c: Likewise.
26797 * sunrpc/pmap_prot.c: Likewise.
26798 * sunrpc/pmap_prot2.c: Likewise.
26799 * sunrpc/pmap_rmt.c: Likewise.
26800 * sunrpc/publickey.c: Likewise.
26801 * sunrpc/rpc_cmsg.c: Likewise.
26802 * sunrpc/rpc_common.c: Likewise.
26803 * sunrpc/rpc_dtable.c: Likewise.
26804 * sunrpc/rpc_prot.c: Likewise.
26805 * sunrpc/rpc_thread.c: Likewise.
26806 * sunrpc/rtime.c: Likewise.
26807 * sunrpc/svc.c: Likewise.
26808 * sunrpc/svc_auth.c: Likewise.
26809 * sunrpc/svc_authux.c: Likewise.
26810 * sunrpc/svc_raw.c: Likewise.
26811 * sunrpc/svc_run.c: Likewise.
26812 * sunrpc/svc_simple.c: Likewise.
26813 * sunrpc/svc_tcp.c: Likewise.
26814 * sunrpc/svc_udp.c: Likewise.
26815 * sunrpc/svc_unix.c: Likewise.
26816 * sunrpc/svcauth_des.c: Likewise.
26817 * sunrpc/xcrypt.c: Likewise.
26818 * sunrpc/xdr.c: Likewise.
26819 * sunrpc/xdr_array.c: Likewise.
26820 * sunrpc/xdr_float.c: Likewise.
26821 * sunrpc/xdr_intXX_t.c: Likewise.
26822 * sunrpc/xdr_mem.c: Likewise.
26823 * sunrpc/xdr_rec.c: Likewise.
26824 * sunrpc/xdr_ref.c: Likewise.
26825 * sunrpc/xdr_sizeof.c: Likewise.
26826 * sunrpc/xdr_stdio.c: Likewise.
26827
e6c61494
UD
268282011-04-10 Ulrich Drepper <drepper@gmail.com>
26829
26830 [BZ #12650]
26831 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26832 * sysdeps/ia64/dl-tls.h: Likewise.
26833 * sysdeps/powerpc/dl-tls.h: Likewise.
26834 * sysdeps/s390/dl-tls.h: Likewise.
26835 * sysdeps/sh/dl-tls.h: Likewise.
26836 * sysdeps/sparc/dl-tls.h: Likewise.
26837 * sysdeps/x86_64/dl-tls.h: Likewise.
26838 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26839
34fe483e
AS
268402011-03-14 Andreas Schwab <schwab@redhat.com>
26841
26842 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26843 rpath element also skip the following colon.
26844 (expand_dynamic_string_token): Add is_path parameter and pass
26845 down to DL_DST_REQUIRED and _dl_dst_substitute.
26846 (decompose_rpath): Call expand_dynamic_string_token with
26847 non-zero is_path. Ignore empty rpaths.
26848 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26849 with zero is_path.
26850
f12a32e6
AS
268512011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26852
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26854 Make cancelable.
26855
38a7d692
UD
268562011-04-09 Ulrich Drepper <drepper@gmail.com>
26857
26858 [BZ #12655]
26859 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26860 Patch by Filipe David Manana <fdmanana@apache.org>.
26861
e451d22b
AS
268622011-04-07 Andreas Schwab <schwab@redhat.com>
26863
26864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26865 Maintain aligned stack.
26866 (CHECK_RSP): Remove unused macro.
26867
dedc7c7b
UD
268682011-04-03 Ulrich Drepper <drepper@gmail.com>
26869
26870 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26871 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26872
94521213
UD
268732011-04-02 Ulrich Drepper <drepper@gmail.com>
26874
26875 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26876
8cb700c0 26877 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26878
0354e355
L
268792011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26880
26881 [BZ #12518]
26882 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26883 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
26884 * sysdeps/x86_64/memmove.c: New file.
26885 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
26886 (memcpy): Renamed to ...
26887 (__new_memcpy): This.
26888 (memcpy): Provide GLIBC_2_14 memcpy.
26889 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
26890 (memcpy): Provide GLIBC_2_2_5 memcpy.
26891
8593482f
UD
268922011-04-01 Ulrich Drepper <drepper@gmail.com>
26893
26894 [BZ #12631]
26895 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
26896
81a5726b
AS
268972011-03-30 Andreas Schwab <schwab@redhat.com>
26898
26899 * misc/syncfs.c: New file.
26900 * misc/Makefile (routines): Add syncfs.
26901 * posix/unistd.h: Declare syncfs.
26902 * sysdeps/unix/syscalls.list: Add syncfs.
26903
00e5419f
AS
269042011-04-01 Andreas Schwab <schwab@redhat.com>
26905
26906 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
26907 open_by_handle_at.
26908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26913 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
26914 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26915
748876bf
UD
269162011-04-01 Ulrich Drepper <drepper@gmail.com>
26917
658e451d
UD
26918 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
26919 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26920 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
26921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26925
748876bf
UD
26926 * io/Makefile: Compile fallocate.c, fallocate64.c, and
26927 sync_file_range.c with -fexceptions.
26928 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
26929 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
26930 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26931 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26932 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
26933 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26934 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
26935 sync_file_range as cancellation point
26936 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
26937 now a wrapper around __call_sync_file_range with cancellation handling.
26938 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
26939 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
26940 function name to __call_sync_file_range.
26941 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
26942 Add call_sync_file_range.
748876bf 26943
6e63d5e1
AS
269442011-04-01 Andreas Schwab <schwab@redhat.com>
26945
26946 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 26947 bits/timex.h.
6e63d5e1 26948
46998f74
UD
269492011-04-01 Ulrich Drepper <drepper@gmail.com>
26950
4c1423ed
UD
26951 * iconv/iconv.h: Fix typo in comment.
26952 * io/fcntl.h: Likewise.
26953 * libio/stdio.h: Likewise.
26954 * posix/spawn.h: Likewise.
26955 * posix/unistd.h: Likewise.
26956 * stdlib/stdlib.h: Likewise.
26957 * time/time.h: Likewise.
26958 * wcsmbs/wchar.h: Likewise.
26959
158648c0
UD
26960 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
26961 open_by_handle): Add.
26962 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
26963 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
26964 Augment a few comments.
26965 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
26966 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26967 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26968 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26970 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
26971 open_by_handle.
26972
46998f74
UD
26973 * io/fcntl.h (AT_EMPTY_PATH): Define.
26974
83fe108b
UD
269752011-03-30 Ulrich Drepper <drepper@gmail.com>
26976
26977 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
26978 * sysdeps/unix/sysv/linux/bits/time.h: New file.
26979 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
26980 to...
26981 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
26982 * Versions.def: Add GLIBC_2.14.
26983 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
26984 Export.
83fe108b 26985
bb242059
UD
269862011-03-22 Ulrich Drepper <drepper@gmail.com>
26987
26988 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
26989 round counter.
26990 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
26991
c97a1282
L
269922011-03-20 H.J. Lu <hongjiu.lu@intel.com>
26993
26994 [BZ #12597]
26995 * string/test-strncmp.c (do_page_test): New function.
26996 (check2): Likewise.
26997 (test_main): Call check2.
26998 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
26999
2a115601
UD
270002011-03-20 Ulrich Drepper <drepper@gmail.com>
27001
27002 [BZ #12587]
27003 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27004 Handle cache information in CPU leaf 4.
27005 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27006
8126d904
UD
270072011-03-18 Ulrich Drepper <drepper@gmail.com>
27008
042c49c6 27009 [BZ #12583]
8126d904
UD
27010 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27011 character representation.
27012 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27013
ccfe366e
RA
270142011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27015
27016 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27017 END(__isnan) to END(__isnanf) to match function entry point/label
27018 EALIGN(__isnanf,...).
27019
c6e13027
JJ
270202011-03-10 Jakub Jelinek <jakub@redhat.com>
27021
27022 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27023
33f85a3f
UD
270242011-03-10 Ulrich Drepper <drepper@gmail.com>
27025
028478fa
UD
27026 [BZ #12510]
27027 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27028 copy from the symbol referenced in the relocation to initialize the
27029 used variable.
27030 Patch by Piotr Bury <pbury@goahead.com>.
27031 * elf/Makefile: Add rules to build and tst-unique3.
27032 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27033 * elf/tst-unique3.cc: New file.
27034 * elf/tst-unique3.h: New file.
27035 * elf/tst-unique3lib.cc: New file.
27036 * elf/tst-unique3lib2.cc: New file.
27037
33f85a3f
UD
27038 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27039
03592fc7
MF
270402011-03-10 Mike Frysinger <vapier@gentoo.org>
27041
27042 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27043 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27044 to _start.
03592fc7 27045
6a5ee102
UD
270462011-03-06 Ulrich Drepper <drepper@gmail.com>
27047
27048 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27049 to-be-loaded object along a path to loader is ld.so.
27050
7e4ba49c
HJ
270512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27052 Ulrich Drepper <drepper@gmail.com>
27053
27054 * sysdeps/x86_64/memset.S: After aligning destination, code
27055 branches to different locations depending on the value of
27056 misalignment, when multiarch is enabled. Fix this.
27057
270582011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27059
27060 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27061 Set _x86_64_preferred_memory_instruction for AMD processsors.
27062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27063 Set bit_Prefer_SSE_for_memop for AMD processors.
27064
13a804de
UD
270652011-03-04 Ulrich Drepper <drepper@gmail.com>
27066
27067 * libio/fmemopen.c (fmemopen): Optimize a bit.
27068
9d25c392
AS
270692011-03-03 Andreas Schwab <schwab@redhat.com>
27070
27071 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27072
a5543c6a
RM
270732011-03-03 Roland McGrath <roland@redhat.com>
27074
27075 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27076
012d35f7
DM
270772011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27078
7e4ba49c 27079 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27080 __bzero_ultra1 instead of __memset_ultra1.
27081
4bff6e01
AS
270822011-02-23 Andreas Schwab <schwab@redhat.com>
27083 Ulrich Drepper <drepper@gmail.com>
27084
27085 [BZ #12509]
27086 * include/link.h (struct link_map): Add l_orig_initfini.
27087 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27088 returning unsuccessfully.
27089 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27090 close of a file loaded at startup, restore the original l_initfini
27091 list.
27092 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27093 list, store the pointer.
27094 * elf/Makefile ($(objpfx)noload-mem): New rule.
27095 (noload-ENV): Define.
27096 (tests): Add $(objpfx)noload-mem.
27097 * elf/noload.c: Include <memcheck.h>.
27098 (main): Call mtrace. Close all opened handles.
27099
f2092faf
AS
271002011-02-17 Andreas Schwab <schwab@redhat.com>
27101
27102 [BZ #12454]
27103 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27104 dependencies are missing.
27105
6c8a2e88
ST
271062011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27107
f2092faf 27108 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27109 Hurd needs munmap.
27110 * sysdeps/mach/hurd/ifreq.h: New file.
27111
84a42118
PB
271122011-01-27 Petr Baudis <pasky@suse.cz>
27113 Ulrich Drepper <drepper@gmail.com>
27114
071f805e 27115 [BZ 12445]#
84a42118
PB
27116 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27117 to extend_alloca().
27118 * stdio-common/bug23.c: New file.
27119 * stdio-common/Makefile (tests): Add bug23.
27120
e23fe25b
AS
271212010-09-28 Andreas Schwab <schwab@redhat.com>
27122 Ulrich Drepper <drepper@gmail.com>
27123
27124 [BZ #12489]
27125 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27126 before performing relro protection. At old place add assertion
27127 to make sure nothing changed.
27128
d3f02e10
NS
271292011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27130 Glauber de Oliveira Costa <glommer@gmail.com>
27131
27132 * elf/elf.h: Add new ARM TLS relocs.
27133
d55fd7a5
RA
271342011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27135
27136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27137 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27138 cast from r3.
27139 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27140 'tests' variable.
27141 * sysdeps/wordsize-64/tst-writev.c: New file.
27142
2206397e
RA
271432011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27144
27145 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27146 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27147 insns in _dl_start to prevent a TOC reference before relocs are
27148 resolved.
27149
e9433893
UD
271502011-02-15 Ulrich Drepper <drepper@gmail.com>
27151
27152 [BZ #12469]
27153 * Makeconfig: Remove RANLIB definition.
27154 * Makerules: Don't use RANLIB.
27155 * aclocal.m4: Remove ranlib test.
27156 * configure.in: No need to check for ranlib.
27157 * elf/rtld-Rules: Don't use RANLIB.
27158
f75286c6
ST
271592011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27160
8e31c82d
ST
27161 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27162 protection macro.
27163 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27164 inclusion protection macro.
27165
f75286c6
ST
27166 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27167 SIGRTMIN and SIGRTMAX and print information in that case only when
27168 SIGRTMIN is defined.
27169
c1d0e639
JJ
271702011-02-11 Jakub Jelinek <jakub@redhat.com>
27171
27172 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27173 arginfo fn returning -1.
27174
27175 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27176 and thousands string is zero terminated.
27177
edf9294e
AS
271782011-02-03 Andreas Schwab <schwab@redhat.com>
27179
27180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27181 sysdeps/unix/sysv/linux/bits/socket.h.
27182
2b7e92df
ST
271832011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27184
edf9294e
AS
27185 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27186 (__CPU_COUNT): Remove old macros.
27187 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27188 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27189 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27190 (__sched_cpualloc, __sched_cpufree): Add declarations.
27191
a4c7ea7b
UD
271922011-02-05 Ulrich Drepper <drepper@gmail.com>
27193
27194 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27195 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27196 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27197 (readdhstai): Return value of addhstaiX call.
27198 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27199 (addgrbyX): Return value returned by cache_addgr.
27200 (readdgrbyname): Return value returned by addgrbyX.
27201 (readdgrbygid): Likewise.
27202 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27203 (addpwbyX): Return value returned by cache_addpw.
27204 (readdpwbyname): Return value returned by addhstbyX.
27205 (readdpwbyuid): Likewise.
27206 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27207 (addservbyX): Return value returned by cache_addserv.
27208 (readdservbyname): Return value returned by addservbyX:
27209 (readdservbyport): Likewise.
27210 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27211 (addhstbyX): Return value returned by cache_addhst.
27212 (readdhstbyname): Return value returned by addhstbyX.
27213 (readdhstbyaddr): Likewise.
27214 (readdhstbynamev6): Likewise.
27215 (readdhstbyaddrv6): Likewise.
27216 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27217 (readdinitgroups): Return value returned by addinitgroupsX.
27218 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27219 (prune_cache): Keep track of timeout value of re-added entries.
27220 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27221 * nscd/nscd.h: Adjust prototypes of readd* functions.
27222
a0bf67cc
RM
272232011-02-04 Roland McGrath <roland@redhat.com>
27224
27225 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27226 (nis_stats): Likewise.
27227 * nis/nis_modify.c (nis_modify): Likewise.
27228 * nis/nis_remove.c (nis_remove): Likewise.
27229 * nis/nis_add.c (nis_add): Likewise.
27230
27231 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27232
27233 * posix/fnmatch_loop.c: Add some consts.
27234
27235 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27236
435b95eb
L
272372011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27238
27239 [BZ #12460]
27240 * config.make.in (config-cflags-novzeroupper): Define.
27241 * configure.in: Substitute libc_cv_cc_novzeroupper.
27242 * elf/Makefile (AVX-CFLAGS): Define.
27243 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27244 (CFLAGS-tst-auditmod4a.c): Likewise.
27245 (CFLAGS-tst-auditmod4b.c): Likewise.
27246 (CFLAGS-tst-auditmod6b.c): Likewise.
27247 (CFLAGS-tst-auditmod6c.c): Likewise.
27248 (CFLAGS-tst-auditmod7b.c): Likewise.
27249 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27250
8517b15e
UD
272512011-02-02 Ulrich Drepper <drepper@gmail.com>
27252
27253 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27254 function to the callback.
27255 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27256
10a656fe
AS
272572011-02-02 Andreas Schwab <schwab@redhat.com>
27258
27259 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27260 of errno.
27261
968dad0a
UD
272622011-01-19 Ulrich Drepper <drepper@gmail.com>
27263
9f94d2ea 27264 [BZ #11724]
968dad0a
UD
27265 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27266 of constructors.
27267 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27268 of destructors.
27269 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27270
27271 [BZ #11724]
27272 * elf/Makefile: Add rules to build and run new test.
27273 * elf/tst-initorder.c: New file.
27274 * elf/tst-initorder.exp: New file.
27275 * elf/tst-initordera1.c: New file.
27276 * elf/tst-initordera2.c: New file.
27277 * elf/tst-initordera3.c: New file.
27278 * elf/tst-initordera4.c: New file.
27279 * elf/tst-initorderb1.c: New file.
27280 * elf/tst-initorderb2.c: New file.
27281 * elf/tst-order-a1.c: New file.
27282 * elf/tst-order-a2.c: New file.
27283 * elf/tst-order-a3.c: New file.
27284 * elf/tst-order-a4.c: New file.
27285 * elf/tst-order-b1.c: New file.
27286 * elf/tst-order-b2.c: New file.
27287 * elf/tst-order-main.c: New file.
27288 New test case by George Gensure <werkt0@gmail.com>.
27289
86e92359
UD
272902010-10-01 Andreas Schwab <schwab@redhat.com>
27291
27292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27293 decoding ACE if AI_CANONIDN.
27294
5d5732b0
UD
272952011-01-18 Ulrich Drepper <drepper@gmail.com>
27296
27297 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27298
a77e8cbc
UD
272992011-01-17 Ulrich Drepper <drepper@gmail.com>
27300
6392473f
UD
27301 * version.h (RELEASE): Bump for 2.13 release.
27302 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27303
620a0529
UD
27304 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27305
18ba70a5
UD
27306 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27307 MADV_NOHUGEPAGE.
32465c3e
UD
27308 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27309 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27310 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27311 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27312 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27313 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27314
c0dafcf1
UD
27315 * posix/getconf.c: Update copyright year.
27316 * catgets/gencat.c: Likewise.
27317 * csu/version.c: Likewise.
27318 * debug/catchsegv.sh: Likewise.
27319 * debug/xtrace.sh: Likewise.
27320 * elf/ldconfig.c: Likewise.
27321 * elf/ldd.bash.in: Likewise.
27322 * elf/sprof.c (print_version): Likewise.
27323 * iconv/iconv_prog.c: Likewise.
27324 * iconv/iconvconfig.c: Likewise.
27325 * locale/programs/locale.c: Likewise.
27326 * locale/programs/localedef.c: Likewise.
27327 * malloc/memusage.sh: Likewise.
27328 * malloc/mtrace.pl: Likewise.
27329 * nscd/nscd.c (print_version): Likewise.
27330 * nss/getent.c: Likewise.
27331
a77e8cbc
UD
27332 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27333 PF_CAIF, and PF_ALG.
27334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27335
77e8bddf
AS
273362011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27337
1f20b93a
AS
27338 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27339 (modules-names): Use them.
27340 (ifunc-test-modules, ifunc-pie-tests): Define.
27341 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27342 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27343 (test-extras): Likewise.
27344 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27345 $(compile-command.c).
27346 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27347 (all-built-dso): Define.
27348 (check-textrel.out, check-execstack.out): Depend on it.
27349
77e8bddf
AS
27350 * configure.in: Don't override --enable-multi-arch.
27351
bc425b33
UD
273522011-01-15 Ulrich Drepper <drepper@gmail.com>
27353
27354 [BZ #6812]
27355 * nscd/hstcache.c (tryagain): Define.
27356 (cache_addhst): Return tryagain not notfound for temporary errors.
27357 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27358 failed.
27359
794c3ad3
UD
273602011-01-14 Ulrich Drepper <drepper@gmail.com>
27361
70181fdd
UD
27362 [BZ #10563]
27363 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27364 to make the syscall.
27365 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27366
794c3ad3
UD
27367 [BZ #12378]
27368 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27369 and fall back to matching as normal character if the string ends before
27370 the matching ']' is found. This is what POSIX requires.
27371 * posix/testfnm.c: Adjust test result.
27372 * posix/globtest.sh: Adjust test result. Add new test.
27373 * posix/tst-fnmatch.input: Likewise.
27374 * posix/tst-fnmatch2.c: Add new test.
27375
68dc9497
AS
273762010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27377
27378 * elf/Makefile (check-execstack): Revert last change. Depend on
27379 check-execstack.h.
27380 (check-execstack.h): New target.
27381 (generated): Add check-execstack.h.
27382 * elf/check-execstack.c: Include "check-execstack.h".
27383 (main): Revert last change.
27384 (handle_file): Return zero if GNU_STACK is absent and
27385 DEFAULT_STACK_PERMS doesn't include PF_X.
27386
451f001b
UD
273872011-01-13 Ulrich Drepper <drepper@gmail.com>
27388
cfa28e56
UD
27389 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27390 in child fails because the descriptor is already closed.
8cf8ce17
UD
27391 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27392 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27393 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27394
1086d70d
UD
27395 [BZ #12397]
27396 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27397 syscall.
27398
451f001b
UD
27399 [BZ #10484]
27400 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27401 temporary buffer used to handle multi lookups locally.
a85b5cb4 27402 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27403
08769175
UD
274042011-01-12 Ulrich Drepper <drepper@gmail.com>
27405
27406 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27407 loader is ld.so.
27408
5e49c52e
UD
274092011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27410
27411 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27412 alignment for SSE2.
27413
60522a5f
UD
274142011-01-12 Ulrich Drepper <drepper@gmail.com>
27415
27416 [BZ #12394]
27417 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27418 characters. When rounding increased number of integer digits recompute
27419 number of groups.
27420 * stdio-common/tst-grouping.c: New file.
27421 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27422
f257bbd7
UD
274232011-01-09 Ulrich Drepper <drepper@gmail.com>
27424
27425 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27426 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27427
27428 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27429 void.
27430 * bits/select.h: Likewise.
27431
fa9c15cb
UD
274322011-01-08 Ulrich Drepper <drepper@gmail.com>
27433
27434 * po/ja.po: Update from translation team.
27435
16c2895f
DM
274362011-01-04 David S. Miller <davem@sunset.davemloft.net>
27437
27438 [BZ #11155]
27439 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27440 implementation just like for lxstat, fxstatat, et al.
27441
2543fef2
JM
274422010-12-27 Jim Meyering <meyering@redhat.com>
27443
27444 [BZ #12348]
27445 * posix/regexec.c (build_trtable): Return failure indication upon
27446 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27447
98727dbe
UD
274482010-12-25 Ulrich Drepper <drepper@gmail.com>
27449
5bd6dc5c
UD
27450 [BZ #12201]
27451 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27452 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27453 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27454 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27455
97983464
UD
27456 [BZ #12207]
27457 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27458
98727dbe
UD
27459 [BZ #12204]
27460 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27461 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27462
4a531bb0
L
274632010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27464
27465 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27466 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27467 script has SORT_BY_INIT_PRIORITY.
27468 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27469 NO_CTORS_DTORS_SECTIONS is defined.
27470 * elf/soinit.c: Likewise.
27471 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27472 NO_CTORS_DTORS_SECTIONS is defined.
27473 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27474 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27475 * sysdeps/sh/init-first.c: Likewise.
27476 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27477
07eb4b71
UD
274782010-12-24 Ulrich Drepper <drepper@gmail.com>
27479
27480 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27481 always use the slow path.
27482
30950a5f
RA
274832010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27484
27485 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27486 similar rule which adds the sysdep directories to the header search in
27487 order to pick up the correct platform stackinfo.h.
27488 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27489 perform test if it is, otherwise return successfully without testing.
27490 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27491 DEFAULT_STACK_PERMS define in stackinfo.h.
27492 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27493 defined in stackinfo.h.
27494 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27495 DEFAULT_STACK_PERMS defined in stackinfo.h.
27496 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27497 * sysdeps/ia64/stackinfo.h: Likewise.
27498 * sysdeps/s390/stackinfo.h: Likewise.
27499 * sysdeps/sh/stackinfo.h: Likewise.
27500 * sysdeps/sparc/stackinfo.h: Likewise.
27501 * sysdeps/x86_64/stackinfo.h: Likewise.
27502 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27503 PF_X for powerpc64. Retain PF_X for powerpc32.
27504
db753e2c
UD
275052010-12-19 Ulrich Drepper <drepper@gmail.com>
27506
14b697f7
UD
27507 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27508 accurately.
db753e2c
UD
27509 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27510 GETDENTS_64BIT_ALIGNED.
27511
28300719
UD
275122010-12-14 Ulrich Drepper <dreper@gmail.com>
27513
14b697f7 27514 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27515
4f197237
AS
275162010-12-10 Andreas Schwab <schwab@redhat.com>
27517
dbb0472f
AS
27518 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27519 _GNU_SOURCE.
27520
4f197237
AS
27521 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27522 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27523 Remove __restrict.
27524 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27525 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27526
fb88ac72
UD
275272010-12-09 Ulrich Drepper <drepper@gmail.com>
27528
27529 [BZ #11655]
27530 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27531 are initialized.
27532
42acbb92
JJ
275332010-12-09 Jakub Jelinek <jakub@redhat.com>
27534
27535 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27536
c038d98d
UD
275372010-12-03 Ulrich Drepper <drepper@gmail.com>
27538
27539 * po/it.po: Update from translation team.
27540
3a4a2499
L
275412010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27542
27543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27544 unused codes.
27545
1e24cf6e
UD
275462010-11-30 Ulrich Drepper <drepper@gmail.com>
27547
27548 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27549
a7690819
AS
275502010-11-24 Andreas Schwab <schwab@redhat.com>
27551
27552 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27553 specially.
27554 (gaih_getanswer_slice): Likewise.
27555
3bf8d1b1
JJ
275562010-10-20 Jakub Jelinek <jakub@redhat.com>
27557
27558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27559
6db52fbb
PB
275602010-05-31 Petr Baudis <pasky@suse.cz>
27561
27562 [BZ #11149]
27563 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27564 silently even in the chroot mode.
27565
eaca7569
UD
275662010-11-22 Ulrich Drepper <drepper@gmail.com>
27567
27568 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27569 last patch a bit. Pretty printing
27570
3056dcdb
UD
275712010-05-31 Petr Baudis <pasky@suse.cz>
27572
27573 [BZ #10085]
27574 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27575 initialization of skip_initgroups_dyn.
27576
cf7c9078
UD
275772010-11-19 Ulrich Drepper <drepper@gmail.com>
27578
27579 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27580 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27581
a1fb5e3e
UD
275822010-11-16 Ulrich Drepper <drepper@gmail.com>
27583
27584 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27585
3540d66b
AS
275862010-11-11 Andreas Schwab <schwab@redhat.com>
27587
27588 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27589 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27590 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27591 ($(objpfx)tst-fnmatch-mem): New rule.
27592 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27593 * posix/tst-fnmatch.c (main): Call mtrace.
27594
13b69574
L
275952010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27596
27597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27598 Support Intel processor model 6 and model 0x2c.
27599
da93d214
LM
276002010-11-10 Luis Machado <luisgpm@br.ibm.com>
27601
27602 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27603 signed comparison.
27604
8ca52c6e
L
276052010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27606
27607 [BZ #12205]
27608 * string/test-strncasecmp.c (check_result): New function.
27609 (do_one_test): Use it.
27610 (check1): New function.
27611 (test_main): Use it.
27612 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27613 Support strcasecmp and strncasecmp.
27614
69da074d
UD
276152010-11-08 Ulrich Drepper <drepper@gmail.com>
27616
27617 [BZ #12194]
27618 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27619 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27620
ff02d528
L
276212010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27622
27623 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27624 IFUNC support.
27625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27626 memset-x86-64.
27627 * sysdeps/x86_64/multiarch/bzero.S: New file.
27628 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27629 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27630 * sysdeps/x86_64/multiarch/memset.S: New file.
27631 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27633 Set bit_Prefer_SSE_for_memop for Intel processors.
27634 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27635 Define.
27636 (index_Prefer_SSE_for_memop): Define.
27637 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27638
344d0b54
LM
276392010-11-04 Luis Machado <luisgpm@br.ibm.com>
27640
27641 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27642 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27643
c0dde15b
UD
276442010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27645
27646 [BZ #12191]
27647 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27648 (__x86_64_raw_data_cache_size_half): Likewise.
27649 (__x86_64_raw_shared_cache_size): Likewise.
27650 (__x86_64_raw_shared_cache_size_half): Likewise.
27651
27652 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27653 (__x86_64_raw_data_cache_size_half): Likewise.
27654 (__x86_64_raw_shared_cache_size): Likewise.
27655 (__x86_64_raw_shared_cache_size_half): Likewise.
27656 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27657 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27658 and __x86_64_raw_shared_cache_size_half. Round
27659 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27660 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27661 to multiple of 256 bytes.
27662
0e516e0e
MS
276632010-11-03 Ulrich Drepper <drepper@gmail.com>
27664
27665 [BZ #12167]
27666 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27667 of inacessible symlinks. Verify result of symlink before returning it.
27668 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27669 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27670
0e012e87
ER
276712010-10-28 Erich Ritz <erichritz@gmail.com>
27672
27673 * math/math.h (isinf): Fix typo in comment.
27674
de0ff7bc
UD
276752010-11-01 Ulrich Drepper <drepper@gmail.com>
27676
27677 * po/da.po: Update from translation team.
27678
fa41c84d
UD
276792010-10-26 Ulrich Drepper <drepper@gmail.com>
27680
27681 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27682 is added to the list.
27683
f0967738
AK
276842010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27685 Ulrich Drepper <drepper@gmail.com>
27686
27687 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27688 the global list here. Move code to...
27689 (_dl_add_to_namespace_list): ...here. New function.
27690 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27691 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27692 * elf/dl-load.c (lose): Don't remove the element from the list.
27693 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27694 (_dl_map_object): Likewise.
27695
276962010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27697
27698 [BZ #12159]
27699 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27700 into all bytes of SSE register.
27701 Patch by Richard Li <richardpku@gmail.com>.
27702
f0967738 277032010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27704
27705 [BZ #12140]
27706 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27707 perturbing.
27708
d0b9e94f
MB
277092010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27710
27711 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27712 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27713 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27714 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27716 submachine.
27717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27718
8e9f92e9
AS
277192010-10-22 Andreas Schwab <schwab@redhat.com>
27720
27721 * include/dlfcn.h (__RTLD_SECURE): Define.
27722 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27723 mode & __RTLD_SECURE instead.
27724 (open_path): Rename preloaded parameter to secure.
27725 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27726 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27727 * elf/dl-deps.c (openaux): Likewise.
27728 * elf/rtld.c (struct map_args): Remove is_preloaded.
27729 (map_doit): Don't use it.
27730 (dl_main): Likewise.
27731 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27732 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27733
bc96fbda
AS
277342010-09-09 Andreas Schwab <schwab@redhat.com>
27735
27736 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27737 (sysd-rules-targets): Remove duplicates.
27738 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27739 rtld-%.$o dependency.
27740
22cd1c9b
AS
277412010-10-18 Andreas Schwab <schwab@redhat.com>
27742
27743 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27744 _dl_map_object do it.
27745
18edac48
UD
277462010-10-19 Ulrich Drepper <drepper@gmail.com>
27747
27748 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27749 fast fma builtins, define the macros in the C99 standard.
27750 (FP_FAST_FMAF): Likewise.
27751 (FP_FAST_FMAL): Likewise.
27752 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27753
27754 * bits/mathdef.h: Update copyright year.
27755 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27756
d2050124
MM
277572010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27758
27759 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27760 builtins, define the macros in the C99 standard.
27761 (FP_FAST_FMAF): Likewise.
27762 (FP_FAST_FMAL): Likewise.
27763 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27764 multiply/add.
27765 (FP_FAST_FMAF): Likewise.
27766
475facd1
JJ
277672010-10-15 Jakub Jelinek <jakub@redhat.com>
27768
27769 [BZ #3268]
27770 * math/libm-test.inc (fma_test): Some new testcases.
27771 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27772 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27773 y and infinite z. Do multiplication by C already in long double.
27774 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27776 y and infinite z. Do bitwise or of inexact bit into u.d.
27777 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27778 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27779 * sysdeps/i386/fpu/s_fma.S: Removed.
27780 * sysdeps/i386/fpu/s_fmal.S: Removed.
27781
7c08a05c
JJ
277822010-10-16 Jakub Jelinek <jakub@redhat.com>
27783
27784 [BZ #3268]
27785 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27786 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27787 computation is not scheduled after fetestexcept. Fix value
27788 of minimum denormal long double.
27789
f3f7372d
JJ
277902010-10-14 Jakub Jelinek <jakub@redhat.com>
27791
27792 [BZ #3268]
27793 * math/libm-test.inc (fma_test): Add some more tests.
27794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27795 correctly.
27796
14d43591
AS
277972010-10-15 Andreas Schwab <schwab@redhat.com>
27798
27799 * scripts/data/localplt-s390-linux-gnu.data: New file.
27800 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27801
5e908464
JJ
278022010-10-13 Jakub Jelinek <jakub@redhat.com>
27803
27804 [BZ #3268]
27805 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27806 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27807 instead of dbl-64.
27808 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27809 inlines.
27810 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27812 if one of x and y is very large and the other is subnormal.
27813 * sysdeps/s390/fpu/s_fmaf.c: New file.
27814 * sysdeps/s390/fpu/s_fma.c: New file.
27815 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27816 * sysdeps/powerpc/fpu/s_fma.S: New file.
27817 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27818 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27819 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27820
278212010-10-12 Jakub Jelinek <jakub@redhat.com>
27822
27823 [BZ #3268]
27824 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27825 fma tests.
27826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27827 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27828 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27829 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27830 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27831 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27833
b833d51f
UD
278342010-10-12 Ulrich Drepper <drepper@redhat.com>
27835
27836 [BZ #12078]
27837 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27838 * posix/bug-regex31.input: Add test case.
27839
1751705d
UD
278402010-10-11 Ulrich Drepper <drepper@gmail.com>
27841
e9b9cbf5
UD
27842 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27843 * posix/bug-regex31.input: New file.
27844
27845 [BZ #12078]
27846 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27847 (parse_sub_exp): Fix last change, use postorder.
27848
ef06edbe
UD
27849 * posix/bug-regex31.c: New file.
27850 * posix/Makefile: Add rules to build and run bug-regex31.
27851
a129c80d
UD
27852 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27853
27854 [BZ #12078]
27855 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27856
b76b818e
UD
27857 [BZ #12108]
27858 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27859 to have entries in sys_siglist.
27860
1751705d
UD
27861 [BZ #12093]
27862 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27863 be NULL.
27864
9ff8d36f
JJ
278652010-10-07 Jakub Jelinek <jakub@redhat.com>
27866
27867 [BZ #3268]
27868 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27869 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27870 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27871 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27872 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27873 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27874 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27875 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27876 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27877 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27878 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27879 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27880 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27881 * math/ftestexcept.c (fetestexcept): Likewise.
27882 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27883 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
27884 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
27885 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
27886 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
27887 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
27888 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27889
af325969
UD
278902010-10-11 Ulrich Drepper <drepper@gmail.com>
27891
c579b202 27892 [BZ #12107]
af325969
UD
27893 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
27894 newline.
27895
67a67b95
UD
278962010-10-06 Ulrich Drepper <drepper@gmail.com>
27897
27898 * string/bug-strstr1.c: New file.
27899 * string/Makefile: Add rules to build and run bug-strstr1.
27900
5fb308bc
EB
279012010-10-05 Eric Blake <eblake@redhat.com>
27902
27903 [BZ #12092]
27904 * string/str-two-way.h (two_way_long_needle): Always clear memory
27905 when skipping input due to the shift table.
27906
45db99c7
UD
279072010-10-03 Ulrich Drepper <drepper@gmail.com>
27908
3b111893
UD
27909 [BZ #12005]
27910 * malloc/mcheck.c: Handle large requests.
27911
45db99c7
UD
27912 [BZ #12077]
27913 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
27914 for strncmp and strncasecmp.
27915 * string/stratcliff.c: Add tests for strcmp and strncmp.
27916 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
27917
cf7a1eb8
NI
279182010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27919
27920 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
27921 __set_fpscr.
27922
6484ba5e
AJ
279232010-09-30 Andreas Jaeger <aj@suse.de>
27924
27925 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
27926 (CGROUP_SUPER_MAGIC): Define.
27927 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27928 Handle btrfs and cgroup file systems.
27929 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27930 Likewise.
27931
91c42559
LM
279322010-09-27 Luis Machado <luisgpm@br.ibm.com>
27933
27934 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
27935 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
27936
87a97932
AK
279372010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27938
27939 [BZ #12067]
27940 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
27941 trying to locate the ELF header.
27942
c21cc9bc
AS
279432010-09-27 Andreas Schwab <schwab@redhat.com>
27944
27945 [BZ #11611]
27946 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
27947 Mask out sign-bit copies when constructing f_fsid.
27948
315970f6
PB
279492010-09-24 Petr Baudis <pasky@suse.cz>
27950
27951 * debug/stack_chk_fail_local.c: Add missing licence exception.
27952 * debug/warning-nop.c: Likewise.
27953
1ac7a2c7
JM
279542010-09-15 Joseph Myers <joseph@codesourcery.com>
27955
27956 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
27957 implementing getdents64 using getdents syscall, set d_type if
27958 __ASSUME_GETDENTS32_D_TYPE.
27959
56801c50
AS
279602010-09-16 Andreas Schwab <schwab@redhat.com>
27961
27962 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
27963 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
27964
dda51327
UD
279652010-09-21 Ulrich Drepper <drepper@redhat.com>
27966
27967 [BZ #12037]
27968 * posix/unistd.h: Undo change of feature selection for ftruncate from
27969 2010-01-11.
27970
8ffcee4a
UD
279712010-09-20 Ulrich Drepper <drepper@redhat.com>
27972
a545ecd9 27973 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
27974 detection.
27975
e24f0a8b
AS
279762010-09-20 Andreas Schwab <schwab@redhat.com>
27977
27978 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
27979 fanotify_mark.
27980 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27981
7291c56f
AS
279822010-09-14 Andreas Schwab <schwab@redhat.com>
27983
27984 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
27985 variables after CHECK_SP call.
27986 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
27987
bc5fb037
AS
279882010-09-13 Andreas Schwab <schwab@redhat.com>
27989 Ulrich Drepper <drepper@redhat.com>
27990
27991 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
27992 re-relocationg ld.so.
27993 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
27994 _dl_init_paths call.
27995 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
27996 here anymore.
27997
e66e7419
UD
279982010-09-14 Ulrich Drepper <drepper@redhat.com>
27999
28000 * resolv/res_init.c (__res_vinit): Count the default server we added.
28001
c044aa75
CLT
280022010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28003 Ulrich Drepper <drepper@redhat.com>
28004
28005 [BZ #11968]
28006 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28007 (____longjmp_chk): Use %ebx for saving value across system call.
28008 Add unwind info.
28009
32cf4069
AS
280102010-09-06 Andreas Schwab <schwab@redhat.com>
28011
28012 * manual/Makefile: Don't mix pattern rules with normal rules.
28013
817328ee
AS
280142010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28015
28016 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28017 operation.
28018 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28019 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28020 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28021 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28023 Likewise.
28024
29fddf61
UD
280252010-09-04 Ulrich Drepper <drepper@redhat.com>
28026
28027 [BZ #11979]
28028 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28029 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28030
0959ffc9
UD
280312010-09-02 Ulrich Drepper <drepper@redhat.com>
28032
28033 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28034 * sysdeps/x86_64/addmul_1.S: Likewise.
28035 * sysdeps/x86_64/lshift.S: Likewise.
28036 * sysdeps/x86_64/mul_1.S: Likewise.
28037 * sysdeps/x86_64/rshift.S: Likewise.
28038 * sysdeps/x86_64/sub_n.S: Likewise.
28039 * sysdeps/x86_64/submul_1.S: Likewise.
28040
ece29840
ST
280412010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28042
0959ffc9
UD
28043 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28044 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28045 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28046 * bits/sched.h [__need_schedparam]
ece29840 28047 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28048 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28049 (__defined_schedparam): Define to 1.
ece29840
ST
28050 (__sched_param): New structure, identical to sched_param.
28051 (__need_schedparam): Undefine.
28052
e53a31fe
MF
280532010-08-31 Mike Frysinger <vapier@gentoo.org>
28054
fdc0c10d
MF
28055 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28056 (epoll_create1): Declare.
28057
e53a31fe
MF
28058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28059
a726d796
AS
280602010-08-31 Andreas Schwab <schwab@redhat.com>
28061
28062 [BZ #7066]
28063 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28064 shifting retval into place.
28065
2f3e3dc7
UD
280662010-09-01 Ulrich Drepper <drepper@redhat.com>
28067
f2933da9
UD
28068 * nis/rpcsvc/nis.h: Update copyright notice.
28069 * nis/rpcsvc/nis.x: Likewise.
28070 * nis/rpcsvc/nis_callback.h: Likewise.
28071 * nis/rpcsvc/nis_callback.x: Likewise.
28072 * nis/rpcsvc/nis_object.x: Likewise.
28073 * nis/rpcsvc/nis_tags.h: Likewise.
28074 * nis/rpcsvc/yp.h: Likewise.
28075 * nis/rpcsvc/yp.x: Likewise.
28076 * nis/rpcsvc/ypupd.h: Likewise.
28077 * nis/yp_xdr.c: Likewise.
28078 * nis/ypupdate_xdr.c: Likewise.
28079
2f3e3dc7
UD
28080 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28081 mainly the body of pmap_getport. Add parameters to specify timeouts.
28082 (pmap_getport): Use __libc_rpc_getport.
28083 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28084 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28085 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28086
f3dcc2f9
AS
280872010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28088
28089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28090 fanotify_mark.
28091
6d34eb5b
RM
280922010-08-27 Roland McGrath <roland@redhat.com>
28093
28094 * sysdeps/i386/i686/multiarch/Makefile
28095 (CFLAGS-varshift.c): New variable.
28096
9ea3de11
UD
280972010-08-27 Ulrich Drepper <drepper@redhat.com>
28098
c96d23fc
UD
28099 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28100 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28101
9ea3de11
UD
28102 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28103
28104 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28105
623aac7f
L
281062010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28107
28108 * sysdeps/x86_64/strlen.S: Unroll the loop.
28109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28110 strlen-sse2 strlen-sse2-bsf.
28111 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28112 __strlen_no_bsf if bit_Slow_BSF is set.
28113 (__strlen_sse42): Removed.
28114 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28115 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28116
8b2b7715
RM
281172010-08-25 Roland McGrath <roland@redhat.com>
28118
28119 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28120 * sysdeps/x86_64/multiarch/varshift.c: New file.
28121 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28122 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28123 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28124 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28125
e73015f2
L
281262010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28127
28128 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28129 strlen-sse2 strlen-sse2-bsf.
28130 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28131 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28132 (__strlen_sse2): Removed.
28133 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28134 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28135 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28136 bit_Slow_BSF for Atom.
28137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28138 (index_Slow_BSF): Define.
28139 (HAS_SLOW_BSF): Define.
28140
df24a73e
UD
281412010-08-25 Ulrich Drepper <drepper@redhat.com>
28142
28143 [BZ #10851]
28144 * resolv/res_init.c (__res_vinit): When no server address at all
28145 is given default to loopback.
28146
f2ac4868
RM
281472010-08-24 Roland McGrath <roland@redhat.com>
28148
09055553
RM
28149 * configure.in: Remove config-name.h generation.
28150 * configure: Regenerated.
28151 * config-name.in: File removed.
28152 * scripts/config-uname.sh: New file.
28153 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28154 ($(objdir)config-name.h): New target.
28155
f2ac4868
RM
28156 * sunrpc/rpc_parse.h: Avoid nested comment.
28157
73f27d5e
RH
281582010-08-24 Richard Henderson <rth@redhat.com>
28159 Ulrich Drepper <drepper@redhat.com>
28160 H.J. Lu <hongjiu.lu@intel.com>
28161
28162 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28163 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28164 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28165 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28166 _mm_alignr_epi8 with _mm_loadu_si128.
28167 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28168 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28169 (__m128i_shift_right): Removed.
28170 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28171 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28172 * sysdeps/x86_64/multiarch/varshift.h: New file.
28173 * sysdeps/x86_64/multiarch/varshift.S: New file.
28174
84b9230c
MF
281752010-08-21 Mike Frysinger <vapier@gentoo.org>
28176
28177 * configure.in: Move assembler checks to before sysdep dir checking.
28178
9bbd0ddc
PB
281792010-08-20 Petr Baudis <pasky@suse.cz>
28180
28181 * LICENSES: Sync the sunrpc license.
28182
9da4bb31
UD
281832010-08-19 Ulrich Drepper <drepper@redhat.com>
28184
a7ab6ec8
UD
28185 * sunrpc/auth_des.c: Update copyright notice once again.
28186 * sunrpc/auth_none.c: Likewise.
28187 * sunrpc/auth_unix.c: Likewise.
28188 * sunrpc/authdes_prot.c: Likewise.
28189 * sunrpc/authuxprot.c: Likewise.
28190 * sunrpc/bindrsvprt.c: Likewise.
28191 * sunrpc/clnt_gen.c: Likewise.
28192 * sunrpc/clnt_perr.c: Likewise.
28193 * sunrpc/clnt_raw.c: Likewise.
28194 * sunrpc/clnt_simp.c: Likewise.
28195 * sunrpc/clnt_tcp.c: Likewise.
28196 * sunrpc/clnt_udp.c: Likewise.
28197 * sunrpc/clnt_unix.c: Likewise.
28198 * sunrpc/des_crypt.c: Likewise.
28199 * sunrpc/des_soft.c: Likewise.
28200 * sunrpc/get_myaddr.c: Likewise.
28201 * sunrpc/getrpcport.c: Likewise.
28202 * sunrpc/key_call.c: Likewise.
28203 * sunrpc/key_prot.c: Likewise.
28204 * sunrpc/openchild.c: Likewise.
28205 * sunrpc/pm_getmaps.c: Likewise.
28206 * sunrpc/pm_getport.c: Likewise.
28207 * sunrpc/pmap_clnt.c: Likewise.
28208 * sunrpc/pmap_prot.c: Likewise.
28209 * sunrpc/pmap_prot2.c: Likewise.
28210 * sunrpc/pmap_rmt.c: Likewise.
28211 * sunrpc/rpc/auth.h: Likewise.
28212 * sunrpc/rpc/auth_unix.h: Likewise.
28213 * sunrpc/rpc/clnt.h: Likewise.
28214 * sunrpc/rpc/des_crypt.h: Likewise.
28215 * sunrpc/rpc/key_prot.h: Likewise.
28216 * sunrpc/rpc/netdb.h: Likewise.
28217 * sunrpc/rpc/pmap_clnt.h: Likewise.
28218 * sunrpc/rpc/pmap_prot.h: Likewise.
28219 * sunrpc/rpc/pmap_rmt.h: Likewise.
28220 * sunrpc/rpc/rpc.h: Likewise.
28221 * sunrpc/rpc/rpc_des.h: Likewise.
28222 * sunrpc/rpc/rpc_msg.h: Likewise.
28223 * sunrpc/rpc/svc.h: Likewise.
28224 * sunrpc/rpc/svc_auth.h: Likewise.
28225 * sunrpc/rpc/types.h: Likewise.
28226 * sunrpc/rpc/xdr.h: Likewise.
28227 * sunrpc/rpc_clntout.c: Likewise.
28228 * sunrpc/rpc_cmsg.c: Likewise.
28229 * sunrpc/rpc_common.c: Likewise.
28230 * sunrpc/rpc_cout.c: Likewise.
28231 * sunrpc/rpc_dtable.c: Likewise.
28232 * sunrpc/rpc_hout.c: Likewise.
28233 * sunrpc/rpc_main.c: Likewise.
28234 * sunrpc/rpc_parse.c: Likewise.
28235 * sunrpc/rpc_parse.h: Likewise.
28236 * sunrpc/rpc_prot.c: Likewise.
28237 * sunrpc/rpc_sample.c: Likewise.
28238 * sunrpc/rpc_scan.c: Likewise.
28239 * sunrpc/rpc_scan.h: Likewise.
28240 * sunrpc/rpc_svcout.c: Likewise.
28241 * sunrpc/rpc_tblout.c: Likewise.
28242 * sunrpc/rpc_util.c: Likewise.
28243 * sunrpc/rpc_util.h: Likewise.
28244 * sunrpc/rpcinfo.c: Likewise.
28245 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28246 * sunrpc/rpcsvc/key_prot.x: Likewise.
28247 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28248 * sunrpc/rpcsvc/mount.x: Likewise.
28249 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28250 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28251 * sunrpc/rpcsvc/rex.x: Likewise.
28252 * sunrpc/rpcsvc/rstat.x: Likewise.
28253 * sunrpc/rpcsvc/rusers.x: Likewise.
28254 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28255 * sunrpc/rpcsvc/spray.x: Likewise.
28256 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28257 * sunrpc/rtime.c: Likewise.
28258 * sunrpc/svc.c: Likewise.
28259 * sunrpc/svc_auth.c: Likewise.
28260 * sunrpc/svc_authux.c: Likewise.
28261 * sunrpc/svc_raw.c: Likewise.
28262 * sunrpc/svc_run.c: Likewise.
28263 * sunrpc/svc_simple.c: Likewise.
28264 * sunrpc/svc_tcp.c: Likewise.
28265 * sunrpc/svc_udp.c: Likewise.
28266 * sunrpc/svc_unix.c: Likewise.
28267 * sunrpc/svcauth_des.c: Likewise.
28268 * sunrpc/xcrypt.c: Likewise.
28269 * sunrpc/xdr.c: Likewise.
28270 * sunrpc/xdr_array.c: Likewise.
28271 * sunrpc/xdr_float.c: Likewise.
28272 * sunrpc/xdr_mem.c: Likewise.
28273 * sunrpc/xdr_rec.c: Likewise.
28274 * sunrpc/xdr_ref.c: Likewise.
28275 * sunrpc/xdr_sizeof.c: Likewise.
28276 * sunrpc/xdr_stdio.c: Likewise.
28277
9da4bb31
UD
28278 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28279 handling.
28280
bdaa77bc
AS
282812010-08-19 Andreas Schwab <schwab@redhat.com>
28282
28283 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28284
fe2f79db
LM
282852010-08-19 Luis Machado <luisgpm@br.ibm.com>
28286
28287 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28288 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28289 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28290 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28291 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28292 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28293 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28294 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28295 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28296 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28297 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28298 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28299 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28300 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28301
b9b42ee0
AB
283022010-07-26 Anton Blanchard <anton@samba.org>
28303
28304 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28305 * malloc/arena.c (heap_trim): Likewise.
28306
1c06ba31
UD
283072010-08-16 Ulrich Drepper <drepper@redhat.com>
28308
28309 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28310 here. Not...
28311 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28312 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28313
f8392f40
L
283142010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28315
28316 * sysdeps/i386/elf/Makefile: New file.
28317
3162f12e
AS
283182010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28319
28320 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28321 from fanotify_init.
28322 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28324
28c90b2c
UD
283252010-08-15 Ulrich Drepper <drepper@redhat.com>
28326
28327 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28328 of strncasecmp_l.
1feccb6c 28329 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28330
ca6bb004
UD
283312010-08-14 Ulrich Drepper <drepper@redhat.com>
28332
e9f82e0d
UD
28333 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28334 strncase_l-nonascii.
28335 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28336 Add strncase_l-ssse3.
28337 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28338 * sysdeps/x86_64/strcmp.S: Likewise.
28339 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28340 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28341 * sysdeps/x86_64/strncase.S: New file.
28342 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28343 * sysdeps/x86_64/strncase_l.S: New file.
28344 * string/Makefile (strop-tests): Add strncasecmp.
28345 * string/test-strncasecmp.c: New file.
28346
28347 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28348 warning.
28349
ca6bb004
UD
28350 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28351 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28352
052fa7b3
AS
283532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28354
28355 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28356
962dba78
UD
283572010-08-12 Ulrich Drepper <drepper@redhat.com>
28358
28359 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28360 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28361 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28362
bebff237
AM
283632010-05-01 Alan Modra <amodra@gmail.com>
28364
28365 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28366 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28367 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28368 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28369 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28370 tidying. Don't tail-call __sigjmp_save for static lib.
28371 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28372 save location.
28373 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28374 (CALL_MCOUNT): Add eh info, and nop after bl.
28375 (TAIL_CALL_SYSCALL_ERROR): New macro.
28376 (PSEUDO_RET): Use it.
28377 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28378 Correct save location of integer regs and cr.
28379 (_dl_profile_resolve): Correct cr save location. Delete nops
28380 after bl when SHARED. Reduce cfi size a little by better
28381 placement of cfi directives.
28382 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28383 make a stack frame. Instead use parm save area as a temp.
28384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28385 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28387 Don't make a stack frame for parent, use parm save area.
28388 Increase child stack frame to 112 bytes. Don't save unused reg,
28389 and adjust reg usage. Set up cfi on error recovery and
28390 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28392 (__makecontext): Add dummy nop after jump to exit.
28393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28394 Use correct parm save area and cr save, reduce stack frame.
28395 Correct cfi for possible PSEUDO_RET frame setup.
28396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28397 Branch to local label emitted by PSEUDO_RET rather than
28398 __syscall_error.
28399
02637374
AS
284002010-08-12 Andreas Schwab <schwab@redhat.com>
28401
28402 [BZ #11904]
28403 * locale/programs/locale.c (print_assignment): New function.
28404 (show_locale_vars): Use it.
28405
c3e2f19b
UD
284062010-08-11 Ulrich Drepper <drepper@redhat.com>
28407
3cdaa6ad
UD
28408 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28409 field.
28410 (struct statfs64): Likewise.
28411 (_STATFS_F_FLAGS): Define.
28412 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28413 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28414 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28415 (ST_VALID): Define locally.
28416 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28417 __statvfs_getflags, use the provided value.
28418 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28419 __ASSUME_STATFS_F_FLAGS.
28420
754f7da3
UD
28421 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28422
10b3bedc
UD
28423 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28424 Add sys/fanotify.h.
28425 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28426 fanotify_mask for GLIBC_2.13.
28427 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28428 fanotify_init and fanotify_mark.
28429 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28430 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28431
c08fb0d7
UD
28432 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28433 Add prlimit.
28434 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28435 prlimit64 for GLIBC_2.13.
28436 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28437 prlimit64.
28438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28439 syscall.
28440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28441 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28442 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28443 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28444 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28445 add prlimit alias.
28446 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28447
15bac72b
UD
28448 [BZ #11903]
28449 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28450 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28451
c3e2f19b
UD
28452 * nss/Makefile: Add rules to build and run tst-nss-test1.
28453 * shlib-versions: Add entry for libnss_test1.
28454 * nss/nss_test1.c: New file.
28455 * nss/tst-nss-test1.c: New file.
28456
28457 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28458 (__nss_configure_lookup): Set appropriate entry in
28459 __nss_configure_lookup to true.
28460 * nss/nsswitch.h: Define enum with indeces of databases in
28461 databases and __nss_database_custom arrays. Declare
28462 __nss_database_custom.
28463 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28464 to avoid using nscd when custom rules are installed.
28465 * nss/getXXbyYY_r.c: Likewise.
28466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28467
28468 * nss/nss_files/files-parse.c: Whitespace fixes.
28469
f15ce4d8
UD
284702010-08-09 Ulrich Drepper <drepper@redhat.com>
28471
28472 [BZ #11883]
28473 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28474 * posix/fnmatch_loop.c: Likewise.
28475
d22e4cc9
AK
284762010-07-17 Andi Kleen <ak@linux.intel.com>
28477
28478 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28479 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28480 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28481 * Versions.def [GLIBC_2.13]: Add.
28482
805bc17d
UD
284832010-08-06 Ulrich Drepper <drepper@redhat.com>
28484
28485 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28486 Also fail if tpwd after pwuid call is NULL.
28487
5a42321d
ST
284882010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28489
28490 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28491 when converting to ms.
28492
fd3ebeda
ST
284932010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28494
28495 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28496 EOPNOTSUPP errors with ENOTTY.
28497 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28498 EOPNOTSUPP errors with ENOTTY.
28499
73507d3a
UD
285002010-07-31 Ulrich Drepper <drepper@redhat.com>
28501
28502 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28503 Add strcasecmp_l-ssse3.
28504 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28505 strcasecmp.
28506 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28507 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28508 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28509
fe36dd02
UD
285102010-07-30 Ulrich Drepper <drepper@redhat.com>
28511
66f6765a
UD
28512 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28513
42e08a54
UD
28514 * string/Makefile (strop-tests): Add strcasecmp.
28515 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28516 strcasecmp_l-nonascii.
28517 (gen-as-const-headers): Add locale-defines.sym.
28518 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28519 * sysdeps/x86_64/strcasecmp.S: New file.
28520 * sysdeps/x86_64/strcasecmp_l.S: New file.
28521 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28522 * sysdeps/x86_64/locale-defines.sym: New file.
28523 * string/test-strcasecmp.c: New file.
28524
fe36dd02
UD
28525 * string/test-strcasestr.c: Test both ends of the range of characters.
28526 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28527
48cbc0d6
RM
285282010-07-29 Roland McGrath <roland@redhat.com>
28529
76e6d6bc 28530 [BZ #11856]
48cbc0d6
RM
28531 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28532
880113d9
UD
285332010-07-27 Ulrich Drepper <drepper@redhat.com>
28534
28535 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28536 for ld.so.
28537
deb9cabb
AS
285382010-07-27 Andreas Schwab <schwab@redhat.com>
28539
28540 * manual/memory.texi (Malloc Tunable Parameters): Document
28541 M_PERTURB.
28542
1c7570ff
RM
285432010-07-26 Roland McGrath <roland@redhat.com>
28544
28545 [BZ #11840]
28546 * configure.in (-fgnu89-inline check): Set and substitute
28547 gnu89_inline, not libc_cv_gnu89_inline.
28548 * configure: Regenerated.
28549 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28550
24fb0f88
UD
285512010-07-26 Ulrich Drepper <drepper@redhat.com>
28552
28553 * string/test-strnlen.c: New file.
28554 * string/Makefile (strop-tests): Add strnlen.
28555 * string/tester.c (test_strnlen): Add a few more test cases.
28556 * string/tst-strlen.c: Better error reporting.
28557
28558 * sysdeps/x86_64/strnlen.S: New file.
28559
8e96b93a
UD
285602010-07-24 Ulrich Drepper <drepper@redhat.com>
28561
28562 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28563 lower-latency instructions.
28564
dbc676d4
UD
285652010-07-23 Ulrich Drepper <drepper@redhat.com>
28566
28567 * string/test-strcasestr.c: New file.
28568 * string/test-strstr.c: New file.
28569 * string/Makefile (strop-tests): Add strstr and strcasestr.
28570 * string/str-two-way.h: Don't undefine MAX.
28571 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28572
f6a31e0e
AS
285732010-07-21 Andreas Schwab <schwab@redhat.com>
28574
28575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28576 strcasestr-nonascii.
28577 (CFLAGS-strcasestr-nonascii.c): Define.
28578 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28579 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28580 Remove unused attribute.
28581
5dbc3b6c
RM
285822010-07-20 Roland McGrath <roland@redhat.com>
28583
28584 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28585 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28586 ld.so.cache was broken. With it, there is no way to disable dsocaps
28587 like LD_HWCAP_MASK can disable hwcaps.
28588
23d101d8
EPM
285892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28590
28591 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28592
cc9f2e47
UD
285932010-07-16 Ulrich Drepper <drepper@redhat.com>
28594
28595 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28596 call in strcasestr.
28597 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28598 __strcasestr_sse42_nonascii.
28599 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28600 strcasestr-nonascii.c.
28601 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28602
77c1b069
LM
286032010-06-15 Luis Machado <luisgpm@br.ibm.com>
28604
28605 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28606 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28607 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28608 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28609
440566c3
UD
286102010-07-09 Ulrich Drepper <drepper@redhat.com>
28611
28612 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28613 fcntl.
28614
5be9d05d
AS
286152010-07-06 Andreas Schwab <schwab@redhat.com>
28616
c30b7ee2 28617 [BZ #11577]
5be9d05d
AS
28618 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28619 dl_signal_cerror.
28620
8a492a67
UD
286212010-07-06 Ulrich Drepper <drepper@redhat.com>
28622
28623 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28624 _PC_PIPE_BUF using F_GETPIPE_SZ.
28625
713df3d5
RM
286262010-07-05 Roland McGrath <roland@redhat.com>
28627
28628 * manual/arith.texi (Rounding Functions): Fix rint description
28629 implicit in round description.
28630
702e8f14
UD
286312010-07-02 Ulrich Drepper <drepper@redhat.com>
28632
28633 * elf/Makefile: Fix linking for a few tests to make recent linker
28634 happy.
28635
52ed8be9
AS
286362010-06-30 Andreas Schwab <schwab@redhat.com>
28637
28638 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28639 $(common-objpfx)libc_nonshared.a.
28640
f47c9a11
LM
286412010-06-21 Luis Machado <luisgpm@br.ibm.com>
28642
28643 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28644 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28645 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28646 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28647 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28648 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28649 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28650 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28665 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28666 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28667 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28668 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28669 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28670 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28671 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28672 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28673 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28674 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28675 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28676 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28691
6fb8cbcb
L
286922010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28693
28694 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28695 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28696 * string/memmove.c (memmove): Renamed to ...
28697 (MEMMOVE): ...this. Default to memmove.
28698 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28699 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28700 (END_CHK): Define.
28701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28702 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28703 mempcpy-ssse3-back memmove-ssse3-back.
28704 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28705 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28706 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28707 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28708 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28709 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28710 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28711 * sysdeps/x86_64/multiarch/memmove.c: New file.
28712 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28713 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28714 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28715 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28716 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28717 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28718 Define.
28719 (index_Fast_Copy_Backward): Define.
28720 (HAS_ARCH_FEATURE): Define.
28721 (HAS_FAST_REP_STRING): Define.
28722 (HAS_FAST_COPY_BACKWARD): Define.
28723
4e733bac 287242010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28725
28726 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28727 Restore proper fallback handling.
28728
63c4ed22
UD
287292010-06-19 Ulrich Drepper <drepper@redhat.com>
28730
ac2b484c
UD
28731 [BZ #11701]
28732 * posix/group_member.c (__group_member): Correct checking loop.
28733
63c4ed22
UD
28734 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28735 OOM in getpwuid_r correctly. Return error number when the caller
28736 should return, otherwise -1.
28737 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28738 call returning > 0 value.
28739 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28740
765ade4b
AS
287412010-06-07 Andreas Schwab <schwab@redhat.com>
28742
28743 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28744 libc_nonshared.a from targets in modules-names.
28745
80da2e09
KS
287462010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28747
28748 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28749 requires it.
28750
158db122
LM
287512010-06-10 Luis Machado <luisgpm@br.ibm.com>
28752
28753 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28754 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28756 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28757
caa78cf8
AS
287582010-06-02 Andreas Schwab <schwab@redhat.com>
28759
28760 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28761
b2ef2c01
UD
287622010-06-14 Ulrich Drepper <drepper@redhat.com>
28763
28764 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28765 and F_GETPIPE_SZ.
28766 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28768 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28770 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28772
fbd643b6
RM
287732010-06-14 Roland McGrath <roland@redhat.com>
28774
28775 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28776
f32f2869
JJ
287772010-06-07 Jakub Jelinek <jakub@redhat.com>
28778
28779 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28780 __REDIRECT followed by __THROW.
28781 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28782 * posix/getopt.h (getopt): Likewise.
28783
2a50c078
EPM
287842010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28785
28786 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28787 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28788 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28789 in AT_FLAGS.
28790 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28791 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28792
eb5ad2eb
LM
287932010-05-28 Luis Machado <luisgpm@br.ibm.com>
28794
28795 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28796
3c88fe1e
L
287972010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28798
28799 [BZ #11640]
28800 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28801 Properly check family and model.
28802
d2f73151
TY
288032010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28804
28805 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28806
ebd2e13d
LM
288072010-05-24 Luis Machado <luisgpm@br.ibm.com>
28808
28809 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28810
b32b8b45
UD
288112010-05-21 Ulrich Drepper <drepper@redhat.com>
28812
28813 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28814 symbol reference.
28815
9acbe24d
AS
288162010-05-19 Andreas Schwab <schwab@redhat.com>
28817
28818 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28819 symbol reference.
28820
f0ccf6ea
AS
288212010-05-21 Andreas Schwab <schwab@redhat.com>
28822
3d04ff3a
AS
28823 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28824 and internal_recvmmsg.
28825 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28826 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28827 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28828 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28829
f0ccf6ea
AS
28830 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28831 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28832 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28833
5b08ac57
AS
288342010-05-20 Andreas Schwab <schwab@redhat.com>
28835
28836 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28837
4828935d
LM
288382010-05-17 Luis Machado <luisgpm@br.ibm.com>
28839
28840 POWER7 optimizations.
28841 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28842 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28843
373d545e
UD
288442010-05-19 Ulrich Drepper <drepper@redhat.com>
28845
28846 * version.h: Update for 2.13 development version.
28847
21a2b1ae
AS
288482010-05-12 Andrew Stubbs <ams@codesourcery.com>
28849
28850 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28851 exceptions. Return 0.
28852
3f7dcb2b
RM
288532010-05-07 Roland McGrath <roland@redhat.com>
28854
28855 * elf/ldconfig.c (main): Add a const.
28856
5f24d53a 288572010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28858
a160f8d8
UD
28859 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28860 (args_options): Add no-idn option.
28861 (ahosts_keys_int): Add idn_flags to ai_flags.
28862 (parse_option): Handle 'i' option to clear idn_flags.
28863
5f24d53a
UD
28864 * malloc/malloc.c (_int_free): Possible race in the most recently
28865 added check. Only act on the data if no current modification
28866 happened.
265bb1ce
UD
28867
28868See ChangeLog.17 for earlier changes.
This page took 3.833838 seconds and 5 git commands to generate.