]> sourceware.org Git - glibc.git/blame - ChangeLog
Make _LIB_VERSION a weak symbol
[glibc.git] / ChangeLog
CommitLineData
0f7d347b
SP
12013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 [BZ #14582]
4 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5 Renamed from _LIB_VERSION.
6 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7
601a3a5f
JM
82013-05-12 Joseph Myers <joseph@codesourcery.com>
9
4f184d30
JM
10 * math/libm-test.inc (struct test_fff_f_data): New type.
11 (RUN_TEST_LOOP_fff_f): New macro.
12 (fma_test_data): New variable.
13 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14 (fma_towardzero_test_data): New variable.
15 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
16 (fma_downward_test_data): New variable.
17 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
18 (fma_upward_test_data): New variable.
19 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20
08198877
JM
21 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
22 (struct test_c_c_data): New type.
23 (RUN_TEST_LOOP_c_c): New macro.
24 (cacos_test_data): New variable.
25 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26 (cacosh_test_data): New variable.
27 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28 (casin_test_data): New variable.
29 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
30 (casinh_test_data): New variable.
31 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32 (catan_test_data): New variable.
33 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
34 (catanh_test_data): New variable.
35 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36 (ccos_test_data): New variable.
37 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
38 (ccosh_test_data): New variable.
39 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
40 (cexp_test_data): New variable.
41 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
42 (clog_test_data): New variable.
43 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44 (clog10_test_data): New variable.
45 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46 (conj_test_data): New variable.
47 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
48 (cproj_test_data): New variable.
49 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50 (csin_test_data): New variable.
51 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52 (csinh_test_data): New variable.
53 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54 (csqrt_test_data): New variable.
55 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56 (ctan_test_data): New variable.
57 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
58 (ctan_tonearest_test_data): New variable.
59 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60 (ctan_towardzero_test_data): New variable.
61 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
62 (ctan_downward_test_data): New variable.
63 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64 (ctan_upward_test_data): New variable.
65 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66 (ctanh_test_data): New variable.
67 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
68 (ctanh_tonearest_test_data): New variable.
69 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
70 (ctanh_towardzero_test_data): New variable.
71 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
72 (ctanh_downward_test_data): New variable.
73 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
74 (ctanh_upward_test_data): New variable.
75 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
76 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
77 of BUILD_COMPLEX.
78
601a3a5f
JM
79 * math/libm-test.inc (struct test_ff_f_data): New type.
80 (struct test_ff_f_data_nexttoward): Likewise.
81 (RUN_TEST_LOOP_2_f): New macro.
82 (RUN_TEST_LOOP_ff_f): Likewise.
83 (atan2_test_data): New variable.
84 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
85 (copysign_test_data): New variable.
86 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
87 (fdim_test_data): New variable.
88 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
89 (fmax_test_data): New variable.
90 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
91 (fmin_test_data): New variable.
92 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
93 (fmod_test_data): New variable.
94 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
95 (hypot_test_data): New variable.
96 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
97 (nextafter_test_data): New variable.
98 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
99 (nexttoward_test_data): New variable.
100 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
101 (pow_test_data): New variable.
102 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
103 (pow_tonearest_test_data): New variable.
104 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
105 (pow_towardzero_test_data): New variable.
106 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
107 (pow_downward_test_data): New variable.
108 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
109 (pow_upward_test_data): New variable.
110 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
111 (remainder_test_data): New variable.
112 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
113 (scalb_test_data): New variable.
114 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
115 * sysdeps/i386/fpu/libm-test-ulps: Update.
116
74c57478
JM
1172013-05-11 Joseph Myers <joseph@codesourcery.com>
118
8329e4da
JM
119 * math/libm-test.inc (fma_test): Use max_value instead of local
120 variable fltmax.
121 (nextafter_test): Likewise.
122
74c57478
JM
123 * math/libm-test.inc (acos_towardzero_test_data): New variable.
124 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
125 (acos_downward_test_data): New variable.
126 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
127 (acos_upward_test_data): New variable.
128 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
129 (acosh_test_data): New variable.
130 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
131 (asin_test_data): New variable.
132 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
133 (asin_tonearest_test_data): New variable.
134 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
135 (asin_towardzero_test_data): New variable.
136 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
137 (asin_downward_test_data): New variable.
138 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
139 (asin_upward_test_data): New variable.
140 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
141 (asinh_test_data): New variable.
142 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
143 (atan_test_data): New variable.
144 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
145 (atanh_test_data): New variable.
146 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
147 (cbrt_test_data): New variable.
148 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
149 (ceil_test_data): New variable.
150 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
151 (cos_test_data): New variable.
152 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
153 (cos_tonearest_test_data): New variable.
154 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
155 (cos_towardzero_test_data): New variable.
156 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
157 (cos_downward_test_data): New variable.
158 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
159 (cos_upward_test_data): New variable.
160 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
161 (cosh_test_data): New variable.
162 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
163 (cosh_tonearest_test_data): New variable.
164 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
165 (cosh_towardzero_test_data): New variable.
166 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
167 (cosh_downward_test_data): New variable.
168 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
169 (cosh_upward_test_data): New variable.
170 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
171 (erf_test_data): New variable.
172 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
173 (erfc_test_data): New variable.
174 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
175 (exp_test_data): New variable.
176 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
177 (exp_tonearest_test_data): New variable.
178 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
179 (exp_towardzero_test_data): New variable.
180 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
181 (exp_downward_test_data): New variable.
182 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
183 (exp_upward_test_data): New variable.
184 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
185 (exp10_test_data): New variable.
186 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
187 (exp2_test_data): New variable.
188 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
189 (expm1_test_data): New variable.
190 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
191 (fabs_test_data): New variable.
192 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
193 (floor_test_data): New variable.
194 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
195 (j0_test_data): New variable.
196 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
197 (j1_test_data): New variable.
198 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
199 (log_test_data): New variable.
200 (log_test): Run tests with RUN_TEST_LOOP_f_f.
201 (log10_test_data): New variable.
202 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
203 (log1p_test_data): New variable.
204 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
205 (log2_test_data): New variable.
206 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
207 (logb_test_data): New variable.
208 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
209 (logb_downward_test_data): New variable.
210 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
211 (nearbyint_test_data): New variable.
212 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
213 (rint_test_data): New variable.
214 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
215 (rint_tonearest_test_data): New variable.
216 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
217 (rint_towardzero_test_data): New variable.
218 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
219 (rint_downward_test_data): New variable.
220 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
221 (rint_upward_test_data): New variable.
222 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
223 (round_test_data): New variable.
224 (round_test): Run tests with RUN_TEST_LOOP_f_f.
225 (sin_test_data): New variable.
226 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
227 (sin_tonearest_test_data): New variable.
228 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
229 (sin_towardzero_test_data): New variable.
230 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
231 (sin_downward_test_data): New variable.
232 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
233 (sin_upward_test_data): New variable.
234 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
235 (sinh_test_data): New variable.
236 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
237 (sinh_tonearest_test_data): New variable.
238 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
239 (sinh_towardzero_test_data): New variable.
240 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
241 (sinh_downward_test_data): New variable.
242 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
243 (sinh_upward_test_data): New variable.
244 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
245 (sqrt_test_data): New variable.
246 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
247 (tan_test_data): New variable.
248 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
249 (tan_tonearest_test_data): New variable.
250 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
251 (tan_towardzero_test_data): New variable.
252 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
253 (tan_downward_test_data): New variable.
254 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
255 (tan_upward_test_data): New variable.
256 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
257 (tanh_test_data): New variable.
258 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
259 (tgamma_test_data): New variable.
260 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
261 (trunc_test_data): New variable.
262 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
263 (y0_test_data): New variable.
264 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
265 (y1_test_data): New variable.
266 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
267 (significand_test_data): New variable.
268 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
269
7187d844
CG
2702013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
271
272 [BZ #12387]
273 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
274
f63fae73
PT
2752013-05-10 Pino Toscano <toscano.pino@tiscali.it>
276
277 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
278
8a67a4b3
AJ
2792013-05-10 Andreas Jaeger <aj@suse.de>
280
281 [BZ #15448]
282 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
283 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
284
51df539d
JM
2852013-05-10 Joseph Myers <joseph@codesourcery.com>
286
287 * math/gen-libm-test.pl (adjust_arg): New function.
288 (special_functions): Handle generating output in both functions
289 and arrays.
290 (parse_args): Likewise.
291 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
292 $in_func argument to parse_args.
293 * math/libm-test.inc (struct test_f_f_data): New type.
294 (IF_ROUND_INIT_): New macro.
295 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
296 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
297 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
298 (IF_ROUND_INIT_FE_UPWARD): Likewise.
299 (ROUND_RESTORE_): Likewise.
300 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
301 (ROUND_RESTORE_FE_TONEAREST): Likewise.
302 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
303 (ROUND_RESTORE_FE_UPWARD): Likewise.
304 (RUN_TEST_LOOP_f_f): New macro.
305 (acos_test_data): New variable.
306 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
307 (acos_tonearest_test_data): New variable.
308 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
309
5c637fe5
SP
3102013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
311
312 * benchtests/bench-skeleton.c (startup): Fix coding style.
313
ab2b9461
JM
3142013-05-10 Joseph Myers <joseph@codesourcery.com>
315
316 [BZ #6809]
317 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
318 negative infinity argument.
319 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
320 negative infinity argument.
321 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
322 negative infinity argument.
323 * math/libm-test.inc (tgamma_test): Expect errno to be set for
324 domain errors.
325
4c0fe6fe
FW
3262013-05-10 Florian Weimer <fweimer@redhat.com>
327
328 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
329 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
330 * iconv/iconv_prog.c (main): Likewise.
331 * locale/programs/charmap-dir.c (charmap_readdir)
332 (fopen_uncompressed): Likewise.
333 * locale/programs/locfile.c (siblings_uncached)
334 (write_locale_data): Use lstat64 instead of lstat.
335 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
336 stat.
337
a3375d29
AJ
3382013-05-10 Andreas Jaeger <aj@suse.de>
339
340 [BZ #15395]
341 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
342 localization.
343 Include <locale.h>.
344
36129722
CD
3452013-05-09 Carlos O'Donell <carlos@redhat.com>
346
347 * elf/dl-close.c (_dl_close_worker): Add comments.
348
faa7f811
JM
3492013-05-09 Joseph Myers <joseph@codesourcery.com>
350
ed41ffef
JM
351 [BZ #15359]
352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
353 high part of pi/2.
354 (__ieee754_rem_pio2l): Update comments.
355
d0213cd0
JM
356 [BZ #15429]
357 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
358 high part of pi/2.
359 (__ieee754_rem_pio2l): Update comments.
360
0d3e777a
JM
361 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
362 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
363
24f56066
JM
364 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
365 M_PI_4l.
366
faa7f811
JM
367 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
368 (M_PI_34_LOG10El): Likewise.
369 (M_PI2_LOG10El): Likewise.
370 (M_PI4_LOG10El): Likewise.
371 (M_PI_LOG10El): Likewise.
372
e9a5e0fd
AZ
3732013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
374
375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
376
d8cd06db
JM
3772013-05-08 Joseph Myers <joseph@codesourcery.com>
378
a0d9f9d7
JM
379 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
380 (MINUS_ZERO_INIT): Likewise.
381 (PLUS_INFTY_INIT): Likewise.
382 (MINUS_INFTY_INIT): Likewise.
383 (QNAN_VALUE_INIT): Likewise.
384 (MAX_VALUE_INIT): Likewise.
385 (MIN_VALUE_INIT): Likewise.
386 (MIN_SUBNORM_VALUE_INIT): Likewise.
387 (plus_zero): Initialize with PLUS_ZERO_INIT.
388 (minus_zero): Initialize with MINUS_ZERO_INIT.
389 (plus_infty): Initialize with PLUS_INFTY_INIT.
390 (minus_infty): Initialize with MINUS_INFTY_INIT.
391 (qnan_value): Initialize with QNAN_VALUE_INIT.
392 (max_value): Initialize with MAX_VALUE_INIT.
393 (min_value): Initialize with MIN_VALUE_INIT.
394 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
395
ae08db3b
JM
396 * math/libm-test.inc (RUN_TEST_if_f): New macro.
397 (jn_test): Use TEST_if_f instead of TEST_ff_f.
398 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
399 (yn_test): Use TEST_if_f instead of TEST_ff_f.
400
f44bf14a
JM
401 * math/libm-test.inc (RUN_TEST_f_f): New macro.
402 (RUN_TEST_2_f): Likewise.
403 (RUN_TEST_ff_f): Likewise.
404 (RUN_TEST_fi_f): Likewise.
405 (RUN_TEST_fl_f): Likewise.
406 (RUN_TEST_fff_f): Likewise.
407 (RUN_TEST_c_f): Likewise.
408 (RUN_TEST_f_f1): Likewise.
409 (RUN_TEST_fF_f1): Likewise.
410 (RUN_TEST_fI_f1): Likewise.
411 (RUN_TEST_ffI_f1): Likewise.
412 (RUN_TEST_c_c): Likewise.
413 (RUN_TEST_cc_c): Likewise.
414 (RUN_TEST_f_i): Likewise.
415 (RUN_TEST_f_i_tg): Likewise.
416 (RUN_TEST_ff_i_tg): Likewise.
417 (RUN_TEST_f_b): Likewise.
418 (RUN_TEST_f_b_tg): Likewise.
419 (RUN_TEST_f_l): Likewise.
420 (RUN_TEST_f_L): Likewise.
421 (RUN_TEST_sincos): Likewise.
422 * math/gen-libm-test.pl (new_test): Take new argument to indicate
423 whether to show exceptions. Do not include ");\n" in return
424 value.
425 (special_functions): Output call to RUN_TEST_sincos instead of
426 check_float calls. Update calls to new_test.
427 (parse_args): Output call to single RUN_TEST_* macro instead of
428 check_* calls and other assignments. Update calls to new_test.
429
d8cd06db
JM
430 [BZ #2546]
431 [BZ #2560]
432 [BZ #5159]
433 [BZ #15426]
434 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
435 input to result for tgamma overflow.
436 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
437 (gamma_coeff): New variable.
438 (NCOEFF): New macro.
439 (gamma_positive): New function.
440 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
441 underflow here. Use gamma_positive instead of exp (lgamma) for
442 other arguments.
443 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
444 (gamma_coeff): New variable.
445 (NCOEFF): New macro.
446 (gammaf_positive): New function.
447 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
448 underflow here. Use gamma_positive instead of exp (lgamma) for
449 other arguments.
450 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
451 (gamma_coeff): New variable.
452 (NCOEFF): New macro.
453 (gammal_positive): New function.
454 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
455 underflow here. Use gamma_positive instead of exp (lgamma) for
456 other arguments.
457 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
458 (gamma_coeff): New variable.
459 (NCOEFF): New macro.
460 (gammal_positive): New function.
461 (__ieee754_gammal_r): Handle positive infinity, overflow and
462 underflow here. Handle NaN the same as positive infinity. Remove
463 check x < 0xffffffff for negative integers. Use gamma_positive
464 instead of exp (lgamma) for other arguments.
465 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
466 (gamma_coeff): New variable.
467 (NCOEFF): New macro.
468 (gammal_positive): New function.
469 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
470 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
471 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
472 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
473 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
474 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
475 * sysdeps/generic/math_private.h (__gamma_productf): New
476 prototype.
477 (__gamma_product): Likewise.
478 (__gamma_productl): Likewise.
479 * math/Makefile (libm-calls): Add gamma_product.
480 * math/libm-test.inc (tgamma_test): Add more tests.
481 * sysdeps/i386/fpu/libm-test-ulps: Update.
482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
483
bb7cf681
OB
4842013-05-08 Ondřej Bílka <neleai@seznam.cz>
485
486 * benchtests/bench-skeleton.c (main): Preheat CPU.
487
ba853947
AJ
4882013-05-07 Aurelien Jarno <aurelien@aurel32.net>
489
490 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
491
8347c74c
RM
4922013-05-07 Roland McGrath <roland@hack.frob.com>
493
494 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
495 and _dl_skip_args_internal.
496
e8dd4791
CD
4972013-05-07 Carlos O'Donell <carlos@redhat.com>
498
499 * manual/message.texi (Message Translation): Talk about users.
500 Message to key mapping impacts design.
501
c7405830
RM
5022013-05-06 Roland McGrath <roland@hack.frob.com>
503
a9173057
RM
504 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
505
976e2f03
RM
506 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
507
9723ffc5
RM
508 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
509 * sysdeps/wordsize-64/glob64.c: ... here.
510
962e6658
RM
511 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
512 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
513 New macros.
514
ee586a6d
RM
515 * debug/getlogin_r_chk.c: Moved to ...
516 * login/getlogin_r_chk.c: ... here.
517 * debug/Makefile (routines): Move getlogin_r_chk to ...
518 * login/Makefile (routines): ... here.
519 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
520 * login/Versions (libc: GLIBC_2.4): ... here.
521
355f9165
RM
522 * io/poll.c (__poll): Renamed from poll.
523 Add libc_hidden_def.
524 (poll): Define as weak alias.
525
bd9ffde6
RM
526 * debug/ptsname_r_chk.c: Moved to ...
527 * login/ptsname_r_chk.c: ... here.
528 * debug/Makefile (routines): Move ptsname_r_chk to ...
529 * login/Makefile (routines): ... here.
530 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
531 * login/Versions (libc: GLIBC_2.4): ... here.
532
8fb16a04
RM
533 * posix/getlogin.c: Moved to ...
534 * login/getlogin.c: ... here.
535 * posix/getlogin_r.c: Moved to ...
536 * login/getlogin_r.c: ... here.
537 * posix/getlogin_r.c: Moved to ...
538 * login/getlogin_r.c: ... here.
539 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
540 * login/Makefile (routines): ... here.
541 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
542 * login/Versions (libc: GLIBC_2.0): ... here.
543
b99b892f
RM
544 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
545 (setrlimit): Define as weak alias.
546
c7405830
RM
547 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
548 Call __ names for open, ftruncate, and close.
549 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
550 (truncate): Define as weak alias.
551
5bf96de5
JM
5522013-05-06 Joseph Myers <joseph@codesourcery.com>
553
9ea3513c
JM
554 * math/gen-libm-test.pl (parse_args): Initialize x before each
555 test of frexp, modf and remquo.
556
5bf96de5
JM
557 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
558 test signgam value.
559
16e616a7
AZ
5602013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
561
562 [BZ #15418]
563 [BZ #15419]
564 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
565 internal tests.
566 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
567
d5e82754
RM
5682013-05-06 Roland McGrath <roland@hack.frob.com>
569
570 * elf/dl-writev.h: New file.
571 * elf/dl-misc.c: Include it.
572 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
573 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
574
a7548d41
JM
5752013-05-04 Joseph Myers <joseph@codesourcery.com>
576
b7dab1e4
JM
577 * math/libm-test.inc (noXFails): Remove variable.
578 (noXPasses): Likewise.
579 (BUILD_COMPLEX_INT): Remove macro.
580 (print_screen): Remove xfail argument.
581 (print_screen_max_error): Likewise.
582 (update_stats): Likewise.
583 (print_max_error): Likewise. Update calls to other affected
584 functions.
585 (print_complex_max_error): Likewise.
586 (test_single_exception): Update calls to print_screen.
587 (test_single_errno): Likewise.
588 (check_float_internal): Remove xfail argument. Update calls to
589 other affected functions.
590 (check_float): Likewise.
591 (check_complex): Likewise.
592 (check_int): Likewise.
593 (check_long): Likewise.
594 (check_bool): Likewise.
595 (check_longlong): Likewise.
596 (main): Don't print noXFails and noXPasses.
597 * math/gen-libm-test.pl (top level): Don't mention expected
598 failure handling in comment.
599 (new_test): Don't handle expected failures.
600 (parse_args): Don't mention expected failure handling in comment.
601 (generate_testfile): Don't handle expected failures.
602 (parse_ulps): Likewise.
603 (print_ulps_file): Likewise.
604 (get_failure): Remove function.
605 (output_test): Don't handle expected failures.
606 * make/README.libm-test: Don't mention expected failure handling.
607
a7548d41
JM
608 * math/libm-test.inc (plus_zero): Make const. Add initializer.
609 (minus_zero): Likewise.
610 (plus_infty): Likewise.
611 (minus_infty): Likewise.
612 (qnan_value): Likewise.
613 (max_value): Likewise.
614 (min_value): Likewise.
615 (min_subnorm_value): Likewise.
616 (initialize): Do not initialize those variables dynamically.
617
60bfd54c
RM
6182013-05-03 Roland McGrath <roland@hack.frob.com>
619
cc0e6ed8
RM
620 * io/open.c (__open_2): Moved to ...
621 * io/open_2.c: ... this new file.
622 * io/open64.c (__open64_2): Moved to ...
623 * io/open64_2.c: ... this new file.
624 * io/openat.c (__openat_2): Moved to ...
625 * io/openat_2.c: ... this new file.
626 * io/openat64.c (__openat64_2): Moved to ...
627 * io/openat64_2.c: ... this new file.
628 * io/Makefile (routines): Add them.
629 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
630 * sysdeps/unix/sysv/linux/open_2.c: File removed.
631 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
632 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
633 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
634 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
635 (__openat64): Add hidden_ver.
636 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
637 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
638
60bfd54c
RM
639 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
640 Separately conditionalize setting of GLRO(dl_sysinfo) so
641 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
642 as well, but the actual setting is only under [NEED_DL_SYSINFO].
643
83e7640f
AZ
6442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
645
646 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
647 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
648 definition.
649 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
650 * sysdeps/unix/sysv/linux/powerpc/init-first.c
651 (_libc_vdso_platform_setup): Add __vdso_time initialization.
652 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
653 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
654
d5dc2af3
JM
6552013-05-03 Joseph Myers <joseph@codesourcery.com>
656
c31a5b1e
JM
657 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
658 test signgam value.
659
d5dc2af3
JM
660 * math/libm-test.inc (hypot_test): Do not use
661 IGNORE_ZERO_INF_SIGN.
662
164fd39d
AJ
6632013-05-03 Andreas Jaeger <aj@suse.de>
664
665 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
666 Linux 3.9.
667 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
668 (PF_MAX): Adjust for VSOCK change.
669
8237f48c
AZ
6702013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671
672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
673
9df02941
CD
6742013-05-02 Carlos O'Donell <carlos@redhat.com>
675
676 [BZ #15264]
677 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
678 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
679 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
680
d422395e
DM
6812013-05-02 David S. Miller <davem@davemloft.net>
682
683 * sysdeps/sparc/fpu/libm-test-ulps: Update.
684
a07c5731
OB
6852013-05-01 Ondřej Bílka <neleai@seznam.cz>
686
687 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
688
1324e37f
RM
6892013-05-01 Roland McGrath <roland@hack.frob.com>
690
691 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
692
0695940b
RS
6932013-05-01 Richard Smith <richard@metafoo.co.uk>
694
bb5f27ad 695 [BZ #14952]
0695940b
RS
696 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
697 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
698 Use __attribute__ ((__gnu_inline__)).
699 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
700 Don't use __attribute__ ((__gnu_inline__)).
701
10de07f5
JM
7022013-05-01 Joseph Myers <joseph@codesourcery.com>
703
704 [BZ #15423]
705 * math/s_catan.c (__catan): Handle small real or imaginary part of
706 input specially to avoid spurious underflow.
707 * math/s_catanf.c (__catanf): Likewise.
708 * math/s_catanh.c (__catanh): Likewise.
709 * math/s_catanhf.c (__catanhf): Likewise.
710 * math/s_catanhl.c (__catanhl): Likewise.
711 * math/s_catanl.c (__catanl): Likewise.
712 * math/libm-test.inc (catan_test): Add more tests.
713 (catanh_test): Likewise.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
716
cb4d5414
AZ
7172013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718
719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
720
caf84319
JM
7212013-04-30 Joseph Myers <joseph@codesourcery.com>
722
723 [BZ #15416]
724 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
725 accurately for denominator in atan2.
726 * math/s_catanf.c (__catanf): Likewise.
727 * math/s_catanh.c (__catanh): Likewise.
728 * math/s_catanhf.c (__catanhf): Likewise.
729 * math/s_catanhl.c (__catanhl): Likewise.
730 * math/s_catanl.c (__catanl): Likewise.
731 * math/libm-test.inc (catan_test): Add more tests.
732 (catanh_test): Likewise.
733 * sysdeps/i386/fpu/libm-test-ulps: Update.
734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
735
d569c6ee
SP
7362013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
737
6dbe713d
SP
738 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
739
f0ee064b
SP
740 * benchtests/Makefile (bench): Remove slow benchmarks.
741 * benchtests/atan-inputs: Add slow benchmark inputs.
742 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
743 (BENCH_FUNC): Accept variant offset.
744 (VARIANT): Define.
745 * benchtests/bench-skeleton.c (main): Run benchmark for each
746 variant.
747 * benchtests/cos-inputs: Add slow benchmark inputs.
748 * benchtests/exp-inputs: Likewise.
749 * benchtests/pow-inputs: Likewise.
750 * benchtests/sin-inputs: Likewise.
751 * benchtests/slowatan-inputs: Remove.
752 * benchtests/slowatan.c: Remove.
753 * benchtests/slowcos-inputs: Remove.
754 * benchtests/slowcos.c: Remove.
755 * benchtests/slowexp-inputs: Remove.
756 * benchtests/slowexp.c: Remove.
757 * benchtests/slowpow-inputs: Remove.
758 * benchtests/slowpow.c: Remove.
759 * benchtests/slowsin-inputs: Remove.
760 * benchtests/slowsin.c: Remove.
761 * benchtests/slowtan-inputs: Remove.
762 * benchtests/slowtan.c: Remove.
763 * benchtests/tan-inputs: Add slow benchmark inputs.
764 * scripts/bench.pl: Parse comments and directives.
765
d569c6ee
SP
766 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
767 in CPPFLAGS.
768 ($(objpfx)bench-%.c): Remove *-ITER.
769 * benchtests/bench-modf.c: Remove definition of ITER.
770 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
771 (main): Loop for DURATION seconds instead of fixed number of
772 iterations.
773 * scripts/bench.pl: Don't expect iterations in parameters.
774
a6a242fe
RM
7752013-04-29 Roland McGrath <roland@hack.frob.com>
776
777 * io/fchdir.c (__fchdir): Renamed from fchdir.
778 (fchdir): Define as weak alias.
779
f2da7793
JM
7802013-04-29 Joseph Myers <joseph@codesourcery.com>
781
782 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
783 (ERRNO_EDOM): Likewise.
784 (ERRNO_ERANGE): Likewise.
785 (noErrnoTests): New variable.
786 (init_max_error): Set errno to 0.
787 (test_single_errno): New function.
788 (test_errno): Likewise.
789 (check_float_internal): Call test_errno. Set errno to 0.
790 (check_complex): Refer to errno tests in comment.
791 (check_int): Call test_errno. Set errno to 0.
792 (check_long): Likewise.
793 (check_bool): Likewise.
794 (check_longlong): Likewise.
795 (cos_test): Use ERRNO_* flags for errno tests instead of
796 check_int.
797 (expm1_test): Likewise.
798 (fmod_test): Likewise.
799 (ilogb_test): Likewise.
800 (lgamma_test): Likewise.
801 (pow_test): Likewise.
802 (remainder_test): Likewise.
803 (sin_test): Likewise.
804 (tan_test): Likewise.
805 (yn_test): Likewise.
806 (initialize): Set errno to 0.
807 (main): Print number of errno tests.
808 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
809
b1a36ceb
AJ
8102013-04-29 Andreas Jaeger <aj@suse.de>
811
c3ed8088
AJ
812 [BZ #15084]
813 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
814 and RES_USEVC.
815
f1a24198
AJ
816 [BZ #15085]
817 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
818 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
819 unimplemented.
820
9ce3b2cb
AJ
821 [BZ #15380]
822 * stdlib/random.c (__initstate): Return NULL if
823 __initstate fails.
824
f1a24198 825 [BZ #15086]
b1a36ceb
AJ
826 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
827 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
828 RES_SNGLKUPREOP.
829
7e7b6f36
AZ
8302013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
831
832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
833
4d14f449
JM
8342013-04-29 Joseph Myers <joseph@codesourcery.com>
835
836 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
837 of individual tests.
838 (casin_test): Likewise.
839 (casinh_test): Likewise.
840
5b4217d7
JM
8412013-04-27 Joseph Myers <joseph@codesourcery.com>
842
843 [BZ #15409]
844 * math/s_catan.c (__catan): Handle arguments with large real or
845 imaginary part separately without squaring.
846 * math/s_catanf.c (__catanf): Likewise.
847 * math/s_catanh.c (__catanh): Likewise.
848 * math/s_catanhf.c (__catanhf): Likewise.
849 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
850 and redefine.
851 (__catanhl): Handle arguments with large real or imaginary part
852 separately without squaring.
853 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
854 and redefine.
855 (__catanl): Handle arguments with large real or imaginary part
856 separately without squaring.
857 * math/libm-test.inc (catan_test): Add more tests.
858 (catanh_test): Likewise.
859 * sysdeps/i386/fpu/libm-test-ulps: Update.
860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861
4220c3ef
AJ
8622013-04-27 Andreas Jaeger <aj@suse.de>
863
864 [BZ #15007]
865 * stdlib/stdlib.h: Update guards for qecvt.
866 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
867 <stdlib.h>.
868
4721b2d1
AM
8692013-04-27 Allan McRae <allan@archlinux.org>
870
871 * sysdeps/i386/fpu/libm-test-ulps: Update.
872
f0302940
JM
8732013-04-26 Joseph Myers <joseph@codesourcery.com>
874
9457fd95
JM
875 [BZ #15406]
876 * math/s_catan.c: Include <float.h>.
877 (__catan): Ensure underflow exception occurs for underflowed
878 result.
879 * math/s_catanf.c: Include <float.h>.
880 (__catanf): Ensure underflow exception occurs for underflowed
881 result.
882 * math/s_catanh.c: Include <float.h>.
883 (__catanh): Ensure underflow exception occurs for underflowed
884 result.
885 * math/s_catanhf.c: Include <float.h>.
886 (__catanhf): Ensure underflow exception occurs for underflowed
887 result.
888 * math/s_catanhl.c: Include <float.h>.
889 (__catanhl): Ensure underflow exception occurs for underflowed
890 result.
891 * math/s_catanl.c: Include <float.h>.
892 (__catanl): Ensure underflow exception occurs for underflowed
893 result.
894 * math/libm-test.inc (catan_test): Add more tests.
895 (catanh_test): Likewise.
896
f0302940
JM
897 [BZ #15405]
898 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
899 underflowed result.
900 * math/s_ccoshf.c (__ccoshf): Likewise.
901 * math/s_ccoshl.c (__ccoshl): Likewise.
902 * math/s_csin.c (__csin): Likewise.
903 * math/s_csinf.c (__csinf): Likewise.
904 * math/s_csinh.c (__csinh): Likewise.
905 * math/s_csinhf.c (__csinhf): Likewise.
906 * math/s_csinhl.c (__csinhl): Likewise.
907 * math/s_csinl.c (__csinl): Likewise.
908 * math/libm-test.inc (ccos_test): Add more tests.
909 (ccosh_test): Likewise.
910 (csin_test): Likewise.
911 (csinh_test): Likewise.
912
aa630f59
AZ
9132013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
914
915 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
916 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
917 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
918 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
919 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
920 powerpc/power5+/fpu folders.
921 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
922
923
1b835983
MT
9242013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
925
926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
927
73709b26
JM
9282013-04-25 Joseph Myers <joseph@codesourcery.com>
929
930 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
931 additions to variable.
932 [$(config-machine) = x86_64] (modules-names): Likewise.
933 ($(objpfx)tst-audit3): Remove dependency.
934 ($(objpfx)tst-audit3.out): Likewise.
935 ($(objpfx)tst-audit4): Likewise.
936 ($(objpfx)tst-audit4.out): Likewise.
937 ($(objpfx)tst-audit5): Likewise.
938 ($(objpfx)tst-audit5.out): Likewise.
939 ($(objpfx)tst-audit6): Likewise.
940 ($(objpfx)tst-audit6.out): Likewise.
941 ($(objpfx)tst-audit7): Likewise.
942 ($(objpfx)tst-audit7.out): Likewise.
943 (tst-audit3-ENV): Remove variable.
944 (tst-audit4-ENV): Likewise.
945 (tst-audit5-ENV): Likewise.
946 (tst-audit6-ENV): Likewise.
947 (tst-audit7-ENV): Likewise.
948 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
949 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
950 addition to variable.
951 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
952 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
953 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
954 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
955 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
956 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
957 tst-audit3, tst-audit4 and tst-audit5.
958 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
959 tst-audit6 and tst-audit7.
960 [$(subdir) = elf] (modules-names): Add audit modules for those
961 tests.
962 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
963 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
964 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
965 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
966 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
967 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
968 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
969 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
970 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
971 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
972 [$(subdir) = elf] (tst-audit3-ENV): New variable.
973 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
974 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
975 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
976 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
977 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
978 Likewise.
979 [$(subdir) = elf && $(config-cflags-avx) = yes]
980 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
981 [$(subdir) = elf && $(config-cflags-avx) = yes]
982 (CFLAGS-tst-auditmod4a.c): Likewise.
983 [$(subdir) = elf && $(config-cflags-avx) = yes]
984 (CFLAGS-tst-auditmod4b.c): Likewise.
985 [$(subdir) = elf && $(config-cflags-avx) = yes]
986 (CFLAGS-tst-auditmod6b.c): Likewise.
987 [$(subdir) = elf && $(config-cflags-avx) = yes]
988 (CFLAGS-tst-auditmod6c.c): Likewise.
989 [$(subdir) = elf && $(config-cflags-avx) = yes]
990 (CFLAGS-tst-auditmod7b.c): Likewise.
991 * elf/tst-audit3.c: Move to ...
992 * sysdeps/x86_64/tst-audit3.c: ... here.
993 * elf/tst-audit4.c: Move to ...
994 * sysdeps/x86_64/tst-audit4.c: ... here.
995 * elf/tst-audit5.c: Move to ...
996 * sysdeps/x86_64/tst-audit5.c: ... here.
997 * elf/tst-audit6.c: Move to ...
998 * sysdeps/x86_64/tst-audit6.c: ... here.
999 * elf/tst-audit7.c: Move to ...
1000 * sysdeps/x86_64/tst-audit7.c: ... here.
1001 * elf/tst-auditmod3a.c: Move to ...
1002 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1003 * elf/tst-auditmod3b.c: Move to ...
1004 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1005 * elf/tst-auditmod4a.c: Move to ...
1006 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1007 * elf/tst-auditmod4b.c: Move to ...
1008 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1009 * elf/tst-auditmod5a.c: Move to ...
1010 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1011 * elf/tst-auditmod5b.c: Move to ...
1012 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1013 * elf/tst-auditmod6a.c: Move to ...
1014 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1015 * elf/tst-auditmod6b.c: Move to ...
1016 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1017 * elf/tst-auditmod6c.c: Move to ...
1018 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1019 * elf/tst-auditmod7a.c: Move to ...
1020 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1021 * elf/tst-auditmod7b.c: Move to ...
1022 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1023
1ef74943
PP
10242013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1025
1026 [BZ #15366]
1027 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1028 define unconditionally.
1029 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1030 define unconditionally.
1031 (INT8_C, INT16_C, etc.): Likewise.
1032
93fd48c5
MR
10332013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1034
ae9552cf
MR
1035 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1036 __ehdr_start with hidden visibility.
1037
93fd48c5
MR
1038 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1039
418601aa
CD
10402013-04-24 Carlos O'Donell <carlos@redhat.com>
1041
1042 * math/libm-test.inc (cos_test): Use accurate hex constants.
1043 (sincost_test): Likewise.
1044
2f38fbfe
JM
10452013-04-24 Joseph Myers <joseph@codesourcery.com>
1046
5e221800
JM
1047 * math/libm-test.inc (catan_test): Add more tests.
1048 (catanh_test): Likewise.
1049
77f143fd
JM
1050 * math/s_catanf.c (__catanf): Use suffixed floating-point
1051 constants.
1052 * math/s_catanhf.c (__catanhf): Likewise.
1053 * math/s_catanhl.c (__catanhl): Likewise.
1054 * math/s_catanl.c (__catanl): Likewise.
1055
2f38fbfe
JM
1056 [BZ #15394]
1057 * math/s_catan.c (__catan): Calculate imaginary part of result
1058 with log1p not log unless computing log of number close to 0.
1059 * math/s_catanf.c (__catanf): Likewise.
1060 * math/s_catanl.c (__catanl): Likewise.
1061 * math/s_catanh.c (__catanh): Calculate real part of result with
1062 log1p not log unless computing log of number close to 0.
1063 * math/s_catanhf.c (__catanhf): Likewise.
1064 * math/s_catanhl.c (__catanhl): Likewise.
1065 * math/libm-test.inc (catan_test): Add more tests.
1066 (catanh_test): Likewise.
1067 * sysdeps/i386/fpu/libm-test-ulps: Update.
1068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1069
45d69176
SP
10702013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1071
1072 * benchtests/Makefile: Mention files in which fast and slow
1073 paths of math functions are implemented.
1074
87f51853
RM
10752013-04-23 Roland McGrath <roland@hack.frob.com>
1076
1077 * sysdeps/posix/timespec_get.c: New file.
1078
3c026539
AZ
10792013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1080
1081 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1082 POWER.
1083 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1084 for POWER.
1085 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1086 powerpc/power5/fpu folders.
1087 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1088 * benchtests/Makefile: Add modf testcase.
1089 * benchtests/bench-modf.c: New file: Benchmark test for mo
1090
ff491d14
SP
10912013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1092
1093 [BZ #14888]
1094 * time/Makefile (tests): Add tst-strptime-whitespace.
1095 * time/strptime_l.c (get_number): Use ISSPACE.
1096 (__strptime_internal): Likewise.
1097 * time/tst-strptime-whitespace.c: New test case.
1098
7ed3f4e8
AS
10992013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1100
1101 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1102 member.
1103 (_nss_files_init): Set it here.
1104
5c95f7b6
HC
11052013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1106
1107 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1108 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1109 unsigned.
1110
d34c9158
JBG
11112013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1112
1113 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1114
2169712d
SP
11152013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1116
1117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1118 size just once.
1119
29c5de99
DM
11202013-04-21 David S. Miller <davem@davemloft.net>
1121
1122 * po/ru.po: Update Russion translation from translation project.
1123
ccdad15d
AC
11242013-04-17 Adam Conrad <adconrad@0c3.net>
1125
1126 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1127 and setfsgid.
1128
0f122b8d
CD
11292013-04-17 Carlos O'Donell <carlos@redhat.com>
1130
5c5b07da 1131 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1132 * configure: Regenerate.
5c5b07da 1133 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1134 Add example to error message.
1135 * sysdeps/i386/configure: Regenerate.
1136
037714dd
SP
11372013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1138
1139 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1140 slowtan.
1141 * benchtests/cos-inputs: New file.
1142 * benchtests/slowcos-inputs: New file.
1143 * benchtests/slowcos.c: New file.
1144 * benchtests/slowtan-inputs: New file.
1145 * benchtests/slowtan.c: New file.
1146 * benchtests/tan-inputs: New file.
1147
e913141d
RM
11482013-04-16 Roland McGrath <roland@hack.frob.com>
1149
1150 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1151 considered kosher.
1152
a2964074
SP
11532013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1154
4856bcd2
SP
1155 * benchtests/Makefile: Include cppflags-iterator.mk to add
1156 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1157
a2964074
SP
1158 * Makefile.in (bench-clean): New target.
1159 * benchtests/Makefile (bench-clean): Likewise.
1160
9fbf9aca
DH
11612013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1162
1163 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1164
207d1e2a
TS
11652013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1166
1167 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1168
306dfba9
AS
11692013-04-15 Andreas Schwab <schwab@suse.de>
1170
1171 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1173 * nscd/pwdcache.c (cache_addpw): Likewise.
1174 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1175 more than recsize.
1176
206a6699
SP
11772013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1178
1179 * benchtests/Makefile (bench): Write all output to
1180 bench-out.tmp together.
1181
0582f6b3
AS
11822013-04-15 Andreas Schwab <schwab@suse.de>
1183
1184 * nscd/nscd.c (main): Don't fork again after closing files.
1185
acb4325f
SP
11862013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1187
5cb26d0a
SP
1188 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1189
acb4325f
SP
1190 * benchtests/Rules (bench-deps): Collect dependencies into a
1191 single variable. Add Makefile to dependencies.
1192 ($(objpfx)bench-%.c): Depend on bench-deps.
1193
47792506
RM
11942013-04-12 Roland McGrath <roland@hack.frob.com>
1195 Xavier Roche <roche+kml2@exalead.com>
1196
1197 [BZ #15361]
1198 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1199 just that it's a file descriptor.
1200 * manual/llio.texi (Synchronizing AIO Operations): Update description
1201 for EBADF error from aio_fsync.
1202
8fc1bee5
SP
12032013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1204
1205 * Rules (bench): Move target definition...
1206 * benchtests/Makefile: ... here.
1207
aba5e333
CD
12082013-04-11 Carlos O'Donell <carlos@redhat.com>
1209
1210 * math/libm-test.inc (cos_test): Fix PI/2 test.
1211 (sincos_test): Likewise.
1212 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1213 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1214
273cdee8
AS
12152013-04-11 Andreas Schwab <schwab@suse.de>
1216
6ecec3b6
AS
1217 [BZ #13988]
1218 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1219 accept exponent character only when digits were seen.
1220 * stdio-common/Makefile (tests): Add bug26.
1221 * stdio-common/bug26.c: New file.
1222
273cdee8
AS
1223 [BZ #14293]
1224 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1225 non-freeable.
1226
8da491f5
SP
12272013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1228
01dc6df9
SP
1229 * Makeconfig (rtld-prefix): Define built linker prefix.
1230 * Rules (run-bench): Use it.
1231 * math/Makefile (run-regen-ulps): Likewise.
1232
8da491f5
SP
1233 * Rules (bench): Remove eval.
1234
abe7f530
SP
12352013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1236 Roland McGrath <roland@hack.frob.com>
1237 Ondrej Bilka <neleai@seznam.cz>
1238
1239 [BZ #15346]
1240 * time/getdate.c: Include ctype.h and alloca.h.
1241 (__getdate_r): Trim leading and trailing spaces of input.
1242 * time/tst-getdate.c (tests): Add tests with leading and
1243 trailing spaces.
1244
61c23e62
RM
12452013-04-08 Roland McGrath <roland@hack.frob.com>
1246
1247 [BZ #14280]
1248 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1249 when computing value.
1250
7208a313
CD
12512013-04-06 Carlos O'Donell <carlos@redhat.com>
1252
085b2d41
CD
1253 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1254 Use testrun.sh to run libm tests.
1255
7208a313
CD
1256 [BZ #15309]
1257 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1258
872c0acd
MM
12592013-04-06 Marko Myllynen <myllynen@redhat.com>
1260
1261 [BZ #15264]
1262 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1263
26510bdd
CD
12642013-04-06 Carlos O'Donell <carlos@redhat.com>
1265
1266 * Makefile.in (regen-ulps): New target.
1267 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1268 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1269 [ifneq (no,$(PERL)] (regen-ulps): New target.
1270 [ifeq (no,$(PERL)] (regen-ulps): New target.
1271 * math/libm-test.inc (ulps_file_name): Define.
1272 (output_dir): New variable.
1273 (options): Add "output-dir" option.
1274 (parse_opt): Handle 'o' case.
1275 (main): If output_dir is non-NULL use it as a prefix
1276 otherwise use "".
1277 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1278
a01f19c8
CD
12792013-04-06 Carlos O'Donell <carlos@redhat.com>
1280
1281 [BZ #10060, #10062]
1282 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1283 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1284 fail configure if __sync_val_compare_and_swap is not inlined.
1285 * sysdeps/i386/configure: Regenerate.
1286 * configure.in: Build for i686 when configured for i386.
1287 * configure: Regenerate.
1288 * README: Remove i386 reference.
1289
b7a329a5
CD
12902013-04-06 Carlos O'Donell <carlos@redhat.com>
1291
1292 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1293 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1294
bf0f50df
TS
12952013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1296
ee091edf
TS
1297 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1298 (lmsnanval): New variables.
1299 (F): Add conversion tests.
1300 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1301 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1302
a8b792d6
TS
1303 * stdio-common/tstdiomisc.c (F): Properly collect individual
1304 tests' results.
1305
a1cbf437
TS
1306 [BZ #14686, #15336]
1307 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1308 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1309 Instead, use input NaN values or generate a qNaN by arithmetic
1310 operation. Also fix bugs to comply with the standard.
1311 * math/libm-test.inc (remainder_test): Add more tests.
1312
8b43a0c9
TS
1313 [BZ #15335, #15342]
1314 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1316 input NaN values or generate a qNaN by arithmetic operation.
1317
d91da4ce
TS
1318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1319 unreachable code.
1320
bf0f50df
TS
1321 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1322 definitions.
1323
05e166c8
JM
13242013-04-03 Joseph Myers <joseph@codesourcery.com>
1325
1326 [BZ #14478]
1327 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1328 underflowed result.
1329 * math/s_cexpf.c (__cexpf): Likewise.
1330 * math/s_cexpl.c (__cexpl): Likewise.
1331 * math/libm-test.inc (cexp_test): Add more tests.
1332
1cef1b19
AS
13332013-04-03 Andreas Schwab <schwab@suse.de>
1334
1335 [BZ #15330]
1336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1337 order arrays from heap if bigger than alloca cutoff.
1338
74d87055
TS
13392013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1340
1341 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1342 (SNAN_TESTS_double): Refer to GCC PR56831.
1343 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1344 GCC PR56828.
1345
d755bba4
SP
13462013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1347
90d5d5bb
SP
1348 * Rules (bench): Move bench.out after the run is complete.
1349
73e0cd5d
SP
1350 * Rules (bench): Echo currently running benchmark.
1351
64aabd4b
SP
1352 * benchtests/Makefile (bench): Add atan and slowatan.
1353 * benchtests/atan-inputs: New file.
1354 * benchtests/slowatan-inputs: New file.
1355 * benchtests/slowatan.c: New file.
1356
c871eccd
SP
1357 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1358 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1359 its value.
1360
d755bba4
SP
1361 [BZ #15305]
1362 * sysdeps/unix/sysv/linux/kernel-features.h
1363 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1364 __ASSUME_XFS_RESTRICTED_CHOWN.
1365 * sysdeps/unix/sysv/linux/pathconf.c
1366 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1367 Save and restore errno.
1368
52ce4860
JM
13692013-04-02 Joseph Myers <joseph@codesourcery.com>
1370
1371 [BZ #15327]
1372 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1373 arguments using __kernel_casinh.
1374 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1375 arguments using __kernel_casinhf.
1376 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1377 arguments using __kernel_casinhl.
1378 * math/libm-test.inc (cacosh_test): Add more tests.
1379 * sysdeps/i386/fpu/libm-test-ulps: Update.
1380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1381
81f311c2
SP
13822013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1383
e7906a47
SP
1384 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1386
92e3664b
SP
1387 * bench/Makefile (bench): Add sin and slowsin.
1388 * benchtests/sin-inputs: New file.
1389 * benchtests/slowsin-inputs: New file.
1390 * benchtests/slowsin.c: New file.
1391
81f311c2
SP
1392 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1393 (bench): Add slowexp and slowpow.
1394 (exp-ITER): Increase iterations.
1395 (pow-ITER): Likewise.
1396 * benchtests/exp-inputs: Change input.
1397 * benchtests/pow-inputs: Likewise.
1398 * benchtests/slowexp-inputs: New file.
1399 * benchtests/slowexp.c: New file.
1400 * benchtests/slowpow-inputs: New file.
1401 * benchtests/slowpow.c: New file.
1402
ab0f1aa9
AZ
14032013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404
1405 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1406 instructions.
1407 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1408 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1409 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1410 * benchtests/Makefile: Add rint benchtest.
1411 * benchtests/rint-inputs: Input for rint benchtest.
1412
57267616
TS
14132013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1414
1415 * Versions.def (libm): Add GLIBC_2.18.
1416 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1417 hidden libm prototypes.
1418 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1419 * math/Makefile (libm-calls): Add s_issignaling.
1420 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1421 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1422 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1423 declaration.
1424 * math/math.h [__USE_GNU] (issignaling): New macro.
1425 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1426 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1427 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1428 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1429 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1430 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1431 * manual/arith.texi (issignaling): New section.
1432 * manual/libm-err-tab.pl (@all_functions): Update comment.
1433 * math/gen-libm-test.pl (parse_args): Apply special handling for
1434 issignaling.
1435 * math/libm-test.inc (print_float, issignaling_test): New
1436 functions.
1437 (check_float_internal): Add issignaling checks.
1438 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1439 default definition.
1440 * sysdeps/powerpc/math-tests.h: New file.
1441 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1442 tests.
1443 * math/test-snan.c (TEST_FUNC): Likewise.
1444
6142896d
DM
14452013-03-30 David S. Miller <davem@davemloft.net>
1446
1447 * po/de.po: Update from translation team.
1448
ccc8cadf
JM
14492013-03-30 Joseph Myers <joseph@codesourcery.com>
1450
1451 [BZ #10357]
1452 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1453 imaginary part less than 1.0 and real part less than 0.5
1454 specially.
1455 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1456 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1457 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1458 (cacos_test): Add more tests.
1459 (casin_test): Likewise.
1460 (casinh_test): Likewise.
1461 * sysdeps/i386/fpu/libm-test-ulps: Update.
1462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1463
0f6a8d4b
SP
14642013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1465
0d1029de
SP
1466 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1467 ONE with its value.
1468
c2d94018
SP
1469 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1470 (__pow_mp): Replace ONE and MONE with their values.
1471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1472 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1473 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1474 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1475 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1476 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1477
27ec37f1
SP
1478 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1479
a64d7e0e
SP
1480 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1481 (__pow_mp): Replace ZERO and MZERO with their values.
1482 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1483 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1484 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1486 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1487 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1488 (__sqr): Likewise.
1489
d26dd3eb
SP
1490 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1491
0f6a8d4b
SP
1492 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1493
e57b0c61
RM
14942013-03-28 Roland McGrath <roland@hack.frob.com>
1495
1496 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1497 Declare with __attribute__ ((weak)).
1498 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1499 Call __call_tls_dtors only if it's not NULL.
1500
356b3480
RM
15012013-03-28 Roland McGrath <roland@hack.frob.com>
1502
288f7d79
RM
1503 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1504 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1505 magic __ehdr_start linker symbol if it's defined.
1506 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1507 them up here if it was already done.
1508
dc0a0263
RM
1509 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1510 (_dl_aux_init): Use const in cast when setting it.
1511 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1512 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1513 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1514
3d3436ae
RM
1515 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1516 Declare them here.
1517 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1518 * csu/libc-tls.c: Nor here.
1519 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1520
356b3480
RM
1521 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1522 (__libc_message): Never call vsyslog.
1523
b0f1246a
AM
15242013-03-28 Alan Modra <amodra@gmail.com>
1525
1526 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1527 Define as empty.
1528 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1529 Likewise.
1530
fbbe2b9a
AZ
15312013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1532
1533 [BZ #15214]
1534 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1535 underflow.
1536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1537
1728ab37
SP
15382013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1539
7a86be6e
SP
1540 [BZ #15304]
1541 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1542 Don't add gid passed as argument.
1543
1728ab37
SP
1544 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1545
3a7182a1
JM
15462013-03-27 Joseph Myers <joseph@codesourcery.com>
1547
1548 [BZ #15307]
1549 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1550 imaginary part between 1.0 and 1.5 and real part less than 0.5
1551 specially.
1552 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1553 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1554 * math/libm-test.inc (cacos_test): Add more tests.
1555 (casin_test): Likewise.
1556 (casinh_test): Likewise.
1557 * sysdeps/i386/fpu/libm-test-ulps: Update.
1558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1559
6f2e90e7
SP
15602013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1561
5739f705
SP
1562 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1563 constants.
1564 (norm): Likewise.
1565 (denorm): Likewise.
1566 (__dbl_mp): Likewise.
1567 (add_magnitudes): Likewise.
1568 (sub_magnitudes): Likewise.
1569 (__add): Likewise.
1570 (__sub): Likewise.
1571 (__mul): Likewise.
1572 (__sqr): Likewise.
1573 (__inv): Likewise.
1574 (__dvd): Likewise.
1575
e375e83d
SP
1576 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1577 commented code.
1578 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1579 (__dubcos): Likewise.
1580 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1581 (__ieee754_acos): Likewise.
1582 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1583 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1584 (__exp1): Likewise.
1585 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1587 (log1): Likewise.
1588 (my_log2): Likewise.
1589 (checkint): Likewise.
1590 * sysdeps/ieee754/dbl-64/e_remainder.c
1591 (__ieee754_remainder): Likewise.
1592 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1593 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1594 (bsloww): Likewise.
1595 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1596
6f2e90e7
SP
1597 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1598 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1599 MANTISSA_STORE_T to store computations on mantissa. Use
1600 macros for rounding and division.
1601 (denorm): Likewise.
1602 (__dbl_mp): Likewise.
1603 (add_magnitudes): Likewise.
1604 (sub_magnitudes): Likewise.
1605 (__mul): Likewise.
1606 (__sqr): Likewise.
1607 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1608 powers of two in terms of TWOPOW macro.
1609 (mp_no): Make type of mantissa as MANTISSA_T.
1610 [!RADIXI]: Define RADIXI.
1611 [!TWO52]: Define TWO52.
1612 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1613
fce14d4e
AZ
16142013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615
1616 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1617 llroundl symbol when building for PPC32.
1618
9ad027fb
MW
16192013-03-24 Mark H Weaver <mhw@netris.org>
1620
1621 * manual/arith.texi (Normalization Functions): Fix prototypes for
1622 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1623
e42a38dd
AZ
16242013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1625
1626 [BZ #13889]
1627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1628 high value to check if expl overflow.
1629 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1630 to check for underflow and overflow.
1631 * math/libm-test.inc: Add exp test.
1632
2e0fb521
DL
16332013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1634
1635 [BZ #11120]
1636 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1637 with NOT_IN_libc.
1638
b5784d95
AZ
16392013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640
1641 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1642 symbol.
1643
5aa4a1a1
TS
16442013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1645
bdef0be7
TS
1646 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1647 wrap blocks consisting of several statements.
1648
5aa4a1a1
TS
1649 * sysdeps/generic/math-tests.h: New file.
1650 * sysdeps/i386/fpu/math-tests.h: Likewise.
1651 * math/test-snan.c: Include it.
1652 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1653
98c48fe5
JM
16542013-03-21 Joseph Myers <joseph@codesourcery.com>
1655
1656 [BZ #15285]
1657 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1658 (__ieee754_j0l): Do not improve calculations using cos of twice
1659 input for inputs above LDBL_MAX / 2.0L.
1660 (__ieee754_y0l): Likewise.
1661 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1662 (__ieee754_j1l): Do not improve calculations using cos of twice
1663 input for inputs above LDBL_MAX / 2.0L.
1664 (__ieee754_y1l): Likewise.
1665 * math/libm-test.inc (j0_test): Add another test.
1666 (j1_test): Likewise.
1667 (y0_test): Likewise.
1668 (y1_test): Likewise.
1669 * sysdeps/i386/fpu/libm-test-ulps: Update.
1670
3775a8bc
SP
16712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1672
1673 * Rules ($(objpfx)bench-%.c): Include code from a C source
1674 file.
1675
0a1b2ae6
JM
16762013-03-21 Joseph Myers <joseph@codesourcery.com>
1677
1678 [BZ #15287]
1679 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1680 imaginary part 1.0 and real part less than 0.5 specially.
1681 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1682 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1683 * math/libm-test.inc (cacos_test): Add more tests.
1684 (casin_test): Likewise.
1685 (casinh_test): Likewise.
1686 * sysdeps/i386/fpu/libm-test-ulps: Update.
1687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1688
b33d4ce4
SP
16892013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1690
1691 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1692 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1693
bef0b507
JM
16942013-03-20 Joseph Myers <joseph@codesourcery.com>
1695
1696 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1697 * config.make.in (config-cflags-sse4): Remove variable.
1698 (config-cflags-avx): Likewise.
1699 (config-cflags-sse2avx): Likewise.
1700 (config-cflags-novzeroupper): Likewise.
1701 (config-asflags-i686): Likewise.
1702 (have-mfma4): Likewise.
1703 (have-as-vis3): Likewise.
1704 (MIG): Likewise.
1705 * configure.in (MIG): Do not AC_SUBST.
1706 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1707 (libc_cv_cc_sse4): Do not AC_SUBST.
1708 (libc_cv_cc_avx): Likewise.
1709 (libc_cv_cc_sse2avx): Likewise.
1710 (libc_cv_cc_novzeroupper): Likewise.
1711 (libc_cv_cc_fma4): Likewise.
1712 (libc_cv_as_i686): Likewise.
1713 (libc_cv_sparc_as_vis3): Likewise.
1714 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1715 LIBC_CONFIG_VAR.
1716 (config-asflags-i686): Likewise.
1717 (config-cflags-avx): Likewise.
1718 (config-cflags-sse2avx): Likewise.
1719 (have-mfma4): Likewise.
1720 (config-cflags-novzeroupper): Likewise.
1721 * sysdeps/mach/configure.in (MIG): Likewise.
1722 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1723 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1724 LIBC_CONFIG_VAR.
1725 (config-cflags-avx): Likewise.
1726 (config-cflags-sse2avx): Likewise.
1727 (have-mfma4): Likewise.
1728 (config-cflags-novzeroupper): Likewise.
1729 * configure: Regenerated.
1730 * sysdeps/i386/configure: Likewise.
1731 * sysdeps/mach/configure: Likewise.
1732 * sysdeps/sparc/configure: Likewise.
1733 * sysdeps/x86_64/configure: Likewise.
1734
912cc4b3
RM
17352013-03-20 Roland McGrath <roland@hack.frob.com>
1736
1737 [BZ #14812]
1738 * locale/programs/localedef.c (options): Put N_ translation marker
1739 on argument names, not just descriptions.
1740
04eed2b0
MS
17412013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1742
1743 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1744
a065ceff
OB
17452013-03-20 Ondřej Bílka <neleai@seznam.cz>
1746
9bb2a810 1747 [BZ #14176]
a065ceff
OB
1748 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1749
a600e5ce
RM
17502013-03-19 Roland McGrath <roland@hack.frob.com>
1751
1752 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1753 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1754 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1755 [!BEFORE_ABORT] (before_abort): New function.
1756 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1757 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1758 (writev_for_fatal): New function.
1759 (WRITEV_FOR_FATAL): New macro; call that.
1760 (backtrace_and_maps): New function.
1761 (BEFORE_ABORT): New macro; call that.
1762 (struct str_list): Type removed.
1763 (__libc_message, __libc_fatal): Functions removed.
1764 Include <sysdeps/posix/libc_fatal.c> instead.
1765
6b18bea6
JM
17662013-03-19 Joseph Myers <joseph@codesourcery.com>
1767
1768 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1769 constants.
1770 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1771 double constants.
1772
aaa8cb4b
AS
17732013-03-19 Andreas Schwab <schwab@suse.de>
1774
44673770
AS
1775 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1776 * sysdeps/gnu/configure: Regenerate.
1777
aaa8cb4b
AS
1778 * configure.in: Substitute libc_cv_rtlddir.
1779 * configure: Regenerate.
1780 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1781 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1782 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1783 * elf/Makefile (install-others, CFLAGS-interp.c)
1784 (ldso_install, common-ldd-rewrite): Likewise.
1785 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1786 $(inst_slibdir)/$(rtld-installed-name).
1787 * scripts/rellns-sh: Add -p option.
1788 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1789 for source.
1790
d3cfc668
SP
17912013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1792
1793 * manual/nptl.texi: Renamed to ...
1794 * manual/threads.texi: ... this.
1795 * manual/Makefile (chapters): Update.
1796
0e2b9cdd
RM
17972013-03-18 Roland McGrath <roland@hack.frob.com>
1798
1799 [BZ #14812]
1800 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1801 on argument names, not just descriptions.
0e2b9cdd
RM
1802 * malloc/memusagestat.c (options): Likewise.
1803 * nss/getent.c (options): Likewise.
63270c24
RM
1804
18052013-03-18 Benno Schulenberg <bensberg@justemail.net>
1806
1807 [BZ #14812]
1808 * iconv/iconv_prog.c (options): Put N_ translation marker
1809 on argument names, not just descriptions.
1810 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1811
b2e1393c
OB
18122013-03-18 Ondrej Bilka <neleai@seznam.cz>
1813
1814 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1815 implementation which is faster on all x86_64 architectures.
1816 Tested on AMD, Intel Nehalem, SNB, IVB.
1817 * sysdeps/x86_64/strnlen.S: Likewise.
1818
1819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1820 Remove all multiarch strlen and strnlen versions.
1821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1822 Remove strlen and strnlen related parts.
1823
1824 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1825 Inline strlen part.
1826 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1827
1828 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1829 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1830 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1831 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1832 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1833 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1834
ec4ff04d
CD
18352013-03-17 Carlos O'Donell <carlos@redhat.com>
1836
1837 * manual/memory.texi (Malloc Tunable Parameters):
1838 Sort parameters alphabetically. Add comments for missing entries.
1839
cd18e90a
DM
18402013-03-17 David S. Miller <davem@davemloft.net>
1841
1842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1843
2a185d32
JM
18442013-03-16 Joseph Myers <joseph@codesourcery.com>
1845
d2f9799e
JM
1846 [BZ #15283]
1847 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1848 for arguments at most half maximum finite value.
1849 * math/libm-test.inc (j0_test): Add more tests.
1850 (j1_test): Likewise.
1851 (y0_test): Likewise.
1852 (y1_test): Likewise.
1853 * sysdeps/i386/fpu/libm-test-ulps: Update.
1854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1855
2a185d32
JM
1856 [BZ #14155]
1857 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1858 1 / x and functions P and Q for arguments above 0x1p256L.
1859 (__ieee754_y0l): Likewise.
1860 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1861 (__ieee754_y1l): Likewise.
1862 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1863 (j1_test): Likewise.
1864 (y0_test): Likewise.
1865 (y1_test): Likewise.
1866
6cbec759
TS
18672013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1868
1869 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1870 variable.
1871
bc16e260
RM
18722013-03-15 Roland McGrath <roland@hack.frob.com>
1873
aefc9b8c
RM
1874 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1875 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1876 zero since it's initialized to EXEC_PAGESIZE.
1877
bc16e260
RM
1878 * sysdeps/unix/sysv/linux/ldsodefs.h
1879 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1880 * sysdeps/generic/ldsodefs.h: ... here.
1881
a57da955
TS
18822013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1883
af00a34d
TS
1884 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1885
495ded2c
TS
1886 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1887 math/test-snan.c.
1888 * math/test-snan.c: Renamed from
1889 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1890 * math/Makefile (tests): Add test-snan.
1891 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1892 test-powerpc-snan.
1893
777b0332
TS
1894 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1895 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1896 functions.
1897 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1898 __builtin_nan family of functions.
1899 * math/libm-test.inc (initialize): Initialize qnan_value with
1900 __builtin_nan family of functions.
1901 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1902 Remove variables.
1903 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1904 Remove functions.
1905 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1906 storage class. Initialize qNaN_var and sNaN_var with
1907 __builtin_nan and __builtin_nans families of functions,
1908 respectively.
1909
64d063b8
TS
1910 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1911 (sqrt_test): Remove duplicate test with qNaN input.
1912 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1913 (round_test, signbit_test, significand_test): Note missing +/-Inf
1914 as well as qNaN tests.
1915
67e971f1
TS
1916 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1917 qNaN_var. Fix a few strings, too.
1918 * math/libm-test.inc (nan_value): Rename to qnan_value.
1919 * math/gen-libm-test.pl (%beautify): Adjust to that.
1920 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1921 * math/test-misc.c (main): Likewise.
1922 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1923 to __qnan_bytes, and __qnan_union, respectively.
1924 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1925 Likewise.
1926 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1927 and lqnanval, respectively.
1928 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1929 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1930 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1931 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1932
64487e12
TS
1933 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
1934 * math/test-misc.c (main) [__x86_64__]: Enable test for long
1935 doubles.
1936
e015e27b
TS
1937 * math/test-misc.c (main): Fix copy'n'pastos.
1938 * misc/tst-efgcvt.c (special): Likewise.
1939
a57da955
TS
1940 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
1941 Remove declarations.
1942
1e380345
SP
19432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1944
1945 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
1946 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
1947 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
1948 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
1949
ef26eece
AZ
19502013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1951
1952 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
1953 macro to return vdso values correctly in IFUNC implementations.
1954 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1955 Optimization by using IFUNC.
1956
8cfdb7e0
SP
19572013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1958 Richard Henderson <rth@redhat.com>
1959 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1960
1961 * Makefile.in (bench): New target.
1962 * NEWS: Mention the benchmark framework.
1963 * Rules (bench): Likewise.
1964 (binaries-bench): Generate binaries for functions to
1965 benchmark.
1966 * benchtests/Makefile: New makefile for benchmark tests.
1967 * benchtests/bench-skeleton.c: New skeleton file for benchmark
1968 programs.
1969 * benchtests/exp-inputs: New input file for EXP function.
1970 * benchtests/pow-inputs: New input file for POW function.
1971 * scripts/bench.pl: New script to generate source files for
1972 benchmark programs.
1973
bcda9880
SP
19742013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1975
d22ca8cd
SP
1976 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1977 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
1978 computations on mantissa. Use macros for rounding and
1979 division.
1980 (denorm): Likewise.
1981 (__dbl_mp): Likewise.
1982 (add_magnitudes): Likewise.
1983 (sub_magnitudes): Likewise.
1984 (__mul): Likewise.
1985 (__sqr): Likewise.
1986 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1987 powers of two in terms of TWOPOW macro.
1988 (mp_no): Make type of mantissa as MANTISSA_T.
1989 [!RADIXI]: Define RADIXI.
1990 [!TWO52]: Define TWO52.
1991 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1992
bcda9880
SP
1993 * manual/nptl.texi (cindex): Modify threads to pthreads.
1994
06d5adfb
JM
19952013-03-15 Joseph Myers <joseph@codesourcery.com>
1996
1997 * sysdeps/x86_64/preconfigure: Regenerated.
1998
41c7328e
JM
19992013-03-14 Joseph Myers <joseph@codesourcery.com>
2000
2001 [BZ #14155]
2002 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2003 0x1p28 and above.
2004 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2005 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2006 0x1p28 and above.
2007 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2008 * math/libm-test.inc (j0_test): Do not allow one spurious
2009 underflow exception.
2010 (y1_test): Likewise.
2011
e25cfa60
SP
20122013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2013
0409959c
SP
2014 * manual/Makefile (chapters): Add nptl.
2015 * manual/debug.texi (Debugging Support): Add link to Threads
2016 chapter.
2017 * manual/nptl.texi: New file.
2018
e25cfa60
SP
2019 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2020
58a1335e
PB
20212013-03-14 Petr Baudis <pasky@ucw.cz>
2022
2023 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2024 for non-NULL pointer before the memory validity test. Pointed
2025 out by Holger Brunck <holger.brunck@keymile.com>.
2026
9dc7c64f
AS
20272013-03-13 Andreas Schwab <schwab@suse.de>
2028
2029 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2030 instead of .os.
2031
54206aa6
JM
20322013-03-13 Joseph Myers <joseph@codesourcery.com>
2033
2034 * timezone/zic.c: Update from tzcode 2013b.
2035
e98cdb38
CD
20362013-03-12 Carlos O'Donell <carlos@redhat.com>
2037
2038 * manual/install.texi (Configuring and compiling):
2039 Mention i686 and i586.
2040 * INSTALL: Regenerate.
2041
9967e003
RM
20422013-03-12 Roland McGrath <roland@hack.frob.com>
2043
2044 * sysdeps/init_array/elf-init.c: New file.
2045 * csu/elf-init.c
2046 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2047 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2048
2049 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2050 __gmon_start__ as global, but as static with a .preinit_array pointer.
2051 * sysdeps/init_array/gmon-start.c: New file. Use that.
2052 * sysdeps/init_array/crti.S: New file, empty except for comments.
2053 * sysdeps/init_array/crtn.S: Likewise.
2054
e6b5a293 20552013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2056
2057 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2058 definining bcopy.
80f844c9
OB
2059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2060 Remove Prefer_SSE_for_memop.
2061 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2062 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2063 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2065 memset-x86-64.
80f844c9 2066 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2067 Remove bzero, memset ifunc support.
80f844c9
OB
2068 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2069 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2070 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2071 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2072
fb6b0fcb
AS
20732013-03-11 Andreas Schwab <schwab@suse.de>
2074
2075 [BZ #15234]
2076 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2077 by SHLIB_COMPAT.
2078 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2079 (GLIBC_2.16): Remove pthread_atfork.
2080
3e6bd4b1
PP
20812013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2082
2083 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2084 (ptestcases.h): Likewise.
2085
222d7f00
RM
20862013-03-08 Roland McGrath <roland@hack.frob.com>
2087
2088 * Makeconfig ($(common-objpfx)config.status): Depend on
2089 sysdeps/*/preconfigure{,.in} too.
2090
1ba4f030
JM
20912013-03-08 Joseph Myers <joseph@codesourcery.com>
2092
a222d91a
JM
2093 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2094 (__free_hook): Use void * instead of __malloc_ptr_t.
2095 (__malloc_hook): Likewise.
2096 (__realloc_hook): Likewise.
2097 (__memalign_hook): Likewise.
2098 (__after_morecore_hook): Likewise.
2099 * malloc/arena.c (save_malloc_hook): Likewise.
2100 (save_free_hook): Likewise.
2101 * malloc/hooks.c (malloc_hook_ini): Likewise.
2102 (realloc_hook_ini): Likewise.
2103 (memalign_hook_ini): Likewise.
2104 * malloc/malloc.c (malloc_hook_ini): Likewise.
2105 (realloc_hook_ini): Likewise.
2106 (memalign_hook_ini): Likewise.
2107 (__free_hook): Likewise.
2108 (__malloc_hook): Likewise.
2109 (__realloc_hook): Likewise.
2110 (__memalign_hook): Likewise.
2111 (__libc_malloc): Likewise.
2112 (__libc_free): Likewise.
2113 (__libc_realloc): Likewise.
2114 (__libc_memalign): Likewise.
2115 (__libc_valloc): Likewise.
2116 (__libc_pvalloc): Likewise.
2117 (__libc_calloc): Likewise.
2118 (__posix_memalign): Likewise.
2119 * malloc/morecore.c (__sbrk): Likewise.
2120 (__default_morecore): Likewise.
2121
5cc45e10
JM
2122 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2123
dd54b864
JM
2124 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2125 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2126 __malloc_ptrdiff_t.
2127
1ba4f030
JM
2128 * malloc/malloc.h (__malloc_size_t): Remove macro.
2129 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2130 __malloc_size_t.
2131 (old_memalign_hook): Likewise.
2132 (old_realloc_hook): Likewise.
2133 (struct hdr): Likewise.
2134 (flood): Likewise.
2135 (mallochook): Likewise.
2136 (memalignhook): Likewise.
2137 (reallochook): Likewise.
2138 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2139 (tr_old_realloc_hook): Likewise.
2140 (tr_old_memalign_hook): Likewise.
2141 (tr_mallochook): Likewise.
2142 (tr_reallochook): Likewise.
2143 (tr_memalignhook): Likewise.
2144
edf66e57
AZ
21452013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2146
2147 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2148 default_ldbl_pack and using as default implementation.
2149 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2150 implementation.
2151 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2152 redundant definition.
2153 (ldbl_insert_mantissa): Likewise.
2154 (ldbl_canonicalize): Likewise.
2155 (ldbl_nearbyint): Likewise.
2156 (ldbl_pack): Rename to ldbl_pack_ppc.
2157 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2158 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2159 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2160
6d9145d8
SP
21612013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2162
2163 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2164 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2165 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2166 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2168 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2169 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2170 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2171
4dd4e157
AJ
21722013-03-07 Andreas Jaeger <aj@suse.de>
2173
2174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2175 bits/mman-linux.h.
2176
adbb8027
SP
21772013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2178
ce544b5b
SP
2179 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2180 Include mpa.h and declare __MPEXP.
2181 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2182 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2183 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2184 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2185 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2186 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2187 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2188
4cc149fd
SP
2189 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2190 (__slowpow): Use long double EXPL and LOGL functions to
2191 compute POW.
2192 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2193 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2194 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2195 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2196 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2197 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2198
e6ebd4a7
SP
2199 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2200 intermediate variable to calculate exponent.
2201 (__sqr): Likewise.
2202 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2203 Likewise.
2204 (__sqr): Likewise.
2205
82a9811d
SP
2206 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2207 [!NO__SQR]: Define __sqr.
2208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2209 and NO__SQR. Remove all code except __mul and __sqr. Include
2210 sysdeps/ieee754/dbl-64/mpa.c.
2211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2212
adbb8027
SP
2213 [BZ #12723]
2214 * posix/Makefile (tests): Add tst-pathconf.
2215 * posix/tst-pathconf.c: New test case.
2216 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2217 _PC_PIPE_BUF.
2218 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2219
39120df9
PF
22202013-03-06 Patsy Franklin <pfrankli@redhat.com>
2221
2222 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2223
67525cb8
AJ
22242013-03-06 Andreas Jaeger <aj@suse.de>
2225
664a9ce4
AJ
2226 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2227 definition via __MAP_ANONYMOUS.
2228
8e39047d
AJ
2229 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2230 it's not part of Linux headers.
2231
67525cb8
AJ
2232 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2233 (MAP_HUGE_MASK): Define.
2234
2235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2236 Define.
2237 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2238 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2239 Define.
2240 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2241 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2242 Define.
2243 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2244 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2245 Define.
2246 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2247
2248 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2249 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2250 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2251 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2252 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2253 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2254
2255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2256 Handle f2fs.
2257
2258 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2259 Handle f2fs and efivarfs.
2260
2261 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2262 f2fs.
2263
2264 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2265 (EFIVARFS_MAGIC): Add.
2266 (F2FS_LINK_MAX): Add.
2267
e1b42695
PP
22682013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2269
2270 * stdio-common/vfprintf.c: Replace __builtin_expect with
2271 __glibc_unlikely.
2272
2d67d91a
JM
22732013-03-06 Joseph Myers <joseph@codesourcery.com>
2274
2275 [BZ #13550]
2276 * sysdeps/generic/bp-sym.h: Remove file.
2277 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2278 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2279 <bp-sym.h> and <bp-asm.h>.
2280 (__longjmp): Don't use BP_SYM.
2281 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2282 and <bp-asm.h>.
2283 (memcpy): Don't use BP_SYM.
2284 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2285 <bp-sym.h> and <bp-asm.h>.
2286 (memcpy): Don't use BP_SYM.
2287 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2288 <bp-asm.h>.
2289 (memcpy): Don't use BP_SYM.
2290 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2291 <bp-asm.h>.
2292 (memset): Don't use BP_SYM.
2293 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2294 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2295 (__bzero): Don't use BP_SYM.
2296 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2297 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2298 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2299 <bp-sym.h> and <bp-asm.h>.
2300 (memcmp): Don't use BP_SYM. Remove comment about bounded
2301 pointers.
2302 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2303 <bp-sym.h> and <bp-asm.h>.
2304 (memcpy): Don't use BP_SYM.
2305 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2306 <bp-sym.h> and <bp-asm.h>.
2307 (memset): Don't use BP_SYM.
2308 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2309 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2310 (__bzero): Don't use BP_SYM.
2311 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2312 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2314 <bp-sym.h> and <bp-asm.h>.
2315 (strncmp): Don't use BP_SYM. Remove comment about bounded
2316 pointers.
2317 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2318 <bp-sym.h> and <bp-asm.h>.
2319 (memcpy): Don't use BP_SYM.
2320 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2321 <bp-sym.h> and <bp-asm.h>.
2322 (memset): Don't use BP_SYM.
2323 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2324 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2325 (__bzero): Don't use BP_SYM.
2326 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2327 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2328 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2329 <bp-sym.h> and <bp-asm.h>.
2330 (__memchr): Don't use BP_SYM.
2331 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2332 <bp-sym.h> and <bp-asm.h>.
2333 (memcmp): Don't use BP_SYM. Remove comment about bounded
2334 pointers.
2335 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2336 <bp-sym.h> and <bp-asm.h>.
2337 (memcpy): Don't use BP_SYM.
2338 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2339 <bp-sym.h> and <bp-asm.h>.
2340 (__mempcpy): Don't use BP_SYM.
2341 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2342 <bp-sym.h> and <bp-asm.h>.
2343 (__memrchr): Don't use BP_SYM.
2344 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2345 <bp-sym.h> and <bp-asm.h>.
2346 (memset): Don't use BP_SYM.
2347 (__bzero): Likewise.
2348 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2349 <bp-sym.h> and <bp-asm.h>.
2350 (__rawmemchr): Don't use BP_SYM.
2351 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2352 <bp-sym.h> and <bp-asm.h>.
2353 (__STRCMP): Don't use BP_SYM.
2354 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2355 <bp-sym.h> and <bp-asm.h>.
2356 (strchr): Don't use BP_SYM.
2357 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2358 <bp-sym.h> and <bp-asm.h>.
2359 (__strchrnul): Don't use BP_SYM.
2360 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2361 <bp-sym.h> and <bp-asm.h>.
2362 (strlen): Don't use BP_SYM.
2363 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2364 <bp-sym.h> and <bp-asm.h>.
2365 (strncmp): Don't use BP_SYM. Remove comment about bounded
2366 pointers.
2367 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2368 <bp-sym.h> and <bp-asm.h>.
2369 (__strnlen): Don't use BP_SYM.
2370 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2371 <bp-sym.h> and <bp-asm.h>.
2372 (__GI__setjmp): Don't use BP_SYM.
2373 (_setjmp): Likewise.
2374 (__sigsetjmp): Likewise.
2375 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2376 (L(start_addresses)): Don't use BP_SYM.
2377 (_start): Likewise.
2378 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2379 <bp-asm.h>.
2380 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2381 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2382 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2383 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2384 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2385 <bp-asm.h>.
2386 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2387 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2388 about bounded pointers.
2389 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2390 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2391 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2392 <bp-asm.h>.
2393 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2394 about bounded pointers. Remove GKM FIXME comments.
2395 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2396 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2397 <bp-asm.h>.
2398 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2399 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2400 Remove GKM FIXME comments.
2401 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2402 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2403 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2404 <bp-asm.h>.
2405 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2406 about bounded pointers. Remove GKM FIXME comment.
2407 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2408 and <bp-asm.h>.
2409 (strncmp): Don't use BP_SYM. Remove comment about bounded
2410 pointers.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2412 <bp-sym.h> and <bp-asm.h>.
2413 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2415 <bp-sym.h> and <bp-asm.h>.
2416 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2417 comment.
2418
cdcf361f
PP
24192013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2420
2421 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2422 call free(NULL).
2423
3c4a2b15
DM
24242013-03-05 David S. Miller <davem@davemloft.net>
2425
2426 * po/es.po: Update from translation team.
2427
cdcf361f 24282013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2429
2430 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2431 <bits/mman-linux.h>.
2432 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2433 is fine.
2434 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2435 <bits/mman-linux.h> to end of file.
2436 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2437 is fine.
2438 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2439 <bits/mman-linux.h> to end of file.
2440 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2441 is fine.
2442 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2443 <bits/mman-linux.h> to end of file.
2444
2445 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2446 (MCL_CURRENT, MCL_FUTURE): Define here.
2447
5f67c04f
AK
24482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2449
8a4473cc 2450 [BZ #15232]
5f67c04f
AK
2451 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2452 attribute_hidden.
2453 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2454
c3e94a95
AK
24552013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2456
2457 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2458 fourth parameter needed for rt_sigprocmask syscall.
2459 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2460 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2461 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2462 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2463 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2464 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2465
cfb6382a
JM
24662013-03-04 Joseph Myers <joseph@codesourcery.com>
2467
2468 [BZ #13550]
2469 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2470 comment about bounded pointers.
2471 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2472 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2473
539d8e01
AJ
24742013-03-04 Andreas Jaeger <aj@suse.de>
2475
2476 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2477 common definitions.
2478
2479 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2480 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2481 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2482 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2484 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2485
2e167a70 24862013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2487
2488 [BZ #15055]
2489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2490 __ieee754_sqrl instead of __sqrl.
2491
68508633
JM
24922013-03-01 Joseph Myers <joseph@codesourcery.com>
2493
2494 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2495 * sysdeps/powerpc/fpu_control.h: ... here.
2496 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2497 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2498 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2499 * sysdeps/powerpc/bits/mathinline.h: ... here.
2500
7775448e
RM
25012013-03-01 Roland McGrath <roland@hack.frob.com>
2502
2503 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2504 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2505 to just [NEED_DL_SYSINFO_DSO].
2506 * elf/dl-support.c: Likewise.
2507 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2508 * elf/rtld.c (dl_main): Likewise.
2509 * elf/setup-vdso.h (setup_vdso): Likewise.
2510 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2511 * sysdeps/unix/sysv/linux/dl-sysdep.c
2512 (_dl_discover_osversion): Likewise.
2513
4e9b5995
CD
25142013-03-01 Carlos O'Donell <carlos@redhat.com>
2515
2516 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2517 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2518
e23872c8
SP
25192013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2520
e5c74c63
SP
2521 * NEWS: Mention libm performance improvements and non-x86 PI
2522 futex support.
2523
e23872c8
SP
2524 * csu/libc-start.c (__pthread_initialize_minimal): Change
2525 function arguments.
2526 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2527
b5510883
JM
25282013-02-28 Joseph Myers <joseph@codesourcery.com>
2529
2530 [BZ #13550]
2531 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2532 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2533 <bp-sym.h> and <bp-asm.h>.
2534 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2535 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2536 and <bp-asm.h>.
2537 (memcpy): Don't use BP_SYM.
2538 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2539 <bp-asm.h>.
2540 (__mpn_add_n): Don't use BP_SYM.
2541 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2542 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2543 and <bp-asm.h>.
2544 (__mpn_addmul_1): Don't use BP_SYM.
2545 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2546 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2547 <bp-sym.h>.
2548 (_setjmp): Don't use BP_SYM.
2549 (__novmx_setjmp): Likewise.
2550 (__GI__setjmp): Likewise.
2551 (__vmx_setjmp): Likewise.
2552 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2553 <bp-sym.h>.
2554 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2555 (__bzero): Don't use BP_SYM.
2556 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2557 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2558 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2559 <bp-sym.h> and <bp-asm.h>.
2560 (memcpy): Don't use BP_SYM.
2561 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2562 <bp-sym.h> and <bp-asm.h>.
2563 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2564 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2565 <bp-sym.h> and <bp-asm.h>.
2566 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2567 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2568 <bp-asm.h>.
2569 (__mpn_lshift): Don't use BP_SYM.
2570 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2571 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2572 <bp-asm.h>.
2573 (memset): Don't use BP_SYM.
2574 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2575 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2576 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2577 <bp-asm.h>.
2578 (__mpn_mul_1): Don't use BP_SYM.
2579 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2580 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2581 <bp-sym.h> and <bp-asm.h>.
2582 (memcmp): Don't use BP_SYM.
2583 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2584 <bp-sym.h> and <bp-asm.h>.
2585 (memcpy): Don't use BP_SYM.
2586 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2587 <bp-sym.h> and <bp-asm.h>.
2588 (memset): Don't use BP_SYM.
2589 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2590 <bp-sym.h> and <bp-asm.h>.
2591 (strncmp): Don't use BP_SYM.
2592 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2593 <bp-sym.h> and <bp-asm.h>.
2594 (memcpy): Don't use BP_SYM.
2595 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2596 <bp-sym.h> and <bp-asm.h>.
2597 (memset): Don't use BP_SYM.
2598 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2599 <bp-sym.h> and <bp-asm.h>.
2600 (__memchr): Don't use BP_SYM.
2601 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2602 <bp-sym.h> and <bp-asm.h>.
2603 (memcmp): Don't use BP_SYM.
2604 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2605 <bp-sym.h> and <bp-asm.h>.
2606 (memcpy): Don't use BP_SYM.
2607 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2608 <bp-sym.h> and <bp-asm.h>.
2609 (__mempcpy): Don't use BP_SYM.
2610 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2611 <bp-sym.h> and <bp-asm.h>.
2612 (__memrchr): Don't use BP_SYM.
2613 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2614 <bp-sym.h> and <bp-asm.h>.
2615 (memset): Don't use BP_SYM.
2616 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2617 <bp-sym.h> and <bp-asm.h>.
2618 (__rawmemchr): Don't use BP_SYM.
2619 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2620 <bp-sym.h> and <bp-asm.h>.
2621 (__STRCMP): Don't use BP_SYM.
2622 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2623 <bp-sym.h> and <bp-asm.h>.
2624 (strchr): Don't use BP_SYM.
2625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2626 <bp-sym.h> and <bp-asm.h>.
2627 (__strchrnul): Don't use BP_SYM.
2628 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2629 <bp-sym.h> and <bp-asm.h>.
2630 (strlen): Don't use BP_SYM.
2631 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2632 <bp-sym.h> and <bp-asm.h>.
2633 (strncmp): Don't use BP_SYM.
2634 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2635 <bp-sym.h> and <bp-asm.h>.
2636 (__strnlen): Don't use BP_SYM.
2637 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2638 <bp-asm.h>.
2639 (__mpn_rshift): Don't use BP_SYM.
2640 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2641 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2642 <bp-sym.h> and <bp-asm.h>.
2643 (__sigsetjmp): Don't use BP_SYM.
2644 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2645 (L(start_addresses)): Don't use BP_SYM.
2646 (_start): Likewise.
2647 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2648 <bp-asm.h>.
2649 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2650 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2651 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2652 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2653 <bp-asm.h>.
2654 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2655 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2656 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2657 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2658 <bp-asm.h>.
2659 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2660 comments.
2661 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2662 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2663 <bp-asm.h>.
2664 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2665 FIXME comments.
2666 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2667 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2668 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2669 <bp-asm.h>.
2670 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2671 comment.
2672 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2673 and <bp-asm.h>.
2674 (strncmp): Don't use BP_SYM,
2675 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2676 <bp-asm.h>.
2677 (__mpn_sub_n): Don't use BP_SYM.
2678 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2679 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2680 and <bp-asm.h>.
2681 (__mpn_submul_1): Don't use BP_SYM.
2682 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2684 <bp-sym.h> and <bp-asm.h>.
2685 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2687 <bp-sym.h> and <bp-asm.h>.
2688 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2689 comment.
2690
8d19fe64
SP
26912013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2692
2693 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2694 Use ZK to minimize writes to Z.
2695 (sub_magnitudes): Simplify code a bit.
2696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2697 Use ZK to minimize writes to Z.
2698 (sub_magnitudes): Simplify code a bit.
2699
85bd816a
RM
27002013-02-27 Roland McGrath <roland@hack.frob.com>
2701
2702 * csu/gmon-start.c: Add special exception to license text.
2703
b5977bf2
RH
27042013-02-27 Richard Henderson <rth@redhat.com>
2705
2706 * scripts/config.guess: Update from config.git.
2707 * scripts/config.sub: Likewise.
2708
11d6e2f2
SP
27092013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2710
09c14ed2
SP
2711 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2712
a688864e
SP
2713 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2714
6295157a
SP
2715 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2716
b8de2202
SP
2717 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2718
11d6e2f2
SP
2719 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2720
7e80ddb8
RM
27212013-02-26 Roland McGrath <roland@hack.frob.com>
2722
2723 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2724 [$(build-shared = yes].
7e80ddb8 2725
7da6d9ed
SP
27262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2727
45f05884
SP
2728 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2729 (__mul): Reduce iterations for calculating mantissa.
2730
2236d359
SP
2731 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2732 MPTWO.
2733 (__mpranred): Likewise.
2734
7da6d9ed
SP
2735 [BZ #15160]
2736 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2737 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2738
b7688c42
PE
27392013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2740
2741 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2742 Define __attribute__.
2743
53a5c423
SP
27442013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2745
2746 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2747 unused.
2748 * posix/regex_internal.h (__attribute): Remove.
2749 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2750 (re_string_context_at): Likewise.
2751 (bitset_not): Use __attribute__ and mark function as possibly
2752 unused.
2753 (bitset_merge): Likewise.
2754 (bitset_mask): Likewise.
2755 (re_string_char_size_at): Likewise.
2756 (re_string_wchar_at): Likewise.
2757 (re_string_elem_size_at): Likewise.
2758
60f5a8b5
SP
27592013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2760
2a983a2e
SP
2761 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2762 code.
2763 (cc32): Likewise.
2764
e69804d1
SP
2765 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2766 (__acr): Likewise.
2767 (__cpy): Likewise.
2768 (norm): Likewise.
2769 (denorm): Likewise.
2770 (__dbl_mp): Likewise.
2771 (add_magnitudes): Likewise.
2772 (sub_magnitudes): Likewise.
2773 (__mul): Likewise.
2774 (__inv): Likewise.
2775
2f22a1e8
SP
2776 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2777 style.
2778
8930ddc7
SP
2779 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2780 style.
2781
dc60cb11
SP
2782 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2783 code.
2784
60f5a8b5
SP
2785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2786 up changes with default code.
2787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2788 Likewise.
2789
b4d1fd33
AM
27902013-02-24 Allan McRae <allan@archlinux.org>
2791
faf6f8bc
AM
2792 * manual/socket.texi (The Internet Namespace): Order menu items
2793 to match that in the file.
2794
b4d1fd33
AM
2795 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2796 node listing of the info page menu.
2797
2366713d
JM
27982013-02-21 Joseph Myers <joseph@codesourcery.com>
2799
2800 [BZ #13550]
2801 * sysdeps/i386/bp-asm.h: Remove file.
2802 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2803 (PARMS): Do not use macros from bp-asm.h.
2804 (S1): Likewise.
2805 (S2): Likewise.
2806 (SIZE): Likewise.
2807 (__mpn_add_n): Do not use BP_SYM
2808 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2809 "bp-asm.h".
2810 (PARMS): Do not use macros from bp-asm.h.
2811 (S1): Likewise.
2812 (SIZE): Likewise.
2813 (__mpn_addmul_1): Do not use BP_SYM
2814 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2815 "bp-asm.h".
2816 (PARMS): Do not use macros from bp-asm.h.
2817 (SIGMSK): Likewise.
2818 (_setjmp): Likewise. Do not use BP_SYM.
2819 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2820 "bp-asm.h".
2821 (PARMS): Do not use macros from bp-asm.h.
2822 (SIGMSK): Likewise.
2823 (setjmp): Likewise. Do not use BP_SYM.
2824 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2825 "bp-asm.h".
2826 (PARMS): Do not use macros from bp-asm.h.
2827 (__frexp): Do not use BP_SYM.
2828 (frexp): Likewise.
2829 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2830 "bp-asm.h".
2831 (PARMS): Do not use macros from bp-asm.h.
2832 (__frexpf): Do not use BP_SYM.
2833 (frexpf): Likewise.
2834 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2835 "bp-asm.h".
2836 (PARMS): Do not use macros from bp-asm.h.
2837 (__frexpl): Do not use BP_SYM.
2838 (frexpl): Likewise.
2839 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2840 "bp-asm.h".
2841 (PARMS): Do not use macros from bp-asm.h.
2842 (__remquo): Do not use BP_SYM.
2843 (remquo): Likewise.
2844 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2845 "bp-asm.h".
2846 (PARMS): Do not use macros from bp-asm.h.
2847 (__remquof): Do not use BP_SYM.
2848 (remquof): Likewise.
2849 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2850 "bp-asm.h".
2851 (PARMS): Do not use macros from bp-asm.h.
2852 (__remquol): Do not use BP_SYM.
2853 (remquol): Likewise.
2854 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2855 "bp-asm.h".
2856 (PARMS): Do not use macros from bp-asm.h.
2857 (DEST): Likewise.
2858 (SRC): Likewise.
2859 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2860 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2861 "bp-asm.h".
2862 (PARMS): Do not use macros from bp-asm.h.
2863 (strlen): Do not use BP_SYM.
2864 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2865 "bp-asm.h".
2866 (PARMS): Do not use macros from bp-asm.h.
2867 (S1): Likewise.
2868 (S2): Likewise.
2869 (SIZE): Likewise.
2870 (__mpn_add_n): Do not use BP_SYM.
2871 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2872 "bp-asm.h".
2873 (PARMS): Do not use macros from bp-asm.h.
2874 (S1): Likewise.
2875 (SIZE): Likewise.
2876 (__mpn_addmul_1): Do not use BP_SYM.
2877 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2878 weak_alias.
2879 (bzero): Likewise.
2880 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2881 "bp-asm.h".
2882 (PARMS): Do not use macros from bp-asm.h.
2883 (S): Likewise.
2884 (SIZE): Likewise.
2885 (__mpn_lshift): Do not use BP_SYM.
2886 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2887 "bp-asm.h".
2888 (PARMS): Do not use macros from bp-asm.h.
2889 (DEST): Likewise.
2890 (SRC): Likewise.
2891 (LEN): Likewise.
2892 (memcpy): Likewise. Do not use BP_SYM.
2893 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2894 libc_hidden_def and weak_alias.
2895 (mempcpy): Do not use BP_SYM in weak_alias.
2896 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2897 "bp-asm.h".
2898 (PARMS): Do not use macros from bp-asm.h.
2899 (DEST): Likewise.
2900 (LEN): Likewise.
2901 [!BZERO_P] (CHR): Likewise.
2902 (memset): Likewise. Do not use BP_SYM.
2903 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2904 "bp-asm.h".
2905 (PARMS): Do not use macros from bp-asm.h.
2906 (S1): Likewise.
2907 (SIZE): Likewise.
2908 (__mpn_mul_1): Do not use BP_SYM.
2909 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2910 "bp-asm.h".
2911 (PARMS): Do not use macros from bp-asm.h.
2912 (S): Likewise.
2913 (SIZE): Likewise.
2914 (__mpn_rshift): Do not use BP_SYM.
2915 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2916 "bp-asm.h".
2917 (PARMS): Do not use macros from bp-asm.h.
2918 (STR): Likewise.
2919 (CHR): Likewise.
2920 (strchr): Likewise. Do not use BP_SYM.
2921 (index): Do not use BP_SYM in weak_alias.
2922 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
2923 "bp-asm.h".
2924 (PARMS): Do not use macros from bp-asm.h.
2925 (DEST): Likewise.
2926 (SRC): Likewise.
2927 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2928 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2929 "bp-asm.h".
2930 (PARMS): Do not use macros from bp-asm.h.
2931 (strlen): Do not use BP_SYM.
2932 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2933 "bp-asm.h".
2934 (PARMS): Do not use macros from bp-asm.h.
2935 (S1): Likewise.
2936 (S2): Likewise.
2937 (SIZE): Likewise.
2938 (__mpn_sub_n): Do not use BP_SYM.
2939 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
2940 "bp-asm.h".
2941 (PARMS): Do not use macros from bp-asm.h.
2942 (S1): Likewise.
2943 (SIZE): Likewise.
2944 (__mpn_submul_1): Do not use BP_SYM.
2945 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
2946 "bp-asm.h".
2947 (PARMS): Do not use macros from bp-asm.h.
2948 (S1): Likewise.
2949 (S2): Likewise.
2950 (SIZE): Likewise.
2951 (__mpn_add_n): Do not use BP_SYM.
2952 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
2953 weak_alias.
2954 (bzero): Likewise.
2955 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
2956 "bp-asm.h".
2957 (PARMS): Do not use macros from bp-asm.h.
2958 (BLK2): Likewise.
2959 (LEN): Likewise.
2960 (memcmp): Do not use BP_SYM.
2961 (bcmp): Do not use BP_SYM in weak_alias.
2962 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
2963 "bp-asm.h".
2964 (PARMS): Do not use macros from bp-asm.h.
2965 (DEST): Likewise.
2966 (SRC): Likewise.
2967 (LEN): Likewise.
2968 (memcpy): Likewise. Do not use BP_SYM.
2969 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
2970 "bp-asm.h".
2971 (PARMS): Do not use macros from bp-asm.h.
2972 (DEST): Likewise.
2973 (SRC): Likewise.
2974 (LEN): Likewise.
2975 (memmove): Likewise. Do not use BP_SYM.
2976 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
2977 "bp-asm.h".
2978 (PARMS): Do not use macros from bp-asm.h.
2979 (DEST): Likewise.
2980 (SRC): Likewise.
2981 (LEN): Likewise.
2982 (__mempcpy): Likewise. Do not use BP_SYM.
2983 (mempcpy): Do not use BP_SYM in weak_alias.
2984 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
2985 "bp-asm.h".
2986 (PARMS): Do not use macros from bp-asm.h.
2987 (DEST): Likewise.
2988 (LEN): Likewise.
2989 [!BZERO_P] (CHR): Likewise.
2990 (memset): Likewise. Do not use BP_SYM.
2991 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
2992 "bp-asm.h".
2993 (PARMS): Do not use macros from bp-asm.h.
2994 (STR2): Likewise.
2995 (strcmp): Do not use BP_SYM.
2996 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
2997 "bp-asm.h".
2998 (PARMS): Do not use macros from bp-asm.h.
2999 (STR): Likewise.
3000 (DELIM): Likewise.
3001 [USE_AS_STRTOK_R] (SAVE): Likewise.
3002 (FUNCTION): Likewise. Do not use BP_SYM.
3003 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3004 aliases.
3005 (strtok_r): Likewise.
3006 (__GI___strtok_r): Likewise.
3007 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3008 (PARMS): Do not use macros from bp-asm.h.
3009 (S): Likewise.
3010 (SIZE): Likewise.
3011 (__mpn_lshift): Do not use BP_SYM.
3012 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3013 (PARMS): Do not use macros from bp-asm.h.
3014 (STR): Likewise.
3015 (CHR): Likewise.
3016 (__memchr): Do not use BP_SYM.
3017 (memchr): Do not use BP_SYM in weak_alias.
3018 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3019 (PARMS): Do not use macros from bp-asm.h.
3020 (BLK2): Likewise.
3021 (LEN): Likewise.
3022 (memcmp): Do not use BP_SYM.
3023 (bcmp): Do not use BP_SYM in weak_alias.
3024 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3025 (PARMS): Do not use macros from bp-asm.h.
3026 (S1): Likewise.
3027 (SIZE): Likewise.
3028 (__mpn_mul_1): Do not use BP_SYM.
3029 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3030 "bp-asm.h".
3031 (PARMS): Do not use macros from bp-asm.h.
3032 (STR): Likewise.
3033 (CHR): Likewise.
3034 (__rawmemchr): Do not use BP_SYM.
3035 (rawmemchr): Do not use BP_SYM in weak_alias.
3036 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3037 (PARMS): Do not use macros from bp-asm.h.
3038 (S): Likewise.
3039 (SIZE): Likewise.
3040 (__mpn_rshift): Do not use BP_SYM.
3041 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3042 (PARMS): Do not use macros from bp-asm.h.
3043 (SIGMSK): Likewise.
3044 (__sigsetjmp): Likewise. Do not use BP_SYM.
3045 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3046 (_start): Do not use BP_SYM.
3047 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3048 (PARMS): Do not use macros from bp-asm.h.
3049 (DEST): Likewise.
3050 (SRC): Likewise.
3051 (__stpcpy): Likewise. Do not use BP_SYM.
3052 (stpcpy): Do not use BP_SYM in weak_alias.
3053 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3054 "bp-asm.h".
3055 (PARMS): Do not use macros from bp-asm.h.
3056 (DEST): Likewise.
3057 (SRC): Likewise.
3058 (LEN): Likewise.
3059 (__stpncpy): Likewise. Do not use BP_SYM.
3060 (stpncpy): Do not use BP_SYM in weak_alias.
3061 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3062 (PARMS): Do not use macros from bp-asm.h.
3063 (STR): Likewise.
3064 (CHR): Likewise.
3065 (strchr): Likewise. Do not use BP_SYM.
3066 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3067 "bp-asm.h".
3068 (PARMS): Do not use macros from bp-asm.h.
3069 (STR): Likewise.
3070 (CHR): Likewise.
3071 (__strchrnul): Likewise. Do not use BP_SYM.
3072 (strchrnul): Do not use BP_SYM in weak_alias.
3073 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3074 "bp-asm.h".
3075 (PARMS): Do not use macros from bp-asm.h.
3076 (STOP): Likewise.
3077 (strcspn): Do not use BP_SYM.
3078 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3079 "bp-asm.h".
3080 (PARMS): Do not use macros from bp-asm.h.
3081 (STR): Likewise.
3082 (STOP): Likewise.
3083 (strpbrk): Likewise. Do not use BP_SYM.
3084 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3085 "bp-asm.h".
3086 (PARMS): Do not use macros from bp-asm.h.
3087 (STR): Likewise.
3088 (CHR): Likewise.
3089 (strrchr): Likewise. Do not use BP_SYM.
3090 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3091 (PARMS): Do not use macros from bp-asm.h.
3092 (SKIP): Likewise.
3093 (strspn): Do not use BP_SYM.
3094 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3095 (PARMS): Do not use macros from bp-asm.h.
3096 (STR): Likewise.
3097 (DELIM): Likewise.
3098 (SAVE): Likewise.
3099 (FUNCTION): Likewise. Do not use BP_SYM.
3100 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3101 aliases.
3102 (strtok_r): Likewise.
3103 (__GI___strtok_r): Likewise.
3104 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3105 (PARMS): Do not use macros from bp-asm.h.
3106 (S1): Likewise.
3107 (S2): Likewise.
3108 (SIZE): Likewise.
3109 (__mpn_sub_n): Do not use BP_SYM.
3110 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3111 "bp-asm.h".
3112 (PARMS): Do not use macros from bp-asm.h.
3113 (S1): Likewise.
3114 (SIZE): Likewise.
3115 (__mpn_submul_1): Do not use BP_SYM.
3116 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3117 <bp-sym.h>.
3118 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3119 and <bp-asm.h>.
3120 (PARMS): Do not use macros from bp-asm.h.
3121 (FLAGS): Likewise.
3122 (PTID): Likewise.
3123 (TLS): Likewise.
3124 (CTID): Likewise.
3125 (__clone): Do not use BP_SYM.
3126 (clone): Do not use BP_SYM in weak_alias.
3127 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3128 and <bp-asm.h>.
3129 (PARMS): Do not use macros from bp-asm.h.
3130 (LEN): Likewise.
3131 (__mmap64): Do not use BP_SYM.
3132 (mmap64): Do not use BP_SYM in weak_alias.
3133 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3134 <bp-sym.h> and <bp-asm.h>.
3135 (PARMS): Do not use macros from bp-asm.h.
3136 (__posix_fadvise64_l64): Do not use BP_SYM.
3137 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3138 (PARMS): Do not use macros from bp-asm.h.
3139 (NSOPS): Likewise.
3140 (semtimedop): Do not use BP_SYM.
3141 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3142 and <bp-asm.h>.
3143
582a3cff
AM
31442013-02-21 Allan McRae <allan@archlinux.org>
3145
3146 * manual/message.texi (Charset conversion in gettext):
3147 Move @end statement to beginning of line.
3148
bab8a695
SP
31492013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3150
80945231
SP
3151 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3152 static.
3153 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3154 Likewise.
3155
bab8a695
SP
3156 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3157 (denorm): Likewise.
3158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3159 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3160
e21d7aa7
AK
31612013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3162
3163 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3164 tail-call to the resolved function if pltexit isn't needed.
3165
4c7a4263
SP
31662013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3167
3168 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3169 or Y being zero as being unlikely.
3170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3171 Likewise.
3172
41f49342
CD
31732013-02-20 Carlos O'Donell <carlos@redhat.com>
3174
3175 * manual/nss.texi (System Databases and Name Service Switch):
3176 Remove frobnicate @pxref.
3177
50022a93
TS
31782013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3179
3180 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3181 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3182
08cbd996
PM
31832013-02-20 Petr Machata <pmachata@redhat.com>
3184
3185 * elf/elf.h (R_ARM_TARGET1): New macro.
3186 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3187 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3188 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3189 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3190 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3191 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3192 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3193 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3194 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3195 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3196 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3197 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3198 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3199 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3200 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3201 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3202 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3203 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3204 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3205 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3206 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3207 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3208 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3209 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3210 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3211 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3212 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3213 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3214 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3215 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3216 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3217 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3218 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3219 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3220 (R_ARM_THM_GOT_BREL12): Likewise.
3221 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3222 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3223 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3224 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3225 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3226 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3227 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3228 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3229 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3230
c7b275d6
TS
32312013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3232
3233 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3234 __attribute_used__ to __attribute__ ((unused)).
3235
20cd7fb3
SP
32362013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3237
3238 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3239 powerpc mpa.c.
3240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3241 comment formatting.
3242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3243
92945b52
JM
32442013-02-19 Joseph Myers <joseph@codesourcery.com>
3245
3246 [BZ #13550]
3247 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3248 Remove macro.
3249 (ENTER): Remove both macro definitions.
3250 (LEAVE): Likewise.
3251 (CHECK_BOUNDS_LOW): Likewise.
3252 (CHECK_BOUNDS_HIGH): Likewise.
3253 (CHECK_BOUNDS_BOTH): Likewise.
3254 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3255 (RETURN_BOUNDED_POINTER): Likewise.
3256 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3257 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3258 (POP_ERRNO_LOCATION_RETURN): Likewise.
3259 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3260 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3261 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3262 macros.
3263 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3264 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3265 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3266 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3267 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3268 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3269 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3270 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3271 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3272 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3273 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3274 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3275 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3276 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3277 removed macros.
3278 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3279 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3280 macros.
3281 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3282 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3283 * sysdeps/i386/i586/memset.S (memset): Likewise.
3284 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3285 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3286 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3287 macros.
3288 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3289 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3290 Change uses of L(2) to L(out).
3291 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3292 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3293 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3294 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3295 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3296 removed macros.
3297 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3298 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3299 macros.
3300 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3301 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3302 (RETURN): Do not use macro LEAVE.
3303 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3304 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3305 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3306 * sysdeps/i386/i686/memset.S (memset): Likewise.
3307 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3308 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3309 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3310 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3311 Likewise.
3312 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3313 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3314 L(1_2) and L(1_3) into L(1).
3315 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3316 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3317 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3318 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3319 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3320 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3321 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3322 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3323 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3324 macros.
3325 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3326 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3327 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3328 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3329 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3330 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3331 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3332 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3333 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3334 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3335 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3336 * sysdeps/i386/strspn.S (strspn): Likewise.
3337 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3338 conditional code.
3339 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3340 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3341 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3342 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3343 L(1_3) into L(1_1).
3344 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3345 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3346 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3347 macros.
3348 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3349
2389741a
JJ
33502013-02-19 Jakub Jelinek <jakub@redhat.com>
3351
3352 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3353 macro.
3354
2016b3cd
SP
33552013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3356
e4f22324
SP
3357 * math/atest-exp.c (exp_mpn): Remove ROUND.
3358 * math/atest-exp2.c (exp_mpn): Likewise.
3359 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3360
2016b3cd
SP
3361 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3362 * stdlib/tst-tls-atexit-lib.c: Likewise.
3363 * stdlib/tst-tls-atexit.c: Likewise.
3364
4be9b544
MF
33652013-02-18 Mike Frysinger <vapier@gentoo.org>
3366
3367 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3368 and __attribute_alloc_size__.
3369
2f62b9ee
MF
33702013-02-18 Mike Frysinger <vapier@gentoo.org>
3371
3372 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3373 __attribute_alloc_size__.
3374 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3375 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3376
6ff444c4
MF
33772013-02-18 Mike Frysinger <vapier@gentoo.org>
3378
3379 * include/programs/xmalloc.h: New file.
3380 * catgets/gencat.c: Include it.
3381 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3382 * elf/pldd.c: Likewise.
3383 * iconv/iconv_charmap.c: Likewise.
3384 * iconv/iconvconfig.c: Likewise.
3385 * iconv/strtab.c: Likewise.
3386 * locale/programs/locale.c: Likewise.
3387 * locale/programs/localedef.h: Likewise.
3388 * locale/programs/simple-hash.c: Likewise.
3389 * nscd/nscd.h: Likewise.
3390 * nss/makedb.c: Likewise.
3391 * sysdeps/generic/ldconfig.h: Likewise.
3392
be179c8a
SP
33932013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3394
ba384f6e
SP
3395 * Versions.def: Add GLIBC_2.18.
3396 * include/link.h (struct link_map): New member l_tls_dtor_count.
3397 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3398 (__call_tls_dtors): Likewise.
3399 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3400 __cxa_thread_atexit_impl.
3401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3402 Likewise.
3403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3404 Likewise.
3405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3408 Likewise.
3409 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3411 Likewise.
3412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3413 Likewise.
3414 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3416 Likewise.
3417 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3418 (tests): Add test case tst-tls-atexit.
3419 (modules-names): Add shared library for tst-tls-atexit.
3420 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3421 (GLIBC_PRIVATE): Add __call_tls_dtors.
3422 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3423 for libstdc++.
3424 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3425 * stdlib/tst-tls-atexit.c: New test case.
3426 * stdlib/tst-tls-atexit-lib.c: New test case.
3427
ffaa74cf 3428 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3429
be179c8a
SP
3430 * elf/Versions (ld): Add _dl_find_dso_for_object.
3431 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3432 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3433 (dl_open_worker): Use _dl_find_dso_for_object.
3434 * elf/dl-sym.c (do_sym): Likewise.
3435 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3436
f78b5caa
AK
34372013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3438
3439 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3440 Syntactic changes only.
3441 (_dl_runtime_profile): Do a tail-call to the resolved function.
3442
29691210
JM
34432013-02-17 Joseph Myers <joseph@codesourcery.com>
3444
3445 [BZ #13550]
3446 * sysdeps/x86_64/bp-asm.h: Remove file.
3447 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3448 <bp-sym.h> and <bp-asm.h>.
3449 (__clone): Do not use BP_SYM.
3450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3451 <bp-sym.h> and <bp-asm.h>.
3452 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3453 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3454 "bp-asm.h".
3455 (_setjmp): Do not use BP_SYM.
3456 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3457 "bp-asm.h".
3458 (setjmp): Do not use BP_SYM.
3459 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3460 libc_hidden_def.
3461 (mempcpy): Do not use BP_SYM in weak_alias.
3462 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3463 "bp-asm.h".
3464 (strchr): Do not use BP_SYM.
3465 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3466 "bp-asm.h".
3467 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3468 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3469 (_start): Do not use BP_SYM.
3470 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3471 "bp-asm.h".
3472 (strcat): Do not use BP_SYM.
3473 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3474 "bp-asm.h".
3475 (STRCMP): Do not use BP_SYM.
3476 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3477 "bp-asm.h".
3478 (STRCPY): Do not use BP_SYM.
3479 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3480 "bp-asm.h".
3481 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3482 "bp-asm.h".
3483 (FUNCTION): Do not use BP_SYM.
3484 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3485 weak_alias.
3486 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3487
f238fd19
AJ
34882013-02-17 Andreas Jaeger <aj@suse.de>
3489
3490 * time/Versions: Sort entries.
3491 * string/Versions: Likewise.
3492 * resolv/Versions: Likewise.
3493 * posix/Versions: Likewise.
3494 * iconv/Versions: Likewise.
3495 * elf/Versions: Likewise.
3496 * wcsmbs/Versions: Likewise.
3497
bd07f23c 34982013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3499
22af19f9
SP
3500 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3501 loop termination condition.
3502
4709fe76
SP
3503 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3504 variable to calculate EZ.
3505 (__sqr): Likewise.
2d0e0f29
SP
3506
3507 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3508 the lower precision input.
3509
daaa7713
JM
35102013-02-15 Joseph Myers <joseph@codesourcery.com>
3511
3512 [BZ #13550]
3513 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3514 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3515 (run-via-rtld-prefix): Do not handle %-bp tests.
3516 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3517 (all-object-suffixes): Remove .ob.
3518 (bppfx): Remove variable.
3519 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3520 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3521 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3522 [$(build-bounded) = yes] (libtype.ob): Likewise.
3523 * Makerules (elide-routines.ob): Remove variable.
3524 (do-tests-clean): Do not handle *-bp.out.
3525 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3526 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3527 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3528 (tests): Do not include $(tests-bp.out).
3529 (xtests): Do not include $(xtests-bp.out).
3530 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3531 [$(build-bounded) = yes] ($(addprefix
3532 $(objpfx),$(binaries-bounded))): Remove rule.
3533 ($(objpfx)%-bp.out): Remove rule.
3534 * config.make.in (build-bounded): Remove variable.
3535 * crypt/Makefile [$(build-bounded) = yes]
3536 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3537 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3538 append to variable.
3539 [$(build-bounded) = yes] (install-lib): Likewise.
3540 [$(build-bounded) = yes] (generated): Likewise.
3541 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3542 Remove rule.
3543 * intl/Makefile [$(build-bounded) = yes]
3544 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3545 * math/Makefile [$(build-bounded) = yes]
3546 ($(tests:%=$(objpfx)%-bp): Likewise.
3547 * misc/Makefile [$(build-bounded) = yes]
3548 ($(objpfx)tst-tsearch-bp): Likewise.
3549 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3550 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3551 Remove dependency.
3552 * string/Makefile (o-objects.ob): Remove variable.
3553 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3554 (CFLAGS-.ob): Remove variable.
3555 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3556 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3557 both definitions of variable.
3558 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3559 (ASFLAGS-.ob): Remove variable.
3560
e97ed6dd
JM
35612013-02-14 Joseph Myers <joseph@codesourcery.com>
3562
2bdd4ca6
JM
3563 [BZ #13550]
3564 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3565 Remove __BOUNDED_POINTERS__ from condition.
3566 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3567 * string/bits/string2.h [!__NO_STRING_INLINES &&
3568 !__BOUNDED_POINTERS__]: Likewise.
3569 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3570 Likewise.
3571 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3572 Remove conditional code.
3573 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3574 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3575 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3576 condition.
3577
e97ed6dd
JM
3578 [BZ #13550]
3579 * csu/libc-start.c: Do not include <bp-sym.h>.
3580 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3581 * elf/dl-open.c: Do not include <bp-sym.h>.
3582 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3583 * math/fegetenv.c: Do not include <bp-sym.h>.
3584 (fegetenv): Do not use BP_SYM in versioned symbols.
3585 * nptl/sysdeps/pthread/bits/libc-lockP.h
3586 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3587 <bp-sym.h>.
3588 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3589 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3590 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3591 (__pthread_mutex_destroy): Likewise.
3592 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3593 (__pthread_mutex_lock): Likewise.
3594 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3595 (__pthread_mutex_trylock): Likewise.
3596 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3597 (__pthread_mutex_unlock): Likewise.
3598 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3599 (__pthread_mutexattr_init): Likewise.
3600 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3601 (__pthread_mutexattr_destroy): Likewise.
3602 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3603 (__pthread_mutexattr_settype): Likewise.
3604 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3605 (__pthread_rwlock_init): Likewise.
3606 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3607 (__pthread_rwlock_destroy): Likewise.
3608 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3609 (__pthread_rwlock_rdlock): Likewise.
3610 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3611 (__pthread_rwlock_tryrdlock): Likewise.
3612 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3613 (__pthread_rwlock_wrlock): Likewise.
3614 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3615 (__pthread_rwlock_trywrlock): Likewise.
3616 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3617 (__pthread_rwlock_unlock): Likewise.
3618 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3619 (__pthread_key_create): Likewise.
3620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3621 (__pthread_setspecific): Likewise.
3622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3623 (__pthread_getspecific): Likewise.
3624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3625 Likewise.
3626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3627 (_pthread_cleanup_push_defer): Likewise.
3628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3629 (_pthread_cleanup_pop_restore): Likewise.
3630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3631 (pthread_setcancelstate): Likewise.
3632 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3633 <bp-sym.h>.
3634 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3635 (memchr): Do not use BP_SYM in weak_alias.
3636 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3637 (fegetenv): Do not use BP_SYM in versioned symbols.
3638 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3639 (fesetenv): Do not use BP_SYM in versioned symbols.
3640 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3641 (feupdateenv): Do not use BP_SYM in versioned symbols.
3642 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3643 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3644 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3645 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3646 (open64): Do not use BP_SYM in weak_alias.
3647 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3648 (fegetenv): Do not use BP_SYM in versioned symbols.
3649 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3650 (fesetenv): Do not use BP_SYM in versioned symbols.
3651 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3652 (feupdateenv): Do not use BP_SYM in versioned symbols.
3653 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3654 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3655 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3656 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3657 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3658 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3659 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3660 <bp-sym.h>.
3661 (__libc_start_main): Do not use BP_SYM.
3662
d6752ccd
SP
36632013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3664
cb57ce60
SP
3665 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3666 redundant return line.
3667 (norm): Likewise.
3668 (denorm): Likewise.
3669 (dbl_mp): Likewise.
3670 (sub_magnitudes): Likewise.
3671 (__add): Likewise.
3672 (__sub): Likewise.
3673 (__mul): Likewise.
3674 (__inv): Likewise.
3675 (__dvd): Likewise.
3676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3677 (norm): Likewise.
3678 (denorm): Likewise.
3679 (dbl_mp): Likewise.
3680 (sub_magnitudes): Likewise.
3681 (__add): Likewise.
3682 (__sub): Likewise.
3683 (__mul): Likewise.
3684 (__inv): Likewise.
3685 (__dvd): Likewise.
3686
f414520d
SP
3687 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3688 instead of __mul.
3689 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3690 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3691 (cc32): Likewise.
3692
d6752ccd
SP
3693 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3694 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3696 of __mul for squares.
3697 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3698 function
3699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3700 Likewise.
3701 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3702 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3703
70d9946a
JM
37042013-02-13 Joseph Myers <joseph@codesourcery.com>
3705
3706 [BZ #13550]
3707 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3708 code.
3709 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3710 prototype or function definition. Rename ubp_* variables and
3711 parameters. Remove argv definitions conditional on
3712 [__BOUNDED_POINTERS__].
3713 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3714 * elf/dl-runtime.c (_dl_fixup): Likewise.
3715 * include/set-hooks.h (RUN_HOOK): Likewise.
3716 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3717 definition.
3718 * string/strcpy.c (strcpy): Do not use __unbounded.
3719 * sysdeps/generic/frame.h (struct layout): Likewise.
3720 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3721 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3722 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3723 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3724 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3725 (__backtrace): Likewise.
3726 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3727 use __ptrvalue.
3728 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3729 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3730 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3731 Likewise.
3732 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3733 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3734 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3735 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3736 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3737 Do not use __unbounded.
3738 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3739 Rename __unboundedrlimits parameter to rlimits in prototype.
3740 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3741 Do not use __unbounded.
3742 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3743 not use __ptrvalue.
3744 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3745 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3746 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3747 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3748 __ptrvalue or __unbounded.
3749 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3750 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3751 use __unbounded.
3752 (__new_msgctl): Do not use __ptrvalue.
3753 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3754 __unbounded.
3755 (__libc_msgrcv): Do not use __ptrvalue.
3756 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3757 startup_info): Do not use __unbounded.
3758 (__libc_start_main): Likewise. Rename ubp_* variables and
3759 parameters. Remove argv definitions conditional on
3760 [__BOUNDED_POINTERS__].
3761 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3762 __ptrvalue.
3763 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3764 use __unbounded.
3765 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3766 or __ptrvalue.
3767 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3768 use __unbounded.
3769 (__new_shmctl): Do not use __ptrvalue.
3770 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3771 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3772 Likewise.
3773 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3774 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3775 (__libc_sigaction): Likewise.
3776 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3777 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3778 Likewise.
3779 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3780
cc7834d6
OB
37812013-02-13 Ondřej Bílka <neleai@seznam.cz>
3782
ffb1ec7b 3783 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3784
3785 * string/mempcpy.c: Implement by calling memcpy.
3786
bdf02814
SP
37872013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3788
c2af38aa
SP
3789 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3790
4e92d59e
SP
3791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3792 evaluation.
3793
909279a5
SP
3794 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3795 values in the mantissa.
3796
bdf02814
SP
3797 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3798 minimize writes to Z.
3799 (sub_magnitudes): Simplify code a bit.
3800
cd525923
RM
38012013-02-12 Roland McGrath <roland@hack.frob.com>
3802
3803 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3804 from the message. The linker prefixes all warnings with that already.
3805
7e2f0d2d
AS
38062013-02-12 Andreas Schwab <schwab@suse.de>
3807
a445af0b
AS
3808 [BZ #15078]
3809 * posix/regexec.c (extend_buffers): Add parameter min_len.
3810 (check_matching): Pass minimum needed length.
3811 (clean_state_log_if_needed): Likewise.
3812 (get_subexp): Likewise.
3813 * posix/Makefile (tests): Add bug-regex34.
3814 (bug-regex34-ENV): Define.
3815 * posix/bug-regex34.c: New file.
3816
7e2f0d2d
AS
3817 [BZ #11561]
3818 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3819 elements compare against the byte sequence of it, not its name.
3820 * posix/Makefile (tests): Add bug-regex35.
3821 (bug-regex35-ENV): Define.
3822 * posix/bug-regex35.c: New file.
3823
a175b684
TV
38242013-02-11 Tom de Vries <tom@codesourcery.com>
3825
3826 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3827 comment.
3828 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3829 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3830 (CHECK_EOL): Add undef.
3831
310998fe 38322013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3833
3834 * bits/stdlib-bsearch.h: New file.
3835 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3836 * stdlib/stdlib.h: Likewise.
41eda41d 3837
8ded91fb
RM
38382013-02-11 Roland McGrath <roland@hack.frob.com>
3839
3840 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3841 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3842 declaration.
3843 * manual/search.texi (Array Search Function): Add missing const in
3844 lfind prototype.
3845 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3846 declaration to use rlim_t.
3847 (Basic Scheduling Functions): Remove erroneous const from
3848 sched_getparam prototype. Remove erroneous * from
3849 sched_get_priority_max and sched_get_priority_min prototypes.
3850 (Resource Usage): Fix summary @comment on vtimes to refer to
3851 sys/vtimes.h rather than vtimes.h.
3852 Add missing *s in vtimes prototype.
3853 (Limits on Resources): Fix ulimit prototype to return long int.
3854 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3855 prototypes to use long int rather than double.
3856 (BSD Random): Fix initstate and setstate to use char *, not void *.
3857 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3858 prototype to make second argument 'struct aiocb64 *const[]'.
3859 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3860 (Status of AIO Operations): Remove erroneous const in aio_return and
3861 aio_return64 prototypes.
3862 (Synchronizing I/O): Fix sync prototype to return void.
3863 * manual/startup.texi (Suboptions): Remove an erroneous const in
3864 getsubopt prototype.
3865 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3866 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3867 use size_t rather than int.
3868 (Scanning All Users): Likewise for getpwent_r.
3869 (Setting Groups): Add missing const to setgroups prototype.
3870 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3871 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3872 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3873 'const void *' rather than 'const char *'.
3874 (Host Address Functions): Likewise for inet_ntop.
3875 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3876 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3877 ssize_t for return value.
3878 (Sending Data): Likewise for send, sendto, sendmsg.
3879 (Socket Option Functions): Add a missing const in setsockopt prototype.
3880 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3881 use wchar_t for the argument.
3882 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3883 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3884 take no arguments.
3885 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3886 double/float/long double for second argument.
3887 Fix return types of significand, significandf, significandl.
3888 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3889 argument in fchmod prototype.
3890 (File Owner): Use uid_t and gid_t in fchown prototype.
3891 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3892 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3893 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3894 use 'const struct dirent **' as argument types to CMP function pointer
3895 argument.
3896 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3897 (File Times): Fix summary magic @comment for struct utimbuf and utime
3898 to refer to utime.h, not time.h.
3899 * manual/string.texi (Argz Functions): Add missing const in
3900 argz_extract and argz_next prototypes.
3901 (Finding Tokens in a String): Likewise for basename.
3902 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3903 (Copying and Concatenation): Fix typo in wmemmove prototype.
3904 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3905 (Signal Stack): Remove erroneous const in sigstack prototype.
3906 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3907 prototype.
3908 (Simple Calendar Time): Likewise for stime.
3909 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3910 prototype.
3911 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3912 say sys/sysctl.h instead.
3913 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3914 and vsyslog prototypes.
3915
fe77fe6d
TV
39162013-02-11 Tom de Vries <tom@codesourcery.com>
3917
3918 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3919 Remove.
3920
3a09b620
RM
39212013-02-11 Roland McGrath <roland@hack.frob.com>
3922
3923 * misc/sys/mman.h: Fix typo in mremap comment.
3924
550a0b89
RM
39252013-02-08 Roland McGrath <roland@hack.frob.com>
3926
3927 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3928 the '\0' terminator.
3929
a2da1673
JM
39302013-02-08 Joseph Myers <joseph@codesourcery.com>
3931
3932 [BZ #13550]
3933 * debug/segfault.c: Don't include <bp-checks.h>.
3934 * sysdeps/generic/bp-checks.h: Remove file.
3935 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
3936 (__GETDENTS): Don't use CHECK_N.
3937 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
3938 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3939 (__getgroups): Don't use CHECK_N.
3940 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
3941 (setgroups): Don't use CHECK_N.
3942 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
3943 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
3944 (__libc_msgrcv): Don't use CHECK_N.
3945 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
3946 (__libc_msgsnd): Don't use CHECK_N.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
3948 <bp-checks.h>.
3949 (__libc_pread): Don't use CHECK_N.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
3951 include <bp-checks.h>.
3952 (__libc_pread64): Don't use CHECK_N.
3953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
3954 include <bp-checks.h>.
3955 (__libc_pwrite): Don't use CHECK_N.
3956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
3957 include <bp-checks.h>.
3958 (__libc_pwrite64): Don't use CHECK_N.
3959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
3960 <bp-checks.h>.
3961 (__libc_pread): Don't use CHECK_N.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
3963 include <bp-checks.h>.
3964 (__libc_pread64): Don't use CHECK_N.
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
3966 include <bp-checks.h>.
3967 (__libc_pwrite): Don't use CHECK_N.
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
3969 include <bp-checks.h>.
3970 (__libc_pwrite64): Don't use CHECK_N.
3971 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
3972 (do_pread): Don't use CHECK_N.
3973 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
3974 (do_pread64): Don't use CHECK_N.
3975 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
3976 (do_pwrite): Don't use CHECK_N.
3977 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
3978 (do_pwrite64): Don't use CHECK_N.
3979 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
3980 (__libc_readv): Don't use CHECK_N.
3981 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
3982 (semop): Don't use CHECK_N.
3983 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
3984 <bp-checks.h>.
3985 (semtimedop): Don't use CHECK_N.
3986 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
3987 (__libc_pread): Don't use CHECK_N.
3988 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
3989 <bp-checks.h>.
3990 (__libc_pread64): Don't use CHECK_N.
3991 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
3992 <bp-checks.h>.
3993 (__libc_pwrite): Don't use CHECK_N.
3994 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
3995 <bp-checks.h>.
3996 (__libc_pwrite64): Don't use CHECK_N.
3997 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
3998 <bp-checks.h>.
3999 (__libc_msgrcv): Don't use CHECK_N.
4000 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4001 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4002 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4003 (__libc_writev): Don't use CHECK_N.
4004
b84660a8
RM
40052013-02-08 Roland McGrath <roland@hack.frob.com>
4006
7f3e75f8
RM
4007 * string/strcpy.c: Removed unused variable.
4008
b84660a8
RM
4009 * Makeconfig (+sysdep-includes): Define with := rather than =.
4010 Use an existing include/ subdir of each sysdeps dir before it.
4011
471514d3
CD
40122013-02-08 Carlos O'Donell <carlos@redhat.com>
4013
4014 * nscd/connection.c (register_traced_file): Comment function.
4015 [HAVE_INOTIFY] (union __inev): Define.
4016 [HAVE_INOTIFY] (inotify_check_files): New function.
4017 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4018 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4019 clear_db_cache.
4020 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4021
b2d3c3be
CD
40222013-02-08 Carlos O'Donell <carlos@redhat.com>
4023
4024 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4025 loaded if not already and that a failure is permanent.
4026
b39949d2
CD
40272013-02-08 Carlos O'Donell <carlos@redhat.com>
4028
ddacd1db 4029 [BZ #15006]
b39949d2
CD
4030 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4031 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4032
b2c9eff4
JM
40332013-02-08 Joseph Myers <joseph@codesourcery.com>
4034
f3aae3f3
JM
4035 [BZ #13550]
4036 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4037 (CHECK_1_NULL_OK): Likewise.
4038 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4039 (__fxstat): Do not use CHECK_1.
4040 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4041 <bp-checks.h>.
4042 (___fxstat64): Do not use CHECK_1.
4043 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4044 <bp-checks.h>.
4045 (__fxstatat): Do not use CHECK_1.
4046 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4047 <bp-checks.h>.
4048 (__fxstatat64): Do not use CHECK_1.
4049 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4050 <bp-checks.h>.
4051 (__fxstat): Do not use CHECK_1.
4052 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4053 <bp-checks.h>.
4054 (__fxstatat): Do not use CHECK_1.
4055 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4056 <bp-checks.h>.
4057 (__getresgid): Do not use CHECK_1.
4058 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4059 <bp-checks.h>.
4060 (__getresuid): Do not use CHECK_1.
4061 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4062 <bp-checks.h>.
4063 (__lxstat): Do not use CHECK_1.
4064 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4065 <bp-checks.h>.
4066 (__old_msgctl): Do not use CHECK_1.
4067 (__new_msgctl): Likewise.
4068 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4069 <bp-checks.h>.
4070 (__new_setrlimit): Do not use CHECK_1.
4071 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4072 <bp-checks.h>.
4073 (__old_shmctl): Do not use CHECK_1.
4074 (__new_shmctl): Likewise.
4075 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4076 <bp-checks.h>.
4077 (__xstat): Do not use CHECK_1.
4078 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4079 (__lxstat): Do not use CHECK_1.
4080 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4081 <bp-checks.h>.
4082 (___lxstat64): Do not use CHECK_1.
4083 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4084 (__old_msgctl): Do not use CHECK_1.
4085 (__new_msgctl): Likewise.
4086 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4087 <bp-checks.h>.
4088 (__gettimeofday): Do not use CHECK_1.
4089 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4090 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4091 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4092 <bp-checks.h>.
4093 (__gettimeofday): Do not use CHECK_1.
4094 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4095 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4096 (__new_shmctl): Do not use CHECK_1.
4097 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4098 <bp-checks.h>.
4099 (do_sigtimedwait): Do not use CHECK_1.
4100 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4101 <bp-checks.h>.
4102 (do_sigwaitinfo): Do not use CHECK_1.
4103 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4104 <bp-checks.h>.
4105 (msgctl): Do not use CHECK_1.
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4107 <bp-checks.h>.
4108 (shmctl): Do not use CHECK_1.
4109 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4110 (ustat): Do not use CHECK_1.
4111 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4112 <bp-checks.h>.
4113 (__fxstat): Do not use CHECK_1.
4114 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4115 <bp-checks.h>.
4116 (__fxstatat): Do not use CHECK_1.
4117 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4118 <bp-checks.h>.
4119 (__lxstat): Do not use CHECK_1.
4120 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4121 <bp-checks.h>.
4122 (__xstat): Do not use CHECK_1.
4123 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4124 (__xstat): Do not use CHECK_1.
4125 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4126 (___xstat64): Do not use CHECK_1.
4127
b2c9eff4
JM
4128 [BZ #13550]
4129 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4130 definitions.
4131 (CHECK_BOUNDS_HIGH): Likewise.
4132 * string/strcpy.c: Do not include <bp-checks.h>.
4133 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4134
f1d70dad
RM
41352013-02-07 Roland McGrath <roland@hack.frob.com>
4136
4137 * nscd/nscd-client.h (__nscd_drop_map_ref):
4138 Add __attribute__ ((unused)).
4139 * nis/nss-nisplus.h (niserr2nss): Likewise.
4140
4141 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4142 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4143
4144 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4145 Remove inline keyword.
4146 * include/rounding-mode.h (round_away): Likewise.
4147 * libio/wfileops.c (adjust_wide_data): Likewise.
4148 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4149 (__m128i_strloadu_tolower): Likewise.
4150 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4151 (__m128i_strloadu_tolower): Likewise.
4152 * time/mktime.c (ydhms_diff): Likewise.
4153 * locale/elem-hash.h (elem_hash): Likewise.
4154 * locale/setlocale.c (setdata): Likewise.
4155 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4156 (re_string_wchar_at): Likewise.
4157 (bitset_not, bitset_merge, bitset_mask): Likewise.
4158 [!(__GNUC__ > 3)] (inline): Remove macro.
4159 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4160 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4161 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4162 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4163 * string/memcmp.c (memcmp_bytes): Likewise.
4164 * locale/programs/locarchive.c (compute_hashval): Likewise.
4165 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4166 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4167 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4168 * nss/getent.c (print_rpc, print_protocols): Likewise.
4169 (print_passwd, print_group, print_aliases): Likewise.
4170 * nis/nss-nisplus.h (niserr2nss): Likewise.
4171 * nscd/connections.c (restart_p): Likewise.
4172 Change return type to bool.
4173
eab55bfb
RM
41742013-02-05 Roland McGrath <roland@hack.frob.com>
4175
7bd642f5
RM
4176 * Makeconfig (all-Depend-files): Add existing
4177 $(sorted-subdirs:=/Depend) files.
4178 (all-subdirs): Remove nss.
4179 * sysdeps/unix/inet/Subdirs: Add it here instead.
4180 * hesiod/Depend: New file.
4181
573c29b2
RM
4182 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4183 instead of calling alloca.
4184
b2e25af0
RM
4185 * io/lseek.c (__lseek): Rename to __libc_lseek.
4186 Define __lseek as an alias.
4187
eab55bfb
RM
4188 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4189
9a0d1941
CD
41902013-02-04 Carlos O'Donell <carlos@redhat.com>
4191
4192 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4193 else clause and remove check for non-standard endianness.
4194
b83bbec4
DM
41952013-02-04 David S. Miller <davem@davemloft.net>
4196
4197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4198
6277fdab
JM
41992013-02-04 Joseph Myers <joseph@codesourcery.com>
4200
4201 [BZ #13550]
4202 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4203 (__ubp_memchr): Remove prototype.
4204 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4205 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4206 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4207 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4208 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4209 Remove alias.
4210 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4211 (__ubp_memchr): Likewise.
4212 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4213 (__ubp_memchr): Likewise.
4214 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4215 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4216 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4217 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4218 CHECK_STRING.
4219 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4220 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4221 (__getcwd): Do not use CHECK_STRING.
4222 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4223 <bp-checks.h>.
4224 (__real_chown): Do not use CHECK_STRING.
4225 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4226 <bp-checks.h>.
4227 (fchownat): Do not use CHECK_STRING.
4228 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4229 CHECK_STRING.
4230 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4231 <bp-checks.h>.
4232 (__lchown): Do not use CHECK_STRING.
4233 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4234 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4235 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4236 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4238 include <bp-checks.h>.
4239 (truncate64): Do not use CHECK_STRING.
4240 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4241 <bp-checks.h>.
4242 (__real_chown): Do not use CHECK_STRING.
4243 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4244 <bp-checks.h>.
4245 (__lchown): Do not use CHECK_STRING.
4246 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4247 <bp-checks.h>.
4248 (__chown): Do not use CHECK_STRING.
4249 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4250 <bp-checks.h>.
4251 (truncate64): Do not use CHECK_STRING.
4252 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4253 Likewise.
4254 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4255 (__xmknod): Do not use CHECK_STRING.
4256 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4257 <bp-checks.h>.
4258 (__xmknodat): Do not use CHECK_STRING.
4259 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4260 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4261
903ae060
AS
42622013-02-04 Andreas Schwab <schwab@suse.de>
4263
4264 [BZ #14142]
4265 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4266 * include/netdb.h: Likewise for h_errno.
4267 * elf/tst-stackguard1.c: Include <tls.h>.
4268
542f9466
JK
42692013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4270
4271 * elf/link.h (struct link_map): Extend the l_addr comment.
4272 * include/link.h (struct link_map): Likewise.
4273
e782a927
JM
42742013-02-01 Joseph Myers <joseph@codesourcery.com>
4275
4276 [BZ #13550]
4277 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4278 (BOUNDED_1): Remove macro.
4279 * debug/backtrace.c: Don't include <bp-checks.h>.
4280 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4281 (__backtrace): Likewise.
4282 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4283 <bp-checks.h>.
4284 (__backtrace): Don't use BOUNDED_1.
4285 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4286 <bp-checks.h>.
4287 (__backtrace): Don't use BOUNDED_1.
4288 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4289 (__backtrace): Don't use BOUNDED_1.
4290 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4291 (shmat): Don't use BOUNDED_N.
4292
8cf28c5e
JM
42932013-01-31 Joseph Myers <joseph@codesourcery.com>
4294
3a7ac8a0
JM
4295 [BZ #13550]
4296 * sysdeps/generic/bp-start.h: Remove file.
4297 * csu/libc-start.c: Don't include <bp-start.h>.
4298 (LIBC_START_MAIN): Set up __environ directly instead of using
4299 INIT_ARGV_and_ENVIRON.
4300 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4301 <bp-start.h>.
4302
f3499f95
JM
4303 [BZ #13550]
4304 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4305 definitions.
4306 (CHECK_FCNTL): Likewise.
4307 (CHECK_N_PAGES): Likewise.
4308
32a45bea
JM
4309 [BZ #13550]
4310 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4311 definitions.
4312 (CHECK_SIGSET_NULL_OK): Likewise.
4313 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4314 <bp-checks.h>.
4315 (sigpending): Don't use CHECK_SIGSET.
4316 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4317 <bp-checks.h>.
4318 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4319 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4320 <bp-checks.h>.
4321 (do_sigsuspend): Don't use CHECK_SIGSET.
4322 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4323 use CHECK_SIGSET.
4324 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4325 (do_sigwait): Don't use CHECK_SIGSET.
4326 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4327 use CHECK_SIGSET.
4328 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4329 include <bp-checks.h>.
4330 (sigpending): Don't use CHECK_SIGSET.
4331 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4332 include <bp-checks.h>.
4333 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4334 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4335 <bp-checks.h>.
4336 (sigpending): Don't use CHECK_SIGSET.
4337 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4338 <bp-checks.h>.
4339 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4340
2e8a5c8c
JM
4341 [BZ #13550]
4342 * sysdeps/generic/bp-semctl.h: Remove file.
4343 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4344 <bp-checks.h> and <bp-semctl.h>.
4345 (__old_semctl): Don't use CHECK_SEMCTL.
4346 (__new_semctl): Likewise.
4347 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4348 and <bp-semctl.h>.
4349 (__old_semctl): Don't use CHECK_SEMCTL.
4350 (__new_semctl): Likewise.
4351 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4352 <bp-checks.h> and <bp-semctl.h>.
4353 (__old_semctl): Don't use CHECK_SEMCTL.
4354 (__new_semctl): Likewise.
4355 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4356 <bp-checks.h> and <bp-semctl.h>.
4357 (semctl): Don't use CHECK_SEMCTL.
4358
c2d54929
JM
4359 [BZ #13550]
4360 * Makerules (elide-bp-thunks): Remove variable.
4361 (elide-routines.oS): Don't use $(elide-bp-thunks).
4362 (elide-routines.os): Likewise.
4363 (elide-routines.o): Likewise.
4364 (elide-routines.op): Likewise.
4365 (elide-routines.og): Likewise.
4366 (objects): Don't use $(bp-thunks).
4367 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4368 include.
4369 (common-generated): Do not add s-proto-bp.d.
4370 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4371 (int): Likewise.
4372 (typ): Likewise.
4373 Do not generate makefile rules for bounded-pointer thunks.
4374 * sysdeps/generic/bp-thunks.h: Remove file.
4375 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4376 * sysdeps/unix/s-proto-bp.S: Likewise.
4377
8cf28c5e
JM
4378 [BZ #15062]
4379 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4380 parts of result separately when argument is not close to line from
4381 -i to i and one part of argument is small.
4382 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4383 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4384 * math/libm-test.inc (cacos_test): Add more tests.
4385 (casin_test): Likewise.
4386 (casinh_test): Likewise.
4387 * sysdeps/i386/fpu/libm-test-ulps: Update.
4388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4389
c4e33b8d
DM
43902013-01-31 David S. Miller <davem@davemloft.net>
4391
4392 * po/de.po: Update from translation team.
4393
3b60b421
MK
43942013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4395
4396 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4397
bb931195
TS
43982013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4399
b5a5da23
TS
4400 * configure.in (_AC_PROG_CC_C89): New definition.
4401 * configure: Regenerate.
4402
bb931195
TS
4403 * configure.in (AC_PROG_CPP): New definition.
4404 * configure: Regenerate.
4405
8c53a12c
JM
44062013-01-23 Joseph Myers <joseph@codesourcery.com>
4407
4408 * debug/tst-backtrace.h: New file.
4409 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4410 (ret): Remove variable.
4411 (x): Likewise.
4412 (FAIL): Remove macro.
4413 (NO_INLINE): Likewise.
4414 (fn1): Use match function instead of strstr.
4415 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4416 (ret): Remove variable.
4417 (x): Likewise.
4418 (FAIL): Remove macro.
4419 (NO_INLINE): Likewise.
4420 (fn): Use match function instead of strstr.
4421 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4422 (ret): Remove variable.
4423 (x): Likewise.
4424 (FAIL): Remove macro.
4425 (NO_INLINE): Likewise.
4426 (handle_signal): Use match function instead of strstr.
4427 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4428 (ret): Remove variable.
4429 (x): Likewise.
4430 (FAIL): Remove macro.
4431 (NO_INLINE): Likewise.
4432 (handle_signal): Use match function instead of strstr.
4433
4858fa2a
RM
44342013-01-23 Roland McGrath <roland@hack.frob.com>
4435
4436 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4437
bae8e7f5
DM
44382013-01-23 David S. Miller <davem@davemloft.net>
4439
4440 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4441 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4442 argument of CAS if possible.
4443 * sysdeps/sparc/sparc64/bits/atomic.h
4444 (__arch_compare_and_exchange_val_32_acq): Likewise.
4445 (__arch_compare_and_exchange_val_64_acq): Likewise.
4446
9cbbc4ae
PT
44472013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4448
4449 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4450 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4451 Include <limits.h>.
67b3f58c 4452 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4453
5655a0b5
AC
44542013-01-23 Adam Conrad <adconrad@0c3.net>
4455
4456 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4457 (LDFLAGS-tst-array5): Likewise.
4458
052aff95
JM
44592013-01-23 Joseph Myers <joseph@codesourcery.com>
4460
4461 [BZ #15036]
4462 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4463 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4464 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4465 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4466
7c1e01aa
DM
44672013-01-21 David S. Miller <davem@davemloft.net>
4468
4469 * sysdeps/sparc/backtrace.c: New file.
4470 * sysdeps/sparc/sparc32/backtrace.h: New file.
4471 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4472 * sysdeps/sparc/sparc64/backtrace.h: New file.
4473 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4474 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4475 -funwind-tables.
4476
ab087e0a
AS
44772013-01-21 Andreas Schwab <schwab@suse.de>
4478
4479 [BZ #15020]
4480 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4481 closed its stdout.
4482
ed689c2f
AS
44832013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4484
4485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4486 "mpa2.h".
4487 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4488
31d470ac
JM
44892013-01-18 Joseph Myers <joseph@codesourcery.com>
4490 Mark Mitchell <mark@codesourcery.com>
4491 Tom de Vries <tom@codesourcery.com>
4492 Paul Pluzhnikov <ppluzhnikov@google.com>
4493
4494 * debug/tst-backtrace2.c: New file.
4495 * debug/tst-backtrace3.c: Likewise.
4496 * debug/tst-backtrace4.c: Likewise.
4497 * debug/tst-backtrace5.c: Likewise.
4498 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4499 (CFLAGS-tst-backtrace3.c): Likewise.
4500 (CFLAGS-tst-backtrace4.c): Likewise.
4501 (CFLAGS-tst-backtrace5.c): Likewise.
4502 (LDFLAGS-tst-backtrace2): Likewise.
4503 (LDFLAGS-tst-backtrace3): Likewise.
4504 (LDFLAGS-tst-backtrace4): Likewise.
4505 (LDFLAGS-tst-backtrace5): Likewise.
4506 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4507 tst-backtrace4 and tst-backtrace5.
4508
90567f30 45092013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4510 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4511
4512 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4513 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4514 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4515 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4517 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4518 "+r" and remove output regs list as redundant. Add explicit inline
4519 asm to specify register of return val to work around compiler codegen
4520 bug. Remove (int) cast on return value. Add return type parameter to
4521 use in macro so that this macro does not truncate return value for
4522 64-bit values.
4523 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4524 pass to INTERNAL_VSYSCALL_NCS.
4525 (INLINE_VSYSCALL): Add 'long int' as return type to
4526 INTERNAL_VSYSCALL_NCS macro invocation.
4527 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4528 INTERNAL_VSYSCALL_NCS macro invocation.
4529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4530
d3b9ea61
SP
45312013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4532
0b57daeb
SP
4533 [BZ #14496]
4534 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4535 Fix application of SIMD FP exception mask.
4536
caa99d06
SP
4537 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4538 mp_no from a power of two.
4539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4540 __mpexp_twomm1. Use __pow_mp.
4541
d3b9ea61
SP
4542 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4543 multiplication.
4544
1dbaee3c
DM
45452013-01-17 David S. Miller <davem@davemloft.net>
4546
4547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4548
728d7b43
JM
45492013-01-17 Joseph Myers <joseph@codesourcery.com>
4550
4551 [BZ #15023]
4552 * include/complex.h: Condition contents on [!_COMPLEX_H].
4553 (__kernel_casinhf): New prototype.
4554 (__kernel_casinh): Likewise.
4555 (__kernel_casinhl): Likewise.
4556 * math/Makefile (libm_calls): Add k_casinh.
4557 * math/k_casinh.c: New file.
4558 * math/k_casinhf.c: Likewise.
4559 * math/k_casinhl.c: Likewise.
4560 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4561 finite nonzero arguments.
4562 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4563 finite nonzero arguments.
4564 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4565 finite nonzero arguments.
4566 * math/s_casinh.c: Do not include <float.h>.
4567 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4568 * math/s_casinhf.c: Do not include <float.h>.
4569 (__casinhf): Move code for finite nonzero arguments to
4570 k_casinhf.c.
4571 * math/s_casinhl.c: Do not include <float.h>.
4572 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4573 redefine.
4574 (__casinhl): Move code for finite nonzero arguments to
4575 k_casinhl.c.
4576 * math/libm-test.inc (cacos_test): Add more tests.
4577 * sysdeps/i386/fpu/libm-test-ulps: Update.
4578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4579
2a26ef3a
PT
45802013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4581
4582 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4583 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4584 [!HAVE_MREMAP]: Remove [defined linux] case.
4585 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4586
a897655d
SP
45872013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4588
4589 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4590
881ebe89 45912013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4592
4593 * elf/elf.h (R_386_SIZE32): New relocation.
4594 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4595 R_386_SIZE32.
4596 (elf_machine_rela): Likewise.
4597 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4598 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4599
59981e9b
JM
46002013-01-17 Joseph Myers <joseph@codesourcery.com>
4601
4602 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4603 (FP_FAST_FMA): Do not define.
4604 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4605 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4606 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4607 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4608 !_SOFT_FLOAT]: Likewise.
4609 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4610 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4611 value.
4612 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4613 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4614 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4615 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4616 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4617 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4618 file.
4619
cfa8054f
AS
46202013-01-16 Andreas Schwab <schwab@suse.de>
4621
4622 [BZ #14327]
4623 * include/stdlib.h (__mktemp): Add declaration.
4624 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4625 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4626
dd930cc5
SP
46272013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4628
881ebe89
SP
4629 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4630 definitions.
4631 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4632 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4633 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4634 definitions here.
4635 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4636 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4637 definitions.
4638 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4639 and ONE.
4640 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4641 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4642 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4643 definitions.
4644 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4645 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4646 definitions.
4647 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4648
dd930cc5
SP
4649 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4650
c19a9f89
DM
46512013-01-15 David S. Miller <davem@davemloft.net>
4652
1aa61767
DM
4653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4654 trunc{,f} to libm-sysdep_routes.
4655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4657 file.
4658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4660 file.
4661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4662 file.
4663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4665 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4666 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4667 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4668 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4669 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4670 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4671
c42d5e98
DM
4672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4673 nearbyint{,f} to libm-sysdep_routes.
4674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4676 New file.
4677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4678 file.
4679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4680 New file.
4681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4682 file.
4683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4685 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4686 file.
4687 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4688 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4689 file.
4690 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4691 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4692 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4693
c19a9f89
DM
4694 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4695 libc_feholdexcept and libc_fesetenv.
4696
357679d2
MF
46972013-01-15 Mike Frysinger <vapier@gentoo.org>
4698
4699 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4700
65a82e3d
DM
47012013-01-14 David S. Miller <davem@davemloft.net>
4702
8b954ab9
DM
4703 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4704 (SPARC_ASM_VIS2_IFUNC): Likewise.
4705 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4707 use of 'siam' instruction.
4708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4709 Likewise.
4710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4711 Likewise.
4712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4713 Likewise.
4714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4719 file.
4720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4721 file.
4722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4723 file.
4724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4725 file.
4726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4731 new VIS2 routines.
4732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4735 Likewise.
4736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4739 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4741 routines to libm-sysdep_routines.
4742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4743
65a82e3d
DM
4744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4745 fdim/fdimf to libm-sysdep_routines.
4746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4747 file.
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4750 file.
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4754 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4755 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4756 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4758
e34ab705
SP
47592013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4760
2a91b573
SP
4761 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4762 to optimize copies.
4763
1066a534
SP
4764 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4765 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4767
e34ab705
SP
4768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4769 local variable MPTWO.
4770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4771 Likewise.
4772
aba5e596
MF
47732013-01-13 Mike Frysinger <vapier@gentoo.org>
4774
4775 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4776 GLOB_NOESCAPE.
4777
e557e9e5
MF
47782013-01-13 Mike Frysinger <vapier@gentoo.org>
4779
4780 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4781
0428cec9
MF
47822013-01-13 Mike Frysinger <vapier@gentoo.org>
4783
4784 * manual/pattern.texi (glob_t): Document gl_flags.
4785 (glob64_t): Likewise.
4786
8794a964
DM
47872013-01-11 David S. Miller <davem@davemloft.net>
4788
66438c3f
RM
4789 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4790 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4791 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4792 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4793 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4794 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4795 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4796 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4797 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4798 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4799 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4800 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4801 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4802
4ae4244d
DM
4803 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4804 sparc V9 rather than using V8 code.
4805 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4806 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4807
8794a964
DM
4808 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4809 Move to...
4810 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4811 Here.
4812
6270516e
RM
48132013-01-11 Roland McGrath <roland@hack.frob.com>
4814
4815 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4816 not in the main loop.
4817 * configure: Regenerated.
4818
6a57d931
JM
48192013-01-11 Joseph Myers <joseph@codesourcery.com>
4820
4821 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4822 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4823 to just #else.
4824 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4825 [!__GLIBC_HAVE_LONG_LONG] case.
4826 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4827 condition to just #else.
4828 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4829 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4830 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4831 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4832 unconditional.
4833 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4834 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4835 #elif condition to just #else.
4836 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4837 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4838 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4839 #elif condition to just #else.
4840
0e8529e9
SE
48412013-01-11 Steve Ellcey <sellcey@mips.com>
4842
4843 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4844 (EF_MIPS_ARCH_64): Fix value.
4845 (EF_MIPS_ARCH_32R2): New.
4846 (EF_MIPS_ARCH_64R2): New.
4847
740b3dbe
L
48482013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4849
4850 * Makeconfig (+link-pie-before-libc): New.
4851 (+link-pie-after-libc): Likewise.
4852 (+link-pie-tests): Likewise.
4853 (+link-pie): Rewritten.
4854 (link-before-libc): Remove $(config-LDFLAGS).
4855 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4856 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4857 (config-LDFLAGS): Renamed to ...
4858 (rtld-LDFLAGS): This.
4859 (rtld-tests-LDFLAGS): New macro.
4860 (link-libc-rpath-link): Likewise.
4861 (link-libc-tests-rpath-link): Likewise.
4862 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4863 (link-libc): Prepand $(link-libc-rpath-link).
4864 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4865 (test-program-prefix): New macro.
4866 (test-via-rtld-prefix): Likewise.
4867 (test-program-cmd): Likewise.
4868 (host-test-program-cmd): Likewise.
4869 * Makefile ($(common-objpfx)testrun.sh): Replace
4870 $(run-program-prefix) with $(test-program-prefix).
4871 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4872 $(rtld-LDFLAGS).
4873 ($(common-objpfx)shlib.lds): Likewise.
4874 (build-module-helper): Likewise.
4875 ($(common-objpfx)format.lds): Likewise.
4876 * Rules (binaries-pie-tests): New.
4877 (binaries-pie-notests): Likewise.
4878 (binaries-pie): Rewritten.
4879 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4880 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4881 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4882 (make-test-out): Replace $(host-built-program-cmd) with
4883 $(host-test-program-cmd).
4884 * config.make.in (build-hardcoded-path-in-tests): New variable.
4885 * configure.in (--enable-hardcoded-path-in-tests): New configure
4886 option.
4887 (hardcoded_path_in_tests): New AC_SUBST.
4888 * configure: Regenerated.
4889 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4890 $(built-program-cmd) with $(test-program-cmd).
4891 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4892 (test_program_cmd): This.
4893 * elf/Makefile ($(objpfx)order.out): Run test with
4894 $(test-program-prefix).
4895 ($(objpfx)order2.out): Likewise.
4896 ($(objpfx)tst-initorder.out): Likewise.
4897 ($(objpfx)tst-initorder2.out): Likewise.
4898 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4899 $(test-program-cmd).
4900 ($(objpfx)tst-array1-static.out): Likewise.
4901 ($(objpfx)tst-array2.out): Likewise.
4902 ($(objpfx)tst-array3.out): Likewise.
4903 ($(objpfx)tst-array4.out): Likewise.
4904 ($(objpfx)tst-array5.out): Likewise.
4905 ($(objpfx)tst-array5-static.out): Likewise.
4906 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4907 $(test-program-cmd).
4908 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4909 $(run-program-prefix) with $(test-program-prefix).
4910 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4911 (test_program_prefix): This.
4912 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4913 $(run-program-prefix) with $(test-program-prefix).
4914 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4915 (test_program_prefix): This.
4916 * iconvdata/tst-tables.sh: Likewise.
4917 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4918 $(run-program-prefix) with $(test-program-prefix).
4919 ($(objpfx)tst-translit.out): Likewise.
4920 ($(objpfx)tst-gettext2.out): Likewise.
4921 ($(objpfx)tst-gettext4.out): Likewise.
4922 ($(objpfx)tst-gettext6.out): Likewise.
4923 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4924 (test_program_prefix): This.
4925 * intl/tst-gettext2.sh: Likewise.
4926 * intl/tst-gettext4.sh Likewise.
4927 * intl/tst-gettext6.sh: Likewise.
4928 * intl/tst-translit.sh: Likewise.
4929 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4930 with $(test-program-cmd).
4931 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4932 $(run-program-prefix) with $(test-program-prefix).
4933 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
4934 (test_program_prefix): This.
4935 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
4936 $(run-program-prefix) with $(test-program-prefix).
4937 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
4938 (test_program_prefix): This.
4939 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
4940 * posix/Makefile ($(objpfx)globtest.out): Replace
4941 $(run-via-rtld-prefix) and $(test-wrapper) with
4942 $(test-program-prefix) and $(test-via-rtld-prefix).
4943 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
4944 $(test-program-prefix).
4945 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
4946 $(host-test-program-cmd).
4947 (tst-spawn-ARGS): Likewise.
4948 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
4949 $(test-program-prefix).
4950 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
4951 (test_via_rtld_prefix): This.
4952 (test_wrapper): Renamed to ...
4953 (test_program_prefix): This.
4954 (run_program_prefix): Replaced by test_program_prefix.
4955 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
4956 (test_program_prefix): This.
4957 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
4958 with $(host-test-program-cmd).
4959 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
4960 $(run-program-prefix) with $(test-program-prefix).
4961 ($(objpfx)tst-printf.out): Likewise.
4962 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
4963 $(test-program-cmd).
4964 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
4965 (test_program_prefix): This.
4966 * stdio-common/tst-unbputc.sh: Likewise.
4967 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
4968 $(run-program-prefix) with $(test-program-prefix).
4969 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
4970 (test_program_prefix): This.
4971 * string/Makefile ($(objpfx)tst-svc.out): Replace
4972 $(built-program-cmd) with $(test-program-cmd).
4973
c6fe55cf
AJ
49742013-01-11 Andreas Jaeger <aj@suse.de>
4975
4976 [BZ #15003]
4977 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
4978 value. Sync with Linux 3.7.
4979
9e6919c8
DM
49802013-01-10 David S. Miller <davem@davemloft.net>
4981
4982 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
4983 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4984 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4985
1c9f1a02
RM
49862013-01-10 Roland McGrath <roland@hack.frob.com>
4987
4988 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
4989 never set.
4990 * configure: Regenerated.
4991
b9de2dde
DM
49922013-01-10 David S. Miller <davem@davemloft.net>
4993
4994 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4995 sparc V9 rather than using V8 code.
4996 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4997 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4998
e7f68ef4
RM
49992013-01-10 Roland McGrath <roland@hack.frob.com>
5000
5001 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5002 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5003 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5004 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5005 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5006 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5007 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5008 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5009 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5010 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5011 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5012 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5013 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5014 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5015 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5016 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5017 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5018 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5019 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5020 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5021 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5022 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5023 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5024 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5025 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5026 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5027 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5028
5a47cc9c
DM
50292013-01-10 David S. Miller <davem@davemloft.net>
5030
5031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5032
4cf8f209
L
50332013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5034
5035 * posix/Makefile (tests-static): New variable.
5036 (tests): Add $(tests-static).
5037 (tst-exec-static-ARGS): New variable.
5038 (tst-spawn-static-ARGS): Likewise.
5039 * posix/tst-exec-static.c: New file.
5040 * posix/tst-spawn-static.c: Likewise.
5041 * posix/tst-exec.c: Support run directly.
5042 * posix/tst-spawn.c: Likewise.
5043
fed0faa1
JM
50442013-01-10 Joseph Myers <joseph@codesourcery.com>
5045
828beb13
JM
5046 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5047 long.
5048 * math/bits/mathcalls.h (llrint): Likewise.
5049 (llround): Likewise.
5050 * stdlib/stdlib.h (struct drand48_data): Likewise.
5051 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5052 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5053 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5054 Likewise.
5055 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5056 Likewise.
5057 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5058 (elf_greg_t): Likewise.
5059 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5060 (__jmp_buf): Likewise.
5061 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5062 definitions.
5063 (llrint): Likewise, for all definitions.
5064 (llrintl): Likewise.
5065
fed0faa1
JM
5066 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5067 Remove [__GNUC__] condition.
5068 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5069 condition to just [__USE_ISOC99].
5070 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5071
1a20cb20
L
50722013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5073
5074 [BZ #14200]
5075 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5076 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5077 defined.
5078 (_POSIX_V6_ILP32_OFF32): Likewise.
5079 (_XBS5_ILP32_OFF32): Likewise.
5080 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5081 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5082
751b85f7
SP
50832013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5084
7490eb81
SP
5085 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5086
751b85f7
SP
5087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5088 doubles __mpexp_twomm1. Adjust usage.
5089 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5090 Remove.
5091
988197f0
AS
50922013-01-10 Andreas Schwab <schwab@suse.de>
5093
5094 [BZ #14964]
5095 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5096 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5097
e83d7298
DM
50982013-01-09 David S. Miller <davem@davemloft.net>
5099
034ed64b 5100 [BZ #15003]
e83d7298
DM
5101 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5102 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5103 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5104 TCP_FASTOPEN): Define.
5105 (tcp_repair_opt): New structure.
5106 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5107 enum values.
5108 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5109 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5110 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5111 (tcp_cookie_transactions): New structure.
5112
d5e0b9bd
AB
51132013-01-09 Anton Blanchard <anton@samba.org>
5114
5115 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5116 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5117 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5118 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5119
0c07e3ea
JM
51202013-01-09 Joseph Myers <joseph@codesourcery.com>
5121
5122 * include/features.h (__USE_ANSI): Remove.
5123
232f7002
RM
51242013-01-09 Roland McGrath <roland@hack.frob.com>
5125
ad98e30c
RM
5126 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5127
232f7002
RM
5128 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5129
950c99ca
SP
51302013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5131
b5792741
SP
5132 * sysdeps/s390/fpu/libm-test-ulps: Update.
5133
47cf2278
SP
5134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5135
950c99ca
SP
5136 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5137 (__acr): Likewise.
5138 (__cpy): Likewise.
5139 (norm): Likewise.
5140 (denorm): Likewise.
5141 (__mp_dbl): Likewise.
5142 (__dbl_mp): Likewise.
5143 (add_magnitudes): Likewise.
5144 (sub_magnitudes): Likewise.
5145 (__add): Likewise.
5146 (__sub): Likewise.
5147 (__mul): Likewise.
5148 (__inv): Likewise.
5149 (__dvd): Likewise.
5150 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5151 (__acr): Likewise.
5152 (__cpy): Likewise.
5153 (norm): Likewise.
5154 (denorm): Likewise.
5155 (__mp_dbl): Likewise.
5156 (__dbl_mp): Likewise.
5157 (add_magnitudes): Likewise.
5158 (sub_magnitudes): Likewise.
5159 (__add): Likewise.
5160 (__sub): Likewise.
5161 (__mul): Likewise.
5162 (__inv): Likewise.
5163 (__dvd): Likewise.
5164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5165 (__acr): Likewise.
5166 (__cpy): Likewise.
5167 (norm): Likewise.
5168 (denorm): Likewise.
5169 (__mp_dbl): Likewise.
5170 (__dbl_mp): Likewise.
5171 (add_magnitudes): Likewise.
5172 (sub_magnitudes): Likewise.
5173 (__add): Likewise.
5174 (__sub): Likewise.
5175 (__mul): Likewise.
5176 (__inv): Likewise.
5177 (__dvd): Likewise.
5178
eede9df9
JM
51792013-01-08 Joseph Myers <joseph@codesourcery.com>
5180
5181 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5182 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5183 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5184 2 && __USE_EXTERN_INLINES]: Likewise.
5185
c40ea3d9
AJ
51862013-01-08 Andreas Jaeger <aj@suse.de>
5187
5188 [BZ# 14985]
5189 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5190 Remove.
5191 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5192 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5193
2ccdea26
AB
51942013-01-07 Anton Blanchard <anton@samba.org>
5195
5196 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5197 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5198 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5199 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5200 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5202 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5203 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5205 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5206 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5207 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5208 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5209 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5210 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5211 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5212 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5213 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5214 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5215 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5216 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5217 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5218 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5219 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5220 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5221 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5222 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5223 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5225 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5226 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5228 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5229 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5230 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5231 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5232 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5233 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5234 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5235 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5236 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5237 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5238 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5239
a9708fed
JM
52402013-01-07 Joseph Myers <joseph@codesourcery.com>
5241
375607b9
JM
5242 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5243 (__MALLOC_PMT): Likewise.
5244 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5245 [__GNUC__], only on [_LIBC].
5246 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5247 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5248 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5249 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5250 forward declaration.
5251 (realloc_hook_ini): Likewise.
5252 (memalign_hook_ini): Likewise.
5253 (__libc_memalign): Do not use __MALLOC_PMT in variable
5254 declaration.
5255 (__libc_valloc): Likewise.
5256 (__libc_pvalloc): Likewise.
5257 (__libc_calloc): Likewise.
5258 (__posix_memalign): Likewise.
5259
a9708fed
JM
5260 [BZ #14996]
5261 * math/s_casinh.c: Include <float.h>.
5262 (__casinh): Do not do computation with squaring and square root
5263 for large arguments.
5264 * math/s_casinhf.c: Include <float.h>.
5265 (__casinhf): Do not do computation with squaring and square root
5266 for large arguments.
5267 * math/s_casinhl.c: Include <float.h>.
5268 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5269 (__casinhl): Do not do computation with squaring and square root
5270 for large arguments.
5271 * math/libm-test.inc (casin_test): Add more tests.
5272 (casinh_test): Likewise.
5273 * sysdeps/i386/fpu/libm-test-ulps: Update.
5274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5275
afec409a
L
52762013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5277
5278 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5279 (__x86_64_raw_data_cache_size): Likewise.
5280 (__x86_64_data_cache_size_half): Likewise.
5281 (__x86_64_raw_data_cache_size_half): Likewise.
5282 (__x86_64_shared_cache_size): Likewise.
5283 (__x86_64_raw_shared_cache_size): Likewise.
5284 (__x86_64_shared_cache_size_half): Likewise.
5285 (__x86_64_raw_shared_cache_size_half): Likewise.
5286 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5287 to ...
5288 (__x86_data_cache_size): This.
5289 (__x86_64_raw_data_cache_size): Renamed to ...
5290 (__x86_raw_data_cache_size): This.
5291 (__x86_64_data_cache_size_half): Renamed to ...
5292 (__x86_data_cache_size_half): This.
5293 (__x86_64_raw_data_cache_size_half): Renamed to ...
5294 (__x86_raw_data_cache_size_half): This.
5295 (__x86_64_shared_cache_size): Renamed to ...
5296 (__x86_shared_cache_size): This.
5297 (__x86_64_raw_shared_cache_size): Renamed to ...
5298 (__x86_raw_shared_cache_size): This.
5299 (__x86_64_shared_cache_size_half): Renamed to ...
5300 (__x86_shared_cache_size_half): This.
5301 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5302 (__x86_raw_shared_cache_size_half): This.
5303 * sysdeps/x86_64/memcpy.S: Updated.
5304 * sysdeps/x86_64/memset.S: Likewise.
5305 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5306 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5307 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5308
0b3986d0
DM
53092013-01-04 David S. Miller <davem@davemloft.net>
5310
5311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5312
e47686e9
AS
53132013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5314
d643bac1
AS
5315 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5316 1 to avoid redefinition warning.
5317 (__USE_GNU): Don't define.
5318 (init_signaling_nan): Protoize.
5319
e47686e9
AS
5320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5321
b18decba
SP
53222013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5323
fffb407f
SP
5324 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5326 (__cpymn): Likewise.
5327 (norm): Remove commented code.
5328 (denorm): Likewise.
5329 (__mp_dbl): Likewise.
5330 (__inv): Likewise.
5331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5332 (__cpymn): Likewise.
5333 (norm): Remove commented code.
5334 (denorm): Likewise.
5335 (__mp_dbl): Likewise.
5336 (__inv): Likewise.
5337
b18decba
SP
5338 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5339 mp_no value for 1.0 and 2.0.
5340 (norm): Use RADIXI instead of radixi.d.
5341 (denorm): Likewise.
5342 (__mul): Use 0.0 instead of zero.d.
5343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5344 mp_no value for 1.0 and 2.0.
5345 (norm): Use RADIXI instead of radixi.d.
5346 (denorm): Likewise.
5347 (__mul): Use 0.0 instead of zero.d.
5348
cdc1c96f
JM
53492013-01-04 Joseph Myers <joseph@codesourcery.com>
5350
5351 [BZ #14994]
5352 * math/s_casinh.c (__casinh): Reduce finite argument to first
5353 quadrant then set signs of results at the end.
5354 * math/s_casinhf.c (__casinhf): Likewise.
5355 * math/s_casinhl.c (__casinhl): Likewise.
5356 * math/libm-test.inc (casin_test): Add more tests.
5357 (casinh_test): Likewise.
5358 * sysdeps/i386/fpu/libm-test-ulps: Update.
5359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5360
302913e1
SP
53612013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5362
6420d207
SP
5363 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5364
a9e48ab4
SP
5365 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5366
b7837264
SP
5367 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5368 declarations.
5369 (denorm): Likewise.
5370 (__mp_dbl): Likewise.
5371 (__inv): Likewise.
5372
f8af25d2
SP
5373 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5374 and adjust the header comment.
5375
302913e1
SP
5376 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5377 variable name from declaration.
5378
5d7dd1ca
L
53792013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5380
5381 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5382 Initialize COMMON_CPUID_INDEX_7 element.
5383 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5384 (CPUID_RTM): Likewise.
5385 (HAS_RTM): Likewise.
5386 (COMMON_CPUID_INDEX_7): New enum.
5387
2f5f40f4
AS
53882013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5389
5390 [BZ #14981]
5391 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5392 size is zero, record memory as freed.
5393
4056f4a0
AJ
53942013-01-03 Andreas Jaeger <aj@suse.de>
5395
5396 * po/ia.po: Add new Interlingua translation.
5397
ab15736f 53982012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5399
5400 * locale/programs/localedef.c: Fix description of '--posix' flag.
5401
568035b7
JM
54022013-01-02 Joseph Myers <joseph@codesourcery.com>
5403
e6898b8d
JM
5404 * NEWS: Update dates in second copyright notice.
5405 * README: Update copyright dates in example.
5406 * manual/libc.texinfo: Update copyright dates.
5407 * scripts/test-installation.pl: Update copyright date in --version
5408 output.
5409
0e2f9562
JM
5410 * hurd/ctty-input.c: Fix copyright notice formatting.
5411 * hurd/ctty-output.c: Likewise.
5412 * hurd/dtable.c: Likewise.
5413 * hurd/hurd-raise.c: Likewise.
5414 * hurd/hurdprio.c: Likewise.
5415 * hurd/msgportdemux.c: Likewise.
5416 * misc/sys/file.h: Likewise.
5417 * misc/sys/ioctl.h: Likewise.
5418 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5419 * sysdeps/mach/hurd/chdir.c: Likewise.
5420 * sysdeps/mach/hurd/fchdir.c: Likewise.
5421 * sysdeps/mach/hurd/rename.c: Likewise.
5422 * sysdeps/mach/hurd/rmdir.c: Likewise.
5423 * sysdeps/mach/hurd/seekdir.c: Likewise.
5424 * sysdeps/mach/hurd/setsid.c: Likewise.
5425 * sysdeps/posix/wait3.c: Likewise.
5426
568035b7
JM
5427 * All files with FSF copyright notices: Update copyright dates
5428 using scripts/update-copyrights.
5429 * intl/plural.c: Regenerated.
5430 * locale/programs/charmap-kw.h: Likewise.
5431 * locale/programs/locfile-kw.h: Likewise.
5432
da08f647
SP
54332013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5434
0f5477af
SP
5435 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5436 four values.
5437
44e0d4c2
SP
5438 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5439 calculation loop and add branch prediction.
5440
4d55b4e5
SP
5441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5442 check access beyond bounds of m1np.
5443
da08f647
SP
5444 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5445 MPTWO.
5446 (__inv): Remove local variable MPTWO to use the global
5447 constant.
5448 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5449 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5450 variable MPTWO.
5451 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5452 MP3HALFS static const.
5453
8e051029
DM
54542013-01-01 David S. Miller <davem@davemloft.net>
5455
5456 * po/ca.po: Update from translation team.
5457
f4cf5f2d
JM
54582013-01-01 Joseph Myers <joseph@codesourcery.com>
5459
5460 * scripts/update-copyrights: New file.
5461 * Makeconfig: Reformat copyright notice.
5462 * ctype/ctype.h: Likewise.
5463 * debug/swprintf_chk.c: Likewise.
5464 * elf/dl-cache.c: Likewise.
5465 * elf/dl-debug.c: Likewise.
5466 * elf/dl-object.c: Likewise.
5467 * grp/initgroups.c: Likewise.
5468 * hurd/Makefile: Likewise.
5469 * hurd/hurd/signal.h: Likewise.
5470 * hurd/hurdfault.c: Likewise.
5471 * hurd/hurdioctl.c: Likewise.
5472 * hurd/hurdlookup.c: Likewise.
5473 * hurd/intr-msg.c: Likewise.
5474 * iconv/gconv_open.c: Likewise.
5475 * libio/swprintf.c: Likewise.
5476 * locale/lc-ctype.c: Likewise.
5477 * locale/nl_langinfo.c: Likewise.
5478 * mach/Machrules: Likewise.
5479 * mach/Makefile: Likewise.
5480 * malloc/obstack.h: Likewise.
5481 * manual/Makefile: Likewise.
5482 * manual/tsort.awk: Likewise.
5483 * misc/bits/stab.def: Likewise.
5484 * nis/nis_print_group_entry.c: Likewise.
5485 * nis/nis_table.c: Likewise.
5486 * nis/nss_compat/compat-pwd.c: Likewise.
5487 * nis/nss_compat/compat-spwd.c: Likewise.
5488 * po/Makefile: Likewise.
5489 * posix/fnmatch.c: Likewise.
5490 * posix/regex.h: Likewise.
5491 * resolv/Makefile: Likewise.
5492 * resolv/nss_dns/dns-network.c: Likewise.
5493 * resolv/res_hconf.c: Likewise.
5494 * scripts/gen-sorted.awk: Likewise.
5495 * soft-fp/soft-fp.h: Likewise.
5496 * stdio-common/printf.h: Likewise.
5497 * stdlib/monetary.h: Likewise.
5498 * stdlib/random.c: Likewise.
5499 * stdlib/random_r.c: Likewise.
5500 * sysdeps/generic/Makefile: Likewise.
5501 * sysdeps/gnu/Makefile: Likewise.
5502 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5516 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5525 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5526 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5527 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5528 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5530 * sysdeps/mach/hurd/errnos.awk: Likewise.
5531 * sysdeps/mach/hurd/fork.c: Likewise.
5532 * sysdeps/mach/hurd/getcwd.c: Likewise.
5533 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5534 * sysdeps/mach/hurd/mmap.c: Likewise.
5535 * sysdeps/mach/hurd/utimes.c: Likewise.
5536 * sysdeps/mach/hurd/xmknod.c: Likewise.
5537 * sysdeps/posix/profil.c: Likewise.
5538 * sysdeps/posix/readdir_r.c: Likewise.
5539 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5540 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5541 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5542 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5544 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5545 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5546 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5548 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5549 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5550 * sysdeps/pthread/lio_listio.c: Likewise.
5551 * sysdeps/sparc/dl-procinfo.h: Likewise.
5552 * sysdeps/unix/i386/sysdep.S: Likewise.
5553 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5554 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5555 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5556 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5558 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5559 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5560 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5561 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5562 * sysdeps/wordsize-32/divdi3.c: Likewise.
5563 * time/sys/time.h: Likewise.
5564 * wcsmbs/Makefile: Likewise.
5565
0549fbba
DM
55662013-01-01 David S. Miller <davem@davemloft.net>
5567
a141f1a7
DM
5568 * po/fr.po: Update from translation team.
5569
0549fbba
DM
5570 * catgets/gencat.c: Update copyright year.
5571 * csu/version.c: Likewise.
5572 * debug/catchsegv.sh: Likewise.
5573 * debug/pcprofiledump.c: Likewise.
5574 * debug/xtrace.sh: Likewise.
5575 * elf/ldconfig.c: Likewise.
5576 * elf/ldd.bash.in: Likewise.
5577 * elf/pldd.c: Likewise.
5578 * elf/sotruss.ksh: Likewise.
5579 * elf/sprof.c: Likewise.
5580 * iconv/iconv_prog.c: Likewise.
5581 * iconv/iconvconfig.c: Likewise.
5582 * locale/programs/locale.c: Likewise.
5583 * locale/programs/localedef.c: Likewise.
5584 * login/programs/pt_chown.c: Likewise.
5585 * malloc/memusage.sh: Likewise.
5586 * malloc/memusagestat.c: Likewise.
5587 * malloc/mtrace.pl: Likewise.
5588 * nscd/nscd.c: Likewise.
5589 * nss/getent.c: Likewise.
5590 * nss/makedb.c: Likewise.
5591 * posix/getconf.c: Likewise.
5592
18ea052c
SP
55932012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5594
5595 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5596 numbers.
5597
9c89fca6
MF
55982012-12-30 Mike Frysinger <vapier@gentoo.org>
5599
5600 * math/bits/mathcalls.h (modf): Use __nonnull.
5601
085ec079
SP
56022012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5603
5604 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5605 (split): Use macro CN instead of the bare value.
5606 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5607 could be used.
5608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5609 instead of the bare value.
5610 (power1): Likewise.
5611
6d9f97e1
SP
56122012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5613
d63f73be
SP
5614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5615 __ATAN_TWOM.
5616 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5617
6d9f97e1
SP
5618 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5619 their values.
5620 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5621 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5622 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5623 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5624
4c4febf5
AJ
56252012-12-28 Andreas Jaeger <aj@suse.de>
5626
af5843ef
AJ
5627 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5628 values are from Linux 3.7.
5629
4c4febf5
AJ
5630 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5631 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5632
99136f82
SP
56332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5634
2f216c3c 5635 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5636 TRUE case.
5637
99136f82
SP
5638 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5639 (norm): Likewise.
5640 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5641 variables with preprocessor constants.
5642 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5643 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5644 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5645
7fffbdff
BH
56462012-12-27 Bruno Haible <bruno@clisp.org>
5647
5648 [BZ #14317]
5649 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5650 only if needed.
5651
b76eb5f0
SP
56522012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5653
31a7fe5c
SP
5654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5655 and use variable directly.
5656 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5657
b76eb5f0
SP
5658 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5659 MPONE.
5660 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5661 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5662 variable MPONE.
5663 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5665 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5666 include directive. Remove local variable MPONE.
5667 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5668 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5669 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5670
2c8bfe7d
DM
56712012-12-25 David S. Miller <davem@davemloft.net>
5672
5673 * version.h (RELEASE): Set to "development".
5674 (VERSION): Set to "2.17.90".
5675 * NEWS: Add 2.18 section.
5676
147d03b0
DM
56772012-12-21 David S. Miller <davem@davemloft.net>
5678
5679 * po/hr.po: Update from translation team.
5680
a8ebb2b9
AK
56812012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5682
5683 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5684
95b4f1b6
SE
56852012-12-19 Steve Ellcey <sellcey@mips.com>
5686
b2d94007 5687 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5688
cedb2a90
MS
56892012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5690
5691 * manual/contrib.texi (Contributors): Spelling correction.
5692
bbf527d6
DM
56932012-12-15 David S. Miller <davem@davemloft.net>
5694
5695 * po/ru.po: Update from translation team.
5696
bc38c906
DM
56972012-12-13 David S. Miller <davem@davemloft.net>
5698
85429b1a
DM
5699 * NEWS: Mention IFUNC testsuite enhancements.
5700
d283e353
DM
5701 * po/pl.po: Update from translation team.
5702 * po/bg.po: Likewise.
5703
bc38c906
DM
5704 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5705 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5706
a181b0d7
DM
57072012-12-11 David S. Miller <davem@davemloft.net>
5708
4641d57e
DM
5709 * po/sv.po: Update from translation team.
5710
f7bc6495
DM
5711 * po/vi.po: Update from translation team.
5712
6fc9048f
DM
5713 * po/cs.po: Update from translation team.
5714
a181b0d7
DM
5715 * po/de.po: Update from translation team.
5716 * po/eo.po: Likewise.
5717 * po/nl.po: Likewise.
5718
f70bfe80
SP
57192012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5720
3c8b4190
SP
5721 [BZ #14246]
5722 * manual/argp.texi (Argp Helper Functions): Move node to follow
5723 Argp Parsing State.
5724
f70bfe80
SP
5725 [BZ #14872]
5726 * manual/conf.texi (Limits on File System Capacity): Mention if
5727 terminating null is included in the max size.
5728
188f0adf
AJ
57292012-12-10 Andreas Jaeger <aj@suse.de>
5730
5731 * po/cs.po: Update from translation team.
5732
56e7d3ad
SP
57332012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5734
5735 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5736 void pointer and cast to uintptr_t.
5737 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5738 path.
5739 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5740 * sysdeps/s390/s390-64/memset.S: Likewise.
5741
76f2d2ea 57422012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5743
5744 [BZ #14833]
5745 * menual/message.texi (Message Translation): Fix typos.
5746 (Helper programs for gettext): Likewise.
5747
67cbf9a2
AS
57482012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5749
5750 [BZ #14898]
5751 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5752 Change to -1.
5753
682d0e9a
DM
57542012-12-07 David S. Miller <davem@davemloft.net>
5755
5756 * po/libc.pot: Update.
5757
573cd484
RH
57582012-12-07 Richard Henderson <rth@redhat.com>
5759
7e9da188 5760 [BZ #10114]
573cd484
RH
5761 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5762 normal/normal case to before the switch.
5763 (_FP_DIV): Likewise.
5764
e933a943
MF
57652012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5766 Mike Frysinger <vapier@gentoo.org>
5767
5768 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5769 check for __NR_fadvise64_64.
5770
82123268
CM
57712012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5772
5773 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5774 0, not just to plain "0" as a statement.
5775 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5776 with cw.
5777
d9814526
JM
57782012-12-06 Joseph Myers <joseph@codesourcery.com>
5779
5780 * NEWS: Use sourceware.org in Bugzilla URL.
5781
7728c574
SP
57822012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5783
f16946dd
SP
5784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5785 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5786
5704bbcb
SP
5787 * stdio-common/tst-put-error.c (do_test): Add newline to the
5788 padded test to ensure flush.
5789
17aa0516
JL
57902012-12-05 Jeff Law <law@redhat.com>
5791
5792 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5793
363313b5
JM
57942012-12-05 Joseph Myers <joseph@codesourcery.com>
5795
effbd42a
JM
5796 * README: Don't refer to ports add-on as distributed separately.
5797 Mention AArch64 in list of systems supported in the ports add-on.
5798
87600365
JM
5799 * LICENSES: Add more non-FSF copyright and license notices.
5800
a0d7066a
JM
5801 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5802 ((unused)).
5803
66ca5a5b
JM
5804 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5805
363313b5
JM
5806 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5807 10000 as width of padded output.
5808
b37984ad
JM
58092012-12-04 Joseph Myers <joseph@codesourcery.com>
5810
9003570a
JM
5811 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5812
b37984ad
JM
5813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5814 variable LX with __attribute__ ((unused)).
5815 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5816 Likewise.
5817 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5818 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5819 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5820 with __attribute__ ((unused)).
5821
c8df52ec
DM
58222012-12-04 David S. Miller <davem@abraco.davemloft.net>
5823
5824 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5825
b3b099af
JM
58262012-12-04 Joseph Myers <joseph@codesourcery.com>
5827
c33aa6e3
JM
5828 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5829 (CFLAGS-nldbl-acos.c): New variable.
5830 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5831 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5832 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5833 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5834 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5835 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5836 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5837 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5838 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5839 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5840 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5841 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5842 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5843 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5844 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5845 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5846 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5847 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5848 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5849 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5850 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5851 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5852 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5853 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5854 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5855 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5856 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5857 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5858 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5859 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5860 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5861 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5862 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5863 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5864 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5865 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5866 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5867 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5868 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5869 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5870 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5871 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5872 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5873 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5874 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5875 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5876 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5877 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5878 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5879 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5880 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5881 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5882 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5883 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5884 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5885 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5886 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5887 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5888 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5889 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5890 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5891 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5892 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5893 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5894 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5895 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5896 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5897 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5898 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5899 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5900 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5901 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5902 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5903 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5904 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5905 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5906 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5907 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5908 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5909 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5910 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5911 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5912 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5913 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5914 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5915 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5916 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5917 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5918 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5919 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5920 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5921 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5922 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5927
20f0018d
JM
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5929 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5930
b3b099af
JM
5931 [BZ #14914]
5932 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5933 whole low double instead of just low 47 bits when splitting values
5934 into two parts.
5935
029264d1
AM
59362012-12-03 Allan McRae <allan@archlinux.org>
5937
5938 * manual/stdio.texi (Predefined Printf Handlers): Remove
5939 @hsep and @vsep usage.
5940
c9d6789e
MF
59412012-12-03 Mike Frysinger <vapier@gentoo.org>
5942
5943 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
5944 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
5945
4b7634a5
JL
59462012-12-03 Jeff Law <law@redhat.com>
5947
5948 * time/sys/time.h (settimeofday): Do not mark TV argument
5949 as __nonnull.
5950
eb6cbd24
MF
59512012-12-01 Mike Frysinger <vapier@gentoo.org>
5952
5953 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
5954 when currently writing and seek to current position when not.
5955 * libio/Makefile (tests): Remove bug-fclose1.
5956 * libio/bug-fclose1.c: Delete.
5957
f638872a
JM
59582012-12-01 Joseph Myers <joseph@codesourcery.com>
5959
5960 * manual/arith.texi (feenableexcept): Fix typo.
5961 (fedisableexcept): Likewise.
5962
48085d14
RM
59632012-11-30 Roland McGrath <roland@hack.frob.com>
5964
5965 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
5966 second, differently-typed declaration, rather than a cast.
5967
1a538b9f
SP
59682012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5969
5970 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
5971 * include/rpc/svc.h: ... here.
5972
d07f2ff1 59732012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
5974
5975 [BZ #13013]
5976 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
5977 depending n and resplen2 to catch cases where answer
5978 equals answerp2.
5979
c93ec1f0
CD
59802012-11-29 Carlos O'Donell <carlos@systemhalted.org>
5981
5982 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
5983 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
5984
37db69de
MF
59852012-11-29 Mike Frysinger <vapier@gentoo.org>
5986
5987 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
5988
e10c4e4f
RM
59892012-11-29 Roland McGrath <roland@hack.frob.com>
5990
5991 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
5992
2af1b328
JL
59932012-11-28 Jeff Law <law@redhat.com>
5994
5995 [BZ #13761]
5996 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
5997 dataset_temporary. Track alloca usage into alloca_used.
5998 If dataset is large allocate and release it via malloc/free.
5999
111db5b1
FW
60002012-06-04 Florian Weimer <fweimer@redhat.com>
6001
f06cc227 6002 [BZ #14197]
111db5b1
FW
6003 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6004
dd694abd
DM
60052012-11-28 David S. Miller <davem@davemloft.net>
6006
6007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6008
9984dd01
JM
60092012-11-28 Joseph Myers <joseph@codesourcery.com>
6010
6011 [BZ #14803]
6012 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6013 of pi/2 rounded to nearest to 64 bits.
6014 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6015 nearest to 64 bits.
6016 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6017 bits.
6018
14bc93a9
JL
60192012-11-28 Jeff Law <law@redhat.com>
6020 Martin Osvald <mosvald@redhat.com>
6021
6022 [BZ #14889]
6023 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6024 * sunrpc/svc.c: Include time.h.
6025 (__svc_accept_failed): New function.
6026 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6027 any reason other than EINTR, call __svc_accept_failed.
6028 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6029 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6030
e3c6aa3a
AS
60312012-11-28 Andreas Schwab <schwab@suse.de>
6032
6033 * scripts/abilist.awk: Also handle indirect functions in .opd
6034 section.
6035
1bead169
JM
60362012-11-28 Joseph Myers <joseph@codesourcery.com>
6037
6038 [BZ #13881]
6039 * sysdeps/x86/fpu/powl_helper.c: New file.
6040 * sysdeps/x86/fpu/Makefile: Likewise.
6041 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6042 (p3): New object.
6043 (__ieee754_powl): Use __powl_helper for finite arguments except
6044 integer exponents below 8.
6045 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6046 (p3): New object.
6047 (__ieee754_powl): Use __powl_helper for finite arguments except
6048 integer exponents below 8.
6049 * math/libm-test.inc (pow_test): Add more tests and enable some
6050 previously disabled tests.
6051 * sysdeps/i386/fpu/libm-test-ulps: Update.
6052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6053
0817d63d
SP
60542012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6055 Carlos O'Donell <carlos_odonell@mentor.com>
6056
6057 * nss/makedb.c (is_prime): Assert that input is odd and greater
6058 than 4. Note that fact in a comment too.
6059 (next_prime): Add 4 to input.
6060
de2fd463
SP
60612012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6062
6063 [BZ #11741]
6064 * libio/Makefile (tests): Add test case tst-fwrite-error.
6065 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6066 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6067 * libio/tst-fwrite-error.c: New test case.
6068
c515fb51
L
60692012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6070
6071 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6072 before casting to void *.
6073 * include/libc-internal.h (__pointer_type): New macro.
6074 (__integer_if_pointer_type_sub): Likewise.
6075 (__integer_if_pointer_type): Likewise.
6076 (cast_to_integer): Likewise.
6077 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6078 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6079 before casting to atomic64_t.
6080 (atomic_exchange_acq): Likewise.
6081 (__arch_exchange_and_add_body): Likewise.
6082 (__arch_add_body): Likewise.
6083 (atomic_add_negative): Likewise.
6084 (atomic_add_zero): Likewise.
6085
4cf77aa9
JM
60862012-11-26 Joseph Myers <joseph@codesourcery.com>
6087
6088 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6089 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6090 (add_fdes): Likewise.
6091 (linear_search_fdes): Likewise.
6092 (binary_search_unencoded_fdes): Likewise.
6093
d260b3b4
AS
60942012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6095
6096 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6097
67060746
AC
60982012-11-24 Adam Conrad <adconrad@0c3.net>
6099
6100 * configure.in: Autodetect C++ header directories.
6101 * configure: Regenerated.
6102
800938a1
MF
61032012-11-23 Mike Frysinger <vapier@gentoo.org>
6104
6105 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6106
4e6e34e6
AS
61072012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6108
6109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6110
7c7feb47
JM
61112012-11-22 Joseph Myers <joseph@codesourcery.com>
6112
7184dcdf
JM
6113 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6114 LDBL_MANT_DIG == 106]: Disable some tests.
6115 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6116 Likewise.
6117 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6118 Likewise.
6119
0a42601f
JM
6120 [BZ #14871]
6121 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6122 input for small inputs. Return +/- pi/2 for large inputs.
6123 * math/libm-test.inc (atan_test): Add more tests.
6124
79c9b9fe
JM
6125 * sysdeps/generic/unwind-dw2-fde-glibc.c
6126 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6127 __attribute__ ((unused)).
6128
c60d3bf2
JM
6129 [BZ #14645]
6130 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6131 x * y if x and y are nonzero and z is zero.
6132
ef1e0867
JM
6133 [BZ #14811]
6134 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6135 nonzero exponents with absolute value below 0x1p-117 to +/-
6136 0x1p-117.
6137
1468ded3
JM
6138 [BZ #14869]
6139 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6140 up arguments below 2**-450, not just those below 2**-500.
6141 * math/libm-test.inc (hypot_test): Add another test.
6142
8e27e3cc
JM
6143 [BZ #14868]
6144 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6145 Return a+b for ratio over 2**120, not 2**60.
6146 * math/libm-test.inc (hypot_test): Add another test.
6147
c9c0279b
JM
6148 * math/libm-test.inc (clog_test): Use
6149 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6150 (clog10_test): Likewise.
6151
7c7feb47
JM
6152 [BZ #6778]
6153 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6154
fff1530e
AS
61552012-11-22 Andreas Schwab <schwab@suse.de>
6156
6157 * sysdeps/i386/fpu/libm-test-ulps: Update.
6158
94558d30
PT
61592012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6160
6161 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6162 printf output with newline.
6163
7e1be741
L
61642012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6165
6bfea974
L
6166 [BZ #14865]
6167 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6168 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6169 -z nodlopen, -z initfirst and -z execstack support.
6170 * configure: Regenerated.
6171
7e1be741
L
6172 * elf/elf.h (DF_1_NODIRECT): New macro.
6173 (DF_1_IGNMULDEF): Likewise.
6174 (DF_1_NOKSYMS): Likewise.
6175 (DF_1_NOHDR): Likewise.
6176 (DF_1_EDITED): Likewise.
6177 (DF_1_NORELOC): Likewise.
6178 (DF_1_SYMINTPOSE): Likewise.
6179 (DF_1_GLOBAUDIT): Likewise.
6180 (DF_1_SINGLETON): Likewise.
6181 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6182 DT_1_SUPPORTED_MASK bits.
6183 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6184
105ce2ce
CD
61852012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6186
6187 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6188
123be9de
TS
61892012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6190
d072f3f7
TS
6191 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6192 macro.
6193
123be9de
TS
6194 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6195 (sendmmsg): Move declarations...
6196 * socket/sys/socket.h: ... here.
6197 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6198 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6199 include it from...
6200 * socket/recvmmsg.c: ... this new file.
6201 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6202 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6203 definition of __sendmmsg hidden.
6204 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6205 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6206 Move ENOSYS stub into and include it from...
6207 * socket/sendmmsg.c: ... this new file.
6208 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6209 (sysdep_routines): Move recvmmsg and sendmmsg...
6210 * socket/Makefile (routines): ... here.
6211 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6212 (GLIBC_PRIVATE): Add __sendmmsg.
6213 * include/sys/socket.h (__sendmmsg): Add declarations.
6214 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6215 sendmmsg.
6216
cf9a5d18
JM
62172012-11-20 Joseph Myers <joseph@codesourcery.com>
6218
6219 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6220 variable I1 with __attribute__ ((unused)).
6221 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6222
ecd4caf9
JM
62232012-11-19 Joseph Myers <joseph@codesourcery.com>
6224
be14d48f
JM
6225 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6226 DUMMY variables with __attribute__ ((unused)).
6227
ecd4caf9
JM
6228 * bits/byteswap.h: Include <bits/types.h>.
6229 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6230
986cab95
PT
62312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6232
6233 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6234 string_t. Do not manually set errno.
6235 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6236 length with __strnlen. Make sure to both set errno and return it on
6237 failure.
6238
6d33cc9d
DM
62392012-11-19 David S. Miller <davem@davemloft.net>
6240
6241 With help from Joseph Myers.
6242 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6243 very large arguments properly.
6244 * math/libm-test.inc (atan_test): New tests.
6245 (atan2_test): New tests.
6246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6248
ee663277
JM
62492012-11-19 Joseph Myers <joseph@codesourcery.com>
6250
877f2d8e
JM
6251 [BZ #14856]
6252 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6253 Define to 3.
6254
116fc08a
JM
6255 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6256 [POSIX] (EADDRNOTAVAIL): Likewise.
6257 [POSIX] (EAFNOSUPPORT): Likewise.
6258 [POSIX] (EALREADY): Likewise.
6259 [POSIX] (ECONNABORTED): Likewise.
6260 [POSIX] (ECONNREFUSED): Likewise.
6261 [POSIX] (ECONNRESET): Likewise.
6262 [POSIX] (EDESTADDRREQ): Likewise.
6263 [POSIX] (EDQUOT): Likewise.
6264 [POSIX] (EHOSTUNREACH): Likewise.
6265 [POSIX] (EIDRM): Likewise.
6266 [POSIX] (EISCONN): Likewise.
6267 [POSIX] (ELOOP): Likewise.
6268 [POSIX] (EMULTIHOP): Likewise.
6269 [POSIX] (ENETDOWN): Likewise.
6270 [POSIX] (ENETUNREACH): Likewise.
6271 [POSIX] (ENOBUFS): Likewise.
6272 [POSIX] (ENODATA): Likewise.
6273 [POSIX] (ENOLINK): Likewise.
6274 [POSIX] (ENOMSG): Likewise.
6275 [POSIX] (ENOPROTOOPT): Likewise.
6276 [POSIX] (ENOSR): Likewise.
6277 [POSIX] (ENOSTR): Likewise.
6278 [POSIX] (ENOTCONN): Likewise.
6279 [POSIX] (ENOTSOCK): Likewise.
6280 [POSIX] (EOPNOTSUPP): Likewise.
6281 [POSIX] (EOVERFLOW): Likewise.
6282 [POSIX] (EPROTO): Likewise.
6283 [POSIX] (EPROTONOSUPPORT): Likewise.
6284 [POSIX] (EPROTOTYPE): Likewise.
6285 [POSIX] (ESTALE): Likewise.
6286 [POSIX] (ETIME): Likewise.
6287 [POSIX] (ETXTBSY): Likewise.
6288 [POSIX] (EWOULDBLOCK): Likewise.
6289 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6290 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6291 [POSIX] (SEEK_CUR): Likewise.
6292 [POSIX] (SEEK_END): Likewise.
6293 [POSIX || UNIX98] (mode_t): Do not require.
6294 [POSIX] (off_t): Likewise.
6295 [POSIX] (pid_t): Likewise.
6296 [POSIX] (sys/stat.h): Do not allow header.
6297 [POSIX] (unistd.h): Likewise.
6298 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6299 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6300 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6301 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6302 require.
6303 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6304 sigevent): Specify elements.
6305 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6306 entry.
6307 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6308 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6309
a483863f
JM
6310 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6311 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6312 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6313 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6314 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6315 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6316 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6317 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6318 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6319 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6320 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6321 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6322 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6323 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6324 Likewise.
6325 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6326 Likewise.
6327 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6328 Likewise.
6329 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6330 Likewise.
6331 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6332 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6333 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6334 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6335 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6336 Specify lower bound on value.
6337 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6338 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6339 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6340 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6341 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6342 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6343 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6344 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6345 value.
6346 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6347 as optional.
6348 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6349 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6350 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6351 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6352 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6353 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6354 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6355 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6356 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6357 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6358 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6359 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6360 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6361 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6362 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6363 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6364 entry.
6365 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6366 optional.
6367 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6368 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6369 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6370 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6371 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6372 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6373 Likewise.
6374 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6375 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6376 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6377 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6378 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6379 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6380 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6381 as optional.
6382 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6383 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6384 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6385 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6386 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6387 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6388 specify as optional.
6389 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6390 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6391 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6392 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6393 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6394 [XPG3] (NL_LANGMAX): Likewise.
6395 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6396 [POSIX || XPG3] (NL_NMAX): Likewise.
6397 [POSIX || XPG3] (NL_SETMAX): Likewise.
6398 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6399 [XPG3] (NZERO): Likewise.
6400 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6401 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6402 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6403 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6404 (REG_ERANGE): Expect.
6405 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6406 optional-constant.
6407 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6408 Use (void) in prototype.
6409 [POSIX] (*_t): Allow.
6410 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6411 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6412 (WRDE_BADVAL): Expect.
6413
5ba924e3
JM
6414 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6415 expect.
6416 [XPG3 || XPG4] (O_RSYNC): Likewise.
6417 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6418 Likewise.
6419 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6420 [XPG3 || XPG4] (sigqueue): Likewise.
6421 [XPG3 || XPG4] (sigtimedwait): Likewise.
6422 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6423 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6424 [XPG3 || XPG4] (vsnprintf): Likewise.
6425 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6426 Likewise.
6427 [XPG3 || XPG4] (blksize_t): Likewise.
6428 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6429 Likewise.
6430 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6431 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6432 [XPG3 || XPG4] (struct itimerspec): Likewise.
6433 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6434 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6435 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6436 [XPG3 || XPG4] (clockid_t): Likewise.
6437 [XPG3 || XPG4] (timer_t): Likewise.
6438 [XPG3 || XPG4] (clock_getres): Likewise.
6439 [XPG3 || XPG4] (clock_gettime): Likewise.
6440 [XPG3 || XPG4] (clock_settime): Likewise.
6441 [XPG3 || XPG4] (nanosleep): Likewise.
6442 [XPG3 || XPG4] (timer_create): Likewise.
6443 [XPG3 || XPG4] (timer_delete): Likewise.
6444 [XPG3 || XPG4] (timer_gettime): Likewise.
6445 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6446 [XPG3 || XPG4] (timer_settime): Likewise.
6447 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6448 [XPG3 || XPG4] (getlogin_r): Likewise.
6449 [XPG3 || XPG4] (pread): Likewise.
6450 [XPG3 || XPG4] (pthread_atfork): Likewise.
6451 [XPG3 || XPG4] (pwrite): Likewise.
6452
ee663277
JM
6453 [BZ #14835]
6454 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6455 <bits/siginfo.h>.
6456
942caa16
PT
64572012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6458
e19af380
PT
6459 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6460 finalizing MALLSTREAM.
6461
942caa16
PT
6462 * sysdeps/mach/hurd/syncfs.c: New file.
6463
cfde9b46
SP
64642012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6465
6466 [BZ #14719]
6467 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6468 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6469 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6470 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6471 (_nss_dns_gethostbyname4_r): Likewise.
6472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6473 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6474
f6da27e5
PH
64752012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6476
6477 [BZ #13763]
6478 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6479
6665d4a2
SM
64802012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6481
1f51ee92
SM
6482 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6483 * elf/cache.c (print_entry): Print ",AArch64" for
6484 FLAG_AARCH64_LIB64
6485
6665d4a2
SM
6486 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6487 * elf/cache.c (print_entry): Print ",hard-float" for
6488 FLAG_ARM_LIBHF.
6489
05b227bd
DM
64902012-11-18 David S. Miller <davem@davemloft.net>
6491
6492 With help from Joseph Myers.
6493 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6494 cutoff to 2**-13.
6495 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6496 cutoff to 2**-25.
6497 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6498 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6499 small.
6500 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6501 * math/libm-test.inc (y0_test): New tests.
6502 (y1_test): New tests.
6503 * sysdeps/i386/fpu/libm-test-ulps: Update.
6504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6506
786b0b67
AS
65072012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6508
6509 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6510 64-bit targets.
6511 * configure: Regenerated.
6512
8e18b86d
DM
65132012-11-17 David S. Miller <davem@davemloft.net>
6514
6515 [BZ #14811]
6516 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6517 nonzero exponents with absolute value below 0x1p-128 to +/-
6518 0x1p-128.
6519
531f1ae0
JM
65202012-11-17 Joseph Myers <joseph@codesourcery.com>
6521
12df29e2
JM
6522 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6523
150dc1a0
JM
6524 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6525
531f1ae0
JM
6526 * posix/getconf-speclist.c: New file.
6527 * posix/posix-envs.def: Likewise.
6528 * posix/confstr.c (START_ENV_GROUP): New macro.
6529 (END_ENV_GROUP): Likewise.
6530 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6531 (KNOWN_PRESENT_ENV_STRING): Likewise.
6532 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6533 (UNKNOWN_ENVIRONMENT): Likewise.
6534 (confstr): Include posix-envs.def instead of handling
6535 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6536 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6537 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6538 (END_ENV_GROUP): Likewise.
6539 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6540 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6541 (UNKNOWN_ENVIRONMENT): Likewise.
6542 (__sysconf): Include posix-envs.def instead of handling associated
6543 cases directly here.
6544 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6545 preprocessing getconf-speclist.c rather than running getconf or
6546 generating empty file.
6547
a93f9cbc
PT
65482012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6549
6550 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6551
d64d9f87
AL
65522012-11-16 Andrej Lajovic <natrij@gmail.com>
6553
6554 [BZ #14672]
6555 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6556
447885eb
DM
65572012-11-16 David S. Miller <davem@davemloft.net>
6558
6559 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6560 smaller than LDBL_EPSILON/2.0L, just return xm1.
6561
bcbf9830
L
65622012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6563
6564 * elf/tst-array1.c (init): Set constructor priority to 1000.
6565 (fini): Set destructor priority to 1000.
6566 * elf/tst-array2dep.c: Likewise.
6567
2b766585
SP
65682012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6569
6570 [BZ #11741]
6571 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6572 (_IO_new_file_xsputn): Also return EOF if none of the input
6573 data was written when overflow failed.
6574 * libio/iopadn.c (_IO_padn): Likewise.
6575 * libio/iowpadn.c (_IO_wpadn): Likewise.
6576 * stdio-common/tst-put-error.c: Add copyright notice.
6577 (do_test): Add case for printing padded string.
6578 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6579 _IO_padn returned error.
6580 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6581 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6582 return EOF.
6583
b1848fde
SP
65842012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6585
6586 * libio/libioP.h: Add comment note that the references to C++
6587 bits are now obsolete.
6588
2fd89785
MS
65892012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6590
6591 * math/libm-test.inc (check_complex): Use asprintf.
6592
e3ea5409
JM
65932012-11-14 Joseph Myers <joseph@codesourcery.com>
6594
6595 * debug/pcprofiledump.c (print_version): Update copyright year.
6596 * malloc/memusagestat.c (print_version): Likewise.
6597
2e64d265
L
65982012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6599
6600 [BZ #14831]
6601 * elf/Makefile (tests): Add tst-audit8.
6602 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6603 ($(objpfx)tst-audit8.out): New target.
6604 (tst-audit8-ENV): New variable.
6605 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6606 audit if l_reloc_result is NULL.
6607 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6608 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6609 * elf/tst-audit8.c: New file.
6610
c485e4d2
MS
66112012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6612
6613 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6614 * misc/Makefile (CFLAGS-select.c): Define.
6615 * posix/Makefile (CFLAGS-pause.c): Define.
6616
3a0d900a
DM
66172012-11-13 David S. Miller <davem@davemloft.net>
6618
6619 * crypt/Makefile: Move test targets after toplevel Rules
6620 inclusion. Grab any necessary sysdep routines when linking.
6621 * crypt/md5.c (md5_process_block): Remove define, we will always
6622 name it __md5_process_block.
6623 (md5_finish_ctx): Update md5_process_block call.
6624 (md5_stream): Likewise.
6625 (md5_process_bytes): Likewise.
6626 (md5_process_block): Rename to __md5_process_block and move to ...
6627 * crypt/md5-block.c: ... here.
6628 * crypt/sha256.c (sha256_process_block): Move to ...
6629 * crypt/sha256-block.c: ... here.
6630 * crypt/sha512.c (sha512_process_block): Move to ...
6631 * crypt/sha512-block.c: ... here.
6632 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6633 path.
6634 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6635 * sysdeps/sparc/sparc64/multiarch/Makefile
6636 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6637 crypt subdir.
6638 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6639 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6640 multiarch changes.
6641 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6642 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6643 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6644 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6645 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6646 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6647 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6648 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6649 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6650 file.
6651 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6652 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6653 file.
6654 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6655
8ca89318
JM
66562012-11-13 Joseph Myers <joseph@codesourcery.com>
6657
e27d476a
JM
6658 * timezone/tzselect.ksh: Update from tzcode git revision
6659 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6660 * timezone/zdump.c: Likewise.
6661 * timezone/zic.c: Likewise.
6662 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6663 in TZVERSION setting, not $(PKGVERSION).
6664 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6665 REPORT_BUGS_TO settings.
6666
8ca89318
JM
6667 [BZ #14838]
6668 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6669 macro.
6670
47594329
MS
66712012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6672
6673 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6674 detection to immediately after _FP_ROUND().
6675 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6676 bits are 0.
6677
640ac3f1
DM
66782012-11-11 David S. Miller <davem@davemloft.net>
6679
6680 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6681 inttypes.h
6682 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6683 __close rather than their public counterparts.
6684
3d2577bb
JM
66852012-11-10 Joseph Myers <joseph@codesourcery.com>
6686
6687 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6688 file.
6689 [UNIX98] (sem_timedwait): Do not expect.
6690 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6691 [XPG4 || UNIX98] (sockatmark): Do not expect.
6692 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6693 (clock_getcpuclockid): Do not expect.
6694 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6695 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6696 Do not expect.
6697 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6698 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6699 [UNIX98] (vwscanf): Likewise.
6700 [UNIX98] (vswscanf): Likewise.
6701
fb1ae1ee
JM
67022012-11-09 Joseph Myers <joseph@codesourcery.com>
6703
9ec6f8bd
JM
6704 * timezone/version.h: Remove file.
6705 * timezone/README: Do not refer to version.h.
6706 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6707 $(objpfx)version.h.
6708 ($(objpfx)zdump.o): Likewise.
c3f81911 6709 ($(objpfx)version.h): New target.
9ec6f8bd 6710
0aa8f8a1
JM
6711 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6712 2012i.
6713 * timezone/README: Don't mention modification to tzselect.ksh.
6714 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6715 work on unmodified tzselect.ksh. Substitute version numbers in
6716 tzselect.ksh.
6717
4e87147f
JM
6718 * Makefile (format-me): Remove.
6719 (INSTALL): Adjust indentation. Use commands directly instead of
6720 using $(format-me).
6721
8b748aed
JM
6722 * aclocal.m4 (ACX_PKGVERSION): New macro.
6723 (ACX_BUGURL): Likewise.
6724 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6725 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6726 (REPORT_BUGS_TO): Likewise.
6727 * configure: Regenerated.
6728 * config.h.in (PKGVERSION): New macro.
6729 (REPORT_BUGS_TO): Likewise.
6730 * config.make.in (PKGVERSION): New variable.
6731 (PKGVERSION_TEXI): Likewise.
6732 (REPORT_BUGS_TO): Likewise.
6733 (REPORT_BUGS_TEXI): Likewise.
6734 * Makefile (format-me): Use -I$(common-objpfx)manual.
6735 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6736 ($(common-objpfx)manual/%): New target.
6737 (manual/%): Remove target.
6738 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6739 (print_version): Use PKGVERSION.
6740 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6741 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6742 and REPORT_BUGS_TO.
6743 ($(objpfx)xtrace): Likewise.
6744 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6745 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6746 (print_version): Use PKGVERSION.
6747 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6748 (do_version): Use PKGVERSION.
6749 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6750 REPORT_BUGS_TO.
6751 (common-ldd-rewrite): Likewise.
6752 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6753 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6754 (print_version): Use PKGVERSION.
6755 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6756 * elf/pldd.c (argp_program_bug_address): Remove variable.
6757 (more_help): New function.
6758 (argp): Use more_help.
6759 (print_version): Use PKGVERSION.
6760 * elf/sln.c (main): Use PKGVERSION.
6761 (usage): Use REPORT_BUGS_TO.
6762 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6763 (top level): Use PKGVERSION.
6764 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6765 (print_version): Use PKGVERSION.
6766 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6767 (print_version): Use PKGVERSION.
6768 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6769 (print_version): Use PKGVERSION.
6770 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6771 (print_version): Use PKGVERSION.
6772 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6773 (print_version): Use PKGVERSION.
6774 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6775 (print_version): Use PKGVERSION.
6776 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6777 and BUGURL.
6778 ($(objpfx)memusage): Likewise.
6779 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6780 (do_version): Use PKGVERSION.
6781 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6782 (print_version): Use PKGVERSION.
6783 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6784 ($PKGVERSION): New variable.
6785 ($REPORT_BUGS_TO): Likewise.
6786 (usage): Use $REPORT_BUGS_TO.
6787 (top level): Use $PKGVERSION.
6788 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6789 ($(objpfx)pkgvers.texi): New rule.
6790 ($(objpfx)stamp-pkgvers): Likewise.
6791 * manual/install.texi: Include pkgvers.texi.
6792 (--with-pkgversion): Document new configure option.
6793 (--with-bugurl): Likewise.
6794 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6795 than necessarily for this particular distribution. Use
6796 REPORT_BUGS_TO for where to report bugs.
6797 * INSTALL: Regenerated.
6798 * manual/libc.texinfo: Include pkgvers.texi.
6799 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6800 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6801 (print_version): Use PKGVERSION.
6802 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6803 (print_version): Use PKGVERSION.
6804 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6805 (print_version): Use PKGVERSION.
6806 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6807 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6808 macro.
6809 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6810 (print_version): Use PKGVERSION.
6811 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6812 (print_version): Use PKGVERSION.
6813 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6814 and PKGVERSION.
6815
92e4b6a9
JM
6816 * timezone/checktab.awk: Update from tzcode 2012i.
6817 * timezone/ialloc.c: Likewise.
6818 * timezone/private.h: Likewise.
6819 * timezone/scheck.c: Likewise.
6820 * timezone/tzfile.h: Likewise.
6821 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6822 (TZVERSION): Hardcode tzcode version number.
6823 * timezone/zdump.c: Update from tzcode 2012i.
6824 * timezone/zic.c: Likewise.
6825 * timezone/version.h: New file.
6826 * timezone/README: Describe version.h. Update upstream location.
6827
9bde902c
JM
6828 [BZ #14824]
6829 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6830 (mktemp): Enable declaration.
6831 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6832 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6833 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6835 Likewise.
6836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6837 Likewise.
6838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6839 Likewise.
6840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6841 Likewise.
6842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6843 Likewise.
6844 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6845 Likewise.
6846
fb1ae1ee
JM
6847 [BZ #14821]
6848 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6849 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6850 for copies of such integer values.
6851 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6852 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6853
2c1adbcb
AJ
68542012-11-09 Andreas Jaeger <aj@suse.de>
6855
6856 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6857 definitions and declarations that are provided by
6858 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6859
d0f8457e
AK
68602012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6861
3a235abb 6862 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6863 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6864 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6865 definition.
6866
57241e26
MS
68672012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6868
6869 * elf/elf.h: Update comment before AArch64 relocations.
6870
60e8270d
DM
68712012-11-07 David S. Miller <davem@davemloft.net>
6872
6873 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6874 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6875 (__start_context): Declare.
6876 (__makecontext_ret): Delete.
6877 (__makecontext): Hook up __start_context instead of
6878 __makecontext_ret.
6879 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6880 (sysdep_routines): Add __start_context when in stdlib.
6881
0fbb0fbc
JM
68822012-11-07 Joseph Myers <joseph@codesourcery.com>
6883
6884 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6885 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6886 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6887 hardcoded "nm".
6888 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6889 (READELF): New variable. Use it instead of hardcoded "readelf".
6890
eb48db7e
L
68912012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6892
6893 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6894 * sysdeps/x86/Makefile: Here.
6895 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6896 * sysdeps/x86/tst-xmmymm.sh: This.
6897
05bcf62a
JM
68982012-11-07 Joseph Myers <joseph@codesourcery.com>
6899
c4b6cf53
JM
6900 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6901 expectations.
6902 [UNIX98] (pthread_barrier_t): Do not expect.
6903 [UNIX98] (pthread_barrierattr_t): Likewise.
6904 [UNIX98] (pthread_spinlock_t): Likewise.
6905 [UNIX98] (pthread_barrier_destroy): Likewise.
6906 [UNIX98] (pthread_barrier_init): Likewise.
6907 [UNIX98] (pthread_barrier_wait): Likewise.
6908 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6909 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6910 [UNIX98] (pthread_barrierattr_init): Likewise.
6911 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6912 [UNIX98] (pthread_getcpuclockid): Likewise.
6913 [UNIX98] (pthread_mutex_timedlock): Likewise.
6914 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6915 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6916 [UNIX98] (pthread_sigmask): Likewise.
6917 [UNIX98] (pthread_spin_destroy): Likewise.
6918 [UNIX98] (pthread_spin_init): Likewise.
6919 [UNIX98] (pthread_spin_lock): Likewise.
6920 [UNIX98] (pthread_spin_trylock): Likewise.
6921 [UNIX98] (pthread_spin_unlock): Likewise.
6922 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6923 Do not expect.
6924 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6925 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6926 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6927 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6928 [XPG3 || XPG4] (pthread_key_t): Likewise.
6929 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6930 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6931 [XPG3 || XPG4] (pthread_once_t): Likewise.
6932 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6933 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
6934 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
6935 [XPG3 || XPG4] (pthread_t): Likewise.
6936
cbe6e120
JM
6937 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
6938 not expect.
6939 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
6940
1b126443
JM
6941 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
6942 Change function return type to int.
6943
b961a573
JM
6944 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
6945 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
6946 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
6947 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
6948 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
6949 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
6950 [!POSIX] (posix_madvise): Likewise.
6951 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
6952 && !UNIX98].
6953 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
6954 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
6955 (mode_t): Likewise.
6956 (posix_mem_offset): Likewise.
6957 (posix_typed_mem_get_info): Likewise.
6958 (posix_typed_mem_open): Likewise.
6959
9e188909
JM
6960 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
6961 Change condition to [XOPEN2K8].
6962
05bcf62a
JM
6963 * conform/conformtest.pl: Preprocess allow-header data with -x c
6964 instead of from stdin.
6965 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
6966 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
6967 [C99-based standards] (cerfc): Likewise.
6968 [C99-based standards] (cexp2): Likewise.
6969 [C99-based standards] (cexpm1): Likewise.
6970 [C99-based standards] (clog10): Likewise.
6971 [C99-based standards] (clog1p): Likewise.
6972 [C99-based standards] (clog2): Likewise.
6973 [C99-based standards] (clgamma): Likewise.
6974 [C99-based standards] (ctgamma): Likewise.
6975 [C99-based standards] (cerff): Likewise.
6976 [C99-based standards] (cerfcf): Likewise.
6977 [C99-based standards] (cexp2f): Likewise.
6978 [C99-based standards] (cexpm1f): Likewise.
6979 [C99-based standards] (clog10f): Likewise.
6980 [C99-based standards] (clog1pf): Likewise.
6981 [C99-based standards] (clog2f): Likewise.
6982 [C99-based standards] (clgammaf): Likewise.
6983 [C99-based standards] (ctgammaf): Likewise.
6984 [C99-based standards] (cerfl): Likewise.
6985 [C99-based standards] (cerfcl): Likewise.
6986 [C99-based standards] (cexp2l): Likewise.
6987 [C99-based standards] (cexpm1l): Likewise.
6988 [C99-based standards] (clog10l): Likewise.
6989 [C99-based standards] (clog1pl): Likewise.
6990 [C99-based standards] (clog2l): Likewise.
6991 [C99-based standards] (clgammal): Likewise.
6992 [C99-based standards] (ctgammal): Likewise.
6993 * conform/data/inttypes.h-data [C99-based standards]: Include
6994 stdint.h-data. Remove all expectations for stdint.h contents.
6995 [C99-based standards] (PRI*): Do not allow.
6996 [C99-based standards] (SCN*): Likewise.
6997 [C99-based standards] (*_t): Likewise.
6998 [C99-based-standards] (PRId8): Expect macro.
6999 [C99-based-standards] (PRIi8): Likewise.
7000 [C99-based-standards] (PRIo8): Likewise.
7001 [C99-based-standards] (PRIu8): Likewise.
7002 [C99-based-standards] (PRIx8): Likewise.
7003 [C99-based-standards] (PRIX8): Likewise.
7004 [C99-based-standards] (SCNd8): Likewise.
7005 [C99-based-standards] (SCNi8): Likewise.
7006 [C99-based-standards] (SCNo8): Likewise.
7007 [C99-based-standards] (SCNu8): Likewise.
7008 [C99-based-standards] (SCNx8): Likewise.
7009 [C99-based-standards] (PRIdLEAST8): Likewise.
7010 [C99-based-standards] (PRIiLEAST8): Likewise.
7011 [C99-based-standards] (PRIoLEAST8): Likewise.
7012 [C99-based-standards] (PRIuLEAST8): Likewise.
7013 [C99-based-standards] (PRIxLEAST8): Likewise.
7014 [C99-based-standards] (PRIXLEAST8): Likewise.
7015 [C99-based-standards] (SCNdLEAST8): Likewise.
7016 [C99-based-standards] (SCNiLEAST8): Likewise.
7017 [C99-based-standards] (SCNoLEAST8): Likewise.
7018 [C99-based-standards] (SCNuLEAST8): Likewise.
7019 [C99-based-standards] (SCNxLEAST8): Likewise.
7020 [C99-based-standards] (PRIdFAST8): Likewise.
7021 [C99-based-standards] (PRIiFAST8): Likewise.
7022 [C99-based-standards] (PRIoFAST8): Likewise.
7023 [C99-based-standards] (PRIuFAST8): Likewise.
7024 [C99-based-standards] (PRIxFAST8): Likewise.
7025 [C99-based-standards] (PRIXFAST8): Likewise.
7026 [C99-based-standards] (SCNdFAST8): Likewise.
7027 [C99-based-standards] (SCNiFAST8): Likewise.
7028 [C99-based-standards] (SCNoFAST8): Likewise.
7029 [C99-based-standards] (SCNuFAST8): Likewise.
7030 [C99-based-standards] (SCNxFAST8): Likewise.
7031 [C99-based-standards] (PRId16): Likewise.
7032 [C99-based-standards] (PRIi16): Likewise.
7033 [C99-based-standards] (PRIo16): Likewise.
7034 [C99-based-standards] (PRIu16): Likewise.
7035 [C99-based-standards] (PRIx16): Likewise.
7036 [C99-based-standards] (PRIX16): Likewise.
7037 [C99-based-standards] (SCNd16): Likewise.
7038 [C99-based-standards] (SCNi16): Likewise.
7039 [C99-based-standards] (SCNo16): Likewise.
7040 [C99-based-standards] (SCNu16): Likewise.
7041 [C99-based-standards] (SCNx16): Likewise.
7042 [C99-based-standards] (PRIdLEAST16): Likewise.
7043 [C99-based-standards] (PRIiLEAST16): Likewise.
7044 [C99-based-standards] (PRIoLEAST16): Likewise.
7045 [C99-based-standards] (PRIuLEAST16): Likewise.
7046 [C99-based-standards] (PRIxLEAST16): Likewise.
7047 [C99-based-standards] (PRIXLEAST16): Likewise.
7048 [C99-based-standards] (SCNdLEAST16): Likewise.
7049 [C99-based-standards] (SCNiLEAST16): Likewise.
7050 [C99-based-standards] (SCNoLEAST16): Likewise.
7051 [C99-based-standards] (SCNuLEAST16): Likewise.
7052 [C99-based-standards] (SCNxLEAST16): Likewise.
7053 [C99-based-standards] (PRIdFAST16): Likewise.
7054 [C99-based-standards] (PRIiFAST16): Likewise.
7055 [C99-based-standards] (PRIoFAST16): Likewise.
7056 [C99-based-standards] (PRIuFAST16): Likewise.
7057 [C99-based-standards] (PRIxFAST16): Likewise.
7058 [C99-based-standards] (PRIXFAST16): Likewise.
7059 [C99-based-standards] (SCNdFAST16): Likewise.
7060 [C99-based-standards] (SCNiFAST16): Likewise.
7061 [C99-based-standards] (SCNoFAST16): Likewise.
7062 [C99-based-standards] (SCNuFAST16): Likewise.
7063 [C99-based-standards] (SCNxFAST16): Likewise.
7064 [C99-based-standards] (PRId32): Likewise.
7065 [C99-based-standards] (PRIi32): Likewise.
7066 [C99-based-standards] (PRIo32): Likewise.
7067 [C99-based-standards] (PRIu32): Likewise.
7068 [C99-based-standards] (PRIx32): Likewise.
7069 [C99-based-standards] (PRIX32): Likewise.
7070 [C99-based-standards] (SCNd32): Likewise.
7071 [C99-based-standards] (SCNi32): Likewise.
7072 [C99-based-standards] (SCNo32): Likewise.
7073 [C99-based-standards] (SCNu32): Likewise.
7074 [C99-based-standards] (SCNx32): Likewise.
7075 [C99-based-standards] (PRIdLEAST32): Likewise.
7076 [C99-based-standards] (PRIiLEAST32): Likewise.
7077 [C99-based-standards] (PRIoLEAST32): Likewise.
7078 [C99-based-standards] (PRIuLEAST32): Likewise.
7079 [C99-based-standards] (PRIxLEAST32): Likewise.
7080 [C99-based-standards] (PRIXLEAST32): Likewise.
7081 [C99-based-standards] (SCNdLEAST32): Likewise.
7082 [C99-based-standards] (SCNiLEAST32): Likewise.
7083 [C99-based-standards] (SCNoLEAST32): Likewise.
7084 [C99-based-standards] (SCNuLEAST32): Likewise.
7085 [C99-based-standards] (SCNxLEAST32): Likewise.
7086 [C99-based-standards] (PRIdFAST32): Likewise.
7087 [C99-based-standards] (PRIiFAST32): Likewise.
7088 [C99-based-standards] (PRIoFAST32): Likewise.
7089 [C99-based-standards] (PRIuFAST32): Likewise.
7090 [C99-based-standards] (PRIxFAST32): Likewise.
7091 [C99-based-standards] (PRIXFAST32): Likewise.
7092 [C99-based-standards] (SCNdFAST32): Likewise.
7093 [C99-based-standards] (SCNiFAST32): Likewise.
7094 [C99-based-standards] (SCNoFAST32): Likewise.
7095 [C99-based-standards] (SCNuFAST32): Likewise.
7096 [C99-based-standards] (SCNxFAST32): Likewise.
7097 [C99-based-standards] (PRId64): Likewise.
7098 [C99-based-standards] (PRIi64): Likewise.
7099 [C99-based-standards] (PRIo64): Likewise.
7100 [C99-based-standards] (PRIu64): Likewise.
7101 [C99-based-standards] (PRIx64): Likewise.
7102 [C99-based-standards] (PRIX64): Likewise.
7103 [C99-based-standards] (SCNd64): Likewise.
7104 [C99-based-standards] (SCNi64): Likewise.
7105 [C99-based-standards] (SCNo64): Likewise.
7106 [C99-based-standards] (SCNu64): Likewise.
7107 [C99-based-standards] (SCNx64): Likewise.
7108 [C99-based-standards] (PRIdLEAST64): Likewise.
7109 [C99-based-standards] (PRIiLEAST64): Likewise.
7110 [C99-based-standards] (PRIoLEAST64): Likewise.
7111 [C99-based-standards] (PRIuLEAST64): Likewise.
7112 [C99-based-standards] (PRIxLEAST64): Likewise.
7113 [C99-based-standards] (PRIXLEAST64): Likewise.
7114 [C99-based-standards] (SCNdLEAST64): Likewise.
7115 [C99-based-standards] (SCNiLEAST64): Likewise.
7116 [C99-based-standards] (SCNoLEAST64): Likewise.
7117 [C99-based-standards] (SCNuLEAST64): Likewise.
7118 [C99-based-standards] (SCNxLEAST64): Likewise.
7119 [C99-based-standards] (PRIdFAST64): Likewise.
7120 [C99-based-standards] (PRIiFAST64): Likewise.
7121 [C99-based-standards] (PRIoFAST64): Likewise.
7122 [C99-based-standards] (PRIuFAST64): Likewise.
7123 [C99-based-standards] (PRIxFAST64): Likewise.
7124 [C99-based-standards] (PRIXFAST64): Likewise.
7125 [C99-based-standards] (SCNdFAST64): Likewise.
7126 [C99-based-standards] (SCNiFAST64): Likewise.
7127 [C99-based-standards] (SCNoFAST64): Likewise.
7128 [C99-based-standards] (SCNuFAST64): Likewise.
7129 [C99-based-standards] (SCNxFAST64): Likewise.
7130 [C99-based-standards] (PRIdMAX): Likewise.
7131 [C99-based-standards] (PRIiMAX): Likewise.
7132 [C99-based-standards] (PRIoMAX): Likewise.
7133 [C99-based-standards] (PRIuMAX): Likewise.
7134 [C99-based-standards] (PRIxMAX): Likewise.
7135 [C99-based-standards] (PRIXMAX): Likewise.
7136 [C99-based-standards] (SCNdMAX): Likewise.
7137 [C99-based-standards] (SCNiMAX): Likewise.
7138 [C99-based-standards] (SCNoMAX): Likewise.
7139 [C99-based-standards] (SCNuMAX): Likewise.
7140 [C99-based-standards] (SCNxMAX): Likewise.
7141 [C99-based-standards] (PRIdPTR): Likewise.
7142 [C99-based-standards] (PRIiPTR): Likewise.
7143 [C99-based-standards] (PRIoPTR): Likewise.
7144 [C99-based-standards] (PRIuPTR): Likewise.
7145 [C99-based-standards] (PRIxPTR): Likewise.
7146 [C99-based-standards] (PRIXPTR): Likewise.
7147 [C99-based-standards] (SCNdPTR): Likewise.
7148 [C99-based-standards] (SCNiPTR): Likewise.
7149 [C99-based-standards] (SCNoPTR): Likewise.
7150 [C99-based-standards] (SCNuPTR): Likewise.
7151 [C99-based-standards] (SCNxPTR): Likewise.
7152 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7153 allow.
7154 * conform/data/stdint.h-data: Update comments to clarify
7155 requirements.
7156 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7157 type.
7158 [C99-based standards] (INT8_MAX): Likewise.
7159 [C99-based standards] (INT16_MIN): Likewise.
7160 [C99-based standards] (INT16_MAX): Likewise.
7161 [C99-based standards] (INT32_MIN): Likewise.
7162 [C99-based standards] (INT32_MAX): Likewise.
7163 [C99-based standards] (INT64_MIN): Likewise.
7164 [C99-based standards] (INT64_MAX): Likewise.
7165 [C99-based standards] (UINT8_MAX): Likewise.
7166 [C99-based standards] (UINT16_MAX): Likewise.
7167 [C99-based standards] (UINT32_MAX): Likewise.
7168 [C99-based standards] (UINT64_MAX): Likewise.
7169 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7170 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7171 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7172 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7173 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7174 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7175 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7176 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7177 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7178 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7179 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7180 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7181 [C99-based standards] (INT_FAST8_MIN): Likewise.
7182 [C99-based standards] (INT_FAST8_MAX): Likewise.
7183 [C99-based standards] (INT_FAST16_MIN): Likewise.
7184 [C99-based standards] (INT_FAST16_MAX): Likewise.
7185 [C99-based standards] (INT_FAST32_MIN): Likewise.
7186 [C99-based standards] (INT_FAST32_MAX): Likewise.
7187 [C99-based standards] (INT_FAST64_MIN): Likewise.
7188 [C99-based standards] (INT_FAST64_MAX): Likewise.
7189 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7190 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7191 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7192 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7193 [C99-based standards] (INTPTR_MIN): Likewise.
7194 [C99-based standards] (INTPTR_MAX): Likewise.
7195 [C99-based standards] (UINTPTR_MAX): Likewise.
7196 [C99-based standards] (INTMAX_MIN): Likewise.
7197 [C99-based standards] (INTMAX_MAX): Likewise.
7198 [C99-based standards] (UINTMAX_MAX): Likewise.
7199 [C99-based standards] (PTRDIFF_MIN): Likewise.
7200 [C99-based standards] (PTRDIFF_MAX): Likewise.
7201 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7202 [C99-based standards] (SIZE_MAX): Likewise.
7203 [C99-based standards] (WCHAR_MAX): Likewise.
7204 [C99-based standards] (WINT_MAX): Likewise.
7205 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7206 constraint on value.
7207 [C99-based standards] (WCHAR_MIN): Likewise.
7208 [C99-based standards] (WINT_MIN): Likewise.
7209 [C99-based standards] (*_t): Allow.
7210 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7211 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7212 Include math.h-data and complex.h-data. Remove all expectations
7213 of math.h and complex.h contents.
7214 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7215 at end of line.
7216 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7217 (struct tm): Expect tag.
7218 [C99-based-standards] (wcstof): Expect function.
7219 [C99-based-standards] (wcstold): Likewise.
7220 [C99-based-standards] (wcstoll): Likewise.
7221 [C99-based-standards] (wcstoull): Likewise.
7222 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7223 macro-int-constant. Specify type.
7224 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7225 constraint on value.
7226 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7227 Specify type.
7228 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7229 Specify value.
7230 [ISO C standards]: Do not allow headers.
7231 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7232 wcs[abcdefghijklmnopqrstuvwxyz]*.
7233 [ISO C standards] (*_t): Do not allow.
7234 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7235 Expect function.
7236 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7237 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7238 Specify type.
7239 [ISO C standards]: Do not allow headers.
7240 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7241 is[abcdefghijklmnopqrstuvwxyz]*.
7242 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7243 to[abcdefghijklmnopqrstuvwxyz]*.
7244 [ISO C standards] (*_t): Do not allow.
7245 * conform/data/stdalign.h-data: New file.
7246 * conform/data/stdbool.h-data: Likewise.
7247 * conform/data/stdnoreturn.h-data: Likewise.
7248
7514feb8
RM
72492012-11-07 Roland McGrath <roland@hack.frob.com>
7250
7251 [BZ #14815]
7252 * manual/filesys.texi (Directory Entries): Typo fix.
7253 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7254
19b2ecfc
MS
72552012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7256
7257 * elf/elf.h (EM_AARCH64): New macro.
7258 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7259 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7260 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7261 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7262 (R_AARCH64_TLSDESC): Likewise.
7263 (NT_ARM_TLS): Likewise.
7264 (NT_ARM_HW_BREAK): Likewise.
7265 (NT_ARM_HW_WATCH): Likewise.
7266
60e235ee
JM
72672012-11-07 Joseph Myers <joseph@codesourcery.com>
7268
7269 [BZ #14811]
7270 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7271 (__ieee754_powl): Saturate nonzero exponents with absolute value
7272 below 0x1p-79 to +/- 0x1p-79.
7273 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7274 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7275 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7276 nonzero exponents with absolute value below 0x1p-32 to +/-
7277 0x1p-32.
7278 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7279 (__ieee754_powl): Saturate nonzero exponents with absolute value
7280 below 0x1p-79 to +/- 0x1p-79.
7281 * math/libm-test.inc (pow_test): Add more tests.
7282
0ab234b7
AK
72832012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7284
7285 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7286 _dl_s390_cap_flags with kernel. Increase string length.
7287 (_dl_s390_platforms): Add z196 and zEC12.
7288
45832f74
JM
72892012-11-07 Joseph Myers <joseph@codesourcery.com>
7290
7291 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7292 Change XOPEN21K to XOPEN2K.
7293
19218757
MK
72942012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7295
7296 * string/memmove.c: Use memcpy when possible.
7297
c5f45721
AJ
72982012-11-06 Andreas Jaeger <aj@suse.de>
7299
7300 * po/eo.po: Update from translation team.
7301
82477c28
JM
73022012-11-06 Joseph Myers <joseph@codesourcery.com>
7303
7304 [BZ #14793]
7305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7306 exponent and small x and y exponents, scale x or y up. Increase
7307 by 2 the exponent used in scaling up.
7308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7309 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7310 * math/libm-test.inc (fma_test): Add more tests.
7311 (fma_test_towardzero): Likewise.
7312 (fma_test_downward): Likewise.
7313 (fma_test_upward): Likewise.
7314
99252c8c
JM
73152012-11-05 Joseph Myers <joseph@codesourcery.com>
7316
acfa885f
JM
7317 [BZ #14805]
7318 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7319 fenv_t *.
7320
99252c8c
JM
7321 [BZ #14801]
7322 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7323 namespace for names of struct fields.
7324 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7325 fenv_t fields.
7326 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7327 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7328
d6d98dea
ST
73292012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7330
7331 [BZ #3665]
7332 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7333
e10bb107
TS
73342012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7335
7336 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7337 PTR_DEMANGLE.
7338
7339 [BZ #5246]
7340 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7341 PTR_DEMANGLE.
7342
a0c2940d
JM
73432012-11-04 Joseph Myers <joseph@codesourcery.com>
7344
7345 [BZ #14797]
7346 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7347 definitely overflow as x * y not x * y + z.
7348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7350 * math/libm-test.inc (fma_test): Add more tests.
7351 (fma_test_towardzero): Likewise.
7352 (fma_test_downward): Likewise.
7353 (fma_test_upward): Likewise.
7354
b830319d
TS
73552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7356
7357 [BZ #157]
7358
7359 * include/stub-tag.h: Remove file.
7360 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7361 '#include' of it.
7362 * manual/maint.texi (Porting): Don't reference it.
7363 * Makerules ($(objpfx)stubs): Likewise.
7364 * dirent/closedir.c: Don't include <stub-tag.h>.
7365 * dirent/dirfd.c: Likewise.
7366 * dirent/fdopendir.c: Likewise.
7367 * dirent/getdents.c: Likewise.
7368 * dirent/getdents64.c: Likewise.
7369 * dirent/opendir.c: Likewise.
7370 * dirent/readdir.c: Likewise.
7371 * dirent/readdir64.c: Likewise.
7372 * dirent/readdir64_r.c: Likewise.
7373 * dirent/readdir_r.c: Likewise.
7374 * dirent/rewinddir.c: Likewise.
7375 * dirent/seekdir.c: Likewise.
7376 * dirent/telldir.c: Likewise.
7377 * gmon/profil.c: Likewise.
7378 * grp/setgroups.c: Likewise.
7379 * inet/if_index.c: Likewise.
7380 * io/access.c: Likewise.
7381 * io/chdir.c: Likewise.
7382 * io/chmod.c: Likewise.
7383 * io/chown.c: Likewise.
7384 * io/close.c: Likewise.
7385 * io/dup.c: Likewise.
7386 * io/dup2.c: Likewise.
7387 * io/dup3.c: Likewise.
7388 * io/euidaccess.c: Likewise.
7389 * io/faccessat.c: Likewise.
7390 * io/fchdir.c: Likewise.
7391 * io/fchmod.c: Likewise.
7392 * io/fchmodat.c: Likewise.
7393 * io/fchown.c: Likewise.
7394 * io/fchownat.c: Likewise.
7395 * io/fcntl.c: Likewise.
7396 * io/flock.c: Likewise.
7397 * io/fstatfs.c: Likewise.
7398 * io/fstatfs64.c: Likewise.
7399 * io/fstatvfs.c: Likewise.
7400 * io/fstatvfs64.c: Likewise.
7401 * io/futimens.c: Likewise.
7402 * io/fxstat.c: Likewise.
7403 * io/fxstat64.c: Likewise.
7404 * io/fxstatat.c: Likewise.
7405 * io/fxstatat64.c: Likewise.
7406 * io/getcwd.c: Likewise.
7407 * io/isatty.c: Likewise.
7408 * io/lchmod.c: Likewise.
7409 * io/lchown.c: Likewise.
7410 * io/link.c: Likewise.
7411 * io/linkat.c: Likewise.
7412 * io/lseek.c: Likewise.
7413 * io/lseek64.c: Likewise.
7414 * io/lxstat64.c: Likewise.
7415 * io/mkdir.c: Likewise.
7416 * io/mkdirat.c: Likewise.
7417 * io/mkfifo.c: Likewise.
7418 * io/mkfifoat.c: Likewise.
7419 * io/open.c: Likewise.
7420 * io/open64.c: Likewise.
7421 * io/openat.c: Likewise.
7422 * io/openat64.c: Likewise.
7423 * io/pipe.c: Likewise.
7424 * io/pipe2.c: Likewise.
7425 * io/poll.c: Likewise.
7426 * io/posix_fadvise.c: Likewise.
7427 * io/posix_fadvise64.c: Likewise.
7428 * io/posix_fallocate.c: Likewise.
7429 * io/posix_fallocate64.c: Likewise.
7430 * io/read.c: Likewise.
7431 * io/readlink.c: Likewise.
7432 * io/readlinkat.c: Likewise.
7433 * io/rmdir.c: Likewise.
7434 * io/sendfile.c: Likewise.
7435 * io/sendfile64.c: Likewise.
7436 * io/statfs.c: Likewise.
7437 * io/statfs64.c: Likewise.
7438 * io/statvfs.c: Likewise.
7439 * io/statvfs64.c: Likewise.
7440 * io/symlink.c: Likewise.
7441 * io/symlinkat.c: Likewise.
7442 * io/ttyname.c: Likewise.
7443 * io/ttyname_r.c: Likewise.
7444 * io/umask.c: Likewise.
7445 * io/unlink.c: Likewise.
7446 * io/unlinkat.c: Likewise.
7447 * io/utime.c: Likewise.
7448 * io/utimensat.c: Likewise.
7449 * io/write.c: Likewise.
7450 * io/xmknod.c: Likewise.
7451 * io/xmknodat.c: Likewise.
7452 * io/xstat.c: Likewise.
7453 * io/xstat64.c: Likewise.
7454 * login/getpt.c: Likewise.
7455 * login/grantpt.c: Likewise.
7456 * login/unlockpt.c: Likewise.
7457 * math/e_acoshl.c: Likewise.
7458 * math/e_acosl.c: Likewise.
7459 * math/e_asinl.c: Likewise.
7460 * math/e_atan2l.c: Likewise.
7461 * math/e_atanhl.c: Likewise.
7462 * math/e_coshl.c: Likewise.
7463 * math/e_expl.c: Likewise.
7464 * math/e_fmodl.c: Likewise.
7465 * math/e_gammal_r.c: Likewise.
7466 * math/e_hypotl.c: Likewise.
7467 * math/e_j0l.c: Likewise.
7468 * math/e_j1l.c: Likewise.
7469 * math/e_jnl.c: Likewise.
7470 * math/e_lgammal_r.c: Likewise.
7471 * math/e_log10l.c: Likewise.
7472 * math/e_log2l.c: Likewise.
7473 * math/e_logl.c: Likewise.
7474 * math/e_powl.c: Likewise.
7475 * math/e_rem_pio2l.c: Likewise.
7476 * math/e_sinhl.c: Likewise.
7477 * math/e_sqrtl.c: Likewise.
7478 * math/fclrexcpt.c: Likewise.
7479 * math/fedisblxcpt.c: Likewise.
7480 * math/feenablxcpt.c: Likewise.
7481 * math/fegetenv.c: Likewise.
7482 * math/fegetexcept.c: Likewise.
7483 * math/fegetround.c: Likewise.
7484 * math/feholdexcpt.c: Likewise.
7485 * math/fesetenv.c: Likewise.
7486 * math/fesetround.c: Likewise.
7487 * math/feupdateenv.c: Likewise.
7488 * math/fgetexcptflg.c: Likewise.
7489 * math/fraiseexcpt.c: Likewise.
7490 * math/fsetexcptflg.c: Likewise.
7491 * math/ftestexcept.c: Likewise.
7492 * math/k_cosl.c: Likewise.
7493 * math/k_rem_pio2l.c: Likewise.
7494 * math/k_sinl.c: Likewise.
7495 * math/k_tanl.c: Likewise.
7496 * math/s_asinhl.c: Likewise.
7497 * math/s_atanl.c: Likewise.
7498 * math/s_cbrtl.c: Likewise.
7499 * math/s_erfl.c: Likewise.
7500 * math/s_expm1l.c: Likewise.
7501 * math/s_log1pl.c: Likewise.
7502 * math/s_tanhl.c: Likewise.
7503 * misc/acct.c: Likewise.
7504 * misc/brk.c: Likewise.
7505 * misc/chflags.c: Likewise.
7506 * misc/chroot.c: Likewise.
7507 * misc/fchflags.c: Likewise.
7508 * misc/fgetxattr.c: Likewise.
7509 * misc/flistxattr.c: Likewise.
7510 * misc/fremovexattr.c: Likewise.
7511 * misc/fsetxattr.c: Likewise.
7512 * misc/fsync.c: Likewise.
7513 * misc/ftruncate.c: Likewise.
7514 * misc/futimes.c: Likewise.
7515 * misc/futimesat.c: Likewise.
7516 * misc/getdomain.c: Likewise.
7517 * misc/getdtsz.c: Likewise.
7518 * misc/gethostid.c: Likewise.
7519 * misc/gethostname.c: Likewise.
7520 * misc/getloadavg.c: Likewise.
7521 * misc/getpagesize.c: Likewise.
7522 * misc/getsysstats.c: Likewise.
7523 * misc/getxattr.c: Likewise.
7524 * misc/gtty.c: Likewise.
7525 * misc/ioctl.c: Likewise.
7526 * misc/lgetxattr.c: Likewise.
7527 * misc/listxattr.c: Likewise.
7528 * misc/llistxattr.c: Likewise.
7529 * misc/lremovexattr.c: Likewise.
7530 * misc/lsetxattr.c: Likewise.
7531 * misc/lutimes.c: Likewise.
7532 * misc/madvise.c: Likewise.
7533 * misc/mincore.c: Likewise.
7534 * misc/mlock.c: Likewise.
7535 * misc/mlockall.c: Likewise.
7536 * misc/mmap.c: Likewise.
7537 * misc/mprotect.c: Likewise.
7538 * misc/msync.c: Likewise.
7539 * misc/munlock.c: Likewise.
7540 * misc/munlockall.c: Likewise.
7541 * misc/munmap.c: Likewise.
7542 * misc/preadv.c: Likewise.
7543 * misc/preadv64.c: Likewise.
7544 * misc/ptrace.c: Likewise.
7545 * misc/pwritev.c: Likewise.
7546 * misc/pwritev64.c: Likewise.
7547 * misc/readv.c: Likewise.
7548 * misc/reboot.c: Likewise.
7549 * misc/remap_file_pages.c: Likewise.
7550 * misc/removexattr.c: Likewise.
7551 * misc/revoke.c: Likewise.
7552 * misc/select.c: Likewise.
7553 * misc/setdomain.c: Likewise.
7554 * misc/setegid.c: Likewise.
7555 * misc/seteuid.c: Likewise.
7556 * misc/sethostid.c: Likewise.
7557 * misc/sethostname.c: Likewise.
7558 * misc/setregid.c: Likewise.
7559 * misc/setreuid.c: Likewise.
7560 * misc/setxattr.c: Likewise.
7561 * misc/sstk.c: Likewise.
7562 * misc/stty.c: Likewise.
7563 * misc/swapoff.c: Likewise.
7564 * misc/swapon.c: Likewise.
7565 * misc/sync.c: Likewise.
7566 * misc/syncfs.c: Likewise.
7567 * misc/syscall.c: Likewise.
7568 * misc/truncate.c: Likewise.
7569 * misc/ualarm.c: Likewise.
7570 * misc/usleep.c: Likewise.
7571 * misc/ustat.c: Likewise.
7572 * misc/utimes.c: Likewise.
7573 * misc/vhangup.c: Likewise.
7574 * misc/writev.c: Likewise.
7575 * posix/_exit.c: Likewise.
7576 * posix/alarm.c: Likewise.
7577 * posix/execve.c: Likewise.
7578 * posix/fexecve.c: Likewise.
7579 * posix/fork.c: Likewise.
7580 * posix/fpathconf.c: Likewise.
7581 * posix/getaddrinfo.c: Likewise.
7582 * posix/getegid.c: Likewise.
7583 * posix/geteuid.c: Likewise.
7584 * posix/getgid.c: Likewise.
7585 * posix/getgroups.c: Likewise.
7586 * posix/getlogin.c: Likewise.
7587 * posix/getlogin_r.c: Likewise.
7588 * posix/getpgid.c: Likewise.
7589 * posix/getpid.c: Likewise.
7590 * posix/getppid.c: Likewise.
7591 * posix/getresgid.c: Likewise.
7592 * posix/getresuid.c: Likewise.
7593 * posix/getsid.c: Likewise.
7594 * posix/getuid.c: Likewise.
7595 * posix/glob64.c: Likewise.
7596 * posix/nanosleep.c: Likewise.
7597 * posix/pathconf.c: Likewise.
7598 * posix/pause.c: Likewise.
7599 * posix/posix_madvise.c: Likewise.
7600 * posix/pread.c: Likewise.
7601 * posix/pread64.c: Likewise.
7602 * posix/pwrite.c: Likewise.
7603 * posix/pwrite64.c: Likewise.
7604 * posix/sched_getaffinity.c: Likewise.
7605 * posix/sched_getp.c: Likewise.
7606 * posix/sched_gets.c: Likewise.
7607 * posix/sched_primax.c: Likewise.
7608 * posix/sched_primin.c: Likewise.
7609 * posix/sched_rr_gi.c: Likewise.
7610 * posix/sched_setaffinity.c: Likewise.
7611 * posix/sched_setp.c: Likewise.
7612 * posix/sched_sets.c: Likewise.
7613 * posix/sched_yield.c: Likewise.
7614 * posix/setgid.c: Likewise.
7615 * posix/setlogin.c: Likewise.
7616 * posix/setpgid.c: Likewise.
7617 * posix/setresgid.c: Likewise.
7618 * posix/setresuid.c: Likewise.
7619 * posix/setsid.c: Likewise.
7620 * posix/setuid.c: Likewise.
7621 * posix/sleep.c: Likewise.
7622 * posix/spawni.c: Likewise.
7623 * posix/sysconf.c: Likewise.
7624 * posix/times.c: Likewise.
7625 * posix/wait.c: Likewise.
7626 * posix/wait3.c: Likewise.
7627 * posix/wait4.c: Likewise.
7628 * posix/waitpid.c: Likewise.
7629 * resolv/gai_sigqueue.c: Likewise.
7630 * resource/getpriority.c: Likewise.
7631 * resource/getrlimit.c: Likewise.
7632 * resource/getrusage.c: Likewise.
7633 * resource/nice.c: Likewise.
7634 * resource/setpriority.c: Likewise.
7635 * resource/setrlimit.c: Likewise.
7636 * resource/ulimit.c: Likewise.
7637 * rt/aio_cancel.c: Likewise.
7638 * rt/aio_fsync.c: Likewise.
7639 * rt/aio_read.c: Likewise.
7640 * rt/aio_sigqueue.c: Likewise.
7641 * rt/aio_suspend.c: Likewise.
7642 * rt/aio_write.c: Likewise.
7643 * rt/clock_getres.c: Likewise.
7644 * rt/clock_gettime.c: Likewise.
7645 * rt/clock_nanosleep.c: Likewise.
7646 * rt/clock_settime.c: Likewise.
7647 * rt/lio_listio.c: Likewise.
7648 * rt/mq_close.c: Likewise.
7649 * rt/mq_getattr.c: Likewise.
7650 * rt/mq_notify.c: Likewise.
7651 * rt/mq_open.c: Likewise.
7652 * rt/mq_receive.c: Likewise.
7653 * rt/mq_send.c: Likewise.
7654 * rt/mq_setattr.c: Likewise.
7655 * rt/mq_timedreceive.c: Likewise.
7656 * rt/mq_timedsend.c: Likewise.
7657 * rt/mq_unlink.c: Likewise.
7658 * rt/shm_open.c: Likewise.
7659 * rt/shm_unlink.c: Likewise.
7660 * rt/timer_create.c: Likewise.
7661 * rt/timer_delete.c: Likewise.
7662 * rt/timer_getoverr.c: Likewise.
7663 * rt/timer_gettime.c: Likewise.
7664 * rt/timer_settime.c: Likewise.
7665 * setjmp/__longjmp.c: Likewise.
7666 * setjmp/setjmp.c: Likewise.
7667 * signal/kill.c: Likewise.
7668 * signal/killpg.c: Likewise.
7669 * signal/raise.c: Likewise.
7670 * signal/sigaction.c: Likewise.
7671 * signal/sigaltstack.c: Likewise.
7672 * signal/sigblock.c: Likewise.
7673 * signal/sigignore.c: Likewise.
7674 * signal/sigintr.c: Likewise.
7675 * signal/signal.c: Likewise.
7676 * signal/sigpause.c: Likewise.
7677 * signal/sigpending.c: Likewise.
7678 * signal/sigqueue.c: Likewise.
7679 * signal/sigreturn.c: Likewise.
7680 * signal/sigset.c: Likewise.
7681 * signal/sigsetmask.c: Likewise.
7682 * signal/sigstack.c: Likewise.
7683 * signal/sigsuspend.c: Likewise.
7684 * signal/sigtimedwait.c: Likewise.
7685 * signal/sigvec.c: Likewise.
7686 * signal/sigwait.c: Likewise.
7687 * signal/sigwaitinfo.c: Likewise.
7688 * signal/sysv_signal.c: Likewise.
7689 * socket/accept.c: Likewise.
7690 * socket/accept4.c: Likewise.
7691 * socket/bind.c: Likewise.
7692 * socket/connect.c: Likewise.
7693 * socket/getpeername.c: Likewise.
7694 * socket/getsockname.c: Likewise.
7695 * socket/getsockopt.c: Likewise.
7696 * socket/isfdtype.c: Likewise.
7697 * socket/listen.c: Likewise.
7698 * socket/recv.c: Likewise.
7699 * socket/recvfrom.c: Likewise.
7700 * socket/recvmsg.c: Likewise.
7701 * socket/send.c: Likewise.
7702 * socket/sendmsg.c: Likewise.
7703 * socket/sendto.c: Likewise.
7704 * socket/setsockopt.c: Likewise.
7705 * socket/shutdown.c: Likewise.
7706 * socket/sockatmark.c: Likewise.
7707 * socket/socket.c: Likewise.
7708 * socket/socketpair.c: Likewise.
7709 * stdio-common/ctermid.c: Likewise.
7710 * stdio-common/cuserid.c: Likewise.
7711 * stdio-common/remove.c: Likewise.
7712 * stdio-common/rename.c: Likewise.
7713 * stdio-common/renameat.c: Likewise.
7714 * stdio-common/tempname.c: Likewise.
7715 * stdlib/getcontext.c: Likewise.
7716 * stdlib/makecontext.c: Likewise.
7717 * stdlib/setcontext.c: Likewise.
7718 * stdlib/swapcontext.c: Likewise.
7719 * stdlib/system.c: Likewise.
7720 * streams/fattach.c: Likewise.
7721 * streams/fdetach.c: Likewise.
7722 * streams/getmsg.c: Likewise.
7723 * streams/getpmsg.c: Likewise.
7724 * streams/putmsg.c: Likewise.
7725 * streams/putpmsg.c: Likewise.
7726 * sysdeps/unix/bsd/getpt.c: Likewise.
7727 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7728 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7729 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7731 Likewise.
7732 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7733 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7734 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7735 * sysvipc/msgctl.c: Likewise.
7736 * sysvipc/msgget.c: Likewise.
7737 * sysvipc/msgrcv.c: Likewise.
7738 * sysvipc/msgsnd.c: Likewise.
7739 * sysvipc/semctl.c: Likewise.
7740 * sysvipc/semget.c: Likewise.
7741 * sysvipc/semop.c: Likewise.
7742 * sysvipc/semtimedop.c: Likewise.
7743 * sysvipc/shmat.c: Likewise.
7744 * sysvipc/shmctl.c: Likewise.
7745 * sysvipc/shmdt.c: Likewise.
7746 * sysvipc/shmget.c: Likewise.
7747 * termios/tcdrain.c: Likewise.
7748 * termios/tcflow.c: Likewise.
7749 * termios/tcflush.c: Likewise.
7750 * termios/tcgetattr.c: Likewise.
7751 * termios/tcgetpgrp.c: Likewise.
7752 * termios/tcsendbrk.c: Likewise.
7753 * termios/tcsetattr.c: Likewise.
7754 * termios/tcsetpgrp.c: Likewise.
7755 * time/adjtime.c: Likewise.
7756 * time/clock.c: Likewise.
7757 * time/getitimer.c: Likewise.
7758 * time/gettimeofday.c: Likewise.
7759 * time/setitimer.c: Likewise.
7760 * time/settimeofday.c: Likewise.
7761 * time/stime.c: Likewise.
7762 * time/time.c: Likewise.
7763
77642012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7765
a20492cf
PT
7766 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7767 /usr/old/bin.
7768
72e182e3
PT
7769 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7770 instead of spaces.
7771 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7772
fbeafede
JM
77732012-11-03 Joseph Myers <joseph@codesourcery.com>
7774
5b5b04d6
JM
7775 [BZ #14796]
7776 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7777 FE_TONEAREST before applying Dekker multiplication and Knuth
7778 addition. Clear inexact exceptions and check for exact zero
7779 results afterwards.
7780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7781 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7783 * math/libm-test.inc (fma_test): Add more tests.
7784 (fma_test_towardzero): Likewise.
7785 (fma_test_downward): Likewise.
7786 (fma_test_upward): Likewise.
7787 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7788 function.
7789 (libc_fesetround): New macro.
7790 (libc_fesetroundf): Likewise.
7791 (libc_fesetroundl): Likewise.
7792 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7793 function.
7794 (libc_fesetround_387): Likewise.
7795 (libc_fesetroundf): New macro.
7796 (libc_fesetround): Likewise.
7797 (libc_fesetroundl): Likewise.
7798 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7799 function.
7800 (libc_fesetroundf): New macro.
7801 (libc_fesetround): Likewise.
7802 (libc_fesetroundl): Likewise.
7803 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7804 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7805 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7806 libm_hidden_ver.
7807 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7808 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7809 libm_hidden_def.
7810 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7811 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7812 libm_hidden_ver.
7813 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7814 libm_hidden_def.
7815
fbeafede
JM
7816 [BZ #3439]
7817 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7818 integer constant usable in #if and use that to give value to enum
7819 constant.
7820 (FE_DIVBYZERO): Likewise.
7821 (FE_UNDERFLOW): Likewise.
7822 (FE_OVERFLOW): Likewise.
7823 (FE_INVALID): Likewise.
7824 (FE_INVALID_SNAN): Likewise.
7825 (FE_INVALID_ISI): Likewise.
7826 (FE_INVALID_IDI): Likewise.
7827 (FE_INVALID_ZDZ): Likewise.
7828 (FE_INVALID_IMZ): Likewise.
7829 (FE_INVALID_COMPARE): Likewise.
7830 (FE_INVALID_SOFTWARE): Likewise.
7831 (FE_INVALID_SQRT): Likewise.
7832 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7833 (FE_TONEAREST): Likewise.
7834 (FE_TOWARDZERO): Likewise.
7835 (FE_UPWARD): Likewise.
7836 (FE_DOWNWARD): Likewise.
7837 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7838 (FE_DIVBYZERO): Likewise.
7839 (FE_OVERFLOW): Likewise.
7840 (FE_UNDERFLOW): Likewise.
7841 (FE_INEXACT): Likewise.
7842 (FE_TONEAREST): Likewise.
7843 (FE_DOWNWARD): Likewise.
7844 (FE_UPWARD): Likewise.
7845 (FE_TOWARDZERO): Likewise.
7846 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7847 (FE_UNDERFLOW): Likewise.
7848 (FE_OVERFLOW): Likewise.
7849 (FE_DIVBYZERO): Likewise.
7850 (FE_INVALID): Likewise.
7851 (FE_TONEAREST): Likewise.
7852 (FE_TOWARDZERO): Likewise.
7853 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7854 (FE_OVERFLOW): Likewise.
7855 (FE_UNDERFLOW): Likewise.
7856 (FE_DIVBYZERO): Likewise.
7857 (FE_INEXACT): Likewise.
7858 (FE_TONEAREST): Likewise.
7859 (FE_TOWARDZERO): Likewise.
7860 (FE_UPWARD): Likewise.
7861 (FE_DOWNWARD): Likewise.
7862 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7863 (FE_DIVBYZERO): Likewise.
7864 (FE_OVERFLOW): Likewise.
7865 (FE_UNDERFLOW): Likewise.
7866 (FE_INEXACT): Likewise.
7867 (FE_TONEAREST): Likewise.
7868 (FE_DOWNWARD): Likewise.
7869 (FE_UPWARD): Likewise.
7870 (FE_TOWARDZERO): Likewise.
7871
105ca950
CM
78722012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7873
7874 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7875
a542b389
AS
78762012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7877
7878 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7879 commands. Quote $PWD.
7880 (blacklist_exports): Don't use remove_newlines. Replace "declare
7881 -x" by "export".
7882 (remove_newlines): Remove.
7883
f62c8abc
L
78842012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7885
7886 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7887 * stdlib/stdlib.h (atof): Moved to ...
7888 * include/bits/stdlib-float.h: Here. New file.
7889 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7890 * stdlib/bits/stdlib-float.h: New file.
7891 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7892 -mno-sse -mno-mmx.
7893 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7894 <xmmintrin.h>.
7895
0155d5b2
JM
78962012-11-02 Joseph Myers <joseph@codesourcery.com>
7897
a68d0680
JM
7898 * conform/conformtest.pl (@headers): Add fenv.h.
7899 * conform/data/fenv.h-data: New file.
7900 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7901 include of <math/fenv.h>.
7902
caf7f573
JM
7903 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7904 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7905 && !UNIX98]. Enables tests for XOPEN2K8.
7906 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7907 POSIX2008]: Likewise.
7908
6c073ad6
JM
7909 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7910 (struct rusage): Do not expect type or its members.
7911
0155d5b2
JM
7912 [BZ #3439]
7913 * math/math.h (FP_NAN): Define macro to integer constant usable in
7914 #if and use that to give value to enum constant.
7915 (FP_INFINITE): Likewise.
7916 (FP_ZERO): Likewise.
7917 (FP_SUBNORMAL): Likewise.
7918 (FP_NORMAL): Likewise.
7919
b5dcacb4
AS
79202012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7921
7922 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7923 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7924 arguments.
7925
f7934be8
RM
79262012-11-02 Roland McGrath <roland@hack.frob.com>
7927
7928 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7929 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7930 autoconf-time if not.
7931 * configure.in: Remove AC_PREREQ.
7932
d7d08bde
TMQMF
79332012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7934
7935 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
7936 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
7937 of the internal implementation.
7938
dcdae19a
JM
79392012-11-02 Joseph Myers <joseph@codesourcery.com>
7940
7941 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
7942 except include of <misc/sys/syslog.h>.
7943
d6cffd3e
AS
79442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7945
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
7947 function returns with a NULL context exit with zero.
7948
b3563932
TMQMF
79492012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7950
7951 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
7952
b288a93d
L
79532012-11-01 H.J. Lu <hongjiu.lu@intel.com>
7954
7955 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
7956 (run_program_cmd): This.
7957 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
7958 (tst_langinfo): New variable. Use it.
7959
a2421a68
SAS
79602012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
7961
7962 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
7963 floating point opcodes.
7964
6f796e1b
TS
79652012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7966
7402596b
TS
7967 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
7968 variable.
7969
d0d4f868
TS
7970 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
7971
6f796e1b
TS
7972 * sysdeps/mach/hurd/powerpc: Remove directory.
7973 * sysdeps/mach/powerpc: Likewise.
7974
4da224a2
AS
79752012-11-01 Andreas Schwab <schwab@linux-m68k.org>
7976
7977 * scripts/check-local-headers.sh: Ignore c++ headers.
7978
341dd673
TS
79792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7980
7981 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
7982 __libc_cleanup_region_start argument.
7983
473611b2
JM
79842012-11-01 Joseph Myers <joseph@codesourcery.com>
7985
7986 [BZ #14784]
7987 [BZ #14785]
7988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
7989 x * y using scaling, not as x * y + z.
7990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7992 * math/libm-test.inc (fma_test): Add more tests.
7993 (fma_test_towardzero): Likewise.
7994 (fma_test_downward): Likewise.
7995 (fma_test_upward): Likewise.
7996
4078da3d
TS
79972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
7998
7999 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8000
903252aa
JM
80012012-10-31 Joseph Myers <joseph@codesourcery.com>
8002
8003 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8004 New variable.
8005
cbc818d0
TS
80062012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8007
8008 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8009
5a03cb1e
AS
80102012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8011
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8013 Fix sort order.
8014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8015 Likewise.
8016
90aff2ff
TMQMF
80172012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8018
8019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8020 Fix the order of the list for glibc 2.17.
8021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8022 Likewise.
8023
1818fcb7
AS
80242012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8025
8026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8027
ef82f4da
JM
80282012-10-31 Joseph Myers <joseph@codesourcery.com>
8029
16a0e2ec
JM
8030 [BZ #14610]
8031 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8032 for low part of x being zero before using __atanl (y).
8033 * math/libm-test.inc (atan2_test): Add another test.
8034
0eb69512
JM
8035 * manual/install.texi (Configuring and compiling): Document
8036 general use of test-wrapper and test-wrapper-env.
8037 * INSTALL: Regenerated.
8038
ef82f4da
JM
8039 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8040 (__fma): Do not extract and scale down low bits on after-rounding
8041 systems when result rounded to normal precision would have normal
8042 exponent.
8043 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8044 (__fmal): Do not extract and scale down low bits on after-rounding
8045 systems when result rounded to normal precision would have normal
8046 exponent.
8047 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8048 (__fmal): Do not extract and scale down low bits on after-rounding
8049 systems when result rounded to normal precision would have normal
8050 exponent.
8051 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8052 macro.
8053 (fma_test): Add more tests.
8054 (fma_test_towardzero): Likewise.
8055 (fma_test_downward): Likewise.
8056 (fma_test_upward): Likewise.
8057
954ef0d9
L
80582012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8059
8060 * sysdeps/i386/tininess.h: Renamed to ...
8061 * sysdeps/x86/tininess.h: This.
8062 * sysdeps/x86_64/tininess.h: Removed.
8063
df61ffb2
JM
80642012-10-30 Joseph Myers <joseph@codesourcery.com>
8065
8066 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8067 input. Use $(build-program-cmd).
8068 ($(objpfx)tst-array1-static.out): Likewise.
8069 ($(objpfx)tst-array2.out): Likewise.
8070 ($(objpfx)tst-array3.out): Likewise.
8071 ($(objpfx)tst-array4.out): Likewise.
8072 ($(objpfx)tst-array5.out): Likewise.
8073 ($(objpfx)tst-array5-static.out): Likewise.
8074
01767843
CM
80752012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8076
47cc1490
CM
8077 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8078 if defined.
8079
01767843
CM
8080 * nss/nsswitch.h (nss_interface_function): Provide new
8081 macro for use with NSS functions.
8082 * grp/initgroups.c: Use new macro.
8083 * nss/getXXbyYY.c: Likewise.
8084 * nss/getXXbyYY_r.c: Likewise.
8085 * nss/getXXent.c: Likewise.
8086 * nss/getXXent_r.c: Likewise.
8087 * sysdeps/posix/getaddrinfo.c: Likewise.
8088
8321aa97
AJ
80892012-10-30 Andreas Jaeger <aj@suse.de>
8090
8091 * po/ru.po: Update Russion translation from translation project.
8092
2a27fd6d
JM
80932012-10-30 Joseph Myers <joseph@codesourcery.com>
8094
8627a232
JM
8095 [BZ #14152]
8096 [BZ #14783]
8097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8098 result and shift together with sticky bit instead of replicating
8099 round-to-nearest rounding.
8100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8101 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8102 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8103 missing underflow exceptions.
8104 (fma_test_towardzero): Add more tests.
8105 (fma_test_downward): Likewise.
8106 (fma_test_upward): Likewise.
8107
2a27fd6d
JM
8108 [BZ #14047]
8109 * sysdeps/generic/tininess.h: New file.
8110 * sysdeps/i386/tininess.h: Likewise.
8111 * sysdeps/sh/tininess.h: Likewise.
8112 * sysdeps/x86_64/tininess.h: Likewise.
8113 * stdlib/tst-strtod-underflow.c: Likewise.
8114 * stdlib/tst-tininess.c: Likewise.
8115 * stdlib/strtod_l.c: Include <tininess.h>.
8116 (round_and_return): Do not set errno for exact underflow cases.
8117 Force an underflow exception when setting errno for underflow.
8118 Determine underflow based on rounding to normal precision if
8119 TININESS_AFTER_ROUNDING.
8120 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8121 ERANGE for exact underflow cases.
8122 * stdlib/Makefile (tests): Add tst-tininess and
8123 tst-strtod-underflow.
8124 ($(objpfx)tst-tininess): Use $(link-libm).
8125 ($(objpfx)tst-strtod-underflow): Likewise.
8126
e7170363
AJ
81272012-10-30 Andreas Jaeger <aj@suse.de>
8128
e5088dc6
AJ
8129 [BZ#14767]
8130 * elf/Makefile (tests): Remove conditional for have-initfini-array
8131 since this is now always required and the variable does not exist
8132 anymore.
8133 (tests-static): Likewise.
8134 (modules-names): Likewise.
8135
e7170363 8136 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8137
8138 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8139 merged with constructor/destructor.
8140 (init_array): Likewise.
8141 * elf/tst-array2dep.c (fini_array): Likewise.
8142 (init_array): Likewise.
8143
60457d8a
MF
81442012-10-29 Mike Frysinger <vapier@gentoo.org>
8145
8146 * manual/message.texi: Delete @cartouche tags.
8147
8bece752
PT
81482012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8149
94ce799f
PT
8150 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8151 EOPNOTSUPP.
8152 * sysdeps/mach/hurd/fsync.c: Likewise.
8153
8bece752
PT
8154 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8155 [_POSIX_REALTIME_SIGNALS]: Change condition to
8156 [_POSIX_REALTIME_SIGNALS > 0].
8157
86ebe6b1
AJ
81582012-10-27 Andreas Jaeger <aj@suse.de>
8159
8160 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8161 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8163 [__WORDSIZE != 64]: Likewise.
8164
54399c08
L
81652012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8166
8167 * iconvdata/tst-table.sh: Remove ${SHELL}.
8168 * iconvdata/tst-tables.sh: Likewise.
8169
e2211bed
DM
81702012-10-25 David S. Miller <davem@davemloft.net>
8171
8172 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8173 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8174 of strtoull.
8175
f303f97c
DM
8176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8177 ifunc-impl-list.c
8178 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8179 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8180 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8181 file.
8182
1e9d84cd
RM
81832012-10-25 Roland McGrath <roland@hack.frob.com>
8184
8185 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8186 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8187 __getdirentries.
8188
df381762
JM
81892012-10-25 Joseph Myers <joseph@codesourcery.com>
8190 Jim Blandy <jimb@codesourcery.com>
8191
8192 * scripts/cross-test-ssh.sh: New file.
8193 * manual/install.texi (Configuring and compiling): Document use of
8194 cross-test-ssh.sh.
8195 * INSTALL: Regenerated.
8196
bff64913
PT
81972012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8198
8199 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8200 EOPNOTSUPP.
8201
25fe8932
JM
82022012-10-25 Joseph Myers <joseph@codesourcery.com>
8203
8204 * Makeconfig (run-program-prefix): Fix comment.
8205
cc1290d0
JM
82062012-10-24 Joseph Myers <joseph@codesourcery.com>
8207 Jim Blandy <jimb@codesourcery.com>
8208
8209 * Makeconfig (test-wrapper): New variable,
8210 (test-wrapper-env): Likewise.
8211 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8212 (run-built-tests): Define to yes.
8213 (run-program-prefix): Use $(test-wrapper).
8214 (built-program-cmd): Likewise.
8215 * Rules (make-test-out): Use $(test-wrapper-env) and
8216 $(host-built-program-cmd).
8217 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8218 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8219 tst-pathopt.sh.
8220 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8221 $(test-wrapper-env) to tst-rtld-load-self.sh.
8222 ($(objpfx)order2.out): Use $(test-wrapper).
8223 ($(objpfx)tst-initorder.out): Likewise.
8224 ($(objpfx)tst-initorder2.out): Likewise.
8225 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8226 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8227 (test_wrapper_env): New variable. Use it to run ld.so.
8228 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8229 Use it to run ld.so.
8230 (test_wrapper_env): Likewise.
8231 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8232 $(test-wrapper) to run-iconv-test.sh.
8233 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8234 (ICONV): Use $test_wrapper.
8235 * posix/Makefile ($(objpfx)globtest.out): Pass
8236 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8237 globtest.sh, not $(run-program-prefix).
8238 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8239 (test_wrapper): Likewise.
8240 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8241 set together with run_via_rtld_prefix.
8242 (run_program_prefix): Define in terms of test_wrapper and
8243 run_via_rtld_prefix.
8244
6e6249d0
RM
82452012-10-24 Roland McGrath <roland@hack.frob.com>
8246
8247 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8248 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8249 Targets removed.
8250
8251 [BZ #14743]
8252 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8253 Declare __clock_getres, __clock_gettime, __clock_settime,
8254 __clock_nanosleep, and __clock_getcpuclockid.
8255 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8256 Remove librt_hidden_def (clock_gettime).
8257 * sysdeps/unix/clock_gettime.c: Likewise.
8258 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8260 * rt/clock_getres.c: Define __clock_getres as an alias.
8261 * sysdeps/posix/clock_getres.c: Likewise.
8262 * rt/clock_settime.c: Define __clock_settime as an alias.
8263 * sysdeps/unix/clock_settime.c: Likewise.
8264 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8265 * sysdeps/unix/clock_nanosleep.c: Likewise.
8266 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8267 * rt/clock-compat.c: New file.
8268 * rt/Makefile (librt-routines): Add clock-compat and move
8269 $(clock-routines) to ...
8270 (routines): ... here, new variable.
8271 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8272 Don't add get_clockfreq here.
8273 * rt/Versions (libc: GLIBC_2.17): New version set.
8274 Add clock_* symbols here.
8275 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8276 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8277 (GLIBC_2.17): Add clock_* symbols.
8278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8280 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8282 Likewise.
8283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8284 Likewise.
8285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8289 * NEWS: Mention the move.
8290
8291 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8292 Use __open, __read, __close rather than their public counterparts.
8293 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8294 (__get_clockfreq_via_cpuinfo): Likewise.
8295 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8296 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8297
8298 * config.h.in (HAVE_IFUNC): New #undef.
8299 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8300 was successful.
8301 * configure: Regenerated.
8302
0cae3f4b
MF
83032012-10-24 Mike Frysinger <vapier@gentoo.org>
8304
8305 * configure.in: Move READELF check to start of file.
8306 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8307 libc_cv_asm_gnu_indirect_function in the process.
8308 * configure: Regenerated.
8309
8175a253
MF
83102012-10-24 Mike Frysinger <vapier@gentoo.org>
8311
8312 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8313 send the output to /dev/null.
8314 (libc_cv_cc_with_libunwind): Likewise.
8315 (libc_cv_as_noexecstack): Likewise.
8316 * configure: Regenerate.
8317
0708a7d1
JM
83182012-10-24 Joseph Myers <joseph@codesourcery.com>
8319
10b40d85
JM
8320 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8321
0708a7d1
JM
8322 * posix/globtest.sh (TMPDIR): Do not set.
8323 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8324 (testout): Likewise.
8325
9fddec1a
AJ
83262012-10-24 Andreas Jaeger <aj@suse.de>
8327
3a8db22f
AJ
8328 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8329 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8330 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8331 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8332 posix_fadvise64, posix_fallocate64.
8333
9fddec1a
AJ
8334 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8335 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8336 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8337 Likewise.
8338 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8339 Likewise.
8340 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8341
8342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8343 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8344 <bits/fcntl-linux.h>.
8345 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8346
8347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8348 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8349 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8350 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8351 [__WORDSIZE != 64]: Likewise.
8352
ebfd1bbd
JM
83532012-10-23 Joseph Myers <joseph@codesourcery.com>
8354
03ac099f
JM
8355 * Makeconfig (run-built-tests): New variable.
8356 * Rules [$(cross-compiling) = yes]: Change condition to
8357 [$(run-built-tests) = no].
8358 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8359 to [$(run-built-tests) = yes].
8360 * elf/Makefile [$(cross-compiling) = no]: Likewise
8361 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8362 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8363 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8364 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8365 * io/Makefile [$(cross-compiling) = no]: Likewise.
8366 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8367 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8368 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8369 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8370 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8371 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8372 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8373 * string/Makefile [$(cross-compiling) = no]: Likewise.
8374
ebfd1bbd
JM
8375 * posix/Makefile ($(objpfx)globtest.out): Pass
8376 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8377 $(rtld-installed-name).
8378 * posix/globtest.sh (elf_objpfx): Remove variable.
8379 (rtld_installed_name): Likewise.
8380 (library_path): Likewise.
8381 (run_program_prefix): New variable. Use for running globtest
8382 binary.
8383
166bca24
JB
83842012-10-23 Jim Blandy <jimb@codesourcery.com>
8385 Joseph Myers <joseph@codesourcery.com>
8386
8387 * Makeconfig (host-built-program-cmd): New variable.
8388 * elf/Makefile (tst-stackguard1-ARGS): Use
8389 $(host-built-program-cmd).
8390 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8391 (tst-spawn-ARGS): Likewise.
8392 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8393
88866099
JM
83942012-10-23 Joseph Myers <joseph@codesourcery.com>
8395 Jim Blandy <jimb@codesourcery.com>
8396
8397 * Makeconfig (run-via-rtld-prefix): New variable.
8398 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8399 (built-program-cmd): Likewise.
8400
b4b4c296
AJ
84012012-10-22 Andreas Jaeger <aj@suse.de>
8402
8403 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8404 __O_RSYNC if it exists, otherwise to O_SYNC.
8405
6fb54a22
JB
84062012-10-22 Jim Blandy <jimb@codesourcery.com>
8407 Joseph Myers <joseph@codesourcery.com>
8408
8409 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8410 /dev/null.
8411 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8412 from /dev/null
8413 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8414 /dev/null.
8415
481b90b9
AJ
84162012-10-22 Andreas Jaeger <aj@suse.de>
8417
2a0e2669
AJ
8418 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8419 Define always.
8420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8421
76e38f9a
AJ
8422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8423 bits/fcntl-linux.h.
8424
7cd37b43
AJ
8425 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8426 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8427
481b90b9
AJ
8428 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8429 to __O_LARGEFILE.
8430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8431 to __O_LARGEFILE.
8432
aba75984
JB
84332012-10-21 Jim Blandy <jimb@codesourcery.com>
8434 Joseph Myers <joseph@codesourcery.com>
8435
8436 * config.make.in (NM): New variable.
8437
88d4247f
AJ
84382012-10-21 Andreas Jaeger <aj@suse.de>
8439
8440 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8441 definitions and declarations that are provided by
8442 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8443
f2eed205
L
84442012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8445
8446 [BZ #14683]
8447 * elf/Makefile (tests-static): Add tst-leaks1-static.
8448 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8449 ($(objpfx)tst-leaks1-static): New rule.
8450 ($(objpfx)tst-leaks1-static-mem): Likewise.
8451 (tst-leaks1-static-ENV): New macro.
8452 * elf/dl-open.c (dl_open_worker): Check the main application
8453 only if SHARED is defined.
8454 * elf/tst-leaks1-static.c: New file.
8455
335e6931
AJ
84562012-10-20 Andreas Jaeger <aj@suse.de>
8457
8458 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8459 generic values for Linux.
8460 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8461 and declarations that are provided by <bits/fcntl-linux.h> and
8462 include <bits/fcntl-linux.h>.
8463 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8465
ac5c94d3
RM
84662012-10-20 Roland McGrath <roland@hack.frob.com>
8467
8468 * io/fcntl.h: Move include of <bits/types.h> to the top and
8469 include it unconditionally.
8470
de54b33a
L
84712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8472
228cfb01
L
8473 * wcsmbs/Makefile (tests-ifunc): New variable.
8474 (tests): Add $(tests-ifunc).
8475 * wcsmbs/test-wcschr-ifunc.c: New file.
8476 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8477 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8478 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8479 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8480 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8481
69f07e5f
L
8482 * string/Makefile (tests-ifunc): New variable.
8483 (tests): Add $(tests-ifunc).
8484 * string/test-memccpy.c (TEST_NAME): New macro.
8485 * string/test-memchr.c (TEST_NAME): Likewise.
8486 * string/test-memcmp.c (TEST_NAME): Likewise.
8487 * string/test-memcpy.c (TEST_NAME): Likewise.
8488 * string/test-memmem.c (TEST_NAME): Likewise.
8489 * string/test-memmove.c (TEST_NAME): Likewise.
8490 * string/test-memset.c (TEST_NAME): Likewise.
8491 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8492 * string/test-stpcpy.c (TEST_NAME): Likewise.
8493 * string/test-stpncpy.c (TEST_NAME): Likewise.
8494 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8495 * string/test-strcasestr.c (TEST_NAME): Likewise.
8496 * string/test-strcat.c (TEST_NAME): Likewise.
8497 * string/test-strchr.c (TEST_NAME): Likewise.
8498 * string/test-strcmp.c(TEST_NAME): Likewise.
8499 * string/test-strcpy.c (TEST_NAME): Likewise.
8500 * string/test-strcspn.c (TEST_NAME): Likewise.
8501 * string/test-strlen.c (TEST_NAME): Likewise.
8502 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8503 * string/test-strncmp.c (TEST_NAME): Likewise.
8504 * string/test-strncpy.c (TEST_NAME): Likewise.
8505 * string/test-strnlen.c (TEST_NAME): Likewise.
8506 * string/test-strpbrk.c (TEST_NAME): Likewise.
8507 * string/test-strrchr.c (TEST_NAME): Likewise.
8508 * string/test-strspn.c (TEST_NAME): Likewise.
8509 * string/test-strstr.c (TEST_NAME): Likewise.
8510 * string/test-bcopy-ifunc.c: New file.
8511 * string/test-bzero-ifunc.c: Likewise.
8512 * string/test-memccpy-ifunc.c: Likewise.
8513 * string/test-memchr-ifunc.c: Likewise.
8514 * string/test-memcmp-ifunc.c: Likewise.
8515 * string/test-memcpy-ifunc.c: Likewise.
8516 * string/test-memmem-ifunc.c: Likewise.
8517 * string/test-memmove-ifunc.c: Likewise.
8518 * string/test-mempcpy-ifunc.c: Likewise.
8519 * string/test-memset-ifunc.c: Likewise.
8520 * string/test-rawmemchr-ifunc.c: Likewise.
8521 * string/test-stpcpy-ifunc.c: Likewise.
8522 * string/test-stpncpy-ifunc.c: Likewise.
8523 * string/test-strcasecmp-ifunc.c: Likewise.
8524 * string/test-strcasestr-ifunc.c: Likewise.
8525 * string/test-strcat-ifunc.c: Likewise.
8526 * string/test-strchr-ifunc.c: Likewise.
8527 * string/test-strchrnul-ifunc.c: Likewise.
8528 * string/test-strcmp-ifunc.c: Likewise.
8529 * string/test-strcpy-ifunc.c: Likewise.
8530 * string/test-strcspn-ifunc.c: Likewise.
8531 * string/test-strlen-ifunc.c: Likewise.
8532 * string/test-strncasecmp-ifunc.c: Likewise.
8533 * string/test-strncat-ifunc.c: Likewise.
8534 * string/test-strncmp-ifunc.c: Likewise.
8535 * string/test-strncpy-ifunc.c: Likewise.
8536 * string/test-strnlen-ifunc.c: Likewise.
8537 * string/test-strpbrk-ifunc.c: Likewise.
8538 * string/test-strrchr-ifunc.c: Likewise.
8539 * string/test-strspn-ifunc.c: Likewise.
8540 * string/test-strstr-ifunc.c: Likewise.
8541
de54b33a
L
8542 * debug/Makefile (tests-ifunc): New variable.
8543 (tests): Add $(tests-ifunc).
8544 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8545 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8546 * debug/test-stpcpy_chk-ifunc.c: New file.
8547 * debug/test-strcpy_chk-ifunc.c: Likewise.
8548
88481c16
SP
85492012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8550
8551 [BZ #13601]
8552 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8553 header is not read in.
8554
135948bd
JM
85552012-10-19 Joseph Myers <joseph@codesourcery.com>
8556
89f1c388
JM
8557 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8558 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8559 directly. Pass built executable to script as
8560 $(built-program-cmd).
8561 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8562 $testprogram without using LD_LIBRARY_PATH and $ldso.
8563
e40a0d21
JM
8564 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8565 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8566 $(rtld-installed-name).
8567 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8568 (rtld_installed_name): Likewise.
8569 (library_path): Likewise.
8570 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8571 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8572 $(run-program-prefix) to tst-tables.sh.
8573 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8574 it to run tst-table-from and tst-table-to.
8575 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8576 Pass it to tst-table.sh.
8577 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8578 $(run-program-prefix) to tst-gettext.sh.
8579 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8580 tst-translit.sh.
8581 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8582 tst-gettext2.sh.
8583 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8584 to run tst-gettext.
8585 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8586 to run tst-gettext2.
8587 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8588 to run tst-translit.
8589 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8590 $(run-program-prefix) to tst-mtrace.sh.
8591 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8592 to run tst-mtrace.
8593 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8594 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8595 $(rtld-installed-name).
8596 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8597 (rtld_installed_name): Likewise.
8598 (run_program_prefix): New variable. Use it to run wordexp-test.
8599
728e272a
JM
8600 * Makeconfig (ARCH): Remove all definitions.
8601 (machine): Likewise.
8602 [ARCH]: Remove conditional code.
8603 [!objdir]: Give error.
8604 [!objdir] (objpfx): Remove.
8605 [!objdir] (common-objpfx): Likewise.
8606 [!objdir] (common-objdir): Likewise.
8607 * configure.in (config_makefile): Remove. Hardcode Makefile in
8608 AC_CONFIG_FILES call.
8609 * configure: Regenerated.
8610
d528cdcf
JM
8611 [BZ #13888]
8612 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8613 or TMPDIR.
8614 (testout): Likewise.
8615
135948bd
JM
8616 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8617 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8618 $(rtld-installed-name).
8619 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8620 (rtld_installed_name): Likwise.
8621 (runit): Remove function.
8622 (run_getconf): New variable, Use it for running getconf binary.
8623
38c78296
L
86242012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8625
8626 [BZ #14716]
8627 * string/test-memmem.c (check_result): New function.
8628 (do_one_test): Use it.
8629 (check1): New function.
8630 (test_main): Use it.
8631
d077f65f
MT
86322012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8633
8634 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8635
ced52c71
JM
86362012-10-18 Joseph Myers <joseph@codesourcery.com>
8637
8638 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8639 (_G_LSEEK64): Likewise.
8640 (_G_MMAP64): Likewise.
8641 (_G_FSTAT64): Likewise.
8642 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8643 (_G_LSEEK64): Likewise.
8644 (_G_MMAP64): Likewise.
8645 (_G_FSTAT64): Likewise.
8646 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8647 unconditional. Call __mmap64 directly.
8648 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8649 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8650 __lseek64 directly.
8651 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8652 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8653 __mmap64 directly.
8654 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8655 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8656 __lseek64 directly.
8657 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8658 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8659 __lseek64 directly.
8660 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8661 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8662 __lseek64 directly.
8663 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8664 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8665 __fxstat64 directly.
8666 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8667 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8668 unconditional.
8669 (freopen64) [!_G_OPEN64]: Remove conditional code.
8670 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8671 unconditional.
8672 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8673 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8674 unconditional.
8675 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8676 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8677 unconditional.
8678 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8679 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8680 unconditional.
8681 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8682 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8683 unconditional.
8684 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8685 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8686 unconditional.
8687 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8688 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8689 unconditional.
8690 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8691
b741de23
SP
86922012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8693
8694 [BZ #12140]
8695 * manual/memory.texi (Malloc Tunable Parameters): Add note
8696 about free list pointers overwriting some perturb bytes.
8697 Wording suggested by Roland McGrath.
8698
f9b9d9c9
JM
86992012-10-17 Joseph Myers <joseph@codesourcery.com>
8700
8701 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8702 (lgamma_test): Likewise.
8703 (tgamma_test): Likewise.
8704
172a631a
FW
87052012-10-16 Florian Weimer <fweimer@redhat.com>
8706
8707 [BZ #14700]
8708 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8709 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8710
e9f37252
MK
87112012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8712
8713 * NEWS: Mention BZ #14716.
8714 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8715 when removing AVAILABLE1_USES_J macro.
8716
d394eb74
L
87172012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8718
8719 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8720 (__bswap_64): __uint64_t for unsigned 64-bit int.
8721
ca38dc17
AS
87222012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8723
8724 * include/string.h (memmem): Declare libc hidden alias.
8725 * string/memmem.c (memmem): Define libc hidden alias.
8726 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8727 __read, __close instead of open, read, close.
8728
9a387d1f
L
87292012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8730
ac49ecaf
L
8731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8732 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8733 global and hidden.
8734 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8735 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8736 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8737 Likewise.
8738 (__rawmemchr_sse2): Likewise.
8739 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8740 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8741 (__strchr_sse2): Likewise.
8742 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8743 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8744 (__strcasecmp_sse2): Likewise.
8745 (__strncasecmp_sse2): Likewise.
8746 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8747 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8748 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8749 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8750 (__strrchr_sse2): Likewise.
8751 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8752 ifunc-impl-list.c.
8753 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8754 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8755 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8756 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8757 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8758 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8759 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8760 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8761 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8762 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8763 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8764 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8765 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8766 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8767 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8768 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8769 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8770 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8771 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8772 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8773 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8774 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8775 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8776 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8777 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8778 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8779 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8780 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8781 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8782 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8783
b090e8ea
L
8784 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8785 global and hidden.
8786 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8787 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8788 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8789 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8790 Likewise.
8791 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8792 Likewise.
8793 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8794 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8795 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8796 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8797 ifunc-impl-list.c.
8798 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8799 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8800 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8801 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8802 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8803 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8804 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8805 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8806 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8807 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8808 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8809 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8810 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8811 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8812 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8813 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8814 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8815 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8816 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8817 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8818 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8819 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8820 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8821 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8822 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8823 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8824 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8825 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8826 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8827 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8828 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8829 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8830 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8831 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8838 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8839
11dd4af6
L
8840 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8841 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8842 * include/ifunc-impl-list.h: New file.
8843 * misc/ifunc-impl-list.c: Likewise.
8844 * misc/Makefile (routines): Add ifunc-impl-list.
8845 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8846 * string/test-string.h: Include <ifunc-impl-list.h>.
8847 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8848 impl_array): New variables.
8849 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8850 are defined.
8851 (test_init): Call __libc_ifunc_impl_list to initialize
8852 func_list if TEST_IFUNC and TEST_NAME are defined.
8853
9a387d1f
L
8854 * string/Makefile (strop-tests): Add bcopy and bzero.
8855 * string/test-bcopy.c: New file.
8856 * string/test-bzero.c: Likewise.
8857 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8858 defined.
8859 * string/test-memset.c: Support bzero test if TEST_BZERO is
8860 defined.
8861 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8862 __libc_memmove.
8863 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8864 __libc_memset.
8865 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8866 of memset.
8867
472371b9
JM
88682012-10-10 Joseph Myers <joseph@codesourcery.com>
8869
1e4a9536
JM
8870 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8871 * configure: Regenerated.
8872
d173d12e
JM
8873 * Makeconfig (+link-static-before-libc): Don't include
8874 $(link-static-libc).
8875
472371b9
JM
8876 * libio/libio.h (_IO_pos_t): Remove.
8877
89a3ad0b
AO
88782012-10-10 Alexandre Oliva <aoliva@redhat.com>
8879
8880 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8881 McGrath.
8882
e7451425
AO
88832012-10-10 Alexandre Oliva <aoliva@redhat.com>
8884
8885 * crypt/crypt-entry.c: Include fips-private.h.
8886 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8887 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8888 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8889 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8890
4ba74a35
AO
88912012-10-10 Alexandre Oliva <aoliva@redhat.com>
8892
8893 * crypt/crypt-private.h: Include stdbool.h.
8894 (_ufc_setup_salt_r): Return bool.
8895 * crypt/crypt-entry.c: Include errno.h.
8896 (__crypt_r): Return NULL with EINVAL for bad salt.
8897 * crypt/crypt_util.c (bad_for_salt): New.
8898 (_ufc_setup_salt_r): Check that salt is long enough and within
8899 the specified alphabet.
8900 * crypt/badsalttest.c: New file.
8901 * crypt/Makefile (tests): Add it.
8902 ($(objpfx)badsalttest): New.
8903
f96f1242
MK
89042012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8905
8906 * NEWS: Add entry for BZ #14602.
8907
0e8e0c1c
JM
89082012-10-09 Joseph Myers <joseph@codesourcery.com>
8909
8910 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8911 type-generic.
8912 * math/libm-test.inc: Update comment listing what functions and
8913 macros are tested.
8914 (isgreater_test): New function.
8915 (isgreaterequal_test): Likewise.
8916 (isless_test): Likewise.
8917 (islessequal_test): Likewise.
8918 (islessgreater_test): Likewise.
8919 (isunordered_test): Likewise.
8920 (main): Call the new functions.
8921
273edc5e
RM
89222012-10-09 Roland McGrath <roland@hack.frob.com>
8923
b8493de0
RM
8924 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8925 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8926 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8927 * sysdeps/i386/configure: Regenerated.
8928 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8929 * sysdeps/mach/configure: Regenerated.
8930 * sysdeps/mach/hurd/configure: Regenerated.
8931 * sysdeps/powerpc/configure: Regenerated.
8932 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8933 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8934 * sysdeps/s390/s390-32/configure: Regenerated.
8935 * sysdeps/s390/s390-64/configure: Regenerated.
8936 * sysdeps/sh/configure: Regenerated.
8937 * sysdeps/sparc/configure: Regenerated.
8938 * sysdeps/unix/sysv/linux/configure: Regenerated.
8939 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8940 * sysdeps/x86_64/configure: Regenerated.
8941
273edc5e
RM
8942 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
8943 defined. Don't check if MAP is NULL.
8944
c8450f70
JM
89452012-10-09 Joseph Myers <joseph@codesourcery.com>
8946
8947 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
8948 (_G_stat64): Likewise.
8949 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
8950 (_G_stat64): Likewise.
8951 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
8952 instead of struct _G_stat64.
8953 * libio/fileops.c (mmap_remap_check): Likewise.
8954 (decide_maybe_mmap): Likewise.
8955 (_IO_new_file_seekoff): Likewise.
8956 (_IO_file_stat): Likewise.
8957 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
8958 _G_off64_t.
8959 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
8960 instead of struct _G_stat64.
8961 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8962
57e605ba
MK
89632012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
8964
8965 [BZ #14602]
8966 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8967 Replace with ...
8968 (CHECK_EOL): New macro.
8969 (two_way_short_needle): Check beginning of haystack for EOL. Use
8970 CHECK_EOL.
8971 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8972 Replace with CHECK_EOL.
8973 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
8974 Replace with CHECK_EOL.
8975
ef1bb361
JM
89762012-10-08 Joseph Myers <joseph@codesourcery.com>
8977
8978 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
8979 type-generic.
8980 * math/libm-test.inc: Update comment listing what functions and
8981 macros are tested.
8982 (finite_test): New function.
8983 (isinf_test): Likewise.
8984 (isnan_test): Likewise.
8985 (fpclassify_test): Test subnormal input.
8986 (isfinite_test): Likewise.
8987 (isnormal_test): Likewise.
8988 (main): Call the new functions.
8989
55f11534
JN
89902012-10-08 Jonathan Nieder <jrnieder@gmail.com>
8991
8992 [BZ #14660]
8993 * Makerules (%.dynsym): Force C locale when running
8994 $(OBJDUMP) --dynamic-syms.
8995
1ab29350
AS
89962012-10-08 Andreas Schwab <schwab@linux-m68k.org>
8997
8998 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
8999 <stdint.h>.
9000
f1ecb7ef
DM
90012012-10-06 David S. Miller <davem@davemloft.net>
9002
9003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9004 upper 32-bits of the length value in %o2 since we use branch-on-register
9005 tests which consider the entire 64-bit register.
9006
5d41d91a
L
90072012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 * string/test-strstr.c (check2): Add a test for page boundary.
9010
3baddb72
DM
90112012-10-05 David S. Miller <davem@davemloft.net>
9012
9013 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9014 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9015 file.
9016 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9017 sysdep_routines.
9018 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9019 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9020 and bzero when HWCAP_SPARC_CRYPTO is present.
9021
9cee5585
L
90222012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9023
d7e0dab9
L
9024 [BZ #14602]
9025 * string/test-strstr.c (check2): New function.
9026 (test_main): Call check2.
9027
03759f47
L
9028 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9029 and bug-strchr1.
9030 * string/bug-strcasestr1.c (do_test): Moved to ...
9031 * string/test-strcasestr.c (check1): Here. New function.
9032 (do_one_test): Break out result checking code into ...
9033 (check_result): This. New function.
9034 (do_one_test): Call check_result.
9035 (test_main): Call check1.
9036 * string/bug-strchr1.c (do_test): Moved to ...
9037 * string/test-strchr.c (check1): Here. New function.
9038 (do_one_test): Break out result checking code into ...
9039 (check_result): This. New function.
9040 (do_one_test): Call check_result.
9041 (test_main): Call check1.
9042 * string/bug-strstr1.c (main): Moved to ...
046f153e 9043 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9044 (do_one_test): Break out result checking code into ...
9045 (check_result): This. New function.
9046 (do_one_test): Call check_result.
9047 (test_main): Call check1.
9048 * string/bug-strcasestr1.c: Removed.
9049 * string/bug-strchr1.c: Likewise.
9050 * string/bug-strstr1.c: Likewise.
9051
53cea63e
L
9052 * elf/Makefile (dl-routines): Add hwcaps.
9053 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9054 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9055 (_dl_important_hwcaps): Moved to ...
9056 * elf/dl-hwcaps.c: Here. New file.
9057 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9058
9cee5585 9059 [BZ #14557]
bb859b06
L
9060 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9061 if IS_IN_rtld isn't defined.
9062
9cee5585
L
9063 * elf/dl-support.c (_dl_sysinfo_map): New.
9064 Include "get-dynamic-info.h" and "setup-vdso.h".
9065 (_dl_non_dynamic_init): Call setup_vdso.
9066 * elf/dynamic-link.h: Don't include <assert.h>.
9067 (elf_get_dynamic_info): Moved to ...
9068 * elf/get-dynamic-info.h: Here. New file.
9069 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9070 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9071 * elf/setup-vdso.h: Here. New file.
9072 * elf/rtld.c: Include "setup-vdso.h".
9073 (dl_main): Call setup_vdso.
9074
23c31b76
JM
90752012-10-05 Joseph Myers <joseph@codesourcery.com>
9076
28234b07
JM
9077 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9078 creal in comment listing functions tested. List finite, isinf,
9079 isnan, isless, islessequal, isgreater, isgreaterequal,
9080 islessgreater, isunordered, lgamma_r and pow10 as functions and
9081 macros not tested. Mention which functions not tested are aliases
9082 for other functions. Fix typo. Note that signs of NaNs are not
9083 tested.
9084
23c31b76
JM
9085 * scripts/config.guess: Update from config.git.
9086 * scripts/config.sub: Likewise.
9087
9043e228
RM
90882012-10-04 Roland McGrath <roland@hack.frob.com>
9089
9090 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9091 * misc/madvise.c (madvise): Renamed to __madvise.
9092 Make madvise a weak alias.
9093 * include/sys/mman.h: Declare __madvise.
9094 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9095 * sysdeps/unix/syscalls.list
9096 (madvise): Make __madvise the strong name, and madvise a weak alias.
9097 * sysdeps/unix/sysv/linux/syscalls.list
9098 (madvise, mmap): Remove redundant entries.
9099 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9100 * malloc/malloc.c (mtrim): Likewise.
9101 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9102
f57f8055
RM
91032012-10-03 Roland McGrath <roland@hack.frob.com>
9104
9105 * sysdeps/mach/hurd/dl-cache.c: File removed.
9106 * config.h.in (USE_LDCONFIG): New #undef.
9107 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9108 * configure: Regenerated.
9109 * elf/Makefile (dl-routines): Add dl-cache only under
9110 [$(use-ldconfig) = yes].
9111 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9112 cache on [USE_LDCONFIG].
9113 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9114 [USE_LDCONFIG].
9115 * elf/rtld.c (dl_main): Likewise.
9116
5bb0c10a
PT
91172012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9118
9119 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9120 _SC_LEVEL4_CACHE_LINESIZE.
9121
010188c6
RM
91222012-10-03 Roland McGrath <roland@hack.frob.com>
9123
9124 * sysdeps/unix/bsd/confstr.h: File removed.
9125
b6c5ec07
AO
91262012-10-02 Alexandre Oliva <aoliva@redhat.com>
9127
9128 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9129 sys/sdt-config.h.
9130
408223d4
RM
91312012-10-02 Roland McGrath <roland@hack.frob.com>
9132
9133 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9134 Make 'mapoff' field ElfW(Off) rather than off_t.
9135
bb9510dc
DL
91362012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9137
fc997c6e
DL
9138 * nscd/Makefile: Remove nscd-cflags and all its users.
9139 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9140 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9141
bb9510dc
DL
9142 [BZ #10631]
9143 * malloc.c (malloc_printerr): Clarify error message.
9144
05699367
L
91452012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9146
9147 [BZ #14648]
9148 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9149 Set bit_FMA_Usable if FMA is supported.
9150 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9151 macro.
9152 (bit_FMA4_Usable): Updated.
9153 (index_FMA_Usable): New macro.
9154 (CPUID_FMA): Likewise
9155 (HAS_FMA): Defined with bit_FMA_Usable.
9156
51367701
RM
91572012-10-01 Roland McGrath <roland@hack.frob.com>
9158
9159 * bits/types.h (__swblk_t): Type removed.
9160 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9161 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9162 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9163 (__SWBLK_T_TYPE): Likewise.
9164 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9165 (__SWBLK_T_TYPE): Likewise.
9166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9167 (__SWBLK_T_TYPE): Likewise.
9168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9169 (__SWBLK_T_TYPE): Likewise.
9170
4d57bf63 91712012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9172 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9173
9174 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9175 (xdr_mapname): Use YPMAXMAP as maxsize.
9176 (xdr_peername): Use YPMAXPEER as maxsize.
9177 (xdr_keydat): Use YPAXRECORD as maxsize.
9178 (xdr_valdat): Use YPMAXRECORD as maxsize.
9179
93c65d43
RM
91802012-10-01 Roland McGrath <roland@hack.frob.com>
9181
497a03d6
RM
9182 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9183
93c65d43
RM
9184 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9185 * csu/init-first.c: ... here.
9186 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9187 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9188 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9189 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9190 * sysdeps/i386/init-first.c: File removed.
9191 * sysdeps/sh/init-first.c: File removed.
9192
bec749fd
JM
91932012-10-01 Joseph Myers <joseph@codesourcery.com>
9194
9195 [BZ #14645]
9196 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9197 if x * y might underflow to zero and z is zero.
9198 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9200 * math/libm-test.inc (min_subnorm_value): New variable.
9201 (fma_test): Add more tests.
9202 (fma_test_towardzero): Likewise.
9203 (fma_test_downward): Likewise
9204 (fma_test_upward): Likewise.
9205 (initialize): Set min_subnorm_value.
9206
8ec5b013
JM
92072012-09-29 Joseph Myers <joseph@codesourcery.com>
9208
9209 [BZ #14638]
9210 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9211 0 + 0.
9212 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9213 mode for addition resulting in exact zero.
9214 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9216 exact 0 + 0.
9217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9219 * math/libm-test.inc (fma_test): Add more tests.
9220 (fma_test_towardzero): New function.
9221 (fma_test_downward): Likewise.
9222 (fma_test_upward): Likewise.
9223 (main): Call the new functions.
9224
b1fa802e
DM
92252012-09-28 David S. Miller <davem@davemloft.net>
9226
9227 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9228
d3b9fd9e
RM
92292012-09-28 Roland McGrath <roland@hack.frob.com>
9230
ea4d37b3
RM
9231 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9232 instead of SIGALRM.
9233
ac51c949
RM
9234 * sysdeps/gnu/_G_config.h: Moved to ...
9235 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9236 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9237 * sysdeps/generic/_G_config.h: ... here.
9238
28c195f7
RM
9239 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9240
848917f9
RM
9241 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9242
6bacf05b
RM
9243 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9244 Conditionalize target on [libnss_test1.so-version].
9245
91363dbb
RM
9246 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9247
cc87f7d8
RM
9248 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9249 (elfobjdir): Move out of conditionals.
9250
b1c608fe
RM
9251 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9252 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9253 (__nss_lookup_function): Conditionalize label remove_from_tree on
9254 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9255
1d9a6d96
DM
92562012-09-28 David S. Miller <davem@davemloft.net>
9257
9258 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9259 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9260 file.
9261 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9262 sysdep_routines.
9263 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9265 when HWCAP_SPARC_CRYPTO is present.
9266
72581615
PT
92672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9268
9269 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9270
715a900c
JL
92712012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9272
9273 [BZ #6530]
9274 * stdio-common/vfprintf.c (process_string_arg): Revert
9275 2000-07-22 change.
9276
92772011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9278
9279 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9280 for testcase.
9281 * stdio-common/tst-sprintf.c: Include <locale.h>
9282 (main): Test sprintf's handling of incomplete multibyte
9283 characters.
9284
9bac1d86
L
92852012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9286
9287 * elf/dl-runtime.c (VERSYMIDX): Removed.
9288 * elf/dl-version.c (VERSYMIDX): Likewise.
9289 * elf/do-rel.h (VERSYMIDX): Likewise.
9290 (VALIDX): Likewise.
9291 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9292 * elf/rtld.c (VALIDX): Likewise.
9293 (ADDRIDX): Likewise.
9bac1d86
L
9294 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9295 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9296 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9297 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9298 (VALIDX): Likewise.
9299 (ADDRIDX): Likewise.
9bac1d86 9300
b31606c0
PT
93012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9302
9303 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9304
11541177
JL
93052012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9306
9307 [BZ #11438]
9308 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9309 to global scope.
9310 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9311 addresses are in the same scope as 192.0.2/24.
9312 * posix/gai.conf: Document new scope table defaults.
9313
adb26fae
SP
93142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9315
9316 [BZ #5298]
9317 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9318 for ftell. Compute offsets from write pointers instead.
9319 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9320
4573c6b0
SP
93212012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9322
9323 [BZ #14543]
9324 * libio/Makefile (tests): New test case tst-fseek.
9325 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9326 combination works in wide mode.
9327 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9328 state when the external buffer state changes.
9329
aa9bbfe6
DM
93302012-09-27 David S. Miller <davem@davemloft.net>
9331
9332 [BZ #14376]
9333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9334 pass reloc->r_addend in as the 'high' argument to
9335 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9336
784421e7
DM
9337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9338
c39bc8b8
PT
93392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9340
9341 * rt/tst-aio2.c: Include <pthread.h>.
9342 * rt/tst-aio3.c: Likewise.
9343
1ccc2399
SE
93442012-09-27 Steve Ellcey <sellcey@mips.com>
9345
9346 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9347
31ed4153
L
93482012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9349
25f5f885
L
9350 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9351 contents on [SHARED].
31ed4153 9352
b7bfe116
MP
93532012-09-26 Marek Polacek <polacek@redhat.com>
9354
9355 [BZ #14530]
9356 [BZ #13741]
9357 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9358 for C++ and GCC <4.3 as well as for non GCC compilers.
9359
43c4edba
MT
93602012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9361
9362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9363
6a1bf82f
RM
93642012-09-25 Roland McGrath <roland@hack.frob.com>
9365
9366 * Makefile.in (all, install): Declare with .PHONY.
9367 Reported by Michael Hope <michael.hope@linaro.org>.
9368
8ad11b9a
TMQMF
93692012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9370
9371 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9372 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9373 system header.
9374 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9375 Likewise.
9376 (sydep_routines): Add the new and the internal functions.
9377 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9378 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9380 (GLIBC_2.17): Add the new function.
9381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9382 (GLIBC_2.17): Likewise.
9383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9384 (GLIBC_2.17): Likewise.
9385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9386 (GLIBC_2.17): Likewise.
9387 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9388
7e2fca8d
AM
93892012-09-25 Alan Modra <amodra@gmail.com>
9390
9391 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9392 Add release barrier before setting once_control to say
9393 initialisation is done. Add hints on lwarx. Use macro in
9394 place of isync.
9395 (clear_once_control): Add release barrier.
9396
b87c4b24
JM
93972012-09-25 Joseph Myers <joseph@codesourcery.com>
9398
d032e0d2
JM
9399 [BZ #13629]
9400 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9401 specially.
9402 * math/s_clog10.c (__clog10): Likewise.
9403 * math/s_clog10f.c (__clog10f): Likewise.
9404 * math/s_clog10l.c (__clog10l): Likewise.
9405 * math/s_clogf.c (__clogf): Likewise.
9406 * math/s_clogl.c (__clogl): Likewise.
9407 * math/Makefile (libm-calls): Add x2y2m1.
9408 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9409 (__x2y2m1): Likewise.
9410 (__x2y2m1l): Likewise.
9411 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9412 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9413 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9414 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9415 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9416 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9417 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9418 * sysdeps/i386/fpu/libm-test-ulps: Update.
9419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9420
b87c4b24
JM
9421 [BZ #14621]
9422 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9423 int as type of variable DEPTH.
9424 (glob): Use size_t instead of int as type of variables NEWCOUNT
9425 and OLD_PATHC.
9426
6d3bf199
LD
94272012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9428
22bf5c17
LD
9429 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9430 Add s_sincosf-sse2.
9431 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9432 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9433 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9434 macros for using routine as __sincosf_ia32.
9435 Use macro for function declaration and weak_alias.
9436 * sysdeps/i386/fpu/libm-test-ulps: Update.
9437
9438 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9440
9441 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9442 subnormal argument.
9443 * math/s_cexpf.c (__cexpf): Likewise.
9444 * math/s_csinf.c (__csinf): Likewise.
9445 * math/s_csinhf.c (__csinhf): Likewise.
9446 * math/s_ctanf.c (__ctanf): Likewise.
9447 * math/s_ctanhf.c (__ctanhf): Likewise.
9448 * math/s_ccosh.c (__ccoshf): Likewise.
9449 * math/s_cexp.c (__cexpl): Likewise.
9450 * math/s_csin.c (__csin): Likewise.
9451 * math/s_csinh.c (__csinh): Likewise.
9452 * math/s_ctan.c (__ctan): Likewise.
9453 * math/s_ctanh.c (ctanh): Likewise.
9454 * math/s_ccoshl.c (__ccoshl): Likewise.
9455 * math/s_cexpl.c (__cexpl): Likewise.
9456 * math/s_csinl.c (__csinl): Likewise.
9457 * math/s_csinhl.c (__csinhl): Likewise.
9458 * math/s_ctanl.c (__ctanl): Likewise.
9459 * math/s_ctanhl.c (__ctanhl): Likewise.
9460
203e5603
JM
94612012-09-25 Joseph Myers <joseph@codesourcery.com>
9462
9463 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9464 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9465 (_IO_off_t): Define to __off_t, not _G_off_t.
9466 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9467 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9468 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9469 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9470 type of __dummy and __dummy2 fields.
9471 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9472 (_G_ssize_t): Likewise.
9473 (_G_off_t): Likewise.
9474 (_G_pid_t): Likewise.
9475 (_G_uid_t): Likewise.
9476 (_G_wchar_t): Likewise.
9477 (_G_wint_t): Likewise.
9478 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9479 (_G_ssize_t): Likewise.
9480 (_G_off_t): Likewise.
9481 (_G_pid_t): Likewise.
9482 (_G_uid_t): Likewise.
9483 (_G_wchar_t): Likewise.
9484 (_G_wint_t): Likewise.
9485 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9486 (_G_ssize_t): Likewise.
9487 (_G_off_t): Likewise.
9488 (_G_pid_t): Likewise.
9489 (_G_uid_t): Likewise.
9490 (_G_wchar_t): Likewise.
9491 (_G_wint_t): Likewise.
9492
9fab36eb
SP
94932012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9494
9495 * malloc/arena.c: Include malloc-sysdep.h.
9496 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9497 is sufficient to shrink the heap or an unmap is needed.
9498 * sysdeps/generic/malloc-sysdep.h: New file. Define
9499 new function check_may_shrink_heap.
9500 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9501 new function check_may_shrink_heap.
9502
2b4f00d1
SP
95032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9504
9505 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9506 comments.
9507
9a9028b1
DL
95082012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9509
57c69bef
DL
9510 * catgets/test-gencat.sh: Add "set -e".
9511 * elf/tst-pathopt.sh: Likewise.
9512 * grp/tst_fgetgrent.sh: Likewise.
9513 * iconvdata/run-iconv-test.sh: Likewise.
9514 * intl/tst-gettext.sh: Likewise.
9515 * intl/tst-gettext2.sh: Likewise.
9516 * intl/tst-gettext4.sh: Likewise.
9517 * intl/tst-gettext6.sh: Likewise.
9518 * intl/tst-translit.sh: Likewise.
9519 * io/ftwtest-sh: Likewise.
9520 * libio/test-freopen.sh: Likewise.
9521 * malloc/tst-mtrace.sh: Likewise.
9522 * posix/globtest.sh: Likewise.
9523 * posix/tst-getconf.sh: Likewise.
9524 * posix/wordexp-tst.sh: Likewise.
9525 * stdio-common/tst-printf.sh: Likewise.
9526 * stdio-common/tst-unbputc.sh: Likewise.
9527 * stdlib/tst-fmtmsg.sh: Likewise.
9528 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9529 * catgets/Makefile: Do not specify -e option when running
9530 testsuite shell scripts.
9531 * elf/Makefile: Likewise.
9532 * grp/Makefile: Likewise.
9533 * iconvdata/Makefile: Likewise.
9534 * intl/Makefile: Likewise.
9535 * io/Makefile: Likewise.
9536 * libio/Makefile: Likewise.
9537 * malloc/Makefile: Likewise.
9538 * posix/Makefile: Likewise.
9539 * stdio-common/Makefile: Likewise.
9540 * stdlib/Makefile: Likewise.
9541 * sysdeps/x86_64/Makefile: Likewise.
9542
9a9028b1
DL
9543 * io/ftwtest-sh: Add copyright header.
9544 * posix/globtest.sh: Likewise.
9545 * posix/tst-getconf.sh: Likewise.
9546 * posix/wordexp-tst.sh: Likewise.
9547 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9548
ced6f16e
L
95492012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9550
94b32c39
L
9551 [BZ #13679]
9552 * Makeconfig (+link): Defined as $(+link-static) if
9553 $(build-shared) isn't yes.
9554 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9555 isn't yes.
9556 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9557
189e935b
L
9558 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9559
ced6f16e
L
9560 [BZ #14562]
9561 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9562 new chunk size with MALLOC_ALIGN_MASK.
9563
a9f8e53a
JM
95642012-09-24 Joseph Myers <joseph@codesourcery.com>
9565
9566 [BZ #5044]
9567 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9568 <rounding-mode.h>.
9569 (__printf_fphex): Determine rounding using get_rounding_mode and
9570 round_away.
9571 * stdio-common/tst-printf-round.c (struct hex_test): New
9572 structure.
9573 (hex_tests): New variable.
9574 (test_hex_in_one_mode): New function.
9575 (do_test): Also run tests for hex float output.
9576
43153109
JM
95772012-09-21 Joseph Myers <joseph@codesourcery.com>
9578
9579 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9580 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9581 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9582 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9583 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9584 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9585 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9586 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9587
8a26625d
JM
95882012-09-20 Joseph Myers <joseph@codesourcery.com>
9589
9590 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9591 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9592 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9593 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9594
f3fd569c
DL
95952012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9596
9597 [BZ #14579]
9598 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9599 mode only.
9600 * elf/tst-rtld-load-self.sh: New test.
9601 * elf/Makefile: Run it.
9602
63bbedd4
JM
96032012-09-18 Joseph Myers <joseph@codesourcery.com>
9604
9605 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9606 (tst-writev-ENV): Remove.
9607 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9608
626f8b6a
CM
96092012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9610
9611 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9612
b7aaa4d6
JM
96132012-09-17 Joseph Myers <joseph@codesourcery.com>
9614
9615 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9616 unconditional.
9617 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9618 Likewise.
9619 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9620 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9621 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9622 Likewise.
9623
65513990
L
96242012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9625
9626 [BZ #14587]
9627 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9628 * config.make.in (have-cpp-asm-debuginfo): Removed.
9629 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9630 * configure: Regenerated.
9631
784761be
JM
96322012-09-14 Joseph Myers <joseph@codesourcery.com>
9633
9634 [BZ #5044]
9635 * stdio-common/printf_fp.c: Include <stdbool.h> and
9636 <rounding-mode.h>.
9637 (___printf_fp): Determine rounding using get_rounding_mode and
9638 round_away.
9639 * stdio-common/tst-printf-round.c: New file.
9640 * stdio-common/Makefile (tests): Add tst-printf-round.
9641 (link-libm): New variable.
9642 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9643
9503345f
L
96442012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9645
9646 [BZ #14576]
9647 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9648 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9649 Likewise.
9650 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9651 Likewise.
9652
ad35fc00
JM
96532012-09-13 Joseph Myers <joseph@codesourcery.com>
9654
9655 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9656 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9657 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9659
6c9b0f68
JM
96602012-09-12 Joseph Myers <joseph@codesourcery.com>
9661
9662 [BZ #14518]
9663 * include/rounding-mode.h: New file.
9664 * sysdeps/generic/get-rounding-mode.h: Likewise.
9665 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9666 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9667 (MAX_VALUE): New macro.
9668 (MIN_VALUE): Likewise.
9669 (overflow_value): New function.
9670 (underflow_value): Likewise.
9671 (round_and_return): Use overflow_value and underflow_value to
9672 determine return values in overflow and underflow cases. Use
9673 round_away to determine rounding depending on rounding mode.
9674 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9675 determine return values in overflow and underflow cases.
9676 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9677 (struct test_results): New structure.
9678 (struct test): Use struct test_results to store expected results
9679 for all rounding modes.
9680 (TEST): Include expected results for all rounding modes.
9681 (test_in_one_mode): New function.
9682 (do_test): Use test_in_one_mode to compute and check results.
9683 Check results for all rounding modes.
9684 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9685 $(link-libm).
9686
19fcedd5
AM
96872012-12-09 Allan McRae <allan@archlinux.org>
9688
1e9d84cd 9689 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9690
8bbfd2f1
JM
96912012-09-11 Joseph Myers <joseph@codesourcery.com>
9692
9693 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9694 (_G_int32_t): Likewise.
9695 (_G_uint16_t): Likewise.
9696 (_G_uint32_t): Likewise.
9697 (_G_HAVE_BOOL): Likewise.
9698 (_G_HAVE_ATEXIT): Likewise.
9699 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9700 (_G_HAVE_IO_FILE_OPEN): Likewise.
9701 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9702 (_G_int32_t): Likewise.
9703 (_G_uint16_t): Likewise.
9704 (_G_uint32_t): Likewise.
9705 (_G_HAVE_BOOL): Likewise.
9706 (_G_HAVE_ATEXIT): Likewise.
9707 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9708 (_G_HAVE_IO_FILE_OPEN): Likewise.
9709 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9710 (_G_int32_t): Likewise.
9711 (_G_uint16_t): Likewise.
9712 (_G_uint32_t): Likewise.
9713 (_G_HAVE_BOOL): Likewise.
9714 (_G_HAVE_ATEXIT): Likewise.
9715 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9716 (_G_HAVE_IO_FILE_OPEN): Likewise.
9717
b1dc5912
L
97182012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9719
9720 * csu/libc-tls.c: Update copyright years.
9721
0e886ef9
JM
97222012-09-10 Joseph Myers <joseph@codesourcery.com>
9723
28361c5e
JM
9724 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9725 [!_G_USING_THUNKS]: Remove conditional code.
9726 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9727 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9728
0e886ef9
JM
9729 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9730 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9731 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9732 (_G_VTABLE_LABEL_PREFIX): Likewise.
9733 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9734 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9735 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9736 (_G_VTABLE_LABEL_PREFIX): Likewise.
9737 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9738 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9739 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9740 (_G_VTABLE_LABEL_PREFIX): Likewise.
9741 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9742
bcba7aa2
L
97432012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9744
9745 * libio/Makefile: Include ../Makeconfig before tests.
9746 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9747 only if $(build-shared) is yes.
9748
06585ee8
L
9749 * iconv/gconv_db.c: Update copyright years.
9750
80ccd52c
LD
97512012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9752
9753 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9754 unwind info if defined PIC. Fix special cases description.
9755 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9756
9757 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9758 DP_HI_MASK entry.
9759 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9760
691bc9c1
L
97612012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9762
3d9b46b3
L
9763 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9764
de2139a9
L
9765 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9766 is NULL.
9767
5ca78dd0
L
9768 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9769 (LDLIBS-tst-chk4): This.
9770 (LDFLAGS-tst-chk5): Renamed to ...
9771 (LDLIBS-tst-chk5): This.
9772 (LDFLAGS-tst-chk6): Renamed to ...
9773 (LDLIBS-tst-chk6): This.
9774 (LDFLAGS-tst-lfschk4): Renamed to ...
9775 (LDLIBS-tst-lfschk4): This.
9776 (LDFLAGS-tst-lfschk5): Renamed to ...
9777 (LDLIBS-tst-lfschk5): This.
9778 (LDFLAGS-tst-lfschk6): Renamed to ...
9779 (LDLIBS-tst-lfschk6): This.
9780
691bc9c1
L
9781 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9782 on $(common-objpfx)soversions.mk.
9783
65cafb1c
JM
97842012-09-07 Joseph Myers <joseph@codesourcery.com>
9785
9786 [BZ #10014]
9787 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9788 example host name.
9789
c78ab094
SP
97902012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9791
9792 * malloc/arena.c (arena_get_retry): New function that gets
9793 another arena for the caller to try its request on.
9794 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9795 current arena cannot fulfill the request.
9796 (__libc_memalign): Likewise.
9797 (__libc_memalign): Likewise.
9798 (__libc_pvalloc): Likewise.
9799 (__libc_calloc): Likewise.
9800
01f49f59
JT
98012012-09-05 John Tobey <john.tobey@gmail.com>
9802
9803 [BZ #13542]
9804 * manual/arith.texi (Operations on Complex): Fix description
9805 of carg branch cut.
9806
4c23fed5
JM
98072012-09-06 Joseph Myers <joseph@codesourcery.com>
9808
1d3c8572
JM
9809 [BZ #10014]
9810 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9811 host name.
9812
4c23fed5
JM
9813 [BZ #10038]
9814 * manual/memory.texi (Memory): Make order of menu items match
9815 order of sections.
9816
04570aaa
L
98172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9818
9819 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9820 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9821 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9822
b80af2f4
L
98232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9824
9825 * csu/libc-tls.c (static_dtv): Renamed to ...
9826 (_dl_static_dtv): This. Make it global.
9827 (_dl_initial_dtv): Removed.
9828 (__libc_setup_tls): Updated.
9829 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9830 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9831 DL_INITIAL_DTV.
9832
2abe9f15
PM
98332012-09-06 Petr Machata <pmachata@redhat.com>
9834
9835 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9836 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9837 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9838 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9839
0948c3af
L
98402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9841
9842 [BZ #14545]
9843 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9844 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9845 freeing dtv[-1].
9846
a5055ad1
L
98472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9848
9849 [BZ #14544]
9850 * Makeconfig (link-static-before-libc): Replace $(+prector)
9851 with $(+prectorT).
9852 (link-static-after-libc): Replace $(+postctor) with
9853 $(+postctorT).
9854 (link-bounded): Replace $(+prector)/$(+postctor) with
9855 $(+prectorT)/$(+postctorT).
9856 (+prectorT): New macro.
9857 (+postctorT): Likewise.
9858
ed8c2ecd
JM
98592012-09-06 Joseph Myers <joseph@codesourcery.com>
9860
9861 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9862 (round_str): Handle values above the maximum for IBM long double
9863 as inexact.
9864 * stdlib/tst-strtod-round.c (tests): Regenerated.
9865
14c996c8
AK
98662012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9867
9868 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9869 assembler flag.
9870 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9871 zarch_nohighgprs around the zarch optimized routines.
9872 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9873 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9874 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9875 for zarch.
9876
430d6ce6
DM
98772012-09-05 David S. Miller <davem@davemloft.net>
9878
9879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9880
ff04dda4
DM
9881 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9882 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9883 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9884 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9885 entries.
9886
24d4e01b
AO
98872012-09-05 Alexandre Oliva <aoliva@redhat.com>
9888
9889 * malloc/arena.c: Fold copyright years.
9890 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9891
61d58174
AO
98922012-09-05 Alexandre Oliva <aoliva@redhat.com>
9893
9894 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9895
20196a5e
AO
98962012-09-05 Alexandre Oliva <aoliva@redhat.com>
9897
9898 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9899
5c447383
AO
99002012-09-05 Alexandre Oliva <aoliva@redhat.com>
9901
9902 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9903 change internal state upon failure.
9904
fad64255
AO
99052012-09-05 Alexandre Oliva <aoliva@redhat.com>
9906
9907 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9908 * malloc/memusage.c (mmap): Likewise.
9909 (mmap64, mremap): Likewise. Adjust name in comment.
9910
1ffb8c90
SP
99112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9912
9913 * libio/fileops.c: Fix typos in comments.
9914 * libio/oldfileops.c: Likewise.
9915 * libio/wfileops.c: Likewise.
9916
6ef9cc37
SP
99172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9918
9919 [BZ #1349]
9920 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9921 (tst-malloc-usable-ENV): Set environment for test case.
9922 * malloc/hooks.c (malloc_check_get_size): New function to get
9923 requested size.
9924 * malloc/malloc.c (musable): Use malloc_check_get_size.
9925 * malloc/tst-malloc-usable.c: New test case.
9926
4d038ae3
AS
99272012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9928
9929 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9930
c4e85184
AM
99312012-09-05 Allan McRae <allan@archlinux.org>
9932
b9dafc56 9933 [BZ #13966]
c4e85184
AM
9934 * configure.in (CXX_SYSINCLUDES): Use compiler output to
9935 determine header location.
9936 * configure: Regenerated.
9937
e1343020
AS
99382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9939
9940 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
9941 float format.
9942 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
9943 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
9944 format.
e1343020
AS
9945 (test): Regenerate.
9946
0a9f1987
DM
99472012-09-04 David S. Miller <davem@davemloft.net>
9948
9949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
9950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
9951 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
9952
29237804
FW
99532012-09-04 Florian Weimer <fweimer@redhat.com>
9954
9955 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
9956 failures.
9957
edb3cb88
FW
9958 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
9959
60160d83
JM
99602012-09-04 Joseph Myers <joseph@codesourcery.com>
9961
9962 [BZ #9914]
9963 * libio/iogetdelim.c: Include <limits.h>.
9964 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
9965 + len + 1 would overflow.
9966
bcd6c8dc
AJ
99672012-09-03 Andreas Jaeger <aj@suse.de>
9968
9969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9970 * sysdeps/i386/fpu/libm-test-ulps: Update.
9971
4ffffbd2
LD
99722012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9973
9974 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9975 Add s_sinf-sse2, s_conf-sse2.
9976
9977 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
9978 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
9979 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
9980 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
9981
9982 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
9983 for using routine as __sinf_ia32.
9984 Use macro for function declaration and weak_alias.
9985 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
9986 for using routine as __cosf_ia32.
9987 Use macro for function declaration and weak_alias.
9988
9989 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
9990 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
9991
9992 * sysdeps/x86_64/fpu/s_sinf.S: New file.
9993 * sysdeps/x86_64/fpu/s_cosf.S: New file.
9994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9995
9996 * math/libm-test.inc (cos_test): Add more test cases.
9997 (sin_test): Likewise.
9998 (sincos_test): Likewise.
9999
511fa286
AK
100002012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10001
10002 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10003 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10004 hidden.
10005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10006
5f30cfec
L
100072012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10008
10009 [BZ #14538]
10010 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10011 first element of the GOT.
10012 (elf_machine_load_address): Return the difference between
10013 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10014
0786794f
AM
100152012-09-01 Allan McRae <allan@archlinux.org>
10016
5f30cfec
L
10017 [BZ #13412]
10018 * configure.in (AWK): Require gawk version 3.0 or later.
10019 * configure: Regenerated.
0786794f 10020
26889eac
JM
100212012-09-01 Joseph Myers <joseph@codesourcery.com>
10022
10023 * sysdeps/unix/sysv/linux/kernel-features.h
10024 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10025 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10026 [__NR_clock_getres]: Make code unconditional.
10027 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10028 (clock_getcpuclockid): Remove code left unreachable by removal of
10029 conditionals.
10030 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10031 code unconditional.
10032 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10033 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10034 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10035 Make code unconditional.
10036 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10037 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10038 * sysdeps/unix/sysv/linux/clock_settime.c
10039 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10040 conditional code.
10041 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10042 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10043
d22e28b0
L
100442012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10045
10046 [BZ #14476]
10047 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10048 scripts/test-installation.pl.
10049
10050 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10051 and $ld_so_version if it is set.
10052
050af9c4
SP
100532012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10054
10055 [BZ #14516]
10056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10057 failure if reading from procfs failed.
10058 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10059
ad845c0b
JM
100602012-08-27 Joseph Myers <joseph@codesourcery.com>
10061
10062 * sysdeps/unix/sysv/linux/kernel-features.h
10063 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10064 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10065 Remove conditional code.
10066 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10067 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10068 Remove conditional code.
10069 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10070 * sysdeps/unix/sysv/linux/i386/fxstat.c
10071 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10072 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10073 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10074 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10075 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10076 * sysdeps/unix/sysv/linux/i386/lxstat.c
10077 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10078 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10079 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10080 Remove conditional code.
10081 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10082 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10083 Remove conditional code.
10084 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10085 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10086 <kernel-features.h>.
10087 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10088 Remove.
10089 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10090 Remove conditional code.
10091 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10092 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10093 Remove conditional.
10094
5dbf56af
MF
100952012-08-27 Mike Frysinger <vapier@gentoo.org>
10096
10097 [BZ #5400]
10098 * NEWS: Add fixed bug number.
10099
d6e70f43
JM
101002012-08-27 Joseph Myers <joseph@codesourcery.com>
10101
7efb4737
JM
10102 [BZ #14519]
10103 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10104 underflowing exponent in case of negative sign.
10105 * stdlib/tst-strtod-round-data: Add more tests.
10106 * stdlib/tst-strtod-round.c (tests): Regenerated.
10107
af92131a
JM
10108 [BZ #3479]
10109 * stdlib/strtod_l.c (NDIG): Remove.
10110 (HEXNDIG): Likewise.
10111 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10112 smallest representable value.
10113 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10114 lie within an exact representation of 1/2 ulp of the result.
10115 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10116 unconditionally.
10117 (TENS_P9_IDX): Define unconditionally.
10118 (TENS_P9_SIZE): Likewise.
10119 (TENS_P10_IDX): Likewise.
10120 (TENS_P10_SIZE): Likewise.
10121 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10122 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10123 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10124 entries for 10^2^13 and 10^2^14.
10125 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10126 (TENS_P13_IDX): Define.
10127 (TENS_P13_SIZE): Likewise.
10128 (TENS_P14_IDX): Likewise.
10129 (TENS_P14_SIZE): Likewise.
10130 (_fpioconst_pow10): Change array size to
10131 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10132 unconditional.
10133 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10134 1024]: Add entries for 10^2^13 and 10^2^14.
10135 [LAST_POW10 > _LAST_POW10]: Remove #error.
10136 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10137 (_fpioconst_pow10): Change array size to
10138 FPIOCONST_POW10_ARRAY_SIZE.
10139 * stdlib/gen-fpioconst.c: New file.
10140 * stdlib/gen-tst-strtod-round.c: Likewise.
10141 * stdlib/tst-strtod-round-data: Likewise.
10142 * stdlib/tst-strtod-round.c: Likewise.
10143 * stdlib/Makefile (tests): Add tst-strtod-round.
10144
d6e70f43
JM
10145 [BZ #14459]
10146 * stdlib/strtod_l.c: Include <stdint.h>.
10147 (NDEBUG): Do not define.
10148 (round_and_return): Change EXPONENT parameter to type intmax_t.
10149 Rearrange calculations to avoid internal overflow possibilities.
10150 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10151 Rearrange calculations to avoid internal overflow possibilities.
10152 Assert that number fits inside MPNSIZE limbs.
10153 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10154 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10155 calculations and add assertions to avoid internal overflow
10156 possibilities. Add casts to avoid signed/unsigned operations.
10157 * stdlib/tst-strtod-overflow.c: New file.
10158 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10159
1f529f7d
MP
101602012-08-25 Marek Polacek <polacek@redhat.com>
10161
10162 * time/time.h: Fix some typos in comments.
10163
59a629f1
RM
101642012-08-23 Roland McGrath <roland@hack.frob.com>
10165
10166 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10167 * posix/tst-rfc3484-2.c: Likewise.
10168 * posix/tst-rfc3484-3.c: Likewise.
10169
d3bafbc9
SM
101702012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10171
10172 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10173 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10174
4efcc022
JM
101752012-08-23 Joseph Myers <joseph@codesourcery.com>
10176
10177 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10178 #include of fxstatat64.c.
10179
3cc3ef96
RM
101802012-08-22 Roland McGrath <roland@hack.frob.com>
10181
f04e2132
RM
10182 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10183 * shadow/getspent_r.c: Likewise.
10184 * shadow/getspnam.c: Likewise.
10185 * shadow/getspnam_r.c: Likewise.
10186 * gshadow/getsgent.c: Likewise.
10187 * gshadow/getsgent_r.c: Likewise.
10188 * gshadow/getsgnam.c: Likewise.
10189 * gshadow/getsgnam_r.c: Likewise.
10190 * inet/getnetbyad.c: Likewise.
10191 * inet/getnetbyad_r.c: Likewise.
10192 * inet/getnetbynm.c: Likewise.
10193 * inet/getnetbynm_r.c: Likewise.
10194 * inet/getnetent.c: Likewise.
10195 * inet/getnetent_r.c: Likewise.
10196 * inet/getproto.c: Likewise.
10197 * inet/getproto_r.c: Likewise.
10198 * inet/getprtent.c: Likewise.
10199 * inet/getprtent_r.c: Likewise.
10200 * inet/getprtname.c: Likewise.
10201 * inet/getprtname_r.c: Likewise.
10202 * inet/getrpcbyname.c: Likewise.
10203 * inet/getrpcbyname_r.c: Likewise.
10204 * inet/getrpcbynumber.c: Likewise.
10205 * inet/getrpcbynumber_r.c: Likewise.
10206 * inet/getrpcent.c: Likewise.
10207 * inet/getrpcent_r.c: Likewise.
10208 * inet/getaliasent.c: Likewise.
10209 * inet/getaliasent_r.c: Likewise.
10210 * inet/getaliasname.c: Likewise.
10211 * inet/getaliasname_r.c: Likewise.
10212 * nscd/getgrgid_r.c: Likewise.
10213 * nscd/getgrnam_r.c: Likewise.
10214 * nscd/gethstbyad_r.c: Likewise.
10215 * nscd/gethstbynm3_r.c: Likewise.
10216 * nscd/getpwnam_r.c: Likewise.
10217 * nscd/getpwuid_r.c: Likewise.
10218 * nscd/getsrvbynm_r.c: Likewise.
10219 * nscd/getsrvbypt_r.c: Likewise.
10220 * nscd/gai.c: Likewise.
10221
c53d909c
RM
10222 * configure.in (build_nscd): New substituted variable, set
10223 by --disable-build-nscd and defaults to $use_nscd.
10224 * configure: Regenerated.
10225 * config.make.in (build-nscd): New substituted variable.
10226 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10227 Change conditional to require [$(build-nscd) = yes] as well.
10228 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10229
3cc3ef96
RM
10230 [BZ# 13696]
10231 * configure.in (use_nscd): New substituted variable, set by
10232 --disable-nscd. If enabled, define USE_NSCD.
10233 * configure: Regenerated.
10234 * config.h.in: Add USE_NSCD.
10235 * config.make.in (use-nscd): New substituted variable.
10236 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10237 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10238 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10239 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10240 (CFLAGS-getgrnam_r.c): Likewise.
10241 (CFLAGS-initgroups.c): Likewise.
10242 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10243 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10244 Variables removed.
10245 * inet/getnetgrent_r.c
10246 (nscd_setnetgrent): New function, broken out of ...
10247 (setnetgrent): ... here. Call it.
10248 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10249 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10250 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10251 * nscd/Makefile (routines, aux): Move definitions after include of
10252 Makeconfig. Conditionalize on [$(use-nscd) != no].
10253 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10254 Conditionalize on [USE_NSCD].
10255 (is_nscd, nscd_init_cb): Likewise.
10256 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10257 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10258 * nss/nss_db/db-init.c: Likewise.
10259 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10260 [USE_NSCD].
10261 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10262 (make_request): Use it.
10263 (cache_valid_p): New function.
10264 (__check_pf): Use it.
10265 * NEWS: Add item for --disable-nscd.
10266
07e51550
DL
102672012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10268
10269 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10270 to support sed >= 4.2.1-20-ga9bf076.
10271 * configure: Regenerated.
10272
35a5b08b
RM
102732012-08-22 Roland McGrath <roland@hack.frob.com>
10274
10275 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10276 Conditionalize whole body on [IREL].
10277
8479f23a
JL
102782012-08-22 Jeff Law <law@redhat.com>
10279
10280 [BZ #14505]
10281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10282 if the family is PF_UNSPEC.
10283
48da0b21
MF
102842012-08-22 Mike Frysinger <vapier@gentoo.org>
10285
10286 * Makerules (lib-version): Rename from V.
10287 (install-lib-nosubdir): Change V to lib-version.
10288
15d0da8c
WS
102892012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10290
10291 [BZ #14252]
10292 * powerpc32/power6/wcschr.c: New file.
10293 * powerpc32/power6/wcscpy.c: New file.
10294 * powerpc32/power6/wcsrchr.c: New file.
10295 * powerpc64/power6/wcschr.c: New file.
10296 * powerpc64/power6/wcscpy.c: New file.
10297 * powerpc64/power6/wcsrchr.c: New file.
10298
bcca0895
MK
102992012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10300
10301 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10302 (two_way_short_needle): Use it.
5a4aaa33
RM
10303 * string/strstr.c (AVAILABLE1_USES_J): Define.
10304 * string/strcasestr.c: Likewise.
99677e57
MK
10305
10306 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10307 array references.
10308 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10309
400726de
MK
10310 [BZ #11607]
10311 * NEWS: Add an entry.
10312 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10313 define their defaults.
10314 (two_way_short_needle): Detect end-of-string on-the-fly.
10315 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10316 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10317 * string/bug-strcasestr1.c: New test.
10318 * string/Makefile: Run it.
10319
20a71f2c
MK
103202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10321
10322 [BZ #11607]
10323 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10324 the first character.
10325
21ad0558
RM
103262012-08-21 Roland McGrath <roland@hack.frob.com>
10327
10328 * csu/elf-init.c (__libc_csu_irel): Function removed.
10329 * csu/libc-start.c (apply_irel): New function.
10330 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10331
0e1d9911
JM
103322012-08-21 Joseph Myers <joseph@codesourcery.com>
10333
10334 * sysdeps/unix/sysv/linux/kernel-features.h
10335 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10336 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10337 <kernel-features.h>.
10338 [__NR_fadvise64_64]: Make code unconditional.
10339 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10340 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10341 !__NR_fadvise64_64)]: Likewise.
10342 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10343 !__NR_fadvise64_64))]: Likewise.
10344 [__NR_fadvise64]: Make code unconditional.
10345 [!__NR_fadvise64]: Remove conditional code.
10346 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10347 <kernel-features.h>.
10348 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10349 unconditional.
10350 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10351 conditional code.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10353 not include <kernel-features.h>.
10354 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10355 unconditional.
10356 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10357 conditional code.
10358 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10359 include <kernel-features.h>.
10360 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10361 unconditional.
10362 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10363 conditional code.
10364
14a50c9d
WS
103652012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10366
10367 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10368 slight instruction rearrangements per scrollpipe analysis.
10369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10370
c0f4faf0
RM
103712012-08-20 Roland McGrath <roland@hack.frob.com>
10372
696da859
RM
10373 * manual/syslog.texi (syslog; vsyslog, closelog):
10374 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10375 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10376
c0f4faf0
RM
10377 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10378 DSOCAPS to match condition on defining it.
10379
348363b2
JM
103802012-08-20 Joseph Myers <joseph@codesourcery.com>
10381
a35cbf28
JM
10382 * sysdeps/unix/sysv/linux/kernel-features.h
10383 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10385 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10386 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10388 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10389 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10391 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10392 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10393
445f7ecd
JM
10394 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10395 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10396
348363b2
JM
10397 * sysdeps/unix/sysv/linux/kernel-features.h
10398 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10399 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10400 unconditional.
10401 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10402 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10403 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10404 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10405 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10406 Make code unconditional.
10407 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10408 (__mmap64) [!__NR_mmap2]: Likewise.
10409 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10410 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10411 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10412 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10413 [__NR_mmap2]: Make code unconditional.
10414 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10415 (__mmap64) [!__NR_mmap2]: Likewise.
10416
bc5bc0e5
AK
104172012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10418
10419 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10420
88d506de
AJ
104212012-08-18 Andreas Jaeger <aj@suse.de>
10422
10423 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10424
493387d2
MF
104252012-08-18 Mike Frysinger <vapier@gentoo.org>
10426
10427 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10428 * include/unistd.h (__have_sock_cloexec): Likewise.
10429 (__have_pipe2): Likewise.
10430 (__have_dup3): Likewise.
10431
a277af22
MF
104322012-08-18 Mike Frysinger <vapier@gentoo.org>
10433
10434 [BZ #9685]
10435 * include/unistd.h (__have_pipe2): Change define into an extern int.
10436 (__have_dup3): Likewise.
10437 * socket/have_sock_cloexec.c: Include fcntl.h.
10438 (__have_pipe2): New variable.
10439 (__have_dup3): Likewise.
10440
fdab8fd3
MF
104412012-08-17 Mike Frysinger <vapier@gentoo.org>
10442
10443 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10444
31035e80
MP
104452012-08-17 Marek Polacek <polacek@redhat.com>
10446
10447 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10448 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10449
3bd9e993
RM
104502012-08-17 Roland McGrath <roland@hack.frob.com>
10451
c91c505f
RM
10452 * configure.in: Add AC_SUBST for sysheaders.
10453 * configure: Regenerated.
10454 * config.make.in (sysheaders): New substituted variable.
10455
7c6f9d53
RM
10456 * sysdeps/unix/mkfifo.c: Moved ...
10457 * sysdeps/posix/mkfifo.c: ... here.
10458 * sysdeps/unix/mkfifoat.c: Moved ...
10459 * sysdeps/posix/mkfifoat.c: ... here.
10460
10461 * sysdeps/unix/utime.c: Moved ...
10462 * sysdeps/posix/utime.c: ... here.
10463
10464 * sysdeps/unix/time.c: Moved ...
10465 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10466 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10467 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10468
10469 * sysdeps/unix/nice.c: Moved ...
10470 * sysdeps/posix/nice.c: ... here.
10471
10472 * sysdeps/unix/alarm.c: Moved ...
10473 * sysdeps/posix/alarm.c: ... here.
10474
3bd9e993
RM
10475 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10476
d1f09384
JL
104772012-08-17 Jeff Law <law@redhat.com>
10478
10479 * intl/Makefile (codeset_mo): New variable.
10480 ($(codeset_mo)): New target.
10481 (tst-codeset.out): Depend on that. Remove explicit rule.
10482 (tst-gettext3.out, tst-gettext5.out): Likewise.
10483 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10484 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10485 * intl/tst-codeset.sh: Remove.
10486 * intl/tst-gettext3.sh: Likewise.
10487 * intl/tst-gettext5.sh: Likewise.
10488
2ae1ae5c
RM
104892012-08-17 Roland McGrath <roland@hack.frob.com>
10490
c31fdb83
RM
10491 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10492 * sysdeps/unix/syscalls.list: ... here.
10493
a0844057
RM
10494 * sysdeps/posix/getaddrinfo.c
10495 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10496 (gaiconf_init, gaiconf_reload): Use them.
10497 [!_STATBUF_ST_NSEC]
10498 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10499 Define using time_t rather than struct timespec.
10500
750c1f2a
RM
10501 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10502 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10503 Macros removed.
10504 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10505 [!NO_THREADS].
10506 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10507 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10508 Likewise.
10509
2ae1ae5c
RM
10510 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10511 __libc_cleanup_push argument.
10512
e66a42f5
RM
10513 * bits/param.h: New file.
10514 * misc/sys/param.h: New file.
10515 * include/sys/param.h: New file.
10516 * misc/Makefile (headers): Add bits/param.h.
10517 * sysdeps/generic/sys/param.h: File removed.
10518 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10519 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10520 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10521 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10522
b7c08a66
RM
10523 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10524 last change.
10525
b2e1c562
RM
10526 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10527 [_IO_MTSAFE_IO].
10528 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10529 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10530 New macros.
10531
c75ccd4c
RM
10532 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10533 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10534 rather than -D_IO_MTSAFE_IO conditionally.
10535 * stdio-common/Makefile (CPPFLAGS): Likewise.
10536 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10537 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10538 Use $(libio-mtsafe).
10539 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10540 of -D_IO_MTSAFE_IO.
10541 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10542 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10543 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10544 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10545 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10546 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10547 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10548 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10549 (CFLAGS-fread_u_chk.c): Likewise.
10550 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10551 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10552 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10553 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10554 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10555 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10556 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10557 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10558 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10559
10560 * libio/Makefile: Test [$(libc-reentrant) = yes]
10561 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10562
10563 * Makeconfig
10564 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10565 * sysdeps/pthread/configure: File removed.
10566 * sysdeps/pthread/Makeconfig: New file.
10567 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10568 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10569
d9195db8
GB
105702012-08-16 Gary Benson <gbenson@redhat.com>
10571
10572 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10573 unmapping the first object in a namespace.
10574
86466cd9
RM
105752012-08-16 Roland McGrath <roland@hack.frob.com>
10576
10577 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10578 (__internal_setnetgrent): ... this. Add internal_function to
10579 definition. Add libc_hidden_def.
10580 (setnetgrent): Update caller.
10581 (internal_endnetgrent): Renamed to ...
10582 (__internal_endnetgrent): ... this. Add internal_function to
10583 definition. Add libc_hidden_def.
10584 (endnetgrent): Update caller.
10585 (internal_getnetgrent_r): Renamed to ...
10586 (__internal_getnetgrent_r): ... this. Add internal_function to
10587 definition. Add libc_hidden_def.
10588 (__getnetgrent_r): Update caller.
10589 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10590
c3c8283c
JM
105912012-08-16 Joseph Myers <joseph@codesourcery.com>
10592
10593 * stdlib/longlong.h: Update from GCC.
10594
db1ee0a8
RM
105952012-08-16 Roland McGrath <roland@hack.frob.com>
10596
10597 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10598 on _QL, which is set by umul_ppmm but never used.
10599 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10600 variables, which are set by GMP macros but never used.
10601 * stdio-common/_itowa.c (_itowa): Likewise.
10602 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10603 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10604
30f69637
CD
106052012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10606
10607 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10608 struct La_sh_regs is not constant.
10609 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10610 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10611 and struct La_sparc64_regs are not constant.
10612
93a78ac4
JM
106132012-08-16 Joseph Myers <joseph@codesourcery.com>
10614
10615 * sysdeps/unix/sysv/linux/kernel-features.h
10616 (__ASSUME_POSIX_TIMERS): Remove.
10617 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10618 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10619 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10620 Make code unconditional.
10621 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10622 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10623 Make code unconditional.
10624 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10625 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10626 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10627 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10628 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10629 Make code unconditional.
10630 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10631 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10632 (__libc_missing_posix_timers): Remove.
10633
dd924cd7
RM
106342012-08-15 Roland McGrath <roland@hack.frob.com>
10635
4b4f2771
RM
10636 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10637 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10638
601c888b
RM
10639 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10640
176790a7
RM
10641 * elf/dl-sym.c: Include <stdlib.h>.
10642
329bc018
RM
10643 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10644 constants, which avoids warnings in 32-bit builds.
10645
e04e272d
RM
10646 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10647 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10648
952bf94a
RM
10649 * misc/lseek.c: File moved to ...
10650 * io/lseek.c: ... here.
10651
7c99b50a
RM
10652 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10653
dd924cd7
RM
10654 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10655 shifting LEN more than 31 bits at once.
10656
b3f479a8
LD
106572012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10658
10659 [BZ #14195]
8c4ae0d4
RM
10660 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10661 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10662 * string/test-strncasecmp.c (check1): Renamed to...
10663 (bz12205): ...this.
10664 (bz14195): Add new testcase for two empty input strings and N > 0.
10665 (test_main): Call new testcase, adapt for renamed function.
10666
9c55864e
AJ
106672012-08-15 Andreas Jaeger <aj@suse.de>
10668
10669 [BZ #14090]
10670 * crypt/md5test2.c: New test, based on test supplied by Serge
10671 Belyshev <belyshev@depni.sinp.msu.ru>.
10672 * crypt/Makefile (xtests): Add md5test-giant..
10673 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10674
02dcb6c5
PE
106752012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10676
10677 [BZ #14090]
10678 * crypt/md5.c (md5_process_block): Don't assume the buffer
10679 length is less than 2**32.
10680 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10681 length is less than 2**64.
10682
a3f95dcc
RM
106832012-08-15 Roland McGrath <roland@hack.frob.com>
10684
be75d758
RM
10685 * string/str-two-way.h: Include <sys/param.h>.
10686 (MAX): Macro removed.
10687
7312ca90
RM
10688 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10689 Move #define and #undef of memmove to just before and after
10690 including <string.h>.
10691
9a0a5486
RM
10692 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10693 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10694 and after including <string.h>. Move declarations of
10695 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10696 to before #include "string/memmove.c".
10697
67cc348d
RM
10698 * include/dirent.h: Declare __getdirentries.
10699
a3f95dcc
RM
10700 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10701 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10702
ca98e171
MF
107032012-08-14 Mike Frysinger <vapier@gentoo.org>
10704
10705 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10706 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10707 * sysdeps/i386/configure: Regenerated.
10708 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10709 STABS_CURRENT_FILE, and STABS_FUN.
10710 (END): Remove call to STABS_FUN_END.
10711 (STABS_CURRENT_FILE1): Delete.
10712 (STABS_CURRENT_FILE): Likewise.
10713 (STABS_FUN): Likewise.
10714 (STABS_FUN_END): Likewise.
10715 (STABS_FUN2): Likewise.
10716 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10717 * sysdeps/x86_64/configure: Regenerated.
10718
5908bf46
RM
107192012-08-14 Roland McGrath <roland@hack.frob.com>
10720
10721 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10722 * elf/dl-lookup.c: Likewise.
5908bf46 10723
f2c05b9e
JM
107242012-08-14 Joseph Myers <joseph@codesourcery.com>
10725
10726 * sysdeps/unix/sysv/linux/kernel-features.h
10727 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10728 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10729 unconditionally.
10730 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10731 unconditionally.
10732 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10733 condition on __ASSUME_CLONE_THREAD_FLAGS.
10734
e11f5155
AJ
107352012-08-14 Andreas Jaeger <aj@suse.de>
10736
10737 * sysdeps/i386/fpu/libm-test-ulps: Update.
10738
51a9ba86
MK
107392012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10740
2fdd4f78
AJ
10741 * include/atomic.h (atomic_exchange_and_add): Split into ...
10742 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10743 New atomic macros.
51a9ba86 10744
ba6cba9e
MT
107452012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10746
10747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10748
42443a47
JL
107492012-08-13 Jeff Law <law@redhat.com>
10750
10751 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10752 null byte in the output string.
10753
121dce05
JM
107542012-08-10 Joseph Myers <joseph@codesourcery.com>
10755
10756 * sysdeps/unix/sysv/linux/kernel-features.h
10757 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10758 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10759 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10760 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10761 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10762 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10763 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10764
bf51f568
JL
107652012-08-09 Jeff Law <law@redhat.com>
10766
10767 [BZ #13939]
10768 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10769 When avoid_arena is set, don't retry in the that arena. Pick the
10770 next one, whatever it might be.
10771 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10772 (arena_lock): Pass in new parameter to arena_get2.
10773 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10774 arena_get2.
10775 (__libc_malloc): Unify retrying after main arena failure with
10776 __libc_memalign version.
10777 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10778
f85fa270
L
107792012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10780
10781 [BZ #14166]
10782 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10783 to __redirect_strstr.
10784 (__strstr_sse42): Use typeof __redirect_strstr.
10785 (__strstr_ia32): Likewise.
10786 (__libc_strstr): New prototype.
10787 (strstr): Renamed to ...
10788 (__libc_strstr): This.
10789 (strstr): New strong alias of __libc_strstr.
10790 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10791 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10792 __redirect_time.
10793 Include <time.h>.
10794 (__libc_time): New prototype.
10795 (time_ifunc): Replace time with __libc_time.
10796 (time): New strong alias and hidden definition of __libc_time.
10797 (__GI_time): Remove strong alias.
10798 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10799 Include <stddef.h>.
10800 (memmove): Redefined to __redirect_memmove.
10801 (__memmove_sse2): Use typeof __redirect_memmove.
10802 (__memmove_ssse3): Likewise.
10803 (__memmove_ssse3_back): Likewise.
10804 (__libc_memmove): New prototype.
10805 (memmove): Renamed to ...
10806 (__libc_memmove): This.
10807 (memmove): New strong alias of __libc_memmove.
10808
33b4a91e
MS
108092012-08-08 Mark Salter <msalter@redhat.com>
10810
10811 * elf/elf.h
10812 (R_MN10300_TLS_GD): Define.
10813 (R_MN10300_TLS_LD): Likewise.
10814 (R_MN10300_TLS_LDO): Likewise.
10815 (R_MN10300_TLS_GOTIE): Likewise.
10816 (R_MN10300_TLS_IE): Likewise.
10817 (R_MN10300_TLS_LE): Likewise.
10818 (R_MN10300_TLS_DTPMOD): Likewise.
10819 (R_MN10300_TLS_DTPOFF): Likewise.
10820 (R_MN10300_TLS_TPOFF): Likewise.
10821 (R_MN10300_SYM_DIFF): Likewise.
10822 (R_MN10300_ALIGN): Likewise.
10823 (R_MN10300_NUM): Update.
10824
b36137f1
JM
108252012-08-08 Joseph Myers <joseph@codesourcery.com>
10826
10827 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10828 Remove.
10829
cdd915fd
RM
108302012-08-08 Roland McGrath <roland@hack.frob.com>
10831
a2433aac
RM
10832 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10833
cdd915fd
RM
10834 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10835 sysdeps/unix -> sysdeps/posix move.
10836 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10837
bf9b740a
AM
108382012-08-07 Allan McRae <allan@archlinux.org>
10839
10840 [BZ #14303]
10841 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10842 (SUNOS_CPP): Likewise.
10843 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10844 not found.
10845 (open_input): Call CPP using execvp.
10846
93df14ee
JM
108472012-08-07 Joseph Myers <joseph@codesourcery.com>
10848
10849 * sysdeps/unix/sysv/linux/kernel-features.h
10850 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10851 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10852 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10853 (__ASSUME_WAITID_SYSCALL): Likewise.
10854 * sysdeps/unix/sysv/linux/dl-execstack.c
10855 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10856 code unconditional.
10857 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10858 conditional code.
10859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10860 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10861 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10862 code.
10863 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10864 unconditional.
10865 [__ASSUME_WAITID_SYSCALL]: Likewise.
10866 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10867
d34689de
RM
108682012-08-07 Roland McGrath <roland@hack.frob.com>
10869
a281decc
RM
10870 * sysdeps/unix/closedir.c: Renamed to ...
10871 * sysdeps/posix/closedir.c: ... here.
10872 * sysdeps/unix/dirfd.c: Renamed to ...
10873 * sysdeps/posix/dirfd.c: ... here.
10874 * sysdeps/unix/dirstream.h: Renamed to ...
10875 * sysdeps/posix/dirstream.h: ... here.
10876 * sysdeps/unix/fdopendir.c: Renamed to ...
10877 * sysdeps/posix/fdopendir.c: ... here.
10878 * sysdeps/unix/opendir.c: Renamed to ...
10879 * sysdeps/posix/opendir.c: ... here.
10880 * sysdeps/unix/readdir.c: Renamed to ...
10881 * sysdeps/posix/readdir.c: ... here.
10882 * sysdeps/unix/readdir_r.c: Renamed to ...
10883 * sysdeps/posix/readdir_r.c: ... here.
10884 * sysdeps/unix/rewinddir.c: Renamed to ...
10885 * sysdeps/posix/rewinddir.c: ... here.
10886 * sysdeps/unix/seekdir.c: Renamed to ...
10887 * sysdeps/posix/seekdir.c: ... here.
10888 * sysdeps/unix/telldir.c: Renamed to ...
10889 * sysdeps/posix/telldir.c: ... here.
10890 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10891 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10892 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10893 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10894
22895b47
RM
10895 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10896 * bits/fcntl.h: ... here.
10897
707a53b6
RM
10898 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10899 not 0.
10900 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10901 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10902 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10903 (struct flock): Move l_start, l_len to the beginning.
10904 Use __pid_t for l_pid.
10905 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10906 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10907 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10908 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10909 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10910 [__USE_LARGEFILE64] (struct flock64): New type.
10911 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10912
f0bd3e25
RM
10913 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10914 * bits/dirent.h: ... here.
10915
d34689de
RM
10916 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10917 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10918
6dad2c06
JM
109192012-08-07 Joseph Myers <joseph@codesourcery.com>
10920
10921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10922 Change from 2.6.0 to 2.6.16.
10923 * sysdeps/unix/sysv/linux/configure: Regenerated.
10924 * sysdeps/unix/sysv/linux/kernel-features.h
10925 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10926 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10927 version.
10928 (__ASSUME_UTIMES): Likewise.
10929 (__ASSUME_CLONE_STOPPED): Remove.
10930 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10931 architectures, not kernel version.
10932 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10933 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10934 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10935 (__ASSUME_WAITID_SYSCALL): Likewise.
10936 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
10937 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
10938 * README: State 2.6.16 as minimum Linux kernel version. Do not
10939 refer to older versions.
10940
03af9520
RM
109412012-08-06 Roland McGrath <roland@hack.frob.com>
10942
8e49df1d
RM
10943 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
10944 Define alphasort64 as an alias.
10945 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
10946 Define versionsort64 as an alias.
10947 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
10948 Define scandir64 as an alias.
10949 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
10950 Define scandirat64 as an alias.
10951 * dirent/alphasort64.c (alphasort64):
10952 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
10953 * dirent/versionsort64.c: Likewise.
10954 * dirent/scandir64.c: Likewise.
10955 * dirent/scandirat64.c: Likewise.
10956 * sysdeps/wordsize-64/alphasort.c: File removed.
10957 * sysdeps/wordsize-64/alphasort64.c: File removed.
10958 * sysdeps/wordsize-64/scandir.c: File removed.
10959 * sysdeps/wordsize-64/scandir64.c: File removed.
10960 * sysdeps/wordsize-64/scandirat.c: File removed.
10961 * sysdeps/wordsize-64/scandirat64.c: File removed.
10962 * sysdeps/wordsize-64/versionsort.c: File removed.
10963 * sysdeps/wordsize-64/versionsort64.c: File removed.
10964 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
10965 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
10966 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
10967 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
10968 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
10969 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
10970 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
10971 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
10972
10973 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
10974 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
10975 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
10976 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
10977 [defined __arch64__ || defined __sparcv9]
10978 (__INO_T_MATCHES_INO64_T): New macro.
10979 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
10980 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
10981 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
10982 * sysdeps/unix/sysv/linux/bits/dirent.h
10983 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
10984 (_DIRENT_MATCHES_DIRENT64): New macro.
10985
03af9520
RM
10986 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
10987 Define lockf64 as an alias.
10988 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
10989 Define fseeko64 as an alias.
10990 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
10991 Define ftello64 as an alias.
10992 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
10993 Define _IO_fgetpos64 and fgetpos64 as aliases.
10994 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
10995 Define _IO_fsetpos64 and fsetpos64 as aliases.
10996 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
10997 Conditionalize body on this.
10998 * libio/fseeko64.c: Likewise.
10999 * libio/ftello64.c: Likewise.
11000 * libio/iofgetpos64.c: Likewise.
11001 * libio/iofsetpos64.c: Likewise.
11002 * sysdeps/wordsize-64/lockf.c: File removed.
11003 * sysdeps/wordsize-64/lockf64.c: File removed.
11004 * sysdeps/wordsize-64/fseeko.c: File removed.
11005 * sysdeps/wordsize-64/fseeko64.c: File removed.
11006 * sysdeps/wordsize-64/ftello.c: File removed.
11007 * sysdeps/wordsize-64/ftello64.c: File removed.
11008 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11009 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11010 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11011 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11012 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11013 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11014 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11016 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11018 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11019 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11020 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11021 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11022
11023 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11025 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11026 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11027 [defined __arch64__ || defined __sparcv9]
11028 (__OFF_T_MATCHES_OFF64_T): New macro.
11029 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11030 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11031 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11032 (__OFF_T_MATCHES_OFF64_T): New macro.
11033
c5757acd
L
110342012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11035
11036 * stdlib/secure-getenv.c (__secure_getenv): Replace
11037 GLIBC_2_16 with GLIBC_2_17.
11038
3a31811e
L
110392012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11040
11041 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11042 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11043
faa2bccb
DM
110442012-08-03 David S. Miller <davem@davemloft.net>
11045
11046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11047
85fe1997
JM
110482012-08-03 Joseph Myers <joseph@codesourcery.com>
11049
11050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11051 Remove.
11052 (__ASSUME_CORRECT_SI_PID): Likewise.
11053 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11054 (__ASSUME_TMPFS_NAME): Likewise.
11055 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11056 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11057 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11058 (HAVE_AUX_SECURE): Make definition unconditional.
11059 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11060 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11061
4f75b7a0
RM
110622012-08-03 Roland McGrath <roland@hack.frob.com>
11063
11064 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11065 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11066 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11067 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11068 __eloop_threshold instead of SYMLOOP_MAX.
11069
11070 * sysdeps/generic/eloop-threshold.h: New file.
11071 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11072 of MAXSYMLINKS.
11073 * elf/chroot_canon.c (chroot_canon): Likewise.
11074
7aab07e4
JM
110752012-08-03 Joseph Myers <joseph@codesourcery.com>
11076
11077 [BZ #13717]
11078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11079 Change to 2.6.0 everywhere.
11080 * sysdeps/unix/sysv/linux/configure: Regenerated.
11081 * sysdeps/unix/sysv/linux/kernel-features.h
11082 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11083 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11084 kernel versions.
11085 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11086 (__ASSUME_FUTEX_REQUEUE): Remove.
11087 (__ASSUME_STATFS64): Define unconditionally.
11088 (__ASSUME_AT_SECURE): Likewise.
11089 (__ASSUME_CORRECT_SI_PID): Likewise.
11090 (__ASSUME_TGKILL): Define without depending on kernel version for
11091 i386.
11092 (__ASSUME_UTIMES): Likewise.
11093 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11094 kernel version.
11095 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11096 (__ASSUME_TMPFS_NAME): Likewise.
11097 * README: Update reference to Linux kernel versions.
11098
b67e9372
MP
110992012-08-02 Marek Polacek <polacek@redhat.com>
11100
1f529f7d 11101 [BZ# 14150]
b67e9372
MP
11102 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11103 libc_cv_asm_type_prefix with %.
11104 * configure: Regenerated.
d2441631
RM
11105 * include/libc-symbols.h: Remove comment about
11106 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
11107 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11108 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11109 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11110 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11111 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11112 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11113 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11114 * elf/tst-unique2mod1.c: Likewise.
11115 * elf/tst-unique1mod2.c: Likewise.
11116 * elf/tst-unique1mod1.c: Likewise.
11117 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11118 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11119 Replace ASM_TYPE_DIRECTIVE with .type.
11120 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11121 * sysdeps/i386/sysdep.h: Likewise.
11122 * sysdeps/x86_64/sysdep.h: Likewise.
11123 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11125 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11126 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11127 * sysdeps/powerpc/powerpc32/sysdep.h:
11128 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11129 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11130 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11131 * sysdeps/i386/fpu/e_powf.S: Likewise.
11132 * sysdeps/i386/fpu/e_expl.S: Likewise.
11133 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11134 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11135 * sysdeps/i386/fpu/e_pow.S: Likewise.
11136 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11137 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11138 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11139 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11140 * sysdeps/i386/fpu/e_log2.S: Likewise.
11141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11142 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11143 * sysdeps/i386/fpu/e_powl.S: Likewise.
11144 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11145 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11146 * sysdeps/i386/fpu/e_logl.S: Likewise.
11147 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11148 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11149 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11150 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11151 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11152 * sysdeps/i386/fpu/e_log.S: Likewise.
11153 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11154 * sysdeps/i386/fpu/e_logf.S: Likewise.
11155 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11156 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11157 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11158 * sysdeps/i386/fpu/e_log10.S: Likewise.
11159 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11161 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11162 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11163 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11164 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11165 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11166 * sysdeps/i386/i686/strtok.S: Likewise.
11167 * sysdeps/i386/i386-mcount.S: Likewise.
11168 * sysdeps/i386/strtok.S: Likewise.
11169 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11170 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11171 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11172 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11173 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11174 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11175 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11176 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11177 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11178 * sysdeps/x86_64/_mcount.S: Likewise.
11179 * sysdeps/x86_64/strtok.S: Likewise.
11180 * sysdeps/sh/_mcount.S: Likewise.
11181
2747bf9a
RM
111822012-08-01 Roland McGrath <roland@hack.frob.com>
11183
11184 * libio/iofopen.c: Include <fcntl.h>.
11185 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11186 (_IO_fopen64, fopen64): Define as aliases.
11187 * libio/iofopen64.c: Include <fcntl.h>.
11188 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11189 Conditionalize body on this.
11190 * sysdeps/wordsize-64/iofopen.c: File removed.
11191 * sysdeps/wordsize-64/iofopen64.c: File removed.
11192
3fb791b8
MP
111932012-08-01 Marek Polacek <polacek@redhat.com>
11194
11195 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11196 Use dlfcn directly instead of a variable.
11197 (binfmt-subdir): Do not define.
11198 (dlfcn): Likewise.
11199
a9f1039f
JM
112002012-08-01 Joseph Myers <joseph@codesourcery.com>
11201
23bddc06
JM
11202 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11203 Remove all definitions.
11204 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11205 <kernel-features.h>.
11206 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11207 (miss_F_GETOWN_EX): Remove all definitions.
11208 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11209 macro definition.
11210 [!__ASSUME_FCNTL64]: Remove conditional code.
11211 [__ASSUME_FCNTL64]: Make code unconditional.
11212 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11213 <kernel-features.h>.
11214 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11215 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11216 (lockf64) [__NR_fcntl64]: Make code unconditional.
11217 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11218
a9f1039f
JM
11219 * sysdeps/unix/sysv/linux/kernel-features.h
11220 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11221 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11222 Make code unconditional.
11223 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11224 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11226 [__NR_vfork]: Make code unconditional.
11227 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11228 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11230 [__NR_vfork]: Make code unconditional.
11231 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11232 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11233
09c0ee5f
RM
112342012-08-01 Roland McGrath <roland@hack.frob.com>
11235
48aec5b9
RM
11236 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11237 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11238
cd97c966
RM
11239 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11240 Define mkstemp64 as an alias.
3f55550c
RM
11241 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11242 Define mkstemps64 as an alias.
cd97c966
RM
11243 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11244 Define mkostemp64 as an alias.
b8625cfc
RM
11245 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11246 Define mkostemps64 as an alias.
cd97c966
RM
11247 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11248 Conditionalize body on this.
11249 * misc/mkostemp64.c: Likewise.
b8625cfc 11250 * misc/mkostemps64.c: Likewise.
3f55550c 11251 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11252 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11253 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11254 * sysdeps/wordsize-64/mkostemp.c: File removed.
11255 * sysdeps/wordsize-64/mkstemp.c: File removed.
11256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11257 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11258 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11259 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11260
09c0ee5f
RM
11261 [BZ #14138]
11262 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11263 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11264 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11265 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11266
11267 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11268 compat_symbol macros from <shlib-compat.h> rather than the underlying
11269 default_symbol_version and symbol_version macros, so that DEFAULT
11270 lines in shlib-versions are respected.
11271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11272
7e66ee51
FW
112732012-08-01 Florian Weimer <fweimer@redhat.com>
11274
11275 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11276 Declare with warn_unused_result.
11277 (setgid, setregid, setegid, setresgid): Likewise.
11278 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11279 Likewise.
11280 * WUR-REPORT: Remove set*id functions.
11281
d2a54255
PT
112822012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11283
11284 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11285
7ecdb005
RM
112862012-07-31 Roland McGrath <roland@hack.frob.com>
11287
b4180a5e 11288 [BZ #10191]
789bd351
RM
11289 * include/sys/socket.h (__libc_accept, __libc_accept4):
11290 Add attribute_hidden.
11291 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11292
40ce302d
RM
11293 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11294 use of PTR_MANGLE.
11295 * inet/getnetgrent_r.c (setup): Likewise.
11296
7ecdb005
RM
11297 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11298
e2eabb2c
DM
112992012-07-31 David S. Miller <davem@davemloft.net>
11300
11301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11302
d0419dbf
JM
113032012-07-31 Joseph Myers <joseph@codesourcery.com>
11304
11305 [BZ #13629]
11306 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11307 value between 1.0 and 2.0 and smaller part has absolute value less
11308 than 1.0.
11309 * math/s_clog10.c (__clog10): Likewise.
11310 * math/s_clog10f.c (__clog10f): Likewise.
11311 * math/s_clog10l.c (__clog10l): Likewise.
11312 * math/s_clogf.c (__clogf): Likewise.
11313 * math/s_clogl.c (__clogl): Likewise.
11314 * math/libm-test.inc (clog_test): Add more tests.
11315 (clog10_test): Likewise.
11316 * sysdeps/i386/fpu/libm-test-ulps: Update.
11317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11318
2bc13872
FW
113192012-07-31 Florian Weimer <fweimer@redhat.com>
11320
11321 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11322 Exit with zero in case no suitable GID is found, and write a
11323 message to standard error.
11324
bea9b193
RM
113252012-07-30 Roland McGrath <roland@hack.frob.com>
11326
11327 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11328 rather than to 1.
11329 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11330 (MAXPATHLEN): Removed.
11331 (NOGROUP, NODEV): New macros.
11332 (setbit, clrbit, isset, isclr): New macros.
11333 (howmany, roundup, powerof2): New macros.
11334 (DEV_BSIZE): New macro.
11335
11336 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11337 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11338
11339 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11340 definition on [!__NO_LONG_DOUBLE_MATH].
11341
11342 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11343 PTR_MANGLE and PTR_DEMANGLE.
11344
11345 * socket/accept4.c (accept4): Rename to __libc_accept4.
11346 Define accept4 as a weak alias.
11347
11348 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11349 on [_DIRENT_HAVE_D_TYPE].
11350 * io/ftw.c (ftw_dir): Likewise.
11351
11352 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11353
11354 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11355
11356 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11357 Use the BSD numbers rather than the arbitrary ones we had.
11358 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11359 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11360 (SIGXCPU, SIGXFSZ): New macros.
11361 (_NSIG): Now 32.
11362
11363 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11364 initializer on [_LIBC_REENTRANT].
11365
11366 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11367 definitions inside [_POSIX_MAPPED_FILES].
11368
11369 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11370
11371 * dirent/opendir.c: Include <fcntl.h>.
11372
11373 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11374 (__libc_getspecific): Likewise.
11375 (__libc_key_create): Likewise.
11376
11377 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11378 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11379 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11380 (tmpfile64): Define as alias.
11381 * sysdeps/wordsize-64/tmpfile.c: File removed.
11382 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11383 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11385
11386 * stdio-common/vfscanf.c: Include <stdbool.h>.
11387 * nss/makedb.c: Likewise.
11388 * stdio-common/_i18n_number.h: Likewise.
11389 * argp/argp-help.c: Likewise.
11390 * posix/wordexp.c: Likewise.
11391 * sysdeps/posix/spawni.c: Likewise.
11392 * nss/nss_files/files-initgroups.c: Likewise.
11393 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11394 * nss/nss_files/files-initgroups.c: Likewise.
11395 * nss/nss_db/db-netgrp.c: Likewise.
11396 * nss/nss_db/db-initgroups.c: Likewise.
11397 * io/fchmodat.c: Include <sys/stat.h>.
11398
11399 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11400 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11401
11402 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11403 [HAVE_MMAP].
11404
11405 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11406 Add multiple inclusion protection.
11407
e5abc686
DM
114082012-07-27 David S. Miller <davem@davemloft.net>
11409
11410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11411
815e6fa3
GB
114122012-07-27 Gary Benson <gbenson@redhat.com>
11413
11414 [BZ #14298]
11415 * elf/rtld.c: Include <stap-probe.h>.
11416 (dl_main): Added static probes "init_start" and "init_complete".
11417 * elf/dl-load.c: Include <stap-probe.h>.
11418 (lose): Take new parameter "nsid".
11419 Added static probe "map_failed".
11420 (_dl_map_object_from_fd): Pass namespace id to lose.
11421 Added static probe "map_start".
11422 (open_verify): Pass namespace id to lose.
11423 * elf/dl-open.c: Include <stap-probe.h>.
11424 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11425 and "reloc_complete".
11426 * elf/dl-close.c: Include <stap-probe.h>.
11427 (_dl_close_worker): Added static probes "unmap_start" and
11428 "unmap_complete".
11429 * elf/rtld-debugger-interface.txt: New file documenting the above.
11430
9f98c16c
RM
114312012-07-26 Roland McGrath <roland@hack.frob.com>
11432
11433 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11434 rather than a string variable.
11435 * sunrpc/rpc_main.c (h_output): Likewise.
11436 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11437
f3c22df3
PT
114382012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11439
11440 * inet/check_native.c: New file.
11441
3129cfc6
JM
114422012-07-26 Joseph Myers <joseph@codesourcery.com>
11443
da865e95
JM
11444 [BZ #13629]
11445 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11446 if larger part has absolute value 1.0.
11447 * math/s_clog10.c (__clog10): Likewise.
11448 * math/s_clog10f.c (__clog10f): Likewise.
11449 * math/s_clog10l.c (__clog10l): Likewise.
11450 * math/s_clogf.c (__clogf): Likewise.
11451 * math/s_clogl.c (__clogl): Likewise.
11452 * math/libm-test.inc (clog_test): Add more tests.
11453 (clog10_test): Likewise.
11454 * sysdeps/i386/fpu/libm-test-ulps: Update.
11455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11456
3129cfc6
JM
11457 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11458 (pltexit): Likewise.
11459 (La_regs): Likewise.
11460 (La_retval): Likewise.
11461 (int_retval): Likewise.
11462 Update #error for removed macros to refer only to definitions in
11463 tst-audit.h.
11464 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11465 macro.
11466 (pltexit): Likewise.
11467 (La_regs): Likewise.
11468 (La_retval): Likewise.
11469 (int_retval): Likewise.
11470 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11471 macro.
11472 (pltexit): Likewise.
11473 (La_regs): Likewise.
11474 (La_retval): Likewise.
11475 (int_retval): Likewise.
11476 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11477 macro.
11478 (pltexit): Likewise.
11479 (La_regs): Likewise.
11480 (La_retval): Likewise.
11481 (int_retval): Likewise.
11482 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11483 macro.
11484 (pltexit): Likewise.
11485 (La_regs): Likewise.
11486 (La_retval): Likewise.
11487 (int_retval): Likewise.
11488 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11489 macro.
11490 (pltexit): Likewise.
11491 (La_regs): Likewise.
11492 (La_retval): Likewise.
11493 (int_retval): Likewise.
11494 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11495 macro.
11496 (pltexit): Likewise.
11497 (La_regs): Likewise.
11498 (La_retval): Likewise.
11499 (int_retval): Likewise.
11500 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11501 macro definitions in tst-audit.h.
11502 * sysdeps/i386/tst-audit.h: New file.
11503 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11504 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11505 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11506 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11507 * sysdeps/sh/tst-audit.h: Likewise.
11508 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11509 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11510 * sysdeps/x86_64/tst-audit.h: Likewise.
11511
bfc07087
AJ
115122012-07-26 Andreas Jaeger <aj@suse.de>
11513
b1b2aaf8
AJ
11514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11515 ptrace.
11516
11517 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11518 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11519 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11520 PTRACE_O_MASK.
11521 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11522 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11523 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11524
bfc07087
AJ
11525 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11526 value.
11527
11528 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11529 _sigsys.
11530 (si_call_addr, si_syscall, si_arch): Define new macro.
11531 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11532 _sigsys.
11533 (si_call_addr, si_syscall, si_arch): Define new marcro.
11534 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11535 _sigsys.
11536 (si_call_addr, si_syscall, si_arch): Define new macro.
11537 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11538 _sigsys.
11539 (si_call_addr, si_syscall, si_arch): Define new macro.
11540
89b4b02f
JM
115412012-07-25 Joseph Myers <joseph@codesourcery.com>
11542
11543 [BZ #13717]
11544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11545 Change to 2.4.21 where previously 2.4.1.
11546 * sysdeps/unix/sysv/linux/configure: Regenerated.
11547 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11548 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11549 Linux kernel version.
11550 (__ASSUME_STD_AUXV): Remove.
11551 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11552 kernel version.
11553 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11554 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11555 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11556 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11557 (__ASSUME_NETLINK_SUPPORT): Likewise.
11558 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11559 (__no_netlink_support): Remove conditional definition.
11560 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11561 Remove.
11562 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11563 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11564 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11565 (if_nameindex_ioctl): Remove.
11566 (if_nameindex_netlink): Do not handle __no_netlink_support.
11567 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11568 code.
11569 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11570 Remove conditional code.
11571 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11572 code.
11573 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11574 unconditional.
11575 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11576 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11577 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11578 Remove.
11579 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11580 [!__ASSUME_STD_AUXV]: Remove conditional code.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11582 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11583 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11585 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11586 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11587 code.
11588 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11590 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11591 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11592 conditional code.
11593 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11595 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11596 code.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11598 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11599 conditional code.
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11601 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11602 code unconditional.
11603 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11604 conditional code.
11605 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11606 unconditional.
11607 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11608 conditional code.
11609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11610 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11611 unconditional.
11612 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11613 conditional code.
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11615 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11616 code unconditional.
11617 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11618 conditional code.
11619 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11620 unconditional.
11621 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11622 conditional code.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11624 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11625 code unconditional.
11626 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11627 conditional code.
11628 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11629 unconditional.
11630 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11631 conditional code.
11632
842a39cd
AS
116332012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11634
11635 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11636 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11637 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11638 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11639 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11640 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11641 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11642 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11643 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11644 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11645 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11646 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11647 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11648 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11649 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11650 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11651 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11652 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11653 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11655 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11656 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11657 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11658
84b3fd84
FW
116592012-07-25 Florian Weimer <fweimer@redhat.com>
11660
11661 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11662 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11663 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11664 Introduce __libc_secure_getenv.
0c7936d5
FW
11665 * stdlib/Versions (2.17): Add secure_getenv
11666 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11667 * stdlib/secure-getenv.c: Rename __secure_getenv to
11668 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11669 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11670 * stdlib/tst-secure-getenv.c: New.
11671 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11672 * manual/startup.texi (Environment Access): Document
11673 secure_getenv.
84b3fd84
FW
11674 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11675 __libc_secure_getenv.
11676 * inet/ruserpass.c (ruserpass): Likewise.
11677 * malloc/mtrace.c (mtrace): Likewise.
11678 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11679 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11680 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11681 * sysdeps/posix/tempname.c: Likewise. Evaluate
11682 HAVE_SECURE_GETENV.
11683 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11684 __secure_getenv to __libc_secure_getenv.
84b3fd84 11685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11687 Likewise.
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11689 Likewise.
11690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11695 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11697
56e49b71
JM
116982012-07-25 Joseph Myers <joseph@codesourcery.com>
11699
11700 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11701 (struct La_i86_retval): Likewise.
11702 (struct La_x86_64_regs): Likewise.
11703 (struct La_x86_64_retval): Likewise.
11704 (struct La_x32_regs): Likewise.
11705 (struct La_x32_retval): Likewise.
11706 (struct La_ppc32_regs): Likewise.
11707 (struct La_ppc32_retval): Likewise.
11708 (struct La_ppc64_regs): Likewise.
11709 (struct La_ppc64_retval): Likewise.
11710 (struct La_sh_regs): Likewise.
11711 (struct La_sh_retval): Likewise.
11712 (struct La_s390_32_regs): Likewise.
11713 (struct La_s390_32_retval): Likewise.
11714 (struct La_s390_64_regs): Likewise.
11715 (struct La_s390_64_retval): Likewise.
11716 (struct La_sparc32_regs): Likewise.
11717 (struct La_sparc32_retval): Likewise.
11718 (struct La_sparc64_regs): Likewise.
11719 (struct La_sparc64_retval): Likewise.
11720 (struct audit_ifaces): Remove architecture-specific pltenter and
11721 pltexit members.
11722 * sysdeps/i386/ldsodefs.h: New file.
11723 * sysdeps/powerpc/ldsodefs.h: Likewise.
11724 * sysdeps/s390/ldsodefs.h: Likewise.
11725 * sysdeps/sh/ldsodefs.h: Likewise.
11726 * sysdeps/sparc/ldsodefs.h: Likewise.
11727 * sysdeps/x86_64/ldsodefs.h: Likewise.
11728
354691b7
MP
117292012-07-25 Marek Polacek <polacek@redhat.com>
11730
11731 [BZ #6808]
11732 * math/libm-test.inc (yn_test): Add another test.
11733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11734 to ERANGE when the result is +-Inf.
11735 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11736 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11737 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11738 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11739
bf9e2071
JM
117402012-07-24 Joseph Myers <joseph@codesourcery.com>
11741
11742 * conform/data/time.h-data (NULL): Use macro-constant. Require
11743 equal to 0.
11744 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11745 clock_t.
11746 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11747
57633811
TS
117482012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11749
11750 * configure.in <sysdeps resolving>: Correct printing
11751 Implies_before.
11752 * configure: Regenerate.
11753
c23c33b0
TS
117542012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11755
11756 * math/w_ilogb.c: Include <limits.h>.
11757 * math/w_ilogbl.c: Likewise.
11758
b5982523
JM
117592012-07-20 Joseph Myers <joseph@codesourcery.com>
11760
11761 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11762 va_copy. Document allowing for unavailable va_copy only as
11763 pre-C99 compatibility.
11764 * manual/string.texi (Copying and Concatenation): Use va_copy
11765 instead of __va_copy in concat example.
11766
ac4ea442
PT
117672012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11768
11769 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11770 (__sendto): Use create_address_port. Initialize APORT and deallocate
11771 it if not null.
11772
f98eafbd
PT
11773 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11774 with O_NOLINK passed to __file_name_lookup.
11775
898c7aab
PT
11776 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11777 with O_NOLINK passed to __file_name_lookup.
11778
0ced335a
PT
11779 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11780 negative N or less than NGIDS.
11781
b3404dbd
PT
11782 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11783 type to string_t. Set ERANGE as errno and return it if NAME is not big
11784 enough. Use memcpy instead of strncpy.
11785
0f48659e
JM
117862012-07-20 Joseph Myers <joseph@codesourcery.com>
11787
11788 * elf/Makefile (check-data): Remove.
11789 (localplt.data): New vpath directive.
11790 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11791 instead of $(check-data).
11792 * scripts/data/localplt-generic.data: Move to ...
11793 * sysdeps/generic/localplt.data: ... here.
11794 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11795 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11796 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11798 ... here.
11799 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11801 ... here.
11802 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11804 ... here.
11805 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11807 ... here.
11808 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11810 ... here.
11811 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11813 ... here.
11814
d37cbdaa
AZ
118152012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11816
11817 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11818 PPC32 and PPC64 files.
11819 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11820 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11821
46f85fc2
AK
118222012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11823
11824 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11825 __makecontext_ret to ...
11826 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11827 ... here and call exit if uc_link is NULL. New file.
11828 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11829 __makecontext_ret.S.
11830 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11831 __makecontext_ret to ...
11832 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11833 ... here and call exit if uc_link is NULL. New file.
11834 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11835 __makecontext_ret.S.
11836
08f43f9b
AK
118372012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11838
11839 * elf/elf.h (R_390_IRELATIVE): New definition.
11840 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11841 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11842 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11843 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11844 (elf_machine_lazy_rel): Likewise.
11845 * sysdeps/s390/dl-irel.h: New file.
11846 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11847 * sysdeps/s390/s390-64/memset.S: New asm code.
11848 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11849 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11850 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11851 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11852 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11853 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11854 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11855 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11856 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11857 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11858 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11859 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11860 * sysdeps/s390/s390-32/memset.S: New asm code.
11861 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11862
3b05db33
MP
118632012-07-17 Marek Polacek <polacek@redhat.com>
11864
11865 [BZ #14349]
11866 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11867 * sysdeps/s390/s390-64/configure.in: Likewise.
11868 * sysdeps/sparc/configure.in: Likewise.
11869 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11870 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11871 * sysdeps/i386/configure.in: Likewise.
11872 * sysdeps/x86_64/configure.in: Likewise.
11873 * sysdeps/sh/configure.in: Likewise.
11874 * sysdeps/s390/s390-32/configure: Regenerated.
11875 * sysdeps/s390/s390-64/configure: Likewise.
11876 * sysdeps/x86_64/configure: Likewise.
11877 * sysdeps/sh/configure: Likewise.
11878 * sysdeps/powerpc/powerpc64/configure: Likewise.
11879 * sysdeps/powerpc/powerpc32/configure: Likewise.
11880 * sysdeps/sparc/configure: Likwise.
11881 * sysdeps/i386/configure: Likewise.
11882
a66877c6
MP
11883 * elf/dl-open.c: Comment fixes.
11884
cfc82fd8
JM
118852012-07-17 Joseph Myers <joseph@codesourcery.com>
11886
bd29910a
JM
11887 * Makefile [CXX] (check-data): Remove.
11888 [CXX] (c++-types.data): New vpath directive.
11889 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11890 vpath. Do not allow for C++ type data being missing.
11891 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11892 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11893 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11894 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11895 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11896 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11897 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11899 ... here.
11900 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11902 ... here.
11903 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11905 ... here.
11906 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11908 ... here.
11909 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11911 ... here.
11912 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11914 ... here.
11915 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11917 ... here.
11918 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11920
cfc82fd8
JM
11921 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11922 definitions to architecture-specific files.
11923 (TLS_IE): Likewise.
11924 (TLS_LD): Likewise.
11925 (TLS_GD): Likewise.
11926 * sysdeps/i386/tls-macros.h: New file.
11927 * sysdeps/powerpc/tls-macros.h: Likewise.
11928 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11929 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11930 * sysdeps/sh/tls-macros.h: Likewise.
11931 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11932 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11933 * sysdeps/x86_64/tls-macros.h: Likewise.
11934
f7db3170
TS
119352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11936
07cbfc23
TS
11937 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
11938 zero value for regular exit case.
11939
f7db3170
TS
11940 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11941 (__start_context): Preserve zero value for regular exit case.
11942
dc97c227
TS
119432012-07-17 Thomas Schwinge <thomas@codesourcery.com>
11944 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11945
11946 * manual/setjmp.texi (setcontext): Clarify normal process
11947 termination when uc_link is the null pointer.
11948 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
11949 exit call.
11950
d0cd7d02
AS
119512012-07-16 Andreas Schwab <schwab@linux-m68k.org>
11952
11953 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
11954 preprocessor. Test for each exception mask separately.
11955
dd318934
AJ
119562012-07-16 Andreas Jaeger <aj@suse.de>
11957
11958 * po/ru.po: Update from translation team.
11959
8048311a
JM
119602012-07-15 Joseph Myers <joseph@codesourcery.com>
11961
11962 * conform/data/string.h-data (NULL): Use macro-constant. Require
11963 equal to 0.
11964 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11965 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11966 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
11967 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
11968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11969
b637d46e
AJ
119702012-07-13 Andreas Jaeger <aj@suse.de>
11971
11972 * po/fr.po: Update from translation team.
11973
541428fe
MP
119742012-07-12 Marek Polacek <polacek@redhat.com>
11975
11976 [BZ #14173]
11977 * math/libm-test.inc (yn_test): Add test for BZ #14173.
11978 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
11979 loop condition.
11980
ec332e94
JM
119812012-07-12 Joseph Myers <joseph@codesourcery.com>
11982
11983 [BZ #13717]
11984 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11985 Change to 2.4.1 where previously 2.4.0.
11986 * sysdeps/unix/sysv/linux/configure: Regenerated.
11987 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
11988 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
11989 version.
11990 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
11991 (__ASSUME_AT_CLKTCK): Remove.
11992 (__ASSUME_AT_PAGESIZE): Likewise.
11993 (__ASSUME_AT_XID): Likewise.
11994 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
11995 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
11996 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
11997 unconditionally.
11998 (HAVE_AUX_PAGESIZE): Likewise.
11999 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12000 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12001 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12002
7b6e99be
JB
120032012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12004
12005 [BZ #14307]
12006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12007 the temporary buffer used to invoke __gethostbyname2_r,
12008 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12009 host_data / struct gaih_addrtuple.
12010 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12011 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12012 header file nss/nsswitch.h.
12013 * nss/nsswitch.h (global scope): Add definition of implementation
12014 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12015 resolv/nss_dns/dns-host.c).
12016
608404eb
AJ
120172012-07-11 Andreas Jaeger <aj@suse.de>
12018
12019 * po/fr.po: Update from translation team.
12020
71220aca
AJ
12021 * po/sv.po: Update from translation team
12022 * po/fr.po: Another update from translation team.
12023
28cfe843
AZ
120242012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12025
12026 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12027 for subnormals or multiply small sinh result by itself.
12028 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12030
6b90f981
DM
120312012-07-11 David S. Miller <davem@davemloft.net>
12032
12033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12034
c6825772
AS
120352012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12036
12037 [BZ #14347]
12038 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12039 (INTERNAL_MARK): Shift it here.
12040
7b8e0d49
MP
120412012-07-10 Marek Polacek <polacek@redhat.com>
12042
12043 [BZ #14151]
12044 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12045 libc_cv_asm_global_directive with .globl.
12046 * configure: Regenerated.
12047 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12048 with .globl.
12049 * sysdeps/i386/configure: Regenerated.
12050 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12051 with .globl.
12052 * sysdeps/x86_64/configure: Regenerated.
12053 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12054 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12055 * elf/tst-unique2mod2.c: Likewise.
12056 * elf/tst-unique2mod1.c: Likewise.
12057 * elf/tst-unique1mod2.c: Likewise.
12058 * elf/tst-unique1mod1.c: Likewise.
12059 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12060 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12061 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12062 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12063 * sysdeps/mach/sysdep.h: Likewise.
12064 * sysdeps/i386/sysdep.h: Likewise.
12065 * sysdeps/i386/i386-mcount.S: Likewise.
12066 * sysdeps/x86_64/_mcount.S: Likewise.
12067 * sysdeps/x86_64/sysdep.h: Likewise.
12068 * sysdeps/sh/_mcount.S: Likewise.
12069 * sysdeps/sh/sysdep.h: Likewise.
12070 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12071 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12072 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12073 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12074 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12075 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12076 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12077 * locale/localeinfo.h: Likewise.
12078 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12079 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12080
6c55cda3
RM
120812012-07-09 Roland McGrath <roland@hack.frob.com>
12082
12083 [BZ #14336]
12084 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12085 system".
12086 * manual/message.texi (The Uniforum approach): Likewise.
12087 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12088 (glibc iconv Implementation): Likewise.
12089
638a572e
JM
120902012-07-09 Joseph Myers <joseph@codesourcery.com>
12091
12092 [BZ #14337]
12093 * math/s_clog.c (__clog): Avoid scaling a value down where that
12094 could result in underflow.
12095 * math/s_clog10.c (__clog10): Likewise.
12096 * math/s_clog10f.c (__clog10f): Likewise.
12097 * math/s_clog10l.c (__clog10l): Likewise.
12098 * math/s_clogf.c (__clogf): Likewise.
12099 * math/s_clogl.c (__clogl): Likewise.
12100 * math/libm-test.inc (clog_test): Add more tests.
12101 (clog10_test): Likewise.
12102 * sysdeps/i386/fpu/libm-test-ulps: Update.
12103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12104
261f4859
AS
121052012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12106
0abaf3e4
AS
12107 [BZ #14283]
12108 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12109 by 7 not 8 to examine high bit of fractional part.
12110
261f4859
AS
12111 [BZ #14042]
12112 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12113 for call to __mcount_internal.
12114 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12115 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12116 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12117
f17ac40d
JM
121182012-07-06 Joseph Myers <joseph@codesourcery.com>
12119
9ad63c23
JM
12120 [BZ #14154]
12121 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12122 approximation for values within 0x1p-13f of an odd multiple of
12123 pi/4.
12124 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12125 exception. Add more tests.
12126 * sysdeps/i386/fpu/libm-test-ulps: Update.
12127
f17ac40d
JM
12128 [BZ #6778]
12129 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12130 inputs and return -1 for them. Do not check for +Inf in case not
12131 reachable for +Inf.
12132 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12133 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12134 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12135 and return -1 for them. Do not check for +Inf in case not
12136 reachable for +Inf.
12137 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12138 define.
12139 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12140 and return -1 for them. Do not check for +Inf in case not
12141 reachable for +Inf.
12142 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12143 spurious underflow.
12144 * sysdeps/i386/fpu/libm-test-ulps: Update.
12145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12146
fb21f89b
MF
121472012-07-06 Mike Frysinger <vapier@gentoo.org>
12148
12149 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12150
cdfe2c5e
JM
121512012-07-05 Joseph Myers <joseph@codesourcery.com>
12152
12153 [BZ #14157]
12154 [BZ #14331]
12155 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12156 could result in spurious underflow. Scale down values above
12157 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12158 * math/s_csqrtf.c (__csqrtf): Likewise.
12159 * math/s_csqrtl.c (__csqrtl): Likewise.
12160 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12161 spurious underflow.
12162 * sysdeps/i386/fpu/libm-test-ulps: Update.
12163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12164
70d35b67
AS
121652012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12166
704bc459
AS
12167 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12168 xopen-msg.sed.
12169 * catgets/xopen-msg.awk: New file.
12170 * catgets/xopen-msg.sed: Removed.
12171
70d35b67
AS
12172 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12173 po2text.sed.
12174 * intl/po2test.awk: New file.
12175 * intl/po2test.sed: Removed.
12176
ca61cf32
JM
121772012-07-04 Joseph Myers <joseph@codesourcery.com>
12178
12179 [BZ #14328]
12180 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12181 or multiply small sinh result by itself.
12182 * math/s_ctanf.c (__ctanf): Likewise.
12183 * math/s_ctanh.c (__ctanh): Likewise.
12184 * math/s_ctanhf.c (__ctanhf): Likewise.
12185 * math/s_ctanhl.c (__ctanhl): Likewise.
12186 * math/s_ctanl.c (__ctanl): Likewise.
12187 * math/libm-test.inc (ctan_test_tonearest): New function.
12188 (ctan_test_towardzero): Likewise.
12189 (ctan_test_downward): Likewise.
12190 (ctan_test_upward): Likewise.
12191 (ctanh_test_tonearest): Likewise.
12192 (ctanh_test_towardzero): Likewise.
12193 (ctanh_test_downward): Likewise.
12194 (ctanh_test_upward): Likewise.
12195 (main): Call these new functions.
12196 * sysdeps/i386/fpu/libm-test-ulps: Update.
12197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12198
ca48a46a
MF
121992012-07-03 Mike Frysinger <vapier@gentoo.org>
12200
12201 * .gitignore: Delete /ports entry.
12202
9d63d37d
AJ
122032012-07-03 Andreas Jaeger <aj@suse.de>
12204
12205 * po/bg.po: Update from translation team.
12206 * po/cs.po: Likewise.
12207 * po/de.po: Likewise.
12208 * po/hr.po: Likewise.
12209 * po/nl.pl: Likewise.
12210 * po/pl.po: Likewise.
12211 * po/vi.po: Likewise.
12212
370ca3d2
JM
122132012-07-03 Joseph Myers <joseph@codesourcery.com>
12214
95f5a9a8
JM
12215 * Makeconfig [!+link] (+link-before-libc): New variable.
12216 [!+link] (+link-after-libc): Likewise.
12217 [!+link] (+link-tests): Likewise.
12218 [!+link] (+link): Define in terms of $(+link-before-libc) and
12219 $(+link-after-libc).
12220 [!+link-static] (+link-static-before-libc): New variable.
12221 [!+link-static] (+link-static-after-libc): Likewise.
12222 [!+link-static] (+link-static-tests): Likewise.
12223 [!+link-static] (+link-static): Define in terms of
12224 $(+link-static-before-libc) and $(+link-static-after-libc).
12225 [build-shared] (link-libc-before-gnulib): New variable.
12226 [build-shared] (link-libc-tests): Likewise.
12227 [build-shared] (link-libc): Define in terms of
12228 $(link-libc-before-gnulib).
12229 [!build-shared] (link-libc-tests): New variable.
12230 (link-libc-static-tests): New variable.
12231 [!gnulib] (gnulib-arch): New variable.
12232 [!gnulib] (gnulib-tests): Likewise.
12233 [!gnulib] (static-gnulib-arch): Likewise.
12234 [!gnulib] (static-gnulib-tests): Likewise.
12235 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12236 Define with "=" instead of ":=".
12237 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12238 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12239 * Rules (binaries-all-notests): New variable.
12240 (binaries-all-tests): Likewise.
12241 (binaries-static-notests): Likewise.
12242 (binaries-static-tests): Likewise.
12243 (binaries-all): Define using $(binaries-all-notests) and
12244 $(binaries-all-tests).
12245 (binaries-static): Define using $(binaries-static-notests) and
12246 $(binaries-static-tests).
12247 (binaries-shared-tests): New variable.
12248 (binaries-shared-notests): Likewise.
12249 (binaries-shared): Remove variable.
12250 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12251 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12252 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12253 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12254 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12255 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12256 * elf/Makefile (sln-modules): New variable.
12257 (extra-objs): Add $(sln-modules:=.o).
12258 (ldconfig-modules): Add static-stubs.
12259 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12260 * elf/static-stubs.c: New file.
12261
7a845b2c
JM
12262 [BZ #14283]
12263 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12264 by 7 not 8 to examine high bit of fractional part. Use volatile
12265 variables when splitting into final array of floats if
12266 __FLT_EVAL_METHOD__ != 0.
12267 * math/libm-test.inc (cos_test): Add another test.
12268 (sin_test): Likewise.
12269 * sysdeps/i386/fpu/libm-test-ulps: Update.
12270
e2283f38
JM
12271 [BZ #14273]
12272 * math/libm-test.inc (cosh_test): Add more tests.
12273
370ca3d2
JM
12274 * version.h (RELEASE): Set to "development".
12275 (VERSION): Set to "2.16.90".
12276
ee9247c3
CD
122772012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12278
12279 * NEWS: Update copyright. Remove last-updated date.
12280 Mention math library bug fixes and timezone data changes.
12281 * README: Mention GNU/Hurd, x32, and HPPA support status.
12282
4648c381
TS
122832012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12284
12285 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12286
aac78a43
AJ
122872012-06-27 Andreas Jaeger <aj@suse.de>
12288
12289 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12290
ed3dbfad
AJ
122912012-06-25 Andreas Jaeger <aj@suse.de>
12292
12293 * sysdeps/s390/fpu/libm-test-ulps: Update.
12294
4d0ee855
AS
122952012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12296 Thomas Schwinge <thomas@codesourcery.com>
12297
12298 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12299 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12300 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12301 fanotify_mark.
12302
af1bce34
TS
123032012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12304
a9fa33ba
TS
12305 * sysdeps/mach/start.c: Remove file.
12306 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12307 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12308 * sysdeps/sh/init-first.c: Likewise.
12309
58f902b8
TS
12310 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12311 registers for frame unwinding purposes, add CFI directives.
12312 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12313 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12314 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12315 Likewise.
12316
1518f58b
TS
12317 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12318 __fortify_fail returning.
12319 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12320
db9b5059
TS
12321 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12322 sysdeps/sh/____longjmp_chk.S.
12323 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12324 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12325 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12326 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12327
967705fe
TS
12328 * sysdeps/sh/abort-instr.h: New file.
12329 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12330 process in case exit returns.
12331
a9def8c4
TS
12332 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12333 initialize the GOT register before use.
12334
2a649725
TS
12335 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12336 calculation of ARGC > 4.
12337
af1bce34
TS
12338 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12339 meaningful names to some local labels.
12340
d230f50a
KK
123412012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12342 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12343
12344 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12345 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12346 (__arch_compare_and_exchange_val_16_acq): Likewise.
12347 (__arch_compare_and_exchange_val_32_acq): Likewise.
12348 (atomic_exchange_and_add): Fix gUSA sequence.
12349 (atomic_add): Likewise.
12350 (atomic_add_negative): Likewise.
12351 (atomic_add_zero): Likewise.
12352 (atomic_bit_test_set): Likewise.
12353
0479b305
AS
123542012-06-22 Andreas Schwab <schwab@redhat.com>
12355
12356 [BZ #13579]
12357 * include/link.h (struct link_map): Add l_free_initfini.
12358 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12359 l_initfini.
12360 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12361 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12362 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12363 set.
12364
0e3933b9
CD
123652012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12366
12367 * configure.in: Use AC_LANG_SOURCE.
12368 * configure: Regenerate.
12369
4248b1b1
RM
123702012-06-22 Roland McGrath <roland@hack.frob.com>
12371
12372 * configure.in (libc_cv_localstatedir): New substituted variable.
12373 * configure: Regenerated.
12374 * config.make.in (localstatedir): New variable, substituted from
12375 libc_cv_localstatedir.
12376 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12377 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12378 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12379 * sysdeps/gnu/configure: Regenerated.
12380
006dd861
JL
123812012-06-21 Jeff Law <law@redhat.com>
12382
12383 [BZ #14277]
12384 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12385 free. Simplify list management for _LIBC case.
12386
79662d42
JM
123872012-06-21 Joseph Myers <joseph@codesourcery.com>
12388
b7abb4bf
JM
12389 [BZ #14273]
12390 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12391 Clear sign bit of 64-bit integer value before comparing against
12392 overflow value.
12393
79662d42
JM
12394 * sysdeps/mach/configure: Regenerated.
12395
1f150908
L
123962012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 [BZ #14278]
12399 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12400
28363bbf
JL
124012012-06-21 Jeff Law <law@redhat.com>
12402
12403 [BZ #13882]
12404 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12405 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12406 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12407 * elf/dl-open.c (dl_open_worker): Likewise.
12408
09615db4
CD
124092012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12410
12411 * scripts/list-sources.sh: Scan PORTS for translations.
12412 * po/libc.pot: Regenerated.
12413
2174c6dd
AJ
124142012-06-21 Andreas Jaeger <aj@suse.de>
12415
12416 [BZ #12194]
12417 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12418 warning.
12419 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12420 * bits/byteswap-16.h (__bswap_16): Likewise.
12421 * bits/byteswap.h (__bswap_constant_16): Likewise.
12422
3ee947b1
L
124232012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12424
12425 [BZ #14117]
a2f34833
L
12426 * sysdeps/i386/fpu_control.h: Removed.
12427 * sysdeps/x86_64/fpu_control.h: Moved to ...
12428 * sysdeps/x86/fpu_control.h: Here.
12429
3ee947b1
L
12430 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12431 (_FPU_SETCW): Likewise.
12432
ed1825f8
L
124332012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12434
25f1282a
L
12435 [BZ #14117]
12436 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12437 * sysdeps/x86/fpu/bits/mathinline.h: This.
12438 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12439
ed1825f8
L
12440 [BZ #14050]
12441 [BZ #14117]
12442 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12443 functions if __x86_64__ is defined.
12444
36d54b74
CLT
124452012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12446
12447 * string/endian.h: Add !__ASSEMBLER__ condition for including
12448 conversion interfaces.
12449
10285c21
JM
124502012-06-15 Joseph Myers <joseph@codesourcery.com>
12451
12452 [BZ #14241]
12453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12454 of ABS(x) in calculating zero to negative powers other than odd
12455 integers.
12456 * math/libm-test.inc (pow_test): Add more tests.
12457
06c5abbd
AJ
124582012-06-15 Andreas Jaeger <aj@suse.de>
12459
12460 * manual/contrib.texi (Contributors): Update entry of Liubov
12461 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12462 Machado Filho.
12463
a3aeac40
CH
124642012-06-15 Cyril Hrubis <metan@ucw.cz>
12465
12466 * string/string.h: Add __wur to GNU version of strerror_r.
12467
49bdf4c1
L
124682012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12469
12470 [BZ #14229]
12471 * string/Makefile (tests): Add tst-strtok_r.
12472 * string/tst-strtok_r.c: New file.
12473 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12474 RAX_LP/RDX_LP on SAVE_PTR.
12475
834f9b8d
RM
124762012-06-14 Roland McGrath <roland@hack.frob.com>
12477
12478 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12479
75fa1921
JM
124802012-06-14 Joseph Myers <joseph@codesourcery.com>
12481
12482 * libm_test.inc (csqrt_test): Allow more spurious underflow
12483 exceptions.
12484 (j0_test): Likewise.
12485 (j1_test): Likewise.
12486 (y0_test): Likewise.
12487 (y1_test): Likewise.
12488
771766df
CD
124892012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12490
12491 * po/Makefile (libc.pot): Use UTF-8 charset.
12492
ceb9e56b
PP
124932012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12494
12495 [BZ #14210]
12496 Suppress sign-conversion warning from FD_SET.
12497 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12498 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12499 not unsigned long int.
12500 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12501
ddb28975
L
125022012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12503
12504 [BZ #14050]
12505 [BZ #14117]
12506 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12507 __extern_always_inline instead of __extern_inline.
12508 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12509 (__signbit): Likewise.
12510 (__signbitl): Support C++ namespace.
12511 (lrintf): New inline function.
12512 (lrint): Likewise.
12513 (llrintf): Likewise.
12514 (llrint): Likewise.
12515 (fmaxf): Likewise.
12516 (fmax): Likewise.
12517 (fminf): Likewise.
12518 (fmin): Likewise.
12519 (rint): Likewise.
12520 (rintf): Likewise.
12521 (ceil): Likewise.
12522 (ceilf): Likewise.
12523 (floor): Likewise.
12524 (floorf): Likewise.
12525 (nearbyint): Likewise.
12526 (nearbyintf): Likewise.
12527
d7b4fb26
TS
125282012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12529
12530 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12531 non-default versions.
12532
eb55f5c2
RM
125332012-06-11 Roland McGrath <roland@hack.frob.com>
12534
12535 [BZ #14218]
12536 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12537
366af02c
TS
125382012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12539
99ff6e5c
TS
12540 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12541 (FE_UPWARD, FE_DOWNWARD): Don't define.
12542 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12543 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12544
366af02c
TS
12545 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12546 reading it.
12547 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12548 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12549
793ea851
KK
125502012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12551
12552 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12553 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12554 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12555 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12556
a728a38f
L
125572012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12558
12559 [BZ #14117]
c08010c7
L
12560 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12561 * sysdeps/i386/fpu/Implies: New file.
12562 * sysdeps/x86_64/fpu/Implies: Likewise.
12563 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12564 * sysdeps/x86/fpu/bits/fenv.h: This.
12565
a728a38f
L
12566 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12567 __SSE_MATH__.
12568
6e230d11
SP
125692012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12570
12571 [BZ #14134]
12572 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12573 character 0xffff that matches the last element of the
12574 conversion table.
12575
1b671feb
AZ
125762012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12577
12578 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12579 fmodl commit.
12580
6043738b
AZ
125812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12582
12583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12584 values higher than 25.6283.
12585
34ae0b32
AZ
125862012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12587
12588 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12589 subnormal exponent extraction and add some __builtin_expect.
12590 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12591 Fix for subnormal mantissa calculation.
12592
1214ec8f
MF
125932012-06-04 Mike Frysinger <vapier@gentoo.org>
12594
12595 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12596 cpu2 is -1 and errno is not ENOSYS.
12597
f3d1f93c
L
125982012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12599
12600 [BZ #14117]
0e4a3cd7
L
12601 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12602 * sysdeps/x86/bits/string.h: This.
12603 * sysdeps/x86_64/bits/string.h: Removed.
12604
6704c645
L
12605 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12606 if not compiling for x86-64, but compiling for >= i486.
12607
48495318
L
12608 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12609 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12610
14adcbfc
L
12611 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12612 New macro from Linux kernel 3.4.0.
12613 (FP_XSTATE_MAGIC2): Likewise.
12614 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12615 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12616 (struct _fpx_sw_bytes): New struct.
12617 (struct _xsave_hdr): Likewise.
12618 (struct _ymmh_state): Likewise.
12619 (struct _xstate): Likewise.
12620
68e408ab
L
12621 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12622 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12623 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12624 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12625 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12626 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12627
f3d1f93c
L
12628 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12629 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12630 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12631 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12632 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12633 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12634
d9dc34cd
TMQMF
126352012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12636
12637 [BZ #13743]
12638 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12639 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12640 (sysdep_headers): Include sys/platform/ppc.h.
12641 * sysdeps/powerpc/test-gettimebase.c: Test for
12642 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12643 * manual/Makefile (appendices): Include platform.texi.
12644 * manual/contrib.texi (Contributors): Update @node pointers.
12645 * manual/maint.texi (Maintenance): Likewise.
12646 (Platform): New node.
12647 * manual/platform.texi: New file. Document the new features.
12648
4af3879c
SP
126492012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12650 Jakub Jelinek <jakub@redhat.com>
12651
12652 [BZ #14188]
12653 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12654 where __builtin_expect is unavailable.
12655
2fd6ff13
DM
126562012-06-03 David S. Miller <davem@davemloft.net>
12657
12658 * stdlib/longlong.h: Updated from GCC.
12659
173f7220
AS
126602012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12661
12662 [BZ #14042]
12663 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12664 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12665 __mcount_internal.
12666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12667 (GLIBC_2.16): Likewise.
12668
f34a1c6f
L
126692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12670
12671 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12672
88a4576f
JM
126732012-06-01 Joseph Myers <joseph@codesourcery.com>
12674
ea32bcdd
JM
12675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12676 (default-abi): New variable.
12677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12678 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12679 variable.
12680 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12681 Likewise.
12682 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12683 Likewise.
12684 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12685 Likewise.
12686
88a4576f
JM
12687 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12688 definition. Document in comment.
12689
402fe938
DM
126902012-06-01 David S. Miller <davem@davemloft.net>
12691
12692 * stdlib/longlong.h: Updated from GCC.
12693
3553723f
L
126942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12695
12696 [BZ #14117]
3bd872c4
L
12697 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12698 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12699 sys/debugreg.h sys/io.h here.
12700 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12701 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12702 sys/io.h.
12703 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12704 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12705 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12706 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12707 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12708 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12709
3553723f
L
12710 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12711 Define only if __x86_64__ is defined.
12712
4842e4fe
JM
127132012-06-01 Joseph Myers <joseph@codesourcery.com>
12714
c5bfe3d5
JM
12715 [BZ #14048]
12716 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12717 Use int64_t for variable i.
12718 * math/libm-test.inc (fmod_test): Add more tests.
12719
4842e4fe
JM
12720 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12721 z computation is not scheduled after fetestexcept.
12722 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12723 Use math_force_eval instead of asm to ensure calculation scheduled
12724 before exception test.
12725 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12726 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12727
efb73488
AJ
127282012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12729
12730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12731 computation is not scheduled after fetestexcept.
12732
29bcce7c
L
127332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12734
12735 [BZ #14117]
12736 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12737 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12738
73a68f94
AZ
127392012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12740
12741 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12742 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12743
67b6df78
L
127442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12745
edf2933a 12746 [BZ #14117]
ebc64a18
L
12747 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12748 <bits/wordsize.h>.
12749 (__WCHAR_MIN): Support __WORDSIZE == 64.
12750 (__WCHAR_MAX): Likewise.
12751
edf2933a
L
12752 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12753 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12754
57c6cf40
L
12755 [BZ #14183]
12756 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12757 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12758
67b6df78 12759 [BZ #14117]
8eb6281e
L
12760 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12761 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12762
aac639f4
L
12763 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12764 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12765
67b6df78
L
12766 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12767 Defined to 1 if __x86_64__ isn't defined.
12768 (_STAT_VER_LINUX_OLD): New.
12769 (st_atime): Remove duplicate.
12770 (st_mtime): Likewise.
12771 (st_ctime): Likewise.
12772
1c2cfe81
DM
127732012-05-31 David S. Miller <davem@davemloft.net>
12774
12775 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12776 entries.
12777
5be8418c
AS
127782012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12779
e7725326
AS
12780 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12781 gen-libm-test.pl.
12782
5be8418c
AS
12783 [BZ #14132]
12784 * elf/dl-reloc.c: Include <_itoa.h>.
12785 (_dl_reloc_bad_type): Remove use of INTUSE.
12786 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12787 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12788 * stdio-common/psiginfo.c (psiginfo): Likewise.
12789 * stdio-common/psignal.c (psignal): Likewise.
12790 * string/strsignal.c (strsignal): Likewise.
12791 * include/signal.h (_sys_siglist): Declare hidden proto.
12792 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12793 INTVARDEF with libc_hidden_data_def.
12794 * stdio-common/itoa-udigits.c: Likewise.
12795 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12796 (_itoa_lower_digits_internal): Remove declaration.
12797 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12798 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12799 (_sys_sigabbrev_internal): Remove aliases.
12800 (_sys_siglist): Define hidden alias.
12801
507352f1
MT
128022012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12803
12804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12805 bits/sysctl.h.
12806
42bbb1c3
L
128072012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12808
12809 [BZ #14117]
6bd784b6
L
12810 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12811 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12812
8bca20f0
L
12813 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12814 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12815 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12816 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12818 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12819
f9e890a9
L
12820 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12821 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12822 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12823
471101a1
L
12824 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12825 with __addr.
12826 (insw): Likewise.
12827 (insl): Likewise.
12828 (outsb): Likewise.
12829 (outsw): Likewise.
12830 (outsl): Likewise.
12831
6451c862
L
12832 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12833 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12834 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12835
a254b8c9
L
12836 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12837 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12838 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12839 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12840 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12841 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12842
b8dfdd92
L
12843 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12844 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12845
578cd270
L
12846 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12847 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12848
de662f5f
L
12849 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12850 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12851 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12852
25653439
L
12853 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12854 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12855 to ...
12856 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12857
6bad24a0
L
12858 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12859 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12860 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12861
42bbb1c3
L
12862 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12863 for x86-64.
12864 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12865
2d10d547
JM
128662012-05-31 Joseph Myers <joseph@codesourcery.com>
12867
12868 * math/math.h (M_El): Use two more decimal places.
12869 (M_LOG2El): Likewise.
12870 (M_LOG10El): Likewise.
12871 (M_LN2l): Likewise.
12872 (M_LN10l): Likewise.
12873 (M_PIl): Likewise.
12874 (M_PI_2l): Likewise.
12875 (M_PI_4l): Likewise.
12876 (M_1_PIl): Likewise.
12877 (M_2_PIl): Likewise.
12878 (M_2_SQRTPIl): Likewise.
12879 (M_SQRT2l): Likewise.
12880 (M_SQRT1_2l): Likewise.
12881
f230c29b
DM
128822012-05-31 David S. Miller <davem@davemloft.net>
12883
12884 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12885 values between float registers.
12886 * sysdeps/sparc/sparc64/memset.S: Likewise.
12887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12888
fed806c3
MF
128892012-05-31 Mike Frysinger <vapier@gentoo.org>
12890
12891 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12892 -D_FORTIFY_SOURCE=1.
12893 (CPPFLAGS-tst-longjmp_chk.c): Define.
12894 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12895 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12896 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12897 CFLAGS-tst-wchar-h.c.
12898
30917259
MP
128992012-05-31 Marek Polacek <polacek@redhat.com>
12900
12901 [BZ #14132]
12902 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12903 __endmntent_internal): Remove declaration.
12904 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12905 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12906 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12907
1c58d5dc
DM
129082012-05-30 David S. Miller <davem@davemloft.net>
12909
12910 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12911 (___Q_simulate_exceptions): Use real FP ops rather than writing
12912 into the %fsr.
12913 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12914 Likewise.
12915
7dc00e0d
L
129162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12917
12918 [BZ #14117]
0bd53985
L
12919 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12920 * sysdeps/x86/bits/xtitypes.h: This.
12921
3a257e66
L
12922 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12923 * sysdeps/x86/bits/wordsize.h: This.
12924
62f62904
L
12925 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12926 * sysdeps/x86/bits/huge_vall.h: This.
12927
404fe9d9
L
12928 * sysdeps/i386/bits/select.h: Removed.
12929 * sysdeps/x86_64/bits/select.h: Renamed to ...
12930 * sysdeps/x86/bits/select.h: This.
12931
d48d0446
L
12932 * sysdeps/i386/bits/setjmp.h: Removed.
12933 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
12934 * sysdeps/x86/bits/setjmp.h: This.
12935
7dc00e0d
L
12936 * sysdeps/i386/bits/mathdef.h: Removed.
12937 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
12938 * sysdeps/x86/bits/mathdef.h: This.
12939
03277f8f
AS
129402012-05-30 Andreas Schwab <schwab@linux-m68k.org>
12941
12942 [BZ #14132]
12943 * include/sys/socket.h (__connect_internal)
12944 (__libc_sa_len_internal): Remove declaration.
12945 (__connect, __libc_sa_len): Declare hidden_proto.
12946 (SA_LEN): Remove use of INTUSE.
12947 * socket/connect.c: Add libc_hidden_def.
12948 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
12949 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
12950 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
12951 alias.
12952 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12953 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
12954 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
12955 of adding _internal alias.
12956
13764867
L
129572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12958
12959 [BZ #14117]
6bd97696
L
12960 * sysdeps/i386/bits/link.h: Removed.
12961 * sysdeps/i386/bits/linkmap.h: Likewise.
12962 * sysdeps/x86_64/bits/link.h: Renamed to ...
12963 * sysdeps/x86/bits/link.h: This.
12964 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
12965 * sysdeps/x86/bits/linkmap.h: This.
12966
f726f0bb
L
12967 * sysdeps/i386/bits/endian.h: Removed.
12968 * sysdeps/x86_64/bits/endian.h: Renamed to ...
12969 * sysdeps/x86/bits/endian.h: This.
12970
13764867
L
12971 * sysdeps/i386/bits/byteswap.h: Removed.
12972 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12973 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
12974 * sysdeps/x86/bits/byteswap.h: This.
12975 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
12976 * sysdeps/x86/bits/byteswap-16.h: This.
12977 * sysdeps/i386/Implies: Add x86.
12978 * sysdeps/x86_64/Implies: Likewise.
12979
ae251b0b
DM
129802012-05-30 David S. Miller <davem@davemloft.net>
12981
12982 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
12983 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
12984 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
12985 (FP_TRAPPING_EXCEPTIONS): Define.
12986 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
12987 (FP_TRAPPING_EXCEPTIONS): Define.
12988 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
12989 subnormals only when inexact has been signalled or underflow
12990 exceptions are enabled.
12991 (_FP_PACK_CANONICAL): Likewise.
12992
d5c90867
L
129932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12994
12995 [BZ #14183]
12996 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
12997 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
12998
63f1549e
RH
129992012-05-30 Richard Henderson <rth@twiddle.net>
13000
8d8f2279
RH
13001 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13002 with #ifndef NOT_IN_libc.
13003
63f1549e
RH
13004 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13005 marked to avoid plt entry.
13006
0ab0291b
L
130072012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13008
13009 [BZ #14112]
13010 * Makeconfig (default-abi): New macro.
13011 (abi-includes): Likewise.
13012 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13013 $(abi-$(default-abi)-lib-soname) for soname if defined.
13014 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13015 abi-variants.
13016 * Makefile (installed-stubs): Likewise.
13017 * include/stubs-biarch.h: Removed.
13018 * scripts/lib-names.awk: Only handle one library at a time.
13019 * scripts/soversions.awk: Remove WORDSIZE support.
13020 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13021 entries.
13022 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13023 Removed.
13024 (syscall-list-default-condition): Likewise.
13025 (syscall-list-default-condition): Likewise.
13026 (syscall-list-includes): Likewise.
13027 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13028 syscall-list-* with abi-*. Handle undefined abi-variants.
13029 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13030 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13031 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13032 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13033 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13034 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13035 Removed.
13036 (syscall-list-32-options): Likewise.
13037 (syscall-list-32-condition): Likewise.
13038 (syscall-list-64-options): Likewise.
13039 (syscall-list-64-condition): Likewise.
13040 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13041 macro.
13042 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13043 Renamed to ...
13044 (abi-*): This.
13045 (abi-64-ld-soname): New macro.
13046 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13047 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13048 Renamed to ...
13049 (abi-*): This.
13050 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13051 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13052
4da0431d
JM
130532012-05-30 Joseph Myers <joseph@codesourcery.com>
13054
3a85279c
JM
13055 * sysdeps/unix/sysv/linux/kernel-features.h
13056 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13057 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13058 include <kernel-features.h>.
13059 [!__NR_ftruncate64]: Remove conditional code.
13060 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13061 [__NR_ftruncate64]: Make code unconditional.
13062 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13063 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13064 include <kernel-features.h>.
13065 [!__NR_ftruncate64]: Remove conditional code.
13066 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13067 [__NR_ftruncate64]: Make code unconditional.
13068 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13070 include <kernel-features.h>.
13071 [!__NR_ftruncate64]: Remove conditional code.
13072 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13073 [__NR_ftruncate64]: Make code unconditional.
13074 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13076 include <kernel-features.h>.
13077 [!__NR_ftruncate64]: Remove conditional code.
13078 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13079 [__NR_ftruncate64]: Make code unconditional.
13080 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13081
4da0431d
JM
13082 * configure.in (libc_cv_fpie): Weaken to a compile test using
13083 LIBC_TRY_CC_OPTION.
13084 * configure: Regenerated.
13085
11ef492c
AK
130862012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13087
13088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13092 Refreshed.
13093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13095 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13099 Refreshed.
13100
d66ef399
DM
131012012-05-27 David S. Miller <davem@davemloft.net>
13102
13103 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13104 (___Q_zero): New.
13105 (__Q_simulate_exceptions): Return void. Change to simulate
13106 exceptions by writing into the %fsr.
13107 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13108 (__Qp_handle_exceptions): Likewise.
13109 (numbers): Delete.
13110 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13111 __Qp_handle_exceptions.
13112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13113 __Qp_handle_exceptions.
13114 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13115 as unused and give dummy FP_RND_NEAREST initializer.
13116 (FP_INHIBIT_RESULTS): Define.
13117 (___Q_simulate_exceptions): Update declaration.
13118 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13119 formatting.
13120 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13121 as unused and give dummy FP_RND_NEAREST initializer.
13122 (__Qp_handle_exceptions): Update declaration.
13123 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13124 formatting.
13125
04fb54b5
TS
131262012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13127
13128 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13129 the temporary FPU control word.
13130 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13131 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13132 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13133 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13134 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13135 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13136 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13137 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13138 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13139 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13140 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13141
3f99608f
KK
131422012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13143
13144 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13145 fields.
13146
65a4de4e
CLT
131472012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13148
13149 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13150 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13151 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13152 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13153 Likewise.
13154 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13155 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13156 Likewise.
13157
15749d40
UD
131582012-05-27 Ulrich Drepper <drepper@gmail.com>
13159
13160 * po/h.po: Update from translation team.
13161
25dbcb27
AS
131622012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13163
3d3f8e55
AS
13164 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13165
25dbcb27
AS
13166 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13167 handling of denormals.
13168 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13169 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13170 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13171 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13172 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13173 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13175 Likewise.
13176
7ad47a80 131772012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13178
13179 [BZ #14152]
13180 * math/libm-test.inc (fma_test): Don't always expect underflow
13181 exception.
13182
9c6ea9fa
SP
131832012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13184
13185 [BZ #12416]
13186 * elf/tst-execstack.c: Include stackinfo.h.
13187 (do_test): Adjust test case to ensure that pthread_getattr_np
13188 behaviour remains the same after marking stack executable.
13189
a8239222
JM
131902012-05-25 Joseph Myers <joseph@codesourcery.com>
13191
13192 * sysdeps/unix/sysv/linux/kernel-features.h
13193 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13194 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13195 kernel-features.h.
13196 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13197 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13198 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13199 kernel-features.h.
13200 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13201 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13202
918b5606
L
132032012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13204
13205 * configure.in: Define the default includes to being none.
13206 * configure: Regenerated.
13207
3a097cc7
RM
132082012-05-25 Roland McGrath <roland@hack.frob.com>
13209
8422c9a5
RM
13210 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13211 * sysdeps/x86_64/setjmp.S: Likewise.
13212 * sysdeps/i386/bsd-setjmp.S: Likewise.
13213 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13214 * sysdeps/i386/setjmp.S: Likewise.
13215 * sysdeps/i386/__longjmp.S: Likewise.
13216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13217 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13218
3a097cc7
RM
13219 * include/stap-probe.h: New file.
13220 * configure.in: Handle --enable-systemtap.
13221 * configure: Regenerated.
13222 * config.h.in (USE_STAP_PROBE): New #undef.
13223 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13224 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13225 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13226
21708942
JM
132272012-05-25 Joseph Myers <joseph@codesourcery.com>
13228
13229 [BZ #13717]
13230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13231 to 2.4.0 where earlier.
13232 * sysdeps/unix/sysv/linux/configure: Regenerated.
13233 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13234 <kernel-features.h>.
13235 [__ASSUME_32BITUIDS]: Make code unconditional.
13236 [!__ASSUME_32BITUIDS]: Remove conditional code.
13237 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13238 <kernel-features.h>.
13239 [__ASSUME_32BITUIDS]: Make code unconditional.
13240 [!__ASSUME_32BITUIDS]: Remove conditional code.
13241 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13242 [__ASSUME_32BITUIDS]: Make code unconditional.
13243 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13244 * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
13249 <kernel-features.h>.
13250 [__ASSUME_32BITUIDS]: Make code unconditional.
13251 [!__ASSUME_32BITUIDS]: Remove conditional code.
13252 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13253 <kernel-features.h>.
13254 [__ASSUME_32BITUIDS]: Make code unconditional.
13255 [!__ASSUME_32BITUIDS]: Remove conditional code.
13256 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13257 <kernel-features.h>.
13258 [__ASSUME_32BITUIDS]: Make code unconditional.
13259 [!__ASSUME_32BITUIDS]: Remove conditional code.
13260 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13261 <kernel-features.h>.
13262 [__ASSUME_32BITUIDS]: Make code unconditional.
13263 [!__ASSUME_32BITUIDS]: Remove conditional code.
13264 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13265 <kernel-features.h>.
13266 [__ASSUME_32BITUIDS]: Make code unconditional.
13267 [!__ASSUME_32BITUIDS]: Remove conditional code.
13268 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13269 <kernel-features.h>.
13270 [__ASSUME_32BITUIDS]: Make code unconditional.
13271 [!__ASSUME_32BITUIDS]: Remove conditional code.
13272 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13273 <kernel-features.h>.
13274 [__ASSUME_32BITUIDS]: Make code unconditional.
13275 [!__ASSUME_32BITUIDS]: Remove conditional code.
13276 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13277 <kernel-features.h>.
13278 [__ASSUME_32BITUIDS]: Make code unconditional.
13279 [!__ASSUME_32BITUIDS]: Remove conditional code.
13280 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13281 <kernel-features.h>.
13282 [__ASSUME_32BITUIDS]: Make code unconditional.
13283 [!__ASSUME_32BITUIDS]: Remove conditional code.
13284 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13285 <kernel-features.h>.
13286 [__NR_setresgid] (__setresgid): Do not declare.
13287 [__ASSUME_32BITUIDS]: Make code unconditional.
13288 [!__ASSUME_32BITUIDS]: Remove conditional code.
13289 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13290 <kernel-features.h>.
13291 [__NR_setresuid] (__setresuid): Do not declare.
13292 [__ASSUME_32BITUIDS]: Make code unconditional.
13293 [!__ASSUME_32BITUIDS]: Remove conditional code.
13294 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13295 <kernel-features.h>.
13296 [__ASSUME_32BITUIDS]: Make code unconditional.
13297 [!__ASSUME_32BITUIDS]: Remove conditional code.
13298 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13299 <kernel-features.h>.
13300 [__ASSUME_32BITUIDS]: Make code unconditional.
13301 [!__ASSUME_32BITUIDS]: Remove conditional code.
13302 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13303 <kernel-features.h>.
13304 [__ASSUME_32BITUIDS]: Make code unconditional.
13305 [!__ASSUME_32BITUIDS]: Remove conditional code.
13306 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13307 <kernel-features.h>.
13308 [__ASSUME_32BITUIDS]: Make code unconditional.
13309 [!__ASSUME_32BITUIDS]: Remove conditional code.
13310 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13311 <kernel-features.h>.
13312 [__ASSUME_32BITUIDS]: Make code unconditional.
13313 [!__ASSUME_32BITUIDS]: Remove conditional code.
13314 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13315 <kernel-features.h>.
13316 [__ASSUME_32BITUIDS]: Make code unconditional.
13317 [!__ASSUME_32BITUIDS]: Remove conditional code.
13318 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13319 <kernel-features.h>.
13320 [__ASSUME_32BITUIDS]: Make code unconditional.
13321 [!__ASSUME_32BITUIDS]: Remove conditional code.
13322 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13323 <kernel-features.h>.
13324 [__ASSUME_32BITUIDS]: Make code unconditional.
13325 [!__ASSUME_32BITUIDS]: Remove conditional code.
13326 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13327 <kernel-features.h>.
13328 [__ASSUME_32BITUIDS]: Make code unconditional.
13329 [!__ASSUME_32BITUIDS]: Remove conditional code.
13330 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13331 <kernel-features.h>.
13332 [__ASSUME_32BITUIDS]: Make code unconditional.
13333 [!__ASSUME_32BITUIDS]: Remove conditional code.
13334 * sysdeps/unix/sysv/linux/kernel-features.h
13335 (__ASSUME_SETRESUID_SYSCALL): Remove.
13336 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13337 (__ASSUME_32BITUIDS): Likewise.
13338 (__ASSUME_LDT_WORKS): Likewise.
13339 (__ASSUME_O_DIRECTORY): Likewise.
13340 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13341 architecture but not kernel version.
13342 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13343 (__ASSUME_MMAP2_SYSCALL): Likewise.
13344 (__ASSUME_STAT64_SYSCALL): Likewise.
13345 (__ASSUME_IPC64): Likewise.
13346 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13347 <kernel-features.h>.
13348 [__ASSUME_32BITUIDS]: Make code unconditional.
13349 [!__ASSUME_32BITUIDS]: Remove conditional code.
13350 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13351 <kernel-features.h>.
13352 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13353 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13354 132096]: Remove conditional code.
13355 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13356 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13357 <kernel-features.h>.
13358 [__ASSUME_32BITUIDS]: Make code unconditional.
13359 [!__ASSUME_32BITUIDS]: Remove conditional code.
13360 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13361 <kernel-features.h>.
13362 [__ASSUME_32BITUIDS]: Make code unconditional.
13363 [!__ASSUME_32BITUIDS]: Remove conditional code.
13364 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13365 <kernel-features.h>.
13366 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13367 unconditional.
13368 (__setresgid): Do not declare.
13369 [__ASSUME_32BITUIDS]: Make code unconditional.
13370 [!__ASSUME_32BITUIDS]: Remove conditional code.
13371 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13372 <kernel-features.h>.
13373 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13374 unconditional.
13375 (__setresuid): Do not declare.
13376 [__ASSUME_32BITUIDS]: Make code unconditional.
13377 [!__ASSUME_32BITUIDS]: Remove conditional code.
13378 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13379 <kernel-features.h>.
13380 [__ASSUME_32BITUIDS]: Make code unconditional.
13381 [!__ASSUME_32BITUIDS]: Remove conditional code.
13382 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13383 <kernel-features.h>.
13384 [__ASSUME_32BITUIDS]: Make code unconditional.
13385 [!__ASSUME_32BITUIDS]: Remove conditional code.
13386
a386f1cc
RH
133872012-05-25 Richard Henderson <rth@twiddle.net>
13388
13389 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13390 dl_hwcap to ifunc resolver.
13391 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13392 elf_ifunc_invoke.
13393 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13394 dl_hwcap to ifunc resolver.
13395 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13396
b6550497
JM
133972012-05-24 Joseph Myers <joseph@codesourcery.com>
13398
13399 [BZ #14153]
13400 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13401 for |x| <= 2**-26, not 2**-57.
13402 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13403 exception.
13404
b0bc23a1
JL
134052012-05-24 Jeff Law <law@redhat.com>
13406
13407 * stdio-common/Makefile (tests): Add bug25.
13408 * stdio-common/bug25.c: New test.
13409
347c92e9
L
134102012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13411
13412 [BZ #13576]
13413 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13414 multiple of MALLOC_ALIGNMENT in size.
13415 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13416
6bcc8b3f
JM
134172012-05-24 Joseph Myers <joseph@codesourcery.com>
13418
13419 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13420 Require >= 256.
13421 (FILENAME_MAX): Use macro-int-constant.
13422 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13423 (_IOFBF): Use macro-int-constant.
13424 (_IOLBF): Likewise.
13425 (_IONBF): Likewise.
13426 (SEEK_CUR): Likewise.
13427 (SEEK_END): Likewise.
13428 (SEEK_SET): Likewise.
13429 (TMP_MAX): Likewise.
13430 (EOF): Use macro-int-constant. Require < 0.
13431 (NULL): Use macro-constant. Require == 0.
13432 (stdin): Require type to be FILE *.
13433 (stdout): Likewise.
13434 (stderr): Likewise.
13435 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13436 macro-int-constant.
13437 (EXIT_SUCCESS): Likewise.
13438 (NULL): Use macro-constant. Require == 0.
13439 (RAND_MAX): Use macro-int-constant.
13440 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13441 [C99-based standards] (strtof): Require function.
13442 [C99-based standards] (strtold): Likewise.
13443 [C99-based standards] (strtoll): Likewise.
13444 [C99-based standards] (strtoull): Likewise.
13445 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13446 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13447 [ISO || ISO99 || ISO11] (math.h): Likewise.
13448 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13449 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13450 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13451
d18ea0c5
AS
134522012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13453
13454 [BZ #14132]
56d25bb8
AS
13455 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13456 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13457 * intl/dgettext.c (DCGETTEXT): Likewise.
13458 * intl/gettext.c (DCGETTEXT): Likewise.
13459 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13460 * posix/regex_internal.h (gettext): Likewise.
13461 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13462 Remove declaration.
13463 * include/argz.h (__argz_count_internal)
13464 (__argz_stringify_internal): Remove declaration.
13465 (__argz_count, __argz_stringify): Declare hidden proto.
13466 * intl/dcgettext.c: Remove use of INTDEF.
13467 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13468 * string/argz-stringify.c: Likewise.
13469 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13470 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13471 Declare hidden proto.
d18ea0c5
AS
13472 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13473 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13474 Declare hidden proto.
13475 * include/stdio.h (__asprintf_internal): Don't declare.
13476 (__asprintf): Don't define as macro. Declare hidden proto.
13477 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13478 (__fsetlocking): Declare hidden proto.
13479 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13480 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13481 hidden proto.
13482 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13483 (_IO_setlinebuf): Remove use of INTUSE.
13484 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13485 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13486 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13487 Remove declaration.
13488 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13489 (_IO_do_flush): Remove use of INTUSE.
13490 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13491 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13492 (_IO_adjust_column, _IO_least_wmarker)
13493 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13494 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13495 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13496 (_IO_default_doallocate, _IO_wdefault_doallocate)
13497 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13498 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13499 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13500 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13501 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13502 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13503 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13504 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13505 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13506 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13507 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13508 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13509 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13510 proto.
13511 (_IO_flush_all_internal, _IO_adjust_column_internal)
13512 (_IO_default_uflow_internal, _IO_default_finish_internal)
13513 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13514 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13515 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13516 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13517 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13518 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13519 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13520 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13521 (_IO_file_close_internal, _IO_file_close_it_internal)
13522 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13523 (_IO_file_init_internal, _IO_file_attach_internal)
13524 (_IO_file_fopen_internal, _IO_file_read_internal)
13525 (_IO_file_sync_internal, _IO_file_seek_internal)
13526 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13527 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13528 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13529 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13530 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13531 (_IO_list_all_internal, _IO_link_in_internal)
13532 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13533 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13534 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13535 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13536 (_IO_do_write_internal, _IO_padn_internal)
13537 (_IO_getline_info_internal, _IO_getline_internal)
13538 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13539 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13540 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13541 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13542 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13543 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13544 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13545 with libc_hidden_ver, remove use of INTUSE.
13546 * libio/genops.c: Likewise.
13547 * libio/freopen.c: Likewise.
13548 * libio/freopen64.c: Likewise.
13549 * libio/iofclose.c: Likewise.
13550 * libio/iofdopen.c: Likewise.
13551 * libio/iofflush.c: Likewise.
13552 * libio/iofflush_u.c: Likewise.
13553 * libio/iofgets.c: Likewise.
13554 * libio/iofgets_u.c: Likewise.
13555 * libio/iofopen.c: Likewise.
13556 * libio/iofopncook.c: Likewise.
13557 * libio/iofread.c: Likewise.
13558 * libio/iofread_u.c: Likewise.
13559 * libio/ioftell.c: Likewise.
13560 * libio/iofwrite.c: Likewise.
13561 * libio/iogetline.c: Likewise.
13562 * libio/iogets.c: Likewise.
13563 * libio/iogetwline.c: Likewise.
13564 * libio/iopadn.c: Likewise.
13565 * libio/iopopen.c: Likewise.
13566 * libio/ioseekoff.c: Likewise.
13567 * libio/ioseekpos.c: Likewise.
13568 * libio/iosetbuffer.c: Likewise.
13569 * libio/iosetvbuf.c: Likewise.
13570 * libio/ioungetc.c: Likewise.
13571 * libio/ioungetwc.c: Likewise.
13572 * libio/iovdprintf.c: Likewise.
13573 * libio/iovsprintf.c: Likewise.
13574 * libio/iovsscanf.c: Likewise.
13575 * libio/memstream.c: Likewise.
13576 * libio/obprintf.c: Likewise.
13577 * libio/oldfileops.c: Likewise.
13578 * libio/oldiofclose.c: Likewise.
13579 * libio/oldiofdopen.c: Likewise.
13580 * libio/oldiofopen.c: Likewise.
13581 * libio/oldiopopen.c: Likewise.
13582 * libio/oldstdfiles.c: Likewise.
13583 * libio/putc.c: Likewise.
13584 * libio/setbuf.c: Likewise.
13585 * libio/setlinebuf.c: Likewise.
13586 * libio/stdfiles.c: Likewise.
13587 * libio/strops.c: Likewise.
13588 * libio/vasprintf.c: Likewise.
13589 * libio/vscanf.c: Likewise.
13590 * libio/vsnprintf.c: Likewise.
13591 * libio/vswprintf.c: Likewise.
13592 * libio/wfiledoalloc.c: Likewise.
13593 * libio/wfileops.c: Likewise.
13594 * libio/wgenops.c: Likewise.
13595 * libio/wmemstream.c: Likewise.
13596 * libio/wstrops.c: Likewise.
13597 * libio/__fpurge.c: Likewise.
13598 * libio/__fsetlocking.c: Likewise.
13599 * assert/assert.c: Likewise.
13600 * debug/fgets_chk.c: Likewise.
13601 * debug/fgets_u_chk.c: Likewise.
13602 * debug/fread_chk.c: Likewise.
13603 * debug/fread_u_chk.c: Likewise.
13604 * debug/gets_chk.c: Likewise.
13605 * debug/obprintf_chk.c: Likewise.
13606 * debug/vasprintf_chk.c: Likewise.
13607 * debug/vdprintf_chk.c: Likewise.
13608 * debug/vsnprintf_chk.c: Likewise.
13609 * debug/vsprintf_chk.c: Likewise.
13610 * malloc/mtrace.c: Likewise.
13611 * misc/error.c: Likewise.
13612 * misc/syslog.c: Likewise.
13613 * stdio-common/asprintf.c: Likewise.
13614 * stdio-common/fxprintf.c: Likewise.
13615 * stdio-common/getw.c: Likewise.
13616 * stdio-common/isoc99_fscanf.c: Likewise.
13617 * stdio-common/isoc99_scanf.c: Likewise.
13618 * stdio-common/isoc99_vfscanf.c: Likewise.
13619 * stdio-common/isoc99_vscanf.c: Likewise.
13620 * stdio-common/isoc99_vsscanf.c: Likewise.
13621 * stdio-common/printf-prs.c: Likewise.
13622 * stdio-common/printf_fp.c: Likewise.
13623 * stdio-common/printf_fphex.c: Likewise.
13624 * stdio-common/printf_size.c: Likewise.
13625 * stdio-common/putw.c: Likewise.
13626 * stdio-common/scanf.c: Likewise.
13627 * stdio-common/sprintf.c: Likewise.
13628 * stdio-common/tmpfile.c: Likewise.
13629 * stdio-common/vfprintf.c: Likewise.
13630 * stdio-common/vfscanf.c: Likewise.
13631 * stdlib/strfmon_l.c: Likewise.
13632 * sunrpc/openchild.c: Likewise.
13633 * sunrpc/xdr_stdio.c: Likewise.
13634 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13635 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13636
d6c33fda
RM
136372012-05-24 Roland McGrath <roland@hack.frob.com>
13638
c1487492
RM
13639 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13640
13641 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13642 in the third column, to generate for the shared library an IFUNC
13643 that uses _dl_vdso_vsym.
13644 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13645 * Makeconfig (object-suffixes-noshared): New variable.
13646
13647 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13648 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13649 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13650 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13651
d6c33fda
RM
13652 [BZ #14132]
13653 * include/sys/time.h (__gettimeofday): Remove macro.
13654 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13655 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13656 Remove INTDEF.
13657 (__gettimeofday): Add libc_hidden_def.
13658 (gettimeofday): Add libc_hidden_weak.
13659 * sysdeps/mach/gettimeofday.c: Likewise.
13660 * sysdeps/posix/gettimeofday.c: Likewise.
13661 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13662 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13664 (__gettimeofday_internal): Remove strong_alias.
13665 (__gettimeofday): Add libc_hidden_def.
13666 (gettimeofday): Add libc_hidden_weak.
13667 * sysdeps/unix/syscalls.list (gettimeofday):
13668 Remove __gettimeofday_internal alias.
13669
b5a2bbe6
L
136702012-05-24 Daniel Jacobowitz <drow@false.org>
13671 H.J. Lu <hongjiu.lu@intel.com>
13672
13673 [BZ #12495]
13674 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13675 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13676 (largebin_index_32_big): New.
13677 (largebin_index): Use it for 16-byte alignment.
13678 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13679 correction with front_misalign.
13680
cfba4fda
L
136812012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13682
7f907421
L
13683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13685 Likewise.
13686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13687 Likewise.
13688 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13689 Likewise.
13690 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13691 Likewise.
13692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13693 Likewise.
13694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13695 Likewise.
13696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13697 Likewise.
13698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13699 Likewise.
13700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13701 Likewise.
13702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13703 Likewise.
13704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13705 Likewise.
13706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13707 Likewise.
13708
cfba4fda
L
13709 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13710 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13711
80bad0cc
JM
137122012-05-24 Joseph Myers <joseph@codesourcery.com>
13713
7a25eb06
JM
13714 [BZ #10846]
13715 [BZ #14036]
13716 * math/libm-test.inc (exp_test): Add test from bug 14036.
13717 (pow_test): Add test from bug 10846.
13718
795405f9
JM
13719 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13720 and other flags.
13721 (special_function): Do not include flags in test name.
13722 (parse_args): Likewise.
13723 * sysdeps/i386/fpu/libm-test-ulps: Update.
13724 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13725 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13726 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13728
80bad0cc
JM
13729 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13730 exceptions.
13731 * math/libm-test.inc ("Philosophy"): Update comment about
13732 exception testing.
13733 (UNDERFLOW_EXCEPTION): New macro.
13734 (UNDERFLOW_EXCEPTION_OK): Likewise.
13735 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13736 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13737 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13738 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13739 (INVALID_EXCEPTION_OK): Update value.
13740 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13741 (OVERFLOW_EXCEPTION_OK): Likewise.
13742 (IGNORE_ZERO_INF_SIGN): Likewise.
13743 (test_exceptions): Handle underflow exceptions.
13744 (acos_test): Update for underflow exception expectations.
13745 (cexp_test): Likewise.
13746 (clog_test): Likewise.
13747 (clog10_test): Likewise.
13748 (csqrt_test): Likewise.
13749 (ctan_test): Likewise.
13750 (ctanh_test): Likewise.
13751 (exp_test): Likewise.
13752 (exp10_test): Likewise.
13753 (exp2_test): Likewise.
13754 (expm1_test): Likewise.
13755 (fma_test): Likewise.
13756 (j0_test): Likewise.
13757 (jn_test): Likewise.
13758 (nexttoward_test): Likewise.
13759 (pow_test): Likewise.
13760 (scalbn_test): Likewise.
13761 (scalbln_test): Likewise.
13762 (tan_test): Likewise.
13763 (y1_test): Likewise.
13764 * sysdeps/i386/fpu/libm-test-ulps: Update.
13765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13766
9e0e3d0b
DM
137672012-05-23 David S. Miller <davem@davemloft.net>
13768
13769 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13770 (__libc_sigaction): Remove unused local variables.
13771
ccd0a08f
L
137722012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13773
13774 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13775
62bdf9a6
PE
137762012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13777
f8591f80
PE
13778 mktime: avoid signed integer overflow
13779 * time/mktime.c (__mktime_internal): Do not mishandle the case
13780 where diff == INT_MIN.
13781
94c7d826
PE
13782 mktime: simplify computation of average
13783 * time/mktime.c (ranged_convert): Use new time_t_avg function
13784 instead of rolling our own (probably-slower) code.
13785
ce73d683
PE
13786 mktime: do not assume signed right shift propagates sign bit
13787 * time/mktime.c (isdst_differ): New static function.
13788 (__mktime_internal): No need to normalize tm_isdst now.
13789 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13790 tm_isdst values.
13791
72a22e59
PE
13792 mktime: merge another wrapv change from gnulib
13793 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13794 from some compilers.
13795
68605433
PE
13796 mktime: remove incorrect attempt at unusual arithmetics
13797 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13798 The code didn't really work on such machines anyway.
13799 (TYPE_MINIMUM): Assume two's complement.
13800 (twos_complement_arithmetic): Verify that long_int and time_t
13801 are two's complement (or unsigned, in the latter case).
13802
03cf7fe3
PE
13803 mktime: check signed shifts on long_int and time_t, too
13804 * time/mktime.c (SHR): Check that shifts work as desired
13805 on the types long_int and time_t too, as SHR is used on
13806 such types.
13807
f04dfbc2
PE
13808 mktime: do not assume 'long' is wide enough
13809 * time/mktime.c (verify): Move decl up.
13810 (long_int): New type.
13811 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13812 to remove assumption in the code that 'long' is wide enough to
13813 store year values. This assumption is not true on x32 and on
13814 some non-glibc platforms.
13815
62bdf9a6
PE
13816 mktime: merge wrapv change from gnulib
13817 * time/mktime.c (WRAPV): New macro.
13818 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13819 (guess_time_tm, __mktime_internal): Do not assume that signed
13820 integer overflow wraps around; modern compilers generate code
13821 where this assumption is no longer valid.
13822
5e292e4f
L
138232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13824
13825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13826 Replace "jmp L(pseudo_end)" with "ret".
13827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13828 Likewise.
13829
8caf8c87
AJ
138302012-05-23 Andreas Jaeger <aj@suse.de>
13831
13832 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13833 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13834
1a09dc56
AJ
138352012-05-23 Andreas Jaeger <aj@suse.de>
13836 Maximilian Attems <max@stro.at>
13837
13838 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13839 New macros.
13840
1c87aba0
L
138412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13842
13843 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13844 code so that pseudo_end is just ret and the stack pointer is
13845 correct also for static library in error case.
13846
40e45bd5
JM
138472012-05-23 Joseph Myers <joseph@codesourcery.com>
13848
c2670533
JM
13849 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13850 move to syscalls.list.
13851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13855
40e45bd5
JM
13856 * manual/install.texi (Running make install): Do not mention Linux
13857 kernel version for which pt_chown is not needed.
13858 (Linux): Do not mention problems with nscd with 2.0 kernels.
13859 * INSTALL: Regenerated.
13860
be08eda5
AJ
138612012-05-23 Andreas Jaeger <aj@suse.de>
13862
13863 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13864 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13865 macro.
13866 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13867 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13868 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13869 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13870 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13871 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13872 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13873 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13874 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13875 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13876 * sysdeps/unix/sysv/linux/bits/in.h
13877 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13878
a6a056bb
RM
138792012-05-22 Roland McGrath <roland@hack.frob.com>
13880
13881 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13882 (PREPARE_VERSION): Just use assert instead, it will be elided
13883 under [NDEBUG] anyway.
13884
c9009328
L
138852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13886
13887 * sysdeps/unix/sysv/linux/Makefile: Include
13888 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13889 (sysdep_routines): Remove sysctl.
c9009328
L
13890 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13891 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13892 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13893 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13894 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13895
73338355
AJ
138962012-05-22 Andreas Jaeger <aj@suse.de>
13897
13898 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13899 that pseudo_end is just ret and the stack pointer is correct also
13900 for static library in error case.
13901
d44638b0
PP
139022012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13903
13904 [BZ #14122]
13905 * nss/nsswitch.c (defconfig_entries): New variable.
13906 (__nss_database_lookup): Don't leak defconfig entries.
13907 (nss_parse_service_list): Don't leak on error paths.
13908 (free_database_entries): New function.
13909 (free_defconfig): New function.
13910 (free_mem): Move common code to free_database_entries.
13911
31a39bd8
L
139122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13913
da0331a8
L
13914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13915 Add arch_prctl.
13916 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13917
31a39bd8
L
13918 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13919 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13921 New macro.
13922 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13923 (INTERNAL_SYSCALL_TYPES): Likewise.
13924 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13925 (LOAD_REGS_TYPES_[1-6]): Likewise.
13926 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13927 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13928
45470df3
AZ
139292012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13930
13931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13932 copysignl for GLIBC_2_0.
13933 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
13934 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
13935 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
13936 logbl for GLIBC_2_0.
13937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
13938 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
13939
98a61bcb
L
139402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13941
a4f6e481
L
13942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
13943 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13944
f63d5db6
L
13945 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13946 Use "neg %eax".
13947
98a61bcb
L
13948 * time/mktime.c: Update copyright years.
13949
95770f14
PE
139502012-05-22 Paul Eggert <eggert@cs.ucla.edu>
13951
6226efbd
PE
13952 mktime: merge comment-quoting-style change from gnulib
13953 * time/mktime.c: Quote 'like this' in comments.
13954 The GNU coding standards suggest that we no longer quote `like this',
13955 as "`" and "'" are typically rendered asymmetrically nowadays.
13956 The typical gnulib style is to quote 'like this' when quoting
13957 code, and "like this" when quoting English.
13958
b99e4f78
PE
13959 * time/mktime.c (compile-command): Add "-I.".
13960
643e01e6
PE
13961 mktime: merge mktime-internal.h change from gnulib
13962 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
13963
2554247d
PE
13964 mktime: merge time_r change from gnulib
13965 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
13966
826dd0ab
PE
13967 mktime: merge DEBUG change from gnulib
13968 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
13969 case system <time.h> has a #define.
13970
bd83aabe
PE
13971 mktime: merge <sys/types.h> change from gnulib
13972 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
13973 since <time.t> is now guaranteed to define time_t.
13974
95770f14
PE
13975 mktime: merge HAVE_CONFIG_H change from gnulib
13976 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
13977
5e1a27a9
L
139782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13979
0e44a77e
L
13980 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
13981 Use "neg %eax".
13982
5e1a27a9
L
13983 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
13984 __rlim_t cast.
13985 (struct rusage): Use anonymous union to pad each field to
13986 __syscall_slong_t.
13987
46259bec
DM
139882012-05-21 David S. Miller <davem@davemloft.net>
13989
13990 * Makefules (o-iterator): Remove .s cases.
13991 (compile-command.s): Delete.
13992 (COMPILE.s): Delete.
13993 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
13994
59f0c22e
JM
139952012-05-21 Joseph Myers <joseph@codesourcery.com>
13996
13997 * configure.in (libc_cv_predef_stack_protector): Only consider
13998 "foobar" and "__stack_chk_fail" lines in libc_undefs.
13999 * configure: Regenerated.
14000
20c07380
L
140012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14002
bbb3154b
L
14003 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14004 New macro. Use R*LP on int and pointer.
14005 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14006 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14007 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14008 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14009
20c07380
L
14010 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14011 [__WORDSIZE_TIME64_COMPAT32] instead of
14012 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14013 (struct utmp): Likewise.
14014 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14015 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14016 Renamed to ...
14017 (__WORDSIZE_TIME64_COMPAT32): This.
14018 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14019 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14020 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14021 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14022 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14023 (__WORDSIZE_TIME64_COMPAT32): New macro.
14024
d8d1017e
AJ
140252012-05-21 Andreas Jaeger <aj@suse.de>
14026
14027 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14028 only if [SHARED]. Add prototype for __wcschr_ia32.
14029
6c7fb145
RM
140302012-05-21 Roland McGrath <roland@hack.frob.com>
14031
14032 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14033 of %rbp unmolested in the jmp_buf while mangling the low bits.
14034 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14035 unmolested high bits of %rbp while demangling the low bits.
14036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14037
66274218
AJ
140382012-05-21 Andreas Jaeger <aj@suse.de>
14039
07c58f8f
AJ
14040 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14041 * sunrpc/svc_simple.c: Use it for registerrpc.
14042 * sunrpc/xcrypt.c: Use it for passwd2des.
14043
66274218
AJ
14044 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14045
61f65140
L
140462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14047
14048 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14049 Don't define if [__SYSCALL_WORDSIZE != 32].
14050 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14051 New macro.
14052
5fefb436
AJ
140532012-05-21 Bruno Haible <bruno@clisp.org>
14054 Andreas Jaeger <aj@suse.de>
14055
14056 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14057 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14058 inptr and inend for must_buffer_ch.
14059 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14060 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14061 * stdio-common/Makefile (tests): Remove bug15.
14062 (bug15-ENV): Remove macro.
14063 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14064 anymore.
14065
d8e272ab
AJ
140662012-05-19 Andreas Jaeger <aj@suse.de>
14067 Roland McGrath <roland@hack.frob.com>
14068
14069 * manual/contrib.texi: Completely rewritten. It contains now an
14070 alphabetical list of contributors and their contributions.
14071
4a56a162
RH
140722012-05-21 Richard Henderson <rth@twiddle.net>
14073
14074 * misc/getauxval.c (__getauxval): Use unsigned long int.
14075 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14076 (getauxval): Use unsigned long int.
14077
d024d23c
L
140782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14079
14080 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14081
cbc00a03
RM
140822012-05-21 Roland McGrath <roland@hack.frob.com>
14083
14084 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14085 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14086 __alignof__ (long double).
14087
478143fa
AZ
140882012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14089
14090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14091
c7683a6d
RH
140922012-05-20 Richard Henderson <rth@twiddle.net>
14093
14094 * misc/getauxval.c: New file.
14095 * misc/sys/auxv.h: New file.
14096 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14097 (routines): Add getauxval.
14098 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14099 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14100 * elf/dl-sysdep.c (_dl_auxv): Remove.
14101 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14102 * elf/dl-support.c (_dl_auxv): New variable.
14103 (_dl_aux_init): Initialize it.
14104 * manual/startup.texi (Auxiliary Vector): New node.
14105 * sysdeps/generic/bits/hwcap.h: New file.
14106 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14107 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14108 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14109 * sysdeps/sparc/sysdep.h: ... here. Include it.
14110 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14111 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
14112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14113 Update.
c7683a6d
RH
14114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14122
a6f1845d
AZ
141232012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124
14125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14126
cbcbe830
DM
141272012-05-19 David S. Miller <davem@davemloft.net>
14128
14129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14130
e0b16cc2
JM
141312012-05-19 Joseph Myers <joseph@codesourcery.com>
14132
14133 [BZ #14123]
14134 * math/s_ccosh.c: Include <float.h>
14135 (__ccosh): Avoid internal overflow calculating sinh and cosh
14136 values before multiplying by sin and cos values.
14137 * math/s_ccoshf.c: Likewise.
14138 * math/s_ccoshl.c: Likewise.
14139 * math/s_csin.c: Likewise.
14140 * math/s_csinf.c: Likewise.
14141 * math/s_csinl.c: Likewise.
14142 * math/s_csinh.c: Likewise.
14143 * math/s_csinhf.c: Likewise.
14144 * math/s_csinhl.c: Likewise.
14145 * math/libm-test.inc (ccos_test): Add more tests.
14146 (ccosh_test): Likewise.
14147 (csin_test): Likewise.
14148 (csinh_test): Likewise.
14149 * sysdeps/i386/fpu/libm-test-ulps: Update.
14150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14151
6ad13e08
L
141522012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14153
f66f0ce8
L
14154 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14155 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14156
6ad13e08
L
14157 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14158
b1d072a7
JM
141592012-05-19 Joseph Myers <joseph@codesourcery.com>
14160
14161 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14162 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14163 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14164 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14165 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14166 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14167 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14168 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14169 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14170 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14171 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14172 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14173 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14174 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14175 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14176 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14177 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14178 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14179 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14180 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14181 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14182 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14183 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14184 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14185 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14186 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14187 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14188 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14189 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14190 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14191 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14192
9eae47cb
AJ
141932012-05-18 Andreas Jaeger <aj@suse.de>
14194
14195 * csu/.gitignore: Delete.
14196
bb07f69f
L
141972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14198
14199 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14200 (timex): Use __syscall_slong_t.
14201
e6bdb741
AJ
142022012-05-18 Andreas Jaeger <aj@suse.de>
14203 Carlos O'Donell <carlos_odonell@mentor.com>
14204
14205 * manual/install.texi (Configuring and compiling): Update
14206 description about files modified in the source directory.
d6c33fda 14207 * INSTALL: Regenerated.
e6bdb741 14208
1b74487e
L
142092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14212 value. Use "or" to set return value to -1.
14213 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14214 negate return value.
14215
a88b64b9
TMQMF
142162012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14217
14218 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14219 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14220 failure if the compiler has Graphite support disabled.
14221 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14222 Likewise.
14223 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14224 CFLAGS-memmove.c): Likewise.
14225 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14226 Likewise.
14227
3707636e
L
142282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14229
610b8622
L
14230 * sysdeps/x86_64/x32/_itoa.h: New file.
14231
7cd195df
L
14232 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14233 getdents system call only if kernel and user dirents have the
14234 same d_ino and d_off.
14235
94b07d20
L
14236 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14237 LLONG_MAX != LONG_MAX.
14238 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14239 (_fitoa_word): Likewise.
14240
18298070
L
14241 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14242 years.
14243 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14244 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14245 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14246
553c7ea4
L
14247 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14248 include <bits/wordsize.h>. Check __x86_64__ instead of
14249 __WORDSIZE.
14250 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14251 if __x86_64__ is defined. Use anonymous union on fpstate.
14252
3707636e
L
14253 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14254 anonymous union.
14255
b53ef01a
AS
142562012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14257
37fb1dc0
AS
14258 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14259 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14260 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14261 Refer to _rtld_local_ro instead of _rtld_global_ro.
14262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14263 Likewise.
14264 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14265 Likewise.
14266 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14267 Likewise.
14268 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14269 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14270 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14271
b53ef01a
AS
14272 * sysdeps/powerpc/powerpc32/dl-machine.c
14273 (__elf_machine_runtime_setup) [PROF]: Don't reference
14274 _dl_prof_resolve.
14275
7a185db2
AJ
142762012-05-18 Andreas Jaeger <aj@suse.de>
14277
14278 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14279 function only available for GCCs before 3.4 since GCC 3.4
14280 introduced a builtin.
14281 (lrint): Likewise.
14282 (llrintf): Likewise.
14283 (llrint): Likewise.
14284 (fmaxf): Likewise.
14285 (fmax): Likewise.
14286 (fminf): Likewise.
14287 (fmin): Likewise.
14288 (rint): Likewise.
14289 (rintf): Likewise.
14290 (nearbyint): Likewise.
14291 (nearbyintf): Likewise.
14292 (ceil): Likewise.
14293 (ceilf): Likewise.
14294 (floor): Likewise.
14295 (floorf): Likewise.
14296
3e5aef87
L
142972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14298
428bd707
L
14299 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14300 on both fields and cast pointer to __syscall_ulong_t.
14301
3e5aef87
L
14302 * bits/types.h (__fsword_t): New type.
14303 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14304 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14305 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14306 (__FSWORD_T_TYPE): Likewise.
14307 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14308 (__FSWORD_T_TYPE): Likewise.
14309 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14310 (__FSWORD_T_TYPE): Likewise.
14311 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14312 (__FSWORD_T_TYPE): Likewise.
14313 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14314 __SWORD_TYPE with __fsword_t.
14315 (statfs64): Likewise.
14316
1ba7c3dc
DM
143172012-05-17 David S. Miller <davem@davemloft.net>
14318
14319 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14320
59910343
AJ
143212012-05-17 Andreas Jaeger <aj@suse.de>
14322
14323 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14324 warning.
14325
2e4c1e9e
L
143262012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14327
14328 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14329
de7f5ce7
AJ
143302012-05-17 Andreas Jaeger <aj@suse.de>
14331
14332 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14333 when it is used.
14334
286abc3d
CM
143352012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14336
14337 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14338
477cc68e
L
143392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14340
14341 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14342 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14343
1a0994f5
CD
143442012-05-17 Andreas Jaeger <aj@suse.de>
14345 Carlos O'Donell <carlos_odonell@mentor.com>
14346
14347 [BZ #14059]
14348 * sysdeps/x86_64/multiarch/init-arch.h
14349 (bit_YMM_Usable): Rename to...
14350 (bit_AVX_Usable): ... this.
14351 (bit_FMA4_Usable): New macro.
14352 (bit_XMM_state): New macro.
14353 (bit_YMM_state): New macro.
14354 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14355 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14356 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14357 (CPUID_OSXSAVE): New macro.
14358 (CPUID_AVX): New macro.
14359 (CPUID_FMA4): New macro.
14360 (index_YMM_Usable): Rename to...
14361 (index_AVX_Usable): ... this.
14362 (HAS_AVX): Use HAS_ARCH_FEATURE.
14363 (HAS_FMA4): Likewise.
14364 (HAS_YMM_USABLE): Remove.
14365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14366 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14367 are present.
14368 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14369 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14370 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14371 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14372 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14373
0af797de
CM
143742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14375
14376 * math/libm-test.c: Support platforms without multiple rounding modes.
14377 * math/bug-nextafter.c: Support platforms without FP exceptions.
14378 * math/bug-nexttoward.c: Likewise.
14379 * math/test-fenv.c: Likewise.
14380 * math/test-misc.c: Likewise.
14381 * stdlib/bug-getcontext.c: Likewise.
14382
e39745ff
AJ
143832012-05-17 Andreas Jaeger <aj@suse.de>
14384
14385 * manual/examples/search.c (critter_cmp): Change signature to
14386 avoid warnings.
14387 * manual/string.texi (Collation Functions): Likewise.
14388
48970aba
L
143892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14390
14391 * bits/types.h: Fold copyright years.
14392 * bits/typesizes.h: Likewise.
14393 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14394 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14397 * time/time.h: Likewise.
14398
bedee953
PP
143992012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14400
14401 [BZ #208]
14402 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14403 in instead of returning them. Return void.
14404 (__libc_mallinfo): Accumulate over all arenas.
14405 (__malloc_stats): Adjust for change in int_mallinfo interface.
14406
61653dfb
RM
144072012-05-16 Roland McGrath <roland@hack.frob.com>
14408
30b99d79
RM
14409 [BZ #10375]
14410 * configure.in (NM): Add AC_CHECK_TOOL for it.
14411 (libc_extra_cflags): New substituted variable.
14412 Check for -fstack-protector being used implicitly.
14413 * configure: Regenerated.
14414 * config.make.in (config-extra-cflags): New variable,
14415 gets @libc_extra_cflags@.
14416 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14417
61653dfb
RM
14418 [BZ #10375]
14419 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14420 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14421 * configure: Regenerated.
14422 * config.make.in (CPPUNDEFS): New substituted variable.
14423 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14424 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14425 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14426
661768bb
L
144272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14428
14429 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14430 (mq_attr): Use __syscall_slong_t.
14431
d4261567
L
144322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14433
14434 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14435 Check __x86_64__ instead of __WORDSIZE.
14436 (_STAT_VER_LINUX): Likewise.
14437 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14438 __syscall_ulong_t and __syscall_slong_t.
14439 (stat64): Likewise.
14440
cf3ff365
L
144412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14442
14443 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14444
76cf3e4d
L
144452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14446
14447 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14448
a637753a
L
144492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14450
14451 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14452 __syscall_ulong_t.
14453
d5e05119
L
14454 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14455 include <bits/wordsize.h>. Check __x86_64__ instead of
14456 __WORDSIZE.
14457 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14458 defined.
14459 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14460
f62ee380
L
14461 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14462 include <bits/wordsize.h>. Check __x86_64__ instead of
14463 __WORDSIZE.
14464 (user_regs_struct): Use "__extension__ unsigned long long"
14465 instead of "unsigned long" if __x86_64__ is defined.
14466 (user): Likewise. Pad after pointer field if __ILP32__ is
14467 defined.
14468
4e124ced
JM
144692012-05-16 Joseph Myers <joseph@codesourcery.com>
14470
6a3951a0
JM
14471 * configure.in (makeinfo): Require version 4.5 or later. Allow
14472 versions 5 to 9.
14473 * configure: Regenerated.
14474 * manual/install.texi (texinfo): Increase version requirement to
14475 4.5 or later.
14476 * INSTALL: Regenerated.
14477
4e124ced
JM
14478 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14479
953ca31a
L
144802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14481
14482 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14483
617aca05
L
14484 * sysdeps/x86_64/x32/ffs.c: New file.
14485
5762f7ae
L
14486 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14487 __syscall_ulong_t.
14488 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14489 defined. Use __syscall_ulong_t.
14490 (shminfo): Use __syscall_ulong_t.
14491 (shm_info): Likewise.
14492
a26b6856
L
14493 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14494 __syscall_ulong_t.
14495
cb2b9ef7
L
14496 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14497 <bits/wordsize.h>.
14498 (msgqnum_t): Use __syscall_ulong_t.
14499 (msglen_t): Likewise.
14500 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14501 __syscall_ulong_t.
14502
34683bb0
L
14503 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14504 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14505
84a68786
L
14506 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14507
48baa5f1
L
14508 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14509 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14510
180be88b
L
14511 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14512 __syscall_slong_t.
14513
5e90c8ad
L
14514 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14515 include <bits/wordsize.h>. Check __x86_64__ instead of
14516 __WORDSIZE.
14517
23dfb58b
L
14518 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14519 "unsigned long long int" if __x86_64__ is defined.
14520 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14521
ce5d54b0
L
14522 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14523 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14524 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14525
13dc9eac
L
14526 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14527 <stdint.h>.
14528 (GET_PC): Cast to uintptr_t first.
14529 (GET_FRAME): Likewise.
14530 (GET_STACK): Likewise.
14531
a7895d15
L
14532 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14533 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14534 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14535 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14536 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14537 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14538 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14539 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14540 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14541 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14542 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14543 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14544 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14545 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14546 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14547 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14548 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14549 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14551 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14552 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14553 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14554 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14555 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14556 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14557 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14558 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14559 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14560 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14561
656416c9
AS
145622012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14563
5bd66283
AS
14564 * Makerules (+depfiles): Also collect depfiles from .oS in
14565 $(extra-objs).
14566 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14567 .oS, $(libnldbl-routines)).
14568
656416c9
AS
14569 * Makerules (native-compile-mkdep-flags): Define.
14570 * sunrpc/Makefile (extra-objs): Add $(addprefix
14571 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14572 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14573 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14574 calling $(make-target-directory).
14575
a46f2169
L
145762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14577
14578 * bits/types.h (__snseconds_t): Removed.
14579 * time/time.h (struct timespec): Replace __snseconds_t with
14580 __syscall_slong_t.
14581 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14582 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14583 Likewise.
14584 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14585 (__SNSECONDS_T_TYPE): Likewise.
14586 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14587 (__SNSECONDS_T_TYPE): Likewise.
14588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14589 (__SNSECONDS_T_TYPE): Likewise.
14590
6af6528b
L
145912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14592
14593 * sysdeps/mach/hurd/bits/typesizes.h
14594 (__SYSCALL_SLONG_TYPE): New macro.
14595 (__SYSCALL_ULONG_TYPE): Likewise.
14596
de986b56
L
145972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14598
14599 * bits/types.h (__syscall_slong_t): New type.
14600 (__syscall_ulong_t): Likewise.
14601
14602 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14603 (__SYSCALL_ULONG_TYPE): Likewise.
14604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14605 (__SYSCALL_SLONG_TYPE): Likewise.
14606 (__SYSCALL_ULONG_TYPE): Likewise.
14607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14608 (__SYSCALL_SLONG_TYPE): Likewise.
14609 (__SYSCALL_ULONG_TYPE): Likewise.
14610 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14611 (__SYSCALL_SLONG_TYPE): Likewise.
14612 (__SYSCALL_ULONG_TYPE): Likewise.
14613
85736dc7
L
146142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14615
14616 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14617 Add sigaltstack-offsets.sym.
14618 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14619 <sigaltstack-offsets.h>.
14620 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14621 longjmp_msg pointer.
14622 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14623 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14624 signal stack.
14625 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14626
cc03b296
JM
146272012-05-15 Joseph Myers <joseph@codesourcery.com>
14628
a9538892
JM
14629 * elf/stackguard-macros.h: Remove file.
14630 * sysdeps/generic/stackguard-macros.h: New file.
14631 * sysdeps/i386/stackguard-macros.h: Likewise.
14632 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14633 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14634 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14635 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14636 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14637 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14638 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14639 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14640 <elf/stackguard-macros.h>.
14641
cc03b296
JM
14642 [BZ #14109]
14643 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14644 __aligned__ in attribute.
14645 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14646 (gregset_t): Likewise.
14647
93171016
L
146482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14649
14650 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14651 * sysdeps/x86_64/64/Implies-after: Here. New file.
14652 * sysdeps/x86_64/x32/Implies-after: New file.
14653
d86813a0
L
146542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14655
14656 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14657 and access return value for _dl_profile_fixup. Use R10_LP to
14658 load frame size.
14659
2953ec75
L
146602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14661
14662 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14663
3b550e9e
L
146642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14665
14666 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14667 * sysdeps/x86_64/x32/sysdep.h: New file.
14668
eda41706
L
146692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14670
14671 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14672 * sysdeps/x86_64/setjmp.S: Likewise.
14673
9ea01d93
AZ
146742012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14675
14676 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14677 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14678 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14679 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14680 remove unused global constant.
14681
02a91938
CM
146822012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14683
14684 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14685 include of <not-cancel.h>.
14686
6540185f
RM
146872012-05-15 Roland McGrath <roland@hack.frob.com>
14688
14689 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14690
509072a0
AJ
146912012-05-15 Jeff Law <law@redhat.com>
14692 Andreas Jaeger <aj@suse.de>
14693
14694 [BZ #13594]
14695 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14696 out from...
14697 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14698 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14699 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14700 code changing __hst_map_handle.map.
14701
ba75122d
RM
147022012-05-15 Roland McGrath <roland@hack.frob.com>
14703
14704 * configure.in (sysnames): Look for Implies-before and Implies-after
14705 files.
14706 * configure: Regenerated.
14707
890d8bd8
L
147082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14709
14710 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14711 8-byte data alignment with LP_SIZE alignment.
14712
f6ee6623
L
147132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14714
14715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14716 into R10_LP.
14717
ea2626f6
L
147182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14719
14720 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14721
085f715e
L
147222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14723
14724 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14725 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14726 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14727 Likewise.
14728 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14729
be8498fc
L
147302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14731
14732 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14733 (stackinfo_sub_sp): Likewise.
14734
70bc83b9
L
147352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14736
14737 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14738 RAX_LP.
14739
9bc0b730
L
147402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14741
14742 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14743 into R*_LP.
14744
6d2850e7
L
147452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14746
14747 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14748 sizes into R*_LP.
14749
3cb84561
L
147502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14751
14752 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14753
54e2ed81
L
147542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14755
14756 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14757 into R11_LP and load __x86_64_shared_cache_size_half into
14758 R8_LP.
14759
8a17f349
L
147602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14761
14762 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14763 R8_LP.
14764
777b1eea
AZ
147652012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14766
14767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14768 logb for POWER7.
14769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14770 logbf for POWER7.
14771 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14772 logbl for POWER7.
14773 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14774 powerpc32/power7/fpu/s_logb.c via #include.
14775 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14776 powerpc32/power7/fpu/s_logbf.c via #include.
14777 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14778 powerpc32/power7/fpu/s_logbl.c via #include.
14779
d20d4ac2
JM
147802012-05-15 Joseph Myers <joseph@codesourcery.com>
14781
14782 * README.libm: Remove file.
14783
6cdef1ab
L
147842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14785
14786 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14787 count for x32. Use R*_LP and omit operand-size suffix.
14788
0b254d8f
L
147892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14790
14791 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14792 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14793 * sysdeps/x86_64/x32/shlib-versions: New file.
14794
ceb809dc
RM
147952012-05-14 Roland McGrath <roland@hack.frob.com>
14796
14797 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14798 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14799 Use _dl_fatal_printf instead.
14800
37f1abd4
JM
148012012-05-14 Joseph Myers <joseph@codesourcery.com>
14802
14803 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14804 set if not set by the user. Do not allow for being unset.
14805 * sysdeps/unix/sysv/linux/configure: Regenerated.
14806
11de3a33
L
148072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14808
14809 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14810 the `q' suffix from lea and replace .quad with ASM_ADDR.
14811
e02f153a
L
148122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14813
14814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14815 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14816 instead of $17.
14817 (PTR_DEMANGLE): Likewise.
14818
520ae0fd
L
148192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14820
14821 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14822 (LP_OP): Likewise.
14823 (ASM_ADDR): Likewise.
14824 (RAX_LP): Likewise.
14825 (RBP_LP): Likewise.
14826 (RBX_LP): Likewise.
14827 (RCX_LP): Likewise.
14828 (RDI_LP): Likewise.
14829 (RSI_LP): Likewise.
14830 (RSP_LP): Likewise.
14831 (R8_LP): Likewise.
14832 (R9_LP): Likewise.
14833 (R10_LP): Likewise.
14834 (R10_LP): Likewise.
14835 (R11_LP): Likewise.
14836 (R12_LP): Likewise.
14837 (R13_LP): Likewise.
14838 (R14_LP): Likewise.
14839 (R15_LP): Likewise.
14840
b985be81
L
148412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14842
14843 * sysdeps/x86_64/x32/dl-machine.h: New file.
14844
6a4888ff
AJ
148452012-05-14 Andreas Jaeger <aj@suse.de>
14846
14847 * manual/Makefile (subdir): Remove export of subdir.
14848 (all): Remove target.
14849 (.PHONY): Remove all from list.
14850 (mkinstalldirs): Remove.
14851 (.PHONY): Remove installdirs from list.
14852 ($(inst_infodir)/libc.info): Use make-target-directory.
14853 (installdirs): Remove.
14854 (subdir_%): Remove.
14855 (glibc-targets): Remove.
14856 (lib): Remove.
14857 (stubs): Remove.
14858 ($(objpfx)stubs ../po/manual.pot): Remove.
14859 ($(objpfx)stamp%): Remove.
14860 (make-target-directory): Remove.
14861 (subdir_install): Remove.
14862 (routines): Remove.
14863 (aux): Remove.
14864 (sources): Remove.
14865 (objects): Remove.
14866 (headers): Remove.
14867
14868 [BZ #13750]
14869 * manual/.gitignore: Remove, it's not needed anymore.
14870 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14871 all files in it.
14872 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14873 directory.
14874 (texis): Renamed to $(objpfx)texis.
14875 (texis-path): New, contains path to generated files.
14876 (chapters.%): Use texis-path for complete path, add extra argument
14877 libc-texinfo.sh.
14878 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14879 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14880 (summary,texi, stamp-summary): Use complete path of
14881 files. Generate files in build dir.
14882 (dir-add.texi): Build in build dir.
14883 (libm-err.texi,stamp-libm-err): Likewise.
14884 (version.texi, stamp-version): Likewise.
14885 (.%c.texi): Likewise.
14886 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14887 (mostlyclean): Remove target.
14888 (realclean): Remove target.
14889 (generated): Add new variable with contents from mostlyclean and
14890 realclean, remove entries duplicated in common-mostlyclean, add
14891 stamp-libm-err and stamp-version.
14892 (generated-dirs): Add libc directory.
14893 ($(inst_infodir)/libc.info): Install files from build dir.
14894
14895 * manual/install.texi (Configuring and compiling): Adjust since
14896 the info files are not part of the tar ball anymore.
14897
7ac77294
AJ
148982012-05-14 Andreas Jaeger <aj@suse.de>
14899
14900 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14901 variable.
14902
ffb7875d
JM
149032012-05-14 Joseph Myers <joseph@codesourcery.com>
14904
14905 [BZ #13717]
14906 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14907 to 2.2.0 where earlier.
14908 * sysdeps/unix/sysv/linux/configure: Regenerated.
14909 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14910 Remove conditional code.
14911 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14912 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14913 Remove conditional code.
14914 [!__NR_lchown]: Likewise.
14915 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14916 [__NR_lchown]: Likewise.
14917 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14918 comment referencing __ASSUME_LCHOWN_SYSCALL.
14919 * sysdeps/unix/sysv/linux/i386/sigaction.c
14920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14922 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14923 Remove conditional code.
14924 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14925 (__protocol_available): Remove #if 0 code.
14926 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14927 conditional code.
14928 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14929 * sysdeps/unix/sysv/linux/kernel-features.h
14930 (__ASSUME_GETCWD_SYSCALL): Don't define.
14931 (__ASSUME_REALTIME_SIGNALS): Likewise.
14932 (__ASSUME_PREAD_SYSCALL): Likewise.
14933 (__ASSUME_PWRITE_SYSCALL): Likewise.
14934 (__ASSUME_POLL_SYSCALL): Likewise.
14935 (__ASSUME_LCHOWN_SYSCALL): Likewise.
14936 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
14937 non-SPARC.
14938 (__ASSUME_SIOCGIFNAME): Don't define.
14939 (__ASSUME_MSG_NOSIGNAL): Likewise.
14940 (__ASSUME_SENDFILE): Define unconditionally.
14941 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
14942 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
14943 conditional code.
14944 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
14945 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
14946 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14947 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14948 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
14949 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
14950 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
14952 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14953 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
14955 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14956 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
14958 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14959 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
14961 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14962 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
14964 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14965 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
14967 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
14968 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
14970 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14971 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
14973 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
14974 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14975 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
14976 Remove conditional code.
14977 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14978 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14979 Remove conditional code.
14980 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14981 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
14982 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
14983 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14984 Remove conditional code.
14985 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14986 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
14987 Remove conditional code.
14988 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14989 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
14990 Remove conditional code.
14991 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14992 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
14993 Remove conditional code.
14994 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
14995 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
14996 Remove conditional code.
14997 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
14998 * sysdeps/unix/sysv/linux/sh/pwrite64.c
14999 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15000 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15001 * sysdeps/unix/sysv/linux/sigaction.c
15002 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15003 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15004 * sysdeps/unix/sysv/linux/sigpending.c
15005 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15006 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15007 * sysdeps/unix/sysv/linux/sigprocmask.c
15008 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15009 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15010 * sysdeps/unix/sysv/linux/sigsuspend.c
15011 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15012 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15013 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15014 (__libc_missing_rt_sigs): Remove.
15015 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15016 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15017 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15018 Remove conditional code.
15019 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15020 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15021 return 1.
15022 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15023 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15024 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15025 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15026
1bfb7291
AJ
150272012-05-14 Andreas Jaeger <aj@suse.de>
15028
caae5a81
AJ
15029 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15030 it's not used in glibc.
15031 (__coshm1): Likewise.
15032 (__acosh1p): Likewise.
15033 (__sgn): Likewise.
15034
1bfb7291
AJ
15035 * manual/string.texi (Copying and Concatenation): Add missing
15036 variable in concat example.
15037 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15038
c044d724
L
150392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15040
144c5467 15041 [BZ #14103]
c044d724
L
15042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15043 __builtin_clzl with __builtin_clzll.
15044
2523c62b
L
150452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15046
15047 [BZ #14104]
15048 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15049 libc_freeres_ptr.
15050
d7bb4c42
LD
150512012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15052
15053 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15054 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15055 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15056 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15057
9dc4e1fb
MF
150582012-05-14 Mike Frysinger <vapier@gentoo.org>
15059
15060 * NEWS: Update ia64 info.
15061
c7df0112
AS
150622012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15063
15064 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15065 used as bcopy.
15066
dc70356c
TS
150672012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15068
15069 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15070 * sysdeps/unix/syscalls.list (dup3): Likewise.
15071 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15072 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15073
9fb1a21f
L
150742012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15075
15076 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15077 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15078
4822a2a5
L
150792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15080
15081 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15082 thread pointer.
15083 (TLS_IE): Use mov/add instead of movq/addq to load thread
15084 pointer.
15085 (TLS_GD_PREFIX): New.
15086 (TLS_GD): Use it.
15087
842b81d6
DM
150882012-05-11 David S. Miller <davem@davemloft.net>
15089
15090 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15091 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15092 (_FPU_SETCW): Likewise.
15093
1cf463cd
L
150942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15095
15096 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15097 is 32-byte aligned.
15098
60cc4a18
AS
150992012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15100
15101 [BZ #11837]
15102 * iconvdata/gb18030.c: Update tables.
15103 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15104 characters specially.
15105 (BODY for TO_LOOP): Add encoding of missing ranges.
15106
febb44a4
TS
151072012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15108
15109 [BZ #13673]
15110 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15111 * sysdeps/mach/hurd/dup3.c: Likewise.
15112 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15113 * sysdeps/powerpc/memmove.c:: Likewise.
15114
0a10fb9e
L
151152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15116
15117 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15118 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15119
df8a552f
L
151202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15121
15122 * elf/elf.h (R_X86_64_RELATIVE64): New.
15123 (R_X86_64_NUM): Updated.
15124 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15125 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15126 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15127 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15128 tst-quad1pie tst-quad2pie
15129 (modules-names): Add tst-quadmod1 tst-quadmod2.
15130 ($(objpfx)tst-quad1): New dependency.
15131 ($(objpfx)tst-quad2): Likewise.
15132 ($(objpfx)tst-quad1pie): Likewise.
15133 ($(objpfx)tst-quad2pie): Likewise.
15134 * sysdeps/x86_64/tst-quad1.c: New file.
15135 * sysdeps/x86_64/tst-quad1pie.c: New file.
15136 * sysdeps/x86_64/tst-quad2.c: Likewise.
15137 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15138 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15139 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15140 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15141 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15142
f34d6f84
ST
151432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15144
f42d41d1
ST
15145 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15146 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15147 * streams/stropts.h (t_scalar_t): Define type.
15148
3c3571fc
ST
15149 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15150 (_PATH_PRESERVE): Set to "/var/lib".
15151 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15152
61f06bd3
ST
15153 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15154 instead of int.
15155
918d4d71
ST
15156 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15157 if __dir_mkfile succeeded.
15158
f34d6f84
ST
15159 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15160 checking for _hurd_dtablesize. Unlock it right after having
15161 finished _hurd_dtable allocation.
15162
10589b4a
TS
151632012-05-10 Thomas Schwinge <thomas@schwinge.name>
15164
674cdbc7
TS
15165 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15166 * sysdeps/mach/hurd/configure: Regenerated.
15167 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15168 special-casing to...
15169 * sysdeps/gnu/configure.in: ... this new file.
15170 * sysdeps/unix/sysv/linux/configure: Regenerated.
15171 * sysdeps/gnu/configure: New generated file.
15172
8e41b99f
TS
15173 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15174 for Linux: use nsec instead of usec, as well as:
15175 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15176 members of type struct timespec.
15177 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15178 New macros.
15179 (struct stat64): Likewise.
15180 (_STATBUF_ST_NSEC): New macro.
15181 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15182
10589b4a
TS
15183 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15184 __strtoul_internal rather than strtoul.
15185
63643c85
PT
151862012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15187
15188 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15189 and reject them.
15190
3faebe6a
ST
151912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15192
15193 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15194 which preserves existing values.
15195 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15196
c6474b07
PT
151972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15198
15199 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15200 TIMEOUT values. Return EINVAL for NFDS values either negative or
15201 greater than FD_SETSIZE.
15202
1043890b
ST
152032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15204
15205 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15206 allocated, call __vm_protect to finish enabling the existing space, and
15207 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15208 allocate the remainder.
15209
37ed8b9b
PT
152102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15211
15212 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15213 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15214
db653660
ST
152152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15216
37ed8b9b
PT
15217 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15218 sysdeps/mach/hurd/readlink.c.
b29d4053 15219
db653660
ST
15220 * posix/tst-sysconf.c (posix_options): Only use
15221 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15222 _POSIX_SYNCHRONIZED_IO when they are defined
15223 * sysdeps/mach/hurd/bits/posix_opt.h:
15224 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15225 (_XOPEN_REALTIME): Undefine macro.
15226 (_XOPEN_REALTIME_THREADS): Undefine macro.
15227 (_XOPEN_SHM): Undefine macro.
15228 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15229 macro to -1.
15230 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15231 macro to -1.
15232 (_POSIX_ASYNC_IO): Undefine macro.
15233 (_POSIX_PRIORITIZED_IO): Undefine macro.
15234 (_POSIX_SPIN_LOCKS): Define macro to -1.
15235
ee16e894
ST
15236 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15237 SA_NODEFER, SA_RESETHAND.
15238 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15239 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15240 F_DUPFD_CLOEXEC.
15241
6103ae3b
TS
152422012-05-10 Thomas Schwinge <thomas@schwinge.name>
15243
15244 * elf/Makefile (pldd-modules): Define unconditionally.
15245
80b4e5f3
TS
152462012-05-10 Thomas Schwinge <thomas@schwinge.name>
15247
15248 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15249
edadcbd6
ST
152502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15251
15252 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15253 Return ENOENT when name is empty.
15254 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15255
80694780
TS
152562012-05-10 Thomas Schwinge <thomas@schwinge.name>
15257
1792c087
TS
15258 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15259
80694780
TS
15260 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15261
6b645f0d
ST
152622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15263
80694780
TS
15264 Fix mlock in all cases except non-readable pages.
15265 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15266 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15267
6b645f0d
ST
15268 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15269 (__mkdir): When path is `/', just fail with EEXIST.
15270 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15271
e468f8a3
TS
152722012-05-10 Thomas Schwinge <thomas@schwinge.name>
15273
15274 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15275 <sys/uio.h> (for writev).
15276 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15277 and <sys/param.h> (for MIN).
15278
a4186cff
PT
152792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15280
15281 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15282 REQUESTED_TIME. Properly set the remaining time and return EINTR
15283 if interrupted.
15284
510bbf14
TS
152852012-05-10 Thomas Schwinge <thomas@schwinge.name>
15286
15287 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15288 Depend on against $(link-rpcuserlibs).
15289
5d5722e8
ST
152902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15291
a4186cff
PT
15292 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15293 (__libc_stack_end): Do not use attribute_relro.
15294 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15295 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15296 to libthread-provided value.
a4186cff
PT
15297 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15298 attribute_relro.
5d5722e8 15299
37233df9
TS
153002012-05-10 Thomas Schwinge <thomas@schwinge.name>
15301
be971a2b
TS
15302 [BZ #3748]
15303 * bits/libc-lock.h (__libc_once_get): New macro.
15304 * sysdeps/mach/bits/libc-lock.h: Likewise.
15305 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15307 instead of using implementation details.
15308
37233df9
TS
15309 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15310 * libio/freopen.c: Likewise.
15311 * libio/freopen64.c: Likewise.
15312 * misc/syslog.c: Likewise.
15313 * nscd/connections.c: Likewise.
15314 * nscd/netgroupcache.c: Likewise.
15315 * sysdeps/posix/getcwd.c: Likewise.
15316
38de94a5
RM
153172012-05-10 Roland McGrath <roland@hack.frob.com>
15318
15319 * math/w_ilogbf.c: Add #include <limits.h>.
15320
67530489
ST
153212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15322
a4186cff 15323 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15324 path instead of returning without unlocking.
15325
67530489
ST
15326 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15327 immediate-write ioctls.
15328 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15329
5aa3a74a
TS
153302012-05-10 Thomas Schwinge <thomas@schwinge.name>
15331
18bad2ae
TS
15332 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15333 __builtin_frame_address instead of making assumptions about the
15334 location of the return address relative to DATA. Force early load of
15335 the return address.
15336 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15337 __builtin_frame_address.
15338
5aa3a74a
TS
15339 dup3 for GNU Hurd.
15340 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15341 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15342 implement dup3 and do some further code clean-ups.
15343 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15344 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15345
ecd0de9a
ST
153462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15347
cd9fa985
ST
15348 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15349
a4186cff
PT
15350 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15351 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15352 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15353 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15354 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15355 d->port.lock.
802ca5a5 15356
a4186cff
PT
15357 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15358 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15359 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15360
bcf55240
TS
153612012-05-10 Thomas Schwinge <thomas@schwinge.name>
15362
6960eb42
TS
15363 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15364 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15365 definitions.
15366
eb43375f
TS
15367 accept4 for GNU Hurd.
15368 * include/sys/socket.h (__libc_accept4): New prototype.
15369 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15370 to implement __libc_accept4.
15371 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15372 __libc_accept4.
15373 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15374
bcf55240
TS
15375 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15376 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15377 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15378 signal-defines.sym.
15379
6178c55b
ST
153802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15381
a4186cff 15382 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15383
6f080c2f
TS
153842012-05-10 Thomas Schwinge <thomas@schwinge.name>
15385
15386 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15387 assertion on O_CLOEXEC flag.
15388 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15389 * hurd/intern-fd.c: Likewise.
15390 * hurd/port2fd.c: Likewise.
15391
bcfe3a54
ST
153922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15393
15394 [BZ #3906]
15395 * bits/in.h (IPV6_PKTINFO): Define new macro.
15396 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15397
89c9aa49
AZ
153982012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15399
15400 [BZ #13954]
15401 [BZ #13955]
15402 [BZ #13956]
15403 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15405 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15406 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15407 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15408 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15409 * math/libm-test.inc (logb_test) : Additional logb tests.
15410
021db4be
AJ
154112012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15412 Andreas Jaeger <aj@suse.de>
15413
15414 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15415 * configure: Regenerated.
15416 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15417 * config.make.in (link-obsolete-rpc): New substituted variable.
15418 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15419 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15420 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15421 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15422 so that libc.a contains the symbols.
15423 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15424 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15425 * sunrpc/auth_none.c: Likewise.
15426 * sunrpc/auth_unix.c: Likewise.
15427 * sunrpc/authdes_prot.c: Likewise.
15428 * sunrpc/authuxprot.c: Likewise.
15429 * sunrpc/clnt_gen.c: Likewise.
15430 * sunrpc/clnt_perr.c: Likewise.
15431 * sunrpc/clnt_raw.c: Likewise.
15432 * sunrpc/clnt_simp.c: Likewise.
15433 * sunrpc/clnt_tcp.c: Likewise.
15434 * sunrpc/clnt_udp.c: Likewise.
15435 * sunrpc/clnt_unix.c: Likewise.
15436 * sunrpc/des_crypt.c: Likewise.
15437 * sunrpc/des_soft.c: Likewise.
15438 * sunrpc/get_myaddr.c: Likewise.
15439 * sunrpc/key_call.c: Likewise.
15440 * sunrpc/key_prot.c: Likewise.
15441 * sunrpc/netname.c: Likewise.
15442 * sunrpc/pm_getmaps.c: Likewise.
15443 * sunrpc/pm_getport.c: Likewise.
15444 * sunrpc/pmap_clnt.c: Likewise.
15445 * sunrpc/pmap_prot.c: Likewise.
15446 * sunrpc/pmap_prot2.c: Likewise.
15447 * sunrpc/pmap_rmt.c: Likewise.
15448 * sunrpc/publickey.c: Likewise.
15449 * sunrpc/rpc_cmsg.c: Likewise.
15450 * sunrpc/rpc_common.c: Likewise.
15451 * sunrpc/rpc_dtable.c: Likewise.
15452 * sunrpc/rpc_prot.c: Likewise.
15453 * sunrpc/rpc_thread.c: Likewise.
15454 * sunrpc/rtime.c: Likewise.
15455 * sunrpc/svc.c: Likewise.
15456 * sunrpc/svc_auth.c: Likewise.
15457 * sunrpc/svc_raw.c: Likewise.
15458 * sunrpc/svc_run.c: Likewise.
15459 * sunrpc/svc_tcp.c: Likewise.
15460 * sunrpc/svc_udp.c: Likewise.
15461 * sunrpc/svc_unix.c: Likewise.
15462 * sunrpc/svcauth_des.c: Likewise.
15463 * sunrpc/xcrypt.c: Likewise.
15464 * sunrpc/xdr.c: Likewise.
15465 * sunrpc/xdr_array.c: Likewise.
15466 * sunrpc/xdr_float.c: Likewise.
15467 * sunrpc/xdr_intXX_t.c: Likewise.
15468 * sunrpc/xdr_mem.c: Likewise.
15469 * sunrpc/xdr_rec.c: Likewise.
15470 * sunrpc/xdr_ref.c: Likewise.
15471 * sunrpc/xdr_sizeof.c: Likewise.
15472 * sunrpc/xdr_stdio.c: Likewise.
15473
b5c086a2
RM
154742012-05-10 Roland McGrath <roland@hack.frob.com>
15475
15476 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15477 change. Update copyright years.
15478
6d74dd09
JM
154792012-05-10 Joseph Myers <joseph@codesourcery.com>
15480
15481 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15482
28e72501
MK
154832012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15484 Joseph Myers <joseph@codesourcery.com>
15485 Paul Pluzhnikov <ppluzhnikov@google.com>
15486
15487 [BZ #14012]
15488 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15489 requiring rpcgen.
15490 [cross-compiling] (extra-libs): Likewise.
15491 [cross-compiling] (extra-libs-others): Likewise.
15492 [cross-compiling] (librpcsvc-routines): Likewise.
15493 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15494 [cross-compiling] (omit-deps): Likewise.
15495 (sunrpc-CPPFLAGS): New variable.
15496 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15497 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15498 (cross-rpcgen-objs): New variable.
15499 (extra-objs): Append $(cross-rpcgen-objs).
15500 ($(cross-rpcgen-objs)): New rule.
15501 ($(objpfx)cross-rpcgen): Likewise.
15502 (rpcgen-cmd): Define to use $(built-program-file). Expand
15503 comment.
15504 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15505 ($(objpfx)x%.stmp): Likewise.
15506 * sunrpc/proto.h [IS_IN_build] (_): Define.
15507 [IS_IN_build] (_libc_intl_domainname): Likewise.
15508
c8c59454
L
155092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15510
15511 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15512 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15513 and R_X86_64_TPOFF64.
15514
6f27cd16
JM
155152012-05-10 Joseph Myers <joseph@codesourcery.com>
15516
15517 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15518 sysdeps/unix/sysv/syscalls.list.
15519 (stime): Likewise.
15520 (utime): Likewise.
15521 * sysdeps/unix/sysv/syscalls.list: Remove file.
15522
02467e1c
PE
155232012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15524
15525 [BZ #3440]
15526 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15527 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15528 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15529 (__LC_IDENTIFICATION): Make these macros useful in #if
15530 expressions, as required by C99.
15531
da392631
AS
155322012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15533
15534 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15535 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15536 after this.
15537
8115f29b
L
155382012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15539
15540 * stdlib/longlong.h: Updated from GCC.
15541
bdd74070
AJ
155422012-05-09 Andreas Jaeger <aj@suse.de>
15543
edfe0dbe
AJ
15544 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15545 default is first entry.
15546 (run_mode): Set type.
15547 (main): Remove informal message about syslog.
15548 (options): Fix typo.
15549
bcfe3a54
ST
15550 [BZ #14053]
15551 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15552 to asm.
bcfe3a54
ST
15553 (lrint): Likewise.
15554 (llrintf): Likewise.
15555 (llrint): Likewise.
15556 (rint): Likewise.
15557 (rintf): Likewise.
15558 (nearbyint): Likewise.
15559 (nearbyintf): Likewise.
bdd74070 15560
91d8d69e
AJ
155612012-05-09 Andreas Jaeger <aj@suse.de>
15562 Pedro Alves <palves@redhat.com>
15563
15564 * nscd/nscd.c (run_mode): Use enum.
15565 (main): Cleanup coding style issue.
15566
bb90b80b
AJ
155672012-05-09 Alexandre Oliva <aoliva@redhat.com>
15568 Andreas Jaeger <aj@suse.de>
15569
bcfe3a54
ST
15570 * nscd/nscd.c (go_background): Replaced with...
15571 (run_mode): ... this.
bb90b80b 15572 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15573 (options): Add -F --foreground.
15574 (main): Implement it.
15575 (parse_opt): Parse it.
bb90b80b 15576
1a4b75a1
AJ
155772012-05-09 Andreas Jaeger <aj@suse.de>
15578
15579 [BZ #14083]
15580 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15581 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15582 -Wconversion warning.
15583 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15584 Likewise.
15585
b1cc2472
JM
155862012-05-09 Joseph Myers <joseph@codesourcery.com>
15587
15588 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15589 == 0.
15590 (LC_ALL): Use macro-int-constant.
15591 (LC_COLLATE): Likewise.
15592 (LC_CTYPE): Likewise.
15593 (LC_MESSAGES): Likewise.
15594 (LC_MONETARY): Likewise.
15595 (LC_NUMERIC): Likewise.
15596 (LC_TIME): Likewise.
15597 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15598 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15599 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15600 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15601 Specify type.
15602 [C99-based standards] (float_t): Expect type.
15603 [C99-based standards] (double_t): Expect type.
15604 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15605 type.
15606 [C99-based standards] (HUGE_VALL): Likewise.
15607 [C99-based standards] (INFINITY): Likewise.
15608 [C99-based standards] (NAN): Likewise.
15609 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15610 [C99-based standards] (FP_NAN): Likewise.
15611 [C99-based standards] (FP_NORMAL): Likewise.
15612 [C99-based standards] (FP_SUBNORMAL): Likewise.
15613 [C99-based standards] (FP_ZERO): Likewise.
15614 [C99-based standards] (FP_FAST_FMA): Use
15615 optional-macro-int-constant. Specify type. Require == 1.
15616 [C99-based standards] (FP_FAST_FMAF): Likewise.
15617 [C99-based standards] (FP_FAST_FMAL): Likewise.
15618 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15619 [C99-based standards] (FP_ILOGBNAN): Likewise.
15620 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15621 Specify type.
15622 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15623 [C99-based standards] (math_errhandling): Specify type.
15624 [ISO99 || ISO11] (signgam): Do not allow.
15625 [non-C99-based standards] (copysignf): Do not allow.
15626 [non-C99-based standards] (exp2f): Likewise.
15627 [non-C99-based standards] (log2f): Likewise.
15628 [non-C99-based standards] (modff): Allow.
15629 [non-C99-based standards] (erff): Do not allow.
15630 [non-C99-based standards] (erfcf): Likewise.
15631 [non-C99-based standards] (gammaf): Likewise.
15632 [non-C99-based standards] (hypotf): Likewise.
15633 [non-C99-based standards] (j0f): Likewise.
15634 [non-C99-based standards] (j1f): Likewise.
15635 [non-C99-based standards] (jnf): Likewise.
15636 [non-C99-based standards] (lgammaf): Likewise.
15637 [non-C99-based standards] (tgammaf): Likewise.
15638 [non-C99-based standards] (y0f): Likewise.
15639 [non-C99-based standards] (y1f): Likewise.
15640 [non-C99-based standards] (ynf): Likewise.
15641 [non-C99-based standards] (isnanf): Likewise.
15642 [non-C99-based standards] (acoshf): Likewise.
15643 [non-C99-based standards] (asinhf): Likewise.
15644 [non-C99-based standards] (atanhf): Likewise.
15645 [non-C99-based standards] (cbrtf): Likewise.
15646 [non-C99-based standards] (expm1f): Likewise.
15647 [non-C99-based standards] (ilogbf): Likewise.
15648 [non-C99-based standards] (log1pf): Likewise.
15649 [non-C99-based standards] (logbf): Likewise.
15650 [non-C99-based standards] (nextafterf): Likewise.
15651 [non-C99-based standards] (remainderf): Likewise.
15652 [non-C99-based standards] (rintf): Likewise.
15653 [non-C99-based standards] (scalbf): Likewise.
15654 [non-C99-based standards] (copysignl): Likewise.
15655 [non-C99-based standards] (exp2l): Likewise.
15656 [non-C99-based standards] (log2l): Likewise.
15657 [non-C99-based standards] (modfl): Allow.
15658 [non-C99-based standards] (erfl): Do not allow.
15659 [non-C99-based standards] (erfcl): Likewise.
15660 [non-C99-based standards] (gammal): Likewise.
15661 [non-C99-based standards] (hypotl): Likewise.
15662 [non-C99-based standards] (j0l): Likewise.
15663 [non-C99-based standards] (j1l): Likewise.
15664 [non-C99-based standards] (jnl): Likewise.
15665 [non-C99-based standards] (lgammal): Likewise.
15666 [non-C99-based standards] (tgammal): Likewise.
15667 [non-C99-based standards] (y0l): Likewise.
15668 [non-C99-based standards] (y1l): Likewise.
15669 [non-C99-based standards] (ynl): Likewise.
15670 [non-C99-based standards] (isnanl): Likewise.
15671 [non-C99-based standards] (acoshl): Likewise.
15672 [non-C99-based standards] (asinhl): Likewise.
15673 [non-C99-based standards] (atanhl): Likewise.
15674 [non-C99-based standards] (cbrtl): Likewise.
15675 [non-C99-based standards] (expm1l): Likewise.
15676 [non-C99-based standards] (ilogbl): Likewise.
15677 [non-C99-based standards] (log1pl): Likewise.
15678 [non-C99-based standards] (logbl): Likewise.
15679 [non-C99-based standards] (nextafterl): Likewise.
15680 [non-C99-based standards] (remainderl): Likewise.
15681 [non-C99-based standards] (rintl): Likewise.
15682 [non-C99-based standards] (scalbl): Likewise.
15683 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15684 [non-C99-based standards] (FP_*): Do not allow.
15685 [C99-based standards] (FP_*): Change to
15686 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15687 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15688 allow.
15689 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15690 (SIG_ERR): Likewise.
15691 [X/Open-based standards] (SIG_HOLD): Likewise.
15692 (SIG_IGN): Likewise.
15693 (SIGABRT): Use macro-int-constant. Specify type. Require
15694 positive value.
15695 (SIGFPE): Likewise.
15696 (SIGILL): Likewise.
15697 (SIGINT): Likewise.
15698 (SIGSEGV): Likewise.
15699 (SIGTER): Likewise.
15700 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15701 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15702 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15703 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15704 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15705 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15706 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15707 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15708 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15709 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15710 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15711 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15712 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15713 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15714 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15715 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15716 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15717 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15718 [X/Open-based standards] (SIGTRAP): Likewise.
15719 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15720 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15721 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15722 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15723 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15724 allow.
15725
b9f1922d
IW
157262012-05-08 Ian Wienand <ianw@vmware.com>
15727
15728 [BZ #14080]
15729 * time/tzset.c (__tzset_parse_tz): Update default rules for
15730 daylight time changes in the Energy Policy Act of 2005.
15731
1db86e88
AJ
157322012-05-09 Andreas Jaeger <aj@suse.de>
15733
15734 [BZ #13983]
15735 * elf/ldconfig.c (parse_conf): Change string to make clear that
15736 ldconfig only issued a warning if ld.so.conf does not exist.
15737
dee4a4e3
DM
157382012-05-08 David S. Miller <davem@davemloft.net>
15739
ee0db190
DM
15740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15741 movxtod instead of popping the value on the stack.
15742
dee4a4e3
DM
15743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15744
6a43ec98
CD
157452012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15746
15747 * config.h.in: Add HAVE_ARM_PCS_VFP.
15748
05c2c961
RMG
157492012-05-08 Roland Mc Grath <roland@hack.frob.com>
15750
bcfe3a54
ST
15751 [BZ #13979]
15752 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15753 checking but the checks are disabled for any reason.
05c2c961 15754
4b30f61a
L
157552012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15756
15757 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15758 and ELF64_R_TYPE with ELFW(R_TYPE).
15759
eee2bc67
JM
157602012-05-08 Joseph Myers <joseph@codesourcery.com>
15761
7ea5391a
JM
15762 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15763 (ulimit): Likewise.
15764
eee2bc67
JM
15765 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15766 (settimeofday): Likewise.
15767
abb66a67
MF
157682012-05-08 Mike Frysinger <vapier@gentoo.org>
15769
15770 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15771 a struct th_u2 inside the union, and move tu_block/tu_code into
15772 a new th_u3 union of tu_block/tu_code inside of that. Move
15773 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15774 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15775 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15776 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15777 (th_stuff): Change to th_u1.tu_stuff.
15778 (th_data): Define.
15779 (th_msg): Change to th_u1.th_u2.tu_data.
15780
7f18b530
DM
157812012-05-07 David S. Miller <davem@davemloft.net>
15782
05760585
DM
15783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15784
7f18b530
DM
15785 [BZ #14074]
15786 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15787 (SETUP_PIC_REG): Use it.
15788 (SETUP_PIC_REG_LEAF): Use it.
15789
495fd99f
JM
157902012-05-07 Joseph Myers <joseph@codesourcery.com>
15791
15792 [BZ #13885]
15793 [BZ #13923]
15794 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15795 USE_AS_EXPM1L.
15796 (EXPL_FINITE): Likewise.
15797 (FLDLOG): Likewise.
15798 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15799 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15800 e_expl.S.
15801 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15802 USE_AS_EXPM1L.
15803 (EXPL_FINITE): Likewise.
15804 (FLDLOG): Likewise.
15805 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15806 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15807 e_expl.S.
15808 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15809 test of -max_value argument for long double.
15810 * sysdeps/i386/fpu/libm-test-ulps: Update.
15811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15812
6693d694
DM
158132012-05-06 David S. Miller <davem@davemloft.net>
15814
15815 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15816 quad soft-float symbols whose references which are compiler
15817 generated.
15818 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15819
6c23e11c
JM
158202012-05-06 Joseph Myers <joseph@codesourcery.com>
15821
d8b82cad
JM
15822 [BZ #13884]
15823 [BZ #13914]
15824 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15825 USE_AS_EXP10L.
15826 (EXPL_FINITE): Likewise.
15827 (FLDLOG): Likewise.
15828 (c0): Likewise.
15829 (c1): Likewise.
15830 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15831 Adjust comments for base varying.
15832 (__expl_finite): Change alias to EXPL_FINITE.
15833 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15834 e_expl.S.
15835 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15836 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15837 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15838 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15839 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15840 USE_AS_EXP10L.
15841 (EXPL_FINITE): Likewise.
15842 (FLDLOG): Likewise.
15843 (c0): Likewise.
15844 (c1): Likewise.
15845 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15846 Adjust comments for base varying.
15847 (__expl_finite): Change alias to EXPL_FINITE.
15848 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15849 tests for bugs.
15850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15851
6c23e11c
JM
15852 [BZ #14064]
15853 * math/libm-test.inc (check_float_internal): Correct ulp
15854 calculation for subnormal expected results.
15855
29ba805c
AJ
158562012-05-06 Andreas Jaeger <aj@suse.de>
15857
15858 * Makeconfig (+math-flags): New, set to -frounding-math.
15859 (+cflags): Add +math-flags so that all of glibc gets compiled with
15860 it.
15861
15862 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15863
7b17aeda
JM
158642012-05-05 Joseph Myers <joseph@codesourcery.com>
15865
5779f134
JM
15866 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15867 Disable one test.
15868
41498f4d
JM
15869 [BZ #13787]
15870 [BZ #13922]
15871 [BZ #14036]
15872 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15873 (__ieee754_expl): Allow for and saturate large arguments.
15874 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15875 (u_threshold): Likewise.
15876 (__exp): Call __ieee754_exp before checking for overflow and
15877 underflow.
15878 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15879 (u_threshold): Likewise.
15880 (__expf): Call __ieee754_expf before checking for overflow and
15881 underflow.
15882 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15883 (u_threshold): Likewise.
15884 (__expl): Call __ieee754_expl before checking for overflow and
15885 underflow.
15886 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15887 (__ieee754_expl): Allow for and saturate large arguments.
15888 * math/libm-test.inc (exp_test): Add another test. Do not allow
15889 missing overflow exception on overflow.
15890 (expm1_test): Do not allow missing overflow exception on overflow.
15891
6698b8bf
JM
15892 * sysdeps/i386/fpu/e_expl.c: Move to ...
15893 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15894 rather than using inline asm.
15895 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15896 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15897 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15898
7b17aeda
JM
15899 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15900 (nice): Likewise.
15901 (poll): Likewise.
15902 (signal): Likewise.
15903 (time): Likewise.
15904 (times): Likewise.
15905
f7c85819
JM
159062012-05-04 Joseph Myers <joseph@codesourcery.com>
15907
15908 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15909 sysdeps/unix/common/syscalls.list.
15910 (fchmod): Likewise.
15911 (fchown): Likewise.
15912 (ftruncate): Likewise.
15913 (getrusage): Likewise.
15914 (gettimeofday): Likewise.
15915 (setpgid): Likewise.
15916 (setregid): Likewise.
15917 (setreuid): Likewise.
15918 (sigaction): Likewise.
15919 (truncate): Likewise.
15920 (vhangup): Likewise.
15921 * sysdeps/unix/common/syscalls.list: Remove file.
15922 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15923 * sysdeps/unix/sysv/linux/Implies: Likewise.
15924
336270d0
L
159252012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15926
15927 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15929 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15930 Moved to ...
15931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15932 Here.
15933 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
15934 to ...
15935 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
15936 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
15937 to ...
15938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
15939 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
15940 to ...
15941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
15942 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
15943 to ...
15944 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
15945 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
15946 to ...
15947 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
15948 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
15949 to ...
15950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
15951 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
15952 to ...
15953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15954 Here.
15955 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
15956 to ...
15957 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
15958 Here.
15959 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
15960 to ...
15961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
15962 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
15963 Moved to ...
15964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
15965 Here.
15966 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
15967 to ...
15968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
15969
d128e450
JM
159702012-05-04 Joseph Myers <joseph@codesourcery.com>
15971
fa8ee516
JM
15972 * sysdeps/unix/common/bits/dirent.h: Remove file.
15973 * sysdeps/unix/common/bits/fcntl.h: Likewise.
15974
d128e450
JM
15975 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
15976 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
15977 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
15978 * sysdeps/unix/bsd/isatty.c: Likewise.
15979 * sysdeps/unix/bsd/tcdrain.c: Likewise.
15980 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
15981 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
15982
ff8faaf0 159832012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 15984
62881be4 15985 [BZ #13563]
31dc8730
AZ
15986 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
15987 long double comparison inaccuracies.
15988 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
15989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15990
6fef930c
AS
159912012-05-04 Andreas Schwab <schwab@linux-m68k.org>
15992
15993 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
15994 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
15995
8f203e6c
JM
159962012-05-04 Joseph Myers <joseph@codesourcery.com>
15997
15998 [BZ #14049]
15999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16000 nonzero digits before rounding a hex value.
16001 * stdlib/tst-strtod.c (tests): Add another test.
16002
5197d9c2
AK
160032012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16004
16005 * sysdeps/s390/fpu/libm-test-ulps: Update.
16006
f0c1dedf
AJ
160072012-05-03 Andreas Jaeger <aj@suse.de>
16008
16009 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16010 does not get optimized out.
16011 (malloc_opt_barrier): New.
16012
a65ef2ae 160132012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16014 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16015
2b942cb7 16016 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16017 intermediate file deletion.
2b942cb7 16018 (generated): Add .symlist files.
a65ef2ae 16019
54b71e02
JM
160202012-05-03 Joseph Myers <joseph@codesourcery.com>
16021
16022 [BZ #13775]
16023 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16024 Redirect under this condition.
16025 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16026 [__USE_GNU] (__dprintf_chk): Not under this condition.
16027 [__USE_GNU] (__vdprintf_chk): Likewise.
16028 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16029 under this condition.
16030 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16031 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16032 [__USE_XOPEN2K8] (vdprintf): Likewise.
16033 [__USE_GNU] (__dprintf_chk): Not under this condition.
16034 [__USE_GNU] (__vdprintf_chk): Likewise.
16035 [__USE_GNU] (dprintf): Likewise.
16036 [__USE_GNU] (vdprintf): Likewise.
16037
d3dfcc41
RM
160382012-05-03 Roland McGrath <roland@hack.frob.com>
16039
16040 * elf/Makefile (common-generated): Set this instead of generated for
16041 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16042 $(all-built-dso)-derived lists.
16043
7ac30cc5
AJ
160442012-05-03 Andreas Jaeger <aj@suse.de>
16045
0c51e550
AJ
16046 * sysdeps/i386/fpu/libm-test-ulps: Update.
16047
7ac30cc5
AJ
16048 * FAQ: Removed.
16049 * FAQ.in: Likewise.
16050 * scripts/gen-FAQ.pl: Likewise.
16051 * manual/install.texi (Installation): Point to online location of
16052 FAQ.
16053 * Makefile (files-for-dist): Remove FAQ.
16054 (FAQ): Remove.
16055
d4c2917f
AM
160562012-05-02 Allan McRae <allan@archlinux.org>
16057
16058 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16059 (LDFLAGS-reldepmod5.so): Likewise.
16060 (LDFLAGS-reldep6mod1.so): Likewise.
16061 (LDFLAGS-reldep6mod4.so): Likewise.
16062 (LDFLAGS-reldep8mod3.so): Likewise.
16063 (LDFLAGS-unload4mod1.so): Likewise.
16064 (LDFLAGS-unload4mod2.so): Likewise.
16065 (LDFLAGS-tst-initorder): Likewise.
16066 (LDFLAGS-tst-initordera2.so): Likewise.
16067 (LDFLAGS-tst-initordera3.so): Likewise.
16068 (LDFLAGS-tst-initordera4.so): Likewise.
16069 (LDFLAGS-tst-initorderb2.so): Likewise.
16070 (LDFLAGS-noload): Likewise.
16071 (LDFLAGS-next): Likewise.
16072 (LDFLAGS-order2mod1.so): Likewise.
16073 (LDFLAGS-order2mod2.so): Likewise.
16074 (LDFLAGS-tst-initorder2): Likewise.
16075 (LDFLAGS-tst-initorder2a.so): Likewise.
16076 (LDFLAGS-tst-initorder2b.so): Likewise.
16077 (LDFLAGS-tst-initorder2c.so): Likewise.
16078 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16079
d77f993f
DM
160802012-05-02 David S. Miller <davem@davemloft.net>
16081
16082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16083
171a70b4
PP
160842012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16085
16086 [BZ #14055]
16087 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16088
0be196ad
AJ
160892012-05-02 Andreas Jaeger <aj@suse.de>
16090
16091 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16092 since we manipulate rounding mode.
16093 (CPPFLAGS-test-idouble.c): Likewise.
16094 (CPPFLAGS-test-ifloat.c): Likewise.
16095 (CFLAGS-test-ldouble.c): Likewise.
16096 (CFLAGS-test-double.c): Likewise.
16097 (CFLAGS-test-float.c): Likewise.
16098 (CFLAGS-test-misc.c): Likewise.
16099 (CFLAGS-test-test-fenv.c): Likewise.
16100
4f9d04aa
AZ
161012012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16102
2b942cb7
RM
16103 [BZ #2550]
16104 [BZ #2570]
16105 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16106 comparisons to determine direction to adjust input.
4f9d04aa 16107
82a79e7d
RM
161082012-05-01 Roland McGrath <roland@hack.frob.com>
16109
f5a01ca9
RM
16110 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16111 output to the target.
16112
90fe4186
RM
16113 * scripts/localplt.awk: New file.
16114 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16115 (check-localplt-CFLAGS): Variable removed.
16116 ($(all-built-dso:=.jmprel)): New static pattern rule.
16117 (generated): Add those targets.
16118 (localplt-built-dso): New variable.
16119 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16120
16121 * elf/check-localplt.c: File removed.
16122
82397ed6
RM
16123 * scripts/check-execstack.awk: New file.
16124 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16125 (check-execstack-CFLAGS): Variable removed.
16126 ($(objpfx)check-execstack.h): Target removed.
16127 ($(objpfx)execstack-default): New target.
16128 (generated): Add that instead of check-execstack.h.
16129 ($(all-built-dso:=.phdr)): New static pattern rule.
16130 (generated): Add those targets.
16131 * elf/check-execstack.c: File removed.
16132
82a79e7d
RM
16133 * scripts/check-textrel.awk: New file.
16134 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16135 (check-textrel-CFLAGS): Variable removed.
16136 (all-built-dso): Use := to define.o
16137 ($(all-built-dso:=.dyn)): New static pattern rule.
16138 (generated): Add those targets.
16139 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16140 * config.make.in (READELF): New substituted variable.
16141 * elf/check-textrel.c: File removed.
16142
62fde54f 161432012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16144
615605c9
JM
16145 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16146 allow.
16147 * conform/data/ctype.h-data [C99-based standards] (isblank):
16148 Expect function.
16149 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16150 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16151 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16152 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16153 Specify type. Require positive value.
16154 (EILSEQ): Likewise.
16155 (ERANGE): Likewise.
16156 [ISO || POSIX] (EILSEQ): Do not expect.
16157 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16158 Specify type. Require positive value.
16159 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16160 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16161 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16162 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16163 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16164 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16165 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16166 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16167 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16168 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16169 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16170 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16171 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16172 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16173 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16174 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16175 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16176 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16177 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16178 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16179 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16180 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16181 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16182 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16183 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16184 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16185 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16186 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16187 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16188 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16189 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16190 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16191 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16192 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16193 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16194 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16195 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16196 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16197 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16198 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16199 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16200 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16201 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16202 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16203 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16204 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16205 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16206 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16207 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16208 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16209 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16210 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16211 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16212 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16213 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16214 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16215 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16216 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16217 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16218 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16219 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16220 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16221 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16222 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16223 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16224 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16225 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16226 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16227 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16228 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16229 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16230 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16231 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16232 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16233 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16234 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16235 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16236 Require >= 2.
16237 (FLT_ROUNDS): Expect as macro, not constant.
16238 (FLT_MANT_DIG): Use macro-int-constant.
16239 (DBL_MANT_DIG): Likewise.
16240 (LDBL_MANT_DIG): Likewise.
16241 (FLT_DIG): Likewise.
16242 (DBL_DIG): Likewise.
16243 (LDBL_DIG): Likewise.
16244 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16245 (DBL_MIN_EXP): Likewise.
16246 (LDBL_MIN_EXP): Likewise.
16247 (FLT_MAX_EXP): Use macro-int-constant.
16248 (DBL_MAX_EXP): Likewise.
16249 (LDBL_MAX_EXP): Likewise.
16250 (FLT_MAX_10_EXP): Likewise.
16251 (DBL_MAX_10_EXP): Likewise.
16252 (LDBL_MAX_10_EXP): Likewise.
16253 (FLT_MAX): Use macro-constant.
16254 (DBL_MAX): Likewise.
16255 (LDBL_MAX): Likewise.
16256 (FLT_EPSILON): Use macro-constant. Give upper bound.
16257 (DBL_EPSILON): Likewise.
16258 (LDBL_EPSILON): Likewise.
16259 (FLT_MIN): Likewise.
16260 (DBL_MIN): Likewise.
16261 (LDBL_MIN): Likewise.
16262 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16263 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16264 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16265 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16266 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16267 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16268 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16269 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16270 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16271 [ISO11] (FLT_TRUE_MIN): Likewise.
16272 [ISO11] (LDBL_TRUE_MIN): Likewise.
16273 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16274 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16275 (SCHAR_MIN): Use macro-int-constant. Specify type.
16276 (SCHAR_MAX): Likewise.
16277 (UCHAR_MAX): Likewise.
16278 (CHAR_MIN): Likewise.
16279 (CHAR_MAX): Likewise.
16280 (MB_LEN_MAX): Use macro-int-constant.
16281 (SHRT_MIN): Use macro-int-constant. Specify type.
16282 (SHRT_MAX): Likewise.
16283 (USHRT_MAX): Likewise.
16284 (INT_MAX): Likewise.
16285 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16286 bound negative.
16287 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16288 bound with "U".
16289 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16290 bound with "L".
16291 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16292 bound negative. Suffix upper bound with "L".
16293 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16294 bound with "UL".
16295 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16296 Specify type.
16297 [C99-based standards] (LLONG_MAX): Likewise.
16298 [C99-based standards] (ULLONG_MAX): Likewise.
16299 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16300 == 0.
16301 [ISO11] (max_align_t): Require type.
16302 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16303
c9140a62
JM
16304 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16305 from $CFLAGS, without defining away __attribute__ calls.
16306 (checknamespace): Use $CFLAGS_namespace.
16307
9af0bf29
JM
16308 * conform/conformtest.pl (@keywords): Only include C99 keywords
16309 for standards based on C99 or C11.
16310
343222a2
JM
16311 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16312 Disable tests.
16313 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16314 UNIX98]: Likewise.
16315
661f8cf0
JM
16316 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16317 usability of symbols in #if.
16318
ee74b9cb
JM
16319 * conform/conformtest.pl: If macro or constant types start
16320 "promoted:", expect the symbol to be of the following type
16321 promoted by the integer promotions.
62fde54f 16322
aafc49b3
JM
16323 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16324 in one place. Also handle "macro-constant".
16325
fefdf574
JM
16326 * conform/conformtest.pl: Only accept expected macro values with
16327 "==". Parse all "macro" lines in one place.
16328 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16329
f2d922fe
JM
16330 * conform/conformtest.pl: Handle braced types on "constant" lines
16331 instead of handling "typed-constant".
16332 * conform/data/signal.h-data: Use "constant" instead of
16333 "typed-constant".
16334
d22956c9
JM
16335 * conform/conformtest.pl: Handle "optional-" at start of lines in
16336 one place rather than duplicating several cases. Handle each
16337 format of "macro" line with initial "optional-".
16338
028e2e38
JM
16339 * conform/conformtest.pl: Only accept expected constant or
16340 optional-constant values with "==". Parse all "constant" lines in
16341 one place. Parse all "optional-constant" lines in one place.
16342 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16343 * conform/data/fmtmsg.h-data: Likewise.
16344 * conform/data/netinet/in.h-data: Likewise.
16345 * conform/data/tar.h-data: Likewise.
16346 * conform/data/limits.h-data: Use "==" form on "constant" and
16347 "optional-constant" lines.
16348
1b8f2850
JM
16349 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16350 Use -std=c99 for XOPEN2K.
16351 (@knownproblems): Remove.
16352 (newtoken): Don't check %isknown.
16353
a05a144b
JM
16354 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16355 Do not expect macro.
16356 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16357 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16358 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16359 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16360 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16361 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16362 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16363 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16364 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16365 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16366 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16367 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16368 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16369 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16370 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16371 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16372 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16373 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16374 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16375 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16376 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16377 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16378 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16379 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16380 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16381 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16382 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16383 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16384 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16385 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16386 [XPG3] (acosh): Likewise.
16387 [XPG3] (asinh): Likewise.
16388 [XPG3] (atanh): Likewise.
16389 [XPG3] (cbrt): Likewise.
16390 [XPG3] (expm1): Likewise.
16391 [XPG3] (ilogb): Likewise.
16392 [XPG3] (log1p): Likewise.
16393 [XPG3] (logb): Likewise.
16394 [XPG3] (nextafter): Likewise.
16395 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16396 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16397 [XPG3] (remainder): Likewise.
16398 [XPG3] (rint): Likewise.
16399 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16400 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16401 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16402 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16403 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16404 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16405 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16406 [UNIX98 || XOPEN2K] (scalb): Expect.
16407 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16408 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16409 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16410 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16411 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16412 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16413 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16414 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16415 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16416 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16417 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16418 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16419 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16420 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16421 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16422 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16423 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16424 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16425 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16426 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16427 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16428 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16429 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16430 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16431 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16432 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16433 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16434 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16435 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16436 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16437 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16438 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16439 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16440 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16441 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16442 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16443 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16444 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16445 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16446 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16447 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16448 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16449 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16450 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16451 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16452 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16453 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16454 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16455 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16456 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16458 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16459 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16460 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16461 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16463 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16464 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16467 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16468 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16469 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16470 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16471 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16472 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16473 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16474 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16475 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16476 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16478 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16479 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16480 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16481 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16482 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16483 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16484 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16485 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16486 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16489 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16490 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16498 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16499 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16500 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16544
73c5ebe3
JM
16545 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16546 _XOPEN_SOURCE_EXTENDED for XPG4.
16547
39c33b6c
JM
16548 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16549
62fde54f
JM
16550 * Makeconfig (localtime): Remove variable.
16551 (inst_localtime-file): Likewise.
16552
0741d64c
AS
165532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16554
16555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16556 Update.
16557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16558 Update.
16559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16560 Update.
16561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16562 Update.
16563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16564 Update.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16566 Update.
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16568 Update.
16569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16570 Update.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16572 Update.
16573
7cb029ee
JM
165742012-05-01 Joseph Myers <joseph@codesourcery.com>
16575
16576 [BZ #2550]
16577 [BZ #2570]
16578 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16579 comparisons to determine direction to adjust input.
16580 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16581 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16582 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16583 Likewise.
16584 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16585 Likewise.
16586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16587 Likewise.
16588 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16589 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16590 Likewise.
16591 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16592 Likewise.
16593 * math/libm-test.inc (nexttoward_test): Add more tests.
16594
412bd966
AS
165952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16596
16597 [BZ #14040]
16598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16599 in version GLIBC_2.1, not GLIBC_2.0.
16600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16601 Likewise.
16602
9568c0c2
JM
166032012-04-30 Joseph Myers <joseph@codesourcery.com>
16604
adfbc8ac
JM
16605 [BZ #13942]
16606 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16607 (1 - x) * (1 + x).
16608 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16609 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16610 * math/libm-test.inc (acos_test): Add more tests.
16611 (asin_test): Likewise.
16612 * sysdeps/i386/fpu/libm-test-ulps: Update.
16613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16614
5ba3cc69
JM
16615 [BZ #14034]
16616 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16617 of square root.
16618 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16619 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16620 * math/libm-test.inc (acos_test_tonearest): New function.
16621 (acos_test_towardzero): Likewise.
16622 (acos_test_downward): Likewise.
16623 (acos_test_upward): Likewise.
16624 (asin_test_tonearest): Likewise.
16625 (asin_test_towardzero): Likewise.
16626 (asin_test_downward): Likewise.
16627 (asin_test_upward): Likewise.
16628 (main): Call the new functions.
16629 * sysdeps/i386/fpu/libm-test-ulps: Update.
16630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16631
9568c0c2
JM
16632 [BZ #13884]
16633 [BZ #13924]
16634 * math/e_exp10.c: Include <float.h>.
16635 (__ieee754_exp10): Handle underflow here rather than multiplying
16636 large negative argument by M_LN10.
16637 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16638 of __ieee754_expf.
16639 * math/e_exp10l.c: Include <float.h>.
16640 (__ieee754_exp10l): Handle underflow here rather than multiplying
16641 large negative argument by M_LN10l.
16642 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16643 spurious overflow exception on underflow.
16644
5ac3ea17
MP
166452012-04-29 Marek Polacek <polacek@redhat.com>
16646
16647 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16648 (__fortify_function): New macro.
16649 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16650 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16651 __extern_always_inline.
16652 * libio/bits/stdio2.h: Likewise.
16653 * libio/bits/stdio.h: Likewise.
16654 * string/string.h: Likewise.
16655 * string/bits/string3.h: Likewise.
16656 * include/stdio.h: Likewise.
16657 * stdlib/bits/stdlib.h: Likewise.
16658 * stdlib/stdlib.h: Likewise.
16659 * rt/bits/mqueue2.h: Likewise.
16660 * rt/mqueue.h: Likewise.
16661 * posix/bits/unistd.h: Likewise.
16662 * posix/unistd.h: Likewise.
16663 * io/bits/poll2.h: Likewise.
16664 * io/bits/fcntl2.h: Likewise.
16665 * io/fcntl.h: Likewise.
16666 * io/sys/poll.h: Likewise.
16667 * misc/bits/syslog.h: Likewise.
16668 * misc/bits/syslog-ldbl.h: Likewise.
16669 * misc/sys/syslog.h: Likewise.
16670 * socket/bits/socket2.h: Likewise.
16671 * socket/sys/socket.h: Likewise.
16672 * debug/tst-chk1.c: Likewise.
16673 * wcsmbs/bits/wchar2.h: Likewise.
16674 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16675 * wcsmbs/wchar.h: Likewise.
16676
ecf0ebfb
AJ
166772012-04-29 Andreas Jaeger <aj@suse.de>
16678
16679 * Makerules (tests): Remove enable-check-abi protection.
16680 (check-abi-warn): Remove.
16681 (check-abi-%): Remove check-abi-warn usage.
16682
16683 * configure.in: Remove check-abi configure option.
16684 * configure: Regenerated.
16685 * config.make.in (enable-check-abi): Remove.
16686
6d5c57fa
AS
166872012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16688
24c5d07e 16689 [BZ #14033]
ded5180a
AS
16690 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16691 double functions to double *_finite functions.
16692
7e0d315d
AS
16693 [BZ #13941]
16694 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16695 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16696 LDBL_MIN_EXP.
16697 * stdio-common/Makefile (tests): Add tst-sprintf3.
16698 * stdio-common/tst-sprintf3.c: New file.
16699
6d5c57fa
AS
16700 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16701 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16702
0749ff8b
JM
167032012-04-28 Joseph Myers <joseph@codesourcery.com>
16704
16705 * conform/conformtest.pl: Remove duplicate typed-constant
16706 handling.
16707
8dbd5d7b
DM
167082012-04-28 David S. Miller <davem@davemloft.net>
16709
16710 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16711 (check-abi-%): Remove AWK script prerequisite and explicit
16712 abilist directory.
16713 (check-abi): Rewrite to just diff the symlist with the abilist.
16714 (config-tls, config-abi-config): Delete, no longer used.
16715 (update-abi-%): Remove AWK script and explicit abilist directory.
16716 (update-abi): Rewrite to simply compare and conditionally copy the
16717 symlist and the sysdep abilist file. Remove update-abi-config
16718 checks.
16719 * abilist/ld.abilist: Remove.
16720 * abilist/libBrokenLocale.abilist: Remove.
16721 * abilist/libanl.abilist: Remove.
16722 * abilist/libcrypt.abilist: Remove.
16723 * abilist/libdl.abilist: Remove.
16724 * abilist/librt.abilist: Remove.
16725 * abilist/libthread_db.abilist: Remove.
16726 * abilist/libutil.abilist: Remove.
16727 * scripts/extract-abilist.awk: Remove.
16728 * scripts/merge-abilist.awk: Remove.
16729 * sysdeps/generic/libcidn.abilist: New file.
16730 * sysdeps/generic/libnss_compat.abilist: New file.
16731 * sysdeps/generic/libnss_db.abilist: New file.
16732 * sysdeps/generic/libnss_dns.abilist: New file.
16733 * sysdeps/generic/libnss_files.abilist: New file.
16734 * sysdeps/generic/libnss_hesiod.abilist: New file.
16735 * sysdeps/generic/libnss_nis.abilist: New file.
16736 * sysdeps/generic/libnss_nisplus.abilist: New file.
16737 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16738 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16739 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16740 file.
16741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16742 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16743 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16744 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16745 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16746 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16747 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16748 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16749 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16750 file.
16751 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16752 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16753 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16754 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16755 file.
16756 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16757 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16758 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16759 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16760 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16761 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16762 file.
16763 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16764 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16765 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16766 file.
16767 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16768 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16769 New file.
16770 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16771 New file.
16772 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16773 New file.
16774 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16775 New file.
16776 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16777 New file.
16778 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16779 New file.
16780 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16781 New file.
16782 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16783 New file.
16784 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16785 New file.
16786 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16787 New file.
16788 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16789 New file.
16790 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16791 New file.
16792 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16793 New file.
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16795 file.
16796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16797 New file.
16798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16799 New file.
16800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16801 file.
16802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16803 New file.
16804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16805 New file.
16806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16807 file.
16808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16809 New file.
16810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16811 New file.
16812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16813 New file.
16814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16815 New file.
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16817 New file.
16818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16819 New file.
16820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16822 file.
16823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16824 New file.
16825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16826 file.
16827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16828 file.
16829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16830 file.
16831 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16832 file.
16833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16834 file.
16835 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16836 New file.
16837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16838 file.
16839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16840 file.
16841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16842 New file.
16843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16844 file.
16845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16847 file.
16848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16849 New file.
16850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16851 file.
16852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16853 file.
16854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16855 file.
16856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16857 file.
16858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16859 file.
16860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16861 New file.
16862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16863 file.
16864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16865 file.
16866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16867 New file.
16868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16869 file.
16870 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16871 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16872 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16873 file.
16874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16875 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16876 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16877 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16878 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16879 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16880 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16881 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16882 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16883 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16886 file.
16887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16888 New file.
16889 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16890 file.
16891 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16892 file.
16893 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16894 file.
16895 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16896 file.
16897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16898 file.
16899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16900 New file.
16901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16902 New file.
16903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16904 file.
16905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16906 New file.
16907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16908 file.
16909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16911 file.
16912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16913 New file.
16914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16915 file.
16916 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16917 file.
16918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16919 file.
16920 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16921 file.
16922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16923 file.
16924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16925 New file.
16926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16927 New file.
16928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16929 file.
16930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16931 New file.
16932 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16933 file.
16934
41d73a1b
JM
169352012-04-28 Joseph Myers <joseph@codesourcery.com>
16936
16937 * conform/conformtest.pl: Fix typo in handling typed-constant from
16938 allow-header.
16939
28aeeda4
JM
169402012-04-27 Joseph Myers <joseph@codesourcery.com>
16941
adae8f5e
JM
16942 * README: Cut down references to pre-2.6 Linux kernels and
16943 Linuxthreads. Update lists of configurations in libc and ports
16944 and sort alphabetically. Say "or newer" with Linux kernel version
16945 requirements.
16946
28aeeda4
JM
16947 * config.h.in [IS_IN_build]: Allow compiling without optimization.
16948
a462cb63
RA
169492012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16950
16951 [BZ #887]
16952 * math/libm-test.inc (logb_test_downward): New test to expose
16953 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
16954 rounding mode.
16955
6ad3493e
JM
169562012-04-27 Joseph Myers <joseph@codesourcery.com>
16957
16958 [BZ #14027]
16959 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
16960 to be done.
16961 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
16962 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
16963
2ce4f015
JM
169642012-04-26 Joseph Myers <joseph@codesourcery.com>
16965
5aeb141a
JM
16966 * sysdeps/unix/i386/brk.S: Remove file.
16967 * sysdeps/unix/i386/dl-brk.S: Likewise.
16968 * sysdeps/unix/i386/pipe.S: Likewise.
16969 * sysdeps/unix/i386/sigreturn.S: Likewise.
16970 * sysdeps/unix/i386/syscall.S: Likewise.
16971 * sysdeps/unix/i386/vfork.S: Likewise.
16972 * sysdeps/unix/i386/wait.S: Likewise.
16973
7143acae
JM
16974 * sysdeps/unix/common/tcsendbrk.c: Move to ...
16975 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
16976
2ce4f015
JM
16977 * configure.in (arm*-none*): Do not allow without
16978 --enable-hacker-mode.
16979 (netbsd*): Remove case setting base_os.
16980 (386bsd*): Likewise.
16981 (freebsd*): Likewise.
16982 (bsdi*): Likewise.
16983 (osf*): Likewise.
16984 (sunos*): Likewise.
16985 (ultrix*): Likewise.
16986 (newsos*): Likewise.
16987 (dynix*): Likewise.
16988 (*bsd*): Likewise.
16989 (sysv*): Likewise.
16990 (isc*): Likewise.
16991 (esix*): Likewise.
16992 (sco*): Likewise.
16993 (minix*): Likewise.
16994 (irix4*): Likewise.
16995 (irix6*): Likewise.
16996 (solaris[2-9]*): Likewise.
16997 (none): Likewise.
16998 * configure: Regenerated.
16999
0ac229c8
AZ
170002012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17001
17002 [BZ #11521]
17003 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17004 overflow or cancellation in calculating denominator.
17005 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17006 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17007 down expression to avoid unexpected rounding in newer GCCs.
17008 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17009
33f244f4
DM
170102012-04-26 David S. Miller <davem@davemloft.net>
17011
17012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17013 long-double compat symbols.
17014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17027
cfa1f3e8
DM
170282012-04-25 David S. Miller <davem@davemloft.net>
17029
17030 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17031 HWCAP_* values only after the memory barriers have been defined.
17032 (atomic_full_barrier): Define.
17033 (atomic_read_barrier): Define.
17034 (atomic_write_barrier): Define.
17035
6e236b92
SP
170362012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17037
17038 * shlib-versions: Add libgcc_s version information.
17039 * sysdeps/generic/libgcc_s.h: Remove.
17040 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17041 libgcc_s.h.
17042 * sysdeps/gnu/unwind-resume.c: Likewise.
17043 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17044
aab39a09
DM
170452012-04-25 David S. Miller <davem@davemloft.net>
17046
17047 * sysdeps/unix/sparc/brk.S: Delete.
17048 * sysdeps/unix/sparc/dl-brk.S: Delete.
17049 * sysdeps/unix/sparc/pipe.S: Delete.
17050 * sysdeps/unix/sparc/sysdep.S: Delete.
17051 * sysdeps/unix/sparc/sysdep.h: Delete.
17052 * sysdeps/unix/sparc/vfork.S: Delete.
17053 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17054 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17055 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17056 ret_ERRVAL, r0, r1, MOVE): Define.
17057 (JUMPTARGET): Remove.
17058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17059 sysdeps/unix/sparc/sysdep.h
17060 (ENTRY, END): Remove.
17061 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17062
a3cc4f48
JM
170632012-04-25 Joseph Myers <joseph@codesourcery.com>
17064
2ed8cda2
JM
17065 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17066 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17067 -DIS_IN_build.
17068
35d76d59
JM
17069 * timezone/README: Update upstream location and email address for
17070 tzcode and tzdata.
17071 * timezone/zdump.c: Update from tzcode 2012b.
17072 * timezone/zic.c: Likewise.
17073
a3cc4f48
JM
17074 * configure.in (libc_cv_as_needed): Remove test.
17075 * configure: Regenerated.
17076 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17077 conditional definition.
17078 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17079 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17080 * config.make.in (have-as-needed): Remove variable.
17081
ceab42c3
SP
170822012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17083 Paul Pluzhnikov <ppluzhnikov@google.com>
17084
17085 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17086 strings correctly.
17087
3ce2865f
CLT
170882012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17089
17090 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17091 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17092 * sysdeps/sh/strlen.S: Likewise.
17093
f37e0d68
JM
170942012-04-24 Joseph Myers <joseph@codesourcery.com>
17095
ae186e9a
JM
17096 * sysdeps/unix/fork.S: Remove file.
17097 * sysdeps/unix/i386/fork.S: Likewise.
17098 * sysdeps/unix/sparc/fork.S: Likewise.
17099
b96914af
JM
17100 * sysdeps/unix/system.c: Remove file.
17101 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17102
f37e0d68
JM
17103 * sysdeps/unix/getegid.S: Remove file.
17104 * sysdeps/unix/geteuid.S: Likewise.
17105
87ef29ca
RM
171062012-04-24 Roland McGrath <roland@hack.frob.com>
17107
83bcd236
RM
17108 * scripts/check-localplt.awk: New file.
17109 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17110 of diff.
17111 * scripts/data/localplt-generic.data: Add a comment.
17112
87ef29ca
RM
17113 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17114 NODE when __dir_mkfile failed.
17115 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17116 Reported by Ludovic Courtès <ludo@gnu.org>.
17117
e5a6e567
AJ
171182012-04-24 Andreas Jaeger <aj@suse.de>
17119
17120 * Makerules (common-clean): Also remove gen-as-const-headers
17121 files.
17122
c1820385
JM
171232012-04-24 Joseph Myers <joseph@codesourcery.com>
17124
17125 * Makerules (native-compile): Do not change working directory for
17126 build. Use $(OUTPUT_OPTION) in command.
17127 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17128
94e02fc4
AZ
171292012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17130
17131 [BZ #13886]
17132 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17133 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17134 * math/libm-test.inc (floor_test): Add more tests.
17135 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17136
3a533ca3
JM
171372012-04-24 Joseph Myers <joseph@codesourcery.com>
17138
940ab4b3
JM
17139 * sysdeps/unix/getdents.c: Remove file.
17140 * sysdeps/unix/sysv/getdents.c: Likewise.
17141 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17142
90e037bd
JM
17143 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17144 sysdeps/unix/mman/syscalls.list.
17145 (mmap): Likewise.
17146 (mprotect): Likewise.
17147 (msync): Likewise.
17148 (munmap): Likewise.
17149 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17150 * sysdeps/unix/mman/syscalls.list: Remove.
17151 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17152
3a533ca3
JM
17153 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17154 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17155 * configure: Regenerated.
17156 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17157 $(libgcc_s_suffix).
17158 * config.make.in (libgcc_s_suffix): Remove variable.
17159
1ad743de
JM
171602012-04-23 Joseph Myers <joseph@codesourcery.com>
17161
4ad451e2
JM
17162 * sysdeps/unix/sysv/gethostname.c: Move to ...
17163 * sysdeps/posix/gethostname.c: ... here.
17164
5e37ce39
JM
17165 * sysdeps/unix/execve.S: Remove file.
17166
1ad743de
JM
17167 * sysdeps/unix/_exit.S: Remove file.
17168
4e681b5b
AJ
171692012-04-23 Andreas Jaeger <aj@suse.de>
17170
17171 [BZ #13739]
17172 * manual/Makefile: Remove make dist support, there's no
17173 need for a stand-alone documentation tar ball.
17174 (TEXI2DVI): Define always, it's not in Makeconfig.
17175 (dist): Removed.
17176 (tar-it): Removed.
17177 (edition): Removed.
17178 (glibc-doc-$(edition).tar): Removed
17179 (%.Z): Removed.
17180 (%.gz): Removed.
17181 (%.uu): Removed.
17182 (ETAGS): Remove, it's in Makeconfig.
17183 (move-if-change): Remove, it's in Makeconfig.
17184
38686a03 171852012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17186
17187 [BZ #13970]
17188 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17189 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17190 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17191 (strtod_l, strtof_l, strtold_l): Remove __wur.
17192 It is not necessarily an error to ignore strtol's return value.
17193 One can reliably look at the stored endptr to decide whether
17194 the number had valid syntax.
17195
7c0616fa
AJ
171962012-04-21 Andreas Jaeger <aj@suse.de>
17197
803cb6b7 17198 [BZ #13739]
7c0616fa
AJ
17199 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17200
b0fe253f
JM
172012012-04-21 Joseph Myers <joseph@codesourcery.com>
17202
17203 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17204 * sysdeps/unix/sysv/Versions: Remove file.
17205
8280f22d
MT
172062012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17207
17208 [BZ #13927]
17209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17210
75ce411f 172112012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17212
17213 [BZ #7064]
17214 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17215 version from __vm86.
17216
097d59fa
JM
172172012-04-20 Joseph Myers <joseph@codesourcery.com>
17218
a90f3bcb
JM
17219 * sysdeps/unix/common/lxstat.c: Remove file.
17220 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17221
edc7ea78
JM
17222 * sysdeps/unix/sysv/Makefile: Remove file.
17223
cb78c221
JM
17224 * sysdeps/unix/sysv/direct.h: Remove file.
17225
efa6a45f
JM
17226 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17227 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17228 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17229 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17230 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17231 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17232 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17233
9c9f2d0c
JM
17234 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17235
4541c83b
JM
17236 * sysdeps/unix/xmknod.c: Remove file.
17237 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17238
f5d153a0
JM
17239 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17240
aa746595
JM
17241 * sysdeps/unix/sysv/i386/time.S: Remove file.
17242
cce5905e
JM
17243 * sysdeps/unix/fxstat.c: Remove file.
17244 * sysdeps/unix/xstat.c: Likewise.
17245 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17246
37fa3841
JM
17247 * sysdeps/unix/sysv/sigaction.c: Remove file.
17248
ff1962a3
JM
17249 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17250 (sysdep_headers): Remove variable.
17251 [termio.h not in sysdep_headers] (generated): Likewise.
17252 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17253 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17254 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17255 * sysdeps/unix/sysv/tcflow.c: Likewise.
17256 * sysdeps/unix/sysv/tcflush.c: Likewise.
17257 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17258 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17259 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17260 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17261 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17262
e7740d31
JM
17263 * sysdeps/unix/siglist.c: Remove file.
17264
ee06f18b
JM
17265 * sysdeps/unix/getppid.S: Remove file.
17266
097d59fa
JM
17267 * sysdeps/unix/mkdir.c: Remove file.
17268 * sysdeps/unix/rmdir.c: Likewise.
17269
ff3d51ec
AS
172702012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17271
17272 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17273 ERR_MAX value.
17274 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17275 errlist-compat value.
17276
50f81fd7
DM
172772012-04-18 David S. Miller <davem@davemloft.net>
17278
17279 * sysdeps/generic/memcopy.h (reg_char): Delete.
17280 * debug/strcat_chk.c: Use char, not reg_char.
17281 * debug/strcpy_chk.c: Likewise.
17282 * debug/strncat_chk.c: Likewise.
17283 * debug/strncpy_chk.c: Likewise.
17284 * string/memchr.c: Likewise.
17285 * string/memrchr.c: Likewise.
17286 * string/rawmemchr.c: Likewise.
17287 * string/strcat.c: Likewise.
17288 * string/strchr.c: Likewise.
17289 * string/strchrnul.c: Likewise.
17290 * string/strcmp.c: Likewise.
17291 * string/strcpy.c: Likewise.
17292 * string/strncat.c: Likewise.
17293 * string/strncmp.c: Likewise.
17294 * string/strncpy.c: Likewise.
17295
8ff41c46
WS
172962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17297
17298 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17299 __builtin_memcopy is called when src and dest ranges are known to not
17300 overlap.
17301
6b652f46
WS
173022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17303
17304 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17305 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17306 fwd_align_merge macro call.
17307 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17308 bwd_align_merge macro call.
17309 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17310
b282631e
WS
173112012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17312
17313 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17314 bwd_align_merge macros.
17315 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17316 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17317 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17318
95aa737c
DM
173192012-04-18 David S. Miller <davem@davemloft.net>
17320
17321 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17322
7a99a614
AJ
173232012-04-18 Andreas Jaeger <aj@suse.de>
17324
17325 [BZ# 6794]
17326 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17327 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17328 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17329
17330 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17331 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17332 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17333
17334 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17335 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17336 Adjust for changed ldbl-128 files.
17337
17338 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17339 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17340 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17341
e5270c23
DM
173422012-04-17 David S. Miller <davem@davemloft.net>
17343
17344 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17345
fb5e92c9
AS
173462012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17347
17348 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17349 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17350 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17351 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17352 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17353 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17354
76da7265
AZ
173552012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17356
17357 [BZ #6794]
17358 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17359 * math/libm-test.inc: Add ilogb errno and exception tests.
17360 * math/w_ilogb.c: New file: ilogb wrapper.
17361 * math/w_ilogbf.c: New file: ilogbf wrapper.
17362 * math/w_ilogbl.c: New file: ilogbl wrapper.
17363 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17364 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17365 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17366 exception being thrown with 0.0 as argument.
17367 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17368 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17369 exception being thrown with 0.0 as argument.
17370 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17371 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17372 exception being thrown with 0.0 as argument.
17373 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17374 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17375 exception being thrown with 0.0 as argument.
17376 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17377 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17378 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17379 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17380 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17381 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17382 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17383 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17384 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17385
0396e69d
PB
173862012-04-17 Petr Baudis <pasky@ucw.cz>
17387
17388 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17389 with altivec.
17390
750b5926
MP
173912012-04-16 Marek Polacek <polacek@redhat.com>
17392
17393 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17394
751728a1
MP
173952012-04-16 Marek Polacek <polacek@redhat.com>
17396
17397 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17398 operands of fdivp instruction.
17399
34a27407
L
174002012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17401
17402 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17403 * elf/tst-auditmod3b.c: Likewise.
17404 * elf/tst-auditmod4b.c: Likewise.
17405 * elf/tst-auditmod5b.c: Likewise.
17406 * elf/tst-auditmod6b.c: Likewise.
17407 * elf/tst-auditmod6c.c: Likewise.
17408 * elf/tst-auditmod7b.c: Likewise.
17409 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17410 * sysdeps/x86_64/preconfigure.in: Likewise.
17411 * sysdeps/x86_64/preconfigure: Regenerated.
17412
7e73e17d
L
174132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17414
17415 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17416 __ILP32__.
17417
c7a6ab72
AB
174182012-04-13 Antoine Balestrat <merkil33@gmail.com>
17419
17420 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17421 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17422
a9e8e0e0
CL
174232012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17424
17425 [BZ #13973]
17426 * locale/iso-639.def: Fix gl language name. Spotted by
17427 Yaron Shahrabani.
17428
ec98af7d
RM
174292012-04-12 Roland McGrath <roland@hack.frob.com>
17430
17431 [BZ #2074]
17432 * libio/libio.h (__io_write_fn): Update comment.
17433
247c3ede
PB
174342012-04-12 Petr Baudis <pasky@ucw.cz>
17435
17436 [BZ #2074]
17437 * stdio.texi (Hook Functions): The user provided writer function
17438 is not allowed to return -1.
17439
55939d6d
DM
174402012-04-11 David S. Miller <davem@davemloft.net>
17441
17442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17443
90020f5a
MF
174442012-04-11 Mike Frysinger <vapier@gentoo.org>
17445
17446 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17447 Add a leading slash to rtkaio.
17448
288f9098
JM
174492012-04-11 Jim Meyering <meyering@redhat.com>
17450
90020f5a
MF
17451 [BZ #11959]
17452 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17453 It is not necessarily an error to ignore fwrite's return
17454 value. One can reliably use ferror to test for errors after
17455 the fact.
288f9098 17456
4be2b570
L
174572012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17458
17459 * bits/types.h (__snseconds_t): New type.
17460 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17461
17462 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17464 (__SNSECONDS_T_TYPE): Likewise.
17465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17466 (__SNSECONDS_T_TYPE): Likewise.
17467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17468 (__SNSECONDS_T_TYPE): Likewise.
17469
288f9098 174702012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17471
17472 [BZ #2636]
17473 * manual/time.texi (Processor Time): Return type of times is
17474 elapsed real time since an arbitrary point in the past.
17475 (CPU Time): Move CLK_TCK from here...
17476 (Processor Time): ...to here. Correct description.
17477 * manual/conf.texi (Constants for Sysconf): Correct description of
17478 _SC_CLK_TCK.
17479
d7dd4413
DM
174802012-04-10 David S. Miller <davem@davemloft.net>
17481
17482 [BZ #13967]
17483 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17484 where the is a gap between DT_REL(A) and DT_JMPREL.
17485
b46068fc
L
174862012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17487
17488 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17489 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17490 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17491
73d65cc3
SP
174922012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17493
17494 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17495 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17496 (dl_main): Handle --inhibit-cache.
17497 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17498 _dl_inhibit_cache.
17499 * elf/dl-load.c (_dl_map_object): Use it.
17500 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17501
bcc8d661
JM
175022012-04-09 Joseph Myers <joseph@codesourcery.com>
17503
8f9a2fae
JM
17504 [BZ #13872]
17505 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17506 (__ieee754_powl): Saturate large exponents rather than testing for
17507 overflow of y*log2(x).
17508 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17509 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17510 exceptions.
17511
bcc8d661
JM
17512 [BZ #11521]
17513 * math/s_ctan.c: Include <float.h>.
17514 (__ctan): Avoid internal overflow or cancellation in calculating
17515 denominator.
17516 * math/s_ctanf.c: Likewise.
17517 * math/s_ctanl.c: Likewise.
17518 * math/s_ctanh.c: Likewise.
17519 * math/s_ctanhf.c: Likewise.
17520 * math/s_ctanhl.c: Likewise.
17521 * math/libm-test.inc (ctan_test): Add more tests.
17522 (ctanh_test): Likewise.
17523 * sysdeps/i386/fpu/libm-test-ulps: Update.
17524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17525
823fbbb4
AJ
175262012-04-09 Andreas Jaeger <aj@suse.de>
17527
03879793
AJ
17528 [BZ #6894]
17529 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17530 is an optional BSD extension.
17531
823fbbb4
AJ
17532 [BZ #10254]
17533 * manual/stdio.texi (Opening Streams): Document additional fopen
17534 parameters.
17535
8de131cb
RM
175362012-04-09 Roland McGrath <roland@hack.frob.com>
17537
17538 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17539 %eax without telling the compiler.
17540
c0ed9d7d
CD
175412012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17542
17543 [BZ # 13963]
17544 * manual/install.texi: Use sourceware.org.
17545
c483f6b4
JM
175462012-04-09 Joseph Myers <joseph@codesourcery.com>
17547
d7dd9453
JM
17548 [BZ #13873]
17549 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17550 (__ieee754_pow): Generate overflow and underflow using huge*huge
17551 and tiny*tiny rather than just returning constant infinity or zero
17552 for large exponents.
17553 * math/libm-test.inc (pow_test): Require overflow exceptions for
17554 applicable cases of large exponents.
17555
c483f6b4
JM
17556 [BZ #706]
17557 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17558 (__ieee754_pow): Use iterative multiplication algorithm only for
17559 integer exponents with absolute value below 1024. Check for odd
17560 integer exponents when using algorithm for real exponents.
17561 * math/libm-test.inc (pow_test): Add more tests.
17562 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17563
d2de7579
JM
175642012-04-08 Joseph Myers <joseph@codesourcery.com>
17565
17566 [BZ #13705]
17567 * math/libm-test.inc (exp_test): Do not allow overflow exception
17568 on underflow test.
17569
f77f1232
AJ
175702012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17571
17572 [BZ #13705]
17573 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17574 instead of __kernel_standard_f.
17575
3884932b
MF
175762012-04-08 Mike Frysinger <vapier@gentoo.org>
17577
17578 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17579 * sysdeps/x86_64/memset_chk.S: Likewise.
17580
54472e9c
AJ
175812012-04-08 Andreas Jaeger <aj@suse.de>
17582
6ab0fbfc
AJ
17583 [BZ #10153]
17584 * manual/startup.texi (Environment Access): Describe return value
17585 for putenv and setenv.
17586
61efba8c
AJ
17587 [BZ #6895]
17588 * manual/filesys.texi (Directory Entries): Add description for
17589 DT_LNK.
17590
95c3f29a
AJ
17591 [BZ #6890]
17592 * manual/filesys.texi (Directory Entries): Clarify that it's file
17593 system not operating system in the description of DT_UNKNOWN.
17594
54472e9c
AJ
17595 [BZ #6578]
17596 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17597
624254b1
SC
175982012-04-08 Stephen Compall <s11@member.fsf.org>
17599
17600 [BZ #6649]
17601 * manual/llio.texi (Opening and Closing Files): Add cross
17602 reference to explain mode argument.
17603
1e4920e0
MF
176042012-04-07 Mike Frysinger <vapier@gentoo.org>
17605
17606 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17607 * sysdeps/x86_64/memset_chk.S: Likewise.
17608
5ed848f3
DM
176092012-04-07 David S. Miller <davem@davemloft.net>
17610
17611 * elf/elf.h (R_SPARC_WDISP10): Define.
17612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17613 R_SPARC_SIZE32.
17614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17615 R_SPARC_SIZE64 and R_SPARC_H34.
17616
96154cd8
CD
176172012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17618
17619 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17620 conditions and remove no longer applicable assertion.
17621
9904dc47
L
176222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17623
17624 * bits/byteswap.h: Include <features.h>.
17625 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17626 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17627
f8887d0a
L
176282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17629
17630 * bits/byteswap.h (__bswap_16): Removed.
17631 Include <bits/byteswap-16.h> to get __bswap_16.
17632 * sysdeps/i386/bits/byteswap.h: Likewise.
17633 * sysdeps/s390/bits/byteswap.h: Likewise.
17634 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17635 * bits/byteswap-16.h: New file.
17636 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17637 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17638 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17639 * string/Makefile (headers): Add bits/byteswap-16.h.
17640
62470f60
PP
176412012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17642
17643 [BZ #13895]
17644 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17645 extra indirection.
17646 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17647 * nss/tst-nss-static.c: New.
17648
4dad7bab
RM
176492012-04-06 Robert Millan <rmh@gnu.org>
17650
17651 [BZ #6486]
17652 * manual/llio.texi (File Position Primitive): lseek
17653 refers to WHENCE when it really means OFFSET.
17654
e9142a17
AJ
176552012-04-06 Andreas Jaeger <aj@suse.de>
17656
2c040eff
AJ
17657 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17658 strncmp declarations.
17659
e9142a17
AJ
17660 * abilist/libc.abilist: Add __poll and __ppoll.
17661
ff9f1c5f
DM
176622012-04-05 David S. Miller <davem@davemloft.net>
17663
dcd2ae90
DM
17664 * scripts/check-local-headers.sh: Accept a host triplet in the
17665 path matched by the exclude regexp.
17666
993eb054
DM
17667 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17668 definition.
17669 * sysdeps/powerpc/powerpc32/dl-machine.h
17670 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17671 * sysdeps/s390/s390-32/dl-machine.h
17672 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17673 * sysdeps/sparc/sparc32/dl-machine.h
17674 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17675 * sysdeps/sparc/sparc64/dl-machine.h
17676 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17677
ff9f1c5f
DM
17678 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17679 lazy binding.
48e2e132 17680 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17681 undefined symbol errors.
17682
48e2e132 17683 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17684 DT_NEEDED entries.
17685
e80d6f94
MM
176862012-04-05 Michael Matz <matz@suse.de>
17687
17688 [BZ #13592]
17689 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17690
349fa79f
AJ
176912012-04-05 Andreas Jaeger <aj@suse.de>
17692
17693 [BZ #13908]
17694 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17695 comment.
17696
f402708f
KK
176972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17698
17699 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17700 which ROUND is no valid rounding mode.
17701
2ecccfc9
KK
177022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17703
17704 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17705 read again.
17706 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17707
8a53f50f
KK
177082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17709
17710 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17711 an exception using FPU order intentionally.
17712
177132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17714
17715 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17716 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17717 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17718 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17719
d653abb7
SJ
177202012-04-05 Simon Josefsson <simon@josefsson.org>
17721
17722 [BZ #12340]
17723 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17724 EINVAL when BUFLEN is too smal.
17725
c3b1bf7d
TS
177262012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17727
17728 [BZ #13553]
17729 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17730 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17731
b1aa60f3
AJ
177322012-04-03 Andreas Jaeger <aj@suse.de>
17733
c3b1bf7d 17734 [BZ #13938]
67f60a26
AJ
17735 * manual/setjmp.texi (System V contexts): Fix sentence.
17736
b1aa60f3
AJ
17737 [BZ #13926]
17738 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17739 New macro for this case.
17740 [!__GNUC__] (__bswap_64): New inline function for this case.
17741 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17742 * bits/byteswap.h: Likewise.
17743 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17744 ull, guard with __GLIBC_HAVE_LONG_LONG.
17745
17746 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17747 __GLIBC_HAVE_LONG_LONG.
17748
17749 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17750 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17751
39c59c35
TMQMF
177522012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17753
17754 [BZ #13691]
17755 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17756 inptr and inend, rather than using last_ch.
17757
135ffda8
DM
177582012-04-02 David S. Miller <davem@davemloft.net>
17759
17760 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17761 * stdio-common/printf-parse.h (read_int): Change return type to
17762 'int', return -1 on INT_MAX overflow.
17763 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17764 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17765 overflows INT_MAX. Check for overflow of in-format-string precision
17766 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17767 SIZE_MAX not INT_MAX for integer overflow test.
17768 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17769 skip the construct in the format string but do not record anything.
17770 * stdio-common/bug22.c: Adjust to test both width/prevision
17771 INT_MAX overflow as well as total length INT_MAX overflow. Check
17772 explicitly for proper errno values.
17773
228c019e
TS
177742012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17775
302cadd3
TS
17776 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17777 CHAR_MAX.
17778 * string/test-strcmp.c [! WIDE]: Likewise.
17779 * time/tst-mktime2.c: Likewise for INT_MAX.
17780 * string/test-string.h: #include <sys/param.h> for MIN.
17781
228c019e
TS
17782 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17783 * sysdeps/i386/init-first.c (init): Likewise.
17784 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17785 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17786 * sysdeps/sh/init-first.c (init): Likewise.
17787
cfa633f5
UD
177882012-04-01 Ulrich Drepper <drepper@gmail.com>
17789
17790 * po/ru.po: Update from translation team.
d1635ef8 17791 * po/vi.po: Likewise.
cfa633f5 17792
6cd0a5ea
SP
177932012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17794
17795 * resolv/nss_dns/dns-host.c: Merge copyright years.
17796
4b43400f
LD
177972012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17798
17799 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17800 Optimize memcpy with prefetch if
17801 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17802 src, dst pointers have unequal 16 byte alignments.
17803
48c41d04
SP
178042012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17805
17806 [BZ #13928]
17807 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17808 from a CNAME entry and return the minimum ttl for the query.
17809 (gaih_getanswer_slice): Likewise.
17810
b8dc394d
JL
178112012-03-30 Jeff Law <law@redhat.com>
17812
17813 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17814 due to long keys.
17815 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17816 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17817
2f5a5ed0
JL
17818 * resolv/nss_dns/dns-host.c: Update copyright year.
17819
1d39e359
UD
178202012-03-30 Ulrich Drepper <drepper@gmail.com>
17821
c030f70c 17822 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17823 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17824
1d39e359
UD
17825 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17826 comments for sendmmsg.
17827
178282012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17829
17830 [BZ #13691]
17831 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17832 with only 1 character between 0x0041 and 0x01b0.
17833 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17834 * wcsmbs/tst-mbsnrtowcs.c: New file.
17835
20fde227
DM
178362012-03-29 David S. Miller <davem@davemloft.net>
17837
17838 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17839 small copies by hand.
17840
984a4237
JL
178412012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17842
17843 [BZ #13761]
17844 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17845 _nss_compat_initgroups_dyn): Fall back to malloc/free
17846 for large group memberships.
17847
18c9d62b
DM
178482012-03-28 David S. Miller <davem@davemloft.net>
17849
88d85d4f
DM
17850 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17851 that branches into memcpy.
17852 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17853 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17855 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17857 bits.
17858 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17859 implementation too.
17860 * sysdeps/sparc/mempcpy.S: New file.
17861
e5aa83e1
DM
17862 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17863 the IFUNC routine in the libc case.
17864 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17865
88570753
DM
17866 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17867 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17868 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17869 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17870 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17871 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17872 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17873 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17874
249d7567
DM
17875 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17876 loop to 256 bytes instead of 64 bytes and fix test signedness.
17877
18c9d62b
DM
17878 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17879 * sysdeps/sparc/sparc32/Makefile: rather than here...
17880 * sysdeps/sparc/sparc64/Makefile: and here.
17881
05f3d1f6
UD
178822012-03-28 Ulrich Drepper <drepper@gmail.com>
17883
17884 * malloc/mallocbug.c: Avoid warnings about unused variables.
17885
86ae07a8
JL
178862012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17887
17888 [BZ #13760]
17889 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17890 in the right place. Discard and retry query if response is
17891 larger than input buffer size.
17892
41bf21a1
JM
178932012-03-28 Joseph Myers <joseph@codesourcery.com>
17894
d6270972
JM
17895 [BZ #369]
17896 [BZ #2678]
17897 [BZ #3866]
17898 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17899 x for large integer exponent.
17900 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17901 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17902 sign of result as needed afterwards.
17903 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17904 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17905 result for underflowing pow the same as for overflow.
17906 (__kernel_standard_l): Handle powl overflow and underflow here
17907 rather than calling __kernel_standard.
17908 * math/libm-test.inc (pow_test): Add more tests.
17909
414fca03 17910 [BZ #3868]
41bf21a1
JM
17911 [BZ #13879]
17912 [BZ #13910]
17913 [BZ #13911]
17914 [BZ #13912]
17915 [BZ #13913]
17916 [BZ #13915]
17917 [BZ #13916]
17918 [BZ #13917]
17919 [BZ #13918]
17920 [BZ #13919]
17921 [BZ #13920]
17922 [BZ #13921]
17923 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17924 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17925 (__kernel_standard_l): New function.
17926 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17927 __kernel_standard.
17928 * math/w_acosl.c (__acosl): Likewise.
17929 * math/w_asinl.c (__asinl): Likewise.
17930 * math/w_atan2l.c (__atan2l): Likewise.
17931 * math/w_atanhl.c (__atanhl): Likewise.
17932 * math/w_coshl.c (__coshl): Likewise.
17933 * math/w_exp10l.c (__exp10l): Likewise.
17934 * math/w_exp2l.c (__exp2l): Likewise.
17935 * math/w_fmodl.c (__fmodl): Likewise.
17936 * math/w_hypotl.c (__hypotl): Likewise.
17937 * math/w_j0l.c (__j0l, __y0l): Likewise.
17938 * math/w_j1l.c (__j1l, __y1l): Likewise.
17939 * math/w_jnl.c (__jnl, __ynl): Likewise.
17940 * math/w_lgammal.c (__lgammal): Likewise.
17941 * math/w_log10l.c (__log10l): Likewise.
17942 * math/w_log2l.c (__log2l): Likewise.
17943 * math/w_logl.c (__logl): Likewise.
17944 * math/w_powl.c (__powl): Likewise.
17945 * math/w_remainderl.c (__remainderl): Likewise.
17946 * math/w_scalbl.c (sysv_scalbl): Likewise.
17947 * math/w_sinhl.c (__sinhl): Likewise.
17948 * math/w_sqrtl.c (__sqrtl): Likewise.
17949 * math/w_tgammal.c (__tgammal): Likewise.
17950 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
17951 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
17952 * math/libm-test.inc (acos_test): Add more tests.
17953 (acosh_test): Likewise.
17954 (asin_test): Likewise.
17955 (atanh_test): Likewise.
17956 (exp_test): Likewise.
17957 (exp10_test): Likewise.
17958 (exp2_test): Likewise.
17959 (expm1_test): Likewise.
17960 (lgamma_test): Likewise.
17961 (log_test): Likewise.
17962 (log10_test): Likewise.
17963 (log1p_test): Likewise.
17964 (log2_test): Likewise.
17965 (pow_test): Do not allow some spurious overflow exceptions.
17966 (sqrt_test): Add more tests.
17967 (tgamma_test): Likewise.
17968 (y0_test): Likewise.
17969 (y1_test): Likewise.
17970 (yn_test): Likewise.
17971
dd62fda6
AB
179722012-03-27 Anton Blanchard <anton@samba.org>
17973
17974 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
17975 MAP_HUGETLB.
17976 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17977 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17978 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17979
1e3cdfda
AJ
179802012-03-27 David S. Miller <davem@davemloft.net>
17981
b855ab85
DM
17982 * conform/Makefile: Run run-conformtest.sh using $(BASH).
17983
1e3cdfda
AJ
17984 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
17985 have-as-vis3 check.
17986
179872012-03-27 Andreas Jaeger <aj@suse.de>
17988
17989 * sysdeps/x86_64/elf/configure.in: Moved to ...
17990 * sysdeps/x86_64/configure.in: ... here.
17991 * sysdeps/x86_64/elf/start.S: Moved to ...
17992 * sysdeps/x86_64/start.S: ... here.
17993 * sysdeps/x86_64/elf/configure: Delete.
17994
17995 * sysdeps/x86_64/configure.in: Merge contents from
17996 sysdeps/i386/configure.in (without i686 check).
17997
17998 * sysdeps/i386/elf/Versions: Merge into ...
17999 * sysdeps/i386/Versions: ... this.
18000 * sysdeps/i386/elf/Versions: Delete file.
18001 * sysdeps/i386/elf/start.S: Moved to ...
18002 * sysdeps/i386/start.S: ...here.
18003 * sysdeps/i386/elf/configure.in: Merge into...
18004 * sysdeps/i386/configure.in: ...here.
18005 * sysdeps/i386/elf/configure.in: Delete file.
18006 * sysdeps/i386/elf/configure: Delete file.
18007
18008 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18009 * debug/backtracesyms.c: ... here.
18010 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18011 * debug/backtracesymsfd.c: ... here.
18012 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18013 * sysdeps/generic/ifunc-sel.h: ... here.
18014
18015 * sysdeps/unix/i386/start.c: Delete file.
18016 * sysdeps/unix/sparc/start.c: Delete file.
18017 * sysdeps/unix/start.c: Delete file.
18018
18019 * sysdeps/sh/elf/configure.in: Moved to ...
18020 * sysdeps/sh/configure.in: ... here.
18021 * sysdeps/sh/elf/start.S: Moved to ...
18022 * sysdeps/sh/start.S: ... here.
18023 * sysdeps/sh/elf/configure: Delete file.
18024
18025 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18026 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18027 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18028 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18029 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18030 * sysdeps/powerpc/powerpc64/start.S: here.
18031 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18032 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18033 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18034 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18035 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18036
18037 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18038 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18039 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18040 * sysdeps/powerpc/powerpc32/start.S: ... here.
18041 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18042 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18043 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18044
18045 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18046 * sysdeps/powerpc/ifunc-sel.h: ... here.
18047 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18048 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18049
18050 * sysdeps/sparc/elf/configure.in: Moved to ...
18051 * sysdeps/sparc/configure.in: ... here.
18052 * sysdeps/sparc/elf/configure: Delete file.
18053 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18054 * sysdeps/sparc/sparc32/start.S: ... here.
18055 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18056 * sysdeps/sparc/sparc64/start.S: ... here.
18057 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18058 * sysdeps/sparc/sparc32/Makefile: ... this.
18059 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18060 * sysdeps/sparc/sparc64/Makefile: ... this.
18061
18062 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18063 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18064 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18065 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18066 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18067 * sysdeps/s390/s390-32/setjmp.S: ... here.
18068 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18069 * sysdeps/s390/s390-32/configure.in: ... here.
18070 * sysdeps/s390/s390-32/elf/configure: Delete file.
18071 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18072 * sysdeps/s390/s390-32/start.S: ... here.
18073
18074 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18075 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18076 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18077 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18078 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18079 * sysdeps/s390/s390-64/setjmp.S: ... here.
18080 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18081 * sysdeps/s390/s390-64/configure.in: ... here
18082 * sysdeps/s390/s390-64/elf/configure: Delete file.
18083 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18084 * sysdeps/s390/s390-64/start.S: ... here.
18085 * sysdeps/s390/s390-64/elf/configure: Delete.
18086
18087 * configure.in: Remove support for elf directories in sysdeps.
18088
18089 * configure: Regenerated.
18090 * sysdeps/i386/configure: Regenerated.
18091 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18092 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18093 * sysdeps/s390/s390-32/configure: Regenerated.
18094 * sysdeps/s390/s390-64/configure: Regenerated.
18095 * sysdeps/sh/configure: Regenerated.
18096 * sysdeps/sparc/configure: Regenerated.
18097 * sysdeps/x86_64/configure: Regenerated.
18098
a3f61311
AS
180992012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18100
c876e002
AS
18101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18102
a3f61311
AS
18103 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18104 denormal result into account.
18105
ac4c54f0
RM
181062012-03-25 Roland McGrath <roland@hack.frob.com>
18107
18108 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18109 Reported by Allan McRae <allan@archlinux.org>.
18110
6a9b9c02
JL
181112012-03-23 Jeff Law <law@redhat.com>
18112
18113 * nss/getnssent.c (__nss_getent): Fix typo.
18114
4c42a0c1
DM
181152012-03-23 David S. Miller <davem@davemloft.net>
18116
18117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18118
1532c7ac
L
181192012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18120
18121 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18122 to pad to uint64_t for each field.
18123 (dl_tls_index): Replace unsigned long with uint64_t.
18124
3ff42526
PP
181252012-03-23 Daniel Jacobowitz <dmj@google.com>
18126 Paul Pluzhnikov <ppluzhnikov@google.com>
18127
18128 [BZ #6528]
18129 * grp/Makefile (otherlibs): Don't set it.
18130 * inet/Makefile (otherlibs): Likewise.
18131 * login/Makefile (otherlibs): Likewise.
18132 * nscd/Makefile (otherlibs): Likewise.
18133 * posix/Makefile (otherlibs): Likewise.
18134 * pwd/Makefile (otherlibs): Likewise.
18135 * rt/Makefile (otherlibs): Likewise.
18136 * sunrpc/Makefile (otherlibs): Likewise.
18137 * nss/Makefile (otherlibs): Likewise.
18138 Add libnss_files to routines and static-only-routines.
18139 ($(objpfx)getent): Remove rule.
18140 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18141 static-only-routines.
18142
7c69cd14
JM
181432012-03-22 Joseph Myers <joseph@codesourcery.com>
18144
18145 [BZ #13892]
18146 * math/s_cexp.c: Include <float.h>.
18147 (__cexp): Handle exp result overflowing not necessarily
18148 overflowing both real and imaginary parts of result.
18149 * math/s_cexpf.c: Likewise.
18150 * math/s_cexpl.c: Likewise.
18151 * math/libm-test.inc (cexp_test): Add more tests.
18152 * sysdeps/i386/fpu/libm-test-ulps: Update.
18153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18154
81b035fe
L
181552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18156
18157 * include/link.h (ELFW): New macro.
18158 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18159 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18160
1da7940c
L
181612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18162
18163 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18164 with uint64_t.
18165
b749dbb9
L
181662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18167
18168 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18169 declaration.
18170 (struct La_x32_retval): Likewise.
18171
2ff87f3f
L
181722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18173
18174 * sysdeps/x86_64/preconfigure.in: New file.
18175 * sysdeps/x86_64/preconfigure: New generated file.
18176
c0df8e69
JM
181772012-03-22 Joseph Myers <joseph@codesourcery.com>
18178
48e44791
JM
18179 [BZ #13824]
18180 * math/e_exp2l.c: Include <float.h>.
18181 (__ieee754_exp2l): Handle overflow and underflow cases
18182 separately. Only pass fractional part of argument to
18183 __ieee754_expl.
18184 * math/libm-test.inc (exp2_test): Add more tests.
18185
c0df8e69
JM
18186 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18187 negating x to take absolute value.
18188 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18189 Likewise.
18190 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18191 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18192 Likewise.
18193 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18194 computing low part if x was negated.
18195 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18196
c8e43ba7
L
181972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18198
18199 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18200 la_x32_gnu_pltexit.
18201 (pltexit): Cast int_retval to ptrdiff_t.
18202 * elf/tst-auditmod3b.c: Likewise.
18203 * elf/tst-auditmod4b.c: Likewise.
18204 * elf/tst-auditmod5b.c: Likewise.
18205 * elf/tst-auditmod6b.c: Likewise.
18206 * elf/tst-auditmod6c.c: Likewise.
18207 * elf/tst-auditmod7b.c: Likewise.
18208
18209 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18210 and x32_gnu_pltexit.
18211
18212 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18213 __ELF_NATIVE_CLASS.
18214 (La_x32_regs): New macro.
18215 (La_x32_retval): Likewise.
18216 (la_x32_gnu_pltenter): New function prototype.
18217 (la_x32_gnu_pltexit): Likewise.
18218
7998fa78
AS
182192012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18220
dcb33988
AS
18221 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18222 exponent.
18223
233fc563
AS
18224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18225
7998fa78
AS
18226 * configure.in (libc_cv_cc_nofma): Check for option to disable
18227 generation of FMA instructions.
18228 * configure: Regenerate.
18229 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18230 * sysdeps/ieee754/dbl-64/Makefile: New file.
18231 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18232 Remove brandred-fma4.
18233 (CFLAGS-brandred-fma4.c): Remove.
18234 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18235 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18236 define.
18237 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18238 define.
18239
8e95c99a
L
182402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18241
18242 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18243 LLONG_MAX != LONG_MAX.
18244 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18245 (_fitoa_word): Likewise.
18246 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18247 LLONG_MAX != LONG_MAX.
18248 * stdio-common/_itowa.h: Include <_itoa.h>.
18249 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18250 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18251 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18252 only if not defined.
18253 (_ITOA_WORD_TYPE): Likewise.
18254 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18255 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18256
6f4db457
DM
182572012-03-21 David S. Miller <davem@davemloft.net>
18258
18259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18260
7785fe5a
L
182612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18262
18263 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18264 of x86_64 when setting libc_cv_slibdir, libdir and
18265 libc_cv_localedir.
18266 * sysdeps/unix/sysv/linux/configure: Regenerated.
18267
4535cd55
JM
182682012-03-21 Joseph Myers <joseph@codesourcery.com>
18269
18270 * manual/lang.texi (Old Varargs): Remove section.
18271 (How Variadic): Update menu.
18272 (va_start): Do not mention varargs.h.
18273
17228132
TS
182742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18275 Joseph Myers <joseph@codesourcery.com>
18276
18277 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18278 link test.
18279 * configure: Regenerated.
18280
8149f976
TS
182812012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18282
05f3d1f6
UD
18283 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18284 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18285 conformtest.pl
8149f976 18286
1a4ac776
JM
182872012-03-21 Joseph Myers <joseph@codesourcery.com>
18288
be22ce65
JM
18289 * NOTES: Remove.
18290 * Makefile (files-for-dist): Remove NOTES.
18291 (NOTES): Remove rule.
18292 * README: Don't refer to NOTES.
18293 * manual/creature.texi: Don't include macros.texi.
18294 * manual/intro.texi (creature.texi): Remove comment referring to
18295 NOTES.
18296
40b601fb
JM
18297 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18298 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18299 * configure: Regenerated.
18300 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18301 LIBC_TRY_CC_OPTION.
18302 (libc_cv_as_i686): Likewise.
18303 (libc_cv_cc_avx): Likewise.
18304 (libc_cv_cc_sse2avx): Likewise.
18305 (libc_cv_cc_fma4): Likewise.
18306 (libc_cv_cc_novzeroupper): Likewise.
18307 * sysdeps/i386/configure: Regenerated.
18308
1a4ac776
JM
18309 [BZ #13883]
18310 * sysdeps/i386/fpu/s_cexp.S: Remove.
18311 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18312 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18313 * math/libm-test.inc (cexp_test): Add more tests.
18314 * sysdeps/i386/fpu/libm-test-ulps: Update.
18315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18316
a458e7fe
AM
183172012-03-21 Allan McRae <allan@archlinux.org>
18318
18319 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18320
0cb7efc5
JM
183212012-03-21 Joseph Myers <joseph@codesourcery.com>
18322
18323 [BZ #13871]
18324 * math/w_exp2.c: Do not include <float.h>.
18325 (o_threshold, u_threshold): Remove.
18326 (__exp2): Calculate result before checking finiteness and calling
18327 __kernel_standard.
18328 * math/w_exp2f.c: Likewise.
18329 * math/w_exp2l.c: Likewise.
18330 * math/libm-test.inc (exp2_test): Require overflow exception for
18331 1e6 input.
2460d3aa
JM
18332
18333 [BZ #3866]
18334 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18335 range of signed 64-bit integers before using fistpll. Remove
18336 checks for whether integers fit in mantissa bits.
18337 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18338 the range of signed 32-bit integers before using fistpl. Remove
18339 checks for whether integers fit in mantissa bits.
18340 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18341 (__ieee754_powl): Test for y outside the range of signed 64-bit
18342 integers before using fistpll. Reduce 64-bit values to 63-bit
18343 ones as needed.
18344 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18345 divide-by-zero is raised for zero to large negative powers.
18346 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18347 (__ieee754_powl): Test for y outside the range of signed 64-bit
18348 integers before using fistpll. Reduce 64-bit values to 63-bit
18349 ones as needed.
18350 * math/libm-test.inc (pow_test): Add more tests.
18351
eb96ffb0
L
183522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18353
18354 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18355 <stdio-common/_itoa.h>.
18356 * debug/segfault.c: Likewise.
18357 * elf/dl-cache.c: Likewise.
18358 * elf/dl-minimal.c: Likewise.
18359 * elf/dl-misc.c: Likewise.
18360 * elf/dl-sysdep.c: Likewise.
18361 * elf/dl-version.c: Likewise.
18362 * elf/rtld.c: Likewise.
18363 * hurd/hurdsock.c: Likewise.
18364 * hurd/lookup-retry.c: Likewise.
18365 * malloc/malloc.c: Likewise.
18366 * malloc/mtrace.c: Likewise.
18367 * nscd/nscd_getgr_r.c: Likewise.
18368 * nscd/nscd_getpw_r.c: Likewise.
18369 * nscd/nscd_getserv_r.c: Likewise.
18370 * posix/getopt_init.c: Likewise.
18371 * posix/wordexp.c: Likewise.
18372 * stdio-common/_itoa.c: Likewise.
18373 * stdio-common/printf_fphex.c: Likewise.
18374 * stdio-common/vfprintf.c: Likewise.
18375 * string/_strerror.c: Likewise.
18376 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18377 * sysdeps/i386/i686/hp-timing.h: Likewise.
18378 * sysdeps/mach/_strerror.c: Likewise.
18379 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18380 * sysdeps/mach/hurd/sethostid.c: Likewise.
18381 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18382 * sysdeps/mach/xpg-strerror.c: Likewise.
18383 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18384 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18385 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18386 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18387 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18388 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18389 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18390 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18391 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18392 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18393 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18394 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18395 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18396 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18397 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18398 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18399 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18400 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18401 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18402 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18403 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18404
18405 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18406
18407 * stdio-common/_itoa.h: Moved to ...
18408 * sysdeps/generic/_itoa.h: Here.
18409
18410 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18411
18412 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18413 instead of "_itoa.h" and "_itowa.h".
18414 * stdio-common/vfprintf.: Likewise.
18415
d1af992d
L
184162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18417
18418 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18419 <bits/wordsize.h>.
18420 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18421 (__signbit): Likwise.
18422 (llrintf): Likwise.
18423 (llrint): Likwise.
18424
114883e0
L
184252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18426
18427 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18428 __WORDSIZE != 64.
18429
c135cc1b
JM
184302012-03-20 Joseph Myers <joseph@codesourcery.com>
18431
18432 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18433 OVERFLOW_EXCEPTION_OK.
18434 * math/libm-test.inc ("Philosophy"): Update comment about
18435 exception testing.
18436 (OVERFLOW_EXCEPTION): Define.
18437 (OVERFLOW_EXCEPTION_OK): Likewise.
18438 (INVALID_EXCEPTION_OK): Renumber.
18439 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18440 (IGNORE_ZERO_INF_SIGN): Likewise.
18441 (test_exceptions): Handle FE_OVERFLOW.
18442 (exp10_test): Expect overflow exceptions.
18443 (exp2_test): Likewise.
18444 (expm1_test): Likewise.
18445 (nextafter_test): Likewise.
18446 (pow_test): Likewise.
18447 (scalbn_test): Likewise.
18448 (scalbln_test): Likewise.
18449
95443d88
L
184502012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18451
18452 * sysdeps/x86_64/bits/atomic.h
18453 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18454 64bit integer.
18455 (atomic_exchange_acq): Likewise.
18456 (__arch_exchange_and_add_body): Likewise.
18457 (__arch_add_body): Likewise.
18458 (atomic_add_negative): Likewise.
18459 (atomic_add_zero): Likewise.
18460
490df6c4
L
184612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18462
c2722551 18463 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18464 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18465
5e52b189
L
184662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18467
18468 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18469 Check __x86_64__ instead of __WORDSIZE.
18470
a9879d4c
L
184712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18472
18473 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18474
5df98260
DM
184752012-03-19 David S. Miller <davem@davemloft.net>
18476
e1497744
DM
18477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18478
5df98260
DM
18479 * sysdeps/sparc/fpu/fenv_private.h: New file.
18480 * sysdeps/sparc/fpu/math_private.h: Use it.
18481 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18482 Remove.
18483 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18484 (libc_feholdexcept_setroundl): Remove.
18485 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18486 Remove.
18487 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18488 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18489
b4c35121
L
184902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18491
18492 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18493 int64_t instead of long int.
18494 (INSERT_WORDS64): Likwise.
18495
56965fd7
L
184962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18497
18498 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18499 _Unwind_GetCFA return to _Unwind_Ptr first.
18500
83d1aec8
JM
185012012-03-19 Joseph Myers <joseph@codesourcery.com>
18502
1897ad44
JM
18503 [BZ #13629]
18504 * math/s_clog.c: Include <float.h>.
18505 (__clog): Scale large or subnormal inputs.
18506 * math/s_clogf.c: Likewise.
18507 * math/s_clogl.c: Likewise.
18508 * math/s_clog10.c: Include <float.h>.
18509 (M_LOG10_2): Define.
18510 (__clog10): Scale large or subnormal inputs.
18511 * math/s_clog10f.c: Likewise.
18512 * math/s_clog10l.c: Likewise.
18513 * math/libm-test.inc (clog_test): Add more tests.
18514 (clog10_test): Likewise.
18515 * sysdeps/i386/fpu/libm-test-ulps: Update.
18516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18517
7726d6a9
JM
18518 [BZ #11451]
18519 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18520 x and y.
18521 * math/libm-test.inc (atan2_test): Add another test.
18522
83d1aec8
JM
18523 * Makerules (common-objdir-compile): Remove.
18524 * sysdeps/unix/Makefile (config-generated): Do not add
18525 $(unix-generated) to variable.
18526 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18527 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18528 Remove rule.
18529 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18530 Likewise.
18531 [generic bits/local_lim.h] (before-compile): Do not append to
18532 variable.
18533 [generic bits/local_lim.h] (common-generated): Likewise.
18534 [generic sys/param.h] (before-compile): Do not append to variable.
18535 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18536 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18537 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18538 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18539 include.
18540 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18541 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18542 [generic sys/param.h] ($(addprefix
18543 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18544 [generic sys/param.h] (common-generated): Do not append to
18545 variable.
18546 [generic sys/param.h] (sysdep_headers): Likewise.
18547 [generic bits/errno.h] (before-compile): Do not append to
18548 variable.
18549 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18550 rule.
18551 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18552 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18553 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18554 [generic bits/errno.h] (common-generated): Do not append to
18555 variable.
18556 [generic bits/ioctls.h] (before-compile): Do not append to
18557 variable.
18558 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18559 rule.
18560 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18561 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18562 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18563 rule.
18564 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18565 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18566 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18567 [generic bits/ioctls.h] (common-generated): Do not append to
18568 variable.
18569 [generic sys/syscall.h] (syscall.h): Remove variable.
18570 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18571 rule.
18572 [generic sys/syscall.h] (before-compile): Do not append to
18573 variable.
18574 [generic sys/syscall.h] (common-generated): Likewise.
18575 * sysdeps/unix/errnos-tmpl.c: Remove file.
18576 * sysdeps/unix/errnos.awk: Likewise.
18577 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18578 * sysdeps/unix/ioctls.awk: Likewise.
18579 * sysdeps/unix/mk-local_lim.c: Likewise.
18580 * sysdeps/unix/snarf-ioctls: Likewise.
18581
4851a949
RH
185822012-03-19 Richard Henderson <rth@twiddle.net>
18583
bd37f2ee
RH
18584 * sysdeps/i386/fpu/fenv_private.h: New file.
18585 * sysdeps/i386/fpu/math_private.h: Use it.
18586 (math_opt_barrier, math_force_eval): Remove.
18587 (libc_feholdexcept_setround_53bit): Remove.
18588 (libc_feupdateenv_53bit): Remove.
18589 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18590 (math_opt_barrier, math_force_eval): Remove.
18591 (libc_feholdexcept): Remove.
18592 (libc_feholdexcept_setround): Remove.
18593 (libc_fetestexcept, libc_fesetenv): Remove.
18594 (libc_feupdateenv_test): Remove.
18595 (libc_feupdateenv, libc_feholdsetround): Remove.
18596 (libc_feresetround): Remove.
18597
d0adc922
RH
18598 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18599 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18600
0fe0f1f8
RH
18601 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18602 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18603 (libc_feupdateenv_testl): New.
18604 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18605 (libc_feupdateenv_testf): New.
18606 (libc_feupdateenv): Use libc_feupdateenv_test.
18607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18608 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18609
eb92c487
RH
18610 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18611 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18612 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18613 (libc_feresetround_noex): New.
18614 (libc_feresetround_noexf): New.
18615 (libc_feresetround_noexl): New.
18616 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18617 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18618 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18619 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18620 SET_RESTORE_ROUND.
18621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18622 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18623 (__cos): Likewise.
18624 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18625 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18626 SET_RESTORE_ROUND_NOEX.
18627 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18628 SET_RESTORE_ROUND_NOEXF.
18629 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18630 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18631 (libc_feholdsetroundf): New.
18632 (libc_feresetround, libc_feresetroundf): New.
18633
7d2e8012
RH
18634 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18635 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18636 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18637
b4dabbb4
RH
18638 * sysdeps/generic/math_private.h: Include <fenv.h>.
18639 (default_libc_feholdexcept): New.
18640 (default_libc_feholdexcept_setround): New.
18641 (default_libc_fesetenv, default_libc_feupdateenv): New.
18642 (libc_feholdexcept): Only define if undefined.
18643 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18644 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18645 (libc_feholdexcept_setroundl): Likewise.
18646 (libc_feholdexcept_setround_53bit): Likewise.
18647 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18648 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18649 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18650 (libc_feupdateenv_53bit): Likewise.
18651 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18652 (libc_feholdexcept): Convert from macro to inline function.
18653 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18654 (libc_fesetenv, libc_feupdateenv): Likewise.
18655
4851a949
RH
18656 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18657 not previously defined.
18658 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18659 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18660 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18661 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18662 * sysdeps/ieee754/flt-32/math_private.h: New file.
18663 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18664 math_private.h below SET_FLOAT_WORD.
18665 (__isnan, __isinf_ns, __finite): Remove.
18666 (__isnanf, __isinf_nsf, __finitef): Remove.
18667
e79d442e
AS
186682012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18669
18670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18671
90b80344
DM
186722012-03-17 David S. Miller <davem@davemloft.net>
18673
18674 [BZ #6471]
18675 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18676 for 2.16.
18677
edc21804
DM
186782012-03-16 David S. Miller <davem@davemloft.net>
18679
77e927af
DM
18680 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18681 warnings.
18682
374976dd
DM
18683 [BZ #6471]
18684 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18685 properly.
18686 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18687 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18688 sysdep_routines when subdir is sysvipc.
18689 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18690 __getshmlba helper.
18691
edc21804
DM
18692 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18693
473c3ef3
L
186942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18695
18696 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18697 [__LP64__].
18698
eb0f39b6
L
186992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18700
18701 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18702 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18703 (__lround): Renamed to ...
18704 (__llround): This. Replace long int with long long int.
18705 Define lround functions as aliases of llround functions.
18706 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18707
6b6cd74b
L
187082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18709
18710 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18711 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18712 adresses to uintptr_t. Replace "long int" and "unsigned long
18713 int" with "greg_t" on va_arg.
18714
f1a77b01
L
187152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18716
18717 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18718 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18719
18720 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18721 Move e_machine check before EI_CLASS check. Handle x32
18722 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18723 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18724 SKIP_EM_IA_64 and include
18725 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18726
18727 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18728 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18729 (add_system_dir): New macro.
18730
18731 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18732 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18733
11b90b9f
JM
187342012-03-16 Joseph Myers <joseph@codesourcery.com>
18735
c36e1d23
JM
18736 [BZ #2551]
18737 [BZ #2552]
18738 [BZ #2553]
18739 [BZ #2554]
18740 [BZ #2562]
18741 [BZ #2563]
18742 [BZ #2565]
18743 [BZ #2566]
18744 [BZ #2576]
18745 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18746 (y0): Likewise.
18747 * math/w_j0f.c (j0f): Likewise.
18748 (y0f): Likewise.
18749 * math/w_j0l.c (__j0l): Likewise.
18750 (__y0l): Likewise.
18751 * math/w_j1.c (j1): Likewise.
18752 (y1): Likewise.
18753 * math/w_j1f.c (j1f): Likewise.
18754 (y1f): Likewise.
18755 * math/w_j1l.c (__j1l): Likewise.
18756 (__y1l): Likewise.
18757 * math/w_jn.c (jn): Likewise.
18758 (yn): Likewise.
18759 * math/w_jnf.c (jnf): Likewise.
18760 (ynf): Likewise.
18761 * math/w_jnl.c (__jnl): Likewise.
18762 (__ynl): Likewise.
18763 * math/libm-test.inc (j0_test): Add more tests.
18764 (j1_test): Likewise.
18765 (jn_test): Likewise. Add trailing semicolon to existing test.
18766 (y0_test): Likewise.
18767 (y1_test): Likewise.
18768 * sysdeps/i386/fpu/libm-test-ulps: Update.
18769 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18770
11b90b9f
JM
18771 [BZ #13851]
18772 [BZ #13854]
18773 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18774 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18775 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18776 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18777 (__tanl): Set errno for infinite argument.
18778 * sysdeps/i386/fpu/mptan.c: Remove.
18779 * sysdeps/i386/fpu/s_tan.S: Likewise.
18780 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18781 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18782 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18783 * math/libm-test.inc (tan_test): Add more tests and enable more
18784 tests for double and long double.
18785 * sysdeps/i386/fpu/libm-test-ulps: Update.
18786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18787
6a1bd2a1
JK
187882012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18789
18790 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18791 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18792
10a803e0
RM
187932012-03-16 Roland McGrath <roland@hack.frob.com>
18794
18795 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18796 * configure.in: Use it for both main tree and add-ons.
18797 * configure: Regenerated.
18798
f196c7f7
L
187992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18800
18801 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18802
8848d99d
JM
188032012-03-16 Joseph Myers <joseph@codesourcery.com>
18804
96cbe7f4
JM
18805 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18806 in comment.
18807
8848d99d
JM
18808 [BZ #13851]
18809 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18810 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18811 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18813 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18814 infinite argument.
18815 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18817 != 0 for prec == 2.
18818 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18819 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18820 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18821 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18822 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18823 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18824 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18825 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18826 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18827 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18828 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18829 * math/libm-test.inc (cos_test): Add more tests and enable more
18830 tests for long double.
18831 (sin_test): Likewise.
18832 (sincos_test): Likewise.
18833 * sysdeps/i386/fpu/libm-test-ulps: Update.
18834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18835
dd7f4703
DM
188362012-03-16 David S. Miller <davem@davemloft.net>
18837
18838 * sysdeps/sparc/fpu/math_private.h: New file.
18839
006f1daa
DM
188402012-03-15 David S. Miller <davem@davemloft.net>
18841
c0c83bc8
DM
18842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18843 file.
e6a62e18 18844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18846 file.
e6a62e18
DM
18847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18848 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18853 sysdep routines.
18854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18855
88cb87d9
DM
18856 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18857 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18858
006f1daa 18859 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18861 sparc-ifunc.h
006f1daa 18862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18864 Likewise.
18865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18866 Likewise.
006f1daa
DM
18867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18871 Likewise.
006f1daa
DM
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18877 Likewise.
18878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18879 Likewise.
006f1daa
DM
18880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18886 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18894 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18898 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18899 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18900 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18901 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18902 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18904
11e0098e
AS
189052012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18906
18907 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18908 scaling.
18909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18910
e85b09d0
AJ
189112012-03-15 Andreas Jaeger <aj@suse.de>
18912
18913 [BZ #13852]
18914 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18915 ieee754/flt-32 implementation for sin, cos and sincos.
18916 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18917 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18918 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18919 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18920 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18921 ieee754/flt-32 implementation for tan.
18922
18923 * math/libm-test.inc (cos_test): Enable some large input tests for
18924 float as well
18925 (sin_test): Likewise.
18926 (sincos_test): Likewise.
18927 (tan_test): Add tests for large input.
18928
18929 * sysdeps/i386/fpu/libm-test-ulps: Update.
18930
81c64153
AJ
189312012-03-15 Andreas Jaeger <aj@suse.de>
18932
18933 [BZ #13658]
18934 * math/libm-test.inc (cos_test): Add more test cases.
18935 (sin_test): Likewise.
18936 (sincos_test): Likewise.
18937
7bbfa5c6
AJ
189382012-03-15 Andreas Jaeger <aj@suse.de>
18939
18940 [BZ #13837]
18941 * math/libm-test.inc (cos_test): Add a test case for large input
18942 value.
18943 (sin_test): Likewise.
18944 (sincos_test): Likewise.
18945
189462012-03-15 Andreas Jaeger <aj@suse.de>,
18947 Joseph Myers <joseph@codesourcery.com>
18948
18949 [BZ #13658]
0671f479 18950 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
18951 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
18952 * sysdeps/i386/fpu/branred.c: Likewise.
18953 * sysdeps/i386/fpu/dosincos.c: Likewise.
18954 * sysdeps/i386/fpu/mpa.c: Likewise.
18955 * sysdeps/i386/fpu/s_cos.S: Likewise.
18956 * sysdeps/i386/fpu/s_sin.S: Likewise.
18957 * sysdeps/i386/fpu/s_sincos.S: Likewise.
18958 * sysdeps/i386/fpu/sincos32.c: Likewise.
18959
18960 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
18961 Define.
18962 (libc_feupdateenv_53bit): Define.
18963 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
18964 Define.
18965 (libc_feupdateenv_53bit): Define.
18966
18967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
18968 53 bit (without extend i386 double precision).
18969
18970 * math/libm-test.inc (sincos_test): Add tests for large input.
18971 (sin): Likewise.
18972 (cos): Likewise.
18973
18974 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18975
9cad04ea
AS
189762012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18977
18978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18979
f7062b9a
DM
189802012-03-15 David S. Miller <davem@davemloft.net>
18981
18982 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
18983 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
18984 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
18985 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
18987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
18990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
18991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
18992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
18993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
18994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
18995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
18996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
18998 file.
f7062b9a 18999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19001 file.
f7062b9a 19002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19004 file.
f7062b9a 19005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19007 file.
f7062b9a
DM
19008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19009 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19010 fmin/fmax sysdep routines.
19011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19012
7bd951ff
DM
190132012-03-14 David S. Miller <davem@davemloft.net>
19014
559398ab
DM
19015 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19019 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19027 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19035 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19039 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19044 routines.
19045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19046 file.
559398ab 19047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19049 file.
559398ab 19050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19052 file.
559398ab 19053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19055 file.
559398ab 19056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19058 file.
559398ab 19059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19061 file.
19062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19063 file.
19064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19065 file.
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19067 file.
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19069 New file.
19070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19071 file.
19072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19073 file.
559398ab 19074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19076 file.
559398ab 19077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19079 file.
559398ab 19080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19082 file.
559398ab 19083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19085 VIS3 routines.
559398ab
DM
19086
19087 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19088 New file.
19089
5a1c1e32
DM
19090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19091
eae47a36
DM
19092 * sysdeps/sparc/configure.in: New file.
19093 * sysdeps/sparc/configure: Generate.
19094 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19095 * configure: Regenerate.
19096 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19097 * config.make.in (have-as-vis3): New.
19098 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19099 available use -Av9d instead of -Av9a.
19100 * sysdeps/sparc/sparc64/Makefile: Likewise.
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
19102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19103 New file.
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19105 file.
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19107 New file.
19108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19109 file.
eae47a36
DM
19110 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19115
c0c83bc8
DM
19116 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19117 fzeros/fnegs to load 0x80000000 into a float register instead of
19118 using the stack.
7bd951ff
DM
19119 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19120
bd951ccb
JM
191212012-03-14 Joseph Myers <joseph@codesourcery.com>
19122
19123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19124 bits/syscall.h.
19125 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19126 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19127 ($(inst_includedir)/bits/syscall.h): Remove rule.
19128 ($(objpfx)bits/syscall.d): Include instead of
19129 $(objpfx)syscall-list.d.
19130 (generated): Change syscall-list.h and syscall-list.d to
19131 bits/syscall.h and bits/syscall.d.
19132
bb4e6db2
RM
191332012-03-14 Roland McGrath <roland@hack.frob.com>
19134
19135 [BZ #13846]
19136 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19137
aa4a2ae1
JM
191382012-03-14 Joseph Myers <joseph@codesourcery.com>
19139
e456826d
JM
19140 [BZ #13841]
19141 * math/s_csqrt.c: Include <float.h>.
19142 (__csqrt): Scale large or subnormal inputs.
19143 * math/s_csqrtf.c: Likewise.
19144 * math/s_csqrtl.c: Likewise.
19145 * math/libm-test.inc (csqrt_test): Add more tests.
19146 * sysdeps/i386/fpu/libm-test-ulps: Update.
19147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19148
aa4a2ae1
JM
19149 [BZ #13840]
19150 * math/libm-test.inc (hypot_test): Add more tests.
19151
7c10fd35
DM
191522012-03-13 David S. Miller <davem@davemloft.net>
19153
19154 [BZ #13840]
19155 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19156 double-precision for the calculation instead of scaling.
19157
f453b98b
JM
191582012-03-13 Joseph Myers <joseph@codesourcery.com>
19159
19160 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19161 manipulate bits before adding and subtracting TWO52[sx].
19162 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19164 Likewise.
19165 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19166
09a3453f
DM
191672012-03-13 David S. Miller <davem@davemloft.net>
19168
8e59da90
DM
19169 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19170 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19171 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19172 rtld-global-offsets.h
19173 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19174
2a8ab7f2
DM
19175 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19176 large parameters.
19177
10f62770
DM
19178 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19179
5f0bdb18
DM
19180 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19181 'err' in the ifdef scope in which it is actually used.
19182
09a3453f
DM
19183 * nss/nss_db/db-init.c: Include string.h
19184
b4b2eb5e
DM
191852012-03-12 David S. Miller <davem@davemloft.net>
19186
98bb2f1c
DM
19187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19188 masking out of the most significant byte of random value used.
19189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19190 Fix coding style in previous change.
19191
b4b2eb5e
DM
19192 * sysdeps/unix/sysv/linux/kernel-features.h
19193 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19194 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19195 expression.
19196 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19197 later.
19198
6e226b09
DM
191992012-03-11 David S. Miller <davem@davemloft.net>
19200
a1bcbd40
DM
19201 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19202 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19204 for 'resultvar' otherwise things get truncated on 64-bit.
19205
cb9d6174
DM
19206 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19207 Fix masking out of the most significant byte of random value used.
19208
6e226b09
DM
19209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19210
058c132d
AS
192112012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19212
19213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19214
2d2cd515
DM
192152012-03-09 David S. Miller <davem@davemloft.net>
19216
19217 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19218 variables with appropriate CPP guards.
19219 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19220 frame pointer, not the stack pointer. Correct layout comments. Fix test
19221 on resulting framesize and the management of the outregs buffer for pltexit.
19222 Preserve floating point return values across _dl_call_pltexit call.
19223 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19224 framesize and the management of the outregs buffer for pltexit.
19225 Preserve floating point return values across _dl_call_pltexit
19226 call.
19227 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19228 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19229 (print_exit): Fix format string for return register value.
19230
9a07f9d0
JM
192312012-03-10 Joseph Myers <joseph@codesourcery.com>
19232
19233 * sunrpc/Makefile (others): Add rpcgen.
19234 ($(objpfx)rpcgen): Remove special build rule and dependency on
19235 libc.
19236 * sunrpc/rpcgen.c: New file.
19237
547b5e30
PE
192382012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19239
c524201a
PE
19240 [BZ #13673]
19241 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19242 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19243 * sysdeps/i386/crti.S: Likewise.
19244 * sysdeps/i386/crtn.S: Likewise.
19245 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19246 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19247 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19248 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19249 * sysdeps/sh/crti.S: Likewise.
19250 * sysdeps/sh/crtn.S: Likewise.
19251 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19252
7b6235f2
PE
19253 [BZ #13673]
19254 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19255 with URL.
19256 * locale/programs/locfile-kw.gperf: Likewise.
19257 * locale/programs/charmap-kw.h: Regenerated.
19258 * locale/programs/locfile-kw.h: Likewise.
19259
547b5e30
PE
19260 [BZ #13673]
19261 * intl/plural.y: Replace FSF snail mail address with URL.
19262 * intl/plural.c: Regenerated.
19263
5f0a5dae
RH
192642012-03-09 Richard Henderson <rth@twiddle.net>
19265
19266 * include/math_private.h: Remove file.
19267 * math/math_private.h: Move file ...
19268 * sysdeps/generic/math_private.h: ... here.
19269
b8c03620
RH
19270 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19271 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19272 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19273
4e234f5d 19274 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19275 and <math_private.h>.
19276 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19277 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19278 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19279 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19280 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19281 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19282 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19284 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19285 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19287 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19290 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19291 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19300 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19301 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19305 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19306 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19307 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19308 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19309 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19310 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19311 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19312 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19313 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19314 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19315 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19316 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19317 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19318 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19319 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19320 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19321 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19322 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19323 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19324 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19325 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19326 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19327 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19341 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19342 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19343 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19344 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19345 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19346 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19350 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19351 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19354 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19355 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19356 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19358 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19360 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19361 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19363 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19364 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19365 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19366 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19367 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19368 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19369 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19370 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19371 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19372 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19373 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19374 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19375 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19376 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19377 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19378 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19379 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19380 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19381 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19382 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19383 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19384 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19385 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19386 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19387 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19388 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19389 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19390 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19391 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19392 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19393 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19394 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19395 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19396 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19397 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19398 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19399 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19400 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19401 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19402 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19403 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19404 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19405 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19406 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19407 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19408 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19409 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19410 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19411 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19412 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19413 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19414 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19415 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19416 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19417 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19418 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19419 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19420 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19421 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19422 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19423 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19424 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19425 * sysdeps/ieee754/k_standard.c: Likewise.
19426 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19429 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19430 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19432 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19435 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19437 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19438 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19439 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19440 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19441 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19442 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19443 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19444 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19445 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19446 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19447 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19448 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19449 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19450 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19451 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19452 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19453 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19454 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19455 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19456 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19457 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19458 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19459 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19460 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19461 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19462 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19463 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19467 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19468 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19469 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19470 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19471 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19472 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19473 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19474 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19475 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19476 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19477 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19478 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19479 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19480 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19481 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19482 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19483 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19484 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19485 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19486 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19487 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19488 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19490 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19491 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19512 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19541 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19544 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19545 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19546 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19548 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19553 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19558 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19569 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19574 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19575 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19576 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19585 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19586 * sysdeps/ieee754/s_lib_version.c: Likewise.
19587 * sysdeps/ieee754/s_matherr.c: Likewise.
19588 * sysdeps/ieee754/s_signgam.c: Likewise.
19589 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19590 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19591 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19592 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19593 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19594 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19595 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19596 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19597 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19598 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19599 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19600 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19601 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19602 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19603 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19604 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19605 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19606 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19607 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19608 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19610
1991fa03
JM
196112012-03-09 Joseph Myers <joseph@codesourcery.com>
19612
19613 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19614 * sunrpc/rpc_main.c: Likewise.
19615 * sunrpc/rpc_svcout.c: Likewise.
19616
60d6f5a6
DM
196172012-03-09 David S. Miller <davem@davemloft.net>
19618
19619 * include/math_private.h: New file.
19620
4962050e
JM
196212012-03-09 Joseph Myers <joseph@codesourcery.com>
19622
02a6f887
JM
19623 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19624 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19625 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19626 from <bits/socket_type.h>.
19627 (enum __socket_type): Don't define here.
19628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19630 bits/socket_type.h.
19631
c6e013c1
JM
19632 [BZ #13566]
19633 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19634 checking __USE_GNU.
19635
4962050e
JM
19636 * Makerules ($(inst_includedir)/%.h): New rule.
19637 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19638 (install-others): Remove variable setting.
19639 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19640
38842f45
RH
196412012-03-08 Richard Henderson <rth@twiddle.net>
19642
67bb6da6
RH
19643 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19644 from macro to inline function; merge with the
19645 !__LIBC_INTERNAL_MATH_INLINES version.
19646 (__ieee754_sqrtf): Likewise.
19647
15194b4b
RH
19648 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19649 to inline function.
19650 (__rintf, __floor, __floorf): Likewise.
19651
64e21ede
RH
19652 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19653 macro to inline function.
19654 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19655
38842f45
RH
19656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19657 not <math/math_private.h>.
19658
c64bf5fe
DM
196592012-03-08 David S. Miller <davem@davemloft.net>
19660
19661 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19662 copyright year.
19663 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19664
82d86f28
TS
196652012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19666
19667 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19668 normalization.
19669 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19670 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19671
aea5d727
UD
196722012-03-08 Ulrich Drepper <drepper@gmail.com>
19673
19674 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19675 be defined individually, they must be defined as a block. Define
19676 S for printing a string instead of hidint the different by using a
19677 macro for adding the 'l'.
19678 * stdio-common/tst-fphex-wide.c: Adjust.
19679
70bca0a3
MP
196802012-03-07 Marek Polacek <polacek@redhat.com>
19681
19682 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19683
65b81130
MP
196842012-03-08 Marek Polacek <polacek@redhat.com>
19685
19686 [BZ #13806]
19687 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19688 * stdio-common/tst-fphex.c: Define a few macros to make the
19689 test reusable. Use them.
19690 * stdio-common/tst-fphex-wide.c: New file.
19691
07037eeb
JM
196922012-03-08 Joseph Myers <joseph@codesourcery.com>
19693
a7a93d50
JM
19694 [BZ #6911]
19695 * manual/macros.texi (gnusystems): New macro.
19696 (nongnusystems): Likewise.
19697 (gnulinuxhurdsystems): Likewise.
19698 (gnuhurdsystems): Likewise..
19699 (gnulinuxsystems): Likewise.
19700 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19701 variants of the GNU system, not "GNU system".
19702 * manual/conf.texi: Likewise.
19703 * manual/errno.texi: Likewise. Update example of errno macro
19704 expansion.
19705 * manual/filesys.texi: Likewise.
19706 (getumask): Document as specific to GNU/Hurd.
19707 * manual/install.texi: Likewise. Reword some references to
19708 GNU/Linux.
19709 * manual/intro.texi: Likewise.
19710 * manual/io.texi: Likewise.
19711 (File Name Portability): Detail which constraints are inapplicable
19712 to all GNU systems and which are only inapplicable to GNU/Hurd.
19713 * manual/job.texi: Likewise.
19714 * manual/llio.texi: Likewise.
19715 (O_NOCTTY): Document as present on GNU/Linux.
19716 * manual/maint.texi: Likewise.
19717 * manual/memory.texi: Likewise.
19718 * manual/pattern.texi: Likewise.
19719 * manual/pipe.texi: Likewise.
19720 * manual/process.texi: Likewise.
19721 * manual/resource.texi: Likewise.
19722 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19723 child on GNU/Hurd.
19724 * manual/setjmp.texi: Likewise.
19725 * manual/signal.texi: Likewise.
19726 * manual/startup.texi: Likewise.
19727 * manual/stdio.texi: Likewise.
19728 * manual/terminal.texi: Likewise.
19729 (ONLCR): Document as POSIX.
19730 (OXTABS): Document availability on GNU/Linux as XTABS.
19731 (ONOEOT): Document availability separately from other bits.
19732 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19733 * manual/time.texi: Likewise.
19734 * manual/users.texi: Likewise.
19735 * INSTALL: Regenerated.
19736 * sysdeps/gnu/errlist.c: Regenerated.
19737
07037eeb
JM
19738 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19739 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19740 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19741 puts.
19742 * configure: Regenerated.
19743
d1d3431a
JM
197442012-03-07 Joseph Myers <joseph@codesourcery.com>
19745
af6a1e37
JM
19746 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19747 default includes instead of AC_HEADER_CHECK.
19748 * sysdeps/i386/configure: Regenerated.
19749
d1d3431a
JM
19750 [BZ #10716]
19751 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19752 * math/s_cacoshf.c (__cacoshf): Likewise.
19753 * math/s_cacoshl.c (__cacoshl): Likewise.
19754 * math/s_casinh.c (__casinh): Set signs of result from argument.
19755 * math/s_casinhf.c (__casinhf): Likewise.
19756 * math/s_casinhl.c (__casinhl): Likewise.
19757 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19758 (casinh_test): Add more tests.
19759 * sysdeps/i386/fpu/libm-test-ulps: Update.
19760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19761
482ff4da
UD
197622012-03-07 Ulrich Drepper <drepper@gmail.com>
19763
872fda05
UD
19764 * po/zh_TW.po: Update from translation team.
19765
a4300c7a
UD
19766 * login/Makefile (distribute): Remove variable.
19767 * catgets/Makefile: Likewise.
19768 * mach/Makefile: Likewise.
19769 * malloc/Makefile: Likewise.
19770 * misc/Makefile: Likewise.
19771 * iconv/Makefile: Likewise.
19772 * nscd/Makefile: Likewise.
19773 * hurd/Makefile: Likewise.
19774 * manual/Makefile: Likewise.
19775 * locale/Makefile: Likewise.
19776 * intl/Makefile: Likewise.
19777 * conform/Makefile: Likewise.
19778 * nss/Makefile: Likewise.
19779 * time/Makefile: Likewise.
19780 * soft-fp/Makefile: Likewise.
19781 * dirent/Makefile: Likewise.
19782 * gmon/Makefile: Likewise.
19783 * po/Makefile: Likewise.
19784 * rt/Makefile: Likewise.
19785 * socket/Makefile: Likewise.
19786 * math/Makefile: Likewise.
19787 * signal/Makefile: Likewise.
19788 * debug/Makefile: Likewise.
19789 * elf/Makefile: Likewise.
19790 * timezone/Makefile: Likewise.
19791 * stdlib/Makefile: Likewise.
19792 * iconvdata/Makefile: Likewise.
19793 * sunrpc/Makefile: Likewise.
19794 * io/Makefile: Likewise.
19795 * argp/Makefile: Likewise.
19796 * inet/Makefile: Likewise.
19797 * hesiod/Makefile: Likewise.
19798 * grp/Makefile: Likewise.
19799 * csu/Makefile: Likewise.
19800 * wctype/Makefile: Likewise.
19801 * crypt/Makefile: Likewise.
19802 * libio/Makefile: Likewise.
19803 * string/Makefile: Likewise.
19804 * nis/Makefile: Likewise.
19805 * resolv/Makefile: Likewise.
19806 * stdio-common/Makefile: Likewise.
19807 * wcsmbs/Makefile: Likewise.
19808 * dlfcn/Makefile: Likewise.
19809 * posix/Makefile: Likewise.
19810
3b7c4e74 19811 [BZ #6959]
482ff4da
UD
19812 * timezone/Makefile: Don't install timezone files, just the programs
19813 and scripts.
19814
f72ed77d
UD
198152012-03-06 Ulrich Drepper <drepper@gmail.com>
19816
a000466f
UD
19817 * nss/databases.def: Add missing gshadow entry.
19818
f72ed77d
UD
19819 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19820
a53b7a4e
MP
198212012-03-06 Marek Polacek <polacek@redhat.com>
19822
19823 [BZ #13726]
19824 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19825 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19826 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19827 * stdio-common/tst-long-dbl-fphex.c: New file.
19828
e9258400
DM
198292012-03-06 David S. Miller <davem@davemloft.net>
19830
19831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19832 (set_obp_int): New function.
19833 (get_obp_int): New function.
19834 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19836 Avoid unused variable warnings on 'val' and use builtin_expect.
19837 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19838 __builtin_expect.
e9258400
DM
19839 (INLINE_CLONE_SYSCALL): Likewise.
19840
3bd2c723
DM
198412012-03-05 David S. Miller <davem@davemloft.net>
19842
19843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19844
bbb78d03
AS
198452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19846
884c5db4
AS
19847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19848
bbb78d03
AS
19849 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19850 only for |x| >= 40.
19851 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19852
1c9f702a 198532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19854
19855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19856 Replace gettimeofday with __vdso_gettimeofday.
19857
7be16f82
RM
19858 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19859 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19860 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19861
19862 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19863 time with __vdso_time.
19864
ed58a00f
JM
198652012-03-05 Joseph Myers <joseph@codesourcery.com>
19866
19867 * manual/lang.texi (size_t): Note types to which size_t may be
19868 equivalent with the GNU C Library, but do not describe when
19869 differences between them are significant.
19870
30ee4ced
AJ
198712012-03-05 Andreas Jaeger <aj@suse.de>
19872
19873 * sysdeps/i386/fpu/libm-test-ulps: Update.
19874
b7cd39e8
JM
198752012-03-05 Joseph Myers <joseph@codesourcery.com>
19876
19877 [BZ #3976]
19878 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19879 (__ieee754_pow): Save and restore rounding mode and use
19880 round-to-nearest for main computations.
19881 * math/libm-test.inc (pow_test_tonearest): New function.
19882 (pow_test_towardzero): Likewise.
19883 (pow_test_downward): Likewise.
19884 (pow_test_upward): Likewise.
19885 (main): Call the new functions.
19886 * sysdeps/i386/fpu/libm-test-ulps: Update.
19887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19888
19889 [BZ #3976]
19890 * math/libm-test.inc (cosh_test_tonearest): New function.
19891 (cosh_test_towardzero): Likewise.
19892 (cosh_test_downward): Likewise.
19893 (cosh_test_upward): Likewise.
19894 (sinh_test_tonearest): Likewise.
19895 (sinh_test_towardzero): Likewise.
19896 (sinh_test_downward): Likewise.
19897 (sinh_test_upward): Likewise.
19898 (main): Call the new functions.
19899 * sysdeps/i386/fpu/libm-test-ulps: Update.
19900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19901
6c6a98c9
TV
199022012-03-05 Tom de Vries <tom@codesourcery.com>
19903
19904 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19905 default stack guard is set in last bytes.
19906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19907
21bb2d2e 199082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19909
21bb2d2e 19910 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19911
21bb2d2e
AJ
19912 [BZ #13656]
19913 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19914 possibly allocate from heap instead of stack.
19915 * stdio-common/bug-vfprintf-nargs.c: New file.
19916 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19917
c6922934
AS
199182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19919
19920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19921
bc957d53
MP
199222012-03-03 Marek Polacek <polacek@redhat.com>
19923
19924 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19925 * math/math_private.h: Likewise.
19926 * stdlib/tst-strtod.c: Likewise.
19927 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19928 * sysdeps/x86_64/bits/atomic.h: Likewise.
19929
6358490d
DM
199302012-03-02 David S. Miller <davem@davemloft.net>
19931
19932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
19934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
19935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
19936 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
19937 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
19938 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
19939 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
19940
01ae168d
RM
199412012-03-02 Roland McGrath <roland@hack.frob.com>
19942
d9a17c07
RM
19943 [BZ #13792]
19944 * manual/examples/README: New file, says the example source files
19945 can be used under GPL>=2.
19946 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
19947 line containing just "*/".
19948 * manual/examples/add.c: Add copyright header (GPL>=2).
19949 * manual/examples/argp-ex1.c: Likewise.
19950 * manual/examples/argp-ex2.c: Likewise.
19951 * manual/examples/argp-ex3.c: Likewise.
19952 * manual/examples/argp-ex4.c: Likewise.
19953 * manual/examples/atexit.c: Likewise.
19954 * manual/examples/db.c: Likewise.
19955 * manual/examples/dir.c: Likewise.
19956 * manual/examples/dir2.c: Likewise.
19957 * manual/examples/execinfo.c: Likewise.
19958 * manual/examples/filecli.c: Likewise.
19959 * manual/examples/filesrv.c: Likewise.
19960 * manual/examples/fmtmsgexpl.c: Likewise.
19961 * manual/examples/genpass.c: Likewise.
19962 * manual/examples/inetcli.c: Likewise.
19963 * manual/examples/inetsrv.c: Likewise.
19964 * manual/examples/isockad.c: Likewise.
19965 * manual/examples/longopt.c: Likewise.
19966 * manual/examples/memopen.c: Likewise.
19967 * manual/examples/memstrm.c: Likewise.
19968 * manual/examples/mkfsock.c: Likewise.
19969 * manual/examples/mkisock.c: Likewise.
19970 * manual/examples/mygetpass.c: Likewise.
19971 * manual/examples/pipe.c: Likewise.
19972 * manual/examples/popen.c: Likewise.
19973 * manual/examples/rprintf.c: Likewise.
19974 * manual/examples/search.c: Likewise.
19975 * manual/examples/select.c: Likewise.
19976 * manual/examples/setjmp.c: Likewise.
19977 * manual/examples/sigh1.c: Likewise.
19978 * manual/examples/sigusr.c: Likewise.
19979 * manual/examples/stpcpy.c: Likewise.
19980 * manual/examples/strdupa.c: Likewise.
19981 * manual/examples/strftim.c: Likewise.
19982 * manual/examples/strncat.c: Likewise.
19983 * manual/examples/subopt.c: Likewise.
19984 * manual/examples/swapcontext.c: Likewise.
19985 * manual/examples/termios.c: Likewise.
19986 * manual/examples/testopt.c: Likewise.
19987 * manual/examples/testpass.c: Likewise.
19988 * manual/examples/timeval_subtract.c: Likewise.
19989
01ae168d
RM
19990 [BZ #13792]
19991 * manual/time.texi (Elapsed Time): Move timeval_subtract example
19992 function to ...
19993 * manual/timeval_subtract.c.texi: ... here, new file.
19994
49efa33d
DM
199952012-03-02 David S. Miller <davem@davemloft.net>
19996
19997 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
19998
28afd92d
JM
199992012-03-02 Joseph Myers <joseph@codesourcery.com>
20000
804360ed
JM
20001 [BZ #3976]
20002 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20003 (__sin): Save and restore rounding mode and use round-to-nearest
20004 for all computations.
20005 (__cos): Save and restore rounding mode and use round-to-nearest
20006 for all computations.
20007 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20008 <fenv.h>.
20009 (tan): Save and restore rounding mode and use round-to-nearest for
20010 all computations.
20011 * math/libm-test.inc (cos_test_tonearest): New function.
20012 (cos_test_towardzero): Likewise.
20013 (cos_test_downward): Likewise.
20014 (cos_test_upward): Likewise.
20015 (sin_test_tonearest): Likewise.
20016 (sin_test_towardzero): Likewise.
20017 (sin_test_downward): Likewise.
20018 (sin_test_upward): Likewise.
20019 (tan_test_tonearest): Likewise.
20020 (tan_test_towardzero): Likewise.
20021 (tan_test_downward): Likewise.
20022 (tan_test_upward): Likewise.
20023 (main): Call the new functions.
20024 * sysdeps/i386/fpu/libm-test-ulps: Update.
20025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20026
a6d06d7b
JM
20027 [BZ #10135]
20028 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20029 small n, then large n, before computing and testing k+n.
20030 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20031 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20032 Likewise.
20033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20034 Likewise.
20035 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20036 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20037 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20038 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20041 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20043 * math/libm-test.inc (scalbn_test): Add more tests.
20044 (scalbln_test): Likewise.
20045
07e12bb3
JM
20046 * manual/filesys.texi (mode_t): Describe constraints on size and
20047 signedness, not exact equivalence to a particular type.
20048 (ino_t): Likewise.
20049 (ino64_t): Likewise.
20050 (dev_t): Likewise.
20051 (nlink_t): Likewise.
20052 (blkcnt_t): Likewise.
20053 (blkcnt64_t): Likewise.
20054 * manual/llio.texi (off_t): Likewise.
20055
28afd92d
JM
20056 [BZ #3976]
20057 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20058 (__ieee754_exp): Save and restore rounding mode and use
20059 round-to-nearest for all computations.
20060 * math/libm-test.inc (exp_test_tonearest): New function.
20061 (exp_test_towardzero): Likewise.
20062 (exp_test_downward): Likewise.
20063 (exp_test_upward): Likewise.
20064 (main): Call the new functions.
20065 * sysdeps/i386/fpu/libm-test-ulps: Update.
20066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20067
b1eeb65d
CD
200682012-03-01 Chris Demetriou <cgd@google.com>
20069
20070 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20071 have predictable order.
20072
53362a4b
DM
200732012-03-01 David S. Miller <davem@davemloft.net>
20074
3c969083
DM
20075 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20076
759707de
DM
20077 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20078 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20079 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20080 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20081
dfdb8ff2
DM
20082 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20083 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20084 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20086 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20087 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20088 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20089 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20090 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20091
ead89f96
DM
20092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20093
7f66bd07
DM
20094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20095 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20096 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20097
53362a4b
DM
20098 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20099 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20100 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20101 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20102 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20105 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20106 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20107 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20108 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20111 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20112 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20114 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20115 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20116 * sysdeps/sparc/elf/configure: Regenerated.
20117
7b1902cb
JM
201182012-03-01 Joseph Myers <joseph@codesourcery.com>
20119
bec039bc
JM
20120 * configure.in (AS, LD): Require binutils 2.20 or later.
20121 * configure: Regenerated.
20122 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20123 as required minimum version.
20124 * INSTALL: Regenerated.
20125
7b1902cb
JM
20126 [BZ #2541]
20127 [BZ #4108]
20128 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20129 before squaring exponent.
20130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20131 bottom long double and 27 bits of top long double before squaring
20132 exponent.
20133 * math/libm-test.inc (erfc_test): Add more tests.
20134 * sysdeps/i386/fpu/libm-test-ulps: Update.
20135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20137
f775c276
KT
201382012-03-01 Kai Tietz <ktietz@redhat.com>
20139
20140 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20141 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20142 containing bit-fields.
20143 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20144 * soft-fp/single.h (_FP_UNION_S): Likewise.
20145 * soft-fp/double.h (_FP_UNION_D): Likewise.
20146
5b8a4d4a
JM
201472012-02-29 Joseph Myers <joseph@codesourcery.com>
20148
0bab47b6
JM
20149 [BZ #13786]
20150 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20151 not include ../strcmp.S.
20152 [USE_AS_STRNCASECMP_L]: Likewise.
20153 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20154 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20155 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20156 (__strncasecmp_l_ia32): Define as alias to
20157 __strncasecmp_l_nonascii.
20158
0fcad3e2
JM
20159 [BZ #5794]
20160 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20161 * sysdeps/i386/fpu/libm-test-ulps: Update.
20162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20163
5b8a4d4a
JM
20164 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20166
8fdceb2e
JL
201672012-02-29 Jeff Law <law@redhat.com>
20168
20169 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20170 out of bounds read.
20171
1f393a11
MP
201722012-02-29 Marek Polacek <polacek@redhat.com>
20173
20174 [BZ #13706]
20175 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20176 * elf/Makefile: Add rules to run tst-unused-dep.out.
20177
8847f037
DM
201782012-02-28 David S. Miller <davem@davemloft.net>
20179
20180 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20181 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20184 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20185 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20186
169d7f11
JM
201872012-02-29 Joseph Myers <joseph@codesourcery.com>
20188
20189 * math/libm-test.inc (llround_test): Move one test from
20190 lround_test. Use TEST_f_L in moved test.
20191 (lround_test): Move misplaced test to llround_test. Add testcase
20192 from bug 2561.
20193
39adf059
UD
201942012-02-28 Ulrich Drepper <drepper@gmail.com>
20195
20196 * sysdeps/x86_64/fpu/e_expf.S: New file.
20197 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20198
71b5d1c5
SB
201992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20200
20201 [BZ #13637]
20202 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20203 of remain_len that may cause incomplete multi-byte character and
20204 false match.
20205 * posix/bug-regex33.c: New file.
20206 * posix/Makefile (tests): Add bug-regex33.
20207
1f77f049
JM
202082012-02-28 Joseph Myers <joseph@codesourcery.com>
20209
20210 * manual/macros.texi: New file.
20211 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20212 * manual/libc.texinfo: Include macros.texi.
20213 * manual/creatute.texi: Likewise.
20214 * manual/install.texi: Likewise.
20215 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20216 @glibcadj{} in references to the GNU C Library.
20217 * manual/charset.texi: Likewise.
20218 * manual/conf.texi: Likewise.
20219 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20220 when not using those macros.
20221 * manual/creature.texi: Likewise.
20222 * manual/crypt.texi: Likewise.
20223 * manual/errno.texi: Likewise.
20224 * manual/filesys.texi: Likewise.
20225 * manual/header.texi: Likewise.
20226 * manual/install.texi: Likewise.
20227 * manual/intro.texi: Likewise.
20228 * manual/io.texi: Likewise.
20229 * manual/job.texi: Likewise.
20230 * manual/lang.texi: Likewise.
20231 * manual/libc.texiinfo: Likewise.
20232 * manual/llio.texi: Likewise.
20233 * manual/locale.texi: Likewise.
20234 * manual/maint.texi: Likewise.
20235 * manual/math.texi: Likewise.
20236 * manual/memory.texi: Likewise.
20237 * manual/message.texi: Likewise.
20238 * manual/nss.texi: Likewise.
20239 * manual/pattern.texi: Likewise.
20240 * manual/process.texi: Likewise.
20241 * manual/resource.texi: Likewise.
20242 * manual/search.texi: Likewise.
20243 * manual/setjmp.texi: Likewise.
20244 * manual/signal.texi: Likewise.
20245 * manual/socket.texi: Likewise.
20246 * manual/startup.texi: Likewise.
20247 * manual/stdio.texi: Likewise.
20248 * manual/string.texi: Likewise.
20249 * manual/sysinfo.texi: Likewise.
20250 * manual/syslog.texi: Likewise.
20251 * manual/terminal.texi: Likewise.
20252 * manual/time.texi: Likewise.
20253 * manual/users.texi: Likewise.
20254 * INSTALL: Regenerated.
20255 * NOTES: Regenerated.
d40c5d54 20256 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20257
450bf206
AS
202582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20259
20260 * include/dirent.h: Include <dirstream.h> before
20261 <dirent/dirent.h>.
20262
741a235b
DM
202632012-02-28 David S. Miller <davem@davemloft.net>
20264
20265 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20266 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20267 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20268 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20269
d6b5aa58
DM
202702012-02-27 David S. Miller <davem@davemloft.net>
20271
1aff59a3
DM
20272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20274 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20275 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20276
d6b5aa58
DM
20277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20278 frame pointer instead of stack pointer relative arg slot.
20279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20280 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20281 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20282
433f48bf
CD
202832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20284
20285 [BZ #3992]
20286 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20287
d674b76d
DM
202882012-02-27 David S. Miller <davem@davemloft.net>
20289
20290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20294 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20295 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20296 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20297 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20298
0e7727f7
JM
202992012-02-27 Joseph Myers <joseph@codesourcery.com>
20300
20301 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20302 later. Allow versions 5-9.
43be4ca2 20303 * configure: Regenerated.
0e7727f7
JM
20304 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20305 required minimum version and 4.6 as recommended version. Do not
20306 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20307 * INSTALL: Regenerated.
0e7727f7 20308
a78bc654
DM
203092012-02-27 David S. Miller <davem@davemloft.net>
20310
428d5830
DM
20311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20315 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20316 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20317 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20318 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20319
a78bc654
DM
20320 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20321 manipulate bits before adding and subtracting TWO112[sx].
20322 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20323
4579f81c
RM
203242012-02-27 Roland McGrath <roland@hack.frob.com>
20325
36c8acb4
RM
20326 [BZ #13775]
20327 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20328 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20329 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20330 being in POSIX, because they are in 1003.1-2008.
20331
84ad622b
RM
20332 * rt/tst-aio.c: Include <fcntl.h>.
20333 * rt/tst-aio7.c: Likewise.
20334 * rt/tst-aio64.c: Likewise.
20335
4579f81c
RM
20336 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20337
abd923db
JM
203382012-02-27 Joseph Myers <joseph@codesourcery.com>
20339
20340 * manual/install.texi (--with-headers): Describe headers as
20341 interface headers, not private headers.
20342 (Specific advice for GNU/Linux systems): Describe use of headers
20343 from "make headers_install", not private headers from older
20344 kernels.
43be4ca2 20345 * INSTALL: Regenerated.
abd923db
JM
20346 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20347 Change to 2.6.19.
20348 * sysdeps/unix/sysv/linux/configure: Regenerated.
20349
6664049b
JM
20350 * manual/llio.texi (fclean): Remove documentation.
20351
bb8b6697
JM
20352 * manual/Makefile (libc-texi-generated): New variable. Include
20353 version.texi.
20354 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20355 $(libc-texi-generated), not duplicated list of files.
20356 (version.texi, stamp-version): New rules.
20357 (realclean): Remove $(libc-texi-generated), not individual files
20358 from that list. Do not remove dir-add.texinfo.
20359 * manual/libc.texinfo: Comment out uses of edition numbers and
20360 references to printed manual. Remove last-updated dates.
20361 (EDITION): Comment out.
20362 (ISBN): Likewise.
20363 (VERSION, UPDATED): Remove.
20364 (version.texi): Include.
20365
12e5c3b9
AS
203662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20367
20368 * sysdeps/posix/spawni.c: Include <signal.h>.
20369 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20370 * sysdeps/pthread/aio_fsync.c: Likewise.
20371
4efeffc1 203722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20373
ba63ba08
UD
20374 * conform/Makefile (tests): Run only when not cross-compiling and
20375 when fast-check is not defined.
20376
d94a4670
UD
20377 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20378 * conform/data/limits.h-data: Fixes for POSIX2008.
20379 * conform/run-conformtest.sh: Run all tests.
20380 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20381 headers.
20382 * include/bits/dlfcn.h: Likewise.
20383 * include/langinfo.h: Likewise.
20384 * include/monetary.h: Likewise.
20385 * include/sys/poll.h: Likewise.
20386
20387 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20388 for __USE_GNU.
20389 * posix/spawn.h: Define __need_sigset_t.
20390 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20391 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20392 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20393 to get sigevent_t only.
20394 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20395 only for __USE_GNU.
20396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20397 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20398 process_vm_writev only for __USE_GNU.
20399 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20400
20401 * conform/Makefile: For now ignore errors from run-conformtest.
20402 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20403 POSIX to avoid namespace pollution. Don't prepend headers.
20404 * conform/data/aio.h-data: Fixes for POSIX testing.
20405 * conform/data/fcntl.h-data: Likewise.
20406 * conform/data/glob.h-data: Likewise.
20407 * conform/data/grp.h-data: Likewise.
20408 * conform/data/pthread.h-data: Likewise.
20409 * conform/data/pwd.h-data: Likewise.
20410 * conform/data/signal.h-data: Likewise.
20411 * conform/data/spawn.h-data: Likewise.
20412 * conform/data/stdio.h-data: Likewise.
20413 * conform/data/stdlib.h-data: Likewise.
20414 * conform/data/stropts.h-data: Likewise.
20415 * conform/data/sys/mman.h-data: Likewise.
20416 * conform/data/sys/stat.h-data: Likewise.
20417 * conform/data/sys/types.h-data: Likewise.
20418 * conform/data/sys/wait.h-data: Likewise.
20419 * conform/data/time.h-data: Likewise.
20420 * conform/data/unistd.h-data: Likewise.
20421 * conform/data/utime.h-data: Likewise.
20422
20423 * io/sys/stat.h: fchmod was always in POSIX.
20424 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20425 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20426 * rt/aio.h: Define __need_timespec before including <time.h>.
20427 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20428 struct. Add forward declaration of pthread_attr_t and use it in
20429 sigevent.
20430 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20432 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20433 always remove CLK_TCK definition.
20434
c20105c3
AS
204352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20436
20437 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20438
7a270350
UD
204392012-02-25 Ulrich Drepper <drepper@gmail.com>
20440
31341567
UD
20441 * conform/run-conformtest.sh: New file.
20442 * conform/Makefile: Run run-conformtest for tests.
20443 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20444 support.
20445
20446 * conform/data/uchar.h-data: New file.
20447 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20448 * conform/data/arpa/inet.h-data: Likewise.
20449 * conform/data/assert.h-data: Likewise.
20450 * conform/data/complex.h-data: Likewise.
20451 * conform/data/cpio.h-data: Likewise.
20452 * conform/data/ctype.h-data: Likewise.
20453 * conform/data/dirent.h-data: Likewise.
20454 * conform/data/dlfcn.h-data: Likewise.
20455 * conform/data/errno.h-data: Likewise.
20456 * conform/data/fcntl.h-data: Likewise.
20457 * conform/data/float.h-data: Likewise.
20458 * conform/data/fmtmsg.h-data: Likewise.
20459 * conform/data/fnmatch.h-data: Likewise.
20460 * conform/data/ftw.h-data: Likewise.
20461 * conform/data/glob.h-data: Likewise.
20462 * conform/data/grp.h-data: Likewise.
20463 * conform/data/iconv.h-data: Likewise.
20464 * conform/data/inttypes.h-data: Likewise.
20465 * conform/data/langinfo.h-data: Likewise.
20466 * conform/data/libgen.h-data: Likewise.
20467 * conform/data/limits.h-data: Likewise.
20468 * conform/data/locale.h-data: Likewise.
20469 * conform/data/math.h-data: Likewise.
20470 * conform/data/monetary.h-data: Likewise.
20471 * conform/data/mqueue.h-data: Likewise.
20472 * conform/data/ndbm.h-data: Likewise.
20473 * conform/data/net/if.h-data: Likewise.
20474 * conform/data/netdb.h-data: Likewise.
20475 * conform/data/netinet/in.h-data: Likewise.
20476 * conform/data/nl_types.h-data: Likewise.
20477 * conform/data/poll.h-data: Likewise.
20478 * conform/data/pthread.h-data: Likewise.
20479 * conform/data/pwd.h-data: Likewise.
20480 * conform/data/regex.h-data: Likewise.
20481 * conform/data/sched.h-data: Likewise.
20482 * conform/data/search.h-data: Likewise.
20483 * conform/data/semaphore.h-data: Likewise.
20484 * conform/data/setjmp.h-data: Likewise.
20485 * conform/data/signal.h-data: Likewise.
20486 * conform/data/spawn.h-data: Likewise.
20487 * conform/data/stdarg.h-data: Likewise.
20488 * conform/data/stdio.h-data: Likewise.
20489 * conform/data/stdlib.h-data: Likewise.
20490 * conform/data/string.h-data: Likewise.
20491 * conform/data/strings.h-data: Likewise.
20492 * conform/data/stropts.h-data: Likewise.
20493 * conform/data/sys/ipc.h-data: Likewise.
20494 * conform/data/sys/mman.h-data: Likewise.
20495 * conform/data/sys/msg.h-data: Likewise.
20496 * conform/data/sys/resource.h-data: Likewise.
20497 * conform/data/sys/select.h-data: Likewise.
20498 * conform/data/sys/sem.h-data: Likewise.
20499 * conform/data/sys/shm.h-data: Likewise.
20500 * conform/data/sys/socket.h-data: Likewise.
20501 * conform/data/sys/stat.h-data: Likewise.
20502 * conform/data/sys/statvfs.h-data: Likewise.
20503 * conform/data/sys/time.h-data: Likewise.
20504 * conform/data/sys/timeb.h-data: Likewise.
20505 * conform/data/sys/times.h-data: Likewise.
20506 * conform/data/sys/types.h-data: Likewise.
20507 * conform/data/sys/uio.h-data: Likewise.
20508 * conform/data/sys/un.h-data: Likewise.
20509 * conform/data/sys/utsname.h-data: Likewise.
20510 * conform/data/sys/wait.h-data: Likewise.
20511 * conform/data/syslog.h-data: Likewise.
20512 * conform/data/tar.h-data: Likewise.
20513 * conform/data/termios.h-data: Likewise.
20514 * conform/data/utime.h-data: Likewise.
20515 * conform/data/utmpx.h-data: Likewise.
20516 * conform/data/varargs.h-data: Likewise.
20517 * conform/data/wchar.h-data: Likewise.
20518 * conform/data/wctype.h-data: Likewise.
20519 * conform/data/wordexp.h-data: Likewise.
20520
20521 * include/stropts.h: New file.
20522 * include/uchar.h: New file.
20523 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20524 * include/assert.h: Likewise.
20525 * include/ctype.h: Likewise.
20526 * include/dirent.h: Likewise.
20527 * include/dlfcn.h: Likewise.
20528 * include/fcntl.h: Likewise.
20529 * include/fnmatch.h: Likewise.
20530 * include/glob.h: Likewise.
20531 * include/grp.h: Likewise.
20532 * include/libio.h: Likewise.
20533 * include/locale.h: Likewise.
20534 * include/math.h: Likewise.
20535 * include/net/if.h: Likewise.
20536 * include/netdb.h: Likewise.
20537 * include/netinet/in.h: Likewise.
20538 * include/pthread.h: Likewise.
20539 * include/pwd.h: Likewise.
20540 * include/regex.h: Likewise.
20541 * include/sched.h: Likewise.
20542 * include/search.h: Likewise.
20543 * include/setjmp.h: Likewise.
20544 * include/signal.h: Likewise.
20545 * include/stdio.h: Likewise.
20546 * include/stdlib.h: Likewise.
20547 * include/string.h: Likewise.
20548 * include/sys/cdefs.h: Likewise.
20549 * include/sys/mman.h: Likewise.
20550 * include/sys/msg.h: Likewise.
20551 * include/sys/resource.h: Likewise.
20552 * include/sys/select.h: Likewise.
20553 * include/sys/socket.h: Likewise.
20554 * include/sys/stat.h: Likewise.
20555 * include/sys/statvfs.h: Likewise.
20556 * include/sys/time.h: Likewise.
20557 * include/sys/times.h: Likewise.
20558 * include/sys/uio.h: Likewise.
20559 * include/sys/utsname.h: Likewise.
20560 * include/sys/wait.h: Likewise.
20561 * include/termios.h: Likewise.
20562 * include/time.h: Likewise.
20563 * include/ulimit.h: Likewise.
20564 * include/unistd.h: Likewise.
20565 * include/utime.h: Likewise.
20566 * include/wchar.h: Likewise.
20567 * include/wctype.h: Likewise.
20568 * include/wordexp.h: Likewise.
20569
20570 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20571
7a270350
UD
20572 * time/time.h: TIME_UTC must be a macro.
20573 Make timespec_get available for ISO C11 only as well.
20574
7724defc
UD
205752012-02-24 Ulrich Drepper <drepper@gmail.com>
20576
20577 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20578 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20579
6b1d1d46
JM
205802012-02-24 Joseph Myers <joseph@codesourcery.com>
20581
20582 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20583
0f8bbd69
JM
205842012-02-24 Joseph Myers <joseph@codesourcery.com>
20585
20586 * manual/texinfo.tex: Update to version 2012-01-19.16.
20587
66ab80bc
JM
205882012-02-24 Joseph Myers <joseph@codesourcery.com>
20589
20590 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20591
74981cc5
RM
205922012-02-24 Roland McGrath <roland@hack.frob.com>
20593
ee968201
RM
20594 [BZ #13738]
20595 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20596 * manual/fdl-1.3.texi: New file.
20597 * manual/fdl-1.1.texi: File removed.
20598
74981cc5
RM
20599 [BZ #13738]
20600 * manual/libc.texinfo (FDL_VERSION): New @set.
20601 Use it for mention of FDL in cover text.
20602 (Documentation License): Use it in @include file name.
20603
7bb764bc
JM
206042012-02-22 Joseph Myers <joseph@codesourcery.com>
20605 Roland McGrath <roland@hack.frob.com>
20606
20607 [BZ #5461]
20608 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20609 not LONG_LONG_MAX and LONG_LONG_MIN.
20610 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20611 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20612 name.
20613 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20614
6cbeae47
JM
206152012-02-22 Joseph Myers <joseph@codesourcery.com>
20616
20617 [BZ #2547]
20618 [BZ #11365]
20619 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20620 manipulate bits before adding and subtracting TWO23[sx].
20621 * math/libm-test.inc (nearbyint_test): Add more tests.
20622
fe45ce09
JM
206232012-02-22 Joseph Myers <joseph@codesourcery.com>
20624
20625 [BZ #2548]
20626 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20627 bits before adding and subtracting TWO23[sx].
20628 * math/libm-test.inc (rint_test): Add more tests.
20629 (rint_test_tonearest): Likewise.
20630 (rint_test_towardzero): Likewise.
20631 (rint_test_downward): Likewise.
20632 (rint_test_upward: Likewise.
20633
ff3b3d82
JM
206342012-02-22 Joseph Myers <joseph@codesourcery.com>
20635
20636 [BZ #10110]
20637 * include/stdc-predef.h: New file. Extracted from features.h.
20638 * include/features.h: Include stdc-predef.h.
20639 * Makefile (headers): Add stdc-predef.h.
20640 * CONFORMANCE (Compiler limitations): Update.
20641
ef0aab35
JM
206422012-02-22 Joseph Myers <joseph@codesourcery.com>
20643
20644 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20645
58639409
DM
206462012-02-21 David S. Miller <davem@davemloft.net>
20647
20648 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20649 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20650
c0e70b25
DM
206512012-02-20 David S. Miller <davem@davemloft.net>
20652
20653 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20654 using a normal save/restore sequence, rather than allocating a
20655 dummy stack frame just to store a frame pointer and restore.
20656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20657
fb06851d
JM
206582012-02-21 Joseph Myers <joseph@codesourcery.com>
20659
20660 * manual/install.texi: Fix stray word in line-wrapped comment.
20661
7a8b71c3
DM
206622012-02-20 David S. Miller <davem@davemloft.net>
20663
d510c123
DM
20664 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20665 both binutils and gcc support GOTDATA.
20666
0722d7c2
DM
20667 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20668 "rd %pc" in the PIC register setup sequences.
20669
3d2b3019
DM
20670 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20671 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20672 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20673 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20674 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20679 (SYSCALL_ERROR_HANDLER): Likewise.
20680 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20681 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20683 (SYSCALL_ERROR_HANDLER): Likewise.
20684
c80098a9
DM
20685 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20686 (HAVE_GCC_GOTDATA): New.
20687 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20688 relocation support in both binutils and gcc.
20689 * sysdeps/sparc/elf/configure: Regenerate.
20690
3a2545a0
DM
20691 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20692 * sysdeps/sparc/sparc32/elf/configure: Delete.
20693 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20694 * sysdeps/sparc/sparc64/elf/configure: Delete.
20695 * sysdeps/sparc/elf/configure.in: New file.
20696 * sysdeps/sparc/elf/configure: Generate.
20697
7a8b71c3
DM
20698 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20699 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20700 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20701 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20702 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20703
f1e86fca
JM
207042012-02-21 Joseph Myers <joseph@codesourcery.com>
20705
20706 * manual/install.texi: Do not mention specific glibc version
20707 numbers.
20708 * manual/libc.texinfo (VERSION, UPDATED): Update.
20709 (@copying): Use @copyright{} and range of years.
20710
0e7dfaef
JM
207112012-02-21 Joseph Myers <joseph@codesourcery.com>
20712
20713 [BZ #13695]
20714 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20715 [crti.S not in sysdirs] (generated): Do not append.
20716 [crti.S not in sysdirs] (omit-deps): Likewise.
20717 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20718 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20719 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20720 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20721 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20722 Likewise.
20723 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20724 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20725 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20726 * csu/defs.awk: Remove file.
20727 * sysdeps/generic/initfini.c: Likewise.
20728 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20729 variable.
20730 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20731 Likewise.
20732
599af3ca
JM
207332012-02-20 Joseph Myers <joseph@codesourcery.com>
20734
20735 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20736 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20737 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20738 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20739 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20740 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20741 <bits/epoll.h>.
20742 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20743 (__EPOLL_PACKED): Define to empty if not defined by
20744 <bits/epoll.h>.
20745 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20747 bits/epoll.h.
20748
0e499750
JM
207492012-02-20 Joseph Myers <joseph@codesourcery.com>
20750
20751 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20752 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20753 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20754 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20755 <bits/timerfd.h>.
20756 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20758 bits/timerfd.h.
20759
5ad91f6e
JM
207602012-02-20 Joseph Myers <joseph@codesourcery.com>
20761
20762 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20763 in C locale.
20764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20765 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20766 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20768
06b99b02
AJ
207692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20770
20771 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20773
7638c0fd
AS
207742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20775
20776 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20777 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20778 defined.
20779 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20780 Likewise.
20781 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20782 entry for 2.16.
20783
92221550
AJ
207842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20785
20786 * math/w_acos.c: Use non-signaling floating-point comparisons.
20787 * math/w_acosf.c: Likewise.
20788 * math/w_acosh.c: Likewise.
20789 * math/w_acoshf.c: Likewise.
20790 * math/w_acoshl.c: Likewise.
20791 * math/w_acosl.c: Likewise.
20792 * math/w_asin.c: Likewise.
20793 * math/w_asinf.c: Likewise.
20794 * math/w_asinl.c: Likewise.
20795 * math/w_atanh.c: Likewise.
20796 * math/w_atanhf.c: Likewise.
20797 * math/w_atanhl.c: Likewise.
20798 * math/w_exp2.c: Likewise.
20799 * math/w_exp2f.c: Likewise.
20800 * math/w_exp2l.c: Likewise.
20801 * math/w_j0.c: Likewise.
20802 * math/w_j0f.c: Likewise.
20803 * math/w_j0l.c: Likewise.
20804 * math/w_j1.c: Likewise.
20805 * math/w_j1f.c: Likewise.
20806 * math/w_j1l.c: Likewise.
20807 * math/w_jn.c: Likewise.
20808 * math/w_jnf.c: Likewise.
20809 * math/w_log.c: Likewise.
20810 * math/w_log10.c: Likewise.
20811 * math/w_log10f.c: Likewise.
20812 * math/w_log10l.c: Likewise.
20813 * math/w_log2.c: Likewise.
20814 * math/w_log2f.c: Likewise.
20815 * math/w_log2l.c: Likewise.
20816 * math/w_logf.c: Likewise.
20817 * math/w_logl.c: Likewise.
20818 * math/w_sqrt.c: Likewise.
20819 * math/w_sqrtf.c: Likewise.
20820 * math/w_sqrtl.c: Likewise.
20821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20822 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20824 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20825 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20826
ebaf36eb
JM
208272012-02-19 Joseph Myers <joseph@codesourcery.com>
20828
20829 [BZ #9739]
20830 * manual/string.texi (strnlen): Use correct parameter name in
20831 equivalent expression.
20832
71c254a6
JM
208332012-02-19 Joseph Myers <joseph@codesourcery.com>
20834
20835 [BZ #11174]
20836 * manual/users.texi (seteuid): Consistently use neweuid for
20837 argument name.
20838
16d2c631
JM
208392012-02-19 Joseph Myers <joseph@codesourcery.com>
20840
20841 [BZ #13704]
20842 * manual/nss.texi (Services in the NSS configuration): Correct
20843 list of services in example configuration file.
20844
cd837b09
NB
208452012-02-19 Nick Bowler <nbowler@draconx.ca>
20846
20847 [BZ #11322]
20848 * manual/arith.texi: Remove statements about negative zero
20849 behaving identically to zero.
20850
02c4bbad
JM
208512012-02-18 Joseph Myers <joseph@codesourcery.com>
20852
20853 [BZ #5993]
20854 * manual/install.texi: Do not document upgrading from libc5.
20855
366842e7
JM
208562012-02-18 Joseph Myers <joseph@codesourcery.com>
20857
20858 [BZ #4596]
20859 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20860
dd54084d
DM
208612012-02-18 David S. Miller <davem@davemloft.net>
20862
20863 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20864 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20865 %o7 across the call.
20866 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20867 instead.
20868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20869 SETUP_PIC_REG_LEAF.
20870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20871 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20872 * sysdeps/sparc/crtn.S: Likewise.
20873
2bcc53a3
UD
208742012-02-17 Ulrich Drepper <drepper@gmail.com>
20875
20876 * aout/Makefile: Remove.
20877
09c093b5
RK
208782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20879
20880 [BZ #13058]
20881 * manual/examples/argp-ex1.c (main): Format definition in GNU
20882 style.
20883 * manual/examples/argp-ex2.c (main): Likewise.
20884 * manual/examples/argp-ex3.c (main): Likewise.
20885 * manual/examples/argp-ex4.c (main): Likewise.
20886 * manual/examples/longopt.c (main): Use new-style prototype
20887 definition.
20888 * manual/examples/strncat.c (main): Specify return type and use
20889 (void) for arguments.
20890 * manual/examples/subopt.c (main): Use char **argv argument.
20891
2ee633a2
JM
208922012-02-17 Joseph Myers <joseph@codesourcery.com>
20893
20894 [BZ #5077]
20895 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20896 rounding modes.
20897
0520adde
FB
208982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20899
20900 [BZ #6907]
20901 * manual/string.texi (strchr): Change when strchrnul is
20902 recommended.
20903
3f4081cd
DGM
209042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20905
20906 [BZ #174]
20907 * manual/locale.texi (setlocale): Document LOCPATH.
20908
d1b10e78
JM
209092012-02-17 Joseph Myers <joseph@codesourcery.com>
20910
20911 [BZ #10210]
20912 * manual/process.texi (execle): Move @dots{} before last argument.
20913
79c6869c
PB
209142012-02-17 Paul Bolle <pebolle@tiscali.nl>
20915
20916 [BZ #12047]
20917 * manual/charset.texi (Generic Charset Conversion): Fix typo
20918 (LC_TYPE -> LC_CTYPE).
20919
cc6e48bc
NB
209202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20921
20922 [BZ #5805]
20923 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20924 (scalbnf): Likewise.
20925 (scalbnl): Likewise.
20926 (scalbln): Likewise.
20927 (scalblnf): Likewise.
20928 (scalblnl): Likewise.
20929 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20930 (vwarnx): Likewise.
20931 (verr): Likewise.
20932 (verrx): Likewise.
20933 * manual/filesys.texi (telldir): Use braces around return type.
20934 * manual/llio.texi (mmap): Add space after comma.
20935 (mmap64): Likewise.
20936 * manual/math.texi (jn): Use @var{} on parameter names.
20937 (jnf): Likewise.
20938 (jnl): Likewise.
20939 (yn): Likewise.
20940 (ynf): Likewise.
20941 (ynl): Likewise.
20942 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
20943 line.
20944 * manual/resource.texi (ulimit): Use @dots{} instead of literal
20945 "...".
20946 (sched_get_priority_min): Remove semicolon on @deftypefun line.
20947 (sched_get_priority_max): Likewise.
20948 * manual/signal.texi (sigvec): Add space after comma.
20949 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
20950 names.
20951 (if_indextoname): Likewise.
20952 (if_freenameindex): Likewise.
20953 (sendto): Use ',' instead of '.' in prototype.
20954 * manual/startup.texi (syscall): Use @dots{} instead of literal
20955 "...".
20956 * manual/stdio.texi (__fpending): Separate initial words of
20957 paragraph from @deftypefun line.
20958 * manual/syslog.texi (syslog): Use @dots{} instead of literal
20959 "...".
20960 (vsyslog): Use @var{} on parameter names.
20961 * manual/terminal.texi (stty): Use @var{} on parameter names.
20962 * manual/users.texi (getutmp): Use @var{} on parameter names.
20963 (getutmpx): Likewise.
20964
5b23062f
JM
209652012-02-17 Joseph Myers <joseph@codesourcery.com>
20966
20967 [BZ #6884]
20968 * manual/stdio.texi (fopen): Fix typos in description of
20969 ",ccs=STRING".
20970
8dee4833
AJ
209712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
20972
20973 [BZ #4026]
20974 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
20975 get clock_id definition.
20976
9078ce93
TS
209772012-02-17 Thomas Schwinge <thomas@schwinge.name>
20978
20979 [BZ #4822]
20980 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
20981 (madvise): Cast every argument to void on its own.
20982
3835c55f
JM
209832012-02-17 Joseph Myers <joseph@codesourcery.com>
20984
20985 [BZ #9902]
20986 * manual/startup.texi (Exit Status): Fix typo.
20987
35c47e37
JM
209882012-02-17 Joseph Myers <joseph@codesourcery.com>
20989
20990 [BZ #10140]
20991 * manual/examples/argp-ex1.c: Include <stdlib.h>.
20992 * manual/examples/argp-ex2.c: Likewise.
20993 * manual/examples/argp-ex3.c: Likewise.
20994
e3b69ca7
RH
209952012-02-16 Richard Henderson <rth@redhat.com>
20996
20997 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
20998 * sysdeps/s390/s390-32/initfini.c: Remove.
20999 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21000 * sysdeps/s390/s390-64/initfini.c: Remove.
21001
df83af67
KK
210022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21003
21004 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21005 compiler output for sysdeps/generic/initfini.c.
21006 * sysdeps/sh/elf/initfini.c: Remove file.
21007
f63f3380
DM
210082012-02-16 David S. Miller <davem@davemloft.net>
21009
fb59b3a4
DM
21010 [BZ #11494]
21011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21012
f63f3380
DM
21013 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21014 * sysdeps/sparc/crti.S: New file.
21015 * sysdeps/sparc/crtn.S: New file.
21016 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21017 * sysdeps/sparc/sparc64/Makefile: Likewise.
21018
df6a4a4a
MF
210192012-02-15 Mike Frysinger <vapier@gentoo.org>
21020
6dd8f3dc 21021 [BZ #3335]
df6a4a4a
MF
21022 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21023
1cac7236
RM
210242012-02-15 Roland McGrath <roland@hack.frob.com>
21025
d2c736f8
RM
21026 [BZ #4822]
21027 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21028
1cac7236
RM
21029 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21030 (write, read, close): Likewise.
21031 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21032
8e475601
JM
210332012-02-15 Joseph Myers <joseph@codesourcery.com>
21034
21035 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21036 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21037 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21038 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21039 <bits/signalfd.h>.
21040 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21042 bits/signalfd.h.
21043
ed656b40
MP
210442012-02-14 Marek Polacek <polacek@redhat.com>
21045
21046 * sysdeps/x86_64/crti.S: New file.
21047 * sysdeps/x86_64/crtn.S: New file.
21048 * sysdeps/x86_64/elf/initfini.c: Remove file.
21049
2a979d3a
JM
210502012-02-13 Joseph Myers <joseph@codesourcery.com>
21051
21052 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21053 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21054 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21055 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21056 <bits/inotify.h>.
21057 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21059 bits/inotify.h.
21060
2a418ac3
JM
210612012-02-13 Joseph Myers <joseph@codesourcery.com>
21062
21063 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21064 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21065 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21066 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21067 <bits/eventfd.h>.
21068 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21070 bits/eventfd.h.
21071
fb779be7
TS
210722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21073
e19e83c5
RM
21074 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21075 __feraiseexcept instead of feraiseexcept.
7c35ffed 21076
fb779be7
TS
21077 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21078 nanosleep invocations.
21079 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21080 strings, and add error checking for a nanosleep invocations.
21081
59ba27a6
PE
210822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21083
21084 Replace FSF snail mail address with URLs, as per GNU coding standards.
21085 Most of the snail mail addresses were wrong anyway, and omitting
21086 them makes the source code easier to maintain. Almost all of the
21087 changes are to license notices and to locale LC_IDENTIFICATION
21088 addresses, except for this one:
21089 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21090 not its snail mail address.
21091
57b957eb
RH
210922012-02-09 Richard Henderson <rth@twiddle.net>
21093
af850b1c
RH
21094 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21095 of kernel-features.h.
21096
57b957eb
RH
21097 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21098
6b73181a
MP
210992012-02-08 Marek Polacek <polacek@redhat.com>
21100
21101 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21102 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21103 * sysdeps/gnu/_G_config.h: Likewise.
21104 * sysdeps/generic/_G_config.h: Likewise.
21105
26ecc33a
AS
211062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21107
6c6dbc63
AS
21108 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21109 tests.
21110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21111
e216c012
AS
21112 * sysdeps/powerpc/powerpc32/crti.S: New file.
21113 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21114 * sysdeps/powerpc/powerpc64/crti.S: New file.
21115 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21116
26ecc33a
AS
21117 * Makeconfig (have-initfini): Don't set.
21118 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21119 * configure.in (nopic_initfini): Don't substitute.
21120 * config.h.in (HAVE_INITFINI): Don't #undef.
21121 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21122 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21123
3add8e13
JM
211242012-02-08 Joseph Myers <joseph@codesourcery.com>
21125
21126 Support crti.S and crtn.S provided directly by architectures.
21127 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21128 [crti.S in sysdirs] (omit-deps): Likewise.
21129 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21130 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21131 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21132 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21133 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21134 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21135 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21136 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21137 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21138 compiler output for sysdeps/generic/initfini.c.
21139 * sysdeps/i386/elf/Makefile: Remove file.
21140 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21141
a22f12b4
MP
211422012-02-07 Marek Polacek <polacek@redhat.com>
21143
21144 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21145 * sysdeps/gnu/_G_config.h: Likewise.
21146 * sysdeps/mach/hurd/_G_config.h: Likewise.
21147
148cf100
MP
211482012-02-07 Marek Polacek <polacek@redhat.com>
21149
21150 * math/Makefile (tests): Add tst-CMPLX2.
21151 * math/tst-CMPLX2.c: New file.
21152
cfdc0dd7
AS
211532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21154
84ba42c4
AS
21155 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21156
cfdc0dd7
AS
21157 * math/libm-test.inc (jn_test): Add missing L suffix.
21158
622c86f4
MP
211592012-02-06 Marek Polacek <polacek@redhat.com>
21160
21161 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21162 * sysdeps/i386/fpu/e_powf.S: Likewise.
21163 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21164 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21166 * sysdeps/i386/fpu/e_pow.S: Likewise.
21167 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21168 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21169 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21170 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21171 * sysdeps/i386/fpu/e_log2.S: Likewise.
21172 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21173 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21174 * sysdeps/i386/fpu/e_powl.S: Likewise.
21175 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21176 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21177 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21178 * sysdeps/i386/fpu/e_logl.S: Likewise.
21179 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21180 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21181 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21182 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21183 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21184 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21185 * sysdeps/i386/fpu/e_log.S: Likewise.
21186 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21187 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21188 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21189 * sysdeps/i386/fpu/e_logf.S: Likewise.
21190 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21191 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21192 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21193 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21194 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21195 * sysdeps/i386/fpu/e_log10.S: Likewise.
21196 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21197 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21198 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21199 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21200 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21201 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21202 * sysdeps/i386/asm-syntax.h: Likewise.
21203 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21204 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21205 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21206 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21207 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21209 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21210 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21212 * sysdeps/powerpc/sysdep.h: Likewise.
21213 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21214 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21215
d4a54ac6
JM
212162012-02-06 Joseph Myers <joseph@codesourcery.com>
21217
21218 [BZ #411]
21219 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21220
314054ea
JM
212212012-02-06 Joseph Myers <joseph@codesourcery.com>
21222
21223 * sysdeps/i386/sysdep.h: Include <features.h>.
21224 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21225 version.
21226
d8e0ca50
JM
212272012-02-05 Joseph Myers <joseph@codesourcery.com>
21228
21229 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21230 Define.
21231 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21232 LOAD_PIC_REG_STR.
21233
b1da7dd9
JM
212342012-02-03 Joseph Myers <joseph@codesourcery.com>
21235
21236 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21237 (SETUP_PIC_REG): Use GET_PC_THUNK.
21238 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21239 macro.
21240
9a1d9254
JM
212412012-02-03 Joseph Myers <joseph@codesourcery.com>
21242
21243 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21244 for non-PIC compilation.
21245 (SETUP_PIC_REG): Add .p2align directive.
21246 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21247 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21248 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21249 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21251 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21252 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21253 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21254 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21255 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21256 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21257 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21258 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21259 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21260 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21261 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21262 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21263 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21264 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21265 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21266 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21267 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21268 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21269 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21272 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21273 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21274 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21275 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21276 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21277 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21278 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21279 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21280 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21281 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21282 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21283 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21284 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21285 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21286 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21287
65dc3b75
JM
212882012-02-03 Joseph Myers <joseph@codesourcery.com>
21289
21290 * math/tst-CMPLX.c: Include <stdio.h>.
21291
d55bf177
JM
212922012-01-31 Joseph Myers <joseph@codesourcery.com>
21293
21294 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21295 float.
21296 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21297 * sysdeps/sparc/bits/mathdef.h: Likewise.
21298
69db4f8f
MP
212992012-01-31 Marek Polacek <polacek@redhat.com>
21300
21301 * libio/libio.h: Don't define _PARAMS.
21302 * locale/programs/config.h: Don't define PARAMS.
21303 * stdlib/strtol_l.c: Likewise.
21304 (__strtol_l): Remove PARAMS from the prototype.
21305
41b81892
UD
213062012-01-31 Ulrich Drepper <drepper@gmail.com>
21307
3b49edc0
UD
21308 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21309 names. Just use the correct names. Remove unnecessary wrapper
21310 functions.
21311 * malloc/arena.c: Likewise.
21312 * malloc/hooks.c: Likewise.
21313
41b81892
UD
21314 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21315 ARENA_TEST says not to. Simplify test for creation of a new arena.
21316 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21317
27a25b6e
UD
213182012-01-30 Ulrich Drepper <drepper@gmail.com>
21319
21320 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21321 into tail calls.
21322 (update_get_addr): New function.
21323 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21324 GET_ADDR_MODULE parameter.
21325
c8a89e7d
JM
213262012-01-30 Joseph Myers <joseph@codesourcery.com>
21327
21328 * crypt/cert.c: Remove __STDC__ conditionals.
21329 * crypt/crypt-entry.c: Likewise.
21330 * crypt/crypt_util.c: Likewise.
21331 * libio/filedoalloc.c: Likewise.
21332 * libio/fileops.c: Likewise.
21333 * libio/genops.c: Likewise.
21334 * libio/iofclose.c: Likewise.
21335 * libio/iofdopen.c: Likewise.
21336 * libio/iofopen.c: Likewise.
21337 * libio/iofopen64.c: Likewise.
21338 * libio/iogetdelim.c: Likewise.
21339 * libio/iopopen.c: Likewise.
21340 * libio/obprintf.c: Likewise.
21341 * libio/oldfileops.c: Likewise.
21342 * libio/oldiofclose.c: Likewise.
21343 * libio/oldiofdopen.c: Likewise.
21344 * libio/oldiofopen.c: Likewise.
21345 * libio/oldiopopen.c: Likewise.
21346 * libio/wfiledoalloc.c: Likewise.
21347 * libio/wgenops.c: Likewise.
21348 * locale/programs/xmalloc.c: Likewise.
21349 * misc/syslog.c: Likewise.
21350 * stdio-common/xbug.c: Likewise.
21351 * string/memchr.c: Likewise.
21352 * string/memcmp.c: Likewise.
21353 * string/memrchr.c: Likewise.
21354 * string/rawmemchr.c: Likewise.
21355 * sysdeps/posix/getcwd.c: Likewise.
21356 * time/strftime_l.c: Likewise.
21357
3b100462
JM
213582012-01-30 Joseph Myers <joseph@codesourcery.com>
21359
21360 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21361 * config.make.in (config-cflags-sse2avx): Define.
21362 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21363 Fix typo.
21364
607998af
CM
213652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21366
21367 * scripts/config.guess: Update from upstream config git repository.
21368 * scripts/config.sub: Likewise.
21369
3601428f
CM
213702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21371
3ac8b282
CM
21372 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21373 (EM_NUM): Update.
21374 (R_TILEPRO_*, R_TILEGX_*): New macros.
21375
e034841e
CM
21376 * scripts/firstversions.awk: Fix bug in version range handling.
21377
540d7568
CM
21378 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21379
3601428f
CM
21380 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21381
463de862
CM
21382 * include/sys/epoll.h: New file.
21383 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21384 libc_hidden_def.
21385
73139a76
UD
213862012-01-28 Ulrich Drepper <drepper@gmail.com>
21387
96bc5b45
UD
21388 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21389 Avoid unnecessary __WORDSIZE == 64 test.
21390 (fmaxf): Use VEX format if possible.
21391 (fmax): Likewise.
21392 (fminf): Likewise.
21393 (fmin): Likewise.
21394
56f6f6a2
UD
21395 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21396 * math/math_private.h: Remove libc_fegetround* and
21397 libc_fesetround*.
21398 * sysdeps/i386/configure.in: Check for -msse2avx.
21399 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21400 also if SSE2AVX is defined.
21401 Remove libc_fegetround* and libc_fesetround*.
21402 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21403 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21404 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21405 of HAS_YMM_USABLE.
21406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21407 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21408 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21410 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21411
73139a76
UD
21412 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21413
d73f93a4
AZ
214142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21415
21416 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21417 size is not set.
21418 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21419
6ee65ed6
UD
214202012-01-27 Ulrich Drepper <drepper@gmail.com>
21421
21422 [BZ #13618]
21423 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21424 relocation.
21425 * Makeconfig (libm): Define.
21426 * elf/Makefile: Add rules to build and run tst-relsort1.
21427 * elf/tst-relsort1.c: New file.
21428 * elf/tst-relsort1mod1.c: New file.
21429 * elf/tst-relsort1mod2.c: New file.
21430
8db21882
JM
214312012-01-27 Joseph Myers <joseph@codesourcery.com>
21432
21433 * math/s_ldexp.c: Remove __STDC__ conditionals.
21434 * math/s_ldexpf.c: Likewise.
21435 * math/s_ldexpl.c: Likewise.
21436 * math/s_nextafter.c: Likewise.
21437 * math/s_nexttowardf.c: Likewise.
21438 * math/s_significand.c: Likewise.
21439 * math/s_significandf.c: Likewise.
21440 * math/s_significandl.c: Likewise.
21441 * math/w_jnl.c: Likewise.
21442 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21443 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21444 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21445 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21446 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21448 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21449 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21450 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21451 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21452 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21454 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21455 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21456 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21457 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21458 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21459 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21461 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21462 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21463 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21464 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21466 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21467 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21468 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21469 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21470 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21471 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21472 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21473 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21474 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21475 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21476 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21477 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21478 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21479 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21480 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21481 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21482 * sysdeps/ieee754/k_standard.c: Likewise.
21483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21484 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21485 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21486 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21487 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21488 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21489 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21490 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21491 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21492 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21493 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21494 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21495 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21496 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21497 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21499 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21500 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21502 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21503 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21504 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21505 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21506 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21507 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21508 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21510 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21512 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21513 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21514 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21515 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21516 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21518 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21519 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21520 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21521 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21522 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21523 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21525 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21526 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21527 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21528 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21529 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21532 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21533 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21537 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21541 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21542 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21543 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21544 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21545 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21546 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21547 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21548 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21549 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21550 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21551 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21552 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21553 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21554 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21555 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21556 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21557 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21558 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21559 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21560 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21561 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21562 * sysdeps/ieee754/s_matherr.c: Likewise.
21563 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21564 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21566 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21567
965a54a4
JM
215682012-01-26 Joseph Myers <joseph@codesourcery.com>
21569
21570 * crypt/md5.h: Remove __STDC__ conditionals.
21571 * libio/libioP.h: Likewise.
21572 * locale/programs/config.h: Likewise.
21573 * sysdeps/generic/sysdep.h: Likewise.
21574 * sysdeps/i386/asm-syntax.h: Likewise.
21575 * sysdeps/s390/asm-syntax.h: Likewise.
21576 * sysdeps/unix/sysdep.h: Likewise.
21577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21579
7071ad79
JM
215802012-01-26 Joseph Myers <joseph@codesourcery.com>
21581
21582 * libio/libio.h: Remove __STDC__ conditionals.
21583 * malloc/obstack.h: Likewise.
21584 * math/complex.h: Likewise.
21585 * math/math.h: Likewise.
21586 * sysdeps/generic/_G_config.h: Likewise.
21587 * sysdeps/gnu/_G_config.h: Likewise.
21588 * sysdeps/mach/hurd/_G_config.h: Likewise.
21589 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21590 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21591 * sysdeps/sparc/bits/mathdef.h: Likewise.
21592
afc5ed09
UD
215932012-01-26 Ulrich Drepper <drepper@gmail.com>
21594
21595 [BZ #13583]
21596 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21597 Clean up HAS_* macros.
afc5ed09 21598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21599 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21600 possible.
21601 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21602 HAS_AVX.
21603 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21604 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21605 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21606 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21607 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21608
bdb6de1d
JM
216092012-01-25 Joseph Myers <joseph@codesourcery.com>
21610
21611 * elf/tst-unique3.cc (gets): Remove declaration.
21612 * elf/tst-unique3lib.cc (gets): Likewise.
21613 * elf/tst-unique3lib2.cc (gets): Likewise.
21614 * elf/tst-unique4.cc (gets): Likewise.
21615
b15549e6
UD
216162012-01-24 Ulrich Drepper <drepper@gmail.com>
21617
21618 * include/stdio.h: Add C++ protection. Add gets declarations and
21619 definitions.
21620 * debug/tst-chk1.c: Don't declare gets here.
21621 * stdio-common/tst-gets.c: Likewise.
21622
a037381f
JM
216232012-01-24 Joseph Myers <joseph@codesourcery.com>
21624
21625 * posix/glob: Remove directory.
21626
f1d4aa75
JM
216272012-01-24 Joseph Myers <joseph@codesourcery.com>
21628
21629 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21630
81c0c964
PT
216312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21632
21633 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21634 of the non-standard EPFNOSUPPORT.
21635
0ea698ae
ST
216362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21637
21638 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21639 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21640 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21641
d220b117
UD
216422012-01-21 Ulrich Drepper <drepper@gmail.com>
21643
21644 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21645
3e1aa84e
UD
216462012-01-20 Ulrich Drepper <drepper@gmail.com>
21647
21648 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21649 transient errors.
21650 * nscd/grpcache.c (cache_addgr): Likewise.
21651 * nscd/hstcache.c (cache_addhst): Likewise.
21652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21653 * nscd/pwdcache.c (cache_addpw): Likewise.
21654 * nscd/servicescache.c (cache_addserv): Likewise.
21655
400aa020
UD
216562012-01-16 Ulrich Drepper <drepper@gmail.com>
21657
d77e7869
UD
21658 * malloc/malloc.c: Various cleanups.
21659 * malloc/hooks.c: Likewise.
21660
400aa020
UD
21661 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21662 * stdlib/bug-fmtmsg1.c: New file.
21663
21664 * stdlib/fmtmsg.c (init): Add missing unlock.
21665 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21666
e0a309cf
MP
216672012-01-12 Marek Polacek <polacek@redhat.com>
21668
21669 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21670 and _GNU_SOURCE.
21671
929d11c7
WS
216722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21673
21674 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21675 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21676 macro to ensure uniqueness of label name.
21677 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21678 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21679
41d0e869
UD
216802012-01-11 Ulrich Drepper <drepper@gmail.com>
21681
0cc5ed3b
UD
21682 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21683
41d0e869
UD
21684 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21685 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21688
a47a831a
UD
216892012-01-10 Ulrich Drepper <drepper@gmail.com>
21690
daa891c0
UD
21691 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21692
21693 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21694 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21695 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21696
e58ef0f2
UD
21697 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21698
a47a831a 21699 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21700 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21701 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21703
21704 * math/bits/math-finite.h: Add ldexp support.
21705
a0bfc9c7
MP
217062012-01-10 Marek Polacek <polacek@redhat.com>
21707
21708 * locale/programs/localedef.h (show_archive_content): Add noreturn
21709 attribute.
21710
d6e97a1d
UD
217112012-01-09 Ulrich Drepper <drepper@gmail.com>
21712
21713 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21714
d5835c26
UD
217152012-01-08 Ulrich Drepper <drepper@gmail.com>
21716
e5f484c6
UD
21717 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21718
d5835c26
UD
21719 * io/Makefile (headers): Add bits/poll2.h.
21720
d1f741e9
WS
217212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21722
21723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21724 typo #include statement.
21725
ec09c1c4
UD
217262012-01-08 Ulrich Drepper <drepper@gmail.com>
21727
21728 * include/sys/cdefs.h: Define __attribute_alloc_size.
21729 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21730 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21731 * elf/pldd.c: Likewise.
21732 * iconv/iconv_charmap.c: Likewise.
21733 * iconv/iconvconfig.c: Likewise.
21734 * iconv/strtab.c: Likewise.
21735 * locale/programs/locale.c: Likewise.
21736 * locale/programs/localedef.h: Likewise.
21737 * locale/programs/simple-hash.c: Likewise.
21738 * nscd/nscd.h: Likewise.
21739 * nss/makedb.c: Likewise.
21740 * sysdeps/generic/ldconfig.h: Likewise.
21741 * locale/programs/localedef.c: Remove xmalloc prototype.
21742 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21743
20b38e03
PP
217442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21745
21746 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21747 appropriate.
21748
a0da5fe1
UD
217492012-01-08 Ulrich Drepper <drepper@gmail.com>
21750
1d5a644a 21751 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21752 * math/tst-CMPLX.c: New file.
1d5a644a 21753
8784a6db
UD
21754 * math/complex.h (CMPLXL): Fix typo.
21755
d9a216c0
UD
21756 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21757 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21758 GLIBC_2.16.
21759 * debug/tst-chk1.c: Add poll and ppoll tests.
21760 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21761 * include/sys/poll.h: Add hidden proto for ppoll.
21762 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21763 * sysdeps/mach/hurd/ppoll.c: Likewise.
21764 * io/ppoll.c: Likewise.
21765 * debug/poll_chk.c: New file.
21766 * debug/ppoll_chk.c: New file.
21767 * include/bits/poll2.h: New file.
21768 * io/bits/poll2.h: New file.
21769
ac097f5c
UD
21770 [BZ #1350]
21771 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21772
2119dcfa
UD
21773 * configure.in: static is always set to yes. Remove.
21774 * config.make.in: Don't set build-static.
21775 * Makeconfig: Remove use of build-static.
21776 * dlfcn/Makefile: Likewise.
21777 * elf/Makefile: Likewise.
21778 * math/Makefile: Likewise.
21779 * misc/Makefile: Likewise.
21780 * nptl/Makefile: Likewise.
21781 * sysdeps/mach/hurd/Makefile: Likewise.
21782
121766a9
UD
21783 * configure.in: PWD_P is not used anymore.
21784 * config.make.in: Remove PWD_P entry.
21785
51a1d39c 21786 * configure.in: Remove last remnants of RANLIB.
8720d066 21787 No need to check for signed size_t anymore.
215f4bdc
UD
21788 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21789 and IA-64.
3857022a 21790 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21791 * aclocal.m4: Likewise.
21792
d3ed7225
UD
21793 * wcsmbs/mbrtoc16.c: Implement using towc function.
21794 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21795 * wcsmbs/wcsmbsload.c: Likewise.
21796 * iconv/gconv_simple.c: Likewise.
21797 * iconv/gconv_int.h: Likewise.
21798 * iconv/gconv_builtin.h: Likewise.
21799 * iconv/iconv_prog.c: Remove CHAR16 handling.
21800
21801 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21802
21803 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21804
a0da5fe1
UD
21805 * configure.in: Remove --with-elf and --enable-bounded options.
21806 Dont set base_machine for ia64. More non-ELF conditions removed.
21807 Remove testing and setting of leading underscore information.
21808 * config.make.in (build-bounded): Set to no.
21809 * config.h.in: Remove NO_UNDERSCORES entry.
21810 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21811 them.
21812 * csu/start.c: Remove !NO_UNDERSCORE code.
21813 * locale/localeinfo.h: Likewise.
21814 * sysdeps/generic/machine-gmon.h: Likewise.
21815 * sysdeps/generic/sysdep.h: Likewise.
21816 * sysdeps/i386/sysdep.h: Likewise.
21817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21818 * sysdeps/mach/sysdep.h: Likewise.
21819 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21821 * sysdeps/sh/sysdep.h: Likewise.
21822 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21823 * sysdeps/unix/i386/sysdep.S: Likewise.
21824 * sysdeps/unix/sparc/start.c: Likewise.
21825 * sysdeps/unix/sparc/sysdep.S: Likewise.
21826 * sysdeps/unix/sparc/sysdep.h: Likewise.
21827 * sysdeps/unix/start.c: Likewise.
21828 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21829 * sysdeps/x86_64/sysdep.h: Likewise.
21830
df78418a
UD
218312012-01-07 Ulrich Drepper <drepper@gmail.com>
21832
a784e502
UD
21833 [BZ #13553]
21834 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21835 for non-gcc.
21836 * argp/argp-fmtstream.h: Use const instead __const.
21837 * argp/argp.h: Likewise.
21838 * assert/assert.h: Likewise.
21839 * bits/fenv.h: Likewise.
21840 * bits/sched.h: Likewise.
21841 * bits/sigset.h: Likewise.
21842 * bits/sigthread.h: Likewise.
21843 * catgets/nl_types.h: Likewise.
21844 * conform/data/pthread.h-data: Likewise.
21845 * crypt/crypt-private.h: Likewise.
21846 * crypt/crypt.h: Likewise.
21847 * crypt/crypt_util.c: Likewise.
21848 * ctype/ctype.h: Likewise.
21849 * debug/execinfo.h: Likewise.
21850 * debug/mbsnrtowcs_chk.c: Likewise.
21851 * debug/mbsrtowcs_chk.c: Likewise.
21852 * debug/wcsnrtombs_chk.c: Likewise.
21853 * debug/wcsrtombs_chk.c: Likewise.
21854 * debug/wcstombs_chk.c: Likewise.
21855 * dirent/dirent.h: Likewise.
21856 * dlfcn/dlfcn.h: Likewise.
21857 * elf/neededtest4.c: Likewise.
21858 * grp/grp.h: Likewise.
21859 * gshadow/gshadow.h: Likewise.
21860 * iconv/gconv.h: Likewise.
21861 * iconv/gconv_int.h: Likewise.
21862 * iconv/gconv_simple.c: Likewise.
21863 * iconv/iconv.h: Likewise.
21864 * iconv/loop.c: Likewise.
21865 * iconv/skeleton.c: Likewise.
21866 * include/aio.h: Likewise.
21867 * include/aliases.h: Likewise.
21868 * include/argz.h: Likewise.
21869 * include/arpa/inet.h: Likewise.
21870 * include/assert.h: Likewise.
21871 * include/dirent.h: Likewise.
21872 * include/dlfcn.h: Likewise.
21873 * include/execinfo.h: Likewise.
21874 * include/fcntl.h: Likewise.
21875 * include/fenv.h: Likewise.
21876 * include/glob.h: Likewise.
21877 * include/grp.h: Likewise.
21878 * include/libintl.h: Likewise.
21879 * include/mntent.h: Likewise.
21880 * include/netdb.h: Likewise.
21881 * include/pwd.h: Likewise.
21882 * include/rpc/netdb.h: Likewise.
21883 * include/sched.h: Likewise.
21884 * include/search.h: Likewise.
21885 * include/shadow.h: Likewise.
21886 * include/signal.h: Likewise.
21887 * include/stdio.h: Likewise.
21888 * include/stdlib.h: Likewise.
21889 * include/string.h: Likewise.
21890 * include/sys/socket.h: Likewise.
21891 * include/sys/stat.h: Likewise.
21892 * include/sys/statfs.h: Likewise.
21893 * include/sys/statvfs.h: Likewise.
21894 * include/sys/syslog.h: Likewise.
21895 * include/sys/time.h: Likewise.
21896 * include/sys/uio.h: Likewise.
21897 * include/time.h: Likewise.
21898 * include/unistd.h: Likewise.
21899 * include/utmp.h: Likewise.
21900 * include/wchar.h: Likewise.
21901 * include/wctype.h: Likewise.
21902 * inet/aliases.h: Likewise.
21903 * inet/arpa/inet.h: Likewise.
21904 * inet/netinet/ether.h: Likewise.
21905 * inet/netinet/in.h: Likewise.
21906 * intl/libintl.h: Likewise.
21907 * io/bits/fcntl2.h: Likewise.
21908 * io/fcntl.h: Likewise.
21909 * io/ftw.h: Likewise.
21910 * io/sys/poll.h: Likewise.
21911 * io/sys/stat.h: Likewise.
21912 * io/sys/statfs.h: Likewise.
21913 * io/sys/statvfs.h: Likewise.
21914 * io/utime.h: Likewise.
21915 * libio/bits/stdio.h: Likewise.
21916 * libio/bits/stdio2.h: Likewise.
21917 * libio/libio.h: Likewise.
21918 * libio/libioP.h: Likewise.
21919 * libio/stdio.h: Likewise.
21920 * locale/lc-ctype.c: Likewise.
21921 * locale/locale.h: Likewise.
21922 * login/utmp.h: Likewise.
21923 * malloc/arena.c: Likewise.
21924 * malloc/malloc.c: Likewise.
21925 * malloc/malloc.h: Likewise.
21926 * malloc/mcheck.c: Likewise.
21927 * malloc/mtrace.c: Likewise.
21928 * math/bits/mathcalls.h: Likewise.
21929 * math/fenv.h: Likewise.
21930 * math/math_private.h: Likewise.
21931 * misc/bits/error.h: Likewise.
21932 * misc/bits/syslog.h: Likewise.
21933 * misc/err.h: Likewise.
21934 * misc/error.h: Likewise.
21935 * misc/fstab.h: Likewise.
21936 * misc/mntent.h: Likewise.
21937 * misc/regexp.h: Likewise.
21938 * misc/search.h: Likewise.
21939 * misc/sgtty.h: Likewise.
21940 * misc/sys/mman.h: Likewise.
21941 * misc/sys/syslog.h: Likewise.
21942 * misc/sys/uio.h: Likewise.
21943 * misc/sys/xattr.h: Likewise.
21944 * misc/ttyent.h: Likewise.
21945 * nis/rpcsvc/ypclnt.h: Likewise.
21946 * nss/nss.h: Likewise.
21947 * posix/bits/unistd.h: Likewise.
21948 * posix/fnmatch.h: Likewise.
21949 * posix/glob.h: Likewise.
21950 * posix/sched.h: Likewise.
21951 * posix/spawn.h: Likewise.
21952 * posix/sys/wait.h: Likewise.
21953 * posix/unistd.h: Likewise.
21954 * posix/wordexp.h: Likewise.
21955 * pwd/pwd.h: Likewise.
21956 * resolv/netdb.h: Likewise.
21957 * resource/sys/resource.h: Likewise.
21958 * rt/aio.h: Likewise.
21959 * rt/bits/mqueue2.h: Likewise.
21960 * rt/mqueue.h: Likewise.
21961 * shadow/shadow.h: Likewise.
21962 * signal/signal.h: Likewise.
21963 * socket/send.c: Likewise.
21964 * socket/sendto.c: Likewise.
21965 * socket/sys/socket.h: Likewise.
21966 * stdio-common/printf.h: Likewise.
21967 * stdlib/bits/stdlib.h: Likewise.
21968 * stdlib/fmtmsg.h: Likewise.
21969 * stdlib/monetary.h: Likewise.
21970 * stdlib/stdlib.h: Likewise.
21971 * stdlib/ucontext.h: Likewise.
21972 * streams/stropts.h: Likewise.
21973 * string/argz.h: Likewise.
21974 * string/bits/string2.h: Likewise.
21975 * string/string.h: Likewise.
21976 * string/strings.h: Likewise.
21977 * sunrpc/rpc/auth.h: Likewise.
21978 * sunrpc/rpc/auth_des.h: Likewise.
21979 * sunrpc/rpc/clnt.h: Likewise.
21980 * sunrpc/rpc/netdb.h: Likewise.
21981 * sunrpc/rpc/pmap_clnt.h: Likewise.
21982 * sunrpc/rpc/xdr.h: Likewise.
21983 * sysdeps/generic/inttypes.h: Likewise.
21984 * sysdeps/generic/net/if.h: Likewise.
21985 * sysdeps/generic/sys/swap.h: Likewise.
21986 * sysdeps/gnu/net/if.h: Likewise.
21987 * sysdeps/gnu/utmpx.h: Likewise.
21988 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
21989 * sysdeps/i386/i486/bits/string.h: Likewise.
21990 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
21991 * sysdeps/s390/bits/string.h: Likewise.
21992 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
21993 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
21994 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
21995 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
21996 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
21997 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
21998 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
21999 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22000 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22001 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22002 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22003 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22004 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22005 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22006 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22007 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22008 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22010 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22012 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22013 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22014 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22015 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22016 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22017 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22018 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22019 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22020 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22021 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22022 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22023 * sysvipc/sys/ipc.h: Likewise.
22024 * sysvipc/sys/msg.h: Likewise.
22025 * sysvipc/sys/sem.h: Likewise.
22026 * sysvipc/sys/shm.h: Likewise.
22027 * termios/termios.h: Likewise.
22028 * time/sys/time.h: Likewise.
22029 * time/time.h: Likewise.
22030 * wcsmbs/bits/wchar2.h: Likewise.
22031 * wcsmbs/uchar.h: Likewise.
22032 * wcsmbs/wchar.h: Likewise.
22033 * wctype/wctype.h: Likewise.
22034
0269750c
UD
22035 [BZ #13551]
22036 * Makeconfig: Remove all but ELF support including AIX support.
22037 * Makerules: Likewise.
22038 * config.h.in: Likewise.
22039 * config.make.in: Likewise.
22040 * configure: Likewise.
22041 * configure.in: Likewise.
22042 * csu/Makefile: Likewise.
22043 * csu/version.c: Likewise.
22044 * debug/Makefile: Likewise.
22045 * dlfcn/Makefile: Likewise.
22046 * elf/Makefile: Likewise.
22047 * extra-lib.mk: Likewise.
22048 * iconv/Makefile: Likewise.
22049 * include/libc-symbols.h: Likewise.
22050 * include/shlib-compat.h: Likewise.
22051 * resolv/Makefile: Likewise.
22052 * resolv/res_libc.c: Likewise.
22053 * rt/Makefile: Likewise.
22054 * sysdeps/i386/asm-syntax.h: Likewise.
22055 * sysdeps/i386/sysdep.h: Likewise.
22056 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22057 * sysdeps/mach/sysdep.h: Likewise.
22058 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22059 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22060 * sysdeps/s390/asm-syntax.h: Likewise.
22061 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22063 * sysdeps/sh/sysdep.h: Likewise.
22064 * sysdeps/unix/sparc/sysdep.h: Likewise.
22065 * sysdeps/wordsize-32/divdi3.c: Likewise.
22066 * sysdeps/x86_64/sysdep.h: Likewise.
22067
00bbd29b
UD
22068 * argp/Versions: Remove _argp_unlock_xxx.
22069
22070 [BZ #13559]
22071 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22072 * abilist/libBrokenLocale.abilist: Likewise.
22073 * abilist/libanl.abilist: Likewise.
22074 * abilist/libc.abilist: Likewise.
22075 * abilist/libcrypt.abilist: Likewise.
22076 * abilist/libdl.abilist: Likewise.
22077 * abilist/libm.abilist: Likewise.
22078 * abilist/libnsl.abilist: Likewise.
22079 * abilist/libpthread.abilist: Likewise.
22080 * abilist/libresolv.abilist: Likewise.
22081 * abilist/librt.abilist: Likewise.
22082 * abilist/libthread_db.abilist: Likewise.
22083 * abilist/libutil.abilist: Likewise.
22084 * abilist/libnss_db.abilist: New file.
22085
22086 * scripts/abilist.awk: Add support for indirect functions.
22087
a2693a0e
UD
22088 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22089
3f05895f
UD
22090 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22091
ecb6fb48
UD
22092 * shlib-versions: Remove entries for ports architectures.
22093
664f8cb9
UD
22094 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22095 files in ports.
22096 * elf/stackguard-macros.h: Remove support for IA-64.
22097 * elf/tst-auditmod1.c: Likewise.
22098 * sysdeps/generic/ldsodefs.h: Likewise.
22099
7ae81d88
UD
22100 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22101 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22102 configure files.
22103
bdeba135
UD
22104 [BZ #13552]
22105 * configure.in: Remove --enable-omitfp support.
22106 * FAQ.in: Adjust.
22107 * config.make.in: Likewise.
22108 * Makeconfig: Likewise.
22109 * manual/install.texi: Likewise.
22110
d75a0a62
UD
22111 In case anyone cares, the IA-64 architecture could move to ports.
22112 * sysdeps/ia64/*: Removed.
22113 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 22114 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 22115
dcc9756b
UD
22116 [BZ #13555]
22117 * configure.in: Remove entries for unsupported architectures.
22118
d3761ebc 22119 [BZ #13533]
9954432e
UD
22120 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22121 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22122 routines.
22123 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22124 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22125 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22126 fall back to using wcrtomb.
22127 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22128 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22129 renaming.
22130 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22131 * wcsmbs/tst-c16c32-1.c: New file.
22132
22133 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22134 local variable.
22135
c3a87236
UD
22136 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22137
28926a1b
UD
22138 * elf/tst-unique3.cc: Add explicit declaration of gets.
22139 * elf/tst-unique3lib.cc: Likewise.
22140 * elf/tst-unique3lib2.cc: Likewise.
22141 * elf/tst-unique4.cc: Likewise.
22142
df78418a
UD
22143 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22144
8ecd6b2a
JM
221452012-01-06 Joseph Myers <joseph@codesourcery.com>
22146
22147 [BZ #13566]
22148 * assert/assert.h (static_assert): Don't define for C++.
22149 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22150 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22151
9f115170
UD
221522012-01-03 Ulrich Drepper <drepper@gmail.com>
22153
5e0d0300
UD
22154 * iconv/loop.c (single loop): Fix assertion in storing of
22155 remaining bytes.
22156
9f115170
UD
22157 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22158
81fb02b0
UD
221592012-01-01 Ulrich Drepper <drepper@gmail.com>
22160
22161 * posix/getconf.c: Update copyright year.
22162 * nss/getent.c: Likewise.
a316c1f6 22163 * nss/makedb.c: Likewise.
81fb02b0
UD
22164 * iconv/iconvconfig.c: Likewise.
22165 * iconv/iconv_prog.c: Likewise.
22166 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22167 * elf/pldd.c: Likewise.
22168 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22169 * catgets/gencat.c: Likewise.
22170 * csu/version.c: Likewise.
22171 * elf/ldd.bash.in: Likewise.
22172 * elf/sprof.c (print_version): Likewise.
22173 * locale/programs/locale.c: Likewise.
22174 * locale/programs/localedef.c: Likewise.
a316c1f6 22175 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22176 * nscd/nscd.c (print_version): Likewise.
22177 * debug/xtrace.sh: Likewise.
22178 * malloc/memusage.sh: Likewise.
22179 * malloc/mtrace.pl: Likewise.
22180 * debug/catchsegv.sh: Likewise.
22181
2ba92745
JJ
221822011-12-30 Jakub Jelinek <jakub@redhat.com>
22183
22184 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22185 pure attribute.
22186
dadebdae
UD
221872011-12-24 Ulrich Drepper <drepper@gmail.com>
22188
d3761ebc 22189 [BZ #13533]
db6af3eb
UD
22190 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22191 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22192 transformations.
22193 * iconv/gconv_int.h: Likewise.
22194 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22195 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22196 from libc for GLIBC_2.16.
22197 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22198 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22199 * wcsmbs/uchar.h: Really define mbstate_t.
22200 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22201 * wcsmbs/c16rtomb.c: New file.
22202 * wcsmbs/mbrtoc16.c: New file.
22203 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22204 for C/POSIX locale.
22205 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22206 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22207
dadebdae
UD
22208 * wcsmbs/wchar.h: Add missing __restrict.
22209
67371b56
UD
222102011-12-23 Ulrich Drepper <drepper@gmail.com>
22211
74033a25
UD
22212 [BZ #13532]
22213 * time/Makefile (routines): Add timespec_get.
22214 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22215 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22216 timespec for ISO C11.
22217 * time/timespec_get.c: New file.
22218 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22219 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22220
380d7e87
UD
22221 [BZ #13531]
22222 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22223 * stdlib/stdlib.h: Declare aligned_alloc.
22224 * Versions.def: Add GLIBC_2.16 for libc.
22225 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22226
4e9e7a35
UD
22227 [BZ 13527]
22228 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22229 ISO C11.
22230
380d7e87 22231 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22232 code.
22233
03a71829
UD
22234 [BZ #13528]
22235 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22236
839e283e
UD
22237 [BZ #13529]
22238 * assert/assert.h (static_assert): Define.
22239
ce5294e2 22240 * version.h: Update for 2.16 development version.
90fa7312 22241
8d44e150 22242 [BZ #13526]
d7809905
UD
22243 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22244 _ISOC11_SOURCE.
22245
c0da14cd
UD
22246 * version.h (RELEASE): Bump for 2.15 release.
22247 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22248
530a3249
MP
22249 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22250 Patch by Marek Polacek <mpolacek@redhat.com>.
22251
67371b56
UD
22252 * bits/byteswap.h: Protect long long constants with __extension__.
22253 * sysdeps/i386/bits/byteswap.h: Likewise.
22254 * sysdeps/ia64/bits/byteswap.h: Likewise.
22255 * sysdeps/s390/bits/byteswap.h: Likewise.
22256 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22257
15db4de1
LD
222582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22259
22260 [BZ #13540]
bbe315ea
LD
22261 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22262 destination buffer.
15db4de1
LD
22263 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22264
2b2596b1
MP
222652011-12-23 Marek Polacek <polacek@redhat.com>
22266
22267 * elf/dl-addr.c (determine_info): Add inline keyword.
22268 * elf/tst-auditmod4b.c (check_avx): Likewise.
22269 * elf/tst-auditmod6b.c (check_avx): Likewise.
22270 * elf/tst-auditmod6c.c (check_avx): Likewise.
22271 * elf/tst-auditmod7b.c (check_avx): Likewise.
22272
70c6c246
UD
222732011-12-23 Ulrich Drepper <drepper@gmail.com>
22274
22275 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22276 !__SSE_MATH__.
22277
c044cf14
LD
222782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22279
15db4de1 22280 [BZ #13540]
c044cf14
LD
22281 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22282 processing for last bytes.
22283
6b13d9d9
BH
222842011-08-06 Bruno Haible <bruno@clisp.org>
22285
d455f537
BH
22286 [BZ #13061]
22287 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22288 U+0385, not to U+1FEE.
22289
6b13d9d9
BH
22290 [BZ #13062]
22291 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22292 entry for U+00A5 U+0301.
22293
db910efd
UD
222942011-12-22 Ulrich Drepper <drepper@gmail.com>
22295
27deeafc
UD
22296 [BZ #13166]
22297 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22298 buffer for the output is too small.
22299
aed9d171
UD
22300 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22301 optimization.
22302
db910efd
UD
22303 [BZ #13185]
22304 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22305 SSE flags if possible.
22306
2bd779ae
LD
223072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22308
e7f9dac3 22309 [BZ #13540]
2bd779ae
LD
22310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22311 processing for last bytes.
22312
154bfc16
JM
223132011-12-22 Joseph Myers <joseph@codesourcery.com>
22314
22315 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22316 (syscall-list-default-options, syscall-list-default-condition)
22317 (syscall-list-includes): Define.
22318 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22319 list of ABIs and options and #if conditions for each ABI. Do not
22320 handle common syscalls between ABIs specially.
22321 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22322 Remove.
22323 (syscall-list-variants, syscall-list-32bit-options)
22324 (syscall-list-32bit-condition, syscall-list-64bit-options)
22325 (syscall-list-64bit-condition): Define.
22326 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22327 (syscall-list-variants, syscall-list-32bit-options)
22328 (syscall-list-32bit-condition, syscall-list-64bit-options)
22329 (syscall-list-64bit-condition): Define.
22330 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22331 Remove.
22332 (syscall-list-variants, syscall-list-32bit-options)
22333 (syscall-list-32bit-condition, syscall-list-64bit-options)
22334 (syscall-list-64bit-condition): Define.
22335 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22336 Remove.
22337 (syscall-list-variants, syscall-list-32bit-options)
22338 (syscall-list-32bit-condition, syscall-list-64bit-options)
22339 (syscall-list-64bit-condition): Define.
22340
21eaf3a5
UD
223412011-12-22 Ulrich Drepper <drepper@gmail.com>
22342
16c6f992
UD
22343 * locale/iso-639.def: Add brx entry.
22344
41043168
UD
22345 [BZ #13328]
22346 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22347 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22348
21eaf3a5
UD
22349 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22350 __feraiseexcept_renamed.
22351
e3a851a2
UD
223522011-12-21 Ulrich Drepper <drepper@gmail.com>
22353
4920765e
UD
22354 [BZ #13538]
22355 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22356 EPOLLET with unsigned values.
22357 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22358 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22359
e3a851a2
UD
22360 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22361 to large cancellation.
22362 * math/s_cacoshf.c: Likewise.
22363 * math/s_cacoshl.c: Likewise.
22364
b27e24b8
RK
223652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22366
22367 [BZ #13305]
aebefeee 22368 [BZ #12786]
b27e24b8
RK
22369 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22370 * math/s_cacoshf.c: Likewise.
22371 * math/s_cacoshl.c: Likewise.
22372
ee190f67
UD
223732011-12-21 Ulrich Drepper <drepper@gmail.com>
22374
22375 [BZ #13439]
22376 * iconv/gconv.h: Define __GCONV_SWAP.
22377 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22378 * iconvdata/utf-16.c: Likewise.
22379 * iconvdata/utf-32.c: Likewise.
22380
707f25df
AS
223812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22382
22383 [BZ #13524]
22384 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22385 numerator after shifting it by one limb.
22386
d2daaa1e
RÁE
223872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22388
22389 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22390 under [__USE_EXTERN_INLINES].
22391
a4647e72
UD
223922011-12-17 Ulrich Drepper <drepper@gmail.com>
22393
22394 [BZ #13446]
22395 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22396
f0b264f1
AZ
223972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22398
22399 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22400 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22401 optimized code.
22402 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22403 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22404 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22405 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22406 for strncasecmp/strncasecmp_l compilation.
22407 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22408 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22409
8ef4f244
MP
224102011-12-08 Marek Polacek <mpolacek@redhat.com>
22411
22412 [BZ #13484]
22413 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22414 of __asm__.
22415
97ac2654
UD
224162011-12-17 Ulrich Drepper <drepper@gmail.com>
22417
22418 [BZ #13506]
22419 * time/tzfile.c (__tzfile_read): Check values from file header.
22420
91d2a845
WS
224212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22422
22423 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22424 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22425 * powerpc/powerpc32/dl-start.S: Likewise.
22426 * powerpc/powerpc32/elf/start.S: Likewise.
22427 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22428 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22429 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22430 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22431 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22432 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22433 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22434 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22435 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22436 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22437 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22438 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22439 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22440 * powerpc/powerpc32/memset.S: Likewise.
22441 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22442 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22443 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22444 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22445 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22446 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22447 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22448 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22449 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22450 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22451 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22452 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22453 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22454
a1267ba1
AZ
224552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22456
22457 * math/libm-test.inc: Added more nearbyint tests.
22458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22461 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22462
ad8ac1bd
RL
224632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22464
22465 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22466 FD_CLOEXEC.
22467
1d3e4b61
UD
224682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22469
22470 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22471 Add wcscpy-ssse3 wcscpy-c.
22472 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22473 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22474 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22475 * sysdeps/x86_64/wcschr.S: New file.
22476 * sysdeps/x86_64/wcsrchr.S: New file.
22477 * string/test-strcmp.c: Remove checking of wcscmp function for
22478 wrong alignments.
22479 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22480 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22481 wcsrchr-sse2 wcsrchr-c.
22482 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22483 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22484 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22485 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22486 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22487 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22488 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22489 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22490 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22491 * wcsmbc/wcschr.c (WCSCHR): New macro.
22492
5b330a2d
UD
224932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22494
22495 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22496 * wcsmbs/test-wcsrchr.c: New file.
22497 * string/test-strrchr.c: Add wcsrchr support.
22498 (WIDE): New macro.
22499 * wcsmbs/test-wcscpy.c: New file.
22500 * string/test-strcpy.c: Add wcscpy support.
22501 (WIDE): New macro.
26428b7c 22502
f039c043
UD
225032011-12-10 Ulrich Drepper <drepper@gmail.com>
22504
22505 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22506 the inner loop.
22507
850fb039
AS
225082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22509
22510 [BZ #13472]
22511 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22512
4efbd5cb
UD
225132011-12-04 Ulrich Drepper <drepper@gmail.com>
22514
52ff5dd0 22515 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22516 Minor optimizations.
52ff5dd0 22517
4efbd5cb
UD
22518 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22519 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22520 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22521
8a426e12
UD
225222011-12-03 Ulrich Drepper <drepper@gmail.com>
22523
aff2453d
UD
22524 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22525 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22526 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22527 for gcc to avoid warnings.
22528 * inet/Makefile (tests): Add tst-checks.
22529 * inet/tst-checks.c: New file.
22530
22531 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22532 warning.
22533
22534 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22535 __wmemcmp_sse2.
22536
22537 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22538 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22539
8a426e12
UD
22540 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22541
9bea3473
UD
225422011-12-02 Ulrich Drepper <drepper@gmail.com>
22543
3a965496
UD
22544 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22545 problem.
22546
9bea3473
UD
22547 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22548
f101631b
UD
225492011-11-29 Joseph Myers <joseph@codesourcery.com>
22550
22551 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22552 conditional on GCC version.
22553 (__arch_compare_and_exchange_val_8_acq)
22554 (__arch_compare_and_exchange_val_16_acq)
22555 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22556 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22557 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22558
a98275aa
UD
225592011-12-02 Joseph Myers <joseph@codesourcery.com>
22560
22561 * sysdeps/sh/backtrace.c: New file.
22562
d4cc29a2
AS
225632011-12-02 Andreas Schwab <schwab@redhat.com>
22564
22565 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22566 parenthesis.
22567
6257af2d
AS
225682011-12-01 Andreas Schwab <schwab@redhat.com>
22569
22570 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22571 falling back to utime.
22572
b5f44c1a
AS
225732011-11-30 Andreas Schwab <schwab@redhat.com>
22574
22575 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22576 expectations for float.
22577
f3a6cc0a
AS
225782011-11-29 Andreas Schwab <schwab@redhat.com>
22579
22580 * locale/weight.h (findidx): Add parameter len.
22581 * locale/weightwc.h (findidx): Likewise.
22582 * posix/fnmatch_loop.c (FCT): Adjust caller.
22583 * posix/regcomp.c (build_equiv_class): Likewise.
22584 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22585 * posix/regexec.c (check_node_accept_bytes): Likewise.
22586 * string/strcoll_l.c (STRCOLL): Likewise.
22587 * string/strxfrm_l.c (STRXFRM): Likewise.
22588
9d65ea3a
UD
225892011-11-17 Ulrich Drepper <drepper@gmail.com>
22590
22591 * Makefile.in: Remove CVSOPT handling.
22592 * configure.in: Remove use of AC_REVISION.
22593 * iconvdata/Makefile (distribute): No need to filter out CVS.
22594 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22595 handling.
22596
5583a086
AS
225972011-11-16 Andreas Schwab <schwab@redhat.com>
22598
22599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22600 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22601 [USE_AS_STRNCASECMP_L]: Likewise.
22602 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22603 NO_TLS_DIRECT_SEG_REFS.
22604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22605 Fix argument offsets for non-PIC.
22606 [USE_AS_STRNCASECMP_L]: Likewise.
22607 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22608 NO_TLS_DIRECT_SEG_REFS.
22609
d62a8200
UD
226102011-11-15 Ulrich Drepper <drepper@gmail.com>
22611
9d65ea3a 22612 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22613 O_CLOEXEC.
22614 * locale/loadlocale.c (_nl_load_locale): Likewise.
22615
09f93bd3
AS
226162011-11-15 Andreas Schwab <schwab@redhat.com>
22617
446514f9
AS
22618 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22619 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22621 (SYSCALL_GETTIME): Set errno on error.
22622
09f93bd3
AS
22623 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22624 count references to noai6ai_cached.
22625
312be3f9
UD
226262011-11-15 Ulrich Drepper <drepper@gmail.com>
22627
22628 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22629
22630 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22631 FD_CLOEXEC for /proc/self/maps.
22632
22633 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22634 FD_CLOEXEC for /proc/meminfo.
22635
22636 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22637 gai.conf.
22638
22639 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22640 FD_CLOEXEC for given file.
22641
22642 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22643
22644 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22645 FD_CLOEXEC for /etc/hosts.
22646 (_gethtent): Likewise.
22647
22648 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22649
22650 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22651 cancellation and set FD_CLOEXEC for /etc/netgroup.
22652
22653 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22654 reading /etc/publickey.
22655
22656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22657 allow cancellation when reading /etc/group.
22658
22659 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22660 cancellation.
22661 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22662
22663 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22664 when using data file.
22665
22666 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22667
22668 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22669 (write_nis_obj): Use "c" and "e" in fopen.
22670
22671 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22672
22673 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22674
22675 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22676
22677 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22678
22679 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22680 locale.alias.
22681
22682 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22683
22684 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22685
22686 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22687
22688 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22689 file parsing and set FD_CLOEXEC.
22690
82af0fa8
UD
226912011-11-14 Ulrich Drepper <drepper@gmail.com>
22692
22693 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22694
a5fb313c
AS
226952011-11-14 Andreas Schwab <schwab@redhat.com>
22696
22697 * malloc/arena.c (arena_get2): Don't call reused_arena when
22698 _int_new_arena failed.
22699
6abf3465
UD
227002011-11-14 Ulrich Drepper <drepper@gmail.com>
22701
22702 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22703 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22704 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22705 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22707 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22708 to compile strcasecmp and strncasecmp.
22709 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22710 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22711
22712 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22713
76e3966e
UD
227142011-11-13 Ulrich Drepper <drepper@gmail.com>
22715
22716 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22717 locale-defines.sym to gen-as-const-headers.
22718 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22719 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22721 to compile strcasecmp and strncasecmp.
22722 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22723 strcasecmp_l and strncasecmp_l.
22724 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22725 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22726 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22727 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22728 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22729 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22730 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22731 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22732 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22733 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22734 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22735
ab26144e
UD
227362011-11-12 Ulrich Drepper <drepper@gmail.com>
22737
7edb22ef
UD
22738 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22739 result of SYSDEP_GETTIME_CPU to retval.
22740 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22741 parameter list to macro. Remove trailing semicolon. Adjust users.
22742
9694fc44
UD
22743 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22744 variable.
22745
8ad89ef8
UD
22746 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22747 mantissa words.
22748 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22749
0c822ef9
UD
22750 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22751 from unused variable.
22752
874e0564
UD
22753 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22754 DWARF definitions.
22755 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22756 for assembling.
22757
3a2edc79
UD
22758 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22759 over namespaces.
22760
f3c2577f
UD
22761 * sunrpc/rpc_prot.c (rejected): Fix case value.
22762
294ce126
UD
22763 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22764 unsigned long long int to avoid warnings in shift.
22765
5e2b63c6
UD
22766 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22767 of use of trans.
22768 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22769 variable tmp.
22770
e7f4b08e
UD
22771 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22772 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22773 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22774
ab26144e
UD
22775 * nis/nis_table.c (nis_list): Use variable of correct type for
22776 result of __follow_path call.
22777
8a6d5255
AZ
227782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22779
22780 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22781 of math functions ceil, trunc, floor, round, and sqrt, when
22782 avaliable on the platform.
22783 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22784 name clash.
22785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22786 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22787 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22788
aaddc98c
MP
227892011-10-30 Marek Polacek <mpolacek@redhat.com>
22790
22791 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22792 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22793
95b7042b
RM
227942011-11-11 Roland McGrath <roland@hack.frob.com>
22795
22796 * include/unistd.h: Fix __readlink return type.
22797 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22798
57769839
UD
227992011-11-11 Ulrich Drepper <drepper@gmail.com>
22800
22801 * stdlib/ucontext.h: Undo last change for makecontext.
22802
edc5984d
AS
228032011-11-11 Andreas Schwab <schwab@redhat.com>
22804
98591e58
AS
22805 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22806
edc5984d
AS
22807 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22808 * setjmp/setjmp.h: Mark functions as non-leaf.
22809 * setjmp/bits/setjmp2.h: Likewise.
22810 * stdlib/ucontext.h: Likewise.
22811
77cdc054
AS
228122011-11-10 Andreas Schwab <schwab@redhat.com>
22813
22814 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22815 (reused_arena): Don't check arena limit.
22816 (arena_get2): Atomically check arena limit.
22817
fe72eebd
UD
228182011-11-08 Ulrich Drepper <drepper@gmail.com>
22819
5f078c32
UD
22820 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22821 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22822
fe72eebd
UD
22823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22824 instructions.
22825
ae1bc2fa
AS
228262011-11-07 Andreas Schwab <schwab@redhat.com>
22827
7583a88d
AS
22828 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22829 handler when locking.
22830
ae1bc2fa
AS
22831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22832 Fix size of allocated buffer.
22833
10fb0bfa
AS
228342011-11-04 Andreas Schwab <schwab@redhat.com>
22835
998832a4
AS
22836 [BZ #10103]
22837 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22838 declarations for long double functions.
22839 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22840
10fb0bfa
AS
22841 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22842
3d7ba52b
AS
228432011-11-03 Andreas Schwab <schwab@redhat.com>
22844
a9ae54a1
AS
22845 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22846 installed.
22847
3d7ba52b
AS
22848 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22849 is disabled.
22850
bc8db248
ST
228512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22852
22853 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22854
45b96dd6
AS
228552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22856
647776f6
AS
22857 * include/alloca.h (stackinfo_alloca_round): Define.
22858 (extend_alloca): Use it.
22859 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22860 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22861 here.
22862
d91a8b93
AS
22863 * scripts/check-local-headers.sh: Ignore libaudit.h.
22864
45b96dd6
AS
22865 * nscd/Makefile (extra-objs): Make recursively expanded.
22866
432d41ce
UD
228672011-11-01 Ulrich Drepper <drepper@gmail.com>
22868
34372fc6
UD
22869 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22871
fadb59f8
UD
22872 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22873 * posix/tst-rfc3484-2.c: Likewise.
22874 * posix/tst-rfc3484-3.c: Likewise.
22875
78239589
UD
22876 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22877 process_vm_writev.
22878 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22879 process_vm_writev.
22880 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22881 process_vm_writev from libc using GLIBC_2.15 version.
22882
432d41ce
UD
22883 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22884
02f9c6cf
PP
228852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22886
22887 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22888 stack usage.
22889
3a2c0242
UD
228902011-10-31 Ulrich Drepper <drepper@gmail.com>
22891
f4ec4833
UD
22892 [BZ #13367]
22893 * nss/getent.c (initgroups_keys): Show error message in case no group
22894 names are given.
22895
3a2c0242
UD
22896 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22897 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22898 __bump_nl_timestamp.
22899 * nscd/connections (nscd_init): When host database is served open
22900 netlink socket and request notification about configuration changes.
22901 (main_loop_poll): Track netlink file descriptor and bump timestamp
22902 in case data becomes available.
22903 (main_loop_epoll): Likewise.
22904 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22905 (database_pers_head): Add extra_data fileds.
22906 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22907 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22908 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22909 Adjust caller.
22910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22911 in6ai data, call __free_in6ai.
22912 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22913 Add -DHAVE_NETLINK.
22914 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22915 interface information. Reuse previous data if netlink timestamp
22916 is not changed.
22917 (__bump_nl_timestamp): New function.
22918 (__free_in6ai): New function.
22919
636064eb
UD
229202011-10-30 Ulrich Drepper <drepper@gmail.com>
22921
22922 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22923 close_not_cancel_no_status here.
22924 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22925
9beb2334
UD
229262011-10-29 Ulrich Drepper <drepper@gmail.com>
22927
6ef76f3b
UD
22928 [BZ #13276]
22929 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22930 return value.
22931
0ffc4f3e 22932 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22933 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
22934 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
22935
cb95113e
UD
229362011-07-03 Andreas Jaeger <aj@suse.de>
22937
22938 [BZ #10709]
22939 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
22940 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
22941 * math/libm-test.inc (sin_test): Add test case.
22942
a1b560ff
UD
229432011-10-29 Ulrich Drepper <drepper@gmail.com>
22944
c9aaface
UD
22945 [BZ #13337]
22946 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
22947 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22948
d272e7f1
UD
22949 * elf/chroot_canon.c (chroot_canon): Cleanups.
22950
1bc33071
UD
22951 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
22952
1760874d
TJ
22953 [BZ #13335]
22954 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
22955 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
22956
51d91b18
UD
22957 * string/test-strchr.c: Make usable for strchrnul testing.
22958 * string/test-strchrnul.c: New file.
22959 * string/Makefile (strop-tests): Add strchrnul.
22960
a1b560ff 22961 * po/it.po: Update from translation team.
b611fb81 22962 * po/es.po: Likewise.
a1b560ff 22963
a5b81e1f
UD
229642011-10-28 Ulrich Drepper <drepper@gmail.com>
22965
fd52bc6d
UD
22966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
22967 the three constants needed as parameters. Drop the others.
22968 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
22969 __m128i_strloadu_tolower.
52e4b9eb
UD
22970 Create and initialize variable zero and use it in all the places
22971 where _mm_setzero_si128 was used.
fd52bc6d 22972
a5b81e1f
UD
22973 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
22974 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
22975 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
22976 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
22977 anymore.
22978 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
22979 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
22980 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
22981 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
22982 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
22983 __mpranred, __mptan.
22984 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
22985 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
22986 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
22987 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
22988 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
22989 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
22990 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
22991 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
22992 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
22993
b4343346
AS
229942011-10-28 Andreas Schwab <schwab@redhat.com>
22995
0c92d8a8
AS
22996 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
22997 redefine if SHARED.
22998 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
22999
b4343346
AS
23000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23001 wide char related routines to wcsmbs subdir.
23002
3871f58f
AS
230032011-10-27 Andreas Schwab <schwab@redhat.com>
23004
23005 [BZ #13344]
23006 * misc/sys/cdefs.h (__THROWNL): Define.
23007 * posix/unistd.h: Use __THREADNL instead of __THREAD
23008 for memory synchronization functions.
23009
94d44d9f
RM
230102011-10-26 Roland McGrath <roland@hack.frob.com>
23011
21b64b15 23012 [BZ #13349]
94d44d9f
RM
23013 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23014 doesn't exist.
23015 * manual/stdio.texi (Obstack Streams): Node removed.
23016
f6ce9294
AS
230172011-10-26 Andreas Schwab <schwab@redhat.com>
23018
80479147
AS
23019 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23020 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23021 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23022
f6ce9294
AS
23023 * math/math_private.h (math_force_eval): Allow non-addressable
23024 arguments.
23025 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23026
618280a1
UD
230272011-10-25 Ulrich Drepper <drepper@gmail.com>
23028
e0016b11
UD
23029 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23030 file is not needed.
23031
23032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23034 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23035 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23036 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23039 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23040 Add AVX variants.
23041 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23042 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23043 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23044 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23045 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23046 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23047 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23048 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23049 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23050 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23051 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23052 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23053 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23054 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23055 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23056 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23057 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23058 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23059 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23060
23061 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23062 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23063
618280a1
UD
23064 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23065 place. Use VEX encoding when compiling for AVX.
23066
37822576
AS
230672011-10-25 Andreas Schwab <schwab@redhat.com>
23068
1f1e1947
AS
23069 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23070 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23071
37822576
AS
23072 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23073
31ea014d
UD
230742011-10-25 Ulrich Drepper <drepper@gmail.com>
23075
d7826aa1 23076 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23077 useless if() expression.
d7826aa1
UD
23078 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23079 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23080 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23081 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23082 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23083 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23084 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23086 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23087 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23088 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23089 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23090 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23091 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23092 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23093 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23094 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23096 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23097
31ea014d
UD
23098 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23099
16437fec
AS
231002011-10-25 Andreas Schwab <schwab@redhat.com>
23101
23102 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23103 condition.
23104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23105
31d3cc00
UD
231062011-10-25 Ulrich Drepper <drepper@gmail.com>
23107
23108 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23109 .text section. Avoid duplicate constants.
23110 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23118 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23119 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23120 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23121 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23122 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23123 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23124 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23125 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23126 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23127 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23128 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23130 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23131 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23132 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23133 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23134 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23135 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23136 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23137 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23138 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23139 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23141 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23142 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23143 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23144 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23145 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23146 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23147 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23148 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23149 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23150 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23151 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23152 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23153 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23154 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23155
58985aa9
UD
231562011-10-24 Ulrich Drepper <drepper@gmail.com>
23157
202c9deb
UD
23158 * sysdeps/x86_64/dla.h: Move to ...
23159 * sysdeps/x86_64/fpu/dla.h: ...here.
23160 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23161 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23162
af968f62
UD
23163 * config.make.in: Add have-mfma4 entry.
23164 * configure.in: Substitute libc_cv_cc_fma4.
23165 * math/Makefile (dbl-only-routines): Add sincostab.
23166 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23167 Use __sincostab not sincos.
23168 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23169 name is a macro.
23170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23174 using __copysign.
23175 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23176 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23177 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23178 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23179 and __inv.
23180 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23181 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23182 __copysign.
23183 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23184 define aliases when function name is a macro.
23185 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23186 sysdeps/ieee754/dbl-64/sincos.tbl.
23187 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23188 fma4-enabled routines.
23189 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23190 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23191 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23192 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23193 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23194 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23196 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23197 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23198 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23199 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23201 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23203 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23204 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23205 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23206 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23207 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23209 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23212 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23213 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23214 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23216 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23217 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23218 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23219
58985aa9
UD
23220 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23221 rename.
23222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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
a201fbcf
AS
232312011-10-24 Andreas Schwab <schwab@redhat.com>
23232
23233 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23234
fc2ee42a
LD
232352011-10-23 Ulrich Drepper <drepper@gmail.com>
23236
bb3129bd
UD
23237 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23238
0275fff8
UD
23239 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23240 prediction.
23241 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23242
2fa2ae85
UD
23243 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23244 Remove unused variable magic_bits.
23245 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23246
fc2ee42a
LD
23247 * string/strnlen.c: Define and use STRNLEN macro.
23248 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23249 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23251 * wcsmbs/wcslen.c: Define and use WCSLEN.
23252 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23253 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23254 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23255 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23256 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23257 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23258 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23259
ce7dd29f
LD
232602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23261
23262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23263 strnlen-sse2-no-bsf.
23264 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23266 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23267 Add strnlen support.
23268 (USE_AS_STRNLEN): New macro.
23269 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23270 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23271 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23272 * sysdeps/x86_64/wcslen.S: New file.
23273
979c70a3
MZ
232742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23275
23276 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23277 XMM-moves are used for copying on small sizes.
23278
2d09f82f
LD
232792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23280
23281 * wcsmbs/Makefile (strop-tests): Add wcschr.
23282 * wcsmbs/test-wcschr.c: New file.
23283 * string/test-strchr.c: Update.
23284 Add wcschr support.
23285 (WIDE): New macro.
23286
619fccca
LD
232872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23288
2d09f82f 23289 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23290 * wcsmbs/test-wcslen.c: New file.
23291 * string/test-strlen.c: Update.
23292 Add wcslen support.
23293 (WIDE): New macro.
23294
09f699ea
UD
232952011-10-23 Ulrich Drepper <drepper@gmail.com>
23296
23297 * po/it.po: Update from translation team.
23298
95584d3b
LD
232992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23300
23301 * sysdeps/x86_64/wcscmp.S: Update.
23302 Fix wrong comparison semantics.
23303 wcscmp shall use signed comparison not unsigned.
23304 Don't use substraction to avoid overflow bug.
23305 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23306 * wcsmbc/wcscmp.c: Likewise.
23307 * string/test-strcmp.c: Likewise.
23308 Add new tests to check cases with negative values.
23309
c8b3296b
UD
233102011-10-23 Ulrich Drepper <drepper@gmail.com>
23311
23312 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23313 * sysdeps/x86_64/dla.h: ...here. New file.
23314 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23323
246ad57a
AS
233242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23325
23326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23327 __ynl_finite aliases.
23328
a1a87169
UD
233292011-10-22 Ulrich Drepper <drepper@gmail.com>
23330
0d355eb7
UD
23331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23332
a1a87169
UD
23333 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23334 define DLA_FMA.
23335 [DLA_FMA] (EMULV): Use DLA_FMA.
23336 [DLA_FMA] (MUL12): Use EMULV.
23337 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23338 that are not needed.
23339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23346
ee2aafe0
AS
233472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23348
23349 * math/s_nan.c: Undef __nan.
23350 * math/s_nanf.c: Undef __nanf.
23351 * math/s_nanl.c: Undef __nanl.
23352 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23353 "math_private.h".
23354
bc62c2fb
UD
233552011-10-22 Ulrich Drepper <drepper@gmail.com>
23356
77425c63
UD
23357 * math/s_catan.c: Add branch predictions.
23358 * math/s_catanf.c: Likewise.
23359 * math/s_catanh.c: Likewise.
23360 * math/s_catanhf.c: Likewise.
23361 * math/s_catanhl.c: Likewise.
23362 * math/s_catanl.c: Likewise.
23363 * math/s_cexp.c: Likewise.
23364 * math/s_cexpf.c: Likewise.
23365 * math/s_cexpl.c: Likewise.
23366 * math/s_clog.c: Likewise.
23367 * math/s_clog10.c: Likewise.
23368 * math/s_clog10f.c: Likewise.
23369 * math/s_clog10l.c: Likewise.
23370 * math/s_clogf.c: Likewise.
23371 * math/s_clogl.c: Likewise.
23372 * math/s_csqrt.c: Likewise.
23373 * math/s_csqrtf.c: Likewise.
23374 * math/s_csqrtl.c: Likewise.
23375 * math/s_ctanf.c: Likewise.
23376 * math/s_ctanh.c: Likewise.
23377 * math/s_ctanhf.c: Likewise.
23378 * math/s_ctanhl.c: Likewise.
23379 * math/s_ctanl.c: Likewise.
23380
bc62c2fb
UD
23381 * math/math_private.h: Define __nan, __nanf, __nanl.
23382 * math/s_cacosh.c: Include <math_private.h>.
23383 * math/s_cacoshl.c: Likewise.
23384 * math/s_casinh.c: Likewise.
23385 * math/s_casinhf.c: Likewise.
23386 * math/s_casinhl.c: Likewise.
23387 * math/s_ccos.c: Rely entire on ccosh.
23388 * math/s_ccosf.c: Rely entire on ccoshf.
23389 * math/s_ccosl.c: Rely entirely on ccoshl.
23390 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23391 Remove tests for FE_INVALID.
23392 * math/s_ccoshf.c: Likewise.
23393 * math/s_ccoshl.c: Likewise.
23394 * math/s_csin.c: Likewise.
23395 * math/s_csinf.c: Likewise.
23396 * math/s_csinh.c Likewise.
23397 * math/s_csinhf.c: Likewise.
23398 * math/s_csinhl.c: Likewise.
23399 * math/s_csinl.c: Likewise.
23400 * math/s_ctan.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23402 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23404
8ec250a4
UD
234052011-10-21 Ulrich Drepper <drepper@gmail.com>
23406
c196fed8
UD
23407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23408 compilation problems.
23409
8ec250a4
UD
23410 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23411 __builtin_expect.
23412
8d4f46c6
UD
234132011-10-20 Ulrich Drepper <drepper@gmail.com>
23414
ed72b654
UD
23415 * sysdeps/i386/configure.in: Test for -mfma4 option.
23416 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23417 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23418 COMMON_CPUID_INDEX_80000001.
23419 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23420 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23421 use it if FMA3 is not supported.
23422 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23423
8d4f46c6
UD
23424 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23425 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23426
d45c60c2
AS
234272011-10-20 Andreas Schwab <schwab@redhat.com>
23428
23429 [BZ #12892]
23430 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23431 it would create a cycle with a link time dependency.
23432
d9a4d2ab
UD
234332011-10-19 Ulrich Drepper <drepper@gmail.com>
23434
855d1560
UD
23435 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23436 instruction.
23437 * string/Makefile (strop-tests): Add rawmemchr.
23438 * string/test-rawmemchr.c: New file.
23439
d9a4d2ab
UD
23440 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23441 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23442 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23443 when compiling str{,n}casecmp and when AVX is available. Hook up
23444 new optimized code in initializers.
23445
8f3b1ffe
AS
234462011-10-19 Andreas Schwab <schwab@redhat.com>
23447
23448 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23449 __feraiseexcept instead of feraiseexcept.
23450
d38f1dba
UD
234512011-10-18 Ulrich Drepper <drepper@gmail.com>
23452
d9a8d0ab
UD
23453 * math/math_private.h: Define defaults for libc_fetestexcept and
23454 libc_feupdateenv.
23455 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23456 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23457 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23458 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23459 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23460 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23461 libc_fetestexcept and libc_feupdateenv.
23462
4855e3dd
UD
23463 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23464 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23465 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23466 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23467 libc_feholdexcept_setround.
23468
581d30e3
UD
23469 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23470 Add s_nearbyint-c and s_nearbyintf-c.
23471 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23472 nearbyintf inlines.
23473 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23474 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23475 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23476 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23477
d38f1dba
UD
23478 * math/math_private.h: Define defaults for libc_fegetround,
23479 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23480 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23481 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23482 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23483 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23484 standard functions.
23485 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23486 Remove comments and hacks for old compiler versions.
23487 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23488 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23489 libc_feholdexceptl.
23490
caa6c9d8
AS
234912011-10-18 Andreas Schwab <schwab@redhat.com>
23492
23493 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23494 (__feraiseexcept_renamed): Add __NTH.
23495 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23496 namespace violations.
23497
97c066e6
UD
234982011-10-17 Ulrich Drepper <drepper@gmail.com>
23499
99ce7b04
UD
23500 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23501
1004d182
UD
23502 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23503
228a984d
UD
23504 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23505 recently added interfaces.
23506 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23507
c8553a6a
UD
23508 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23509 about macro parameter expansion.
23510
ed22dcf6
UD
23511 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23512 __NO_MATH_INLINES is defined. Cleanups.
23513
23514 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23515 and __floorf is target has SSE4.1.
23516 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23517 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23518 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23519 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23520
b171c137
UD
23521 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23522 name.
23523 (floorf): Likewise.
23524
97c066e6
UD
23525 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23526
629f62ef
AS
235272011-10-17 Andreas Schwab <schwab@redhat.com>
23528
49a43d80
AS
23529 * misc/sys/cdefs.h: Fix last change.
23530
629f62ef
AS
23531 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23532 database lookup.
23533
e453f6cd
UD
235342011-10-16 Ulrich Drepper <drepper@gmail.com>
23535
aa78043a
UD
23536 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23537
ad0f5cad
UD
23538 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23540 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23541 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23542 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23543 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23544 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23545 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23546 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23547 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23548 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23549 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23550 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23551 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23552 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23553 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23554 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23555 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23556 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23557 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23558 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23559 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23560
23561 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23562 ceil, ceilf, floor, floorf.
23563
23564 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23565 Perform IRELATIVE relocations last.
23566
e453f6cd
UD
23567 * elf/do-rel.h: Add another parameter nrelative, replacing the
23568 local variable with the same name. Change name of the function
23569 to end in Rel or Rela (uppercase).
23570 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23571 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23572 elf_dynamic_do_##reloc function.
23573
fd5bdc09
UD
235742011-10-15 Ulrich Drepper <drepper@gmail.com>
23575
79b195b5
UD
23576 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23577 is sufficient, at least on modern CPUs.
23578
d4a28569
UD
23579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23580
b61099b5
UD
23581 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23582 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23583
bcf01e6d
UD
23584 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23585 __expl_finite.
23586 * math/bits/math-finite.h: Add entries for exp.
23587 * math/e_expl.c: Add __*_finite alias.
23588 * sysdeps/i386/fpu/e_exp.S: Likewise.
23589 * sysdeps/i386/fpu/e_expf.S: Likewise.
23590 * sysdeps/i386/fpu/e_expl.c: Likewise.
23591 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23592 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23593 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23596 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23597 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23598
ba1a0d59
UD
23599 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23600 is sufficient, at least on modern CPUs.
23601
fd5bdc09
UD
23602 * ctype/ctype-info.c (__ctype_init): Define.
23603 * include/ctype.h (__ctype_init): Declare.
23604 (__ctype_b_loc): The variable is always initialized.
23605 (__ctype_toupper_loc): Likewise.
23606 (__ctype_tolower_loc): Likewise.
23607 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23608 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23609
7872cfb0
AS
236102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23611
b468825a
AS
23612 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23613
7872cfb0
AS
23614 * configure.in: Also look in $cxxmachine/include for C++ system
23615 headers.
23616
be13f7bf
LD
236172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23618
23619 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23620 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23621 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23622 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23624 (USE_AS_WMEMCMP): New macro.
23625 Fixing indents.
23626 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23627 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23628 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23629 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23631 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23632 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23633 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23634 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23635 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23636 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23637 (USE_AS_WMEMCMP): New macro.
23638 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23639 * sysdeps/string/test-memcmp.c: Update.
23640 Fix simple_wmemcmp.
23641 Add new tests.
23642 * wcsmbs/wmemcmp.c: Update.
23643 (WMEMCMP): New macro.
23644 Fix overflow bug.
23645
556a2007
AJ
236462011-10-12 Andreas Jaeger <aj@suse.de>
23647
23648 [BZ #13268]
23649 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23650
538faaa7
UD
236512011-10-15 Ulrich Drepper <drepper@gmail.com>
23652
ab6737ff
UD
23653 * libio/iofwide.c (do_length): Avoid warning.
23654
538faaa7
UD
23655 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23656
396a21b1
UD
236572011-10-14 Ulrich Drepper <drepper@gmail.com>
23658
cdf2901f
UD
23659 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23660
38ad40ce
UD
23661 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23662 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23663 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23664 * sysdeps/i386/i686/fpu/e_log.S: New file.
23665 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23666 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23667
396a21b1
UD
23668 * ctype/ctype.h: Add support for inlined isXXX functions when
23669 compiling C++ code.
23670
6b1f68c9
AS
236712011-10-14 Andreas Schwab <schwab@redhat.com>
23672
349290c0
AS
23673 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23674
6b1f68c9
AS
23675 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23676
f2282d42
RM
236772011-10-13 Roland McGrath <roland@hack.frob.com>
23678
23679 [BZ #13291]
23680 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23681
5298ffa8
AS
236822011-10-13 Andreas Schwab <schwab@redhat.com>
23683
714fad23
AS
23684 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23685 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23686 feraiseexcept.
23687
81dcc7fb
AS
23688 * sysdeps/x86_64/memrchr.S: Check for zero size.
23689
5298ffa8
AS
23690 * string/stratcliff.c: Add memrchr tests.
23691
951fbcec
LD
236922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23693
23694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23695 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23696 rawmemchr-sse2 rawmemchr-sse2-bsf.
23697 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23698 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23699 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23700 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23701 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23702 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23703 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23704 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23705 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23706 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23707 * string/memrchr.c (MEMRCHR): New macro.
23708
0ac5ae23
UD
237092011-10-12 Ulrich Drepper <drepper@gmail.com>
23710
23711 Add integration with gcc's -ffinite-math-only and optimize wrapper
23712 functions in libm.
23713 * Versions.def: Define GLIBC_2.15 version for libm.
23714 * math/Makefile (headers): Add bits/math-finite.h.
23715 * math/bits/math-finite.h: New file.
23716 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23717 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23718 * math/e_acoshl.c: Add __*_finite alias.
23719 * math/e_acosl.c: Likewise.
23720 * math/e_asinl.c: Likewise.
23721 * math/e_atan2l.c: Likewise.
23722 * math/e_atanhl.c: Likewise.
23723 * math/e_coshl.c: Likewise.
23724 * math/e_exp10.c: Likewise.
23725 * math/e_exp10f.c: Likewise.
23726 * math/e_exp10l.c: Likewise.
23727 * math/e_exp2l.c: Likewise.
23728 * math/e_fmodl.c: Likewise.
23729 * math/e_gammal_r.c: Likewise.
23730 * math/e_hypotl.c: Likewise.
23731 * math/e_j0l.c: Likewise.
23732 * math/e_j1l.c: Likewise.
23733 * math/e_jnl.c: Likewise.
23734 * math/e_lgammal_r.c: Likewise.
23735 * math/e_log10l.c: Likewise.
23736 * math/e_log2l.c: Likewise.
23737 * math/e_logl.c: Likewise.
23738 * math/e_powl.c: Likewise.
23739 * math/e_sinhl.c: Likewise.
23740 * math/e_sqrtl.c: Likewise.
23741 * math/e_scalb.c: Completely rewritten and optimized.
23742 * math/e_scalbf.c: Likewise.
23743 * math/e_scalbl.c: Likewise.
23744 * math/w_acos.c: Likewise.
23745 * math/w_acosf.c: Likewise.
23746 * math/w_acosl.c: Likewise.
23747 * math/w_acosh.c: Likewise.
23748 * math/w_acoshf.c: Likewise.
23749 * math/w_acoshl.c: Likewise.
23750 * math/w_asin.c: Likewise.
23751 * math/w_asinf.c: Likewise.
23752 * math/w_asinl.c: Likewise.
23753 * math/w_atan2.c: Likewise.
23754 * math/w_atan2f.c: Likewise.
23755 * math/w_atan2l.c: Likewise.
23756 * math/w_atanh.c: Likewise.
23757 * math/w_atanhf.c: Likewise.
23758 * math/w_atanhl.c: Likewise.
23759 * math/w_exp10.c: Likewise.
23760 * math/w_exp10f.c: Likewise.
23761 * math/w_exp10l.c: Likewise.
23762 * math/w_fmod.c: Likewise.
23763 * math/w_fmodf.c: Likewise.
23764 * math/w_fmodl.c: Likewise.
23765 * math/w_j0.c: Likewise.
23766 * math/w_j0f.c: Likewise.
23767 * math/w_j0l.c: Likewise.
23768 * math/w_j1.c: Likewise.
23769 * math/w_j1f.c: Likewise.
23770 * math/w_j1l.c: Likewise.
23771 * math/w_jn.c: Likewise.
23772 * math/w_jnf.c: Likewise.
23773 * math/w_log.c: Likewise.
23774 * math/w_logf.c: Likewise.
23775 * math/w_logl.c: Likewise.
23776 * math/w_log10.c: Likewise.
23777 * math/w_log10f.c: Likewise.
23778 * math/w_log10l.c: Likewise.
23779 * math/w_log2.c: Likewise.
23780 * math/w_log2f.c: Likewise.
23781 * math/w_log2l.c: Likewise.
23782 * math/w_pow.c: Likewise.
23783 * math/w_powf.c: Likewise.
23784 * math/w_powl.c: Likewise.
23785 * math/w_remainder.c: Likewise.
23786 * math/w_remainderf.c: Likewise.
23787 * math/w_remainderl.c: Likewise.
23788 * math/w_scalb.c: Likewise.
23789 * math/w_scalbf.c: Likewise.
23790 * math/w_scalbl.c: Likewise.
23791 * math/w_sqrt.c: Likewise.
23792 * math/w_sqrtf.c: Likewise.
23793 * math/w_sqrtl.c: Likewise.
23794 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23795 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23796 used.
23797 * math/math_private.h: Declare __kernel_standard_f.
23798 * math/w_cosh.c: Remove cruft and optimize a bit.
23799 * math/w_coshf.c: Likewise.
23800 * math/w_coshl.c: Likewise.
23801 * math/w_exp2.c: Likewise.
23802 * math/w_exp2f.c: Likewise.
23803 * math/w_exp2l.c: Likewise.
23804 * math/w_hypot.c: Likewise.
23805 * math/w_hypotf.c: Likewise.
23806 * math/w_hypotl.c: Likewise.
23807 * math/w_lgamma.c: Likewise.
23808 * math/w_lgamma_r.c: Likewise.
23809 * math/w_lgammaf.c: Likewise.
23810 * math/w_lgammaf_r.c: Likewise.
23811 * math/w_lgammal.c: Likewise.
23812 * math/w_lgammal_r.c: Likewise.
23813 * math/w_sinh.c: Likewise.
23814 * math/w_sinhf.c: Likewise.
23815 * math/w_sinhl.c: Likewise.
23816 * math/w_tgamma.c: Likewise.
23817 * math/w_tgammaf.c: Likewise.
23818 * math/w_tgammal.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23821 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23822 Minor optimizations. Pretty printing. Remove cruft.
23823 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23824 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23825 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23826 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23827 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23828 * sysdeps/i386/fpu/e_asin.S: Likewise.
23829 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23830 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23831 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23832 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23833 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23834 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23835 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23836 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23837 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23838 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23839 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23840 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23841 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23842 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23843 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23844 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23845 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23846 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23847 * sysdeps/i386/fpu/e_log.S: Likewise.
23848 * sysdeps/i386/fpu/e_log10.S: Likewise.
23849 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23850 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23851 * sysdeps/i386/fpu/e_log2.S: Likewise.
23852 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23853 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23854 * sysdeps/i386/fpu/e_logf.S: Likewise.
23855 * sysdeps/i386/fpu/e_logl.S: Likewise.
23856 * sysdeps/i386/fpu/e_pow.S: Likewise.
23857 * sysdeps/i386/fpu/e_powf.S: Likewise.
23858 * sysdeps/i386/fpu/e_powl.S: Likewise.
23859 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23860 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23861 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23862 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23863 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23864 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23865 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23866 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23867 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23869 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23871 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23873 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23874 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23875 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23877 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23878 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23879 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23881 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23882 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23884 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23885 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23886 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23888 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23889 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23890 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23891 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23892 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23893 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23894 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23895 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23896 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23897 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23898 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23899 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23900 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23901 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23902 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23903 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23904 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23905 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23906 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23907 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23908 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23909 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23910 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23911 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23912 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23913 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23914 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23915 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23918 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23923 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23924 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23925 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23928 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23929 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23930 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23932 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23933 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
23934 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
23935 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
23936 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
23937 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
23938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
23939 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
23940 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
23941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
23942 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
23943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23944 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23945 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
23946 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
23947 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
23948 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23949 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
23950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
23951 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
23952 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23953 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23955 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
23956 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23957 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
23958 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
23959 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23961 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23962 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23963 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23964 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23965 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23966 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23967 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23968 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
23969 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
23970 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
23971 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
23972 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23973 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23974 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23975 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23976 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
23977 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23978 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
23979 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
23980 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
23981 (__isnanf): Likewise.
23982 (__isinf_ns): Likewise.
23983 (__isinf_nsf): Likewise.
23984 (__finite): Likewise.
23985 (__finitef): Likewise.
23986 (__ieee754_sqrt): Define as macro.
23987 (__ieee754_sqrtf): Define as macro.
23988 (__ieee754_sqrtl): Define as macro.
23989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
23990 inlined copy.
23991 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
23992 __FINITE_MATH_ONLY__ consistent.
23993 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
23994
12cc2fcd
AS
239952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
23996
a843a204
AS
23997 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
23998 of rawmemchr.
23999
12cc2fcd
AS
24000 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24001
c853acd5
UD
240022011-10-09 Ulrich Drepper <drepper@gmail.com>
24003
24004 * po/ja.po: Update from translation team.
24005
c658d255
RM
240062011-10-08 Roland McGrath <roland@hack.frob.com>
24007
110946e4
RM
24008 * locale/programs/locarchive.c (prepare_address_space): New function.
24009 (create_archive, enlarge_archive, open_archive): Use it.
24010
50604220
RM
24011 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24012 inside [SHARED], where it is used.
24013
c658d255
RM
24014 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24015
24016 * nss/getent.c (netgroup_keys): Remove unused variable.
24017 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24018
6a621eb7
UD
240192011-10-08 Ulrich Drepper <drepper@gmail.com>
24020
7edb55ce
UD
24021 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24022 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24024 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24025 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24026 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24027 * math/Makefile (libm-calls): Add s_isinf_ns.
24028 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24029 * math/multc3.c: Likewise.
24030 * math/s_casin.c: Likewise.
24031 * math/s_casinf.c: Likewise.
24032 * math/s_casinl.c: Likewise.
24033 * math/s_ccos.c: Likewise.
24034 * math/s_ccosf.c: Likewise.
24035 * math/s_ccosl.c: Likewise.
24036 * math/s_ctan.c: Likewise.
24037 * math/s_ctanf.c: Likewise.
24038 * math/s_ctanh.c: Likewise.
24039 * math/s_ctanhf.c: Likewise.
24040 * math/s_ctanhl.c: Likewise.
24041 * math/s_ctanl.c: Likewise.
24042 * math/w_fmod.c: Likewise.
24043 * math/w_fmodf.c: Likewise.
24044 * math/w_fmodl.c: Likewise.
24045 * math/w_remainder.c: Likewise.
24046 * math/w_remainderf.c: Likewise.
24047 * math/w_remainderl.c: Likewise.
24048 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24049 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24052 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24053 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24054 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24055 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24056
187da0ae
UD
24057 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24058 of the number.
24059 * stdio-common/printf_fphex.c: Likewise.
24060 * stdio-common/printf_size.c: Likewise.
24061
9277c064
UD
24062 * math/e_exp10.c: Include math_private.h using <...> not "...".
24063 * math/e_exp10f.c: Likewise.
24064 * math/e_exp10l.c: Likewise.
24065 * math/e_exp2l.c: Likewise.
24066 * math/e_j0l.c: Likewise.
24067 * math/e_j1l.c: Likewise.
24068 * math/e_jnl.c: Likewise.
24069 * math/e_lgammal_r.c: Likewise.
24070 * math/e_rem_pio2l.c: Likewise.
24071 * math/e_scalb.c: Likewise.
24072 * math/e_scalbf.c: Likewise.
24073 * math/e_scalbl.c: Likewise.
24074 * math/k_cosl.c: Likewise.
24075 * math/k_sinl.c: Likewise.
24076 * math/k_tanl.c: Likewise.
24077 * math/s_cacoshf.c: Likewise.
24078 * math/s_catan.c: Likewise.
24079 * math/s_catanf.c: Likewise.
24080 * math/s_catanh.c: Likewise.
24081 * math/s_catanhf.c: Likewise.
24082 * math/s_catanhl.c: Likewise.
24083 * math/s_catanl.c: Likewise.
24084 * math/s_ccosh.c: Likewise.
24085 * math/s_ccoshf.c: Likewise.
24086 * math/s_ccoshl.c: Likewise.
24087 * math/s_cexp.c: Likewise.
24088 * math/s_cexpf.c: Likewise.
24089 * math/s_cexpl.c: Likewise.
24090 * math/s_clog.c: Likewise.
24091 * math/s_clog10.c: Likewise.
24092 * math/s_clog10f.c: Likewise.
24093 * math/s_clog10l.c: Likewise.
24094 * math/s_clogf.c: Likewise.
24095 * math/s_clogl.c: Likewise.
24096 * math/s_csin.c: Likewise.
24097 * math/s_csinf.c: Likewise.
24098 * math/s_csinh.c: Likewise.
24099 * math/s_csinhf.c: Likewise.
24100 * math/s_csinhl.c: Likewise.
24101 * math/s_csinl.c: Likewise.
24102 * math/s_csqrt.c: Likewise.
24103 * math/s_csqrtf.c: Likewise.
24104 * math/s_csqrtl.c: Likewise.
24105 * math/s_ctan.c: Likewise.
24106 * math/s_ctanf.c: Likewise.
24107 * math/s_ctanh.c: Likewise.
24108 * math/s_ctanhf.c: Likewise.
24109 * math/s_ctanhl.c: Likewise.
24110 * math/s_ctanl.c: Likewise.
24111 * math/s_ldexp.c: Likewise.
24112 * math/s_ldexpf.c: Likewise.
24113 * math/s_ldexpl.c: Likewise.
24114 * math/s_significand.c: Likewise.
24115 * math/s_significandf.c: Likewise.
24116 * math/s_significandl.c: Likewise.
24117 * math/w_acos.c: Likewise.
24118 * math/w_acosf.c: Likewise.
24119 * math/w_acosh.c: Likewise.
24120 * math/w_acoshf.c: Likewise.
24121 * math/w_acoshl.c: Likewise.
24122 * math/w_acosl.c: Likewise.
24123 * math/w_asin.c: Likewise.
24124 * math/w_asinf.c: Likewise.
24125 * math/w_asinl.c: Likewise.
24126 * math/w_atan2.c: Likewise.
24127 * math/w_atan2f.c: Likewise.
24128 * math/w_atan2l.c: Likewise.
24129 * math/w_atanh.c: Likewise.
24130 * math/w_atanhf.c: Likewise.
24131 * math/w_atanhl.c: Likewise.
24132 * math/w_cosh.c: Likewise.
24133 * math/w_coshf.c: Likewise.
24134 * math/w_coshl.c: Likewise.
24135 * math/w_dremf.c: Likewise.
24136 * math/w_exp10.c: Likewise.
24137 * math/w_exp10f.c: Likewise.
24138 * math/w_exp10l.c: Likewise.
24139 * math/w_exp2.c: Likewise.
24140 * math/w_exp2f.c: Likewise.
24141 * math/w_fmod.c: Likewise.
24142 * math/w_fmodf.c: Likewise.
24143 * math/w_fmodl.c: Likewise.
24144 * math/w_hypot.c: Likewise.
24145 * math/w_hypotf.c: Likewise.
24146 * math/w_hypotl.c: Likewise.
24147 * math/w_j0.c: Likewise.
24148 * math/w_j0f.c: Likewise.
24149 * math/w_j0l.c: Likewise.
24150 * math/w_j1.c: Likewise.
24151 * math/w_j1f.c: Likewise.
24152 * math/w_j1l.c: Likewise.
24153 * math/w_jn.c: Likewise.
24154 * math/w_jnf.c: Likewise.
24155 * math/w_jnl.c: Likewise.
24156 * math/w_lgamma.c: Likewise.
24157 * math/w_lgamma_r.c: Likewise.
24158 * math/w_lgammaf.c: Likewise.
24159 * math/w_lgammaf_r.c: Likewise.
24160 * math/w_lgammal.c: Likewise.
24161 * math/w_lgammal_r.c: Likewise.
24162 * math/w_log.c: Likewise.
24163 * math/w_log10.c: Likewise.
24164 * math/w_log10f.c: Likewise.
24165 * math/w_log10l.c: Likewise.
24166 * math/w_log2.c: Likewise.
24167 * math/w_log2f.c: Likewise.
24168 * math/w_log2l.c: Likewise.
24169 * math/w_logf.c: Likewise.
24170 * math/w_logl.c: Likewise.
24171 * math/w_pow.c: Likewise.
24172 * math/w_powf.c: Likewise.
24173 * math/w_powl.c: Likewise.
24174 * math/w_remainder.c: Likewise.
24175 * math/w_remainderf.c: Likewise.
24176 * math/w_remainderl.c: Likewise.
24177 * math/w_scalb.c: Likewise.
24178 * math/w_scalbf.c: Likewise.
24179 * math/w_scalbl.c: Likewise.
24180 * math/w_sinh.c: Likewise.
24181 * math/w_sinhf.c: Likewise.
24182 * math/w_sinhl.c: Likewise.
24183 * math/w_sqrt.c: Likewise.
24184 * math/w_sqrtf.c: Likewise.
24185 * math/w_sqrtl.c: Likewise.
24186 * math/w_tgamma.c: Likewise.
24187 * math/w_tgammaf.c: Likewise.
24188 * math/w_tgammal.c: Likewise.
24189
6a621eb7
UD
24190 * po/ja.po: Update from translation team.
24191
bf582445
AJ
241922011-09-29 Andreas Jaeger <aj@suse.de>
24193
f9efbf3a
AJ
24194 [BZ #13179]
24195 * sunrpc/netname.c (netname2host): Fix logic.
24196
bf582445
AJ
24197 [BZ #6779]
24198 [BZ #6783]
24199 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24200 correctly.
24201 * math/w_remainder.c (__remainder): Likewise.
24202 * math/w_remainderf.c (__remainderf): Likewise.
24203 * math/libm-test.inc (remainder_test): Add test cases.
24204
48693bea
AK
242052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24206
24207 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24208 sdiv_qrnnd.
24209
42622229
LD
242102011-10-07 Ulrich Drepper <drepper@gmail.com>
24211
24212 * string/test-memcmp.c: Avoid unncessary #defines.
24213 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24214
093ecf92
LD
242152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24216
24217 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24218 Use new sse2 version for core i3 - i7 as it's faster
24219 than sse42 version.
24220 (bit_Prefer_PMINUB_for_stringop): New.
24221 * sysdeps/x86_64/rawmemchr.S: Update.
24222 Replace with faster SSE2 version.
24223 * sysdeps/x86_64/memrchr.S: New file.
24224 * sysdeps/x86_64/memchr.S: Update.
24225 Replace with faster SSE2 version.
24226
fde56e5c
MP
242272011-09-12 Marek Polacek <mpolacek@redhat.com>
24228
24229 * elf/dl-load.c (lose): Add cast to avoid warning.
24230
21fd49a9
UD
242312011-10-07 Ulrich Drepper <drepper@gmail.com>
24232
5a06e643
UD
24233 * po/ca.po: Update from translation team.
24234
684ae515
UD
24235 * inet/getnetgrent_r.c: Hook up nscd.
24236 * nscd/Makefile (routines): Add nscd_netgroup.
24237 (nscd-modules): Add netgroupcache.
24238 (CFLAGS-netgroupcache.c): Define.
24239 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24240 (cache_search): Add const to second parameter.
24241 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24242 INNETGR.
24243 (dbs): Add netgrdb entry.
24244 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24245 (verify_persistent_db): Handle netgrdb.
24246 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24247 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24248 GETFDNETGR.
24249 (netgroup_response_header): Define.
24250 (innetgroup_response_header): Define.
24251 (datahead): Add netgroup_response_header and innetgroup_response_header
24252 elements.
24253 * nscd/nscd.conf: Add entries for netgroup cache.
24254 * nscd/nscd.h (dbtype): Add netgrdb.
24255 (_PATH_NSCD_NETGROUP_DB): Define.
24256 (netgroup_iov_disabled): Declare.
24257 (xmalloc, xcalloc, xrealloc): Move declarations here.
24258 (cache_search): Adjust prototype.
24259 Add netgroup-related prototypes.
24260 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24261 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24262 (__nscd_innetgr): Declare.
24263 * nscd/selinux.c (perms): Use access_vector_t as element type and
24264 add netgroup-related initializers.
24265 * nscd/netgroupcache.c: New file.
24266 * nscd/nscd_netgroup.c: New file.
24267 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24268 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24269 For four parameters use innetgr.
24270 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24271 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24272 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24273 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24274
21fd49a9
UD
24275 * nscd/connections.c (register_traced_file): Don't register file
24276 for disabled databases.
24277
054c0457
UD
242782011-10-06 Ulrich Drepper <drepper@gmail.com>
24279
32b63198
UD
24280 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24281
054c0457
UD
24282 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24283 from tree and freeing node.
24284
64031225
JO
242852011-09-25 Jiri Olsa <jolsa@redhat.com>
24286
24287 * nss/nsswitch.c (__nss_database_lookup): Handle
24288 nss_parse_service_list out of memory case.
24289
0490345c
JO
242902011-09-15 Jiri Olsa <jolsa@redhat.com>
24291
24292 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24293 out of memory case.
24294
3a62d00d
AS
242952011-10-04 Andreas Schwab <schwab@redhat.com>
24296
24297 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24298 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24299 pass it down.
24300 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24301 elf_machine_rela, elf_machine_lazy_rel.
24302 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24303 (ELF_DYNAMIC_DO_REL): Likewise.
24304 (ELF_DYNAMIC_DO_RELA): Likewise.
24305 (ELF_DYNAMIC_RELOCATE): Likewise.
24306 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24307 to ELF_DYNAMIC_DO_REL.
24308 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24309 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24310 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24311 elf_machine_rela.
24312 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24313 skip_ifunc, don't call ifunc function if non-zero.
24314 (elf_machine_rela): Likewise.
24315 (elf_machine_lazy_rel): Likewise.
24316 (elf_machine_lazy_rela): Likewise.
24317 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24318 (elf_machine_lazy_rel): Likewise.
24319 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24320 Likewise.
24321 (elf_machine_lazy_rel): Likewise.
24322 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24323 Likewise.
24324 (elf_machine_lazy_rel): Likewise.
24325 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24326 (elf_machine_lazy_rel): Likewise.
24327 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24328 (elf_machine_lazy_rel): Likewise.
24329 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24330 (elf_machine_lazy_rel): Likewise.
24331 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24332 (elf_machine_lazy_rel): Likewise.
24333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24334 (elf_machine_lazy_rel): Likewise.
24335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24336 (elf_machine_lazy_rel): Likewise.
24337
68577918
UD
243382011-09-28 Ulrich Drepper <drepper@gmail.com>
24339
24340 * nss/nss_files/files-init.c (_nss_files_init): Use static
24341 initialization for all the *_traced_file variables.
24342
68822d74
AS
243432011-09-28 Andreas Schwab <schwab@redhat.com>
24344
24345 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24346
2056100b
RM
243472011-09-27 Roland McGrath <roland@hack.frob.com>
24348
24349 [BZ #13226]
24350 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24351
32c76b63
AS
243522011-09-27 Andreas Schwab <schwab@redhat.com>
24353
24354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24355 Reread the line before reparsing it.
24356
bf972c9d
AS
243572011-09-26 Andreas Schwab <schwab@redhat.com>
24358
24359 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24360
e057a1b5
JM
243612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24362 Maxim Kuvyrkov <maxim@codesourcery.com>
24363 Joseph Myers <joseph@codesourcery.com>
24364
24365 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24366 if needed for __stack_chk_guard.
24367
bc7e1c36
RM
243682011-09-19 Roland McGrath <roland@hack.frob.com>
24369
ecb1482f
RM
24370 * sysdeps/posix/spawni.c (script_execute): Always define it.
24371 It will be optimized away if unused.
24372 (maybe_script_execute): New function.
24373 (__spawni): Call it.
24374
bc7e1c36
RM
24375 * Makerules: Don't include tls.make.
24376 (config-tls): Always set to thread.
24377 * tls.make.c: File removed.
24378
1c3b002b
MF
243792011-09-19 Mike Frysinger <vapier@gentoo.org>
24380
24381 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24382 * config.make.in (CPPFLAGS-config): New substituted variable.
24383
2840865d
UD
243842011-09-15 Ulrich Drepper <drepper@gmail.com>
24385
88738eb6
UD
24386 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24387
cbf645a6 24388 [BZ #13192]
2840865d
UD
24389 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24390 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24391
b402e91a
RM
243922011-09-15 Roland McGrath <roland@hack.frob.com>
24393
24394 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24395 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24397 (CALL_FAIL): Likewise.
24398 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24399 (CALL_FAIL): Macro removed.
24400 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24401
4c1a1f71
UD
244022011-09-15 Ulrich Drepper <drepper@gmail.com>
24403
24404 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24405 for __FINITE_MATH_ONLY__ == 1.
24406
edc121be
AS
244072011-09-15 Andreas Schwab <schwab@redhat.com>
24408
24409 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24410 __ieee754_sqrt instead of sqrt.
24411 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24412 __ieee754_sqrtf instead of sqrtf.
24413 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24414 __floorf instead of floorf.
24415 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24416 __floorf, __truncf instead of floorf, truncf.
24417
cd205654
UD
244182011-09-14 Ulrich Drepper <drepper@gmail.com>
24419
ee4d0315
UD
24420 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24421
cd205654
UD
24422 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24423 __extern_always_inline.
24424 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24425 32-bit.
24426
48b67d71
AS
244272011-09-14 Andreas Schwab <schwab@redhat.com>
24428
24429 * elf/rtld.c (dl_main): Also relocate in dependency order when
24430 doing symbol dependency testing.
24431
1ae12c75
AS
244322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24433
24434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24435 Always define `refsym'.
24436
995a80df
AS
244372011-09-13 Andreas Schwab <schwab@redhat.com>
24438
e529793b
AS
24439 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24440 (__FD_ELT): Renamed from __FDELT.
24441 * misc/bits/select2.h (__FD_ELT): Likewise.
24442 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24443 __FD_MASK instead of __FDELT, __FDMASK.
24444 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24445 Likewise.
24446 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24447 Likewise.
24448
52d4fef8
AS
24449 * elf/Makefile (gen-ldd): Fix pattern.
24450
995a80df
AS
24451 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24452 (init_tls): Likewise.
24453
8682f8b0
UD
244542011-09-12 Ulrich Drepper <drepper@gmail.com>
24455
24456 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24457
de82006d
AS
244582011-09-12 Andreas Schwab <schwab@redhat.com>
24459
a7c8e6a1
AS
24460 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24461 `struct cmsghdr *' instead of `void *'.
24462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24463 Likewise.
24464
0f31fe77
AS
244652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24466
24467 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24468 if non-absolute.
24469 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24470 ldd_rewrite_script.
0f31fe77 24471
32b4c839
UD
244722011-09-11 Ulrich Drepper <drepper@gmail.com>
24473
83cd1420
UD
24474 * configure.in: Remove --with-tls option.
24475 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24476 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24477 out in case it is missing.
24478 * sysdeps/ia64/elf/configure.in: Likewise.
24479 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24480 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24481 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24482 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24483 * sysdeps/sh/elf/configure.in: Likewise.
24484 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24485 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24486 * sysdeps/x86_64/elf/configure.in: Likewise.
24487 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24488 * sysdeps/mach/hurd/tls.h: Likewise.
24489
633f745d
UD
24490 [BZ #13067]
24491 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24492
f318beb8
UD
24493 [BZ #13090]
24494 * configure.in: Fix use of AC_INIT.
24495
32b4c839
UD
24496 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24497
3ce1f295
UD
244982011-09-10 Ulrich Drepper <drepper@gmail.com>
24499
bb016596
UD
24500 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24501 __set_errno.
8e58439c
UD
24502 * malloc/hooks.c: Likewise.
24503
aebae053 24504 [BZ #11929]
02d46fc4
UD
24505 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24506 variables statically.
24507 (narenas): Initialize.
24508 (list_lock): Initialize.
bb016596
UD
24509 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24510 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24511 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24512 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24513 Add initializers to main_arena and mp_.
24514 (malloc_state): Remove pagesize member. Change all users to use
24515 GLRO(dl_pagesize).
24516
24517 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24518 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24519 is always initialized.
24520
22a89187
UD
24521 * malloc/malloc.c: Removed unused configurations and dead code.
24522 * malloc/arena.c: Likewise.
24523 * malloc/hooks.c: Likewise.
02d46fc4 24524 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24525
d063d164
UD
24526 * include/tls.h: Removed. USE___THREAD must always be defined.
24527 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24528 * elf/dl-libc.c: Likewise.
24529 * elf/dl-tsd.c: Likewise.
24530 * include/errno.h: Likewise.
24531 * include/netdb.h: Likewise.
24532 * include/resolv.h: Likewise.
24533 * inet/herrno-loc.c: Likewise.
24534 * inet/herrno.c: Likewise.
24535 * malloc/arena.c: Likewise.
24536 * malloc/hooks.c: Likewise.
24537 * malloc/malloc.c: Likewise.
24538 * resolv/res-state.c: Likewise.
24539 * resolv/res_libc.c: Likewise.
24540 * sysdeps/i386/dl-machine.h: Likewise.
24541 * sysdeps/ia64/dl-machine.h: Likewise.
24542 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24543 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24544 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24545 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24546 * sysdeps/sh/dl-machine.h: Likewise.
24547 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24548 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24549 * sysdeps/unix/i386/sysdep.S: Likewise.
24550 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24551 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24555 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24556 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24560 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24561 * sysdeps/x86_64/dl-machine.h: Likewise.
24562 * tls.make.c: Likewise.
24563
3ce1f295
UD
24564 * configure.in: Remove --with-__thread option. Make tests for
24565 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24566 tls_model attribute fail if no support is available. Remove
24567 USE_IN_LIBIO.
24568 * Makeconfig: Adjust for dropped configure option. All features are
24569 now mandatory.
24570 * Makerules: Likewise.
24571 * Versions.def: Likewise.
24572 * argp/argp-fmtstream.c: Likewise.
24573 * argp/argp-fmtstream.h: Likewise.
24574 * argp/argp-help.c: Likewise.
24575 * assert/assert.c: Likewise.
24576 * config.h.in: Likewise.
24577 * config.make.in: Likewise.
24578 * configure: Likewise.
24579 * configure.in: Likewise.
24580 * csu/Versions: Likewise.
24581 * csu/init.c: Likewise.
24582 * elf/tst-audit2.c: Likewise.
24583 * elf/tst-tls10.c: Likewise.
24584 * elf/tst-tls10.h: Likewise.
24585 * elf/tst-tls11.c: Likewise.
24586 * elf/tst-tls12.c: Likewise.
24587 * elf/tst-tls14.c: Likewise.
24588 * elf/tst-tlsmod11.c: Likewise.
24589 * elf/tst-tlsmod12.c: Likewise.
24590 * elf/tst-tlsmod13.c: Likewise.
24591 * elf/tst-tlsmod13a.c: Likewise.
24592 * elf/tst-tlsmod14a.c: Likewise.
24593 * elf/tst-tlsmod15b.c: Likewise.
24594 * elf/tst-tlsmod16a.c: Likewise.
24595 * elf/tst-tlsmod16b.c: Likewise.
24596 * elf/tst-tlsmod7.c: Likewise.
24597 * elf/tst-tlsmod8.c: Likewise.
24598 * elf/tst-tlsmod9.c: Likewise.
24599 * gmon/gmon.c: Likewise.
24600 * grp/fgetgrent_r.c: Likewise.
24601 * grp/putgrent.c: Likewise.
24602 * hurd/fopenport.c: Likewise.
24603 * include/libc-symbols.h: Likewise.
24604 * include/tls.h: Likewise.
24605 * intl/gettextP.h: Likewise.
24606 * intl/loadinfo.h: Likewise.
24607 * locale/global-locale.c: Likewise.
24608 * locale/localeinfo.h: Likewise.
24609 * mach/devstream.c: Likewise.
24610 * malloc/arena.c: Likewise.
24611 * malloc/set-freeres.c: Likewise.
24612 * misc/err.c: Likewise.
24613 * misc/getttyent.c: Likewise.
24614 * misc/mntent_r.c: Likewise.
24615 * posix/getopt.c: Likewise.
24616 * posix/wordexp.c: Likewise.
24617 * pwd/fgetpwent_r.c: Likewise.
24618 * resolv/Versions: Likewise.
24619 * resolv/res_hconf.c: Likewise.
24620 * shadow/fgetspent_r.c: Likewise.
24621 * shadow/putspent.c: Likewise.
24622 * stdio-common/printf_fphex.c: Likewise.
24623 * stdio-common/tmpfile.c: Likewise.
24624 * stdlib/abort.c: Likewise.
24625 * stdlib/fmtmsg.c: Likewise.
24626 * sunrpc/auth_unix.c: Likewise.
24627 * sunrpc/clnt_perr.c: Likewise.
24628 * sunrpc/clnt_tcp.c: Likewise.
24629 * sunrpc/clnt_udp.c: Likewise.
24630 * sunrpc/clnt_unix.c: Likewise.
24631 * sunrpc/openchild.c: Likewise.
24632 * sunrpc/svc_simple.c: Likewise.
24633 * sunrpc/svc_tcp.c: Likewise.
24634 * sunrpc/svc_udp.c: Likewise.
24635 * sunrpc/svc_unix.c: Likewise.
24636 * sunrpc/xdr.c: Likewise.
24637 * sunrpc/xdr_array.c: Likewise.
24638 * sunrpc/xdr_rec.c: Likewise.
24639 * sunrpc/xdr_ref.c: Likewise.
24640 * sunrpc/xdr_stdio.c: Likewise.
24641
1248c1c4
PB
246422011-09-09 Ulrich Drepper <drepper@gmail.com>
24643
24644 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24645
246462011-07-03 Andreas Jaeger <aj@suse.de>
24647
24648 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24649 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24650 regenerate with gen-libm-tests.pl.
24651
246522010-05-12 Petr Baudis <pasky@suse.cz>
24653
24654 [BZ #11589]
24655 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24656 around j0() zero points by switching to j1().
24657 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24661
f22e1074
UD
246622011-09-09 Ulrich Drepper <drepper@gmail.com>
24663
f19009c1
UD
24664 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24665 instead of 0.
24666 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24667 instead of 0.
f19009c1
UD
24668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24669 Patch in part by Pavel Roskin <proski@gnu.org>.
24670
3f8cc204
UD
24671 [BZ #13138]
24672 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24673 realloc.
24674 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24675 Free memory block if necessary.
24676
f22e1074
UD
24677 [BZ #12847]
24678 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24679 be NULL. Don't lock in this case.
24680
0a2349f9
RM
246812011-09-09 Roland McGrath <roland@hack.frob.com>
24682
24683 * elf/elf.h (ELFOSABI_GNU): New macro.
24684 (ELFOSABI_LINUX): Define to that.
24685
f3cdd467
DZ
246862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24687
24688 * string/strncat.c (strncat): Undef the symbol in case it has been
24689 defined in bits/string.h.
24690
74718d13
UD
246912011-09-09 Ulrich Drepper <drepper@gmail.com>
24692
633e9e0f
UD
24693 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24694
0a2349f9 24695 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24696 link map.
24697
f9924780
AJ
246982011-08-17 Andreas Jaeger <aj@suse.de>
24699
24700 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24701
7f5517aa
PP
247022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24703 Ian Lance Taylor <iant@google.com>
24704
24705 * math/libm-test.inc (lround_test): New testcase.
24706 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24707
762011fe
UD
247082011-09-08 Ulrich Drepper <drepper@gmail.com>
24709
92963737
UD
24710 * Makefile: Remove support for automatic cvs check-ins.
24711 * Makerules: Likewise.
24712 * config.make.in: Likewise.
24713 * configure.in: Likewise.
24714 * intl/Makefile: Likewise.
24715 * locale/Makefile: Likewise.
24716 * po/Makefile: Likewise.
24717 * posix/Makefile: Likewise.
24718 * sysdeps/gnu/Makefile: Likewise.
24719 * sysdeps/mach/hurd/Makefile: Likewise.
24720 * sysdeps/sparc/sparc32/Makefile: Likewise.
24721
b0727fd8
JS
24722 [BZ #13118]
24723 * posix/Makefile (bug-regex32-ENV): Define.
24724 Patch by John Stanley <jpsinthemix@verizon.net>.
24725
a0f33f99
UD
24726 * misc/Makefile (headers): Add bits/select2.h.
24727 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24728 * misc/bits/select2.h: New file.
24729 * include/bits/select2.h: New file.
24730 * debug/Makefile (routines): Add fdelt_chk.
24731 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24732 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24733 FD_ISSET.
24734 * debug/fdelt_chk.c: New file.
24735
762011fe
UD
24736 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24737 * wcsmbs/test-wmemcmp.c: Likewise.
24738 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24739 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24740
247412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24742
24743 * string/Makefile (strop-tests): Add memcmp.
24744 * string/test-wmemcmp.c: New file.
24745 * string/test-memcmp.c: Add wmemcmp support.
24746
7f513ec8
RM
247472011-09-08 Roland McGrath <roland@hack.frob.com>
24748
0442afb4
RM
24749 [BZ #13153]
24750 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24751 2011-07-19 change.
24752
7f513ec8
RM
24753 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24754 garbage value in a __mach_port_mod_refs call in the cases of the
24755 task-self and thread-self ports.
24756
a12b2239
ST
247572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24758
24759 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24760
610f9ab4
AS
247612011-09-08 Andreas Schwab <schwab@redhat.com>
24762
7f513ec8 24763 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24764
48882a1a
LD
247652011-09-07 Ulrich Drepper <drepper@gmail.com>
24766
b49865be
UD
24767 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24768
fdc86bc9
UD
24769 * elf/dl-libc.c (dlerror_run): Pass back error code from
24770 dl_catch_error.
24771
c966526a
UD
24772 [BZ #13123]
24773 * elf/dl-load.c (lose): Free l_origin if it is valid.
24774
48882a1a
LD
24775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24776 names.
24777 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24778 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24780 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24781 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24782 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24783
77a2a8b4
AZ
247842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24785
24786 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24787 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24788 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24789 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24790 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24791 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24792 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24793 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24794 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24795 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24796
24f579d8
AM
247972011-08-15 Alan Modra <amodra@gmail.com>
24798
24799 [BZ #13092]
24800 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24801 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24802 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24803 ppc_mcount to static-only-routines.
24804 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24805 __mcount_internal.
24806 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24807 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24808
3d4837df
UD
248092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24810
24811 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24812 for finite and infinity parameters.
24813
22700377
WS
248142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24815
24816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24817 and add nop instructions for throughput optimization.
24818 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24819
5025581e
WS
248202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24821
24822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24823 aligned copy for power7 with vector-scalar instructions.
24824 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24825
08a300c9
L
248262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24827
24828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24829 AVX check.
24830
59178ef9
AS
248312011-09-07 Andreas Schwab <schwab@redhat.com>
24832
24833 [BZ #13144]
24834 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24835 last change.
24836
e38ba7ab
UD
248372011-09-07 Ulrich Drepper <drepper@gmail.com>
24838
24839 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24840 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24841 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24842 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24843 clock_gettime.
24844
d53a73ac
UD
248452011-09-06 Ulrich Drepper <drepper@gmail.com>
24846
fc8bffcc
UD
24847 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24848 Forgot to demangle the pointer.
24849
ceaa0c5d
UD
24850 * sysdeps/i386/sysdep.h: Define atom_text_section.
24851 * sysdeps/x86_64/sysdep.h: Likewise.
24852 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24853 section with atom_text_section.
24854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24856 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24857 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24858 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24859
a77d3c17
UD
24860 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24861 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24862 already be defined. Change to take two parameters and don't assign
24863 result to variable. Adjust all users.
24864 Define INTERNAL_GETTIME if not already defined.
24865 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24866 call.
24867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24868 HAVE_CLOCK_GETTIME_VSYSCALL.
24869 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24870
d53a73ac
UD
24871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24872 gettimeofday vsyscall, just use time.
24873
a8f84144
AS
248742011-09-06 Andreas Schwab <schwab@redhat.com>
24875
24876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24877 <errno.h>.
24878
ef606249
UD
248792011-09-06 Ulrich Drepper <drepper@gmail.com>
24880
24881 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24882 syscall on x86-64.
24883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24884 syscall.
24885 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24887 syscall if possible.
24888
6585cb60
UD
248892011-09-05 Ulrich Drepper <drepper@gmail.com>
24890
24891 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24892 e_ident. Don't pass to find_mapsXX.
24893 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24894
a5f524e4
LD
248952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24896
24897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24898 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24899 * sysdeps/x86_64/multiarch/strchr.S: Update.
24900 Check bit_slow_BSF bit.
24901 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24902 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24903 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24904
554881ef
UD
249052011-09-05 Ulrich Drepper <drepper@gmail.com>
24906
d96de963
UD
24907 [BZ #13134]
24908 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24909 before glibc 2.15.
24910 (tryshell): Define.
24911 (__spawni): Change last parameter to be flag. Test
24912 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24913 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24914 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24915 * posix/spawni.c: Likewise.
24916 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24917 * posix/spawnp.c: Likewise. Change normal version to use
24918 SPAWN_XFLAGS_USE_PATH.
24919 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24920 SPAWN_XFLAGS_TRY_SHELL.
24921
d48e5868
UD
24922 [BZ #13150]
24923 * posix/glob.h: Remove gcc 1.x support.
24924
554881ef
UD
24925 [BZ #13068]
24926 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24927
693fb948
LD
249282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24929
24930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24931 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24932 strrchr-sse2-bsf
24933 * sysdeps/i386/i686/multiarch/strchr.S: New file.
24934 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
24935 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
24936 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
24937 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
24938 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
24939
1b48c537
UD
249402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24941
49d42c37
UD
24942 * sysdeps/x86_64/wcscmp.S: New file.
24943
1b48c537
UD
24944 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
24945 wcscmp-c wcscmp-sse2
24946 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
24947 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
24948 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
24949 * wcsmbs/wcscmp.c: Allow renaming.
24950
15c95c5d
DM
249512011-09-05 David S. Miller <davem@davemloft.net>
24952
24953 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
24954 stack slot, rather than the struct return pointer slot.
24955 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
24956 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
24957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
24958 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
24959
2f0ad8f3
UD
249602011-09-05 Ulrich Drepper <drepper@gmail.com>
24961
d88ae418
UD
24962 * po/ja.po: Update from translation team.
24963
2f0ad8f3
UD
24964 [BZ #13144]
24965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
24966 kernel in 64-bit binaries.
24967
5f4318d1
DM
249682011-09-01 David S. Miller <davem@davemloft.net>
24969
24970 * elf/elf.h (HWCAP_SPARC_*): Move to..
24971 * sysdeps/sparc/sysdep.h: this new file and add new values.
24972 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
24973 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
24974 _DL_HWCAP_COUNT to 24.
24975 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24976 entries.
24977 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
24978 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
24979 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
24980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
24981 instead of magic constants.
24982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24983
3ba57516
DM
249842011-08-31 David S. Miller <davem@davemloft.net>
24985
24986 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
24987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
24988 Reimplement to do errno handling inline.
24989 (SYSCALL_ERROR_HANDLER): New macro.
24990 (__SYSCALL_STRING): Do not do errno handling in asm.
24991 (__CLONE_SYSCALL_STRING): Delete.
24992 (__INTERNAL_SYSCALL_STRING): Delete.
24993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
24994 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
24995 (PSEUDO): Reimplement to do errno handling inline.
24996 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
24997 (SYSCALL_ERROR_HANDLER): New macro.
24998 (__SYSCALL_STRING): Do not do errno handling in asm.
24999 (__CLONE_SYSCALL_STRING): Delete.
25000 (__INTERNAL_SYSCALL_STRING): Delete.
25001 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25002 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25003 i386.
25004 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25005 (inline_syscall*): Add 'err' argument.
25006 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25007 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25008 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25009 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25010
25011 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25012 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25013
2bc17433
AS
250142011-08-30 Andreas Schwab <schwab@redhat.com>
25015
25016 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25017
fbeb5f4d
JO
250182011-08-29 Jiri Olsa <jolsa@redhat.com>
25019
25020 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25021 directive.
25022
ad69cc26
DM
250232011-08-24 David S. Miller <davem@davemloft.net>
25024
25025 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25026
39dd69df
AS
250272011-08-24 Andreas Schwab <schwab@redhat.com>
25028
25029 * elf/Makefile: Add rules to build and run unload8 test.
25030 * elf/unload8.c: New file.
25031 * elf/unload8mod1.c: New file.
25032 * elf/unload8mod1x.c: New file.
25033 * elf/unload8mod2.c: New file.
25034 * elf/unload8mod3.c: New file.
25035
25036 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25037 it wasn't used.
25038
2c0b250a
DM
250392011-08-23 David S. Miller <davem@davemloft.net>
25040
25041 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25042 subtract stack bias.
25043 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25044 %sp not %fp in calculations.
25045 (_JMPBUF_UNWINDS_ADJ): Likewise.
25046
22044b48
DM
25047 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25048 (aio_suspend): Call it to force an exception region around the
25049 AIO_MISC_WAIT() invocation.
25050
2cae4995
AS
250512011-08-23 Andreas Schwab <schwab@redhat.com>
25052
25053 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25054 backslash.
25055
873a772e
AJ
250562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25057
25058 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25059 protection macro.
25060 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25061 and <dl-machine.h>.
25062 (Elf64_FuncDesc): Remove.
25063
25ad0df1
DM
250642011-08-22 David S. Miller <davem@davemloft.net>
25065
25066 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25067 sigaltstack check, add missing cfi directives.
25068 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25069 missing cfi directives, and sigaltstack handling.
25070
e888bcbe
AS
250712011-08-16 Andreas Schwab <schwab@redhat.com>
25072
25073 [BZ #11724]
25074 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25075 object is seen twice.
25076 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25077
25078 * elf/Makefile (distribute): Add tst-initorder2.c.
25079 (tests): Add tst-initorder2.
25080 (modules-names): Add tst-initorder2a tst-initorder2b
25081 tst-initorder2c tst-initorder2d. Add rules to build them.
25082 ($(objpfx)tst-initorder2.out): New rule.
25083 * elf/tst-initorder2.c: New file.
25084 * elf/tst-initorder2.exp: New file.
25085
87162f46
AS
250862011-08-22 Andreas Schwab <schwab@redhat.com>
25087
70538b7f
AS
25088 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25089
f55ffe58
AS
25090 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25091 dependencies back to end of function.
25092
87162f46
AS
25093 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25094 $(elfobjdir)/ld.so.
25095
91b392a4
UD
250962011-08-21 Ulrich Drepper <drepper@gmail.com>
25097
25098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25099 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25101 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25102 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25103 of __vdso_gettimeofday.
25104 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25105 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25106 attribute_hidden.
25107 (_libc_vdso_platform_setup): Remove initialization of
25108 __vdso_gettimeofday and __vdso_time.
25109
5c43483f
UD
251102011-08-20 Ulrich Drepper <drepper@gmail.com>
25111
775a77e7
UD
25112 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25113 and fgetc_unlocked.
25114 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25115 getc_unlocked.
89f447ed 25116
49c74ba9
UD
25117 * elf/dl-open.c (add_to_global): Report additions to the global scope
25118 for LD_DEBUG=scopes.
25119 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25120 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25121
5c43483f
UD
25122 [BZ #13114]
25123 * stdio-common/Makefile (tests): Add bug24.
25124 * stdio-common/bug24.c: New file.
25125
a101b025
AJ
251262011-08-19 Andreas Jaeger <aj@suse.de>
25127
25128 [BZ #13114]
25129 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25130 non-existant file when using close-on-exec mode.
25131
c88f1766
UD
251322011-08-20 Ulrich Drepper <drepper@gmail.com>
25133
0276a718
UD
25134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25135 the very first instruction.
25136
c88f1766
UD
25137 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25138 the CFI state in the end.
25139 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25140 inclusion of dl-trampoline.h.
25141 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25142
51ccffa0
AS
251432011-08-19 Andreas Schwab <schwab@redhat.com>
25144
94d7165f
AS
25145 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25146 expectations for long double.
25147
51ccffa0
AS
25148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25149 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25150
fd708658 251512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25152
25153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25154 artificual limit depends upon the system page size.
25155
44f0a71e
UD
251562011-08-17 Ulrich Drepper <drepper@gmail.com>
25157
25158 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25159 * resolv/Makefile: Define CFLAGS-libresolv.
25160
8de79a24
AS
251612011-08-17 Andreas Schwab <schwab@redhat.com>
25162
25163 * nss/makedb.c (compute_tables): Make variables used in nested
25164 function static.
25165
27724598
UD
251662011-08-17 Ulrich Drepper <drepper@gmail.com>
25167
c5305d88
UD
25168 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25169 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25170 if buffer was too small.
25171
27724598
UD
25172 * elf/pldd.c (main): Attach to all threads in the process.
25173 Rewrite /proc handling to use *at functions.
25174
076fe015
UD
251752011-08-16 Ulrich Drepper <drepper@gmail.com>
25176
174baab3
UD
25177 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25178 specifies first scope to show.
25179 (dl_open_worker): Update callers. Move printing scope of new
25180 object to before the relocation.
44f0a71e 25181 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25182 * sysdeps/generic/ldsodefs.h: Update declaration.
25183
076fe015
UD
25184 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25185 string for the scope number.
25186
a60df2c3
UD
251872011-08-14 Ulrich Drepper <drepper@gmail.com>
25188
25189 * nscd/servicescache.c (cache_addserv): Make sure written is always
25190 initialized.
25191
5e4287d1
RM
251922011-08-14 Roland McGrath <roland@hack.frob.com>
25193
85ae0589
RM
25194 * sysdeps/i386/i486/bits/atomic.h
25195 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25196 statement expression, so as to suppress "set but not used" warning.
25197 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25198
69f63097
RM
25199 * string/strncat.c (STRNCAT): Use prototype definition.
25200
675456ef
RM
25201 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25202 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25203 -Iprograms here.
25204 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25205 (localedef-modules): Add localedef.
25206 (locale-modules): Add locale.
25207
5e4287d1
RM
25208 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25209 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25210 to avoid a warning.
25211
9c96ff23
DM
252122011-08-14 David S. Miller <davem@davemloft.net>
25213
25214 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25215 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25216
f9ddf089
UD
252172011-08-13 Ulrich Drepper <drepper@gmail.com>
25218
44f0a71e 25219 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25220 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25221 * elf/rtld.c (dl_main): Set l_name of vDSO.
25222 Call _dl_show_scope when DL_DEBUG_SCOPES.
25223 (process_dl_debug): Recognize scopes flag and also set it for all.
25224 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25225 Declare _dl_show_scope.
25226
1dc27704
UD
25227 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25228 (do_dlopen): Pass caller_dlopen to dl_open.
25229 (__libc_dlopen_mode): Initialize caller_dlopen.
25230
f9ddf089
UD
25231 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25232 of libc. Make tolower call locale-independent. Optimize a bit by
25233 using isdigit instead of isalnum.
25234 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25235
9ac533d3
UD
252362011-08-12 Ulrich Drepper <drepper@gmail.com>
25237
25238 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25239 was a dependency or dynamically loaded.
25240
89edf2e9
UD
252412011-08-11 Ulrich Drepper <drepper@gmail.com>
25242
8e999d29
UD
25243 * intl/l10nflist.c: Allow architecture-specific pop function.
25244 * sysdeps/x86_64/l10nflist.c: New file.
25245
89edf2e9
UD
25246 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25247 classification.
25248
14d96785
AS
252492011-08-10 Andreas Schwab <schwab@redhat.com>
25250
25251 * include/dirent.h: Add libc_hidden_proto for scandirat and
25252 scandirat64. Don't declare __scandirat64.
25253 * dirent/scandirat.c: Add libc_hidden_def.
25254 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25255 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25256
6761ac04
DM
252572011-08-10 David S. Miller <davem@davemloft.net>
25258
25259 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25260 enum.
25261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25262 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25264
c55fbd1e
UD
252652011-08-09 Ulrich Drepper <drepper@gmail.com>
25266
25267 * Versions.def [libc]: Add GLIBC_2.15.
25268 * dirent/Makefile (routines): Add scandirat and scandirat64.
25269 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25270 GLIBC_2.15.
25271 * dirent/dirent.h: Declare scandirat and scandirat64.
25272 * dirent/scandirat.c: New file.
25273 * dirent/scandirat64.c: New file.
25274 * sysdeps/wordsize-64/scandirat.c: New file.
25275 * sysdeps/wordsize-64/scandirat64.c: New file.
25276 * dirent/opendir.c: Define opendirat.
25277 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25278 using scandirat.
25279 * dirent/scandir64.c: Adjust for scandir.c change.
25280 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25281 __scandirat64, and __scandir_cancel_handler.
25282 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25283 additional parameter and use openat instead of open (outside of ld.so).
25284 Add new __opendir as wrapper around __opendirat.
25285 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25286 here without requiring old scandirat implementation.
25287
879165f2
UD
252882011-08-08 Ulrich Drepper <drepper@gmail.com>
25289
25290 * dirent/scandir.c (cancel_handler): Renamed to
25291 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25292 defined. Adjust users.
25293 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25294 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25295
cb7e923b
UD
252962011-08-04 Ulrich Drepper <drepper@gmail.com>
25297
16292edd
UD
25298 * string/test-string.h (IMPL): Use __STRING to expand name and then
25299 stringify it.
25300
cb7e923b
UD
25301 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25302 of cleanups.
25303
cff82933
LD
253042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25305
25306 * string/Makefile: Update.
25307 (strop-tests): Append strncat.
25308 * string/test-wcscmp.c: New file.
25309 New comprehensive test for wcscmp.
25310 * string/test-strcmp.c: Update.
25311 (WIDE): New define.
25312
9be9bfcc
AS
253132011-07-22 Andreas Schwab <schwab@redhat.com>
25314
25315 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25316 line.
25317
2e96f1c7
AS
253182011-07-26 Andreas Schwab <schwab@redhat.com>
25319
25320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25321 encoding to ACE if AI_IDN.
25322
85188888
JJ
253232011-08-01 Jakub Jelinek <jakub@redhat.com>
25324
25325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25326 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25327
5fa16e9b
LD
253282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25329
25330 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25331 Fix overflow bug in strncat.
25332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25333
25334 * string/test-strncat.c: Update.
25335 Add new tests for checking overflow bugs.
25336
253372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25338
25339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25340 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25341 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25342 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25344 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25345 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25346 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25347 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25348
25349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25350 (USE_AS_STRCAT): Define.
25351 Add strcat and strncat support.
25352 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25353
8c1a459f
AS
253542011-07-25 Andreas Schwab <schwab@redhat.com>
25355
25356 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25357 __n bigger than INT_MAX+1.
25358 (__strncmp_g): Likewise.
25359
bba33c28
UD
253602011-07-23 Ulrich Drepper <drepper@gmail.com>
25361
798be72d
UD
25362 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25363 * libio/stido.h: Likewise.
25364
8accd4dc
UD
25365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25366 (AF_NFC): Define.
25367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25368 (AF_NFC): Define.
25369
cbff0d96
UD
25370 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25371 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25372 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25373 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25374 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25375
9191c04a
UD
25376 [BZ #13021]
25377 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25378 installed.
25379
bba33c28
UD
25380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25381 typo.
25382 (_dl_x86_64_save_sse): Likewise.
25383
90f139dd
UD
253842011-07-22 Ulrich Drepper <drepper@gmail.com>
25385
1aae088a
UD
25386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25387 OSXSAVE.
25388 (_dl_x86_64_save_sse): Likewise.
25389
8e2045f5
UD
25390 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25391
90f139dd
UD
25392 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25393
1d002f25
AS
253942011-07-21 Andreas Schwab <schwab@redhat.com>
25395
25396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25397 change.
25398 (_dl_x86_64_save_sse): Use correct AVX check.
25399
21137f89
UD
254002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25401
25402 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25403 bug in strncpy/strncat.
25404 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25405
a65c0b7a
UD
254062011-07-21 Ulrich Drepper <drepper@gmail.com>
25407
25408 * string/tester.c (test_strcat): Add tests for different alignments
25409 of source and destination.
25410 (test_strncat): Likewise.
25411
6986b98a
UD
254122011-07-20 Ulrich Drepper <drepper@gmail.com>
25413
90bb2039
UD
25414 [BZ #12852]
25415 * posix/glob.c (glob): Check passed in values before using them in
25416 expressions to avoid some overflows.
25417 (glob_in_dir): Likewise.
25418
5644ef54
UD
25419 [BZ #13007]
25420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25421 check for AVX enablement so that we don't crash with old kernels and
25422 new hardware.
25423 * elf/tst-audit4.c: Add same checks here.
25424 * elf/tst-audit6.c: Likewise.
25425
25426 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25427
bfc9dc9b
AS
254282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25429
25430 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25431
702e64bb
UD
254322011-07-20 Ulrich Drepper <drepper@gmail.com>
25433
25434 * po/cs.po: Update from translation team.
25435 * po/bg.po: Likewise.
25436
295e904f
MP
254372011-07-12 Marek Polacek <mpolacek@redhat.com>
25438
25439 * misc/sys/cdefs.h: Add support for const attribute.
25440 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25441 to gnu_dev_{major,minor,makedev} functions.
25442
3ff94596
MP
254432011-07-20 Marek Polacek <mpolacek@redhat.com>
25444
25445 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25446
28b59fca
AS
254472011-07-20 Andreas Schwab <schwab@redhat.com>
25448
25449 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25450 strlen results.
25451
19df733e
AK
254522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25453
25454 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25455 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25456 register in order to avoid conflicts with the soft frame pointer
25457 being held in r11 when necessary.
25458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25459 (INTERNAL_VSYSCALL_NCS): Likewise.
25460
c8835729
MP
254612011-07-14 Marek Polacek <mpolacek@redhat.com>
25462
25463 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25464 * elf/dl-fini.c (_dl_fini): Adjust caller.
25465 * elf/dl-close.c (_dl_close_worker): Likewise.
25466 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25467
b902330c
MP
254682011-07-15 Marek Polacek <mpolacek@redhat.com>
25469
8991e135
MP
25470 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25471 "aux_cache->nlibs < 0".
25472
b902330c
MP
25473 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25474 in the reload-count case.
25475
99710781
LD
254762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25477
25478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25479 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25480 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25481 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25482 * sysdeps/x86_64/multiarch/strcat.S: New file.
25483 * sysdeps/x86_64/multiarch/strncat.S: New file.
25484 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25485 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25486 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25487 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25489 (USE_AS_STRCAT): Define.
25490 Add strcat and strncat support.
25491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25493 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25494 * string/strncat.c: Update.
25495 (USE_AS_STRNCAT): Define.
25496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25497 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25498 and i7.
25499 * sysdeps/x86_64/multiarch/init-arch.h
25500 (bit_Prefer_PMINUB_for_stringop): New.
25501 (index_Prefer_PMINUB_for_stringop): Likewise.
25502 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25503 bit_Prefer_PMINUB_for_stringop.
25504
7dc6bd90
UD
255052011-07-19 Ulrich Drepper <drepper@gmail.com>
25506
25507 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25508 buffer64.
25509 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25510 of casting of buffer.
25511 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25512 buffer32 and buffer64.
25513 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25514 writes instead of casting of buffer.
25515 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25516 buffer32.
25517 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25518 casting of buffer.
25519
e0e72284
AS
255202011-07-19 Andreas Schwab <schwab@redhat.com>
25521
25522 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25523
feb1eb0b
UD
255242011-07-19 Ulrich Drepper <drepper@gmail.com>
25525
25526 * nscd/nscd.c (termination_handler): Don't do anything for a database
25527 if it has not yet been initialized.
25528
298711ff
UD
255292011-07-18 Ulrich Drepper <drepper@gmail.com>
25530
25531 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25532
255332011-07-15 Marek Polacek <mpolacek@redhat.com>
25534
25535 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25536
f9d68389
UD
255372011-07-18 Ulrich Drepper <drepper@gmail.com>
25538
25539 * po/nl.po: Update from translation team.
25540 * po/sv.po: Likewise.
25541
db290cf5
RM
255422011-07-16 Roland McGrath <roland@hack.frob.com>
25543
25544 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25545 now disallowed by GCC.
5c550700 25546
fd5e21c7
RM
25547 * configure.in (use-default-link): Default to yes if a test -shared
25548 link meets our qualifications.
25549 * configure: Regenerated.
25550
5c550700
RM
25551 * config.make.in (output-format): New variable.
25552 * configure.in: Check for ld --print-output-format support.
25553 * configure: Regenerated.
25554 * Makerules ($(common-objpfx)format.lds)
25555 [$(output-format) != unknown]: Just use $(output-format),
25556 instead of the linker-script munging.
25557
9fa2c032
RM
255582011-07-14 Roland McGrath <roland@hack.frob.com>
25559
a6928d51
RM
25560 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25561 of $(common-objpfx)shlib.lds.
25562 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25563
661607b3
RM
25564 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25565 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25566
9fa2c032
RM
25567 * configure.in (-z relro check): Adjust test code to add a large
25568 writable data section after it.
25569 * configure: Regenerated.
25570
defe9061
RM
255712011-07-11 Roland McGrath <roland@hack.frob.com>
25572
25573 * configure.in (-z relro check): Fix test code to make the variable
25574 truly const.
25575 * configure: Regenerated.
25576
319b9ad4
UD
255772011-07-11 Ulrich Drepper <drepper@gmail.com>
25578
25579 * nscd/nscd.h (struct traced_file): Define.
25580 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25581 elements. Add traced_files.
25582 (inotify_fd): Declare.
25583 (register_traced_file): Declare.
25584 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25585 (inotify_fd): Export.
25586 (resolv_conf_descr): Remove.
25587 (nscd_init): Move inotify descriptor creation to main.
25588 Don't register files for notification here.
25589 (register_traced_file): New function.
25590 (invalidate_cache): Don't use reset_res to determine whether to call
25591 res_init, go through the list of registered files.
25592 (main_loop_poll): The inotify descriptors are now stored in the
25593 structures for the traced files.
25594 (main_loop_epoll): Likewise
25595 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25596 to __nss_disable_nscd.
25597 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25598 for a database anymore. Check the records for all the registered
25599 files instead.
25600 * nss/Makefile (libnss_files-routines): Add files-init.
25601 (libnss_db-routines): Add db-init.
25602 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25603 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25604 * nss/nss_db/db-init.c: New file.
25605 * nss/nss_files/files-init.c: New file.
25606 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25607 __nss_lookup_function.
25608 (__nss_lookup_function): Call nss_load_library.
25609 (nss_load_all_libraries): New function.
25610 (__nss_disable_nscd): Take parameter with callback function for files
25611 to register. Set is_nscd. Load all the DSOs for the NSS modules
25612 used for the cached services.
25613 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25614 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25615 options for features to all the files in nscd.
25616
25617 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25618
23bee3e8
RM
256192011-07-10 Roland McGrath <roland@hack.frob.com>
25620
25621 * csu/elf-init.c (__libc_csu_init): Comment typo.
25622
46a5b7f0
UD
256232011-07-09 Ulrich Drepper <drepper@gmail.com>
25624
25625 * po/pl.po: Update from translation team.
25626 * po/ja.po: Likewise.
25627 * po/ru.po: Likewise.
25628 * po/ko.po: Likewise.
25629 * po/fr.po: Likewise.
25630
d30cf5bb
RM
256312011-07-09 Roland McGrath <roland@hack.frob.com>
25632
113ddea4
RM
25633 * configure.in (.ctors/.dtors header and trailer check):
25634 Use an empirical test on a built program.
25635 * configure: Regenerated.
25636
574920b4
RM
25637 * configure.in (-z relro check): Use an empirical test on a built DSO.
25638 Detect, but do not require, on ia64.
25639 * configure: Regenerated.
25640
d30cf5bb
RM
25641 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25642 Update tests that use readelf to use $READELF instead.
25643 * configure: Regenerated.
25644
8538fdb3
UD
256452011-07-08 Ulrich Drepper <drepper@gmail.com>
25646
25647 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25648 if the result is not used.
25649
04d08991
AJ
256502011-07-05 Andreas Jaeger <aj@suse.de>
25651
25652 [BZ#9696]
25653 * stdlib/tst-strtod.c: Add testcase.
25654
de283087
AD
256552011-07-07 Ulrich Drepper <drepper@gmail.com>
25656
4e5f31c8 25657 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25658 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25659 The latter has a higher limit. Take additional parameter to pass to
25660 the new function.
25661 (__pathconf): Pass file to __statfs_link_max.
25662 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25663 __statfs_link_max.
25664 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25665 __statfs_link_max.
25666
de283087
AD
25667 [BZ #12868]
25668 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25670 Handle Lustre.
25671 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25672 (__statfs_filesize_max): Likewise.
25673 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25674
c75fa153
AJ
256752011-07-05 Andreas Jaeger <aj@suse.de>
25676
25677 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25678
1a544854
UD
256792011-07-06 Marek Polacek <mpolacek@redhat.com>
25680
25681 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25682 `status' variable.
25683 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25684 Likewise.
25685
6f0eec67
UD
256862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25687
25688 * Makefile (strop-tests): Add strncat.
25689 * string/test-strncat.c: New file.
25690
aae30307
UD
256912011-06-30 Marek Polacek <mpolacek@redhat.com>
25692
25693 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25694
c0cfb5eb
UD
256952011-06-21 Andreas Jaeger <aj@suse.de>
25696
25697 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25698 Copy rule from iconvdata/Makefile.
25699
01636b21
UD
257002011-07-06 Ulrich Drepper <drepper@gmail.com>
25701
25702 [BZ #12922]
25703 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25704 but no long options are defined, just return 'W'.
25705
9895c8bc
UD
257062011-06-22 Marek Polacek <mpolacek@redhat.com>
25707
25708 [BZ #9696]
25709 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25710
5d4cf042
UD
257112011-07-06 Ulrich Drepper <drepper@gmail.com>
25712
25713 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25714 netgroups to read.
960e5535 25715 (innetgr): Likewise.
5d4cf042 25716
751eb97e
RM
257172011-07-05 Roland McGrath <roland@hack.frob.com>
25718
25719 * config.make.in (install_root): Default to $(DESTDIR).
25720
f15f1e45
UD
257212011-07-05 Ulrich Drepper <drepper@gmail.com>
25722
25723 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25724
4e34ac6a
RM
257252011-07-02 Roland McGrath <roland@hack.frob.com>
25726
5e9b6af4
RM
25727 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25728
84f9ea0f
RM
25729 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25730 containing directory rather than embedding absolute directory names.
25731
ea5ee9f7
RM
25732 * scripts/check-local-headers.sh: Rewritten using awk.
25733 Match by word, not by line. Print error messages for matches.
25734 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25735
1b74661a
RM
25736 * Makerules [shlib-lds-flags empty]:
25737 ($(common-objpfx)libc_pic.opts): New target.
25738 ($(common-objpfx)libc_pic.os.clean): New target.
25739 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25740
25741 * config.make.in (OBJCOPY): New variable.
25742 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25743 * configure: Regenerated.
25744
f781ef40
RM
25745 * config.make.in (use-default-link): New variable.
25746 * configure.in (use_default_link): Grok --with-default-link to set it.
25747 * configure: Regenerated.
25748 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25749 (shlib-lds, shlib-lds-flags): Define to empty.
25750
2d4fa81e
RM
25751 * Makerules (shlib-lds): New variable.
25752 (shlib-lds-flags): New variable.
25753 (build-shlib, build-moduile, build-module-asneeded): Use it.
25754 ($(common-objpfx)libc.so): Use $(shlib-lds).
25755 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25756 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25757
31fffa6b
RM
25758 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25759 DT_FLAGS/DT_FLAGS_1 with zero flags.
25760
4e34ac6a
RM
25761 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25762 linker script munging.
25763
fcfc776b
UD
257642011-07-02 Ulrich Drepper <drepper@gmail.com>
25765
25766 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25767 as 128-bit value.
25768 * crypt/sha512.c (sha512_process_block): Perform total addition using
25769 128-bit if possible.
25770 (__sha512_finish_ctx): Likewise.
25771 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25772 as 64-bit value.
25773 * crypt/sha256.c (SWAP64): Define.
25774 (sha256_process_block): Perform total addition using 64-bit if
25775 possible.
25776 (__sha256_finish_ctx): Likewise.
25777
99231d9a
UD
257782011-07-01 Ulrich Drepper <drepper@gmail.com>
25779
25780 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25781 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25782 * nscd/hstcache.c (cache_addhst): Likewise.
25783 * nscd/grpcache.c (cache_addgr): Likewise.
25784 * nscd/aicache.c (addhstaiX): Likewise
25785 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25786
445b4a53
TK
257872011-07-01 Thorsten Kukuk <kukuk@suse.de>
25788
25789 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25790 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25791 * nscd/hstcache.c (cache_addhst): Likewise.
25792 * nscd/grpcache.c (cache_addgr): Likewise.
25793 * nscd/aicache.c (addhstaiX): Likewise
25794
6d4d8e8e
AS
257952011-07-01 Andreas Schwab <schwab@redhat.com>
25796
25797 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25798 domain only when needed.
25799
89f654c5
AS
258002011-06-30 Andreas Schwab <schwab@redhat.com>
25801
25802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25803 is always restored.
25804
cf3b23ff
UD
258052011-06-29 Ulrich Drepper <drepper@gmail.com>
25806
25807 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25808 are re-adding the entry.
25809 * nscd/servicescache.c (cache_addserv): Likewise.
25810
751626f9
AJ
258112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25812
25813 * sysdeps/generic/dl-irel.h: fix protection against multiple
25814 inclusions.
25815 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25816
9113ea1f
UD
258172011-06-28 Ulrich Drepper <drepper@gmail.com>
25818
5c0b8d90
UD
25819 [BZ #12935]
25820 * malloc/memusage.sh: Fix quoting in message.
25821 * debug/xtrace.sh: Likewise.
25822
9113ea1f
UD
25823 * configure.in: Remove support for --experimental-malloc option, make
25824 it the default.
25825 * config.make.in: Likewise.
25826 * malloc/Makefile: Likewise.
25827
a4172181
AS
258282011-06-27 Andreas Schwab <schwab@redhat.com>
25829
25830 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25831 two-byte characters.
25832
78a7eee7
RM
258332011-06-27 Roland McGrath <roland@hack.frob.com>
25834
62bede13
RM
25835 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25836 AC_CACHE_CHECK invocation.
25837 * configure: Regenerated.
25838
78a7eee7
RM
25839 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25840
5ce33a62
UD
258412011-06-27 Ulrich Drepper <drepper@gmail.com>
25842
034807a9
UD
25843 [BZ #12350]
25844 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25845 bit from old_res_options.
25846
4902da17
UD
25847 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25848
5ce33a62
UD
25849 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25850 value type for setfct.
25851
c2344f56
L
258522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25853
25854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25855 __gettimeofday instead of gettimeofday.
25856
68468076
UD
258572011-06-26 Ulrich Drepper <drepper@gmail.com>
25858
25859 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25860
acb0d739
L
258612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25862
25863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25864
25865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25866 info.
25867
8912479f
L
258682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25869
25870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25871 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25872 strcpy-sse2-unaligned strncpy-sse2-unaligned
25873 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25874 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25875 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25876 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25877 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25878 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25879 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25880 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25881 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25882 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25883 (STRCPY): Support SSE2 and SSSE3 versions.
25884
d5495a11
UD
258852011-06-24 Ulrich Drepper <drepper@gmail.com>
25886
25887 [BZ #12874]
25888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25889 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25890 kernels which artificially limit size of requests.
25891
0b1cbaae
L
258922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25893
25894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25895 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25896 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25897 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25898 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25899 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25900 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25901 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25903 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25904 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25905 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25906 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25907 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25908 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25910 Enable unaligned load optimization for Intel Core i3, i5 and i7
25911 processors.
25912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25913 Define.
25914 (index_Fast_Unaligned_Load): Define.
25915 (HAS_FAST_UNALIGNED_LOAD): Define.
25916
07f494a0
MP
259172011-06-23 Marek Polacek <mpolacek@redhat.com>
25918
25919 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25920
fa3fc0fe
UD
259212011-06-22 Ulrich Drepper <drepper@gmail.com>
25922
25923 [BZ #12907]
25924 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25925 until it is clear that the information is realy needed.
25926 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25927
e12df166
AS
259282011-06-22 Andreas Schwab <schwab@redhat.com>
25929
25930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25931
852eb34d
UD
259322011-06-22 Ulrich Drepper <drepper@gmail.com>
25933
84e2a551
UD
25934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25935 /sys/devices/system/cpu/online if it is usable.
25936
852eb34d
UD
25937 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
25938 reading the information from the /proc filesystem to once a second.
25939
6e502e19
UD
259402011-06-21 Andreas Jaeger <aj@suse.de>
25941
25942 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
25943 NULL after inclusion of kernel headers.
25944
75d39ff2
UD
259452011-06-21 Ulrich Drepper <drepper@gmail.com>
25946
51f9aa6a
UD
25947 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
25948 calls to internal_setent.
25949
c0244a9d
UD
25950 [BZ #12885]
25951 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
25952 addresses using gethostbyname4_r ignore IPv4 addresses.
25953
c5e3c2ae
UD
25954 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
25955 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
25956
75d39ff2
UD
25957 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
25958
42675c6f
DM
259592011-06-20 David S. Miller <davem@davemloft.net>
25960
25961 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
25962 inclusions.
25963 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
25964
25965 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
25966 (elf_irel): Use it.
25967 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
25968 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
25969 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
25970 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
25971 * sysdeps/x86_64/dl-irel.h: Likewise.
25972
25973 * elf/dl-runtime.c: Use elf_ifunc_invoke.
25974 * elf/dl-sym.c: Likewise.
25975
57912a71
UD
259762011-06-15 Ulrich Drepper <drepper@gmail.com>
25977
25978 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
25979 need to dereference resplen2.
25980
ee22793d
AS
259812011-06-14 Andreas Schwab <schwab@redhat.com>
25982
25983 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
25984
a9e836b0
UD
259852011-06-15 Ulrich Drepper <drepper@gmail.com>
25986
77fb9117
UD
25987 * Makeconfig: Define vardbdir and inst_vardbdir.
25988 * nss/Makefile: Add rules to install db-Makefile.
25989
40c1b22c
UD
25990 * nss/nss_db/db-XXX.c: Cleanup.
25991
9f2da732
UD
25992 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
25993 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
25994 GLIBC_PRIVATE.
25995 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
25996 * nss/makedb.c: Implement -g option to specify that value strings
25997 are generated and should not be added to table iterated over for
25998 get*ent calls.
25999 * nss/nss_db/db-initgroups.c: New file.
26000
82e9a1f7
UD
26001 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26002 interface.
26003
c41af17e
UD
26004 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26005 (internal_getgrouplist): Adjust to name change.
26006 Update use_initgroups_entry if this is not the first call.
26007 * nss/databases.def: Add initgroups entry.
26008
a9e836b0
UD
26009 * nss/makedb.c (compute_tables): Check result of multiple hash table
26010 sizes to minimize maximum chain length.
26011
2666d441
UD
260122011-06-14 Ulrich Drepper <drepper@gmail.com>
26013
26014 * Versions.def: Add entry for libnss_db.
26015 * shlib-versions: Likewise.
26016 * nss/Makefile: Add rules to build libnss_db.
26017 * nss/Versions: Add libnss_db information. Organize libnss_files
26018 entries better.
26019 * nss/db-Makefile: Add gshadow support. Change rules for the new
26020 makedb progra. Some minor improvements to generate smaller files.
26021 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26022 here from...
26023 * nss/makedb.c: ...here.
26024 Improve database format to be smaller and require less memory at
26025 runtime.
26026 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26027 db anymore.
26028 * nss/nss_db/db-netgrp.c: Likewise.
26029 * nss/nss_db/db-open.c: Likewise.
26030 * nss/nss_files/flies-XXX.x: Adjust comments.
26031 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26032 * nss/nss_files/files-grp.c: Likewise.
26033 * nss/nss_files/files-hosts.c: Likewise.
26034 * nss/nss_files/files-network.c: Likewise.
26035 * nss/nss_files/files-proto.c: Likewise.
26036 * nss/nss_files/files-pwd.c: Likewise.
26037 * nss/nss_files/files-rpc.c: Likewise.
26038 * nss/nss_files/files-service.c: Likewise.
26039 * nss/nss_files/files-sgrp.c: Likewise.
26040 * nss/nss_files/files-spwd.c: Likewise.
26041 * nss/nss_db/db-alias.c: Removed.
26042 * nss/nss_db/dummy-db.h: Removed.
26043
9ee76b5a
UD
260442011-06-02 Ulrich Drepper <drepper@gmail.com>
26045
26046 * nss/makedb.c: Rewritten to not use database library.
26047 * nss/Makefile: Update to build new makedb program.
26048
c71ca1f8
AJ
260492011-06-14 Andreas Jaeger <aj@suse.de>
26050
26051 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26052 memset declaration.
26053
3154bfb8
UD
260542011-06-10 Andreas Schwab <schwab@redhat.com>
26055
26056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26057 tmpbuf.
26058
b350afab
RM
260592011-06-10 Roland McGrath <roland@hack.frob.com>
26060
decd4e50
RM
26061 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26062 * elf/Makefile ($(objpfx)ld.so): Likewise.
26063
5615eaf2
RM
26064 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26065 Don't list ld.so twice in dependencies.
26066
26067 * posix/bug-regex31.c: Include <stdlib.h>.
26068
26069 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26070
26071 * nis/nss_compat/compat-spwd.c
26072 (getspent_next_nss_netgr): Remove unused variable.
26073 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26074
26075 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26076 nonmembers" output to use the right array.
26077
26078 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26079
26080 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26081
26082 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26083 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26084 * catgets/gencat.c (read_input_file): Likewise.
26085 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26086
26087 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26088 variable definition inside #if's controlling its use.
26089
26090 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26091
26092 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26093
26094 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26095
26096 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26097 unreachable code.
26098
26099 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26100
b68e08db
RM
26101 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26102 * configure: Regenerated.
26103
b350afab
RM
26104 * Makerules: Revert last change.
26105 * elf/Makefile: Likewise.
26106
28368601
RM
261072011-06-09 Roland McGrath <roland@hack.frob.com>
26108
26109 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26110 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26111 (reloc-link): Likewise.
26112
11988f8f
UD
261132011-06-09 Ulrich Drepper <drepper@gmail.com>
26114
26115 * elf/Makefile: Add rules to build pldd.
26116 * elf/pldd.c: New file.
26117 * elf/pldd-xx.c: New file.
26118
e80fab37
UD
261192011-06-07 Ulrich Drepper <drepper@gmail.com>
26120
26121 * version.h: Update for 2.15 development version.
26122
9b849836
DM
261232011-06-07 David S. Miller <davem@davemloft.net>
26124
26125 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26126 ifuncs.
26127 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26128 elf_machine_lazy_rel): Likewise.
26129 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26131 elf_machine_lazy_rel): Likewise.
26132 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26133 dl_hwcap via passed in argument.
26134 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26135 Likewise.
26136
5a31b283
AK
261372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26138
26139 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26140
069e52f8
RM
261412011-06-06 Roland McGrath <roland@hack.frob.com>
26142
26143 [BZ #12849]
26144 * manual/fdl-1.1.texi: New file, verbatim from:
26145 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26146 * manual/lgpl-2.1.texi: New file, verbatim from:
26147 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26148 * manual/Makefile (licenses): New variable, list those new file names.
26149 (texis): Use it.
26150 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26151
26152 * manual/fdl.texi: File removed.
26153 * manual/lesser.texi: File removed.
26154 * manual/libc.texinfo (Copying, Documentation License):
26155 Use new @include file names, put @appendix directive before @include.
26156
f16846a5
JJ
261572011-06-04 Jakub Jelinek <jakub@redhat.com>
26158
26159 [BZ #12841]
26160 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26161 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26162 (mq_open): Add __NTH.
26163
3d29045b
L
261642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26165
26166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26167 Assume Intel Core i3/i5/i7 processor if AVX is available.
26168
8c297311
UD
261692011-05-31 Ulrich Drepper <drepper@gmail.com>
26170
26171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26172 typo.
26173
c8fc0c91
UD
261742011-05-31 Andreas Schwab <schwab@redhat.com>
26175
26176 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26177 memory. Use alloca_account. Fix memory leak when retrying.
26178
5b27a807
UD
261792011-05-31 Ulrich Drepper <drepper@gmail.com>
26180
356f8bc6
UD
26181 * version.h (RELEASE): Bump for 2.14 release.
26182 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26183
5b27a807
UD
26184 * config.make.in (RANLIB): Remove entry.
26185
01f16ab0
UD
261862011-05-30 Ulrich Drepper <drepper@gmail.com>
26187
41fce8bd
UD
26188 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26189 (libc.pot): Work around missing support for .ksh extension in xgettext.
26190
4769ae77
UD
26191 [BZ #12684]
26192 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26193 if both request failed.
26194 (send_dg): In case of server errors clear resplen or *resplen2.
26195
6b1e7d19
UD
26196 [BZ #12454]
26197 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26198 when there are multiple maps.
26199 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26200 (_dl_fini): Remove test here.
26201
01f16ab0
UD
26202 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26203
b1ebd700
UD
262042011-05-29 Ulrich Drepper <drepper@gmail.com>
26205
7ae22829
UD
26206 [BZ #12350]
26207 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26208 bit from old_res_options.
26209 (gaih_inet): Likewise.
26210
553149f6 26211 [BZ #11099]
18a84741 26212 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26213 as signed.
26214
652ffab1
UD
26215 * resolv/res_init.c (res_setoptions): Make the code more compact.
26216
16985fd0
UD
26217 [BZ #11558]
26218 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26219 set RES_USEVC.
26220
0464f746
UD
26221 [BZ #11634]
26222 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26223
7d17596c
UD
26224 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26225
cf6bbbd7
UD
26226 [BZ #11781]
26227 * malloc/malloc.h: Declare malloc hook variables as volatile.
26228
13f1ab36
UD
26229 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26230 in last patch.
26231
b1ebd700
UD
26232 [BZ #11799]
26233 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26234 raise in the comment.
80e2212d
UD
26235 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26237 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26238
ce67228d
UD
262392011-05-28 Ulrich Drepper <drepper@gmail.com>
26240
8887a920
UD
26241 [BZ #12811]
26242 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26243 grow the buffers more if it already has to be sufficient.
26244 (build_wcs_upper_buffer): Likewise.
26245 * posix/regexec.c (check_matching): Likewise.
26246 (clean_state_log_if_needed): Likewise.
26247 (extend_buffers): Don't enlarge buffers beyond size of the input
26248 buffer.
26249 Patches mostly by Emil Wojak <emil@wojak.eu>.
26250 * posix/bug-regex32.c: New file.
26251 * posix/Makefile (tests): Add bug-regex32.
26252
4f031072
UD
26253 * locale/findlocale.c (_nl_find_locale): Return right away if
26254 _nl_explode_name failed.
26255 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26256
d0478f0c
UD
26257 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26258
de81b246
UD
26259 * debug/xtrace.sh: Unify messages.
26260 * malloc/memusage.sh: Likewise.
26261
c738465a
UD
26262 [BZ #12813]
26263 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26264 time symbol from vDSO. Substitute with vsyscall if not available.
26265 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26266 __vdso_time.
26267
f1f929d7
UD
26268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26269 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26270 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26271 Add sendmmsg and internal_sendmmsg.
26272 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26273 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26274 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26275
ce67228d
UD
26276 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26277 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26278 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26279
e57420c6
UD
262802011-05-27 Ulrich Drepper <drepper@gmail.com>
26281
a8509ca5
UD
26282 [BZ #12813]
26283 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26284 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26285 available.
26286 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26287 __vdso_getcpu.
26288
e57420c6
UD
26289 [BZ #12814]
26290 * iconvdata/Makefile (tests): Add bug-iconv9.
26291 * iconvdata/bug-iconv9.c: New file.
26292
4d07db15
AS
262932011-05-27 Andreas Schwab <schwab@redhat.com>
26294
26295 [BZ #12814]
26296 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26297
ea486f69
JJ
262982011-05-25 Jakub Jelinek <jakub@redhat.com>
26299
26300 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26301 (struct user_regs_struct): Change intcs field back to cs.
26302
6f038433
UD
263032011-05-25 Ulrich Drepper <drepper@gmail.com>
26304
26305 * po/ja.po: Update from translation team.
26306
67f86a25
UD
263072011-05-23 Ulrich Drepper <drepper@gmail.com>
26308
26309 [BZ #12795]
26310 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26311 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26312
def7fbd6
AS
263132011-05-20 Andreas Schwab <schwab@redhat.com>
26314
26315 * stdlib/longlong.h: Update from GCC.
26316
f50ef8f1
AS
263172011-05-23 Andreas Schwab <schwab@redhat.com>
26318
26319 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26320 parameter name.
26321 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26322 Add parameter name.
26323 (__sysconf): Pass it down.
26324
de7ce8f1
UD
263252011-05-22 Ulrich Drepper <drepper@gmail.com>
26326
f2962a71
UD
26327 [BZ #12671]
26328 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26329 some situations.
26330 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26331 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26332 add in in __libc_use_alloca calls. Adjust callers.
26333 (glob): Use malloc in some situations.
26334
de7ce8f1
UD
26335 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26336 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26337 pltexit.
26338
aec84f53
UD
263392011-05-21 Ulrich Drepper <drepper@gmail.com>
26340
05bb4a68
UD
26341 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26342 and CLOCK_BOOTTIME_ALARM.
26343
7ea72f99
UD
26344 [BZ #12782]
26345 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26346 is returned.
26347
7e4afad5
UD
26348 * string/_strerror.c (__strerror_r): Print negative errors as signed
26349 numbers.
26350
8e211fec
UD
26351 [BZ #12777]
26352 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26353 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26354 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26355
f7d82dc9
UD
26356 * configure.in: Fix typo in redirection and correct removal of test
26357 files in two cases.
26358
cc9e536d
UD
26359 [BZ #12788]
26360 * locale/setlocale.c (new_composite_name): Fix test to check for
26361 identical name of all categories.
26362
aec84f53
UD
26363 [BZ #12792]
26364 * libio/filedoalloc.c (local_isatty): New function.
26365 (_IO_file_doallocate): Use local_isatty.
26366 * stdio-common/perror.c (perror): In case a new stream is used
26367 forward the stream error.
26368 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26369 error flag.
26370
78e64fdc
RT
263712011-05-20 Ulrich Drepper <drepper@gmail.com>
26372
34a9094f
UD
26373 [BZ #11869]
26374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26375 alloca.
26376 * include/alloca.h (extend_alloca_account): Define.
26377
78e64fdc
RT
26378 [BZ #11857]
26379 * posix/regex.h: Fix comments with documentation of user-accessible
26380 fields after compilation and describe correct free'ing of pattern
26381 after re_compile_pattern.
26382 Patch by Reuben Thomas <rrt@sc3d.org>.
26383
457bddfc
RA
263842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26385
26386 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26387 and -mno-altivec to prevent the compiler from using Altivec and/or
26388 VSX instructions when the corresponding registers are not available.
26389
a4527b51
AS
263902011-05-19 Andreas Schwab <schwab@redhat.com>
26391
26392 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26393
ed690b2f
UD
263942011-05-19 Ulrich Drepper <drepper@gmail.com>
26395
26396 * libio/freopen.c (freopen): Use __dup2, not dup2.
26397 * libio/freopen64.c (freopen64): Likewise.
26398
8db73634
L
263992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26400
26401 [BZ #12775]
26402 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26403 * math/Makefile (tests): Add test-powl.
26404 (CFLAGS-test-powl.c): Define.
26405 * math/test-powl.c: New file.
26406
0a197a9d
L
264072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26408
26409 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26410
ee30c380
UD
264112011-05-17 Ulrich Drepper <drepper@gmail.com>
26412
26413 [BZ #11837]
26414 * iconvdata/gb18030.c: Update to GB18020-2005.
26415
6ce75379
UD
264162011-05-16 Ulrich Drepper <drepper@gmail.com>
26417
a4b89fd8
AR
26418 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26419 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26420 Patch by Aharon Robbins <arnold@skeeve.com>.
26421
ea389b12
UD
26422 [BZ #11892]
26423 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26424 on the stack.
26425
68a3f91f
UD
26426 [BZ #11895]
26427 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26428 through underflows.
26429
15cc7dd1
UD
26430 [BZ #12766]
26431 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26432 point to strings before performing equality test for error_one_per_line
26433 mode.
26434
f3799213
UD
26435 [BZ #11697]
26436 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26437
d79a9c94
UD
26438 [BZ #11820]
26439 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26440 (struct user_fpregs_struct): Avoid __uint*_t types.
26441
56e5eb46
UD
26442 [BZ #6420]
26443 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26444 symbol info. Use it instead of calling _dl_addr locally.
26445 (lock_and_info): New function.
26446 (tr_freehook): Call lock_and_info and pass symbol info as additional
26447 parameter to tr_where.
26448 (tr_mallochook): Likewise.
26449 (tr_reallochook): Likewise.
26450 (tr_memalignhook): Likewise.
26451
6ce75379
UD
26452 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26453 used and couldn't be at all thread-safe.
26454
f8a3b5bf
UD
264552011-05-15 Ulrich Drepper <drepper@gmail.com>
26456
94b7cc37
UD
26457 * libio/freopen.c (freopen): Don't close old file descriptor
26458 before the new one is opened. Instead dup the new file descriptor
26459 to the old one after the new stream is created.
26460 * libio/freopen64.c (freopen64): Likewise.
26461 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26462 * libio/fileops.c (_IO_new_file_close_it): Handle new
26463 _IO_FLAGS2_NOCLOSE flag.
26464 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26465 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26466 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26467 _IO_FLAGS2_NOCLOSE flag.
26468 * include/unistd.h: Add hidden_proto for dup3.
26469 Define __have_dup3.
26470 * io/dup3.c: Define hidden symbol.
26471 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26472
bd25564e
UD
26473 [BZ #7101]
26474 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26475 when an incomplete long option is used.
26476 * posix/tst-getopt_long1.c: New file.
26477 * posix/Makefile (tests): Add tst-getopt_long1.
26478
c84cfef4
UD
26479 [BZ #10138]
26480 * scripts/config.guess: Update from autoconf-2.68.
26481 * scripts/config.sub: Likewise.
26482
3b85df27
UD
26483 [BZ #10157]
26484 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26485 tests into ...
26486 (has_cpuclock): ...this. New function.
26487 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26488 macro here based on has_cpuclock code.
26489
15a856b1
UD
26490 [BZ #10149]
26491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26492 First byte (not low byte) is now always NUL.
26493 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26494
05f399e6
UD
26495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26496 Use non-cancelable interfaces.
26497
10a52685 26498 [BZ #9809]
94ecc67d
UD
26499 * locale/iso-639.def: Add entry for Sorani.
26500
f8a3b5bf
UD
26501 [BZ #11901]
26502 * include/stdlib.h: Move include protection to the right place.
26503 Define abort_msg_s. Declare __abort_msg with it.
26504 * stdlib/abort.c (__abort_msg): Adjust type.
26505 * assert/assert.c (__assert_fail_base): New function. Majority
26506 of code from __assert_fail. Allocate memory for __abort_msg with
26507 mmap.
26508 (__assert_fail): Now call __assert_fail_base.
26509 * assert/assert-perr.c: Remove bulk of implementation. Use
26510 __assert_fail_base.
26511 * include/assert.hL Declare __assert_fail_base.
26512 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26513 mmap.
26514 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26515
1af4e298
UD
265162011-05-14 Ulrich Drepper <drepper@gmail.com>
26517
f8a3b5bf 26518 [BZ #11952]
d26dfc60
MG
26519 [BZ #12453]
26520 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26521 until all modules are registered in the DTV.
26522 * elf/Makefile: Add rules to build and run tst-tls19.
26523 * elf/tst-tls19.c: New file.
26524 * elf/tst-tls19mod1.c: New file.
26525 * elf/tst-tls19mod2.c: New file.
26526 * elf/tst-tls19mod3.c: New file.
26527 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26528
2fc54d6f
UD
26529 [BZ #12083]
26530 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26531 correctly.
26532
98d76b46
UD
26533 [BZ #12601]
26534 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26535 two-byte sequence errors.
26536 * iconvdata/Makefile (tests): Add bug-iconv8.
26537 * iconvdata/bug-iconv8.c: New file.
26538
da3c19ef
UD
26539 [BZ #12626]
26540 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26541 buf2 definition.
26542
ca408c15
UD
26543 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26544
d6f67f7d
UD
26545 [BZ #12432]
26546 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26547 (dummy_getcfa): New function.
26548 (init): Get _Unwind_GetCFA address, use dummy if not found.
26549 (backtrace_helper): In recursion check, also check whether CFA changes.
26550 (__backtrace): Completely initialize arg.
26551
1af4e298 26552 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26553 storing incomplete byte sequence in state object. Avoid testing for
26554 guaranteed too small input if we know there is enough data available.
1af4e298 26555
da62f81b
AS
265562011-05-11 Andreas Schwab <schwab@redhat.com>
26557
26558 * Makeconfig (+link-pie): Indent.
26559 * Rules (binaries-pie): Define if $(have-fpie) and
26560 $(build-shared).
26561 (binaries-shared): Also filter out $(binaries-pie).
26562 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26563 * nscd/Makefile (others-pie): Add nscd.
26564 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26565 ($(objpfx)nscd): Remove command override.
26566 * login/Makefile (others-pie): Add pt_chown.
26567 ($(objpfx)pt_chown): Remove command override.
26568 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26569 remove command overrides.
26570
fcabc0f8
UD
265712011-05-13 Ulrich Drepper <drepper@gmail.com>
26572
20030ae6
UD
26573 * libio/tst_putwc.c: Fix error messages.
26574
fcabc0f8
UD
26575 [BZ #12724]
26576 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26577 currently writing and seek to current position when not.
26578 * libio/Makefile (tests): Add bug-fclose1.
26579 * libio/bug-fclose1.c: New file.
26580
320a5dc0
PB
265812011-05-12 Ulrich Drepper <drepper@gmail.com>
26582
26583 [BZ #12511]
26584 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26585 don't set DF_1_NODELETE here.
26586 (do_lookup_x): When entering new entry test for copy relocation
26587 and if necessary set DF_1_NODELETE flag.
26588 * elf/tst-unique4.cc: New file.
26589 * elf/tst-unique4.h: New file.
26590 * elf/tst-unique4lib.cc: New file.
26591 * elf/Makefile: Add rules to build and run tst-unique4.
26592 Patch by Piotr Bury <pbury@goahead.com>.
26593
22836f52
UD
265942011-05-11 Ulrich Drepper <drepper@gmail.com>
26595
f574184a
UD
26596 [BZ #12052]
26597 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26598
e1fb097f
UD
26599 [BZ #12625]
26600 * misc/mntent_r.c (addmntent): Flush the stream after the output
26601
22836f52
UD
26602 [BZ #12393]
26603 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26604 (is_trusted_path_normalize): Skip initial colon. Append slash
26605 to empty buffer. Duplicate is_trusted_path code but allow
26606 constructed patch to be prefix.
26607 (is_dst): Allow $ORIGIN followed by /.
26608 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26609 Correct testing of result of is_trusted_path_normalize
26610 (decompose_rpath): Fix warning.
26611
7b3b0b2a
UD
266122011-05-10 Ulrich Drepper <drepper@gmail.com>
26613
26614 [BZ #11257]
26615 * grp/initgroups.c (internal_getgrouplist): When we found the service
26616 list through the initgroups entry in nsswitch.conf do not always
26617 continue on a successful lookup. Don't always use the
eac80ce2 26618 __nss_group_database value if it is set.
7b3b0b2a
UD
26619 * nss/nsswitch.conf (initgroups): Change action for successful db
26620 lookup to continue for compatibility.
26621
2a81eaa5
UD
266222011-05-09 Ulrich Drepper <drepper@gmail.com>
26623
be97a69e
UD
26624 [BZ #11532]
26625 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26626 and CP774 modules.
26627 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26628 and CP774 modules.
26629 * iconvdata/tst-tables.sh: Likewise.
26630 * iconvdata/cp770.c: New file.
26631 * iconvdata/cp771.c: New file.
26632 * iconvdata/cp772.c: New file.
26633 * iconvdata/cp773.c: New file.
26634 * iconvdata/cp774.c: New file.
26635 * iconvdata/testdata/CP770: New file.
26636 * iconvdata/testdata/CP770..UTF8: New file.
26637 * iconvdata/testdata/CP771: New file.
26638 * iconvdata/testdata/CP771..UTF8: New file.
26639 * iconvdata/testdata/CP772: New file.
26640 * iconvdata/testdata/CP772..UTF8: New file.
26641 * iconvdata/testdata/CP773: New file.
26642 * iconvdata/testdata/CP773..UTF8: New file.
26643 * iconvdata/testdata/CP774: New file.
26644 * iconvdata/testdata/CP774..UTF8: New file.
26645
26646 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26647 END CHARMAP line.
26648 * iconvdata/gen-8bit-gap.sh: Likewise.
26649 * iconvdata/gen-8bit.sh: Likewise.
26650
c1e9e399
UD
26651 * locale/iso-639.def: Add ary entry.
26652
24c55fb3 26653 [BZ #11258]
96b4b1b0
UD
26654 * locale/C-translit.h.in: Add U20A1 transliteration.
26655
bdc2f971
KB
26656 [BZ #12178]
26657 * locale/iso-639.def: Add wae entry.
26658 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26659
2952b117
UD
26660 [BZ #12545]
26661 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26662 for n.
26663
2a81eaa5
UD
26664 [BZ #12711]
26665 * locale/C-translit.h.in: Add entry for U20B9.
26666 Patch by pravin.d.s@gmail.com.
26667
28377d1b
UD
266682011-05-08 Ulrich Drepper <drepper@gmail.com>
26669
7fb90fb8
UD
26670 [BZ #12713]
26671 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26672 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26673 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26674 in rtld. Use *stat64.
7fb90fb8 26675 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26676 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26677 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26678 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26679 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26680 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26681 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26682 __fstatat64 macros.
7fb90fb8
UD
26683 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26684 * dirent/rewinddir.c: Add libc_hidden_def.
26685 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26686 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26687
28377d1b
UD
26688 * include/dirent.h (__alloc_dir): Add flags parameter.
26689 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26690 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26691 __alloc_dir.
26692 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26693 from fdopendir if O_CLOEXEC is already set.
26694
66bdbaa4
AM
266952011-03-15 Alan Modra <amodra@gmail.com>
26696
26697 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26698 l_tls_firstbyte_offset non-zero. Save padding offset in
26699 l_tls_firstbyte_offset for later use.
26700 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26701 freeing static tls block.
26702
95721191
JN
267032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26704
26705 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26706 where #ifdef was intended. The intent is to prevent ARG_MAX from
26707 being defined by the kernel headers.
26708
f87dfb1f
UD
267092011-05-07 Ulrich Drepper <drepper@gmail.com>
26710
26711 [BZ #12734]
26712 * resolv/resolv.h: Define RES_NOTLDQUERY.
26713 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26714 no-tld-query and set RES_NOTLDQUERY.
26715 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26716 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26717 modern BIND to search name as TLD unless forbidden.
26718
47c3cd7a
UD
267192011-05-07 Petr Baudis <pasky@suse.cz>
26720 Ulrich Drepper <drepper@gmail.com>
26721
26722 [BZ #12393]
26723 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26724 (is_trusted_path): ...to here.
c1e9ea35 26725 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26726 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26727 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26728
8a35c912
PP
267292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26730
26731 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26732 __BEGIN/__END_DECLS.
26733
acd41f47
UD
267342011-05-06 Ulrich Drepper <drepper@gmail.com>
26735
26736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26737 NSS_STATUS_NOTFOUND if no record was found.
26738
597df647
AS
267392011-05-05 Andreas Schwab <schwab@redhat.com>
26740
26741 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26742 (headers-not-in-tirpc): Remove rpc/netdb.h
26743 * resolv/netdb.h: Revert last change.
26744
b9af1301
PP
267452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26746
26747 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26748 circular dependency between libgcc.a and libc.a.
26749
4e34d5f5
AS
267502011-05-05 Andreas Schwab <schwab@redhat.com>
26751
26752 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26753 * nis/Makefile: Don't install rpcsvc/*.
26754 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26755 instead of <rpc/types.h>.
26756 (MAXHOSTNAMELEN): Define.
26757
00ee369c
AS
267582011-05-03 Andreas Schwab <schwab@redhat.com>
26759
26760 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26761
0b592a30
MB
267622011-04-28 Maciej Babinski <mbabinski@google.com>
26763
26764 [BZ #12714]
26765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26766 gethostbyname4_r when IPv6 results are possible.
26767
6e04cbbe
UD
267682011-05-02 Ulrich Drepper <drepper@gmail.com>
26769
26770 [BZ #12723]
26771 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26772 _PC_PIPE_BUF handling.
26773
e4ecafe0
BH
267742011-04-30 Bruno Haible <bruno@clisp.org>
26775
26776 [BZ #12717]
26777 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26778 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26779 to 'int'.
26780 * inet/getnameinfo.c (getnameinfo): Likewise.
26781
125ee683
UD
267822011-04-29 Ulrich Drepper <drepper@gmail.com>
26783
26784 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26785 to groups setting in database lookup.
26786 * nss/nsswitch.conf: Add initgroups entry.
26787
b722481a
EB
267882011-04-22 Ulrich Drepper <drepper@gmail.com>
26789
26790 [BZ #12685]
26791 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26792 mode string.
26793 Patch by Eric Blake <eblake@redhat.com>.
26794
4df46dbd
L
267952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26796
26797 * sunrpc/Makefile (need-export-routines): Add svc_run.
26798 (routines): Remove svc_run.
26799 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26800 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26801 * sunrpc/svc_run.c (svc_run): Likewise.
26802 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26803
e84142d2
UD
268042011-04-21 Ulrich Drepper <drepper@gmail.com>
26805
26806 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26807 problem in reallocation in last patch.
26808
877175d8
UD
268092011-04-20 Ulrich Drepper <drepper@gmail.com>
26810
26811 * sunrpc/Makefile: Move inclusion of Rules.
26812
ab8eed78
UD
268132011-04-19 Ulrich Drepper <drepper@gmail.com>
26814
26815 * nss/nss_files/files-initgroups.c: New file.
26816 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26817 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26818 _nss_files_initgroups_dyn.
26819
e3d8f584
RS
268202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26821
26822 * elf/elf.h (R_ARM_IRELATIVE): Define.
26823
af190f45
UD
268242011-04-19 Ulrich Drepper <drepper@gmail.com>
26825
26826 * po/ru.po: Update from translation team.
26827
53cf59ef
UD
268282011-04-17 Ulrich Drepper <drepper@gmail.com>
26829
26830 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26831 dependencies.
26832
4c559bcd
MF
268332011-02-06 Mike Frysinger <vapier@gentoo.org>
26834
26835 [BZ #12653]
26836 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26837 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26839 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26841
4420675c
AS
268422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26843
26844 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26845 differing bytes.
26846 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26849
75ea32ab
UD
268502011-04-17 Ulrich Drepper <drepper@gmail.com>
26851
26852 [BZ #12420]
26853 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26854 storing it.
26855 * stdlib/bug-getcontext.c: New file.
26856 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26857
27390476
AK
268582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26859
26860 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26861 instructions into .machine "z9-109".
26862 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26863 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26864
10442705
AK
268652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26866
26867 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26868 between environment variables and auxiliary vector.
26869
7b57bfe5
UD
268702011-04-16 Ulrich Drepper <drepper@gmail.com>
26871
26872 * Makefile: Add rules to build linkobj/libc.so.
26873 * include/libc-symbols.h: Define libc_hidden_nolink.
26874 * include/rpc/auth.h: Mark functions which are to be hidden.
26875 * include/rpc/auth_des.h: Likewise.
26876 * include/rpc/auth_unix.h: Likewise.
26877 * include/rpc/clnt.h: Likewise.
26878 * include/rpc/des_crypt.h: Likewise.
26879 * include/rpc/key_prot.h: Likewise.
26880 * include/rpc/pmap_clnt.h: Likewise.
26881 * include/rpc/pmap_prot.h: Likewise.
26882 * include/rpc/pmap_rmt.h: Likewise.
26883 * include/rpc/rpc_msg.h: Likewise.
26884 * include/rpc/svc.h: Likewise.
26885 * include/rpc/svc_auth.h: Likewise.
26886 * include/rpc/xdr.h: Likewise.
26887 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26888 * nss/Makefile: Likewise.
26889 * sunrpc/Makefile: Don't install headers. Build library with normal
26890 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26891 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26892 for the compat linking library. Remove use of INTDEF/INTUSE.
26893 * sunrpc/auth_none.c: Likewise.
26894 * sunrpc/auth_unix.c: Likewise.
26895 * sunrpc/authdes_prot.c: Likewise.
26896 * sunrpc/authuxprot.c: Likewise.
26897 * sunrpc/clnt_gen.c: Likewise.
26898 * sunrpc/clnt_perr.c: Likewise.
26899 * sunrpc/clnt_raw.c: Likewise.
26900 * sunrpc/clnt_simp.c: Likewise.
26901 * sunrpc/clnt_tcp.c: Likewise.
26902 * sunrpc/clnt_udp.c: Likewise.
26903 * sunrpc/clnt_unix.c: Likewise.
26904 * sunrpc/des_crypt.c: Likewise.
26905 * sunrpc/des_soft.c: Likewise.
26906 * sunrpc/get_myaddr.c: Likewise.
26907 * sunrpc/key_call.c: Likewise.
26908 * sunrpc/key_prot.c: Likewise.
26909 * sunrpc/netname.c: Likewise.
26910 * sunrpc/pm_getmaps.c: Likewise.
26911 * sunrpc/pm_getport.c: Likewise.
26912 * sunrpc/pmap_clnt.c: Likewise.
26913 * sunrpc/pmap_prot.c: Likewise.
26914 * sunrpc/pmap_prot2.c: Likewise.
26915 * sunrpc/pmap_rmt.c: Likewise.
26916 * sunrpc/publickey.c: Likewise.
26917 * sunrpc/rpc_cmsg.c: Likewise.
26918 * sunrpc/rpc_common.c: Likewise.
26919 * sunrpc/rpc_dtable.c: Likewise.
26920 * sunrpc/rpc_prot.c: Likewise.
26921 * sunrpc/rpc_thread.c: Likewise.
26922 * sunrpc/rtime.c: Likewise.
26923 * sunrpc/svc.c: Likewise.
26924 * sunrpc/svc_auth.c: Likewise.
26925 * sunrpc/svc_authux.c: Likewise.
26926 * sunrpc/svc_raw.c: Likewise.
26927 * sunrpc/svc_run.c: Likewise.
26928 * sunrpc/svc_simple.c: Likewise.
26929 * sunrpc/svc_tcp.c: Likewise.
26930 * sunrpc/svc_udp.c: Likewise.
26931 * sunrpc/svc_unix.c: Likewise.
26932 * sunrpc/svcauth_des.c: Likewise.
26933 * sunrpc/xcrypt.c: Likewise.
26934 * sunrpc/xdr.c: Likewise.
26935 * sunrpc/xdr_array.c: Likewise.
26936 * sunrpc/xdr_float.c: Likewise.
26937 * sunrpc/xdr_intXX_t.c: Likewise.
26938 * sunrpc/xdr_mem.c: Likewise.
26939 * sunrpc/xdr_rec.c: Likewise.
26940 * sunrpc/xdr_ref.c: Likewise.
26941 * sunrpc/xdr_sizeof.c: Likewise.
26942 * sunrpc/xdr_stdio.c: Likewise.
26943
e6c61494
UD
269442011-04-10 Ulrich Drepper <drepper@gmail.com>
26945
26946 [BZ #12650]
26947 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
26948 * sysdeps/ia64/dl-tls.h: Likewise.
26949 * sysdeps/powerpc/dl-tls.h: Likewise.
26950 * sysdeps/s390/dl-tls.h: Likewise.
26951 * sysdeps/sh/dl-tls.h: Likewise.
26952 * sysdeps/sparc/dl-tls.h: Likewise.
26953 * sysdeps/x86_64/dl-tls.h: Likewise.
26954 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
26955
34fe483e
AS
269562011-03-14 Andreas Schwab <schwab@redhat.com>
26957
26958 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
26959 rpath element also skip the following colon.
26960 (expand_dynamic_string_token): Add is_path parameter and pass
26961 down to DL_DST_REQUIRED and _dl_dst_substitute.
26962 (decompose_rpath): Call expand_dynamic_string_token with
26963 non-zero is_path. Ignore empty rpaths.
26964 (_dl_map_object_from_fd): Call expand_dynamic_string_token
26965 with zero is_path.
26966
f12a32e6
AS
269672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
26968
26969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26970 Make cancelable.
26971
38a7d692
UD
269722011-04-09 Ulrich Drepper <drepper@gmail.com>
26973
26974 [BZ #12655]
26975 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
26976 Patch by Filipe David Manana <fdmanana@apache.org>.
26977
e451d22b
AS
269782011-04-07 Andreas Schwab <schwab@redhat.com>
26979
26980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
26981 Maintain aligned stack.
26982 (CHECK_RSP): Remove unused macro.
26983
dedc7c7b
UD
269842011-04-03 Ulrich Drepper <drepper@gmail.com>
26985
26986 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
26987 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
26988
94521213
UD
269892011-04-02 Ulrich Drepper <drepper@gmail.com>
26990
26991 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
26992
8cb700c0 26993 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 26994
0354e355
L
269952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
26996
26997 [BZ #12518]
26998 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
26999 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27000 * sysdeps/x86_64/memmove.c: New file.
27001 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27002 (memcpy): Renamed to ...
27003 (__new_memcpy): This.
27004 (memcpy): Provide GLIBC_2_14 memcpy.
27005 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27006 (memcpy): Provide GLIBC_2_2_5 memcpy.
27007
8593482f
UD
270082011-04-01 Ulrich Drepper <drepper@gmail.com>
27009
27010 [BZ #12631]
27011 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27012
81a5726b
AS
270132011-03-30 Andreas Schwab <schwab@redhat.com>
27014
27015 * misc/syncfs.c: New file.
27016 * misc/Makefile (routines): Add syncfs.
27017 * posix/unistd.h: Declare syncfs.
27018 * sysdeps/unix/syscalls.list: Add syncfs.
27019
00e5419f
AS
270202011-04-01 Andreas Schwab <schwab@redhat.com>
27021
27022 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27023 open_by_handle_at.
27024 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27025 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27027 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27029 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27030 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27031
748876bf
UD
270322011-04-01 Ulrich Drepper <drepper@gmail.com>
27033
658e451d
UD
27034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27036 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27041
748876bf
UD
27042 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27043 sync_file_range.c with -fexceptions.
27044 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27045 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27046 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27047 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27048 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27049 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27051 sync_file_range as cancellation point
27052 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27053 now a wrapper around __call_sync_file_range with cancellation handling.
27054 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27055 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27056 function name to __call_sync_file_range.
27057 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27058 Add call_sync_file_range.
748876bf 27059
6e63d5e1
AS
270602011-04-01 Andreas Schwab <schwab@redhat.com>
27061
27062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27063 bits/timex.h.
6e63d5e1 27064
46998f74
UD
270652011-04-01 Ulrich Drepper <drepper@gmail.com>
27066
4c1423ed
UD
27067 * iconv/iconv.h: Fix typo in comment.
27068 * io/fcntl.h: Likewise.
27069 * libio/stdio.h: Likewise.
27070 * posix/spawn.h: Likewise.
27071 * posix/unistd.h: Likewise.
27072 * stdlib/stdlib.h: Likewise.
27073 * time/time.h: Likewise.
27074 * wcsmbs/wchar.h: Likewise.
27075
158648c0
UD
27076 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27077 open_by_handle): Add.
27078 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27079 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27080 Augment a few comments.
27081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27086 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27087 open_by_handle.
27088
46998f74
UD
27089 * io/fcntl.h (AT_EMPTY_PATH): Define.
27090
83fe108b
UD
270912011-03-30 Ulrich Drepper <drepper@gmail.com>
27092
27093 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27094 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27095 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27096 to...
27097 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27098 * Versions.def: Add GLIBC_2.14.
27099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27100 Export.
83fe108b 27101
bb242059
UD
271022011-03-22 Ulrich Drepper <drepper@gmail.com>
27103
27104 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27105 round counter.
27106 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27107
c97a1282
L
271082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27109
27110 [BZ #12597]
27111 * string/test-strncmp.c (do_page_test): New function.
27112 (check2): Likewise.
27113 (test_main): Call check2.
27114 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27115
2a115601
UD
271162011-03-20 Ulrich Drepper <drepper@gmail.com>
27117
27118 [BZ #12587]
27119 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27120 Handle cache information in CPU leaf 4.
27121 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27122
8126d904
UD
271232011-03-18 Ulrich Drepper <drepper@gmail.com>
27124
042c49c6 27125 [BZ #12583]
8126d904
UD
27126 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27127 character representation.
27128 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27129
ccfe366e
RA
271302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27131
27132 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27133 END(__isnan) to END(__isnanf) to match function entry point/label
27134 EALIGN(__isnanf,...).
27135
c6e13027
JJ
271362011-03-10 Jakub Jelinek <jakub@redhat.com>
27137
27138 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27139
33f85a3f
UD
271402011-03-10 Ulrich Drepper <drepper@gmail.com>
27141
028478fa
UD
27142 [BZ #12510]
27143 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27144 copy from the symbol referenced in the relocation to initialize the
27145 used variable.
27146 Patch by Piotr Bury <pbury@goahead.com>.
27147 * elf/Makefile: Add rules to build and tst-unique3.
27148 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27149 * elf/tst-unique3.cc: New file.
27150 * elf/tst-unique3.h: New file.
27151 * elf/tst-unique3lib.cc: New file.
27152 * elf/tst-unique3lib2.cc: New file.
27153
33f85a3f
UD
27154 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27155
03592fc7
MF
271562011-03-10 Mike Frysinger <vapier@gentoo.org>
27157
27158 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27159 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27160 to _start.
03592fc7 27161
6a5ee102
UD
271622011-03-06 Ulrich Drepper <drepper@gmail.com>
27163
27164 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27165 to-be-loaded object along a path to loader is ld.so.
27166
7e4ba49c
HJ
271672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27168 Ulrich Drepper <drepper@gmail.com>
27169
27170 * sysdeps/x86_64/memset.S: After aligning destination, code
27171 branches to different locations depending on the value of
27172 misalignment, when multiarch is enabled. Fix this.
27173
271742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27175
27176 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27177 Set _x86_64_preferred_memory_instruction for AMD processsors.
27178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27179 Set bit_Prefer_SSE_for_memop for AMD processors.
27180
13a804de
UD
271812011-03-04 Ulrich Drepper <drepper@gmail.com>
27182
27183 * libio/fmemopen.c (fmemopen): Optimize a bit.
27184
9d25c392
AS
271852011-03-03 Andreas Schwab <schwab@redhat.com>
27186
27187 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27188
a5543c6a
RM
271892011-03-03 Roland McGrath <roland@redhat.com>
27190
27191 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27192
012d35f7
DM
271932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27194
7e4ba49c 27195 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27196 __bzero_ultra1 instead of __memset_ultra1.
27197
4bff6e01
AS
271982011-02-23 Andreas Schwab <schwab@redhat.com>
27199 Ulrich Drepper <drepper@gmail.com>
27200
27201 [BZ #12509]
27202 * include/link.h (struct link_map): Add l_orig_initfini.
27203 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27204 returning unsuccessfully.
27205 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27206 close of a file loaded at startup, restore the original l_initfini
27207 list.
27208 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27209 list, store the pointer.
27210 * elf/Makefile ($(objpfx)noload-mem): New rule.
27211 (noload-ENV): Define.
27212 (tests): Add $(objpfx)noload-mem.
27213 * elf/noload.c: Include <memcheck.h>.
27214 (main): Call mtrace. Close all opened handles.
27215
f2092faf
AS
272162011-02-17 Andreas Schwab <schwab@redhat.com>
27217
27218 [BZ #12454]
27219 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27220 dependencies are missing.
27221
6c8a2e88
ST
272222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27223
f2092faf 27224 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27225 Hurd needs munmap.
27226 * sysdeps/mach/hurd/ifreq.h: New file.
27227
84a42118
PB
272282011-01-27 Petr Baudis <pasky@suse.cz>
27229 Ulrich Drepper <drepper@gmail.com>
27230
071f805e 27231 [BZ 12445]#
84a42118
PB
27232 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27233 to extend_alloca().
27234 * stdio-common/bug23.c: New file.
27235 * stdio-common/Makefile (tests): Add bug23.
27236
e23fe25b
AS
272372010-09-28 Andreas Schwab <schwab@redhat.com>
27238 Ulrich Drepper <drepper@gmail.com>
27239
27240 [BZ #12489]
27241 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27242 before performing relro protection. At old place add assertion
27243 to make sure nothing changed.
27244
d3f02e10
NS
272452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27246 Glauber de Oliveira Costa <glommer@gmail.com>
27247
27248 * elf/elf.h: Add new ARM TLS relocs.
27249
d55fd7a5
RA
272502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27251
27252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27253 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27254 cast from r3.
27255 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27256 'tests' variable.
27257 * sysdeps/wordsize-64/tst-writev.c: New file.
27258
2206397e
RA
272592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27260
27261 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27262 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27263 insns in _dl_start to prevent a TOC reference before relocs are
27264 resolved.
27265
e9433893
UD
272662011-02-15 Ulrich Drepper <drepper@gmail.com>
27267
27268 [BZ #12469]
27269 * Makeconfig: Remove RANLIB definition.
27270 * Makerules: Don't use RANLIB.
27271 * aclocal.m4: Remove ranlib test.
27272 * configure.in: No need to check for ranlib.
27273 * elf/rtld-Rules: Don't use RANLIB.
27274
f75286c6
ST
272752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27276
8e31c82d
ST
27277 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27278 protection macro.
27279 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27280 inclusion protection macro.
27281
f75286c6
ST
27282 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27283 SIGRTMIN and SIGRTMAX and print information in that case only when
27284 SIGRTMIN is defined.
27285
c1d0e639
JJ
272862011-02-11 Jakub Jelinek <jakub@redhat.com>
27287
27288 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27289 arginfo fn returning -1.
27290
27291 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27292 and thousands string is zero terminated.
27293
edf9294e
AS
272942011-02-03 Andreas Schwab <schwab@redhat.com>
27295
27296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27297 sysdeps/unix/sysv/linux/bits/socket.h.
27298
2b7e92df
ST
272992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27300
edf9294e
AS
27301 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27302 (__CPU_COUNT): Remove old macros.
27303 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27304 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27305 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27306 (__sched_cpualloc, __sched_cpufree): Add declarations.
27307
a4c7ea7b
UD
273082011-02-05 Ulrich Drepper <drepper@gmail.com>
27309
27310 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27311 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27312 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27313 (readdhstai): Return value of addhstaiX call.
27314 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27315 (addgrbyX): Return value returned by cache_addgr.
27316 (readdgrbyname): Return value returned by addgrbyX.
27317 (readdgrbygid): Likewise.
27318 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27319 (addpwbyX): Return value returned by cache_addpw.
27320 (readdpwbyname): Return value returned by addhstbyX.
27321 (readdpwbyuid): Likewise.
27322 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27323 (addservbyX): Return value returned by cache_addserv.
27324 (readdservbyname): Return value returned by addservbyX:
27325 (readdservbyport): Likewise.
27326 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27327 (addhstbyX): Return value returned by cache_addhst.
27328 (readdhstbyname): Return value returned by addhstbyX.
27329 (readdhstbyaddr): Likewise.
27330 (readdhstbynamev6): Likewise.
27331 (readdhstbyaddrv6): Likewise.
27332 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27333 (readdinitgroups): Return value returned by addinitgroupsX.
27334 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27335 (prune_cache): Keep track of timeout value of re-added entries.
27336 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27337 * nscd/nscd.h: Adjust prototypes of readd* functions.
27338
a0bf67cc
RM
273392011-02-04 Roland McGrath <roland@redhat.com>
27340
27341 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27342 (nis_stats): Likewise.
27343 * nis/nis_modify.c (nis_modify): Likewise.
27344 * nis/nis_remove.c (nis_remove): Likewise.
27345 * nis/nis_add.c (nis_add): Likewise.
27346
27347 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27348
27349 * posix/fnmatch_loop.c: Add some consts.
27350
27351 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27352
435b95eb
L
273532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27354
27355 [BZ #12460]
27356 * config.make.in (config-cflags-novzeroupper): Define.
27357 * configure.in: Substitute libc_cv_cc_novzeroupper.
27358 * elf/Makefile (AVX-CFLAGS): Define.
27359 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27360 (CFLAGS-tst-auditmod4a.c): Likewise.
27361 (CFLAGS-tst-auditmod4b.c): Likewise.
27362 (CFLAGS-tst-auditmod6b.c): Likewise.
27363 (CFLAGS-tst-auditmod6c.c): Likewise.
27364 (CFLAGS-tst-auditmod7b.c): Likewise.
27365 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27366
8517b15e
UD
273672011-02-02 Ulrich Drepper <drepper@gmail.com>
27368
27369 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27370 function to the callback.
27371 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27372
10a656fe
AS
273732011-02-02 Andreas Schwab <schwab@redhat.com>
27374
27375 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27376 of errno.
27377
968dad0a
UD
273782011-01-19 Ulrich Drepper <drepper@gmail.com>
27379
9f94d2ea 27380 [BZ #11724]
968dad0a
UD
27381 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27382 of constructors.
27383 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27384 of destructors.
27385 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27386
27387 [BZ #11724]
27388 * elf/Makefile: Add rules to build and run new test.
27389 * elf/tst-initorder.c: New file.
27390 * elf/tst-initorder.exp: New file.
27391 * elf/tst-initordera1.c: New file.
27392 * elf/tst-initordera2.c: New file.
27393 * elf/tst-initordera3.c: New file.
27394 * elf/tst-initordera4.c: New file.
27395 * elf/tst-initorderb1.c: New file.
27396 * elf/tst-initorderb2.c: New file.
27397 * elf/tst-order-a1.c: New file.
27398 * elf/tst-order-a2.c: New file.
27399 * elf/tst-order-a3.c: New file.
27400 * elf/tst-order-a4.c: New file.
27401 * elf/tst-order-b1.c: New file.
27402 * elf/tst-order-b2.c: New file.
27403 * elf/tst-order-main.c: New file.
27404 New test case by George Gensure <werkt0@gmail.com>.
27405
86e92359
UD
274062010-10-01 Andreas Schwab <schwab@redhat.com>
27407
27408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27409 decoding ACE if AI_CANONIDN.
27410
5d5732b0
UD
274112011-01-18 Ulrich Drepper <drepper@gmail.com>
27412
27413 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27414
a77e8cbc
UD
274152011-01-17 Ulrich Drepper <drepper@gmail.com>
27416
6392473f
UD
27417 * version.h (RELEASE): Bump for 2.13 release.
27418 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27419
620a0529
UD
27420 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27421
18ba70a5
UD
27422 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27423 MADV_NOHUGEPAGE.
32465c3e
UD
27424 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27426 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27427 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27428 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27430
c0dafcf1
UD
27431 * posix/getconf.c: Update copyright year.
27432 * catgets/gencat.c: Likewise.
27433 * csu/version.c: Likewise.
27434 * debug/catchsegv.sh: Likewise.
27435 * debug/xtrace.sh: Likewise.
27436 * elf/ldconfig.c: Likewise.
27437 * elf/ldd.bash.in: Likewise.
27438 * elf/sprof.c (print_version): Likewise.
27439 * iconv/iconv_prog.c: Likewise.
27440 * iconv/iconvconfig.c: Likewise.
27441 * locale/programs/locale.c: Likewise.
27442 * locale/programs/localedef.c: Likewise.
27443 * malloc/memusage.sh: Likewise.
27444 * malloc/mtrace.pl: Likewise.
27445 * nscd/nscd.c (print_version): Likewise.
27446 * nss/getent.c: Likewise.
27447
a77e8cbc
UD
27448 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27449 PF_CAIF, and PF_ALG.
27450 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27451
77e8bddf
AS
274522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27453
1f20b93a
AS
27454 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27455 (modules-names): Use them.
27456 (ifunc-test-modules, ifunc-pie-tests): Define.
27457 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27458 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27459 (test-extras): Likewise.
27460 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27461 $(compile-command.c).
27462 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27463 (all-built-dso): Define.
27464 (check-textrel.out, check-execstack.out): Depend on it.
27465
77e8bddf
AS
27466 * configure.in: Don't override --enable-multi-arch.
27467
bc425b33
UD
274682011-01-15 Ulrich Drepper <drepper@gmail.com>
27469
27470 [BZ #6812]
27471 * nscd/hstcache.c (tryagain): Define.
27472 (cache_addhst): Return tryagain not notfound for temporary errors.
27473 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27474 failed.
27475
794c3ad3
UD
274762011-01-14 Ulrich Drepper <drepper@gmail.com>
27477
70181fdd
UD
27478 [BZ #10563]
27479 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27480 to make the syscall.
27481 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27482
794c3ad3
UD
27483 [BZ #12378]
27484 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27485 and fall back to matching as normal character if the string ends before
27486 the matching ']' is found. This is what POSIX requires.
27487 * posix/testfnm.c: Adjust test result.
27488 * posix/globtest.sh: Adjust test result. Add new test.
27489 * posix/tst-fnmatch.input: Likewise.
27490 * posix/tst-fnmatch2.c: Add new test.
27491
68dc9497
AS
274922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27493
27494 * elf/Makefile (check-execstack): Revert last change. Depend on
27495 check-execstack.h.
27496 (check-execstack.h): New target.
27497 (generated): Add check-execstack.h.
27498 * elf/check-execstack.c: Include "check-execstack.h".
27499 (main): Revert last change.
27500 (handle_file): Return zero if GNU_STACK is absent and
27501 DEFAULT_STACK_PERMS doesn't include PF_X.
27502
451f001b
UD
275032011-01-13 Ulrich Drepper <drepper@gmail.com>
27504
cfa28e56
UD
27505 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27506 in child fails because the descriptor is already closed.
8cf8ce17
UD
27507 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27508 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27509 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27510
1086d70d
UD
27511 [BZ #12397]
27512 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27513 syscall.
27514
451f001b
UD
27515 [BZ #10484]
27516 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27517 temporary buffer used to handle multi lookups locally.
a85b5cb4 27518 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27519
08769175
UD
275202011-01-12 Ulrich Drepper <drepper@gmail.com>
27521
27522 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27523 loader is ld.so.
27524
5e49c52e
UD
275252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27526
27527 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27528 alignment for SSE2.
27529
60522a5f
UD
275302011-01-12 Ulrich Drepper <drepper@gmail.com>
27531
27532 [BZ #12394]
27533 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27534 characters. When rounding increased number of integer digits recompute
27535 number of groups.
27536 * stdio-common/tst-grouping.c: New file.
27537 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27538
f257bbd7
UD
275392011-01-09 Ulrich Drepper <drepper@gmail.com>
27540
27541 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27542 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27543
27544 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27545 void.
27546 * bits/select.h: Likewise.
27547
fa9c15cb
UD
275482011-01-08 Ulrich Drepper <drepper@gmail.com>
27549
27550 * po/ja.po: Update from translation team.
27551
16c2895f
DM
275522011-01-04 David S. Miller <davem@sunset.davemloft.net>
27553
27554 [BZ #11155]
27555 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27556 implementation just like for lxstat, fxstatat, et al.
27557
2543fef2
JM
275582010-12-27 Jim Meyering <meyering@redhat.com>
27559
27560 [BZ #12348]
27561 * posix/regexec.c (build_trtable): Return failure indication upon
27562 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27563
98727dbe
UD
275642010-12-25 Ulrich Drepper <drepper@gmail.com>
27565
5bd6dc5c
UD
27566 [BZ #12201]
27567 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27568 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27570 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27571
97983464
UD
27572 [BZ #12207]
27573 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27574
98727dbe
UD
27575 [BZ #12204]
27576 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27577 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27578
4a531bb0
L
275792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27580
27581 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27582 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27583 script has SORT_BY_INIT_PRIORITY.
27584 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27585 NO_CTORS_DTORS_SECTIONS is defined.
27586 * elf/soinit.c: Likewise.
27587 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27588 NO_CTORS_DTORS_SECTIONS is defined.
27589 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27590 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27591 * sysdeps/sh/init-first.c: Likewise.
27592 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27593
07eb4b71
UD
275942010-12-24 Ulrich Drepper <drepper@gmail.com>
27595
27596 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27597 always use the slow path.
27598
30950a5f
RA
275992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27600
27601 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27602 similar rule which adds the sysdep directories to the header search in
27603 order to pick up the correct platform stackinfo.h.
27604 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27605 perform test if it is, otherwise return successfully without testing.
27606 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27607 DEFAULT_STACK_PERMS define in stackinfo.h.
27608 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27609 defined in stackinfo.h.
27610 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27611 DEFAULT_STACK_PERMS defined in stackinfo.h.
27612 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27613 * sysdeps/ia64/stackinfo.h: Likewise.
27614 * sysdeps/s390/stackinfo.h: Likewise.
27615 * sysdeps/sh/stackinfo.h: Likewise.
27616 * sysdeps/sparc/stackinfo.h: Likewise.
27617 * sysdeps/x86_64/stackinfo.h: Likewise.
27618 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27619 PF_X for powerpc64. Retain PF_X for powerpc32.
27620
db753e2c
UD
276212010-12-19 Ulrich Drepper <drepper@gmail.com>
27622
14b697f7
UD
27623 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27624 accurately.
db753e2c
UD
27625 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27626 GETDENTS_64BIT_ALIGNED.
27627
28300719
UD
276282010-12-14 Ulrich Drepper <dreper@gmail.com>
27629
14b697f7 27630 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27631
4f197237
AS
276322010-12-10 Andreas Schwab <schwab@redhat.com>
27633
dbb0472f
AS
27634 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27635 _GNU_SOURCE.
27636
4f197237
AS
27637 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27638 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27639 Remove __restrict.
27640 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27641 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27642
fb88ac72
UD
276432010-12-09 Ulrich Drepper <drepper@gmail.com>
27644
27645 [BZ #11655]
27646 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27647 are initialized.
27648
42acbb92
JJ
276492010-12-09 Jakub Jelinek <jakub@redhat.com>
27650
27651 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27652
c038d98d
UD
276532010-12-03 Ulrich Drepper <drepper@gmail.com>
27654
27655 * po/it.po: Update from translation team.
27656
3a4a2499
L
276572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27658
27659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27660 unused codes.
27661
1e24cf6e
UD
276622010-11-30 Ulrich Drepper <drepper@gmail.com>
27663
27664 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27665
a7690819
AS
276662010-11-24 Andreas Schwab <schwab@redhat.com>
27667
27668 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27669 specially.
27670 (gaih_getanswer_slice): Likewise.
27671
3bf8d1b1
JJ
276722010-10-20 Jakub Jelinek <jakub@redhat.com>
27673
27674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27675
6db52fbb
PB
276762010-05-31 Petr Baudis <pasky@suse.cz>
27677
27678 [BZ #11149]
27679 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27680 silently even in the chroot mode.
27681
eaca7569
UD
276822010-11-22 Ulrich Drepper <drepper@gmail.com>
27683
27684 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27685 last patch a bit. Pretty printing
27686
3056dcdb
UD
276872010-05-31 Petr Baudis <pasky@suse.cz>
27688
27689 [BZ #10085]
27690 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27691 initialization of skip_initgroups_dyn.
27692
cf7c9078
UD
276932010-11-19 Ulrich Drepper <drepper@gmail.com>
27694
27695 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27696 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27697
a1fb5e3e
UD
276982010-11-16 Ulrich Drepper <drepper@gmail.com>
27699
27700 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27701
3540d66b
AS
277022010-11-11 Andreas Schwab <schwab@redhat.com>
27703
27704 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27705 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27706 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27707 ($(objpfx)tst-fnmatch-mem): New rule.
27708 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27709 * posix/tst-fnmatch.c (main): Call mtrace.
27710
13b69574
L
277112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27712
27713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27714 Support Intel processor model 6 and model 0x2c.
27715
da93d214
LM
277162010-11-10 Luis Machado <luisgpm@br.ibm.com>
27717
27718 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27719 signed comparison.
27720
8ca52c6e
L
277212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27722
27723 [BZ #12205]
27724 * string/test-strncasecmp.c (check_result): New function.
27725 (do_one_test): Use it.
27726 (check1): New function.
27727 (test_main): Use it.
27728 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27729 Support strcasecmp and strncasecmp.
27730
69da074d
UD
277312010-11-08 Ulrich Drepper <drepper@gmail.com>
27732
27733 [BZ #12194]
27734 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27736
ff02d528
L
277372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27738
27739 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27740 IFUNC support.
27741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27742 memset-x86-64.
27743 * sysdeps/x86_64/multiarch/bzero.S: New file.
27744 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27745 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27746 * sysdeps/x86_64/multiarch/memset.S: New file.
27747 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27749 Set bit_Prefer_SSE_for_memop for Intel processors.
27750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27751 Define.
27752 (index_Prefer_SSE_for_memop): Define.
27753 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27754
344d0b54
LM
277552010-11-04 Luis Machado <luisgpm@br.ibm.com>
27756
27757 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27758 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27759
c0dde15b
UD
277602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27761
27762 [BZ #12191]
27763 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27764 (__x86_64_raw_data_cache_size_half): Likewise.
27765 (__x86_64_raw_shared_cache_size): Likewise.
27766 (__x86_64_raw_shared_cache_size_half): Likewise.
27767
27768 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27769 (__x86_64_raw_data_cache_size_half): Likewise.
27770 (__x86_64_raw_shared_cache_size): Likewise.
27771 (__x86_64_raw_shared_cache_size_half): Likewise.
27772 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27773 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27774 and __x86_64_raw_shared_cache_size_half. Round
27775 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27776 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27777 to multiple of 256 bytes.
27778
0e516e0e
MS
277792010-11-03 Ulrich Drepper <drepper@gmail.com>
27780
27781 [BZ #12167]
27782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27783 of inacessible symlinks. Verify result of symlink before returning it.
27784 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27785 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27786
0e012e87
ER
277872010-10-28 Erich Ritz <erichritz@gmail.com>
27788
27789 * math/math.h (isinf): Fix typo in comment.
27790
de0ff7bc
UD
277912010-11-01 Ulrich Drepper <drepper@gmail.com>
27792
27793 * po/da.po: Update from translation team.
27794
fa41c84d
UD
277952010-10-26 Ulrich Drepper <drepper@gmail.com>
27796
27797 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27798 is added to the list.
27799
f0967738
AK
278002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27801 Ulrich Drepper <drepper@gmail.com>
27802
27803 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27804 the global list here. Move code to...
27805 (_dl_add_to_namespace_list): ...here. New function.
27806 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27807 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27808 * elf/dl-load.c (lose): Don't remove the element from the list.
27809 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27810 (_dl_map_object): Likewise.
27811
278122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27813
27814 [BZ #12159]
27815 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27816 into all bytes of SSE register.
27817 Patch by Richard Li <richardpku@gmail.com>.
27818
f0967738 278192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27820
27821 [BZ #12140]
27822 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27823 perturbing.
27824
d0b9e94f
MB
278252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27826
27827 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27828 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27829 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27832 submachine.
27833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27834
8e9f92e9
AS
278352010-10-22 Andreas Schwab <schwab@redhat.com>
27836
27837 * include/dlfcn.h (__RTLD_SECURE): Define.
27838 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27839 mode & __RTLD_SECURE instead.
27840 (open_path): Rename preloaded parameter to secure.
27841 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27842 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27843 * elf/dl-deps.c (openaux): Likewise.
27844 * elf/rtld.c (struct map_args): Remove is_preloaded.
27845 (map_doit): Don't use it.
27846 (dl_main): Likewise.
27847 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27848 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27849
bc96fbda
AS
278502010-09-09 Andreas Schwab <schwab@redhat.com>
27851
27852 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27853 (sysd-rules-targets): Remove duplicates.
27854 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27855 rtld-%.$o dependency.
27856
22cd1c9b
AS
278572010-10-18 Andreas Schwab <schwab@redhat.com>
27858
27859 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27860 _dl_map_object do it.
27861
18edac48
UD
278622010-10-19 Ulrich Drepper <drepper@gmail.com>
27863
27864 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27865 fast fma builtins, define the macros in the C99 standard.
27866 (FP_FAST_FMAF): Likewise.
27867 (FP_FAST_FMAL): Likewise.
27868 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27869
27870 * bits/mathdef.h: Update copyright year.
27871 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27872
d2050124
MM
278732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27874
27875 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27876 builtins, define the macros in the C99 standard.
27877 (FP_FAST_FMAF): Likewise.
27878 (FP_FAST_FMAL): Likewise.
27879 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27880 multiply/add.
27881 (FP_FAST_FMAF): Likewise.
27882
475facd1
JJ
278832010-10-15 Jakub Jelinek <jakub@redhat.com>
27884
27885 [BZ #3268]
27886 * math/libm-test.inc (fma_test): Some new testcases.
27887 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27888 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27889 y and infinite z. Do multiplication by C already in long double.
27890 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27892 y and infinite z. Do bitwise or of inexact bit into u.d.
27893 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27894 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27895 * sysdeps/i386/fpu/s_fma.S: Removed.
27896 * sysdeps/i386/fpu/s_fmal.S: Removed.
27897
7c08a05c
JJ
278982010-10-16 Jakub Jelinek <jakub@redhat.com>
27899
27900 [BZ #3268]
27901 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27903 computation is not scheduled after fetestexcept. Fix value
27904 of minimum denormal long double.
27905
f3f7372d
JJ
279062010-10-14 Jakub Jelinek <jakub@redhat.com>
27907
27908 [BZ #3268]
27909 * math/libm-test.inc (fma_test): Add some more tests.
27910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27911 correctly.
27912
14d43591
AS
279132010-10-15 Andreas Schwab <schwab@redhat.com>
27914
27915 * scripts/data/localplt-s390-linux-gnu.data: New file.
27916 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27917
5e908464
JJ
279182010-10-13 Jakub Jelinek <jakub@redhat.com>
27919
27920 [BZ #3268]
27921 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27922 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27923 instead of dbl-64.
27924 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27925 inlines.
27926 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27928 if one of x and y is very large and the other is subnormal.
27929 * sysdeps/s390/fpu/s_fmaf.c: New file.
27930 * sysdeps/s390/fpu/s_fma.c: New file.
27931 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27932 * sysdeps/powerpc/fpu/s_fma.S: New file.
27933 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
27934 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
27935 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
27936
279372010-10-12 Jakub Jelinek <jakub@redhat.com>
27938
27939 [BZ #3268]
27940 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
27941 fma tests.
27942 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
27943 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
27944 * sysdeps/i386/i686/multiarch/s_fma.c: Include
27945 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
27946 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
27947 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
27949
b833d51f
UD
279502010-10-12 Ulrich Drepper <drepper@redhat.com>
27951
27952 [BZ #12078]
27953 * posix/regcomp.c (parse_branch): One more memory leak plugged.
27954 * posix/bug-regex31.input: Add test case.
27955
1751705d
UD
279562010-10-11 Ulrich Drepper <drepper@gmail.com>
27957
e9b9cbf5
UD
27958 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
27959 * posix/bug-regex31.input: New file.
27960
27961 [BZ #12078]
27962 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
27963 (parse_sub_exp): Fix last change, use postorder.
27964
ef06edbe
UD
27965 * posix/bug-regex31.c: New file.
27966 * posix/Makefile: Add rules to build and run bug-regex31.
27967
a129c80d
UD
27968 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
27969
27970 [BZ #12078]
27971 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
27972
b76b818e
UD
27973 [BZ #12108]
27974 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
27975 to have entries in sys_siglist.
27976
1751705d
UD
27977 [BZ #12093]
27978 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
27979 be NULL.
27980
9ff8d36f
JJ
279812010-10-07 Jakub Jelinek <jakub@redhat.com>
27982
27983 [BZ #3268]
27984 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
27985 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
27986 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
27987 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
27988 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27989 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
27990 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
27991 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
27992 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
27993 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
27994 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
27995 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
27996 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27997 * math/ftestexcept.c (fetestexcept): Likewise.
27998 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
27999 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28000 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28001 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28002 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28003 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28004 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28005
af325969
UD
280062010-10-11 Ulrich Drepper <drepper@gmail.com>
28007
c579b202 28008 [BZ #12107]
af325969
UD
28009 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28010 newline.
28011
67a67b95
UD
280122010-10-06 Ulrich Drepper <drepper@gmail.com>
28013
28014 * string/bug-strstr1.c: New file.
28015 * string/Makefile: Add rules to build and run bug-strstr1.
28016
5fb308bc
EB
280172010-10-05 Eric Blake <eblake@redhat.com>
28018
28019 [BZ #12092]
28020 * string/str-two-way.h (two_way_long_needle): Always clear memory
28021 when skipping input due to the shift table.
28022
45db99c7
UD
280232010-10-03 Ulrich Drepper <drepper@gmail.com>
28024
3b111893
UD
28025 [BZ #12005]
28026 * malloc/mcheck.c: Handle large requests.
28027
45db99c7
UD
28028 [BZ #12077]
28029 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28030 for strncmp and strncasecmp.
28031 * string/stratcliff.c: Add tests for strcmp and strncmp.
28032 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28033
cf7a1eb8
NI
280342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28035
28036 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28037 __set_fpscr.
28038
6484ba5e
AJ
280392010-09-30 Andreas Jaeger <aj@suse.de>
28040
28041 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28042 (CGROUP_SUPER_MAGIC): Define.
28043 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28044 Handle btrfs and cgroup file systems.
28045 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28046 Likewise.
28047
91c42559
LM
280482010-09-27 Luis Machado <luisgpm@br.ibm.com>
28049
28050 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28051 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28052
87a97932
AK
280532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28054
28055 [BZ #12067]
28056 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28057 trying to locate the ELF header.
28058
c21cc9bc
AS
280592010-09-27 Andreas Schwab <schwab@redhat.com>
28060
28061 [BZ #11611]
28062 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28063 Mask out sign-bit copies when constructing f_fsid.
28064
315970f6
PB
280652010-09-24 Petr Baudis <pasky@suse.cz>
28066
28067 * debug/stack_chk_fail_local.c: Add missing licence exception.
28068 * debug/warning-nop.c: Likewise.
28069
1ac7a2c7
JM
280702010-09-15 Joseph Myers <joseph@codesourcery.com>
28071
28072 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28073 implementing getdents64 using getdents syscall, set d_type if
28074 __ASSUME_GETDENTS32_D_TYPE.
28075
56801c50
AS
280762010-09-16 Andreas Schwab <schwab@redhat.com>
28077
28078 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28079 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28080
dda51327
UD
280812010-09-21 Ulrich Drepper <drepper@redhat.com>
28082
28083 [BZ #12037]
28084 * posix/unistd.h: Undo change of feature selection for ftruncate from
28085 2010-01-11.
28086
8ffcee4a
UD
280872010-09-20 Ulrich Drepper <drepper@redhat.com>
28088
a545ecd9 28089 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28090 detection.
28091
e24f0a8b
AS
280922010-09-20 Andreas Schwab <schwab@redhat.com>
28093
28094 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28095 fanotify_mark.
28096 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28097
7291c56f
AS
280982010-09-14 Andreas Schwab <schwab@redhat.com>
28099
28100 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28101 variables after CHECK_SP call.
28102 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28103
bc5fb037
AS
281042010-09-13 Andreas Schwab <schwab@redhat.com>
28105 Ulrich Drepper <drepper@redhat.com>
28106
28107 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28108 re-relocationg ld.so.
28109 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28110 _dl_init_paths call.
28111 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28112 here anymore.
28113
e66e7419
UD
281142010-09-14 Ulrich Drepper <drepper@redhat.com>
28115
28116 * resolv/res_init.c (__res_vinit): Count the default server we added.
28117
c044aa75
CLT
281182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28119 Ulrich Drepper <drepper@redhat.com>
28120
28121 [BZ #11968]
28122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28123 (____longjmp_chk): Use %ebx for saving value across system call.
28124 Add unwind info.
28125
32cf4069
AS
281262010-09-06 Andreas Schwab <schwab@redhat.com>
28127
28128 * manual/Makefile: Don't mix pattern rules with normal rules.
28129
817328ee
AS
281302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28131
28132 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28133 operation.
28134 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28135 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28136 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28137 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28139 Likewise.
28140
29fddf61
UD
281412010-09-04 Ulrich Drepper <drepper@redhat.com>
28142
28143 [BZ #11979]
28144 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28145 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28146
0959ffc9
UD
281472010-09-02 Ulrich Drepper <drepper@redhat.com>
28148
28149 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28150 * sysdeps/x86_64/addmul_1.S: Likewise.
28151 * sysdeps/x86_64/lshift.S: Likewise.
28152 * sysdeps/x86_64/mul_1.S: Likewise.
28153 * sysdeps/x86_64/rshift.S: Likewise.
28154 * sysdeps/x86_64/sub_n.S: Likewise.
28155 * sysdeps/x86_64/submul_1.S: Likewise.
28156
ece29840
ST
281572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28158
0959ffc9
UD
28159 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28160 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28161 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28162 * bits/sched.h [__need_schedparam]
ece29840 28163 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28164 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28165 (__defined_schedparam): Define to 1.
ece29840
ST
28166 (__sched_param): New structure, identical to sched_param.
28167 (__need_schedparam): Undefine.
28168
e53a31fe
MF
281692010-08-31 Mike Frysinger <vapier@gentoo.org>
28170
fdc0c10d
MF
28171 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28172 (epoll_create1): Declare.
28173
e53a31fe
MF
28174 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28175
a726d796
AS
281762010-08-31 Andreas Schwab <schwab@redhat.com>
28177
28178 [BZ #7066]
28179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28180 shifting retval into place.
28181
2f3e3dc7
UD
281822010-09-01 Ulrich Drepper <drepper@redhat.com>
28183
f2933da9
UD
28184 * nis/rpcsvc/nis.h: Update copyright notice.
28185 * nis/rpcsvc/nis.x: Likewise.
28186 * nis/rpcsvc/nis_callback.h: Likewise.
28187 * nis/rpcsvc/nis_callback.x: Likewise.
28188 * nis/rpcsvc/nis_object.x: Likewise.
28189 * nis/rpcsvc/nis_tags.h: Likewise.
28190 * nis/rpcsvc/yp.h: Likewise.
28191 * nis/rpcsvc/yp.x: Likewise.
28192 * nis/rpcsvc/ypupd.h: Likewise.
28193 * nis/yp_xdr.c: Likewise.
28194 * nis/ypupdate_xdr.c: Likewise.
28195
2f3e3dc7
UD
28196 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28197 mainly the body of pmap_getport. Add parameters to specify timeouts.
28198 (pmap_getport): Use __libc_rpc_getport.
28199 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28200 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28201 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28202
f3dcc2f9
AS
282032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28204
28205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28206 fanotify_mark.
28207
6d34eb5b
RM
282082010-08-27 Roland McGrath <roland@redhat.com>
28209
28210 * sysdeps/i386/i686/multiarch/Makefile
28211 (CFLAGS-varshift.c): New variable.
28212
9ea3de11
UD
282132010-08-27 Ulrich Drepper <drepper@redhat.com>
28214
c96d23fc
UD
28215 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28216 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28217
9ea3de11
UD
28218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28219
28220 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28221
623aac7f
L
282222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28223
28224 * sysdeps/x86_64/strlen.S: Unroll the loop.
28225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28226 strlen-sse2 strlen-sse2-bsf.
28227 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28228 __strlen_no_bsf if bit_Slow_BSF is set.
28229 (__strlen_sse42): Removed.
28230 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28231 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28232
8b2b7715
RM
282332010-08-25 Roland McGrath <roland@redhat.com>
28234
28235 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28236 * sysdeps/x86_64/multiarch/varshift.c: New file.
28237 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28238 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28239 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28240 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28241
e73015f2
L
282422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28243
28244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28245 strlen-sse2 strlen-sse2-bsf.
28246 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28247 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28248 (__strlen_sse2): Removed.
28249 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28252 bit_Slow_BSF for Atom.
28253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28254 (index_Slow_BSF): Define.
28255 (HAS_SLOW_BSF): Define.
28256
df24a73e
UD
282572010-08-25 Ulrich Drepper <drepper@redhat.com>
28258
28259 [BZ #10851]
28260 * resolv/res_init.c (__res_vinit): When no server address at all
28261 is given default to loopback.
28262
f2ac4868
RM
282632010-08-24 Roland McGrath <roland@redhat.com>
28264
09055553
RM
28265 * configure.in: Remove config-name.h generation.
28266 * configure: Regenerated.
28267 * config-name.in: File removed.
28268 * scripts/config-uname.sh: New file.
28269 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28270 ($(objdir)config-name.h): New target.
28271
f2ac4868
RM
28272 * sunrpc/rpc_parse.h: Avoid nested comment.
28273
73f27d5e
RH
282742010-08-24 Richard Henderson <rth@redhat.com>
28275 Ulrich Drepper <drepper@redhat.com>
28276 H.J. Lu <hongjiu.lu@intel.com>
28277
28278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28280 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28281 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28282 _mm_alignr_epi8 with _mm_loadu_si128.
28283 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28284 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28285 (__m128i_shift_right): Removed.
28286 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28287 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28288 * sysdeps/x86_64/multiarch/varshift.h: New file.
28289 * sysdeps/x86_64/multiarch/varshift.S: New file.
28290
84b9230c
MF
282912010-08-21 Mike Frysinger <vapier@gentoo.org>
28292
28293 * configure.in: Move assembler checks to before sysdep dir checking.
28294
9bbd0ddc
PB
282952010-08-20 Petr Baudis <pasky@suse.cz>
28296
28297 * LICENSES: Sync the sunrpc license.
28298
9da4bb31
UD
282992010-08-19 Ulrich Drepper <drepper@redhat.com>
28300
a7ab6ec8
UD
28301 * sunrpc/auth_des.c: Update copyright notice once again.
28302 * sunrpc/auth_none.c: Likewise.
28303 * sunrpc/auth_unix.c: Likewise.
28304 * sunrpc/authdes_prot.c: Likewise.
28305 * sunrpc/authuxprot.c: Likewise.
28306 * sunrpc/bindrsvprt.c: Likewise.
28307 * sunrpc/clnt_gen.c: Likewise.
28308 * sunrpc/clnt_perr.c: Likewise.
28309 * sunrpc/clnt_raw.c: Likewise.
28310 * sunrpc/clnt_simp.c: Likewise.
28311 * sunrpc/clnt_tcp.c: Likewise.
28312 * sunrpc/clnt_udp.c: Likewise.
28313 * sunrpc/clnt_unix.c: Likewise.
28314 * sunrpc/des_crypt.c: Likewise.
28315 * sunrpc/des_soft.c: Likewise.
28316 * sunrpc/get_myaddr.c: Likewise.
28317 * sunrpc/getrpcport.c: Likewise.
28318 * sunrpc/key_call.c: Likewise.
28319 * sunrpc/key_prot.c: Likewise.
28320 * sunrpc/openchild.c: Likewise.
28321 * sunrpc/pm_getmaps.c: Likewise.
28322 * sunrpc/pm_getport.c: Likewise.
28323 * sunrpc/pmap_clnt.c: Likewise.
28324 * sunrpc/pmap_prot.c: Likewise.
28325 * sunrpc/pmap_prot2.c: Likewise.
28326 * sunrpc/pmap_rmt.c: Likewise.
28327 * sunrpc/rpc/auth.h: Likewise.
28328 * sunrpc/rpc/auth_unix.h: Likewise.
28329 * sunrpc/rpc/clnt.h: Likewise.
28330 * sunrpc/rpc/des_crypt.h: Likewise.
28331 * sunrpc/rpc/key_prot.h: Likewise.
28332 * sunrpc/rpc/netdb.h: Likewise.
28333 * sunrpc/rpc/pmap_clnt.h: Likewise.
28334 * sunrpc/rpc/pmap_prot.h: Likewise.
28335 * sunrpc/rpc/pmap_rmt.h: Likewise.
28336 * sunrpc/rpc/rpc.h: Likewise.
28337 * sunrpc/rpc/rpc_des.h: Likewise.
28338 * sunrpc/rpc/rpc_msg.h: Likewise.
28339 * sunrpc/rpc/svc.h: Likewise.
28340 * sunrpc/rpc/svc_auth.h: Likewise.
28341 * sunrpc/rpc/types.h: Likewise.
28342 * sunrpc/rpc/xdr.h: Likewise.
28343 * sunrpc/rpc_clntout.c: Likewise.
28344 * sunrpc/rpc_cmsg.c: Likewise.
28345 * sunrpc/rpc_common.c: Likewise.
28346 * sunrpc/rpc_cout.c: Likewise.
28347 * sunrpc/rpc_dtable.c: Likewise.
28348 * sunrpc/rpc_hout.c: Likewise.
28349 * sunrpc/rpc_main.c: Likewise.
28350 * sunrpc/rpc_parse.c: Likewise.
28351 * sunrpc/rpc_parse.h: Likewise.
28352 * sunrpc/rpc_prot.c: Likewise.
28353 * sunrpc/rpc_sample.c: Likewise.
28354 * sunrpc/rpc_scan.c: Likewise.
28355 * sunrpc/rpc_scan.h: Likewise.
28356 * sunrpc/rpc_svcout.c: Likewise.
28357 * sunrpc/rpc_tblout.c: Likewise.
28358 * sunrpc/rpc_util.c: Likewise.
28359 * sunrpc/rpc_util.h: Likewise.
28360 * sunrpc/rpcinfo.c: Likewise.
28361 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28362 * sunrpc/rpcsvc/key_prot.x: Likewise.
28363 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28364 * sunrpc/rpcsvc/mount.x: Likewise.
28365 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28366 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28367 * sunrpc/rpcsvc/rex.x: Likewise.
28368 * sunrpc/rpcsvc/rstat.x: Likewise.
28369 * sunrpc/rpcsvc/rusers.x: Likewise.
28370 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28371 * sunrpc/rpcsvc/spray.x: Likewise.
28372 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28373 * sunrpc/rtime.c: Likewise.
28374 * sunrpc/svc.c: Likewise.
28375 * sunrpc/svc_auth.c: Likewise.
28376 * sunrpc/svc_authux.c: Likewise.
28377 * sunrpc/svc_raw.c: Likewise.
28378 * sunrpc/svc_run.c: Likewise.
28379 * sunrpc/svc_simple.c: Likewise.
28380 * sunrpc/svc_tcp.c: Likewise.
28381 * sunrpc/svc_udp.c: Likewise.
28382 * sunrpc/svc_unix.c: Likewise.
28383 * sunrpc/svcauth_des.c: Likewise.
28384 * sunrpc/xcrypt.c: Likewise.
28385 * sunrpc/xdr.c: Likewise.
28386 * sunrpc/xdr_array.c: Likewise.
28387 * sunrpc/xdr_float.c: Likewise.
28388 * sunrpc/xdr_mem.c: Likewise.
28389 * sunrpc/xdr_rec.c: Likewise.
28390 * sunrpc/xdr_ref.c: Likewise.
28391 * sunrpc/xdr_sizeof.c: Likewise.
28392 * sunrpc/xdr_stdio.c: Likewise.
28393
9da4bb31
UD
28394 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28395 handling.
28396
bdaa77bc
AS
283972010-08-19 Andreas Schwab <schwab@redhat.com>
28398
28399 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28400
fe2f79db
LM
284012010-08-19 Luis Machado <luisgpm@br.ibm.com>
28402
28403 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28404 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28405 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28406 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28407 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28408 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28409 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28410 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28411 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28412 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28413 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28414 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28415 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28416 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28417
b9b42ee0
AB
284182010-07-26 Anton Blanchard <anton@samba.org>
28419
28420 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28421 * malloc/arena.c (heap_trim): Likewise.
28422
1c06ba31
UD
284232010-08-16 Ulrich Drepper <drepper@redhat.com>
28424
28425 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28426 here. Not...
28427 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28428 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28429
f8392f40
L
284302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28431
28432 * sysdeps/i386/elf/Makefile: New file.
28433
3162f12e
AS
284342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28435
28436 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28437 from fanotify_init.
28438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28439 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28440
28c90b2c
UD
284412010-08-15 Ulrich Drepper <drepper@redhat.com>
28442
28443 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28444 of strncasecmp_l.
1feccb6c 28445 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28446
ca6bb004
UD
284472010-08-14 Ulrich Drepper <drepper@redhat.com>
28448
e9f82e0d
UD
28449 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28450 strncase_l-nonascii.
28451 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28452 Add strncase_l-ssse3.
28453 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28454 * sysdeps/x86_64/strcmp.S: Likewise.
28455 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28456 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28457 * sysdeps/x86_64/strncase.S: New file.
28458 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28459 * sysdeps/x86_64/strncase_l.S: New file.
28460 * string/Makefile (strop-tests): Add strncasecmp.
28461 * string/test-strncasecmp.c: New file.
28462
28463 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28464 warning.
28465
ca6bb004
UD
28466 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28467 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28468
052fa7b3
AS
284692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28470
28471 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28472
962dba78
UD
284732010-08-12 Ulrich Drepper <drepper@redhat.com>
28474
28475 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28476 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28477 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28478
bebff237
AM
284792010-05-01 Alan Modra <amodra@gmail.com>
28480
28481 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28482 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28483 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28484 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28485 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28486 tidying. Don't tail-call __sigjmp_save for static lib.
28487 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28488 save location.
28489 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28490 (CALL_MCOUNT): Add eh info, and nop after bl.
28491 (TAIL_CALL_SYSCALL_ERROR): New macro.
28492 (PSEUDO_RET): Use it.
28493 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28494 Correct save location of integer regs and cr.
28495 (_dl_profile_resolve): Correct cr save location. Delete nops
28496 after bl when SHARED. Reduce cfi size a little by better
28497 placement of cfi directives.
28498 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28499 make a stack frame. Instead use parm save area as a temp.
28500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28501 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28503 Don't make a stack frame for parent, use parm save area.
28504 Increase child stack frame to 112 bytes. Don't save unused reg,
28505 and adjust reg usage. Set up cfi on error recovery and
28506 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28508 (__makecontext): Add dummy nop after jump to exit.
28509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28510 Use correct parm save area and cr save, reduce stack frame.
28511 Correct cfi for possible PSEUDO_RET frame setup.
28512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28513 Branch to local label emitted by PSEUDO_RET rather than
28514 __syscall_error.
28515
02637374
AS
285162010-08-12 Andreas Schwab <schwab@redhat.com>
28517
28518 [BZ #11904]
28519 * locale/programs/locale.c (print_assignment): New function.
28520 (show_locale_vars): Use it.
28521
c3e2f19b
UD
285222010-08-11 Ulrich Drepper <drepper@redhat.com>
28523
3cdaa6ad
UD
28524 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28525 field.
28526 (struct statfs64): Likewise.
28527 (_STATFS_F_FLAGS): Define.
28528 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28529 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28530 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28531 (ST_VALID): Define locally.
28532 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28533 __statvfs_getflags, use the provided value.
28534 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28535 __ASSUME_STATFS_F_FLAGS.
28536
754f7da3
UD
28537 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28538
10b3bedc
UD
28539 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28540 Add sys/fanotify.h.
28541 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28542 fanotify_mask for GLIBC_2.13.
28543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28544 fanotify_init and fanotify_mark.
28545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28546 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28547
c08fb0d7
UD
28548 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28549 Add prlimit.
28550 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28551 prlimit64 for GLIBC_2.13.
28552 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28553 prlimit64.
28554 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28555 syscall.
28556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28557 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28558 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28559 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28560 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28561 add prlimit alias.
28562 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28563
15bac72b
UD
28564 [BZ #11903]
28565 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28566 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28567
c3e2f19b
UD
28568 * nss/Makefile: Add rules to build and run tst-nss-test1.
28569 * shlib-versions: Add entry for libnss_test1.
28570 * nss/nss_test1.c: New file.
28571 * nss/tst-nss-test1.c: New file.
28572
28573 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28574 (__nss_configure_lookup): Set appropriate entry in
28575 __nss_configure_lookup to true.
28576 * nss/nsswitch.h: Define enum with indeces of databases in
28577 databases and __nss_database_custom arrays. Declare
28578 __nss_database_custom.
28579 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28580 to avoid using nscd when custom rules are installed.
28581 * nss/getXXbyYY_r.c: Likewise.
28582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28583
28584 * nss/nss_files/files-parse.c: Whitespace fixes.
28585
f15ce4d8
UD
285862010-08-09 Ulrich Drepper <drepper@redhat.com>
28587
28588 [BZ #11883]
28589 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28590 * posix/fnmatch_loop.c: Likewise.
28591
d22e4cc9
AK
285922010-07-17 Andi Kleen <ak@linux.intel.com>
28593
28594 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28595 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28596 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28597 * Versions.def [GLIBC_2.13]: Add.
28598
805bc17d
UD
285992010-08-06 Ulrich Drepper <drepper@redhat.com>
28600
28601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28602 Also fail if tpwd after pwuid call is NULL.
28603
5a42321d
ST
286042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28605
28606 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28607 when converting to ms.
28608
fd3ebeda
ST
286092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28610
28611 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28612 EOPNOTSUPP errors with ENOTTY.
28613 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28614 EOPNOTSUPP errors with ENOTTY.
28615
73507d3a
UD
286162010-07-31 Ulrich Drepper <drepper@redhat.com>
28617
28618 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28619 Add strcasecmp_l-ssse3.
28620 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28621 strcasecmp.
28622 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28623 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28624 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28625
fe36dd02
UD
286262010-07-30 Ulrich Drepper <drepper@redhat.com>
28627
66f6765a
UD
28628 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28629
42e08a54
UD
28630 * string/Makefile (strop-tests): Add strcasecmp.
28631 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28632 strcasecmp_l-nonascii.
28633 (gen-as-const-headers): Add locale-defines.sym.
28634 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28635 * sysdeps/x86_64/strcasecmp.S: New file.
28636 * sysdeps/x86_64/strcasecmp_l.S: New file.
28637 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28638 * sysdeps/x86_64/locale-defines.sym: New file.
28639 * string/test-strcasecmp.c: New file.
28640
fe36dd02
UD
28641 * string/test-strcasestr.c: Test both ends of the range of characters.
28642 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28643
48cbc0d6
RM
286442010-07-29 Roland McGrath <roland@redhat.com>
28645
76e6d6bc 28646 [BZ #11856]
48cbc0d6
RM
28647 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28648
880113d9
UD
286492010-07-27 Ulrich Drepper <drepper@redhat.com>
28650
28651 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28652 for ld.so.
28653
deb9cabb
AS
286542010-07-27 Andreas Schwab <schwab@redhat.com>
28655
28656 * manual/memory.texi (Malloc Tunable Parameters): Document
28657 M_PERTURB.
28658
1c7570ff
RM
286592010-07-26 Roland McGrath <roland@redhat.com>
28660
28661 [BZ #11840]
28662 * configure.in (-fgnu89-inline check): Set and substitute
28663 gnu89_inline, not libc_cv_gnu89_inline.
28664 * configure: Regenerated.
28665 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28666
24fb0f88
UD
286672010-07-26 Ulrich Drepper <drepper@redhat.com>
28668
28669 * string/test-strnlen.c: New file.
28670 * string/Makefile (strop-tests): Add strnlen.
28671 * string/tester.c (test_strnlen): Add a few more test cases.
28672 * string/tst-strlen.c: Better error reporting.
28673
28674 * sysdeps/x86_64/strnlen.S: New file.
28675
8e96b93a
UD
286762010-07-24 Ulrich Drepper <drepper@redhat.com>
28677
28678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28679 lower-latency instructions.
28680
dbc676d4
UD
286812010-07-23 Ulrich Drepper <drepper@redhat.com>
28682
28683 * string/test-strcasestr.c: New file.
28684 * string/test-strstr.c: New file.
28685 * string/Makefile (strop-tests): Add strstr and strcasestr.
28686 * string/str-two-way.h: Don't undefine MAX.
28687 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28688
f6a31e0e
AS
286892010-07-21 Andreas Schwab <schwab@redhat.com>
28690
28691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28692 strcasestr-nonascii.
28693 (CFLAGS-strcasestr-nonascii.c): Define.
28694 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28695 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28696 Remove unused attribute.
28697
5dbc3b6c
RM
286982010-07-20 Roland McGrath <roland@redhat.com>
28699
28700 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28701 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28702 ld.so.cache was broken. With it, there is no way to disable dsocaps
28703 like LD_HWCAP_MASK can disable hwcaps.
28704
23d101d8
EPM
287052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28706
28707 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28708
cc9f2e47
UD
287092010-07-16 Ulrich Drepper <drepper@redhat.com>
28710
28711 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28712 call in strcasestr.
28713 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28714 __strcasestr_sse42_nonascii.
28715 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28716 strcasestr-nonascii.c.
28717 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28718
77c1b069
LM
287192010-06-15 Luis Machado <luisgpm@br.ibm.com>
28720
28721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28722 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28723 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28724 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28725
440566c3
UD
287262010-07-09 Ulrich Drepper <drepper@redhat.com>
28727
28728 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28729 fcntl.
28730
5be9d05d
AS
287312010-07-06 Andreas Schwab <schwab@redhat.com>
28732
c30b7ee2 28733 [BZ #11577]
5be9d05d
AS
28734 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28735 dl_signal_cerror.
28736
8a492a67
UD
287372010-07-06 Ulrich Drepper <drepper@redhat.com>
28738
28739 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28740 _PC_PIPE_BUF using F_GETPIPE_SZ.
28741
713df3d5
RM
287422010-07-05 Roland McGrath <roland@redhat.com>
28743
28744 * manual/arith.texi (Rounding Functions): Fix rint description
28745 implicit in round description.
28746
702e8f14
UD
287472010-07-02 Ulrich Drepper <drepper@redhat.com>
28748
28749 * elf/Makefile: Fix linking for a few tests to make recent linker
28750 happy.
28751
52ed8be9
AS
287522010-06-30 Andreas Schwab <schwab@redhat.com>
28753
28754 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28755 $(common-objpfx)libc_nonshared.a.
28756
f47c9a11
LM
287572010-06-21 Luis Machado <luisgpm@br.ibm.com>
28758
28759 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28760 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28761 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28762 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28763 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28764 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28765 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28766 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28781 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28782 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28783 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28784 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28785 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28786 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28787 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28788 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28789 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28790 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28791 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28792 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28807
6fb8cbcb
L
288082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28809
28810 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28811 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28812 * string/memmove.c (memmove): Renamed to ...
28813 (MEMMOVE): ...this. Default to memmove.
28814 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28815 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28816 (END_CHK): Define.
28817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28818 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28819 mempcpy-ssse3-back memmove-ssse3-back.
28820 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28821 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28823 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28824 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28825 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28826 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28827 * sysdeps/x86_64/multiarch/memmove.c: New file.
28828 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28829 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28830 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28831 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28832 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28834 Define.
28835 (index_Fast_Copy_Backward): Define.
28836 (HAS_ARCH_FEATURE): Define.
28837 (HAS_FAST_REP_STRING): Define.
28838 (HAS_FAST_COPY_BACKWARD): Define.
28839
4e733bac 288402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28841
28842 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28843 Restore proper fallback handling.
28844
63c4ed22
UD
288452010-06-19 Ulrich Drepper <drepper@redhat.com>
28846
ac2b484c
UD
28847 [BZ #11701]
28848 * posix/group_member.c (__group_member): Correct checking loop.
28849
63c4ed22
UD
28850 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28851 OOM in getpwuid_r correctly. Return error number when the caller
28852 should return, otherwise -1.
28853 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28854 call returning > 0 value.
28855 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28856
765ade4b
AS
288572010-06-07 Andreas Schwab <schwab@redhat.com>
28858
28859 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28860 libc_nonshared.a from targets in modules-names.
28861
80da2e09
KS
288622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28863
28864 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28865 requires it.
28866
158db122
LM
288672010-06-10 Luis Machado <luisgpm@br.ibm.com>
28868
28869 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28870 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28872 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28873
caa78cf8
AS
288742010-06-02 Andreas Schwab <schwab@redhat.com>
28875
28876 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28877
b2ef2c01
UD
288782010-06-14 Ulrich Drepper <drepper@redhat.com>
28879
28880 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28881 and F_GETPIPE_SZ.
28882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28883 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28886 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28888
fbd643b6
RM
288892010-06-14 Roland McGrath <roland@redhat.com>
28890
28891 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28892
f32f2869
JJ
288932010-06-07 Jakub Jelinek <jakub@redhat.com>
28894
28895 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28896 __REDIRECT followed by __THROW.
28897 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28898 * posix/getopt.h (getopt): Likewise.
28899
2a50c078
EPM
289002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28901
28902 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28903 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28904 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28905 in AT_FLAGS.
28906 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28907 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28908
eb5ad2eb
LM
289092010-05-28 Luis Machado <luisgpm@br.ibm.com>
28910
28911 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28912
3c88fe1e
L
289132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28914
28915 [BZ #11640]
28916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28917 Properly check family and model.
28918
d2f73151
TY
289192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28920
28921 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28922
ebd2e13d
LM
289232010-05-24 Luis Machado <luisgpm@br.ibm.com>
28924
28925 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28926
b32b8b45
UD
289272010-05-21 Ulrich Drepper <drepper@redhat.com>
28928
28929 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28930 symbol reference.
28931
9acbe24d
AS
289322010-05-19 Andreas Schwab <schwab@redhat.com>
28933
28934 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
28935 symbol reference.
28936
f0ccf6ea
AS
289372010-05-21 Andreas Schwab <schwab@redhat.com>
28938
3d04ff3a
AS
28939 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
28940 and internal_recvmmsg.
28941 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
28942 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
28943 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
28944 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
28945
f0ccf6ea
AS
28946 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
28947 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
28948 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
28949
5b08ac57
AS
289502010-05-20 Andreas Schwab <schwab@redhat.com>
28951
28952 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
28953
4828935d
LM
289542010-05-17 Luis Machado <luisgpm@br.ibm.com>
28955
28956 POWER7 optimizations.
28957 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
28958 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
28959
373d545e
UD
289602010-05-19 Ulrich Drepper <drepper@redhat.com>
28961
28962 * version.h: Update for 2.13 development version.
28963
21a2b1ae
AS
289642010-05-12 Andrew Stubbs <ams@codesourcery.com>
28965
28966 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
28967 exceptions. Return 0.
28968
3f7dcb2b
RM
289692010-05-07 Roland McGrath <roland@redhat.com>
28970
28971 * elf/ldconfig.c (main): Add a const.
28972
5f24d53a 289732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 28974
a160f8d8
UD
28975 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
28976 (args_options): Add no-idn option.
28977 (ahosts_keys_int): Add idn_flags to ai_flags.
28978 (parse_option): Handle 'i' option to clear idn_flags.
28979
5f24d53a
UD
28980 * malloc/malloc.c (_int_free): Possible race in the most recently
28981 added check. Only act on the data if no current modification
28982 happened.
265bb1ce
UD
28983
28984See ChangeLog.17 for earlier changes.
This page took 3.766284 seconds and 5 git commands to generate.