]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
hppa: Update libm-test-ulps
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d369f531
JM
12013-05-15 Joseph Myers <joseph@codesourcery.com>
2
7abeee12
JM
3 * math/libm-test.inc (struct test_f_i_data): Add comment.
4 (RUN_TEST_LOOP_f_b): New macro.
5 (RUN_TEST_LOOP_f_b_tg): Likewise.
6 (finite_test_data): New variable.
7 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8 (isfinite_test_data): New variable.
9 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
10 (isinf_test_data): New variable.
11 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12 (isnan_test_data): New variable.
13 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14 (isnormal_test_data): New variable.
15 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16 (issignaling_test_data): New variable.
17 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18 (signbit_test_data): New variable.
19 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20
cbe8c4d3
JM
21 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
22 with INVALID_EXCEPTION.
23 (acosh_test_data): Likewise.
24 (asin_test_data): Likewise.
25 (atanh_test_data): Likewise.
26 (fmod_test_data): Likewise.
27 (log_test_data): Likewise.
28 (log10_test_data): Likewise.
29 (log2_test_data): Likewise.
30 (pow_test_data): Likewise.
31 (sqrt_test_data): Likewise.
32 (y0_test_data): Likewise.
33 (y1_test_data): Likewise.
34 (yn_test_data): Likewise.
35
5575c0e5
JM
36 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37 function contents.
38
d369f531
JM
39 * math/libm-test.inc (struct test_ff_i_data): New type.
40 (RUN_TEST_LOOP_ff_i_tg): New macro.
41 (isgreater_test_data): New variable.
42 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
43 (isgreaterequal_test_data): New variable.
44 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
45 (isless_test_data): New variable.
46 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
47 (islessequal_test_data): New variable.
48 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49 (islessgreater_test_data): New variable.
50 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
51 (isunordered_test_data): New variable.
52 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53
781fd748
DM
542013-05-14 David S. Miller <davem@davemloft.net>
55
56 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57
87aa21df
JM
582013-05-14 Joseph Myers <joseph@codesourcery.com>
59
5e908270
JM
60 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61
f71172e5
JM
62 * math/libm-test.inc (struct test_fF_f1_data): Change type of
63 extra_test to int.
64 (struct test_f_i_data): Change type of max_ulp to int.
65
8cfa635a
JM
66 * math/libm-test.inc (test_ffI_f1_data): New type.
67 (RUN_TEST_LOOP_ffI_f1): New macro.
68 (remquo_test_data): New variable.
69 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
70
2bcb36b2
JM
71 * setjmp/tst-setjmp-fp.c: New file.
72 * setjmp/Makefile (tests): Add tst-setjmp-fp.
73 (link-libm): New variable.
74 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
75
acbd839a
JM
76 * math/libm-test.inc (struct test_f_i_data): New type.
77 (RUN_TEST_LOOP_f_i): New macro.
78 (RUN_TEST_LOOP_f_i_tg): Likewise.
79 (fpclassify_test_data): New variable.
80 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
81 (ilogb_test_data): New variable.
82 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
83
e414d745
JM
84 * math/libm-test.inc (scalbln_test): Correct function name in END
85 call.
86
d9c2a0fd
JM
87 * math/libm-test.inc (struct test_f_f1_data): Add comment.
88 (RUN_TEST_LOOP_fI_f1): New macro.
89 (frexp_test_data): New variable.
90 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
91
9dc9095d
JM
92 * math/libm-test.inc (struct test_fF_f1_data): New type.
93 (RUN_TEST_LOOP_fF_f1): New macro.
94 (modf_test_data): New variable.
95 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
96
87aa21df
JM
97 * math/libm-test.inc (struct test_f_f1_data): New type.
98 (RUN_TEST_LOOP_f_f1): New macro.
99 (gamma_test_data): New variable.
100 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
101 (lgamma_test_data): New variable.
102 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
103
141af660
CD
1042013-05-13 Carlos O'Donell <carlos@redhat.com>
105
106 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
107 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
108 (main): Comment "tls" pseudo-hwcap.
109
6d33265c
JM
1102013-05-13 Joseph Myers <joseph@codesourcery.com>
111
68fc074c
JM
112 * math/libm-test.inc (struct test_fl_f_data): New type.
113 (RUN_TEST_LOOP_fl_f): New variable.
114 (scalbln_test_data): New variable.
115 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
116
243216e1
JM
117 * math/libm-test.inc (struct test_fi_f_data): New type.
118 (RUN_TEST_LOOP_fi_f): New macro.
119 (ldexp_test_data): New variable.
120 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
121 (scalbn_test_data): New variable.
122 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
123
6a1992e2
JM
124 * math/libm-test.inc (struct test_c_f_data): New type.
125 (RUN_TEST_LOOP_c_f): New macro.
126 (cabs_test_data): New variable.
127 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
128 (carg_test_data): New variable.
129 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
130 (cimag_test_data): New variable.
131 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
132 (creal_test_data): New variable.
133 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
134
0e400df5
JM
135 * math/libm-test.inc (struct test_if_f_data): New type.
136 (RUN_TEST_LOOP_if_f): New macro.
137 (jn_test_data): New variable.
138 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
139 (yn_test_data): New variable.
140 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
141
6d33265c
JM
142 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
143
f98ece5f
AZ
1442013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145
146 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
147 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
148
0f7d347b
SP
1492013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
150
43fe811b
SP
151 * benchtests/Makefile (CPPFLAGS-nonlib): Add
152 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
153 (bench-deps): Add bench-timing.h.
154 * benchtests-bench-skeleton.c: Include bench-timing.h.
155 (main): Use TIMING_* macros instead of clock_gettime.
156 * benchtests/bench-timing.h: New file.
157
0f7d347b
SP
158 [BZ #14582]
159 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
160 Renamed from _LIB_VERSION.
161 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
162
601a3a5f
JM
1632013-05-12 Joseph Myers <joseph@codesourcery.com>
164
4f184d30
JM
165 * math/libm-test.inc (struct test_fff_f_data): New type.
166 (RUN_TEST_LOOP_fff_f): New macro.
167 (fma_test_data): New variable.
168 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
169 (fma_towardzero_test_data): New variable.
170 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
171 (fma_downward_test_data): New variable.
172 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
173 (fma_upward_test_data): New variable.
174 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
175
08198877
JM
176 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
177 (struct test_c_c_data): New type.
178 (RUN_TEST_LOOP_c_c): New macro.
179 (cacos_test_data): New variable.
180 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
181 (cacosh_test_data): New variable.
182 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
183 (casin_test_data): New variable.
184 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
185 (casinh_test_data): New variable.
186 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
187 (catan_test_data): New variable.
188 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
189 (catanh_test_data): New variable.
190 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
191 (ccos_test_data): New variable.
192 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
193 (ccosh_test_data): New variable.
194 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
195 (cexp_test_data): New variable.
196 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
197 (clog_test_data): New variable.
198 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
199 (clog10_test_data): New variable.
200 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
201 (conj_test_data): New variable.
202 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
203 (cproj_test_data): New variable.
204 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
205 (csin_test_data): New variable.
206 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
207 (csinh_test_data): New variable.
208 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
209 (csqrt_test_data): New variable.
210 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
211 (ctan_test_data): New variable.
212 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
213 (ctan_tonearest_test_data): New variable.
214 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
215 (ctan_towardzero_test_data): New variable.
216 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
217 (ctan_downward_test_data): New variable.
218 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
219 (ctan_upward_test_data): New variable.
220 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
221 (ctanh_test_data): New variable.
222 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
223 (ctanh_tonearest_test_data): New variable.
224 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
225 (ctanh_towardzero_test_data): New variable.
226 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
227 (ctanh_downward_test_data): New variable.
228 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
229 (ctanh_upward_test_data): New variable.
230 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
231 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
232 of BUILD_COMPLEX.
233
601a3a5f
JM
234 * math/libm-test.inc (struct test_ff_f_data): New type.
235 (struct test_ff_f_data_nexttoward): Likewise.
236 (RUN_TEST_LOOP_2_f): New macro.
237 (RUN_TEST_LOOP_ff_f): Likewise.
238 (atan2_test_data): New variable.
239 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
240 (copysign_test_data): New variable.
241 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
242 (fdim_test_data): New variable.
243 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
244 (fmax_test_data): New variable.
245 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
246 (fmin_test_data): New variable.
247 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
248 (fmod_test_data): New variable.
249 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
250 (hypot_test_data): New variable.
251 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
252 (nextafter_test_data): New variable.
253 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
254 (nexttoward_test_data): New variable.
255 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
256 (pow_test_data): New variable.
257 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
258 (pow_tonearest_test_data): New variable.
259 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
260 (pow_towardzero_test_data): New variable.
261 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
262 (pow_downward_test_data): New variable.
263 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
264 (pow_upward_test_data): New variable.
265 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
266 (remainder_test_data): New variable.
267 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
268 (scalb_test_data): New variable.
269 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
270 * sysdeps/i386/fpu/libm-test-ulps: Update.
271
74c57478
JM
2722013-05-11 Joseph Myers <joseph@codesourcery.com>
273
8329e4da
JM
274 * math/libm-test.inc (fma_test): Use max_value instead of local
275 variable fltmax.
276 (nextafter_test): Likewise.
277
74c57478
JM
278 * math/libm-test.inc (acos_towardzero_test_data): New variable.
279 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
280 (acos_downward_test_data): New variable.
281 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
282 (acos_upward_test_data): New variable.
283 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
284 (acosh_test_data): New variable.
285 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
286 (asin_test_data): New variable.
287 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
288 (asin_tonearest_test_data): New variable.
289 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
290 (asin_towardzero_test_data): New variable.
291 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
292 (asin_downward_test_data): New variable.
293 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
294 (asin_upward_test_data): New variable.
295 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
296 (asinh_test_data): New variable.
297 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
298 (atan_test_data): New variable.
299 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
300 (atanh_test_data): New variable.
301 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
302 (cbrt_test_data): New variable.
303 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
304 (ceil_test_data): New variable.
305 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
306 (cos_test_data): New variable.
307 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
308 (cos_tonearest_test_data): New variable.
309 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
310 (cos_towardzero_test_data): New variable.
311 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
312 (cos_downward_test_data): New variable.
313 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
314 (cos_upward_test_data): New variable.
315 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
316 (cosh_test_data): New variable.
317 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
318 (cosh_tonearest_test_data): New variable.
319 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
320 (cosh_towardzero_test_data): New variable.
321 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
322 (cosh_downward_test_data): New variable.
323 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
324 (cosh_upward_test_data): New variable.
325 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
326 (erf_test_data): New variable.
327 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
328 (erfc_test_data): New variable.
329 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
330 (exp_test_data): New variable.
331 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
332 (exp_tonearest_test_data): New variable.
333 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
334 (exp_towardzero_test_data): New variable.
335 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
336 (exp_downward_test_data): New variable.
337 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
338 (exp_upward_test_data): New variable.
339 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
340 (exp10_test_data): New variable.
341 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
342 (exp2_test_data): New variable.
343 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
344 (expm1_test_data): New variable.
345 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
346 (fabs_test_data): New variable.
347 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
348 (floor_test_data): New variable.
349 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
350 (j0_test_data): New variable.
351 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
352 (j1_test_data): New variable.
353 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
354 (log_test_data): New variable.
355 (log_test): Run tests with RUN_TEST_LOOP_f_f.
356 (log10_test_data): New variable.
357 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
358 (log1p_test_data): New variable.
359 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
360 (log2_test_data): New variable.
361 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
362 (logb_test_data): New variable.
363 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
364 (logb_downward_test_data): New variable.
365 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
366 (nearbyint_test_data): New variable.
367 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
368 (rint_test_data): New variable.
369 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
370 (rint_tonearest_test_data): New variable.
371 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
372 (rint_towardzero_test_data): New variable.
373 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
374 (rint_downward_test_data): New variable.
375 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
376 (rint_upward_test_data): New variable.
377 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
378 (round_test_data): New variable.
379 (round_test): Run tests with RUN_TEST_LOOP_f_f.
380 (sin_test_data): New variable.
381 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
382 (sin_tonearest_test_data): New variable.
383 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
384 (sin_towardzero_test_data): New variable.
385 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
386 (sin_downward_test_data): New variable.
387 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
388 (sin_upward_test_data): New variable.
389 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
390 (sinh_test_data): New variable.
391 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
392 (sinh_tonearest_test_data): New variable.
393 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
394 (sinh_towardzero_test_data): New variable.
395 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
396 (sinh_downward_test_data): New variable.
397 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
398 (sinh_upward_test_data): New variable.
399 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
400 (sqrt_test_data): New variable.
401 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
402 (tan_test_data): New variable.
403 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
404 (tan_tonearest_test_data): New variable.
405 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
406 (tan_towardzero_test_data): New variable.
407 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
408 (tan_downward_test_data): New variable.
409 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
410 (tan_upward_test_data): New variable.
411 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
412 (tanh_test_data): New variable.
413 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
414 (tgamma_test_data): New variable.
415 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
416 (trunc_test_data): New variable.
417 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
418 (y0_test_data): New variable.
419 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
420 (y1_test_data): New variable.
421 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
422 (significand_test_data): New variable.
423 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
424
7187d844
CG
4252013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
426
427 [BZ #12387]
428 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
429
f63fae73
PT
4302013-05-10 Pino Toscano <toscano.pino@tiscali.it>
431
432 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
433
8a67a4b3
AJ
4342013-05-10 Andreas Jaeger <aj@suse.de>
435
436 [BZ #15448]
437 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
438 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
439
51df539d
JM
4402013-05-10 Joseph Myers <joseph@codesourcery.com>
441
442 * math/gen-libm-test.pl (adjust_arg): New function.
443 (special_functions): Handle generating output in both functions
444 and arrays.
445 (parse_args): Likewise.
446 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
447 $in_func argument to parse_args.
448 * math/libm-test.inc (struct test_f_f_data): New type.
449 (IF_ROUND_INIT_): New macro.
450 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
451 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
452 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
453 (IF_ROUND_INIT_FE_UPWARD): Likewise.
454 (ROUND_RESTORE_): Likewise.
455 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
456 (ROUND_RESTORE_FE_TONEAREST): Likewise.
457 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
458 (ROUND_RESTORE_FE_UPWARD): Likewise.
459 (RUN_TEST_LOOP_f_f): New macro.
460 (acos_test_data): New variable.
461 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
462 (acos_tonearest_test_data): New variable.
463 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
464
5c637fe5
SP
4652013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
466
467 * benchtests/bench-skeleton.c (startup): Fix coding style.
468
ab2b9461
JM
4692013-05-10 Joseph Myers <joseph@codesourcery.com>
470
471 [BZ #6809]
472 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
473 negative infinity argument.
474 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
475 negative infinity argument.
476 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
477 negative infinity argument.
478 * math/libm-test.inc (tgamma_test): Expect errno to be set for
479 domain errors.
480
4c0fe6fe
FW
4812013-05-10 Florian Weimer <fweimer@redhat.com>
482
483 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
484 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
485 * iconv/iconv_prog.c (main): Likewise.
486 * locale/programs/charmap-dir.c (charmap_readdir)
487 (fopen_uncompressed): Likewise.
488 * locale/programs/locfile.c (siblings_uncached)
489 (write_locale_data): Use lstat64 instead of lstat.
490 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
491 stat.
492
a3375d29
AJ
4932013-05-10 Andreas Jaeger <aj@suse.de>
494
495 [BZ #15395]
496 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
497 localization.
498 Include <locale.h>.
499
36129722
CD
5002013-05-09 Carlos O'Donell <carlos@redhat.com>
501
502 * elf/dl-close.c (_dl_close_worker): Add comments.
503
faa7f811
JM
5042013-05-09 Joseph Myers <joseph@codesourcery.com>
505
ed41ffef
JM
506 [BZ #15359]
507 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
508 high part of pi/2.
509 (__ieee754_rem_pio2l): Update comments.
510
d0213cd0
JM
511 [BZ #15429]
512 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
513 high part of pi/2.
514 (__ieee754_rem_pio2l): Update comments.
515
0d3e777a
JM
516 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
517 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
518
24f56066
JM
519 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
520 M_PI_4l.
521
faa7f811
JM
522 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
523 (M_PI_34_LOG10El): Likewise.
524 (M_PI2_LOG10El): Likewise.
525 (M_PI4_LOG10El): Likewise.
526 (M_PI_LOG10El): Likewise.
527
e9a5e0fd
AZ
5282013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
529
530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
531
d8cd06db
JM
5322013-05-08 Joseph Myers <joseph@codesourcery.com>
533
a0d9f9d7
JM
534 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
535 (MINUS_ZERO_INIT): Likewise.
536 (PLUS_INFTY_INIT): Likewise.
537 (MINUS_INFTY_INIT): Likewise.
538 (QNAN_VALUE_INIT): Likewise.
539 (MAX_VALUE_INIT): Likewise.
540 (MIN_VALUE_INIT): Likewise.
541 (MIN_SUBNORM_VALUE_INIT): Likewise.
542 (plus_zero): Initialize with PLUS_ZERO_INIT.
543 (minus_zero): Initialize with MINUS_ZERO_INIT.
544 (plus_infty): Initialize with PLUS_INFTY_INIT.
545 (minus_infty): Initialize with MINUS_INFTY_INIT.
546 (qnan_value): Initialize with QNAN_VALUE_INIT.
547 (max_value): Initialize with MAX_VALUE_INIT.
548 (min_value): Initialize with MIN_VALUE_INIT.
549 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
550
ae08db3b
JM
551 * math/libm-test.inc (RUN_TEST_if_f): New macro.
552 (jn_test): Use TEST_if_f instead of TEST_ff_f.
553 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
554 (yn_test): Use TEST_if_f instead of TEST_ff_f.
555
f44bf14a
JM
556 * math/libm-test.inc (RUN_TEST_f_f): New macro.
557 (RUN_TEST_2_f): Likewise.
558 (RUN_TEST_ff_f): Likewise.
559 (RUN_TEST_fi_f): Likewise.
560 (RUN_TEST_fl_f): Likewise.
561 (RUN_TEST_fff_f): Likewise.
562 (RUN_TEST_c_f): Likewise.
563 (RUN_TEST_f_f1): Likewise.
564 (RUN_TEST_fF_f1): Likewise.
565 (RUN_TEST_fI_f1): Likewise.
566 (RUN_TEST_ffI_f1): Likewise.
567 (RUN_TEST_c_c): Likewise.
568 (RUN_TEST_cc_c): Likewise.
569 (RUN_TEST_f_i): Likewise.
570 (RUN_TEST_f_i_tg): Likewise.
571 (RUN_TEST_ff_i_tg): Likewise.
572 (RUN_TEST_f_b): Likewise.
573 (RUN_TEST_f_b_tg): Likewise.
574 (RUN_TEST_f_l): Likewise.
575 (RUN_TEST_f_L): Likewise.
576 (RUN_TEST_sincos): Likewise.
577 * math/gen-libm-test.pl (new_test): Take new argument to indicate
578 whether to show exceptions. Do not include ");\n" in return
579 value.
580 (special_functions): Output call to RUN_TEST_sincos instead of
581 check_float calls. Update calls to new_test.
582 (parse_args): Output call to single RUN_TEST_* macro instead of
583 check_* calls and other assignments. Update calls to new_test.
584
d8cd06db
JM
585 [BZ #2546]
586 [BZ #2560]
587 [BZ #5159]
588 [BZ #15426]
589 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
590 input to result for tgamma overflow.
591 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
592 (gamma_coeff): New variable.
593 (NCOEFF): New macro.
594 (gamma_positive): New function.
595 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
596 underflow here. Use gamma_positive instead of exp (lgamma) for
597 other arguments.
598 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
599 (gamma_coeff): New variable.
600 (NCOEFF): New macro.
601 (gammaf_positive): New function.
602 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
603 underflow here. Use gamma_positive instead of exp (lgamma) for
604 other arguments.
605 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
606 (gamma_coeff): New variable.
607 (NCOEFF): New macro.
608 (gammal_positive): New function.
609 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
610 underflow here. Use gamma_positive instead of exp (lgamma) for
611 other arguments.
612 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
613 (gamma_coeff): New variable.
614 (NCOEFF): New macro.
615 (gammal_positive): New function.
616 (__ieee754_gammal_r): Handle positive infinity, overflow and
617 underflow here. Handle NaN the same as positive infinity. Remove
618 check x < 0xffffffff for negative integers. Use gamma_positive
619 instead of exp (lgamma) for other arguments.
620 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
621 (gamma_coeff): New variable.
622 (NCOEFF): New macro.
623 (gammal_positive): New function.
624 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
625 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
626 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
627 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
628 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
629 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
630 * sysdeps/generic/math_private.h (__gamma_productf): New
631 prototype.
632 (__gamma_product): Likewise.
633 (__gamma_productl): Likewise.
634 * math/Makefile (libm-calls): Add gamma_product.
635 * math/libm-test.inc (tgamma_test): Add more tests.
636 * sysdeps/i386/fpu/libm-test-ulps: Update.
637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
638
bb7cf681
OB
6392013-05-08 Ondřej Bílka <neleai@seznam.cz>
640
641 * benchtests/bench-skeleton.c (main): Preheat CPU.
642
ba853947
AJ
6432013-05-07 Aurelien Jarno <aurelien@aurel32.net>
644
645 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
646
8347c74c
RM
6472013-05-07 Roland McGrath <roland@hack.frob.com>
648
649 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
650 and _dl_skip_args_internal.
651
e8dd4791
CD
6522013-05-07 Carlos O'Donell <carlos@redhat.com>
653
654 * manual/message.texi (Message Translation): Talk about users.
655 Message to key mapping impacts design.
656
c7405830
RM
6572013-05-06 Roland McGrath <roland@hack.frob.com>
658
a9173057
RM
659 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
660
976e2f03
RM
661 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
662
9723ffc5
RM
663 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
664 * sysdeps/wordsize-64/glob64.c: ... here.
665
962e6658
RM
666 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
667 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
668 New macros.
669
ee586a6d
RM
670 * debug/getlogin_r_chk.c: Moved to ...
671 * login/getlogin_r_chk.c: ... here.
672 * debug/Makefile (routines): Move getlogin_r_chk to ...
673 * login/Makefile (routines): ... here.
674 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
675 * login/Versions (libc: GLIBC_2.4): ... here.
676
355f9165
RM
677 * io/poll.c (__poll): Renamed from poll.
678 Add libc_hidden_def.
679 (poll): Define as weak alias.
680
bd9ffde6
RM
681 * debug/ptsname_r_chk.c: Moved to ...
682 * login/ptsname_r_chk.c: ... here.
683 * debug/Makefile (routines): Move ptsname_r_chk to ...
684 * login/Makefile (routines): ... here.
685 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
686 * login/Versions (libc: GLIBC_2.4): ... here.
687
8fb16a04
RM
688 * posix/getlogin.c: Moved to ...
689 * login/getlogin.c: ... here.
690 * posix/getlogin_r.c: Moved to ...
691 * login/getlogin_r.c: ... here.
692 * posix/getlogin_r.c: Moved to ...
693 * login/getlogin_r.c: ... here.
694 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
695 * login/Makefile (routines): ... here.
696 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
697 * login/Versions (libc: GLIBC_2.0): ... here.
698
b99b892f
RM
699 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
700 (setrlimit): Define as weak alias.
701
c7405830
RM
702 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
703 Call __ names for open, ftruncate, and close.
704 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
705 (truncate): Define as weak alias.
706
5bf96de5
JM
7072013-05-06 Joseph Myers <joseph@codesourcery.com>
708
9ea3513c
JM
709 * math/gen-libm-test.pl (parse_args): Initialize x before each
710 test of frexp, modf and remquo.
711
5bf96de5
JM
712 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
713 test signgam value.
714
16e616a7
AZ
7152013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
716
717 [BZ #15418]
718 [BZ #15419]
719 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
720 internal tests.
721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
722
d5e82754
RM
7232013-05-06 Roland McGrath <roland@hack.frob.com>
724
725 * elf/dl-writev.h: New file.
726 * elf/dl-misc.c: Include it.
727 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
728 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
729
a7548d41
JM
7302013-05-04 Joseph Myers <joseph@codesourcery.com>
731
b7dab1e4
JM
732 * math/libm-test.inc (noXFails): Remove variable.
733 (noXPasses): Likewise.
734 (BUILD_COMPLEX_INT): Remove macro.
735 (print_screen): Remove xfail argument.
736 (print_screen_max_error): Likewise.
737 (update_stats): Likewise.
738 (print_max_error): Likewise. Update calls to other affected
739 functions.
740 (print_complex_max_error): Likewise.
741 (test_single_exception): Update calls to print_screen.
742 (test_single_errno): Likewise.
743 (check_float_internal): Remove xfail argument. Update calls to
744 other affected functions.
745 (check_float): Likewise.
746 (check_complex): Likewise.
747 (check_int): Likewise.
748 (check_long): Likewise.
749 (check_bool): Likewise.
750 (check_longlong): Likewise.
751 (main): Don't print noXFails and noXPasses.
752 * math/gen-libm-test.pl (top level): Don't mention expected
753 failure handling in comment.
754 (new_test): Don't handle expected failures.
755 (parse_args): Don't mention expected failure handling in comment.
756 (generate_testfile): Don't handle expected failures.
757 (parse_ulps): Likewise.
758 (print_ulps_file): Likewise.
759 (get_failure): Remove function.
760 (output_test): Don't handle expected failures.
761 * make/README.libm-test: Don't mention expected failure handling.
762
a7548d41
JM
763 * math/libm-test.inc (plus_zero): Make const. Add initializer.
764 (minus_zero): Likewise.
765 (plus_infty): Likewise.
766 (minus_infty): Likewise.
767 (qnan_value): Likewise.
768 (max_value): Likewise.
769 (min_value): Likewise.
770 (min_subnorm_value): Likewise.
771 (initialize): Do not initialize those variables dynamically.
772
60bfd54c
RM
7732013-05-03 Roland McGrath <roland@hack.frob.com>
774
cc0e6ed8
RM
775 * io/open.c (__open_2): Moved to ...
776 * io/open_2.c: ... this new file.
777 * io/open64.c (__open64_2): Moved to ...
778 * io/open64_2.c: ... this new file.
779 * io/openat.c (__openat_2): Moved to ...
780 * io/openat_2.c: ... this new file.
781 * io/openat64.c (__openat64_2): Moved to ...
782 * io/openat64_2.c: ... this new file.
783 * io/Makefile (routines): Add them.
784 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
785 * sysdeps/unix/sysv/linux/open_2.c: File removed.
786 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
787 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
788 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
789 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
790 (__openat64): Add hidden_ver.
791 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
792 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
793
60bfd54c
RM
794 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
795 Separately conditionalize setting of GLRO(dl_sysinfo) so
796 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
797 as well, but the actual setting is only under [NEED_DL_SYSINFO].
798
83e7640f
AZ
7992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
800
801 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
802 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
803 definition.
804 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
805 * sysdeps/unix/sysv/linux/powerpc/init-first.c
806 (_libc_vdso_platform_setup): Add __vdso_time initialization.
807 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
808 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
809
d5dc2af3
JM
8102013-05-03 Joseph Myers <joseph@codesourcery.com>
811
c31a5b1e
JM
812 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
813 test signgam value.
814
d5dc2af3
JM
815 * math/libm-test.inc (hypot_test): Do not use
816 IGNORE_ZERO_INF_SIGN.
817
164fd39d
AJ
8182013-05-03 Andreas Jaeger <aj@suse.de>
819
820 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
821 Linux 3.9.
822 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
823 (PF_MAX): Adjust for VSOCK change.
824
8237f48c
AZ
8252013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
826
827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
828
9df02941
CD
8292013-05-02 Carlos O'Donell <carlos@redhat.com>
830
831 [BZ #15264]
832 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
833 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
834 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
835
d422395e
DM
8362013-05-02 David S. Miller <davem@davemloft.net>
837
838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
839
a07c5731
OB
8402013-05-01 Ondřej Bílka <neleai@seznam.cz>
841
842 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
843
1324e37f
RM
8442013-05-01 Roland McGrath <roland@hack.frob.com>
845
846 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
847
0695940b
RS
8482013-05-01 Richard Smith <richard@metafoo.co.uk>
849
bb5f27ad 850 [BZ #14952]
0695940b
RS
851 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
852 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
853 Use __attribute__ ((__gnu_inline__)).
854 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
855 Don't use __attribute__ ((__gnu_inline__)).
856
10de07f5
JM
8572013-05-01 Joseph Myers <joseph@codesourcery.com>
858
859 [BZ #15423]
860 * math/s_catan.c (__catan): Handle small real or imaginary part of
861 input specially to avoid spurious underflow.
862 * math/s_catanf.c (__catanf): Likewise.
863 * math/s_catanh.c (__catanh): Likewise.
864 * math/s_catanhf.c (__catanhf): Likewise.
865 * math/s_catanhl.c (__catanhl): Likewise.
866 * math/s_catanl.c (__catanl): Likewise.
867 * math/libm-test.inc (catan_test): Add more tests.
868 (catanh_test): Likewise.
869 * sysdeps/i386/fpu/libm-test-ulps: Update.
870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
871
cb4d5414
AZ
8722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873
874 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
875
caf84319
JM
8762013-04-30 Joseph Myers <joseph@codesourcery.com>
877
878 [BZ #15416]
879 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
880 accurately for denominator in atan2.
881 * math/s_catanf.c (__catanf): Likewise.
882 * math/s_catanh.c (__catanh): Likewise.
883 * math/s_catanhf.c (__catanhf): Likewise.
884 * math/s_catanhl.c (__catanhl): Likewise.
885 * math/s_catanl.c (__catanl): Likewise.
886 * math/libm-test.inc (catan_test): Add more tests.
887 (catanh_test): Likewise.
888 * sysdeps/i386/fpu/libm-test-ulps: Update.
889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
890
d569c6ee
SP
8912013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
892
6dbe713d
SP
893 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
894
f0ee064b
SP
895 * benchtests/Makefile (bench): Remove slow benchmarks.
896 * benchtests/atan-inputs: Add slow benchmark inputs.
897 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
898 (BENCH_FUNC): Accept variant offset.
899 (VARIANT): Define.
900 * benchtests/bench-skeleton.c (main): Run benchmark for each
901 variant.
902 * benchtests/cos-inputs: Add slow benchmark inputs.
903 * benchtests/exp-inputs: Likewise.
904 * benchtests/pow-inputs: Likewise.
905 * benchtests/sin-inputs: Likewise.
906 * benchtests/slowatan-inputs: Remove.
907 * benchtests/slowatan.c: Remove.
908 * benchtests/slowcos-inputs: Remove.
909 * benchtests/slowcos.c: Remove.
910 * benchtests/slowexp-inputs: Remove.
911 * benchtests/slowexp.c: Remove.
912 * benchtests/slowpow-inputs: Remove.
913 * benchtests/slowpow.c: Remove.
914 * benchtests/slowsin-inputs: Remove.
915 * benchtests/slowsin.c: Remove.
916 * benchtests/slowtan-inputs: Remove.
917 * benchtests/slowtan.c: Remove.
918 * benchtests/tan-inputs: Add slow benchmark inputs.
919 * scripts/bench.pl: Parse comments and directives.
920
d569c6ee
SP
921 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
922 in CPPFLAGS.
923 ($(objpfx)bench-%.c): Remove *-ITER.
924 * benchtests/bench-modf.c: Remove definition of ITER.
925 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
926 (main): Loop for DURATION seconds instead of fixed number of
927 iterations.
928 * scripts/bench.pl: Don't expect iterations in parameters.
929
a6a242fe
RM
9302013-04-29 Roland McGrath <roland@hack.frob.com>
931
932 * io/fchdir.c (__fchdir): Renamed from fchdir.
933 (fchdir): Define as weak alias.
934
f2da7793
JM
9352013-04-29 Joseph Myers <joseph@codesourcery.com>
936
937 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
938 (ERRNO_EDOM): Likewise.
939 (ERRNO_ERANGE): Likewise.
940 (noErrnoTests): New variable.
941 (init_max_error): Set errno to 0.
942 (test_single_errno): New function.
943 (test_errno): Likewise.
944 (check_float_internal): Call test_errno. Set errno to 0.
945 (check_complex): Refer to errno tests in comment.
946 (check_int): Call test_errno. Set errno to 0.
947 (check_long): Likewise.
948 (check_bool): Likewise.
949 (check_longlong): Likewise.
950 (cos_test): Use ERRNO_* flags for errno tests instead of
951 check_int.
952 (expm1_test): Likewise.
953 (fmod_test): Likewise.
954 (ilogb_test): Likewise.
955 (lgamma_test): Likewise.
956 (pow_test): Likewise.
957 (remainder_test): Likewise.
958 (sin_test): Likewise.
959 (tan_test): Likewise.
960 (yn_test): Likewise.
961 (initialize): Set errno to 0.
962 (main): Print number of errno tests.
963 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
964
b1a36ceb
AJ
9652013-04-29 Andreas Jaeger <aj@suse.de>
966
c3ed8088
AJ
967 [BZ #15084]
968 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
969 and RES_USEVC.
970
f1a24198
AJ
971 [BZ #15085]
972 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
973 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
974 unimplemented.
975
9ce3b2cb
AJ
976 [BZ #15380]
977 * stdlib/random.c (__initstate): Return NULL if
978 __initstate fails.
979
f1a24198 980 [BZ #15086]
b1a36ceb
AJ
981 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
982 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
983 RES_SNGLKUPREOP.
984
7e7b6f36
AZ
9852013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
986
987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
988
4d14f449
JM
9892013-04-29 Joseph Myers <joseph@codesourcery.com>
990
991 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
992 of individual tests.
993 (casin_test): Likewise.
994 (casinh_test): Likewise.
995
5b4217d7
JM
9962013-04-27 Joseph Myers <joseph@codesourcery.com>
997
998 [BZ #15409]
999 * math/s_catan.c (__catan): Handle arguments with large real or
1000 imaginary part separately without squaring.
1001 * math/s_catanf.c (__catanf): Likewise.
1002 * math/s_catanh.c (__catanh): Likewise.
1003 * math/s_catanhf.c (__catanhf): Likewise.
1004 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1005 and redefine.
1006 (__catanhl): Handle arguments with large real or imaginary part
1007 separately without squaring.
1008 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1009 and redefine.
1010 (__catanl): Handle arguments with large real or imaginary part
1011 separately without squaring.
1012 * math/libm-test.inc (catan_test): Add more tests.
1013 (catanh_test): Likewise.
1014 * sysdeps/i386/fpu/libm-test-ulps: Update.
1015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1016
4220c3ef
AJ
10172013-04-27 Andreas Jaeger <aj@suse.de>
1018
1019 [BZ #15007]
1020 * stdlib/stdlib.h: Update guards for qecvt.
1021 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1022 <stdlib.h>.
1023
4721b2d1
AM
10242013-04-27 Allan McRae <allan@archlinux.org>
1025
1026 * sysdeps/i386/fpu/libm-test-ulps: Update.
1027
f0302940
JM
10282013-04-26 Joseph Myers <joseph@codesourcery.com>
1029
9457fd95
JM
1030 [BZ #15406]
1031 * math/s_catan.c: Include <float.h>.
1032 (__catan): Ensure underflow exception occurs for underflowed
1033 result.
1034 * math/s_catanf.c: Include <float.h>.
1035 (__catanf): Ensure underflow exception occurs for underflowed
1036 result.
1037 * math/s_catanh.c: Include <float.h>.
1038 (__catanh): Ensure underflow exception occurs for underflowed
1039 result.
1040 * math/s_catanhf.c: Include <float.h>.
1041 (__catanhf): Ensure underflow exception occurs for underflowed
1042 result.
1043 * math/s_catanhl.c: Include <float.h>.
1044 (__catanhl): Ensure underflow exception occurs for underflowed
1045 result.
1046 * math/s_catanl.c: Include <float.h>.
1047 (__catanl): Ensure underflow exception occurs for underflowed
1048 result.
1049 * math/libm-test.inc (catan_test): Add more tests.
1050 (catanh_test): Likewise.
1051
f0302940
JM
1052 [BZ #15405]
1053 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1054 underflowed result.
1055 * math/s_ccoshf.c (__ccoshf): Likewise.
1056 * math/s_ccoshl.c (__ccoshl): Likewise.
1057 * math/s_csin.c (__csin): Likewise.
1058 * math/s_csinf.c (__csinf): Likewise.
1059 * math/s_csinh.c (__csinh): Likewise.
1060 * math/s_csinhf.c (__csinhf): Likewise.
1061 * math/s_csinhl.c (__csinhl): Likewise.
1062 * math/s_csinl.c (__csinl): Likewise.
1063 * math/libm-test.inc (ccos_test): Add more tests.
1064 (ccosh_test): Likewise.
1065 (csin_test): Likewise.
1066 (csinh_test): Likewise.
1067
aa630f59
AZ
10682013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1069
1070 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1071 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1072 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1073 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1074 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1075 powerpc/power5+/fpu folders.
1076 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1077
1078
1b835983
MT
10792013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1080
1081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1082
73709b26
JM
10832013-04-25 Joseph Myers <joseph@codesourcery.com>
1084
1085 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1086 additions to variable.
1087 [$(config-machine) = x86_64] (modules-names): Likewise.
1088 ($(objpfx)tst-audit3): Remove dependency.
1089 ($(objpfx)tst-audit3.out): Likewise.
1090 ($(objpfx)tst-audit4): Likewise.
1091 ($(objpfx)tst-audit4.out): Likewise.
1092 ($(objpfx)tst-audit5): Likewise.
1093 ($(objpfx)tst-audit5.out): Likewise.
1094 ($(objpfx)tst-audit6): Likewise.
1095 ($(objpfx)tst-audit6.out): Likewise.
1096 ($(objpfx)tst-audit7): Likewise.
1097 ($(objpfx)tst-audit7.out): Likewise.
1098 (tst-audit3-ENV): Remove variable.
1099 (tst-audit4-ENV): Likewise.
1100 (tst-audit5-ENV): Likewise.
1101 (tst-audit6-ENV): Likewise.
1102 (tst-audit7-ENV): Likewise.
1103 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1104 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1105 addition to variable.
1106 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1107 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1108 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1109 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1110 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1111 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1112 tst-audit3, tst-audit4 and tst-audit5.
1113 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1114 tst-audit6 and tst-audit7.
1115 [$(subdir) = elf] (modules-names): Add audit modules for those
1116 tests.
1117 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1118 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1119 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1120 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1121 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1122 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1123 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1124 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1125 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1126 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1127 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1128 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1129 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1130 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1131 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1132 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1133 Likewise.
1134 [$(subdir) = elf && $(config-cflags-avx) = yes]
1135 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1136 [$(subdir) = elf && $(config-cflags-avx) = yes]
1137 (CFLAGS-tst-auditmod4a.c): Likewise.
1138 [$(subdir) = elf && $(config-cflags-avx) = yes]
1139 (CFLAGS-tst-auditmod4b.c): Likewise.
1140 [$(subdir) = elf && $(config-cflags-avx) = yes]
1141 (CFLAGS-tst-auditmod6b.c): Likewise.
1142 [$(subdir) = elf && $(config-cflags-avx) = yes]
1143 (CFLAGS-tst-auditmod6c.c): Likewise.
1144 [$(subdir) = elf && $(config-cflags-avx) = yes]
1145 (CFLAGS-tst-auditmod7b.c): Likewise.
1146 * elf/tst-audit3.c: Move to ...
1147 * sysdeps/x86_64/tst-audit3.c: ... here.
1148 * elf/tst-audit4.c: Move to ...
1149 * sysdeps/x86_64/tst-audit4.c: ... here.
1150 * elf/tst-audit5.c: Move to ...
1151 * sysdeps/x86_64/tst-audit5.c: ... here.
1152 * elf/tst-audit6.c: Move to ...
1153 * sysdeps/x86_64/tst-audit6.c: ... here.
1154 * elf/tst-audit7.c: Move to ...
1155 * sysdeps/x86_64/tst-audit7.c: ... here.
1156 * elf/tst-auditmod3a.c: Move to ...
1157 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1158 * elf/tst-auditmod3b.c: Move to ...
1159 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1160 * elf/tst-auditmod4a.c: Move to ...
1161 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1162 * elf/tst-auditmod4b.c: Move to ...
1163 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1164 * elf/tst-auditmod5a.c: Move to ...
1165 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1166 * elf/tst-auditmod5b.c: Move to ...
1167 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1168 * elf/tst-auditmod6a.c: Move to ...
1169 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1170 * elf/tst-auditmod6b.c: Move to ...
1171 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1172 * elf/tst-auditmod6c.c: Move to ...
1173 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1174 * elf/tst-auditmod7a.c: Move to ...
1175 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1176 * elf/tst-auditmod7b.c: Move to ...
1177 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1178
1ef74943
PP
11792013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1180
1181 [BZ #15366]
1182 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1183 define unconditionally.
1184 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1185 define unconditionally.
1186 (INT8_C, INT16_C, etc.): Likewise.
1187
93fd48c5
MR
11882013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1189
ae9552cf
MR
1190 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1191 __ehdr_start with hidden visibility.
1192
93fd48c5
MR
1193 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1194
418601aa
CD
11952013-04-24 Carlos O'Donell <carlos@redhat.com>
1196
1197 * math/libm-test.inc (cos_test): Use accurate hex constants.
1198 (sincost_test): Likewise.
1199
2f38fbfe
JM
12002013-04-24 Joseph Myers <joseph@codesourcery.com>
1201
5e221800
JM
1202 * math/libm-test.inc (catan_test): Add more tests.
1203 (catanh_test): Likewise.
1204
77f143fd
JM
1205 * math/s_catanf.c (__catanf): Use suffixed floating-point
1206 constants.
1207 * math/s_catanhf.c (__catanhf): Likewise.
1208 * math/s_catanhl.c (__catanhl): Likewise.
1209 * math/s_catanl.c (__catanl): Likewise.
1210
2f38fbfe
JM
1211 [BZ #15394]
1212 * math/s_catan.c (__catan): Calculate imaginary part of result
1213 with log1p not log unless computing log of number close to 0.
1214 * math/s_catanf.c (__catanf): Likewise.
1215 * math/s_catanl.c (__catanl): Likewise.
1216 * math/s_catanh.c (__catanh): Calculate real part of result with
1217 log1p not log unless computing log of number close to 0.
1218 * math/s_catanhf.c (__catanhf): Likewise.
1219 * math/s_catanhl.c (__catanhl): Likewise.
1220 * math/libm-test.inc (catan_test): Add more tests.
1221 (catanh_test): Likewise.
1222 * sysdeps/i386/fpu/libm-test-ulps: Update.
1223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1224
45d69176
SP
12252013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1226
1227 * benchtests/Makefile: Mention files in which fast and slow
1228 paths of math functions are implemented.
1229
87f51853
RM
12302013-04-23 Roland McGrath <roland@hack.frob.com>
1231
1232 * sysdeps/posix/timespec_get.c: New file.
1233
3c026539
AZ
12342013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1235
1236 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1237 POWER.
1238 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1239 for POWER.
1240 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1241 powerpc/power5/fpu folders.
1242 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1243 * benchtests/Makefile: Add modf testcase.
1244 * benchtests/bench-modf.c: New file: Benchmark test for mo
1245
ff491d14
SP
12462013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1247
1248 [BZ #14888]
1249 * time/Makefile (tests): Add tst-strptime-whitespace.
1250 * time/strptime_l.c (get_number): Use ISSPACE.
1251 (__strptime_internal): Likewise.
1252 * time/tst-strptime-whitespace.c: New test case.
1253
7ed3f4e8
AS
12542013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1255
1256 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1257 member.
1258 (_nss_files_init): Set it here.
1259
5c95f7b6
HC
12602013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1261
1262 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1263 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1264 unsigned.
1265
d34c9158
JBG
12662013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1267
1268 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1269
2169712d
SP
12702013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1271
1272 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1273 size just once.
1274
29c5de99
DM
12752013-04-21 David S. Miller <davem@davemloft.net>
1276
1277 * po/ru.po: Update Russion translation from translation project.
1278
ccdad15d
AC
12792013-04-17 Adam Conrad <adconrad@0c3.net>
1280
1281 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1282 and setfsgid.
1283
0f122b8d
CD
12842013-04-17 Carlos O'Donell <carlos@redhat.com>
1285
5c5b07da 1286 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1287 * configure: Regenerate.
5c5b07da 1288 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1289 Add example to error message.
1290 * sysdeps/i386/configure: Regenerate.
1291
037714dd
SP
12922013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1293
1294 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1295 slowtan.
1296 * benchtests/cos-inputs: New file.
1297 * benchtests/slowcos-inputs: New file.
1298 * benchtests/slowcos.c: New file.
1299 * benchtests/slowtan-inputs: New file.
1300 * benchtests/slowtan.c: New file.
1301 * benchtests/tan-inputs: New file.
1302
e913141d
RM
13032013-04-16 Roland McGrath <roland@hack.frob.com>
1304
1305 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1306 considered kosher.
1307
a2964074
SP
13082013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1309
4856bcd2
SP
1310 * benchtests/Makefile: Include cppflags-iterator.mk to add
1311 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1312
a2964074
SP
1313 * Makefile.in (bench-clean): New target.
1314 * benchtests/Makefile (bench-clean): Likewise.
1315
9fbf9aca
DH
13162013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1317
1318 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1319
207d1e2a
TS
13202013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1321
1322 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1323
306dfba9
AS
13242013-04-15 Andreas Schwab <schwab@suse.de>
1325
1326 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1327 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1328 * nscd/pwdcache.c (cache_addpw): Likewise.
1329 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1330 more than recsize.
1331
206a6699
SP
13322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1333
1334 * benchtests/Makefile (bench): Write all output to
1335 bench-out.tmp together.
1336
0582f6b3
AS
13372013-04-15 Andreas Schwab <schwab@suse.de>
1338
1339 * nscd/nscd.c (main): Don't fork again after closing files.
1340
acb4325f
SP
13412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1342
5cb26d0a
SP
1343 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1344
acb4325f
SP
1345 * benchtests/Rules (bench-deps): Collect dependencies into a
1346 single variable. Add Makefile to dependencies.
1347 ($(objpfx)bench-%.c): Depend on bench-deps.
1348
47792506
RM
13492013-04-12 Roland McGrath <roland@hack.frob.com>
1350 Xavier Roche <roche+kml2@exalead.com>
1351
1352 [BZ #15361]
1353 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1354 just that it's a file descriptor.
1355 * manual/llio.texi (Synchronizing AIO Operations): Update description
1356 for EBADF error from aio_fsync.
1357
8fc1bee5
SP
13582013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1359
1360 * Rules (bench): Move target definition...
1361 * benchtests/Makefile: ... here.
1362
aba5e333
CD
13632013-04-11 Carlos O'Donell <carlos@redhat.com>
1364
1365 * math/libm-test.inc (cos_test): Fix PI/2 test.
1366 (sincos_test): Likewise.
1367 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1368 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1369
273cdee8
AS
13702013-04-11 Andreas Schwab <schwab@suse.de>
1371
6ecec3b6
AS
1372 [BZ #13988]
1373 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1374 accept exponent character only when digits were seen.
1375 * stdio-common/Makefile (tests): Add bug26.
1376 * stdio-common/bug26.c: New file.
1377
273cdee8
AS
1378 [BZ #14293]
1379 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1380 non-freeable.
1381
8da491f5
SP
13822013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1383
01dc6df9
SP
1384 * Makeconfig (rtld-prefix): Define built linker prefix.
1385 * Rules (run-bench): Use it.
1386 * math/Makefile (run-regen-ulps): Likewise.
1387
8da491f5
SP
1388 * Rules (bench): Remove eval.
1389
abe7f530
SP
13902013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1391 Roland McGrath <roland@hack.frob.com>
1392 Ondrej Bilka <neleai@seznam.cz>
1393
1394 [BZ #15346]
1395 * time/getdate.c: Include ctype.h and alloca.h.
1396 (__getdate_r): Trim leading and trailing spaces of input.
1397 * time/tst-getdate.c (tests): Add tests with leading and
1398 trailing spaces.
1399
61c23e62
RM
14002013-04-08 Roland McGrath <roland@hack.frob.com>
1401
1402 [BZ #14280]
1403 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1404 when computing value.
1405
7208a313
CD
14062013-04-06 Carlos O'Donell <carlos@redhat.com>
1407
085b2d41
CD
1408 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1409 Use testrun.sh to run libm tests.
1410
7208a313
CD
1411 [BZ #15309]
1412 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1413
872c0acd
MM
14142013-04-06 Marko Myllynen <myllynen@redhat.com>
1415
1416 [BZ #15264]
1417 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1418
26510bdd
CD
14192013-04-06 Carlos O'Donell <carlos@redhat.com>
1420
1421 * Makefile.in (regen-ulps): New target.
1422 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1423 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1424 [ifneq (no,$(PERL)] (regen-ulps): New target.
1425 [ifeq (no,$(PERL)] (regen-ulps): New target.
1426 * math/libm-test.inc (ulps_file_name): Define.
1427 (output_dir): New variable.
1428 (options): Add "output-dir" option.
1429 (parse_opt): Handle 'o' case.
1430 (main): If output_dir is non-NULL use it as a prefix
1431 otherwise use "".
1432 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1433
a01f19c8
CD
14342013-04-06 Carlos O'Donell <carlos@redhat.com>
1435
1436 [BZ #10060, #10062]
1437 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1438 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1439 fail configure if __sync_val_compare_and_swap is not inlined.
1440 * sysdeps/i386/configure: Regenerate.
1441 * configure.in: Build for i686 when configured for i386.
1442 * configure: Regenerate.
1443 * README: Remove i386 reference.
1444
b7a329a5
CD
14452013-04-06 Carlos O'Donell <carlos@redhat.com>
1446
1447 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1448 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1449
bf0f50df
TS
14502013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1451
ee091edf
TS
1452 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1453 (lmsnanval): New variables.
1454 (F): Add conversion tests.
1455 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1456 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1457
a8b792d6
TS
1458 * stdio-common/tstdiomisc.c (F): Properly collect individual
1459 tests' results.
1460
a1cbf437
TS
1461 [BZ #14686, #15336]
1462 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1463 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1464 Instead, use input NaN values or generate a qNaN by arithmetic
1465 operation. Also fix bugs to comply with the standard.
1466 * math/libm-test.inc (remainder_test): Add more tests.
1467
8b43a0c9
TS
1468 [BZ #15335, #15342]
1469 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1470 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1471 input NaN values or generate a qNaN by arithmetic operation.
1472
d91da4ce
TS
1473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1474 unreachable code.
1475
bf0f50df
TS
1476 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1477 definitions.
1478
05e166c8
JM
14792013-04-03 Joseph Myers <joseph@codesourcery.com>
1480
1481 [BZ #14478]
1482 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1483 underflowed result.
1484 * math/s_cexpf.c (__cexpf): Likewise.
1485 * math/s_cexpl.c (__cexpl): Likewise.
1486 * math/libm-test.inc (cexp_test): Add more tests.
1487
1cef1b19
AS
14882013-04-03 Andreas Schwab <schwab@suse.de>
1489
1490 [BZ #15330]
1491 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1492 order arrays from heap if bigger than alloca cutoff.
1493
74d87055
TS
14942013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1495
1496 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1497 (SNAN_TESTS_double): Refer to GCC PR56831.
1498 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1499 GCC PR56828.
1500
d755bba4
SP
15012013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1502
90d5d5bb
SP
1503 * Rules (bench): Move bench.out after the run is complete.
1504
73e0cd5d
SP
1505 * Rules (bench): Echo currently running benchmark.
1506
64aabd4b
SP
1507 * benchtests/Makefile (bench): Add atan and slowatan.
1508 * benchtests/atan-inputs: New file.
1509 * benchtests/slowatan-inputs: New file.
1510 * benchtests/slowatan.c: New file.
1511
c871eccd
SP
1512 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1513 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1514 its value.
1515
d755bba4
SP
1516 [BZ #15305]
1517 * sysdeps/unix/sysv/linux/kernel-features.h
1518 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1519 __ASSUME_XFS_RESTRICTED_CHOWN.
1520 * sysdeps/unix/sysv/linux/pathconf.c
1521 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1522 Save and restore errno.
1523
52ce4860
JM
15242013-04-02 Joseph Myers <joseph@codesourcery.com>
1525
1526 [BZ #15327]
1527 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1528 arguments using __kernel_casinh.
1529 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1530 arguments using __kernel_casinhf.
1531 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1532 arguments using __kernel_casinhl.
1533 * math/libm-test.inc (cacosh_test): Add more tests.
1534 * sysdeps/i386/fpu/libm-test-ulps: Update.
1535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1536
81f311c2
SP
15372013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1538
e7906a47
SP
1539 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1541
92e3664b
SP
1542 * bench/Makefile (bench): Add sin and slowsin.
1543 * benchtests/sin-inputs: New file.
1544 * benchtests/slowsin-inputs: New file.
1545 * benchtests/slowsin.c: New file.
1546
81f311c2
SP
1547 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1548 (bench): Add slowexp and slowpow.
1549 (exp-ITER): Increase iterations.
1550 (pow-ITER): Likewise.
1551 * benchtests/exp-inputs: Change input.
1552 * benchtests/pow-inputs: Likewise.
1553 * benchtests/slowexp-inputs: New file.
1554 * benchtests/slowexp.c: New file.
1555 * benchtests/slowpow-inputs: New file.
1556 * benchtests/slowpow.c: New file.
1557
ab0f1aa9
AZ
15582013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1559
1560 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1561 instructions.
1562 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1563 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1564 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1565 * benchtests/Makefile: Add rint benchtest.
1566 * benchtests/rint-inputs: Input for rint benchtest.
1567
57267616
TS
15682013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1569
1570 * Versions.def (libm): Add GLIBC_2.18.
1571 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1572 hidden libm prototypes.
1573 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1574 * math/Makefile (libm-calls): Add s_issignaling.
1575 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1576 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1577 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1578 declaration.
1579 * math/math.h [__USE_GNU] (issignaling): New macro.
1580 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1581 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1583 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1584 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1585 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1586 * manual/arith.texi (issignaling): New section.
1587 * manual/libm-err-tab.pl (@all_functions): Update comment.
1588 * math/gen-libm-test.pl (parse_args): Apply special handling for
1589 issignaling.
1590 * math/libm-test.inc (print_float, issignaling_test): New
1591 functions.
1592 (check_float_internal): Add issignaling checks.
1593 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1594 default definition.
1595 * sysdeps/powerpc/math-tests.h: New file.
1596 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1597 tests.
1598 * math/test-snan.c (TEST_FUNC): Likewise.
1599
6142896d
DM
16002013-03-30 David S. Miller <davem@davemloft.net>
1601
1602 * po/de.po: Update from translation team.
1603
ccc8cadf
JM
16042013-03-30 Joseph Myers <joseph@codesourcery.com>
1605
1606 [BZ #10357]
1607 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1608 imaginary part less than 1.0 and real part less than 0.5
1609 specially.
1610 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1611 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1612 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1613 (cacos_test): Add more tests.
1614 (casin_test): Likewise.
1615 (casinh_test): Likewise.
1616 * sysdeps/i386/fpu/libm-test-ulps: Update.
1617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1618
0f6a8d4b
SP
16192013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1620
0d1029de
SP
1621 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1622 ONE with its value.
1623
c2d94018
SP
1624 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1625 (__pow_mp): Replace ONE and MONE with their values.
1626 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1627 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1628 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1629 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1630 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1631 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1632
27ec37f1
SP
1633 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1634
a64d7e0e
SP
1635 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1636 (__pow_mp): Replace ZERO and MZERO with their values.
1637 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1639 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1640 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1641 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1642 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1643 (__sqr): Likewise.
1644
d26dd3eb
SP
1645 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1646
0f6a8d4b
SP
1647 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1648
e57b0c61
RM
16492013-03-28 Roland McGrath <roland@hack.frob.com>
1650
1651 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1652 Declare with __attribute__ ((weak)).
1653 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1654 Call __call_tls_dtors only if it's not NULL.
1655
356b3480
RM
16562013-03-28 Roland McGrath <roland@hack.frob.com>
1657
288f7d79
RM
1658 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1659 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1660 magic __ehdr_start linker symbol if it's defined.
1661 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1662 them up here if it was already done.
1663
dc0a0263
RM
1664 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1665 (_dl_aux_init): Use const in cast when setting it.
1666 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1667 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1668 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1669
3d3436ae
RM
1670 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1671 Declare them here.
1672 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1673 * csu/libc-tls.c: Nor here.
1674 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1675
356b3480
RM
1676 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1677 (__libc_message): Never call vsyslog.
1678
b0f1246a
AM
16792013-03-28 Alan Modra <amodra@gmail.com>
1680
1681 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1682 Define as empty.
1683 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1684 Likewise.
1685
fbbe2b9a
AZ
16862013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687
1688 [BZ #15214]
1689 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1690 underflow.
1691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1692
1728ab37
SP
16932013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1694
7a86be6e
SP
1695 [BZ #15304]
1696 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1697 Don't add gid passed as argument.
1698
1728ab37
SP
1699 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1700
3a7182a1
JM
17012013-03-27 Joseph Myers <joseph@codesourcery.com>
1702
1703 [BZ #15307]
1704 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1705 imaginary part between 1.0 and 1.5 and real part less than 0.5
1706 specially.
1707 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1708 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1709 * math/libm-test.inc (cacos_test): Add more tests.
1710 (casin_test): Likewise.
1711 (casinh_test): Likewise.
1712 * sysdeps/i386/fpu/libm-test-ulps: Update.
1713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1714
6f2e90e7
SP
17152013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1716
5739f705
SP
1717 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1718 constants.
1719 (norm): Likewise.
1720 (denorm): Likewise.
1721 (__dbl_mp): Likewise.
1722 (add_magnitudes): Likewise.
1723 (sub_magnitudes): Likewise.
1724 (__add): Likewise.
1725 (__sub): Likewise.
1726 (__mul): Likewise.
1727 (__sqr): Likewise.
1728 (__inv): Likewise.
1729 (__dvd): Likewise.
1730
e375e83d
SP
1731 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1732 commented code.
1733 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1734 (__dubcos): Likewise.
1735 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1736 (__ieee754_acos): Likewise.
1737 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1738 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1739 (__exp1): Likewise.
1740 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1742 (log1): Likewise.
1743 (my_log2): Likewise.
1744 (checkint): Likewise.
1745 * sysdeps/ieee754/dbl-64/e_remainder.c
1746 (__ieee754_remainder): Likewise.
1747 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1749 (bsloww): Likewise.
1750 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1751
6f2e90e7
SP
1752 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1753 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1754 MANTISSA_STORE_T to store computations on mantissa. Use
1755 macros for rounding and division.
1756 (denorm): Likewise.
1757 (__dbl_mp): Likewise.
1758 (add_magnitudes): Likewise.
1759 (sub_magnitudes): Likewise.
1760 (__mul): Likewise.
1761 (__sqr): Likewise.
1762 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1763 powers of two in terms of TWOPOW macro.
1764 (mp_no): Make type of mantissa as MANTISSA_T.
1765 [!RADIXI]: Define RADIXI.
1766 [!TWO52]: Define TWO52.
1767 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1768
fce14d4e
AZ
17692013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1770
1771 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1772 llroundl symbol when building for PPC32.
1773
9ad027fb
MW
17742013-03-24 Mark H Weaver <mhw@netris.org>
1775
1776 * manual/arith.texi (Normalization Functions): Fix prototypes for
1777 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1778
e42a38dd
AZ
17792013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1780
1781 [BZ #13889]
1782 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1783 high value to check if expl overflow.
1784 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1785 to check for underflow and overflow.
1786 * math/libm-test.inc: Add exp test.
1787
2e0fb521
DL
17882013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1789
1790 [BZ #11120]
1791 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1792 with NOT_IN_libc.
1793
b5784d95
AZ
17942013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1795
1796 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1797 symbol.
1798
5aa4a1a1
TS
17992013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1800
bdef0be7
TS
1801 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1802 wrap blocks consisting of several statements.
1803
5aa4a1a1
TS
1804 * sysdeps/generic/math-tests.h: New file.
1805 * sysdeps/i386/fpu/math-tests.h: Likewise.
1806 * math/test-snan.c: Include it.
1807 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1808
98c48fe5
JM
18092013-03-21 Joseph Myers <joseph@codesourcery.com>
1810
1811 [BZ #15285]
1812 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1813 (__ieee754_j0l): Do not improve calculations using cos of twice
1814 input for inputs above LDBL_MAX / 2.0L.
1815 (__ieee754_y0l): Likewise.
1816 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1817 (__ieee754_j1l): Do not improve calculations using cos of twice
1818 input for inputs above LDBL_MAX / 2.0L.
1819 (__ieee754_y1l): Likewise.
1820 * math/libm-test.inc (j0_test): Add another test.
1821 (j1_test): Likewise.
1822 (y0_test): Likewise.
1823 (y1_test): Likewise.
1824 * sysdeps/i386/fpu/libm-test-ulps: Update.
1825
3775a8bc
SP
18262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1827
1828 * Rules ($(objpfx)bench-%.c): Include code from a C source
1829 file.
1830
0a1b2ae6
JM
18312013-03-21 Joseph Myers <joseph@codesourcery.com>
1832
1833 [BZ #15287]
1834 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1835 imaginary part 1.0 and real part less than 0.5 specially.
1836 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1837 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1838 * math/libm-test.inc (cacos_test): Add more tests.
1839 (casin_test): Likewise.
1840 (casinh_test): Likewise.
1841 * sysdeps/i386/fpu/libm-test-ulps: Update.
1842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1843
b33d4ce4
SP
18442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1845
1846 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1847 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1848
bef0b507
JM
18492013-03-20 Joseph Myers <joseph@codesourcery.com>
1850
1851 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1852 * config.make.in (config-cflags-sse4): Remove variable.
1853 (config-cflags-avx): Likewise.
1854 (config-cflags-sse2avx): Likewise.
1855 (config-cflags-novzeroupper): Likewise.
1856 (config-asflags-i686): Likewise.
1857 (have-mfma4): Likewise.
1858 (have-as-vis3): Likewise.
1859 (MIG): Likewise.
1860 * configure.in (MIG): Do not AC_SUBST.
1861 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1862 (libc_cv_cc_sse4): Do not AC_SUBST.
1863 (libc_cv_cc_avx): Likewise.
1864 (libc_cv_cc_sse2avx): Likewise.
1865 (libc_cv_cc_novzeroupper): Likewise.
1866 (libc_cv_cc_fma4): Likewise.
1867 (libc_cv_as_i686): Likewise.
1868 (libc_cv_sparc_as_vis3): Likewise.
1869 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1870 LIBC_CONFIG_VAR.
1871 (config-asflags-i686): Likewise.
1872 (config-cflags-avx): Likewise.
1873 (config-cflags-sse2avx): Likewise.
1874 (have-mfma4): Likewise.
1875 (config-cflags-novzeroupper): Likewise.
1876 * sysdeps/mach/configure.in (MIG): Likewise.
1877 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1878 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1879 LIBC_CONFIG_VAR.
1880 (config-cflags-avx): Likewise.
1881 (config-cflags-sse2avx): Likewise.
1882 (have-mfma4): Likewise.
1883 (config-cflags-novzeroupper): Likewise.
1884 * configure: Regenerated.
1885 * sysdeps/i386/configure: Likewise.
1886 * sysdeps/mach/configure: Likewise.
1887 * sysdeps/sparc/configure: Likewise.
1888 * sysdeps/x86_64/configure: Likewise.
1889
912cc4b3
RM
18902013-03-20 Roland McGrath <roland@hack.frob.com>
1891
1892 [BZ #14812]
1893 * locale/programs/localedef.c (options): Put N_ translation marker
1894 on argument names, not just descriptions.
1895
04eed2b0
MS
18962013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1897
1898 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1899
a065ceff
OB
19002013-03-20 Ondřej Bílka <neleai@seznam.cz>
1901
9bb2a810 1902 [BZ #14176]
a065ceff
OB
1903 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1904
a600e5ce
RM
19052013-03-19 Roland McGrath <roland@hack.frob.com>
1906
1907 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1908 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1909 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1910 [!BEFORE_ABORT] (before_abort): New function.
1911 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1912 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1913 (writev_for_fatal): New function.
1914 (WRITEV_FOR_FATAL): New macro; call that.
1915 (backtrace_and_maps): New function.
1916 (BEFORE_ABORT): New macro; call that.
1917 (struct str_list): Type removed.
1918 (__libc_message, __libc_fatal): Functions removed.
1919 Include <sysdeps/posix/libc_fatal.c> instead.
1920
6b18bea6
JM
19212013-03-19 Joseph Myers <joseph@codesourcery.com>
1922
1923 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1924 constants.
1925 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1926 double constants.
1927
aaa8cb4b
AS
19282013-03-19 Andreas Schwab <schwab@suse.de>
1929
44673770
AS
1930 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1931 * sysdeps/gnu/configure: Regenerate.
1932
aaa8cb4b
AS
1933 * configure.in: Substitute libc_cv_rtlddir.
1934 * configure: Regenerate.
1935 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1936 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1937 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1938 * elf/Makefile (install-others, CFLAGS-interp.c)
1939 (ldso_install, common-ldd-rewrite): Likewise.
1940 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1941 $(inst_slibdir)/$(rtld-installed-name).
1942 * scripts/rellns-sh: Add -p option.
1943 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1944 for source.
1945
d3cfc668
SP
19462013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1947
1948 * manual/nptl.texi: Renamed to ...
1949 * manual/threads.texi: ... this.
1950 * manual/Makefile (chapters): Update.
1951
0e2b9cdd
RM
19522013-03-18 Roland McGrath <roland@hack.frob.com>
1953
1954 [BZ #14812]
1955 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1956 on argument names, not just descriptions.
0e2b9cdd
RM
1957 * malloc/memusagestat.c (options): Likewise.
1958 * nss/getent.c (options): Likewise.
63270c24
RM
1959
19602013-03-18 Benno Schulenberg <bensberg@justemail.net>
1961
1962 [BZ #14812]
1963 * iconv/iconv_prog.c (options): Put N_ translation marker
1964 on argument names, not just descriptions.
1965 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1966
b2e1393c
OB
19672013-03-18 Ondrej Bilka <neleai@seznam.cz>
1968
1969 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1970 implementation which is faster on all x86_64 architectures.
1971 Tested on AMD, Intel Nehalem, SNB, IVB.
1972 * sysdeps/x86_64/strnlen.S: Likewise.
1973
1974 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1975 Remove all multiarch strlen and strnlen versions.
1976 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1977 Remove strlen and strnlen related parts.
1978
1979 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1980 Inline strlen part.
1981 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1982
1983 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1984 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1985 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1986 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1987 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1988 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1989
ec4ff04d
CD
19902013-03-17 Carlos O'Donell <carlos@redhat.com>
1991
1992 * manual/memory.texi (Malloc Tunable Parameters):
1993 Sort parameters alphabetically. Add comments for missing entries.
1994
cd18e90a
DM
19952013-03-17 David S. Miller <davem@davemloft.net>
1996
1997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1998
2a185d32
JM
19992013-03-16 Joseph Myers <joseph@codesourcery.com>
2000
d2f9799e
JM
2001 [BZ #15283]
2002 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2003 for arguments at most half maximum finite value.
2004 * math/libm-test.inc (j0_test): Add more tests.
2005 (j1_test): Likewise.
2006 (y0_test): Likewise.
2007 (y1_test): Likewise.
2008 * sysdeps/i386/fpu/libm-test-ulps: Update.
2009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2010
2a185d32
JM
2011 [BZ #14155]
2012 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2013 1 / x and functions P and Q for arguments above 0x1p256L.
2014 (__ieee754_y0l): Likewise.
2015 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2016 (__ieee754_y1l): Likewise.
2017 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2018 (j1_test): Likewise.
2019 (y0_test): Likewise.
2020 (y1_test): Likewise.
2021
6cbec759
TS
20222013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2023
2024 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2025 variable.
2026
bc16e260
RM
20272013-03-15 Roland McGrath <roland@hack.frob.com>
2028
aefc9b8c
RM
2029 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2030 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2031 zero since it's initialized to EXEC_PAGESIZE.
2032
bc16e260
RM
2033 * sysdeps/unix/sysv/linux/ldsodefs.h
2034 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2035 * sysdeps/generic/ldsodefs.h: ... here.
2036
a57da955
TS
20372013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2038
af00a34d
TS
2039 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2040
495ded2c
TS
2041 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2042 math/test-snan.c.
2043 * math/test-snan.c: Renamed from
2044 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2045 * math/Makefile (tests): Add test-snan.
2046 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2047 test-powerpc-snan.
2048
777b0332
TS
2049 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2050 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2051 functions.
2052 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2053 __builtin_nan family of functions.
2054 * math/libm-test.inc (initialize): Initialize qnan_value with
2055 __builtin_nan family of functions.
2056 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2057 Remove variables.
2058 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2059 Remove functions.
2060 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2061 storage class. Initialize qNaN_var and sNaN_var with
2062 __builtin_nan and __builtin_nans families of functions,
2063 respectively.
2064
64d063b8
TS
2065 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2066 (sqrt_test): Remove duplicate test with qNaN input.
2067 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2068 (round_test, signbit_test, significand_test): Note missing +/-Inf
2069 as well as qNaN tests.
2070
67e971f1
TS
2071 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2072 qNaN_var. Fix a few strings, too.
2073 * math/libm-test.inc (nan_value): Rename to qnan_value.
2074 * math/gen-libm-test.pl (%beautify): Adjust to that.
2075 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2076 * math/test-misc.c (main): Likewise.
2077 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2078 to __qnan_bytes, and __qnan_union, respectively.
2079 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2080 Likewise.
2081 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2082 and lqnanval, respectively.
2083 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2084 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2085 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2086 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2087
64487e12
TS
2088 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2089 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2090 doubles.
2091
e015e27b
TS
2092 * math/test-misc.c (main): Fix copy'n'pastos.
2093 * misc/tst-efgcvt.c (special): Likewise.
2094
a57da955
TS
2095 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2096 Remove declarations.
2097
1e380345
SP
20982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2099
2100 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2101 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2102 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2103 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2104
ef26eece
AZ
21052013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2106
2107 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2108 macro to return vdso values correctly in IFUNC implementations.
2109 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2110 Optimization by using IFUNC.
2111
8cfdb7e0
SP
21122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2113 Richard Henderson <rth@redhat.com>
2114 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2115
2116 * Makefile.in (bench): New target.
2117 * NEWS: Mention the benchmark framework.
2118 * Rules (bench): Likewise.
2119 (binaries-bench): Generate binaries for functions to
2120 benchmark.
2121 * benchtests/Makefile: New makefile for benchmark tests.
2122 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2123 programs.
2124 * benchtests/exp-inputs: New input file for EXP function.
2125 * benchtests/pow-inputs: New input file for POW function.
2126 * scripts/bench.pl: New script to generate source files for
2127 benchmark programs.
2128
bcda9880
SP
21292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2130
d22ca8cd
SP
2131 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2132 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2133 computations on mantissa. Use macros for rounding and
2134 division.
2135 (denorm): Likewise.
2136 (__dbl_mp): Likewise.
2137 (add_magnitudes): Likewise.
2138 (sub_magnitudes): Likewise.
2139 (__mul): Likewise.
2140 (__sqr): Likewise.
2141 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2142 powers of two in terms of TWOPOW macro.
2143 (mp_no): Make type of mantissa as MANTISSA_T.
2144 [!RADIXI]: Define RADIXI.
2145 [!TWO52]: Define TWO52.
2146 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2147
bcda9880
SP
2148 * manual/nptl.texi (cindex): Modify threads to pthreads.
2149
06d5adfb
JM
21502013-03-15 Joseph Myers <joseph@codesourcery.com>
2151
2152 * sysdeps/x86_64/preconfigure: Regenerated.
2153
41c7328e
JM
21542013-03-14 Joseph Myers <joseph@codesourcery.com>
2155
2156 [BZ #14155]
2157 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2158 0x1p28 and above.
2159 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2160 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2161 0x1p28 and above.
2162 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2163 * math/libm-test.inc (j0_test): Do not allow one spurious
2164 underflow exception.
2165 (y1_test): Likewise.
2166
e25cfa60
SP
21672013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2168
0409959c
SP
2169 * manual/Makefile (chapters): Add nptl.
2170 * manual/debug.texi (Debugging Support): Add link to Threads
2171 chapter.
2172 * manual/nptl.texi: New file.
2173
e25cfa60
SP
2174 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2175
58a1335e
PB
21762013-03-14 Petr Baudis <pasky@ucw.cz>
2177
2178 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2179 for non-NULL pointer before the memory validity test. Pointed
2180 out by Holger Brunck <holger.brunck@keymile.com>.
2181
9dc7c64f
AS
21822013-03-13 Andreas Schwab <schwab@suse.de>
2183
2184 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2185 instead of .os.
2186
54206aa6
JM
21872013-03-13 Joseph Myers <joseph@codesourcery.com>
2188
2189 * timezone/zic.c: Update from tzcode 2013b.
2190
e98cdb38
CD
21912013-03-12 Carlos O'Donell <carlos@redhat.com>
2192
2193 * manual/install.texi (Configuring and compiling):
2194 Mention i686 and i586.
2195 * INSTALL: Regenerate.
2196
9967e003
RM
21972013-03-12 Roland McGrath <roland@hack.frob.com>
2198
2199 * sysdeps/init_array/elf-init.c: New file.
2200 * csu/elf-init.c
2201 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2202 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2203
2204 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2205 __gmon_start__ as global, but as static with a .preinit_array pointer.
2206 * sysdeps/init_array/gmon-start.c: New file. Use that.
2207 * sysdeps/init_array/crti.S: New file, empty except for comments.
2208 * sysdeps/init_array/crtn.S: Likewise.
2209
e6b5a293 22102013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2211
2212 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2213 definining bcopy.
80f844c9
OB
2214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2215 Remove Prefer_SSE_for_memop.
2216 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2217 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2218 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2219 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2220 memset-x86-64.
80f844c9 2221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2222 Remove bzero, memset ifunc support.
80f844c9
OB
2223 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2224 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2225 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2226 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2227
fb6b0fcb
AS
22282013-03-11 Andreas Schwab <schwab@suse.de>
2229
2230 [BZ #15234]
2231 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2232 by SHLIB_COMPAT.
2233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2234 (GLIBC_2.16): Remove pthread_atfork.
2235
3e6bd4b1
PP
22362013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2237
2238 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2239 (ptestcases.h): Likewise.
2240
222d7f00
RM
22412013-03-08 Roland McGrath <roland@hack.frob.com>
2242
2243 * Makeconfig ($(common-objpfx)config.status): Depend on
2244 sysdeps/*/preconfigure{,.in} too.
2245
1ba4f030
JM
22462013-03-08 Joseph Myers <joseph@codesourcery.com>
2247
a222d91a
JM
2248 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2249 (__free_hook): Use void * instead of __malloc_ptr_t.
2250 (__malloc_hook): Likewise.
2251 (__realloc_hook): Likewise.
2252 (__memalign_hook): Likewise.
2253 (__after_morecore_hook): Likewise.
2254 * malloc/arena.c (save_malloc_hook): Likewise.
2255 (save_free_hook): Likewise.
2256 * malloc/hooks.c (malloc_hook_ini): Likewise.
2257 (realloc_hook_ini): Likewise.
2258 (memalign_hook_ini): Likewise.
2259 * malloc/malloc.c (malloc_hook_ini): Likewise.
2260 (realloc_hook_ini): Likewise.
2261 (memalign_hook_ini): Likewise.
2262 (__free_hook): Likewise.
2263 (__malloc_hook): Likewise.
2264 (__realloc_hook): Likewise.
2265 (__memalign_hook): Likewise.
2266 (__libc_malloc): Likewise.
2267 (__libc_free): Likewise.
2268 (__libc_realloc): Likewise.
2269 (__libc_memalign): Likewise.
2270 (__libc_valloc): Likewise.
2271 (__libc_pvalloc): Likewise.
2272 (__libc_calloc): Likewise.
2273 (__posix_memalign): Likewise.
2274 * malloc/morecore.c (__sbrk): Likewise.
2275 (__default_morecore): Likewise.
2276
5cc45e10
JM
2277 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2278
dd54b864
JM
2279 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2280 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2281 __malloc_ptrdiff_t.
2282
1ba4f030
JM
2283 * malloc/malloc.h (__malloc_size_t): Remove macro.
2284 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2285 __malloc_size_t.
2286 (old_memalign_hook): Likewise.
2287 (old_realloc_hook): Likewise.
2288 (struct hdr): Likewise.
2289 (flood): Likewise.
2290 (mallochook): Likewise.
2291 (memalignhook): Likewise.
2292 (reallochook): Likewise.
2293 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2294 (tr_old_realloc_hook): Likewise.
2295 (tr_old_memalign_hook): Likewise.
2296 (tr_mallochook): Likewise.
2297 (tr_reallochook): Likewise.
2298 (tr_memalignhook): Likewise.
2299
edf66e57
AZ
23002013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2301
2302 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2303 default_ldbl_pack and using as default implementation.
2304 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2305 implementation.
2306 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2307 redundant definition.
2308 (ldbl_insert_mantissa): Likewise.
2309 (ldbl_canonicalize): Likewise.
2310 (ldbl_nearbyint): Likewise.
2311 (ldbl_pack): Rename to ldbl_pack_ppc.
2312 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2313 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2314 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2315
6d9145d8
SP
23162013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2317
2318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2319 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2320 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2321 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2323 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2324 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2325 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2326
4dd4e157
AJ
23272013-03-07 Andreas Jaeger <aj@suse.de>
2328
2329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2330 bits/mman-linux.h.
2331
adbb8027
SP
23322013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2333
ce544b5b
SP
2334 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2335 Include mpa.h and declare __MPEXP.
2336 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2337 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2338 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2339 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2340 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2341 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2342 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2343
4cc149fd
SP
2344 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2345 (__slowpow): Use long double EXPL and LOGL functions to
2346 compute POW.
2347 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2348 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2349 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2350 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2351 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2352 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2353
e6ebd4a7
SP
2354 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2355 intermediate variable to calculate exponent.
2356 (__sqr): Likewise.
2357 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2358 Likewise.
2359 (__sqr): Likewise.
2360
82a9811d
SP
2361 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2362 [!NO__SQR]: Define __sqr.
2363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2364 and NO__SQR. Remove all code except __mul and __sqr. Include
2365 sysdeps/ieee754/dbl-64/mpa.c.
2366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2367
adbb8027
SP
2368 [BZ #12723]
2369 * posix/Makefile (tests): Add tst-pathconf.
2370 * posix/tst-pathconf.c: New test case.
2371 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2372 _PC_PIPE_BUF.
2373 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2374
39120df9
PF
23752013-03-06 Patsy Franklin <pfrankli@redhat.com>
2376
2377 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2378
67525cb8
AJ
23792013-03-06 Andreas Jaeger <aj@suse.de>
2380
664a9ce4
AJ
2381 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2382 definition via __MAP_ANONYMOUS.
2383
8e39047d
AJ
2384 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2385 it's not part of Linux headers.
2386
67525cb8
AJ
2387 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2388 (MAP_HUGE_MASK): Define.
2389
2390 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2391 Define.
2392 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2393 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2394 Define.
2395 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2396 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2397 Define.
2398 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2399 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2400 Define.
2401 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2402
2403 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2404 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2405 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2406 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2407 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2408 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2409
2410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2411 Handle f2fs.
2412
2413 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2414 Handle f2fs and efivarfs.
2415
2416 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2417 f2fs.
2418
2419 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2420 (EFIVARFS_MAGIC): Add.
2421 (F2FS_LINK_MAX): Add.
2422
e1b42695
PP
24232013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2424
2425 * stdio-common/vfprintf.c: Replace __builtin_expect with
2426 __glibc_unlikely.
2427
2d67d91a
JM
24282013-03-06 Joseph Myers <joseph@codesourcery.com>
2429
2430 [BZ #13550]
2431 * sysdeps/generic/bp-sym.h: Remove file.
2432 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2433 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2434 <bp-sym.h> and <bp-asm.h>.
2435 (__longjmp): Don't use BP_SYM.
2436 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2437 and <bp-asm.h>.
2438 (memcpy): Don't use BP_SYM.
2439 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2440 <bp-sym.h> and <bp-asm.h>.
2441 (memcpy): Don't use BP_SYM.
2442 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2443 <bp-asm.h>.
2444 (memcpy): Don't use BP_SYM.
2445 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2446 <bp-asm.h>.
2447 (memset): Don't use BP_SYM.
2448 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2449 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2450 (__bzero): Don't use BP_SYM.
2451 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2452 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2453 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2454 <bp-sym.h> and <bp-asm.h>.
2455 (memcmp): Don't use BP_SYM. Remove comment about bounded
2456 pointers.
2457 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2458 <bp-sym.h> and <bp-asm.h>.
2459 (memcpy): Don't use BP_SYM.
2460 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2461 <bp-sym.h> and <bp-asm.h>.
2462 (memset): Don't use BP_SYM.
2463 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2464 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2465 (__bzero): Don't use BP_SYM.
2466 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2467 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2468 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2469 <bp-sym.h> and <bp-asm.h>.
2470 (strncmp): Don't use BP_SYM. Remove comment about bounded
2471 pointers.
2472 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2473 <bp-sym.h> and <bp-asm.h>.
2474 (memcpy): Don't use BP_SYM.
2475 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2476 <bp-sym.h> and <bp-asm.h>.
2477 (memset): Don't use BP_SYM.
2478 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2479 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2480 (__bzero): Don't use BP_SYM.
2481 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2482 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2483 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2484 <bp-sym.h> and <bp-asm.h>.
2485 (__memchr): Don't use BP_SYM.
2486 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2487 <bp-sym.h> and <bp-asm.h>.
2488 (memcmp): Don't use BP_SYM. Remove comment about bounded
2489 pointers.
2490 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2491 <bp-sym.h> and <bp-asm.h>.
2492 (memcpy): Don't use BP_SYM.
2493 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2494 <bp-sym.h> and <bp-asm.h>.
2495 (__mempcpy): Don't use BP_SYM.
2496 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2497 <bp-sym.h> and <bp-asm.h>.
2498 (__memrchr): Don't use BP_SYM.
2499 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2500 <bp-sym.h> and <bp-asm.h>.
2501 (memset): Don't use BP_SYM.
2502 (__bzero): Likewise.
2503 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2504 <bp-sym.h> and <bp-asm.h>.
2505 (__rawmemchr): Don't use BP_SYM.
2506 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2507 <bp-sym.h> and <bp-asm.h>.
2508 (__STRCMP): Don't use BP_SYM.
2509 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2510 <bp-sym.h> and <bp-asm.h>.
2511 (strchr): Don't use BP_SYM.
2512 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2513 <bp-sym.h> and <bp-asm.h>.
2514 (__strchrnul): Don't use BP_SYM.
2515 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2516 <bp-sym.h> and <bp-asm.h>.
2517 (strlen): Don't use BP_SYM.
2518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2519 <bp-sym.h> and <bp-asm.h>.
2520 (strncmp): Don't use BP_SYM. Remove comment about bounded
2521 pointers.
2522 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2523 <bp-sym.h> and <bp-asm.h>.
2524 (__strnlen): Don't use BP_SYM.
2525 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2526 <bp-sym.h> and <bp-asm.h>.
2527 (__GI__setjmp): Don't use BP_SYM.
2528 (_setjmp): Likewise.
2529 (__sigsetjmp): Likewise.
2530 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2531 (L(start_addresses)): Don't use BP_SYM.
2532 (_start): Likewise.
2533 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2534 <bp-asm.h>.
2535 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2536 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2537 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2538 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2539 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2540 <bp-asm.h>.
2541 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2542 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2543 about bounded pointers.
2544 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2545 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2546 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2547 <bp-asm.h>.
2548 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2549 about bounded pointers. Remove GKM FIXME comments.
2550 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2551 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2552 <bp-asm.h>.
2553 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2554 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2555 Remove GKM FIXME comments.
2556 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2557 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2558 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2559 <bp-asm.h>.
2560 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2561 about bounded pointers. Remove GKM FIXME comment.
2562 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2563 and <bp-asm.h>.
2564 (strncmp): Don't use BP_SYM. Remove comment about bounded
2565 pointers.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2567 <bp-sym.h> and <bp-asm.h>.
2568 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2570 <bp-sym.h> and <bp-asm.h>.
2571 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2572 comment.
2573
cdcf361f
PP
25742013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2575
2576 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2577 call free(NULL).
2578
3c4a2b15
DM
25792013-03-05 David S. Miller <davem@davemloft.net>
2580
2581 * po/es.po: Update from translation team.
2582
cdcf361f 25832013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2584
2585 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2586 <bits/mman-linux.h>.
2587 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2588 is fine.
2589 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2590 <bits/mman-linux.h> to end of file.
2591 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2592 is fine.
2593 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2594 <bits/mman-linux.h> to end of file.
2595 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2596 is fine.
2597 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2598 <bits/mman-linux.h> to end of file.
2599
2600 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2601 (MCL_CURRENT, MCL_FUTURE): Define here.
2602
5f67c04f
AK
26032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2604
8a4473cc 2605 [BZ #15232]
5f67c04f
AK
2606 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2607 attribute_hidden.
2608 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2609
c3e94a95
AK
26102013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2611
2612 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2613 fourth parameter needed for rt_sigprocmask syscall.
2614 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2615 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2616 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2617 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2618 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2619 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2620
cfb6382a
JM
26212013-03-04 Joseph Myers <joseph@codesourcery.com>
2622
2623 [BZ #13550]
2624 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2625 comment about bounded pointers.
2626 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2627 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2628
539d8e01
AJ
26292013-03-04 Andreas Jaeger <aj@suse.de>
2630
2631 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2632 common definitions.
2633
2634 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2635 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2636 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2637 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2639 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2640
2e167a70 26412013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2642
2643 [BZ #15055]
2644 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2645 __ieee754_sqrl instead of __sqrl.
2646
68508633
JM
26472013-03-01 Joseph Myers <joseph@codesourcery.com>
2648
2649 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2650 * sysdeps/powerpc/fpu_control.h: ... here.
2651 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2652 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2653 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2654 * sysdeps/powerpc/bits/mathinline.h: ... here.
2655
7775448e
RM
26562013-03-01 Roland McGrath <roland@hack.frob.com>
2657
2658 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2659 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2660 to just [NEED_DL_SYSINFO_DSO].
2661 * elf/dl-support.c: Likewise.
2662 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2663 * elf/rtld.c (dl_main): Likewise.
2664 * elf/setup-vdso.h (setup_vdso): Likewise.
2665 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2666 * sysdeps/unix/sysv/linux/dl-sysdep.c
2667 (_dl_discover_osversion): Likewise.
2668
4e9b5995
CD
26692013-03-01 Carlos O'Donell <carlos@redhat.com>
2670
2671 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2672 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2673
e23872c8
SP
26742013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2675
e5c74c63
SP
2676 * NEWS: Mention libm performance improvements and non-x86 PI
2677 futex support.
2678
e23872c8
SP
2679 * csu/libc-start.c (__pthread_initialize_minimal): Change
2680 function arguments.
2681 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2682
b5510883
JM
26832013-02-28 Joseph Myers <joseph@codesourcery.com>
2684
2685 [BZ #13550]
2686 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2687 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2688 <bp-sym.h> and <bp-asm.h>.
2689 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2690 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2691 and <bp-asm.h>.
2692 (memcpy): Don't use BP_SYM.
2693 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2694 <bp-asm.h>.
2695 (__mpn_add_n): Don't use BP_SYM.
2696 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2697 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2698 and <bp-asm.h>.
2699 (__mpn_addmul_1): Don't use BP_SYM.
2700 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2701 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2702 <bp-sym.h>.
2703 (_setjmp): Don't use BP_SYM.
2704 (__novmx_setjmp): Likewise.
2705 (__GI__setjmp): Likewise.
2706 (__vmx_setjmp): Likewise.
2707 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2708 <bp-sym.h>.
2709 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2710 (__bzero): Don't use BP_SYM.
2711 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2712 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2713 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2714 <bp-sym.h> and <bp-asm.h>.
2715 (memcpy): Don't use BP_SYM.
2716 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2717 <bp-sym.h> and <bp-asm.h>.
2718 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2719 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2720 <bp-sym.h> and <bp-asm.h>.
2721 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2722 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2723 <bp-asm.h>.
2724 (__mpn_lshift): Don't use BP_SYM.
2725 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2726 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2727 <bp-asm.h>.
2728 (memset): Don't use BP_SYM.
2729 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2730 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2731 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2732 <bp-asm.h>.
2733 (__mpn_mul_1): Don't use BP_SYM.
2734 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2735 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2736 <bp-sym.h> and <bp-asm.h>.
2737 (memcmp): Don't use BP_SYM.
2738 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2739 <bp-sym.h> and <bp-asm.h>.
2740 (memcpy): Don't use BP_SYM.
2741 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2742 <bp-sym.h> and <bp-asm.h>.
2743 (memset): Don't use BP_SYM.
2744 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2745 <bp-sym.h> and <bp-asm.h>.
2746 (strncmp): Don't use BP_SYM.
2747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2748 <bp-sym.h> and <bp-asm.h>.
2749 (memcpy): Don't use BP_SYM.
2750 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2751 <bp-sym.h> and <bp-asm.h>.
2752 (memset): Don't use BP_SYM.
2753 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2754 <bp-sym.h> and <bp-asm.h>.
2755 (__memchr): Don't use BP_SYM.
2756 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2757 <bp-sym.h> and <bp-asm.h>.
2758 (memcmp): Don't use BP_SYM.
2759 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2760 <bp-sym.h> and <bp-asm.h>.
2761 (memcpy): Don't use BP_SYM.
2762 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2763 <bp-sym.h> and <bp-asm.h>.
2764 (__mempcpy): Don't use BP_SYM.
2765 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2766 <bp-sym.h> and <bp-asm.h>.
2767 (__memrchr): Don't use BP_SYM.
2768 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2769 <bp-sym.h> and <bp-asm.h>.
2770 (memset): Don't use BP_SYM.
2771 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2772 <bp-sym.h> and <bp-asm.h>.
2773 (__rawmemchr): Don't use BP_SYM.
2774 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2775 <bp-sym.h> and <bp-asm.h>.
2776 (__STRCMP): Don't use BP_SYM.
2777 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2778 <bp-sym.h> and <bp-asm.h>.
2779 (strchr): Don't use BP_SYM.
2780 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2781 <bp-sym.h> and <bp-asm.h>.
2782 (__strchrnul): Don't use BP_SYM.
2783 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2784 <bp-sym.h> and <bp-asm.h>.
2785 (strlen): Don't use BP_SYM.
2786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2787 <bp-sym.h> and <bp-asm.h>.
2788 (strncmp): Don't use BP_SYM.
2789 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2790 <bp-sym.h> and <bp-asm.h>.
2791 (__strnlen): Don't use BP_SYM.
2792 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2793 <bp-asm.h>.
2794 (__mpn_rshift): Don't use BP_SYM.
2795 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2796 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2797 <bp-sym.h> and <bp-asm.h>.
2798 (__sigsetjmp): Don't use BP_SYM.
2799 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2800 (L(start_addresses)): Don't use BP_SYM.
2801 (_start): Likewise.
2802 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2803 <bp-asm.h>.
2804 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2805 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2806 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2807 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2808 <bp-asm.h>.
2809 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2810 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2811 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2812 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2813 <bp-asm.h>.
2814 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2815 comments.
2816 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2817 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2818 <bp-asm.h>.
2819 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2820 FIXME comments.
2821 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2822 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2823 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2824 <bp-asm.h>.
2825 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2826 comment.
2827 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2828 and <bp-asm.h>.
2829 (strncmp): Don't use BP_SYM,
2830 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2831 <bp-asm.h>.
2832 (__mpn_sub_n): Don't use BP_SYM.
2833 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2834 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2835 and <bp-asm.h>.
2836 (__mpn_submul_1): Don't use BP_SYM.
2837 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2839 <bp-sym.h> and <bp-asm.h>.
2840 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2842 <bp-sym.h> and <bp-asm.h>.
2843 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2844 comment.
2845
8d19fe64
SP
28462013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2847
2848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2849 Use ZK to minimize writes to Z.
2850 (sub_magnitudes): Simplify code a bit.
2851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2852 Use ZK to minimize writes to Z.
2853 (sub_magnitudes): Simplify code a bit.
2854
85bd816a
RM
28552013-02-27 Roland McGrath <roland@hack.frob.com>
2856
2857 * csu/gmon-start.c: Add special exception to license text.
2858
b5977bf2
RH
28592013-02-27 Richard Henderson <rth@redhat.com>
2860
2861 * scripts/config.guess: Update from config.git.
2862 * scripts/config.sub: Likewise.
2863
11d6e2f2
SP
28642013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2865
09c14ed2
SP
2866 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2867
a688864e
SP
2868 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2869
6295157a
SP
2870 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2871
b8de2202
SP
2872 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2873
11d6e2f2
SP
2874 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2875
7e80ddb8
RM
28762013-02-26 Roland McGrath <roland@hack.frob.com>
2877
2878 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2879 [$(build-shared = yes].
7e80ddb8 2880
7da6d9ed
SP
28812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2882
45f05884
SP
2883 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2884 (__mul): Reduce iterations for calculating mantissa.
2885
2236d359
SP
2886 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2887 MPTWO.
2888 (__mpranred): Likewise.
2889
7da6d9ed
SP
2890 [BZ #15160]
2891 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2892 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2893
b7688c42
PE
28942013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2895
2896 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2897 Define __attribute__.
2898
53a5c423
SP
28992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2900
2901 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2902 unused.
2903 * posix/regex_internal.h (__attribute): Remove.
2904 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2905 (re_string_context_at): Likewise.
2906 (bitset_not): Use __attribute__ and mark function as possibly
2907 unused.
2908 (bitset_merge): Likewise.
2909 (bitset_mask): Likewise.
2910 (re_string_char_size_at): Likewise.
2911 (re_string_wchar_at): Likewise.
2912 (re_string_elem_size_at): Likewise.
2913
60f5a8b5
SP
29142013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2915
2a983a2e
SP
2916 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2917 code.
2918 (cc32): Likewise.
2919
e69804d1
SP
2920 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2921 (__acr): Likewise.
2922 (__cpy): Likewise.
2923 (norm): Likewise.
2924 (denorm): Likewise.
2925 (__dbl_mp): Likewise.
2926 (add_magnitudes): Likewise.
2927 (sub_magnitudes): Likewise.
2928 (__mul): Likewise.
2929 (__inv): Likewise.
2930
2f22a1e8
SP
2931 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2932 style.
2933
8930ddc7
SP
2934 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2935 style.
2936
dc60cb11
SP
2937 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2938 code.
2939
60f5a8b5
SP
2940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2941 up changes with default code.
2942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2943 Likewise.
2944
b4d1fd33
AM
29452013-02-24 Allan McRae <allan@archlinux.org>
2946
faf6f8bc
AM
2947 * manual/socket.texi (The Internet Namespace): Order menu items
2948 to match that in the file.
2949
b4d1fd33
AM
2950 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2951 node listing of the info page menu.
2952
2366713d
JM
29532013-02-21 Joseph Myers <joseph@codesourcery.com>
2954
2955 [BZ #13550]
2956 * sysdeps/i386/bp-asm.h: Remove file.
2957 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2958 (PARMS): Do not use macros from bp-asm.h.
2959 (S1): Likewise.
2960 (S2): Likewise.
2961 (SIZE): Likewise.
2962 (__mpn_add_n): Do not use BP_SYM
2963 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2964 "bp-asm.h".
2965 (PARMS): Do not use macros from bp-asm.h.
2966 (S1): Likewise.
2967 (SIZE): Likewise.
2968 (__mpn_addmul_1): Do not use BP_SYM
2969 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2970 "bp-asm.h".
2971 (PARMS): Do not use macros from bp-asm.h.
2972 (SIGMSK): Likewise.
2973 (_setjmp): Likewise. Do not use BP_SYM.
2974 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2975 "bp-asm.h".
2976 (PARMS): Do not use macros from bp-asm.h.
2977 (SIGMSK): Likewise.
2978 (setjmp): Likewise. Do not use BP_SYM.
2979 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2980 "bp-asm.h".
2981 (PARMS): Do not use macros from bp-asm.h.
2982 (__frexp): Do not use BP_SYM.
2983 (frexp): Likewise.
2984 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2985 "bp-asm.h".
2986 (PARMS): Do not use macros from bp-asm.h.
2987 (__frexpf): Do not use BP_SYM.
2988 (frexpf): Likewise.
2989 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2990 "bp-asm.h".
2991 (PARMS): Do not use macros from bp-asm.h.
2992 (__frexpl): Do not use BP_SYM.
2993 (frexpl): Likewise.
2994 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2995 "bp-asm.h".
2996 (PARMS): Do not use macros from bp-asm.h.
2997 (__remquo): Do not use BP_SYM.
2998 (remquo): Likewise.
2999 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3000 "bp-asm.h".
3001 (PARMS): Do not use macros from bp-asm.h.
3002 (__remquof): Do not use BP_SYM.
3003 (remquof): Likewise.
3004 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3005 "bp-asm.h".
3006 (PARMS): Do not use macros from bp-asm.h.
3007 (__remquol): Do not use BP_SYM.
3008 (remquol): Likewise.
3009 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3010 "bp-asm.h".
3011 (PARMS): Do not use macros from bp-asm.h.
3012 (DEST): Likewise.
3013 (SRC): Likewise.
3014 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3015 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3016 "bp-asm.h".
3017 (PARMS): Do not use macros from bp-asm.h.
3018 (strlen): Do not use BP_SYM.
3019 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3020 "bp-asm.h".
3021 (PARMS): Do not use macros from bp-asm.h.
3022 (S1): Likewise.
3023 (S2): Likewise.
3024 (SIZE): Likewise.
3025 (__mpn_add_n): Do not use BP_SYM.
3026 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3027 "bp-asm.h".
3028 (PARMS): Do not use macros from bp-asm.h.
3029 (S1): Likewise.
3030 (SIZE): Likewise.
3031 (__mpn_addmul_1): Do not use BP_SYM.
3032 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3033 weak_alias.
3034 (bzero): Likewise.
3035 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3036 "bp-asm.h".
3037 (PARMS): Do not use macros from bp-asm.h.
3038 (S): Likewise.
3039 (SIZE): Likewise.
3040 (__mpn_lshift): Do not use BP_SYM.
3041 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3042 "bp-asm.h".
3043 (PARMS): Do not use macros from bp-asm.h.
3044 (DEST): Likewise.
3045 (SRC): Likewise.
3046 (LEN): Likewise.
3047 (memcpy): Likewise. Do not use BP_SYM.
3048 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3049 libc_hidden_def and weak_alias.
3050 (mempcpy): Do not use BP_SYM in weak_alias.
3051 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3052 "bp-asm.h".
3053 (PARMS): Do not use macros from bp-asm.h.
3054 (DEST): Likewise.
3055 (LEN): Likewise.
3056 [!BZERO_P] (CHR): Likewise.
3057 (memset): Likewise. Do not use BP_SYM.
3058 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3059 "bp-asm.h".
3060 (PARMS): Do not use macros from bp-asm.h.
3061 (S1): Likewise.
3062 (SIZE): Likewise.
3063 (__mpn_mul_1): Do not use BP_SYM.
3064 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3065 "bp-asm.h".
3066 (PARMS): Do not use macros from bp-asm.h.
3067 (S): Likewise.
3068 (SIZE): Likewise.
3069 (__mpn_rshift): Do not use BP_SYM.
3070 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3071 "bp-asm.h".
3072 (PARMS): Do not use macros from bp-asm.h.
3073 (STR): Likewise.
3074 (CHR): Likewise.
3075 (strchr): Likewise. Do not use BP_SYM.
3076 (index): Do not use BP_SYM in weak_alias.
3077 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3078 "bp-asm.h".
3079 (PARMS): Do not use macros from bp-asm.h.
3080 (DEST): Likewise.
3081 (SRC): Likewise.
3082 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3083 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3084 "bp-asm.h".
3085 (PARMS): Do not use macros from bp-asm.h.
3086 (strlen): Do not use BP_SYM.
3087 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3088 "bp-asm.h".
3089 (PARMS): Do not use macros from bp-asm.h.
3090 (S1): Likewise.
3091 (S2): Likewise.
3092 (SIZE): Likewise.
3093 (__mpn_sub_n): Do not use BP_SYM.
3094 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3095 "bp-asm.h".
3096 (PARMS): Do not use macros from bp-asm.h.
3097 (S1): Likewise.
3098 (SIZE): Likewise.
3099 (__mpn_submul_1): Do not use BP_SYM.
3100 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3101 "bp-asm.h".
3102 (PARMS): Do not use macros from bp-asm.h.
3103 (S1): Likewise.
3104 (S2): Likewise.
3105 (SIZE): Likewise.
3106 (__mpn_add_n): Do not use BP_SYM.
3107 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3108 weak_alias.
3109 (bzero): Likewise.
3110 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3111 "bp-asm.h".
3112 (PARMS): Do not use macros from bp-asm.h.
3113 (BLK2): Likewise.
3114 (LEN): Likewise.
3115 (memcmp): Do not use BP_SYM.
3116 (bcmp): Do not use BP_SYM in weak_alias.
3117 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3118 "bp-asm.h".
3119 (PARMS): Do not use macros from bp-asm.h.
3120 (DEST): Likewise.
3121 (SRC): Likewise.
3122 (LEN): Likewise.
3123 (memcpy): Likewise. Do not use BP_SYM.
3124 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3125 "bp-asm.h".
3126 (PARMS): Do not use macros from bp-asm.h.
3127 (DEST): Likewise.
3128 (SRC): Likewise.
3129 (LEN): Likewise.
3130 (memmove): Likewise. Do not use BP_SYM.
3131 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3132 "bp-asm.h".
3133 (PARMS): Do not use macros from bp-asm.h.
3134 (DEST): Likewise.
3135 (SRC): Likewise.
3136 (LEN): Likewise.
3137 (__mempcpy): Likewise. Do not use BP_SYM.
3138 (mempcpy): Do not use BP_SYM in weak_alias.
3139 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3140 "bp-asm.h".
3141 (PARMS): Do not use macros from bp-asm.h.
3142 (DEST): Likewise.
3143 (LEN): Likewise.
3144 [!BZERO_P] (CHR): Likewise.
3145 (memset): Likewise. Do not use BP_SYM.
3146 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3147 "bp-asm.h".
3148 (PARMS): Do not use macros from bp-asm.h.
3149 (STR2): Likewise.
3150 (strcmp): Do not use BP_SYM.
3151 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3152 "bp-asm.h".
3153 (PARMS): Do not use macros from bp-asm.h.
3154 (STR): Likewise.
3155 (DELIM): Likewise.
3156 [USE_AS_STRTOK_R] (SAVE): Likewise.
3157 (FUNCTION): Likewise. Do not use BP_SYM.
3158 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3159 aliases.
3160 (strtok_r): Likewise.
3161 (__GI___strtok_r): Likewise.
3162 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3163 (PARMS): Do not use macros from bp-asm.h.
3164 (S): Likewise.
3165 (SIZE): Likewise.
3166 (__mpn_lshift): Do not use BP_SYM.
3167 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3168 (PARMS): Do not use macros from bp-asm.h.
3169 (STR): Likewise.
3170 (CHR): Likewise.
3171 (__memchr): Do not use BP_SYM.
3172 (memchr): Do not use BP_SYM in weak_alias.
3173 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3174 (PARMS): Do not use macros from bp-asm.h.
3175 (BLK2): Likewise.
3176 (LEN): Likewise.
3177 (memcmp): Do not use BP_SYM.
3178 (bcmp): Do not use BP_SYM in weak_alias.
3179 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3180 (PARMS): Do not use macros from bp-asm.h.
3181 (S1): Likewise.
3182 (SIZE): Likewise.
3183 (__mpn_mul_1): Do not use BP_SYM.
3184 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3185 "bp-asm.h".
3186 (PARMS): Do not use macros from bp-asm.h.
3187 (STR): Likewise.
3188 (CHR): Likewise.
3189 (__rawmemchr): Do not use BP_SYM.
3190 (rawmemchr): Do not use BP_SYM in weak_alias.
3191 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3192 (PARMS): Do not use macros from bp-asm.h.
3193 (S): Likewise.
3194 (SIZE): Likewise.
3195 (__mpn_rshift): Do not use BP_SYM.
3196 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3197 (PARMS): Do not use macros from bp-asm.h.
3198 (SIGMSK): Likewise.
3199 (__sigsetjmp): Likewise. Do not use BP_SYM.
3200 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3201 (_start): Do not use BP_SYM.
3202 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3203 (PARMS): Do not use macros from bp-asm.h.
3204 (DEST): Likewise.
3205 (SRC): Likewise.
3206 (__stpcpy): Likewise. Do not use BP_SYM.
3207 (stpcpy): Do not use BP_SYM in weak_alias.
3208 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3209 "bp-asm.h".
3210 (PARMS): Do not use macros from bp-asm.h.
3211 (DEST): Likewise.
3212 (SRC): Likewise.
3213 (LEN): Likewise.
3214 (__stpncpy): Likewise. Do not use BP_SYM.
3215 (stpncpy): Do not use BP_SYM in weak_alias.
3216 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3217 (PARMS): Do not use macros from bp-asm.h.
3218 (STR): Likewise.
3219 (CHR): Likewise.
3220 (strchr): Likewise. Do not use BP_SYM.
3221 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3222 "bp-asm.h".
3223 (PARMS): Do not use macros from bp-asm.h.
3224 (STR): Likewise.
3225 (CHR): Likewise.
3226 (__strchrnul): Likewise. Do not use BP_SYM.
3227 (strchrnul): Do not use BP_SYM in weak_alias.
3228 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3229 "bp-asm.h".
3230 (PARMS): Do not use macros from bp-asm.h.
3231 (STOP): Likewise.
3232 (strcspn): Do not use BP_SYM.
3233 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3234 "bp-asm.h".
3235 (PARMS): Do not use macros from bp-asm.h.
3236 (STR): Likewise.
3237 (STOP): Likewise.
3238 (strpbrk): Likewise. Do not use BP_SYM.
3239 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3240 "bp-asm.h".
3241 (PARMS): Do not use macros from bp-asm.h.
3242 (STR): Likewise.
3243 (CHR): Likewise.
3244 (strrchr): Likewise. Do not use BP_SYM.
3245 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3246 (PARMS): Do not use macros from bp-asm.h.
3247 (SKIP): Likewise.
3248 (strspn): Do not use BP_SYM.
3249 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3250 (PARMS): Do not use macros from bp-asm.h.
3251 (STR): Likewise.
3252 (DELIM): Likewise.
3253 (SAVE): Likewise.
3254 (FUNCTION): Likewise. Do not use BP_SYM.
3255 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3256 aliases.
3257 (strtok_r): Likewise.
3258 (__GI___strtok_r): Likewise.
3259 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3260 (PARMS): Do not use macros from bp-asm.h.
3261 (S1): Likewise.
3262 (S2): Likewise.
3263 (SIZE): Likewise.
3264 (__mpn_sub_n): Do not use BP_SYM.
3265 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3266 "bp-asm.h".
3267 (PARMS): Do not use macros from bp-asm.h.
3268 (S1): Likewise.
3269 (SIZE): Likewise.
3270 (__mpn_submul_1): Do not use BP_SYM.
3271 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3272 <bp-sym.h>.
3273 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3274 and <bp-asm.h>.
3275 (PARMS): Do not use macros from bp-asm.h.
3276 (FLAGS): Likewise.
3277 (PTID): Likewise.
3278 (TLS): Likewise.
3279 (CTID): Likewise.
3280 (__clone): Do not use BP_SYM.
3281 (clone): Do not use BP_SYM in weak_alias.
3282 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3283 and <bp-asm.h>.
3284 (PARMS): Do not use macros from bp-asm.h.
3285 (LEN): Likewise.
3286 (__mmap64): Do not use BP_SYM.
3287 (mmap64): Do not use BP_SYM in weak_alias.
3288 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3289 <bp-sym.h> and <bp-asm.h>.
3290 (PARMS): Do not use macros from bp-asm.h.
3291 (__posix_fadvise64_l64): Do not use BP_SYM.
3292 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3293 (PARMS): Do not use macros from bp-asm.h.
3294 (NSOPS): Likewise.
3295 (semtimedop): Do not use BP_SYM.
3296 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3297 and <bp-asm.h>.
3298
582a3cff
AM
32992013-02-21 Allan McRae <allan@archlinux.org>
3300
3301 * manual/message.texi (Charset conversion in gettext):
3302 Move @end statement to beginning of line.
3303
bab8a695
SP
33042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3305
80945231
SP
3306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3307 static.
3308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3309 Likewise.
3310
bab8a695
SP
3311 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3312 (denorm): Likewise.
3313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3315
e21d7aa7
AK
33162013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3317
3318 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3319 tail-call to the resolved function if pltexit isn't needed.
3320
4c7a4263
SP
33212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3322
3323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3324 or Y being zero as being unlikely.
3325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3326 Likewise.
3327
41f49342
CD
33282013-02-20 Carlos O'Donell <carlos@redhat.com>
3329
3330 * manual/nss.texi (System Databases and Name Service Switch):
3331 Remove frobnicate @pxref.
3332
50022a93
TS
33332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3334
3335 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3336 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3337
08cbd996
PM
33382013-02-20 Petr Machata <pmachata@redhat.com>
3339
3340 * elf/elf.h (R_ARM_TARGET1): New macro.
3341 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3342 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3343 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3344 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3345 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3346 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3347 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3348 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3349 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3350 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3351 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3352 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3353 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3354 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3355 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3356 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3357 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3358 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3359 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3360 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3361 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3362 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3363 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3364 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3365 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3366 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3367 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3368 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3369 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3370 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3371 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3372 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3373 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3374 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3375 (R_ARM_THM_GOT_BREL12): Likewise.
3376 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3377 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3378 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3379 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3380 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3381 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3382 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3383 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3384 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3385
c7b275d6
TS
33862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3387
3388 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3389 __attribute_used__ to __attribute__ ((unused)).
3390
20cd7fb3
SP
33912013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3392
3393 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3394 powerpc mpa.c.
3395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3396 comment formatting.
3397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3398
92945b52
JM
33992013-02-19 Joseph Myers <joseph@codesourcery.com>
3400
3401 [BZ #13550]
3402 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3403 Remove macro.
3404 (ENTER): Remove both macro definitions.
3405 (LEAVE): Likewise.
3406 (CHECK_BOUNDS_LOW): Likewise.
3407 (CHECK_BOUNDS_HIGH): Likewise.
3408 (CHECK_BOUNDS_BOTH): Likewise.
3409 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3410 (RETURN_BOUNDED_POINTER): Likewise.
3411 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3412 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3413 (POP_ERRNO_LOCATION_RETURN): Likewise.
3414 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3415 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3416 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3417 macros.
3418 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3419 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3420 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3421 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3422 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3423 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3424 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3425 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3426 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3427 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3428 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3429 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3430 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3431 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3432 removed macros.
3433 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3434 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3435 macros.
3436 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3437 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3438 * sysdeps/i386/i586/memset.S (memset): Likewise.
3439 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3440 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3441 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3442 macros.
3443 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3444 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3445 Change uses of L(2) to L(out).
3446 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3447 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3448 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3449 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3450 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3451 removed macros.
3452 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3453 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3454 macros.
3455 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3456 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3457 (RETURN): Do not use macro LEAVE.
3458 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3459 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3460 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3461 * sysdeps/i386/i686/memset.S (memset): Likewise.
3462 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3463 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3464 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3465 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3466 Likewise.
3467 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3468 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3469 L(1_2) and L(1_3) into L(1).
3470 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3471 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3472 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3473 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3474 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3475 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3476 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3477 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3478 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3479 macros.
3480 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3481 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3482 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3483 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3484 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3485 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3486 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3487 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3488 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3489 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3490 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3491 * sysdeps/i386/strspn.S (strspn): Likewise.
3492 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3493 conditional code.
3494 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3495 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3496 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3497 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3498 L(1_3) into L(1_1).
3499 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3500 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3501 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3502 macros.
3503 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3504
2389741a
JJ
35052013-02-19 Jakub Jelinek <jakub@redhat.com>
3506
3507 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3508 macro.
3509
2016b3cd
SP
35102013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3511
e4f22324
SP
3512 * math/atest-exp.c (exp_mpn): Remove ROUND.
3513 * math/atest-exp2.c (exp_mpn): Likewise.
3514 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3515
2016b3cd
SP
3516 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3517 * stdlib/tst-tls-atexit-lib.c: Likewise.
3518 * stdlib/tst-tls-atexit.c: Likewise.
3519
4be9b544
MF
35202013-02-18 Mike Frysinger <vapier@gentoo.org>
3521
3522 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3523 and __attribute_alloc_size__.
3524
2f62b9ee
MF
35252013-02-18 Mike Frysinger <vapier@gentoo.org>
3526
3527 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3528 __attribute_alloc_size__.
3529 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3530 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3531
6ff444c4
MF
35322013-02-18 Mike Frysinger <vapier@gentoo.org>
3533
3534 * include/programs/xmalloc.h: New file.
3535 * catgets/gencat.c: Include it.
3536 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3537 * elf/pldd.c: Likewise.
3538 * iconv/iconv_charmap.c: Likewise.
3539 * iconv/iconvconfig.c: Likewise.
3540 * iconv/strtab.c: Likewise.
3541 * locale/programs/locale.c: Likewise.
3542 * locale/programs/localedef.h: Likewise.
3543 * locale/programs/simple-hash.c: Likewise.
3544 * nscd/nscd.h: Likewise.
3545 * nss/makedb.c: Likewise.
3546 * sysdeps/generic/ldconfig.h: Likewise.
3547
be179c8a
SP
35482013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3549
ba384f6e
SP
3550 * Versions.def: Add GLIBC_2.18.
3551 * include/link.h (struct link_map): New member l_tls_dtor_count.
3552 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3553 (__call_tls_dtors): Likewise.
3554 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3555 __cxa_thread_atexit_impl.
3556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3557 Likewise.
3558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3559 Likewise.
3560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3561 Likewise.
3562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3563 Likewise.
3564 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3566 Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3568 Likewise.
3569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3571 Likewise.
3572 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3573 (tests): Add test case tst-tls-atexit.
3574 (modules-names): Add shared library for tst-tls-atexit.
3575 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3576 (GLIBC_PRIVATE): Add __call_tls_dtors.
3577 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3578 for libstdc++.
3579 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3580 * stdlib/tst-tls-atexit.c: New test case.
3581 * stdlib/tst-tls-atexit-lib.c: New test case.
3582
ffaa74cf 3583 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3584
be179c8a
SP
3585 * elf/Versions (ld): Add _dl_find_dso_for_object.
3586 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3587 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3588 (dl_open_worker): Use _dl_find_dso_for_object.
3589 * elf/dl-sym.c (do_sym): Likewise.
3590 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3591
f78b5caa
AK
35922013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3593
3594 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3595 Syntactic changes only.
3596 (_dl_runtime_profile): Do a tail-call to the resolved function.
3597
29691210
JM
35982013-02-17 Joseph Myers <joseph@codesourcery.com>
3599
3600 [BZ #13550]
3601 * sysdeps/x86_64/bp-asm.h: Remove file.
3602 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3603 <bp-sym.h> and <bp-asm.h>.
3604 (__clone): Do not use BP_SYM.
3605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3606 <bp-sym.h> and <bp-asm.h>.
3607 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3608 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3609 "bp-asm.h".
3610 (_setjmp): Do not use BP_SYM.
3611 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3612 "bp-asm.h".
3613 (setjmp): Do not use BP_SYM.
3614 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3615 libc_hidden_def.
3616 (mempcpy): Do not use BP_SYM in weak_alias.
3617 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3618 "bp-asm.h".
3619 (strchr): Do not use BP_SYM.
3620 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3621 "bp-asm.h".
3622 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3623 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3624 (_start): Do not use BP_SYM.
3625 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3626 "bp-asm.h".
3627 (strcat): Do not use BP_SYM.
3628 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3629 "bp-asm.h".
3630 (STRCMP): Do not use BP_SYM.
3631 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3632 "bp-asm.h".
3633 (STRCPY): Do not use BP_SYM.
3634 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3635 "bp-asm.h".
3636 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3637 "bp-asm.h".
3638 (FUNCTION): Do not use BP_SYM.
3639 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3640 weak_alias.
3641 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3642
f238fd19
AJ
36432013-02-17 Andreas Jaeger <aj@suse.de>
3644
3645 * time/Versions: Sort entries.
3646 * string/Versions: Likewise.
3647 * resolv/Versions: Likewise.
3648 * posix/Versions: Likewise.
3649 * iconv/Versions: Likewise.
3650 * elf/Versions: Likewise.
3651 * wcsmbs/Versions: Likewise.
3652
bd07f23c 36532013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3654
22af19f9
SP
3655 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3656 loop termination condition.
3657
4709fe76
SP
3658 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3659 variable to calculate EZ.
3660 (__sqr): Likewise.
2d0e0f29
SP
3661
3662 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3663 the lower precision input.
3664
daaa7713
JM
36652013-02-15 Joseph Myers <joseph@codesourcery.com>
3666
3667 [BZ #13550]
3668 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3669 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3670 (run-via-rtld-prefix): Do not handle %-bp tests.
3671 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3672 (all-object-suffixes): Remove .ob.
3673 (bppfx): Remove variable.
3674 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3675 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3676 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3677 [$(build-bounded) = yes] (libtype.ob): Likewise.
3678 * Makerules (elide-routines.ob): Remove variable.
3679 (do-tests-clean): Do not handle *-bp.out.
3680 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3681 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3682 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3683 (tests): Do not include $(tests-bp.out).
3684 (xtests): Do not include $(xtests-bp.out).
3685 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3686 [$(build-bounded) = yes] ($(addprefix
3687 $(objpfx),$(binaries-bounded))): Remove rule.
3688 ($(objpfx)%-bp.out): Remove rule.
3689 * config.make.in (build-bounded): Remove variable.
3690 * crypt/Makefile [$(build-bounded) = yes]
3691 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3692 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3693 append to variable.
3694 [$(build-bounded) = yes] (install-lib): Likewise.
3695 [$(build-bounded) = yes] (generated): Likewise.
3696 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3697 Remove rule.
3698 * intl/Makefile [$(build-bounded) = yes]
3699 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3700 * math/Makefile [$(build-bounded) = yes]
3701 ($(tests:%=$(objpfx)%-bp): Likewise.
3702 * misc/Makefile [$(build-bounded) = yes]
3703 ($(objpfx)tst-tsearch-bp): Likewise.
3704 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3705 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3706 Remove dependency.
3707 * string/Makefile (o-objects.ob): Remove variable.
3708 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3709 (CFLAGS-.ob): Remove variable.
3710 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3711 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3712 both definitions of variable.
3713 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3714 (ASFLAGS-.ob): Remove variable.
3715
e97ed6dd
JM
37162013-02-14 Joseph Myers <joseph@codesourcery.com>
3717
2bdd4ca6
JM
3718 [BZ #13550]
3719 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3720 Remove __BOUNDED_POINTERS__ from condition.
3721 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3722 * string/bits/string2.h [!__NO_STRING_INLINES &&
3723 !__BOUNDED_POINTERS__]: Likewise.
3724 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3725 Likewise.
3726 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3727 Remove conditional code.
3728 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3729 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3730 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3731 condition.
3732
e97ed6dd
JM
3733 [BZ #13550]
3734 * csu/libc-start.c: Do not include <bp-sym.h>.
3735 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3736 * elf/dl-open.c: Do not include <bp-sym.h>.
3737 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3738 * math/fegetenv.c: Do not include <bp-sym.h>.
3739 (fegetenv): Do not use BP_SYM in versioned symbols.
3740 * nptl/sysdeps/pthread/bits/libc-lockP.h
3741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3742 <bp-sym.h>.
3743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3744 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3746 (__pthread_mutex_destroy): Likewise.
3747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3748 (__pthread_mutex_lock): Likewise.
3749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3750 (__pthread_mutex_trylock): Likewise.
3751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3752 (__pthread_mutex_unlock): Likewise.
3753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3754 (__pthread_mutexattr_init): Likewise.
3755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3756 (__pthread_mutexattr_destroy): Likewise.
3757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3758 (__pthread_mutexattr_settype): Likewise.
3759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3760 (__pthread_rwlock_init): Likewise.
3761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3762 (__pthread_rwlock_destroy): Likewise.
3763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3764 (__pthread_rwlock_rdlock): Likewise.
3765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3766 (__pthread_rwlock_tryrdlock): Likewise.
3767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3768 (__pthread_rwlock_wrlock): Likewise.
3769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3770 (__pthread_rwlock_trywrlock): Likewise.
3771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3772 (__pthread_rwlock_unlock): Likewise.
3773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3774 (__pthread_key_create): Likewise.
3775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3776 (__pthread_setspecific): Likewise.
3777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3778 (__pthread_getspecific): Likewise.
3779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3780 Likewise.
3781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3782 (_pthread_cleanup_push_defer): Likewise.
3783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3784 (_pthread_cleanup_pop_restore): Likewise.
3785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3786 (pthread_setcancelstate): Likewise.
3787 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3788 <bp-sym.h>.
3789 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3790 (memchr): Do not use BP_SYM in weak_alias.
3791 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3792 (fegetenv): Do not use BP_SYM in versioned symbols.
3793 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3794 (fesetenv): Do not use BP_SYM in versioned symbols.
3795 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3796 (feupdateenv): Do not use BP_SYM in versioned symbols.
3797 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3798 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3799 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3800 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3801 (open64): Do not use BP_SYM in weak_alias.
3802 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3803 (fegetenv): Do not use BP_SYM in versioned symbols.
3804 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3805 (fesetenv): Do not use BP_SYM in versioned symbols.
3806 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3807 (feupdateenv): Do not use BP_SYM in versioned symbols.
3808 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3809 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3810 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3811 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3812 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3813 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3814 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3815 <bp-sym.h>.
3816 (__libc_start_main): Do not use BP_SYM.
3817
d6752ccd
SP
38182013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3819
cb57ce60
SP
3820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3821 redundant return line.
3822 (norm): Likewise.
3823 (denorm): Likewise.
3824 (dbl_mp): Likewise.
3825 (sub_magnitudes): Likewise.
3826 (__add): Likewise.
3827 (__sub): Likewise.
3828 (__mul): Likewise.
3829 (__inv): Likewise.
3830 (__dvd): Likewise.
3831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3832 (norm): Likewise.
3833 (denorm): Likewise.
3834 (dbl_mp): Likewise.
3835 (sub_magnitudes): Likewise.
3836 (__add): Likewise.
3837 (__sub): Likewise.
3838 (__mul): Likewise.
3839 (__inv): Likewise.
3840 (__dvd): Likewise.
3841
f414520d
SP
3842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3843 instead of __mul.
3844 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3845 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3846 (cc32): Likewise.
3847
d6752ccd
SP
3848 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3849 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3851 of __mul for squares.
3852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3853 function
3854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3855 Likewise.
3856 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3857 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3858
70d9946a
JM
38592013-02-13 Joseph Myers <joseph@codesourcery.com>
3860
3861 [BZ #13550]
3862 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3863 code.
3864 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3865 prototype or function definition. Rename ubp_* variables and
3866 parameters. Remove argv definitions conditional on
3867 [__BOUNDED_POINTERS__].
3868 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3869 * elf/dl-runtime.c (_dl_fixup): Likewise.
3870 * include/set-hooks.h (RUN_HOOK): Likewise.
3871 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3872 definition.
3873 * string/strcpy.c (strcpy): Do not use __unbounded.
3874 * sysdeps/generic/frame.h (struct layout): Likewise.
3875 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3876 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3877 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3878 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3879 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3880 (__backtrace): Likewise.
3881 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3882 use __ptrvalue.
3883 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3884 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3885 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3886 Likewise.
3887 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3888 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3889 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3890 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3891 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3892 Do not use __unbounded.
3893 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3894 Rename __unboundedrlimits parameter to rlimits in prototype.
3895 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3896 Do not use __unbounded.
3897 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3898 not use __ptrvalue.
3899 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3900 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3901 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3902 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3903 __ptrvalue or __unbounded.
3904 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3905 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3906 use __unbounded.
3907 (__new_msgctl): Do not use __ptrvalue.
3908 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3909 __unbounded.
3910 (__libc_msgrcv): Do not use __ptrvalue.
3911 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3912 startup_info): Do not use __unbounded.
3913 (__libc_start_main): Likewise. Rename ubp_* variables and
3914 parameters. Remove argv definitions conditional on
3915 [__BOUNDED_POINTERS__].
3916 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3917 __ptrvalue.
3918 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3919 use __unbounded.
3920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3921 or __ptrvalue.
3922 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3923 use __unbounded.
3924 (__new_shmctl): Do not use __ptrvalue.
3925 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3926 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3927 Likewise.
3928 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3929 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3930 (__libc_sigaction): Likewise.
3931 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3932 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3933 Likewise.
3934 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3935
cc7834d6
OB
39362013-02-13 Ondřej Bílka <neleai@seznam.cz>
3937
ffb1ec7b 3938 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3939
3940 * string/mempcpy.c: Implement by calling memcpy.
3941
bdf02814
SP
39422013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3943
c2af38aa
SP
3944 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3945
4e92d59e
SP
3946 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3947 evaluation.
3948
909279a5
SP
3949 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3950 values in the mantissa.
3951
bdf02814
SP
3952 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3953 minimize writes to Z.
3954 (sub_magnitudes): Simplify code a bit.
3955
cd525923
RM
39562013-02-12 Roland McGrath <roland@hack.frob.com>
3957
3958 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3959 from the message. The linker prefixes all warnings with that already.
3960
7e2f0d2d
AS
39612013-02-12 Andreas Schwab <schwab@suse.de>
3962
a445af0b
AS
3963 [BZ #15078]
3964 * posix/regexec.c (extend_buffers): Add parameter min_len.
3965 (check_matching): Pass minimum needed length.
3966 (clean_state_log_if_needed): Likewise.
3967 (get_subexp): Likewise.
3968 * posix/Makefile (tests): Add bug-regex34.
3969 (bug-regex34-ENV): Define.
3970 * posix/bug-regex34.c: New file.
3971
7e2f0d2d
AS
3972 [BZ #11561]
3973 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3974 elements compare against the byte sequence of it, not its name.
3975 * posix/Makefile (tests): Add bug-regex35.
3976 (bug-regex35-ENV): Define.
3977 * posix/bug-regex35.c: New file.
3978
a175b684
TV
39792013-02-11 Tom de Vries <tom@codesourcery.com>
3980
3981 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3982 comment.
3983 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3984 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3985 (CHECK_EOL): Add undef.
3986
310998fe 39872013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3988
3989 * bits/stdlib-bsearch.h: New file.
3990 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3991 * stdlib/stdlib.h: Likewise.
41eda41d 3992
8ded91fb
RM
39932013-02-11 Roland McGrath <roland@hack.frob.com>
3994
3995 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3996 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3997 declaration.
3998 * manual/search.texi (Array Search Function): Add missing const in
3999 lfind prototype.
4000 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4001 declaration to use rlim_t.
4002 (Basic Scheduling Functions): Remove erroneous const from
4003 sched_getparam prototype. Remove erroneous * from
4004 sched_get_priority_max and sched_get_priority_min prototypes.
4005 (Resource Usage): Fix summary @comment on vtimes to refer to
4006 sys/vtimes.h rather than vtimes.h.
4007 Add missing *s in vtimes prototype.
4008 (Limits on Resources): Fix ulimit prototype to return long int.
4009 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4010 prototypes to use long int rather than double.
4011 (BSD Random): Fix initstate and setstate to use char *, not void *.
4012 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4013 prototype to make second argument 'struct aiocb64 *const[]'.
4014 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4015 (Status of AIO Operations): Remove erroneous const in aio_return and
4016 aio_return64 prototypes.
4017 (Synchronizing I/O): Fix sync prototype to return void.
4018 * manual/startup.texi (Suboptions): Remove an erroneous const in
4019 getsubopt prototype.
4020 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4021 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4022 use size_t rather than int.
4023 (Scanning All Users): Likewise for getpwent_r.
4024 (Setting Groups): Add missing const to setgroups prototype.
4025 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4026 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4027 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4028 'const void *' rather than 'const char *'.
4029 (Host Address Functions): Likewise for inet_ntop.
4030 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4031 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4032 ssize_t for return value.
4033 (Sending Data): Likewise for send, sendto, sendmsg.
4034 (Socket Option Functions): Add a missing const in setsockopt prototype.
4035 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4036 use wchar_t for the argument.
4037 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4038 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4039 take no arguments.
4040 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4041 double/float/long double for second argument.
4042 Fix return types of significand, significandf, significandl.
4043 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4044 argument in fchmod prototype.
4045 (File Owner): Use uid_t and gid_t in fchown prototype.
4046 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4047 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4048 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4049 use 'const struct dirent **' as argument types to CMP function pointer
4050 argument.
4051 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4052 (File Times): Fix summary magic @comment for struct utimbuf and utime
4053 to refer to utime.h, not time.h.
4054 * manual/string.texi (Argz Functions): Add missing const in
4055 argz_extract and argz_next prototypes.
4056 (Finding Tokens in a String): Likewise for basename.
4057 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4058 (Copying and Concatenation): Fix typo in wmemmove prototype.
4059 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4060 (Signal Stack): Remove erroneous const in sigstack prototype.
4061 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4062 prototype.
4063 (Simple Calendar Time): Likewise for stime.
4064 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4065 prototype.
4066 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4067 say sys/sysctl.h instead.
4068 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4069 and vsyslog prototypes.
4070
fe77fe6d
TV
40712013-02-11 Tom de Vries <tom@codesourcery.com>
4072
4073 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4074 Remove.
4075
3a09b620
RM
40762013-02-11 Roland McGrath <roland@hack.frob.com>
4077
4078 * misc/sys/mman.h: Fix typo in mremap comment.
4079
550a0b89
RM
40802013-02-08 Roland McGrath <roland@hack.frob.com>
4081
4082 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4083 the '\0' terminator.
4084
a2da1673
JM
40852013-02-08 Joseph Myers <joseph@codesourcery.com>
4086
4087 [BZ #13550]
4088 * debug/segfault.c: Don't include <bp-checks.h>.
4089 * sysdeps/generic/bp-checks.h: Remove file.
4090 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4091 (__GETDENTS): Don't use CHECK_N.
4092 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4093 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4094 (__getgroups): Don't use CHECK_N.
4095 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4096 (setgroups): Don't use CHECK_N.
4097 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4098 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4099 (__libc_msgrcv): Don't use CHECK_N.
4100 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4101 (__libc_msgsnd): Don't use CHECK_N.
4102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4103 <bp-checks.h>.
4104 (__libc_pread): Don't use CHECK_N.
4105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4106 include <bp-checks.h>.
4107 (__libc_pread64): Don't use CHECK_N.
4108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4109 include <bp-checks.h>.
4110 (__libc_pwrite): Don't use CHECK_N.
4111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4112 include <bp-checks.h>.
4113 (__libc_pwrite64): Don't use CHECK_N.
4114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4115 <bp-checks.h>.
4116 (__libc_pread): Don't use CHECK_N.
4117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4118 include <bp-checks.h>.
4119 (__libc_pread64): Don't use CHECK_N.
4120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4121 include <bp-checks.h>.
4122 (__libc_pwrite): Don't use CHECK_N.
4123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4124 include <bp-checks.h>.
4125 (__libc_pwrite64): Don't use CHECK_N.
4126 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4127 (do_pread): Don't use CHECK_N.
4128 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4129 (do_pread64): Don't use CHECK_N.
4130 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4131 (do_pwrite): Don't use CHECK_N.
4132 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4133 (do_pwrite64): Don't use CHECK_N.
4134 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4135 (__libc_readv): Don't use CHECK_N.
4136 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4137 (semop): Don't use CHECK_N.
4138 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4139 <bp-checks.h>.
4140 (semtimedop): Don't use CHECK_N.
4141 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4142 (__libc_pread): Don't use CHECK_N.
4143 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4144 <bp-checks.h>.
4145 (__libc_pread64): Don't use CHECK_N.
4146 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4147 <bp-checks.h>.
4148 (__libc_pwrite): Don't use CHECK_N.
4149 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4150 <bp-checks.h>.
4151 (__libc_pwrite64): Don't use CHECK_N.
4152 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4153 <bp-checks.h>.
4154 (__libc_msgrcv): Don't use CHECK_N.
4155 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4156 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4157 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4158 (__libc_writev): Don't use CHECK_N.
4159
b84660a8
RM
41602013-02-08 Roland McGrath <roland@hack.frob.com>
4161
7f3e75f8
RM
4162 * string/strcpy.c: Removed unused variable.
4163
b84660a8
RM
4164 * Makeconfig (+sysdep-includes): Define with := rather than =.
4165 Use an existing include/ subdir of each sysdeps dir before it.
4166
471514d3
CD
41672013-02-08 Carlos O'Donell <carlos@redhat.com>
4168
4169 * nscd/connection.c (register_traced_file): Comment function.
4170 [HAVE_INOTIFY] (union __inev): Define.
4171 [HAVE_INOTIFY] (inotify_check_files): New function.
4172 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4173 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4174 clear_db_cache.
4175 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4176
b2d3c3be
CD
41772013-02-08 Carlos O'Donell <carlos@redhat.com>
4178
4179 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4180 loaded if not already and that a failure is permanent.
4181
b39949d2
CD
41822013-02-08 Carlos O'Donell <carlos@redhat.com>
4183
ddacd1db 4184 [BZ #15006]
b39949d2
CD
4185 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4186 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4187
b2c9eff4
JM
41882013-02-08 Joseph Myers <joseph@codesourcery.com>
4189
f3aae3f3
JM
4190 [BZ #13550]
4191 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4192 (CHECK_1_NULL_OK): Likewise.
4193 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4194 (__fxstat): Do not use CHECK_1.
4195 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4196 <bp-checks.h>.
4197 (___fxstat64): Do not use CHECK_1.
4198 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4199 <bp-checks.h>.
4200 (__fxstatat): Do not use CHECK_1.
4201 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4202 <bp-checks.h>.
4203 (__fxstatat64): Do not use CHECK_1.
4204 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4205 <bp-checks.h>.
4206 (__fxstat): Do not use CHECK_1.
4207 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4208 <bp-checks.h>.
4209 (__fxstatat): Do not use CHECK_1.
4210 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4211 <bp-checks.h>.
4212 (__getresgid): Do not use CHECK_1.
4213 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4214 <bp-checks.h>.
4215 (__getresuid): Do not use CHECK_1.
4216 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4217 <bp-checks.h>.
4218 (__lxstat): Do not use CHECK_1.
4219 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4220 <bp-checks.h>.
4221 (__old_msgctl): Do not use CHECK_1.
4222 (__new_msgctl): Likewise.
4223 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4224 <bp-checks.h>.
4225 (__new_setrlimit): Do not use CHECK_1.
4226 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4227 <bp-checks.h>.
4228 (__old_shmctl): Do not use CHECK_1.
4229 (__new_shmctl): Likewise.
4230 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4231 <bp-checks.h>.
4232 (__xstat): Do not use CHECK_1.
4233 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4234 (__lxstat): Do not use CHECK_1.
4235 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4236 <bp-checks.h>.
4237 (___lxstat64): Do not use CHECK_1.
4238 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4239 (__old_msgctl): Do not use CHECK_1.
4240 (__new_msgctl): Likewise.
4241 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4242 <bp-checks.h>.
4243 (__gettimeofday): Do not use CHECK_1.
4244 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4245 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4246 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4247 <bp-checks.h>.
4248 (__gettimeofday): Do not use CHECK_1.
4249 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4250 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4251 (__new_shmctl): Do not use CHECK_1.
4252 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4253 <bp-checks.h>.
4254 (do_sigtimedwait): Do not use CHECK_1.
4255 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4256 <bp-checks.h>.
4257 (do_sigwaitinfo): Do not use CHECK_1.
4258 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4259 <bp-checks.h>.
4260 (msgctl): Do not use CHECK_1.
4261 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4262 <bp-checks.h>.
4263 (shmctl): Do not use CHECK_1.
4264 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4265 (ustat): Do not use CHECK_1.
4266 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4267 <bp-checks.h>.
4268 (__fxstat): Do not use CHECK_1.
4269 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4270 <bp-checks.h>.
4271 (__fxstatat): Do not use CHECK_1.
4272 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4273 <bp-checks.h>.
4274 (__lxstat): Do not use CHECK_1.
4275 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4276 <bp-checks.h>.
4277 (__xstat): Do not use CHECK_1.
4278 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4279 (__xstat): Do not use CHECK_1.
4280 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4281 (___xstat64): Do not use CHECK_1.
4282
b2c9eff4
JM
4283 [BZ #13550]
4284 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4285 definitions.
4286 (CHECK_BOUNDS_HIGH): Likewise.
4287 * string/strcpy.c: Do not include <bp-checks.h>.
4288 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4289
f1d70dad
RM
42902013-02-07 Roland McGrath <roland@hack.frob.com>
4291
4292 * nscd/nscd-client.h (__nscd_drop_map_ref):
4293 Add __attribute__ ((unused)).
4294 * nis/nss-nisplus.h (niserr2nss): Likewise.
4295
4296 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4297 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4298
4299 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4300 Remove inline keyword.
4301 * include/rounding-mode.h (round_away): Likewise.
4302 * libio/wfileops.c (adjust_wide_data): Likewise.
4303 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4304 (__m128i_strloadu_tolower): Likewise.
4305 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4306 (__m128i_strloadu_tolower): Likewise.
4307 * time/mktime.c (ydhms_diff): Likewise.
4308 * locale/elem-hash.h (elem_hash): Likewise.
4309 * locale/setlocale.c (setdata): Likewise.
4310 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4311 (re_string_wchar_at): Likewise.
4312 (bitset_not, bitset_merge, bitset_mask): Likewise.
4313 [!(__GNUC__ > 3)] (inline): Remove macro.
4314 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4315 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4316 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4317 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4318 * string/memcmp.c (memcmp_bytes): Likewise.
4319 * locale/programs/locarchive.c (compute_hashval): Likewise.
4320 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4321 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4322 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4323 * nss/getent.c (print_rpc, print_protocols): Likewise.
4324 (print_passwd, print_group, print_aliases): Likewise.
4325 * nis/nss-nisplus.h (niserr2nss): Likewise.
4326 * nscd/connections.c (restart_p): Likewise.
4327 Change return type to bool.
4328
eab55bfb
RM
43292013-02-05 Roland McGrath <roland@hack.frob.com>
4330
7bd642f5
RM
4331 * Makeconfig (all-Depend-files): Add existing
4332 $(sorted-subdirs:=/Depend) files.
4333 (all-subdirs): Remove nss.
4334 * sysdeps/unix/inet/Subdirs: Add it here instead.
4335 * hesiod/Depend: New file.
4336
573c29b2
RM
4337 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4338 instead of calling alloca.
4339
b2e25af0
RM
4340 * io/lseek.c (__lseek): Rename to __libc_lseek.
4341 Define __lseek as an alias.
4342
eab55bfb
RM
4343 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4344
9a0d1941
CD
43452013-02-04 Carlos O'Donell <carlos@redhat.com>
4346
4347 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4348 else clause and remove check for non-standard endianness.
4349
b83bbec4
DM
43502013-02-04 David S. Miller <davem@davemloft.net>
4351
4352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4353
6277fdab
JM
43542013-02-04 Joseph Myers <joseph@codesourcery.com>
4355
4356 [BZ #13550]
4357 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4358 (__ubp_memchr): Remove prototype.
4359 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4360 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4361 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4362 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4363 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4364 Remove alias.
4365 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4366 (__ubp_memchr): Likewise.
4367 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4368 (__ubp_memchr): Likewise.
4369 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4370 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4371 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4372 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4373 CHECK_STRING.
4374 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4375 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4376 (__getcwd): Do not use CHECK_STRING.
4377 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4378 <bp-checks.h>.
4379 (__real_chown): Do not use CHECK_STRING.
4380 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4381 <bp-checks.h>.
4382 (fchownat): Do not use CHECK_STRING.
4383 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4384 CHECK_STRING.
4385 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4386 <bp-checks.h>.
4387 (__lchown): Do not use CHECK_STRING.
4388 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4389 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4390 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4391 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4393 include <bp-checks.h>.
4394 (truncate64): Do not use CHECK_STRING.
4395 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4396 <bp-checks.h>.
4397 (__real_chown): Do not use CHECK_STRING.
4398 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4399 <bp-checks.h>.
4400 (__lchown): Do not use CHECK_STRING.
4401 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4402 <bp-checks.h>.
4403 (__chown): Do not use CHECK_STRING.
4404 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4405 <bp-checks.h>.
4406 (truncate64): Do not use CHECK_STRING.
4407 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4408 Likewise.
4409 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4410 (__xmknod): Do not use CHECK_STRING.
4411 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4412 <bp-checks.h>.
4413 (__xmknodat): Do not use CHECK_STRING.
4414 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4415 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4416
903ae060
AS
44172013-02-04 Andreas Schwab <schwab@suse.de>
4418
4419 [BZ #14142]
4420 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4421 * include/netdb.h: Likewise for h_errno.
4422 * elf/tst-stackguard1.c: Include <tls.h>.
4423
542f9466
JK
44242013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4425
4426 * elf/link.h (struct link_map): Extend the l_addr comment.
4427 * include/link.h (struct link_map): Likewise.
4428
e782a927
JM
44292013-02-01 Joseph Myers <joseph@codesourcery.com>
4430
4431 [BZ #13550]
4432 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4433 (BOUNDED_1): Remove macro.
4434 * debug/backtrace.c: Don't include <bp-checks.h>.
4435 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4436 (__backtrace): Likewise.
4437 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4438 <bp-checks.h>.
4439 (__backtrace): Don't use BOUNDED_1.
4440 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4441 <bp-checks.h>.
4442 (__backtrace): Don't use BOUNDED_1.
4443 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4444 (__backtrace): Don't use BOUNDED_1.
4445 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4446 (shmat): Don't use BOUNDED_N.
4447
8cf28c5e
JM
44482013-01-31 Joseph Myers <joseph@codesourcery.com>
4449
3a7ac8a0
JM
4450 [BZ #13550]
4451 * sysdeps/generic/bp-start.h: Remove file.
4452 * csu/libc-start.c: Don't include <bp-start.h>.
4453 (LIBC_START_MAIN): Set up __environ directly instead of using
4454 INIT_ARGV_and_ENVIRON.
4455 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4456 <bp-start.h>.
4457
f3499f95
JM
4458 [BZ #13550]
4459 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4460 definitions.
4461 (CHECK_FCNTL): Likewise.
4462 (CHECK_N_PAGES): Likewise.
4463
32a45bea
JM
4464 [BZ #13550]
4465 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4466 definitions.
4467 (CHECK_SIGSET_NULL_OK): Likewise.
4468 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4469 <bp-checks.h>.
4470 (sigpending): Don't use CHECK_SIGSET.
4471 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4472 <bp-checks.h>.
4473 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4474 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4475 <bp-checks.h>.
4476 (do_sigsuspend): Don't use CHECK_SIGSET.
4477 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4478 use CHECK_SIGSET.
4479 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4480 (do_sigwait): Don't use CHECK_SIGSET.
4481 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4482 use CHECK_SIGSET.
4483 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4484 include <bp-checks.h>.
4485 (sigpending): Don't use CHECK_SIGSET.
4486 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4487 include <bp-checks.h>.
4488 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4489 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4490 <bp-checks.h>.
4491 (sigpending): Don't use CHECK_SIGSET.
4492 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4493 <bp-checks.h>.
4494 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4495
2e8a5c8c
JM
4496 [BZ #13550]
4497 * sysdeps/generic/bp-semctl.h: Remove file.
4498 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4499 <bp-checks.h> and <bp-semctl.h>.
4500 (__old_semctl): Don't use CHECK_SEMCTL.
4501 (__new_semctl): Likewise.
4502 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4503 and <bp-semctl.h>.
4504 (__old_semctl): Don't use CHECK_SEMCTL.
4505 (__new_semctl): Likewise.
4506 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4507 <bp-checks.h> and <bp-semctl.h>.
4508 (__old_semctl): Don't use CHECK_SEMCTL.
4509 (__new_semctl): Likewise.
4510 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4511 <bp-checks.h> and <bp-semctl.h>.
4512 (semctl): Don't use CHECK_SEMCTL.
4513
c2d54929
JM
4514 [BZ #13550]
4515 * Makerules (elide-bp-thunks): Remove variable.
4516 (elide-routines.oS): Don't use $(elide-bp-thunks).
4517 (elide-routines.os): Likewise.
4518 (elide-routines.o): Likewise.
4519 (elide-routines.op): Likewise.
4520 (elide-routines.og): Likewise.
4521 (objects): Don't use $(bp-thunks).
4522 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4523 include.
4524 (common-generated): Do not add s-proto-bp.d.
4525 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4526 (int): Likewise.
4527 (typ): Likewise.
4528 Do not generate makefile rules for bounded-pointer thunks.
4529 * sysdeps/generic/bp-thunks.h: Remove file.
4530 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4531 * sysdeps/unix/s-proto-bp.S: Likewise.
4532
8cf28c5e
JM
4533 [BZ #15062]
4534 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4535 parts of result separately when argument is not close to line from
4536 -i to i and one part of argument is small.
4537 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4538 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4539 * math/libm-test.inc (cacos_test): Add more tests.
4540 (casin_test): Likewise.
4541 (casinh_test): Likewise.
4542 * sysdeps/i386/fpu/libm-test-ulps: Update.
4543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4544
c4e33b8d
DM
45452013-01-31 David S. Miller <davem@davemloft.net>
4546
4547 * po/de.po: Update from translation team.
4548
3b60b421
MK
45492013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4550
4551 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4552
bb931195
TS
45532013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4554
b5a5da23
TS
4555 * configure.in (_AC_PROG_CC_C89): New definition.
4556 * configure: Regenerate.
4557
bb931195
TS
4558 * configure.in (AC_PROG_CPP): New definition.
4559 * configure: Regenerate.
4560
8c53a12c
JM
45612013-01-23 Joseph Myers <joseph@codesourcery.com>
4562
4563 * debug/tst-backtrace.h: New file.
4564 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4565 (ret): Remove variable.
4566 (x): Likewise.
4567 (FAIL): Remove macro.
4568 (NO_INLINE): Likewise.
4569 (fn1): Use match function instead of strstr.
4570 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4571 (ret): Remove variable.
4572 (x): Likewise.
4573 (FAIL): Remove macro.
4574 (NO_INLINE): Likewise.
4575 (fn): Use match function instead of strstr.
4576 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4577 (ret): Remove variable.
4578 (x): Likewise.
4579 (FAIL): Remove macro.
4580 (NO_INLINE): Likewise.
4581 (handle_signal): Use match function instead of strstr.
4582 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4583 (ret): Remove variable.
4584 (x): Likewise.
4585 (FAIL): Remove macro.
4586 (NO_INLINE): Likewise.
4587 (handle_signal): Use match function instead of strstr.
4588
4858fa2a
RM
45892013-01-23 Roland McGrath <roland@hack.frob.com>
4590
4591 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4592
bae8e7f5
DM
45932013-01-23 David S. Miller <davem@davemloft.net>
4594
4595 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4596 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4597 argument of CAS if possible.
4598 * sysdeps/sparc/sparc64/bits/atomic.h
4599 (__arch_compare_and_exchange_val_32_acq): Likewise.
4600 (__arch_compare_and_exchange_val_64_acq): Likewise.
4601
9cbbc4ae
PT
46022013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4603
4604 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4605 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4606 Include <limits.h>.
67b3f58c 4607 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4608
5655a0b5
AC
46092013-01-23 Adam Conrad <adconrad@0c3.net>
4610
4611 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4612 (LDFLAGS-tst-array5): Likewise.
4613
052aff95
JM
46142013-01-23 Joseph Myers <joseph@codesourcery.com>
4615
4616 [BZ #15036]
4617 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4618 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4619 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4620 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4621
7c1e01aa
DM
46222013-01-21 David S. Miller <davem@davemloft.net>
4623
4624 * sysdeps/sparc/backtrace.c: New file.
4625 * sysdeps/sparc/sparc32/backtrace.h: New file.
4626 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4627 * sysdeps/sparc/sparc64/backtrace.h: New file.
4628 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4629 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4630 -funwind-tables.
4631
ab087e0a
AS
46322013-01-21 Andreas Schwab <schwab@suse.de>
4633
4634 [BZ #15020]
4635 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4636 closed its stdout.
4637
ed689c2f
AS
46382013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4639
4640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4641 "mpa2.h".
4642 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4643
31d470ac
JM
46442013-01-18 Joseph Myers <joseph@codesourcery.com>
4645 Mark Mitchell <mark@codesourcery.com>
4646 Tom de Vries <tom@codesourcery.com>
4647 Paul Pluzhnikov <ppluzhnikov@google.com>
4648
4649 * debug/tst-backtrace2.c: New file.
4650 * debug/tst-backtrace3.c: Likewise.
4651 * debug/tst-backtrace4.c: Likewise.
4652 * debug/tst-backtrace5.c: Likewise.
4653 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4654 (CFLAGS-tst-backtrace3.c): Likewise.
4655 (CFLAGS-tst-backtrace4.c): Likewise.
4656 (CFLAGS-tst-backtrace5.c): Likewise.
4657 (LDFLAGS-tst-backtrace2): Likewise.
4658 (LDFLAGS-tst-backtrace3): Likewise.
4659 (LDFLAGS-tst-backtrace4): Likewise.
4660 (LDFLAGS-tst-backtrace5): Likewise.
4661 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4662 tst-backtrace4 and tst-backtrace5.
4663
90567f30 46642013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4665 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4666
4667 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4668 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4669 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4670 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4672 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4673 "+r" and remove output regs list as redundant. Add explicit inline
4674 asm to specify register of return val to work around compiler codegen
4675 bug. Remove (int) cast on return value. Add return type parameter to
4676 use in macro so that this macro does not truncate return value for
4677 64-bit values.
4678 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4679 pass to INTERNAL_VSYSCALL_NCS.
4680 (INLINE_VSYSCALL): Add 'long int' as return type to
4681 INTERNAL_VSYSCALL_NCS macro invocation.
4682 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4683 INTERNAL_VSYSCALL_NCS macro invocation.
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4685
d3b9ea61
SP
46862013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4687
0b57daeb
SP
4688 [BZ #14496]
4689 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4690 Fix application of SIMD FP exception mask.
4691
caa99d06
SP
4692 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4693 mp_no from a power of two.
4694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4695 __mpexp_twomm1. Use __pow_mp.
4696
d3b9ea61
SP
4697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4698 multiplication.
4699
1dbaee3c
DM
47002013-01-17 David S. Miller <davem@davemloft.net>
4701
4702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4703
728d7b43
JM
47042013-01-17 Joseph Myers <joseph@codesourcery.com>
4705
4706 [BZ #15023]
4707 * include/complex.h: Condition contents on [!_COMPLEX_H].
4708 (__kernel_casinhf): New prototype.
4709 (__kernel_casinh): Likewise.
4710 (__kernel_casinhl): Likewise.
4711 * math/Makefile (libm_calls): Add k_casinh.
4712 * math/k_casinh.c: New file.
4713 * math/k_casinhf.c: Likewise.
4714 * math/k_casinhl.c: Likewise.
4715 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4716 finite nonzero arguments.
4717 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4718 finite nonzero arguments.
4719 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4720 finite nonzero arguments.
4721 * math/s_casinh.c: Do not include <float.h>.
4722 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4723 * math/s_casinhf.c: Do not include <float.h>.
4724 (__casinhf): Move code for finite nonzero arguments to
4725 k_casinhf.c.
4726 * math/s_casinhl.c: Do not include <float.h>.
4727 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4728 redefine.
4729 (__casinhl): Move code for finite nonzero arguments to
4730 k_casinhl.c.
4731 * math/libm-test.inc (cacos_test): Add more tests.
4732 * sysdeps/i386/fpu/libm-test-ulps: Update.
4733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4734
2a26ef3a
PT
47352013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4736
4737 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4738 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4739 [!HAVE_MREMAP]: Remove [defined linux] case.
4740 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4741
a897655d
SP
47422013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4743
4744 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4745
881ebe89 47462013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4747
4748 * elf/elf.h (R_386_SIZE32): New relocation.
4749 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4750 R_386_SIZE32.
4751 (elf_machine_rela): Likewise.
4752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4753 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4754
59981e9b
JM
47552013-01-17 Joseph Myers <joseph@codesourcery.com>
4756
4757 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4758 (FP_FAST_FMA): Do not define.
4759 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4760 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4761 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4762 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4763 !_SOFT_FLOAT]: Likewise.
4764 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4765 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4766 value.
4767 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4768 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4769 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4770 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4771 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4772 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4773 file.
4774
cfa8054f
AS
47752013-01-16 Andreas Schwab <schwab@suse.de>
4776
4777 [BZ #14327]
4778 * include/stdlib.h (__mktemp): Add declaration.
4779 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4780 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4781
dd930cc5
SP
47822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4783
881ebe89
SP
4784 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4785 definitions.
4786 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4787 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4788 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4789 definitions here.
4790 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4791 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4792 definitions.
4793 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4794 and ONE.
4795 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4796 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4797 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4798 definitions.
4799 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4800 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4801 definitions.
4802 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4803
dd930cc5
SP
4804 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4805
c19a9f89
DM
48062013-01-15 David S. Miller <davem@davemloft.net>
4807
1aa61767
DM
4808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4809 trunc{,f} to libm-sysdep_routes.
4810 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4812 file.
4813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4815 file.
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4817 file.
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4822 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4823 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4824 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4825 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4826
c42d5e98
DM
4827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4828 nearbyint{,f} to libm-sysdep_routes.
4829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4831 New file.
4832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4833 file.
4834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4835 New file.
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4837 file.
4838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4840 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4841 file.
4842 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4843 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4844 file.
4845 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4846 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4847 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4848
c19a9f89
DM
4849 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4850 libc_feholdexcept and libc_fesetenv.
4851
357679d2
MF
48522013-01-15 Mike Frysinger <vapier@gentoo.org>
4853
4854 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4855
65a82e3d
DM
48562013-01-14 David S. Miller <davem@davemloft.net>
4857
8b954ab9
DM
4858 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4859 (SPARC_ASM_VIS2_IFUNC): Likewise.
4860 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4862 use of 'siam' instruction.
4863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4864 Likewise.
4865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4866 Likewise.
4867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4868 Likewise.
4869 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4870 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4871 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4872 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4874 file.
4875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4876 file.
4877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4878 file.
4879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4880 file.
4881 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4882 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4883 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4884 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4886 new VIS2 routines.
4887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4890 Likewise.
4891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4896 routines to libm-sysdep_routines.
4897 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4898
65a82e3d
DM
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4900 fdim/fdimf to libm-sysdep_routines.
4901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4902 file.
4903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4905 file.
4906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4909 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4910 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4911 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4912 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4913
e34ab705
SP
49142013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4915
2a91b573
SP
4916 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4917 to optimize copies.
4918
1066a534
SP
4919 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4922
e34ab705
SP
4923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4924 local variable MPTWO.
4925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4926 Likewise.
4927
aba5e596
MF
49282013-01-13 Mike Frysinger <vapier@gentoo.org>
4929
4930 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4931 GLOB_NOESCAPE.
4932
e557e9e5
MF
49332013-01-13 Mike Frysinger <vapier@gentoo.org>
4934
4935 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4936
0428cec9
MF
49372013-01-13 Mike Frysinger <vapier@gentoo.org>
4938
4939 * manual/pattern.texi (glob_t): Document gl_flags.
4940 (glob64_t): Likewise.
4941
8794a964
DM
49422013-01-11 David S. Miller <davem@davemloft.net>
4943
66438c3f
RM
4944 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4945 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4946 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4947 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4948 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4949 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4950 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4951 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4952 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4953 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4954 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4955 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4956 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4957
4ae4244d
DM
4958 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4959 sparc V9 rather than using V8 code.
4960 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4961 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4962
8794a964
DM
4963 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4964 Move to...
4965 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4966 Here.
4967
6270516e
RM
49682013-01-11 Roland McGrath <roland@hack.frob.com>
4969
4970 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4971 not in the main loop.
4972 * configure: Regenerated.
4973
6a57d931
JM
49742013-01-11 Joseph Myers <joseph@codesourcery.com>
4975
4976 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4977 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4978 to just #else.
4979 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4980 [!__GLIBC_HAVE_LONG_LONG] case.
4981 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4982 condition to just #else.
4983 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4984 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4985 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4986 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4987 unconditional.
4988 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4989 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4990 #elif condition to just #else.
4991 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4992 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4993 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4994 #elif condition to just #else.
4995
0e8529e9
SE
49962013-01-11 Steve Ellcey <sellcey@mips.com>
4997
4998 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4999 (EF_MIPS_ARCH_64): Fix value.
5000 (EF_MIPS_ARCH_32R2): New.
5001 (EF_MIPS_ARCH_64R2): New.
5002
740b3dbe
L
50032013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5004
5005 * Makeconfig (+link-pie-before-libc): New.
5006 (+link-pie-after-libc): Likewise.
5007 (+link-pie-tests): Likewise.
5008 (+link-pie): Rewritten.
5009 (link-before-libc): Remove $(config-LDFLAGS).
5010 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5011 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5012 (config-LDFLAGS): Renamed to ...
5013 (rtld-LDFLAGS): This.
5014 (rtld-tests-LDFLAGS): New macro.
5015 (link-libc-rpath-link): Likewise.
5016 (link-libc-tests-rpath-link): Likewise.
5017 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5018 (link-libc): Prepand $(link-libc-rpath-link).
5019 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5020 (test-program-prefix): New macro.
5021 (test-via-rtld-prefix): Likewise.
5022 (test-program-cmd): Likewise.
5023 (host-test-program-cmd): Likewise.
5024 * Makefile ($(common-objpfx)testrun.sh): Replace
5025 $(run-program-prefix) with $(test-program-prefix).
5026 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5027 $(rtld-LDFLAGS).
5028 ($(common-objpfx)shlib.lds): Likewise.
5029 (build-module-helper): Likewise.
5030 ($(common-objpfx)format.lds): Likewise.
5031 * Rules (binaries-pie-tests): New.
5032 (binaries-pie-notests): Likewise.
5033 (binaries-pie): Rewritten.
5034 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5035 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5036 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5037 (make-test-out): Replace $(host-built-program-cmd) with
5038 $(host-test-program-cmd).
5039 * config.make.in (build-hardcoded-path-in-tests): New variable.
5040 * configure.in (--enable-hardcoded-path-in-tests): New configure
5041 option.
5042 (hardcoded_path_in_tests): New AC_SUBST.
5043 * configure: Regenerated.
5044 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5045 $(built-program-cmd) with $(test-program-cmd).
5046 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5047 (test_program_cmd): This.
5048 * elf/Makefile ($(objpfx)order.out): Run test with
5049 $(test-program-prefix).
5050 ($(objpfx)order2.out): Likewise.
5051 ($(objpfx)tst-initorder.out): Likewise.
5052 ($(objpfx)tst-initorder2.out): Likewise.
5053 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5054 $(test-program-cmd).
5055 ($(objpfx)tst-array1-static.out): Likewise.
5056 ($(objpfx)tst-array2.out): Likewise.
5057 ($(objpfx)tst-array3.out): Likewise.
5058 ($(objpfx)tst-array4.out): Likewise.
5059 ($(objpfx)tst-array5.out): Likewise.
5060 ($(objpfx)tst-array5-static.out): Likewise.
5061 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5062 $(test-program-cmd).
5063 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5064 $(run-program-prefix) with $(test-program-prefix).
5065 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5066 (test_program_prefix): This.
5067 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5068 $(run-program-prefix) with $(test-program-prefix).
5069 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5070 (test_program_prefix): This.
5071 * iconvdata/tst-tables.sh: Likewise.
5072 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5073 $(run-program-prefix) with $(test-program-prefix).
5074 ($(objpfx)tst-translit.out): Likewise.
5075 ($(objpfx)tst-gettext2.out): Likewise.
5076 ($(objpfx)tst-gettext4.out): Likewise.
5077 ($(objpfx)tst-gettext6.out): Likewise.
5078 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5079 (test_program_prefix): This.
5080 * intl/tst-gettext2.sh: Likewise.
5081 * intl/tst-gettext4.sh Likewise.
5082 * intl/tst-gettext6.sh: Likewise.
5083 * intl/tst-translit.sh: Likewise.
5084 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5085 with $(test-program-cmd).
5086 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5087 $(run-program-prefix) with $(test-program-prefix).
5088 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5089 (test_program_prefix): This.
5090 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5091 $(run-program-prefix) with $(test-program-prefix).
5092 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5093 (test_program_prefix): This.
5094 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5095 * posix/Makefile ($(objpfx)globtest.out): Replace
5096 $(run-via-rtld-prefix) and $(test-wrapper) with
5097 $(test-program-prefix) and $(test-via-rtld-prefix).
5098 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5099 $(test-program-prefix).
5100 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5101 $(host-test-program-cmd).
5102 (tst-spawn-ARGS): Likewise.
5103 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5104 $(test-program-prefix).
5105 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5106 (test_via_rtld_prefix): This.
5107 (test_wrapper): Renamed to ...
5108 (test_program_prefix): This.
5109 (run_program_prefix): Replaced by test_program_prefix.
5110 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5111 (test_program_prefix): This.
5112 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5113 with $(host-test-program-cmd).
5114 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5115 $(run-program-prefix) with $(test-program-prefix).
5116 ($(objpfx)tst-printf.out): Likewise.
5117 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5118 $(test-program-cmd).
5119 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5120 (test_program_prefix): This.
5121 * stdio-common/tst-unbputc.sh: Likewise.
5122 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5123 $(run-program-prefix) with $(test-program-prefix).
5124 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5125 (test_program_prefix): This.
5126 * string/Makefile ($(objpfx)tst-svc.out): Replace
5127 $(built-program-cmd) with $(test-program-cmd).
5128
c6fe55cf
AJ
51292013-01-11 Andreas Jaeger <aj@suse.de>
5130
5131 [BZ #15003]
5132 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5133 value. Sync with Linux 3.7.
5134
9e6919c8
DM
51352013-01-10 David S. Miller <davem@davemloft.net>
5136
5137 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5138 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5139 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5140
1c9f1a02
RM
51412013-01-10 Roland McGrath <roland@hack.frob.com>
5142
5143 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5144 never set.
5145 * configure: Regenerated.
5146
b9de2dde
DM
51472013-01-10 David S. Miller <davem@davemloft.net>
5148
5149 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5150 sparc V9 rather than using V8 code.
5151 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5152 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5153
e7f68ef4
RM
51542013-01-10 Roland McGrath <roland@hack.frob.com>
5155
5156 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5157 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5158 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5159 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5160 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5161 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5162 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5163 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5164 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5165 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5166 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5167 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5168 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5169 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5170 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5171 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5172 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5173 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5174 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5175 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5176 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5177 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5178 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5179 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5180 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5181 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5182 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5183
5a47cc9c
DM
51842013-01-10 David S. Miller <davem@davemloft.net>
5185
5186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5187
4cf8f209
L
51882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5189
5190 * posix/Makefile (tests-static): New variable.
5191 (tests): Add $(tests-static).
5192 (tst-exec-static-ARGS): New variable.
5193 (tst-spawn-static-ARGS): Likewise.
5194 * posix/tst-exec-static.c: New file.
5195 * posix/tst-spawn-static.c: Likewise.
5196 * posix/tst-exec.c: Support run directly.
5197 * posix/tst-spawn.c: Likewise.
5198
fed0faa1
JM
51992013-01-10 Joseph Myers <joseph@codesourcery.com>
5200
828beb13
JM
5201 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5202 long.
5203 * math/bits/mathcalls.h (llrint): Likewise.
5204 (llround): Likewise.
5205 * stdlib/stdlib.h (struct drand48_data): Likewise.
5206 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5207 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5208 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5209 Likewise.
5210 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5211 Likewise.
5212 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5213 (elf_greg_t): Likewise.
5214 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5215 (__jmp_buf): Likewise.
5216 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5217 definitions.
5218 (llrint): Likewise, for all definitions.
5219 (llrintl): Likewise.
5220
fed0faa1
JM
5221 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5222 Remove [__GNUC__] condition.
5223 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5224 condition to just [__USE_ISOC99].
5225 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5226
1a20cb20
L
52272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5228
5229 [BZ #14200]
5230 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5231 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5232 defined.
5233 (_POSIX_V6_ILP32_OFF32): Likewise.
5234 (_XBS5_ILP32_OFF32): Likewise.
5235 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5236 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5237
751b85f7
SP
52382013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5239
7490eb81
SP
5240 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5241
751b85f7
SP
5242 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5243 doubles __mpexp_twomm1. Adjust usage.
5244 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5245 Remove.
5246
988197f0
AS
52472013-01-10 Andreas Schwab <schwab@suse.de>
5248
5249 [BZ #14964]
5250 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5251 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5252
e83d7298
DM
52532013-01-09 David S. Miller <davem@davemloft.net>
5254
034ed64b 5255 [BZ #15003]
e83d7298
DM
5256 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5257 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5258 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5259 TCP_FASTOPEN): Define.
5260 (tcp_repair_opt): New structure.
5261 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5262 enum values.
5263 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5264 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5265 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5266 (tcp_cookie_transactions): New structure.
5267
d5e0b9bd
AB
52682013-01-09 Anton Blanchard <anton@samba.org>
5269
5270 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5271 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5272 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5273 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5274
0c07e3ea
JM
52752013-01-09 Joseph Myers <joseph@codesourcery.com>
5276
5277 * include/features.h (__USE_ANSI): Remove.
5278
232f7002
RM
52792013-01-09 Roland McGrath <roland@hack.frob.com>
5280
ad98e30c
RM
5281 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5282
232f7002
RM
5283 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5284
950c99ca
SP
52852013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5286
b5792741
SP
5287 * sysdeps/s390/fpu/libm-test-ulps: Update.
5288
47cf2278
SP
5289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5290
950c99ca
SP
5291 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5292 (__acr): Likewise.
5293 (__cpy): Likewise.
5294 (norm): Likewise.
5295 (denorm): Likewise.
5296 (__mp_dbl): Likewise.
5297 (__dbl_mp): Likewise.
5298 (add_magnitudes): Likewise.
5299 (sub_magnitudes): Likewise.
5300 (__add): Likewise.
5301 (__sub): Likewise.
5302 (__mul): Likewise.
5303 (__inv): Likewise.
5304 (__dvd): Likewise.
5305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5306 (__acr): Likewise.
5307 (__cpy): Likewise.
5308 (norm): Likewise.
5309 (denorm): Likewise.
5310 (__mp_dbl): Likewise.
5311 (__dbl_mp): Likewise.
5312 (add_magnitudes): Likewise.
5313 (sub_magnitudes): Likewise.
5314 (__add): Likewise.
5315 (__sub): Likewise.
5316 (__mul): Likewise.
5317 (__inv): Likewise.
5318 (__dvd): Likewise.
5319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5320 (__acr): Likewise.
5321 (__cpy): Likewise.
5322 (norm): Likewise.
5323 (denorm): Likewise.
5324 (__mp_dbl): Likewise.
5325 (__dbl_mp): Likewise.
5326 (add_magnitudes): Likewise.
5327 (sub_magnitudes): Likewise.
5328 (__add): Likewise.
5329 (__sub): Likewise.
5330 (__mul): Likewise.
5331 (__inv): Likewise.
5332 (__dvd): Likewise.
5333
eede9df9
JM
53342013-01-08 Joseph Myers <joseph@codesourcery.com>
5335
5336 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5337 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5338 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5339 2 && __USE_EXTERN_INLINES]: Likewise.
5340
c40ea3d9
AJ
53412013-01-08 Andreas Jaeger <aj@suse.de>
5342
5343 [BZ# 14985]
5344 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5345 Remove.
5346 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5347 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5348
2ccdea26
AB
53492013-01-07 Anton Blanchard <anton@samba.org>
5350
5351 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5352 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5353 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5354 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5355 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5356 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5357 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5358 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5360 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5361 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5362 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5363 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5364 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5365 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5366 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5367 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5368 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5369 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5370 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5371 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5372 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5373 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5374 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5375 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5376 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5377 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5378 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5379 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5380 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5381 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5383 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5384 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5385 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5386 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5387 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5388 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5389 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5390 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5391 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5392 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5393 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5394
a9708fed
JM
53952013-01-07 Joseph Myers <joseph@codesourcery.com>
5396
375607b9
JM
5397 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5398 (__MALLOC_PMT): Likewise.
5399 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5400 [__GNUC__], only on [_LIBC].
5401 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5402 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5403 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5404 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5405 forward declaration.
5406 (realloc_hook_ini): Likewise.
5407 (memalign_hook_ini): Likewise.
5408 (__libc_memalign): Do not use __MALLOC_PMT in variable
5409 declaration.
5410 (__libc_valloc): Likewise.
5411 (__libc_pvalloc): Likewise.
5412 (__libc_calloc): Likewise.
5413 (__posix_memalign): Likewise.
5414
a9708fed
JM
5415 [BZ #14996]
5416 * math/s_casinh.c: Include <float.h>.
5417 (__casinh): Do not do computation with squaring and square root
5418 for large arguments.
5419 * math/s_casinhf.c: Include <float.h>.
5420 (__casinhf): Do not do computation with squaring and square root
5421 for large arguments.
5422 * math/s_casinhl.c: Include <float.h>.
5423 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5424 (__casinhl): Do not do computation with squaring and square root
5425 for large arguments.
5426 * math/libm-test.inc (casin_test): Add more tests.
5427 (casinh_test): Likewise.
5428 * sysdeps/i386/fpu/libm-test-ulps: Update.
5429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5430
afec409a
L
54312013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5432
5433 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5434 (__x86_64_raw_data_cache_size): Likewise.
5435 (__x86_64_data_cache_size_half): Likewise.
5436 (__x86_64_raw_data_cache_size_half): Likewise.
5437 (__x86_64_shared_cache_size): Likewise.
5438 (__x86_64_raw_shared_cache_size): Likewise.
5439 (__x86_64_shared_cache_size_half): Likewise.
5440 (__x86_64_raw_shared_cache_size_half): Likewise.
5441 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5442 to ...
5443 (__x86_data_cache_size): This.
5444 (__x86_64_raw_data_cache_size): Renamed to ...
5445 (__x86_raw_data_cache_size): This.
5446 (__x86_64_data_cache_size_half): Renamed to ...
5447 (__x86_data_cache_size_half): This.
5448 (__x86_64_raw_data_cache_size_half): Renamed to ...
5449 (__x86_raw_data_cache_size_half): This.
5450 (__x86_64_shared_cache_size): Renamed to ...
5451 (__x86_shared_cache_size): This.
5452 (__x86_64_raw_shared_cache_size): Renamed to ...
5453 (__x86_raw_shared_cache_size): This.
5454 (__x86_64_shared_cache_size_half): Renamed to ...
5455 (__x86_shared_cache_size_half): This.
5456 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5457 (__x86_raw_shared_cache_size_half): This.
5458 * sysdeps/x86_64/memcpy.S: Updated.
5459 * sysdeps/x86_64/memset.S: Likewise.
5460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5463
0b3986d0
DM
54642013-01-04 David S. Miller <davem@davemloft.net>
5465
5466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5467
e47686e9
AS
54682013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5469
d643bac1
AS
5470 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5471 1 to avoid redefinition warning.
5472 (__USE_GNU): Don't define.
5473 (init_signaling_nan): Protoize.
5474
e47686e9
AS
5475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5476
b18decba
SP
54772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5478
fffb407f
SP
5479 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5481 (__cpymn): Likewise.
5482 (norm): Remove commented code.
5483 (denorm): Likewise.
5484 (__mp_dbl): Likewise.
5485 (__inv): Likewise.
5486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5487 (__cpymn): Likewise.
5488 (norm): Remove commented code.
5489 (denorm): Likewise.
5490 (__mp_dbl): Likewise.
5491 (__inv): Likewise.
5492
b18decba
SP
5493 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5494 mp_no value for 1.0 and 2.0.
5495 (norm): Use RADIXI instead of radixi.d.
5496 (denorm): Likewise.
5497 (__mul): Use 0.0 instead of zero.d.
5498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5499 mp_no value for 1.0 and 2.0.
5500 (norm): Use RADIXI instead of radixi.d.
5501 (denorm): Likewise.
5502 (__mul): Use 0.0 instead of zero.d.
5503
cdc1c96f
JM
55042013-01-04 Joseph Myers <joseph@codesourcery.com>
5505
5506 [BZ #14994]
5507 * math/s_casinh.c (__casinh): Reduce finite argument to first
5508 quadrant then set signs of results at the end.
5509 * math/s_casinhf.c (__casinhf): Likewise.
5510 * math/s_casinhl.c (__casinhl): Likewise.
5511 * math/libm-test.inc (casin_test): Add more tests.
5512 (casinh_test): Likewise.
5513 * sysdeps/i386/fpu/libm-test-ulps: Update.
5514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5515
302913e1
SP
55162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5517
6420d207
SP
5518 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5519
a9e48ab4
SP
5520 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5521
b7837264
SP
5522 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5523 declarations.
5524 (denorm): Likewise.
5525 (__mp_dbl): Likewise.
5526 (__inv): Likewise.
5527
f8af25d2
SP
5528 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5529 and adjust the header comment.
5530
302913e1
SP
5531 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5532 variable name from declaration.
5533
5d7dd1ca
L
55342013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5535
5536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5537 Initialize COMMON_CPUID_INDEX_7 element.
5538 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5539 (CPUID_RTM): Likewise.
5540 (HAS_RTM): Likewise.
5541 (COMMON_CPUID_INDEX_7): New enum.
5542
2f5f40f4
AS
55432013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5544
5545 [BZ #14981]
5546 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5547 size is zero, record memory as freed.
5548
4056f4a0
AJ
55492013-01-03 Andreas Jaeger <aj@suse.de>
5550
5551 * po/ia.po: Add new Interlingua translation.
5552
ab15736f 55532012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5554
5555 * locale/programs/localedef.c: Fix description of '--posix' flag.
5556
568035b7
JM
55572013-01-02 Joseph Myers <joseph@codesourcery.com>
5558
e6898b8d
JM
5559 * NEWS: Update dates in second copyright notice.
5560 * README: Update copyright dates in example.
5561 * manual/libc.texinfo: Update copyright dates.
5562 * scripts/test-installation.pl: Update copyright date in --version
5563 output.
5564
0e2f9562
JM
5565 * hurd/ctty-input.c: Fix copyright notice formatting.
5566 * hurd/ctty-output.c: Likewise.
5567 * hurd/dtable.c: Likewise.
5568 * hurd/hurd-raise.c: Likewise.
5569 * hurd/hurdprio.c: Likewise.
5570 * hurd/msgportdemux.c: Likewise.
5571 * misc/sys/file.h: Likewise.
5572 * misc/sys/ioctl.h: Likewise.
5573 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5574 * sysdeps/mach/hurd/chdir.c: Likewise.
5575 * sysdeps/mach/hurd/fchdir.c: Likewise.
5576 * sysdeps/mach/hurd/rename.c: Likewise.
5577 * sysdeps/mach/hurd/rmdir.c: Likewise.
5578 * sysdeps/mach/hurd/seekdir.c: Likewise.
5579 * sysdeps/mach/hurd/setsid.c: Likewise.
5580 * sysdeps/posix/wait3.c: Likewise.
5581
568035b7
JM
5582 * All files with FSF copyright notices: Update copyright dates
5583 using scripts/update-copyrights.
5584 * intl/plural.c: Regenerated.
5585 * locale/programs/charmap-kw.h: Likewise.
5586 * locale/programs/locfile-kw.h: Likewise.
5587
da08f647
SP
55882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5589
0f5477af
SP
5590 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5591 four values.
5592
44e0d4c2
SP
5593 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5594 calculation loop and add branch prediction.
5595
4d55b4e5
SP
5596 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5597 check access beyond bounds of m1np.
5598
da08f647
SP
5599 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5600 MPTWO.
5601 (__inv): Remove local variable MPTWO to use the global
5602 constant.
5603 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5604 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5605 variable MPTWO.
5606 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5607 MP3HALFS static const.
5608
8e051029
DM
56092013-01-01 David S. Miller <davem@davemloft.net>
5610
5611 * po/ca.po: Update from translation team.
5612
f4cf5f2d
JM
56132013-01-01 Joseph Myers <joseph@codesourcery.com>
5614
5615 * scripts/update-copyrights: New file.
5616 * Makeconfig: Reformat copyright notice.
5617 * ctype/ctype.h: Likewise.
5618 * debug/swprintf_chk.c: Likewise.
5619 * elf/dl-cache.c: Likewise.
5620 * elf/dl-debug.c: Likewise.
5621 * elf/dl-object.c: Likewise.
5622 * grp/initgroups.c: Likewise.
5623 * hurd/Makefile: Likewise.
5624 * hurd/hurd/signal.h: Likewise.
5625 * hurd/hurdfault.c: Likewise.
5626 * hurd/hurdioctl.c: Likewise.
5627 * hurd/hurdlookup.c: Likewise.
5628 * hurd/intr-msg.c: Likewise.
5629 * iconv/gconv_open.c: Likewise.
5630 * libio/swprintf.c: Likewise.
5631 * locale/lc-ctype.c: Likewise.
5632 * locale/nl_langinfo.c: Likewise.
5633 * mach/Machrules: Likewise.
5634 * mach/Makefile: Likewise.
5635 * malloc/obstack.h: Likewise.
5636 * manual/Makefile: Likewise.
5637 * manual/tsort.awk: Likewise.
5638 * misc/bits/stab.def: Likewise.
5639 * nis/nis_print_group_entry.c: Likewise.
5640 * nis/nis_table.c: Likewise.
5641 * nis/nss_compat/compat-pwd.c: Likewise.
5642 * nis/nss_compat/compat-spwd.c: Likewise.
5643 * po/Makefile: Likewise.
5644 * posix/fnmatch.c: Likewise.
5645 * posix/regex.h: Likewise.
5646 * resolv/Makefile: Likewise.
5647 * resolv/nss_dns/dns-network.c: Likewise.
5648 * resolv/res_hconf.c: Likewise.
5649 * scripts/gen-sorted.awk: Likewise.
5650 * soft-fp/soft-fp.h: Likewise.
5651 * stdio-common/printf.h: Likewise.
5652 * stdlib/monetary.h: Likewise.
5653 * stdlib/random.c: Likewise.
5654 * stdlib/random_r.c: Likewise.
5655 * sysdeps/generic/Makefile: Likewise.
5656 * sysdeps/gnu/Makefile: Likewise.
5657 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5658 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5659 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5660 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5661 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5665 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5668 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5669 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5670 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5671 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5673 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5678 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5685 * sysdeps/mach/hurd/errnos.awk: Likewise.
5686 * sysdeps/mach/hurd/fork.c: Likewise.
5687 * sysdeps/mach/hurd/getcwd.c: Likewise.
5688 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5689 * sysdeps/mach/hurd/mmap.c: Likewise.
5690 * sysdeps/mach/hurd/utimes.c: Likewise.
5691 * sysdeps/mach/hurd/xmknod.c: Likewise.
5692 * sysdeps/posix/profil.c: Likewise.
5693 * sysdeps/posix/readdir_r.c: Likewise.
5694 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5695 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5696 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5697 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5699 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5700 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5701 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5702 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5703 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5704 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5705 * sysdeps/pthread/lio_listio.c: Likewise.
5706 * sysdeps/sparc/dl-procinfo.h: Likewise.
5707 * sysdeps/unix/i386/sysdep.S: Likewise.
5708 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5709 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5710 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5711 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5713 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5714 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5715 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5716 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5717 * sysdeps/wordsize-32/divdi3.c: Likewise.
5718 * time/sys/time.h: Likewise.
5719 * wcsmbs/Makefile: Likewise.
5720
0549fbba
DM
57212013-01-01 David S. Miller <davem@davemloft.net>
5722
a141f1a7
DM
5723 * po/fr.po: Update from translation team.
5724
0549fbba
DM
5725 * catgets/gencat.c: Update copyright year.
5726 * csu/version.c: Likewise.
5727 * debug/catchsegv.sh: Likewise.
5728 * debug/pcprofiledump.c: Likewise.
5729 * debug/xtrace.sh: Likewise.
5730 * elf/ldconfig.c: Likewise.
5731 * elf/ldd.bash.in: Likewise.
5732 * elf/pldd.c: Likewise.
5733 * elf/sotruss.ksh: Likewise.
5734 * elf/sprof.c: Likewise.
5735 * iconv/iconv_prog.c: Likewise.
5736 * iconv/iconvconfig.c: Likewise.
5737 * locale/programs/locale.c: Likewise.
5738 * locale/programs/localedef.c: Likewise.
5739 * login/programs/pt_chown.c: Likewise.
5740 * malloc/memusage.sh: Likewise.
5741 * malloc/memusagestat.c: Likewise.
5742 * malloc/mtrace.pl: Likewise.
5743 * nscd/nscd.c: Likewise.
5744 * nss/getent.c: Likewise.
5745 * nss/makedb.c: Likewise.
5746 * posix/getconf.c: Likewise.
5747
18ea052c
SP
57482012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5749
5750 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5751 numbers.
5752
9c89fca6
MF
57532012-12-30 Mike Frysinger <vapier@gentoo.org>
5754
5755 * math/bits/mathcalls.h (modf): Use __nonnull.
5756
085ec079
SP
57572012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5758
5759 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5760 (split): Use macro CN instead of the bare value.
5761 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5762 could be used.
5763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5764 instead of the bare value.
5765 (power1): Likewise.
5766
6d9f97e1
SP
57672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5768
d63f73be
SP
5769 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5770 __ATAN_TWOM.
5771 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5772
6d9f97e1
SP
5773 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5774 their values.
5775 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5776 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5777 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5778 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5779
4c4febf5
AJ
57802012-12-28 Andreas Jaeger <aj@suse.de>
5781
af5843ef
AJ
5782 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5783 values are from Linux 3.7.
5784
4c4febf5
AJ
5785 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5786 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5787
99136f82
SP
57882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5789
2f216c3c 5790 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5791 TRUE case.
5792
99136f82
SP
5793 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5794 (norm): Likewise.
5795 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5796 variables with preprocessor constants.
5797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5798 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5799 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5800
7fffbdff
BH
58012012-12-27 Bruno Haible <bruno@clisp.org>
5802
5803 [BZ #14317]
5804 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5805 only if needed.
5806
b76eb5f0
SP
58072012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5808
31a7fe5c
SP
5809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5810 and use variable directly.
5811 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5812
b76eb5f0
SP
5813 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5814 MPONE.
5815 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5816 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5817 variable MPONE.
5818 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5820 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5821 include directive. Remove local variable MPONE.
5822 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5823 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5824 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5825
2c8bfe7d
DM
58262012-12-25 David S. Miller <davem@davemloft.net>
5827
5828 * version.h (RELEASE): Set to "development".
5829 (VERSION): Set to "2.17.90".
5830 * NEWS: Add 2.18 section.
5831
147d03b0
DM
58322012-12-21 David S. Miller <davem@davemloft.net>
5833
5834 * po/hr.po: Update from translation team.
5835
a8ebb2b9
AK
58362012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5837
5838 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5839
95b4f1b6
SE
58402012-12-19 Steve Ellcey <sellcey@mips.com>
5841
b2d94007 5842 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5843
cedb2a90
MS
58442012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5845
5846 * manual/contrib.texi (Contributors): Spelling correction.
5847
bbf527d6
DM
58482012-12-15 David S. Miller <davem@davemloft.net>
5849
5850 * po/ru.po: Update from translation team.
5851
bc38c906
DM
58522012-12-13 David S. Miller <davem@davemloft.net>
5853
85429b1a
DM
5854 * NEWS: Mention IFUNC testsuite enhancements.
5855
d283e353
DM
5856 * po/pl.po: Update from translation team.
5857 * po/bg.po: Likewise.
5858
bc38c906
DM
5859 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5860 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5861
a181b0d7
DM
58622012-12-11 David S. Miller <davem@davemloft.net>
5863
4641d57e
DM
5864 * po/sv.po: Update from translation team.
5865
f7bc6495
DM
5866 * po/vi.po: Update from translation team.
5867
6fc9048f
DM
5868 * po/cs.po: Update from translation team.
5869
a181b0d7
DM
5870 * po/de.po: Update from translation team.
5871 * po/eo.po: Likewise.
5872 * po/nl.po: Likewise.
5873
f70bfe80
SP
58742012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5875
3c8b4190
SP
5876 [BZ #14246]
5877 * manual/argp.texi (Argp Helper Functions): Move node to follow
5878 Argp Parsing State.
5879
f70bfe80
SP
5880 [BZ #14872]
5881 * manual/conf.texi (Limits on File System Capacity): Mention if
5882 terminating null is included in the max size.
5883
188f0adf
AJ
58842012-12-10 Andreas Jaeger <aj@suse.de>
5885
5886 * po/cs.po: Update from translation team.
5887
56e7d3ad
SP
58882012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5889
5890 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5891 void pointer and cast to uintptr_t.
5892 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5893 path.
5894 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5895 * sysdeps/s390/s390-64/memset.S: Likewise.
5896
76f2d2ea 58972012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5898
5899 [BZ #14833]
5900 * menual/message.texi (Message Translation): Fix typos.
5901 (Helper programs for gettext): Likewise.
5902
67cbf9a2
AS
59032012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5904
5905 [BZ #14898]
5906 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5907 Change to -1.
5908
682d0e9a
DM
59092012-12-07 David S. Miller <davem@davemloft.net>
5910
5911 * po/libc.pot: Update.
5912
573cd484
RH
59132012-12-07 Richard Henderson <rth@redhat.com>
5914
7e9da188 5915 [BZ #10114]
573cd484
RH
5916 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5917 normal/normal case to before the switch.
5918 (_FP_DIV): Likewise.
5919
e933a943
MF
59202012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5921 Mike Frysinger <vapier@gentoo.org>
5922
5923 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5924 check for __NR_fadvise64_64.
5925
82123268
CM
59262012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5927
5928 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5929 0, not just to plain "0" as a statement.
5930 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5931 with cw.
5932
d9814526
JM
59332012-12-06 Joseph Myers <joseph@codesourcery.com>
5934
5935 * NEWS: Use sourceware.org in Bugzilla URL.
5936
7728c574
SP
59372012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5938
f16946dd
SP
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5940 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5941
5704bbcb
SP
5942 * stdio-common/tst-put-error.c (do_test): Add newline to the
5943 padded test to ensure flush.
5944
17aa0516
JL
59452012-12-05 Jeff Law <law@redhat.com>
5946
5947 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5948
363313b5
JM
59492012-12-05 Joseph Myers <joseph@codesourcery.com>
5950
effbd42a
JM
5951 * README: Don't refer to ports add-on as distributed separately.
5952 Mention AArch64 in list of systems supported in the ports add-on.
5953
87600365
JM
5954 * LICENSES: Add more non-FSF copyright and license notices.
5955
a0d7066a
JM
5956 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5957 ((unused)).
5958
66ca5a5b
JM
5959 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5960
363313b5
JM
5961 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5962 10000 as width of padded output.
5963
b37984ad
JM
59642012-12-04 Joseph Myers <joseph@codesourcery.com>
5965
9003570a
JM
5966 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5967
b37984ad
JM
5968 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5969 variable LX with __attribute__ ((unused)).
5970 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5971 Likewise.
5972 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5973 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5974 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5975 with __attribute__ ((unused)).
5976
c8df52ec
DM
59772012-12-04 David S. Miller <davem@abraco.davemloft.net>
5978
5979 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5980
b3b099af
JM
59812012-12-04 Joseph Myers <joseph@codesourcery.com>
5982
c33aa6e3
JM
5983 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5984 (CFLAGS-nldbl-acos.c): New variable.
5985 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5986 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5987 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5988 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5989 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5990 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5991 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5992 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5993 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5994 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5995 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5996 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5997 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5998 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5999 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6000 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6001 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6002 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6003 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6004 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6005 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6006 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6007 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6008 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6009 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6010 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6011 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6012 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6013 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6014 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6015 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6016 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6017 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6018 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6019 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6020 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6021 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6022 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6023 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6024 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6025 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6026 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6027 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6028 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6029 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6030 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6031 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6032 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6033 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6034 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6035 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6036 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6037 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6038 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6039 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6040 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6041 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6042 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6043 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6044 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6045 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6046 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6047 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6048 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6049 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6050 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6051 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6052 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6053 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6054 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6055 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6056 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6057 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6058 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6059 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6060 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6061 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6062 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6063 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6064 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6065 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6066 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6067 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6068 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6069 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6070 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6071 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6072 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6073 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6074 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6075 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6076 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6077 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6078 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6079 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6080 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6081 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6082
20f0018d
JM
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6084 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6085
b3b099af
JM
6086 [BZ #14914]
6087 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6088 whole low double instead of just low 47 bits when splitting values
6089 into two parts.
6090
029264d1
AM
60912012-12-03 Allan McRae <allan@archlinux.org>
6092
6093 * manual/stdio.texi (Predefined Printf Handlers): Remove
6094 @hsep and @vsep usage.
6095
c9d6789e
MF
60962012-12-03 Mike Frysinger <vapier@gentoo.org>
6097
6098 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6099 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6100
4b7634a5
JL
61012012-12-03 Jeff Law <law@redhat.com>
6102
6103 * time/sys/time.h (settimeofday): Do not mark TV argument
6104 as __nonnull.
6105
eb6cbd24
MF
61062012-12-01 Mike Frysinger <vapier@gentoo.org>
6107
6108 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6109 when currently writing and seek to current position when not.
6110 * libio/Makefile (tests): Remove bug-fclose1.
6111 * libio/bug-fclose1.c: Delete.
6112
f638872a
JM
61132012-12-01 Joseph Myers <joseph@codesourcery.com>
6114
6115 * manual/arith.texi (feenableexcept): Fix typo.
6116 (fedisableexcept): Likewise.
6117
48085d14
RM
61182012-11-30 Roland McGrath <roland@hack.frob.com>
6119
6120 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6121 second, differently-typed declaration, rather than a cast.
6122
1a538b9f
SP
61232012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6124
6125 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6126 * include/rpc/svc.h: ... here.
6127
d07f2ff1 61282012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6129
6130 [BZ #13013]
6131 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6132 depending n and resplen2 to catch cases where answer
6133 equals answerp2.
6134
c93ec1f0
CD
61352012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6136
6137 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6138 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6139
37db69de
MF
61402012-11-29 Mike Frysinger <vapier@gentoo.org>
6141
6142 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6143
e10c4e4f
RM
61442012-11-29 Roland McGrath <roland@hack.frob.com>
6145
6146 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6147
2af1b328
JL
61482012-11-28 Jeff Law <law@redhat.com>
6149
6150 [BZ #13761]
6151 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6152 dataset_temporary. Track alloca usage into alloca_used.
6153 If dataset is large allocate and release it via malloc/free.
6154
111db5b1
FW
61552012-06-04 Florian Weimer <fweimer@redhat.com>
6156
f06cc227 6157 [BZ #14197]
111db5b1
FW
6158 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6159
dd694abd
DM
61602012-11-28 David S. Miller <davem@davemloft.net>
6161
6162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6163
9984dd01
JM
61642012-11-28 Joseph Myers <joseph@codesourcery.com>
6165
6166 [BZ #14803]
6167 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6168 of pi/2 rounded to nearest to 64 bits.
6169 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6170 nearest to 64 bits.
6171 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6172 bits.
6173
14bc93a9
JL
61742012-11-28 Jeff Law <law@redhat.com>
6175 Martin Osvald <mosvald@redhat.com>
6176
6177 [BZ #14889]
6178 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6179 * sunrpc/svc.c: Include time.h.
6180 (__svc_accept_failed): New function.
6181 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6182 any reason other than EINTR, call __svc_accept_failed.
6183 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6184 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6185
e3c6aa3a
AS
61862012-11-28 Andreas Schwab <schwab@suse.de>
6187
6188 * scripts/abilist.awk: Also handle indirect functions in .opd
6189 section.
6190
1bead169
JM
61912012-11-28 Joseph Myers <joseph@codesourcery.com>
6192
6193 [BZ #13881]
6194 * sysdeps/x86/fpu/powl_helper.c: New file.
6195 * sysdeps/x86/fpu/Makefile: Likewise.
6196 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6197 (p3): New object.
6198 (__ieee754_powl): Use __powl_helper for finite arguments except
6199 integer exponents below 8.
6200 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6201 (p3): New object.
6202 (__ieee754_powl): Use __powl_helper for finite arguments except
6203 integer exponents below 8.
6204 * math/libm-test.inc (pow_test): Add more tests and enable some
6205 previously disabled tests.
6206 * sysdeps/i386/fpu/libm-test-ulps: Update.
6207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6208
0817d63d
SP
62092012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6210 Carlos O'Donell <carlos_odonell@mentor.com>
6211
6212 * nss/makedb.c (is_prime): Assert that input is odd and greater
6213 than 4. Note that fact in a comment too.
6214 (next_prime): Add 4 to input.
6215
de2fd463
SP
62162012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6217
6218 [BZ #11741]
6219 * libio/Makefile (tests): Add test case tst-fwrite-error.
6220 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6221 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6222 * libio/tst-fwrite-error.c: New test case.
6223
c515fb51
L
62242012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6225
6226 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6227 before casting to void *.
6228 * include/libc-internal.h (__pointer_type): New macro.
6229 (__integer_if_pointer_type_sub): Likewise.
6230 (__integer_if_pointer_type): Likewise.
6231 (cast_to_integer): Likewise.
6232 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6233 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6234 before casting to atomic64_t.
6235 (atomic_exchange_acq): Likewise.
6236 (__arch_exchange_and_add_body): Likewise.
6237 (__arch_add_body): Likewise.
6238 (atomic_add_negative): Likewise.
6239 (atomic_add_zero): Likewise.
6240
4cf77aa9
JM
62412012-11-26 Joseph Myers <joseph@codesourcery.com>
6242
6243 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6244 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6245 (add_fdes): Likewise.
6246 (linear_search_fdes): Likewise.
6247 (binary_search_unencoded_fdes): Likewise.
6248
d260b3b4
AS
62492012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6250
6251 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6252
67060746
AC
62532012-11-24 Adam Conrad <adconrad@0c3.net>
6254
6255 * configure.in: Autodetect C++ header directories.
6256 * configure: Regenerated.
6257
800938a1
MF
62582012-11-23 Mike Frysinger <vapier@gentoo.org>
6259
6260 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6261
4e6e34e6
AS
62622012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6263
6264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6265
7c7feb47
JM
62662012-11-22 Joseph Myers <joseph@codesourcery.com>
6267
7184dcdf
JM
6268 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6269 LDBL_MANT_DIG == 106]: Disable some tests.
6270 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6271 Likewise.
6272 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6273 Likewise.
6274
0a42601f
JM
6275 [BZ #14871]
6276 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6277 input for small inputs. Return +/- pi/2 for large inputs.
6278 * math/libm-test.inc (atan_test): Add more tests.
6279
79c9b9fe
JM
6280 * sysdeps/generic/unwind-dw2-fde-glibc.c
6281 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6282 __attribute__ ((unused)).
6283
c60d3bf2
JM
6284 [BZ #14645]
6285 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6286 x * y if x and y are nonzero and z is zero.
6287
ef1e0867
JM
6288 [BZ #14811]
6289 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6290 nonzero exponents with absolute value below 0x1p-117 to +/-
6291 0x1p-117.
6292
1468ded3
JM
6293 [BZ #14869]
6294 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6295 up arguments below 2**-450, not just those below 2**-500.
6296 * math/libm-test.inc (hypot_test): Add another test.
6297
8e27e3cc
JM
6298 [BZ #14868]
6299 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6300 Return a+b for ratio over 2**120, not 2**60.
6301 * math/libm-test.inc (hypot_test): Add another test.
6302
c9c0279b
JM
6303 * math/libm-test.inc (clog_test): Use
6304 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6305 (clog10_test): Likewise.
6306
7c7feb47
JM
6307 [BZ #6778]
6308 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6309
fff1530e
AS
63102012-11-22 Andreas Schwab <schwab@suse.de>
6311
6312 * sysdeps/i386/fpu/libm-test-ulps: Update.
6313
94558d30
PT
63142012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6315
6316 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6317 printf output with newline.
6318
7e1be741
L
63192012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6320
6bfea974
L
6321 [BZ #14865]
6322 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6323 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6324 -z nodlopen, -z initfirst and -z execstack support.
6325 * configure: Regenerated.
6326
7e1be741
L
6327 * elf/elf.h (DF_1_NODIRECT): New macro.
6328 (DF_1_IGNMULDEF): Likewise.
6329 (DF_1_NOKSYMS): Likewise.
6330 (DF_1_NOHDR): Likewise.
6331 (DF_1_EDITED): Likewise.
6332 (DF_1_NORELOC): Likewise.
6333 (DF_1_SYMINTPOSE): Likewise.
6334 (DF_1_GLOBAUDIT): Likewise.
6335 (DF_1_SINGLETON): Likewise.
6336 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6337 DT_1_SUPPORTED_MASK bits.
6338 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6339
105ce2ce
CD
63402012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6341
6342 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6343
123be9de
TS
63442012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6345
d072f3f7
TS
6346 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6347 macro.
6348
123be9de
TS
6349 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6350 (sendmmsg): Move declarations...
6351 * socket/sys/socket.h: ... here.
6352 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6353 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6354 include it from...
6355 * socket/recvmmsg.c: ... this new file.
6356 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6357 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6358 definition of __sendmmsg hidden.
6359 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6360 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6361 Move ENOSYS stub into and include it from...
6362 * socket/sendmmsg.c: ... this new file.
6363 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6364 (sysdep_routines): Move recvmmsg and sendmmsg...
6365 * socket/Makefile (routines): ... here.
6366 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6367 (GLIBC_PRIVATE): Add __sendmmsg.
6368 * include/sys/socket.h (__sendmmsg): Add declarations.
6369 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6370 sendmmsg.
6371
cf9a5d18
JM
63722012-11-20 Joseph Myers <joseph@codesourcery.com>
6373
6374 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6375 variable I1 with __attribute__ ((unused)).
6376 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6377
ecd4caf9
JM
63782012-11-19 Joseph Myers <joseph@codesourcery.com>
6379
be14d48f
JM
6380 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6381 DUMMY variables with __attribute__ ((unused)).
6382
ecd4caf9
JM
6383 * bits/byteswap.h: Include <bits/types.h>.
6384 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6385
986cab95
PT
63862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6387
6388 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6389 string_t. Do not manually set errno.
6390 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6391 length with __strnlen. Make sure to both set errno and return it on
6392 failure.
6393
6d33cc9d
DM
63942012-11-19 David S. Miller <davem@davemloft.net>
6395
6396 With help from Joseph Myers.
6397 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6398 very large arguments properly.
6399 * math/libm-test.inc (atan_test): New tests.
6400 (atan2_test): New tests.
6401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6403
ee663277
JM
64042012-11-19 Joseph Myers <joseph@codesourcery.com>
6405
877f2d8e
JM
6406 [BZ #14856]
6407 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6408 Define to 3.
6409
116fc08a
JM
6410 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6411 [POSIX] (EADDRNOTAVAIL): Likewise.
6412 [POSIX] (EAFNOSUPPORT): Likewise.
6413 [POSIX] (EALREADY): Likewise.
6414 [POSIX] (ECONNABORTED): Likewise.
6415 [POSIX] (ECONNREFUSED): Likewise.
6416 [POSIX] (ECONNRESET): Likewise.
6417 [POSIX] (EDESTADDRREQ): Likewise.
6418 [POSIX] (EDQUOT): Likewise.
6419 [POSIX] (EHOSTUNREACH): Likewise.
6420 [POSIX] (EIDRM): Likewise.
6421 [POSIX] (EISCONN): Likewise.
6422 [POSIX] (ELOOP): Likewise.
6423 [POSIX] (EMULTIHOP): Likewise.
6424 [POSIX] (ENETDOWN): Likewise.
6425 [POSIX] (ENETUNREACH): Likewise.
6426 [POSIX] (ENOBUFS): Likewise.
6427 [POSIX] (ENODATA): Likewise.
6428 [POSIX] (ENOLINK): Likewise.
6429 [POSIX] (ENOMSG): Likewise.
6430 [POSIX] (ENOPROTOOPT): Likewise.
6431 [POSIX] (ENOSR): Likewise.
6432 [POSIX] (ENOSTR): Likewise.
6433 [POSIX] (ENOTCONN): Likewise.
6434 [POSIX] (ENOTSOCK): Likewise.
6435 [POSIX] (EOPNOTSUPP): Likewise.
6436 [POSIX] (EOVERFLOW): Likewise.
6437 [POSIX] (EPROTO): Likewise.
6438 [POSIX] (EPROTONOSUPPORT): Likewise.
6439 [POSIX] (EPROTOTYPE): Likewise.
6440 [POSIX] (ESTALE): Likewise.
6441 [POSIX] (ETIME): Likewise.
6442 [POSIX] (ETXTBSY): Likewise.
6443 [POSIX] (EWOULDBLOCK): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6445 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6446 [POSIX] (SEEK_CUR): Likewise.
6447 [POSIX] (SEEK_END): Likewise.
6448 [POSIX || UNIX98] (mode_t): Do not require.
6449 [POSIX] (off_t): Likewise.
6450 [POSIX] (pid_t): Likewise.
6451 [POSIX] (sys/stat.h): Do not allow header.
6452 [POSIX] (unistd.h): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6454 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6456 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6457 require.
6458 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6459 sigevent): Specify elements.
6460 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6461 entry.
6462 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6463 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6464
a483863f
JM
6465 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6466 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6467 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6468 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6469 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6470 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6471 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6472 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6473 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6474 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6475 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6476 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6477 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6478 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6479 Likewise.
6480 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6481 Likewise.
6482 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6483 Likewise.
6484 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6485 Likewise.
6486 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6487 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6488 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6489 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6490 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6491 Specify lower bound on value.
6492 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6493 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6494 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6495 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6496 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6497 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6498 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6499 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6500 value.
6501 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6502 as optional.
6503 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6504 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6505 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6506 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6507 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6508 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6509 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6510 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6511 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6512 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6513 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6514 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6515 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6516 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6517 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6518 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6519 entry.
6520 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6521 optional.
6522 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6523 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6524 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6525 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6526 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6527 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6528 Likewise.
6529 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6530 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6531 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6532 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6533 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6534 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6535 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6536 as optional.
6537 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6538 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6539 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6540 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6541 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6542 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6543 specify as optional.
6544 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6545 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6546 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6547 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6548 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6549 [XPG3] (NL_LANGMAX): Likewise.
6550 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6551 [POSIX || XPG3] (NL_NMAX): Likewise.
6552 [POSIX || XPG3] (NL_SETMAX): Likewise.
6553 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6554 [XPG3] (NZERO): Likewise.
6555 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6556 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6557 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6558 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6559 (REG_ERANGE): Expect.
6560 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6561 optional-constant.
6562 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6563 Use (void) in prototype.
6564 [POSIX] (*_t): Allow.
6565 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6566 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6567 (WRDE_BADVAL): Expect.
6568
5ba924e3
JM
6569 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6570 expect.
6571 [XPG3 || XPG4] (O_RSYNC): Likewise.
6572 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6573 Likewise.
6574 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6575 [XPG3 || XPG4] (sigqueue): Likewise.
6576 [XPG3 || XPG4] (sigtimedwait): Likewise.
6577 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6578 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6579 [XPG3 || XPG4] (vsnprintf): Likewise.
6580 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6581 Likewise.
6582 [XPG3 || XPG4] (blksize_t): Likewise.
6583 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6584 Likewise.
6585 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6586 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6587 [XPG3 || XPG4] (struct itimerspec): Likewise.
6588 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6589 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6590 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6591 [XPG3 || XPG4] (clockid_t): Likewise.
6592 [XPG3 || XPG4] (timer_t): Likewise.
6593 [XPG3 || XPG4] (clock_getres): Likewise.
6594 [XPG3 || XPG4] (clock_gettime): Likewise.
6595 [XPG3 || XPG4] (clock_settime): Likewise.
6596 [XPG3 || XPG4] (nanosleep): Likewise.
6597 [XPG3 || XPG4] (timer_create): Likewise.
6598 [XPG3 || XPG4] (timer_delete): Likewise.
6599 [XPG3 || XPG4] (timer_gettime): Likewise.
6600 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6601 [XPG3 || XPG4] (timer_settime): Likewise.
6602 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6603 [XPG3 || XPG4] (getlogin_r): Likewise.
6604 [XPG3 || XPG4] (pread): Likewise.
6605 [XPG3 || XPG4] (pthread_atfork): Likewise.
6606 [XPG3 || XPG4] (pwrite): Likewise.
6607
ee663277
JM
6608 [BZ #14835]
6609 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6610 <bits/siginfo.h>.
6611
942caa16
PT
66122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6613
e19af380
PT
6614 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6615 finalizing MALLSTREAM.
6616
942caa16
PT
6617 * sysdeps/mach/hurd/syncfs.c: New file.
6618
cfde9b46
SP
66192012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6620
6621 [BZ #14719]
6622 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6623 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6624 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6625 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6626 (_nss_dns_gethostbyname4_r): Likewise.
6627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6628 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6629
f6da27e5
PH
66302012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6631
6632 [BZ #13763]
6633 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6634
6665d4a2
SM
66352012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6636
1f51ee92
SM
6637 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6638 * elf/cache.c (print_entry): Print ",AArch64" for
6639 FLAG_AARCH64_LIB64
6640
6665d4a2
SM
6641 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6642 * elf/cache.c (print_entry): Print ",hard-float" for
6643 FLAG_ARM_LIBHF.
6644
05b227bd
DM
66452012-11-18 David S. Miller <davem@davemloft.net>
6646
6647 With help from Joseph Myers.
6648 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6649 cutoff to 2**-13.
6650 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6651 cutoff to 2**-25.
6652 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6653 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6654 small.
6655 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6656 * math/libm-test.inc (y0_test): New tests.
6657 (y1_test): New tests.
6658 * sysdeps/i386/fpu/libm-test-ulps: Update.
6659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6661
786b0b67
AS
66622012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6663
6664 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6665 64-bit targets.
6666 * configure: Regenerated.
6667
8e18b86d
DM
66682012-11-17 David S. Miller <davem@davemloft.net>
6669
6670 [BZ #14811]
6671 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6672 nonzero exponents with absolute value below 0x1p-128 to +/-
6673 0x1p-128.
6674
531f1ae0
JM
66752012-11-17 Joseph Myers <joseph@codesourcery.com>
6676
12df29e2
JM
6677 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6678
150dc1a0
JM
6679 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6680
531f1ae0
JM
6681 * posix/getconf-speclist.c: New file.
6682 * posix/posix-envs.def: Likewise.
6683 * posix/confstr.c (START_ENV_GROUP): New macro.
6684 (END_ENV_GROUP): Likewise.
6685 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6686 (KNOWN_PRESENT_ENV_STRING): Likewise.
6687 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6688 (UNKNOWN_ENVIRONMENT): Likewise.
6689 (confstr): Include posix-envs.def instead of handling
6690 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6691 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6692 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6693 (END_ENV_GROUP): Likewise.
6694 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6695 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6696 (UNKNOWN_ENVIRONMENT): Likewise.
6697 (__sysconf): Include posix-envs.def instead of handling associated
6698 cases directly here.
6699 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6700 preprocessing getconf-speclist.c rather than running getconf or
6701 generating empty file.
6702
a93f9cbc
PT
67032012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6704
6705 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6706
d64d9f87
AL
67072012-11-16 Andrej Lajovic <natrij@gmail.com>
6708
6709 [BZ #14672]
6710 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6711
447885eb
DM
67122012-11-16 David S. Miller <davem@davemloft.net>
6713
6714 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6715 smaller than LDBL_EPSILON/2.0L, just return xm1.
6716
bcbf9830
L
67172012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6718
6719 * elf/tst-array1.c (init): Set constructor priority to 1000.
6720 (fini): Set destructor priority to 1000.
6721 * elf/tst-array2dep.c: Likewise.
6722
2b766585
SP
67232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6724
6725 [BZ #11741]
6726 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6727 (_IO_new_file_xsputn): Also return EOF if none of the input
6728 data was written when overflow failed.
6729 * libio/iopadn.c (_IO_padn): Likewise.
6730 * libio/iowpadn.c (_IO_wpadn): Likewise.
6731 * stdio-common/tst-put-error.c: Add copyright notice.
6732 (do_test): Add case for printing padded string.
6733 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6734 _IO_padn returned error.
6735 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6736 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6737 return EOF.
6738
b1848fde
SP
67392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6740
6741 * libio/libioP.h: Add comment note that the references to C++
6742 bits are now obsolete.
6743
2fd89785
MS
67442012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6745
6746 * math/libm-test.inc (check_complex): Use asprintf.
6747
e3ea5409
JM
67482012-11-14 Joseph Myers <joseph@codesourcery.com>
6749
6750 * debug/pcprofiledump.c (print_version): Update copyright year.
6751 * malloc/memusagestat.c (print_version): Likewise.
6752
2e64d265
L
67532012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6754
6755 [BZ #14831]
6756 * elf/Makefile (tests): Add tst-audit8.
6757 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6758 ($(objpfx)tst-audit8.out): New target.
6759 (tst-audit8-ENV): New variable.
6760 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6761 audit if l_reloc_result is NULL.
6762 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6763 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6764 * elf/tst-audit8.c: New file.
6765
c485e4d2
MS
67662012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6767
6768 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6769 * misc/Makefile (CFLAGS-select.c): Define.
6770 * posix/Makefile (CFLAGS-pause.c): Define.
6771
3a0d900a
DM
67722012-11-13 David S. Miller <davem@davemloft.net>
6773
6774 * crypt/Makefile: Move test targets after toplevel Rules
6775 inclusion. Grab any necessary sysdep routines when linking.
6776 * crypt/md5.c (md5_process_block): Remove define, we will always
6777 name it __md5_process_block.
6778 (md5_finish_ctx): Update md5_process_block call.
6779 (md5_stream): Likewise.
6780 (md5_process_bytes): Likewise.
6781 (md5_process_block): Rename to __md5_process_block and move to ...
6782 * crypt/md5-block.c: ... here.
6783 * crypt/sha256.c (sha256_process_block): Move to ...
6784 * crypt/sha256-block.c: ... here.
6785 * crypt/sha512.c (sha512_process_block): Move to ...
6786 * crypt/sha512-block.c: ... here.
6787 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6788 path.
6789 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6790 * sysdeps/sparc/sparc64/multiarch/Makefile
6791 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6792 crypt subdir.
6793 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6794 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6795 multiarch changes.
6796 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6797 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6798 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6799 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6800 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6801 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6802 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6803 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6804 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6805 file.
6806 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6807 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6808 file.
6809 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6810
8ca89318
JM
68112012-11-13 Joseph Myers <joseph@codesourcery.com>
6812
e27d476a
JM
6813 * timezone/tzselect.ksh: Update from tzcode git revision
6814 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6815 * timezone/zdump.c: Likewise.
6816 * timezone/zic.c: Likewise.
6817 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6818 in TZVERSION setting, not $(PKGVERSION).
6819 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6820 REPORT_BUGS_TO settings.
6821
8ca89318
JM
6822 [BZ #14838]
6823 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6824 macro.
6825
47594329
MS
68262012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6827
6828 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6829 detection to immediately after _FP_ROUND().
6830 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6831 bits are 0.
6832
640ac3f1
DM
68332012-11-11 David S. Miller <davem@davemloft.net>
6834
6835 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6836 inttypes.h
6837 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6838 __close rather than their public counterparts.
6839
3d2577bb
JM
68402012-11-10 Joseph Myers <joseph@codesourcery.com>
6841
6842 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6843 file.
6844 [UNIX98] (sem_timedwait): Do not expect.
6845 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6846 [XPG4 || UNIX98] (sockatmark): Do not expect.
6847 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6848 (clock_getcpuclockid): Do not expect.
6849 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6850 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6851 Do not expect.
6852 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6853 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6854 [UNIX98] (vwscanf): Likewise.
6855 [UNIX98] (vswscanf): Likewise.
6856
fb1ae1ee
JM
68572012-11-09 Joseph Myers <joseph@codesourcery.com>
6858
9ec6f8bd
JM
6859 * timezone/version.h: Remove file.
6860 * timezone/README: Do not refer to version.h.
6861 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6862 $(objpfx)version.h.
6863 ($(objpfx)zdump.o): Likewise.
c3f81911 6864 ($(objpfx)version.h): New target.
9ec6f8bd 6865
0aa8f8a1
JM
6866 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6867 2012i.
6868 * timezone/README: Don't mention modification to tzselect.ksh.
6869 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6870 work on unmodified tzselect.ksh. Substitute version numbers in
6871 tzselect.ksh.
6872
4e87147f
JM
6873 * Makefile (format-me): Remove.
6874 (INSTALL): Adjust indentation. Use commands directly instead of
6875 using $(format-me).
6876
8b748aed
JM
6877 * aclocal.m4 (ACX_PKGVERSION): New macro.
6878 (ACX_BUGURL): Likewise.
6879 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6880 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6881 (REPORT_BUGS_TO): Likewise.
6882 * configure: Regenerated.
6883 * config.h.in (PKGVERSION): New macro.
6884 (REPORT_BUGS_TO): Likewise.
6885 * config.make.in (PKGVERSION): New variable.
6886 (PKGVERSION_TEXI): Likewise.
6887 (REPORT_BUGS_TO): Likewise.
6888 (REPORT_BUGS_TEXI): Likewise.
6889 * Makefile (format-me): Use -I$(common-objpfx)manual.
6890 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6891 ($(common-objpfx)manual/%): New target.
6892 (manual/%): Remove target.
6893 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6894 (print_version): Use PKGVERSION.
6895 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6896 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6897 and REPORT_BUGS_TO.
6898 ($(objpfx)xtrace): Likewise.
6899 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6900 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6901 (print_version): Use PKGVERSION.
6902 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6903 (do_version): Use PKGVERSION.
6904 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6905 REPORT_BUGS_TO.
6906 (common-ldd-rewrite): Likewise.
6907 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6908 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6909 (print_version): Use PKGVERSION.
6910 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6911 * elf/pldd.c (argp_program_bug_address): Remove variable.
6912 (more_help): New function.
6913 (argp): Use more_help.
6914 (print_version): Use PKGVERSION.
6915 * elf/sln.c (main): Use PKGVERSION.
6916 (usage): Use REPORT_BUGS_TO.
6917 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6918 (top level): Use PKGVERSION.
6919 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6920 (print_version): Use PKGVERSION.
6921 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6922 (print_version): Use PKGVERSION.
6923 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6924 (print_version): Use PKGVERSION.
6925 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6926 (print_version): Use PKGVERSION.
6927 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6928 (print_version): Use PKGVERSION.
6929 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6930 (print_version): Use PKGVERSION.
6931 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6932 and BUGURL.
6933 ($(objpfx)memusage): Likewise.
6934 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6935 (do_version): Use PKGVERSION.
6936 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6937 (print_version): Use PKGVERSION.
6938 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6939 ($PKGVERSION): New variable.
6940 ($REPORT_BUGS_TO): Likewise.
6941 (usage): Use $REPORT_BUGS_TO.
6942 (top level): Use $PKGVERSION.
6943 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6944 ($(objpfx)pkgvers.texi): New rule.
6945 ($(objpfx)stamp-pkgvers): Likewise.
6946 * manual/install.texi: Include pkgvers.texi.
6947 (--with-pkgversion): Document new configure option.
6948 (--with-bugurl): Likewise.
6949 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6950 than necessarily for this particular distribution. Use
6951 REPORT_BUGS_TO for where to report bugs.
6952 * INSTALL: Regenerated.
6953 * manual/libc.texinfo: Include pkgvers.texi.
6954 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6955 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6956 (print_version): Use PKGVERSION.
6957 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6958 (print_version): Use PKGVERSION.
6959 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6960 (print_version): Use PKGVERSION.
6961 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6962 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6963 macro.
6964 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6965 (print_version): Use PKGVERSION.
6966 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6967 (print_version): Use PKGVERSION.
6968 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6969 and PKGVERSION.
6970
92e4b6a9
JM
6971 * timezone/checktab.awk: Update from tzcode 2012i.
6972 * timezone/ialloc.c: Likewise.
6973 * timezone/private.h: Likewise.
6974 * timezone/scheck.c: Likewise.
6975 * timezone/tzfile.h: Likewise.
6976 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6977 (TZVERSION): Hardcode tzcode version number.
6978 * timezone/zdump.c: Update from tzcode 2012i.
6979 * timezone/zic.c: Likewise.
6980 * timezone/version.h: New file.
6981 * timezone/README: Describe version.h. Update upstream location.
6982
9bde902c
JM
6983 [BZ #14824]
6984 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6985 (mktemp): Enable declaration.
6986 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6987 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6988 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6990 Likewise.
6991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6992 Likewise.
6993 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6994 Likewise.
6995 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6996 Likewise.
6997 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6998 Likewise.
6999 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7000 Likewise.
7001
fb1ae1ee
JM
7002 [BZ #14821]
7003 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7004 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7005 for copies of such integer values.
7006 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7007 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7008
2c1adbcb
AJ
70092012-11-09 Andreas Jaeger <aj@suse.de>
7010
7011 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7012 definitions and declarations that are provided by
7013 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7014
d0f8457e
AK
70152012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7016
3a235abb 7017 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
7018 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7019 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7020 definition.
7021
57241e26
MS
70222012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7023
7024 * elf/elf.h: Update comment before AArch64 relocations.
7025
60e8270d
DM
70262012-11-07 David S. Miller <davem@davemloft.net>
7027
7028 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7029 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7030 (__start_context): Declare.
7031 (__makecontext_ret): Delete.
7032 (__makecontext): Hook up __start_context instead of
7033 __makecontext_ret.
7034 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7035 (sysdep_routines): Add __start_context when in stdlib.
7036
0fbb0fbc
JM
70372012-11-07 Joseph Myers <joseph@codesourcery.com>
7038
7039 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7040 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7041 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7042 hardcoded "nm".
7043 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7044 (READELF): New variable. Use it instead of hardcoded "readelf".
7045
eb48db7e
L
70462012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7047
7048 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7049 * sysdeps/x86/Makefile: Here.
7050 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7051 * sysdeps/x86/tst-xmmymm.sh: This.
7052
05bcf62a
JM
70532012-11-07 Joseph Myers <joseph@codesourcery.com>
7054
c4b6cf53
JM
7055 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7056 expectations.
7057 [UNIX98] (pthread_barrier_t): Do not expect.
7058 [UNIX98] (pthread_barrierattr_t): Likewise.
7059 [UNIX98] (pthread_spinlock_t): Likewise.
7060 [UNIX98] (pthread_barrier_destroy): Likewise.
7061 [UNIX98] (pthread_barrier_init): Likewise.
7062 [UNIX98] (pthread_barrier_wait): Likewise.
7063 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7064 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7065 [UNIX98] (pthread_barrierattr_init): Likewise.
7066 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7067 [UNIX98] (pthread_getcpuclockid): Likewise.
7068 [UNIX98] (pthread_mutex_timedlock): Likewise.
7069 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7070 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7071 [UNIX98] (pthread_sigmask): Likewise.
7072 [UNIX98] (pthread_spin_destroy): Likewise.
7073 [UNIX98] (pthread_spin_init): Likewise.
7074 [UNIX98] (pthread_spin_lock): Likewise.
7075 [UNIX98] (pthread_spin_trylock): Likewise.
7076 [UNIX98] (pthread_spin_unlock): Likewise.
7077 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7078 Do not expect.
7079 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7080 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7081 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7082 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7083 [XPG3 || XPG4] (pthread_key_t): Likewise.
7084 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7085 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7086 [XPG3 || XPG4] (pthread_once_t): Likewise.
7087 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7088 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7089 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7090 [XPG3 || XPG4] (pthread_t): Likewise.
7091
cbe6e120
JM
7092 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7093 not expect.
7094 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7095
1b126443
JM
7096 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7097 Change function return type to int.
7098
b961a573
JM
7099 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7100 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7101 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7102 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7103 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7104 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7105 [!POSIX] (posix_madvise): Likewise.
7106 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7107 && !UNIX98].
7108 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7109 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7110 (mode_t): Likewise.
7111 (posix_mem_offset): Likewise.
7112 (posix_typed_mem_get_info): Likewise.
7113 (posix_typed_mem_open): Likewise.
7114
9e188909
JM
7115 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7116 Change condition to [XOPEN2K8].
7117
05bcf62a
JM
7118 * conform/conformtest.pl: Preprocess allow-header data with -x c
7119 instead of from stdin.
7120 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7121 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7122 [C99-based standards] (cerfc): Likewise.
7123 [C99-based standards] (cexp2): Likewise.
7124 [C99-based standards] (cexpm1): Likewise.
7125 [C99-based standards] (clog10): Likewise.
7126 [C99-based standards] (clog1p): Likewise.
7127 [C99-based standards] (clog2): Likewise.
7128 [C99-based standards] (clgamma): Likewise.
7129 [C99-based standards] (ctgamma): Likewise.
7130 [C99-based standards] (cerff): Likewise.
7131 [C99-based standards] (cerfcf): Likewise.
7132 [C99-based standards] (cexp2f): Likewise.
7133 [C99-based standards] (cexpm1f): Likewise.
7134 [C99-based standards] (clog10f): Likewise.
7135 [C99-based standards] (clog1pf): Likewise.
7136 [C99-based standards] (clog2f): Likewise.
7137 [C99-based standards] (clgammaf): Likewise.
7138 [C99-based standards] (ctgammaf): Likewise.
7139 [C99-based standards] (cerfl): Likewise.
7140 [C99-based standards] (cerfcl): Likewise.
7141 [C99-based standards] (cexp2l): Likewise.
7142 [C99-based standards] (cexpm1l): Likewise.
7143 [C99-based standards] (clog10l): Likewise.
7144 [C99-based standards] (clog1pl): Likewise.
7145 [C99-based standards] (clog2l): Likewise.
7146 [C99-based standards] (clgammal): Likewise.
7147 [C99-based standards] (ctgammal): Likewise.
7148 * conform/data/inttypes.h-data [C99-based standards]: Include
7149 stdint.h-data. Remove all expectations for stdint.h contents.
7150 [C99-based standards] (PRI*): Do not allow.
7151 [C99-based standards] (SCN*): Likewise.
7152 [C99-based standards] (*_t): Likewise.
7153 [C99-based-standards] (PRId8): Expect macro.
7154 [C99-based-standards] (PRIi8): Likewise.
7155 [C99-based-standards] (PRIo8): Likewise.
7156 [C99-based-standards] (PRIu8): Likewise.
7157 [C99-based-standards] (PRIx8): Likewise.
7158 [C99-based-standards] (PRIX8): Likewise.
7159 [C99-based-standards] (SCNd8): Likewise.
7160 [C99-based-standards] (SCNi8): Likewise.
7161 [C99-based-standards] (SCNo8): Likewise.
7162 [C99-based-standards] (SCNu8): Likewise.
7163 [C99-based-standards] (SCNx8): Likewise.
7164 [C99-based-standards] (PRIdLEAST8): Likewise.
7165 [C99-based-standards] (PRIiLEAST8): Likewise.
7166 [C99-based-standards] (PRIoLEAST8): Likewise.
7167 [C99-based-standards] (PRIuLEAST8): Likewise.
7168 [C99-based-standards] (PRIxLEAST8): Likewise.
7169 [C99-based-standards] (PRIXLEAST8): Likewise.
7170 [C99-based-standards] (SCNdLEAST8): Likewise.
7171 [C99-based-standards] (SCNiLEAST8): Likewise.
7172 [C99-based-standards] (SCNoLEAST8): Likewise.
7173 [C99-based-standards] (SCNuLEAST8): Likewise.
7174 [C99-based-standards] (SCNxLEAST8): Likewise.
7175 [C99-based-standards] (PRIdFAST8): Likewise.
7176 [C99-based-standards] (PRIiFAST8): Likewise.
7177 [C99-based-standards] (PRIoFAST8): Likewise.
7178 [C99-based-standards] (PRIuFAST8): Likewise.
7179 [C99-based-standards] (PRIxFAST8): Likewise.
7180 [C99-based-standards] (PRIXFAST8): Likewise.
7181 [C99-based-standards] (SCNdFAST8): Likewise.
7182 [C99-based-standards] (SCNiFAST8): Likewise.
7183 [C99-based-standards] (SCNoFAST8): Likewise.
7184 [C99-based-standards] (SCNuFAST8): Likewise.
7185 [C99-based-standards] (SCNxFAST8): Likewise.
7186 [C99-based-standards] (PRId16): Likewise.
7187 [C99-based-standards] (PRIi16): Likewise.
7188 [C99-based-standards] (PRIo16): Likewise.
7189 [C99-based-standards] (PRIu16): Likewise.
7190 [C99-based-standards] (PRIx16): Likewise.
7191 [C99-based-standards] (PRIX16): Likewise.
7192 [C99-based-standards] (SCNd16): Likewise.
7193 [C99-based-standards] (SCNi16): Likewise.
7194 [C99-based-standards] (SCNo16): Likewise.
7195 [C99-based-standards] (SCNu16): Likewise.
7196 [C99-based-standards] (SCNx16): Likewise.
7197 [C99-based-standards] (PRIdLEAST16): Likewise.
7198 [C99-based-standards] (PRIiLEAST16): Likewise.
7199 [C99-based-standards] (PRIoLEAST16): Likewise.
7200 [C99-based-standards] (PRIuLEAST16): Likewise.
7201 [C99-based-standards] (PRIxLEAST16): Likewise.
7202 [C99-based-standards] (PRIXLEAST16): Likewise.
7203 [C99-based-standards] (SCNdLEAST16): Likewise.
7204 [C99-based-standards] (SCNiLEAST16): Likewise.
7205 [C99-based-standards] (SCNoLEAST16): Likewise.
7206 [C99-based-standards] (SCNuLEAST16): Likewise.
7207 [C99-based-standards] (SCNxLEAST16): Likewise.
7208 [C99-based-standards] (PRIdFAST16): Likewise.
7209 [C99-based-standards] (PRIiFAST16): Likewise.
7210 [C99-based-standards] (PRIoFAST16): Likewise.
7211 [C99-based-standards] (PRIuFAST16): Likewise.
7212 [C99-based-standards] (PRIxFAST16): Likewise.
7213 [C99-based-standards] (PRIXFAST16): Likewise.
7214 [C99-based-standards] (SCNdFAST16): Likewise.
7215 [C99-based-standards] (SCNiFAST16): Likewise.
7216 [C99-based-standards] (SCNoFAST16): Likewise.
7217 [C99-based-standards] (SCNuFAST16): Likewise.
7218 [C99-based-standards] (SCNxFAST16): Likewise.
7219 [C99-based-standards] (PRId32): Likewise.
7220 [C99-based-standards] (PRIi32): Likewise.
7221 [C99-based-standards] (PRIo32): Likewise.
7222 [C99-based-standards] (PRIu32): Likewise.
7223 [C99-based-standards] (PRIx32): Likewise.
7224 [C99-based-standards] (PRIX32): Likewise.
7225 [C99-based-standards] (SCNd32): Likewise.
7226 [C99-based-standards] (SCNi32): Likewise.
7227 [C99-based-standards] (SCNo32): Likewise.
7228 [C99-based-standards] (SCNu32): Likewise.
7229 [C99-based-standards] (SCNx32): Likewise.
7230 [C99-based-standards] (PRIdLEAST32): Likewise.
7231 [C99-based-standards] (PRIiLEAST32): Likewise.
7232 [C99-based-standards] (PRIoLEAST32): Likewise.
7233 [C99-based-standards] (PRIuLEAST32): Likewise.
7234 [C99-based-standards] (PRIxLEAST32): Likewise.
7235 [C99-based-standards] (PRIXLEAST32): Likewise.
7236 [C99-based-standards] (SCNdLEAST32): Likewise.
7237 [C99-based-standards] (SCNiLEAST32): Likewise.
7238 [C99-based-standards] (SCNoLEAST32): Likewise.
7239 [C99-based-standards] (SCNuLEAST32): Likewise.
7240 [C99-based-standards] (SCNxLEAST32): Likewise.
7241 [C99-based-standards] (PRIdFAST32): Likewise.
7242 [C99-based-standards] (PRIiFAST32): Likewise.
7243 [C99-based-standards] (PRIoFAST32): Likewise.
7244 [C99-based-standards] (PRIuFAST32): Likewise.
7245 [C99-based-standards] (PRIxFAST32): Likewise.
7246 [C99-based-standards] (PRIXFAST32): Likewise.
7247 [C99-based-standards] (SCNdFAST32): Likewise.
7248 [C99-based-standards] (SCNiFAST32): Likewise.
7249 [C99-based-standards] (SCNoFAST32): Likewise.
7250 [C99-based-standards] (SCNuFAST32): Likewise.
7251 [C99-based-standards] (SCNxFAST32): Likewise.
7252 [C99-based-standards] (PRId64): Likewise.
7253 [C99-based-standards] (PRIi64): Likewise.
7254 [C99-based-standards] (PRIo64): Likewise.
7255 [C99-based-standards] (PRIu64): Likewise.
7256 [C99-based-standards] (PRIx64): Likewise.
7257 [C99-based-standards] (PRIX64): Likewise.
7258 [C99-based-standards] (SCNd64): Likewise.
7259 [C99-based-standards] (SCNi64): Likewise.
7260 [C99-based-standards] (SCNo64): Likewise.
7261 [C99-based-standards] (SCNu64): Likewise.
7262 [C99-based-standards] (SCNx64): Likewise.
7263 [C99-based-standards] (PRIdLEAST64): Likewise.
7264 [C99-based-standards] (PRIiLEAST64): Likewise.
7265 [C99-based-standards] (PRIoLEAST64): Likewise.
7266 [C99-based-standards] (PRIuLEAST64): Likewise.
7267 [C99-based-standards] (PRIxLEAST64): Likewise.
7268 [C99-based-standards] (PRIXLEAST64): Likewise.
7269 [C99-based-standards] (SCNdLEAST64): Likewise.
7270 [C99-based-standards] (SCNiLEAST64): Likewise.
7271 [C99-based-standards] (SCNoLEAST64): Likewise.
7272 [C99-based-standards] (SCNuLEAST64): Likewise.
7273 [C99-based-standards] (SCNxLEAST64): Likewise.
7274 [C99-based-standards] (PRIdFAST64): Likewise.
7275 [C99-based-standards] (PRIiFAST64): Likewise.
7276 [C99-based-standards] (PRIoFAST64): Likewise.
7277 [C99-based-standards] (PRIuFAST64): Likewise.
7278 [C99-based-standards] (PRIxFAST64): Likewise.
7279 [C99-based-standards] (PRIXFAST64): Likewise.
7280 [C99-based-standards] (SCNdFAST64): Likewise.
7281 [C99-based-standards] (SCNiFAST64): Likewise.
7282 [C99-based-standards] (SCNoFAST64): Likewise.
7283 [C99-based-standards] (SCNuFAST64): Likewise.
7284 [C99-based-standards] (SCNxFAST64): Likewise.
7285 [C99-based-standards] (PRIdMAX): Likewise.
7286 [C99-based-standards] (PRIiMAX): Likewise.
7287 [C99-based-standards] (PRIoMAX): Likewise.
7288 [C99-based-standards] (PRIuMAX): Likewise.
7289 [C99-based-standards] (PRIxMAX): Likewise.
7290 [C99-based-standards] (PRIXMAX): Likewise.
7291 [C99-based-standards] (SCNdMAX): Likewise.
7292 [C99-based-standards] (SCNiMAX): Likewise.
7293 [C99-based-standards] (SCNoMAX): Likewise.
7294 [C99-based-standards] (SCNuMAX): Likewise.
7295 [C99-based-standards] (SCNxMAX): Likewise.
7296 [C99-based-standards] (PRIdPTR): Likewise.
7297 [C99-based-standards] (PRIiPTR): Likewise.
7298 [C99-based-standards] (PRIoPTR): Likewise.
7299 [C99-based-standards] (PRIuPTR): Likewise.
7300 [C99-based-standards] (PRIxPTR): Likewise.
7301 [C99-based-standards] (PRIXPTR): Likewise.
7302 [C99-based-standards] (SCNdPTR): Likewise.
7303 [C99-based-standards] (SCNiPTR): Likewise.
7304 [C99-based-standards] (SCNoPTR): Likewise.
7305 [C99-based-standards] (SCNuPTR): Likewise.
7306 [C99-based-standards] (SCNxPTR): Likewise.
7307 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7308 allow.
7309 * conform/data/stdint.h-data: Update comments to clarify
7310 requirements.
7311 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7312 type.
7313 [C99-based standards] (INT8_MAX): Likewise.
7314 [C99-based standards] (INT16_MIN): Likewise.
7315 [C99-based standards] (INT16_MAX): Likewise.
7316 [C99-based standards] (INT32_MIN): Likewise.
7317 [C99-based standards] (INT32_MAX): Likewise.
7318 [C99-based standards] (INT64_MIN): Likewise.
7319 [C99-based standards] (INT64_MAX): Likewise.
7320 [C99-based standards] (UINT8_MAX): Likewise.
7321 [C99-based standards] (UINT16_MAX): Likewise.
7322 [C99-based standards] (UINT32_MAX): Likewise.
7323 [C99-based standards] (UINT64_MAX): Likewise.
7324 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7325 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7326 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7327 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7328 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7329 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7330 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7331 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7332 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7333 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7334 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7335 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7336 [C99-based standards] (INT_FAST8_MIN): Likewise.
7337 [C99-based standards] (INT_FAST8_MAX): Likewise.
7338 [C99-based standards] (INT_FAST16_MIN): Likewise.
7339 [C99-based standards] (INT_FAST16_MAX): Likewise.
7340 [C99-based standards] (INT_FAST32_MIN): Likewise.
7341 [C99-based standards] (INT_FAST32_MAX): Likewise.
7342 [C99-based standards] (INT_FAST64_MIN): Likewise.
7343 [C99-based standards] (INT_FAST64_MAX): Likewise.
7344 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7345 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7346 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7347 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7348 [C99-based standards] (INTPTR_MIN): Likewise.
7349 [C99-based standards] (INTPTR_MAX): Likewise.
7350 [C99-based standards] (UINTPTR_MAX): Likewise.
7351 [C99-based standards] (INTMAX_MIN): Likewise.
7352 [C99-based standards] (INTMAX_MAX): Likewise.
7353 [C99-based standards] (UINTMAX_MAX): Likewise.
7354 [C99-based standards] (PTRDIFF_MIN): Likewise.
7355 [C99-based standards] (PTRDIFF_MAX): Likewise.
7356 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7357 [C99-based standards] (SIZE_MAX): Likewise.
7358 [C99-based standards] (WCHAR_MAX): Likewise.
7359 [C99-based standards] (WINT_MAX): Likewise.
7360 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7361 constraint on value.
7362 [C99-based standards] (WCHAR_MIN): Likewise.
7363 [C99-based standards] (WINT_MIN): Likewise.
7364 [C99-based standards] (*_t): Allow.
7365 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7366 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7367 Include math.h-data and complex.h-data. Remove all expectations
7368 of math.h and complex.h contents.
7369 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7370 at end of line.
7371 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7372 (struct tm): Expect tag.
7373 [C99-based-standards] (wcstof): Expect function.
7374 [C99-based-standards] (wcstold): Likewise.
7375 [C99-based-standards] (wcstoll): Likewise.
7376 [C99-based-standards] (wcstoull): Likewise.
7377 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7378 macro-int-constant. Specify type.
7379 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7380 constraint on value.
7381 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7382 Specify type.
7383 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7384 Specify value.
7385 [ISO C standards]: Do not allow headers.
7386 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7387 wcs[abcdefghijklmnopqrstuvwxyz]*.
7388 [ISO C standards] (*_t): Do not allow.
7389 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7390 Expect function.
7391 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7392 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7393 Specify type.
7394 [ISO C standards]: Do not allow headers.
7395 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7396 is[abcdefghijklmnopqrstuvwxyz]*.
7397 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7398 to[abcdefghijklmnopqrstuvwxyz]*.
7399 [ISO C standards] (*_t): Do not allow.
7400 * conform/data/stdalign.h-data: New file.
7401 * conform/data/stdbool.h-data: Likewise.
7402 * conform/data/stdnoreturn.h-data: Likewise.
7403
7514feb8
RM
74042012-11-07 Roland McGrath <roland@hack.frob.com>
7405
7406 [BZ #14815]
7407 * manual/filesys.texi (Directory Entries): Typo fix.
7408 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7409
19b2ecfc
MS
74102012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7411
7412 * elf/elf.h (EM_AARCH64): New macro.
7413 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7414 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7415 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7416 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7417 (R_AARCH64_TLSDESC): Likewise.
7418 (NT_ARM_TLS): Likewise.
7419 (NT_ARM_HW_BREAK): Likewise.
7420 (NT_ARM_HW_WATCH): Likewise.
7421
60e235ee
JM
74222012-11-07 Joseph Myers <joseph@codesourcery.com>
7423
7424 [BZ #14811]
7425 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7426 (__ieee754_powl): Saturate nonzero exponents with absolute value
7427 below 0x1p-79 to +/- 0x1p-79.
7428 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7429 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7430 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7431 nonzero exponents with absolute value below 0x1p-32 to +/-
7432 0x1p-32.
7433 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7434 (__ieee754_powl): Saturate nonzero exponents with absolute value
7435 below 0x1p-79 to +/- 0x1p-79.
7436 * math/libm-test.inc (pow_test): Add more tests.
7437
0ab234b7
AK
74382012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7439
7440 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7441 _dl_s390_cap_flags with kernel. Increase string length.
7442 (_dl_s390_platforms): Add z196 and zEC12.
7443
45832f74
JM
74442012-11-07 Joseph Myers <joseph@codesourcery.com>
7445
7446 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7447 Change XOPEN21K to XOPEN2K.
7448
19218757
MK
74492012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7450
7451 * string/memmove.c: Use memcpy when possible.
7452
c5f45721
AJ
74532012-11-06 Andreas Jaeger <aj@suse.de>
7454
7455 * po/eo.po: Update from translation team.
7456
82477c28
JM
74572012-11-06 Joseph Myers <joseph@codesourcery.com>
7458
7459 [BZ #14793]
7460 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7461 exponent and small x and y exponents, scale x or y up. Increase
7462 by 2 the exponent used in scaling up.
7463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7465 * math/libm-test.inc (fma_test): Add more tests.
7466 (fma_test_towardzero): Likewise.
7467 (fma_test_downward): Likewise.
7468 (fma_test_upward): Likewise.
7469
99252c8c
JM
74702012-11-05 Joseph Myers <joseph@codesourcery.com>
7471
acfa885f
JM
7472 [BZ #14805]
7473 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7474 fenv_t *.
7475
99252c8c
JM
7476 [BZ #14801]
7477 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7478 namespace for names of struct fields.
7479 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7480 fenv_t fields.
7481 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7482 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7483
d6d98dea
ST
74842012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7485
7486 [BZ #3665]
7487 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7488
e10bb107
TS
74892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7490
7491 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7492 PTR_DEMANGLE.
7493
7494 [BZ #5246]
7495 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7496 PTR_DEMANGLE.
7497
a0c2940d
JM
74982012-11-04 Joseph Myers <joseph@codesourcery.com>
7499
7500 [BZ #14797]
7501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7502 definitely overflow as x * y not x * y + z.
7503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7505 * math/libm-test.inc (fma_test): Add more tests.
7506 (fma_test_towardzero): Likewise.
7507 (fma_test_downward): Likewise.
7508 (fma_test_upward): Likewise.
7509
b830319d
TS
75102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7511
7512 [BZ #157]
7513
7514 * include/stub-tag.h: Remove file.
7515 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7516 '#include' of it.
7517 * manual/maint.texi (Porting): Don't reference it.
7518 * Makerules ($(objpfx)stubs): Likewise.
7519 * dirent/closedir.c: Don't include <stub-tag.h>.
7520 * dirent/dirfd.c: Likewise.
7521 * dirent/fdopendir.c: Likewise.
7522 * dirent/getdents.c: Likewise.
7523 * dirent/getdents64.c: Likewise.
7524 * dirent/opendir.c: Likewise.
7525 * dirent/readdir.c: Likewise.
7526 * dirent/readdir64.c: Likewise.
7527 * dirent/readdir64_r.c: Likewise.
7528 * dirent/readdir_r.c: Likewise.
7529 * dirent/rewinddir.c: Likewise.
7530 * dirent/seekdir.c: Likewise.
7531 * dirent/telldir.c: Likewise.
7532 * gmon/profil.c: Likewise.
7533 * grp/setgroups.c: Likewise.
7534 * inet/if_index.c: Likewise.
7535 * io/access.c: Likewise.
7536 * io/chdir.c: Likewise.
7537 * io/chmod.c: Likewise.
7538 * io/chown.c: Likewise.
7539 * io/close.c: Likewise.
7540 * io/dup.c: Likewise.
7541 * io/dup2.c: Likewise.
7542 * io/dup3.c: Likewise.
7543 * io/euidaccess.c: Likewise.
7544 * io/faccessat.c: Likewise.
7545 * io/fchdir.c: Likewise.
7546 * io/fchmod.c: Likewise.
7547 * io/fchmodat.c: Likewise.
7548 * io/fchown.c: Likewise.
7549 * io/fchownat.c: Likewise.
7550 * io/fcntl.c: Likewise.
7551 * io/flock.c: Likewise.
7552 * io/fstatfs.c: Likewise.
7553 * io/fstatfs64.c: Likewise.
7554 * io/fstatvfs.c: Likewise.
7555 * io/fstatvfs64.c: Likewise.
7556 * io/futimens.c: Likewise.
7557 * io/fxstat.c: Likewise.
7558 * io/fxstat64.c: Likewise.
7559 * io/fxstatat.c: Likewise.
7560 * io/fxstatat64.c: Likewise.
7561 * io/getcwd.c: Likewise.
7562 * io/isatty.c: Likewise.
7563 * io/lchmod.c: Likewise.
7564 * io/lchown.c: Likewise.
7565 * io/link.c: Likewise.
7566 * io/linkat.c: Likewise.
7567 * io/lseek.c: Likewise.
7568 * io/lseek64.c: Likewise.
7569 * io/lxstat64.c: Likewise.
7570 * io/mkdir.c: Likewise.
7571 * io/mkdirat.c: Likewise.
7572 * io/mkfifo.c: Likewise.
7573 * io/mkfifoat.c: Likewise.
7574 * io/open.c: Likewise.
7575 * io/open64.c: Likewise.
7576 * io/openat.c: Likewise.
7577 * io/openat64.c: Likewise.
7578 * io/pipe.c: Likewise.
7579 * io/pipe2.c: Likewise.
7580 * io/poll.c: Likewise.
7581 * io/posix_fadvise.c: Likewise.
7582 * io/posix_fadvise64.c: Likewise.
7583 * io/posix_fallocate.c: Likewise.
7584 * io/posix_fallocate64.c: Likewise.
7585 * io/read.c: Likewise.
7586 * io/readlink.c: Likewise.
7587 * io/readlinkat.c: Likewise.
7588 * io/rmdir.c: Likewise.
7589 * io/sendfile.c: Likewise.
7590 * io/sendfile64.c: Likewise.
7591 * io/statfs.c: Likewise.
7592 * io/statfs64.c: Likewise.
7593 * io/statvfs.c: Likewise.
7594 * io/statvfs64.c: Likewise.
7595 * io/symlink.c: Likewise.
7596 * io/symlinkat.c: Likewise.
7597 * io/ttyname.c: Likewise.
7598 * io/ttyname_r.c: Likewise.
7599 * io/umask.c: Likewise.
7600 * io/unlink.c: Likewise.
7601 * io/unlinkat.c: Likewise.
7602 * io/utime.c: Likewise.
7603 * io/utimensat.c: Likewise.
7604 * io/write.c: Likewise.
7605 * io/xmknod.c: Likewise.
7606 * io/xmknodat.c: Likewise.
7607 * io/xstat.c: Likewise.
7608 * io/xstat64.c: Likewise.
7609 * login/getpt.c: Likewise.
7610 * login/grantpt.c: Likewise.
7611 * login/unlockpt.c: Likewise.
7612 * math/e_acoshl.c: Likewise.
7613 * math/e_acosl.c: Likewise.
7614 * math/e_asinl.c: Likewise.
7615 * math/e_atan2l.c: Likewise.
7616 * math/e_atanhl.c: Likewise.
7617 * math/e_coshl.c: Likewise.
7618 * math/e_expl.c: Likewise.
7619 * math/e_fmodl.c: Likewise.
7620 * math/e_gammal_r.c: Likewise.
7621 * math/e_hypotl.c: Likewise.
7622 * math/e_j0l.c: Likewise.
7623 * math/e_j1l.c: Likewise.
7624 * math/e_jnl.c: Likewise.
7625 * math/e_lgammal_r.c: Likewise.
7626 * math/e_log10l.c: Likewise.
7627 * math/e_log2l.c: Likewise.
7628 * math/e_logl.c: Likewise.
7629 * math/e_powl.c: Likewise.
7630 * math/e_rem_pio2l.c: Likewise.
7631 * math/e_sinhl.c: Likewise.
7632 * math/e_sqrtl.c: Likewise.
7633 * math/fclrexcpt.c: Likewise.
7634 * math/fedisblxcpt.c: Likewise.
7635 * math/feenablxcpt.c: Likewise.
7636 * math/fegetenv.c: Likewise.
7637 * math/fegetexcept.c: Likewise.
7638 * math/fegetround.c: Likewise.
7639 * math/feholdexcpt.c: Likewise.
7640 * math/fesetenv.c: Likewise.
7641 * math/fesetround.c: Likewise.
7642 * math/feupdateenv.c: Likewise.
7643 * math/fgetexcptflg.c: Likewise.
7644 * math/fraiseexcpt.c: Likewise.
7645 * math/fsetexcptflg.c: Likewise.
7646 * math/ftestexcept.c: Likewise.
7647 * math/k_cosl.c: Likewise.
7648 * math/k_rem_pio2l.c: Likewise.
7649 * math/k_sinl.c: Likewise.
7650 * math/k_tanl.c: Likewise.
7651 * math/s_asinhl.c: Likewise.
7652 * math/s_atanl.c: Likewise.
7653 * math/s_cbrtl.c: Likewise.
7654 * math/s_erfl.c: Likewise.
7655 * math/s_expm1l.c: Likewise.
7656 * math/s_log1pl.c: Likewise.
7657 * math/s_tanhl.c: Likewise.
7658 * misc/acct.c: Likewise.
7659 * misc/brk.c: Likewise.
7660 * misc/chflags.c: Likewise.
7661 * misc/chroot.c: Likewise.
7662 * misc/fchflags.c: Likewise.
7663 * misc/fgetxattr.c: Likewise.
7664 * misc/flistxattr.c: Likewise.
7665 * misc/fremovexattr.c: Likewise.
7666 * misc/fsetxattr.c: Likewise.
7667 * misc/fsync.c: Likewise.
7668 * misc/ftruncate.c: Likewise.
7669 * misc/futimes.c: Likewise.
7670 * misc/futimesat.c: Likewise.
7671 * misc/getdomain.c: Likewise.
7672 * misc/getdtsz.c: Likewise.
7673 * misc/gethostid.c: Likewise.
7674 * misc/gethostname.c: Likewise.
7675 * misc/getloadavg.c: Likewise.
7676 * misc/getpagesize.c: Likewise.
7677 * misc/getsysstats.c: Likewise.
7678 * misc/getxattr.c: Likewise.
7679 * misc/gtty.c: Likewise.
7680 * misc/ioctl.c: Likewise.
7681 * misc/lgetxattr.c: Likewise.
7682 * misc/listxattr.c: Likewise.
7683 * misc/llistxattr.c: Likewise.
7684 * misc/lremovexattr.c: Likewise.
7685 * misc/lsetxattr.c: Likewise.
7686 * misc/lutimes.c: Likewise.
7687 * misc/madvise.c: Likewise.
7688 * misc/mincore.c: Likewise.
7689 * misc/mlock.c: Likewise.
7690 * misc/mlockall.c: Likewise.
7691 * misc/mmap.c: Likewise.
7692 * misc/mprotect.c: Likewise.
7693 * misc/msync.c: Likewise.
7694 * misc/munlock.c: Likewise.
7695 * misc/munlockall.c: Likewise.
7696 * misc/munmap.c: Likewise.
7697 * misc/preadv.c: Likewise.
7698 * misc/preadv64.c: Likewise.
7699 * misc/ptrace.c: Likewise.
7700 * misc/pwritev.c: Likewise.
7701 * misc/pwritev64.c: Likewise.
7702 * misc/readv.c: Likewise.
7703 * misc/reboot.c: Likewise.
7704 * misc/remap_file_pages.c: Likewise.
7705 * misc/removexattr.c: Likewise.
7706 * misc/revoke.c: Likewise.
7707 * misc/select.c: Likewise.
7708 * misc/setdomain.c: Likewise.
7709 * misc/setegid.c: Likewise.
7710 * misc/seteuid.c: Likewise.
7711 * misc/sethostid.c: Likewise.
7712 * misc/sethostname.c: Likewise.
7713 * misc/setregid.c: Likewise.
7714 * misc/setreuid.c: Likewise.
7715 * misc/setxattr.c: Likewise.
7716 * misc/sstk.c: Likewise.
7717 * misc/stty.c: Likewise.
7718 * misc/swapoff.c: Likewise.
7719 * misc/swapon.c: Likewise.
7720 * misc/sync.c: Likewise.
7721 * misc/syncfs.c: Likewise.
7722 * misc/syscall.c: Likewise.
7723 * misc/truncate.c: Likewise.
7724 * misc/ualarm.c: Likewise.
7725 * misc/usleep.c: Likewise.
7726 * misc/ustat.c: Likewise.
7727 * misc/utimes.c: Likewise.
7728 * misc/vhangup.c: Likewise.
7729 * misc/writev.c: Likewise.
7730 * posix/_exit.c: Likewise.
7731 * posix/alarm.c: Likewise.
7732 * posix/execve.c: Likewise.
7733 * posix/fexecve.c: Likewise.
7734 * posix/fork.c: Likewise.
7735 * posix/fpathconf.c: Likewise.
7736 * posix/getaddrinfo.c: Likewise.
7737 * posix/getegid.c: Likewise.
7738 * posix/geteuid.c: Likewise.
7739 * posix/getgid.c: Likewise.
7740 * posix/getgroups.c: Likewise.
7741 * posix/getlogin.c: Likewise.
7742 * posix/getlogin_r.c: Likewise.
7743 * posix/getpgid.c: Likewise.
7744 * posix/getpid.c: Likewise.
7745 * posix/getppid.c: Likewise.
7746 * posix/getresgid.c: Likewise.
7747 * posix/getresuid.c: Likewise.
7748 * posix/getsid.c: Likewise.
7749 * posix/getuid.c: Likewise.
7750 * posix/glob64.c: Likewise.
7751 * posix/nanosleep.c: Likewise.
7752 * posix/pathconf.c: Likewise.
7753 * posix/pause.c: Likewise.
7754 * posix/posix_madvise.c: Likewise.
7755 * posix/pread.c: Likewise.
7756 * posix/pread64.c: Likewise.
7757 * posix/pwrite.c: Likewise.
7758 * posix/pwrite64.c: Likewise.
7759 * posix/sched_getaffinity.c: Likewise.
7760 * posix/sched_getp.c: Likewise.
7761 * posix/sched_gets.c: Likewise.
7762 * posix/sched_primax.c: Likewise.
7763 * posix/sched_primin.c: Likewise.
7764 * posix/sched_rr_gi.c: Likewise.
7765 * posix/sched_setaffinity.c: Likewise.
7766 * posix/sched_setp.c: Likewise.
7767 * posix/sched_sets.c: Likewise.
7768 * posix/sched_yield.c: Likewise.
7769 * posix/setgid.c: Likewise.
7770 * posix/setlogin.c: Likewise.
7771 * posix/setpgid.c: Likewise.
7772 * posix/setresgid.c: Likewise.
7773 * posix/setresuid.c: Likewise.
7774 * posix/setsid.c: Likewise.
7775 * posix/setuid.c: Likewise.
7776 * posix/sleep.c: Likewise.
7777 * posix/spawni.c: Likewise.
7778 * posix/sysconf.c: Likewise.
7779 * posix/times.c: Likewise.
7780 * posix/wait.c: Likewise.
7781 * posix/wait3.c: Likewise.
7782 * posix/wait4.c: Likewise.
7783 * posix/waitpid.c: Likewise.
7784 * resolv/gai_sigqueue.c: Likewise.
7785 * resource/getpriority.c: Likewise.
7786 * resource/getrlimit.c: Likewise.
7787 * resource/getrusage.c: Likewise.
7788 * resource/nice.c: Likewise.
7789 * resource/setpriority.c: Likewise.
7790 * resource/setrlimit.c: Likewise.
7791 * resource/ulimit.c: Likewise.
7792 * rt/aio_cancel.c: Likewise.
7793 * rt/aio_fsync.c: Likewise.
7794 * rt/aio_read.c: Likewise.
7795 * rt/aio_sigqueue.c: Likewise.
7796 * rt/aio_suspend.c: Likewise.
7797 * rt/aio_write.c: Likewise.
7798 * rt/clock_getres.c: Likewise.
7799 * rt/clock_gettime.c: Likewise.
7800 * rt/clock_nanosleep.c: Likewise.
7801 * rt/clock_settime.c: Likewise.
7802 * rt/lio_listio.c: Likewise.
7803 * rt/mq_close.c: Likewise.
7804 * rt/mq_getattr.c: Likewise.
7805 * rt/mq_notify.c: Likewise.
7806 * rt/mq_open.c: Likewise.
7807 * rt/mq_receive.c: Likewise.
7808 * rt/mq_send.c: Likewise.
7809 * rt/mq_setattr.c: Likewise.
7810 * rt/mq_timedreceive.c: Likewise.
7811 * rt/mq_timedsend.c: Likewise.
7812 * rt/mq_unlink.c: Likewise.
7813 * rt/shm_open.c: Likewise.
7814 * rt/shm_unlink.c: Likewise.
7815 * rt/timer_create.c: Likewise.
7816 * rt/timer_delete.c: Likewise.
7817 * rt/timer_getoverr.c: Likewise.
7818 * rt/timer_gettime.c: Likewise.
7819 * rt/timer_settime.c: Likewise.
7820 * setjmp/__longjmp.c: Likewise.
7821 * setjmp/setjmp.c: Likewise.
7822 * signal/kill.c: Likewise.
7823 * signal/killpg.c: Likewise.
7824 * signal/raise.c: Likewise.
7825 * signal/sigaction.c: Likewise.
7826 * signal/sigaltstack.c: Likewise.
7827 * signal/sigblock.c: Likewise.
7828 * signal/sigignore.c: Likewise.
7829 * signal/sigintr.c: Likewise.
7830 * signal/signal.c: Likewise.
7831 * signal/sigpause.c: Likewise.
7832 * signal/sigpending.c: Likewise.
7833 * signal/sigqueue.c: Likewise.
7834 * signal/sigreturn.c: Likewise.
7835 * signal/sigset.c: Likewise.
7836 * signal/sigsetmask.c: Likewise.
7837 * signal/sigstack.c: Likewise.
7838 * signal/sigsuspend.c: Likewise.
7839 * signal/sigtimedwait.c: Likewise.
7840 * signal/sigvec.c: Likewise.
7841 * signal/sigwait.c: Likewise.
7842 * signal/sigwaitinfo.c: Likewise.
7843 * signal/sysv_signal.c: Likewise.
7844 * socket/accept.c: Likewise.
7845 * socket/accept4.c: Likewise.
7846 * socket/bind.c: Likewise.
7847 * socket/connect.c: Likewise.
7848 * socket/getpeername.c: Likewise.
7849 * socket/getsockname.c: Likewise.
7850 * socket/getsockopt.c: Likewise.
7851 * socket/isfdtype.c: Likewise.
7852 * socket/listen.c: Likewise.
7853 * socket/recv.c: Likewise.
7854 * socket/recvfrom.c: Likewise.
7855 * socket/recvmsg.c: Likewise.
7856 * socket/send.c: Likewise.
7857 * socket/sendmsg.c: Likewise.
7858 * socket/sendto.c: Likewise.
7859 * socket/setsockopt.c: Likewise.
7860 * socket/shutdown.c: Likewise.
7861 * socket/sockatmark.c: Likewise.
7862 * socket/socket.c: Likewise.
7863 * socket/socketpair.c: Likewise.
7864 * stdio-common/ctermid.c: Likewise.
7865 * stdio-common/cuserid.c: Likewise.
7866 * stdio-common/remove.c: Likewise.
7867 * stdio-common/rename.c: Likewise.
7868 * stdio-common/renameat.c: Likewise.
7869 * stdio-common/tempname.c: Likewise.
7870 * stdlib/getcontext.c: Likewise.
7871 * stdlib/makecontext.c: Likewise.
7872 * stdlib/setcontext.c: Likewise.
7873 * stdlib/swapcontext.c: Likewise.
7874 * stdlib/system.c: Likewise.
7875 * streams/fattach.c: Likewise.
7876 * streams/fdetach.c: Likewise.
7877 * streams/getmsg.c: Likewise.
7878 * streams/getpmsg.c: Likewise.
7879 * streams/putmsg.c: Likewise.
7880 * streams/putpmsg.c: Likewise.
7881 * sysdeps/unix/bsd/getpt.c: Likewise.
7882 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7883 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7884 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7886 Likewise.
7887 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7888 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7889 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7890 * sysvipc/msgctl.c: Likewise.
7891 * sysvipc/msgget.c: Likewise.
7892 * sysvipc/msgrcv.c: Likewise.
7893 * sysvipc/msgsnd.c: Likewise.
7894 * sysvipc/semctl.c: Likewise.
7895 * sysvipc/semget.c: Likewise.
7896 * sysvipc/semop.c: Likewise.
7897 * sysvipc/semtimedop.c: Likewise.
7898 * sysvipc/shmat.c: Likewise.
7899 * sysvipc/shmctl.c: Likewise.
7900 * sysvipc/shmdt.c: Likewise.
7901 * sysvipc/shmget.c: Likewise.
7902 * termios/tcdrain.c: Likewise.
7903 * termios/tcflow.c: Likewise.
7904 * termios/tcflush.c: Likewise.
7905 * termios/tcgetattr.c: Likewise.
7906 * termios/tcgetpgrp.c: Likewise.
7907 * termios/tcsendbrk.c: Likewise.
7908 * termios/tcsetattr.c: Likewise.
7909 * termios/tcsetpgrp.c: Likewise.
7910 * time/adjtime.c: Likewise.
7911 * time/clock.c: Likewise.
7912 * time/getitimer.c: Likewise.
7913 * time/gettimeofday.c: Likewise.
7914 * time/setitimer.c: Likewise.
7915 * time/settimeofday.c: Likewise.
7916 * time/stime.c: Likewise.
7917 * time/time.c: Likewise.
7918
79192012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7920
a20492cf
PT
7921 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7922 /usr/old/bin.
7923
72e182e3
PT
7924 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7925 instead of spaces.
7926 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7927
fbeafede
JM
79282012-11-03 Joseph Myers <joseph@codesourcery.com>
7929
5b5b04d6
JM
7930 [BZ #14796]
7931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7932 FE_TONEAREST before applying Dekker multiplication and Knuth
7933 addition. Clear inexact exceptions and check for exact zero
7934 results afterwards.
7935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7936 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7937 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7938 * math/libm-test.inc (fma_test): Add more tests.
7939 (fma_test_towardzero): Likewise.
7940 (fma_test_downward): Likewise.
7941 (fma_test_upward): Likewise.
7942 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7943 function.
7944 (libc_fesetround): New macro.
7945 (libc_fesetroundf): Likewise.
7946 (libc_fesetroundl): Likewise.
7947 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7948 function.
7949 (libc_fesetround_387): Likewise.
7950 (libc_fesetroundf): New macro.
7951 (libc_fesetround): Likewise.
7952 (libc_fesetroundl): Likewise.
7953 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7954 function.
7955 (libc_fesetroundf): New macro.
7956 (libc_fesetround): Likewise.
7957 (libc_fesetroundl): Likewise.
7958 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7959 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7960 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7961 libm_hidden_ver.
7962 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7963 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7964 libm_hidden_def.
7965 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7966 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7967 libm_hidden_ver.
7968 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7969 libm_hidden_def.
7970
fbeafede
JM
7971 [BZ #3439]
7972 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7973 integer constant usable in #if and use that to give value to enum
7974 constant.
7975 (FE_DIVBYZERO): Likewise.
7976 (FE_UNDERFLOW): Likewise.
7977 (FE_OVERFLOW): Likewise.
7978 (FE_INVALID): Likewise.
7979 (FE_INVALID_SNAN): Likewise.
7980 (FE_INVALID_ISI): Likewise.
7981 (FE_INVALID_IDI): Likewise.
7982 (FE_INVALID_ZDZ): Likewise.
7983 (FE_INVALID_IMZ): Likewise.
7984 (FE_INVALID_COMPARE): Likewise.
7985 (FE_INVALID_SOFTWARE): Likewise.
7986 (FE_INVALID_SQRT): Likewise.
7987 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7988 (FE_TONEAREST): Likewise.
7989 (FE_TOWARDZERO): Likewise.
7990 (FE_UPWARD): Likewise.
7991 (FE_DOWNWARD): Likewise.
7992 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7993 (FE_DIVBYZERO): Likewise.
7994 (FE_OVERFLOW): Likewise.
7995 (FE_UNDERFLOW): Likewise.
7996 (FE_INEXACT): Likewise.
7997 (FE_TONEAREST): Likewise.
7998 (FE_DOWNWARD): Likewise.
7999 (FE_UPWARD): Likewise.
8000 (FE_TOWARDZERO): Likewise.
8001 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8002 (FE_UNDERFLOW): Likewise.
8003 (FE_OVERFLOW): Likewise.
8004 (FE_DIVBYZERO): Likewise.
8005 (FE_INVALID): Likewise.
8006 (FE_TONEAREST): Likewise.
8007 (FE_TOWARDZERO): Likewise.
8008 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8009 (FE_OVERFLOW): Likewise.
8010 (FE_UNDERFLOW): Likewise.
8011 (FE_DIVBYZERO): Likewise.
8012 (FE_INEXACT): Likewise.
8013 (FE_TONEAREST): Likewise.
8014 (FE_TOWARDZERO): Likewise.
8015 (FE_UPWARD): Likewise.
8016 (FE_DOWNWARD): Likewise.
8017 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8018 (FE_DIVBYZERO): Likewise.
8019 (FE_OVERFLOW): Likewise.
8020 (FE_UNDERFLOW): Likewise.
8021 (FE_INEXACT): Likewise.
8022 (FE_TONEAREST): Likewise.
8023 (FE_DOWNWARD): Likewise.
8024 (FE_UPWARD): Likewise.
8025 (FE_TOWARDZERO): Likewise.
8026
105ca950
CM
80272012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8028
8029 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8030
a542b389
AS
80312012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8032
8033 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8034 commands. Quote $PWD.
8035 (blacklist_exports): Don't use remove_newlines. Replace "declare
8036 -x" by "export".
8037 (remove_newlines): Remove.
8038
f62c8abc
L
80392012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8040
8041 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8042 * stdlib/stdlib.h (atof): Moved to ...
8043 * include/bits/stdlib-float.h: Here. New file.
8044 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8045 * stdlib/bits/stdlib-float.h: New file.
8046 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8047 -mno-sse -mno-mmx.
8048 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8049 <xmmintrin.h>.
8050
0155d5b2
JM
80512012-11-02 Joseph Myers <joseph@codesourcery.com>
8052
a68d0680
JM
8053 * conform/conformtest.pl (@headers): Add fenv.h.
8054 * conform/data/fenv.h-data: New file.
8055 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8056 include of <math/fenv.h>.
8057
caf7f573
JM
8058 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8059 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8060 && !UNIX98]. Enables tests for XOPEN2K8.
8061 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8062 POSIX2008]: Likewise.
8063
6c073ad6
JM
8064 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8065 (struct rusage): Do not expect type or its members.
8066
0155d5b2
JM
8067 [BZ #3439]
8068 * math/math.h (FP_NAN): Define macro to integer constant usable in
8069 #if and use that to give value to enum constant.
8070 (FP_INFINITE): Likewise.
8071 (FP_ZERO): Likewise.
8072 (FP_SUBNORMAL): Likewise.
8073 (FP_NORMAL): Likewise.
8074
b5dcacb4
AS
80752012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8076
8077 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8078 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8079 arguments.
8080
f7934be8
RM
80812012-11-02 Roland McGrath <roland@hack.frob.com>
8082
8083 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8084 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8085 autoconf-time if not.
8086 * configure.in: Remove AC_PREREQ.
8087
d7d08bde
TMQMF
80882012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8089
8090 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8091 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8092 of the internal implementation.
8093
dcdae19a
JM
80942012-11-02 Joseph Myers <joseph@codesourcery.com>
8095
8096 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8097 except include of <misc/sys/syslog.h>.
8098
d6cffd3e
AS
80992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8100
8101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8102 function returns with a NULL context exit with zero.
8103
b3563932
TMQMF
81042012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8105
8106 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8107
b288a93d
L
81082012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8109
8110 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8111 (run_program_cmd): This.
8112 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8113 (tst_langinfo): New variable. Use it.
8114
a2421a68
SAS
81152012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8116
8117 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8118 floating point opcodes.
8119
6f796e1b
TS
81202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8121
7402596b
TS
8122 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8123 variable.
8124
d0d4f868
TS
8125 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8126
6f796e1b
TS
8127 * sysdeps/mach/hurd/powerpc: Remove directory.
8128 * sysdeps/mach/powerpc: Likewise.
8129
4da224a2
AS
81302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8131
8132 * scripts/check-local-headers.sh: Ignore c++ headers.
8133
341dd673
TS
81342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8135
8136 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8137 __libc_cleanup_region_start argument.
8138
473611b2
JM
81392012-11-01 Joseph Myers <joseph@codesourcery.com>
8140
8141 [BZ #14784]
8142 [BZ #14785]
8143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8144 x * y using scaling, not as x * y + z.
8145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8146 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8147 * math/libm-test.inc (fma_test): Add more tests.
8148 (fma_test_towardzero): Likewise.
8149 (fma_test_downward): Likewise.
8150 (fma_test_upward): Likewise.
8151
4078da3d
TS
81522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8153
8154 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8155
903252aa
JM
81562012-10-31 Joseph Myers <joseph@codesourcery.com>
8157
8158 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8159 New variable.
8160
cbc818d0
TS
81612012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8162
8163 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8164
5a03cb1e
AS
81652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8166
8167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8168 Fix sort order.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8170 Likewise.
8171
90aff2ff
TMQMF
81722012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8173
8174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8175 Fix the order of the list for glibc 2.17.
8176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8177 Likewise.
8178
1818fcb7
AS
81792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8180
8181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8182
ef82f4da
JM
81832012-10-31 Joseph Myers <joseph@codesourcery.com>
8184
16a0e2ec
JM
8185 [BZ #14610]
8186 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8187 for low part of x being zero before using __atanl (y).
8188 * math/libm-test.inc (atan2_test): Add another test.
8189
0eb69512
JM
8190 * manual/install.texi (Configuring and compiling): Document
8191 general use of test-wrapper and test-wrapper-env.
8192 * INSTALL: Regenerated.
8193
ef82f4da
JM
8194 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8195 (__fma): Do not extract and scale down low bits on after-rounding
8196 systems when result rounded to normal precision would have normal
8197 exponent.
8198 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8199 (__fmal): Do not extract and scale down low bits on after-rounding
8200 systems when result rounded to normal precision would have normal
8201 exponent.
8202 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8203 (__fmal): Do not extract and scale down low bits on after-rounding
8204 systems when result rounded to normal precision would have normal
8205 exponent.
8206 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8207 macro.
8208 (fma_test): Add more tests.
8209 (fma_test_towardzero): Likewise.
8210 (fma_test_downward): Likewise.
8211 (fma_test_upward): Likewise.
8212
954ef0d9
L
82132012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8214
8215 * sysdeps/i386/tininess.h: Renamed to ...
8216 * sysdeps/x86/tininess.h: This.
8217 * sysdeps/x86_64/tininess.h: Removed.
8218
df61ffb2
JM
82192012-10-30 Joseph Myers <joseph@codesourcery.com>
8220
8221 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8222 input. Use $(build-program-cmd).
8223 ($(objpfx)tst-array1-static.out): Likewise.
8224 ($(objpfx)tst-array2.out): Likewise.
8225 ($(objpfx)tst-array3.out): Likewise.
8226 ($(objpfx)tst-array4.out): Likewise.
8227 ($(objpfx)tst-array5.out): Likewise.
8228 ($(objpfx)tst-array5-static.out): Likewise.
8229
01767843
CM
82302012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8231
47cc1490
CM
8232 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8233 if defined.
8234
01767843
CM
8235 * nss/nsswitch.h (nss_interface_function): Provide new
8236 macro for use with NSS functions.
8237 * grp/initgroups.c: Use new macro.
8238 * nss/getXXbyYY.c: Likewise.
8239 * nss/getXXbyYY_r.c: Likewise.
8240 * nss/getXXent.c: Likewise.
8241 * nss/getXXent_r.c: Likewise.
8242 * sysdeps/posix/getaddrinfo.c: Likewise.
8243
8321aa97
AJ
82442012-10-30 Andreas Jaeger <aj@suse.de>
8245
8246 * po/ru.po: Update Russion translation from translation project.
8247
2a27fd6d
JM
82482012-10-30 Joseph Myers <joseph@codesourcery.com>
8249
8627a232
JM
8250 [BZ #14152]
8251 [BZ #14783]
8252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8253 result and shift together with sticky bit instead of replicating
8254 round-to-nearest rounding.
8255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8257 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8258 missing underflow exceptions.
8259 (fma_test_towardzero): Add more tests.
8260 (fma_test_downward): Likewise.
8261 (fma_test_upward): Likewise.
8262
2a27fd6d
JM
8263 [BZ #14047]
8264 * sysdeps/generic/tininess.h: New file.
8265 * sysdeps/i386/tininess.h: Likewise.
8266 * sysdeps/sh/tininess.h: Likewise.
8267 * sysdeps/x86_64/tininess.h: Likewise.
8268 * stdlib/tst-strtod-underflow.c: Likewise.
8269 * stdlib/tst-tininess.c: Likewise.
8270 * stdlib/strtod_l.c: Include <tininess.h>.
8271 (round_and_return): Do not set errno for exact underflow cases.
8272 Force an underflow exception when setting errno for underflow.
8273 Determine underflow based on rounding to normal precision if
8274 TININESS_AFTER_ROUNDING.
8275 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8276 ERANGE for exact underflow cases.
8277 * stdlib/Makefile (tests): Add tst-tininess and
8278 tst-strtod-underflow.
8279 ($(objpfx)tst-tininess): Use $(link-libm).
8280 ($(objpfx)tst-strtod-underflow): Likewise.
8281
e7170363
AJ
82822012-10-30 Andreas Jaeger <aj@suse.de>
8283
e5088dc6
AJ
8284 [BZ#14767]
8285 * elf/Makefile (tests): Remove conditional for have-initfini-array
8286 since this is now always required and the variable does not exist
8287 anymore.
8288 (tests-static): Likewise.
8289 (modules-names): Likewise.
8290
e7170363 8291 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8292
8293 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8294 merged with constructor/destructor.
8295 (init_array): Likewise.
8296 * elf/tst-array2dep.c (fini_array): Likewise.
8297 (init_array): Likewise.
8298
60457d8a
MF
82992012-10-29 Mike Frysinger <vapier@gentoo.org>
8300
8301 * manual/message.texi: Delete @cartouche tags.
8302
8bece752
PT
83032012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8304
94ce799f
PT
8305 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8306 EOPNOTSUPP.
8307 * sysdeps/mach/hurd/fsync.c: Likewise.
8308
8bece752
PT
8309 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8310 [_POSIX_REALTIME_SIGNALS]: Change condition to
8311 [_POSIX_REALTIME_SIGNALS > 0].
8312
86ebe6b1
AJ
83132012-10-27 Andreas Jaeger <aj@suse.de>
8314
8315 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8316 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8317 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8318 [__WORDSIZE != 64]: Likewise.
8319
54399c08
L
83202012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8321
8322 * iconvdata/tst-table.sh: Remove ${SHELL}.
8323 * iconvdata/tst-tables.sh: Likewise.
8324
e2211bed
DM
83252012-10-25 David S. Miller <davem@davemloft.net>
8326
8327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8328 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8329 of strtoull.
8330
f303f97c
DM
8331 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8332 ifunc-impl-list.c
8333 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8334 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8335 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8336 file.
8337
1e9d84cd
RM
83382012-10-25 Roland McGrath <roland@hack.frob.com>
8339
8340 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8341 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8342 __getdirentries.
8343
df381762
JM
83442012-10-25 Joseph Myers <joseph@codesourcery.com>
8345 Jim Blandy <jimb@codesourcery.com>
8346
8347 * scripts/cross-test-ssh.sh: New file.
8348 * manual/install.texi (Configuring and compiling): Document use of
8349 cross-test-ssh.sh.
8350 * INSTALL: Regenerated.
8351
bff64913
PT
83522012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8353
8354 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8355 EOPNOTSUPP.
8356
25fe8932
JM
83572012-10-25 Joseph Myers <joseph@codesourcery.com>
8358
8359 * Makeconfig (run-program-prefix): Fix comment.
8360
cc1290d0
JM
83612012-10-24 Joseph Myers <joseph@codesourcery.com>
8362 Jim Blandy <jimb@codesourcery.com>
8363
8364 * Makeconfig (test-wrapper): New variable,
8365 (test-wrapper-env): Likewise.
8366 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8367 (run-built-tests): Define to yes.
8368 (run-program-prefix): Use $(test-wrapper).
8369 (built-program-cmd): Likewise.
8370 * Rules (make-test-out): Use $(test-wrapper-env) and
8371 $(host-built-program-cmd).
8372 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8373 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8374 tst-pathopt.sh.
8375 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8376 $(test-wrapper-env) to tst-rtld-load-self.sh.
8377 ($(objpfx)order2.out): Use $(test-wrapper).
8378 ($(objpfx)tst-initorder.out): Likewise.
8379 ($(objpfx)tst-initorder2.out): Likewise.
8380 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8381 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8382 (test_wrapper_env): New variable. Use it to run ld.so.
8383 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8384 Use it to run ld.so.
8385 (test_wrapper_env): Likewise.
8386 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8387 $(test-wrapper) to run-iconv-test.sh.
8388 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8389 (ICONV): Use $test_wrapper.
8390 * posix/Makefile ($(objpfx)globtest.out): Pass
8391 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8392 globtest.sh, not $(run-program-prefix).
8393 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8394 (test_wrapper): Likewise.
8395 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8396 set together with run_via_rtld_prefix.
8397 (run_program_prefix): Define in terms of test_wrapper and
8398 run_via_rtld_prefix.
8399
6e6249d0
RM
84002012-10-24 Roland McGrath <roland@hack.frob.com>
8401
8402 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8403 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8404 Targets removed.
8405
8406 [BZ #14743]
8407 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8408 Declare __clock_getres, __clock_gettime, __clock_settime,
8409 __clock_nanosleep, and __clock_getcpuclockid.
8410 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8411 Remove librt_hidden_def (clock_gettime).
8412 * sysdeps/unix/clock_gettime.c: Likewise.
8413 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8414 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8415 * rt/clock_getres.c: Define __clock_getres as an alias.
8416 * sysdeps/posix/clock_getres.c: Likewise.
8417 * rt/clock_settime.c: Define __clock_settime as an alias.
8418 * sysdeps/unix/clock_settime.c: Likewise.
8419 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8420 * sysdeps/unix/clock_nanosleep.c: Likewise.
8421 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8422 * rt/clock-compat.c: New file.
8423 * rt/Makefile (librt-routines): Add clock-compat and move
8424 $(clock-routines) to ...
8425 (routines): ... here, new variable.
8426 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8427 Don't add get_clockfreq here.
8428 * rt/Versions (libc: GLIBC_2.17): New version set.
8429 Add clock_* symbols here.
8430 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8431 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8432 (GLIBC_2.17): Add clock_* symbols.
8433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8435 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8437 Likewise.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8439 Likewise.
8440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8444 * NEWS: Mention the move.
8445
8446 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8447 Use __open, __read, __close rather than their public counterparts.
8448 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8449 (__get_clockfreq_via_cpuinfo): Likewise.
8450 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8451 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8452
8453 * config.h.in (HAVE_IFUNC): New #undef.
8454 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8455 was successful.
8456 * configure: Regenerated.
8457
0cae3f4b
MF
84582012-10-24 Mike Frysinger <vapier@gentoo.org>
8459
8460 * configure.in: Move READELF check to start of file.
8461 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8462 libc_cv_asm_gnu_indirect_function in the process.
8463 * configure: Regenerated.
8464
8175a253
MF
84652012-10-24 Mike Frysinger <vapier@gentoo.org>
8466
8467 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8468 send the output to /dev/null.
8469 (libc_cv_cc_with_libunwind): Likewise.
8470 (libc_cv_as_noexecstack): Likewise.
8471 * configure: Regenerate.
8472
0708a7d1
JM
84732012-10-24 Joseph Myers <joseph@codesourcery.com>
8474
10b40d85
JM
8475 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8476
0708a7d1
JM
8477 * posix/globtest.sh (TMPDIR): Do not set.
8478 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8479 (testout): Likewise.
8480
9fddec1a
AJ
84812012-10-24 Andreas Jaeger <aj@suse.de>
8482
3a8db22f
AJ
8483 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8484 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8485 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8486 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8487 posix_fadvise64, posix_fallocate64.
8488
9fddec1a
AJ
8489 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8490 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8491 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8492 Likewise.
8493 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8494 Likewise.
8495 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8496
8497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8498 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8499 <bits/fcntl-linux.h>.
8500 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8501
8502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8503 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8504 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8505 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8506 [__WORDSIZE != 64]: Likewise.
8507
ebfd1bbd
JM
85082012-10-23 Joseph Myers <joseph@codesourcery.com>
8509
03ac099f
JM
8510 * Makeconfig (run-built-tests): New variable.
8511 * Rules [$(cross-compiling) = yes]: Change condition to
8512 [$(run-built-tests) = no].
8513 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8514 to [$(run-built-tests) = yes].
8515 * elf/Makefile [$(cross-compiling) = no]: Likewise
8516 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8517 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8518 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8519 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8520 * io/Makefile [$(cross-compiling) = no]: Likewise.
8521 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8522 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8523 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8524 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8525 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8526 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8527 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8528 * string/Makefile [$(cross-compiling) = no]: Likewise.
8529
ebfd1bbd
JM
8530 * posix/Makefile ($(objpfx)globtest.out): Pass
8531 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8532 $(rtld-installed-name).
8533 * posix/globtest.sh (elf_objpfx): Remove variable.
8534 (rtld_installed_name): Likewise.
8535 (library_path): Likewise.
8536 (run_program_prefix): New variable. Use for running globtest
8537 binary.
8538
166bca24
JB
85392012-10-23 Jim Blandy <jimb@codesourcery.com>
8540 Joseph Myers <joseph@codesourcery.com>
8541
8542 * Makeconfig (host-built-program-cmd): New variable.
8543 * elf/Makefile (tst-stackguard1-ARGS): Use
8544 $(host-built-program-cmd).
8545 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8546 (tst-spawn-ARGS): Likewise.
8547 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8548
88866099
JM
85492012-10-23 Joseph Myers <joseph@codesourcery.com>
8550 Jim Blandy <jimb@codesourcery.com>
8551
8552 * Makeconfig (run-via-rtld-prefix): New variable.
8553 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8554 (built-program-cmd): Likewise.
8555
b4b4c296
AJ
85562012-10-22 Andreas Jaeger <aj@suse.de>
8557
8558 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8559 __O_RSYNC if it exists, otherwise to O_SYNC.
8560
6fb54a22
JB
85612012-10-22 Jim Blandy <jimb@codesourcery.com>
8562 Joseph Myers <joseph@codesourcery.com>
8563
8564 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8565 /dev/null.
8566 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8567 from /dev/null
8568 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8569 /dev/null.
8570
481b90b9
AJ
85712012-10-22 Andreas Jaeger <aj@suse.de>
8572
2a0e2669
AJ
8573 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8574 Define always.
8575 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8576
76e38f9a
AJ
8577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8578 bits/fcntl-linux.h.
8579
7cd37b43
AJ
8580 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8581 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8582
481b90b9
AJ
8583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8584 to __O_LARGEFILE.
8585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8586 to __O_LARGEFILE.
8587
aba75984
JB
85882012-10-21 Jim Blandy <jimb@codesourcery.com>
8589 Joseph Myers <joseph@codesourcery.com>
8590
8591 * config.make.in (NM): New variable.
8592
88d4247f
AJ
85932012-10-21 Andreas Jaeger <aj@suse.de>
8594
8595 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8596 definitions and declarations that are provided by
8597 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8598
f2eed205
L
85992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8600
8601 [BZ #14683]
8602 * elf/Makefile (tests-static): Add tst-leaks1-static.
8603 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8604 ($(objpfx)tst-leaks1-static): New rule.
8605 ($(objpfx)tst-leaks1-static-mem): Likewise.
8606 (tst-leaks1-static-ENV): New macro.
8607 * elf/dl-open.c (dl_open_worker): Check the main application
8608 only if SHARED is defined.
8609 * elf/tst-leaks1-static.c: New file.
8610
335e6931
AJ
86112012-10-20 Andreas Jaeger <aj@suse.de>
8612
8613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8614 generic values for Linux.
8615 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8616 and declarations that are provided by <bits/fcntl-linux.h> and
8617 include <bits/fcntl-linux.h>.
8618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8619 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8620
ac5c94d3
RM
86212012-10-20 Roland McGrath <roland@hack.frob.com>
8622
8623 * io/fcntl.h: Move include of <bits/types.h> to the top and
8624 include it unconditionally.
8625
de54b33a
L
86262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8627
228cfb01
L
8628 * wcsmbs/Makefile (tests-ifunc): New variable.
8629 (tests): Add $(tests-ifunc).
8630 * wcsmbs/test-wcschr-ifunc.c: New file.
8631 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8632 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8633 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8634 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8635 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8636
69f07e5f
L
8637 * string/Makefile (tests-ifunc): New variable.
8638 (tests): Add $(tests-ifunc).
8639 * string/test-memccpy.c (TEST_NAME): New macro.
8640 * string/test-memchr.c (TEST_NAME): Likewise.
8641 * string/test-memcmp.c (TEST_NAME): Likewise.
8642 * string/test-memcpy.c (TEST_NAME): Likewise.
8643 * string/test-memmem.c (TEST_NAME): Likewise.
8644 * string/test-memmove.c (TEST_NAME): Likewise.
8645 * string/test-memset.c (TEST_NAME): Likewise.
8646 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8647 * string/test-stpcpy.c (TEST_NAME): Likewise.
8648 * string/test-stpncpy.c (TEST_NAME): Likewise.
8649 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8650 * string/test-strcasestr.c (TEST_NAME): Likewise.
8651 * string/test-strcat.c (TEST_NAME): Likewise.
8652 * string/test-strchr.c (TEST_NAME): Likewise.
8653 * string/test-strcmp.c(TEST_NAME): Likewise.
8654 * string/test-strcpy.c (TEST_NAME): Likewise.
8655 * string/test-strcspn.c (TEST_NAME): Likewise.
8656 * string/test-strlen.c (TEST_NAME): Likewise.
8657 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8658 * string/test-strncmp.c (TEST_NAME): Likewise.
8659 * string/test-strncpy.c (TEST_NAME): Likewise.
8660 * string/test-strnlen.c (TEST_NAME): Likewise.
8661 * string/test-strpbrk.c (TEST_NAME): Likewise.
8662 * string/test-strrchr.c (TEST_NAME): Likewise.
8663 * string/test-strspn.c (TEST_NAME): Likewise.
8664 * string/test-strstr.c (TEST_NAME): Likewise.
8665 * string/test-bcopy-ifunc.c: New file.
8666 * string/test-bzero-ifunc.c: Likewise.
8667 * string/test-memccpy-ifunc.c: Likewise.
8668 * string/test-memchr-ifunc.c: Likewise.
8669 * string/test-memcmp-ifunc.c: Likewise.
8670 * string/test-memcpy-ifunc.c: Likewise.
8671 * string/test-memmem-ifunc.c: Likewise.
8672 * string/test-memmove-ifunc.c: Likewise.
8673 * string/test-mempcpy-ifunc.c: Likewise.
8674 * string/test-memset-ifunc.c: Likewise.
8675 * string/test-rawmemchr-ifunc.c: Likewise.
8676 * string/test-stpcpy-ifunc.c: Likewise.
8677 * string/test-stpncpy-ifunc.c: Likewise.
8678 * string/test-strcasecmp-ifunc.c: Likewise.
8679 * string/test-strcasestr-ifunc.c: Likewise.
8680 * string/test-strcat-ifunc.c: Likewise.
8681 * string/test-strchr-ifunc.c: Likewise.
8682 * string/test-strchrnul-ifunc.c: Likewise.
8683 * string/test-strcmp-ifunc.c: Likewise.
8684 * string/test-strcpy-ifunc.c: Likewise.
8685 * string/test-strcspn-ifunc.c: Likewise.
8686 * string/test-strlen-ifunc.c: Likewise.
8687 * string/test-strncasecmp-ifunc.c: Likewise.
8688 * string/test-strncat-ifunc.c: Likewise.
8689 * string/test-strncmp-ifunc.c: Likewise.
8690 * string/test-strncpy-ifunc.c: Likewise.
8691 * string/test-strnlen-ifunc.c: Likewise.
8692 * string/test-strpbrk-ifunc.c: Likewise.
8693 * string/test-strrchr-ifunc.c: Likewise.
8694 * string/test-strspn-ifunc.c: Likewise.
8695 * string/test-strstr-ifunc.c: Likewise.
8696
de54b33a
L
8697 * debug/Makefile (tests-ifunc): New variable.
8698 (tests): Add $(tests-ifunc).
8699 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8700 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8701 * debug/test-stpcpy_chk-ifunc.c: New file.
8702 * debug/test-strcpy_chk-ifunc.c: Likewise.
8703
88481c16
SP
87042012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8705
8706 [BZ #13601]
8707 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8708 header is not read in.
8709
135948bd
JM
87102012-10-19 Joseph Myers <joseph@codesourcery.com>
8711
89f1c388
JM
8712 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8713 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8714 directly. Pass built executable to script as
8715 $(built-program-cmd).
8716 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8717 $testprogram without using LD_LIBRARY_PATH and $ldso.
8718
e40a0d21
JM
8719 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8720 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8721 $(rtld-installed-name).
8722 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8723 (rtld_installed_name): Likewise.
8724 (library_path): Likewise.
8725 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8726 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8727 $(run-program-prefix) to tst-tables.sh.
8728 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8729 it to run tst-table-from and tst-table-to.
8730 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8731 Pass it to tst-table.sh.
8732 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8733 $(run-program-prefix) to tst-gettext.sh.
8734 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8735 tst-translit.sh.
8736 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8737 tst-gettext2.sh.
8738 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8739 to run tst-gettext.
8740 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8741 to run tst-gettext2.
8742 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8743 to run tst-translit.
8744 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8745 $(run-program-prefix) to tst-mtrace.sh.
8746 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8747 to run tst-mtrace.
8748 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8749 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8750 $(rtld-installed-name).
8751 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8752 (rtld_installed_name): Likewise.
8753 (run_program_prefix): New variable. Use it to run wordexp-test.
8754
728e272a
JM
8755 * Makeconfig (ARCH): Remove all definitions.
8756 (machine): Likewise.
8757 [ARCH]: Remove conditional code.
8758 [!objdir]: Give error.
8759 [!objdir] (objpfx): Remove.
8760 [!objdir] (common-objpfx): Likewise.
8761 [!objdir] (common-objdir): Likewise.
8762 * configure.in (config_makefile): Remove. Hardcode Makefile in
8763 AC_CONFIG_FILES call.
8764 * configure: Regenerated.
8765
d528cdcf
JM
8766 [BZ #13888]
8767 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8768 or TMPDIR.
8769 (testout): Likewise.
8770
135948bd
JM
8771 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8772 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8773 $(rtld-installed-name).
8774 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8775 (rtld_installed_name): Likwise.
8776 (runit): Remove function.
8777 (run_getconf): New variable, Use it for running getconf binary.
8778
38c78296
L
87792012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8780
8781 [BZ #14716]
8782 * string/test-memmem.c (check_result): New function.
8783 (do_one_test): Use it.
8784 (check1): New function.
8785 (test_main): Use it.
8786
d077f65f
MT
87872012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8788
8789 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8790
ced52c71
JM
87912012-10-18 Joseph Myers <joseph@codesourcery.com>
8792
8793 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8794 (_G_LSEEK64): Likewise.
8795 (_G_MMAP64): Likewise.
8796 (_G_FSTAT64): Likewise.
8797 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8798 (_G_LSEEK64): Likewise.
8799 (_G_MMAP64): Likewise.
8800 (_G_FSTAT64): Likewise.
8801 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8802 unconditional. Call __mmap64 directly.
8803 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8804 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8805 __lseek64 directly.
8806 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8807 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8808 __mmap64 directly.
8809 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8810 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8811 __lseek64 directly.
8812 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8813 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8814 __lseek64 directly.
8815 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8816 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8817 __lseek64 directly.
8818 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8819 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8820 __fxstat64 directly.
8821 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8822 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8823 unconditional.
8824 (freopen64) [!_G_OPEN64]: Remove conditional code.
8825 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8826 unconditional.
8827 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8828 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8829 unconditional.
8830 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8831 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8832 unconditional.
8833 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8834 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8835 unconditional.
8836 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8837 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8838 unconditional.
8839 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8840 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8841 unconditional.
8842 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8843 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8844 unconditional.
8845 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8846
b741de23
SP
88472012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8848
8849 [BZ #12140]
8850 * manual/memory.texi (Malloc Tunable Parameters): Add note
8851 about free list pointers overwriting some perturb bytes.
8852 Wording suggested by Roland McGrath.
8853
f9b9d9c9
JM
88542012-10-17 Joseph Myers <joseph@codesourcery.com>
8855
8856 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8857 (lgamma_test): Likewise.
8858 (tgamma_test): Likewise.
8859
172a631a
FW
88602012-10-16 Florian Weimer <fweimer@redhat.com>
8861
8862 [BZ #14700]
8863 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8864 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8865
e9f37252
MK
88662012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8867
8868 * NEWS: Mention BZ #14716.
8869 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8870 when removing AVAILABLE1_USES_J macro.
8871
d394eb74
L
88722012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8873
8874 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8875 (__bswap_64): __uint64_t for unsigned 64-bit int.
8876
ca38dc17
AS
88772012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8878
8879 * include/string.h (memmem): Declare libc hidden alias.
8880 * string/memmem.c (memmem): Define libc hidden alias.
8881 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8882 __read, __close instead of open, read, close.
8883
9a387d1f
L
88842012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8885
ac49ecaf
L
8886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8887 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8888 global and hidden.
8889 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8890 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8891 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8892 Likewise.
8893 (__rawmemchr_sse2): Likewise.
8894 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8895 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8896 (__strchr_sse2): Likewise.
8897 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8898 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8899 (__strcasecmp_sse2): Likewise.
8900 (__strncasecmp_sse2): Likewise.
8901 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8902 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8903 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8904 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8905 (__strrchr_sse2): Likewise.
8906 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8907 ifunc-impl-list.c.
8908 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8909 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8910 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8911 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8912 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8913 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8914 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8915 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8916 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8917 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8918 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8919 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8920 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8921 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8922 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8923 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8924 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8925 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8926 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8927 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8928 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8929 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8930 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8931 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8932 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8933 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8934 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8935 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8936 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8937 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8938
b090e8ea
L
8939 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8940 global and hidden.
8941 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8942 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8943 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8944 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8945 Likewise.
8946 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8947 Likewise.
8948 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8949 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8950 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8951 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8952 ifunc-impl-list.c.
8953 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8954 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8955 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8956 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8957 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8958 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8959 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8960 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8961 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8962 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8963 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8964 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8965 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8966 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8967 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8968 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8969 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8970 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8971 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8972 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8973 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8974 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8975 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8976 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8977 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8978 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8979 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8980 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8981 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8982 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8983 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8984 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8985 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8986 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8987 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8988 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8989 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8990 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8991 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8992 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8993 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8994
11dd4af6
L
8995 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8996 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8997 * include/ifunc-impl-list.h: New file.
8998 * misc/ifunc-impl-list.c: Likewise.
8999 * misc/Makefile (routines): Add ifunc-impl-list.
9000 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9001 * string/test-string.h: Include <ifunc-impl-list.h>.
9002 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9003 impl_array): New variables.
9004 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9005 are defined.
9006 (test_init): Call __libc_ifunc_impl_list to initialize
9007 func_list if TEST_IFUNC and TEST_NAME are defined.
9008
9a387d1f
L
9009 * string/Makefile (strop-tests): Add bcopy and bzero.
9010 * string/test-bcopy.c: New file.
9011 * string/test-bzero.c: Likewise.
9012 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9013 defined.
9014 * string/test-memset.c: Support bzero test if TEST_BZERO is
9015 defined.
9016 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9017 __libc_memmove.
9018 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9019 __libc_memset.
9020 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9021 of memset.
9022
472371b9
JM
90232012-10-10 Joseph Myers <joseph@codesourcery.com>
9024
1e4a9536
JM
9025 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9026 * configure: Regenerated.
9027
d173d12e
JM
9028 * Makeconfig (+link-static-before-libc): Don't include
9029 $(link-static-libc).
9030
472371b9
JM
9031 * libio/libio.h (_IO_pos_t): Remove.
9032
89a3ad0b
AO
90332012-10-10 Alexandre Oliva <aoliva@redhat.com>
9034
9035 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9036 McGrath.
9037
e7451425
AO
90382012-10-10 Alexandre Oliva <aoliva@redhat.com>
9039
9040 * crypt/crypt-entry.c: Include fips-private.h.
9041 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9042 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9043 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9044 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9045
4ba74a35
AO
90462012-10-10 Alexandre Oliva <aoliva@redhat.com>
9047
9048 * crypt/crypt-private.h: Include stdbool.h.
9049 (_ufc_setup_salt_r): Return bool.
9050 * crypt/crypt-entry.c: Include errno.h.
9051 (__crypt_r): Return NULL with EINVAL for bad salt.
9052 * crypt/crypt_util.c (bad_for_salt): New.
9053 (_ufc_setup_salt_r): Check that salt is long enough and within
9054 the specified alphabet.
9055 * crypt/badsalttest.c: New file.
9056 * crypt/Makefile (tests): Add it.
9057 ($(objpfx)badsalttest): New.
9058
f96f1242
MK
90592012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9060
9061 * NEWS: Add entry for BZ #14602.
9062
0e8e0c1c
JM
90632012-10-09 Joseph Myers <joseph@codesourcery.com>
9064
9065 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9066 type-generic.
9067 * math/libm-test.inc: Update comment listing what functions and
9068 macros are tested.
9069 (isgreater_test): New function.
9070 (isgreaterequal_test): Likewise.
9071 (isless_test): Likewise.
9072 (islessequal_test): Likewise.
9073 (islessgreater_test): Likewise.
9074 (isunordered_test): Likewise.
9075 (main): Call the new functions.
9076
273edc5e
RM
90772012-10-09 Roland McGrath <roland@hack.frob.com>
9078
b8493de0
RM
9079 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9080 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9081 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9082 * sysdeps/i386/configure: Regenerated.
9083 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9084 * sysdeps/mach/configure: Regenerated.
9085 * sysdeps/mach/hurd/configure: Regenerated.
9086 * sysdeps/powerpc/configure: Regenerated.
9087 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9088 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9089 * sysdeps/s390/s390-32/configure: Regenerated.
9090 * sysdeps/s390/s390-64/configure: Regenerated.
9091 * sysdeps/sh/configure: Regenerated.
9092 * sysdeps/sparc/configure: Regenerated.
9093 * sysdeps/unix/sysv/linux/configure: Regenerated.
9094 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9095 * sysdeps/x86_64/configure: Regenerated.
9096
273edc5e
RM
9097 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9098 defined. Don't check if MAP is NULL.
9099
c8450f70
JM
91002012-10-09 Joseph Myers <joseph@codesourcery.com>
9101
9102 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9103 (_G_stat64): Likewise.
9104 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9105 (_G_stat64): Likewise.
9106 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9107 instead of struct _G_stat64.
9108 * libio/fileops.c (mmap_remap_check): Likewise.
9109 (decide_maybe_mmap): Likewise.
9110 (_IO_new_file_seekoff): Likewise.
9111 (_IO_file_stat): Likewise.
9112 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9113 _G_off64_t.
9114 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9115 instead of struct _G_stat64.
9116 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9117
57e605ba
MK
91182012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9119
9120 [BZ #14602]
9121 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9122 Replace with ...
9123 (CHECK_EOL): New macro.
9124 (two_way_short_needle): Check beginning of haystack for EOL. Use
9125 CHECK_EOL.
9126 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9127 Replace with CHECK_EOL.
9128 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9129 Replace with CHECK_EOL.
9130
ef1bb361
JM
91312012-10-08 Joseph Myers <joseph@codesourcery.com>
9132
9133 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9134 type-generic.
9135 * math/libm-test.inc: Update comment listing what functions and
9136 macros are tested.
9137 (finite_test): New function.
9138 (isinf_test): Likewise.
9139 (isnan_test): Likewise.
9140 (fpclassify_test): Test subnormal input.
9141 (isfinite_test): Likewise.
9142 (isnormal_test): Likewise.
9143 (main): Call the new functions.
9144
55f11534
JN
91452012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9146
9147 [BZ #14660]
9148 * Makerules (%.dynsym): Force C locale when running
9149 $(OBJDUMP) --dynamic-syms.
9150
1ab29350
AS
91512012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9152
9153 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9154 <stdint.h>.
9155
f1ecb7ef
DM
91562012-10-06 David S. Miller <davem@davemloft.net>
9157
9158 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9159 upper 32-bits of the length value in %o2 since we use branch-on-register
9160 tests which consider the entire 64-bit register.
9161
5d41d91a
L
91622012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9163
9164 * string/test-strstr.c (check2): Add a test for page boundary.
9165
3baddb72
DM
91662012-10-05 David S. Miller <davem@davemloft.net>
9167
9168 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9169 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9170 file.
9171 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9172 sysdep_routines.
9173 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9174 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9175 and bzero when HWCAP_SPARC_CRYPTO is present.
9176
9cee5585
L
91772012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9178
d7e0dab9
L
9179 [BZ #14602]
9180 * string/test-strstr.c (check2): New function.
9181 (test_main): Call check2.
9182
03759f47
L
9183 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9184 and bug-strchr1.
9185 * string/bug-strcasestr1.c (do_test): Moved to ...
9186 * string/test-strcasestr.c (check1): Here. New function.
9187 (do_one_test): Break out result checking code into ...
9188 (check_result): This. New function.
9189 (do_one_test): Call check_result.
9190 (test_main): Call check1.
9191 * string/bug-strchr1.c (do_test): Moved to ...
9192 * string/test-strchr.c (check1): Here. New function.
9193 (do_one_test): Break out result checking code into ...
9194 (check_result): This. New function.
9195 (do_one_test): Call check_result.
9196 (test_main): Call check1.
9197 * string/bug-strstr1.c (main): Moved to ...
046f153e 9198 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9199 (do_one_test): Break out result checking code into ...
9200 (check_result): This. New function.
9201 (do_one_test): Call check_result.
9202 (test_main): Call check1.
9203 * string/bug-strcasestr1.c: Removed.
9204 * string/bug-strchr1.c: Likewise.
9205 * string/bug-strstr1.c: Likewise.
9206
53cea63e
L
9207 * elf/Makefile (dl-routines): Add hwcaps.
9208 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9209 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9210 (_dl_important_hwcaps): Moved to ...
9211 * elf/dl-hwcaps.c: Here. New file.
9212 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9213
9cee5585 9214 [BZ #14557]
bb859b06
L
9215 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9216 if IS_IN_rtld isn't defined.
9217
9cee5585
L
9218 * elf/dl-support.c (_dl_sysinfo_map): New.
9219 Include "get-dynamic-info.h" and "setup-vdso.h".
9220 (_dl_non_dynamic_init): Call setup_vdso.
9221 * elf/dynamic-link.h: Don't include <assert.h>.
9222 (elf_get_dynamic_info): Moved to ...
9223 * elf/get-dynamic-info.h: Here. New file.
9224 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9225 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9226 * elf/setup-vdso.h: Here. New file.
9227 * elf/rtld.c: Include "setup-vdso.h".
9228 (dl_main): Call setup_vdso.
9229
23c31b76
JM
92302012-10-05 Joseph Myers <joseph@codesourcery.com>
9231
28234b07
JM
9232 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9233 creal in comment listing functions tested. List finite, isinf,
9234 isnan, isless, islessequal, isgreater, isgreaterequal,
9235 islessgreater, isunordered, lgamma_r and pow10 as functions and
9236 macros not tested. Mention which functions not tested are aliases
9237 for other functions. Fix typo. Note that signs of NaNs are not
9238 tested.
9239
23c31b76
JM
9240 * scripts/config.guess: Update from config.git.
9241 * scripts/config.sub: Likewise.
9242
9043e228
RM
92432012-10-04 Roland McGrath <roland@hack.frob.com>
9244
9245 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9246 * misc/madvise.c (madvise): Renamed to __madvise.
9247 Make madvise a weak alias.
9248 * include/sys/mman.h: Declare __madvise.
9249 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9250 * sysdeps/unix/syscalls.list
9251 (madvise): Make __madvise the strong name, and madvise a weak alias.
9252 * sysdeps/unix/sysv/linux/syscalls.list
9253 (madvise, mmap): Remove redundant entries.
9254 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9255 * malloc/malloc.c (mtrim): Likewise.
9256 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9257
f57f8055
RM
92582012-10-03 Roland McGrath <roland@hack.frob.com>
9259
9260 * sysdeps/mach/hurd/dl-cache.c: File removed.
9261 * config.h.in (USE_LDCONFIG): New #undef.
9262 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9263 * configure: Regenerated.
9264 * elf/Makefile (dl-routines): Add dl-cache only under
9265 [$(use-ldconfig) = yes].
9266 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9267 cache on [USE_LDCONFIG].
9268 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9269 [USE_LDCONFIG].
9270 * elf/rtld.c (dl_main): Likewise.
9271
5bb0c10a
PT
92722012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9273
9274 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9275 _SC_LEVEL4_CACHE_LINESIZE.
9276
010188c6
RM
92772012-10-03 Roland McGrath <roland@hack.frob.com>
9278
9279 * sysdeps/unix/bsd/confstr.h: File removed.
9280
b6c5ec07
AO
92812012-10-02 Alexandre Oliva <aoliva@redhat.com>
9282
9283 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9284 sys/sdt-config.h.
9285
408223d4
RM
92862012-10-02 Roland McGrath <roland@hack.frob.com>
9287
9288 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9289 Make 'mapoff' field ElfW(Off) rather than off_t.
9290
bb9510dc
DL
92912012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9292
fc997c6e
DL
9293 * nscd/Makefile: Remove nscd-cflags and all its users.
9294 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9295 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9296
bb9510dc
DL
9297 [BZ #10631]
9298 * malloc.c (malloc_printerr): Clarify error message.
9299
05699367
L
93002012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9301
9302 [BZ #14648]
9303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9304 Set bit_FMA_Usable if FMA is supported.
9305 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9306 macro.
9307 (bit_FMA4_Usable): Updated.
9308 (index_FMA_Usable): New macro.
9309 (CPUID_FMA): Likewise
9310 (HAS_FMA): Defined with bit_FMA_Usable.
9311
51367701
RM
93122012-10-01 Roland McGrath <roland@hack.frob.com>
9313
9314 * bits/types.h (__swblk_t): Type removed.
9315 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9316 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9317 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9318 (__SWBLK_T_TYPE): Likewise.
9319 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9320 (__SWBLK_T_TYPE): Likewise.
9321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9322 (__SWBLK_T_TYPE): Likewise.
9323 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9324 (__SWBLK_T_TYPE): Likewise.
9325
4d57bf63 93262012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9327 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9328
9329 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9330 (xdr_mapname): Use YPMAXMAP as maxsize.
9331 (xdr_peername): Use YPMAXPEER as maxsize.
9332 (xdr_keydat): Use YPAXRECORD as maxsize.
9333 (xdr_valdat): Use YPMAXRECORD as maxsize.
9334
93c65d43
RM
93352012-10-01 Roland McGrath <roland@hack.frob.com>
9336
497a03d6
RM
9337 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9338
93c65d43
RM
9339 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9340 * csu/init-first.c: ... here.
9341 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9342 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9344 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9345 * sysdeps/i386/init-first.c: File removed.
9346 * sysdeps/sh/init-first.c: File removed.
9347
bec749fd
JM
93482012-10-01 Joseph Myers <joseph@codesourcery.com>
9349
9350 [BZ #14645]
9351 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9352 if x * y might underflow to zero and z is zero.
9353 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9354 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9355 * math/libm-test.inc (min_subnorm_value): New variable.
9356 (fma_test): Add more tests.
9357 (fma_test_towardzero): Likewise.
9358 (fma_test_downward): Likewise
9359 (fma_test_upward): Likewise.
9360 (initialize): Set min_subnorm_value.
9361
8ec5b013
JM
93622012-09-29 Joseph Myers <joseph@codesourcery.com>
9363
9364 [BZ #14638]
9365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9366 0 + 0.
9367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9368 mode for addition resulting in exact zero.
9369 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9371 exact 0 + 0.
9372 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9373 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9374 * math/libm-test.inc (fma_test): Add more tests.
9375 (fma_test_towardzero): New function.
9376 (fma_test_downward): Likewise.
9377 (fma_test_upward): Likewise.
9378 (main): Call the new functions.
9379
b1fa802e
DM
93802012-09-28 David S. Miller <davem@davemloft.net>
9381
9382 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9383
d3b9fd9e
RM
93842012-09-28 Roland McGrath <roland@hack.frob.com>
9385
ea4d37b3
RM
9386 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9387 instead of SIGALRM.
9388
ac51c949
RM
9389 * sysdeps/gnu/_G_config.h: Moved to ...
9390 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9391 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9392 * sysdeps/generic/_G_config.h: ... here.
9393
28c195f7
RM
9394 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9395
848917f9
RM
9396 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9397
6bacf05b
RM
9398 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9399 Conditionalize target on [libnss_test1.so-version].
9400
91363dbb
RM
9401 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9402
cc87f7d8
RM
9403 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9404 (elfobjdir): Move out of conditionals.
9405
b1c608fe
RM
9406 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9407 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9408 (__nss_lookup_function): Conditionalize label remove_from_tree on
9409 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9410
1d9a6d96
DM
94112012-09-28 David S. Miller <davem@davemloft.net>
9412
9413 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9414 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9415 file.
9416 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9417 sysdep_routines.
9418 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9420 when HWCAP_SPARC_CRYPTO is present.
9421
72581615
PT
94222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9423
9424 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9425
715a900c
JL
94262012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9427
9428 [BZ #6530]
9429 * stdio-common/vfprintf.c (process_string_arg): Revert
9430 2000-07-22 change.
9431
94322011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9433
9434 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9435 for testcase.
9436 * stdio-common/tst-sprintf.c: Include <locale.h>
9437 (main): Test sprintf's handling of incomplete multibyte
9438 characters.
9439
9bac1d86
L
94402012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9441
9442 * elf/dl-runtime.c (VERSYMIDX): Removed.
9443 * elf/dl-version.c (VERSYMIDX): Likewise.
9444 * elf/do-rel.h (VERSYMIDX): Likewise.
9445 (VALIDX): Likewise.
9446 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9447 * elf/rtld.c (VALIDX): Likewise.
9448 (ADDRIDX): Likewise.
9bac1d86
L
9449 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9450 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9451 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9452 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9453 (VALIDX): Likewise.
9454 (ADDRIDX): Likewise.
9bac1d86 9455
b31606c0
PT
94562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9457
9458 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9459
11541177
JL
94602012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9461
9462 [BZ #11438]
9463 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9464 to global scope.
9465 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9466 addresses are in the same scope as 192.0.2/24.
9467 * posix/gai.conf: Document new scope table defaults.
9468
adb26fae
SP
94692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9470
9471 [BZ #5298]
9472 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9473 for ftell. Compute offsets from write pointers instead.
9474 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9475
4573c6b0
SP
94762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9477
9478 [BZ #14543]
9479 * libio/Makefile (tests): New test case tst-fseek.
9480 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9481 combination works in wide mode.
9482 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9483 state when the external buffer state changes.
9484
aa9bbfe6
DM
94852012-09-27 David S. Miller <davem@davemloft.net>
9486
9487 [BZ #14376]
9488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9489 pass reloc->r_addend in as the 'high' argument to
9490 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9491
784421e7
DM
9492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9493
c39bc8b8
PT
94942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9495
9496 * rt/tst-aio2.c: Include <pthread.h>.
9497 * rt/tst-aio3.c: Likewise.
9498
1ccc2399
SE
94992012-09-27 Steve Ellcey <sellcey@mips.com>
9500
9501 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9502
31ed4153
L
95032012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9504
25f5f885
L
9505 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9506 contents on [SHARED].
31ed4153 9507
b7bfe116
MP
95082012-09-26 Marek Polacek <polacek@redhat.com>
9509
9510 [BZ #14530]
9511 [BZ #13741]
9512 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9513 for C++ and GCC <4.3 as well as for non GCC compilers.
9514
43c4edba
MT
95152012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9516
9517 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9518
6a1bf82f
RM
95192012-09-25 Roland McGrath <roland@hack.frob.com>
9520
9521 * Makefile.in (all, install): Declare with .PHONY.
9522 Reported by Michael Hope <michael.hope@linaro.org>.
9523
8ad11b9a
TMQMF
95242012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9525
9526 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9527 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9528 system header.
9529 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9530 Likewise.
9531 (sydep_routines): Add the new and the internal functions.
9532 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9533 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9535 (GLIBC_2.17): Add the new function.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9537 (GLIBC_2.17): Likewise.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9539 (GLIBC_2.17): Likewise.
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9541 (GLIBC_2.17): Likewise.
9542 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9543
7e2fca8d
AM
95442012-09-25 Alan Modra <amodra@gmail.com>
9545
9546 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9547 Add release barrier before setting once_control to say
9548 initialisation is done. Add hints on lwarx. Use macro in
9549 place of isync.
9550 (clear_once_control): Add release barrier.
9551
b87c4b24
JM
95522012-09-25 Joseph Myers <joseph@codesourcery.com>
9553
d032e0d2
JM
9554 [BZ #13629]
9555 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9556 specially.
9557 * math/s_clog10.c (__clog10): Likewise.
9558 * math/s_clog10f.c (__clog10f): Likewise.
9559 * math/s_clog10l.c (__clog10l): Likewise.
9560 * math/s_clogf.c (__clogf): Likewise.
9561 * math/s_clogl.c (__clogl): Likewise.
9562 * math/Makefile (libm-calls): Add x2y2m1.
9563 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9564 (__x2y2m1): Likewise.
9565 (__x2y2m1l): Likewise.
9566 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9567 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9570 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9571 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9572 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9573 * sysdeps/i386/fpu/libm-test-ulps: Update.
9574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9575
b87c4b24
JM
9576 [BZ #14621]
9577 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9578 int as type of variable DEPTH.
9579 (glob): Use size_t instead of int as type of variables NEWCOUNT
9580 and OLD_PATHC.
9581
6d3bf199
LD
95822012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9583
22bf5c17
LD
9584 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9585 Add s_sincosf-sse2.
9586 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9587 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9588 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9589 macros for using routine as __sincosf_ia32.
9590 Use macro for function declaration and weak_alias.
9591 * sysdeps/i386/fpu/libm-test-ulps: Update.
9592
9593 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9594 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9595
9596 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9597 subnormal argument.
9598 * math/s_cexpf.c (__cexpf): Likewise.
9599 * math/s_csinf.c (__csinf): Likewise.
9600 * math/s_csinhf.c (__csinhf): Likewise.
9601 * math/s_ctanf.c (__ctanf): Likewise.
9602 * math/s_ctanhf.c (__ctanhf): Likewise.
9603 * math/s_ccosh.c (__ccoshf): Likewise.
9604 * math/s_cexp.c (__cexpl): Likewise.
9605 * math/s_csin.c (__csin): Likewise.
9606 * math/s_csinh.c (__csinh): Likewise.
9607 * math/s_ctan.c (__ctan): Likewise.
9608 * math/s_ctanh.c (ctanh): Likewise.
9609 * math/s_ccoshl.c (__ccoshl): Likewise.
9610 * math/s_cexpl.c (__cexpl): Likewise.
9611 * math/s_csinl.c (__csinl): Likewise.
9612 * math/s_csinhl.c (__csinhl): Likewise.
9613 * math/s_ctanl.c (__ctanl): Likewise.
9614 * math/s_ctanhl.c (__ctanhl): Likewise.
9615
203e5603
JM
96162012-09-25 Joseph Myers <joseph@codesourcery.com>
9617
9618 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9619 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9620 (_IO_off_t): Define to __off_t, not _G_off_t.
9621 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9622 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9623 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9624 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9625 type of __dummy and __dummy2 fields.
9626 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9627 (_G_ssize_t): Likewise.
9628 (_G_off_t): Likewise.
9629 (_G_pid_t): Likewise.
9630 (_G_uid_t): Likewise.
9631 (_G_wchar_t): Likewise.
9632 (_G_wint_t): Likewise.
9633 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9634 (_G_ssize_t): Likewise.
9635 (_G_off_t): Likewise.
9636 (_G_pid_t): Likewise.
9637 (_G_uid_t): Likewise.
9638 (_G_wchar_t): Likewise.
9639 (_G_wint_t): Likewise.
9640 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9641 (_G_ssize_t): Likewise.
9642 (_G_off_t): Likewise.
9643 (_G_pid_t): Likewise.
9644 (_G_uid_t): Likewise.
9645 (_G_wchar_t): Likewise.
9646 (_G_wint_t): Likewise.
9647
9fab36eb
SP
96482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9649
9650 * malloc/arena.c: Include malloc-sysdep.h.
9651 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9652 is sufficient to shrink the heap or an unmap is needed.
9653 * sysdeps/generic/malloc-sysdep.h: New file. Define
9654 new function check_may_shrink_heap.
9655 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9656 new function check_may_shrink_heap.
9657
2b4f00d1
SP
96582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9659
9660 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9661 comments.
9662
9a9028b1
DL
96632012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9664
57c69bef
DL
9665 * catgets/test-gencat.sh: Add "set -e".
9666 * elf/tst-pathopt.sh: Likewise.
9667 * grp/tst_fgetgrent.sh: Likewise.
9668 * iconvdata/run-iconv-test.sh: Likewise.
9669 * intl/tst-gettext.sh: Likewise.
9670 * intl/tst-gettext2.sh: Likewise.
9671 * intl/tst-gettext4.sh: Likewise.
9672 * intl/tst-gettext6.sh: Likewise.
9673 * intl/tst-translit.sh: Likewise.
9674 * io/ftwtest-sh: Likewise.
9675 * libio/test-freopen.sh: Likewise.
9676 * malloc/tst-mtrace.sh: Likewise.
9677 * posix/globtest.sh: Likewise.
9678 * posix/tst-getconf.sh: Likewise.
9679 * posix/wordexp-tst.sh: Likewise.
9680 * stdio-common/tst-printf.sh: Likewise.
9681 * stdio-common/tst-unbputc.sh: Likewise.
9682 * stdlib/tst-fmtmsg.sh: Likewise.
9683 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9684 * catgets/Makefile: Do not specify -e option when running
9685 testsuite shell scripts.
9686 * elf/Makefile: Likewise.
9687 * grp/Makefile: Likewise.
9688 * iconvdata/Makefile: Likewise.
9689 * intl/Makefile: Likewise.
9690 * io/Makefile: Likewise.
9691 * libio/Makefile: Likewise.
9692 * malloc/Makefile: Likewise.
9693 * posix/Makefile: Likewise.
9694 * stdio-common/Makefile: Likewise.
9695 * stdlib/Makefile: Likewise.
9696 * sysdeps/x86_64/Makefile: Likewise.
9697
9a9028b1
DL
9698 * io/ftwtest-sh: Add copyright header.
9699 * posix/globtest.sh: Likewise.
9700 * posix/tst-getconf.sh: Likewise.
9701 * posix/wordexp-tst.sh: Likewise.
9702 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9703
ced6f16e
L
97042012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9705
94b32c39
L
9706 [BZ #13679]
9707 * Makeconfig (+link): Defined as $(+link-static) if
9708 $(build-shared) isn't yes.
9709 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9710 isn't yes.
9711 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9712
189e935b
L
9713 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9714
ced6f16e
L
9715 [BZ #14562]
9716 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9717 new chunk size with MALLOC_ALIGN_MASK.
9718
a9f8e53a
JM
97192012-09-24 Joseph Myers <joseph@codesourcery.com>
9720
9721 [BZ #5044]
9722 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9723 <rounding-mode.h>.
9724 (__printf_fphex): Determine rounding using get_rounding_mode and
9725 round_away.
9726 * stdio-common/tst-printf-round.c (struct hex_test): New
9727 structure.
9728 (hex_tests): New variable.
9729 (test_hex_in_one_mode): New function.
9730 (do_test): Also run tests for hex float output.
9731
43153109
JM
97322012-09-21 Joseph Myers <joseph@codesourcery.com>
9733
9734 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9735 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9736 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9737 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9738 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9739 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9740 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9741 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9742
8a26625d
JM
97432012-09-20 Joseph Myers <joseph@codesourcery.com>
9744
9745 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9746 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9747 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9748 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9749
f3fd569c
DL
97502012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9751
9752 [BZ #14579]
9753 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9754 mode only.
9755 * elf/tst-rtld-load-self.sh: New test.
9756 * elf/Makefile: Run it.
9757
63bbedd4
JM
97582012-09-18 Joseph Myers <joseph@codesourcery.com>
9759
9760 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9761 (tst-writev-ENV): Remove.
9762 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9763
626f8b6a
CM
97642012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9765
9766 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9767
b7aaa4d6
JM
97682012-09-17 Joseph Myers <joseph@codesourcery.com>
9769
9770 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9771 unconditional.
9772 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9773 Likewise.
9774 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9775 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9776 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9777 Likewise.
9778
65513990
L
97792012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9780
9781 [BZ #14587]
9782 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9783 * config.make.in (have-cpp-asm-debuginfo): Removed.
9784 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9785 * configure: Regenerated.
9786
784761be
JM
97872012-09-14 Joseph Myers <joseph@codesourcery.com>
9788
9789 [BZ #5044]
9790 * stdio-common/printf_fp.c: Include <stdbool.h> and
9791 <rounding-mode.h>.
9792 (___printf_fp): Determine rounding using get_rounding_mode and
9793 round_away.
9794 * stdio-common/tst-printf-round.c: New file.
9795 * stdio-common/Makefile (tests): Add tst-printf-round.
9796 (link-libm): New variable.
9797 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9798
9503345f
L
97992012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9800
9801 [BZ #14576]
9802 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9803 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9804 Likewise.
9805 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9806 Likewise.
9807
ad35fc00
JM
98082012-09-13 Joseph Myers <joseph@codesourcery.com>
9809
9810 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9811 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9812 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9813 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9814
6c9b0f68
JM
98152012-09-12 Joseph Myers <joseph@codesourcery.com>
9816
9817 [BZ #14518]
9818 * include/rounding-mode.h: New file.
9819 * sysdeps/generic/get-rounding-mode.h: Likewise.
9820 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9821 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9822 (MAX_VALUE): New macro.
9823 (MIN_VALUE): Likewise.
9824 (overflow_value): New function.
9825 (underflow_value): Likewise.
9826 (round_and_return): Use overflow_value and underflow_value to
9827 determine return values in overflow and underflow cases. Use
9828 round_away to determine rounding depending on rounding mode.
9829 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9830 determine return values in overflow and underflow cases.
9831 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9832 (struct test_results): New structure.
9833 (struct test): Use struct test_results to store expected results
9834 for all rounding modes.
9835 (TEST): Include expected results for all rounding modes.
9836 (test_in_one_mode): New function.
9837 (do_test): Use test_in_one_mode to compute and check results.
9838 Check results for all rounding modes.
9839 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9840 $(link-libm).
9841
19fcedd5
AM
98422012-12-09 Allan McRae <allan@archlinux.org>
9843
1e9d84cd 9844 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9845
8bbfd2f1
JM
98462012-09-11 Joseph Myers <joseph@codesourcery.com>
9847
9848 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9849 (_G_int32_t): Likewise.
9850 (_G_uint16_t): Likewise.
9851 (_G_uint32_t): Likewise.
9852 (_G_HAVE_BOOL): Likewise.
9853 (_G_HAVE_ATEXIT): Likewise.
9854 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9855 (_G_HAVE_IO_FILE_OPEN): Likewise.
9856 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9857 (_G_int32_t): Likewise.
9858 (_G_uint16_t): Likewise.
9859 (_G_uint32_t): Likewise.
9860 (_G_HAVE_BOOL): Likewise.
9861 (_G_HAVE_ATEXIT): Likewise.
9862 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9863 (_G_HAVE_IO_FILE_OPEN): Likewise.
9864 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9865 (_G_int32_t): Likewise.
9866 (_G_uint16_t): Likewise.
9867 (_G_uint32_t): Likewise.
9868 (_G_HAVE_BOOL): Likewise.
9869 (_G_HAVE_ATEXIT): Likewise.
9870 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9871 (_G_HAVE_IO_FILE_OPEN): Likewise.
9872
b1dc5912
L
98732012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 * csu/libc-tls.c: Update copyright years.
9876
0e886ef9
JM
98772012-09-10 Joseph Myers <joseph@codesourcery.com>
9878
28361c5e
JM
9879 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9880 [!_G_USING_THUNKS]: Remove conditional code.
9881 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9882 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9883
0e886ef9
JM
9884 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9885 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9886 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9887 (_G_VTABLE_LABEL_PREFIX): Likewise.
9888 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9889 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9890 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9891 (_G_VTABLE_LABEL_PREFIX): Likewise.
9892 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9893 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9894 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9895 (_G_VTABLE_LABEL_PREFIX): Likewise.
9896 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9897
bcba7aa2
L
98982012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9899
9900 * libio/Makefile: Include ../Makeconfig before tests.
9901 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9902 only if $(build-shared) is yes.
9903
06585ee8
L
9904 * iconv/gconv_db.c: Update copyright years.
9905
80ccd52c
LD
99062012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9907
9908 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9909 unwind info if defined PIC. Fix special cases description.
9910 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9911
9912 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9913 DP_HI_MASK entry.
9914 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9915
691bc9c1
L
99162012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9917
3d9b46b3
L
9918 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9919
de2139a9
L
9920 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9921 is NULL.
9922
5ca78dd0
L
9923 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9924 (LDLIBS-tst-chk4): This.
9925 (LDFLAGS-tst-chk5): Renamed to ...
9926 (LDLIBS-tst-chk5): This.
9927 (LDFLAGS-tst-chk6): Renamed to ...
9928 (LDLIBS-tst-chk6): This.
9929 (LDFLAGS-tst-lfschk4): Renamed to ...
9930 (LDLIBS-tst-lfschk4): This.
9931 (LDFLAGS-tst-lfschk5): Renamed to ...
9932 (LDLIBS-tst-lfschk5): This.
9933 (LDFLAGS-tst-lfschk6): Renamed to ...
9934 (LDLIBS-tst-lfschk6): This.
9935
691bc9c1
L
9936 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9937 on $(common-objpfx)soversions.mk.
9938
65cafb1c
JM
99392012-09-07 Joseph Myers <joseph@codesourcery.com>
9940
9941 [BZ #10014]
9942 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9943 example host name.
9944
c78ab094
SP
99452012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9946
9947 * malloc/arena.c (arena_get_retry): New function that gets
9948 another arena for the caller to try its request on.
9949 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9950 current arena cannot fulfill the request.
9951 (__libc_memalign): Likewise.
9952 (__libc_memalign): Likewise.
9953 (__libc_pvalloc): Likewise.
9954 (__libc_calloc): Likewise.
9955
01f49f59
JT
99562012-09-05 John Tobey <john.tobey@gmail.com>
9957
9958 [BZ #13542]
9959 * manual/arith.texi (Operations on Complex): Fix description
9960 of carg branch cut.
9961
4c23fed5
JM
99622012-09-06 Joseph Myers <joseph@codesourcery.com>
9963
1d3c8572
JM
9964 [BZ #10014]
9965 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9966 host name.
9967
4c23fed5
JM
9968 [BZ #10038]
9969 * manual/memory.texi (Memory): Make order of menu items match
9970 order of sections.
9971
04570aaa
L
99722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9973
9974 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9975 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9976 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9977
b80af2f4
L
99782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9979
9980 * csu/libc-tls.c (static_dtv): Renamed to ...
9981 (_dl_static_dtv): This. Make it global.
9982 (_dl_initial_dtv): Removed.
9983 (__libc_setup_tls): Updated.
9984 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9985 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9986 DL_INITIAL_DTV.
9987
2abe9f15
PM
99882012-09-06 Petr Machata <pmachata@redhat.com>
9989
9990 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9991 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9992 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9993 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9994
0948c3af
L
99952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9996
9997 [BZ #14545]
9998 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9999 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10000 freeing dtv[-1].
10001
a5055ad1
L
100022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10003
10004 [BZ #14544]
10005 * Makeconfig (link-static-before-libc): Replace $(+prector)
10006 with $(+prectorT).
10007 (link-static-after-libc): Replace $(+postctor) with
10008 $(+postctorT).
10009 (link-bounded): Replace $(+prector)/$(+postctor) with
10010 $(+prectorT)/$(+postctorT).
10011 (+prectorT): New macro.
10012 (+postctorT): Likewise.
10013
ed8c2ecd
JM
100142012-09-06 Joseph Myers <joseph@codesourcery.com>
10015
10016 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10017 (round_str): Handle values above the maximum for IBM long double
10018 as inexact.
10019 * stdlib/tst-strtod-round.c (tests): Regenerated.
10020
14c996c8
AK
100212012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10022
10023 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10024 assembler flag.
10025 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10026 zarch_nohighgprs around the zarch optimized routines.
10027 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10028 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10029 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10030 for zarch.
10031
430d6ce6
DM
100322012-09-05 David S. Miller <davem@davemloft.net>
10033
10034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10035
ff04dda4
DM
10036 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10037 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10038 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10039 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10040 entries.
10041
24d4e01b
AO
100422012-09-05 Alexandre Oliva <aoliva@redhat.com>
10043
10044 * malloc/arena.c: Fold copyright years.
10045 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10046
61d58174
AO
100472012-09-05 Alexandre Oliva <aoliva@redhat.com>
10048
10049 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10050
20196a5e
AO
100512012-09-05 Alexandre Oliva <aoliva@redhat.com>
10052
10053 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10054
5c447383
AO
100552012-09-05 Alexandre Oliva <aoliva@redhat.com>
10056
10057 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10058 change internal state upon failure.
10059
fad64255
AO
100602012-09-05 Alexandre Oliva <aoliva@redhat.com>
10061
10062 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10063 * malloc/memusage.c (mmap): Likewise.
10064 (mmap64, mremap): Likewise. Adjust name in comment.
10065
1ffb8c90
SP
100662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10067
10068 * libio/fileops.c: Fix typos in comments.
10069 * libio/oldfileops.c: Likewise.
10070 * libio/wfileops.c: Likewise.
10071
6ef9cc37
SP
100722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10073
10074 [BZ #1349]
10075 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10076 (tst-malloc-usable-ENV): Set environment for test case.
10077 * malloc/hooks.c (malloc_check_get_size): New function to get
10078 requested size.
10079 * malloc/malloc.c (musable): Use malloc_check_get_size.
10080 * malloc/tst-malloc-usable.c: New test case.
10081
4d038ae3
AS
100822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10083
10084 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10085
c4e85184
AM
100862012-09-05 Allan McRae <allan@archlinux.org>
10087
b9dafc56 10088 [BZ #13966]
c4e85184
AM
10089 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10090 determine header location.
10091 * configure: Regenerated.
10092
e1343020
AS
100932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10094
10095 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10096 float format.
10097 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10098 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10099 format.
e1343020
AS
10100 (test): Regenerate.
10101
0a9f1987
DM
101022012-09-04 David S. Miller <davem@davemloft.net>
10103
10104 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10105 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10106 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10107
29237804
FW
101082012-09-04 Florian Weimer <fweimer@redhat.com>
10109
10110 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10111 failures.
10112
edb3cb88
FW
10113 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10114
60160d83
JM
101152012-09-04 Joseph Myers <joseph@codesourcery.com>
10116
10117 [BZ #9914]
10118 * libio/iogetdelim.c: Include <limits.h>.
10119 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10120 + len + 1 would overflow.
10121
bcd6c8dc
AJ
101222012-09-03 Andreas Jaeger <aj@suse.de>
10123
10124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10125 * sysdeps/i386/fpu/libm-test-ulps: Update.
10126
4ffffbd2
LD
101272012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10128
10129 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10130 Add s_sinf-sse2, s_conf-sse2.
10131
10132 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10133 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10134 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10135 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10136
10137 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10138 for using routine as __sinf_ia32.
10139 Use macro for function declaration and weak_alias.
10140 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10141 for using routine as __cosf_ia32.
10142 Use macro for function declaration and weak_alias.
10143
10144 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10145 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10146
10147 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10148 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10150
10151 * math/libm-test.inc (cos_test): Add more test cases.
10152 (sin_test): Likewise.
10153 (sincos_test): Likewise.
10154
511fa286
AK
101552012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10156
10157 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10158 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10159 hidden.
10160 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10161
5f30cfec
L
101622012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10163
10164 [BZ #14538]
10165 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10166 first element of the GOT.
10167 (elf_machine_load_address): Return the difference between
10168 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10169
0786794f
AM
101702012-09-01 Allan McRae <allan@archlinux.org>
10171
5f30cfec
L
10172 [BZ #13412]
10173 * configure.in (AWK): Require gawk version 3.0 or later.
10174 * configure: Regenerated.
0786794f 10175
26889eac
JM
101762012-09-01 Joseph Myers <joseph@codesourcery.com>
10177
10178 * sysdeps/unix/sysv/linux/kernel-features.h
10179 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10180 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10181 [__NR_clock_getres]: Make code unconditional.
10182 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10183 (clock_getcpuclockid): Remove code left unreachable by removal of
10184 conditionals.
10185 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10186 code unconditional.
10187 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10188 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10189 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10190 Make code unconditional.
10191 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10192 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10193 * sysdeps/unix/sysv/linux/clock_settime.c
10194 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10195 conditional code.
10196 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10197 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10198
d22e28b0
L
101992012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10200
10201 [BZ #14476]
10202 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10203 scripts/test-installation.pl.
10204
10205 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10206 and $ld_so_version if it is set.
10207
050af9c4
SP
102082012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10209
10210 [BZ #14516]
10211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10212 failure if reading from procfs failed.
10213 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10214
ad845c0b
JM
102152012-08-27 Joseph Myers <joseph@codesourcery.com>
10216
10217 * sysdeps/unix/sysv/linux/kernel-features.h
10218 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10219 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10220 Remove conditional code.
10221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10222 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10223 Remove conditional code.
10224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10225 * sysdeps/unix/sysv/linux/i386/fxstat.c
10226 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10228 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10229 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10231 * sysdeps/unix/sysv/linux/i386/lxstat.c
10232 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10234 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10235 Remove conditional code.
10236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10237 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10238 Remove conditional code.
10239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10240 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10241 <kernel-features.h>.
10242 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10243 Remove.
10244 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10245 Remove conditional code.
10246 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10247 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10248 Remove conditional.
10249
5dbf56af
MF
102502012-08-27 Mike Frysinger <vapier@gentoo.org>
10251
10252 [BZ #5400]
10253 * NEWS: Add fixed bug number.
10254
d6e70f43
JM
102552012-08-27 Joseph Myers <joseph@codesourcery.com>
10256
7efb4737
JM
10257 [BZ #14519]
10258 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10259 underflowing exponent in case of negative sign.
10260 * stdlib/tst-strtod-round-data: Add more tests.
10261 * stdlib/tst-strtod-round.c (tests): Regenerated.
10262
af92131a
JM
10263 [BZ #3479]
10264 * stdlib/strtod_l.c (NDIG): Remove.
10265 (HEXNDIG): Likewise.
10266 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10267 smallest representable value.
10268 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10269 lie within an exact representation of 1/2 ulp of the result.
10270 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10271 unconditionally.
10272 (TENS_P9_IDX): Define unconditionally.
10273 (TENS_P9_SIZE): Likewise.
10274 (TENS_P10_IDX): Likewise.
10275 (TENS_P10_SIZE): Likewise.
10276 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10277 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10278 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10279 entries for 10^2^13 and 10^2^14.
10280 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10281 (TENS_P13_IDX): Define.
10282 (TENS_P13_SIZE): Likewise.
10283 (TENS_P14_IDX): Likewise.
10284 (TENS_P14_SIZE): Likewise.
10285 (_fpioconst_pow10): Change array size to
10286 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10287 unconditional.
10288 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10289 1024]: Add entries for 10^2^13 and 10^2^14.
10290 [LAST_POW10 > _LAST_POW10]: Remove #error.
10291 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10292 (_fpioconst_pow10): Change array size to
10293 FPIOCONST_POW10_ARRAY_SIZE.
10294 * stdlib/gen-fpioconst.c: New file.
10295 * stdlib/gen-tst-strtod-round.c: Likewise.
10296 * stdlib/tst-strtod-round-data: Likewise.
10297 * stdlib/tst-strtod-round.c: Likewise.
10298 * stdlib/Makefile (tests): Add tst-strtod-round.
10299
d6e70f43
JM
10300 [BZ #14459]
10301 * stdlib/strtod_l.c: Include <stdint.h>.
10302 (NDEBUG): Do not define.
10303 (round_and_return): Change EXPONENT parameter to type intmax_t.
10304 Rearrange calculations to avoid internal overflow possibilities.
10305 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10306 Rearrange calculations to avoid internal overflow possibilities.
10307 Assert that number fits inside MPNSIZE limbs.
10308 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10309 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10310 calculations and add assertions to avoid internal overflow
10311 possibilities. Add casts to avoid signed/unsigned operations.
10312 * stdlib/tst-strtod-overflow.c: New file.
10313 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10314
1f529f7d
MP
103152012-08-25 Marek Polacek <polacek@redhat.com>
10316
10317 * time/time.h: Fix some typos in comments.
10318
59a629f1
RM
103192012-08-23 Roland McGrath <roland@hack.frob.com>
10320
10321 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10322 * posix/tst-rfc3484-2.c: Likewise.
10323 * posix/tst-rfc3484-3.c: Likewise.
10324
d3bafbc9
SM
103252012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10326
10327 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10328 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10329
4efcc022
JM
103302012-08-23 Joseph Myers <joseph@codesourcery.com>
10331
10332 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10333 #include of fxstatat64.c.
10334
3cc3ef96
RM
103352012-08-22 Roland McGrath <roland@hack.frob.com>
10336
f04e2132
RM
10337 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10338 * shadow/getspent_r.c: Likewise.
10339 * shadow/getspnam.c: Likewise.
10340 * shadow/getspnam_r.c: Likewise.
10341 * gshadow/getsgent.c: Likewise.
10342 * gshadow/getsgent_r.c: Likewise.
10343 * gshadow/getsgnam.c: Likewise.
10344 * gshadow/getsgnam_r.c: Likewise.
10345 * inet/getnetbyad.c: Likewise.
10346 * inet/getnetbyad_r.c: Likewise.
10347 * inet/getnetbynm.c: Likewise.
10348 * inet/getnetbynm_r.c: Likewise.
10349 * inet/getnetent.c: Likewise.
10350 * inet/getnetent_r.c: Likewise.
10351 * inet/getproto.c: Likewise.
10352 * inet/getproto_r.c: Likewise.
10353 * inet/getprtent.c: Likewise.
10354 * inet/getprtent_r.c: Likewise.
10355 * inet/getprtname.c: Likewise.
10356 * inet/getprtname_r.c: Likewise.
10357 * inet/getrpcbyname.c: Likewise.
10358 * inet/getrpcbyname_r.c: Likewise.
10359 * inet/getrpcbynumber.c: Likewise.
10360 * inet/getrpcbynumber_r.c: Likewise.
10361 * inet/getrpcent.c: Likewise.
10362 * inet/getrpcent_r.c: Likewise.
10363 * inet/getaliasent.c: Likewise.
10364 * inet/getaliasent_r.c: Likewise.
10365 * inet/getaliasname.c: Likewise.
10366 * inet/getaliasname_r.c: Likewise.
10367 * nscd/getgrgid_r.c: Likewise.
10368 * nscd/getgrnam_r.c: Likewise.
10369 * nscd/gethstbyad_r.c: Likewise.
10370 * nscd/gethstbynm3_r.c: Likewise.
10371 * nscd/getpwnam_r.c: Likewise.
10372 * nscd/getpwuid_r.c: Likewise.
10373 * nscd/getsrvbynm_r.c: Likewise.
10374 * nscd/getsrvbypt_r.c: Likewise.
10375 * nscd/gai.c: Likewise.
10376
c53d909c
RM
10377 * configure.in (build_nscd): New substituted variable, set
10378 by --disable-build-nscd and defaults to $use_nscd.
10379 * configure: Regenerated.
10380 * config.make.in (build-nscd): New substituted variable.
10381 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10382 Change conditional to require [$(build-nscd) = yes] as well.
10383 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10384
3cc3ef96
RM
10385 [BZ# 13696]
10386 * configure.in (use_nscd): New substituted variable, set by
10387 --disable-nscd. If enabled, define USE_NSCD.
10388 * configure: Regenerated.
10389 * config.h.in: Add USE_NSCD.
10390 * config.make.in (use-nscd): New substituted variable.
10391 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10392 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10393 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10394 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10395 (CFLAGS-getgrnam_r.c): Likewise.
10396 (CFLAGS-initgroups.c): Likewise.
10397 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10398 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10399 Variables removed.
10400 * inet/getnetgrent_r.c
10401 (nscd_setnetgrent): New function, broken out of ...
10402 (setnetgrent): ... here. Call it.
10403 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10404 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10405 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10406 * nscd/Makefile (routines, aux): Move definitions after include of
10407 Makeconfig. Conditionalize on [$(use-nscd) != no].
10408 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10409 Conditionalize on [USE_NSCD].
10410 (is_nscd, nscd_init_cb): Likewise.
10411 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10412 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10413 * nss/nss_db/db-init.c: Likewise.
10414 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10415 [USE_NSCD].
10416 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10417 (make_request): Use it.
10418 (cache_valid_p): New function.
10419 (__check_pf): Use it.
10420 * NEWS: Add item for --disable-nscd.
10421
07e51550
DL
104222012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10423
10424 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10425 to support sed >= 4.2.1-20-ga9bf076.
10426 * configure: Regenerated.
10427
35a5b08b
RM
104282012-08-22 Roland McGrath <roland@hack.frob.com>
10429
10430 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10431 Conditionalize whole body on [IREL].
10432
8479f23a
JL
104332012-08-22 Jeff Law <law@redhat.com>
10434
10435 [BZ #14505]
10436 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10437 if the family is PF_UNSPEC.
10438
48da0b21
MF
104392012-08-22 Mike Frysinger <vapier@gentoo.org>
10440
10441 * Makerules (lib-version): Rename from V.
10442 (install-lib-nosubdir): Change V to lib-version.
10443
15d0da8c
WS
104442012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10445
10446 [BZ #14252]
10447 * powerpc32/power6/wcschr.c: New file.
10448 * powerpc32/power6/wcscpy.c: New file.
10449 * powerpc32/power6/wcsrchr.c: New file.
10450 * powerpc64/power6/wcschr.c: New file.
10451 * powerpc64/power6/wcscpy.c: New file.
10452 * powerpc64/power6/wcsrchr.c: New file.
10453
bcca0895
MK
104542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10455
10456 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10457 (two_way_short_needle): Use it.
5a4aaa33
RM
10458 * string/strstr.c (AVAILABLE1_USES_J): Define.
10459 * string/strcasestr.c: Likewise.
99677e57
MK
10460
10461 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10462 array references.
10463 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10464
400726de
MK
10465 [BZ #11607]
10466 * NEWS: Add an entry.
10467 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10468 define their defaults.
10469 (two_way_short_needle): Detect end-of-string on-the-fly.
10470 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10471 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10472 * string/bug-strcasestr1.c: New test.
10473 * string/Makefile: Run it.
10474
20a71f2c
MK
104752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10476
10477 [BZ #11607]
10478 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10479 the first character.
10480
21ad0558
RM
104812012-08-21 Roland McGrath <roland@hack.frob.com>
10482
10483 * csu/elf-init.c (__libc_csu_irel): Function removed.
10484 * csu/libc-start.c (apply_irel): New function.
10485 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10486
0e1d9911
JM
104872012-08-21 Joseph Myers <joseph@codesourcery.com>
10488
10489 * sysdeps/unix/sysv/linux/kernel-features.h
10490 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10491 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10492 <kernel-features.h>.
10493 [__NR_fadvise64_64]: Make code unconditional.
10494 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10495 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10496 !__NR_fadvise64_64)]: Likewise.
10497 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10498 !__NR_fadvise64_64))]: Likewise.
10499 [__NR_fadvise64]: Make code unconditional.
10500 [!__NR_fadvise64]: Remove conditional code.
10501 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10502 <kernel-features.h>.
10503 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10504 unconditional.
10505 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10506 conditional code.
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10508 not include <kernel-features.h>.
10509 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10510 unconditional.
10511 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10512 conditional code.
10513 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10514 include <kernel-features.h>.
10515 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10516 unconditional.
10517 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10518 conditional code.
10519
14a50c9d
WS
105202012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10521
10522 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10523 slight instruction rearrangements per scrollpipe analysis.
10524 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10525
c0f4faf0
RM
105262012-08-20 Roland McGrath <roland@hack.frob.com>
10527
696da859
RM
10528 * manual/syslog.texi (syslog; vsyslog, closelog):
10529 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10530 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10531
c0f4faf0
RM
10532 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10533 DSOCAPS to match condition on defining it.
10534
348363b2
JM
105352012-08-20 Joseph Myers <joseph@codesourcery.com>
10536
a35cbf28
JM
10537 * sysdeps/unix/sysv/linux/kernel-features.h
10538 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10540 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10541 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10543 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10544 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10546 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10547 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10548
445f7ecd
JM
10549 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10550 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10551
348363b2
JM
10552 * sysdeps/unix/sysv/linux/kernel-features.h
10553 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10554 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10555 unconditional.
10556 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10557 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10558 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10559 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10560 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10561 Make code unconditional.
10562 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10563 (__mmap64) [!__NR_mmap2]: Likewise.
10564 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10565 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10566 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10567 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10568 [__NR_mmap2]: Make code unconditional.
10569 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10570 (__mmap64) [!__NR_mmap2]: Likewise.
10571
bc5bc0e5
AK
105722012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10573
10574 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10575
88d506de
AJ
105762012-08-18 Andreas Jaeger <aj@suse.de>
10577
10578 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10579
493387d2
MF
105802012-08-18 Mike Frysinger <vapier@gentoo.org>
10581
10582 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10583 * include/unistd.h (__have_sock_cloexec): Likewise.
10584 (__have_pipe2): Likewise.
10585 (__have_dup3): Likewise.
10586
a277af22
MF
105872012-08-18 Mike Frysinger <vapier@gentoo.org>
10588
10589 [BZ #9685]
10590 * include/unistd.h (__have_pipe2): Change define into an extern int.
10591 (__have_dup3): Likewise.
10592 * socket/have_sock_cloexec.c: Include fcntl.h.
10593 (__have_pipe2): New variable.
10594 (__have_dup3): Likewise.
10595
fdab8fd3
MF
105962012-08-17 Mike Frysinger <vapier@gentoo.org>
10597
10598 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10599
31035e80
MP
106002012-08-17 Marek Polacek <polacek@redhat.com>
10601
10602 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10603 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10604
3bd9e993
RM
106052012-08-17 Roland McGrath <roland@hack.frob.com>
10606
c91c505f
RM
10607 * configure.in: Add AC_SUBST for sysheaders.
10608 * configure: Regenerated.
10609 * config.make.in (sysheaders): New substituted variable.
10610
7c6f9d53
RM
10611 * sysdeps/unix/mkfifo.c: Moved ...
10612 * sysdeps/posix/mkfifo.c: ... here.
10613 * sysdeps/unix/mkfifoat.c: Moved ...
10614 * sysdeps/posix/mkfifoat.c: ... here.
10615
10616 * sysdeps/unix/utime.c: Moved ...
10617 * sysdeps/posix/utime.c: ... here.
10618
10619 * sysdeps/unix/time.c: Moved ...
10620 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10621 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10622 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10623
10624 * sysdeps/unix/nice.c: Moved ...
10625 * sysdeps/posix/nice.c: ... here.
10626
10627 * sysdeps/unix/alarm.c: Moved ...
10628 * sysdeps/posix/alarm.c: ... here.
10629
3bd9e993
RM
10630 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10631
d1f09384
JL
106322012-08-17 Jeff Law <law@redhat.com>
10633
10634 * intl/Makefile (codeset_mo): New variable.
10635 ($(codeset_mo)): New target.
10636 (tst-codeset.out): Depend on that. Remove explicit rule.
10637 (tst-gettext3.out, tst-gettext5.out): Likewise.
10638 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10639 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10640 * intl/tst-codeset.sh: Remove.
10641 * intl/tst-gettext3.sh: Likewise.
10642 * intl/tst-gettext5.sh: Likewise.
10643
2ae1ae5c
RM
106442012-08-17 Roland McGrath <roland@hack.frob.com>
10645
c31fdb83
RM
10646 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10647 * sysdeps/unix/syscalls.list: ... here.
10648
a0844057
RM
10649 * sysdeps/posix/getaddrinfo.c
10650 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10651 (gaiconf_init, gaiconf_reload): Use them.
10652 [!_STATBUF_ST_NSEC]
10653 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10654 Define using time_t rather than struct timespec.
10655
750c1f2a
RM
10656 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10657 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10658 Macros removed.
10659 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10660 [!NO_THREADS].
10661 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10662 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10663 Likewise.
10664
2ae1ae5c
RM
10665 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10666 __libc_cleanup_push argument.
10667
e66a42f5
RM
10668 * bits/param.h: New file.
10669 * misc/sys/param.h: New file.
10670 * include/sys/param.h: New file.
10671 * misc/Makefile (headers): Add bits/param.h.
10672 * sysdeps/generic/sys/param.h: File removed.
10673 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10674 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10675 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10676 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10677
b7c08a66
RM
10678 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10679 last change.
10680
b2e1c562
RM
10681 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10682 [_IO_MTSAFE_IO].
10683 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10684 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10685 New macros.
10686
c75ccd4c
RM
10687 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10688 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10689 rather than -D_IO_MTSAFE_IO conditionally.
10690 * stdio-common/Makefile (CPPFLAGS): Likewise.
10691 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10692 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10693 Use $(libio-mtsafe).
10694 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10695 of -D_IO_MTSAFE_IO.
10696 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10697 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10698 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10699 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10700 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10701 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10702 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10703 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10704 (CFLAGS-fread_u_chk.c): Likewise.
10705 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10706 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10707 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10708 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10709 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10710 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10711 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10712 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10713 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10714
10715 * libio/Makefile: Test [$(libc-reentrant) = yes]
10716 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10717
10718 * Makeconfig
10719 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10720 * sysdeps/pthread/configure: File removed.
10721 * sysdeps/pthread/Makeconfig: New file.
10722 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10723 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10724
d9195db8
GB
107252012-08-16 Gary Benson <gbenson@redhat.com>
10726
10727 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10728 unmapping the first object in a namespace.
10729
86466cd9
RM
107302012-08-16 Roland McGrath <roland@hack.frob.com>
10731
10732 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10733 (__internal_setnetgrent): ... this. Add internal_function to
10734 definition. Add libc_hidden_def.
10735 (setnetgrent): Update caller.
10736 (internal_endnetgrent): Renamed to ...
10737 (__internal_endnetgrent): ... this. Add internal_function to
10738 definition. Add libc_hidden_def.
10739 (endnetgrent): Update caller.
10740 (internal_getnetgrent_r): Renamed to ...
10741 (__internal_getnetgrent_r): ... this. Add internal_function to
10742 definition. Add libc_hidden_def.
10743 (__getnetgrent_r): Update caller.
10744 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10745
c3c8283c
JM
107462012-08-16 Joseph Myers <joseph@codesourcery.com>
10747
10748 * stdlib/longlong.h: Update from GCC.
10749
db1ee0a8
RM
107502012-08-16 Roland McGrath <roland@hack.frob.com>
10751
10752 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10753 on _QL, which is set by umul_ppmm but never used.
10754 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10755 variables, which are set by GMP macros but never used.
10756 * stdio-common/_itowa.c (_itowa): Likewise.
10757 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10758 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10759
30f69637
CD
107602012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10761
10762 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10763 struct La_sh_regs is not constant.
10764 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10765 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10766 and struct La_sparc64_regs are not constant.
10767
93a78ac4
JM
107682012-08-16 Joseph Myers <joseph@codesourcery.com>
10769
10770 * sysdeps/unix/sysv/linux/kernel-features.h
10771 (__ASSUME_POSIX_TIMERS): Remove.
10772 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10773 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10774 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10775 Make code unconditional.
10776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10777 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10778 Make code unconditional.
10779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10780 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10781 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10782 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10783 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10784 Make code unconditional.
10785 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10786 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10787 (__libc_missing_posix_timers): Remove.
10788
dd924cd7
RM
107892012-08-15 Roland McGrath <roland@hack.frob.com>
10790
4b4f2771
RM
10791 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10792 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10793
601c888b
RM
10794 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10795
176790a7
RM
10796 * elf/dl-sym.c: Include <stdlib.h>.
10797
329bc018
RM
10798 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10799 constants, which avoids warnings in 32-bit builds.
10800
e04e272d
RM
10801 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10802 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10803
952bf94a
RM
10804 * misc/lseek.c: File moved to ...
10805 * io/lseek.c: ... here.
10806
7c99b50a
RM
10807 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10808
dd924cd7
RM
10809 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10810 shifting LEN more than 31 bits at once.
10811
b3f479a8
LD
108122012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10813
10814 [BZ #14195]
8c4ae0d4
RM
10815 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10816 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10817 * string/test-strncasecmp.c (check1): Renamed to...
10818 (bz12205): ...this.
10819 (bz14195): Add new testcase for two empty input strings and N > 0.
10820 (test_main): Call new testcase, adapt for renamed function.
10821
9c55864e
AJ
108222012-08-15 Andreas Jaeger <aj@suse.de>
10823
10824 [BZ #14090]
10825 * crypt/md5test2.c: New test, based on test supplied by Serge
10826 Belyshev <belyshev@depni.sinp.msu.ru>.
10827 * crypt/Makefile (xtests): Add md5test-giant..
10828 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10829
02dcb6c5
PE
108302012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10831
10832 [BZ #14090]
10833 * crypt/md5.c (md5_process_block): Don't assume the buffer
10834 length is less than 2**32.
10835 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10836 length is less than 2**64.
10837
a3f95dcc
RM
108382012-08-15 Roland McGrath <roland@hack.frob.com>
10839
be75d758
RM
10840 * string/str-two-way.h: Include <sys/param.h>.
10841 (MAX): Macro removed.
10842
7312ca90
RM
10843 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10844 Move #define and #undef of memmove to just before and after
10845 including <string.h>.
10846
9a0a5486
RM
10847 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10848 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10849 and after including <string.h>. Move declarations of
10850 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10851 to before #include "string/memmove.c".
10852
67cc348d
RM
10853 * include/dirent.h: Declare __getdirentries.
10854
a3f95dcc
RM
10855 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10856 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10857
ca98e171
MF
108582012-08-14 Mike Frysinger <vapier@gentoo.org>
10859
10860 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10861 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10862 * sysdeps/i386/configure: Regenerated.
10863 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10864 STABS_CURRENT_FILE, and STABS_FUN.
10865 (END): Remove call to STABS_FUN_END.
10866 (STABS_CURRENT_FILE1): Delete.
10867 (STABS_CURRENT_FILE): Likewise.
10868 (STABS_FUN): Likewise.
10869 (STABS_FUN_END): Likewise.
10870 (STABS_FUN2): Likewise.
10871 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10872 * sysdeps/x86_64/configure: Regenerated.
10873
5908bf46
RM
108742012-08-14 Roland McGrath <roland@hack.frob.com>
10875
10876 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10877 * elf/dl-lookup.c: Likewise.
5908bf46 10878
f2c05b9e
JM
108792012-08-14 Joseph Myers <joseph@codesourcery.com>
10880
10881 * sysdeps/unix/sysv/linux/kernel-features.h
10882 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10883 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10884 unconditionally.
10885 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10886 unconditionally.
10887 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10888 condition on __ASSUME_CLONE_THREAD_FLAGS.
10889
e11f5155
AJ
108902012-08-14 Andreas Jaeger <aj@suse.de>
10891
10892 * sysdeps/i386/fpu/libm-test-ulps: Update.
10893
51a9ba86
MK
108942012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10895
2fdd4f78
AJ
10896 * include/atomic.h (atomic_exchange_and_add): Split into ...
10897 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10898 New atomic macros.
51a9ba86 10899
ba6cba9e
MT
109002012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10901
10902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10903
42443a47
JL
109042012-08-13 Jeff Law <law@redhat.com>
10905
10906 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10907 null byte in the output string.
10908
121dce05
JM
109092012-08-10 Joseph Myers <joseph@codesourcery.com>
10910
10911 * sysdeps/unix/sysv/linux/kernel-features.h
10912 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10913 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10914 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10915 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10916 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10917 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10918 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10919
bf51f568
JL
109202012-08-09 Jeff Law <law@redhat.com>
10921
10922 [BZ #13939]
10923 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10924 When avoid_arena is set, don't retry in the that arena. Pick the
10925 next one, whatever it might be.
10926 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10927 (arena_lock): Pass in new parameter to arena_get2.
10928 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10929 arena_get2.
10930 (__libc_malloc): Unify retrying after main arena failure with
10931 __libc_memalign version.
10932 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10933
f85fa270
L
109342012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10935
10936 [BZ #14166]
10937 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10938 to __redirect_strstr.
10939 (__strstr_sse42): Use typeof __redirect_strstr.
10940 (__strstr_ia32): Likewise.
10941 (__libc_strstr): New prototype.
10942 (strstr): Renamed to ...
10943 (__libc_strstr): This.
10944 (strstr): New strong alias of __libc_strstr.
10945 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10946 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10947 __redirect_time.
10948 Include <time.h>.
10949 (__libc_time): New prototype.
10950 (time_ifunc): Replace time with __libc_time.
10951 (time): New strong alias and hidden definition of __libc_time.
10952 (__GI_time): Remove strong alias.
10953 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10954 Include <stddef.h>.
10955 (memmove): Redefined to __redirect_memmove.
10956 (__memmove_sse2): Use typeof __redirect_memmove.
10957 (__memmove_ssse3): Likewise.
10958 (__memmove_ssse3_back): Likewise.
10959 (__libc_memmove): New prototype.
10960 (memmove): Renamed to ...
10961 (__libc_memmove): This.
10962 (memmove): New strong alias of __libc_memmove.
10963
33b4a91e
MS
109642012-08-08 Mark Salter <msalter@redhat.com>
10965
10966 * elf/elf.h
10967 (R_MN10300_TLS_GD): Define.
10968 (R_MN10300_TLS_LD): Likewise.
10969 (R_MN10300_TLS_LDO): Likewise.
10970 (R_MN10300_TLS_GOTIE): Likewise.
10971 (R_MN10300_TLS_IE): Likewise.
10972 (R_MN10300_TLS_LE): Likewise.
10973 (R_MN10300_TLS_DTPMOD): Likewise.
10974 (R_MN10300_TLS_DTPOFF): Likewise.
10975 (R_MN10300_TLS_TPOFF): Likewise.
10976 (R_MN10300_SYM_DIFF): Likewise.
10977 (R_MN10300_ALIGN): Likewise.
10978 (R_MN10300_NUM): Update.
10979
b36137f1
JM
109802012-08-08 Joseph Myers <joseph@codesourcery.com>
10981
10982 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10983 Remove.
10984
cdd915fd
RM
109852012-08-08 Roland McGrath <roland@hack.frob.com>
10986
a2433aac
RM
10987 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10988
cdd915fd
RM
10989 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10990 sysdeps/unix -> sysdeps/posix move.
10991 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10992
bf9b740a
AM
109932012-08-07 Allan McRae <allan@archlinux.org>
10994
10995 [BZ #14303]
10996 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10997 (SUNOS_CPP): Likewise.
10998 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10999 not found.
11000 (open_input): Call CPP using execvp.
11001
93df14ee
JM
110022012-08-07 Joseph Myers <joseph@codesourcery.com>
11003
11004 * sysdeps/unix/sysv/linux/kernel-features.h
11005 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11006 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11007 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11008 (__ASSUME_WAITID_SYSCALL): Likewise.
11009 * sysdeps/unix/sysv/linux/dl-execstack.c
11010 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11011 code unconditional.
11012 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11013 conditional code.
11014 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11015 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11016 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11017 code.
11018 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11019 unconditional.
11020 [__ASSUME_WAITID_SYSCALL]: Likewise.
11021 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11022
d34689de
RM
110232012-08-07 Roland McGrath <roland@hack.frob.com>
11024
a281decc
RM
11025 * sysdeps/unix/closedir.c: Renamed to ...
11026 * sysdeps/posix/closedir.c: ... here.
11027 * sysdeps/unix/dirfd.c: Renamed to ...
11028 * sysdeps/posix/dirfd.c: ... here.
11029 * sysdeps/unix/dirstream.h: Renamed to ...
11030 * sysdeps/posix/dirstream.h: ... here.
11031 * sysdeps/unix/fdopendir.c: Renamed to ...
11032 * sysdeps/posix/fdopendir.c: ... here.
11033 * sysdeps/unix/opendir.c: Renamed to ...
11034 * sysdeps/posix/opendir.c: ... here.
11035 * sysdeps/unix/readdir.c: Renamed to ...
11036 * sysdeps/posix/readdir.c: ... here.
11037 * sysdeps/unix/readdir_r.c: Renamed to ...
11038 * sysdeps/posix/readdir_r.c: ... here.
11039 * sysdeps/unix/rewinddir.c: Renamed to ...
11040 * sysdeps/posix/rewinddir.c: ... here.
11041 * sysdeps/unix/seekdir.c: Renamed to ...
11042 * sysdeps/posix/seekdir.c: ... here.
11043 * sysdeps/unix/telldir.c: Renamed to ...
11044 * sysdeps/posix/telldir.c: ... here.
11045 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11046 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11047 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11048 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11049
22895b47
RM
11050 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11051 * bits/fcntl.h: ... here.
11052
707a53b6
RM
11053 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11054 not 0.
11055 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11056 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11057 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11058 (struct flock): Move l_start, l_len to the beginning.
11059 Use __pid_t for l_pid.
11060 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11061 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11062 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11063 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11064 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11065 [__USE_LARGEFILE64] (struct flock64): New type.
11066 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11067
f0bd3e25
RM
11068 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11069 * bits/dirent.h: ... here.
11070
d34689de
RM
11071 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11072 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11073
6dad2c06
JM
110742012-08-07 Joseph Myers <joseph@codesourcery.com>
11075
11076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11077 Change from 2.6.0 to 2.6.16.
11078 * sysdeps/unix/sysv/linux/configure: Regenerated.
11079 * sysdeps/unix/sysv/linux/kernel-features.h
11080 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11081 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11082 version.
11083 (__ASSUME_UTIMES): Likewise.
11084 (__ASSUME_CLONE_STOPPED): Remove.
11085 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11086 architectures, not kernel version.
11087 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11088 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11089 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11090 (__ASSUME_WAITID_SYSCALL): Likewise.
11091 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11092 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11093 * README: State 2.6.16 as minimum Linux kernel version. Do not
11094 refer to older versions.
11095
03af9520
RM
110962012-08-06 Roland McGrath <roland@hack.frob.com>
11097
8e49df1d
RM
11098 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11099 Define alphasort64 as an alias.
11100 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11101 Define versionsort64 as an alias.
11102 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11103 Define scandir64 as an alias.
11104 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11105 Define scandirat64 as an alias.
11106 * dirent/alphasort64.c (alphasort64):
11107 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11108 * dirent/versionsort64.c: Likewise.
11109 * dirent/scandir64.c: Likewise.
11110 * dirent/scandirat64.c: Likewise.
11111 * sysdeps/wordsize-64/alphasort.c: File removed.
11112 * sysdeps/wordsize-64/alphasort64.c: File removed.
11113 * sysdeps/wordsize-64/scandir.c: File removed.
11114 * sysdeps/wordsize-64/scandir64.c: File removed.
11115 * sysdeps/wordsize-64/scandirat.c: File removed.
11116 * sysdeps/wordsize-64/scandirat64.c: File removed.
11117 * sysdeps/wordsize-64/versionsort.c: File removed.
11118 * sysdeps/wordsize-64/versionsort64.c: File removed.
11119 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11120 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11121 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11122 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11123 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11124 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11125 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11126 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11127
11128 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11130 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11132 [defined __arch64__ || defined __sparcv9]
11133 (__INO_T_MATCHES_INO64_T): New macro.
11134 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11135 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11136 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11137 * sysdeps/unix/sysv/linux/bits/dirent.h
11138 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11139 (_DIRENT_MATCHES_DIRENT64): New macro.
11140
03af9520
RM
11141 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11142 Define lockf64 as an alias.
11143 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11144 Define fseeko64 as an alias.
11145 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11146 Define ftello64 as an alias.
11147 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11148 Define _IO_fgetpos64 and fgetpos64 as aliases.
11149 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11150 Define _IO_fsetpos64 and fsetpos64 as aliases.
11151 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11152 Conditionalize body on this.
11153 * libio/fseeko64.c: Likewise.
11154 * libio/ftello64.c: Likewise.
11155 * libio/iofgetpos64.c: Likewise.
11156 * libio/iofsetpos64.c: Likewise.
11157 * sysdeps/wordsize-64/lockf.c: File removed.
11158 * sysdeps/wordsize-64/lockf64.c: File removed.
11159 * sysdeps/wordsize-64/fseeko.c: File removed.
11160 * sysdeps/wordsize-64/fseeko64.c: File removed.
11161 * sysdeps/wordsize-64/ftello.c: File removed.
11162 * sysdeps/wordsize-64/ftello64.c: File removed.
11163 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11164 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11165 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11166 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11167 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11168 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11169 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11170 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11171 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11172 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11173 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11174 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11175 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11176 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11177
11178 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11179 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11180 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11181 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11182 [defined __arch64__ || defined __sparcv9]
11183 (__OFF_T_MATCHES_OFF64_T): New macro.
11184 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11185 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11186 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11187 (__OFF_T_MATCHES_OFF64_T): New macro.
11188
c5757acd
L
111892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11190
11191 * stdlib/secure-getenv.c (__secure_getenv): Replace
11192 GLIBC_2_16 with GLIBC_2_17.
11193
3a31811e
L
111942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11195
11196 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11197 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11198
faa2bccb
DM
111992012-08-03 David S. Miller <davem@davemloft.net>
11200
11201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11202
85fe1997
JM
112032012-08-03 Joseph Myers <joseph@codesourcery.com>
11204
11205 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11206 Remove.
11207 (__ASSUME_CORRECT_SI_PID): Likewise.
11208 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11209 (__ASSUME_TMPFS_NAME): Likewise.
11210 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11211 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11212 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11213 (HAVE_AUX_SECURE): Make definition unconditional.
11214 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11215 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11216
4f75b7a0
RM
112172012-08-03 Roland McGrath <roland@hack.frob.com>
11218
11219 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11220 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11221 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11222 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11223 __eloop_threshold instead of SYMLOOP_MAX.
11224
11225 * sysdeps/generic/eloop-threshold.h: New file.
11226 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11227 of MAXSYMLINKS.
11228 * elf/chroot_canon.c (chroot_canon): Likewise.
11229
7aab07e4
JM
112302012-08-03 Joseph Myers <joseph@codesourcery.com>
11231
11232 [BZ #13717]
11233 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11234 Change to 2.6.0 everywhere.
11235 * sysdeps/unix/sysv/linux/configure: Regenerated.
11236 * sysdeps/unix/sysv/linux/kernel-features.h
11237 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11238 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11239 kernel versions.
11240 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11241 (__ASSUME_FUTEX_REQUEUE): Remove.
11242 (__ASSUME_STATFS64): Define unconditionally.
11243 (__ASSUME_AT_SECURE): Likewise.
11244 (__ASSUME_CORRECT_SI_PID): Likewise.
11245 (__ASSUME_TGKILL): Define without depending on kernel version for
11246 i386.
11247 (__ASSUME_UTIMES): Likewise.
11248 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11249 kernel version.
11250 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11251 (__ASSUME_TMPFS_NAME): Likewise.
11252 * README: Update reference to Linux kernel versions.
11253
b67e9372
MP
112542012-08-02 Marek Polacek <polacek@redhat.com>
11255
1f529f7d 11256 [BZ# 14150]
b67e9372
MP
11257 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11258 libc_cv_asm_type_prefix with %.
11259 * configure: Regenerated.
d2441631
RM
11260 * include/libc-symbols.h: Remove comment about
11261 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
11262 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11263 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11264 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11265 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11266 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11267 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11268 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11269 * elf/tst-unique2mod1.c: Likewise.
11270 * elf/tst-unique1mod2.c: Likewise.
11271 * elf/tst-unique1mod1.c: Likewise.
11272 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11273 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11274 Replace ASM_TYPE_DIRECTIVE with .type.
11275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11276 * sysdeps/i386/sysdep.h: Likewise.
11277 * sysdeps/x86_64/sysdep.h: Likewise.
11278 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11280 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11281 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11282 * sysdeps/powerpc/powerpc32/sysdep.h:
11283 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11284 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11285 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11286 * sysdeps/i386/fpu/e_powf.S: Likewise.
11287 * sysdeps/i386/fpu/e_expl.S: Likewise.
11288 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11289 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11290 * sysdeps/i386/fpu/e_pow.S: Likewise.
11291 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11292 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11293 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11294 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11295 * sysdeps/i386/fpu/e_log2.S: Likewise.
11296 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11297 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11298 * sysdeps/i386/fpu/e_powl.S: Likewise.
11299 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11300 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11301 * sysdeps/i386/fpu/e_logl.S: Likewise.
11302 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11303 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11304 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11305 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11306 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11307 * sysdeps/i386/fpu/e_log.S: Likewise.
11308 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11309 * sysdeps/i386/fpu/e_logf.S: Likewise.
11310 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11311 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11312 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11313 * sysdeps/i386/fpu/e_log10.S: Likewise.
11314 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11315 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11316 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11317 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11318 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11319 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11320 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11321 * sysdeps/i386/i686/strtok.S: Likewise.
11322 * sysdeps/i386/i386-mcount.S: Likewise.
11323 * sysdeps/i386/strtok.S: Likewise.
11324 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11325 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11327 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11328 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11329 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11330 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11331 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11332 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11333 * sysdeps/x86_64/_mcount.S: Likewise.
11334 * sysdeps/x86_64/strtok.S: Likewise.
11335 * sysdeps/sh/_mcount.S: Likewise.
11336
2747bf9a
RM
113372012-08-01 Roland McGrath <roland@hack.frob.com>
11338
11339 * libio/iofopen.c: Include <fcntl.h>.
11340 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11341 (_IO_fopen64, fopen64): Define as aliases.
11342 * libio/iofopen64.c: Include <fcntl.h>.
11343 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11344 Conditionalize body on this.
11345 * sysdeps/wordsize-64/iofopen.c: File removed.
11346 * sysdeps/wordsize-64/iofopen64.c: File removed.
11347
3fb791b8
MP
113482012-08-01 Marek Polacek <polacek@redhat.com>
11349
11350 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11351 Use dlfcn directly instead of a variable.
11352 (binfmt-subdir): Do not define.
11353 (dlfcn): Likewise.
11354
a9f1039f
JM
113552012-08-01 Joseph Myers <joseph@codesourcery.com>
11356
23bddc06
JM
11357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11358 Remove all definitions.
11359 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11360 <kernel-features.h>.
11361 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11362 (miss_F_GETOWN_EX): Remove all definitions.
11363 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11364 macro definition.
11365 [!__ASSUME_FCNTL64]: Remove conditional code.
11366 [__ASSUME_FCNTL64]: Make code unconditional.
11367 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11368 <kernel-features.h>.
11369 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11370 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11371 (lockf64) [__NR_fcntl64]: Make code unconditional.
11372 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11373
a9f1039f
JM
11374 * sysdeps/unix/sysv/linux/kernel-features.h
11375 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11376 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11377 Make code unconditional.
11378 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11379 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11381 [__NR_vfork]: Make code unconditional.
11382 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11383 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11385 [__NR_vfork]: Make code unconditional.
11386 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11387 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11388
09c0ee5f
RM
113892012-08-01 Roland McGrath <roland@hack.frob.com>
11390
48aec5b9
RM
11391 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11392 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11393
cd97c966
RM
11394 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11395 Define mkstemp64 as an alias.
3f55550c
RM
11396 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11397 Define mkstemps64 as an alias.
cd97c966
RM
11398 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11399 Define mkostemp64 as an alias.
b8625cfc
RM
11400 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11401 Define mkostemps64 as an alias.
cd97c966
RM
11402 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11403 Conditionalize body on this.
11404 * misc/mkostemp64.c: Likewise.
b8625cfc 11405 * misc/mkostemps64.c: Likewise.
3f55550c 11406 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11407 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11408 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11409 * sysdeps/wordsize-64/mkostemp.c: File removed.
11410 * sysdeps/wordsize-64/mkstemp.c: File removed.
11411 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11412 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11413 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11414 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11415
09c0ee5f
RM
11416 [BZ #14138]
11417 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11418 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11419 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11420 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11421
11422 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11423 compat_symbol macros from <shlib-compat.h> rather than the underlying
11424 default_symbol_version and symbol_version macros, so that DEFAULT
11425 lines in shlib-versions are respected.
11426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11427
7e66ee51
FW
114282012-08-01 Florian Weimer <fweimer@redhat.com>
11429
11430 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11431 Declare with warn_unused_result.
11432 (setgid, setregid, setegid, setresgid): Likewise.
11433 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11434 Likewise.
11435 * WUR-REPORT: Remove set*id functions.
11436
d2a54255
PT
114372012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11438
11439 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11440
7ecdb005
RM
114412012-07-31 Roland McGrath <roland@hack.frob.com>
11442
b4180a5e 11443 [BZ #10191]
789bd351
RM
11444 * include/sys/socket.h (__libc_accept, __libc_accept4):
11445 Add attribute_hidden.
11446 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11447
40ce302d
RM
11448 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11449 use of PTR_MANGLE.
11450 * inet/getnetgrent_r.c (setup): Likewise.
11451
7ecdb005
RM
11452 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11453
e2eabb2c
DM
114542012-07-31 David S. Miller <davem@davemloft.net>
11455
11456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11457
d0419dbf
JM
114582012-07-31 Joseph Myers <joseph@codesourcery.com>
11459
11460 [BZ #13629]
11461 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11462 value between 1.0 and 2.0 and smaller part has absolute value less
11463 than 1.0.
11464 * math/s_clog10.c (__clog10): Likewise.
11465 * math/s_clog10f.c (__clog10f): Likewise.
11466 * math/s_clog10l.c (__clog10l): Likewise.
11467 * math/s_clogf.c (__clogf): Likewise.
11468 * math/s_clogl.c (__clogl): Likewise.
11469 * math/libm-test.inc (clog_test): Add more tests.
11470 (clog10_test): Likewise.
11471 * sysdeps/i386/fpu/libm-test-ulps: Update.
11472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11473
2bc13872
FW
114742012-07-31 Florian Weimer <fweimer@redhat.com>
11475
11476 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11477 Exit with zero in case no suitable GID is found, and write a
11478 message to standard error.
11479
bea9b193
RM
114802012-07-30 Roland McGrath <roland@hack.frob.com>
11481
11482 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11483 rather than to 1.
11484 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11485 (MAXPATHLEN): Removed.
11486 (NOGROUP, NODEV): New macros.
11487 (setbit, clrbit, isset, isclr): New macros.
11488 (howmany, roundup, powerof2): New macros.
11489 (DEV_BSIZE): New macro.
11490
11491 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11492 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11493
11494 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11495 definition on [!__NO_LONG_DOUBLE_MATH].
11496
11497 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11498 PTR_MANGLE and PTR_DEMANGLE.
11499
11500 * socket/accept4.c (accept4): Rename to __libc_accept4.
11501 Define accept4 as a weak alias.
11502
11503 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11504 on [_DIRENT_HAVE_D_TYPE].
11505 * io/ftw.c (ftw_dir): Likewise.
11506
11507 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11508
11509 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11510
11511 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11512 Use the BSD numbers rather than the arbitrary ones we had.
11513 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11514 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11515 (SIGXCPU, SIGXFSZ): New macros.
11516 (_NSIG): Now 32.
11517
11518 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11519 initializer on [_LIBC_REENTRANT].
11520
11521 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11522 definitions inside [_POSIX_MAPPED_FILES].
11523
11524 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11525
11526 * dirent/opendir.c: Include <fcntl.h>.
11527
11528 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11529 (__libc_getspecific): Likewise.
11530 (__libc_key_create): Likewise.
11531
11532 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11533 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11534 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11535 (tmpfile64): Define as alias.
11536 * sysdeps/wordsize-64/tmpfile.c: File removed.
11537 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11538 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11539 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11540
11541 * stdio-common/vfscanf.c: Include <stdbool.h>.
11542 * nss/makedb.c: Likewise.
11543 * stdio-common/_i18n_number.h: Likewise.
11544 * argp/argp-help.c: Likewise.
11545 * posix/wordexp.c: Likewise.
11546 * sysdeps/posix/spawni.c: Likewise.
11547 * nss/nss_files/files-initgroups.c: Likewise.
11548 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11549 * nss/nss_files/files-initgroups.c: Likewise.
11550 * nss/nss_db/db-netgrp.c: Likewise.
11551 * nss/nss_db/db-initgroups.c: Likewise.
11552 * io/fchmodat.c: Include <sys/stat.h>.
11553
11554 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11555 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11556
11557 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11558 [HAVE_MMAP].
11559
11560 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11561 Add multiple inclusion protection.
11562
e5abc686
DM
115632012-07-27 David S. Miller <davem@davemloft.net>
11564
11565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11566
815e6fa3
GB
115672012-07-27 Gary Benson <gbenson@redhat.com>
11568
11569 [BZ #14298]
11570 * elf/rtld.c: Include <stap-probe.h>.
11571 (dl_main): Added static probes "init_start" and "init_complete".
11572 * elf/dl-load.c: Include <stap-probe.h>.
11573 (lose): Take new parameter "nsid".
11574 Added static probe "map_failed".
11575 (_dl_map_object_from_fd): Pass namespace id to lose.
11576 Added static probe "map_start".
11577 (open_verify): Pass namespace id to lose.
11578 * elf/dl-open.c: Include <stap-probe.h>.
11579 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11580 and "reloc_complete".
11581 * elf/dl-close.c: Include <stap-probe.h>.
11582 (_dl_close_worker): Added static probes "unmap_start" and
11583 "unmap_complete".
11584 * elf/rtld-debugger-interface.txt: New file documenting the above.
11585
9f98c16c
RM
115862012-07-26 Roland McGrath <roland@hack.frob.com>
11587
11588 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11589 rather than a string variable.
11590 * sunrpc/rpc_main.c (h_output): Likewise.
11591 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11592
f3c22df3
PT
115932012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11594
11595 * inet/check_native.c: New file.
11596
3129cfc6
JM
115972012-07-26 Joseph Myers <joseph@codesourcery.com>
11598
da865e95
JM
11599 [BZ #13629]
11600 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11601 if larger part has absolute value 1.0.
11602 * math/s_clog10.c (__clog10): Likewise.
11603 * math/s_clog10f.c (__clog10f): Likewise.
11604 * math/s_clog10l.c (__clog10l): Likewise.
11605 * math/s_clogf.c (__clogf): Likewise.
11606 * math/s_clogl.c (__clogl): Likewise.
11607 * math/libm-test.inc (clog_test): Add more tests.
11608 (clog10_test): Likewise.
11609 * sysdeps/i386/fpu/libm-test-ulps: Update.
11610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11611
3129cfc6
JM
11612 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11613 (pltexit): Likewise.
11614 (La_regs): Likewise.
11615 (La_retval): Likewise.
11616 (int_retval): Likewise.
11617 Update #error for removed macros to refer only to definitions in
11618 tst-audit.h.
11619 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11620 macro.
11621 (pltexit): Likewise.
11622 (La_regs): Likewise.
11623 (La_retval): Likewise.
11624 (int_retval): Likewise.
11625 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11626 macro.
11627 (pltexit): Likewise.
11628 (La_regs): Likewise.
11629 (La_retval): Likewise.
11630 (int_retval): Likewise.
11631 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11632 macro.
11633 (pltexit): Likewise.
11634 (La_regs): Likewise.
11635 (La_retval): Likewise.
11636 (int_retval): Likewise.
11637 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11638 macro.
11639 (pltexit): Likewise.
11640 (La_regs): Likewise.
11641 (La_retval): Likewise.
11642 (int_retval): Likewise.
11643 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11644 macro.
11645 (pltexit): Likewise.
11646 (La_regs): Likewise.
11647 (La_retval): Likewise.
11648 (int_retval): Likewise.
11649 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11650 macro.
11651 (pltexit): Likewise.
11652 (La_regs): Likewise.
11653 (La_retval): Likewise.
11654 (int_retval): Likewise.
11655 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11656 macro definitions in tst-audit.h.
11657 * sysdeps/i386/tst-audit.h: New file.
11658 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11659 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11660 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11661 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11662 * sysdeps/sh/tst-audit.h: Likewise.
11663 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11664 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11665 * sysdeps/x86_64/tst-audit.h: Likewise.
11666
bfc07087
AJ
116672012-07-26 Andreas Jaeger <aj@suse.de>
11668
b1b2aaf8
AJ
11669 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11670 ptrace.
11671
11672 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11673 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11674 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11675 PTRACE_O_MASK.
11676 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11677 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11678 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11679
bfc07087
AJ
11680 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11681 value.
11682
11683 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11684 _sigsys.
11685 (si_call_addr, si_syscall, si_arch): Define new macro.
11686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11687 _sigsys.
11688 (si_call_addr, si_syscall, si_arch): Define new marcro.
11689 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11690 _sigsys.
11691 (si_call_addr, si_syscall, si_arch): Define new macro.
11692 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11693 _sigsys.
11694 (si_call_addr, si_syscall, si_arch): Define new macro.
11695
89b4b02f
JM
116962012-07-25 Joseph Myers <joseph@codesourcery.com>
11697
11698 [BZ #13717]
11699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11700 Change to 2.4.21 where previously 2.4.1.
11701 * sysdeps/unix/sysv/linux/configure: Regenerated.
11702 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11703 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11704 Linux kernel version.
11705 (__ASSUME_STD_AUXV): Remove.
11706 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11707 kernel version.
11708 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11709 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11710 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11711 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11712 (__ASSUME_NETLINK_SUPPORT): Likewise.
11713 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11714 (__no_netlink_support): Remove conditional definition.
11715 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11716 Remove.
11717 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11718 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11719 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11720 (if_nameindex_ioctl): Remove.
11721 (if_nameindex_netlink): Do not handle __no_netlink_support.
11722 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11723 code.
11724 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11725 Remove conditional code.
11726 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11727 code.
11728 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11729 unconditional.
11730 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11731 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11732 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11733 Remove.
11734 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11735 [!__ASSUME_STD_AUXV]: Remove conditional code.
11736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11737 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11738 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11740 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11741 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11742 code.
11743 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11745 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11746 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11747 conditional code.
11748 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11750 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11751 code.
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11753 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11754 conditional code.
11755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11756 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11757 code unconditional.
11758 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11759 conditional code.
11760 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11761 unconditional.
11762 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11763 conditional code.
11764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11765 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11766 unconditional.
11767 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11768 conditional code.
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11770 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11771 code unconditional.
11772 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11773 conditional code.
11774 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11775 unconditional.
11776 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11777 conditional code.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11779 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11780 code unconditional.
11781 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11782 conditional code.
11783 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11784 unconditional.
11785 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11786 conditional code.
11787
842a39cd
AS
117882012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11789
11790 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11791 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11792 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11793 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11794 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11795 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11796 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11797 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11798 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11799 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11800 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11801 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11802 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11803 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11804 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11805 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11806 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11807 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11808 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11809 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11810 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11811 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11812 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11813
84b3fd84
FW
118142012-07-25 Florian Weimer <fweimer@redhat.com>
11815
11816 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11817 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11818 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11819 Introduce __libc_secure_getenv.
0c7936d5
FW
11820 * stdlib/Versions (2.17): Add secure_getenv
11821 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11822 * stdlib/secure-getenv.c: Rename __secure_getenv to
11823 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11824 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11825 * stdlib/tst-secure-getenv.c: New.
11826 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11827 * manual/startup.texi (Environment Access): Document
11828 secure_getenv.
84b3fd84
FW
11829 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11830 __libc_secure_getenv.
11831 * inet/ruserpass.c (ruserpass): Likewise.
11832 * malloc/mtrace.c (mtrace): Likewise.
11833 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11834 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11835 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11836 * sysdeps/posix/tempname.c: Likewise. Evaluate
11837 HAVE_SECURE_GETENV.
11838 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11839 __secure_getenv to __libc_secure_getenv.
84b3fd84 11840 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11842 Likewise.
11843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11844 Likewise.
11845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11847 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11852
56e49b71
JM
118532012-07-25 Joseph Myers <joseph@codesourcery.com>
11854
11855 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11856 (struct La_i86_retval): Likewise.
11857 (struct La_x86_64_regs): Likewise.
11858 (struct La_x86_64_retval): Likewise.
11859 (struct La_x32_regs): Likewise.
11860 (struct La_x32_retval): Likewise.
11861 (struct La_ppc32_regs): Likewise.
11862 (struct La_ppc32_retval): Likewise.
11863 (struct La_ppc64_regs): Likewise.
11864 (struct La_ppc64_retval): Likewise.
11865 (struct La_sh_regs): Likewise.
11866 (struct La_sh_retval): Likewise.
11867 (struct La_s390_32_regs): Likewise.
11868 (struct La_s390_32_retval): Likewise.
11869 (struct La_s390_64_regs): Likewise.
11870 (struct La_s390_64_retval): Likewise.
11871 (struct La_sparc32_regs): Likewise.
11872 (struct La_sparc32_retval): Likewise.
11873 (struct La_sparc64_regs): Likewise.
11874 (struct La_sparc64_retval): Likewise.
11875 (struct audit_ifaces): Remove architecture-specific pltenter and
11876 pltexit members.
11877 * sysdeps/i386/ldsodefs.h: New file.
11878 * sysdeps/powerpc/ldsodefs.h: Likewise.
11879 * sysdeps/s390/ldsodefs.h: Likewise.
11880 * sysdeps/sh/ldsodefs.h: Likewise.
11881 * sysdeps/sparc/ldsodefs.h: Likewise.
11882 * sysdeps/x86_64/ldsodefs.h: Likewise.
11883
354691b7
MP
118842012-07-25 Marek Polacek <polacek@redhat.com>
11885
11886 [BZ #6808]
11887 * math/libm-test.inc (yn_test): Add another test.
11888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11889 to ERANGE when the result is +-Inf.
11890 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11891 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11892 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11893 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11894
bf9e2071
JM
118952012-07-24 Joseph Myers <joseph@codesourcery.com>
11896
11897 * conform/data/time.h-data (NULL): Use macro-constant. Require
11898 equal to 0.
11899 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11900 clock_t.
11901 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11902
57633811
TS
119032012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11904
11905 * configure.in <sysdeps resolving>: Correct printing
11906 Implies_before.
11907 * configure: Regenerate.
11908
c23c33b0
TS
119092012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11910
11911 * math/w_ilogb.c: Include <limits.h>.
11912 * math/w_ilogbl.c: Likewise.
11913
b5982523
JM
119142012-07-20 Joseph Myers <joseph@codesourcery.com>
11915
11916 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11917 va_copy. Document allowing for unavailable va_copy only as
11918 pre-C99 compatibility.
11919 * manual/string.texi (Copying and Concatenation): Use va_copy
11920 instead of __va_copy in concat example.
11921
ac4ea442
PT
119222012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11923
11924 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11925 (__sendto): Use create_address_port. Initialize APORT and deallocate
11926 it if not null.
11927
f98eafbd
PT
11928 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11929 with O_NOLINK passed to __file_name_lookup.
11930
898c7aab
PT
11931 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11932 with O_NOLINK passed to __file_name_lookup.
11933
0ced335a
PT
11934 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11935 negative N or less than NGIDS.
11936
b3404dbd
PT
11937 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11938 type to string_t. Set ERANGE as errno and return it if NAME is not big
11939 enough. Use memcpy instead of strncpy.
11940
0f48659e
JM
119412012-07-20 Joseph Myers <joseph@codesourcery.com>
11942
11943 * elf/Makefile (check-data): Remove.
11944 (localplt.data): New vpath directive.
11945 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11946 instead of $(check-data).
11947 * scripts/data/localplt-generic.data: Move to ...
11948 * sysdeps/generic/localplt.data: ... here.
11949 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11950 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11951 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11953 ... here.
11954 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11956 ... here.
11957 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11959 ... here.
11960 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11962 ... here.
11963 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11965 ... here.
11966 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11968 ... here.
11969
d37cbdaa
AZ
119702012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11971
11972 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11973 PPC32 and PPC64 files.
11974 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11975 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11976
46f85fc2
AK
119772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11978
11979 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11980 __makecontext_ret to ...
11981 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11982 ... here and call exit if uc_link is NULL. New file.
11983 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11984 __makecontext_ret.S.
11985 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11986 __makecontext_ret to ...
11987 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11988 ... here and call exit if uc_link is NULL. New file.
11989 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11990 __makecontext_ret.S.
11991
08f43f9b
AK
119922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11993
11994 * elf/elf.h (R_390_IRELATIVE): New definition.
11995 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11996 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11997 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11998 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11999 (elf_machine_lazy_rel): Likewise.
12000 * sysdeps/s390/dl-irel.h: New file.
12001 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12002 * sysdeps/s390/s390-64/memset.S: New asm code.
12003 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12004 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12006 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12007 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12008 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12009 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12010 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12011 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12012 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12013 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12014 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12015 * sysdeps/s390/s390-32/memset.S: New asm code.
12016 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12017
3b05db33
MP
120182012-07-17 Marek Polacek <polacek@redhat.com>
12019
12020 [BZ #14349]
12021 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12022 * sysdeps/s390/s390-64/configure.in: Likewise.
12023 * sysdeps/sparc/configure.in: Likewise.
12024 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12025 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12026 * sysdeps/i386/configure.in: Likewise.
12027 * sysdeps/x86_64/configure.in: Likewise.
12028 * sysdeps/sh/configure.in: Likewise.
12029 * sysdeps/s390/s390-32/configure: Regenerated.
12030 * sysdeps/s390/s390-64/configure: Likewise.
12031 * sysdeps/x86_64/configure: Likewise.
12032 * sysdeps/sh/configure: Likewise.
12033 * sysdeps/powerpc/powerpc64/configure: Likewise.
12034 * sysdeps/powerpc/powerpc32/configure: Likewise.
12035 * sysdeps/sparc/configure: Likwise.
12036 * sysdeps/i386/configure: Likewise.
12037
a66877c6
MP
12038 * elf/dl-open.c: Comment fixes.
12039
cfc82fd8
JM
120402012-07-17 Joseph Myers <joseph@codesourcery.com>
12041
bd29910a
JM
12042 * Makefile [CXX] (check-data): Remove.
12043 [CXX] (c++-types.data): New vpath directive.
12044 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12045 vpath. Do not allow for C++ type data being missing.
12046 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12047 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12048 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12049 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12050 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12051 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12052 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12054 ... here.
12055 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12057 ... here.
12058 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12060 ... here.
12061 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12063 ... here.
12064 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12066 ... here.
12067 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12069 ... here.
12070 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12072 ... here.
12073 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12075
cfc82fd8
JM
12076 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12077 definitions to architecture-specific files.
12078 (TLS_IE): Likewise.
12079 (TLS_LD): Likewise.
12080 (TLS_GD): Likewise.
12081 * sysdeps/i386/tls-macros.h: New file.
12082 * sysdeps/powerpc/tls-macros.h: Likewise.
12083 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12084 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12085 * sysdeps/sh/tls-macros.h: Likewise.
12086 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12087 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12088 * sysdeps/x86_64/tls-macros.h: Likewise.
12089
f7db3170
TS
120902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12091
07cbfc23
TS
12092 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12093 zero value for regular exit case.
12094
f7db3170
TS
12095 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12096 (__start_context): Preserve zero value for regular exit case.
12097
dc97c227
TS
120982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12099 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12100
12101 * manual/setjmp.texi (setcontext): Clarify normal process
12102 termination when uc_link is the null pointer.
12103 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12104 exit call.
12105
d0cd7d02
AS
121062012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12107
12108 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12109 preprocessor. Test for each exception mask separately.
12110
dd318934
AJ
121112012-07-16 Andreas Jaeger <aj@suse.de>
12112
12113 * po/ru.po: Update from translation team.
12114
8048311a
JM
121152012-07-15 Joseph Myers <joseph@codesourcery.com>
12116
12117 * conform/data/string.h-data (NULL): Use macro-constant. Require
12118 equal to 0.
12119 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12120 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12121 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12122 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12123 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12124
b637d46e
AJ
121252012-07-13 Andreas Jaeger <aj@suse.de>
12126
12127 * po/fr.po: Update from translation team.
12128
541428fe
MP
121292012-07-12 Marek Polacek <polacek@redhat.com>
12130
12131 [BZ #14173]
12132 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12133 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12134 loop condition.
12135
ec332e94
JM
121362012-07-12 Joseph Myers <joseph@codesourcery.com>
12137
12138 [BZ #13717]
12139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12140 Change to 2.4.1 where previously 2.4.0.
12141 * sysdeps/unix/sysv/linux/configure: Regenerated.
12142 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12143 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12144 version.
12145 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12146 (__ASSUME_AT_CLKTCK): Remove.
12147 (__ASSUME_AT_PAGESIZE): Likewise.
12148 (__ASSUME_AT_XID): Likewise.
12149 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12150 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12151 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12152 unconditionally.
12153 (HAVE_AUX_PAGESIZE): Likewise.
12154 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12155 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12156 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12157
7b6e99be
JB
121582012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12159
12160 [BZ #14307]
12161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12162 the temporary buffer used to invoke __gethostbyname2_r,
12163 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12164 host_data / struct gaih_addrtuple.
12165 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12166 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12167 header file nss/nsswitch.h.
12168 * nss/nsswitch.h (global scope): Add definition of implementation
12169 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12170 resolv/nss_dns/dns-host.c).
12171
608404eb
AJ
121722012-07-11 Andreas Jaeger <aj@suse.de>
12173
12174 * po/fr.po: Update from translation team.
12175
71220aca
AJ
12176 * po/sv.po: Update from translation team
12177 * po/fr.po: Another update from translation team.
12178
28cfe843
AZ
121792012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12180
12181 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12182 for subnormals or multiply small sinh result by itself.
12183 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12185
6b90f981
DM
121862012-07-11 David S. Miller <davem@davemloft.net>
12187
12188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12189
c6825772
AS
121902012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12191
12192 [BZ #14347]
12193 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12194 (INTERNAL_MARK): Shift it here.
12195
7b8e0d49
MP
121962012-07-10 Marek Polacek <polacek@redhat.com>
12197
12198 [BZ #14151]
12199 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12200 libc_cv_asm_global_directive with .globl.
12201 * configure: Regenerated.
12202 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12203 with .globl.
12204 * sysdeps/i386/configure: Regenerated.
12205 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12206 with .globl.
12207 * sysdeps/x86_64/configure: Regenerated.
12208 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12209 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12210 * elf/tst-unique2mod2.c: Likewise.
12211 * elf/tst-unique2mod1.c: Likewise.
12212 * elf/tst-unique1mod2.c: Likewise.
12213 * elf/tst-unique1mod1.c: Likewise.
12214 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12215 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12216 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12217 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12218 * sysdeps/mach/sysdep.h: Likewise.
12219 * sysdeps/i386/sysdep.h: Likewise.
12220 * sysdeps/i386/i386-mcount.S: Likewise.
12221 * sysdeps/x86_64/_mcount.S: Likewise.
12222 * sysdeps/x86_64/sysdep.h: Likewise.
12223 * sysdeps/sh/_mcount.S: Likewise.
12224 * sysdeps/sh/sysdep.h: Likewise.
12225 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12226 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12227 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12228 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12229 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12230 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12231 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12232 * locale/localeinfo.h: Likewise.
12233 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12234 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12235
6c55cda3
RM
122362012-07-09 Roland McGrath <roland@hack.frob.com>
12237
12238 [BZ #14336]
12239 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12240 system".
12241 * manual/message.texi (The Uniforum approach): Likewise.
12242 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12243 (glibc iconv Implementation): Likewise.
12244
638a572e
JM
122452012-07-09 Joseph Myers <joseph@codesourcery.com>
12246
12247 [BZ #14337]
12248 * math/s_clog.c (__clog): Avoid scaling a value down where that
12249 could result in underflow.
12250 * math/s_clog10.c (__clog10): Likewise.
12251 * math/s_clog10f.c (__clog10f): Likewise.
12252 * math/s_clog10l.c (__clog10l): Likewise.
12253 * math/s_clogf.c (__clogf): Likewise.
12254 * math/s_clogl.c (__clogl): Likewise.
12255 * math/libm-test.inc (clog_test): Add more tests.
12256 (clog10_test): Likewise.
12257 * sysdeps/i386/fpu/libm-test-ulps: Update.
12258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12259
261f4859
AS
122602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12261
0abaf3e4
AS
12262 [BZ #14283]
12263 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12264 by 7 not 8 to examine high bit of fractional part.
12265
261f4859
AS
12266 [BZ #14042]
12267 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12268 for call to __mcount_internal.
12269 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12270 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12271 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12272
f17ac40d
JM
122732012-07-06 Joseph Myers <joseph@codesourcery.com>
12274
9ad63c23
JM
12275 [BZ #14154]
12276 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12277 approximation for values within 0x1p-13f of an odd multiple of
12278 pi/4.
12279 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12280 exception. Add more tests.
12281 * sysdeps/i386/fpu/libm-test-ulps: Update.
12282
f17ac40d
JM
12283 [BZ #6778]
12284 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12285 inputs and return -1 for them. Do not check for +Inf in case not
12286 reachable for +Inf.
12287 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12288 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12289 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12290 and return -1 for them. Do not check for +Inf in case not
12291 reachable for +Inf.
12292 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12293 define.
12294 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12295 and return -1 for them. Do not check for +Inf in case not
12296 reachable for +Inf.
12297 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12298 spurious underflow.
12299 * sysdeps/i386/fpu/libm-test-ulps: Update.
12300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12301
fb21f89b
MF
123022012-07-06 Mike Frysinger <vapier@gentoo.org>
12303
12304 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12305
cdfe2c5e
JM
123062012-07-05 Joseph Myers <joseph@codesourcery.com>
12307
12308 [BZ #14157]
12309 [BZ #14331]
12310 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12311 could result in spurious underflow. Scale down values above
12312 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12313 * math/s_csqrtf.c (__csqrtf): Likewise.
12314 * math/s_csqrtl.c (__csqrtl): Likewise.
12315 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12316 spurious underflow.
12317 * sysdeps/i386/fpu/libm-test-ulps: Update.
12318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12319
70d35b67
AS
123202012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12321
704bc459
AS
12322 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12323 xopen-msg.sed.
12324 * catgets/xopen-msg.awk: New file.
12325 * catgets/xopen-msg.sed: Removed.
12326
70d35b67
AS
12327 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12328 po2text.sed.
12329 * intl/po2test.awk: New file.
12330 * intl/po2test.sed: Removed.
12331
ca61cf32
JM
123322012-07-04 Joseph Myers <joseph@codesourcery.com>
12333
12334 [BZ #14328]
12335 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12336 or multiply small sinh result by itself.
12337 * math/s_ctanf.c (__ctanf): Likewise.
12338 * math/s_ctanh.c (__ctanh): Likewise.
12339 * math/s_ctanhf.c (__ctanhf): Likewise.
12340 * math/s_ctanhl.c (__ctanhl): Likewise.
12341 * math/s_ctanl.c (__ctanl): Likewise.
12342 * math/libm-test.inc (ctan_test_tonearest): New function.
12343 (ctan_test_towardzero): Likewise.
12344 (ctan_test_downward): Likewise.
12345 (ctan_test_upward): Likewise.
12346 (ctanh_test_tonearest): Likewise.
12347 (ctanh_test_towardzero): Likewise.
12348 (ctanh_test_downward): Likewise.
12349 (ctanh_test_upward): Likewise.
12350 (main): Call these new functions.
12351 * sysdeps/i386/fpu/libm-test-ulps: Update.
12352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12353
ca48a46a
MF
123542012-07-03 Mike Frysinger <vapier@gentoo.org>
12355
12356 * .gitignore: Delete /ports entry.
12357
9d63d37d
AJ
123582012-07-03 Andreas Jaeger <aj@suse.de>
12359
12360 * po/bg.po: Update from translation team.
12361 * po/cs.po: Likewise.
12362 * po/de.po: Likewise.
12363 * po/hr.po: Likewise.
12364 * po/nl.pl: Likewise.
12365 * po/pl.po: Likewise.
12366 * po/vi.po: Likewise.
12367
370ca3d2
JM
123682012-07-03 Joseph Myers <joseph@codesourcery.com>
12369
95f5a9a8
JM
12370 * Makeconfig [!+link] (+link-before-libc): New variable.
12371 [!+link] (+link-after-libc): Likewise.
12372 [!+link] (+link-tests): Likewise.
12373 [!+link] (+link): Define in terms of $(+link-before-libc) and
12374 $(+link-after-libc).
12375 [!+link-static] (+link-static-before-libc): New variable.
12376 [!+link-static] (+link-static-after-libc): Likewise.
12377 [!+link-static] (+link-static-tests): Likewise.
12378 [!+link-static] (+link-static): Define in terms of
12379 $(+link-static-before-libc) and $(+link-static-after-libc).
12380 [build-shared] (link-libc-before-gnulib): New variable.
12381 [build-shared] (link-libc-tests): Likewise.
12382 [build-shared] (link-libc): Define in terms of
12383 $(link-libc-before-gnulib).
12384 [!build-shared] (link-libc-tests): New variable.
12385 (link-libc-static-tests): New variable.
12386 [!gnulib] (gnulib-arch): New variable.
12387 [!gnulib] (gnulib-tests): Likewise.
12388 [!gnulib] (static-gnulib-arch): Likewise.
12389 [!gnulib] (static-gnulib-tests): Likewise.
12390 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12391 Define with "=" instead of ":=".
12392 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12393 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12394 * Rules (binaries-all-notests): New variable.
12395 (binaries-all-tests): Likewise.
12396 (binaries-static-notests): Likewise.
12397 (binaries-static-tests): Likewise.
12398 (binaries-all): Define using $(binaries-all-notests) and
12399 $(binaries-all-tests).
12400 (binaries-static): Define using $(binaries-static-notests) and
12401 $(binaries-static-tests).
12402 (binaries-shared-tests): New variable.
12403 (binaries-shared-notests): Likewise.
12404 (binaries-shared): Remove variable.
12405 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12406 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12407 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12408 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12409 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12410 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12411 * elf/Makefile (sln-modules): New variable.
12412 (extra-objs): Add $(sln-modules:=.o).
12413 (ldconfig-modules): Add static-stubs.
12414 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12415 * elf/static-stubs.c: New file.
12416
7a845b2c
JM
12417 [BZ #14283]
12418 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12419 by 7 not 8 to examine high bit of fractional part. Use volatile
12420 variables when splitting into final array of floats if
12421 __FLT_EVAL_METHOD__ != 0.
12422 * math/libm-test.inc (cos_test): Add another test.
12423 (sin_test): Likewise.
12424 * sysdeps/i386/fpu/libm-test-ulps: Update.
12425
e2283f38
JM
12426 [BZ #14273]
12427 * math/libm-test.inc (cosh_test): Add more tests.
12428
370ca3d2
JM
12429 * version.h (RELEASE): Set to "development".
12430 (VERSION): Set to "2.16.90".
12431
ee9247c3
CD
124322012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12433
12434 * NEWS: Update copyright. Remove last-updated date.
12435 Mention math library bug fixes and timezone data changes.
12436 * README: Mention GNU/Hurd, x32, and HPPA support status.
12437
4648c381
TS
124382012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12439
12440 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12441
aac78a43
AJ
124422012-06-27 Andreas Jaeger <aj@suse.de>
12443
12444 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12445
ed3dbfad
AJ
124462012-06-25 Andreas Jaeger <aj@suse.de>
12447
12448 * sysdeps/s390/fpu/libm-test-ulps: Update.
12449
4d0ee855
AS
124502012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12451 Thomas Schwinge <thomas@codesourcery.com>
12452
12453 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12454 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12455 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12456 fanotify_mark.
12457
af1bce34
TS
124582012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12459
a9fa33ba
TS
12460 * sysdeps/mach/start.c: Remove file.
12461 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12462 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12463 * sysdeps/sh/init-first.c: Likewise.
12464
58f902b8
TS
12465 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12466 registers for frame unwinding purposes, add CFI directives.
12467 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12468 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12469 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12470 Likewise.
12471
1518f58b
TS
12472 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12473 __fortify_fail returning.
12474 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12475
db9b5059
TS
12476 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12477 sysdeps/sh/____longjmp_chk.S.
12478 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12479 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12480 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12481 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12482
967705fe
TS
12483 * sysdeps/sh/abort-instr.h: New file.
12484 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12485 process in case exit returns.
12486
a9def8c4
TS
12487 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12488 initialize the GOT register before use.
12489
2a649725
TS
12490 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12491 calculation of ARGC > 4.
12492
af1bce34
TS
12493 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12494 meaningful names to some local labels.
12495
d230f50a
KK
124962012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12497 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12498
12499 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12500 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12501 (__arch_compare_and_exchange_val_16_acq): Likewise.
12502 (__arch_compare_and_exchange_val_32_acq): Likewise.
12503 (atomic_exchange_and_add): Fix gUSA sequence.
12504 (atomic_add): Likewise.
12505 (atomic_add_negative): Likewise.
12506 (atomic_add_zero): Likewise.
12507 (atomic_bit_test_set): Likewise.
12508
0479b305
AS
125092012-06-22 Andreas Schwab <schwab@redhat.com>
12510
12511 [BZ #13579]
12512 * include/link.h (struct link_map): Add l_free_initfini.
12513 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12514 l_initfini.
12515 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12516 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12517 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12518 set.
12519
0e3933b9
CD
125202012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12521
12522 * configure.in: Use AC_LANG_SOURCE.
12523 * configure: Regenerate.
12524
4248b1b1
RM
125252012-06-22 Roland McGrath <roland@hack.frob.com>
12526
12527 * configure.in (libc_cv_localstatedir): New substituted variable.
12528 * configure: Regenerated.
12529 * config.make.in (localstatedir): New variable, substituted from
12530 libc_cv_localstatedir.
12531 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12532 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12533 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12534 * sysdeps/gnu/configure: Regenerated.
12535
006dd861
JL
125362012-06-21 Jeff Law <law@redhat.com>
12537
12538 [BZ #14277]
12539 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12540 free. Simplify list management for _LIBC case.
12541
79662d42
JM
125422012-06-21 Joseph Myers <joseph@codesourcery.com>
12543
b7abb4bf
JM
12544 [BZ #14273]
12545 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12546 Clear sign bit of 64-bit integer value before comparing against
12547 overflow value.
12548
79662d42
JM
12549 * sysdeps/mach/configure: Regenerated.
12550
1f150908
L
125512012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12552
12553 [BZ #14278]
12554 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12555
28363bbf
JL
125562012-06-21 Jeff Law <law@redhat.com>
12557
12558 [BZ #13882]
12559 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12560 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12561 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12562 * elf/dl-open.c (dl_open_worker): Likewise.
12563
09615db4
CD
125642012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12565
12566 * scripts/list-sources.sh: Scan PORTS for translations.
12567 * po/libc.pot: Regenerated.
12568
2174c6dd
AJ
125692012-06-21 Andreas Jaeger <aj@suse.de>
12570
12571 [BZ #12194]
12572 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12573 warning.
12574 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12575 * bits/byteswap-16.h (__bswap_16): Likewise.
12576 * bits/byteswap.h (__bswap_constant_16): Likewise.
12577
3ee947b1
L
125782012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12579
12580 [BZ #14117]
a2f34833
L
12581 * sysdeps/i386/fpu_control.h: Removed.
12582 * sysdeps/x86_64/fpu_control.h: Moved to ...
12583 * sysdeps/x86/fpu_control.h: Here.
12584
3ee947b1
L
12585 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12586 (_FPU_SETCW): Likewise.
12587
ed1825f8
L
125882012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12589
25f1282a
L
12590 [BZ #14117]
12591 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12592 * sysdeps/x86/fpu/bits/mathinline.h: This.
12593 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12594
ed1825f8
L
12595 [BZ #14050]
12596 [BZ #14117]
12597 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12598 functions if __x86_64__ is defined.
12599
36d54b74
CLT
126002012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12601
12602 * string/endian.h: Add !__ASSEMBLER__ condition for including
12603 conversion interfaces.
12604
10285c21
JM
126052012-06-15 Joseph Myers <joseph@codesourcery.com>
12606
12607 [BZ #14241]
12608 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12609 of ABS(x) in calculating zero to negative powers other than odd
12610 integers.
12611 * math/libm-test.inc (pow_test): Add more tests.
12612
06c5abbd
AJ
126132012-06-15 Andreas Jaeger <aj@suse.de>
12614
12615 * manual/contrib.texi (Contributors): Update entry of Liubov
12616 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12617 Machado Filho.
12618
a3aeac40
CH
126192012-06-15 Cyril Hrubis <metan@ucw.cz>
12620
12621 * string/string.h: Add __wur to GNU version of strerror_r.
12622
49bdf4c1
L
126232012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12624
12625 [BZ #14229]
12626 * string/Makefile (tests): Add tst-strtok_r.
12627 * string/tst-strtok_r.c: New file.
12628 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12629 RAX_LP/RDX_LP on SAVE_PTR.
12630
834f9b8d
RM
126312012-06-14 Roland McGrath <roland@hack.frob.com>
12632
12633 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12634
75fa1921
JM
126352012-06-14 Joseph Myers <joseph@codesourcery.com>
12636
12637 * libm_test.inc (csqrt_test): Allow more spurious underflow
12638 exceptions.
12639 (j0_test): Likewise.
12640 (j1_test): Likewise.
12641 (y0_test): Likewise.
12642 (y1_test): Likewise.
12643
771766df
CD
126442012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12645
12646 * po/Makefile (libc.pot): Use UTF-8 charset.
12647
ceb9e56b
PP
126482012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12649
12650 [BZ #14210]
12651 Suppress sign-conversion warning from FD_SET.
12652 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12653 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12654 not unsigned long int.
12655 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12656
ddb28975
L
126572012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12658
12659 [BZ #14050]
12660 [BZ #14117]
12661 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12662 __extern_always_inline instead of __extern_inline.
12663 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12664 (__signbit): Likewise.
12665 (__signbitl): Support C++ namespace.
12666 (lrintf): New inline function.
12667 (lrint): Likewise.
12668 (llrintf): Likewise.
12669 (llrint): Likewise.
12670 (fmaxf): Likewise.
12671 (fmax): Likewise.
12672 (fminf): Likewise.
12673 (fmin): Likewise.
12674 (rint): Likewise.
12675 (rintf): Likewise.
12676 (ceil): Likewise.
12677 (ceilf): Likewise.
12678 (floor): Likewise.
12679 (floorf): Likewise.
12680 (nearbyint): Likewise.
12681 (nearbyintf): Likewise.
12682
d7b4fb26
TS
126832012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12684
12685 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12686 non-default versions.
12687
eb55f5c2
RM
126882012-06-11 Roland McGrath <roland@hack.frob.com>
12689
12690 [BZ #14218]
12691 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12692
366af02c
TS
126932012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12694
99ff6e5c
TS
12695 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12696 (FE_UPWARD, FE_DOWNWARD): Don't define.
12697 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12698 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12699
366af02c
TS
12700 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12701 reading it.
12702 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12704
793ea851
KK
127052012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12706
12707 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12708 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12709 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12710 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12711
a728a38f
L
127122012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12713
12714 [BZ #14117]
c08010c7
L
12715 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12716 * sysdeps/i386/fpu/Implies: New file.
12717 * sysdeps/x86_64/fpu/Implies: Likewise.
12718 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12719 * sysdeps/x86/fpu/bits/fenv.h: This.
12720
a728a38f
L
12721 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12722 __SSE_MATH__.
12723
6e230d11
SP
127242012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12725
12726 [BZ #14134]
12727 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12728 character 0xffff that matches the last element of the
12729 conversion table.
12730
1b671feb
AZ
127312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12732
12733 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12734 fmodl commit.
12735
6043738b
AZ
127362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12737
12738 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12739 values higher than 25.6283.
12740
34ae0b32
AZ
127412012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12742
12743 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12744 subnormal exponent extraction and add some __builtin_expect.
12745 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12746 Fix for subnormal mantissa calculation.
12747
1214ec8f
MF
127482012-06-04 Mike Frysinger <vapier@gentoo.org>
12749
12750 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12751 cpu2 is -1 and errno is not ENOSYS.
12752
f3d1f93c
L
127532012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12754
12755 [BZ #14117]
0e4a3cd7
L
12756 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12757 * sysdeps/x86/bits/string.h: This.
12758 * sysdeps/x86_64/bits/string.h: Removed.
12759
6704c645
L
12760 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12761 if not compiling for x86-64, but compiling for >= i486.
12762
48495318
L
12763 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12764 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12765
14adcbfc
L
12766 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12767 New macro from Linux kernel 3.4.0.
12768 (FP_XSTATE_MAGIC2): Likewise.
12769 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12770 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12771 (struct _fpx_sw_bytes): New struct.
12772 (struct _xsave_hdr): Likewise.
12773 (struct _ymmh_state): Likewise.
12774 (struct _xstate): Likewise.
12775
68e408ab
L
12776 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12777 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12778 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12779 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12780 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12781 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12782
f3d1f93c
L
12783 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12784 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12785 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12786 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12787 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12788 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12789
d9dc34cd
TMQMF
127902012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12791
12792 [BZ #13743]
12793 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12794 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12795 (sysdep_headers): Include sys/platform/ppc.h.
12796 * sysdeps/powerpc/test-gettimebase.c: Test for
12797 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12798 * manual/Makefile (appendices): Include platform.texi.
12799 * manual/contrib.texi (Contributors): Update @node pointers.
12800 * manual/maint.texi (Maintenance): Likewise.
12801 (Platform): New node.
12802 * manual/platform.texi: New file. Document the new features.
12803
4af3879c
SP
128042012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12805 Jakub Jelinek <jakub@redhat.com>
12806
12807 [BZ #14188]
12808 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12809 where __builtin_expect is unavailable.
12810
2fd6ff13
DM
128112012-06-03 David S. Miller <davem@davemloft.net>
12812
12813 * stdlib/longlong.h: Updated from GCC.
12814
173f7220
AS
128152012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12816
12817 [BZ #14042]
12818 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12819 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12820 __mcount_internal.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12822 (GLIBC_2.16): Likewise.
12823
f34a1c6f
L
128242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12825
12826 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12827
88a4576f
JM
128282012-06-01 Joseph Myers <joseph@codesourcery.com>
12829
ea32bcdd
JM
12830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12831 (default-abi): New variable.
12832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12833 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12834 variable.
12835 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12836 Likewise.
12837 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12838 Likewise.
12839 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12840 Likewise.
12841
88a4576f
JM
12842 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12843 definition. Document in comment.
12844
402fe938
DM
128452012-06-01 David S. Miller <davem@davemloft.net>
12846
12847 * stdlib/longlong.h: Updated from GCC.
12848
3553723f
L
128492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12850
12851 [BZ #14117]
3bd872c4
L
12852 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12853 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12854 sys/debugreg.h sys/io.h here.
12855 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12856 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12857 sys/io.h.
12858 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12859 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12860 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12861 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12862 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12863 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12864
3553723f
L
12865 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12866 Define only if __x86_64__ is defined.
12867
4842e4fe
JM
128682012-06-01 Joseph Myers <joseph@codesourcery.com>
12869
c5bfe3d5
JM
12870 [BZ #14048]
12871 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12872 Use int64_t for variable i.
12873 * math/libm-test.inc (fmod_test): Add more tests.
12874
4842e4fe
JM
12875 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12876 z computation is not scheduled after fetestexcept.
12877 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12878 Use math_force_eval instead of asm to ensure calculation scheduled
12879 before exception test.
12880 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12881 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12882
efb73488
AJ
128832012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12884
12885 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12886 computation is not scheduled after fetestexcept.
12887
29bcce7c
L
128882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12889
12890 [BZ #14117]
12891 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12892 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12893
73a68f94
AZ
128942012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12895
12896 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12897 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12898
67b6df78
L
128992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12900
edf2933a 12901 [BZ #14117]
ebc64a18
L
12902 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12903 <bits/wordsize.h>.
12904 (__WCHAR_MIN): Support __WORDSIZE == 64.
12905 (__WCHAR_MAX): Likewise.
12906
edf2933a
L
12907 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12908 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12909
57c6cf40
L
12910 [BZ #14183]
12911 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12912 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12913
67b6df78 12914 [BZ #14117]
8eb6281e
L
12915 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12916 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12917
aac639f4
L
12918 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12919 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12920
67b6df78
L
12921 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12922 Defined to 1 if __x86_64__ isn't defined.
12923 (_STAT_VER_LINUX_OLD): New.
12924 (st_atime): Remove duplicate.
12925 (st_mtime): Likewise.
12926 (st_ctime): Likewise.
12927
1c2cfe81
DM
129282012-05-31 David S. Miller <davem@davemloft.net>
12929
12930 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12931 entries.
12932
5be8418c
AS
129332012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12934
e7725326
AS
12935 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12936 gen-libm-test.pl.
12937
5be8418c
AS
12938 [BZ #14132]
12939 * elf/dl-reloc.c: Include <_itoa.h>.
12940 (_dl_reloc_bad_type): Remove use of INTUSE.
12941 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12942 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12943 * stdio-common/psiginfo.c (psiginfo): Likewise.
12944 * stdio-common/psignal.c (psignal): Likewise.
12945 * string/strsignal.c (strsignal): Likewise.
12946 * include/signal.h (_sys_siglist): Declare hidden proto.
12947 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12948 INTVARDEF with libc_hidden_data_def.
12949 * stdio-common/itoa-udigits.c: Likewise.
12950 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12951 (_itoa_lower_digits_internal): Remove declaration.
12952 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12953 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12954 (_sys_sigabbrev_internal): Remove aliases.
12955 (_sys_siglist): Define hidden alias.
12956
507352f1
MT
129572012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12958
12959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12960 bits/sysctl.h.
12961
42bbb1c3
L
129622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 [BZ #14117]
6bd784b6
L
12965 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12966 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12967
8bca20f0
L
12968 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12969 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12970 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12971 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12972 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12973 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12974
f9e890a9
L
12975 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12976 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12977 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12978
471101a1
L
12979 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12980 with __addr.
12981 (insw): Likewise.
12982 (insl): Likewise.
12983 (outsb): Likewise.
12984 (outsw): Likewise.
12985 (outsl): Likewise.
12986
6451c862
L
12987 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12988 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12989 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12990
a254b8c9
L
12991 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12992 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12993 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12994 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12995 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12996 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12997
b8dfdd92
L
12998 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12999 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13000
578cd270
L
13001 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13002 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13003
de662f5f
L
13004 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13005 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13006 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13007
25653439
L
13008 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13009 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13010 to ...
13011 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13012
6bad24a0
L
13013 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13014 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13015 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13016
42bbb1c3
L
13017 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13018 for x86-64.
13019 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13020
2d10d547
JM
130212012-05-31 Joseph Myers <joseph@codesourcery.com>
13022
13023 * math/math.h (M_El): Use two more decimal places.
13024 (M_LOG2El): Likewise.
13025 (M_LOG10El): Likewise.
13026 (M_LN2l): Likewise.
13027 (M_LN10l): Likewise.
13028 (M_PIl): Likewise.
13029 (M_PI_2l): Likewise.
13030 (M_PI_4l): Likewise.
13031 (M_1_PIl): Likewise.
13032 (M_2_PIl): Likewise.
13033 (M_2_SQRTPIl): Likewise.
13034 (M_SQRT2l): Likewise.
13035 (M_SQRT1_2l): Likewise.
13036
f230c29b
DM
130372012-05-31 David S. Miller <davem@davemloft.net>
13038
13039 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13040 values between float registers.
13041 * sysdeps/sparc/sparc64/memset.S: Likewise.
13042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13043
fed806c3
MF
130442012-05-31 Mike Frysinger <vapier@gentoo.org>
13045
13046 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13047 -D_FORTIFY_SOURCE=1.
13048 (CPPFLAGS-tst-longjmp_chk.c): Define.
13049 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13050 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13051 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13052 CFLAGS-tst-wchar-h.c.
13053
30917259
MP
130542012-05-31 Marek Polacek <polacek@redhat.com>
13055
13056 [BZ #14132]
13057 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13058 __endmntent_internal): Remove declaration.
13059 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13060 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13061 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13062
1c58d5dc
DM
130632012-05-30 David S. Miller <davem@davemloft.net>
13064
13065 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13066 (___Q_simulate_exceptions): Use real FP ops rather than writing
13067 into the %fsr.
13068 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13069 Likewise.
13070
7dc00e0d
L
130712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13072
13073 [BZ #14117]
0bd53985
L
13074 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13075 * sysdeps/x86/bits/xtitypes.h: This.
13076
3a257e66
L
13077 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13078 * sysdeps/x86/bits/wordsize.h: This.
13079
62f62904
L
13080 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13081 * sysdeps/x86/bits/huge_vall.h: This.
13082
404fe9d9
L
13083 * sysdeps/i386/bits/select.h: Removed.
13084 * sysdeps/x86_64/bits/select.h: Renamed to ...
13085 * sysdeps/x86/bits/select.h: This.
13086
d48d0446
L
13087 * sysdeps/i386/bits/setjmp.h: Removed.
13088 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13089 * sysdeps/x86/bits/setjmp.h: This.
13090
7dc00e0d
L
13091 * sysdeps/i386/bits/mathdef.h: Removed.
13092 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13093 * sysdeps/x86/bits/mathdef.h: This.
13094
03277f8f
AS
130952012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13096
13097 [BZ #14132]
13098 * include/sys/socket.h (__connect_internal)
13099 (__libc_sa_len_internal): Remove declaration.
13100 (__connect, __libc_sa_len): Declare hidden_proto.
13101 (SA_LEN): Remove use of INTUSE.
13102 * socket/connect.c: Add libc_hidden_def.
13103 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13104 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13105 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13106 alias.
13107 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13108 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13109 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13110 of adding _internal alias.
13111
13764867
L
131122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13113
13114 [BZ #14117]
6bd97696
L
13115 * sysdeps/i386/bits/link.h: Removed.
13116 * sysdeps/i386/bits/linkmap.h: Likewise.
13117 * sysdeps/x86_64/bits/link.h: Renamed to ...
13118 * sysdeps/x86/bits/link.h: This.
13119 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13120 * sysdeps/x86/bits/linkmap.h: This.
13121
f726f0bb
L
13122 * sysdeps/i386/bits/endian.h: Removed.
13123 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13124 * sysdeps/x86/bits/endian.h: This.
13125
13764867
L
13126 * sysdeps/i386/bits/byteswap.h: Removed.
13127 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13128 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13129 * sysdeps/x86/bits/byteswap.h: This.
13130 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13131 * sysdeps/x86/bits/byteswap-16.h: This.
13132 * sysdeps/i386/Implies: Add x86.
13133 * sysdeps/x86_64/Implies: Likewise.
13134
ae251b0b
DM
131352012-05-30 David S. Miller <davem@davemloft.net>
13136
13137 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13138 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13139 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13140 (FP_TRAPPING_EXCEPTIONS): Define.
13141 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13142 (FP_TRAPPING_EXCEPTIONS): Define.
13143 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13144 subnormals only when inexact has been signalled or underflow
13145 exceptions are enabled.
13146 (_FP_PACK_CANONICAL): Likewise.
13147
d5c90867
L
131482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13149
13150 [BZ #14183]
13151 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13152 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13153
63f1549e
RH
131542012-05-30 Richard Henderson <rth@twiddle.net>
13155
8d8f2279
RH
13156 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13157 with #ifndef NOT_IN_libc.
13158
63f1549e
RH
13159 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13160 marked to avoid plt entry.
13161
0ab0291b
L
131622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13163
13164 [BZ #14112]
13165 * Makeconfig (default-abi): New macro.
13166 (abi-includes): Likewise.
13167 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13168 $(abi-$(default-abi)-lib-soname) for soname if defined.
13169 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13170 abi-variants.
13171 * Makefile (installed-stubs): Likewise.
13172 * include/stubs-biarch.h: Removed.
13173 * scripts/lib-names.awk: Only handle one library at a time.
13174 * scripts/soversions.awk: Remove WORDSIZE support.
13175 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13176 entries.
13177 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13178 Removed.
13179 (syscall-list-default-condition): Likewise.
13180 (syscall-list-default-condition): Likewise.
13181 (syscall-list-includes): Likewise.
13182 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13183 syscall-list-* with abi-*. Handle undefined abi-variants.
13184 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13185 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13186 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13187 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13188 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13189 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13190 Removed.
13191 (syscall-list-32-options): Likewise.
13192 (syscall-list-32-condition): Likewise.
13193 (syscall-list-64-options): Likewise.
13194 (syscall-list-64-condition): Likewise.
13195 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13196 macro.
13197 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13198 Renamed to ...
13199 (abi-*): This.
13200 (abi-64-ld-soname): New macro.
13201 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13202 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13203 Renamed to ...
13204 (abi-*): This.
13205 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13206 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13207
4da0431d
JM
132082012-05-30 Joseph Myers <joseph@codesourcery.com>
13209
3a85279c
JM
13210 * sysdeps/unix/sysv/linux/kernel-features.h
13211 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13212 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13213 include <kernel-features.h>.
13214 [!__NR_ftruncate64]: Remove conditional code.
13215 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13216 [__NR_ftruncate64]: Make code unconditional.
13217 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13218 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13219 include <kernel-features.h>.
13220 [!__NR_ftruncate64]: Remove conditional code.
13221 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13222 [__NR_ftruncate64]: Make code unconditional.
13223 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13225 include <kernel-features.h>.
13226 [!__NR_ftruncate64]: Remove conditional code.
13227 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13228 [__NR_ftruncate64]: Make code unconditional.
13229 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13231 include <kernel-features.h>.
13232 [!__NR_ftruncate64]: Remove conditional code.
13233 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13234 [__NR_ftruncate64]: Make code unconditional.
13235 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13236
4da0431d
JM
13237 * configure.in (libc_cv_fpie): Weaken to a compile test using
13238 LIBC_TRY_CC_OPTION.
13239 * configure: Regenerated.
13240
11ef492c
AK
132412012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13242
13243 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13247 Refreshed.
13248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13250 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13251 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13254 Refreshed.
13255
d66ef399
DM
132562012-05-27 David S. Miller <davem@davemloft.net>
13257
13258 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13259 (___Q_zero): New.
13260 (__Q_simulate_exceptions): Return void. Change to simulate
13261 exceptions by writing into the %fsr.
13262 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13263 (__Qp_handle_exceptions): Likewise.
13264 (numbers): Delete.
13265 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13266 __Qp_handle_exceptions.
13267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13268 __Qp_handle_exceptions.
13269 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13270 as unused and give dummy FP_RND_NEAREST initializer.
13271 (FP_INHIBIT_RESULTS): Define.
13272 (___Q_simulate_exceptions): Update declaration.
13273 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13274 formatting.
13275 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13276 as unused and give dummy FP_RND_NEAREST initializer.
13277 (__Qp_handle_exceptions): Update declaration.
13278 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13279 formatting.
13280
04fb54b5
TS
132812012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13282
13283 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13284 the temporary FPU control word.
13285 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13286 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13287 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13288 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13289 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13290 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13291 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13292 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13293 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13294 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13295 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13296
3f99608f
KK
132972012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13298
13299 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13300 fields.
13301
65a4de4e
CLT
133022012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13303
13304 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13305 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13306 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13307 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13308 Likewise.
13309 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13310 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13311 Likewise.
13312
15749d40
UD
133132012-05-27 Ulrich Drepper <drepper@gmail.com>
13314
13315 * po/h.po: Update from translation team.
13316
25dbcb27
AS
133172012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13318
3d3f8e55
AS
13319 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13320
25dbcb27
AS
13321 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13322 handling of denormals.
13323 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13324 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13325 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13326 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13327 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13328 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13329 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13330 Likewise.
13331
7ad47a80 133322012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13333
13334 [BZ #14152]
13335 * math/libm-test.inc (fma_test): Don't always expect underflow
13336 exception.
13337
9c6ea9fa
SP
133382012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13339
13340 [BZ #12416]
13341 * elf/tst-execstack.c: Include stackinfo.h.
13342 (do_test): Adjust test case to ensure that pthread_getattr_np
13343 behaviour remains the same after marking stack executable.
13344
a8239222
JM
133452012-05-25 Joseph Myers <joseph@codesourcery.com>
13346
13347 * sysdeps/unix/sysv/linux/kernel-features.h
13348 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13349 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13350 kernel-features.h.
13351 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13352 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13353 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13354 kernel-features.h.
13355 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13356 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13357
918b5606
L
133582012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13359
13360 * configure.in: Define the default includes to being none.
13361 * configure: Regenerated.
13362
3a097cc7
RM
133632012-05-25 Roland McGrath <roland@hack.frob.com>
13364
8422c9a5
RM
13365 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13366 * sysdeps/x86_64/setjmp.S: Likewise.
13367 * sysdeps/i386/bsd-setjmp.S: Likewise.
13368 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13369 * sysdeps/i386/setjmp.S: Likewise.
13370 * sysdeps/i386/__longjmp.S: Likewise.
13371 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13372 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13373
3a097cc7
RM
13374 * include/stap-probe.h: New file.
13375 * configure.in: Handle --enable-systemtap.
13376 * configure: Regenerated.
13377 * config.h.in (USE_STAP_PROBE): New #undef.
13378 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13379 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13380 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13381
21708942
JM
133822012-05-25 Joseph Myers <joseph@codesourcery.com>
13383
13384 [BZ #13717]
13385 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13386 to 2.4.0 where earlier.
13387 * sysdeps/unix/sysv/linux/configure: Regenerated.
13388 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13389 <kernel-features.h>.
13390 [__ASSUME_32BITUIDS]: Make code unconditional.
13391 [!__ASSUME_32BITUIDS]: Remove conditional code.
13392 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13393 <kernel-features.h>.
13394 [__ASSUME_32BITUIDS]: Make code unconditional.
13395 [!__ASSUME_32BITUIDS]: Remove conditional code.
13396 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13397 [__ASSUME_32BITUIDS]: Make code unconditional.
13398 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13399 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13400 <kernel-features.h>.
13401 [__ASSUME_32BITUIDS]: Make code unconditional.
13402 [!__ASSUME_32BITUIDS]: Remove conditional code.
13403 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13404 <kernel-features.h>.
13405 [__ASSUME_32BITUIDS]: Make code unconditional.
13406 [!__ASSUME_32BITUIDS]: Remove conditional code.
13407 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13408 <kernel-features.h>.
13409 [__ASSUME_32BITUIDS]: Make code unconditional.
13410 [!__ASSUME_32BITUIDS]: Remove conditional code.
13411 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13412 <kernel-features.h>.
13413 [__ASSUME_32BITUIDS]: Make code unconditional.
13414 [!__ASSUME_32BITUIDS]: Remove conditional code.
13415 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13416 <kernel-features.h>.
13417 [__ASSUME_32BITUIDS]: Make code unconditional.
13418 [!__ASSUME_32BITUIDS]: Remove conditional code.
13419 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13420 <kernel-features.h>.
13421 [__ASSUME_32BITUIDS]: Make code unconditional.
13422 [!__ASSUME_32BITUIDS]: Remove conditional code.
13423 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13424 <kernel-features.h>.
13425 [__ASSUME_32BITUIDS]: Make code unconditional.
13426 [!__ASSUME_32BITUIDS]: Remove conditional code.
13427 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13428 <kernel-features.h>.
13429 [__ASSUME_32BITUIDS]: Make code unconditional.
13430 [!__ASSUME_32BITUIDS]: Remove conditional code.
13431 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13432 <kernel-features.h>.
13433 [__ASSUME_32BITUIDS]: Make code unconditional.
13434 [!__ASSUME_32BITUIDS]: Remove conditional code.
13435 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13436 <kernel-features.h>.
13437 [__ASSUME_32BITUIDS]: Make code unconditional.
13438 [!__ASSUME_32BITUIDS]: Remove conditional code.
13439 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13440 <kernel-features.h>.
13441 [__NR_setresgid] (__setresgid): Do not declare.
13442 [__ASSUME_32BITUIDS]: Make code unconditional.
13443 [!__ASSUME_32BITUIDS]: Remove conditional code.
13444 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13445 <kernel-features.h>.
13446 [__NR_setresuid] (__setresuid): Do not declare.
13447 [__ASSUME_32BITUIDS]: Make code unconditional.
13448 [!__ASSUME_32BITUIDS]: Remove conditional code.
13449 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13450 <kernel-features.h>.
13451 [__ASSUME_32BITUIDS]: Make code unconditional.
13452 [!__ASSUME_32BITUIDS]: Remove conditional code.
13453 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13454 <kernel-features.h>.
13455 [__ASSUME_32BITUIDS]: Make code unconditional.
13456 [!__ASSUME_32BITUIDS]: Remove conditional code.
13457 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13458 <kernel-features.h>.
13459 [__ASSUME_32BITUIDS]: Make code unconditional.
13460 [!__ASSUME_32BITUIDS]: Remove conditional code.
13461 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13462 <kernel-features.h>.
13463 [__ASSUME_32BITUIDS]: Make code unconditional.
13464 [!__ASSUME_32BITUIDS]: Remove conditional code.
13465 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13466 <kernel-features.h>.
13467 [__ASSUME_32BITUIDS]: Make code unconditional.
13468 [!__ASSUME_32BITUIDS]: Remove conditional code.
13469 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13470 <kernel-features.h>.
13471 [__ASSUME_32BITUIDS]: Make code unconditional.
13472 [!__ASSUME_32BITUIDS]: Remove conditional code.
13473 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13474 <kernel-features.h>.
13475 [__ASSUME_32BITUIDS]: Make code unconditional.
13476 [!__ASSUME_32BITUIDS]: Remove conditional code.
13477 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13478 <kernel-features.h>.
13479 [__ASSUME_32BITUIDS]: Make code unconditional.
13480 [!__ASSUME_32BITUIDS]: Remove conditional code.
13481 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13482 <kernel-features.h>.
13483 [__ASSUME_32BITUIDS]: Make code unconditional.
13484 [!__ASSUME_32BITUIDS]: Remove conditional code.
13485 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13486 <kernel-features.h>.
13487 [__ASSUME_32BITUIDS]: Make code unconditional.
13488 [!__ASSUME_32BITUIDS]: Remove conditional code.
13489 * sysdeps/unix/sysv/linux/kernel-features.h
13490 (__ASSUME_SETRESUID_SYSCALL): Remove.
13491 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13492 (__ASSUME_32BITUIDS): Likewise.
13493 (__ASSUME_LDT_WORKS): Likewise.
13494 (__ASSUME_O_DIRECTORY): Likewise.
13495 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13496 architecture but not kernel version.
13497 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13498 (__ASSUME_MMAP2_SYSCALL): Likewise.
13499 (__ASSUME_STAT64_SYSCALL): Likewise.
13500 (__ASSUME_IPC64): Likewise.
13501 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13502 <kernel-features.h>.
13503 [__ASSUME_32BITUIDS]: Make code unconditional.
13504 [!__ASSUME_32BITUIDS]: Remove conditional code.
13505 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13506 <kernel-features.h>.
13507 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13508 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13509 132096]: Remove conditional code.
13510 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13511 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13512 <kernel-features.h>.
13513 [__ASSUME_32BITUIDS]: Make code unconditional.
13514 [!__ASSUME_32BITUIDS]: Remove conditional code.
13515 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13516 <kernel-features.h>.
13517 [__ASSUME_32BITUIDS]: Make code unconditional.
13518 [!__ASSUME_32BITUIDS]: Remove conditional code.
13519 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13520 <kernel-features.h>.
13521 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13522 unconditional.
13523 (__setresgid): Do not declare.
13524 [__ASSUME_32BITUIDS]: Make code unconditional.
13525 [!__ASSUME_32BITUIDS]: Remove conditional code.
13526 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13527 <kernel-features.h>.
13528 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13529 unconditional.
13530 (__setresuid): Do not declare.
13531 [__ASSUME_32BITUIDS]: Make code unconditional.
13532 [!__ASSUME_32BITUIDS]: Remove conditional code.
13533 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13534 <kernel-features.h>.
13535 [__ASSUME_32BITUIDS]: Make code unconditional.
13536 [!__ASSUME_32BITUIDS]: Remove conditional code.
13537 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13538 <kernel-features.h>.
13539 [__ASSUME_32BITUIDS]: Make code unconditional.
13540 [!__ASSUME_32BITUIDS]: Remove conditional code.
13541
a386f1cc
RH
135422012-05-25 Richard Henderson <rth@twiddle.net>
13543
13544 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13545 dl_hwcap to ifunc resolver.
13546 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13547 elf_ifunc_invoke.
13548 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13549 dl_hwcap to ifunc resolver.
13550 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13551
b6550497
JM
135522012-05-24 Joseph Myers <joseph@codesourcery.com>
13553
13554 [BZ #14153]
13555 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13556 for |x| <= 2**-26, not 2**-57.
13557 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13558 exception.
13559
b0bc23a1
JL
135602012-05-24 Jeff Law <law@redhat.com>
13561
13562 * stdio-common/Makefile (tests): Add bug25.
13563 * stdio-common/bug25.c: New test.
13564
347c92e9
L
135652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13566
13567 [BZ #13576]
13568 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13569 multiple of MALLOC_ALIGNMENT in size.
13570 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13571
6bcc8b3f
JM
135722012-05-24 Joseph Myers <joseph@codesourcery.com>
13573
13574 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13575 Require >= 256.
13576 (FILENAME_MAX): Use macro-int-constant.
13577 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13578 (_IOFBF): Use macro-int-constant.
13579 (_IOLBF): Likewise.
13580 (_IONBF): Likewise.
13581 (SEEK_CUR): Likewise.
13582 (SEEK_END): Likewise.
13583 (SEEK_SET): Likewise.
13584 (TMP_MAX): Likewise.
13585 (EOF): Use macro-int-constant. Require < 0.
13586 (NULL): Use macro-constant. Require == 0.
13587 (stdin): Require type to be FILE *.
13588 (stdout): Likewise.
13589 (stderr): Likewise.
13590 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13591 macro-int-constant.
13592 (EXIT_SUCCESS): Likewise.
13593 (NULL): Use macro-constant. Require == 0.
13594 (RAND_MAX): Use macro-int-constant.
13595 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13596 [C99-based standards] (strtof): Require function.
13597 [C99-based standards] (strtold): Likewise.
13598 [C99-based standards] (strtoll): Likewise.
13599 [C99-based standards] (strtoull): Likewise.
13600 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13601 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13602 [ISO || ISO99 || ISO11] (math.h): Likewise.
13603 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13604 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13606
d18ea0c5
AS
136072012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13608
13609 [BZ #14132]
56d25bb8
AS
13610 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13611 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13612 * intl/dgettext.c (DCGETTEXT): Likewise.
13613 * intl/gettext.c (DCGETTEXT): Likewise.
13614 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13615 * posix/regex_internal.h (gettext): Likewise.
13616 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13617 Remove declaration.
13618 * include/argz.h (__argz_count_internal)
13619 (__argz_stringify_internal): Remove declaration.
13620 (__argz_count, __argz_stringify): Declare hidden proto.
13621 * intl/dcgettext.c: Remove use of INTDEF.
13622 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13623 * string/argz-stringify.c: Likewise.
13624 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13625 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13626 Declare hidden proto.
d18ea0c5
AS
13627 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13628 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13629 Declare hidden proto.
13630 * include/stdio.h (__asprintf_internal): Don't declare.
13631 (__asprintf): Don't define as macro. Declare hidden proto.
13632 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13633 (__fsetlocking): Declare hidden proto.
13634 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13635 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13636 hidden proto.
13637 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13638 (_IO_setlinebuf): Remove use of INTUSE.
13639 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13640 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13641 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13642 Remove declaration.
13643 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13644 (_IO_do_flush): Remove use of INTUSE.
13645 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13646 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13647 (_IO_adjust_column, _IO_least_wmarker)
13648 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13649 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13650 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13651 (_IO_default_doallocate, _IO_wdefault_doallocate)
13652 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13653 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13654 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13655 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13656 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13657 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13658 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13659 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13660 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13661 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13662 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13663 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13664 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13665 proto.
13666 (_IO_flush_all_internal, _IO_adjust_column_internal)
13667 (_IO_default_uflow_internal, _IO_default_finish_internal)
13668 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13669 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13670 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13671 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13672 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13673 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13674 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13675 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13676 (_IO_file_close_internal, _IO_file_close_it_internal)
13677 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13678 (_IO_file_init_internal, _IO_file_attach_internal)
13679 (_IO_file_fopen_internal, _IO_file_read_internal)
13680 (_IO_file_sync_internal, _IO_file_seek_internal)
13681 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13682 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13683 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13684 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13685 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13686 (_IO_list_all_internal, _IO_link_in_internal)
13687 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13688 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13689 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13690 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13691 (_IO_do_write_internal, _IO_padn_internal)
13692 (_IO_getline_info_internal, _IO_getline_internal)
13693 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13694 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13695 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13696 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13697 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13698 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13699 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13700 with libc_hidden_ver, remove use of INTUSE.
13701 * libio/genops.c: Likewise.
13702 * libio/freopen.c: Likewise.
13703 * libio/freopen64.c: Likewise.
13704 * libio/iofclose.c: Likewise.
13705 * libio/iofdopen.c: Likewise.
13706 * libio/iofflush.c: Likewise.
13707 * libio/iofflush_u.c: Likewise.
13708 * libio/iofgets.c: Likewise.
13709 * libio/iofgets_u.c: Likewise.
13710 * libio/iofopen.c: Likewise.
13711 * libio/iofopncook.c: Likewise.
13712 * libio/iofread.c: Likewise.
13713 * libio/iofread_u.c: Likewise.
13714 * libio/ioftell.c: Likewise.
13715 * libio/iofwrite.c: Likewise.
13716 * libio/iogetline.c: Likewise.
13717 * libio/iogets.c: Likewise.
13718 * libio/iogetwline.c: Likewise.
13719 * libio/iopadn.c: Likewise.
13720 * libio/iopopen.c: Likewise.
13721 * libio/ioseekoff.c: Likewise.
13722 * libio/ioseekpos.c: Likewise.
13723 * libio/iosetbuffer.c: Likewise.
13724 * libio/iosetvbuf.c: Likewise.
13725 * libio/ioungetc.c: Likewise.
13726 * libio/ioungetwc.c: Likewise.
13727 * libio/iovdprintf.c: Likewise.
13728 * libio/iovsprintf.c: Likewise.
13729 * libio/iovsscanf.c: Likewise.
13730 * libio/memstream.c: Likewise.
13731 * libio/obprintf.c: Likewise.
13732 * libio/oldfileops.c: Likewise.
13733 * libio/oldiofclose.c: Likewise.
13734 * libio/oldiofdopen.c: Likewise.
13735 * libio/oldiofopen.c: Likewise.
13736 * libio/oldiopopen.c: Likewise.
13737 * libio/oldstdfiles.c: Likewise.
13738 * libio/putc.c: Likewise.
13739 * libio/setbuf.c: Likewise.
13740 * libio/setlinebuf.c: Likewise.
13741 * libio/stdfiles.c: Likewise.
13742 * libio/strops.c: Likewise.
13743 * libio/vasprintf.c: Likewise.
13744 * libio/vscanf.c: Likewise.
13745 * libio/vsnprintf.c: Likewise.
13746 * libio/vswprintf.c: Likewise.
13747 * libio/wfiledoalloc.c: Likewise.
13748 * libio/wfileops.c: Likewise.
13749 * libio/wgenops.c: Likewise.
13750 * libio/wmemstream.c: Likewise.
13751 * libio/wstrops.c: Likewise.
13752 * libio/__fpurge.c: Likewise.
13753 * libio/__fsetlocking.c: Likewise.
13754 * assert/assert.c: Likewise.
13755 * debug/fgets_chk.c: Likewise.
13756 * debug/fgets_u_chk.c: Likewise.
13757 * debug/fread_chk.c: Likewise.
13758 * debug/fread_u_chk.c: Likewise.
13759 * debug/gets_chk.c: Likewise.
13760 * debug/obprintf_chk.c: Likewise.
13761 * debug/vasprintf_chk.c: Likewise.
13762 * debug/vdprintf_chk.c: Likewise.
13763 * debug/vsnprintf_chk.c: Likewise.
13764 * debug/vsprintf_chk.c: Likewise.
13765 * malloc/mtrace.c: Likewise.
13766 * misc/error.c: Likewise.
13767 * misc/syslog.c: Likewise.
13768 * stdio-common/asprintf.c: Likewise.
13769 * stdio-common/fxprintf.c: Likewise.
13770 * stdio-common/getw.c: Likewise.
13771 * stdio-common/isoc99_fscanf.c: Likewise.
13772 * stdio-common/isoc99_scanf.c: Likewise.
13773 * stdio-common/isoc99_vfscanf.c: Likewise.
13774 * stdio-common/isoc99_vscanf.c: Likewise.
13775 * stdio-common/isoc99_vsscanf.c: Likewise.
13776 * stdio-common/printf-prs.c: Likewise.
13777 * stdio-common/printf_fp.c: Likewise.
13778 * stdio-common/printf_fphex.c: Likewise.
13779 * stdio-common/printf_size.c: Likewise.
13780 * stdio-common/putw.c: Likewise.
13781 * stdio-common/scanf.c: Likewise.
13782 * stdio-common/sprintf.c: Likewise.
13783 * stdio-common/tmpfile.c: Likewise.
13784 * stdio-common/vfprintf.c: Likewise.
13785 * stdio-common/vfscanf.c: Likewise.
13786 * stdlib/strfmon_l.c: Likewise.
13787 * sunrpc/openchild.c: Likewise.
13788 * sunrpc/xdr_stdio.c: Likewise.
13789 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13790 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13791
d6c33fda
RM
137922012-05-24 Roland McGrath <roland@hack.frob.com>
13793
c1487492
RM
13794 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13795
13796 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13797 in the third column, to generate for the shared library an IFUNC
13798 that uses _dl_vdso_vsym.
13799 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13800 * Makeconfig (object-suffixes-noshared): New variable.
13801
13802 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13803 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13804 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13805 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13806
d6c33fda
RM
13807 [BZ #14132]
13808 * include/sys/time.h (__gettimeofday): Remove macro.
13809 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13810 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13811 Remove INTDEF.
13812 (__gettimeofday): Add libc_hidden_def.
13813 (gettimeofday): Add libc_hidden_weak.
13814 * sysdeps/mach/gettimeofday.c: Likewise.
13815 * sysdeps/posix/gettimeofday.c: Likewise.
13816 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13817 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13818 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13819 (__gettimeofday_internal): Remove strong_alias.
13820 (__gettimeofday): Add libc_hidden_def.
13821 (gettimeofday): Add libc_hidden_weak.
13822 * sysdeps/unix/syscalls.list (gettimeofday):
13823 Remove __gettimeofday_internal alias.
13824
b5a2bbe6
L
138252012-05-24 Daniel Jacobowitz <drow@false.org>
13826 H.J. Lu <hongjiu.lu@intel.com>
13827
13828 [BZ #12495]
13829 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13830 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13831 (largebin_index_32_big): New.
13832 (largebin_index): Use it for 16-byte alignment.
13833 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13834 correction with front_misalign.
13835
cfba4fda
L
138362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13837
7f907421
L
13838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13839 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13840 Likewise.
13841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13842 Likewise.
13843 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13844 Likewise.
13845 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13846 Likewise.
13847 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13848 Likewise.
13849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13850 Likewise.
13851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13852 Likewise.
13853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13854 Likewise.
13855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13856 Likewise.
13857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13858 Likewise.
13859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13860 Likewise.
13861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13862 Likewise.
13863
cfba4fda
L
13864 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13865 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13866
80bad0cc
JM
138672012-05-24 Joseph Myers <joseph@codesourcery.com>
13868
7a25eb06
JM
13869 [BZ #10846]
13870 [BZ #14036]
13871 * math/libm-test.inc (exp_test): Add test from bug 14036.
13872 (pow_test): Add test from bug 10846.
13873
795405f9
JM
13874 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13875 and other flags.
13876 (special_function): Do not include flags in test name.
13877 (parse_args): Likewise.
13878 * sysdeps/i386/fpu/libm-test-ulps: Update.
13879 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13880 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13881 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13883
80bad0cc
JM
13884 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13885 exceptions.
13886 * math/libm-test.inc ("Philosophy"): Update comment about
13887 exception testing.
13888 (UNDERFLOW_EXCEPTION): New macro.
13889 (UNDERFLOW_EXCEPTION_OK): Likewise.
13890 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13891 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13892 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13893 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13894 (INVALID_EXCEPTION_OK): Update value.
13895 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13896 (OVERFLOW_EXCEPTION_OK): Likewise.
13897 (IGNORE_ZERO_INF_SIGN): Likewise.
13898 (test_exceptions): Handle underflow exceptions.
13899 (acos_test): Update for underflow exception expectations.
13900 (cexp_test): Likewise.
13901 (clog_test): Likewise.
13902 (clog10_test): Likewise.
13903 (csqrt_test): Likewise.
13904 (ctan_test): Likewise.
13905 (ctanh_test): Likewise.
13906 (exp_test): Likewise.
13907 (exp10_test): Likewise.
13908 (exp2_test): Likewise.
13909 (expm1_test): Likewise.
13910 (fma_test): Likewise.
13911 (j0_test): Likewise.
13912 (jn_test): Likewise.
13913 (nexttoward_test): Likewise.
13914 (pow_test): Likewise.
13915 (scalbn_test): Likewise.
13916 (scalbln_test): Likewise.
13917 (tan_test): Likewise.
13918 (y1_test): Likewise.
13919 * sysdeps/i386/fpu/libm-test-ulps: Update.
13920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13921
9e0e3d0b
DM
139222012-05-23 David S. Miller <davem@davemloft.net>
13923
13924 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13925 (__libc_sigaction): Remove unused local variables.
13926
ccd0a08f
L
139272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13928
13929 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13930
62bdf9a6
PE
139312012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13932
f8591f80
PE
13933 mktime: avoid signed integer overflow
13934 * time/mktime.c (__mktime_internal): Do not mishandle the case
13935 where diff == INT_MIN.
13936
94c7d826
PE
13937 mktime: simplify computation of average
13938 * time/mktime.c (ranged_convert): Use new time_t_avg function
13939 instead of rolling our own (probably-slower) code.
13940
ce73d683
PE
13941 mktime: do not assume signed right shift propagates sign bit
13942 * time/mktime.c (isdst_differ): New static function.
13943 (__mktime_internal): No need to normalize tm_isdst now.
13944 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13945 tm_isdst values.
13946
72a22e59
PE
13947 mktime: merge another wrapv change from gnulib
13948 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13949 from some compilers.
13950
68605433
PE
13951 mktime: remove incorrect attempt at unusual arithmetics
13952 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13953 The code didn't really work on such machines anyway.
13954 (TYPE_MINIMUM): Assume two's complement.
13955 (twos_complement_arithmetic): Verify that long_int and time_t
13956 are two's complement (or unsigned, in the latter case).
13957
03cf7fe3
PE
13958 mktime: check signed shifts on long_int and time_t, too
13959 * time/mktime.c (SHR): Check that shifts work as desired
13960 on the types long_int and time_t too, as SHR is used on
13961 such types.
13962
f04dfbc2
PE
13963 mktime: do not assume 'long' is wide enough
13964 * time/mktime.c (verify): Move decl up.
13965 (long_int): New type.
13966 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13967 to remove assumption in the code that 'long' is wide enough to
13968 store year values. This assumption is not true on x32 and on
13969 some non-glibc platforms.
13970
62bdf9a6
PE
13971 mktime: merge wrapv change from gnulib
13972 * time/mktime.c (WRAPV): New macro.
13973 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13974 (guess_time_tm, __mktime_internal): Do not assume that signed
13975 integer overflow wraps around; modern compilers generate code
13976 where this assumption is no longer valid.
13977
5e292e4f
L
139782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13979
13980 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13981 Replace "jmp L(pseudo_end)" with "ret".
13982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13983 Likewise.
13984
8caf8c87
AJ
139852012-05-23 Andreas Jaeger <aj@suse.de>
13986
13987 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13988 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13989
1a09dc56
AJ
139902012-05-23 Andreas Jaeger <aj@suse.de>
13991 Maximilian Attems <max@stro.at>
13992
13993 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13994 New macros.
13995
1c87aba0
L
139962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13999 code so that pseudo_end is just ret and the stack pointer is
14000 correct also for static library in error case.
14001
40e45bd5
JM
140022012-05-23 Joseph Myers <joseph@codesourcery.com>
14003
c2670533
JM
14004 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14005 move to syscalls.list.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14010
40e45bd5
JM
14011 * manual/install.texi (Running make install): Do not mention Linux
14012 kernel version for which pt_chown is not needed.
14013 (Linux): Do not mention problems with nscd with 2.0 kernels.
14014 * INSTALL: Regenerated.
14015
be08eda5
AJ
140162012-05-23 Andreas Jaeger <aj@suse.de>
14017
14018 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14019 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14020 macro.
14021 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14022 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14023 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14024 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14025 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14026 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14027 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14028 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14029 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14030 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14031 * sysdeps/unix/sysv/linux/bits/in.h
14032 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14033
a6a056bb
RM
140342012-05-22 Roland McGrath <roland@hack.frob.com>
14035
14036 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14037 (PREPARE_VERSION): Just use assert instead, it will be elided
14038 under [NDEBUG] anyway.
14039
c9009328
L
140402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14041
14042 * sysdeps/unix/sysv/linux/Makefile: Include
14043 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 14044 (sysdep_routines): Remove sysctl.
c9009328
L
14045 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14046 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14047 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14049 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14050
73338355
AJ
140512012-05-22 Andreas Jaeger <aj@suse.de>
14052
14053 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14054 that pseudo_end is just ret and the stack pointer is correct also
14055 for static library in error case.
14056
d44638b0
PP
140572012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14058
14059 [BZ #14122]
14060 * nss/nsswitch.c (defconfig_entries): New variable.
14061 (__nss_database_lookup): Don't leak defconfig entries.
14062 (nss_parse_service_list): Don't leak on error paths.
14063 (free_database_entries): New function.
14064 (free_defconfig): New function.
14065 (free_mem): Move common code to free_database_entries.
14066
31a39bd8
L
140672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14068
da0331a8
L
14069 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14070 Add arch_prctl.
14071 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14072
31a39bd8
L
14073 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14074 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14076 New macro.
14077 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14078 (INTERNAL_SYSCALL_TYPES): Likewise.
14079 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14080 (LOAD_REGS_TYPES_[1-6]): Likewise.
14081 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14082 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14083
45470df3
AZ
140842012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14085
14086 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14087 copysignl for GLIBC_2_0.
14088 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14089 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14091 logbl for GLIBC_2_0.
14092 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14093 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14094
98a61bcb
L
140952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14096
a4f6e481
L
14097 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14098 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14099
f63d5db6
L
14100 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14101 Use "neg %eax".
14102
98a61bcb
L
14103 * time/mktime.c: Update copyright years.
14104
95770f14
PE
141052012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14106
6226efbd
PE
14107 mktime: merge comment-quoting-style change from gnulib
14108 * time/mktime.c: Quote 'like this' in comments.
14109 The GNU coding standards suggest that we no longer quote `like this',
14110 as "`" and "'" are typically rendered asymmetrically nowadays.
14111 The typical gnulib style is to quote 'like this' when quoting
14112 code, and "like this" when quoting English.
14113
b99e4f78
PE
14114 * time/mktime.c (compile-command): Add "-I.".
14115
643e01e6
PE
14116 mktime: merge mktime-internal.h change from gnulib
14117 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14118
2554247d
PE
14119 mktime: merge time_r change from gnulib
14120 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14121
826dd0ab
PE
14122 mktime: merge DEBUG change from gnulib
14123 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14124 case system <time.h> has a #define.
14125
bd83aabe
PE
14126 mktime: merge <sys/types.h> change from gnulib
14127 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14128 since <time.t> is now guaranteed to define time_t.
14129
95770f14
PE
14130 mktime: merge HAVE_CONFIG_H change from gnulib
14131 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14132
5e1a27a9
L
141332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14134
0e44a77e
L
14135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14136 Use "neg %eax".
14137
5e1a27a9
L
14138 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14139 __rlim_t cast.
14140 (struct rusage): Use anonymous union to pad each field to
14141 __syscall_slong_t.
14142
46259bec
DM
141432012-05-21 David S. Miller <davem@davemloft.net>
14144
14145 * Makefules (o-iterator): Remove .s cases.
14146 (compile-command.s): Delete.
14147 (COMPILE.s): Delete.
14148 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14149
59f0c22e
JM
141502012-05-21 Joseph Myers <joseph@codesourcery.com>
14151
14152 * configure.in (libc_cv_predef_stack_protector): Only consider
14153 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14154 * configure: Regenerated.
14155
20c07380
L
141562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14157
bbb3154b
L
14158 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14159 New macro. Use R*LP on int and pointer.
14160 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14161 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14162 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14163 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14164
20c07380
L
14165 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14166 [__WORDSIZE_TIME64_COMPAT32] instead of
14167 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14168 (struct utmp): Likewise.
14169 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14170 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14171 Renamed to ...
14172 (__WORDSIZE_TIME64_COMPAT32): This.
14173 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14174 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14175 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14176 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14177 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14178 (__WORDSIZE_TIME64_COMPAT32): New macro.
14179
d8d1017e
AJ
141802012-05-21 Andreas Jaeger <aj@suse.de>
14181
14182 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14183 only if [SHARED]. Add prototype for __wcschr_ia32.
14184
6c7fb145
RM
141852012-05-21 Roland McGrath <roland@hack.frob.com>
14186
14187 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14188 of %rbp unmolested in the jmp_buf while mangling the low bits.
14189 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14190 unmolested high bits of %rbp while demangling the low bits.
14191 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14192
66274218
AJ
141932012-05-21 Andreas Jaeger <aj@suse.de>
14194
07c58f8f
AJ
14195 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14196 * sunrpc/svc_simple.c: Use it for registerrpc.
14197 * sunrpc/xcrypt.c: Use it for passwd2des.
14198
66274218
AJ
14199 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14200
61f65140
L
142012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14202
14203 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14204 Don't define if [__SYSCALL_WORDSIZE != 32].
14205 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14206 New macro.
14207
5fefb436
AJ
142082012-05-21 Bruno Haible <bruno@clisp.org>
14209 Andreas Jaeger <aj@suse.de>
14210
14211 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14212 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14213 inptr and inend for must_buffer_ch.
14214 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14215 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14216 * stdio-common/Makefile (tests): Remove bug15.
14217 (bug15-ENV): Remove macro.
14218 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14219 anymore.
14220
d8e272ab
AJ
142212012-05-19 Andreas Jaeger <aj@suse.de>
14222 Roland McGrath <roland@hack.frob.com>
14223
14224 * manual/contrib.texi: Completely rewritten. It contains now an
14225 alphabetical list of contributors and their contributions.
14226
4a56a162
RH
142272012-05-21 Richard Henderson <rth@twiddle.net>
14228
14229 * misc/getauxval.c (__getauxval): Use unsigned long int.
14230 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14231 (getauxval): Use unsigned long int.
14232
d024d23c
L
142332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14234
14235 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14236
cbc00a03
RM
142372012-05-21 Roland McGrath <roland@hack.frob.com>
14238
14239 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14240 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14241 __alignof__ (long double).
14242
478143fa
AZ
142432012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14244
14245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14246
c7683a6d
RH
142472012-05-20 Richard Henderson <rth@twiddle.net>
14248
14249 * misc/getauxval.c: New file.
14250 * misc/sys/auxv.h: New file.
14251 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14252 (routines): Add getauxval.
14253 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14254 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14255 * elf/dl-sysdep.c (_dl_auxv): Remove.
14256 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14257 * elf/dl-support.c (_dl_auxv): New variable.
14258 (_dl_aux_init): Initialize it.
14259 * manual/startup.texi (Auxiliary Vector): New node.
14260 * sysdeps/generic/bits/hwcap.h: New file.
14261 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14262 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14263 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14264 * sysdeps/sparc/sysdep.h: ... here. Include it.
14265 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14266 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
14267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14268 Update.
c7683a6d
RH
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14272 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14277
a6f1845d
AZ
142782012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14279
14280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14281
cbcbe830
DM
142822012-05-19 David S. Miller <davem@davemloft.net>
14283
14284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14285
e0b16cc2
JM
142862012-05-19 Joseph Myers <joseph@codesourcery.com>
14287
14288 [BZ #14123]
14289 * math/s_ccosh.c: Include <float.h>
14290 (__ccosh): Avoid internal overflow calculating sinh and cosh
14291 values before multiplying by sin and cos values.
14292 * math/s_ccoshf.c: Likewise.
14293 * math/s_ccoshl.c: Likewise.
14294 * math/s_csin.c: Likewise.
14295 * math/s_csinf.c: Likewise.
14296 * math/s_csinl.c: Likewise.
14297 * math/s_csinh.c: Likewise.
14298 * math/s_csinhf.c: Likewise.
14299 * math/s_csinhl.c: Likewise.
14300 * math/libm-test.inc (ccos_test): Add more tests.
14301 (ccosh_test): Likewise.
14302 (csin_test): Likewise.
14303 (csinh_test): Likewise.
14304 * sysdeps/i386/fpu/libm-test-ulps: Update.
14305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14306
6ad13e08
L
143072012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14308
f66f0ce8
L
14309 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14310 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14311
6ad13e08
L
14312 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14313
b1d072a7
JM
143142012-05-19 Joseph Myers <joseph@codesourcery.com>
14315
14316 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14317 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14318 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14319 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14320 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14321 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14322 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14323 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14324 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14325 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14326 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14327 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14328 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14329 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14330 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14331 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14332 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14333 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14334 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14335 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14336 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14337 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14338 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14339 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14340 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14341 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14342 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14343 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14344 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14345 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14346 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14347
9eae47cb
AJ
143482012-05-18 Andreas Jaeger <aj@suse.de>
14349
14350 * csu/.gitignore: Delete.
14351
bb07f69f
L
143522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14353
14354 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14355 (timex): Use __syscall_slong_t.
14356
e6bdb741
AJ
143572012-05-18 Andreas Jaeger <aj@suse.de>
14358 Carlos O'Donell <carlos_odonell@mentor.com>
14359
14360 * manual/install.texi (Configuring and compiling): Update
14361 description about files modified in the source directory.
d6c33fda 14362 * INSTALL: Regenerated.
e6bdb741 14363
1b74487e
L
143642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14365
14366 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14367 value. Use "or" to set return value to -1.
14368 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14369 negate return value.
14370
a88b64b9
TMQMF
143712012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14372
14373 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14374 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14375 failure if the compiler has Graphite support disabled.
14376 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14377 Likewise.
14378 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14379 CFLAGS-memmove.c): Likewise.
14380 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14381 Likewise.
14382
3707636e
L
143832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14384
610b8622
L
14385 * sysdeps/x86_64/x32/_itoa.h: New file.
14386
7cd195df
L
14387 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14388 getdents system call only if kernel and user dirents have the
14389 same d_ino and d_off.
14390
94b07d20
L
14391 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14392 LLONG_MAX != LONG_MAX.
14393 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14394 (_fitoa_word): Likewise.
14395
18298070
L
14396 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14397 years.
14398 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14399 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14400 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14401
553c7ea4
L
14402 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14403 include <bits/wordsize.h>. Check __x86_64__ instead of
14404 __WORDSIZE.
14405 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14406 if __x86_64__ is defined. Use anonymous union on fpstate.
14407
3707636e
L
14408 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14409 anonymous union.
14410
b53ef01a
AS
144112012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14412
37fb1dc0
AS
14413 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14414 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14415 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14416 Refer to _rtld_local_ro instead of _rtld_global_ro.
14417 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14418 Likewise.
14419 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14420 Likewise.
14421 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14422 Likewise.
14423 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14424 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14425 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14426
b53ef01a
AS
14427 * sysdeps/powerpc/powerpc32/dl-machine.c
14428 (__elf_machine_runtime_setup) [PROF]: Don't reference
14429 _dl_prof_resolve.
14430
7a185db2
AJ
144312012-05-18 Andreas Jaeger <aj@suse.de>
14432
14433 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14434 function only available for GCCs before 3.4 since GCC 3.4
14435 introduced a builtin.
14436 (lrint): Likewise.
14437 (llrintf): Likewise.
14438 (llrint): Likewise.
14439 (fmaxf): Likewise.
14440 (fmax): Likewise.
14441 (fminf): Likewise.
14442 (fmin): Likewise.
14443 (rint): Likewise.
14444 (rintf): Likewise.
14445 (nearbyint): Likewise.
14446 (nearbyintf): Likewise.
14447 (ceil): Likewise.
14448 (ceilf): Likewise.
14449 (floor): Likewise.
14450 (floorf): Likewise.
14451
3e5aef87
L
144522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14453
428bd707
L
14454 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14455 on both fields and cast pointer to __syscall_ulong_t.
14456
3e5aef87
L
14457 * bits/types.h (__fsword_t): New type.
14458 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14459 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14461 (__FSWORD_T_TYPE): Likewise.
14462 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14463 (__FSWORD_T_TYPE): Likewise.
14464 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14465 (__FSWORD_T_TYPE): Likewise.
14466 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14467 (__FSWORD_T_TYPE): Likewise.
14468 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14469 __SWORD_TYPE with __fsword_t.
14470 (statfs64): Likewise.
14471
1ba7c3dc
DM
144722012-05-17 David S. Miller <davem@davemloft.net>
14473
14474 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14475
59910343
AJ
144762012-05-17 Andreas Jaeger <aj@suse.de>
14477
14478 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14479 warning.
14480
2e4c1e9e
L
144812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14482
14483 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14484
de7f5ce7
AJ
144852012-05-17 Andreas Jaeger <aj@suse.de>
14486
14487 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14488 when it is used.
14489
286abc3d
CM
144902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14491
14492 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14493
477cc68e
L
144942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14495
14496 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14497 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14498
1a0994f5
CD
144992012-05-17 Andreas Jaeger <aj@suse.de>
14500 Carlos O'Donell <carlos_odonell@mentor.com>
14501
14502 [BZ #14059]
14503 * sysdeps/x86_64/multiarch/init-arch.h
14504 (bit_YMM_Usable): Rename to...
14505 (bit_AVX_Usable): ... this.
14506 (bit_FMA4_Usable): New macro.
14507 (bit_XMM_state): New macro.
14508 (bit_YMM_state): New macro.
14509 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14510 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14511 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14512 (CPUID_OSXSAVE): New macro.
14513 (CPUID_AVX): New macro.
14514 (CPUID_FMA4): New macro.
14515 (index_YMM_Usable): Rename to...
14516 (index_AVX_Usable): ... this.
14517 (HAS_AVX): Use HAS_ARCH_FEATURE.
14518 (HAS_FMA4): Likewise.
14519 (HAS_YMM_USABLE): Remove.
14520 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14521 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14522 are present.
14523 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14524 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14525 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14526 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14527 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14528
0af797de
CM
145292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14530
14531 * math/libm-test.c: Support platforms without multiple rounding modes.
14532 * math/bug-nextafter.c: Support platforms without FP exceptions.
14533 * math/bug-nexttoward.c: Likewise.
14534 * math/test-fenv.c: Likewise.
14535 * math/test-misc.c: Likewise.
14536 * stdlib/bug-getcontext.c: Likewise.
14537
e39745ff
AJ
145382012-05-17 Andreas Jaeger <aj@suse.de>
14539
14540 * manual/examples/search.c (critter_cmp): Change signature to
14541 avoid warnings.
14542 * manual/string.texi (Collation Functions): Likewise.
14543
48970aba
L
145442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14545
14546 * bits/types.h: Fold copyright years.
14547 * bits/typesizes.h: Likewise.
14548 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14550 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14551 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14552 * time/time.h: Likewise.
14553
bedee953
PP
145542012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14555
14556 [BZ #208]
14557 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14558 in instead of returning them. Return void.
14559 (__libc_mallinfo): Accumulate over all arenas.
14560 (__malloc_stats): Adjust for change in int_mallinfo interface.
14561
61653dfb
RM
145622012-05-16 Roland McGrath <roland@hack.frob.com>
14563
30b99d79
RM
14564 [BZ #10375]
14565 * configure.in (NM): Add AC_CHECK_TOOL for it.
14566 (libc_extra_cflags): New substituted variable.
14567 Check for -fstack-protector being used implicitly.
14568 * configure: Regenerated.
14569 * config.make.in (config-extra-cflags): New variable,
14570 gets @libc_extra_cflags@.
14571 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14572
61653dfb
RM
14573 [BZ #10375]
14574 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14575 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14576 * configure: Regenerated.
14577 * config.make.in (CPPUNDEFS): New substituted variable.
14578 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14579 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14580 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14581
661768bb
L
145822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14583
14584 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14585 (mq_attr): Use __syscall_slong_t.
14586
d4261567
L
145872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14588
14589 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14590 Check __x86_64__ instead of __WORDSIZE.
14591 (_STAT_VER_LINUX): Likewise.
14592 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14593 __syscall_ulong_t and __syscall_slong_t.
14594 (stat64): Likewise.
14595
cf3ff365
L
145962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14597
14598 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14599
76cf3e4d
L
146002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14601
14602 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14603
a637753a
L
146042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14605
14606 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14607 __syscall_ulong_t.
14608
d5e05119
L
14609 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14610 include <bits/wordsize.h>. Check __x86_64__ instead of
14611 __WORDSIZE.
14612 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14613 defined.
14614 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14615
f62ee380
L
14616 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14617 include <bits/wordsize.h>. Check __x86_64__ instead of
14618 __WORDSIZE.
14619 (user_regs_struct): Use "__extension__ unsigned long long"
14620 instead of "unsigned long" if __x86_64__ is defined.
14621 (user): Likewise. Pad after pointer field if __ILP32__ is
14622 defined.
14623
4e124ced
JM
146242012-05-16 Joseph Myers <joseph@codesourcery.com>
14625
6a3951a0
JM
14626 * configure.in (makeinfo): Require version 4.5 or later. Allow
14627 versions 5 to 9.
14628 * configure: Regenerated.
14629 * manual/install.texi (texinfo): Increase version requirement to
14630 4.5 or later.
14631 * INSTALL: Regenerated.
14632
4e124ced
JM
14633 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14634
953ca31a
L
146352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14636
14637 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14638
617aca05
L
14639 * sysdeps/x86_64/x32/ffs.c: New file.
14640
5762f7ae
L
14641 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14642 __syscall_ulong_t.
14643 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14644 defined. Use __syscall_ulong_t.
14645 (shminfo): Use __syscall_ulong_t.
14646 (shm_info): Likewise.
14647
a26b6856
L
14648 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14649 __syscall_ulong_t.
14650
cb2b9ef7
L
14651 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14652 <bits/wordsize.h>.
14653 (msgqnum_t): Use __syscall_ulong_t.
14654 (msglen_t): Likewise.
14655 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14656 __syscall_ulong_t.
14657
34683bb0
L
14658 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14659 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14660
84a68786
L
14661 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14662
48baa5f1
L
14663 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14664 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14665
180be88b
L
14666 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14667 __syscall_slong_t.
14668
5e90c8ad
L
14669 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14670 include <bits/wordsize.h>. Check __x86_64__ instead of
14671 __WORDSIZE.
14672
23dfb58b
L
14673 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14674 "unsigned long long int" if __x86_64__ is defined.
14675 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14676
ce5d54b0
L
14677 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14678 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14679 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14680
13dc9eac
L
14681 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14682 <stdint.h>.
14683 (GET_PC): Cast to uintptr_t first.
14684 (GET_FRAME): Likewise.
14685 (GET_STACK): Likewise.
14686
a7895d15
L
14687 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14688 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14689 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14690 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14691 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14692 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14693 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14694 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14695 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14696 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14697 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14698 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14699 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14700 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14701 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14702 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14703 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14704 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14705 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14706 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14707 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14708 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14709 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14710 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14711 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14712 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14713 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14714 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14715 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14716
656416c9
AS
147172012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14718
5bd66283
AS
14719 * Makerules (+depfiles): Also collect depfiles from .oS in
14720 $(extra-objs).
14721 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14722 .oS, $(libnldbl-routines)).
14723
656416c9
AS
14724 * Makerules (native-compile-mkdep-flags): Define.
14725 * sunrpc/Makefile (extra-objs): Add $(addprefix
14726 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14727 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14728 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14729 calling $(make-target-directory).
14730
a46f2169
L
147312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14732
14733 * bits/types.h (__snseconds_t): Removed.
14734 * time/time.h (struct timespec): Replace __snseconds_t with
14735 __syscall_slong_t.
14736 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14737 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14738 Likewise.
14739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14740 (__SNSECONDS_T_TYPE): Likewise.
14741 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14742 (__SNSECONDS_T_TYPE): Likewise.
14743 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14744 (__SNSECONDS_T_TYPE): Likewise.
14745
6af6528b
L
147462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14747
14748 * sysdeps/mach/hurd/bits/typesizes.h
14749 (__SYSCALL_SLONG_TYPE): New macro.
14750 (__SYSCALL_ULONG_TYPE): Likewise.
14751
de986b56
L
147522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14753
14754 * bits/types.h (__syscall_slong_t): New type.
14755 (__syscall_ulong_t): Likewise.
14756
14757 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14758 (__SYSCALL_ULONG_TYPE): Likewise.
14759 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14760 (__SYSCALL_SLONG_TYPE): Likewise.
14761 (__SYSCALL_ULONG_TYPE): Likewise.
14762 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14763 (__SYSCALL_SLONG_TYPE): Likewise.
14764 (__SYSCALL_ULONG_TYPE): Likewise.
14765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14766 (__SYSCALL_SLONG_TYPE): Likewise.
14767 (__SYSCALL_ULONG_TYPE): Likewise.
14768
85736dc7
L
147692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14770
14771 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14772 Add sigaltstack-offsets.sym.
14773 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14774 <sigaltstack-offsets.h>.
14775 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14776 longjmp_msg pointer.
14777 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14778 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14779 signal stack.
14780 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14781
cc03b296
JM
147822012-05-15 Joseph Myers <joseph@codesourcery.com>
14783
a9538892
JM
14784 * elf/stackguard-macros.h: Remove file.
14785 * sysdeps/generic/stackguard-macros.h: New file.
14786 * sysdeps/i386/stackguard-macros.h: Likewise.
14787 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14788 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14789 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14790 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14791 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14792 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14793 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14794 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14795 <elf/stackguard-macros.h>.
14796
cc03b296
JM
14797 [BZ #14109]
14798 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14799 __aligned__ in attribute.
14800 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14801 (gregset_t): Likewise.
14802
93171016
L
148032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14804
14805 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14806 * sysdeps/x86_64/64/Implies-after: Here. New file.
14807 * sysdeps/x86_64/x32/Implies-after: New file.
14808
d86813a0
L
148092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14810
14811 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14812 and access return value for _dl_profile_fixup. Use R10_LP to
14813 load frame size.
14814
2953ec75
L
148152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14816
14817 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14818
3b550e9e
L
148192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14820
14821 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14822 * sysdeps/x86_64/x32/sysdep.h: New file.
14823
eda41706
L
148242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14825
14826 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14827 * sysdeps/x86_64/setjmp.S: Likewise.
14828
9ea01d93
AZ
148292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14830
14831 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14832 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14833 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14834 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14835 remove unused global constant.
14836
02a91938
CM
148372012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14838
14839 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14840 include of <not-cancel.h>.
14841
6540185f
RM
148422012-05-15 Roland McGrath <roland@hack.frob.com>
14843
14844 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14845
509072a0
AJ
148462012-05-15 Jeff Law <law@redhat.com>
14847 Andreas Jaeger <aj@suse.de>
14848
14849 [BZ #13594]
14850 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14851 out from...
14852 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14853 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14854 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14855 code changing __hst_map_handle.map.
14856
ba75122d
RM
148572012-05-15 Roland McGrath <roland@hack.frob.com>
14858
14859 * configure.in (sysnames): Look for Implies-before and Implies-after
14860 files.
14861 * configure: Regenerated.
14862
890d8bd8
L
148632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14864
14865 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14866 8-byte data alignment with LP_SIZE alignment.
14867
f6ee6623
L
148682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14869
14870 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14871 into R10_LP.
14872
ea2626f6
L
148732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14874
14875 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14876
085f715e
L
148772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14878
14879 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14880 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14881 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14882 Likewise.
14883 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14884
be8498fc
L
148852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14886
14887 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14888 (stackinfo_sub_sp): Likewise.
14889
70bc83b9
L
148902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14891
14892 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14893 RAX_LP.
14894
9bc0b730
L
148952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14896
14897 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14898 into R*_LP.
14899
6d2850e7
L
149002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14901
14902 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14903 sizes into R*_LP.
14904
3cb84561
L
149052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14906
14907 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14908
54e2ed81
L
149092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14910
14911 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14912 into R11_LP and load __x86_64_shared_cache_size_half into
14913 R8_LP.
14914
8a17f349
L
149152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14916
14917 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14918 R8_LP.
14919
777b1eea
AZ
149202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14921
14922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14923 logb for POWER7.
14924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14925 logbf for POWER7.
14926 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14927 logbl for POWER7.
14928 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14929 powerpc32/power7/fpu/s_logb.c via #include.
14930 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14931 powerpc32/power7/fpu/s_logbf.c via #include.
14932 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14933 powerpc32/power7/fpu/s_logbl.c via #include.
14934
d20d4ac2
JM
149352012-05-15 Joseph Myers <joseph@codesourcery.com>
14936
14937 * README.libm: Remove file.
14938
6cdef1ab
L
149392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14940
14941 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14942 count for x32. Use R*_LP and omit operand-size suffix.
14943
0b254d8f
L
149442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14945
14946 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14947 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14948 * sysdeps/x86_64/x32/shlib-versions: New file.
14949
ceb809dc
RM
149502012-05-14 Roland McGrath <roland@hack.frob.com>
14951
14952 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14953 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14954 Use _dl_fatal_printf instead.
14955
37f1abd4
JM
149562012-05-14 Joseph Myers <joseph@codesourcery.com>
14957
14958 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14959 set if not set by the user. Do not allow for being unset.
14960 * sysdeps/unix/sysv/linux/configure: Regenerated.
14961
11de3a33
L
149622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14963
14964 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14965 the `q' suffix from lea and replace .quad with ASM_ADDR.
14966
e02f153a
L
149672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14968
14969 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14970 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14971 instead of $17.
14972 (PTR_DEMANGLE): Likewise.
14973
520ae0fd
L
149742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14975
14976 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14977 (LP_OP): Likewise.
14978 (ASM_ADDR): Likewise.
14979 (RAX_LP): Likewise.
14980 (RBP_LP): Likewise.
14981 (RBX_LP): Likewise.
14982 (RCX_LP): Likewise.
14983 (RDI_LP): Likewise.
14984 (RSI_LP): Likewise.
14985 (RSP_LP): Likewise.
14986 (R8_LP): Likewise.
14987 (R9_LP): Likewise.
14988 (R10_LP): Likewise.
14989 (R10_LP): Likewise.
14990 (R11_LP): Likewise.
14991 (R12_LP): Likewise.
14992 (R13_LP): Likewise.
14993 (R14_LP): Likewise.
14994 (R15_LP): Likewise.
14995
b985be81
L
149962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14997
14998 * sysdeps/x86_64/x32/dl-machine.h: New file.
14999
6a4888ff
AJ
150002012-05-14 Andreas Jaeger <aj@suse.de>
15001
15002 * manual/Makefile (subdir): Remove export of subdir.
15003 (all): Remove target.
15004 (.PHONY): Remove all from list.
15005 (mkinstalldirs): Remove.
15006 (.PHONY): Remove installdirs from list.
15007 ($(inst_infodir)/libc.info): Use make-target-directory.
15008 (installdirs): Remove.
15009 (subdir_%): Remove.
15010 (glibc-targets): Remove.
15011 (lib): Remove.
15012 (stubs): Remove.
15013 ($(objpfx)stubs ../po/manual.pot): Remove.
15014 ($(objpfx)stamp%): Remove.
15015 (make-target-directory): Remove.
15016 (subdir_install): Remove.
15017 (routines): Remove.
15018 (aux): Remove.
15019 (sources): Remove.
15020 (objects): Remove.
15021 (headers): Remove.
15022
15023 [BZ #13750]
15024 * manual/.gitignore: Remove, it's not needed anymore.
15025 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15026 all files in it.
15027 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15028 directory.
15029 (texis): Renamed to $(objpfx)texis.
15030 (texis-path): New, contains path to generated files.
15031 (chapters.%): Use texis-path for complete path, add extra argument
15032 libc-texinfo.sh.
15033 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15034 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15035 (summary,texi, stamp-summary): Use complete path of
15036 files. Generate files in build dir.
15037 (dir-add.texi): Build in build dir.
15038 (libm-err.texi,stamp-libm-err): Likewise.
15039 (version.texi, stamp-version): Likewise.
15040 (.%c.texi): Likewise.
15041 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15042 (mostlyclean): Remove target.
15043 (realclean): Remove target.
15044 (generated): Add new variable with contents from mostlyclean and
15045 realclean, remove entries duplicated in common-mostlyclean, add
15046 stamp-libm-err and stamp-version.
15047 (generated-dirs): Add libc directory.
15048 ($(inst_infodir)/libc.info): Install files from build dir.
15049
15050 * manual/install.texi (Configuring and compiling): Adjust since
15051 the info files are not part of the tar ball anymore.
15052
7ac77294
AJ
150532012-05-14 Andreas Jaeger <aj@suse.de>
15054
15055 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15056 variable.
15057
ffb7875d
JM
150582012-05-14 Joseph Myers <joseph@codesourcery.com>
15059
15060 [BZ #13717]
15061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15062 to 2.2.0 where earlier.
15063 * sysdeps/unix/sysv/linux/configure: Regenerated.
15064 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15065 Remove conditional code.
15066 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15067 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15068 Remove conditional code.
15069 [!__NR_lchown]: Likewise.
15070 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15071 [__NR_lchown]: Likewise.
15072 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15073 comment referencing __ASSUME_LCHOWN_SYSCALL.
15074 * sysdeps/unix/sysv/linux/i386/sigaction.c
15075 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15076 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15077 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15078 Remove conditional code.
15079 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15080 (__protocol_available): Remove #if 0 code.
15081 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15082 conditional code.
15083 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15084 * sysdeps/unix/sysv/linux/kernel-features.h
15085 (__ASSUME_GETCWD_SYSCALL): Don't define.
15086 (__ASSUME_REALTIME_SIGNALS): Likewise.
15087 (__ASSUME_PREAD_SYSCALL): Likewise.
15088 (__ASSUME_PWRITE_SYSCALL): Likewise.
15089 (__ASSUME_POLL_SYSCALL): Likewise.
15090 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15091 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15092 non-SPARC.
15093 (__ASSUME_SIOCGIFNAME): Don't define.
15094 (__ASSUME_MSG_NOSIGNAL): Likewise.
15095 (__ASSUME_SENDFILE): Define unconditionally.
15096 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15097 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15098 conditional code.
15099 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15100 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15101 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15102 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15103 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15104 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15105 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15107 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15110 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15113 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15119 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15120 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15122 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15125 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15126 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15128 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15130 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15131 Remove conditional code.
15132 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15133 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15134 Remove conditional code.
15135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15136 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15137 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15138 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15139 Remove conditional code.
15140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15141 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15142 Remove conditional code.
15143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15144 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15145 Remove conditional code.
15146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15147 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15148 Remove conditional code.
15149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15150 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15151 Remove conditional code.
15152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15153 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15154 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15155 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15156 * sysdeps/unix/sysv/linux/sigaction.c
15157 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15158 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15159 * sysdeps/unix/sysv/linux/sigpending.c
15160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15162 * sysdeps/unix/sysv/linux/sigprocmask.c
15163 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15164 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15165 * sysdeps/unix/sysv/linux/sigsuspend.c
15166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15168 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15169 (__libc_missing_rt_sigs): Remove.
15170 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15171 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15172 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15173 Remove conditional code.
15174 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15175 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15176 return 1.
15177 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15178 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15179 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15180 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15181
1bfb7291
AJ
151822012-05-14 Andreas Jaeger <aj@suse.de>
15183
caae5a81
AJ
15184 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15185 it's not used in glibc.
15186 (__coshm1): Likewise.
15187 (__acosh1p): Likewise.
15188 (__sgn): Likewise.
15189
1bfb7291
AJ
15190 * manual/string.texi (Copying and Concatenation): Add missing
15191 variable in concat example.
15192 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15193
c044d724
L
151942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15195
144c5467 15196 [BZ #14103]
c044d724
L
15197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15198 __builtin_clzl with __builtin_clzll.
15199
2523c62b
L
152002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15201
15202 [BZ #14104]
15203 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15204 libc_freeres_ptr.
15205
d7bb4c42
LD
152062012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15207
15208 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15209 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15210 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15211 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15212
9dc4e1fb
MF
152132012-05-14 Mike Frysinger <vapier@gentoo.org>
15214
15215 * NEWS: Update ia64 info.
15216
c7df0112
AS
152172012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15218
15219 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15220 used as bcopy.
15221
dc70356c
TS
152222012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15223
15224 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15225 * sysdeps/unix/syscalls.list (dup3): Likewise.
15226 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15227 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15228
9fb1a21f
L
152292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15230
15231 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15232 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15233
4822a2a5
L
152342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15235
15236 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15237 thread pointer.
15238 (TLS_IE): Use mov/add instead of movq/addq to load thread
15239 pointer.
15240 (TLS_GD_PREFIX): New.
15241 (TLS_GD): Use it.
15242
842b81d6
DM
152432012-05-11 David S. Miller <davem@davemloft.net>
15244
15245 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15246 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15247 (_FPU_SETCW): Likewise.
15248
1cf463cd
L
152492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15250
15251 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15252 is 32-byte aligned.
15253
60cc4a18
AS
152542012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15255
15256 [BZ #11837]
15257 * iconvdata/gb18030.c: Update tables.
15258 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15259 characters specially.
15260 (BODY for TO_LOOP): Add encoding of missing ranges.
15261
febb44a4
TS
152622012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15263
15264 [BZ #13673]
15265 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15266 * sysdeps/mach/hurd/dup3.c: Likewise.
15267 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15268 * sysdeps/powerpc/memmove.c:: Likewise.
15269
0a10fb9e
L
152702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15271
15272 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15273 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15274
df8a552f
L
152752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15276
15277 * elf/elf.h (R_X86_64_RELATIVE64): New.
15278 (R_X86_64_NUM): Updated.
15279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15280 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15281 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15282 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15283 tst-quad1pie tst-quad2pie
15284 (modules-names): Add tst-quadmod1 tst-quadmod2.
15285 ($(objpfx)tst-quad1): New dependency.
15286 ($(objpfx)tst-quad2): Likewise.
15287 ($(objpfx)tst-quad1pie): Likewise.
15288 ($(objpfx)tst-quad2pie): Likewise.
15289 * sysdeps/x86_64/tst-quad1.c: New file.
15290 * sysdeps/x86_64/tst-quad1pie.c: New file.
15291 * sysdeps/x86_64/tst-quad2.c: Likewise.
15292 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15293 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15294 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15295 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15296 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15297
f34d6f84
ST
152982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15299
f42d41d1
ST
15300 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15301 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15302 * streams/stropts.h (t_scalar_t): Define type.
15303
3c3571fc
ST
15304 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15305 (_PATH_PRESERVE): Set to "/var/lib".
15306 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15307
61f06bd3
ST
15308 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15309 instead of int.
15310
918d4d71
ST
15311 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15312 if __dir_mkfile succeeded.
15313
f34d6f84
ST
15314 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15315 checking for _hurd_dtablesize. Unlock it right after having
15316 finished _hurd_dtable allocation.
15317
10589b4a
TS
153182012-05-10 Thomas Schwinge <thomas@schwinge.name>
15319
674cdbc7
TS
15320 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15321 * sysdeps/mach/hurd/configure: Regenerated.
15322 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15323 special-casing to...
15324 * sysdeps/gnu/configure.in: ... this new file.
15325 * sysdeps/unix/sysv/linux/configure: Regenerated.
15326 * sysdeps/gnu/configure: New generated file.
15327
8e41b99f
TS
15328 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15329 for Linux: use nsec instead of usec, as well as:
15330 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15331 members of type struct timespec.
15332 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15333 New macros.
15334 (struct stat64): Likewise.
15335 (_STATBUF_ST_NSEC): New macro.
15336 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15337
10589b4a
TS
15338 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15339 __strtoul_internal rather than strtoul.
15340
63643c85
PT
153412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15342
15343 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15344 and reject them.
15345
3faebe6a
ST
153462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15347
15348 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15349 which preserves existing values.
15350 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15351
c6474b07
PT
153522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15353
15354 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15355 TIMEOUT values. Return EINVAL for NFDS values either negative or
15356 greater than FD_SETSIZE.
15357
1043890b
ST
153582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15359
15360 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15361 allocated, call __vm_protect to finish enabling the existing space, and
15362 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15363 allocate the remainder.
15364
37ed8b9b
PT
153652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15366
15367 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15368 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15369
db653660
ST
153702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15371
37ed8b9b
PT
15372 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15373 sysdeps/mach/hurd/readlink.c.
b29d4053 15374
db653660
ST
15375 * posix/tst-sysconf.c (posix_options): Only use
15376 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15377 _POSIX_SYNCHRONIZED_IO when they are defined
15378 * sysdeps/mach/hurd/bits/posix_opt.h:
15379 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15380 (_XOPEN_REALTIME): Undefine macro.
15381 (_XOPEN_REALTIME_THREADS): Undefine macro.
15382 (_XOPEN_SHM): Undefine macro.
15383 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15384 macro to -1.
15385 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15386 macro to -1.
15387 (_POSIX_ASYNC_IO): Undefine macro.
15388 (_POSIX_PRIORITIZED_IO): Undefine macro.
15389 (_POSIX_SPIN_LOCKS): Define macro to -1.
15390
ee16e894
ST
15391 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15392 SA_NODEFER, SA_RESETHAND.
15393 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15394 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15395 F_DUPFD_CLOEXEC.
15396
6103ae3b
TS
153972012-05-10 Thomas Schwinge <thomas@schwinge.name>
15398
15399 * elf/Makefile (pldd-modules): Define unconditionally.
15400
80b4e5f3
TS
154012012-05-10 Thomas Schwinge <thomas@schwinge.name>
15402
15403 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15404
edadcbd6
ST
154052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15406
15407 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15408 Return ENOENT when name is empty.
15409 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15410
80694780
TS
154112012-05-10 Thomas Schwinge <thomas@schwinge.name>
15412
1792c087
TS
15413 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15414
80694780
TS
15415 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15416
6b645f0d
ST
154172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15418
80694780
TS
15419 Fix mlock in all cases except non-readable pages.
15420 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15421 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15422
6b645f0d
ST
15423 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15424 (__mkdir): When path is `/', just fail with EEXIST.
15425 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15426
e468f8a3
TS
154272012-05-10 Thomas Schwinge <thomas@schwinge.name>
15428
15429 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15430 <sys/uio.h> (for writev).
15431 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15432 and <sys/param.h> (for MIN).
15433
a4186cff
PT
154342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15435
15436 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15437 REQUESTED_TIME. Properly set the remaining time and return EINTR
15438 if interrupted.
15439
510bbf14
TS
154402012-05-10 Thomas Schwinge <thomas@schwinge.name>
15441
15442 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15443 Depend on against $(link-rpcuserlibs).
15444
5d5722e8
ST
154452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15446
a4186cff
PT
15447 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15448 (__libc_stack_end): Do not use attribute_relro.
15449 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15450 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15451 to libthread-provided value.
a4186cff
PT
15452 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15453 attribute_relro.
5d5722e8 15454
37233df9
TS
154552012-05-10 Thomas Schwinge <thomas@schwinge.name>
15456
be971a2b
TS
15457 [BZ #3748]
15458 * bits/libc-lock.h (__libc_once_get): New macro.
15459 * sysdeps/mach/bits/libc-lock.h: Likewise.
15460 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15462 instead of using implementation details.
15463
37233df9
TS
15464 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15465 * libio/freopen.c: Likewise.
15466 * libio/freopen64.c: Likewise.
15467 * misc/syslog.c: Likewise.
15468 * nscd/connections.c: Likewise.
15469 * nscd/netgroupcache.c: Likewise.
15470 * sysdeps/posix/getcwd.c: Likewise.
15471
38de94a5
RM
154722012-05-10 Roland McGrath <roland@hack.frob.com>
15473
15474 * math/w_ilogbf.c: Add #include <limits.h>.
15475
67530489
ST
154762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15477
a4186cff 15478 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15479 path instead of returning without unlocking.
15480
67530489
ST
15481 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15482 immediate-write ioctls.
15483 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15484
5aa3a74a
TS
154852012-05-10 Thomas Schwinge <thomas@schwinge.name>
15486
18bad2ae
TS
15487 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15488 __builtin_frame_address instead of making assumptions about the
15489 location of the return address relative to DATA. Force early load of
15490 the return address.
15491 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15492 __builtin_frame_address.
15493
5aa3a74a
TS
15494 dup3 for GNU Hurd.
15495 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15496 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15497 implement dup3 and do some further code clean-ups.
15498 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15499 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15500
ecd0de9a
ST
155012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15502
cd9fa985
ST
15503 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15504
a4186cff
PT
15505 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15506 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15507 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15508 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15509 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15510 d->port.lock.
802ca5a5 15511
a4186cff
PT
15512 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15513 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15514 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15515
bcf55240
TS
155162012-05-10 Thomas Schwinge <thomas@schwinge.name>
15517
6960eb42
TS
15518 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15519 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15520 definitions.
15521
eb43375f
TS
15522 accept4 for GNU Hurd.
15523 * include/sys/socket.h (__libc_accept4): New prototype.
15524 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15525 to implement __libc_accept4.
15526 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15527 __libc_accept4.
15528 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15529
bcf55240
TS
15530 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15531 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15532 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15533 signal-defines.sym.
15534
6178c55b
ST
155352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15536
a4186cff 15537 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15538
6f080c2f
TS
155392012-05-10 Thomas Schwinge <thomas@schwinge.name>
15540
15541 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15542 assertion on O_CLOEXEC flag.
15543 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15544 * hurd/intern-fd.c: Likewise.
15545 * hurd/port2fd.c: Likewise.
15546
bcfe3a54
ST
155472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15548
15549 [BZ #3906]
15550 * bits/in.h (IPV6_PKTINFO): Define new macro.
15551 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15552
89c9aa49
AZ
155532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15554
15555 [BZ #13954]
15556 [BZ #13955]
15557 [BZ #13956]
15558 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15559 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15560 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15561 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15563 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15564 * math/libm-test.inc (logb_test) : Additional logb tests.
15565
021db4be
AJ
155662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15567 Andreas Jaeger <aj@suse.de>
15568
15569 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15570 * configure: Regenerated.
15571 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15572 * config.make.in (link-obsolete-rpc): New substituted variable.
15573 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15574 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15575 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15576 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15577 so that libc.a contains the symbols.
15578 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15579 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15580 * sunrpc/auth_none.c: Likewise.
15581 * sunrpc/auth_unix.c: Likewise.
15582 * sunrpc/authdes_prot.c: Likewise.
15583 * sunrpc/authuxprot.c: Likewise.
15584 * sunrpc/clnt_gen.c: Likewise.
15585 * sunrpc/clnt_perr.c: Likewise.
15586 * sunrpc/clnt_raw.c: Likewise.
15587 * sunrpc/clnt_simp.c: Likewise.
15588 * sunrpc/clnt_tcp.c: Likewise.
15589 * sunrpc/clnt_udp.c: Likewise.
15590 * sunrpc/clnt_unix.c: Likewise.
15591 * sunrpc/des_crypt.c: Likewise.
15592 * sunrpc/des_soft.c: Likewise.
15593 * sunrpc/get_myaddr.c: Likewise.
15594 * sunrpc/key_call.c: Likewise.
15595 * sunrpc/key_prot.c: Likewise.
15596 * sunrpc/netname.c: Likewise.
15597 * sunrpc/pm_getmaps.c: Likewise.
15598 * sunrpc/pm_getport.c: Likewise.
15599 * sunrpc/pmap_clnt.c: Likewise.
15600 * sunrpc/pmap_prot.c: Likewise.
15601 * sunrpc/pmap_prot2.c: Likewise.
15602 * sunrpc/pmap_rmt.c: Likewise.
15603 * sunrpc/publickey.c: Likewise.
15604 * sunrpc/rpc_cmsg.c: Likewise.
15605 * sunrpc/rpc_common.c: Likewise.
15606 * sunrpc/rpc_dtable.c: Likewise.
15607 * sunrpc/rpc_prot.c: Likewise.
15608 * sunrpc/rpc_thread.c: Likewise.
15609 * sunrpc/rtime.c: Likewise.
15610 * sunrpc/svc.c: Likewise.
15611 * sunrpc/svc_auth.c: Likewise.
15612 * sunrpc/svc_raw.c: Likewise.
15613 * sunrpc/svc_run.c: Likewise.
15614 * sunrpc/svc_tcp.c: Likewise.
15615 * sunrpc/svc_udp.c: Likewise.
15616 * sunrpc/svc_unix.c: Likewise.
15617 * sunrpc/svcauth_des.c: Likewise.
15618 * sunrpc/xcrypt.c: Likewise.
15619 * sunrpc/xdr.c: Likewise.
15620 * sunrpc/xdr_array.c: Likewise.
15621 * sunrpc/xdr_float.c: Likewise.
15622 * sunrpc/xdr_intXX_t.c: Likewise.
15623 * sunrpc/xdr_mem.c: Likewise.
15624 * sunrpc/xdr_rec.c: Likewise.
15625 * sunrpc/xdr_ref.c: Likewise.
15626 * sunrpc/xdr_sizeof.c: Likewise.
15627 * sunrpc/xdr_stdio.c: Likewise.
15628
b5c086a2
RM
156292012-05-10 Roland McGrath <roland@hack.frob.com>
15630
15631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15632 change. Update copyright years.
15633
6d74dd09
JM
156342012-05-10 Joseph Myers <joseph@codesourcery.com>
15635
15636 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15637
28e72501
MK
156382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15639 Joseph Myers <joseph@codesourcery.com>
15640 Paul Pluzhnikov <ppluzhnikov@google.com>
15641
15642 [BZ #14012]
15643 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15644 requiring rpcgen.
15645 [cross-compiling] (extra-libs): Likewise.
15646 [cross-compiling] (extra-libs-others): Likewise.
15647 [cross-compiling] (librpcsvc-routines): Likewise.
15648 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15649 [cross-compiling] (omit-deps): Likewise.
15650 (sunrpc-CPPFLAGS): New variable.
15651 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15652 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15653 (cross-rpcgen-objs): New variable.
15654 (extra-objs): Append $(cross-rpcgen-objs).
15655 ($(cross-rpcgen-objs)): New rule.
15656 ($(objpfx)cross-rpcgen): Likewise.
15657 (rpcgen-cmd): Define to use $(built-program-file). Expand
15658 comment.
15659 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15660 ($(objpfx)x%.stmp): Likewise.
15661 * sunrpc/proto.h [IS_IN_build] (_): Define.
15662 [IS_IN_build] (_libc_intl_domainname): Likewise.
15663
c8c59454
L
156642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15665
15666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15667 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15668 and R_X86_64_TPOFF64.
15669
6f27cd16
JM
156702012-05-10 Joseph Myers <joseph@codesourcery.com>
15671
15672 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15673 sysdeps/unix/sysv/syscalls.list.
15674 (stime): Likewise.
15675 (utime): Likewise.
15676 * sysdeps/unix/sysv/syscalls.list: Remove file.
15677
02467e1c
PE
156782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15679
15680 [BZ #3440]
15681 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15682 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15683 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15684 (__LC_IDENTIFICATION): Make these macros useful in #if
15685 expressions, as required by C99.
15686
da392631
AS
156872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15688
15689 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15690 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15691 after this.
15692
8115f29b
L
156932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15694
15695 * stdlib/longlong.h: Updated from GCC.
15696
bdd74070
AJ
156972012-05-09 Andreas Jaeger <aj@suse.de>
15698
edfe0dbe
AJ
15699 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15700 default is first entry.
15701 (run_mode): Set type.
15702 (main): Remove informal message about syslog.
15703 (options): Fix typo.
15704
bcfe3a54
ST
15705 [BZ #14053]
15706 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15707 to asm.
bcfe3a54
ST
15708 (lrint): Likewise.
15709 (llrintf): Likewise.
15710 (llrint): Likewise.
15711 (rint): Likewise.
15712 (rintf): Likewise.
15713 (nearbyint): Likewise.
15714 (nearbyintf): Likewise.
bdd74070 15715
91d8d69e
AJ
157162012-05-09 Andreas Jaeger <aj@suse.de>
15717 Pedro Alves <palves@redhat.com>
15718
15719 * nscd/nscd.c (run_mode): Use enum.
15720 (main): Cleanup coding style issue.
15721
bb90b80b
AJ
157222012-05-09 Alexandre Oliva <aoliva@redhat.com>
15723 Andreas Jaeger <aj@suse.de>
15724
bcfe3a54
ST
15725 * nscd/nscd.c (go_background): Replaced with...
15726 (run_mode): ... this.
bb90b80b 15727 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15728 (options): Add -F --foreground.
15729 (main): Implement it.
15730 (parse_opt): Parse it.
bb90b80b 15731
1a4b75a1
AJ
157322012-05-09 Andreas Jaeger <aj@suse.de>
15733
15734 [BZ #14083]
15735 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15736 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15737 -Wconversion warning.
15738 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15739 Likewise.
15740
b1cc2472
JM
157412012-05-09 Joseph Myers <joseph@codesourcery.com>
15742
15743 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15744 == 0.
15745 (LC_ALL): Use macro-int-constant.
15746 (LC_COLLATE): Likewise.
15747 (LC_CTYPE): Likewise.
15748 (LC_MESSAGES): Likewise.
15749 (LC_MONETARY): Likewise.
15750 (LC_NUMERIC): Likewise.
15751 (LC_TIME): Likewise.
15752 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15753 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15755 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15756 Specify type.
15757 [C99-based standards] (float_t): Expect type.
15758 [C99-based standards] (double_t): Expect type.
15759 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15760 type.
15761 [C99-based standards] (HUGE_VALL): Likewise.
15762 [C99-based standards] (INFINITY): Likewise.
15763 [C99-based standards] (NAN): Likewise.
15764 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15765 [C99-based standards] (FP_NAN): Likewise.
15766 [C99-based standards] (FP_NORMAL): Likewise.
15767 [C99-based standards] (FP_SUBNORMAL): Likewise.
15768 [C99-based standards] (FP_ZERO): Likewise.
15769 [C99-based standards] (FP_FAST_FMA): Use
15770 optional-macro-int-constant. Specify type. Require == 1.
15771 [C99-based standards] (FP_FAST_FMAF): Likewise.
15772 [C99-based standards] (FP_FAST_FMAL): Likewise.
15773 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15774 [C99-based standards] (FP_ILOGBNAN): Likewise.
15775 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15776 Specify type.
15777 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15778 [C99-based standards] (math_errhandling): Specify type.
15779 [ISO99 || ISO11] (signgam): Do not allow.
15780 [non-C99-based standards] (copysignf): Do not allow.
15781 [non-C99-based standards] (exp2f): Likewise.
15782 [non-C99-based standards] (log2f): Likewise.
15783 [non-C99-based standards] (modff): Allow.
15784 [non-C99-based standards] (erff): Do not allow.
15785 [non-C99-based standards] (erfcf): Likewise.
15786 [non-C99-based standards] (gammaf): Likewise.
15787 [non-C99-based standards] (hypotf): Likewise.
15788 [non-C99-based standards] (j0f): Likewise.
15789 [non-C99-based standards] (j1f): Likewise.
15790 [non-C99-based standards] (jnf): Likewise.
15791 [non-C99-based standards] (lgammaf): Likewise.
15792 [non-C99-based standards] (tgammaf): Likewise.
15793 [non-C99-based standards] (y0f): Likewise.
15794 [non-C99-based standards] (y1f): Likewise.
15795 [non-C99-based standards] (ynf): Likewise.
15796 [non-C99-based standards] (isnanf): Likewise.
15797 [non-C99-based standards] (acoshf): Likewise.
15798 [non-C99-based standards] (asinhf): Likewise.
15799 [non-C99-based standards] (atanhf): Likewise.
15800 [non-C99-based standards] (cbrtf): Likewise.
15801 [non-C99-based standards] (expm1f): Likewise.
15802 [non-C99-based standards] (ilogbf): Likewise.
15803 [non-C99-based standards] (log1pf): Likewise.
15804 [non-C99-based standards] (logbf): Likewise.
15805 [non-C99-based standards] (nextafterf): Likewise.
15806 [non-C99-based standards] (remainderf): Likewise.
15807 [non-C99-based standards] (rintf): Likewise.
15808 [non-C99-based standards] (scalbf): Likewise.
15809 [non-C99-based standards] (copysignl): Likewise.
15810 [non-C99-based standards] (exp2l): Likewise.
15811 [non-C99-based standards] (log2l): Likewise.
15812 [non-C99-based standards] (modfl): Allow.
15813 [non-C99-based standards] (erfl): Do not allow.
15814 [non-C99-based standards] (erfcl): Likewise.
15815 [non-C99-based standards] (gammal): Likewise.
15816 [non-C99-based standards] (hypotl): Likewise.
15817 [non-C99-based standards] (j0l): Likewise.
15818 [non-C99-based standards] (j1l): Likewise.
15819 [non-C99-based standards] (jnl): Likewise.
15820 [non-C99-based standards] (lgammal): Likewise.
15821 [non-C99-based standards] (tgammal): Likewise.
15822 [non-C99-based standards] (y0l): Likewise.
15823 [non-C99-based standards] (y1l): Likewise.
15824 [non-C99-based standards] (ynl): Likewise.
15825 [non-C99-based standards] (isnanl): Likewise.
15826 [non-C99-based standards] (acoshl): Likewise.
15827 [non-C99-based standards] (asinhl): Likewise.
15828 [non-C99-based standards] (atanhl): Likewise.
15829 [non-C99-based standards] (cbrtl): Likewise.
15830 [non-C99-based standards] (expm1l): Likewise.
15831 [non-C99-based standards] (ilogbl): Likewise.
15832 [non-C99-based standards] (log1pl): Likewise.
15833 [non-C99-based standards] (logbl): Likewise.
15834 [non-C99-based standards] (nextafterl): Likewise.
15835 [non-C99-based standards] (remainderl): Likewise.
15836 [non-C99-based standards] (rintl): Likewise.
15837 [non-C99-based standards] (scalbl): Likewise.
15838 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15839 [non-C99-based standards] (FP_*): Do not allow.
15840 [C99-based standards] (FP_*): Change to
15841 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15842 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15843 allow.
15844 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15845 (SIG_ERR): Likewise.
15846 [X/Open-based standards] (SIG_HOLD): Likewise.
15847 (SIG_IGN): Likewise.
15848 (SIGABRT): Use macro-int-constant. Specify type. Require
15849 positive value.
15850 (SIGFPE): Likewise.
15851 (SIGILL): Likewise.
15852 (SIGINT): Likewise.
15853 (SIGSEGV): Likewise.
15854 (SIGTER): Likewise.
15855 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15856 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15857 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15859 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15860 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15861 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15863 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15864 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15865 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15866 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15867 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15868 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15869 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15870 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15871 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15872 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15873 [X/Open-based standards] (SIGTRAP): Likewise.
15874 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15876 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15877 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15878 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15879 allow.
15880
b9f1922d
IW
158812012-05-08 Ian Wienand <ianw@vmware.com>
15882
15883 [BZ #14080]
15884 * time/tzset.c (__tzset_parse_tz): Update default rules for
15885 daylight time changes in the Energy Policy Act of 2005.
15886
1db86e88
AJ
158872012-05-09 Andreas Jaeger <aj@suse.de>
15888
15889 [BZ #13983]
15890 * elf/ldconfig.c (parse_conf): Change string to make clear that
15891 ldconfig only issued a warning if ld.so.conf does not exist.
15892
dee4a4e3
DM
158932012-05-08 David S. Miller <davem@davemloft.net>
15894
ee0db190
DM
15895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15896 movxtod instead of popping the value on the stack.
15897
dee4a4e3
DM
15898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15899
6a43ec98
CD
159002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15901
15902 * config.h.in: Add HAVE_ARM_PCS_VFP.
15903
05c2c961
RMG
159042012-05-08 Roland Mc Grath <roland@hack.frob.com>
15905
bcfe3a54
ST
15906 [BZ #13979]
15907 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15908 checking but the checks are disabled for any reason.
05c2c961 15909
4b30f61a
L
159102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15911
15912 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15913 and ELF64_R_TYPE with ELFW(R_TYPE).
15914
eee2bc67
JM
159152012-05-08 Joseph Myers <joseph@codesourcery.com>
15916
7ea5391a
JM
15917 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15918 (ulimit): Likewise.
15919
eee2bc67
JM
15920 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15921 (settimeofday): Likewise.
15922
abb66a67
MF
159232012-05-08 Mike Frysinger <vapier@gentoo.org>
15924
15925 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15926 a struct th_u2 inside the union, and move tu_block/tu_code into
15927 a new th_u3 union of tu_block/tu_code inside of that. Move
15928 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15929 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15930 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15931 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15932 (th_stuff): Change to th_u1.tu_stuff.
15933 (th_data): Define.
15934 (th_msg): Change to th_u1.th_u2.tu_data.
15935
7f18b530
DM
159362012-05-07 David S. Miller <davem@davemloft.net>
15937
05760585
DM
15938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15939
7f18b530
DM
15940 [BZ #14074]
15941 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15942 (SETUP_PIC_REG): Use it.
15943 (SETUP_PIC_REG_LEAF): Use it.
15944
495fd99f
JM
159452012-05-07 Joseph Myers <joseph@codesourcery.com>
15946
15947 [BZ #13885]
15948 [BZ #13923]
15949 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15950 USE_AS_EXPM1L.
15951 (EXPL_FINITE): Likewise.
15952 (FLDLOG): Likewise.
15953 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15954 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15955 e_expl.S.
15956 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15957 USE_AS_EXPM1L.
15958 (EXPL_FINITE): Likewise.
15959 (FLDLOG): Likewise.
15960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15961 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15962 e_expl.S.
15963 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15964 test of -max_value argument for long double.
15965 * sysdeps/i386/fpu/libm-test-ulps: Update.
15966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15967
6693d694
DM
159682012-05-06 David S. Miller <davem@davemloft.net>
15969
15970 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15971 quad soft-float symbols whose references which are compiler
15972 generated.
15973 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15974
6c23e11c
JM
159752012-05-06 Joseph Myers <joseph@codesourcery.com>
15976
d8b82cad
JM
15977 [BZ #13884]
15978 [BZ #13914]
15979 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15980 USE_AS_EXP10L.
15981 (EXPL_FINITE): Likewise.
15982 (FLDLOG): Likewise.
15983 (c0): Likewise.
15984 (c1): Likewise.
15985 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15986 Adjust comments for base varying.
15987 (__expl_finite): Change alias to EXPL_FINITE.
15988 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15989 e_expl.S.
15990 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15991 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15992 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15993 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15994 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15995 USE_AS_EXP10L.
15996 (EXPL_FINITE): Likewise.
15997 (FLDLOG): Likewise.
15998 (c0): Likewise.
15999 (c1): Likewise.
16000 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16001 Adjust comments for base varying.
16002 (__expl_finite): Change alias to EXPL_FINITE.
16003 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16004 tests for bugs.
16005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16006
6c23e11c
JM
16007 [BZ #14064]
16008 * math/libm-test.inc (check_float_internal): Correct ulp
16009 calculation for subnormal expected results.
16010
29ba805c
AJ
160112012-05-06 Andreas Jaeger <aj@suse.de>
16012
16013 * Makeconfig (+math-flags): New, set to -frounding-math.
16014 (+cflags): Add +math-flags so that all of glibc gets compiled with
16015 it.
16016
16017 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16018
7b17aeda
JM
160192012-05-05 Joseph Myers <joseph@codesourcery.com>
16020
5779f134
JM
16021 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16022 Disable one test.
16023
41498f4d
JM
16024 [BZ #13787]
16025 [BZ #13922]
16026 [BZ #14036]
16027 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16028 (__ieee754_expl): Allow for and saturate large arguments.
16029 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16030 (u_threshold): Likewise.
16031 (__exp): Call __ieee754_exp before checking for overflow and
16032 underflow.
16033 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16034 (u_threshold): Likewise.
16035 (__expf): Call __ieee754_expf before checking for overflow and
16036 underflow.
16037 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16038 (u_threshold): Likewise.
16039 (__expl): Call __ieee754_expl before checking for overflow and
16040 underflow.
16041 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16042 (__ieee754_expl): Allow for and saturate large arguments.
16043 * math/libm-test.inc (exp_test): Add another test. Do not allow
16044 missing overflow exception on overflow.
16045 (expm1_test): Do not allow missing overflow exception on overflow.
16046
6698b8bf
JM
16047 * sysdeps/i386/fpu/e_expl.c: Move to ...
16048 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16049 rather than using inline asm.
16050 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16051 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16052 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16053
7b17aeda
JM
16054 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16055 (nice): Likewise.
16056 (poll): Likewise.
16057 (signal): Likewise.
16058 (time): Likewise.
16059 (times): Likewise.
16060
f7c85819
JM
160612012-05-04 Joseph Myers <joseph@codesourcery.com>
16062
16063 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16064 sysdeps/unix/common/syscalls.list.
16065 (fchmod): Likewise.
16066 (fchown): Likewise.
16067 (ftruncate): Likewise.
16068 (getrusage): Likewise.
16069 (gettimeofday): Likewise.
16070 (setpgid): Likewise.
16071 (setregid): Likewise.
16072 (setreuid): Likewise.
16073 (sigaction): Likewise.
16074 (truncate): Likewise.
16075 (vhangup): Likewise.
16076 * sysdeps/unix/common/syscalls.list: Remove file.
16077 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16078 * sysdeps/unix/sysv/linux/Implies: Likewise.
16079
336270d0
L
160802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16081
16082 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16084 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16085 Moved to ...
16086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16087 Here.
16088 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16089 to ...
16090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16091 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16092 to ...
16093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16094 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16095 to ...
16096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16097 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16098 to ...
16099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16100 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16101 to ...
16102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16103 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16104 to ...
16105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16106 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16107 to ...
16108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16109 Here.
16110 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16111 to ...
16112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16113 Here.
16114 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16115 to ...
16116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16117 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16118 Moved to ...
16119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16120 Here.
16121 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16122 to ...
16123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16124
d128e450
JM
161252012-05-04 Joseph Myers <joseph@codesourcery.com>
16126
fa8ee516
JM
16127 * sysdeps/unix/common/bits/dirent.h: Remove file.
16128 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16129
d128e450
JM
16130 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16131 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16132 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16133 * sysdeps/unix/bsd/isatty.c: Likewise.
16134 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16135 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16136 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16137
ff8faaf0 161382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16139
62881be4 16140 [BZ #13563]
31dc8730
AZ
16141 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16142 long double comparison inaccuracies.
16143 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16145
6fef930c
AS
161462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16147
16148 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16150
8f203e6c
JM
161512012-05-04 Joseph Myers <joseph@codesourcery.com>
16152
16153 [BZ #14049]
16154 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16155 nonzero digits before rounding a hex value.
16156 * stdlib/tst-strtod.c (tests): Add another test.
16157
5197d9c2
AK
161582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16159
16160 * sysdeps/s390/fpu/libm-test-ulps: Update.
16161
f0c1dedf
AJ
161622012-05-03 Andreas Jaeger <aj@suse.de>
16163
16164 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16165 does not get optimized out.
16166 (malloc_opt_barrier): New.
16167
a65ef2ae 161682012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16169 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16170
2b942cb7 16171 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16172 intermediate file deletion.
2b942cb7 16173 (generated): Add .symlist files.
a65ef2ae 16174
54b71e02
JM
161752012-05-03 Joseph Myers <joseph@codesourcery.com>
16176
16177 [BZ #13775]
16178 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16179 Redirect under this condition.
16180 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16181 [__USE_GNU] (__dprintf_chk): Not under this condition.
16182 [__USE_GNU] (__vdprintf_chk): Likewise.
16183 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16184 under this condition.
16185 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16186 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16187 [__USE_XOPEN2K8] (vdprintf): Likewise.
16188 [__USE_GNU] (__dprintf_chk): Not under this condition.
16189 [__USE_GNU] (__vdprintf_chk): Likewise.
16190 [__USE_GNU] (dprintf): Likewise.
16191 [__USE_GNU] (vdprintf): Likewise.
16192
d3dfcc41
RM
161932012-05-03 Roland McGrath <roland@hack.frob.com>
16194
16195 * elf/Makefile (common-generated): Set this instead of generated for
16196 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16197 $(all-built-dso)-derived lists.
16198
7ac30cc5
AJ
161992012-05-03 Andreas Jaeger <aj@suse.de>
16200
0c51e550
AJ
16201 * sysdeps/i386/fpu/libm-test-ulps: Update.
16202
7ac30cc5
AJ
16203 * FAQ: Removed.
16204 * FAQ.in: Likewise.
16205 * scripts/gen-FAQ.pl: Likewise.
16206 * manual/install.texi (Installation): Point to online location of
16207 FAQ.
16208 * Makefile (files-for-dist): Remove FAQ.
16209 (FAQ): Remove.
16210
d4c2917f
AM
162112012-05-02 Allan McRae <allan@archlinux.org>
16212
16213 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16214 (LDFLAGS-reldepmod5.so): Likewise.
16215 (LDFLAGS-reldep6mod1.so): Likewise.
16216 (LDFLAGS-reldep6mod4.so): Likewise.
16217 (LDFLAGS-reldep8mod3.so): Likewise.
16218 (LDFLAGS-unload4mod1.so): Likewise.
16219 (LDFLAGS-unload4mod2.so): Likewise.
16220 (LDFLAGS-tst-initorder): Likewise.
16221 (LDFLAGS-tst-initordera2.so): Likewise.
16222 (LDFLAGS-tst-initordera3.so): Likewise.
16223 (LDFLAGS-tst-initordera4.so): Likewise.
16224 (LDFLAGS-tst-initorderb2.so): Likewise.
16225 (LDFLAGS-noload): Likewise.
16226 (LDFLAGS-next): Likewise.
16227 (LDFLAGS-order2mod1.so): Likewise.
16228 (LDFLAGS-order2mod2.so): Likewise.
16229 (LDFLAGS-tst-initorder2): Likewise.
16230 (LDFLAGS-tst-initorder2a.so): Likewise.
16231 (LDFLAGS-tst-initorder2b.so): Likewise.
16232 (LDFLAGS-tst-initorder2c.so): Likewise.
16233 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16234
d77f993f
DM
162352012-05-02 David S. Miller <davem@davemloft.net>
16236
16237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16238
171a70b4
PP
162392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16240
16241 [BZ #14055]
16242 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16243
0be196ad
AJ
162442012-05-02 Andreas Jaeger <aj@suse.de>
16245
16246 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16247 since we manipulate rounding mode.
16248 (CPPFLAGS-test-idouble.c): Likewise.
16249 (CPPFLAGS-test-ifloat.c): Likewise.
16250 (CFLAGS-test-ldouble.c): Likewise.
16251 (CFLAGS-test-double.c): Likewise.
16252 (CFLAGS-test-float.c): Likewise.
16253 (CFLAGS-test-misc.c): Likewise.
16254 (CFLAGS-test-test-fenv.c): Likewise.
16255
4f9d04aa
AZ
162562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16257
2b942cb7
RM
16258 [BZ #2550]
16259 [BZ #2570]
16260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16261 comparisons to determine direction to adjust input.
4f9d04aa 16262
82a79e7d
RM
162632012-05-01 Roland McGrath <roland@hack.frob.com>
16264
f5a01ca9
RM
16265 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16266 output to the target.
16267
90fe4186
RM
16268 * scripts/localplt.awk: New file.
16269 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16270 (check-localplt-CFLAGS): Variable removed.
16271 ($(all-built-dso:=.jmprel)): New static pattern rule.
16272 (generated): Add those targets.
16273 (localplt-built-dso): New variable.
16274 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16275
16276 * elf/check-localplt.c: File removed.
16277
82397ed6
RM
16278 * scripts/check-execstack.awk: New file.
16279 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16280 (check-execstack-CFLAGS): Variable removed.
16281 ($(objpfx)check-execstack.h): Target removed.
16282 ($(objpfx)execstack-default): New target.
16283 (generated): Add that instead of check-execstack.h.
16284 ($(all-built-dso:=.phdr)): New static pattern rule.
16285 (generated): Add those targets.
16286 * elf/check-execstack.c: File removed.
16287
82a79e7d
RM
16288 * scripts/check-textrel.awk: New file.
16289 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16290 (check-textrel-CFLAGS): Variable removed.
16291 (all-built-dso): Use := to define.o
16292 ($(all-built-dso:=.dyn)): New static pattern rule.
16293 (generated): Add those targets.
16294 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16295 * config.make.in (READELF): New substituted variable.
16296 * elf/check-textrel.c: File removed.
16297
62fde54f 162982012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16299
615605c9
JM
16300 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16301 allow.
16302 * conform/data/ctype.h-data [C99-based standards] (isblank):
16303 Expect function.
16304 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16305 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16307 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16308 Specify type. Require positive value.
16309 (EILSEQ): Likewise.
16310 (ERANGE): Likewise.
16311 [ISO || POSIX] (EILSEQ): Do not expect.
16312 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16313 Specify type. Require positive value.
16314 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16315 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16316 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16317 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16318 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16319 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16320 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16321 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16322 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16323 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16324 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16325 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16326 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16327 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16328 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16329 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16330 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16331 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16332 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16333 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16334 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16335 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16336 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16337 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16338 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16339 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16340 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16341 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16342 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16343 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16344 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16345 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16346 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16347 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16348 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16349 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16350 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16351 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16352 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16353 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16354 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16355 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16356 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16357 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16358 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16359 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16360 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16361 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16362 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16363 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16364 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16365 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16366 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16367 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16368 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16369 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16370 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16371 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16372 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16373 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16374 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16375 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16376 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16377 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16378 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16379 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16380 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16381 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16382 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16383 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16384 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16385 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16386 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16387 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16388 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16389 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16390 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16391 Require >= 2.
16392 (FLT_ROUNDS): Expect as macro, not constant.
16393 (FLT_MANT_DIG): Use macro-int-constant.
16394 (DBL_MANT_DIG): Likewise.
16395 (LDBL_MANT_DIG): Likewise.
16396 (FLT_DIG): Likewise.
16397 (DBL_DIG): Likewise.
16398 (LDBL_DIG): Likewise.
16399 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16400 (DBL_MIN_EXP): Likewise.
16401 (LDBL_MIN_EXP): Likewise.
16402 (FLT_MAX_EXP): Use macro-int-constant.
16403 (DBL_MAX_EXP): Likewise.
16404 (LDBL_MAX_EXP): Likewise.
16405 (FLT_MAX_10_EXP): Likewise.
16406 (DBL_MAX_10_EXP): Likewise.
16407 (LDBL_MAX_10_EXP): Likewise.
16408 (FLT_MAX): Use macro-constant.
16409 (DBL_MAX): Likewise.
16410 (LDBL_MAX): Likewise.
16411 (FLT_EPSILON): Use macro-constant. Give upper bound.
16412 (DBL_EPSILON): Likewise.
16413 (LDBL_EPSILON): Likewise.
16414 (FLT_MIN): Likewise.
16415 (DBL_MIN): Likewise.
16416 (LDBL_MIN): Likewise.
16417 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16418 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16419 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16420 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16421 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16422 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16423 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16424 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16425 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16426 [ISO11] (FLT_TRUE_MIN): Likewise.
16427 [ISO11] (LDBL_TRUE_MIN): Likewise.
16428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16429 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16430 (SCHAR_MIN): Use macro-int-constant. Specify type.
16431 (SCHAR_MAX): Likewise.
16432 (UCHAR_MAX): Likewise.
16433 (CHAR_MIN): Likewise.
16434 (CHAR_MAX): Likewise.
16435 (MB_LEN_MAX): Use macro-int-constant.
16436 (SHRT_MIN): Use macro-int-constant. Specify type.
16437 (SHRT_MAX): Likewise.
16438 (USHRT_MAX): Likewise.
16439 (INT_MAX): Likewise.
16440 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16441 bound negative.
16442 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16443 bound with "U".
16444 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16445 bound with "L".
16446 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16447 bound negative. Suffix upper bound with "L".
16448 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16449 bound with "UL".
16450 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16451 Specify type.
16452 [C99-based standards] (LLONG_MAX): Likewise.
16453 [C99-based standards] (ULLONG_MAX): Likewise.
16454 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16455 == 0.
16456 [ISO11] (max_align_t): Require type.
16457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16458
c9140a62
JM
16459 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16460 from $CFLAGS, without defining away __attribute__ calls.
16461 (checknamespace): Use $CFLAGS_namespace.
16462
9af0bf29
JM
16463 * conform/conformtest.pl (@keywords): Only include C99 keywords
16464 for standards based on C99 or C11.
16465
343222a2
JM
16466 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16467 Disable tests.
16468 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16469 UNIX98]: Likewise.
16470
661f8cf0
JM
16471 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16472 usability of symbols in #if.
16473
ee74b9cb
JM
16474 * conform/conformtest.pl: If macro or constant types start
16475 "promoted:", expect the symbol to be of the following type
16476 promoted by the integer promotions.
62fde54f 16477
aafc49b3
JM
16478 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16479 in one place. Also handle "macro-constant".
16480
fefdf574
JM
16481 * conform/conformtest.pl: Only accept expected macro values with
16482 "==". Parse all "macro" lines in one place.
16483 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16484
f2d922fe
JM
16485 * conform/conformtest.pl: Handle braced types on "constant" lines
16486 instead of handling "typed-constant".
16487 * conform/data/signal.h-data: Use "constant" instead of
16488 "typed-constant".
16489
d22956c9
JM
16490 * conform/conformtest.pl: Handle "optional-" at start of lines in
16491 one place rather than duplicating several cases. Handle each
16492 format of "macro" line with initial "optional-".
16493
028e2e38
JM
16494 * conform/conformtest.pl: Only accept expected constant or
16495 optional-constant values with "==". Parse all "constant" lines in
16496 one place. Parse all "optional-constant" lines in one place.
16497 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16498 * conform/data/fmtmsg.h-data: Likewise.
16499 * conform/data/netinet/in.h-data: Likewise.
16500 * conform/data/tar.h-data: Likewise.
16501 * conform/data/limits.h-data: Use "==" form on "constant" and
16502 "optional-constant" lines.
16503
1b8f2850
JM
16504 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16505 Use -std=c99 for XOPEN2K.
16506 (@knownproblems): Remove.
16507 (newtoken): Don't check %isknown.
16508
a05a144b
JM
16509 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16510 Do not expect macro.
16511 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16523 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16524 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16541 [XPG3] (acosh): Likewise.
16542 [XPG3] (asinh): Likewise.
16543 [XPG3] (atanh): Likewise.
16544 [XPG3] (cbrt): Likewise.
16545 [XPG3] (expm1): Likewise.
16546 [XPG3] (ilogb): Likewise.
16547 [XPG3] (log1p): Likewise.
16548 [XPG3] (logb): Likewise.
16549 [XPG3] (nextafter): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16552 [XPG3] (remainder): Likewise.
16553 [XPG3] (rint): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16561 [UNIX98 || XOPEN2K] (scalb): Expect.
16562 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16563 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16585 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16586 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16587 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16588 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16589 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16590 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16591 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16592 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16604 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16605 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16606 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16607 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16608 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16609 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16610 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16611 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16612 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16613 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16614 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16615 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16616 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16617 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16618 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16619 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16620 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16621 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16622 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16623 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16624 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16625 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16626 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16627 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16628 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16629 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16630 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16631 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16632 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16633 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16634 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16635 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16636 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16637 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16638 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16639 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16640 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16641 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16642 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16643 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16644 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16645 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16646 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16647 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16648 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16649 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16650 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16651 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16652 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16653 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16654 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16655 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16656 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16657 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16658 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16659 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16660 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16661 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16662 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16663 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16664 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16665 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16666 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16667 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16668 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16669 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16670 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16671 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16672 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16673 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16674 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16675 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16676 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16677 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16678 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16679 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16680 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16681 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16682 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16683 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16684 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16685 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16686 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16687 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16688 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16689 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16690 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16691 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16692 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16693 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16694 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16695 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16696 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16697 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16698 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16699
73c5ebe3
JM
16700 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16701 _XOPEN_SOURCE_EXTENDED for XPG4.
16702
39c33b6c
JM
16703 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16704
62fde54f
JM
16705 * Makeconfig (localtime): Remove variable.
16706 (inst_localtime-file): Likewise.
16707
0741d64c
AS
167082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16709
16710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16711 Update.
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16713 Update.
16714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16715 Update.
16716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16717 Update.
16718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16719 Update.
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16721 Update.
16722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16723 Update.
16724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16725 Update.
16726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16727 Update.
16728
7cb029ee
JM
167292012-05-01 Joseph Myers <joseph@codesourcery.com>
16730
16731 [BZ #2550]
16732 [BZ #2570]
16733 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16734 comparisons to determine direction to adjust input.
16735 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16736 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16738 Likewise.
16739 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16740 Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16742 Likewise.
16743 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16744 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16745 Likewise.
16746 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16747 Likewise.
16748 * math/libm-test.inc (nexttoward_test): Add more tests.
16749
412bd966
AS
167502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16751
16752 [BZ #14040]
16753 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16754 in version GLIBC_2.1, not GLIBC_2.0.
16755 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16756 Likewise.
16757
9568c0c2
JM
167582012-04-30 Joseph Myers <joseph@codesourcery.com>
16759
adfbc8ac
JM
16760 [BZ #13942]
16761 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16762 (1 - x) * (1 + x).
16763 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16764 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16765 * math/libm-test.inc (acos_test): Add more tests.
16766 (asin_test): Likewise.
16767 * sysdeps/i386/fpu/libm-test-ulps: Update.
16768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16769
5ba3cc69
JM
16770 [BZ #14034]
16771 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16772 of square root.
16773 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16774 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16775 * math/libm-test.inc (acos_test_tonearest): New function.
16776 (acos_test_towardzero): Likewise.
16777 (acos_test_downward): Likewise.
16778 (acos_test_upward): Likewise.
16779 (asin_test_tonearest): Likewise.
16780 (asin_test_towardzero): Likewise.
16781 (asin_test_downward): Likewise.
16782 (asin_test_upward): Likewise.
16783 (main): Call the new functions.
16784 * sysdeps/i386/fpu/libm-test-ulps: Update.
16785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16786
9568c0c2
JM
16787 [BZ #13884]
16788 [BZ #13924]
16789 * math/e_exp10.c: Include <float.h>.
16790 (__ieee754_exp10): Handle underflow here rather than multiplying
16791 large negative argument by M_LN10.
16792 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16793 of __ieee754_expf.
16794 * math/e_exp10l.c: Include <float.h>.
16795 (__ieee754_exp10l): Handle underflow here rather than multiplying
16796 large negative argument by M_LN10l.
16797 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16798 spurious overflow exception on underflow.
16799
5ac3ea17
MP
168002012-04-29 Marek Polacek <polacek@redhat.com>
16801
16802 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16803 (__fortify_function): New macro.
16804 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16805 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16806 __extern_always_inline.
16807 * libio/bits/stdio2.h: Likewise.
16808 * libio/bits/stdio.h: Likewise.
16809 * string/string.h: Likewise.
16810 * string/bits/string3.h: Likewise.
16811 * include/stdio.h: Likewise.
16812 * stdlib/bits/stdlib.h: Likewise.
16813 * stdlib/stdlib.h: Likewise.
16814 * rt/bits/mqueue2.h: Likewise.
16815 * rt/mqueue.h: Likewise.
16816 * posix/bits/unistd.h: Likewise.
16817 * posix/unistd.h: Likewise.
16818 * io/bits/poll2.h: Likewise.
16819 * io/bits/fcntl2.h: Likewise.
16820 * io/fcntl.h: Likewise.
16821 * io/sys/poll.h: Likewise.
16822 * misc/bits/syslog.h: Likewise.
16823 * misc/bits/syslog-ldbl.h: Likewise.
16824 * misc/sys/syslog.h: Likewise.
16825 * socket/bits/socket2.h: Likewise.
16826 * socket/sys/socket.h: Likewise.
16827 * debug/tst-chk1.c: Likewise.
16828 * wcsmbs/bits/wchar2.h: Likewise.
16829 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16830 * wcsmbs/wchar.h: Likewise.
16831
ecf0ebfb
AJ
168322012-04-29 Andreas Jaeger <aj@suse.de>
16833
16834 * Makerules (tests): Remove enable-check-abi protection.
16835 (check-abi-warn): Remove.
16836 (check-abi-%): Remove check-abi-warn usage.
16837
16838 * configure.in: Remove check-abi configure option.
16839 * configure: Regenerated.
16840 * config.make.in (enable-check-abi): Remove.
16841
6d5c57fa
AS
168422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16843
24c5d07e 16844 [BZ #14033]
ded5180a
AS
16845 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16846 double functions to double *_finite functions.
16847
7e0d315d
AS
16848 [BZ #13941]
16849 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16850 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16851 LDBL_MIN_EXP.
16852 * stdio-common/Makefile (tests): Add tst-sprintf3.
16853 * stdio-common/tst-sprintf3.c: New file.
16854
6d5c57fa
AS
16855 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16856 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16857
0749ff8b
JM
168582012-04-28 Joseph Myers <joseph@codesourcery.com>
16859
16860 * conform/conformtest.pl: Remove duplicate typed-constant
16861 handling.
16862
8dbd5d7b
DM
168632012-04-28 David S. Miller <davem@davemloft.net>
16864
16865 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16866 (check-abi-%): Remove AWK script prerequisite and explicit
16867 abilist directory.
16868 (check-abi): Rewrite to just diff the symlist with the abilist.
16869 (config-tls, config-abi-config): Delete, no longer used.
16870 (update-abi-%): Remove AWK script and explicit abilist directory.
16871 (update-abi): Rewrite to simply compare and conditionally copy the
16872 symlist and the sysdep abilist file. Remove update-abi-config
16873 checks.
16874 * abilist/ld.abilist: Remove.
16875 * abilist/libBrokenLocale.abilist: Remove.
16876 * abilist/libanl.abilist: Remove.
16877 * abilist/libcrypt.abilist: Remove.
16878 * abilist/libdl.abilist: Remove.
16879 * abilist/librt.abilist: Remove.
16880 * abilist/libthread_db.abilist: Remove.
16881 * abilist/libutil.abilist: Remove.
16882 * scripts/extract-abilist.awk: Remove.
16883 * scripts/merge-abilist.awk: Remove.
16884 * sysdeps/generic/libcidn.abilist: New file.
16885 * sysdeps/generic/libnss_compat.abilist: New file.
16886 * sysdeps/generic/libnss_db.abilist: New file.
16887 * sysdeps/generic/libnss_dns.abilist: New file.
16888 * sysdeps/generic/libnss_files.abilist: New file.
16889 * sysdeps/generic/libnss_hesiod.abilist: New file.
16890 * sysdeps/generic/libnss_nis.abilist: New file.
16891 * sysdeps/generic/libnss_nisplus.abilist: New file.
16892 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16893 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16894 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16895 file.
16896 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16897 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16898 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16899 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16900 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16901 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16902 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16903 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16904 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16905 file.
16906 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16907 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16908 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16909 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16910 file.
16911 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16912 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16913 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16914 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16915 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16916 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16917 file.
16918 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16919 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16920 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16921 file.
16922 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16924 New file.
16925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16926 New file.
16927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16928 New file.
16929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16930 New file.
16931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16932 New file.
16933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16934 New file.
16935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16936 New file.
16937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16938 New file.
16939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16940 New file.
16941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16942 New file.
16943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16944 New file.
16945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16946 New file.
16947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16948 New file.
16949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16950 file.
16951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16952 New file.
16953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16954 New file.
16955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16956 file.
16957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16958 New file.
16959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16960 New file.
16961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16962 file.
16963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16964 New file.
16965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16966 New file.
16967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16968 New file.
16969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16970 New file.
16971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16972 New file.
16973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16974 New file.
16975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16977 file.
16978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16979 New file.
16980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16981 file.
16982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16983 file.
16984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16985 file.
16986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16987 file.
16988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16989 file.
16990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16991 New file.
16992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16993 file.
16994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16995 file.
16996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16997 New file.
16998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16999 file.
17000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17002 file.
17003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17004 New file.
17005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17006 file.
17007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17008 file.
17009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17010 file.
17011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17012 file.
17013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17014 file.
17015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17016 New file.
17017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17018 file.
17019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17020 file.
17021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17022 New file.
17023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17024 file.
17025 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17026 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17027 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17028 file.
17029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17030 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17031 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17032 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17033 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17034 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17035 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17036 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17037 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17038 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17041 file.
17042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17043 New file.
17044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17045 file.
17046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17047 file.
17048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17049 file.
17050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17051 file.
17052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17053 file.
17054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17055 New file.
17056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17057 New file.
17058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17059 file.
17060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17061 New file.
17062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17063 file.
17064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17066 file.
17067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17068 New file.
17069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17070 file.
17071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17072 file.
17073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17074 file.
17075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17076 file.
17077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17078 file.
17079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17080 New file.
17081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17082 New file.
17083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17084 file.
17085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17086 New file.
17087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17088 file.
17089
41d73a1b
JM
170902012-04-28 Joseph Myers <joseph@codesourcery.com>
17091
17092 * conform/conformtest.pl: Fix typo in handling typed-constant from
17093 allow-header.
17094
28aeeda4
JM
170952012-04-27 Joseph Myers <joseph@codesourcery.com>
17096
adae8f5e
JM
17097 * README: Cut down references to pre-2.6 Linux kernels and
17098 Linuxthreads. Update lists of configurations in libc and ports
17099 and sort alphabetically. Say "or newer" with Linux kernel version
17100 requirements.
17101
28aeeda4
JM
17102 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17103
a462cb63
RA
171042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17105
17106 [BZ #887]
17107 * math/libm-test.inc (logb_test_downward): New test to expose
17108 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17109 rounding mode.
17110
6ad3493e
JM
171112012-04-27 Joseph Myers <joseph@codesourcery.com>
17112
17113 [BZ #14027]
17114 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17115 to be done.
17116 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17117 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17118
2ce4f015
JM
171192012-04-26 Joseph Myers <joseph@codesourcery.com>
17120
5aeb141a
JM
17121 * sysdeps/unix/i386/brk.S: Remove file.
17122 * sysdeps/unix/i386/dl-brk.S: Likewise.
17123 * sysdeps/unix/i386/pipe.S: Likewise.
17124 * sysdeps/unix/i386/sigreturn.S: Likewise.
17125 * sysdeps/unix/i386/syscall.S: Likewise.
17126 * sysdeps/unix/i386/vfork.S: Likewise.
17127 * sysdeps/unix/i386/wait.S: Likewise.
17128
7143acae
JM
17129 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17130 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17131
2ce4f015
JM
17132 * configure.in (arm*-none*): Do not allow without
17133 --enable-hacker-mode.
17134 (netbsd*): Remove case setting base_os.
17135 (386bsd*): Likewise.
17136 (freebsd*): Likewise.
17137 (bsdi*): Likewise.
17138 (osf*): Likewise.
17139 (sunos*): Likewise.
17140 (ultrix*): Likewise.
17141 (newsos*): Likewise.
17142 (dynix*): Likewise.
17143 (*bsd*): Likewise.
17144 (sysv*): Likewise.
17145 (isc*): Likewise.
17146 (esix*): Likewise.
17147 (sco*): Likewise.
17148 (minix*): Likewise.
17149 (irix4*): Likewise.
17150 (irix6*): Likewise.
17151 (solaris[2-9]*): Likewise.
17152 (none): Likewise.
17153 * configure: Regenerated.
17154
0ac229c8
AZ
171552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17156
17157 [BZ #11521]
17158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17159 overflow or cancellation in calculating denominator.
17160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17162 down expression to avoid unexpected rounding in newer GCCs.
17163 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17164
33f244f4
DM
171652012-04-26 David S. Miller <davem@davemloft.net>
17166
17167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17168 long-double compat symbols.
17169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17182
cfa1f3e8
DM
171832012-04-25 David S. Miller <davem@davemloft.net>
17184
17185 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17186 HWCAP_* values only after the memory barriers have been defined.
17187 (atomic_full_barrier): Define.
17188 (atomic_read_barrier): Define.
17189 (atomic_write_barrier): Define.
17190
6e236b92
SP
171912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17192
17193 * shlib-versions: Add libgcc_s version information.
17194 * sysdeps/generic/libgcc_s.h: Remove.
17195 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17196 libgcc_s.h.
17197 * sysdeps/gnu/unwind-resume.c: Likewise.
17198 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17199
aab39a09
DM
172002012-04-25 David S. Miller <davem@davemloft.net>
17201
17202 * sysdeps/unix/sparc/brk.S: Delete.
17203 * sysdeps/unix/sparc/dl-brk.S: Delete.
17204 * sysdeps/unix/sparc/pipe.S: Delete.
17205 * sysdeps/unix/sparc/sysdep.S: Delete.
17206 * sysdeps/unix/sparc/sysdep.h: Delete.
17207 * sysdeps/unix/sparc/vfork.S: Delete.
17208 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17209 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17211 ret_ERRVAL, r0, r1, MOVE): Define.
17212 (JUMPTARGET): Remove.
17213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17214 sysdeps/unix/sparc/sysdep.h
17215 (ENTRY, END): Remove.
17216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17217
a3cc4f48
JM
172182012-04-25 Joseph Myers <joseph@codesourcery.com>
17219
2ed8cda2
JM
17220 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17221 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17222 -DIS_IN_build.
17223
35d76d59
JM
17224 * timezone/README: Update upstream location and email address for
17225 tzcode and tzdata.
17226 * timezone/zdump.c: Update from tzcode 2012b.
17227 * timezone/zic.c: Likewise.
17228
a3cc4f48
JM
17229 * configure.in (libc_cv_as_needed): Remove test.
17230 * configure: Regenerated.
17231 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17232 conditional definition.
17233 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17234 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17235 * config.make.in (have-as-needed): Remove variable.
17236
ceab42c3
SP
172372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17238 Paul Pluzhnikov <ppluzhnikov@google.com>
17239
17240 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17241 strings correctly.
17242
3ce2865f
CLT
172432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17244
17245 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17246 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17247 * sysdeps/sh/strlen.S: Likewise.
17248
f37e0d68
JM
172492012-04-24 Joseph Myers <joseph@codesourcery.com>
17250
ae186e9a
JM
17251 * sysdeps/unix/fork.S: Remove file.
17252 * sysdeps/unix/i386/fork.S: Likewise.
17253 * sysdeps/unix/sparc/fork.S: Likewise.
17254
b96914af
JM
17255 * sysdeps/unix/system.c: Remove file.
17256 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17257
f37e0d68
JM
17258 * sysdeps/unix/getegid.S: Remove file.
17259 * sysdeps/unix/geteuid.S: Likewise.
17260
87ef29ca
RM
172612012-04-24 Roland McGrath <roland@hack.frob.com>
17262
83bcd236
RM
17263 * scripts/check-localplt.awk: New file.
17264 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17265 of diff.
17266 * scripts/data/localplt-generic.data: Add a comment.
17267
87ef29ca
RM
17268 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17269 NODE when __dir_mkfile failed.
17270 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17271 Reported by Ludovic Courtès <ludo@gnu.org>.
17272
e5a6e567
AJ
172732012-04-24 Andreas Jaeger <aj@suse.de>
17274
17275 * Makerules (common-clean): Also remove gen-as-const-headers
17276 files.
17277
c1820385
JM
172782012-04-24 Joseph Myers <joseph@codesourcery.com>
17279
17280 * Makerules (native-compile): Do not change working directory for
17281 build. Use $(OUTPUT_OPTION) in command.
17282 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17283
94e02fc4
AZ
172842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17285
17286 [BZ #13886]
17287 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17288 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17289 * math/libm-test.inc (floor_test): Add more tests.
17290 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17291
3a533ca3
JM
172922012-04-24 Joseph Myers <joseph@codesourcery.com>
17293
940ab4b3
JM
17294 * sysdeps/unix/getdents.c: Remove file.
17295 * sysdeps/unix/sysv/getdents.c: Likewise.
17296 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17297
90e037bd
JM
17298 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17299 sysdeps/unix/mman/syscalls.list.
17300 (mmap): Likewise.
17301 (mprotect): Likewise.
17302 (msync): Likewise.
17303 (munmap): Likewise.
17304 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17305 * sysdeps/unix/mman/syscalls.list: Remove.
17306 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17307
3a533ca3
JM
17308 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17309 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17310 * configure: Regenerated.
17311 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17312 $(libgcc_s_suffix).
17313 * config.make.in (libgcc_s_suffix): Remove variable.
17314
1ad743de
JM
173152012-04-23 Joseph Myers <joseph@codesourcery.com>
17316
4ad451e2
JM
17317 * sysdeps/unix/sysv/gethostname.c: Move to ...
17318 * sysdeps/posix/gethostname.c: ... here.
17319
5e37ce39
JM
17320 * sysdeps/unix/execve.S: Remove file.
17321
1ad743de
JM
17322 * sysdeps/unix/_exit.S: Remove file.
17323
4e681b5b
AJ
173242012-04-23 Andreas Jaeger <aj@suse.de>
17325
17326 [BZ #13739]
17327 * manual/Makefile: Remove make dist support, there's no
17328 need for a stand-alone documentation tar ball.
17329 (TEXI2DVI): Define always, it's not in Makeconfig.
17330 (dist): Removed.
17331 (tar-it): Removed.
17332 (edition): Removed.
17333 (glibc-doc-$(edition).tar): Removed
17334 (%.Z): Removed.
17335 (%.gz): Removed.
17336 (%.uu): Removed.
17337 (ETAGS): Remove, it's in Makeconfig.
17338 (move-if-change): Remove, it's in Makeconfig.
17339
38686a03 173402012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17341
17342 [BZ #13970]
17343 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17344 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17345 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17346 (strtod_l, strtof_l, strtold_l): Remove __wur.
17347 It is not necessarily an error to ignore strtol's return value.
17348 One can reliably look at the stored endptr to decide whether
17349 the number had valid syntax.
17350
7c0616fa
AJ
173512012-04-21 Andreas Jaeger <aj@suse.de>
17352
803cb6b7 17353 [BZ #13739]
7c0616fa
AJ
17354 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17355
b0fe253f
JM
173562012-04-21 Joseph Myers <joseph@codesourcery.com>
17357
17358 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17359 * sysdeps/unix/sysv/Versions: Remove file.
17360
8280f22d
MT
173612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17362
17363 [BZ #13927]
17364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17365
75ce411f 173662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17367
17368 [BZ #7064]
17369 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17370 version from __vm86.
17371
097d59fa
JM
173722012-04-20 Joseph Myers <joseph@codesourcery.com>
17373
a90f3bcb
JM
17374 * sysdeps/unix/common/lxstat.c: Remove file.
17375 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17376
edc7ea78
JM
17377 * sysdeps/unix/sysv/Makefile: Remove file.
17378
cb78c221
JM
17379 * sysdeps/unix/sysv/direct.h: Remove file.
17380
efa6a45f
JM
17381 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17382 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17383 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17384 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17385 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17386 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17387 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17388
9c9f2d0c
JM
17389 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17390
4541c83b
JM
17391 * sysdeps/unix/xmknod.c: Remove file.
17392 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17393
f5d153a0
JM
17394 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17395
aa746595
JM
17396 * sysdeps/unix/sysv/i386/time.S: Remove file.
17397
cce5905e
JM
17398 * sysdeps/unix/fxstat.c: Remove file.
17399 * sysdeps/unix/xstat.c: Likewise.
17400 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17401
37fa3841
JM
17402 * sysdeps/unix/sysv/sigaction.c: Remove file.
17403
ff1962a3
JM
17404 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17405 (sysdep_headers): Remove variable.
17406 [termio.h not in sysdep_headers] (generated): Likewise.
17407 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17408 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17409 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17410 * sysdeps/unix/sysv/tcflow.c: Likewise.
17411 * sysdeps/unix/sysv/tcflush.c: Likewise.
17412 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17413 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17414 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17415 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17416 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17417
e7740d31
JM
17418 * sysdeps/unix/siglist.c: Remove file.
17419
ee06f18b
JM
17420 * sysdeps/unix/getppid.S: Remove file.
17421
097d59fa
JM
17422 * sysdeps/unix/mkdir.c: Remove file.
17423 * sysdeps/unix/rmdir.c: Likewise.
17424
ff3d51ec
AS
174252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17426
17427 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17428 ERR_MAX value.
17429 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17430 errlist-compat value.
17431
50f81fd7
DM
174322012-04-18 David S. Miller <davem@davemloft.net>
17433
17434 * sysdeps/generic/memcopy.h (reg_char): Delete.
17435 * debug/strcat_chk.c: Use char, not reg_char.
17436 * debug/strcpy_chk.c: Likewise.
17437 * debug/strncat_chk.c: Likewise.
17438 * debug/strncpy_chk.c: Likewise.
17439 * string/memchr.c: Likewise.
17440 * string/memrchr.c: Likewise.
17441 * string/rawmemchr.c: Likewise.
17442 * string/strcat.c: Likewise.
17443 * string/strchr.c: Likewise.
17444 * string/strchrnul.c: Likewise.
17445 * string/strcmp.c: Likewise.
17446 * string/strcpy.c: Likewise.
17447 * string/strncat.c: Likewise.
17448 * string/strncmp.c: Likewise.
17449 * string/strncpy.c: Likewise.
17450
8ff41c46
WS
174512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17452
17453 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17454 __builtin_memcopy is called when src and dest ranges are known to not
17455 overlap.
17456
6b652f46
WS
174572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17458
17459 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17460 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17461 fwd_align_merge macro call.
17462 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17463 bwd_align_merge macro call.
17464 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17465
b282631e
WS
174662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17467
17468 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17469 bwd_align_merge macros.
17470 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17471 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17472 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17473
95aa737c
DM
174742012-04-18 David S. Miller <davem@davemloft.net>
17475
17476 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17477
7a99a614
AJ
174782012-04-18 Andreas Jaeger <aj@suse.de>
17479
17480 [BZ# 6794]
17481 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17482 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17483 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17484
17485 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17486 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17487 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17488
17489 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17490 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17491 Adjust for changed ldbl-128 files.
17492
17493 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17494 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17495 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17496
e5270c23
DM
174972012-04-17 David S. Miller <davem@davemloft.net>
17498
17499 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17500
fb5e92c9
AS
175012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17502
17503 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17504 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17505 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17506 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17507 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17508 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17509
76da7265
AZ
175102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17511
17512 [BZ #6794]
17513 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17514 * math/libm-test.inc: Add ilogb errno and exception tests.
17515 * math/w_ilogb.c: New file: ilogb wrapper.
17516 * math/w_ilogbf.c: New file: ilogbf wrapper.
17517 * math/w_ilogbl.c: New file: ilogbl wrapper.
17518 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17519 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17520 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17521 exception being thrown with 0.0 as argument.
17522 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17523 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17524 exception being thrown with 0.0 as argument.
17525 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17526 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17527 exception being thrown with 0.0 as argument.
17528 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17529 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17530 exception being thrown with 0.0 as argument.
17531 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17532 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17533 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17534 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17535 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17536 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17537 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17538 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17539 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17540
0396e69d
PB
175412012-04-17 Petr Baudis <pasky@ucw.cz>
17542
17543 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17544 with altivec.
17545
750b5926
MP
175462012-04-16 Marek Polacek <polacek@redhat.com>
17547
17548 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17549
751728a1
MP
175502012-04-16 Marek Polacek <polacek@redhat.com>
17551
17552 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17553 operands of fdivp instruction.
17554
34a27407
L
175552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17556
17557 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17558 * elf/tst-auditmod3b.c: Likewise.
17559 * elf/tst-auditmod4b.c: Likewise.
17560 * elf/tst-auditmod5b.c: Likewise.
17561 * elf/tst-auditmod6b.c: Likewise.
17562 * elf/tst-auditmod6c.c: Likewise.
17563 * elf/tst-auditmod7b.c: Likewise.
17564 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17565 * sysdeps/x86_64/preconfigure.in: Likewise.
17566 * sysdeps/x86_64/preconfigure: Regenerated.
17567
7e73e17d
L
175682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17569
17570 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17571 __ILP32__.
17572
c7a6ab72
AB
175732012-04-13 Antoine Balestrat <merkil33@gmail.com>
17574
17575 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17576 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17577
a9e8e0e0
CL
175782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17579
17580 [BZ #13973]
17581 * locale/iso-639.def: Fix gl language name. Spotted by
17582 Yaron Shahrabani.
17583
ec98af7d
RM
175842012-04-12 Roland McGrath <roland@hack.frob.com>
17585
17586 [BZ #2074]
17587 * libio/libio.h (__io_write_fn): Update comment.
17588
247c3ede
PB
175892012-04-12 Petr Baudis <pasky@ucw.cz>
17590
17591 [BZ #2074]
17592 * stdio.texi (Hook Functions): The user provided writer function
17593 is not allowed to return -1.
17594
55939d6d
DM
175952012-04-11 David S. Miller <davem@davemloft.net>
17596
17597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17598
90020f5a
MF
175992012-04-11 Mike Frysinger <vapier@gentoo.org>
17600
17601 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17602 Add a leading slash to rtkaio.
17603
288f9098
JM
176042012-04-11 Jim Meyering <meyering@redhat.com>
17605
90020f5a
MF
17606 [BZ #11959]
17607 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17608 It is not necessarily an error to ignore fwrite's return
17609 value. One can reliably use ferror to test for errors after
17610 the fact.
288f9098 17611
4be2b570
L
176122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17613
17614 * bits/types.h (__snseconds_t): New type.
17615 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17616
17617 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17619 (__SNSECONDS_T_TYPE): Likewise.
17620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17621 (__SNSECONDS_T_TYPE): Likewise.
17622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17623 (__SNSECONDS_T_TYPE): Likewise.
17624
288f9098 176252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17626
17627 [BZ #2636]
17628 * manual/time.texi (Processor Time): Return type of times is
17629 elapsed real time since an arbitrary point in the past.
17630 (CPU Time): Move CLK_TCK from here...
17631 (Processor Time): ...to here. Correct description.
17632 * manual/conf.texi (Constants for Sysconf): Correct description of
17633 _SC_CLK_TCK.
17634
d7dd4413
DM
176352012-04-10 David S. Miller <davem@davemloft.net>
17636
17637 [BZ #13967]
17638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17639 where the is a gap between DT_REL(A) and DT_JMPREL.
17640
b46068fc
L
176412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17642
17643 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17644 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17645 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17646
73d65cc3
SP
176472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17648
17649 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17650 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17651 (dl_main): Handle --inhibit-cache.
17652 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17653 _dl_inhibit_cache.
17654 * elf/dl-load.c (_dl_map_object): Use it.
17655 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17656
bcc8d661
JM
176572012-04-09 Joseph Myers <joseph@codesourcery.com>
17658
8f9a2fae
JM
17659 [BZ #13872]
17660 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17661 (__ieee754_powl): Saturate large exponents rather than testing for
17662 overflow of y*log2(x).
17663 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17664 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17665 exceptions.
17666
bcc8d661
JM
17667 [BZ #11521]
17668 * math/s_ctan.c: Include <float.h>.
17669 (__ctan): Avoid internal overflow or cancellation in calculating
17670 denominator.
17671 * math/s_ctanf.c: Likewise.
17672 * math/s_ctanl.c: Likewise.
17673 * math/s_ctanh.c: Likewise.
17674 * math/s_ctanhf.c: Likewise.
17675 * math/s_ctanhl.c: Likewise.
17676 * math/libm-test.inc (ctan_test): Add more tests.
17677 (ctanh_test): Likewise.
17678 * sysdeps/i386/fpu/libm-test-ulps: Update.
17679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680
823fbbb4
AJ
176812012-04-09 Andreas Jaeger <aj@suse.de>
17682
03879793
AJ
17683 [BZ #6894]
17684 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17685 is an optional BSD extension.
17686
823fbbb4
AJ
17687 [BZ #10254]
17688 * manual/stdio.texi (Opening Streams): Document additional fopen
17689 parameters.
17690
8de131cb
RM
176912012-04-09 Roland McGrath <roland@hack.frob.com>
17692
17693 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17694 %eax without telling the compiler.
17695
c0ed9d7d
CD
176962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17697
17698 [BZ # 13963]
17699 * manual/install.texi: Use sourceware.org.
17700
c483f6b4
JM
177012012-04-09 Joseph Myers <joseph@codesourcery.com>
17702
d7dd9453
JM
17703 [BZ #13873]
17704 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17705 (__ieee754_pow): Generate overflow and underflow using huge*huge
17706 and tiny*tiny rather than just returning constant infinity or zero
17707 for large exponents.
17708 * math/libm-test.inc (pow_test): Require overflow exceptions for
17709 applicable cases of large exponents.
17710
c483f6b4
JM
17711 [BZ #706]
17712 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17713 (__ieee754_pow): Use iterative multiplication algorithm only for
17714 integer exponents with absolute value below 1024. Check for odd
17715 integer exponents when using algorithm for real exponents.
17716 * math/libm-test.inc (pow_test): Add more tests.
17717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17718
d2de7579
JM
177192012-04-08 Joseph Myers <joseph@codesourcery.com>
17720
17721 [BZ #13705]
17722 * math/libm-test.inc (exp_test): Do not allow overflow exception
17723 on underflow test.
17724
f77f1232
AJ
177252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17726
17727 [BZ #13705]
17728 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17729 instead of __kernel_standard_f.
17730
3884932b
MF
177312012-04-08 Mike Frysinger <vapier@gentoo.org>
17732
17733 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17734 * sysdeps/x86_64/memset_chk.S: Likewise.
17735
54472e9c
AJ
177362012-04-08 Andreas Jaeger <aj@suse.de>
17737
6ab0fbfc
AJ
17738 [BZ #10153]
17739 * manual/startup.texi (Environment Access): Describe return value
17740 for putenv and setenv.
17741
61efba8c
AJ
17742 [BZ #6895]
17743 * manual/filesys.texi (Directory Entries): Add description for
17744 DT_LNK.
17745
95c3f29a
AJ
17746 [BZ #6890]
17747 * manual/filesys.texi (Directory Entries): Clarify that it's file
17748 system not operating system in the description of DT_UNKNOWN.
17749
54472e9c
AJ
17750 [BZ #6578]
17751 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17752
624254b1
SC
177532012-04-08 Stephen Compall <s11@member.fsf.org>
17754
17755 [BZ #6649]
17756 * manual/llio.texi (Opening and Closing Files): Add cross
17757 reference to explain mode argument.
17758
1e4920e0
MF
177592012-04-07 Mike Frysinger <vapier@gentoo.org>
17760
17761 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17762 * sysdeps/x86_64/memset_chk.S: Likewise.
17763
5ed848f3
DM
177642012-04-07 David S. Miller <davem@davemloft.net>
17765
17766 * elf/elf.h (R_SPARC_WDISP10): Define.
17767 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17768 R_SPARC_SIZE32.
17769 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17770 R_SPARC_SIZE64 and R_SPARC_H34.
17771
96154cd8
CD
177722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17773
17774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17775 conditions and remove no longer applicable assertion.
17776
9904dc47
L
177772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17778
17779 * bits/byteswap.h: Include <features.h>.
17780 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17781 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17782
f8887d0a
L
177832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17784
17785 * bits/byteswap.h (__bswap_16): Removed.
17786 Include <bits/byteswap-16.h> to get __bswap_16.
17787 * sysdeps/i386/bits/byteswap.h: Likewise.
17788 * sysdeps/s390/bits/byteswap.h: Likewise.
17789 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17790 * bits/byteswap-16.h: New file.
17791 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17792 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17793 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17794 * string/Makefile (headers): Add bits/byteswap-16.h.
17795
62470f60
PP
177962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17797
17798 [BZ #13895]
17799 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17800 extra indirection.
17801 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17802 * nss/tst-nss-static.c: New.
17803
4dad7bab
RM
178042012-04-06 Robert Millan <rmh@gnu.org>
17805
17806 [BZ #6486]
17807 * manual/llio.texi (File Position Primitive): lseek
17808 refers to WHENCE when it really means OFFSET.
17809
e9142a17
AJ
178102012-04-06 Andreas Jaeger <aj@suse.de>
17811
2c040eff
AJ
17812 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17813 strncmp declarations.
17814
e9142a17
AJ
17815 * abilist/libc.abilist: Add __poll and __ppoll.
17816
ff9f1c5f
DM
178172012-04-05 David S. Miller <davem@davemloft.net>
17818
dcd2ae90
DM
17819 * scripts/check-local-headers.sh: Accept a host triplet in the
17820 path matched by the exclude regexp.
17821
993eb054
DM
17822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17823 definition.
17824 * sysdeps/powerpc/powerpc32/dl-machine.h
17825 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17826 * sysdeps/s390/s390-32/dl-machine.h
17827 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17828 * sysdeps/sparc/sparc32/dl-machine.h
17829 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17830 * sysdeps/sparc/sparc64/dl-machine.h
17831 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17832
ff9f1c5f
DM
17833 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17834 lazy binding.
48e2e132 17835 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17836 undefined symbol errors.
17837
48e2e132 17838 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17839 DT_NEEDED entries.
17840
e80d6f94
MM
178412012-04-05 Michael Matz <matz@suse.de>
17842
17843 [BZ #13592]
17844 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17845
349fa79f
AJ
178462012-04-05 Andreas Jaeger <aj@suse.de>
17847
17848 [BZ #13908]
17849 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17850 comment.
17851
f402708f
KK
178522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17853
17854 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17855 which ROUND is no valid rounding mode.
17856
2ecccfc9
KK
178572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17858
17859 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17860 read again.
17861 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17862
8a53f50f
KK
178632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17864
17865 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17866 an exception using FPU order intentionally.
17867
178682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17869
17870 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17871 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17872 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17873 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17874
d653abb7
SJ
178752012-04-05 Simon Josefsson <simon@josefsson.org>
17876
17877 [BZ #12340]
17878 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17879 EINVAL when BUFLEN is too smal.
17880
c3b1bf7d
TS
178812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17882
17883 [BZ #13553]
17884 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17885 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17886
b1aa60f3
AJ
178872012-04-03 Andreas Jaeger <aj@suse.de>
17888
c3b1bf7d 17889 [BZ #13938]
67f60a26
AJ
17890 * manual/setjmp.texi (System V contexts): Fix sentence.
17891
b1aa60f3
AJ
17892 [BZ #13926]
17893 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17894 New macro for this case.
17895 [!__GNUC__] (__bswap_64): New inline function for this case.
17896 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17897 * bits/byteswap.h: Likewise.
17898 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17899 ull, guard with __GLIBC_HAVE_LONG_LONG.
17900
17901 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17902 __GLIBC_HAVE_LONG_LONG.
17903
17904 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17905 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17906
39c59c35
TMQMF
179072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17908
17909 [BZ #13691]
17910 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17911 inptr and inend, rather than using last_ch.
17912
135ffda8
DM
179132012-04-02 David S. Miller <davem@davemloft.net>
17914
17915 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17916 * stdio-common/printf-parse.h (read_int): Change return type to
17917 'int', return -1 on INT_MAX overflow.
17918 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17919 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17920 overflows INT_MAX. Check for overflow of in-format-string precision
17921 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17922 SIZE_MAX not INT_MAX for integer overflow test.
17923 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17924 skip the construct in the format string but do not record anything.
17925 * stdio-common/bug22.c: Adjust to test both width/prevision
17926 INT_MAX overflow as well as total length INT_MAX overflow. Check
17927 explicitly for proper errno values.
17928
228c019e
TS
179292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17930
302cadd3
TS
17931 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17932 CHAR_MAX.
17933 * string/test-strcmp.c [! WIDE]: Likewise.
17934 * time/tst-mktime2.c: Likewise for INT_MAX.
17935 * string/test-string.h: #include <sys/param.h> for MIN.
17936
228c019e
TS
17937 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17938 * sysdeps/i386/init-first.c (init): Likewise.
17939 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17940 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17941 * sysdeps/sh/init-first.c (init): Likewise.
17942
cfa633f5
UD
179432012-04-01 Ulrich Drepper <drepper@gmail.com>
17944
17945 * po/ru.po: Update from translation team.
d1635ef8 17946 * po/vi.po: Likewise.
cfa633f5 17947
6cd0a5ea
SP
179482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17949
17950 * resolv/nss_dns/dns-host.c: Merge copyright years.
17951
4b43400f
LD
179522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17953
17954 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17955 Optimize memcpy with prefetch if
17956 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17957 src, dst pointers have unequal 16 byte alignments.
17958
48c41d04
SP
179592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17960
17961 [BZ #13928]
17962 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17963 from a CNAME entry and return the minimum ttl for the query.
17964 (gaih_getanswer_slice): Likewise.
17965
b8dc394d
JL
179662012-03-30 Jeff Law <law@redhat.com>
17967
17968 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17969 due to long keys.
17970 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17971 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17972
2f5a5ed0
JL
17973 * resolv/nss_dns/dns-host.c: Update copyright year.
17974
1d39e359
UD
179752012-03-30 Ulrich Drepper <drepper@gmail.com>
17976
c030f70c 17977 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17978 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17979
1d39e359
UD
17980 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17981 comments for sendmmsg.
17982
179832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17984
17985 [BZ #13691]
17986 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17987 with only 1 character between 0x0041 and 0x01b0.
17988 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17989 * wcsmbs/tst-mbsnrtowcs.c: New file.
17990
20fde227
DM
179912012-03-29 David S. Miller <davem@davemloft.net>
17992
17993 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17994 small copies by hand.
17995
984a4237
JL
179962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17997
17998 [BZ #13761]
17999 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18000 _nss_compat_initgroups_dyn): Fall back to malloc/free
18001 for large group memberships.
18002
18c9d62b
DM
180032012-03-28 David S. Miller <davem@davemloft.net>
18004
88d85d4f
DM
18005 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18006 that branches into memcpy.
18007 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18009 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18010 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18012 bits.
18013 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18014 implementation too.
18015 * sysdeps/sparc/mempcpy.S: New file.
18016
e5aa83e1
DM
18017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18018 the IFUNC routine in the libc case.
18019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18020
88570753
DM
18021 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18022 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18023 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18024 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18025 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18026 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18027 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18028 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18029
249d7567
DM
18030 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18031 loop to 256 bytes instead of 64 bytes and fix test signedness.
18032
18c9d62b
DM
18033 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18034 * sysdeps/sparc/sparc32/Makefile: rather than here...
18035 * sysdeps/sparc/sparc64/Makefile: and here.
18036
05f3d1f6
UD
180372012-03-28 Ulrich Drepper <drepper@gmail.com>
18038
18039 * malloc/mallocbug.c: Avoid warnings about unused variables.
18040
86ae07a8
JL
180412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18042
18043 [BZ #13760]
18044 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18045 in the right place. Discard and retry query if response is
18046 larger than input buffer size.
18047
41bf21a1
JM
180482012-03-28 Joseph Myers <joseph@codesourcery.com>
18049
d6270972
JM
18050 [BZ #369]
18051 [BZ #2678]
18052 [BZ #3866]
18053 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18054 x for large integer exponent.
18055 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18056 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18057 sign of result as needed afterwards.
18058 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18059 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18060 result for underflowing pow the same as for overflow.
18061 (__kernel_standard_l): Handle powl overflow and underflow here
18062 rather than calling __kernel_standard.
18063 * math/libm-test.inc (pow_test): Add more tests.
18064
414fca03 18065 [BZ #3868]
41bf21a1
JM
18066 [BZ #13879]
18067 [BZ #13910]
18068 [BZ #13911]
18069 [BZ #13912]
18070 [BZ #13913]
18071 [BZ #13915]
18072 [BZ #13916]
18073 [BZ #13917]
18074 [BZ #13918]
18075 [BZ #13919]
18076 [BZ #13920]
18077 [BZ #13921]
18078 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18079 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18080 (__kernel_standard_l): New function.
18081 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18082 __kernel_standard.
18083 * math/w_acosl.c (__acosl): Likewise.
18084 * math/w_asinl.c (__asinl): Likewise.
18085 * math/w_atan2l.c (__atan2l): Likewise.
18086 * math/w_atanhl.c (__atanhl): Likewise.
18087 * math/w_coshl.c (__coshl): Likewise.
18088 * math/w_exp10l.c (__exp10l): Likewise.
18089 * math/w_exp2l.c (__exp2l): Likewise.
18090 * math/w_fmodl.c (__fmodl): Likewise.
18091 * math/w_hypotl.c (__hypotl): Likewise.
18092 * math/w_j0l.c (__j0l, __y0l): Likewise.
18093 * math/w_j1l.c (__j1l, __y1l): Likewise.
18094 * math/w_jnl.c (__jnl, __ynl): Likewise.
18095 * math/w_lgammal.c (__lgammal): Likewise.
18096 * math/w_log10l.c (__log10l): Likewise.
18097 * math/w_log2l.c (__log2l): Likewise.
18098 * math/w_logl.c (__logl): Likewise.
18099 * math/w_powl.c (__powl): Likewise.
18100 * math/w_remainderl.c (__remainderl): Likewise.
18101 * math/w_scalbl.c (sysv_scalbl): Likewise.
18102 * math/w_sinhl.c (__sinhl): Likewise.
18103 * math/w_sqrtl.c (__sqrtl): Likewise.
18104 * math/w_tgammal.c (__tgammal): Likewise.
18105 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18106 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18107 * math/libm-test.inc (acos_test): Add more tests.
18108 (acosh_test): Likewise.
18109 (asin_test): Likewise.
18110 (atanh_test): Likewise.
18111 (exp_test): Likewise.
18112 (exp10_test): Likewise.
18113 (exp2_test): Likewise.
18114 (expm1_test): Likewise.
18115 (lgamma_test): Likewise.
18116 (log_test): Likewise.
18117 (log10_test): Likewise.
18118 (log1p_test): Likewise.
18119 (log2_test): Likewise.
18120 (pow_test): Do not allow some spurious overflow exceptions.
18121 (sqrt_test): Add more tests.
18122 (tgamma_test): Likewise.
18123 (y0_test): Likewise.
18124 (y1_test): Likewise.
18125 (yn_test): Likewise.
18126
dd62fda6
AB
181272012-03-27 Anton Blanchard <anton@samba.org>
18128
18129 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18130 MAP_HUGETLB.
18131 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18134
1e3cdfda
AJ
181352012-03-27 David S. Miller <davem@davemloft.net>
18136
b855ab85
DM
18137 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18138
1e3cdfda
AJ
18139 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18140 have-as-vis3 check.
18141
181422012-03-27 Andreas Jaeger <aj@suse.de>
18143
18144 * sysdeps/x86_64/elf/configure.in: Moved to ...
18145 * sysdeps/x86_64/configure.in: ... here.
18146 * sysdeps/x86_64/elf/start.S: Moved to ...
18147 * sysdeps/x86_64/start.S: ... here.
18148 * sysdeps/x86_64/elf/configure: Delete.
18149
18150 * sysdeps/x86_64/configure.in: Merge contents from
18151 sysdeps/i386/configure.in (without i686 check).
18152
18153 * sysdeps/i386/elf/Versions: Merge into ...
18154 * sysdeps/i386/Versions: ... this.
18155 * sysdeps/i386/elf/Versions: Delete file.
18156 * sysdeps/i386/elf/start.S: Moved to ...
18157 * sysdeps/i386/start.S: ...here.
18158 * sysdeps/i386/elf/configure.in: Merge into...
18159 * sysdeps/i386/configure.in: ...here.
18160 * sysdeps/i386/elf/configure.in: Delete file.
18161 * sysdeps/i386/elf/configure: Delete file.
18162
18163 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18164 * debug/backtracesyms.c: ... here.
18165 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18166 * debug/backtracesymsfd.c: ... here.
18167 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18168 * sysdeps/generic/ifunc-sel.h: ... here.
18169
18170 * sysdeps/unix/i386/start.c: Delete file.
18171 * sysdeps/unix/sparc/start.c: Delete file.
18172 * sysdeps/unix/start.c: Delete file.
18173
18174 * sysdeps/sh/elf/configure.in: Moved to ...
18175 * sysdeps/sh/configure.in: ... here.
18176 * sysdeps/sh/elf/start.S: Moved to ...
18177 * sysdeps/sh/start.S: ... here.
18178 * sysdeps/sh/elf/configure: Delete file.
18179
18180 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18181 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18182 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18183 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18184 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18185 * sysdeps/powerpc/powerpc64/start.S: here.
18186 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18187 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18188 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18189 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18190 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18191
18192 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18193 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18194 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18195 * sysdeps/powerpc/powerpc32/start.S: ... here.
18196 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18197 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18198 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18199
18200 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18201 * sysdeps/powerpc/ifunc-sel.h: ... here.
18202 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18203 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18204
18205 * sysdeps/sparc/elf/configure.in: Moved to ...
18206 * sysdeps/sparc/configure.in: ... here.
18207 * sysdeps/sparc/elf/configure: Delete file.
18208 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18209 * sysdeps/sparc/sparc32/start.S: ... here.
18210 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18211 * sysdeps/sparc/sparc64/start.S: ... here.
18212 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18213 * sysdeps/sparc/sparc32/Makefile: ... this.
18214 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18215 * sysdeps/sparc/sparc64/Makefile: ... this.
18216
18217 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18218 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18219 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18220 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18221 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18222 * sysdeps/s390/s390-32/setjmp.S: ... here.
18223 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18224 * sysdeps/s390/s390-32/configure.in: ... here.
18225 * sysdeps/s390/s390-32/elf/configure: Delete file.
18226 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18227 * sysdeps/s390/s390-32/start.S: ... here.
18228
18229 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18230 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18231 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18232 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18233 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18234 * sysdeps/s390/s390-64/setjmp.S: ... here.
18235 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18236 * sysdeps/s390/s390-64/configure.in: ... here
18237 * sysdeps/s390/s390-64/elf/configure: Delete file.
18238 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18239 * sysdeps/s390/s390-64/start.S: ... here.
18240 * sysdeps/s390/s390-64/elf/configure: Delete.
18241
18242 * configure.in: Remove support for elf directories in sysdeps.
18243
18244 * configure: Regenerated.
18245 * sysdeps/i386/configure: Regenerated.
18246 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18247 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18248 * sysdeps/s390/s390-32/configure: Regenerated.
18249 * sysdeps/s390/s390-64/configure: Regenerated.
18250 * sysdeps/sh/configure: Regenerated.
18251 * sysdeps/sparc/configure: Regenerated.
18252 * sysdeps/x86_64/configure: Regenerated.
18253
a3f61311
AS
182542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18255
c876e002
AS
18256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18257
a3f61311
AS
18258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18259 denormal result into account.
18260
ac4c54f0
RM
182612012-03-25 Roland McGrath <roland@hack.frob.com>
18262
18263 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18264 Reported by Allan McRae <allan@archlinux.org>.
18265
6a9b9c02
JL
182662012-03-23 Jeff Law <law@redhat.com>
18267
18268 * nss/getnssent.c (__nss_getent): Fix typo.
18269
4c42a0c1
DM
182702012-03-23 David S. Miller <davem@davemloft.net>
18271
18272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18273
1532c7ac
L
182742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18275
18276 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18277 to pad to uint64_t for each field.
18278 (dl_tls_index): Replace unsigned long with uint64_t.
18279
3ff42526
PP
182802012-03-23 Daniel Jacobowitz <dmj@google.com>
18281 Paul Pluzhnikov <ppluzhnikov@google.com>
18282
18283 [BZ #6528]
18284 * grp/Makefile (otherlibs): Don't set it.
18285 * inet/Makefile (otherlibs): Likewise.
18286 * login/Makefile (otherlibs): Likewise.
18287 * nscd/Makefile (otherlibs): Likewise.
18288 * posix/Makefile (otherlibs): Likewise.
18289 * pwd/Makefile (otherlibs): Likewise.
18290 * rt/Makefile (otherlibs): Likewise.
18291 * sunrpc/Makefile (otherlibs): Likewise.
18292 * nss/Makefile (otherlibs): Likewise.
18293 Add libnss_files to routines and static-only-routines.
18294 ($(objpfx)getent): Remove rule.
18295 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18296 static-only-routines.
18297
7c69cd14
JM
182982012-03-22 Joseph Myers <joseph@codesourcery.com>
18299
18300 [BZ #13892]
18301 * math/s_cexp.c: Include <float.h>.
18302 (__cexp): Handle exp result overflowing not necessarily
18303 overflowing both real and imaginary parts of result.
18304 * math/s_cexpf.c: Likewise.
18305 * math/s_cexpl.c: Likewise.
18306 * math/libm-test.inc (cexp_test): Add more tests.
18307 * sysdeps/i386/fpu/libm-test-ulps: Update.
18308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18309
81b035fe
L
183102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18311
18312 * include/link.h (ELFW): New macro.
18313 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18314 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18315
1da7940c
L
183162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18317
18318 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18319 with uint64_t.
18320
b749dbb9
L
183212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18322
18323 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18324 declaration.
18325 (struct La_x32_retval): Likewise.
18326
2ff87f3f
L
183272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18328
18329 * sysdeps/x86_64/preconfigure.in: New file.
18330 * sysdeps/x86_64/preconfigure: New generated file.
18331
c0df8e69
JM
183322012-03-22 Joseph Myers <joseph@codesourcery.com>
18333
48e44791
JM
18334 [BZ #13824]
18335 * math/e_exp2l.c: Include <float.h>.
18336 (__ieee754_exp2l): Handle overflow and underflow cases
18337 separately. Only pass fractional part of argument to
18338 __ieee754_expl.
18339 * math/libm-test.inc (exp2_test): Add more tests.
18340
c0df8e69
JM
18341 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18342 negating x to take absolute value.
18343 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18344 Likewise.
18345 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18347 Likewise.
18348 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18349 computing low part if x was negated.
18350 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18351
c8e43ba7
L
183522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18353
18354 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18355 la_x32_gnu_pltexit.
18356 (pltexit): Cast int_retval to ptrdiff_t.
18357 * elf/tst-auditmod3b.c: Likewise.
18358 * elf/tst-auditmod4b.c: Likewise.
18359 * elf/tst-auditmod5b.c: Likewise.
18360 * elf/tst-auditmod6b.c: Likewise.
18361 * elf/tst-auditmod6c.c: Likewise.
18362 * elf/tst-auditmod7b.c: Likewise.
18363
18364 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18365 and x32_gnu_pltexit.
18366
18367 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18368 __ELF_NATIVE_CLASS.
18369 (La_x32_regs): New macro.
18370 (La_x32_retval): Likewise.
18371 (la_x32_gnu_pltenter): New function prototype.
18372 (la_x32_gnu_pltexit): Likewise.
18373
7998fa78
AS
183742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18375
dcb33988
AS
18376 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18377 exponent.
18378
233fc563
AS
18379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18380
7998fa78
AS
18381 * configure.in (libc_cv_cc_nofma): Check for option to disable
18382 generation of FMA instructions.
18383 * configure: Regenerate.
18384 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18385 * sysdeps/ieee754/dbl-64/Makefile: New file.
18386 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18387 Remove brandred-fma4.
18388 (CFLAGS-brandred-fma4.c): Remove.
18389 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18390 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18391 define.
18392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18393 define.
18394
8e95c99a
L
183952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18396
18397 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18398 LLONG_MAX != LONG_MAX.
18399 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18400 (_fitoa_word): Likewise.
18401 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18402 LLONG_MAX != LONG_MAX.
18403 * stdio-common/_itowa.h: Include <_itoa.h>.
18404 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18405 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18406 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18407 only if not defined.
18408 (_ITOA_WORD_TYPE): Likewise.
18409 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18410 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18411
6f4db457
DM
184122012-03-21 David S. Miller <davem@davemloft.net>
18413
18414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18415
7785fe5a
L
184162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18417
18418 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18419 of x86_64 when setting libc_cv_slibdir, libdir and
18420 libc_cv_localedir.
18421 * sysdeps/unix/sysv/linux/configure: Regenerated.
18422
4535cd55
JM
184232012-03-21 Joseph Myers <joseph@codesourcery.com>
18424
18425 * manual/lang.texi (Old Varargs): Remove section.
18426 (How Variadic): Update menu.
18427 (va_start): Do not mention varargs.h.
18428
17228132
TS
184292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18430 Joseph Myers <joseph@codesourcery.com>
18431
18432 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18433 link test.
18434 * configure: Regenerated.
18435
8149f976
TS
184362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18437
05f3d1f6
UD
18438 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18439 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18440 conformtest.pl
8149f976 18441
1a4ac776
JM
184422012-03-21 Joseph Myers <joseph@codesourcery.com>
18443
be22ce65
JM
18444 * NOTES: Remove.
18445 * Makefile (files-for-dist): Remove NOTES.
18446 (NOTES): Remove rule.
18447 * README: Don't refer to NOTES.
18448 * manual/creature.texi: Don't include macros.texi.
18449 * manual/intro.texi (creature.texi): Remove comment referring to
18450 NOTES.
18451
40b601fb
JM
18452 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18453 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18454 * configure: Regenerated.
18455 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18456 LIBC_TRY_CC_OPTION.
18457 (libc_cv_as_i686): Likewise.
18458 (libc_cv_cc_avx): Likewise.
18459 (libc_cv_cc_sse2avx): Likewise.
18460 (libc_cv_cc_fma4): Likewise.
18461 (libc_cv_cc_novzeroupper): Likewise.
18462 * sysdeps/i386/configure: Regenerated.
18463
1a4ac776
JM
18464 [BZ #13883]
18465 * sysdeps/i386/fpu/s_cexp.S: Remove.
18466 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18467 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18468 * math/libm-test.inc (cexp_test): Add more tests.
18469 * sysdeps/i386/fpu/libm-test-ulps: Update.
18470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18471
a458e7fe
AM
184722012-03-21 Allan McRae <allan@archlinux.org>
18473
18474 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18475
0cb7efc5
JM
184762012-03-21 Joseph Myers <joseph@codesourcery.com>
18477
18478 [BZ #13871]
18479 * math/w_exp2.c: Do not include <float.h>.
18480 (o_threshold, u_threshold): Remove.
18481 (__exp2): Calculate result before checking finiteness and calling
18482 __kernel_standard.
18483 * math/w_exp2f.c: Likewise.
18484 * math/w_exp2l.c: Likewise.
18485 * math/libm-test.inc (exp2_test): Require overflow exception for
18486 1e6 input.
2460d3aa
JM
18487
18488 [BZ #3866]
18489 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18490 range of signed 64-bit integers before using fistpll. Remove
18491 checks for whether integers fit in mantissa bits.
18492 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18493 the range of signed 32-bit integers before using fistpl. Remove
18494 checks for whether integers fit in mantissa bits.
18495 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18496 (__ieee754_powl): Test for y outside the range of signed 64-bit
18497 integers before using fistpll. Reduce 64-bit values to 63-bit
18498 ones as needed.
18499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18500 divide-by-zero is raised for zero to large negative powers.
18501 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18502 (__ieee754_powl): Test for y outside the range of signed 64-bit
18503 integers before using fistpll. Reduce 64-bit values to 63-bit
18504 ones as needed.
18505 * math/libm-test.inc (pow_test): Add more tests.
18506
eb96ffb0
L
185072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18508
18509 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18510 <stdio-common/_itoa.h>.
18511 * debug/segfault.c: Likewise.
18512 * elf/dl-cache.c: Likewise.
18513 * elf/dl-minimal.c: Likewise.
18514 * elf/dl-misc.c: Likewise.
18515 * elf/dl-sysdep.c: Likewise.
18516 * elf/dl-version.c: Likewise.
18517 * elf/rtld.c: Likewise.
18518 * hurd/hurdsock.c: Likewise.
18519 * hurd/lookup-retry.c: Likewise.
18520 * malloc/malloc.c: Likewise.
18521 * malloc/mtrace.c: Likewise.
18522 * nscd/nscd_getgr_r.c: Likewise.
18523 * nscd/nscd_getpw_r.c: Likewise.
18524 * nscd/nscd_getserv_r.c: Likewise.
18525 * posix/getopt_init.c: Likewise.
18526 * posix/wordexp.c: Likewise.
18527 * stdio-common/_itoa.c: Likewise.
18528 * stdio-common/printf_fphex.c: Likewise.
18529 * stdio-common/vfprintf.c: Likewise.
18530 * string/_strerror.c: Likewise.
18531 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18532 * sysdeps/i386/i686/hp-timing.h: Likewise.
18533 * sysdeps/mach/_strerror.c: Likewise.
18534 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18535 * sysdeps/mach/hurd/sethostid.c: Likewise.
18536 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18537 * sysdeps/mach/xpg-strerror.c: Likewise.
18538 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18539 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18540 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18541 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18542 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18543 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18544 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18545 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18546 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18547 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18548 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18549 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18550 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18551 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18552 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18553 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18554 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18555 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18556 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18557 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18558 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18559
18560 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18561
18562 * stdio-common/_itoa.h: Moved to ...
18563 * sysdeps/generic/_itoa.h: Here.
18564
18565 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18566
18567 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18568 instead of "_itoa.h" and "_itowa.h".
18569 * stdio-common/vfprintf.: Likewise.
18570
d1af992d
L
185712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18572
18573 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18574 <bits/wordsize.h>.
18575 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18576 (__signbit): Likwise.
18577 (llrintf): Likwise.
18578 (llrint): Likwise.
18579
114883e0
L
185802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18581
18582 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18583 __WORDSIZE != 64.
18584
c135cc1b
JM
185852012-03-20 Joseph Myers <joseph@codesourcery.com>
18586
18587 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18588 OVERFLOW_EXCEPTION_OK.
18589 * math/libm-test.inc ("Philosophy"): Update comment about
18590 exception testing.
18591 (OVERFLOW_EXCEPTION): Define.
18592 (OVERFLOW_EXCEPTION_OK): Likewise.
18593 (INVALID_EXCEPTION_OK): Renumber.
18594 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18595 (IGNORE_ZERO_INF_SIGN): Likewise.
18596 (test_exceptions): Handle FE_OVERFLOW.
18597 (exp10_test): Expect overflow exceptions.
18598 (exp2_test): Likewise.
18599 (expm1_test): Likewise.
18600 (nextafter_test): Likewise.
18601 (pow_test): Likewise.
18602 (scalbn_test): Likewise.
18603 (scalbln_test): Likewise.
18604
95443d88
L
186052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18606
18607 * sysdeps/x86_64/bits/atomic.h
18608 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18609 64bit integer.
18610 (atomic_exchange_acq): Likewise.
18611 (__arch_exchange_and_add_body): Likewise.
18612 (__arch_add_body): Likewise.
18613 (atomic_add_negative): Likewise.
18614 (atomic_add_zero): Likewise.
18615
490df6c4
L
186162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18617
c2722551 18618 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18619 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18620
5e52b189
L
186212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18622
18623 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18624 Check __x86_64__ instead of __WORDSIZE.
18625
a9879d4c
L
186262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18627
18628 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18629
5df98260
DM
186302012-03-19 David S. Miller <davem@davemloft.net>
18631
e1497744
DM
18632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18633
5df98260
DM
18634 * sysdeps/sparc/fpu/fenv_private.h: New file.
18635 * sysdeps/sparc/fpu/math_private.h: Use it.
18636 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18637 Remove.
18638 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18639 (libc_feholdexcept_setroundl): Remove.
18640 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18641 Remove.
18642 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18643 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18644
b4c35121
L
186452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18646
18647 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18648 int64_t instead of long int.
18649 (INSERT_WORDS64): Likwise.
18650
56965fd7
L
186512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18652
18653 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18654 _Unwind_GetCFA return to _Unwind_Ptr first.
18655
83d1aec8
JM
186562012-03-19 Joseph Myers <joseph@codesourcery.com>
18657
1897ad44
JM
18658 [BZ #13629]
18659 * math/s_clog.c: Include <float.h>.
18660 (__clog): Scale large or subnormal inputs.
18661 * math/s_clogf.c: Likewise.
18662 * math/s_clogl.c: Likewise.
18663 * math/s_clog10.c: Include <float.h>.
18664 (M_LOG10_2): Define.
18665 (__clog10): Scale large or subnormal inputs.
18666 * math/s_clog10f.c: Likewise.
18667 * math/s_clog10l.c: Likewise.
18668 * math/libm-test.inc (clog_test): Add more tests.
18669 (clog10_test): Likewise.
18670 * sysdeps/i386/fpu/libm-test-ulps: Update.
18671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18672
7726d6a9
JM
18673 [BZ #11451]
18674 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18675 x and y.
18676 * math/libm-test.inc (atan2_test): Add another test.
18677
83d1aec8
JM
18678 * Makerules (common-objdir-compile): Remove.
18679 * sysdeps/unix/Makefile (config-generated): Do not add
18680 $(unix-generated) to variable.
18681 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18682 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18683 Remove rule.
18684 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18685 Likewise.
18686 [generic bits/local_lim.h] (before-compile): Do not append to
18687 variable.
18688 [generic bits/local_lim.h] (common-generated): Likewise.
18689 [generic sys/param.h] (before-compile): Do not append to variable.
18690 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18691 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18692 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18693 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18694 include.
18695 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18696 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18697 [generic sys/param.h] ($(addprefix
18698 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18699 [generic sys/param.h] (common-generated): Do not append to
18700 variable.
18701 [generic sys/param.h] (sysdep_headers): Likewise.
18702 [generic bits/errno.h] (before-compile): Do not append to
18703 variable.
18704 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18705 rule.
18706 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18707 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18708 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18709 [generic bits/errno.h] (common-generated): Do not append to
18710 variable.
18711 [generic bits/ioctls.h] (before-compile): Do not append to
18712 variable.
18713 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18714 rule.
18715 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18716 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18717 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18718 rule.
18719 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18720 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18721 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18722 [generic bits/ioctls.h] (common-generated): Do not append to
18723 variable.
18724 [generic sys/syscall.h] (syscall.h): Remove variable.
18725 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18726 rule.
18727 [generic sys/syscall.h] (before-compile): Do not append to
18728 variable.
18729 [generic sys/syscall.h] (common-generated): Likewise.
18730 * sysdeps/unix/errnos-tmpl.c: Remove file.
18731 * sysdeps/unix/errnos.awk: Likewise.
18732 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18733 * sysdeps/unix/ioctls.awk: Likewise.
18734 * sysdeps/unix/mk-local_lim.c: Likewise.
18735 * sysdeps/unix/snarf-ioctls: Likewise.
18736
4851a949
RH
187372012-03-19 Richard Henderson <rth@twiddle.net>
18738
bd37f2ee
RH
18739 * sysdeps/i386/fpu/fenv_private.h: New file.
18740 * sysdeps/i386/fpu/math_private.h: Use it.
18741 (math_opt_barrier, math_force_eval): Remove.
18742 (libc_feholdexcept_setround_53bit): Remove.
18743 (libc_feupdateenv_53bit): Remove.
18744 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18745 (math_opt_barrier, math_force_eval): Remove.
18746 (libc_feholdexcept): Remove.
18747 (libc_feholdexcept_setround): Remove.
18748 (libc_fetestexcept, libc_fesetenv): Remove.
18749 (libc_feupdateenv_test): Remove.
18750 (libc_feupdateenv, libc_feholdsetround): Remove.
18751 (libc_feresetround): Remove.
18752
d0adc922
RH
18753 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18754 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18755
0fe0f1f8
RH
18756 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18757 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18758 (libc_feupdateenv_testl): New.
18759 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18760 (libc_feupdateenv_testf): New.
18761 (libc_feupdateenv): Use libc_feupdateenv_test.
18762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18763 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18764
eb92c487
RH
18765 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18766 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18767 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18768 (libc_feresetround_noex): New.
18769 (libc_feresetround_noexf): New.
18770 (libc_feresetround_noexl): New.
18771 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18772 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18773 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18774 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18775 SET_RESTORE_ROUND.
18776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18777 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18778 (__cos): Likewise.
18779 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18780 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18781 SET_RESTORE_ROUND_NOEX.
18782 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18783 SET_RESTORE_ROUND_NOEXF.
18784 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18785 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18786 (libc_feholdsetroundf): New.
18787 (libc_feresetround, libc_feresetroundf): New.
18788
7d2e8012
RH
18789 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18790 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18791 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18792
b4dabbb4
RH
18793 * sysdeps/generic/math_private.h: Include <fenv.h>.
18794 (default_libc_feholdexcept): New.
18795 (default_libc_feholdexcept_setround): New.
18796 (default_libc_fesetenv, default_libc_feupdateenv): New.
18797 (libc_feholdexcept): Only define if undefined.
18798 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18799 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18800 (libc_feholdexcept_setroundl): Likewise.
18801 (libc_feholdexcept_setround_53bit): Likewise.
18802 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18803 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18804 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18805 (libc_feupdateenv_53bit): Likewise.
18806 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18807 (libc_feholdexcept): Convert from macro to inline function.
18808 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18809 (libc_fesetenv, libc_feupdateenv): Likewise.
18810
4851a949
RH
18811 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18812 not previously defined.
18813 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18814 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18815 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18816 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18817 * sysdeps/ieee754/flt-32/math_private.h: New file.
18818 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18819 math_private.h below SET_FLOAT_WORD.
18820 (__isnan, __isinf_ns, __finite): Remove.
18821 (__isnanf, __isinf_nsf, __finitef): Remove.
18822
e79d442e
AS
188232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18824
18825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18826
90b80344
DM
188272012-03-17 David S. Miller <davem@davemloft.net>
18828
18829 [BZ #6471]
18830 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18831 for 2.16.
18832
edc21804
DM
188332012-03-16 David S. Miller <davem@davemloft.net>
18834
77e927af
DM
18835 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18836 warnings.
18837
374976dd
DM
18838 [BZ #6471]
18839 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18840 properly.
18841 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18842 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18843 sysdep_routines when subdir is sysvipc.
18844 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18845 __getshmlba helper.
18846
edc21804
DM
18847 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18848
473c3ef3
L
188492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18850
18851 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18852 [__LP64__].
18853
eb0f39b6
L
188542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18855
18856 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18857 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18858 (__lround): Renamed to ...
18859 (__llround): This. Replace long int with long long int.
18860 Define lround functions as aliases of llround functions.
18861 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18862
6b6cd74b
L
188632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18864
18865 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18866 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18867 adresses to uintptr_t. Replace "long int" and "unsigned long
18868 int" with "greg_t" on va_arg.
18869
f1a77b01
L
188702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18871
18872 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18873 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18874
18875 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18876 Move e_machine check before EI_CLASS check. Handle x32
18877 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18878 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18879 SKIP_EM_IA_64 and include
18880 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18881
18882 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18883 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18884 (add_system_dir): New macro.
18885
18886 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18887 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18888
11b90b9f
JM
188892012-03-16 Joseph Myers <joseph@codesourcery.com>
18890
c36e1d23
JM
18891 [BZ #2551]
18892 [BZ #2552]
18893 [BZ #2553]
18894 [BZ #2554]
18895 [BZ #2562]
18896 [BZ #2563]
18897 [BZ #2565]
18898 [BZ #2566]
18899 [BZ #2576]
18900 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18901 (y0): Likewise.
18902 * math/w_j0f.c (j0f): Likewise.
18903 (y0f): Likewise.
18904 * math/w_j0l.c (__j0l): Likewise.
18905 (__y0l): Likewise.
18906 * math/w_j1.c (j1): Likewise.
18907 (y1): Likewise.
18908 * math/w_j1f.c (j1f): Likewise.
18909 (y1f): Likewise.
18910 * math/w_j1l.c (__j1l): Likewise.
18911 (__y1l): Likewise.
18912 * math/w_jn.c (jn): Likewise.
18913 (yn): Likewise.
18914 * math/w_jnf.c (jnf): Likewise.
18915 (ynf): Likewise.
18916 * math/w_jnl.c (__jnl): Likewise.
18917 (__ynl): Likewise.
18918 * math/libm-test.inc (j0_test): Add more tests.
18919 (j1_test): Likewise.
18920 (jn_test): Likewise. Add trailing semicolon to existing test.
18921 (y0_test): Likewise.
18922 (y1_test): Likewise.
18923 * sysdeps/i386/fpu/libm-test-ulps: Update.
18924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925
11b90b9f
JM
18926 [BZ #13851]
18927 [BZ #13854]
18928 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18929 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18930 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18931 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18932 (__tanl): Set errno for infinite argument.
18933 * sysdeps/i386/fpu/mptan.c: Remove.
18934 * sysdeps/i386/fpu/s_tan.S: Likewise.
18935 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18936 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18937 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18938 * math/libm-test.inc (tan_test): Add more tests and enable more
18939 tests for double and long double.
18940 * sysdeps/i386/fpu/libm-test-ulps: Update.
18941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18942
6a1bd2a1
JK
189432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18944
18945 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18946 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18947
10a803e0
RM
189482012-03-16 Roland McGrath <roland@hack.frob.com>
18949
18950 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18951 * configure.in: Use it for both main tree and add-ons.
18952 * configure: Regenerated.
18953
f196c7f7
L
189542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18955
18956 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18957
8848d99d
JM
189582012-03-16 Joseph Myers <joseph@codesourcery.com>
18959
96cbe7f4
JM
18960 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18961 in comment.
18962
8848d99d
JM
18963 [BZ #13851]
18964 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18965 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18966 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18967 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18968 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18969 infinite argument.
18970 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18972 != 0 for prec == 2.
18973 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18974 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18975 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18976 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18977 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18978 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18979 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18980 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18981 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18982 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18983 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18984 * math/libm-test.inc (cos_test): Add more tests and enable more
18985 tests for long double.
18986 (sin_test): Likewise.
18987 (sincos_test): Likewise.
18988 * sysdeps/i386/fpu/libm-test-ulps: Update.
18989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18990
dd7f4703
DM
189912012-03-16 David S. Miller <davem@davemloft.net>
18992
18993 * sysdeps/sparc/fpu/math_private.h: New file.
18994
006f1daa
DM
189952012-03-15 David S. Miller <davem@davemloft.net>
18996
c0c83bc8
DM
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18998 file.
e6a62e18 18999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19001 file.
e6a62e18
DM
19002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19008 sysdep routines.
19009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19010
88cb87d9
DM
19011 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19012 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19013
006f1daa 19014 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
19015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19016 sparc-ifunc.h
006f1daa 19017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
19018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19019 Likewise.
19020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19021 Likewise.
006f1daa
DM
19022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
19025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19026 Likewise.
006f1daa
DM
19027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
19031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19032 Likewise.
19033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19034 Likewise.
006f1daa
DM
19035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19059
11e0098e
AS
190602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19061
19062 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19063 scaling.
19064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19065
e85b09d0
AJ
190662012-03-15 Andreas Jaeger <aj@suse.de>
19067
19068 [BZ #13852]
19069 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19070 ieee754/flt-32 implementation for sin, cos and sincos.
19071 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19072 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19073 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19074 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19075 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19076 ieee754/flt-32 implementation for tan.
19077
19078 * math/libm-test.inc (cos_test): Enable some large input tests for
19079 float as well
19080 (sin_test): Likewise.
19081 (sincos_test): Likewise.
19082 (tan_test): Add tests for large input.
19083
19084 * sysdeps/i386/fpu/libm-test-ulps: Update.
19085
81c64153
AJ
190862012-03-15 Andreas Jaeger <aj@suse.de>
19087
19088 [BZ #13658]
19089 * math/libm-test.inc (cos_test): Add more test cases.
19090 (sin_test): Likewise.
19091 (sincos_test): Likewise.
19092
7bbfa5c6
AJ
190932012-03-15 Andreas Jaeger <aj@suse.de>
19094
19095 [BZ #13837]
19096 * math/libm-test.inc (cos_test): Add a test case for large input
19097 value.
19098 (sin_test): Likewise.
19099 (sincos_test): Likewise.
19100
191012012-03-15 Andreas Jaeger <aj@suse.de>,
19102 Joseph Myers <joseph@codesourcery.com>
19103
19104 [BZ #13658]
0671f479 19105 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19106 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19107 * sysdeps/i386/fpu/branred.c: Likewise.
19108 * sysdeps/i386/fpu/dosincos.c: Likewise.
19109 * sysdeps/i386/fpu/mpa.c: Likewise.
19110 * sysdeps/i386/fpu/s_cos.S: Likewise.
19111 * sysdeps/i386/fpu/s_sin.S: Likewise.
19112 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19113 * sysdeps/i386/fpu/sincos32.c: Likewise.
19114
19115 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19116 Define.
19117 (libc_feupdateenv_53bit): Define.
19118 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19119 Define.
19120 (libc_feupdateenv_53bit): Define.
19121
19122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19123 53 bit (without extend i386 double precision).
19124
19125 * math/libm-test.inc (sincos_test): Add tests for large input.
19126 (sin): Likewise.
19127 (cos): Likewise.
19128
19129 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19130
9cad04ea
AS
191312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19132
19133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19134
f7062b9a
DM
191352012-03-15 David S. Miller <davem@davemloft.net>
19136
19137 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19138 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19139 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19140 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19153 file.
f7062b9a 19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19156 file.
f7062b9a 19157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19159 file.
f7062b9a 19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19162 file.
f7062b9a
DM
19163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19165 fmin/fmax sysdep routines.
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19167
7bd951ff
DM
191682012-03-14 David S. Miller <davem@davemloft.net>
19169
559398ab
DM
19170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19196 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19199 routines.
19200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19201 file.
559398ab 19202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19204 file.
559398ab 19205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19207 file.
559398ab 19208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19210 file.
559398ab 19211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19213 file.
559398ab 19214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19216 file.
19217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19218 file.
19219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19220 file.
19221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19222 file.
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19224 New file.
19225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19226 file.
19227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19228 file.
559398ab 19229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19231 file.
559398ab 19232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19234 file.
559398ab 19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19237 file.
559398ab 19238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19240 VIS3 routines.
559398ab
DM
19241
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19243 New file.
19244
5a1c1e32
DM
19245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19246
eae47a36
DM
19247 * sysdeps/sparc/configure.in: New file.
19248 * sysdeps/sparc/configure: Generate.
19249 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19250 * configure: Regenerate.
19251 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19252 * config.make.in (have-as-vis3): New.
19253 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19254 available use -Av9d instead of -Av9a.
19255 * sysdeps/sparc/sparc64/Makefile: Likewise.
19256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19258 New file.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19260 file.
19261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19262 New file.
19263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19264 file.
eae47a36
DM
19265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19268 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19270
c0c83bc8
DM
19271 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19272 fzeros/fnegs to load 0x80000000 into a float register instead of
19273 using the stack.
7bd951ff
DM
19274 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19275
bd951ccb
JM
192762012-03-14 Joseph Myers <joseph@codesourcery.com>
19277
19278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19279 bits/syscall.h.
19280 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19281 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19282 ($(inst_includedir)/bits/syscall.h): Remove rule.
19283 ($(objpfx)bits/syscall.d): Include instead of
19284 $(objpfx)syscall-list.d.
19285 (generated): Change syscall-list.h and syscall-list.d to
19286 bits/syscall.h and bits/syscall.d.
19287
bb4e6db2
RM
192882012-03-14 Roland McGrath <roland@hack.frob.com>
19289
19290 [BZ #13846]
19291 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19292
aa4a2ae1
JM
192932012-03-14 Joseph Myers <joseph@codesourcery.com>
19294
e456826d
JM
19295 [BZ #13841]
19296 * math/s_csqrt.c: Include <float.h>.
19297 (__csqrt): Scale large or subnormal inputs.
19298 * math/s_csqrtf.c: Likewise.
19299 * math/s_csqrtl.c: Likewise.
19300 * math/libm-test.inc (csqrt_test): Add more tests.
19301 * sysdeps/i386/fpu/libm-test-ulps: Update.
19302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19303
aa4a2ae1
JM
19304 [BZ #13840]
19305 * math/libm-test.inc (hypot_test): Add more tests.
19306
7c10fd35
DM
193072012-03-13 David S. Miller <davem@davemloft.net>
19308
19309 [BZ #13840]
19310 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19311 double-precision for the calculation instead of scaling.
19312
f453b98b
JM
193132012-03-13 Joseph Myers <joseph@codesourcery.com>
19314
19315 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19316 manipulate bits before adding and subtracting TWO52[sx].
19317 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19318 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19319 Likewise.
19320 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19321
09a3453f
DM
193222012-03-13 David S. Miller <davem@davemloft.net>
19323
8e59da90
DM
19324 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19325 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19327 rtld-global-offsets.h
19328 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19329
2a8ab7f2
DM
19330 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19331 large parameters.
19332
10f62770
DM
19333 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19334
5f0bdb18
DM
19335 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19336 'err' in the ifdef scope in which it is actually used.
19337
09a3453f
DM
19338 * nss/nss_db/db-init.c: Include string.h
19339
b4b2eb5e
DM
193402012-03-12 David S. Miller <davem@davemloft.net>
19341
98bb2f1c
DM
19342 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19343 masking out of the most significant byte of random value used.
19344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19345 Fix coding style in previous change.
19346
b4b2eb5e
DM
19347 * sysdeps/unix/sysv/linux/kernel-features.h
19348 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19349 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19350 expression.
19351 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19352 later.
19353
6e226b09
DM
193542012-03-11 David S. Miller <davem@davemloft.net>
19355
a1bcbd40
DM
19356 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19357 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19359 for 'resultvar' otherwise things get truncated on 64-bit.
19360
cb9d6174
DM
19361 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19362 Fix masking out of the most significant byte of random value used.
19363
6e226b09
DM
19364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19365
058c132d
AS
193662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19367
19368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19369
2d2cd515
DM
193702012-03-09 David S. Miller <davem@davemloft.net>
19371
19372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19373 variables with appropriate CPP guards.
19374 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19375 frame pointer, not the stack pointer. Correct layout comments. Fix test
19376 on resulting framesize and the management of the outregs buffer for pltexit.
19377 Preserve floating point return values across _dl_call_pltexit call.
19378 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19379 framesize and the management of the outregs buffer for pltexit.
19380 Preserve floating point return values across _dl_call_pltexit
19381 call.
19382 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19383 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19384 (print_exit): Fix format string for return register value.
19385
9a07f9d0
JM
193862012-03-10 Joseph Myers <joseph@codesourcery.com>
19387
19388 * sunrpc/Makefile (others): Add rpcgen.
19389 ($(objpfx)rpcgen): Remove special build rule and dependency on
19390 libc.
19391 * sunrpc/rpcgen.c: New file.
19392
547b5e30
PE
193932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19394
c524201a
PE
19395 [BZ #13673]
19396 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19397 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19398 * sysdeps/i386/crti.S: Likewise.
19399 * sysdeps/i386/crtn.S: Likewise.
19400 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19401 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19402 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19403 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19404 * sysdeps/sh/crti.S: Likewise.
19405 * sysdeps/sh/crtn.S: Likewise.
19406 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19407
7b6235f2
PE
19408 [BZ #13673]
19409 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19410 with URL.
19411 * locale/programs/locfile-kw.gperf: Likewise.
19412 * locale/programs/charmap-kw.h: Regenerated.
19413 * locale/programs/locfile-kw.h: Likewise.
19414
547b5e30
PE
19415 [BZ #13673]
19416 * intl/plural.y: Replace FSF snail mail address with URL.
19417 * intl/plural.c: Regenerated.
19418
5f0a5dae
RH
194192012-03-09 Richard Henderson <rth@twiddle.net>
19420
19421 * include/math_private.h: Remove file.
19422 * math/math_private.h: Move file ...
19423 * sysdeps/generic/math_private.h: ... here.
19424
b8c03620
RH
19425 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19426 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19427 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19428
4e234f5d 19429 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19430 and <math_private.h>.
19431 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19432 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19433 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19434 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19435 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19449 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19453 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19455 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19456 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19457 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19458 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19461 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19463 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19464 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19465 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19466 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19467 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19468 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19469 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19470 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19471 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19472 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19473 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19474 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19475 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19476 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19477 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19478 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19479 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19480 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19481 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19482 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19483 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19484 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19485 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19486 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19488 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19489 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19490 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19491 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19492 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19494 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19495 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19496 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19497 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19498 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19499 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19500 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19501 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19502 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19503 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19504 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19505 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19508 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19510 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19512 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19513 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19514 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19515 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19516 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19518 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19519 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19520 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19521 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19522 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19523 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19524 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19525 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19526 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19531 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19532 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19533 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19534 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19535 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19536 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19537 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19538 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19539 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19541 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19542 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19543 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19544 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19545 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19546 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19547 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19548 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19549 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19550 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19551 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19552 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19553 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19554 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19555 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19556 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19557 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19558 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19559 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19560 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19561 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19562 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19563 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19564 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19565 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19566 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19567 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19568 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19569 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19570 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19571 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19572 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19573 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19574 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19575 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19576 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19577 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19578 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19579 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19580 * sysdeps/ieee754/k_standard.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19614 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19623 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19627 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19628 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19630 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19631 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19632 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19633 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19636 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19638 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19640 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19648 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19656 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19658 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19659 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19660 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19661 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19662 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19663 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19665 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19666 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19667 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19668 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19672 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19674 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19675 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19676 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19677 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19678 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19679 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19680 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19682 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19683 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19684 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19685 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19688 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19689 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19690 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19691 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19692 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19693 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19694 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19695 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19696 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19697 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19698 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19699 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19700 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19701 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19702 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19703 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19704 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19705 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19706 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19708 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19709 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19710 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19711 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19712 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19713 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19714 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19715 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19716 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19717 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19718 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19719 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19720 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19723 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19724 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19725 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19726 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19727 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19729 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19730 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19731 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19736 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19739 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19741 * sysdeps/ieee754/s_lib_version.c: Likewise.
19742 * sysdeps/ieee754/s_matherr.c: Likewise.
19743 * sysdeps/ieee754/s_signgam.c: Likewise.
19744 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19745 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19746 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19747 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19748 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19749 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19750 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19751 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19752 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19753 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19754 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19755 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19756 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19757 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19758 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19759 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19760 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19761 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19762 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19763 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19765
1991fa03
JM
197662012-03-09 Joseph Myers <joseph@codesourcery.com>
19767
19768 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19769 * sunrpc/rpc_main.c: Likewise.
19770 * sunrpc/rpc_svcout.c: Likewise.
19771
60d6f5a6
DM
197722012-03-09 David S. Miller <davem@davemloft.net>
19773
19774 * include/math_private.h: New file.
19775
4962050e
JM
197762012-03-09 Joseph Myers <joseph@codesourcery.com>
19777
02a6f887
JM
19778 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19779 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19780 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19781 from <bits/socket_type.h>.
19782 (enum __socket_type): Don't define here.
19783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19785 bits/socket_type.h.
19786
c6e013c1
JM
19787 [BZ #13566]
19788 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19789 checking __USE_GNU.
19790
4962050e
JM
19791 * Makerules ($(inst_includedir)/%.h): New rule.
19792 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19793 (install-others): Remove variable setting.
19794 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19795
38842f45
RH
197962012-03-08 Richard Henderson <rth@twiddle.net>
19797
67bb6da6
RH
19798 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19799 from macro to inline function; merge with the
19800 !__LIBC_INTERNAL_MATH_INLINES version.
19801 (__ieee754_sqrtf): Likewise.
19802
15194b4b
RH
19803 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19804 to inline function.
19805 (__rintf, __floor, __floorf): Likewise.
19806
64e21ede
RH
19807 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19808 macro to inline function.
19809 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19810
38842f45
RH
19811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19812 not <math/math_private.h>.
19813
c64bf5fe
DM
198142012-03-08 David S. Miller <davem@davemloft.net>
19815
19816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19817 copyright year.
19818 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19819
82d86f28
TS
198202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19821
19822 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19823 normalization.
19824 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19825 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19826
aea5d727
UD
198272012-03-08 Ulrich Drepper <drepper@gmail.com>
19828
19829 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19830 be defined individually, they must be defined as a block. Define
19831 S for printing a string instead of hidint the different by using a
19832 macro for adding the 'l'.
19833 * stdio-common/tst-fphex-wide.c: Adjust.
19834
70bca0a3
MP
198352012-03-07 Marek Polacek <polacek@redhat.com>
19836
19837 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19838
65b81130
MP
198392012-03-08 Marek Polacek <polacek@redhat.com>
19840
19841 [BZ #13806]
19842 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19843 * stdio-common/tst-fphex.c: Define a few macros to make the
19844 test reusable. Use them.
19845 * stdio-common/tst-fphex-wide.c: New file.
19846
07037eeb
JM
198472012-03-08 Joseph Myers <joseph@codesourcery.com>
19848
a7a93d50
JM
19849 [BZ #6911]
19850 * manual/macros.texi (gnusystems): New macro.
19851 (nongnusystems): Likewise.
19852 (gnulinuxhurdsystems): Likewise.
19853 (gnuhurdsystems): Likewise..
19854 (gnulinuxsystems): Likewise.
19855 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19856 variants of the GNU system, not "GNU system".
19857 * manual/conf.texi: Likewise.
19858 * manual/errno.texi: Likewise. Update example of errno macro
19859 expansion.
19860 * manual/filesys.texi: Likewise.
19861 (getumask): Document as specific to GNU/Hurd.
19862 * manual/install.texi: Likewise. Reword some references to
19863 GNU/Linux.
19864 * manual/intro.texi: Likewise.
19865 * manual/io.texi: Likewise.
19866 (File Name Portability): Detail which constraints are inapplicable
19867 to all GNU systems and which are only inapplicable to GNU/Hurd.
19868 * manual/job.texi: Likewise.
19869 * manual/llio.texi: Likewise.
19870 (O_NOCTTY): Document as present on GNU/Linux.
19871 * manual/maint.texi: Likewise.
19872 * manual/memory.texi: Likewise.
19873 * manual/pattern.texi: Likewise.
19874 * manual/pipe.texi: Likewise.
19875 * manual/process.texi: Likewise.
19876 * manual/resource.texi: Likewise.
19877 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19878 child on GNU/Hurd.
19879 * manual/setjmp.texi: Likewise.
19880 * manual/signal.texi: Likewise.
19881 * manual/startup.texi: Likewise.
19882 * manual/stdio.texi: Likewise.
19883 * manual/terminal.texi: Likewise.
19884 (ONLCR): Document as POSIX.
19885 (OXTABS): Document availability on GNU/Linux as XTABS.
19886 (ONOEOT): Document availability separately from other bits.
19887 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19888 * manual/time.texi: Likewise.
19889 * manual/users.texi: Likewise.
19890 * INSTALL: Regenerated.
19891 * sysdeps/gnu/errlist.c: Regenerated.
19892
07037eeb
JM
19893 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19894 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19895 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19896 puts.
19897 * configure: Regenerated.
19898
d1d3431a
JM
198992012-03-07 Joseph Myers <joseph@codesourcery.com>
19900
af6a1e37
JM
19901 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19902 default includes instead of AC_HEADER_CHECK.
19903 * sysdeps/i386/configure: Regenerated.
19904
d1d3431a
JM
19905 [BZ #10716]
19906 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19907 * math/s_cacoshf.c (__cacoshf): Likewise.
19908 * math/s_cacoshl.c (__cacoshl): Likewise.
19909 * math/s_casinh.c (__casinh): Set signs of result from argument.
19910 * math/s_casinhf.c (__casinhf): Likewise.
19911 * math/s_casinhl.c (__casinhl): Likewise.
19912 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19913 (casinh_test): Add more tests.
19914 * sysdeps/i386/fpu/libm-test-ulps: Update.
19915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19916
482ff4da
UD
199172012-03-07 Ulrich Drepper <drepper@gmail.com>
19918
872fda05
UD
19919 * po/zh_TW.po: Update from translation team.
19920
a4300c7a
UD
19921 * login/Makefile (distribute): Remove variable.
19922 * catgets/Makefile: Likewise.
19923 * mach/Makefile: Likewise.
19924 * malloc/Makefile: Likewise.
19925 * misc/Makefile: Likewise.
19926 * iconv/Makefile: Likewise.
19927 * nscd/Makefile: Likewise.
19928 * hurd/Makefile: Likewise.
19929 * manual/Makefile: Likewise.
19930 * locale/Makefile: Likewise.
19931 * intl/Makefile: Likewise.
19932 * conform/Makefile: Likewise.
19933 * nss/Makefile: Likewise.
19934 * time/Makefile: Likewise.
19935 * soft-fp/Makefile: Likewise.
19936 * dirent/Makefile: Likewise.
19937 * gmon/Makefile: Likewise.
19938 * po/Makefile: Likewise.
19939 * rt/Makefile: Likewise.
19940 * socket/Makefile: Likewise.
19941 * math/Makefile: Likewise.
19942 * signal/Makefile: Likewise.
19943 * debug/Makefile: Likewise.
19944 * elf/Makefile: Likewise.
19945 * timezone/Makefile: Likewise.
19946 * stdlib/Makefile: Likewise.
19947 * iconvdata/Makefile: Likewise.
19948 * sunrpc/Makefile: Likewise.
19949 * io/Makefile: Likewise.
19950 * argp/Makefile: Likewise.
19951 * inet/Makefile: Likewise.
19952 * hesiod/Makefile: Likewise.
19953 * grp/Makefile: Likewise.
19954 * csu/Makefile: Likewise.
19955 * wctype/Makefile: Likewise.
19956 * crypt/Makefile: Likewise.
19957 * libio/Makefile: Likewise.
19958 * string/Makefile: Likewise.
19959 * nis/Makefile: Likewise.
19960 * resolv/Makefile: Likewise.
19961 * stdio-common/Makefile: Likewise.
19962 * wcsmbs/Makefile: Likewise.
19963 * dlfcn/Makefile: Likewise.
19964 * posix/Makefile: Likewise.
19965
3b7c4e74 19966 [BZ #6959]
482ff4da
UD
19967 * timezone/Makefile: Don't install timezone files, just the programs
19968 and scripts.
19969
f72ed77d
UD
199702012-03-06 Ulrich Drepper <drepper@gmail.com>
19971
a000466f
UD
19972 * nss/databases.def: Add missing gshadow entry.
19973
f72ed77d
UD
19974 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19975
a53b7a4e
MP
199762012-03-06 Marek Polacek <polacek@redhat.com>
19977
19978 [BZ #13726]
19979 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19980 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19981 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19982 * stdio-common/tst-long-dbl-fphex.c: New file.
19983
e9258400
DM
199842012-03-06 David S. Miller <davem@davemloft.net>
19985
19986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19987 (set_obp_int): New function.
19988 (get_obp_int): New function.
19989 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19990 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19991 Avoid unused variable warnings on 'val' and use builtin_expect.
19992 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19993 __builtin_expect.
e9258400
DM
19994 (INLINE_CLONE_SYSCALL): Likewise.
19995
3bd2c723
DM
199962012-03-05 David S. Miller <davem@davemloft.net>
19997
19998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19999
bbb78d03
AS
200002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20001
884c5db4
AS
20002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20003
bbb78d03
AS
20004 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20005 only for |x| >= 40.
20006 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20007
1c9f702a 200082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
20009
20010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20011 Replace gettimeofday with __vdso_gettimeofday.
20012
7be16f82
RM
20013 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20014 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20015 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
20016
20017 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20018 time with __vdso_time.
20019
ed58a00f
JM
200202012-03-05 Joseph Myers <joseph@codesourcery.com>
20021
20022 * manual/lang.texi (size_t): Note types to which size_t may be
20023 equivalent with the GNU C Library, but do not describe when
20024 differences between them are significant.
20025
30ee4ced
AJ
200262012-03-05 Andreas Jaeger <aj@suse.de>
20027
20028 * sysdeps/i386/fpu/libm-test-ulps: Update.
20029
b7cd39e8
JM
200302012-03-05 Joseph Myers <joseph@codesourcery.com>
20031
20032 [BZ #3976]
20033 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20034 (__ieee754_pow): Save and restore rounding mode and use
20035 round-to-nearest for main computations.
20036 * math/libm-test.inc (pow_test_tonearest): New function.
20037 (pow_test_towardzero): Likewise.
20038 (pow_test_downward): Likewise.
20039 (pow_test_upward): Likewise.
20040 (main): Call the new functions.
20041 * sysdeps/i386/fpu/libm-test-ulps: Update.
20042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
20043
20044 [BZ #3976]
20045 * math/libm-test.inc (cosh_test_tonearest): New function.
20046 (cosh_test_towardzero): Likewise.
20047 (cosh_test_downward): Likewise.
20048 (cosh_test_upward): Likewise.
20049 (sinh_test_tonearest): Likewise.
20050 (sinh_test_towardzero): Likewise.
20051 (sinh_test_downward): Likewise.
20052 (sinh_test_upward): Likewise.
20053 (main): Call the new functions.
20054 * sysdeps/i386/fpu/libm-test-ulps: Update.
20055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20056
6c6a98c9
TV
200572012-03-05 Tom de Vries <tom@codesourcery.com>
20058
20059 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20060 default stack guard is set in last bytes.
20061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20062
21bb2d2e 200632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 20064
21bb2d2e 20065 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 20066
21bb2d2e
AJ
20067 [BZ #13656]
20068 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20069 possibly allocate from heap instead of stack.
20070 * stdio-common/bug-vfprintf-nargs.c: New file.
20071 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 20072
c6922934
AS
200732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20074
20075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20076
bc957d53
MP
200772012-03-03 Marek Polacek <polacek@redhat.com>
20078
20079 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20080 * math/math_private.h: Likewise.
20081 * stdlib/tst-strtod.c: Likewise.
20082 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20083 * sysdeps/x86_64/bits/atomic.h: Likewise.
20084
6358490d
DM
200852012-03-02 David S. Miller <davem@davemloft.net>
20086
20087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20091 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20092 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20093 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20094 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20095
01ae168d
RM
200962012-03-02 Roland McGrath <roland@hack.frob.com>
20097
d9a17c07
RM
20098 [BZ #13792]
20099 * manual/examples/README: New file, says the example source files
20100 can be used under GPL>=2.
20101 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20102 line containing just "*/".
20103 * manual/examples/add.c: Add copyright header (GPL>=2).
20104 * manual/examples/argp-ex1.c: Likewise.
20105 * manual/examples/argp-ex2.c: Likewise.
20106 * manual/examples/argp-ex3.c: Likewise.
20107 * manual/examples/argp-ex4.c: Likewise.
20108 * manual/examples/atexit.c: Likewise.
20109 * manual/examples/db.c: Likewise.
20110 * manual/examples/dir.c: Likewise.
20111 * manual/examples/dir2.c: Likewise.
20112 * manual/examples/execinfo.c: Likewise.
20113 * manual/examples/filecli.c: Likewise.
20114 * manual/examples/filesrv.c: Likewise.
20115 * manual/examples/fmtmsgexpl.c: Likewise.
20116 * manual/examples/genpass.c: Likewise.
20117 * manual/examples/inetcli.c: Likewise.
20118 * manual/examples/inetsrv.c: Likewise.
20119 * manual/examples/isockad.c: Likewise.
20120 * manual/examples/longopt.c: Likewise.
20121 * manual/examples/memopen.c: Likewise.
20122 * manual/examples/memstrm.c: Likewise.
20123 * manual/examples/mkfsock.c: Likewise.
20124 * manual/examples/mkisock.c: Likewise.
20125 * manual/examples/mygetpass.c: Likewise.
20126 * manual/examples/pipe.c: Likewise.
20127 * manual/examples/popen.c: Likewise.
20128 * manual/examples/rprintf.c: Likewise.
20129 * manual/examples/search.c: Likewise.
20130 * manual/examples/select.c: Likewise.
20131 * manual/examples/setjmp.c: Likewise.
20132 * manual/examples/sigh1.c: Likewise.
20133 * manual/examples/sigusr.c: Likewise.
20134 * manual/examples/stpcpy.c: Likewise.
20135 * manual/examples/strdupa.c: Likewise.
20136 * manual/examples/strftim.c: Likewise.
20137 * manual/examples/strncat.c: Likewise.
20138 * manual/examples/subopt.c: Likewise.
20139 * manual/examples/swapcontext.c: Likewise.
20140 * manual/examples/termios.c: Likewise.
20141 * manual/examples/testopt.c: Likewise.
20142 * manual/examples/testpass.c: Likewise.
20143 * manual/examples/timeval_subtract.c: Likewise.
20144
01ae168d
RM
20145 [BZ #13792]
20146 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20147 function to ...
20148 * manual/timeval_subtract.c.texi: ... here, new file.
20149
49efa33d
DM
201502012-03-02 David S. Miller <davem@davemloft.net>
20151
20152 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20153
28afd92d
JM
201542012-03-02 Joseph Myers <joseph@codesourcery.com>
20155
804360ed
JM
20156 [BZ #3976]
20157 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20158 (__sin): Save and restore rounding mode and use round-to-nearest
20159 for all computations.
20160 (__cos): Save and restore rounding mode and use round-to-nearest
20161 for all computations.
20162 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20163 <fenv.h>.
20164 (tan): Save and restore rounding mode and use round-to-nearest for
20165 all computations.
20166 * math/libm-test.inc (cos_test_tonearest): New function.
20167 (cos_test_towardzero): Likewise.
20168 (cos_test_downward): Likewise.
20169 (cos_test_upward): Likewise.
20170 (sin_test_tonearest): Likewise.
20171 (sin_test_towardzero): Likewise.
20172 (sin_test_downward): Likewise.
20173 (sin_test_upward): Likewise.
20174 (tan_test_tonearest): Likewise.
20175 (tan_test_towardzero): Likewise.
20176 (tan_test_downward): Likewise.
20177 (tan_test_upward): Likewise.
20178 (main): Call the new functions.
20179 * sysdeps/i386/fpu/libm-test-ulps: Update.
20180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20181
a6d06d7b
JM
20182 [BZ #10135]
20183 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20184 small n, then large n, before computing and testing k+n.
20185 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20187 Likewise.
20188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20189 Likewise.
20190 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20191 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20194 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20195 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20196 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20197 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20198 * math/libm-test.inc (scalbn_test): Add more tests.
20199 (scalbln_test): Likewise.
20200
07e12bb3
JM
20201 * manual/filesys.texi (mode_t): Describe constraints on size and
20202 signedness, not exact equivalence to a particular type.
20203 (ino_t): Likewise.
20204 (ino64_t): Likewise.
20205 (dev_t): Likewise.
20206 (nlink_t): Likewise.
20207 (blkcnt_t): Likewise.
20208 (blkcnt64_t): Likewise.
20209 * manual/llio.texi (off_t): Likewise.
20210
28afd92d
JM
20211 [BZ #3976]
20212 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20213 (__ieee754_exp): Save and restore rounding mode and use
20214 round-to-nearest for all computations.
20215 * math/libm-test.inc (exp_test_tonearest): New function.
20216 (exp_test_towardzero): Likewise.
20217 (exp_test_downward): Likewise.
20218 (exp_test_upward): Likewise.
20219 (main): Call the new functions.
20220 * sysdeps/i386/fpu/libm-test-ulps: Update.
20221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20222
b1eeb65d
CD
202232012-03-01 Chris Demetriou <cgd@google.com>
20224
20225 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20226 have predictable order.
20227
53362a4b
DM
202282012-03-01 David S. Miller <davem@davemloft.net>
20229
3c969083
DM
20230 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20231
759707de
DM
20232 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20233 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20234 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20235 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20236
dfdb8ff2
DM
20237 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20238 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20239 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20241 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20242 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20243 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20244 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20245 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20246
ead89f96
DM
20247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20248
7f66bd07
DM
20249 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20250 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20252
53362a4b
DM
20253 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20254 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20255 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20256 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20257 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20260 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20261 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20262 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20263 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20264 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20266 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20267 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20269 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20270 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20271 * sysdeps/sparc/elf/configure: Regenerated.
20272
7b1902cb
JM
202732012-03-01 Joseph Myers <joseph@codesourcery.com>
20274
bec039bc
JM
20275 * configure.in (AS, LD): Require binutils 2.20 or later.
20276 * configure: Regenerated.
20277 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20278 as required minimum version.
20279 * INSTALL: Regenerated.
20280
7b1902cb
JM
20281 [BZ #2541]
20282 [BZ #4108]
20283 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20284 before squaring exponent.
20285 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20286 bottom long double and 27 bits of top long double before squaring
20287 exponent.
20288 * math/libm-test.inc (erfc_test): Add more tests.
20289 * sysdeps/i386/fpu/libm-test-ulps: Update.
20290 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20292
f775c276
KT
202932012-03-01 Kai Tietz <ktietz@redhat.com>
20294
20295 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20296 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20297 containing bit-fields.
20298 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20299 * soft-fp/single.h (_FP_UNION_S): Likewise.
20300 * soft-fp/double.h (_FP_UNION_D): Likewise.
20301
5b8a4d4a
JM
203022012-02-29 Joseph Myers <joseph@codesourcery.com>
20303
0bab47b6
JM
20304 [BZ #13786]
20305 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20306 not include ../strcmp.S.
20307 [USE_AS_STRNCASECMP_L]: Likewise.
20308 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20309 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20310 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20311 (__strncasecmp_l_ia32): Define as alias to
20312 __strncasecmp_l_nonascii.
20313
0fcad3e2
JM
20314 [BZ #5794]
20315 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20316 * sysdeps/i386/fpu/libm-test-ulps: Update.
20317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20318
5b8a4d4a
JM
20319 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20321
8fdceb2e
JL
203222012-02-29 Jeff Law <law@redhat.com>
20323
20324 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20325 out of bounds read.
20326
1f393a11
MP
203272012-02-29 Marek Polacek <polacek@redhat.com>
20328
20329 [BZ #13706]
20330 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20331 * elf/Makefile: Add rules to run tst-unused-dep.out.
20332
8847f037
DM
203332012-02-28 David S. Miller <davem@davemloft.net>
20334
20335 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20336 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20337 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20339 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20340 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20341
169d7f11
JM
203422012-02-29 Joseph Myers <joseph@codesourcery.com>
20343
20344 * math/libm-test.inc (llround_test): Move one test from
20345 lround_test. Use TEST_f_L in moved test.
20346 (lround_test): Move misplaced test to llround_test. Add testcase
20347 from bug 2561.
20348
39adf059
UD
203492012-02-28 Ulrich Drepper <drepper@gmail.com>
20350
20351 * sysdeps/x86_64/fpu/e_expf.S: New file.
20352 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20353
71b5d1c5
SB
203542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20355
20356 [BZ #13637]
20357 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20358 of remain_len that may cause incomplete multi-byte character and
20359 false match.
20360 * posix/bug-regex33.c: New file.
20361 * posix/Makefile (tests): Add bug-regex33.
20362
1f77f049
JM
203632012-02-28 Joseph Myers <joseph@codesourcery.com>
20364
20365 * manual/macros.texi: New file.
20366 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20367 * manual/libc.texinfo: Include macros.texi.
20368 * manual/creatute.texi: Likewise.
20369 * manual/install.texi: Likewise.
20370 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20371 @glibcadj{} in references to the GNU C Library.
20372 * manual/charset.texi: Likewise.
20373 * manual/conf.texi: Likewise.
20374 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20375 when not using those macros.
20376 * manual/creature.texi: Likewise.
20377 * manual/crypt.texi: Likewise.
20378 * manual/errno.texi: Likewise.
20379 * manual/filesys.texi: Likewise.
20380 * manual/header.texi: Likewise.
20381 * manual/install.texi: Likewise.
20382 * manual/intro.texi: Likewise.
20383 * manual/io.texi: Likewise.
20384 * manual/job.texi: Likewise.
20385 * manual/lang.texi: Likewise.
20386 * manual/libc.texiinfo: Likewise.
20387 * manual/llio.texi: Likewise.
20388 * manual/locale.texi: Likewise.
20389 * manual/maint.texi: Likewise.
20390 * manual/math.texi: Likewise.
20391 * manual/memory.texi: Likewise.
20392 * manual/message.texi: Likewise.
20393 * manual/nss.texi: Likewise.
20394 * manual/pattern.texi: Likewise.
20395 * manual/process.texi: Likewise.
20396 * manual/resource.texi: Likewise.
20397 * manual/search.texi: Likewise.
20398 * manual/setjmp.texi: Likewise.
20399 * manual/signal.texi: Likewise.
20400 * manual/socket.texi: Likewise.
20401 * manual/startup.texi: Likewise.
20402 * manual/stdio.texi: Likewise.
20403 * manual/string.texi: Likewise.
20404 * manual/sysinfo.texi: Likewise.
20405 * manual/syslog.texi: Likewise.
20406 * manual/terminal.texi: Likewise.
20407 * manual/time.texi: Likewise.
20408 * manual/users.texi: Likewise.
20409 * INSTALL: Regenerated.
20410 * NOTES: Regenerated.
d40c5d54 20411 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20412
450bf206
AS
204132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20414
20415 * include/dirent.h: Include <dirstream.h> before
20416 <dirent/dirent.h>.
20417
741a235b
DM
204182012-02-28 David S. Miller <davem@davemloft.net>
20419
20420 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20421 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20422 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20423 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20424
d6b5aa58
DM
204252012-02-27 David S. Miller <davem@davemloft.net>
20426
1aff59a3
DM
20427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20429 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20430 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20431
d6b5aa58
DM
20432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20433 frame pointer instead of stack pointer relative arg slot.
20434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20435 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20436 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20437
433f48bf
CD
204382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20439
20440 [BZ #3992]
20441 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20442
d674b76d
DM
204432012-02-27 David S. Miller <davem@davemloft.net>
20444
20445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20449 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20450 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20451 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20452 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20453
0e7727f7
JM
204542012-02-27 Joseph Myers <joseph@codesourcery.com>
20455
20456 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20457 later. Allow versions 5-9.
43be4ca2 20458 * configure: Regenerated.
0e7727f7
JM
20459 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20460 required minimum version and 4.6 as recommended version. Do not
20461 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20462 * INSTALL: Regenerated.
0e7727f7 20463
a78bc654
DM
204642012-02-27 David S. Miller <davem@davemloft.net>
20465
428d5830
DM
20466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20470 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20471 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20472 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20473 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20474
a78bc654
DM
20475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20476 manipulate bits before adding and subtracting TWO112[sx].
20477 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20478
4579f81c
RM
204792012-02-27 Roland McGrath <roland@hack.frob.com>
20480
36c8acb4
RM
20481 [BZ #13775]
20482 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20483 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20484 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20485 being in POSIX, because they are in 1003.1-2008.
20486
84ad622b
RM
20487 * rt/tst-aio.c: Include <fcntl.h>.
20488 * rt/tst-aio7.c: Likewise.
20489 * rt/tst-aio64.c: Likewise.
20490
4579f81c
RM
20491 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20492
abd923db
JM
204932012-02-27 Joseph Myers <joseph@codesourcery.com>
20494
20495 * manual/install.texi (--with-headers): Describe headers as
20496 interface headers, not private headers.
20497 (Specific advice for GNU/Linux systems): Describe use of headers
20498 from "make headers_install", not private headers from older
20499 kernels.
43be4ca2 20500 * INSTALL: Regenerated.
abd923db
JM
20501 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20502 Change to 2.6.19.
20503 * sysdeps/unix/sysv/linux/configure: Regenerated.
20504
6664049b
JM
20505 * manual/llio.texi (fclean): Remove documentation.
20506
bb8b6697
JM
20507 * manual/Makefile (libc-texi-generated): New variable. Include
20508 version.texi.
20509 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20510 $(libc-texi-generated), not duplicated list of files.
20511 (version.texi, stamp-version): New rules.
20512 (realclean): Remove $(libc-texi-generated), not individual files
20513 from that list. Do not remove dir-add.texinfo.
20514 * manual/libc.texinfo: Comment out uses of edition numbers and
20515 references to printed manual. Remove last-updated dates.
20516 (EDITION): Comment out.
20517 (ISBN): Likewise.
20518 (VERSION, UPDATED): Remove.
20519 (version.texi): Include.
20520
12e5c3b9
AS
205212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20522
20523 * sysdeps/posix/spawni.c: Include <signal.h>.
20524 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20525 * sysdeps/pthread/aio_fsync.c: Likewise.
20526
4efeffc1 205272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20528
ba63ba08
UD
20529 * conform/Makefile (tests): Run only when not cross-compiling and
20530 when fast-check is not defined.
20531
d94a4670
UD
20532 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20533 * conform/data/limits.h-data: Fixes for POSIX2008.
20534 * conform/run-conformtest.sh: Run all tests.
20535 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20536 headers.
20537 * include/bits/dlfcn.h: Likewise.
20538 * include/langinfo.h: Likewise.
20539 * include/monetary.h: Likewise.
20540 * include/sys/poll.h: Likewise.
20541
20542 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20543 for __USE_GNU.
20544 * posix/spawn.h: Define __need_sigset_t.
20545 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20546 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20547 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20548 to get sigevent_t only.
20549 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20550 only for __USE_GNU.
20551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20552 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20553 process_vm_writev only for __USE_GNU.
20554 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20555
20556 * conform/Makefile: For now ignore errors from run-conformtest.
20557 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20558 POSIX to avoid namespace pollution. Don't prepend headers.
20559 * conform/data/aio.h-data: Fixes for POSIX testing.
20560 * conform/data/fcntl.h-data: Likewise.
20561 * conform/data/glob.h-data: Likewise.
20562 * conform/data/grp.h-data: Likewise.
20563 * conform/data/pthread.h-data: Likewise.
20564 * conform/data/pwd.h-data: Likewise.
20565 * conform/data/signal.h-data: Likewise.
20566 * conform/data/spawn.h-data: Likewise.
20567 * conform/data/stdio.h-data: Likewise.
20568 * conform/data/stdlib.h-data: Likewise.
20569 * conform/data/stropts.h-data: Likewise.
20570 * conform/data/sys/mman.h-data: Likewise.
20571 * conform/data/sys/stat.h-data: Likewise.
20572 * conform/data/sys/types.h-data: Likewise.
20573 * conform/data/sys/wait.h-data: Likewise.
20574 * conform/data/time.h-data: Likewise.
20575 * conform/data/unistd.h-data: Likewise.
20576 * conform/data/utime.h-data: Likewise.
20577
20578 * io/sys/stat.h: fchmod was always in POSIX.
20579 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20580 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20581 * rt/aio.h: Define __need_timespec before including <time.h>.
20582 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20583 struct. Add forward declaration of pthread_attr_t and use it in
20584 sigevent.
20585 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20587 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20588 always remove CLK_TCK definition.
20589
c20105c3
AS
205902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20591
20592 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20593
7a270350
UD
205942012-02-25 Ulrich Drepper <drepper@gmail.com>
20595
31341567
UD
20596 * conform/run-conformtest.sh: New file.
20597 * conform/Makefile: Run run-conformtest for tests.
20598 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20599 support.
20600
20601 * conform/data/uchar.h-data: New file.
20602 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20603 * conform/data/arpa/inet.h-data: Likewise.
20604 * conform/data/assert.h-data: Likewise.
20605 * conform/data/complex.h-data: Likewise.
20606 * conform/data/cpio.h-data: Likewise.
20607 * conform/data/ctype.h-data: Likewise.
20608 * conform/data/dirent.h-data: Likewise.
20609 * conform/data/dlfcn.h-data: Likewise.
20610 * conform/data/errno.h-data: Likewise.
20611 * conform/data/fcntl.h-data: Likewise.
20612 * conform/data/float.h-data: Likewise.
20613 * conform/data/fmtmsg.h-data: Likewise.
20614 * conform/data/fnmatch.h-data: Likewise.
20615 * conform/data/ftw.h-data: Likewise.
20616 * conform/data/glob.h-data: Likewise.
20617 * conform/data/grp.h-data: Likewise.
20618 * conform/data/iconv.h-data: Likewise.
20619 * conform/data/inttypes.h-data: Likewise.
20620 * conform/data/langinfo.h-data: Likewise.
20621 * conform/data/libgen.h-data: Likewise.
20622 * conform/data/limits.h-data: Likewise.
20623 * conform/data/locale.h-data: Likewise.
20624 * conform/data/math.h-data: Likewise.
20625 * conform/data/monetary.h-data: Likewise.
20626 * conform/data/mqueue.h-data: Likewise.
20627 * conform/data/ndbm.h-data: Likewise.
20628 * conform/data/net/if.h-data: Likewise.
20629 * conform/data/netdb.h-data: Likewise.
20630 * conform/data/netinet/in.h-data: Likewise.
20631 * conform/data/nl_types.h-data: Likewise.
20632 * conform/data/poll.h-data: Likewise.
20633 * conform/data/pthread.h-data: Likewise.
20634 * conform/data/pwd.h-data: Likewise.
20635 * conform/data/regex.h-data: Likewise.
20636 * conform/data/sched.h-data: Likewise.
20637 * conform/data/search.h-data: Likewise.
20638 * conform/data/semaphore.h-data: Likewise.
20639 * conform/data/setjmp.h-data: Likewise.
20640 * conform/data/signal.h-data: Likewise.
20641 * conform/data/spawn.h-data: Likewise.
20642 * conform/data/stdarg.h-data: Likewise.
20643 * conform/data/stdio.h-data: Likewise.
20644 * conform/data/stdlib.h-data: Likewise.
20645 * conform/data/string.h-data: Likewise.
20646 * conform/data/strings.h-data: Likewise.
20647 * conform/data/stropts.h-data: Likewise.
20648 * conform/data/sys/ipc.h-data: Likewise.
20649 * conform/data/sys/mman.h-data: Likewise.
20650 * conform/data/sys/msg.h-data: Likewise.
20651 * conform/data/sys/resource.h-data: Likewise.
20652 * conform/data/sys/select.h-data: Likewise.
20653 * conform/data/sys/sem.h-data: Likewise.
20654 * conform/data/sys/shm.h-data: Likewise.
20655 * conform/data/sys/socket.h-data: Likewise.
20656 * conform/data/sys/stat.h-data: Likewise.
20657 * conform/data/sys/statvfs.h-data: Likewise.
20658 * conform/data/sys/time.h-data: Likewise.
20659 * conform/data/sys/timeb.h-data: Likewise.
20660 * conform/data/sys/times.h-data: Likewise.
20661 * conform/data/sys/types.h-data: Likewise.
20662 * conform/data/sys/uio.h-data: Likewise.
20663 * conform/data/sys/un.h-data: Likewise.
20664 * conform/data/sys/utsname.h-data: Likewise.
20665 * conform/data/sys/wait.h-data: Likewise.
20666 * conform/data/syslog.h-data: Likewise.
20667 * conform/data/tar.h-data: Likewise.
20668 * conform/data/termios.h-data: Likewise.
20669 * conform/data/utime.h-data: Likewise.
20670 * conform/data/utmpx.h-data: Likewise.
20671 * conform/data/varargs.h-data: Likewise.
20672 * conform/data/wchar.h-data: Likewise.
20673 * conform/data/wctype.h-data: Likewise.
20674 * conform/data/wordexp.h-data: Likewise.
20675
20676 * include/stropts.h: New file.
20677 * include/uchar.h: New file.
20678 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20679 * include/assert.h: Likewise.
20680 * include/ctype.h: Likewise.
20681 * include/dirent.h: Likewise.
20682 * include/dlfcn.h: Likewise.
20683 * include/fcntl.h: Likewise.
20684 * include/fnmatch.h: Likewise.
20685 * include/glob.h: Likewise.
20686 * include/grp.h: Likewise.
20687 * include/libio.h: Likewise.
20688 * include/locale.h: Likewise.
20689 * include/math.h: Likewise.
20690 * include/net/if.h: Likewise.
20691 * include/netdb.h: Likewise.
20692 * include/netinet/in.h: Likewise.
20693 * include/pthread.h: Likewise.
20694 * include/pwd.h: Likewise.
20695 * include/regex.h: Likewise.
20696 * include/sched.h: Likewise.
20697 * include/search.h: Likewise.
20698 * include/setjmp.h: Likewise.
20699 * include/signal.h: Likewise.
20700 * include/stdio.h: Likewise.
20701 * include/stdlib.h: Likewise.
20702 * include/string.h: Likewise.
20703 * include/sys/cdefs.h: Likewise.
20704 * include/sys/mman.h: Likewise.
20705 * include/sys/msg.h: Likewise.
20706 * include/sys/resource.h: Likewise.
20707 * include/sys/select.h: Likewise.
20708 * include/sys/socket.h: Likewise.
20709 * include/sys/stat.h: Likewise.
20710 * include/sys/statvfs.h: Likewise.
20711 * include/sys/time.h: Likewise.
20712 * include/sys/times.h: Likewise.
20713 * include/sys/uio.h: Likewise.
20714 * include/sys/utsname.h: Likewise.
20715 * include/sys/wait.h: Likewise.
20716 * include/termios.h: Likewise.
20717 * include/time.h: Likewise.
20718 * include/ulimit.h: Likewise.
20719 * include/unistd.h: Likewise.
20720 * include/utime.h: Likewise.
20721 * include/wchar.h: Likewise.
20722 * include/wctype.h: Likewise.
20723 * include/wordexp.h: Likewise.
20724
20725 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20726
7a270350
UD
20727 * time/time.h: TIME_UTC must be a macro.
20728 Make timespec_get available for ISO C11 only as well.
20729
7724defc
UD
207302012-02-24 Ulrich Drepper <drepper@gmail.com>
20731
20732 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20733 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20734
6b1d1d46
JM
207352012-02-24 Joseph Myers <joseph@codesourcery.com>
20736
20737 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20738
0f8bbd69
JM
207392012-02-24 Joseph Myers <joseph@codesourcery.com>
20740
20741 * manual/texinfo.tex: Update to version 2012-01-19.16.
20742
66ab80bc
JM
207432012-02-24 Joseph Myers <joseph@codesourcery.com>
20744
20745 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20746
74981cc5
RM
207472012-02-24 Roland McGrath <roland@hack.frob.com>
20748
ee968201
RM
20749 [BZ #13738]
20750 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20751 * manual/fdl-1.3.texi: New file.
20752 * manual/fdl-1.1.texi: File removed.
20753
74981cc5
RM
20754 [BZ #13738]
20755 * manual/libc.texinfo (FDL_VERSION): New @set.
20756 Use it for mention of FDL in cover text.
20757 (Documentation License): Use it in @include file name.
20758
7bb764bc
JM
207592012-02-22 Joseph Myers <joseph@codesourcery.com>
20760 Roland McGrath <roland@hack.frob.com>
20761
20762 [BZ #5461]
20763 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20764 not LONG_LONG_MAX and LONG_LONG_MIN.
20765 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20766 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20767 name.
20768 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20769
6cbeae47
JM
207702012-02-22 Joseph Myers <joseph@codesourcery.com>
20771
20772 [BZ #2547]
20773 [BZ #11365]
20774 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20775 manipulate bits before adding and subtracting TWO23[sx].
20776 * math/libm-test.inc (nearbyint_test): Add more tests.
20777
fe45ce09
JM
207782012-02-22 Joseph Myers <joseph@codesourcery.com>
20779
20780 [BZ #2548]
20781 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20782 bits before adding and subtracting TWO23[sx].
20783 * math/libm-test.inc (rint_test): Add more tests.
20784 (rint_test_tonearest): Likewise.
20785 (rint_test_towardzero): Likewise.
20786 (rint_test_downward): Likewise.
20787 (rint_test_upward: Likewise.
20788
ff3b3d82
JM
207892012-02-22 Joseph Myers <joseph@codesourcery.com>
20790
20791 [BZ #10110]
20792 * include/stdc-predef.h: New file. Extracted from features.h.
20793 * include/features.h: Include stdc-predef.h.
20794 * Makefile (headers): Add stdc-predef.h.
20795 * CONFORMANCE (Compiler limitations): Update.
20796
ef0aab35
JM
207972012-02-22 Joseph Myers <joseph@codesourcery.com>
20798
20799 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20800
58639409
DM
208012012-02-21 David S. Miller <davem@davemloft.net>
20802
20803 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20804 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20805
c0e70b25
DM
208062012-02-20 David S. Miller <davem@davemloft.net>
20807
20808 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20809 using a normal save/restore sequence, rather than allocating a
20810 dummy stack frame just to store a frame pointer and restore.
20811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20812
fb06851d
JM
208132012-02-21 Joseph Myers <joseph@codesourcery.com>
20814
20815 * manual/install.texi: Fix stray word in line-wrapped comment.
20816
7a8b71c3
DM
208172012-02-20 David S. Miller <davem@davemloft.net>
20818
d510c123
DM
20819 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20820 both binutils and gcc support GOTDATA.
20821
0722d7c2
DM
20822 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20823 "rd %pc" in the PIC register setup sequences.
20824
3d2b3019
DM
20825 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20826 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20827 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20828 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20831 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20834 (SYSCALL_ERROR_HANDLER): Likewise.
20835 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20836 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20838 (SYSCALL_ERROR_HANDLER): Likewise.
20839
c80098a9
DM
20840 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20841 (HAVE_GCC_GOTDATA): New.
20842 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20843 relocation support in both binutils and gcc.
20844 * sysdeps/sparc/elf/configure: Regenerate.
20845
3a2545a0
DM
20846 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20847 * sysdeps/sparc/sparc32/elf/configure: Delete.
20848 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20849 * sysdeps/sparc/sparc64/elf/configure: Delete.
20850 * sysdeps/sparc/elf/configure.in: New file.
20851 * sysdeps/sparc/elf/configure: Generate.
20852
7a8b71c3
DM
20853 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20854 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20855 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20856 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20857 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20858
f1e86fca
JM
208592012-02-21 Joseph Myers <joseph@codesourcery.com>
20860
20861 * manual/install.texi: Do not mention specific glibc version
20862 numbers.
20863 * manual/libc.texinfo (VERSION, UPDATED): Update.
20864 (@copying): Use @copyright{} and range of years.
20865
0e7dfaef
JM
208662012-02-21 Joseph Myers <joseph@codesourcery.com>
20867
20868 [BZ #13695]
20869 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20870 [crti.S not in sysdirs] (generated): Do not append.
20871 [crti.S not in sysdirs] (omit-deps): Likewise.
20872 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20873 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20874 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20875 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20876 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20877 Likewise.
20878 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20879 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20880 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20881 * csu/defs.awk: Remove file.
20882 * sysdeps/generic/initfini.c: Likewise.
20883 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20884 variable.
20885 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20886 Likewise.
20887
599af3ca
JM
208882012-02-20 Joseph Myers <joseph@codesourcery.com>
20889
20890 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20891 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20892 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20893 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20895 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20896 <bits/epoll.h>.
20897 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20898 (__EPOLL_PACKED): Define to empty if not defined by
20899 <bits/epoll.h>.
20900 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20902 bits/epoll.h.
20903
0e499750
JM
209042012-02-20 Joseph Myers <joseph@codesourcery.com>
20905
20906 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20907 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20908 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20909 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20910 <bits/timerfd.h>.
20911 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20913 bits/timerfd.h.
20914
5ad91f6e
JM
209152012-02-20 Joseph Myers <joseph@codesourcery.com>
20916
20917 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20918 in C locale.
20919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20920 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20923
06b99b02
AJ
209242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20925
20926 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20928
7638c0fd
AS
209292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20930
20931 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20932 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20933 defined.
20934 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20935 Likewise.
20936 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20937 entry for 2.16.
20938
92221550
AJ
209392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20940
20941 * math/w_acos.c: Use non-signaling floating-point comparisons.
20942 * math/w_acosf.c: Likewise.
20943 * math/w_acosh.c: Likewise.
20944 * math/w_acoshf.c: Likewise.
20945 * math/w_acoshl.c: Likewise.
20946 * math/w_acosl.c: Likewise.
20947 * math/w_asin.c: Likewise.
20948 * math/w_asinf.c: Likewise.
20949 * math/w_asinl.c: Likewise.
20950 * math/w_atanh.c: Likewise.
20951 * math/w_atanhf.c: Likewise.
20952 * math/w_atanhl.c: Likewise.
20953 * math/w_exp2.c: Likewise.
20954 * math/w_exp2f.c: Likewise.
20955 * math/w_exp2l.c: Likewise.
20956 * math/w_j0.c: Likewise.
20957 * math/w_j0f.c: Likewise.
20958 * math/w_j0l.c: Likewise.
20959 * math/w_j1.c: Likewise.
20960 * math/w_j1f.c: Likewise.
20961 * math/w_j1l.c: Likewise.
20962 * math/w_jn.c: Likewise.
20963 * math/w_jnf.c: Likewise.
20964 * math/w_log.c: Likewise.
20965 * math/w_log10.c: Likewise.
20966 * math/w_log10f.c: Likewise.
20967 * math/w_log10l.c: Likewise.
20968 * math/w_log2.c: Likewise.
20969 * math/w_log2f.c: Likewise.
20970 * math/w_log2l.c: Likewise.
20971 * math/w_logf.c: Likewise.
20972 * math/w_logl.c: Likewise.
20973 * math/w_sqrt.c: Likewise.
20974 * math/w_sqrtf.c: Likewise.
20975 * math/w_sqrtl.c: Likewise.
20976 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20977 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20978 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20979 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20980 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20981
ebaf36eb
JM
209822012-02-19 Joseph Myers <joseph@codesourcery.com>
20983
20984 [BZ #9739]
20985 * manual/string.texi (strnlen): Use correct parameter name in
20986 equivalent expression.
20987
71c254a6
JM
209882012-02-19 Joseph Myers <joseph@codesourcery.com>
20989
20990 [BZ #11174]
20991 * manual/users.texi (seteuid): Consistently use neweuid for
20992 argument name.
20993
16d2c631
JM
209942012-02-19 Joseph Myers <joseph@codesourcery.com>
20995
20996 [BZ #13704]
20997 * manual/nss.texi (Services in the NSS configuration): Correct
20998 list of services in example configuration file.
20999
cd837b09
NB
210002012-02-19 Nick Bowler <nbowler@draconx.ca>
21001
21002 [BZ #11322]
21003 * manual/arith.texi: Remove statements about negative zero
21004 behaving identically to zero.
21005
02c4bbad
JM
210062012-02-18 Joseph Myers <joseph@codesourcery.com>
21007
21008 [BZ #5993]
21009 * manual/install.texi: Do not document upgrading from libc5.
21010
366842e7
JM
210112012-02-18 Joseph Myers <joseph@codesourcery.com>
21012
21013 [BZ #4596]
21014 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21015
dd54084d
DM
210162012-02-18 David S. Miller <davem@davemloft.net>
21017
21018 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21019 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21020 %o7 across the call.
21021 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21022 instead.
21023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21024 SETUP_PIC_REG_LEAF.
21025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21026 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21027 * sysdeps/sparc/crtn.S: Likewise.
21028
2bcc53a3
UD
210292012-02-17 Ulrich Drepper <drepper@gmail.com>
21030
21031 * aout/Makefile: Remove.
21032
09c093b5
RK
210332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21034
21035 [BZ #13058]
21036 * manual/examples/argp-ex1.c (main): Format definition in GNU
21037 style.
21038 * manual/examples/argp-ex2.c (main): Likewise.
21039 * manual/examples/argp-ex3.c (main): Likewise.
21040 * manual/examples/argp-ex4.c (main): Likewise.
21041 * manual/examples/longopt.c (main): Use new-style prototype
21042 definition.
21043 * manual/examples/strncat.c (main): Specify return type and use
21044 (void) for arguments.
21045 * manual/examples/subopt.c (main): Use char **argv argument.
21046
2ee633a2
JM
210472012-02-17 Joseph Myers <joseph@codesourcery.com>
21048
21049 [BZ #5077]
21050 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21051 rounding modes.
21052
0520adde
FB
210532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21054
21055 [BZ #6907]
21056 * manual/string.texi (strchr): Change when strchrnul is
21057 recommended.
21058
3f4081cd
DGM
210592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21060
21061 [BZ #174]
21062 * manual/locale.texi (setlocale): Document LOCPATH.
21063
d1b10e78
JM
210642012-02-17 Joseph Myers <joseph@codesourcery.com>
21065
21066 [BZ #10210]
21067 * manual/process.texi (execle): Move @dots{} before last argument.
21068
79c6869c
PB
210692012-02-17 Paul Bolle <pebolle@tiscali.nl>
21070
21071 [BZ #12047]
21072 * manual/charset.texi (Generic Charset Conversion): Fix typo
21073 (LC_TYPE -> LC_CTYPE).
21074
cc6e48bc
NB
210752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21076
21077 [BZ #5805]
21078 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21079 (scalbnf): Likewise.
21080 (scalbnl): Likewise.
21081 (scalbln): Likewise.
21082 (scalblnf): Likewise.
21083 (scalblnl): Likewise.
21084 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21085 (vwarnx): Likewise.
21086 (verr): Likewise.
21087 (verrx): Likewise.
21088 * manual/filesys.texi (telldir): Use braces around return type.
21089 * manual/llio.texi (mmap): Add space after comma.
21090 (mmap64): Likewise.
21091 * manual/math.texi (jn): Use @var{} on parameter names.
21092 (jnf): Likewise.
21093 (jnl): Likewise.
21094 (yn): Likewise.
21095 (ynf): Likewise.
21096 (ynl): Likewise.
21097 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21098 line.
21099 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21100 "...".
21101 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21102 (sched_get_priority_max): Likewise.
21103 * manual/signal.texi (sigvec): Add space after comma.
21104 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21105 names.
21106 (if_indextoname): Likewise.
21107 (if_freenameindex): Likewise.
21108 (sendto): Use ',' instead of '.' in prototype.
21109 * manual/startup.texi (syscall): Use @dots{} instead of literal
21110 "...".
21111 * manual/stdio.texi (__fpending): Separate initial words of
21112 paragraph from @deftypefun line.
21113 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21114 "...".
21115 (vsyslog): Use @var{} on parameter names.
21116 * manual/terminal.texi (stty): Use @var{} on parameter names.
21117 * manual/users.texi (getutmp): Use @var{} on parameter names.
21118 (getutmpx): Likewise.
21119
5b23062f
JM
211202012-02-17 Joseph Myers <joseph@codesourcery.com>
21121
21122 [BZ #6884]
21123 * manual/stdio.texi (fopen): Fix typos in description of
21124 ",ccs=STRING".
21125
8dee4833
AJ
211262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21127
21128 [BZ #4026]
21129 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21130 get clock_id definition.
21131
9078ce93
TS
211322012-02-17 Thomas Schwinge <thomas@schwinge.name>
21133
21134 [BZ #4822]
21135 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21136 (madvise): Cast every argument to void on its own.
21137
3835c55f
JM
211382012-02-17 Joseph Myers <joseph@codesourcery.com>
21139
21140 [BZ #9902]
21141 * manual/startup.texi (Exit Status): Fix typo.
21142
35c47e37
JM
211432012-02-17 Joseph Myers <joseph@codesourcery.com>
21144
21145 [BZ #10140]
21146 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21147 * manual/examples/argp-ex2.c: Likewise.
21148 * manual/examples/argp-ex3.c: Likewise.
21149
e3b69ca7
RH
211502012-02-16 Richard Henderson <rth@redhat.com>
21151
21152 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21153 * sysdeps/s390/s390-32/initfini.c: Remove.
21154 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21155 * sysdeps/s390/s390-64/initfini.c: Remove.
21156
df83af67
KK
211572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21158
21159 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21160 compiler output for sysdeps/generic/initfini.c.
21161 * sysdeps/sh/elf/initfini.c: Remove file.
21162
f63f3380
DM
211632012-02-16 David S. Miller <davem@davemloft.net>
21164
fb59b3a4
DM
21165 [BZ #11494]
21166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21167
f63f3380
DM
21168 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21169 * sysdeps/sparc/crti.S: New file.
21170 * sysdeps/sparc/crtn.S: New file.
21171 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21172 * sysdeps/sparc/sparc64/Makefile: Likewise.
21173
df6a4a4a
MF
211742012-02-15 Mike Frysinger <vapier@gentoo.org>
21175
6dd8f3dc 21176 [BZ #3335]
df6a4a4a
MF
21177 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21178
1cac7236
RM
211792012-02-15 Roland McGrath <roland@hack.frob.com>
21180
d2c736f8
RM
21181 [BZ #4822]
21182 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21183
1cac7236
RM
21184 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21185 (write, read, close): Likewise.
21186 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21187
8e475601
JM
211882012-02-15 Joseph Myers <joseph@codesourcery.com>
21189
21190 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21191 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21192 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21193 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21194 <bits/signalfd.h>.
21195 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21197 bits/signalfd.h.
21198
ed656b40
MP
211992012-02-14 Marek Polacek <polacek@redhat.com>
21200
21201 * sysdeps/x86_64/crti.S: New file.
21202 * sysdeps/x86_64/crtn.S: New file.
21203 * sysdeps/x86_64/elf/initfini.c: Remove file.
21204
2a979d3a
JM
212052012-02-13 Joseph Myers <joseph@codesourcery.com>
21206
21207 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21208 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21209 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21210 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21211 <bits/inotify.h>.
21212 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21214 bits/inotify.h.
21215
2a418ac3
JM
212162012-02-13 Joseph Myers <joseph@codesourcery.com>
21217
21218 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21219 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21220 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21221 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21222 <bits/eventfd.h>.
21223 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21225 bits/eventfd.h.
21226
fb779be7
TS
212272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21228
e19e83c5
RM
21229 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21230 __feraiseexcept instead of feraiseexcept.
7c35ffed 21231
fb779be7
TS
21232 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21233 nanosleep invocations.
21234 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21235 strings, and add error checking for a nanosleep invocations.
21236
59ba27a6
PE
212372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21238
21239 Replace FSF snail mail address with URLs, as per GNU coding standards.
21240 Most of the snail mail addresses were wrong anyway, and omitting
21241 them makes the source code easier to maintain. Almost all of the
21242 changes are to license notices and to locale LC_IDENTIFICATION
21243 addresses, except for this one:
21244 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21245 not its snail mail address.
21246
57b957eb
RH
212472012-02-09 Richard Henderson <rth@twiddle.net>
21248
af850b1c
RH
21249 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21250 of kernel-features.h.
21251
57b957eb
RH
21252 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21253
6b73181a
MP
212542012-02-08 Marek Polacek <polacek@redhat.com>
21255
21256 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21257 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21258 * sysdeps/gnu/_G_config.h: Likewise.
21259 * sysdeps/generic/_G_config.h: Likewise.
21260
26ecc33a
AS
212612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21262
6c6dbc63
AS
21263 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21264 tests.
21265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21266
e216c012
AS
21267 * sysdeps/powerpc/powerpc32/crti.S: New file.
21268 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21269 * sysdeps/powerpc/powerpc64/crti.S: New file.
21270 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21271
26ecc33a
AS
21272 * Makeconfig (have-initfini): Don't set.
21273 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21274 * configure.in (nopic_initfini): Don't substitute.
21275 * config.h.in (HAVE_INITFINI): Don't #undef.
21276 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21277 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21278
3add8e13
JM
212792012-02-08 Joseph Myers <joseph@codesourcery.com>
21280
21281 Support crti.S and crtn.S provided directly by architectures.
21282 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21283 [crti.S in sysdirs] (omit-deps): Likewise.
21284 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21285 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21286 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21287 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21288 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21289 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21290 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21291 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21292 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21293 compiler output for sysdeps/generic/initfini.c.
21294 * sysdeps/i386/elf/Makefile: Remove file.
21295 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21296
a22f12b4
MP
212972012-02-07 Marek Polacek <polacek@redhat.com>
21298
21299 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21300 * sysdeps/gnu/_G_config.h: Likewise.
21301 * sysdeps/mach/hurd/_G_config.h: Likewise.
21302
148cf100
MP
213032012-02-07 Marek Polacek <polacek@redhat.com>
21304
21305 * math/Makefile (tests): Add tst-CMPLX2.
21306 * math/tst-CMPLX2.c: New file.
21307
cfdc0dd7
AS
213082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21309
84ba42c4
AS
21310 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21311
cfdc0dd7
AS
21312 * math/libm-test.inc (jn_test): Add missing L suffix.
21313
622c86f4
MP
213142012-02-06 Marek Polacek <polacek@redhat.com>
21315
21316 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21317 * sysdeps/i386/fpu/e_powf.S: Likewise.
21318 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21319 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21320 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21321 * sysdeps/i386/fpu/e_pow.S: Likewise.
21322 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21323 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21324 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21325 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21326 * sysdeps/i386/fpu/e_log2.S: Likewise.
21327 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21328 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21329 * sysdeps/i386/fpu/e_powl.S: Likewise.
21330 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21332 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21333 * sysdeps/i386/fpu/e_logl.S: Likewise.
21334 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21335 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21336 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21337 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21338 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21339 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21340 * sysdeps/i386/fpu/e_log.S: Likewise.
21341 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21342 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21343 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21344 * sysdeps/i386/fpu/e_logf.S: Likewise.
21345 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21346 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21347 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21348 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21349 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21350 * sysdeps/i386/fpu/e_log10.S: Likewise.
21351 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21353 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21354 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21355 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21356 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21357 * sysdeps/i386/asm-syntax.h: Likewise.
21358 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21359 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21360 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21361 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21362 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21363 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21364 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21365 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21366 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21367 * sysdeps/powerpc/sysdep.h: Likewise.
21368 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21369 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21370
d4a54ac6
JM
213712012-02-06 Joseph Myers <joseph@codesourcery.com>
21372
21373 [BZ #411]
21374 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21375
314054ea
JM
213762012-02-06 Joseph Myers <joseph@codesourcery.com>
21377
21378 * sysdeps/i386/sysdep.h: Include <features.h>.
21379 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21380 version.
21381
d8e0ca50
JM
213822012-02-05 Joseph Myers <joseph@codesourcery.com>
21383
21384 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21385 Define.
21386 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21387 LOAD_PIC_REG_STR.
21388
b1da7dd9
JM
213892012-02-03 Joseph Myers <joseph@codesourcery.com>
21390
21391 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21392 (SETUP_PIC_REG): Use GET_PC_THUNK.
21393 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21394 macro.
21395
9a1d9254
JM
213962012-02-03 Joseph Myers <joseph@codesourcery.com>
21397
21398 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21399 for non-PIC compilation.
21400 (SETUP_PIC_REG): Add .p2align directive.
21401 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21402 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21403 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21404 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21405 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21406 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21407 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21409 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21410 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21411 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21412 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21413 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21414 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21415 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21416 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21417 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21418 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21419 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21420 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21421 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21423 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21424 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21427 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21428 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21429 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21430 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21431 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21432 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21433 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21434 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21435 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21436 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21437 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21438 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21439 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21440 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21441 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21442
65dc3b75
JM
214432012-02-03 Joseph Myers <joseph@codesourcery.com>
21444
21445 * math/tst-CMPLX.c: Include <stdio.h>.
21446
d55bf177
JM
214472012-01-31 Joseph Myers <joseph@codesourcery.com>
21448
21449 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21450 float.
21451 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21452 * sysdeps/sparc/bits/mathdef.h: Likewise.
21453
69db4f8f
MP
214542012-01-31 Marek Polacek <polacek@redhat.com>
21455
21456 * libio/libio.h: Don't define _PARAMS.
21457 * locale/programs/config.h: Don't define PARAMS.
21458 * stdlib/strtol_l.c: Likewise.
21459 (__strtol_l): Remove PARAMS from the prototype.
21460
41b81892
UD
214612012-01-31 Ulrich Drepper <drepper@gmail.com>
21462
3b49edc0
UD
21463 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21464 names. Just use the correct names. Remove unnecessary wrapper
21465 functions.
21466 * malloc/arena.c: Likewise.
21467 * malloc/hooks.c: Likewise.
21468
41b81892
UD
21469 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21470 ARENA_TEST says not to. Simplify test for creation of a new arena.
21471 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21472
27a25b6e
UD
214732012-01-30 Ulrich Drepper <drepper@gmail.com>
21474
21475 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21476 into tail calls.
21477 (update_get_addr): New function.
21478 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21479 GET_ADDR_MODULE parameter.
21480
c8a89e7d
JM
214812012-01-30 Joseph Myers <joseph@codesourcery.com>
21482
21483 * crypt/cert.c: Remove __STDC__ conditionals.
21484 * crypt/crypt-entry.c: Likewise.
21485 * crypt/crypt_util.c: Likewise.
21486 * libio/filedoalloc.c: Likewise.
21487 * libio/fileops.c: Likewise.
21488 * libio/genops.c: Likewise.
21489 * libio/iofclose.c: Likewise.
21490 * libio/iofdopen.c: Likewise.
21491 * libio/iofopen.c: Likewise.
21492 * libio/iofopen64.c: Likewise.
21493 * libio/iogetdelim.c: Likewise.
21494 * libio/iopopen.c: Likewise.
21495 * libio/obprintf.c: Likewise.
21496 * libio/oldfileops.c: Likewise.
21497 * libio/oldiofclose.c: Likewise.
21498 * libio/oldiofdopen.c: Likewise.
21499 * libio/oldiofopen.c: Likewise.
21500 * libio/oldiopopen.c: Likewise.
21501 * libio/wfiledoalloc.c: Likewise.
21502 * libio/wgenops.c: Likewise.
21503 * locale/programs/xmalloc.c: Likewise.
21504 * misc/syslog.c: Likewise.
21505 * stdio-common/xbug.c: Likewise.
21506 * string/memchr.c: Likewise.
21507 * string/memcmp.c: Likewise.
21508 * string/memrchr.c: Likewise.
21509 * string/rawmemchr.c: Likewise.
21510 * sysdeps/posix/getcwd.c: Likewise.
21511 * time/strftime_l.c: Likewise.
21512
3b100462
JM
215132012-01-30 Joseph Myers <joseph@codesourcery.com>
21514
21515 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21516 * config.make.in (config-cflags-sse2avx): Define.
21517 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21518 Fix typo.
21519
607998af
CM
215202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21521
21522 * scripts/config.guess: Update from upstream config git repository.
21523 * scripts/config.sub: Likewise.
21524
3601428f
CM
215252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21526
3ac8b282
CM
21527 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21528 (EM_NUM): Update.
21529 (R_TILEPRO_*, R_TILEGX_*): New macros.
21530
e034841e
CM
21531 * scripts/firstversions.awk: Fix bug in version range handling.
21532
540d7568
CM
21533 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21534
3601428f
CM
21535 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21536
463de862
CM
21537 * include/sys/epoll.h: New file.
21538 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21539 libc_hidden_def.
21540
73139a76
UD
215412012-01-28 Ulrich Drepper <drepper@gmail.com>
21542
96bc5b45
UD
21543 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21544 Avoid unnecessary __WORDSIZE == 64 test.
21545 (fmaxf): Use VEX format if possible.
21546 (fmax): Likewise.
21547 (fminf): Likewise.
21548 (fmin): Likewise.
21549
56f6f6a2
UD
21550 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21551 * math/math_private.h: Remove libc_fegetround* and
21552 libc_fesetround*.
21553 * sysdeps/i386/configure.in: Check for -msse2avx.
21554 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21555 also if SSE2AVX is defined.
21556 Remove libc_fegetround* and libc_fesetround*.
21557 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21558 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21559 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21560 of HAS_YMM_USABLE.
21561 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21562 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21563 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21564 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21565 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21566
73139a76
UD
21567 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21568
d73f93a4
AZ
215692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21570
21571 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21572 size is not set.
21573 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21574
6ee65ed6
UD
215752012-01-27 Ulrich Drepper <drepper@gmail.com>
21576
21577 [BZ #13618]
21578 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21579 relocation.
21580 * Makeconfig (libm): Define.
21581 * elf/Makefile: Add rules to build and run tst-relsort1.
21582 * elf/tst-relsort1.c: New file.
21583 * elf/tst-relsort1mod1.c: New file.
21584 * elf/tst-relsort1mod2.c: New file.
21585
8db21882
JM
215862012-01-27 Joseph Myers <joseph@codesourcery.com>
21587
21588 * math/s_ldexp.c: Remove __STDC__ conditionals.
21589 * math/s_ldexpf.c: Likewise.
21590 * math/s_ldexpl.c: Likewise.
21591 * math/s_nextafter.c: Likewise.
21592 * math/s_nexttowardf.c: Likewise.
21593 * math/s_significand.c: Likewise.
21594 * math/s_significandf.c: Likewise.
21595 * math/s_significandl.c: Likewise.
21596 * math/w_jnl.c: Likewise.
21597 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21598 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21599 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21600 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21601 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21614 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21616 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21617 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21618 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21619 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21620 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21621 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21622 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21623 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21624 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21625 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21626 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21627 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21628 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21629 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21630 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21631 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21632 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21633 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21634 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21635 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21636 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21637 * sysdeps/ieee754/k_standard.c: Likewise.
21638 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21640 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21641 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21642 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21647 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21649 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21650 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21651 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21654 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21655 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21656 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21657 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21660 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21661 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21662 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21663 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21667 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21668 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21669 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21670 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21671 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21673 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21674 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21675 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21676 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21677 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21678 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21680 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21681 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21682 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21685 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21686 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21687 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21688 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21691 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21692 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21693 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21694 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21695 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21696 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21698 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21699 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21700 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21702 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21703 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21704 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21706 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21709 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21710 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21712 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21713 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21715 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21717 * sysdeps/ieee754/s_matherr.c: Likewise.
21718 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21719 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21720 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21721 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21722
965a54a4
JM
217232012-01-26 Joseph Myers <joseph@codesourcery.com>
21724
21725 * crypt/md5.h: Remove __STDC__ conditionals.
21726 * libio/libioP.h: Likewise.
21727 * locale/programs/config.h: Likewise.
21728 * sysdeps/generic/sysdep.h: Likewise.
21729 * sysdeps/i386/asm-syntax.h: Likewise.
21730 * sysdeps/s390/asm-syntax.h: Likewise.
21731 * sysdeps/unix/sysdep.h: Likewise.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21734
7071ad79
JM
217352012-01-26 Joseph Myers <joseph@codesourcery.com>
21736
21737 * libio/libio.h: Remove __STDC__ conditionals.
21738 * malloc/obstack.h: Likewise.
21739 * math/complex.h: Likewise.
21740 * math/math.h: Likewise.
21741 * sysdeps/generic/_G_config.h: Likewise.
21742 * sysdeps/gnu/_G_config.h: Likewise.
21743 * sysdeps/mach/hurd/_G_config.h: Likewise.
21744 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21745 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21746 * sysdeps/sparc/bits/mathdef.h: Likewise.
21747
afc5ed09
UD
217482012-01-26 Ulrich Drepper <drepper@gmail.com>
21749
21750 [BZ #13583]
21751 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21752 Clean up HAS_* macros.
afc5ed09 21753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21754 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21755 possible.
21756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21757 HAS_AVX.
21758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21759 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21761 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21763
bdb6de1d
JM
217642012-01-25 Joseph Myers <joseph@codesourcery.com>
21765
21766 * elf/tst-unique3.cc (gets): Remove declaration.
21767 * elf/tst-unique3lib.cc (gets): Likewise.
21768 * elf/tst-unique3lib2.cc (gets): Likewise.
21769 * elf/tst-unique4.cc (gets): Likewise.
21770
b15549e6
UD
217712012-01-24 Ulrich Drepper <drepper@gmail.com>
21772
21773 * include/stdio.h: Add C++ protection. Add gets declarations and
21774 definitions.
21775 * debug/tst-chk1.c: Don't declare gets here.
21776 * stdio-common/tst-gets.c: Likewise.
21777
a037381f
JM
217782012-01-24 Joseph Myers <joseph@codesourcery.com>
21779
21780 * posix/glob: Remove directory.
21781
f1d4aa75
JM
217822012-01-24 Joseph Myers <joseph@codesourcery.com>
21783
21784 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21785
81c0c964
PT
217862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21787
21788 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21789 of the non-standard EPFNOSUPPORT.
21790
0ea698ae
ST
217912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21792
21793 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21794 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21795 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21796
d220b117
UD
217972012-01-21 Ulrich Drepper <drepper@gmail.com>
21798
21799 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21800
3e1aa84e
UD
218012012-01-20 Ulrich Drepper <drepper@gmail.com>
21802
21803 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21804 transient errors.
21805 * nscd/grpcache.c (cache_addgr): Likewise.
21806 * nscd/hstcache.c (cache_addhst): Likewise.
21807 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21808 * nscd/pwdcache.c (cache_addpw): Likewise.
21809 * nscd/servicescache.c (cache_addserv): Likewise.
21810
400aa020
UD
218112012-01-16 Ulrich Drepper <drepper@gmail.com>
21812
d77e7869
UD
21813 * malloc/malloc.c: Various cleanups.
21814 * malloc/hooks.c: Likewise.
21815
400aa020
UD
21816 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21817 * stdlib/bug-fmtmsg1.c: New file.
21818
21819 * stdlib/fmtmsg.c (init): Add missing unlock.
21820 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21821
e0a309cf
MP
218222012-01-12 Marek Polacek <polacek@redhat.com>
21823
21824 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21825 and _GNU_SOURCE.
21826
929d11c7
WS
218272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21828
21829 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21830 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21831 macro to ensure uniqueness of label name.
21832 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21833 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21834
41d0e869
UD
218352012-01-11 Ulrich Drepper <drepper@gmail.com>
21836
0cc5ed3b
UD
21837 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21838
41d0e869
UD
21839 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21840 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21843
a47a831a
UD
218442012-01-10 Ulrich Drepper <drepper@gmail.com>
21845
daa891c0
UD
21846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21847
21848 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21849 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21850 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21851
e58ef0f2
UD
21852 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21853
a47a831a 21854 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21855 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21856 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21858
21859 * math/bits/math-finite.h: Add ldexp support.
21860
a0bfc9c7
MP
218612012-01-10 Marek Polacek <polacek@redhat.com>
21862
21863 * locale/programs/localedef.h (show_archive_content): Add noreturn
21864 attribute.
21865
d6e97a1d
UD
218662012-01-09 Ulrich Drepper <drepper@gmail.com>
21867
21868 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21869
d5835c26
UD
218702012-01-08 Ulrich Drepper <drepper@gmail.com>
21871
e5f484c6
UD
21872 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21873
d5835c26
UD
21874 * io/Makefile (headers): Add bits/poll2.h.
21875
d1f741e9
WS
218762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21877
21878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21879 typo #include statement.
21880
ec09c1c4
UD
218812012-01-08 Ulrich Drepper <drepper@gmail.com>
21882
21883 * include/sys/cdefs.h: Define __attribute_alloc_size.
21884 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21885 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21886 * elf/pldd.c: Likewise.
21887 * iconv/iconv_charmap.c: Likewise.
21888 * iconv/iconvconfig.c: Likewise.
21889 * iconv/strtab.c: Likewise.
21890 * locale/programs/locale.c: Likewise.
21891 * locale/programs/localedef.h: Likewise.
21892 * locale/programs/simple-hash.c: Likewise.
21893 * nscd/nscd.h: Likewise.
21894 * nss/makedb.c: Likewise.
21895 * sysdeps/generic/ldconfig.h: Likewise.
21896 * locale/programs/localedef.c: Remove xmalloc prototype.
21897 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21898
20b38e03
PP
218992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21900
21901 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21902 appropriate.
21903
a0da5fe1
UD
219042012-01-08 Ulrich Drepper <drepper@gmail.com>
21905
1d5a644a 21906 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21907 * math/tst-CMPLX.c: New file.
1d5a644a 21908
8784a6db
UD
21909 * math/complex.h (CMPLXL): Fix typo.
21910
d9a216c0
UD
21911 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21912 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21913 GLIBC_2.16.
21914 * debug/tst-chk1.c: Add poll and ppoll tests.
21915 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21916 * include/sys/poll.h: Add hidden proto for ppoll.
21917 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21918 * sysdeps/mach/hurd/ppoll.c: Likewise.
21919 * io/ppoll.c: Likewise.
21920 * debug/poll_chk.c: New file.
21921 * debug/ppoll_chk.c: New file.
21922 * include/bits/poll2.h: New file.
21923 * io/bits/poll2.h: New file.
21924
ac097f5c
UD
21925 [BZ #1350]
21926 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21927
2119dcfa
UD
21928 * configure.in: static is always set to yes. Remove.
21929 * config.make.in: Don't set build-static.
21930 * Makeconfig: Remove use of build-static.
21931 * dlfcn/Makefile: Likewise.
21932 * elf/Makefile: Likewise.
21933 * math/Makefile: Likewise.
21934 * misc/Makefile: Likewise.
21935 * nptl/Makefile: Likewise.
21936 * sysdeps/mach/hurd/Makefile: Likewise.
21937
121766a9
UD
21938 * configure.in: PWD_P is not used anymore.
21939 * config.make.in: Remove PWD_P entry.
21940
51a1d39c 21941 * configure.in: Remove last remnants of RANLIB.
8720d066 21942 No need to check for signed size_t anymore.
215f4bdc
UD
21943 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21944 and IA-64.
3857022a 21945 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21946 * aclocal.m4: Likewise.
21947
d3ed7225
UD
21948 * wcsmbs/mbrtoc16.c: Implement using towc function.
21949 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21950 * wcsmbs/wcsmbsload.c: Likewise.
21951 * iconv/gconv_simple.c: Likewise.
21952 * iconv/gconv_int.h: Likewise.
21953 * iconv/gconv_builtin.h: Likewise.
21954 * iconv/iconv_prog.c: Remove CHAR16 handling.
21955
21956 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21957
21958 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21959
a0da5fe1
UD
21960 * configure.in: Remove --with-elf and --enable-bounded options.
21961 Dont set base_machine for ia64. More non-ELF conditions removed.
21962 Remove testing and setting of leading underscore information.
21963 * config.make.in (build-bounded): Set to no.
21964 * config.h.in: Remove NO_UNDERSCORES entry.
21965 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21966 them.
21967 * csu/start.c: Remove !NO_UNDERSCORE code.
21968 * locale/localeinfo.h: Likewise.
21969 * sysdeps/generic/machine-gmon.h: Likewise.
21970 * sysdeps/generic/sysdep.h: Likewise.
21971 * sysdeps/i386/sysdep.h: Likewise.
21972 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21973 * sysdeps/mach/sysdep.h: Likewise.
21974 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21975 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21976 * sysdeps/sh/sysdep.h: Likewise.
21977 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21978 * sysdeps/unix/i386/sysdep.S: Likewise.
21979 * sysdeps/unix/sparc/start.c: Likewise.
21980 * sysdeps/unix/sparc/sysdep.S: Likewise.
21981 * sysdeps/unix/sparc/sysdep.h: Likewise.
21982 * sysdeps/unix/start.c: Likewise.
21983 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21984 * sysdeps/x86_64/sysdep.h: Likewise.
21985
df78418a
UD
219862012-01-07 Ulrich Drepper <drepper@gmail.com>
21987
a784e502
UD
21988 [BZ #13553]
21989 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21990 for non-gcc.
21991 * argp/argp-fmtstream.h: Use const instead __const.
21992 * argp/argp.h: Likewise.
21993 * assert/assert.h: Likewise.
21994 * bits/fenv.h: Likewise.
21995 * bits/sched.h: Likewise.
21996 * bits/sigset.h: Likewise.
21997 * bits/sigthread.h: Likewise.
21998 * catgets/nl_types.h: Likewise.
21999 * conform/data/pthread.h-data: Likewise.
22000 * crypt/crypt-private.h: Likewise.
22001 * crypt/crypt.h: Likewise.
22002 * crypt/crypt_util.c: Likewise.
22003 * ctype/ctype.h: Likewise.
22004 * debug/execinfo.h: Likewise.
22005 * debug/mbsnrtowcs_chk.c: Likewise.
22006 * debug/mbsrtowcs_chk.c: Likewise.
22007 * debug/wcsnrtombs_chk.c: Likewise.
22008 * debug/wcsrtombs_chk.c: Likewise.
22009 * debug/wcstombs_chk.c: Likewise.
22010 * dirent/dirent.h: Likewise.
22011 * dlfcn/dlfcn.h: Likewise.
22012 * elf/neededtest4.c: Likewise.
22013 * grp/grp.h: Likewise.
22014 * gshadow/gshadow.h: Likewise.
22015 * iconv/gconv.h: Likewise.
22016 * iconv/gconv_int.h: Likewise.
22017 * iconv/gconv_simple.c: Likewise.
22018 * iconv/iconv.h: Likewise.
22019 * iconv/loop.c: Likewise.
22020 * iconv/skeleton.c: Likewise.
22021 * include/aio.h: Likewise.
22022 * include/aliases.h: Likewise.
22023 * include/argz.h: Likewise.
22024 * include/arpa/inet.h: Likewise.
22025 * include/assert.h: Likewise.
22026 * include/dirent.h: Likewise.
22027 * include/dlfcn.h: Likewise.
22028 * include/execinfo.h: Likewise.
22029 * include/fcntl.h: Likewise.
22030 * include/fenv.h: Likewise.
22031 * include/glob.h: Likewise.
22032 * include/grp.h: Likewise.
22033 * include/libintl.h: Likewise.
22034 * include/mntent.h: Likewise.
22035 * include/netdb.h: Likewise.
22036 * include/pwd.h: Likewise.
22037 * include/rpc/netdb.h: Likewise.
22038 * include/sched.h: Likewise.
22039 * include/search.h: Likewise.
22040 * include/shadow.h: Likewise.
22041 * include/signal.h: Likewise.
22042 * include/stdio.h: Likewise.
22043 * include/stdlib.h: Likewise.
22044 * include/string.h: Likewise.
22045 * include/sys/socket.h: Likewise.
22046 * include/sys/stat.h: Likewise.
22047 * include/sys/statfs.h: Likewise.
22048 * include/sys/statvfs.h: Likewise.
22049 * include/sys/syslog.h: Likewise.
22050 * include/sys/time.h: Likewise.
22051 * include/sys/uio.h: Likewise.
22052 * include/time.h: Likewise.
22053 * include/unistd.h: Likewise.
22054 * include/utmp.h: Likewise.
22055 * include/wchar.h: Likewise.
22056 * include/wctype.h: Likewise.
22057 * inet/aliases.h: Likewise.
22058 * inet/arpa/inet.h: Likewise.
22059 * inet/netinet/ether.h: Likewise.
22060 * inet/netinet/in.h: Likewise.
22061 * intl/libintl.h: Likewise.
22062 * io/bits/fcntl2.h: Likewise.
22063 * io/fcntl.h: Likewise.
22064 * io/ftw.h: Likewise.
22065 * io/sys/poll.h: Likewise.
22066 * io/sys/stat.h: Likewise.
22067 * io/sys/statfs.h: Likewise.
22068 * io/sys/statvfs.h: Likewise.
22069 * io/utime.h: Likewise.
22070 * libio/bits/stdio.h: Likewise.
22071 * libio/bits/stdio2.h: Likewise.
22072 * libio/libio.h: Likewise.
22073 * libio/libioP.h: Likewise.
22074 * libio/stdio.h: Likewise.
22075 * locale/lc-ctype.c: Likewise.
22076 * locale/locale.h: Likewise.
22077 * login/utmp.h: Likewise.
22078 * malloc/arena.c: Likewise.
22079 * malloc/malloc.c: Likewise.
22080 * malloc/malloc.h: Likewise.
22081 * malloc/mcheck.c: Likewise.
22082 * malloc/mtrace.c: Likewise.
22083 * math/bits/mathcalls.h: Likewise.
22084 * math/fenv.h: Likewise.
22085 * math/math_private.h: Likewise.
22086 * misc/bits/error.h: Likewise.
22087 * misc/bits/syslog.h: Likewise.
22088 * misc/err.h: Likewise.
22089 * misc/error.h: Likewise.
22090 * misc/fstab.h: Likewise.
22091 * misc/mntent.h: Likewise.
22092 * misc/regexp.h: Likewise.
22093 * misc/search.h: Likewise.
22094 * misc/sgtty.h: Likewise.
22095 * misc/sys/mman.h: Likewise.
22096 * misc/sys/syslog.h: Likewise.
22097 * misc/sys/uio.h: Likewise.
22098 * misc/sys/xattr.h: Likewise.
22099 * misc/ttyent.h: Likewise.
22100 * nis/rpcsvc/ypclnt.h: Likewise.
22101 * nss/nss.h: Likewise.
22102 * posix/bits/unistd.h: Likewise.
22103 * posix/fnmatch.h: Likewise.
22104 * posix/glob.h: Likewise.
22105 * posix/sched.h: Likewise.
22106 * posix/spawn.h: Likewise.
22107 * posix/sys/wait.h: Likewise.
22108 * posix/unistd.h: Likewise.
22109 * posix/wordexp.h: Likewise.
22110 * pwd/pwd.h: Likewise.
22111 * resolv/netdb.h: Likewise.
22112 * resource/sys/resource.h: Likewise.
22113 * rt/aio.h: Likewise.
22114 * rt/bits/mqueue2.h: Likewise.
22115 * rt/mqueue.h: Likewise.
22116 * shadow/shadow.h: Likewise.
22117 * signal/signal.h: Likewise.
22118 * socket/send.c: Likewise.
22119 * socket/sendto.c: Likewise.
22120 * socket/sys/socket.h: Likewise.
22121 * stdio-common/printf.h: Likewise.
22122 * stdlib/bits/stdlib.h: Likewise.
22123 * stdlib/fmtmsg.h: Likewise.
22124 * stdlib/monetary.h: Likewise.
22125 * stdlib/stdlib.h: Likewise.
22126 * stdlib/ucontext.h: Likewise.
22127 * streams/stropts.h: Likewise.
22128 * string/argz.h: Likewise.
22129 * string/bits/string2.h: Likewise.
22130 * string/string.h: Likewise.
22131 * string/strings.h: Likewise.
22132 * sunrpc/rpc/auth.h: Likewise.
22133 * sunrpc/rpc/auth_des.h: Likewise.
22134 * sunrpc/rpc/clnt.h: Likewise.
22135 * sunrpc/rpc/netdb.h: Likewise.
22136 * sunrpc/rpc/pmap_clnt.h: Likewise.
22137 * sunrpc/rpc/xdr.h: Likewise.
22138 * sysdeps/generic/inttypes.h: Likewise.
22139 * sysdeps/generic/net/if.h: Likewise.
22140 * sysdeps/generic/sys/swap.h: Likewise.
22141 * sysdeps/gnu/net/if.h: Likewise.
22142 * sysdeps/gnu/utmpx.h: Likewise.
22143 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22144 * sysdeps/i386/i486/bits/string.h: Likewise.
22145 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22146 * sysdeps/s390/bits/string.h: Likewise.
22147 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22148 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22149 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22150 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22151 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22152 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22153 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22154 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22155 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22156 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22157 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22158 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22159 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22160 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22161 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22162 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22163 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22165 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22166 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22167 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22168 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22169 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22170 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22171 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22172 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22173 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22174 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22175 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22176 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22177 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22178 * sysvipc/sys/ipc.h: Likewise.
22179 * sysvipc/sys/msg.h: Likewise.
22180 * sysvipc/sys/sem.h: Likewise.
22181 * sysvipc/sys/shm.h: Likewise.
22182 * termios/termios.h: Likewise.
22183 * time/sys/time.h: Likewise.
22184 * time/time.h: Likewise.
22185 * wcsmbs/bits/wchar2.h: Likewise.
22186 * wcsmbs/uchar.h: Likewise.
22187 * wcsmbs/wchar.h: Likewise.
22188 * wctype/wctype.h: Likewise.
22189
0269750c
UD
22190 [BZ #13551]
22191 * Makeconfig: Remove all but ELF support including AIX support.
22192 * Makerules: Likewise.
22193 * config.h.in: Likewise.
22194 * config.make.in: Likewise.
22195 * configure: Likewise.
22196 * configure.in: Likewise.
22197 * csu/Makefile: Likewise.
22198 * csu/version.c: Likewise.
22199 * debug/Makefile: Likewise.
22200 * dlfcn/Makefile: Likewise.
22201 * elf/Makefile: Likewise.
22202 * extra-lib.mk: Likewise.
22203 * iconv/Makefile: Likewise.
22204 * include/libc-symbols.h: Likewise.
22205 * include/shlib-compat.h: Likewise.
22206 * resolv/Makefile: Likewise.
22207 * resolv/res_libc.c: Likewise.
22208 * rt/Makefile: Likewise.
22209 * sysdeps/i386/asm-syntax.h: Likewise.
22210 * sysdeps/i386/sysdep.h: Likewise.
22211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22212 * sysdeps/mach/sysdep.h: Likewise.
22213 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22214 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22215 * sysdeps/s390/asm-syntax.h: Likewise.
22216 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22217 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22218 * sysdeps/sh/sysdep.h: Likewise.
22219 * sysdeps/unix/sparc/sysdep.h: Likewise.
22220 * sysdeps/wordsize-32/divdi3.c: Likewise.
22221 * sysdeps/x86_64/sysdep.h: Likewise.
22222
00bbd29b
UD
22223 * argp/Versions: Remove _argp_unlock_xxx.
22224
22225 [BZ #13559]
22226 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22227 * abilist/libBrokenLocale.abilist: Likewise.
22228 * abilist/libanl.abilist: Likewise.
22229 * abilist/libc.abilist: Likewise.
22230 * abilist/libcrypt.abilist: Likewise.
22231 * abilist/libdl.abilist: Likewise.
22232 * abilist/libm.abilist: Likewise.
22233 * abilist/libnsl.abilist: Likewise.
22234 * abilist/libpthread.abilist: Likewise.
22235 * abilist/libresolv.abilist: Likewise.
22236 * abilist/librt.abilist: Likewise.
22237 * abilist/libthread_db.abilist: Likewise.
22238 * abilist/libutil.abilist: Likewise.
22239 * abilist/libnss_db.abilist: New file.
22240
22241 * scripts/abilist.awk: Add support for indirect functions.
22242
a2693a0e
UD
22243 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22244
3f05895f
UD
22245 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22246
ecb6fb48
UD
22247 * shlib-versions: Remove entries for ports architectures.
22248
664f8cb9
UD
22249 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22250 files in ports.
22251 * elf/stackguard-macros.h: Remove support for IA-64.
22252 * elf/tst-auditmod1.c: Likewise.
22253 * sysdeps/generic/ldsodefs.h: Likewise.
22254
7ae81d88
UD
22255 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22256 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22257 configure files.
22258
bdeba135
UD
22259 [BZ #13552]
22260 * configure.in: Remove --enable-omitfp support.
22261 * FAQ.in: Adjust.
22262 * config.make.in: Likewise.
22263 * Makeconfig: Likewise.
22264 * manual/install.texi: Likewise.
22265
d75a0a62
UD
22266 In case anyone cares, the IA-64 architecture could move to ports.
22267 * sysdeps/ia64/*: Removed.
22268 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 22269 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 22270
dcc9756b
UD
22271 [BZ #13555]
22272 * configure.in: Remove entries for unsupported architectures.
22273
d3761ebc 22274 [BZ #13533]
9954432e
UD
22275 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22276 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22277 routines.
22278 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22279 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22280 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22281 fall back to using wcrtomb.
22282 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22283 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22284 renaming.
22285 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22286 * wcsmbs/tst-c16c32-1.c: New file.
22287
22288 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22289 local variable.
22290
c3a87236
UD
22291 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22292
28926a1b
UD
22293 * elf/tst-unique3.cc: Add explicit declaration of gets.
22294 * elf/tst-unique3lib.cc: Likewise.
22295 * elf/tst-unique3lib2.cc: Likewise.
22296 * elf/tst-unique4.cc: Likewise.
22297
df78418a
UD
22298 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22299
8ecd6b2a
JM
223002012-01-06 Joseph Myers <joseph@codesourcery.com>
22301
22302 [BZ #13566]
22303 * assert/assert.h (static_assert): Don't define for C++.
22304 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22305 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22306
9f115170
UD
223072012-01-03 Ulrich Drepper <drepper@gmail.com>
22308
5e0d0300
UD
22309 * iconv/loop.c (single loop): Fix assertion in storing of
22310 remaining bytes.
22311
9f115170
UD
22312 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22313
81fb02b0
UD
223142012-01-01 Ulrich Drepper <drepper@gmail.com>
22315
22316 * posix/getconf.c: Update copyright year.
22317 * nss/getent.c: Likewise.
a316c1f6 22318 * nss/makedb.c: Likewise.
81fb02b0
UD
22319 * iconv/iconvconfig.c: Likewise.
22320 * iconv/iconv_prog.c: Likewise.
22321 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22322 * elf/pldd.c: Likewise.
22323 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22324 * catgets/gencat.c: Likewise.
22325 * csu/version.c: Likewise.
22326 * elf/ldd.bash.in: Likewise.
22327 * elf/sprof.c (print_version): Likewise.
22328 * locale/programs/locale.c: Likewise.
22329 * locale/programs/localedef.c: Likewise.
a316c1f6 22330 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22331 * nscd/nscd.c (print_version): Likewise.
22332 * debug/xtrace.sh: Likewise.
22333 * malloc/memusage.sh: Likewise.
22334 * malloc/mtrace.pl: Likewise.
22335 * debug/catchsegv.sh: Likewise.
22336
2ba92745
JJ
223372011-12-30 Jakub Jelinek <jakub@redhat.com>
22338
22339 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22340 pure attribute.
22341
dadebdae
UD
223422011-12-24 Ulrich Drepper <drepper@gmail.com>
22343
d3761ebc 22344 [BZ #13533]
db6af3eb
UD
22345 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22346 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22347 transformations.
22348 * iconv/gconv_int.h: Likewise.
22349 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22350 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22351 from libc for GLIBC_2.16.
22352 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22353 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22354 * wcsmbs/uchar.h: Really define mbstate_t.
22355 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22356 * wcsmbs/c16rtomb.c: New file.
22357 * wcsmbs/mbrtoc16.c: New file.
22358 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22359 for C/POSIX locale.
22360 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22361 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22362
dadebdae
UD
22363 * wcsmbs/wchar.h: Add missing __restrict.
22364
67371b56
UD
223652011-12-23 Ulrich Drepper <drepper@gmail.com>
22366
74033a25
UD
22367 [BZ #13532]
22368 * time/Makefile (routines): Add timespec_get.
22369 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22370 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22371 timespec for ISO C11.
22372 * time/timespec_get.c: New file.
22373 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22374 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22375
380d7e87
UD
22376 [BZ #13531]
22377 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22378 * stdlib/stdlib.h: Declare aligned_alloc.
22379 * Versions.def: Add GLIBC_2.16 for libc.
22380 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22381
4e9e7a35
UD
22382 [BZ 13527]
22383 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22384 ISO C11.
22385
380d7e87 22386 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22387 code.
22388
03a71829
UD
22389 [BZ #13528]
22390 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22391
839e283e
UD
22392 [BZ #13529]
22393 * assert/assert.h (static_assert): Define.
22394
ce5294e2 22395 * version.h: Update for 2.16 development version.
90fa7312 22396
8d44e150 22397 [BZ #13526]
d7809905
UD
22398 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22399 _ISOC11_SOURCE.
22400
c0da14cd
UD
22401 * version.h (RELEASE): Bump for 2.15 release.
22402 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22403
530a3249
MP
22404 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22405 Patch by Marek Polacek <mpolacek@redhat.com>.
22406
67371b56
UD
22407 * bits/byteswap.h: Protect long long constants with __extension__.
22408 * sysdeps/i386/bits/byteswap.h: Likewise.
22409 * sysdeps/ia64/bits/byteswap.h: Likewise.
22410 * sysdeps/s390/bits/byteswap.h: Likewise.
22411 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22412
15db4de1
LD
224132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22414
22415 [BZ #13540]
bbe315ea
LD
22416 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22417 destination buffer.
15db4de1
LD
22418 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22419
2b2596b1
MP
224202011-12-23 Marek Polacek <polacek@redhat.com>
22421
22422 * elf/dl-addr.c (determine_info): Add inline keyword.
22423 * elf/tst-auditmod4b.c (check_avx): Likewise.
22424 * elf/tst-auditmod6b.c (check_avx): Likewise.
22425 * elf/tst-auditmod6c.c (check_avx): Likewise.
22426 * elf/tst-auditmod7b.c (check_avx): Likewise.
22427
70c6c246
UD
224282011-12-23 Ulrich Drepper <drepper@gmail.com>
22429
22430 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22431 !__SSE_MATH__.
22432
c044cf14
LD
224332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22434
15db4de1 22435 [BZ #13540]
c044cf14
LD
22436 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22437 processing for last bytes.
22438
6b13d9d9
BH
224392011-08-06 Bruno Haible <bruno@clisp.org>
22440
d455f537
BH
22441 [BZ #13061]
22442 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22443 U+0385, not to U+1FEE.
22444
6b13d9d9
BH
22445 [BZ #13062]
22446 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22447 entry for U+00A5 U+0301.
22448
db910efd
UD
224492011-12-22 Ulrich Drepper <drepper@gmail.com>
22450
27deeafc
UD
22451 [BZ #13166]
22452 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22453 buffer for the output is too small.
22454
aed9d171
UD
22455 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22456 optimization.
22457
db910efd
UD
22458 [BZ #13185]
22459 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22460 SSE flags if possible.
22461
2bd779ae
LD
224622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22463
e7f9dac3 22464 [BZ #13540]
2bd779ae
LD
22465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22466 processing for last bytes.
22467
154bfc16
JM
224682011-12-22 Joseph Myers <joseph@codesourcery.com>
22469
22470 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22471 (syscall-list-default-options, syscall-list-default-condition)
22472 (syscall-list-includes): Define.
22473 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22474 list of ABIs and options and #if conditions for each ABI. Do not
22475 handle common syscalls between ABIs specially.
22476 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22477 Remove.
22478 (syscall-list-variants, syscall-list-32bit-options)
22479 (syscall-list-32bit-condition, syscall-list-64bit-options)
22480 (syscall-list-64bit-condition): Define.
22481 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22482 (syscall-list-variants, syscall-list-32bit-options)
22483 (syscall-list-32bit-condition, syscall-list-64bit-options)
22484 (syscall-list-64bit-condition): Define.
22485 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22486 Remove.
22487 (syscall-list-variants, syscall-list-32bit-options)
22488 (syscall-list-32bit-condition, syscall-list-64bit-options)
22489 (syscall-list-64bit-condition): Define.
22490 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22491 Remove.
22492 (syscall-list-variants, syscall-list-32bit-options)
22493 (syscall-list-32bit-condition, syscall-list-64bit-options)
22494 (syscall-list-64bit-condition): Define.
22495
21eaf3a5
UD
224962011-12-22 Ulrich Drepper <drepper@gmail.com>
22497
16c6f992
UD
22498 * locale/iso-639.def: Add brx entry.
22499
41043168
UD
22500 [BZ #13328]
22501 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22502 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22503
21eaf3a5
UD
22504 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22505 __feraiseexcept_renamed.
22506
e3a851a2
UD
225072011-12-21 Ulrich Drepper <drepper@gmail.com>
22508
4920765e
UD
22509 [BZ #13538]
22510 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22511 EPOLLET with unsigned values.
22512 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22514
e3a851a2
UD
22515 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22516 to large cancellation.
22517 * math/s_cacoshf.c: Likewise.
22518 * math/s_cacoshl.c: Likewise.
22519
b27e24b8
RK
225202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22521
22522 [BZ #13305]
aebefeee 22523 [BZ #12786]
b27e24b8
RK
22524 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22525 * math/s_cacoshf.c: Likewise.
22526 * math/s_cacoshl.c: Likewise.
22527
ee190f67
UD
225282011-12-21 Ulrich Drepper <drepper@gmail.com>
22529
22530 [BZ #13439]
22531 * iconv/gconv.h: Define __GCONV_SWAP.
22532 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22533 * iconvdata/utf-16.c: Likewise.
22534 * iconvdata/utf-32.c: Likewise.
22535
707f25df
AS
225362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22537
22538 [BZ #13524]
22539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22540 numerator after shifting it by one limb.
22541
d2daaa1e
RÁE
225422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22543
22544 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22545 under [__USE_EXTERN_INLINES].
22546
a4647e72
UD
225472011-12-17 Ulrich Drepper <drepper@gmail.com>
22548
22549 [BZ #13446]
22550 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22551
f0b264f1
AZ
225522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22553
22554 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22555 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22556 optimized code.
22557 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22558 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22559 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22560 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22561 for strncasecmp/strncasecmp_l compilation.
22562 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22563 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22564
8ef4f244
MP
225652011-12-08 Marek Polacek <mpolacek@redhat.com>
22566
22567 [BZ #13484]
22568 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22569 of __asm__.
22570
97ac2654
UD
225712011-12-17 Ulrich Drepper <drepper@gmail.com>
22572
22573 [BZ #13506]
22574 * time/tzfile.c (__tzfile_read): Check values from file header.
22575
91d2a845
WS
225762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22577
22578 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22579 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22580 * powerpc/powerpc32/dl-start.S: Likewise.
22581 * powerpc/powerpc32/elf/start.S: Likewise.
22582 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22583 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22584 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22585 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22586 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22587 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22588 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22589 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22590 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22591 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22592 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22593 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22594 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22595 * powerpc/powerpc32/memset.S: Likewise.
22596 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22597 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22598 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22599 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22600 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22601 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22602 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22603 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22604 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22605 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22606 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22607 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22608 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22609
a1267ba1
AZ
226102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22611
22612 * math/libm-test.inc: Added more nearbyint tests.
22613 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22615 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22617
ad8ac1bd
RL
226182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22619
22620 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22621 FD_CLOEXEC.
22622
1d3e4b61
UD
226232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22624
22625 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22626 Add wcscpy-ssse3 wcscpy-c.
22627 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22628 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22629 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22630 * sysdeps/x86_64/wcschr.S: New file.
22631 * sysdeps/x86_64/wcsrchr.S: New file.
22632 * string/test-strcmp.c: Remove checking of wcscmp function for
22633 wrong alignments.
22634 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22635 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22636 wcsrchr-sse2 wcsrchr-c.
22637 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22638 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22639 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22640 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22641 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22642 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22643 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22644 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22645 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22646 * wcsmbc/wcschr.c (WCSCHR): New macro.
22647
5b330a2d
UD
226482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22649
22650 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22651 * wcsmbs/test-wcsrchr.c: New file.
22652 * string/test-strrchr.c: Add wcsrchr support.
22653 (WIDE): New macro.
22654 * wcsmbs/test-wcscpy.c: New file.
22655 * string/test-strcpy.c: Add wcscpy support.
22656 (WIDE): New macro.
26428b7c 22657
f039c043
UD
226582011-12-10 Ulrich Drepper <drepper@gmail.com>
22659
22660 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22661 the inner loop.
22662
850fb039
AS
226632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22664
22665 [BZ #13472]
22666 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22667
4efbd5cb
UD
226682011-12-04 Ulrich Drepper <drepper@gmail.com>
22669
52ff5dd0 22670 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22671 Minor optimizations.
52ff5dd0 22672
4efbd5cb
UD
22673 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22674 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22675 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22676
8a426e12
UD
226772011-12-03 Ulrich Drepper <drepper@gmail.com>
22678
aff2453d
UD
22679 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22680 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22681 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22682 for gcc to avoid warnings.
22683 * inet/Makefile (tests): Add tst-checks.
22684 * inet/tst-checks.c: New file.
22685
22686 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22687 warning.
22688
22689 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22690 __wmemcmp_sse2.
22691
22692 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22693 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22694
8a426e12
UD
22695 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22696
9bea3473
UD
226972011-12-02 Ulrich Drepper <drepper@gmail.com>
22698
3a965496
UD
22699 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22700 problem.
22701
9bea3473
UD
22702 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22703
f101631b
UD
227042011-11-29 Joseph Myers <joseph@codesourcery.com>
22705
22706 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22707 conditional on GCC version.
22708 (__arch_compare_and_exchange_val_8_acq)
22709 (__arch_compare_and_exchange_val_16_acq)
22710 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22711 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22712 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22713
a98275aa
UD
227142011-12-02 Joseph Myers <joseph@codesourcery.com>
22715
22716 * sysdeps/sh/backtrace.c: New file.
22717
d4cc29a2
AS
227182011-12-02 Andreas Schwab <schwab@redhat.com>
22719
22720 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22721 parenthesis.
22722
6257af2d
AS
227232011-12-01 Andreas Schwab <schwab@redhat.com>
22724
22725 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22726 falling back to utime.
22727
b5f44c1a
AS
227282011-11-30 Andreas Schwab <schwab@redhat.com>
22729
22730 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22731 expectations for float.
22732
f3a6cc0a
AS
227332011-11-29 Andreas Schwab <schwab@redhat.com>
22734
22735 * locale/weight.h (findidx): Add parameter len.
22736 * locale/weightwc.h (findidx): Likewise.
22737 * posix/fnmatch_loop.c (FCT): Adjust caller.
22738 * posix/regcomp.c (build_equiv_class): Likewise.
22739 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22740 * posix/regexec.c (check_node_accept_bytes): Likewise.
22741 * string/strcoll_l.c (STRCOLL): Likewise.
22742 * string/strxfrm_l.c (STRXFRM): Likewise.
22743
9d65ea3a
UD
227442011-11-17 Ulrich Drepper <drepper@gmail.com>
22745
22746 * Makefile.in: Remove CVSOPT handling.
22747 * configure.in: Remove use of AC_REVISION.
22748 * iconvdata/Makefile (distribute): No need to filter out CVS.
22749 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22750 handling.
22751
5583a086
AS
227522011-11-16 Andreas Schwab <schwab@redhat.com>
22753
22754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22755 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22756 [USE_AS_STRNCASECMP_L]: Likewise.
22757 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22758 NO_TLS_DIRECT_SEG_REFS.
22759 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22760 Fix argument offsets for non-PIC.
22761 [USE_AS_STRNCASECMP_L]: Likewise.
22762 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22763 NO_TLS_DIRECT_SEG_REFS.
22764
d62a8200
UD
227652011-11-15 Ulrich Drepper <drepper@gmail.com>
22766
9d65ea3a 22767 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22768 O_CLOEXEC.
22769 * locale/loadlocale.c (_nl_load_locale): Likewise.
22770
09f93bd3
AS
227712011-11-15 Andreas Schwab <schwab@redhat.com>
22772
446514f9
AS
22773 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22774 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22775 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22776 (SYSCALL_GETTIME): Set errno on error.
22777
09f93bd3
AS
22778 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22779 count references to noai6ai_cached.
22780
312be3f9
UD
227812011-11-15 Ulrich Drepper <drepper@gmail.com>
22782
22783 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22784
22785 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22786 FD_CLOEXEC for /proc/self/maps.
22787
22788 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22789 FD_CLOEXEC for /proc/meminfo.
22790
22791 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22792 gai.conf.
22793
22794 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22795 FD_CLOEXEC for given file.
22796
22797 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22798
22799 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22800 FD_CLOEXEC for /etc/hosts.
22801 (_gethtent): Likewise.
22802
22803 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22804
22805 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22806 cancellation and set FD_CLOEXEC for /etc/netgroup.
22807
22808 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22809 reading /etc/publickey.
22810
22811 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22812 allow cancellation when reading /etc/group.
22813
22814 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22815 cancellation.
22816 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22817
22818 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22819 when using data file.
22820
22821 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22822
22823 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22824 (write_nis_obj): Use "c" and "e" in fopen.
22825
22826 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22827
22828 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22829
22830 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22831
22832 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22833
22834 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22835 locale.alias.
22836
22837 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22838
22839 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22840
22841 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22842
22843 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22844 file parsing and set FD_CLOEXEC.
22845
82af0fa8
UD
228462011-11-14 Ulrich Drepper <drepper@gmail.com>
22847
22848 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22849
a5fb313c
AS
228502011-11-14 Andreas Schwab <schwab@redhat.com>
22851
22852 * malloc/arena.c (arena_get2): Don't call reused_arena when
22853 _int_new_arena failed.
22854
6abf3465
UD
228552011-11-14 Ulrich Drepper <drepper@gmail.com>
22856
22857 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22858 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22859 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22860 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22862 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22863 to compile strcasecmp and strncasecmp.
22864 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22865 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22866
22867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22868
76e3966e
UD
228692011-11-13 Ulrich Drepper <drepper@gmail.com>
22870
22871 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22872 locale-defines.sym to gen-as-const-headers.
22873 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22874 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22876 to compile strcasecmp and strncasecmp.
22877 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22878 strcasecmp_l and strncasecmp_l.
22879 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22880 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22881 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22882 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22883 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22884 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22885 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22886 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22887 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22888 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22889 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22890
ab26144e
UD
228912011-11-12 Ulrich Drepper <drepper@gmail.com>
22892
7edb22ef
UD
22893 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22894 result of SYSDEP_GETTIME_CPU to retval.
22895 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22896 parameter list to macro. Remove trailing semicolon. Adjust users.
22897
9694fc44
UD
22898 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22899 variable.
22900
8ad89ef8
UD
22901 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22902 mantissa words.
22903 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22904
0c822ef9
UD
22905 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22906 from unused variable.
22907
874e0564
UD
22908 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22909 DWARF definitions.
22910 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22911 for assembling.
22912
3a2edc79
UD
22913 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22914 over namespaces.
22915
f3c2577f
UD
22916 * sunrpc/rpc_prot.c (rejected): Fix case value.
22917
294ce126
UD
22918 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22919 unsigned long long int to avoid warnings in shift.
22920
5e2b63c6
UD
22921 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22922 of use of trans.
22923 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22924 variable tmp.
22925
e7f4b08e
UD
22926 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22927 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22928 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22929
ab26144e
UD
22930 * nis/nis_table.c (nis_list): Use variable of correct type for
22931 result of __follow_path call.
22932
8a6d5255
AZ
229332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22934
22935 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22936 of math functions ceil, trunc, floor, round, and sqrt, when
22937 avaliable on the platform.
22938 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22939 name clash.
22940 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22941 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22942 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22943
aaddc98c
MP
229442011-10-30 Marek Polacek <mpolacek@redhat.com>
22945
22946 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22947 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22948
95b7042b
RM
229492011-11-11 Roland McGrath <roland@hack.frob.com>
22950
22951 * include/unistd.h: Fix __readlink return type.
22952 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22953
57769839
UD
229542011-11-11 Ulrich Drepper <drepper@gmail.com>
22955
22956 * stdlib/ucontext.h: Undo last change for makecontext.
22957
edc5984d
AS
229582011-11-11 Andreas Schwab <schwab@redhat.com>
22959
98591e58
AS
22960 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22961
edc5984d
AS
22962 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22963 * setjmp/setjmp.h: Mark functions as non-leaf.
22964 * setjmp/bits/setjmp2.h: Likewise.
22965 * stdlib/ucontext.h: Likewise.
22966
77cdc054
AS
229672011-11-10 Andreas Schwab <schwab@redhat.com>
22968
22969 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22970 (reused_arena): Don't check arena limit.
22971 (arena_get2): Atomically check arena limit.
22972
fe72eebd
UD
229732011-11-08 Ulrich Drepper <drepper@gmail.com>
22974
5f078c32
UD
22975 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22976 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22977
fe72eebd
UD
22978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22979 instructions.
22980
ae1bc2fa
AS
229812011-11-07 Andreas Schwab <schwab@redhat.com>
22982
7583a88d
AS
22983 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22984 handler when locking.
22985
ae1bc2fa
AS
22986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22987 Fix size of allocated buffer.
22988
10fb0bfa
AS
229892011-11-04 Andreas Schwab <schwab@redhat.com>
22990
998832a4
AS
22991 [BZ #10103]
22992 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22993 declarations for long double functions.
22994 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22995
10fb0bfa
AS
22996 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22997
3d7ba52b
AS
229982011-11-03 Andreas Schwab <schwab@redhat.com>
22999
a9ae54a1
AS
23000 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23001 installed.
23002
3d7ba52b
AS
23003 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23004 is disabled.
23005
bc8db248
ST
230062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23007
23008 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23009
45b96dd6
AS
230102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23011
647776f6
AS
23012 * include/alloca.h (stackinfo_alloca_round): Define.
23013 (extend_alloca): Use it.
23014 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23015 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23016 here.
23017
d91a8b93
AS
23018 * scripts/check-local-headers.sh: Ignore libaudit.h.
23019
45b96dd6
AS
23020 * nscd/Makefile (extra-objs): Make recursively expanded.
23021
432d41ce
UD
230222011-11-01 Ulrich Drepper <drepper@gmail.com>
23023
34372fc6
UD
23024 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23026
fadb59f8
UD
23027 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23028 * posix/tst-rfc3484-2.c: Likewise.
23029 * posix/tst-rfc3484-3.c: Likewise.
23030
78239589
UD
23031 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23032 process_vm_writev.
23033 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23034 process_vm_writev.
23035 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23036 process_vm_writev from libc using GLIBC_2.15 version.
23037
432d41ce
UD
23038 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23039
02f9c6cf
PP
230402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23041
23042 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23043 stack usage.
23044
3a2c0242
UD
230452011-10-31 Ulrich Drepper <drepper@gmail.com>
23046
f4ec4833
UD
23047 [BZ #13367]
23048 * nss/getent.c (initgroups_keys): Show error message in case no group
23049 names are given.
23050
3a2c0242
UD
23051 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23052 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23053 __bump_nl_timestamp.
23054 * nscd/connections (nscd_init): When host database is served open
23055 netlink socket and request notification about configuration changes.
23056 (main_loop_poll): Track netlink file descriptor and bump timestamp
23057 in case data becomes available.
23058 (main_loop_epoll): Likewise.
23059 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23060 (database_pers_head): Add extra_data fileds.
23061 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23062 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23063 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23064 Adjust caller.
23065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23066 in6ai data, call __free_in6ai.
23067 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23068 Add -DHAVE_NETLINK.
23069 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23070 interface information. Reuse previous data if netlink timestamp
23071 is not changed.
23072 (__bump_nl_timestamp): New function.
23073 (__free_in6ai): New function.
23074
636064eb
UD
230752011-10-30 Ulrich Drepper <drepper@gmail.com>
23076
23077 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23078 close_not_cancel_no_status here.
23079 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23080
9beb2334
UD
230812011-10-29 Ulrich Drepper <drepper@gmail.com>
23082
6ef76f3b
UD
23083 [BZ #13276]
23084 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23085 return value.
23086
0ffc4f3e 23087 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23088 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23089 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23090
cb95113e
UD
230912011-07-03 Andreas Jaeger <aj@suse.de>
23092
23093 [BZ #10709]
23094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23095 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23096 * math/libm-test.inc (sin_test): Add test case.
23097
a1b560ff
UD
230982011-10-29 Ulrich Drepper <drepper@gmail.com>
23099
c9aaface
UD
23100 [BZ #13337]
23101 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23102 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23103
d272e7f1
UD
23104 * elf/chroot_canon.c (chroot_canon): Cleanups.
23105
1bc33071
UD
23106 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23107
1760874d
TJ
23108 [BZ #13335]
23109 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23110 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23111
51d91b18
UD
23112 * string/test-strchr.c: Make usable for strchrnul testing.
23113 * string/test-strchrnul.c: New file.
23114 * string/Makefile (strop-tests): Add strchrnul.
23115
a1b560ff 23116 * po/it.po: Update from translation team.
b611fb81 23117 * po/es.po: Likewise.
a1b560ff 23118
a5b81e1f
UD
231192011-10-28 Ulrich Drepper <drepper@gmail.com>
23120
fd52bc6d
UD
23121 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23122 the three constants needed as parameters. Drop the others.
23123 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23124 __m128i_strloadu_tolower.
52e4b9eb
UD
23125 Create and initialize variable zero and use it in all the places
23126 where _mm_setzero_si128 was used.
fd52bc6d 23127
a5b81e1f
UD
23128 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23129 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23130 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23131 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23132 anymore.
23133 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23134 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23135 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23136 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23137 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23138 __mpranred, __mptan.
23139 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23140 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23141 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23142 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23143 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23144 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23146 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23147 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23148
b4343346
AS
231492011-10-28 Andreas Schwab <schwab@redhat.com>
23150
0c92d8a8
AS
23151 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23152 redefine if SHARED.
23153 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23154
b4343346
AS
23155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23156 wide char related routines to wcsmbs subdir.
23157
3871f58f
AS
231582011-10-27 Andreas Schwab <schwab@redhat.com>
23159
23160 [BZ #13344]
23161 * misc/sys/cdefs.h (__THROWNL): Define.
23162 * posix/unistd.h: Use __THREADNL instead of __THREAD
23163 for memory synchronization functions.
23164
94d44d9f
RM
231652011-10-26 Roland McGrath <roland@hack.frob.com>
23166
21b64b15 23167 [BZ #13349]
94d44d9f
RM
23168 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23169 doesn't exist.
23170 * manual/stdio.texi (Obstack Streams): Node removed.
23171
f6ce9294
AS
231722011-10-26 Andreas Schwab <schwab@redhat.com>
23173
80479147
AS
23174 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23175 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23176 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23177
f6ce9294
AS
23178 * math/math_private.h (math_force_eval): Allow non-addressable
23179 arguments.
23180 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23181
618280a1
UD
231822011-10-25 Ulrich Drepper <drepper@gmail.com>
23183
e0016b11
UD
23184 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23185 file is not needed.
23186
23187 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23188 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23189 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23190 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23191 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23192 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23193 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23194 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23195 Add AVX variants.
23196 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23197 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23198 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23199 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23200 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23201 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23202 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23203 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23204 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23205 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23206 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23207 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23210 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23211 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23212 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23213 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23214 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23215
23216 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23217 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23218
618280a1
UD
23219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23220 place. Use VEX encoding when compiling for AVX.
23221
37822576
AS
232222011-10-25 Andreas Schwab <schwab@redhat.com>
23223
1f1e1947
AS
23224 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23225 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23226
37822576
AS
23227 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23228
31ea014d
UD
232292011-10-25 Ulrich Drepper <drepper@gmail.com>
23230
d7826aa1 23231 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23232 useless if() expression.
d7826aa1
UD
23233 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23242 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23243 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23244 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23245 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23246 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23247 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23248 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23249 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23250 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23251 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23252
31ea014d
UD
23253 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23254
16437fec
AS
232552011-10-25 Andreas Schwab <schwab@redhat.com>
23256
23257 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23258 condition.
23259 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23260
31d3cc00
UD
232612011-10-25 Ulrich Drepper <drepper@gmail.com>
23262
23263 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23264 .text section. Avoid duplicate constants.
23265 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23267 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23269 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23273 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23274 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23275 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23276 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23277 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23278 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23282 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23287 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23288 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23289 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23290 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23291 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23292 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23293 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23294 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23295 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23296 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23297 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23298 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23299 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23300 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23301 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23302 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23303 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23304 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23305 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23306 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23307 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23308 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23309 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23310
58985aa9
UD
233112011-10-24 Ulrich Drepper <drepper@gmail.com>
23312
202c9deb
UD
23313 * sysdeps/x86_64/dla.h: Move to ...
23314 * sysdeps/x86_64/fpu/dla.h: ...here.
23315 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23316 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23317
af968f62
UD
23318 * config.make.in: Add have-mfma4 entry.
23319 * configure.in: Substitute libc_cv_cc_fma4.
23320 * math/Makefile (dbl-only-routines): Add sincostab.
23321 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23322 Use __sincostab not sincos.
23323 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23324 name is a macro.
23325 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23326 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23329 using __copysign.
23330 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23331 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23332 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23333 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23334 and __inv.
23335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23336 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23337 __copysign.
23338 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23339 define aliases when function name is a macro.
23340 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23341 sysdeps/ieee754/dbl-64/sincos.tbl.
23342 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23343 fma4-enabled routines.
23344 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23345 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23346 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23347 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23349 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23351 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23352 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23353 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23354 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23355 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23356 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23357 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23358 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23359 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23360 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23361 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23362 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23363 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23364 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23365 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23367 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23368 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23370 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23371 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23372 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23373 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23374
58985aa9
UD
23375 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23376 rename.
23377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23385
a201fbcf
AS
233862011-10-24 Andreas Schwab <schwab@redhat.com>
23387
23388 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23389
fc2ee42a
LD
233902011-10-23 Ulrich Drepper <drepper@gmail.com>
23391
bb3129bd
UD
23392 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23393
0275fff8
UD
23394 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23395 prediction.
23396 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23397
2fa2ae85
UD
23398 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23399 Remove unused variable magic_bits.
23400 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23401
fc2ee42a
LD
23402 * string/strnlen.c: Define and use STRNLEN macro.
23403 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23404 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23405 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23406 * wcsmbs/wcslen.c: Define and use WCSLEN.
23407 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23408 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23409 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23410 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23411 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23412 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23413 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23414
ce7dd29f
LD
234152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23416
23417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23418 strnlen-sse2-no-bsf.
23419 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23421 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23422 Add strnlen support.
23423 (USE_AS_STRNLEN): New macro.
23424 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23426 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23427 * sysdeps/x86_64/wcslen.S: New file.
23428
979c70a3
MZ
234292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23430
23431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23432 XMM-moves are used for copying on small sizes.
23433
2d09f82f
LD
234342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23435
23436 * wcsmbs/Makefile (strop-tests): Add wcschr.
23437 * wcsmbs/test-wcschr.c: New file.
23438 * string/test-strchr.c: Update.
23439 Add wcschr support.
23440 (WIDE): New macro.
23441
619fccca
LD
234422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23443
2d09f82f 23444 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23445 * wcsmbs/test-wcslen.c: New file.
23446 * string/test-strlen.c: Update.
23447 Add wcslen support.
23448 (WIDE): New macro.
23449
09f699ea
UD
234502011-10-23 Ulrich Drepper <drepper@gmail.com>
23451
23452 * po/it.po: Update from translation team.
23453
95584d3b
LD
234542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23455
23456 * sysdeps/x86_64/wcscmp.S: Update.
23457 Fix wrong comparison semantics.
23458 wcscmp shall use signed comparison not unsigned.
23459 Don't use substraction to avoid overflow bug.
23460 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23461 * wcsmbc/wcscmp.c: Likewise.
23462 * string/test-strcmp.c: Likewise.
23463 Add new tests to check cases with negative values.
23464
c8b3296b
UD
234652011-10-23 Ulrich Drepper <drepper@gmail.com>
23466
23467 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23468 * sysdeps/x86_64/dla.h: ...here. New file.
23469 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23478
246ad57a
AS
234792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23480
23481 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23482 __ynl_finite aliases.
23483
a1a87169
UD
234842011-10-22 Ulrich Drepper <drepper@gmail.com>
23485
0d355eb7
UD
23486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23487
a1a87169
UD
23488 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23489 define DLA_FMA.
23490 [DLA_FMA] (EMULV): Use DLA_FMA.
23491 [DLA_FMA] (MUL12): Use EMULV.
23492 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23493 that are not needed.
23494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23501
ee2aafe0
AS
235022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23503
23504 * math/s_nan.c: Undef __nan.
23505 * math/s_nanf.c: Undef __nanf.
23506 * math/s_nanl.c: Undef __nanl.
23507 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23508 "math_private.h".
23509
bc62c2fb
UD
235102011-10-22 Ulrich Drepper <drepper@gmail.com>
23511
77425c63
UD
23512 * math/s_catan.c: Add branch predictions.
23513 * math/s_catanf.c: Likewise.
23514 * math/s_catanh.c: Likewise.
23515 * math/s_catanhf.c: Likewise.
23516 * math/s_catanhl.c: Likewise.
23517 * math/s_catanl.c: Likewise.
23518 * math/s_cexp.c: Likewise.
23519 * math/s_cexpf.c: Likewise.
23520 * math/s_cexpl.c: Likewise.
23521 * math/s_clog.c: Likewise.
23522 * math/s_clog10.c: Likewise.
23523 * math/s_clog10f.c: Likewise.
23524 * math/s_clog10l.c: Likewise.
23525 * math/s_clogf.c: Likewise.
23526 * math/s_clogl.c: Likewise.
23527 * math/s_csqrt.c: Likewise.
23528 * math/s_csqrtf.c: Likewise.
23529 * math/s_csqrtl.c: Likewise.
23530 * math/s_ctanf.c: Likewise.
23531 * math/s_ctanh.c: Likewise.
23532 * math/s_ctanhf.c: Likewise.
23533 * math/s_ctanhl.c: Likewise.
23534 * math/s_ctanl.c: Likewise.
23535
bc62c2fb
UD
23536 * math/math_private.h: Define __nan, __nanf, __nanl.
23537 * math/s_cacosh.c: Include <math_private.h>.
23538 * math/s_cacoshl.c: Likewise.
23539 * math/s_casinh.c: Likewise.
23540 * math/s_casinhf.c: Likewise.
23541 * math/s_casinhl.c: Likewise.
23542 * math/s_ccos.c: Rely entire on ccosh.
23543 * math/s_ccosf.c: Rely entire on ccoshf.
23544 * math/s_ccosl.c: Rely entirely on ccoshl.
23545 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23546 Remove tests for FE_INVALID.
23547 * math/s_ccoshf.c: Likewise.
23548 * math/s_ccoshl.c: Likewise.
23549 * math/s_csin.c: Likewise.
23550 * math/s_csinf.c: Likewise.
23551 * math/s_csinh.c Likewise.
23552 * math/s_csinhf.c: Likewise.
23553 * math/s_csinhl.c: Likewise.
23554 * math/s_csinl.c: Likewise.
23555 * math/s_ctan.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23557 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23558 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23559
8ec250a4
UD
235602011-10-21 Ulrich Drepper <drepper@gmail.com>
23561
c196fed8
UD
23562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23563 compilation problems.
23564
8ec250a4
UD
23565 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23566 __builtin_expect.
23567
8d4f46c6
UD
235682011-10-20 Ulrich Drepper <drepper@gmail.com>
23569
ed72b654
UD
23570 * sysdeps/i386/configure.in: Test for -mfma4 option.
23571 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23572 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23573 COMMON_CPUID_INDEX_80000001.
23574 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23575 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23576 use it if FMA3 is not supported.
23577 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23578
8d4f46c6
UD
23579 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23580 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23581
d45c60c2
AS
235822011-10-20 Andreas Schwab <schwab@redhat.com>
23583
23584 [BZ #12892]
23585 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23586 it would create a cycle with a link time dependency.
23587
d9a4d2ab
UD
235882011-10-19 Ulrich Drepper <drepper@gmail.com>
23589
855d1560
UD
23590 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23591 instruction.
23592 * string/Makefile (strop-tests): Add rawmemchr.
23593 * string/test-rawmemchr.c: New file.
23594
d9a4d2ab
UD
23595 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23596 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23597 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23598 when compiling str{,n}casecmp and when AVX is available. Hook up
23599 new optimized code in initializers.
23600
8f3b1ffe
AS
236012011-10-19 Andreas Schwab <schwab@redhat.com>
23602
23603 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23604 __feraiseexcept instead of feraiseexcept.
23605
d38f1dba
UD
236062011-10-18 Ulrich Drepper <drepper@gmail.com>
23607
d9a8d0ab
UD
23608 * math/math_private.h: Define defaults for libc_fetestexcept and
23609 libc_feupdateenv.
23610 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23611 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23612 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23613 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23614 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23615 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23616 libc_fetestexcept and libc_feupdateenv.
23617
4855e3dd
UD
23618 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23619 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23620 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23621 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23622 libc_feholdexcept_setround.
23623
581d30e3
UD
23624 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23625 Add s_nearbyint-c and s_nearbyintf-c.
23626 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23627 nearbyintf inlines.
23628 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23629 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23630 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23631 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23632
d38f1dba
UD
23633 * math/math_private.h: Define defaults for libc_fegetround,
23634 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23635 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23636 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23638 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23639 standard functions.
23640 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23641 Remove comments and hacks for old compiler versions.
23642 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23643 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23644 libc_feholdexceptl.
23645
caa6c9d8
AS
236462011-10-18 Andreas Schwab <schwab@redhat.com>
23647
23648 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23649 (__feraiseexcept_renamed): Add __NTH.
23650 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23651 namespace violations.
23652
97c066e6
UD
236532011-10-17 Ulrich Drepper <drepper@gmail.com>
23654
99ce7b04
UD
23655 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23656
1004d182
UD
23657 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23658
228a984d
UD
23659 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23660 recently added interfaces.
23661 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23662
c8553a6a
UD
23663 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23664 about macro parameter expansion.
23665
ed22dcf6
UD
23666 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23667 __NO_MATH_INLINES is defined. Cleanups.
23668
23669 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23670 and __floorf is target has SSE4.1.
23671 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23672 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23673 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23674 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23675
b171c137
UD
23676 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23677 name.
23678 (floorf): Likewise.
23679
97c066e6
UD
23680 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23681
629f62ef
AS
236822011-10-17 Andreas Schwab <schwab@redhat.com>
23683
49a43d80
AS
23684 * misc/sys/cdefs.h: Fix last change.
23685
629f62ef
AS
23686 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23687 database lookup.
23688
e453f6cd
UD
236892011-10-16 Ulrich Drepper <drepper@gmail.com>
23690
aa78043a
UD
23691 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23692
ad0f5cad
UD
23693 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23694 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23695 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23696 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23698 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23699 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23700 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23701 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23702 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23703 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23704 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23705 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23706 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23707 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23708 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23709 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23710 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23711 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23712 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23713 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23714 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23715
23716 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23717 ceil, ceilf, floor, floorf.
23718
23719 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23720 Perform IRELATIVE relocations last.
23721
e453f6cd
UD
23722 * elf/do-rel.h: Add another parameter nrelative, replacing the
23723 local variable with the same name. Change name of the function
23724 to end in Rel or Rela (uppercase).
23725 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23726 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23727 elf_dynamic_do_##reloc function.
23728
fd5bdc09
UD
237292011-10-15 Ulrich Drepper <drepper@gmail.com>
23730
79b195b5
UD
23731 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23732 is sufficient, at least on modern CPUs.
23733
d4a28569
UD
23734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23735
b61099b5
UD
23736 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23737 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23738
bcf01e6d
UD
23739 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23740 __expl_finite.
23741 * math/bits/math-finite.h: Add entries for exp.
23742 * math/e_expl.c: Add __*_finite alias.
23743 * sysdeps/i386/fpu/e_exp.S: Likewise.
23744 * sysdeps/i386/fpu/e_expf.S: Likewise.
23745 * sysdeps/i386/fpu/e_expl.c: Likewise.
23746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23747 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23748 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23750 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23751 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23752 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23753
ba1a0d59
UD
23754 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23755 is sufficient, at least on modern CPUs.
23756
fd5bdc09
UD
23757 * ctype/ctype-info.c (__ctype_init): Define.
23758 * include/ctype.h (__ctype_init): Declare.
23759 (__ctype_b_loc): The variable is always initialized.
23760 (__ctype_toupper_loc): Likewise.
23761 (__ctype_tolower_loc): Likewise.
23762 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23763 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23764
7872cfb0
AS
237652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23766
b468825a
AS
23767 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23768
7872cfb0
AS
23769 * configure.in: Also look in $cxxmachine/include for C++ system
23770 headers.
23771
be13f7bf
LD
237722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23773
23774 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23775 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23776 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23777 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23778 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23779 (USE_AS_WMEMCMP): New macro.
23780 Fixing indents.
23781 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23782 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23783 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23784 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23786 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23787 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23788 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23789 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23790 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23791 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23792 (USE_AS_WMEMCMP): New macro.
23793 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23794 * sysdeps/string/test-memcmp.c: Update.
23795 Fix simple_wmemcmp.
23796 Add new tests.
23797 * wcsmbs/wmemcmp.c: Update.
23798 (WMEMCMP): New macro.
23799 Fix overflow bug.
23800
556a2007
AJ
238012011-10-12 Andreas Jaeger <aj@suse.de>
23802
23803 [BZ #13268]
23804 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23805
538faaa7
UD
238062011-10-15 Ulrich Drepper <drepper@gmail.com>
23807
ab6737ff
UD
23808 * libio/iofwide.c (do_length): Avoid warning.
23809
538faaa7
UD
23810 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23811
396a21b1
UD
238122011-10-14 Ulrich Drepper <drepper@gmail.com>
23813
cdf2901f
UD
23814 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23815
38ad40ce
UD
23816 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23817 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23818 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23819 * sysdeps/i386/i686/fpu/e_log.S: New file.
23820 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23821 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23822
396a21b1
UD
23823 * ctype/ctype.h: Add support for inlined isXXX functions when
23824 compiling C++ code.
23825
6b1f68c9
AS
238262011-10-14 Andreas Schwab <schwab@redhat.com>
23827
349290c0
AS
23828 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23829
6b1f68c9
AS
23830 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23831
f2282d42
RM
238322011-10-13 Roland McGrath <roland@hack.frob.com>
23833
23834 [BZ #13291]
23835 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23836
5298ffa8
AS
238372011-10-13 Andreas Schwab <schwab@redhat.com>
23838
714fad23
AS
23839 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23840 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23841 feraiseexcept.
23842
81dcc7fb
AS
23843 * sysdeps/x86_64/memrchr.S: Check for zero size.
23844
5298ffa8
AS
23845 * string/stratcliff.c: Add memrchr tests.
23846
951fbcec
LD
238472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23848
23849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23850 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23851 rawmemchr-sse2 rawmemchr-sse2-bsf.
23852 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23853 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23854 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23855 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23856 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23857 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23858 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23859 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23860 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23861 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23862 * string/memrchr.c (MEMRCHR): New macro.
23863
0ac5ae23
UD
238642011-10-12 Ulrich Drepper <drepper@gmail.com>
23865
23866 Add integration with gcc's -ffinite-math-only and optimize wrapper
23867 functions in libm.
23868 * Versions.def: Define GLIBC_2.15 version for libm.
23869 * math/Makefile (headers): Add bits/math-finite.h.
23870 * math/bits/math-finite.h: New file.
23871 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23872 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23873 * math/e_acoshl.c: Add __*_finite alias.
23874 * math/e_acosl.c: Likewise.
23875 * math/e_asinl.c: Likewise.
23876 * math/e_atan2l.c: Likewise.
23877 * math/e_atanhl.c: Likewise.
23878 * math/e_coshl.c: Likewise.
23879 * math/e_exp10.c: Likewise.
23880 * math/e_exp10f.c: Likewise.
23881 * math/e_exp10l.c: Likewise.
23882 * math/e_exp2l.c: Likewise.
23883 * math/e_fmodl.c: Likewise.
23884 * math/e_gammal_r.c: Likewise.
23885 * math/e_hypotl.c: Likewise.
23886 * math/e_j0l.c: Likewise.
23887 * math/e_j1l.c: Likewise.
23888 * math/e_jnl.c: Likewise.
23889 * math/e_lgammal_r.c: Likewise.
23890 * math/e_log10l.c: Likewise.
23891 * math/e_log2l.c: Likewise.
23892 * math/e_logl.c: Likewise.
23893 * math/e_powl.c: Likewise.
23894 * math/e_sinhl.c: Likewise.
23895 * math/e_sqrtl.c: Likewise.
23896 * math/e_scalb.c: Completely rewritten and optimized.
23897 * math/e_scalbf.c: Likewise.
23898 * math/e_scalbl.c: Likewise.
23899 * math/w_acos.c: Likewise.
23900 * math/w_acosf.c: Likewise.
23901 * math/w_acosl.c: Likewise.
23902 * math/w_acosh.c: Likewise.
23903 * math/w_acoshf.c: Likewise.
23904 * math/w_acoshl.c: Likewise.
23905 * math/w_asin.c: Likewise.
23906 * math/w_asinf.c: Likewise.
23907 * math/w_asinl.c: Likewise.
23908 * math/w_atan2.c: Likewise.
23909 * math/w_atan2f.c: Likewise.
23910 * math/w_atan2l.c: Likewise.
23911 * math/w_atanh.c: Likewise.
23912 * math/w_atanhf.c: Likewise.
23913 * math/w_atanhl.c: Likewise.
23914 * math/w_exp10.c: Likewise.
23915 * math/w_exp10f.c: Likewise.
23916 * math/w_exp10l.c: Likewise.
23917 * math/w_fmod.c: Likewise.
23918 * math/w_fmodf.c: Likewise.
23919 * math/w_fmodl.c: Likewise.
23920 * math/w_j0.c: Likewise.
23921 * math/w_j0f.c: Likewise.
23922 * math/w_j0l.c: Likewise.
23923 * math/w_j1.c: Likewise.
23924 * math/w_j1f.c: Likewise.
23925 * math/w_j1l.c: Likewise.
23926 * math/w_jn.c: Likewise.
23927 * math/w_jnf.c: Likewise.
23928 * math/w_log.c: Likewise.
23929 * math/w_logf.c: Likewise.
23930 * math/w_logl.c: Likewise.
23931 * math/w_log10.c: Likewise.
23932 * math/w_log10f.c: Likewise.
23933 * math/w_log10l.c: Likewise.
23934 * math/w_log2.c: Likewise.
23935 * math/w_log2f.c: Likewise.
23936 * math/w_log2l.c: Likewise.
23937 * math/w_pow.c: Likewise.
23938 * math/w_powf.c: Likewise.
23939 * math/w_powl.c: Likewise.
23940 * math/w_remainder.c: Likewise.
23941 * math/w_remainderf.c: Likewise.
23942 * math/w_remainderl.c: Likewise.
23943 * math/w_scalb.c: Likewise.
23944 * math/w_scalbf.c: Likewise.
23945 * math/w_scalbl.c: Likewise.
23946 * math/w_sqrt.c: Likewise.
23947 * math/w_sqrtf.c: Likewise.
23948 * math/w_sqrtl.c: Likewise.
23949 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23950 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23951 used.
23952 * math/math_private.h: Declare __kernel_standard_f.
23953 * math/w_cosh.c: Remove cruft and optimize a bit.
23954 * math/w_coshf.c: Likewise.
23955 * math/w_coshl.c: Likewise.
23956 * math/w_exp2.c: Likewise.
23957 * math/w_exp2f.c: Likewise.
23958 * math/w_exp2l.c: Likewise.
23959 * math/w_hypot.c: Likewise.
23960 * math/w_hypotf.c: Likewise.
23961 * math/w_hypotl.c: Likewise.
23962 * math/w_lgamma.c: Likewise.
23963 * math/w_lgamma_r.c: Likewise.
23964 * math/w_lgammaf.c: Likewise.
23965 * math/w_lgammaf_r.c: Likewise.
23966 * math/w_lgammal.c: Likewise.
23967 * math/w_lgammal_r.c: Likewise.
23968 * math/w_sinh.c: Likewise.
23969 * math/w_sinhf.c: Likewise.
23970 * math/w_sinhl.c: Likewise.
23971 * math/w_tgamma.c: Likewise.
23972 * math/w_tgammaf.c: Likewise.
23973 * math/w_tgammal.c: Likewise.
23974 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23976 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23977 Minor optimizations. Pretty printing. Remove cruft.
23978 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23979 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23980 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23981 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23982 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23983 * sysdeps/i386/fpu/e_asin.S: Likewise.
23984 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23985 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23986 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23987 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23988 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23989 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23990 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23991 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23992 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23993 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23994 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23995 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23996 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23997 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23998 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23999 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24000 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24001 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24002 * sysdeps/i386/fpu/e_log.S: Likewise.
24003 * sysdeps/i386/fpu/e_log10.S: Likewise.
24004 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24005 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24006 * sysdeps/i386/fpu/e_log2.S: Likewise.
24007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24008 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24009 * sysdeps/i386/fpu/e_logf.S: Likewise.
24010 * sysdeps/i386/fpu/e_logl.S: Likewise.
24011 * sysdeps/i386/fpu/e_pow.S: Likewise.
24012 * sysdeps/i386/fpu/e_powf.S: Likewise.
24013 * sysdeps/i386/fpu/e_powl.S: Likewise.
24014 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24015 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24016 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24018 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24019 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24020 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24021 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24022 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24026 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24028 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24029 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24030 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24034 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24036 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24037 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24040 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24041 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24043 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24044 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24047 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24048 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24049 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24050 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24051 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24052 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24053 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24054 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24057 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24058 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24059 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24060 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24061 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24062 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24063 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24064 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24065 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24066 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24067 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24068 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24069 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24070 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24071 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24072 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24073 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24074 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24075 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24078 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24079 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24080 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24081 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24082 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24083 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24084 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24087 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24091 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24093 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24097 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24098 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24099 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24100 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24101 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24102 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24103 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24104 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24105 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24107 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24108 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24111 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24112 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24114 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24116 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24117 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24118 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24119 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24120 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24121 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24122 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24123 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24124 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24125 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24126 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24128 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24129 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24130 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24131 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24132 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24133 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24134 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24135 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24136 (__isnanf): Likewise.
24137 (__isinf_ns): Likewise.
24138 (__isinf_nsf): Likewise.
24139 (__finite): Likewise.
24140 (__finitef): Likewise.
24141 (__ieee754_sqrt): Define as macro.
24142 (__ieee754_sqrtf): Define as macro.
24143 (__ieee754_sqrtl): Define as macro.
24144 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24145 inlined copy.
24146 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24147 __FINITE_MATH_ONLY__ consistent.
24148 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24149
12cc2fcd
AS
241502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24151
a843a204
AS
24152 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24153 of rawmemchr.
24154
12cc2fcd
AS
24155 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24156
c853acd5
UD
241572011-10-09 Ulrich Drepper <drepper@gmail.com>
24158
24159 * po/ja.po: Update from translation team.
24160
c658d255
RM
241612011-10-08 Roland McGrath <roland@hack.frob.com>
24162
110946e4
RM
24163 * locale/programs/locarchive.c (prepare_address_space): New function.
24164 (create_archive, enlarge_archive, open_archive): Use it.
24165
50604220
RM
24166 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24167 inside [SHARED], where it is used.
24168
c658d255
RM
24169 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24170
24171 * nss/getent.c (netgroup_keys): Remove unused variable.
24172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24173
6a621eb7
UD
241742011-10-08 Ulrich Drepper <drepper@gmail.com>
24175
7edb55ce
UD
24176 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24177 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24179 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24180 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24181 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24182 * math/Makefile (libm-calls): Add s_isinf_ns.
24183 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24184 * math/multc3.c: Likewise.
24185 * math/s_casin.c: Likewise.
24186 * math/s_casinf.c: Likewise.
24187 * math/s_casinl.c: Likewise.
24188 * math/s_ccos.c: Likewise.
24189 * math/s_ccosf.c: Likewise.
24190 * math/s_ccosl.c: Likewise.
24191 * math/s_ctan.c: Likewise.
24192 * math/s_ctanf.c: Likewise.
24193 * math/s_ctanh.c: Likewise.
24194 * math/s_ctanhf.c: Likewise.
24195 * math/s_ctanhl.c: Likewise.
24196 * math/s_ctanl.c: Likewise.
24197 * math/w_fmod.c: Likewise.
24198 * math/w_fmodf.c: Likewise.
24199 * math/w_fmodl.c: Likewise.
24200 * math/w_remainder.c: Likewise.
24201 * math/w_remainderf.c: Likewise.
24202 * math/w_remainderl.c: Likewise.
24203 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24204 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24205 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24207 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24208 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24209 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24210 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24211
187da0ae
UD
24212 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24213 of the number.
24214 * stdio-common/printf_fphex.c: Likewise.
24215 * stdio-common/printf_size.c: Likewise.
24216
9277c064
UD
24217 * math/e_exp10.c: Include math_private.h using <...> not "...".
24218 * math/e_exp10f.c: Likewise.
24219 * math/e_exp10l.c: Likewise.
24220 * math/e_exp2l.c: Likewise.
24221 * math/e_j0l.c: Likewise.
24222 * math/e_j1l.c: Likewise.
24223 * math/e_jnl.c: Likewise.
24224 * math/e_lgammal_r.c: Likewise.
24225 * math/e_rem_pio2l.c: Likewise.
24226 * math/e_scalb.c: Likewise.
24227 * math/e_scalbf.c: Likewise.
24228 * math/e_scalbl.c: Likewise.
24229 * math/k_cosl.c: Likewise.
24230 * math/k_sinl.c: Likewise.
24231 * math/k_tanl.c: Likewise.
24232 * math/s_cacoshf.c: Likewise.
24233 * math/s_catan.c: Likewise.
24234 * math/s_catanf.c: Likewise.
24235 * math/s_catanh.c: Likewise.
24236 * math/s_catanhf.c: Likewise.
24237 * math/s_catanhl.c: Likewise.
24238 * math/s_catanl.c: Likewise.
24239 * math/s_ccosh.c: Likewise.
24240 * math/s_ccoshf.c: Likewise.
24241 * math/s_ccoshl.c: Likewise.
24242 * math/s_cexp.c: Likewise.
24243 * math/s_cexpf.c: Likewise.
24244 * math/s_cexpl.c: Likewise.
24245 * math/s_clog.c: Likewise.
24246 * math/s_clog10.c: Likewise.
24247 * math/s_clog10f.c: Likewise.
24248 * math/s_clog10l.c: Likewise.
24249 * math/s_clogf.c: Likewise.
24250 * math/s_clogl.c: Likewise.
24251 * math/s_csin.c: Likewise.
24252 * math/s_csinf.c: Likewise.
24253 * math/s_csinh.c: Likewise.
24254 * math/s_csinhf.c: Likewise.
24255 * math/s_csinhl.c: Likewise.
24256 * math/s_csinl.c: Likewise.
24257 * math/s_csqrt.c: Likewise.
24258 * math/s_csqrtf.c: Likewise.
24259 * math/s_csqrtl.c: Likewise.
24260 * math/s_ctan.c: Likewise.
24261 * math/s_ctanf.c: Likewise.
24262 * math/s_ctanh.c: Likewise.
24263 * math/s_ctanhf.c: Likewise.
24264 * math/s_ctanhl.c: Likewise.
24265 * math/s_ctanl.c: Likewise.
24266 * math/s_ldexp.c: Likewise.
24267 * math/s_ldexpf.c: Likewise.
24268 * math/s_ldexpl.c: Likewise.
24269 * math/s_significand.c: Likewise.
24270 * math/s_significandf.c: Likewise.
24271 * math/s_significandl.c: Likewise.
24272 * math/w_acos.c: Likewise.
24273 * math/w_acosf.c: Likewise.
24274 * math/w_acosh.c: Likewise.
24275 * math/w_acoshf.c: Likewise.
24276 * math/w_acoshl.c: Likewise.
24277 * math/w_acosl.c: Likewise.
24278 * math/w_asin.c: Likewise.
24279 * math/w_asinf.c: Likewise.
24280 * math/w_asinl.c: Likewise.
24281 * math/w_atan2.c: Likewise.
24282 * math/w_atan2f.c: Likewise.
24283 * math/w_atan2l.c: Likewise.
24284 * math/w_atanh.c: Likewise.
24285 * math/w_atanhf.c: Likewise.
24286 * math/w_atanhl.c: Likewise.
24287 * math/w_cosh.c: Likewise.
24288 * math/w_coshf.c: Likewise.
24289 * math/w_coshl.c: Likewise.
24290 * math/w_dremf.c: Likewise.
24291 * math/w_exp10.c: Likewise.
24292 * math/w_exp10f.c: Likewise.
24293 * math/w_exp10l.c: Likewise.
24294 * math/w_exp2.c: Likewise.
24295 * math/w_exp2f.c: Likewise.
24296 * math/w_fmod.c: Likewise.
24297 * math/w_fmodf.c: Likewise.
24298 * math/w_fmodl.c: Likewise.
24299 * math/w_hypot.c: Likewise.
24300 * math/w_hypotf.c: Likewise.
24301 * math/w_hypotl.c: Likewise.
24302 * math/w_j0.c: Likewise.
24303 * math/w_j0f.c: Likewise.
24304 * math/w_j0l.c: Likewise.
24305 * math/w_j1.c: Likewise.
24306 * math/w_j1f.c: Likewise.
24307 * math/w_j1l.c: Likewise.
24308 * math/w_jn.c: Likewise.
24309 * math/w_jnf.c: Likewise.
24310 * math/w_jnl.c: Likewise.
24311 * math/w_lgamma.c: Likewise.
24312 * math/w_lgamma_r.c: Likewise.
24313 * math/w_lgammaf.c: Likewise.
24314 * math/w_lgammaf_r.c: Likewise.
24315 * math/w_lgammal.c: Likewise.
24316 * math/w_lgammal_r.c: Likewise.
24317 * math/w_log.c: Likewise.
24318 * math/w_log10.c: Likewise.
24319 * math/w_log10f.c: Likewise.
24320 * math/w_log10l.c: Likewise.
24321 * math/w_log2.c: Likewise.
24322 * math/w_log2f.c: Likewise.
24323 * math/w_log2l.c: Likewise.
24324 * math/w_logf.c: Likewise.
24325 * math/w_logl.c: Likewise.
24326 * math/w_pow.c: Likewise.
24327 * math/w_powf.c: Likewise.
24328 * math/w_powl.c: Likewise.
24329 * math/w_remainder.c: Likewise.
24330 * math/w_remainderf.c: Likewise.
24331 * math/w_remainderl.c: Likewise.
24332 * math/w_scalb.c: Likewise.
24333 * math/w_scalbf.c: Likewise.
24334 * math/w_scalbl.c: Likewise.
24335 * math/w_sinh.c: Likewise.
24336 * math/w_sinhf.c: Likewise.
24337 * math/w_sinhl.c: Likewise.
24338 * math/w_sqrt.c: Likewise.
24339 * math/w_sqrtf.c: Likewise.
24340 * math/w_sqrtl.c: Likewise.
24341 * math/w_tgamma.c: Likewise.
24342 * math/w_tgammaf.c: Likewise.
24343 * math/w_tgammal.c: Likewise.
24344
6a621eb7
UD
24345 * po/ja.po: Update from translation team.
24346
bf582445
AJ
243472011-09-29 Andreas Jaeger <aj@suse.de>
24348
f9efbf3a
AJ
24349 [BZ #13179]
24350 * sunrpc/netname.c (netname2host): Fix logic.
24351
bf582445
AJ
24352 [BZ #6779]
24353 [BZ #6783]
24354 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24355 correctly.
24356 * math/w_remainder.c (__remainder): Likewise.
24357 * math/w_remainderf.c (__remainderf): Likewise.
24358 * math/libm-test.inc (remainder_test): Add test cases.
24359
48693bea
AK
243602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24361
24362 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24363 sdiv_qrnnd.
24364
42622229
LD
243652011-10-07 Ulrich Drepper <drepper@gmail.com>
24366
24367 * string/test-memcmp.c: Avoid unncessary #defines.
24368 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24369
093ecf92
LD
243702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24371
24372 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24373 Use new sse2 version for core i3 - i7 as it's faster
24374 than sse42 version.
24375 (bit_Prefer_PMINUB_for_stringop): New.
24376 * sysdeps/x86_64/rawmemchr.S: Update.
24377 Replace with faster SSE2 version.
24378 * sysdeps/x86_64/memrchr.S: New file.
24379 * sysdeps/x86_64/memchr.S: Update.
24380 Replace with faster SSE2 version.
24381
fde56e5c
MP
243822011-09-12 Marek Polacek <mpolacek@redhat.com>
24383
24384 * elf/dl-load.c (lose): Add cast to avoid warning.
24385
21fd49a9
UD
243862011-10-07 Ulrich Drepper <drepper@gmail.com>
24387
5a06e643
UD
24388 * po/ca.po: Update from translation team.
24389
684ae515
UD
24390 * inet/getnetgrent_r.c: Hook up nscd.
24391 * nscd/Makefile (routines): Add nscd_netgroup.
24392 (nscd-modules): Add netgroupcache.
24393 (CFLAGS-netgroupcache.c): Define.
24394 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24395 (cache_search): Add const to second parameter.
24396 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24397 INNETGR.
24398 (dbs): Add netgrdb entry.
24399 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24400 (verify_persistent_db): Handle netgrdb.
24401 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24402 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24403 GETFDNETGR.
24404 (netgroup_response_header): Define.
24405 (innetgroup_response_header): Define.
24406 (datahead): Add netgroup_response_header and innetgroup_response_header
24407 elements.
24408 * nscd/nscd.conf: Add entries for netgroup cache.
24409 * nscd/nscd.h (dbtype): Add netgrdb.
24410 (_PATH_NSCD_NETGROUP_DB): Define.
24411 (netgroup_iov_disabled): Declare.
24412 (xmalloc, xcalloc, xrealloc): Move declarations here.
24413 (cache_search): Adjust prototype.
24414 Add netgroup-related prototypes.
24415 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24416 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24417 (__nscd_innetgr): Declare.
24418 * nscd/selinux.c (perms): Use access_vector_t as element type and
24419 add netgroup-related initializers.
24420 * nscd/netgroupcache.c: New file.
24421 * nscd/nscd_netgroup.c: New file.
24422 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24423 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24424 For four parameters use innetgr.
24425 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24426 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24427 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24428 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24429
21fd49a9
UD
24430 * nscd/connections.c (register_traced_file): Don't register file
24431 for disabled databases.
24432
054c0457
UD
244332011-10-06 Ulrich Drepper <drepper@gmail.com>
24434
32b63198
UD
24435 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24436
054c0457
UD
24437 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24438 from tree and freeing node.
24439
64031225
JO
244402011-09-25 Jiri Olsa <jolsa@redhat.com>
24441
24442 * nss/nsswitch.c (__nss_database_lookup): Handle
24443 nss_parse_service_list out of memory case.
24444
0490345c
JO
244452011-09-15 Jiri Olsa <jolsa@redhat.com>
24446
24447 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24448 out of memory case.
24449
3a62d00d
AS
244502011-10-04 Andreas Schwab <schwab@redhat.com>
24451
24452 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24453 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24454 pass it down.
24455 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24456 elf_machine_rela, elf_machine_lazy_rel.
24457 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24458 (ELF_DYNAMIC_DO_REL): Likewise.
24459 (ELF_DYNAMIC_DO_RELA): Likewise.
24460 (ELF_DYNAMIC_RELOCATE): Likewise.
24461 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24462 to ELF_DYNAMIC_DO_REL.
24463 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24464 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24465 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24466 elf_machine_rela.
24467 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24468 skip_ifunc, don't call ifunc function if non-zero.
24469 (elf_machine_rela): Likewise.
24470 (elf_machine_lazy_rel): Likewise.
24471 (elf_machine_lazy_rela): Likewise.
24472 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24473 (elf_machine_lazy_rel): Likewise.
24474 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24475 Likewise.
24476 (elf_machine_lazy_rel): Likewise.
24477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24478 Likewise.
24479 (elf_machine_lazy_rel): Likewise.
24480 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24481 (elf_machine_lazy_rel): Likewise.
24482 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24483 (elf_machine_lazy_rel): Likewise.
24484 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24485 (elf_machine_lazy_rel): Likewise.
24486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24487 (elf_machine_lazy_rel): Likewise.
24488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24489 (elf_machine_lazy_rel): Likewise.
24490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24491 (elf_machine_lazy_rel): Likewise.
24492
68577918
UD
244932011-09-28 Ulrich Drepper <drepper@gmail.com>
24494
24495 * nss/nss_files/files-init.c (_nss_files_init): Use static
24496 initialization for all the *_traced_file variables.
24497
68822d74
AS
244982011-09-28 Andreas Schwab <schwab@redhat.com>
24499
24500 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24501
2056100b
RM
245022011-09-27 Roland McGrath <roland@hack.frob.com>
24503
24504 [BZ #13226]
24505 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24506
32c76b63
AS
245072011-09-27 Andreas Schwab <schwab@redhat.com>
24508
24509 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24510 Reread the line before reparsing it.
24511
bf972c9d
AS
245122011-09-26 Andreas Schwab <schwab@redhat.com>
24513
24514 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24515
e057a1b5
JM
245162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24517 Maxim Kuvyrkov <maxim@codesourcery.com>
24518 Joseph Myers <joseph@codesourcery.com>
24519
24520 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24521 if needed for __stack_chk_guard.
24522
bc7e1c36
RM
245232011-09-19 Roland McGrath <roland@hack.frob.com>
24524
ecb1482f
RM
24525 * sysdeps/posix/spawni.c (script_execute): Always define it.
24526 It will be optimized away if unused.
24527 (maybe_script_execute): New function.
24528 (__spawni): Call it.
24529
bc7e1c36
RM
24530 * Makerules: Don't include tls.make.
24531 (config-tls): Always set to thread.
24532 * tls.make.c: File removed.
24533
1c3b002b
MF
245342011-09-19 Mike Frysinger <vapier@gentoo.org>
24535
24536 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24537 * config.make.in (CPPFLAGS-config): New substituted variable.
24538
2840865d
UD
245392011-09-15 Ulrich Drepper <drepper@gmail.com>
24540
88738eb6
UD
24541 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24542
cbf645a6 24543 [BZ #13192]
2840865d
UD
24544 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24545 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24546
b402e91a
RM
245472011-09-15 Roland McGrath <roland@hack.frob.com>
24548
24549 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24550 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24552 (CALL_FAIL): Likewise.
24553 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24554 (CALL_FAIL): Macro removed.
24555 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24556
4c1a1f71
UD
245572011-09-15 Ulrich Drepper <drepper@gmail.com>
24558
24559 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24560 for __FINITE_MATH_ONLY__ == 1.
24561
edc121be
AS
245622011-09-15 Andreas Schwab <schwab@redhat.com>
24563
24564 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24565 __ieee754_sqrt instead of sqrt.
24566 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24567 __ieee754_sqrtf instead of sqrtf.
24568 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24569 __floorf instead of floorf.
24570 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24571 __floorf, __truncf instead of floorf, truncf.
24572
cd205654
UD
245732011-09-14 Ulrich Drepper <drepper@gmail.com>
24574
ee4d0315
UD
24575 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24576
cd205654
UD
24577 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24578 __extern_always_inline.
24579 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24580 32-bit.
24581
48b67d71
AS
245822011-09-14 Andreas Schwab <schwab@redhat.com>
24583
24584 * elf/rtld.c (dl_main): Also relocate in dependency order when
24585 doing symbol dependency testing.
24586
1ae12c75
AS
245872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24588
24589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24590 Always define `refsym'.
24591
995a80df
AS
245922011-09-13 Andreas Schwab <schwab@redhat.com>
24593
e529793b
AS
24594 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24595 (__FD_ELT): Renamed from __FDELT.
24596 * misc/bits/select2.h (__FD_ELT): Likewise.
24597 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24598 __FD_MASK instead of __FDELT, __FDMASK.
24599 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24600 Likewise.
24601 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24602 Likewise.
24603
52d4fef8
AS
24604 * elf/Makefile (gen-ldd): Fix pattern.
24605
995a80df
AS
24606 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24607 (init_tls): Likewise.
24608
8682f8b0
UD
246092011-09-12 Ulrich Drepper <drepper@gmail.com>
24610
24611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24612
de82006d
AS
246132011-09-12 Andreas Schwab <schwab@redhat.com>
24614
a7c8e6a1
AS
24615 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24616 `struct cmsghdr *' instead of `void *'.
24617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24618 Likewise.
24619
0f31fe77
AS
246202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24621
24622 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24623 if non-absolute.
24624 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24625 ldd_rewrite_script.
0f31fe77 24626
32b4c839
UD
246272011-09-11 Ulrich Drepper <drepper@gmail.com>
24628
83cd1420
UD
24629 * configure.in: Remove --with-tls option.
24630 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24631 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24632 out in case it is missing.
24633 * sysdeps/ia64/elf/configure.in: Likewise.
24634 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24635 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24636 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24637 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24638 * sysdeps/sh/elf/configure.in: Likewise.
24639 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24640 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24641 * sysdeps/x86_64/elf/configure.in: Likewise.
24642 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24643 * sysdeps/mach/hurd/tls.h: Likewise.
24644
633f745d
UD
24645 [BZ #13067]
24646 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24647
f318beb8
UD
24648 [BZ #13090]
24649 * configure.in: Fix use of AC_INIT.
24650
32b4c839
UD
24651 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24652
3ce1f295
UD
246532011-09-10 Ulrich Drepper <drepper@gmail.com>
24654
bb016596
UD
24655 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24656 __set_errno.
8e58439c
UD
24657 * malloc/hooks.c: Likewise.
24658
aebae053 24659 [BZ #11929]
02d46fc4
UD
24660 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24661 variables statically.
24662 (narenas): Initialize.
24663 (list_lock): Initialize.
bb016596
UD
24664 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24665 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24666 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24667 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24668 Add initializers to main_arena and mp_.
24669 (malloc_state): Remove pagesize member. Change all users to use
24670 GLRO(dl_pagesize).
24671
24672 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24673 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24674 is always initialized.
24675
22a89187
UD
24676 * malloc/malloc.c: Removed unused configurations and dead code.
24677 * malloc/arena.c: Likewise.
24678 * malloc/hooks.c: Likewise.
02d46fc4 24679 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24680
d063d164
UD
24681 * include/tls.h: Removed. USE___THREAD must always be defined.
24682 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24683 * elf/dl-libc.c: Likewise.
24684 * elf/dl-tsd.c: Likewise.
24685 * include/errno.h: Likewise.
24686 * include/netdb.h: Likewise.
24687 * include/resolv.h: Likewise.
24688 * inet/herrno-loc.c: Likewise.
24689 * inet/herrno.c: Likewise.
24690 * malloc/arena.c: Likewise.
24691 * malloc/hooks.c: Likewise.
24692 * malloc/malloc.c: Likewise.
24693 * resolv/res-state.c: Likewise.
24694 * resolv/res_libc.c: Likewise.
24695 * sysdeps/i386/dl-machine.h: Likewise.
24696 * sysdeps/ia64/dl-machine.h: Likewise.
24697 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24698 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24699 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24700 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24701 * sysdeps/sh/dl-machine.h: Likewise.
24702 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24703 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24704 * sysdeps/unix/i386/sysdep.S: Likewise.
24705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24706 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24710 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24711 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24715 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24716 * sysdeps/x86_64/dl-machine.h: Likewise.
24717 * tls.make.c: Likewise.
24718
3ce1f295
UD
24719 * configure.in: Remove --with-__thread option. Make tests for
24720 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24721 tls_model attribute fail if no support is available. Remove
24722 USE_IN_LIBIO.
24723 * Makeconfig: Adjust for dropped configure option. All features are
24724 now mandatory.
24725 * Makerules: Likewise.
24726 * Versions.def: Likewise.
24727 * argp/argp-fmtstream.c: Likewise.
24728 * argp/argp-fmtstream.h: Likewise.
24729 * argp/argp-help.c: Likewise.
24730 * assert/assert.c: Likewise.
24731 * config.h.in: Likewise.
24732 * config.make.in: Likewise.
24733 * configure: Likewise.
24734 * configure.in: Likewise.
24735 * csu/Versions: Likewise.
24736 * csu/init.c: Likewise.
24737 * elf/tst-audit2.c: Likewise.
24738 * elf/tst-tls10.c: Likewise.
24739 * elf/tst-tls10.h: Likewise.
24740 * elf/tst-tls11.c: Likewise.
24741 * elf/tst-tls12.c: Likewise.
24742 * elf/tst-tls14.c: Likewise.
24743 * elf/tst-tlsmod11.c: Likewise.
24744 * elf/tst-tlsmod12.c: Likewise.
24745 * elf/tst-tlsmod13.c: Likewise.
24746 * elf/tst-tlsmod13a.c: Likewise.
24747 * elf/tst-tlsmod14a.c: Likewise.
24748 * elf/tst-tlsmod15b.c: Likewise.
24749 * elf/tst-tlsmod16a.c: Likewise.
24750 * elf/tst-tlsmod16b.c: Likewise.
24751 * elf/tst-tlsmod7.c: Likewise.
24752 * elf/tst-tlsmod8.c: Likewise.
24753 * elf/tst-tlsmod9.c: Likewise.
24754 * gmon/gmon.c: Likewise.
24755 * grp/fgetgrent_r.c: Likewise.
24756 * grp/putgrent.c: Likewise.
24757 * hurd/fopenport.c: Likewise.
24758 * include/libc-symbols.h: Likewise.
24759 * include/tls.h: Likewise.
24760 * intl/gettextP.h: Likewise.
24761 * intl/loadinfo.h: Likewise.
24762 * locale/global-locale.c: Likewise.
24763 * locale/localeinfo.h: Likewise.
24764 * mach/devstream.c: Likewise.
24765 * malloc/arena.c: Likewise.
24766 * malloc/set-freeres.c: Likewise.
24767 * misc/err.c: Likewise.
24768 * misc/getttyent.c: Likewise.
24769 * misc/mntent_r.c: Likewise.
24770 * posix/getopt.c: Likewise.
24771 * posix/wordexp.c: Likewise.
24772 * pwd/fgetpwent_r.c: Likewise.
24773 * resolv/Versions: Likewise.
24774 * resolv/res_hconf.c: Likewise.
24775 * shadow/fgetspent_r.c: Likewise.
24776 * shadow/putspent.c: Likewise.
24777 * stdio-common/printf_fphex.c: Likewise.
24778 * stdio-common/tmpfile.c: Likewise.
24779 * stdlib/abort.c: Likewise.
24780 * stdlib/fmtmsg.c: Likewise.
24781 * sunrpc/auth_unix.c: Likewise.
24782 * sunrpc/clnt_perr.c: Likewise.
24783 * sunrpc/clnt_tcp.c: Likewise.
24784 * sunrpc/clnt_udp.c: Likewise.
24785 * sunrpc/clnt_unix.c: Likewise.
24786 * sunrpc/openchild.c: Likewise.
24787 * sunrpc/svc_simple.c: Likewise.
24788 * sunrpc/svc_tcp.c: Likewise.
24789 * sunrpc/svc_udp.c: Likewise.
24790 * sunrpc/svc_unix.c: Likewise.
24791 * sunrpc/xdr.c: Likewise.
24792 * sunrpc/xdr_array.c: Likewise.
24793 * sunrpc/xdr_rec.c: Likewise.
24794 * sunrpc/xdr_ref.c: Likewise.
24795 * sunrpc/xdr_stdio.c: Likewise.
24796
1248c1c4
PB
247972011-09-09 Ulrich Drepper <drepper@gmail.com>
24798
24799 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24800
248012011-07-03 Andreas Jaeger <aj@suse.de>
24802
24803 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24804 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24805 regenerate with gen-libm-tests.pl.
24806
248072010-05-12 Petr Baudis <pasky@suse.cz>
24808
24809 [BZ #11589]
24810 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24811 around j0() zero points by switching to j1().
24812 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24813 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24815 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24816
f22e1074
UD
248172011-09-09 Ulrich Drepper <drepper@gmail.com>
24818
f19009c1
UD
24819 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24820 instead of 0.
24821 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24822 instead of 0.
f19009c1
UD
24823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24824 Patch in part by Pavel Roskin <proski@gnu.org>.
24825
3f8cc204
UD
24826 [BZ #13138]
24827 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24828 realloc.
24829 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24830 Free memory block if necessary.
24831
f22e1074
UD
24832 [BZ #12847]
24833 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24834 be NULL. Don't lock in this case.
24835
0a2349f9
RM
248362011-09-09 Roland McGrath <roland@hack.frob.com>
24837
24838 * elf/elf.h (ELFOSABI_GNU): New macro.
24839 (ELFOSABI_LINUX): Define to that.
24840
f3cdd467
DZ
248412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24842
24843 * string/strncat.c (strncat): Undef the symbol in case it has been
24844 defined in bits/string.h.
24845
74718d13
UD
248462011-09-09 Ulrich Drepper <drepper@gmail.com>
24847
633e9e0f
UD
24848 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24849
0a2349f9 24850 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24851 link map.
24852
f9924780
AJ
248532011-08-17 Andreas Jaeger <aj@suse.de>
24854
24855 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24856
7f5517aa
PP
248572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24858 Ian Lance Taylor <iant@google.com>
24859
24860 * math/libm-test.inc (lround_test): New testcase.
24861 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24862
762011fe
UD
248632011-09-08 Ulrich Drepper <drepper@gmail.com>
24864
92963737
UD
24865 * Makefile: Remove support for automatic cvs check-ins.
24866 * Makerules: Likewise.
24867 * config.make.in: Likewise.
24868 * configure.in: Likewise.
24869 * intl/Makefile: Likewise.
24870 * locale/Makefile: Likewise.
24871 * po/Makefile: Likewise.
24872 * posix/Makefile: Likewise.
24873 * sysdeps/gnu/Makefile: Likewise.
24874 * sysdeps/mach/hurd/Makefile: Likewise.
24875 * sysdeps/sparc/sparc32/Makefile: Likewise.
24876
b0727fd8
JS
24877 [BZ #13118]
24878 * posix/Makefile (bug-regex32-ENV): Define.
24879 Patch by John Stanley <jpsinthemix@verizon.net>.
24880
a0f33f99
UD
24881 * misc/Makefile (headers): Add bits/select2.h.
24882 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24883 * misc/bits/select2.h: New file.
24884 * include/bits/select2.h: New file.
24885 * debug/Makefile (routines): Add fdelt_chk.
24886 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24887 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24888 FD_ISSET.
24889 * debug/fdelt_chk.c: New file.
24890
762011fe
UD
24891 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24892 * wcsmbs/test-wmemcmp.c: Likewise.
24893 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24894 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24895
248962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24897
24898 * string/Makefile (strop-tests): Add memcmp.
24899 * string/test-wmemcmp.c: New file.
24900 * string/test-memcmp.c: Add wmemcmp support.
24901
7f513ec8
RM
249022011-09-08 Roland McGrath <roland@hack.frob.com>
24903
0442afb4
RM
24904 [BZ #13153]
24905 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24906 2011-07-19 change.
24907
7f513ec8
RM
24908 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24909 garbage value in a __mach_port_mod_refs call in the cases of the
24910 task-self and thread-self ports.
24911
a12b2239
ST
249122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24913
24914 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24915
610f9ab4
AS
249162011-09-08 Andreas Schwab <schwab@redhat.com>
24917
7f513ec8 24918 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24919
48882a1a
LD
249202011-09-07 Ulrich Drepper <drepper@gmail.com>
24921
b49865be
UD
24922 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24923
fdc86bc9
UD
24924 * elf/dl-libc.c (dlerror_run): Pass back error code from
24925 dl_catch_error.
24926
c966526a
UD
24927 [BZ #13123]
24928 * elf/dl-load.c (lose): Free l_origin if it is valid.
24929
48882a1a
LD
24930 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24931 names.
24932 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24935 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24936 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24937 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24938
77a2a8b4
AZ
249392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24940
24941 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24942 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24943 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24944 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24945 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24946 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24947 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24948 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24949 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24950 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24951
24f579d8
AM
249522011-08-15 Alan Modra <amodra@gmail.com>
24953
24954 [BZ #13092]
24955 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24956 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24957 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24958 ppc_mcount to static-only-routines.
24959 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24960 __mcount_internal.
24961 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24962 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24963
3d4837df
UD
249642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24965
24966 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24967 for finite and infinity parameters.
24968
22700377
WS
249692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24970
24971 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24972 and add nop instructions for throughput optimization.
24973 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24974
5025581e
WS
249752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24976
24977 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24978 aligned copy for power7 with vector-scalar instructions.
24979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24980
08a300c9
L
249812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24982
24983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24984 AVX check.
24985
59178ef9
AS
249862011-09-07 Andreas Schwab <schwab@redhat.com>
24987
24988 [BZ #13144]
24989 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24990 last change.
24991
e38ba7ab
UD
249922011-09-07 Ulrich Drepper <drepper@gmail.com>
24993
24994 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24995 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24996 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24997 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24998 clock_gettime.
24999
d53a73ac
UD
250002011-09-06 Ulrich Drepper <drepper@gmail.com>
25001
fc8bffcc
UD
25002 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25003 Forgot to demangle the pointer.
25004
ceaa0c5d
UD
25005 * sysdeps/i386/sysdep.h: Define atom_text_section.
25006 * sysdeps/x86_64/sysdep.h: Likewise.
25007 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25008 section with atom_text_section.
25009 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25010 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25011 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25012 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25013 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25014
a77d3c17
UD
25015 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25016 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25017 already be defined. Change to take two parameters and don't assign
25018 result to variable. Adjust all users.
25019 Define INTERNAL_GETTIME if not already defined.
25020 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25021 call.
25022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25023 HAVE_CLOCK_GETTIME_VSYSCALL.
25024 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25025
d53a73ac
UD
25026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25027 gettimeofday vsyscall, just use time.
25028
a8f84144
AS
250292011-09-06 Andreas Schwab <schwab@redhat.com>
25030
25031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25032 <errno.h>.
25033
ef606249
UD
250342011-09-06 Ulrich Drepper <drepper@gmail.com>
25035
25036 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25037 syscall on x86-64.
25038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25039 syscall.
25040 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25042 syscall if possible.
25043
6585cb60
UD
250442011-09-05 Ulrich Drepper <drepper@gmail.com>
25045
25046 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25047 e_ident. Don't pass to find_mapsXX.
25048 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25049
a5f524e4
LD
250502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25051
25052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25053 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25054 * sysdeps/x86_64/multiarch/strchr.S: Update.
25055 Check bit_slow_BSF bit.
25056 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25057 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25058 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25059
554881ef
UD
250602011-09-05 Ulrich Drepper <drepper@gmail.com>
25061
d96de963
UD
25062 [BZ #13134]
25063 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25064 before glibc 2.15.
25065 (tryshell): Define.
25066 (__spawni): Change last parameter to be flag. Test
25067 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25068 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25069 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25070 * posix/spawni.c: Likewise.
25071 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25072 * posix/spawnp.c: Likewise. Change normal version to use
25073 SPAWN_XFLAGS_USE_PATH.
25074 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25075 SPAWN_XFLAGS_TRY_SHELL.
25076
d48e5868
UD
25077 [BZ #13150]
25078 * posix/glob.h: Remove gcc 1.x support.
25079
554881ef
UD
25080 [BZ #13068]
25081 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25082
693fb948
LD
250832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25084
25085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25086 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25087 strrchr-sse2-bsf
25088 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25089 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25090 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25091 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25092 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25093 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25094
1b48c537
UD
250952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25096
49d42c37
UD
25097 * sysdeps/x86_64/wcscmp.S: New file.
25098
1b48c537
UD
25099 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25100 wcscmp-c wcscmp-sse2
25101 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25102 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25103 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25104 * wcsmbs/wcscmp.c: Allow renaming.
25105
15c95c5d
DM
251062011-09-05 David S. Miller <davem@davemloft.net>
25107
25108 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25109 stack slot, rather than the struct return pointer slot.
25110 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25111 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25113 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25114
2f0ad8f3
UD
251152011-09-05 Ulrich Drepper <drepper@gmail.com>
25116
d88ae418
UD
25117 * po/ja.po: Update from translation team.
25118
2f0ad8f3
UD
25119 [BZ #13144]
25120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25121 kernel in 64-bit binaries.
25122
5f4318d1
DM
251232011-09-01 David S. Miller <davem@davemloft.net>
25124
25125 * elf/elf.h (HWCAP_SPARC_*): Move to..
25126 * sysdeps/sparc/sysdep.h: this new file and add new values.
25127 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25128 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25129 _DL_HWCAP_COUNT to 24.
25130 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25131 entries.
25132 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25133 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25134 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25136 instead of magic constants.
25137 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25138
3ba57516
DM
251392011-08-31 David S. Miller <davem@davemloft.net>
25140
25141 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25143 Reimplement to do errno handling inline.
25144 (SYSCALL_ERROR_HANDLER): New macro.
25145 (__SYSCALL_STRING): Do not do errno handling in asm.
25146 (__CLONE_SYSCALL_STRING): Delete.
25147 (__INTERNAL_SYSCALL_STRING): Delete.
25148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25149 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25150 (PSEUDO): Reimplement to do errno handling inline.
25151 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25152 (SYSCALL_ERROR_HANDLER): New macro.
25153 (__SYSCALL_STRING): Do not do errno handling in asm.
25154 (__CLONE_SYSCALL_STRING): Delete.
25155 (__INTERNAL_SYSCALL_STRING): Delete.
25156 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25157 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25158 i386.
25159 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25160 (inline_syscall*): Add 'err' argument.
25161 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25162 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25163 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25164 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25165
25166 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25167 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25168
2bc17433
AS
251692011-08-30 Andreas Schwab <schwab@redhat.com>
25170
25171 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25172
fbeb5f4d
JO
251732011-08-29 Jiri Olsa <jolsa@redhat.com>
25174
25175 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25176 directive.
25177
ad69cc26
DM
251782011-08-24 David S. Miller <davem@davemloft.net>
25179
25180 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25181
39dd69df
AS
251822011-08-24 Andreas Schwab <schwab@redhat.com>
25183
25184 * elf/Makefile: Add rules to build and run unload8 test.
25185 * elf/unload8.c: New file.
25186 * elf/unload8mod1.c: New file.
25187 * elf/unload8mod1x.c: New file.
25188 * elf/unload8mod2.c: New file.
25189 * elf/unload8mod3.c: New file.
25190
25191 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25192 it wasn't used.
25193
2c0b250a
DM
251942011-08-23 David S. Miller <davem@davemloft.net>
25195
25196 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25197 subtract stack bias.
25198 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25199 %sp not %fp in calculations.
25200 (_JMPBUF_UNWINDS_ADJ): Likewise.
25201
22044b48
DM
25202 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25203 (aio_suspend): Call it to force an exception region around the
25204 AIO_MISC_WAIT() invocation.
25205
2cae4995
AS
252062011-08-23 Andreas Schwab <schwab@redhat.com>
25207
25208 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25209 backslash.
25210
873a772e
AJ
252112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25212
25213 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25214 protection macro.
25215 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25216 and <dl-machine.h>.
25217 (Elf64_FuncDesc): Remove.
25218
25ad0df1
DM
252192011-08-22 David S. Miller <davem@davemloft.net>
25220
25221 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25222 sigaltstack check, add missing cfi directives.
25223 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25224 missing cfi directives, and sigaltstack handling.
25225
e888bcbe
AS
252262011-08-16 Andreas Schwab <schwab@redhat.com>
25227
25228 [BZ #11724]
25229 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25230 object is seen twice.
25231 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25232
25233 * elf/Makefile (distribute): Add tst-initorder2.c.
25234 (tests): Add tst-initorder2.
25235 (modules-names): Add tst-initorder2a tst-initorder2b
25236 tst-initorder2c tst-initorder2d. Add rules to build them.
25237 ($(objpfx)tst-initorder2.out): New rule.
25238 * elf/tst-initorder2.c: New file.
25239 * elf/tst-initorder2.exp: New file.
25240
87162f46
AS
252412011-08-22 Andreas Schwab <schwab@redhat.com>
25242
70538b7f
AS
25243 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25244
f55ffe58
AS
25245 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25246 dependencies back to end of function.
25247
87162f46
AS
25248 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25249 $(elfobjdir)/ld.so.
25250
91b392a4
UD
252512011-08-21 Ulrich Drepper <drepper@gmail.com>
25252
25253 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25254 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25255 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25256 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25257 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25258 of __vdso_gettimeofday.
25259 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25260 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25261 attribute_hidden.
25262 (_libc_vdso_platform_setup): Remove initialization of
25263 __vdso_gettimeofday and __vdso_time.
25264
5c43483f
UD
252652011-08-20 Ulrich Drepper <drepper@gmail.com>
25266
775a77e7
UD
25267 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25268 and fgetc_unlocked.
25269 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25270 getc_unlocked.
89f447ed 25271
49c74ba9
UD
25272 * elf/dl-open.c (add_to_global): Report additions to the global scope
25273 for LD_DEBUG=scopes.
25274 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25275 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25276
5c43483f
UD
25277 [BZ #13114]
25278 * stdio-common/Makefile (tests): Add bug24.
25279 * stdio-common/bug24.c: New file.
25280
a101b025
AJ
252812011-08-19 Andreas Jaeger <aj@suse.de>
25282
25283 [BZ #13114]
25284 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25285 non-existant file when using close-on-exec mode.
25286
c88f1766
UD
252872011-08-20 Ulrich Drepper <drepper@gmail.com>
25288
0276a718
UD
25289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25290 the very first instruction.
25291
c88f1766
UD
25292 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25293 the CFI state in the end.
25294 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25295 inclusion of dl-trampoline.h.
25296 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25297
51ccffa0
AS
252982011-08-19 Andreas Schwab <schwab@redhat.com>
25299
94d7165f
AS
25300 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25301 expectations for long double.
25302
51ccffa0
AS
25303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25304 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25305
fd708658 253062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25307
25308 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25309 artificual limit depends upon the system page size.
25310
44f0a71e
UD
253112011-08-17 Ulrich Drepper <drepper@gmail.com>
25312
25313 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25314 * resolv/Makefile: Define CFLAGS-libresolv.
25315
8de79a24
AS
253162011-08-17 Andreas Schwab <schwab@redhat.com>
25317
25318 * nss/makedb.c (compute_tables): Make variables used in nested
25319 function static.
25320
27724598
UD
253212011-08-17 Ulrich Drepper <drepper@gmail.com>
25322
c5305d88
UD
25323 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25324 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25325 if buffer was too small.
25326
27724598
UD
25327 * elf/pldd.c (main): Attach to all threads in the process.
25328 Rewrite /proc handling to use *at functions.
25329
076fe015
UD
253302011-08-16 Ulrich Drepper <drepper@gmail.com>
25331
174baab3
UD
25332 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25333 specifies first scope to show.
25334 (dl_open_worker): Update callers. Move printing scope of new
25335 object to before the relocation.
44f0a71e 25336 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25337 * sysdeps/generic/ldsodefs.h: Update declaration.
25338
076fe015
UD
25339 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25340 string for the scope number.
25341
a60df2c3
UD
253422011-08-14 Ulrich Drepper <drepper@gmail.com>
25343
25344 * nscd/servicescache.c (cache_addserv): Make sure written is always
25345 initialized.
25346
5e4287d1
RM
253472011-08-14 Roland McGrath <roland@hack.frob.com>
25348
85ae0589
RM
25349 * sysdeps/i386/i486/bits/atomic.h
25350 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25351 statement expression, so as to suppress "set but not used" warning.
25352 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25353
69f63097
RM
25354 * string/strncat.c (STRNCAT): Use prototype definition.
25355
675456ef
RM
25356 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25357 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25358 -Iprograms here.
25359 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25360 (localedef-modules): Add localedef.
25361 (locale-modules): Add locale.
25362
5e4287d1
RM
25363 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25364 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25365 to avoid a warning.
25366
9c96ff23
DM
253672011-08-14 David S. Miller <davem@davemloft.net>
25368
25369 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25370 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25371
f9ddf089
UD
253722011-08-13 Ulrich Drepper <drepper@gmail.com>
25373
44f0a71e 25374 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25375 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25376 * elf/rtld.c (dl_main): Set l_name of vDSO.
25377 Call _dl_show_scope when DL_DEBUG_SCOPES.
25378 (process_dl_debug): Recognize scopes flag and also set it for all.
25379 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25380 Declare _dl_show_scope.
25381
1dc27704
UD
25382 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25383 (do_dlopen): Pass caller_dlopen to dl_open.
25384 (__libc_dlopen_mode): Initialize caller_dlopen.
25385
f9ddf089
UD
25386 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25387 of libc. Make tolower call locale-independent. Optimize a bit by
25388 using isdigit instead of isalnum.
25389 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25390
9ac533d3
UD
253912011-08-12 Ulrich Drepper <drepper@gmail.com>
25392
25393 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25394 was a dependency or dynamically loaded.
25395
89edf2e9
UD
253962011-08-11 Ulrich Drepper <drepper@gmail.com>
25397
8e999d29
UD
25398 * intl/l10nflist.c: Allow architecture-specific pop function.
25399 * sysdeps/x86_64/l10nflist.c: New file.
25400
89edf2e9
UD
25401 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25402 classification.
25403
14d96785
AS
254042011-08-10 Andreas Schwab <schwab@redhat.com>
25405
25406 * include/dirent.h: Add libc_hidden_proto for scandirat and
25407 scandirat64. Don't declare __scandirat64.
25408 * dirent/scandirat.c: Add libc_hidden_def.
25409 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25410 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25411
6761ac04
DM
254122011-08-10 David S. Miller <davem@davemloft.net>
25413
25414 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25415 enum.
25416 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25419
c55fbd1e
UD
254202011-08-09 Ulrich Drepper <drepper@gmail.com>
25421
25422 * Versions.def [libc]: Add GLIBC_2.15.
25423 * dirent/Makefile (routines): Add scandirat and scandirat64.
25424 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25425 GLIBC_2.15.
25426 * dirent/dirent.h: Declare scandirat and scandirat64.
25427 * dirent/scandirat.c: New file.
25428 * dirent/scandirat64.c: New file.
25429 * sysdeps/wordsize-64/scandirat.c: New file.
25430 * sysdeps/wordsize-64/scandirat64.c: New file.
25431 * dirent/opendir.c: Define opendirat.
25432 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25433 using scandirat.
25434 * dirent/scandir64.c: Adjust for scandir.c change.
25435 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25436 __scandirat64, and __scandir_cancel_handler.
25437 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25438 additional parameter and use openat instead of open (outside of ld.so).
25439 Add new __opendir as wrapper around __opendirat.
25440 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25441 here without requiring old scandirat implementation.
25442
879165f2
UD
254432011-08-08 Ulrich Drepper <drepper@gmail.com>
25444
25445 * dirent/scandir.c (cancel_handler): Renamed to
25446 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25447 defined. Adjust users.
25448 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25449 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25450
cb7e923b
UD
254512011-08-04 Ulrich Drepper <drepper@gmail.com>
25452
16292edd
UD
25453 * string/test-string.h (IMPL): Use __STRING to expand name and then
25454 stringify it.
25455
cb7e923b
UD
25456 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25457 of cleanups.
25458
cff82933
LD
254592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25460
25461 * string/Makefile: Update.
25462 (strop-tests): Append strncat.
25463 * string/test-wcscmp.c: New file.
25464 New comprehensive test for wcscmp.
25465 * string/test-strcmp.c: Update.
25466 (WIDE): New define.
25467
9be9bfcc
AS
254682011-07-22 Andreas Schwab <schwab@redhat.com>
25469
25470 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25471 line.
25472
2e96f1c7
AS
254732011-07-26 Andreas Schwab <schwab@redhat.com>
25474
25475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25476 encoding to ACE if AI_IDN.
25477
85188888
JJ
254782011-08-01 Jakub Jelinek <jakub@redhat.com>
25479
25480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25481 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25482
5fa16e9b
LD
254832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25484
25485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25486 Fix overflow bug in strncat.
25487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25488
25489 * string/test-strncat.c: Update.
25490 Add new tests for checking overflow bugs.
25491
254922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25493
25494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25495 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25496 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25497 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25498 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25499 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25500 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25501 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25502 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25503
25504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25505 (USE_AS_STRCAT): Define.
25506 Add strcat and strncat support.
25507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25508
8c1a459f
AS
255092011-07-25 Andreas Schwab <schwab@redhat.com>
25510
25511 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25512 __n bigger than INT_MAX+1.
25513 (__strncmp_g): Likewise.
25514
bba33c28
UD
255152011-07-23 Ulrich Drepper <drepper@gmail.com>
25516
798be72d
UD
25517 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25518 * libio/stido.h: Likewise.
25519
8accd4dc
UD
25520 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25521 (AF_NFC): Define.
25522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25523 (AF_NFC): Define.
25524
cbff0d96
UD
25525 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25526 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25528 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25530
9191c04a
UD
25531 [BZ #13021]
25532 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25533 installed.
25534
bba33c28
UD
25535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25536 typo.
25537 (_dl_x86_64_save_sse): Likewise.
25538
90f139dd
UD
255392011-07-22 Ulrich Drepper <drepper@gmail.com>
25540
1aae088a
UD
25541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25542 OSXSAVE.
25543 (_dl_x86_64_save_sse): Likewise.
25544
8e2045f5
UD
25545 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25546
90f139dd
UD
25547 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25548
1d002f25
AS
255492011-07-21 Andreas Schwab <schwab@redhat.com>
25550
25551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25552 change.
25553 (_dl_x86_64_save_sse): Use correct AVX check.
25554
21137f89
UD
255552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25556
25557 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25558 bug in strncpy/strncat.
25559 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25560
a65c0b7a
UD
255612011-07-21 Ulrich Drepper <drepper@gmail.com>
25562
25563 * string/tester.c (test_strcat): Add tests for different alignments
25564 of source and destination.
25565 (test_strncat): Likewise.
25566
6986b98a
UD
255672011-07-20 Ulrich Drepper <drepper@gmail.com>
25568
90bb2039
UD
25569 [BZ #12852]
25570 * posix/glob.c (glob): Check passed in values before using them in
25571 expressions to avoid some overflows.
25572 (glob_in_dir): Likewise.
25573
5644ef54
UD
25574 [BZ #13007]
25575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25576 check for AVX enablement so that we don't crash with old kernels and
25577 new hardware.
25578 * elf/tst-audit4.c: Add same checks here.
25579 * elf/tst-audit6.c: Likewise.
25580
25581 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25582
bfc9dc9b
AS
255832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25584
25585 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25586
702e64bb
UD
255872011-07-20 Ulrich Drepper <drepper@gmail.com>
25588
25589 * po/cs.po: Update from translation team.
25590 * po/bg.po: Likewise.
25591
295e904f
MP
255922011-07-12 Marek Polacek <mpolacek@redhat.com>
25593
25594 * misc/sys/cdefs.h: Add support for const attribute.
25595 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25596 to gnu_dev_{major,minor,makedev} functions.
25597
3ff94596
MP
255982011-07-20 Marek Polacek <mpolacek@redhat.com>
25599
25600 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25601
28b59fca
AS
256022011-07-20 Andreas Schwab <schwab@redhat.com>
25603
25604 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25605 strlen results.
25606
19df733e
AK
256072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25608
25609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25610 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25611 register in order to avoid conflicts with the soft frame pointer
25612 being held in r11 when necessary.
25613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25614 (INTERNAL_VSYSCALL_NCS): Likewise.
25615
c8835729
MP
256162011-07-14 Marek Polacek <mpolacek@redhat.com>
25617
25618 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25619 * elf/dl-fini.c (_dl_fini): Adjust caller.
25620 * elf/dl-close.c (_dl_close_worker): Likewise.
25621 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25622
b902330c
MP
256232011-07-15 Marek Polacek <mpolacek@redhat.com>
25624
8991e135
MP
25625 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25626 "aux_cache->nlibs < 0".
25627
b902330c
MP
25628 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25629 in the reload-count case.
25630
99710781
LD
256312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25632
25633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25634 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25635 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25636 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25637 * sysdeps/x86_64/multiarch/strcat.S: New file.
25638 * sysdeps/x86_64/multiarch/strncat.S: New file.
25639 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25640 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25641 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25642 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25643 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25644 (USE_AS_STRCAT): Define.
25645 Add strcat and strncat support.
25646 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25647 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25648 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25649 * string/strncat.c: Update.
25650 (USE_AS_STRNCAT): Define.
25651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25652 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25653 and i7.
25654 * sysdeps/x86_64/multiarch/init-arch.h
25655 (bit_Prefer_PMINUB_for_stringop): New.
25656 (index_Prefer_PMINUB_for_stringop): Likewise.
25657 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25658 bit_Prefer_PMINUB_for_stringop.
25659
7dc6bd90
UD
256602011-07-19 Ulrich Drepper <drepper@gmail.com>
25661
25662 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25663 buffer64.
25664 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25665 of casting of buffer.
25666 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25667 buffer32 and buffer64.
25668 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25669 writes instead of casting of buffer.
25670 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25671 buffer32.
25672 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25673 casting of buffer.
25674
e0e72284
AS
256752011-07-19 Andreas Schwab <schwab@redhat.com>
25676
25677 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25678
feb1eb0b
UD
256792011-07-19 Ulrich Drepper <drepper@gmail.com>
25680
25681 * nscd/nscd.c (termination_handler): Don't do anything for a database
25682 if it has not yet been initialized.
25683
298711ff
UD
256842011-07-18 Ulrich Drepper <drepper@gmail.com>
25685
25686 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25687
256882011-07-15 Marek Polacek <mpolacek@redhat.com>
25689
25690 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25691
f9d68389
UD
256922011-07-18 Ulrich Drepper <drepper@gmail.com>
25693
25694 * po/nl.po: Update from translation team.
25695 * po/sv.po: Likewise.
25696
db290cf5
RM
256972011-07-16 Roland McGrath <roland@hack.frob.com>
25698
25699 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25700 now disallowed by GCC.
5c550700 25701
fd5e21c7
RM
25702 * configure.in (use-default-link): Default to yes if a test -shared
25703 link meets our qualifications.
25704 * configure: Regenerated.
25705
5c550700
RM
25706 * config.make.in (output-format): New variable.
25707 * configure.in: Check for ld --print-output-format support.
25708 * configure: Regenerated.
25709 * Makerules ($(common-objpfx)format.lds)
25710 [$(output-format) != unknown]: Just use $(output-format),
25711 instead of the linker-script munging.
25712
9fa2c032
RM
257132011-07-14 Roland McGrath <roland@hack.frob.com>
25714
a6928d51
RM
25715 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25716 of $(common-objpfx)shlib.lds.
25717 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25718
661607b3
RM
25719 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25720 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25721
9fa2c032
RM
25722 * configure.in (-z relro check): Adjust test code to add a large
25723 writable data section after it.
25724 * configure: Regenerated.
25725
defe9061
RM
257262011-07-11 Roland McGrath <roland@hack.frob.com>
25727
25728 * configure.in (-z relro check): Fix test code to make the variable
25729 truly const.
25730 * configure: Regenerated.
25731
319b9ad4
UD
257322011-07-11 Ulrich Drepper <drepper@gmail.com>
25733
25734 * nscd/nscd.h (struct traced_file): Define.
25735 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25736 elements. Add traced_files.
25737 (inotify_fd): Declare.
25738 (register_traced_file): Declare.
25739 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25740 (inotify_fd): Export.
25741 (resolv_conf_descr): Remove.
25742 (nscd_init): Move inotify descriptor creation to main.
25743 Don't register files for notification here.
25744 (register_traced_file): New function.
25745 (invalidate_cache): Don't use reset_res to determine whether to call
25746 res_init, go through the list of registered files.
25747 (main_loop_poll): The inotify descriptors are now stored in the
25748 structures for the traced files.
25749 (main_loop_epoll): Likewise
25750 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25751 to __nss_disable_nscd.
25752 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25753 for a database anymore. Check the records for all the registered
25754 files instead.
25755 * nss/Makefile (libnss_files-routines): Add files-init.
25756 (libnss_db-routines): Add db-init.
25757 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25758 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25759 * nss/nss_db/db-init.c: New file.
25760 * nss/nss_files/files-init.c: New file.
25761 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25762 __nss_lookup_function.
25763 (__nss_lookup_function): Call nss_load_library.
25764 (nss_load_all_libraries): New function.
25765 (__nss_disable_nscd): Take parameter with callback function for files
25766 to register. Set is_nscd. Load all the DSOs for the NSS modules
25767 used for the cached services.
25768 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25769 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25770 options for features to all the files in nscd.
25771
25772 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25773
23bee3e8
RM
257742011-07-10 Roland McGrath <roland@hack.frob.com>
25775
25776 * csu/elf-init.c (__libc_csu_init): Comment typo.
25777
46a5b7f0
UD
257782011-07-09 Ulrich Drepper <drepper@gmail.com>
25779
25780 * po/pl.po: Update from translation team.
25781 * po/ja.po: Likewise.
25782 * po/ru.po: Likewise.
25783 * po/ko.po: Likewise.
25784 * po/fr.po: Likewise.
25785
d30cf5bb
RM
257862011-07-09 Roland McGrath <roland@hack.frob.com>
25787
113ddea4
RM
25788 * configure.in (.ctors/.dtors header and trailer check):
25789 Use an empirical test on a built program.
25790 * configure: Regenerated.
25791
574920b4
RM
25792 * configure.in (-z relro check): Use an empirical test on a built DSO.
25793 Detect, but do not require, on ia64.
25794 * configure: Regenerated.
25795
d30cf5bb
RM
25796 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25797 Update tests that use readelf to use $READELF instead.
25798 * configure: Regenerated.
25799
8538fdb3
UD
258002011-07-08 Ulrich Drepper <drepper@gmail.com>
25801
25802 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25803 if the result is not used.
25804
04d08991
AJ
258052011-07-05 Andreas Jaeger <aj@suse.de>
25806
25807 [BZ#9696]
25808 * stdlib/tst-strtod.c: Add testcase.
25809
de283087
AD
258102011-07-07 Ulrich Drepper <drepper@gmail.com>
25811
4e5f31c8 25812 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25813 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25814 The latter has a higher limit. Take additional parameter to pass to
25815 the new function.
25816 (__pathconf): Pass file to __statfs_link_max.
25817 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25818 __statfs_link_max.
25819 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25820 __statfs_link_max.
25821
de283087
AD
25822 [BZ #12868]
25823 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25824 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25825 Handle Lustre.
25826 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25827 (__statfs_filesize_max): Likewise.
25828 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25829
c75fa153
AJ
258302011-07-05 Andreas Jaeger <aj@suse.de>
25831
25832 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25833
1a544854
UD
258342011-07-06 Marek Polacek <mpolacek@redhat.com>
25835
25836 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25837 `status' variable.
25838 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25839 Likewise.
25840
6f0eec67
UD
258412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25842
25843 * Makefile (strop-tests): Add strncat.
25844 * string/test-strncat.c: New file.
25845
aae30307
UD
258462011-06-30 Marek Polacek <mpolacek@redhat.com>
25847
25848 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25849
c0cfb5eb
UD
258502011-06-21 Andreas Jaeger <aj@suse.de>
25851
25852 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25853 Copy rule from iconvdata/Makefile.
25854
01636b21
UD
258552011-07-06 Ulrich Drepper <drepper@gmail.com>
25856
25857 [BZ #12922]
25858 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25859 but no long options are defined, just return 'W'.
25860
9895c8bc
UD
258612011-06-22 Marek Polacek <mpolacek@redhat.com>
25862
25863 [BZ #9696]
25864 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25865
5d4cf042
UD
258662011-07-06 Ulrich Drepper <drepper@gmail.com>
25867
25868 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25869 netgroups to read.
960e5535 25870 (innetgr): Likewise.
5d4cf042 25871
751eb97e
RM
258722011-07-05 Roland McGrath <roland@hack.frob.com>
25873
25874 * config.make.in (install_root): Default to $(DESTDIR).
25875
f15f1e45
UD
258762011-07-05 Ulrich Drepper <drepper@gmail.com>
25877
25878 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25879
4e34ac6a
RM
258802011-07-02 Roland McGrath <roland@hack.frob.com>
25881
5e9b6af4
RM
25882 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25883
84f9ea0f
RM
25884 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25885 containing directory rather than embedding absolute directory names.
25886
ea5ee9f7
RM
25887 * scripts/check-local-headers.sh: Rewritten using awk.
25888 Match by word, not by line. Print error messages for matches.
25889 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25890
1b74661a
RM
25891 * Makerules [shlib-lds-flags empty]:
25892 ($(common-objpfx)libc_pic.opts): New target.
25893 ($(common-objpfx)libc_pic.os.clean): New target.
25894 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25895
25896 * config.make.in (OBJCOPY): New variable.
25897 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25898 * configure: Regenerated.
25899
f781ef40
RM
25900 * config.make.in (use-default-link): New variable.
25901 * configure.in (use_default_link): Grok --with-default-link to set it.
25902 * configure: Regenerated.
25903 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25904 (shlib-lds, shlib-lds-flags): Define to empty.
25905
2d4fa81e
RM
25906 * Makerules (shlib-lds): New variable.
25907 (shlib-lds-flags): New variable.
25908 (build-shlib, build-moduile, build-module-asneeded): Use it.
25909 ($(common-objpfx)libc.so): Use $(shlib-lds).
25910 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25911 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25912
31fffa6b
RM
25913 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25914 DT_FLAGS/DT_FLAGS_1 with zero flags.
25915
4e34ac6a
RM
25916 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25917 linker script munging.
25918
fcfc776b
UD
259192011-07-02 Ulrich Drepper <drepper@gmail.com>
25920
25921 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25922 as 128-bit value.
25923 * crypt/sha512.c (sha512_process_block): Perform total addition using
25924 128-bit if possible.
25925 (__sha512_finish_ctx): Likewise.
25926 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25927 as 64-bit value.
25928 * crypt/sha256.c (SWAP64): Define.
25929 (sha256_process_block): Perform total addition using 64-bit if
25930 possible.
25931 (__sha256_finish_ctx): Likewise.
25932
99231d9a
UD
259332011-07-01 Ulrich Drepper <drepper@gmail.com>
25934
25935 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25936 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25937 * nscd/hstcache.c (cache_addhst): Likewise.
25938 * nscd/grpcache.c (cache_addgr): Likewise.
25939 * nscd/aicache.c (addhstaiX): Likewise
25940 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25941
445b4a53
TK
259422011-07-01 Thorsten Kukuk <kukuk@suse.de>
25943
25944 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25945 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25946 * nscd/hstcache.c (cache_addhst): Likewise.
25947 * nscd/grpcache.c (cache_addgr): Likewise.
25948 * nscd/aicache.c (addhstaiX): Likewise
25949
6d4d8e8e
AS
259502011-07-01 Andreas Schwab <schwab@redhat.com>
25951
25952 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25953 domain only when needed.
25954
89f654c5
AS
259552011-06-30 Andreas Schwab <schwab@redhat.com>
25956
25957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25958 is always restored.
25959
cf3b23ff
UD
259602011-06-29 Ulrich Drepper <drepper@gmail.com>
25961
25962 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25963 are re-adding the entry.
25964 * nscd/servicescache.c (cache_addserv): Likewise.
25965
751626f9
AJ
259662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25967
25968 * sysdeps/generic/dl-irel.h: fix protection against multiple
25969 inclusions.
25970 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25971
9113ea1f
UD
259722011-06-28 Ulrich Drepper <drepper@gmail.com>
25973
5c0b8d90
UD
25974 [BZ #12935]
25975 * malloc/memusage.sh: Fix quoting in message.
25976 * debug/xtrace.sh: Likewise.
25977
9113ea1f
UD
25978 * configure.in: Remove support for --experimental-malloc option, make
25979 it the default.
25980 * config.make.in: Likewise.
25981 * malloc/Makefile: Likewise.
25982
a4172181
AS
259832011-06-27 Andreas Schwab <schwab@redhat.com>
25984
25985 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25986 two-byte characters.
25987
78a7eee7
RM
259882011-06-27 Roland McGrath <roland@hack.frob.com>
25989
62bede13
RM
25990 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25991 AC_CACHE_CHECK invocation.
25992 * configure: Regenerated.
25993
78a7eee7
RM
25994 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25995
5ce33a62
UD
259962011-06-27 Ulrich Drepper <drepper@gmail.com>
25997
034807a9
UD
25998 [BZ #12350]
25999 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26000 bit from old_res_options.
26001
4902da17
UD
26002 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26003
5ce33a62
UD
26004 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26005 value type for setfct.
26006
c2344f56
L
260072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26008
26009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26010 __gettimeofday instead of gettimeofday.
26011
68468076
UD
260122011-06-26 Ulrich Drepper <drepper@gmail.com>
26013
26014 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26015
acb0d739
L
260162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26017
26018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26019
26020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26021 info.
26022
8912479f
L
260232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26024
26025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26026 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26027 strcpy-sse2-unaligned strncpy-sse2-unaligned
26028 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26029 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26030 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26031 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26032 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26033 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26035 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26036 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26037 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26038 (STRCPY): Support SSE2 and SSSE3 versions.
26039
d5495a11
UD
260402011-06-24 Ulrich Drepper <drepper@gmail.com>
26041
26042 [BZ #12874]
26043 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26044 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26045 kernels which artificially limit size of requests.
26046
0b1cbaae
L
260472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26048
26049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26050 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26051 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26052 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26053 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26054 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26055 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26056 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26057 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26058 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26059 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26060 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26061 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26062 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26063 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26065 Enable unaligned load optimization for Intel Core i3, i5 and i7
26066 processors.
26067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26068 Define.
26069 (index_Fast_Unaligned_Load): Define.
26070 (HAS_FAST_UNALIGNED_LOAD): Define.
26071
07f494a0
MP
260722011-06-23 Marek Polacek <mpolacek@redhat.com>
26073
26074 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26075
fa3fc0fe
UD
260762011-06-22 Ulrich Drepper <drepper@gmail.com>
26077
26078 [BZ #12907]
26079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26080 until it is clear that the information is realy needed.
26081 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26082
e12df166
AS
260832011-06-22 Andreas Schwab <schwab@redhat.com>
26084
26085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26086
852eb34d
UD
260872011-06-22 Ulrich Drepper <drepper@gmail.com>
26088
84e2a551
UD
26089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26090 /sys/devices/system/cpu/online if it is usable.
26091
852eb34d
UD
26092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26093 reading the information from the /proc filesystem to once a second.
26094
6e502e19
UD
260952011-06-21 Andreas Jaeger <aj@suse.de>
26096
26097 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26098 NULL after inclusion of kernel headers.
26099
75d39ff2
UD
261002011-06-21 Ulrich Drepper <drepper@gmail.com>
26101
51f9aa6a
UD
26102 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26103 calls to internal_setent.
26104
c0244a9d
UD
26105 [BZ #12885]
26106 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26107 addresses using gethostbyname4_r ignore IPv4 addresses.
26108
c5e3c2ae
UD
26109 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26110 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26111
75d39ff2
UD
26112 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26113
42675c6f
DM
261142011-06-20 David S. Miller <davem@davemloft.net>
26115
26116 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26117 inclusions.
26118 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26119
26120 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26121 (elf_irel): Use it.
26122 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26123 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26124 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26125 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26126 * sysdeps/x86_64/dl-irel.h: Likewise.
26127
26128 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26129 * elf/dl-sym.c: Likewise.
26130
57912a71
UD
261312011-06-15 Ulrich Drepper <drepper@gmail.com>
26132
26133 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26134 need to dereference resplen2.
26135
ee22793d
AS
261362011-06-14 Andreas Schwab <schwab@redhat.com>
26137
26138 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26139
a9e836b0
UD
261402011-06-15 Ulrich Drepper <drepper@gmail.com>
26141
77fb9117
UD
26142 * Makeconfig: Define vardbdir and inst_vardbdir.
26143 * nss/Makefile: Add rules to install db-Makefile.
26144
40c1b22c
UD
26145 * nss/nss_db/db-XXX.c: Cleanup.
26146
9f2da732
UD
26147 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26148 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26149 GLIBC_PRIVATE.
26150 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26151 * nss/makedb.c: Implement -g option to specify that value strings
26152 are generated and should not be added to table iterated over for
26153 get*ent calls.
26154 * nss/nss_db/db-initgroups.c: New file.
26155
82e9a1f7
UD
26156 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26157 interface.
26158
c41af17e
UD
26159 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26160 (internal_getgrouplist): Adjust to name change.
26161 Update use_initgroups_entry if this is not the first call.
26162 * nss/databases.def: Add initgroups entry.
26163
a9e836b0
UD
26164 * nss/makedb.c (compute_tables): Check result of multiple hash table
26165 sizes to minimize maximum chain length.
26166
2666d441
UD
261672011-06-14 Ulrich Drepper <drepper@gmail.com>
26168
26169 * Versions.def: Add entry for libnss_db.
26170 * shlib-versions: Likewise.
26171 * nss/Makefile: Add rules to build libnss_db.
26172 * nss/Versions: Add libnss_db information. Organize libnss_files
26173 entries better.
26174 * nss/db-Makefile: Add gshadow support. Change rules for the new
26175 makedb progra. Some minor improvements to generate smaller files.
26176 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26177 here from...
26178 * nss/makedb.c: ...here.
26179 Improve database format to be smaller and require less memory at
26180 runtime.
26181 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26182 db anymore.
26183 * nss/nss_db/db-netgrp.c: Likewise.
26184 * nss/nss_db/db-open.c: Likewise.
26185 * nss/nss_files/flies-XXX.x: Adjust comments.
26186 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26187 * nss/nss_files/files-grp.c: Likewise.
26188 * nss/nss_files/files-hosts.c: Likewise.
26189 * nss/nss_files/files-network.c: Likewise.
26190 * nss/nss_files/files-proto.c: Likewise.
26191 * nss/nss_files/files-pwd.c: Likewise.
26192 * nss/nss_files/files-rpc.c: Likewise.
26193 * nss/nss_files/files-service.c: Likewise.
26194 * nss/nss_files/files-sgrp.c: Likewise.
26195 * nss/nss_files/files-spwd.c: Likewise.
26196 * nss/nss_db/db-alias.c: Removed.
26197 * nss/nss_db/dummy-db.h: Removed.
26198
9ee76b5a
UD
261992011-06-02 Ulrich Drepper <drepper@gmail.com>
26200
26201 * nss/makedb.c: Rewritten to not use database library.
26202 * nss/Makefile: Update to build new makedb program.
26203
c71ca1f8
AJ
262042011-06-14 Andreas Jaeger <aj@suse.de>
26205
26206 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26207 memset declaration.
26208
3154bfb8
UD
262092011-06-10 Andreas Schwab <schwab@redhat.com>
26210
26211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26212 tmpbuf.
26213
b350afab
RM
262142011-06-10 Roland McGrath <roland@hack.frob.com>
26215
decd4e50
RM
26216 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26217 * elf/Makefile ($(objpfx)ld.so): Likewise.
26218
5615eaf2
RM
26219 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26220 Don't list ld.so twice in dependencies.
26221
26222 * posix/bug-regex31.c: Include <stdlib.h>.
26223
26224 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26225
26226 * nis/nss_compat/compat-spwd.c
26227 (getspent_next_nss_netgr): Remove unused variable.
26228 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26229
26230 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26231 nonmembers" output to use the right array.
26232
26233 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26234
26235 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26236
26237 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26238 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26239 * catgets/gencat.c (read_input_file): Likewise.
26240 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26241
26242 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26243 variable definition inside #if's controlling its use.
26244
26245 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26246
26247 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26248
26249 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26250
26251 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26252 unreachable code.
26253
26254 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26255
b68e08db
RM
26256 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26257 * configure: Regenerated.
26258
b350afab
RM
26259 * Makerules: Revert last change.
26260 * elf/Makefile: Likewise.
26261
28368601
RM
262622011-06-09 Roland McGrath <roland@hack.frob.com>
26263
26264 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26265 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26266 (reloc-link): Likewise.
26267
11988f8f
UD
262682011-06-09 Ulrich Drepper <drepper@gmail.com>
26269
26270 * elf/Makefile: Add rules to build pldd.
26271 * elf/pldd.c: New file.
26272 * elf/pldd-xx.c: New file.
26273
e80fab37
UD
262742011-06-07 Ulrich Drepper <drepper@gmail.com>
26275
26276 * version.h: Update for 2.15 development version.
26277
9b849836
DM
262782011-06-07 David S. Miller <davem@davemloft.net>
26279
26280 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26281 ifuncs.
26282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26283 elf_machine_lazy_rel): Likewise.
26284 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26286 elf_machine_lazy_rel): Likewise.
26287 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26288 dl_hwcap via passed in argument.
26289 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26290 Likewise.
26291
5a31b283
AK
262922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26293
26294 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26295
069e52f8
RM
262962011-06-06 Roland McGrath <roland@hack.frob.com>
26297
26298 [BZ #12849]
26299 * manual/fdl-1.1.texi: New file, verbatim from:
26300 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26301 * manual/lgpl-2.1.texi: New file, verbatim from:
26302 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26303 * manual/Makefile (licenses): New variable, list those new file names.
26304 (texis): Use it.
26305 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26306
26307 * manual/fdl.texi: File removed.
26308 * manual/lesser.texi: File removed.
26309 * manual/libc.texinfo (Copying, Documentation License):
26310 Use new @include file names, put @appendix directive before @include.
26311
f16846a5
JJ
263122011-06-04 Jakub Jelinek <jakub@redhat.com>
26313
26314 [BZ #12841]
26315 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26316 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26317 (mq_open): Add __NTH.
26318
3d29045b
L
263192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26320
26321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26322 Assume Intel Core i3/i5/i7 processor if AVX is available.
26323
8c297311
UD
263242011-05-31 Ulrich Drepper <drepper@gmail.com>
26325
26326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26327 typo.
26328
c8fc0c91
UD
263292011-05-31 Andreas Schwab <schwab@redhat.com>
26330
26331 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26332 memory. Use alloca_account. Fix memory leak when retrying.
26333
5b27a807
UD
263342011-05-31 Ulrich Drepper <drepper@gmail.com>
26335
356f8bc6
UD
26336 * version.h (RELEASE): Bump for 2.14 release.
26337 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26338
5b27a807
UD
26339 * config.make.in (RANLIB): Remove entry.
26340
01f16ab0
UD
263412011-05-30 Ulrich Drepper <drepper@gmail.com>
26342
41fce8bd
UD
26343 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26344 (libc.pot): Work around missing support for .ksh extension in xgettext.
26345
4769ae77
UD
26346 [BZ #12684]
26347 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26348 if both request failed.
26349 (send_dg): In case of server errors clear resplen or *resplen2.
26350
6b1e7d19
UD
26351 [BZ #12454]
26352 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26353 when there are multiple maps.
26354 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26355 (_dl_fini): Remove test here.
26356
01f16ab0
UD
26357 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26358
b1ebd700
UD
263592011-05-29 Ulrich Drepper <drepper@gmail.com>
26360
7ae22829
UD
26361 [BZ #12350]
26362 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26363 bit from old_res_options.
26364 (gaih_inet): Likewise.
26365
553149f6 26366 [BZ #11099]
18a84741 26367 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26368 as signed.
26369
652ffab1
UD
26370 * resolv/res_init.c (res_setoptions): Make the code more compact.
26371
16985fd0
UD
26372 [BZ #11558]
26373 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26374 set RES_USEVC.
26375
0464f746
UD
26376 [BZ #11634]
26377 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26378
7d17596c
UD
26379 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26380
cf6bbbd7
UD
26381 [BZ #11781]
26382 * malloc/malloc.h: Declare malloc hook variables as volatile.
26383
13f1ab36
UD
26384 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26385 in last patch.
26386
b1ebd700
UD
26387 [BZ #11799]
26388 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26389 raise in the comment.
80e2212d
UD
26390 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26392 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26393
ce67228d
UD
263942011-05-28 Ulrich Drepper <drepper@gmail.com>
26395
8887a920
UD
26396 [BZ #12811]
26397 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26398 grow the buffers more if it already has to be sufficient.
26399 (build_wcs_upper_buffer): Likewise.
26400 * posix/regexec.c (check_matching): Likewise.
26401 (clean_state_log_if_needed): Likewise.
26402 (extend_buffers): Don't enlarge buffers beyond size of the input
26403 buffer.
26404 Patches mostly by Emil Wojak <emil@wojak.eu>.
26405 * posix/bug-regex32.c: New file.
26406 * posix/Makefile (tests): Add bug-regex32.
26407
4f031072
UD
26408 * locale/findlocale.c (_nl_find_locale): Return right away if
26409 _nl_explode_name failed.
26410 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26411
d0478f0c
UD
26412 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26413
de81b246
UD
26414 * debug/xtrace.sh: Unify messages.
26415 * malloc/memusage.sh: Likewise.
26416
c738465a
UD
26417 [BZ #12813]
26418 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26419 time symbol from vDSO. Substitute with vsyscall if not available.
26420 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26421 __vdso_time.
26422
f1f929d7
UD
26423 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26424 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26425 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26426 Add sendmmsg and internal_sendmmsg.
26427 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26428 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26429 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26430
ce67228d
UD
26431 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26432 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26433 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26434
e57420c6
UD
264352011-05-27 Ulrich Drepper <drepper@gmail.com>
26436
a8509ca5
UD
26437 [BZ #12813]
26438 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26439 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26440 available.
26441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26442 __vdso_getcpu.
26443
e57420c6
UD
26444 [BZ #12814]
26445 * iconvdata/Makefile (tests): Add bug-iconv9.
26446 * iconvdata/bug-iconv9.c: New file.
26447
4d07db15
AS
264482011-05-27 Andreas Schwab <schwab@redhat.com>
26449
26450 [BZ #12814]
26451 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26452
ea486f69
JJ
264532011-05-25 Jakub Jelinek <jakub@redhat.com>
26454
26455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26456 (struct user_regs_struct): Change intcs field back to cs.
26457
6f038433
UD
264582011-05-25 Ulrich Drepper <drepper@gmail.com>
26459
26460 * po/ja.po: Update from translation team.
26461
67f86a25
UD
264622011-05-23 Ulrich Drepper <drepper@gmail.com>
26463
26464 [BZ #12795]
26465 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26466 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26467
def7fbd6
AS
264682011-05-20 Andreas Schwab <schwab@redhat.com>
26469
26470 * stdlib/longlong.h: Update from GCC.
26471
f50ef8f1
AS
264722011-05-23 Andreas Schwab <schwab@redhat.com>
26473
26474 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26475 parameter name.
26476 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26477 Add parameter name.
26478 (__sysconf): Pass it down.
26479
de7ce8f1
UD
264802011-05-22 Ulrich Drepper <drepper@gmail.com>
26481
f2962a71
UD
26482 [BZ #12671]
26483 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26484 some situations.
26485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26486 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26487 add in in __libc_use_alloca calls. Adjust callers.
26488 (glob): Use malloc in some situations.
26489
de7ce8f1
UD
26490 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26491 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26492 pltexit.
26493
aec84f53
UD
264942011-05-21 Ulrich Drepper <drepper@gmail.com>
26495
05bb4a68
UD
26496 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26497 and CLOCK_BOOTTIME_ALARM.
26498
7ea72f99
UD
26499 [BZ #12782]
26500 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26501 is returned.
26502
7e4afad5
UD
26503 * string/_strerror.c (__strerror_r): Print negative errors as signed
26504 numbers.
26505
8e211fec
UD
26506 [BZ #12777]
26507 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26508 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26509 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26510
f7d82dc9
UD
26511 * configure.in: Fix typo in redirection and correct removal of test
26512 files in two cases.
26513
cc9e536d
UD
26514 [BZ #12788]
26515 * locale/setlocale.c (new_composite_name): Fix test to check for
26516 identical name of all categories.
26517
aec84f53
UD
26518 [BZ #12792]
26519 * libio/filedoalloc.c (local_isatty): New function.
26520 (_IO_file_doallocate): Use local_isatty.
26521 * stdio-common/perror.c (perror): In case a new stream is used
26522 forward the stream error.
26523 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26524 error flag.
26525
78e64fdc
RT
265262011-05-20 Ulrich Drepper <drepper@gmail.com>
26527
34a9094f
UD
26528 [BZ #11869]
26529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26530 alloca.
26531 * include/alloca.h (extend_alloca_account): Define.
26532
78e64fdc
RT
26533 [BZ #11857]
26534 * posix/regex.h: Fix comments with documentation of user-accessible
26535 fields after compilation and describe correct free'ing of pattern
26536 after re_compile_pattern.
26537 Patch by Reuben Thomas <rrt@sc3d.org>.
26538
457bddfc
RA
265392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26540
26541 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26542 and -mno-altivec to prevent the compiler from using Altivec and/or
26543 VSX instructions when the corresponding registers are not available.
26544
a4527b51
AS
265452011-05-19 Andreas Schwab <schwab@redhat.com>
26546
26547 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26548
ed690b2f
UD
265492011-05-19 Ulrich Drepper <drepper@gmail.com>
26550
26551 * libio/freopen.c (freopen): Use __dup2, not dup2.
26552 * libio/freopen64.c (freopen64): Likewise.
26553
8db73634
L
265542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26555
26556 [BZ #12775]
26557 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26558 * math/Makefile (tests): Add test-powl.
26559 (CFLAGS-test-powl.c): Define.
26560 * math/test-powl.c: New file.
26561
0a197a9d
L
265622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26563
26564 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26565
ee30c380
UD
265662011-05-17 Ulrich Drepper <drepper@gmail.com>
26567
26568 [BZ #11837]
26569 * iconvdata/gb18030.c: Update to GB18020-2005.
26570
6ce75379
UD
265712011-05-16 Ulrich Drepper <drepper@gmail.com>
26572
a4b89fd8
AR
26573 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26574 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26575 Patch by Aharon Robbins <arnold@skeeve.com>.
26576
ea389b12
UD
26577 [BZ #11892]
26578 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26579 on the stack.
26580
68a3f91f
UD
26581 [BZ #11895]
26582 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26583 through underflows.
26584
15cc7dd1
UD
26585 [BZ #12766]
26586 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26587 point to strings before performing equality test for error_one_per_line
26588 mode.
26589
f3799213
UD
26590 [BZ #11697]
26591 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26592
d79a9c94
UD
26593 [BZ #11820]
26594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26595 (struct user_fpregs_struct): Avoid __uint*_t types.
26596
56e5eb46
UD
26597 [BZ #6420]
26598 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26599 symbol info. Use it instead of calling _dl_addr locally.
26600 (lock_and_info): New function.
26601 (tr_freehook): Call lock_and_info and pass symbol info as additional
26602 parameter to tr_where.
26603 (tr_mallochook): Likewise.
26604 (tr_reallochook): Likewise.
26605 (tr_memalignhook): Likewise.
26606
6ce75379
UD
26607 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26608 used and couldn't be at all thread-safe.
26609
f8a3b5bf
UD
266102011-05-15 Ulrich Drepper <drepper@gmail.com>
26611
94b7cc37
UD
26612 * libio/freopen.c (freopen): Don't close old file descriptor
26613 before the new one is opened. Instead dup the new file descriptor
26614 to the old one after the new stream is created.
26615 * libio/freopen64.c (freopen64): Likewise.
26616 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26617 * libio/fileops.c (_IO_new_file_close_it): Handle new
26618 _IO_FLAGS2_NOCLOSE flag.
26619 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26620 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26621 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26622 _IO_FLAGS2_NOCLOSE flag.
26623 * include/unistd.h: Add hidden_proto for dup3.
26624 Define __have_dup3.
26625 * io/dup3.c: Define hidden symbol.
26626 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26627
bd25564e
UD
26628 [BZ #7101]
26629 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26630 when an incomplete long option is used.
26631 * posix/tst-getopt_long1.c: New file.
26632 * posix/Makefile (tests): Add tst-getopt_long1.
26633
c84cfef4
UD
26634 [BZ #10138]
26635 * scripts/config.guess: Update from autoconf-2.68.
26636 * scripts/config.sub: Likewise.
26637
3b85df27
UD
26638 [BZ #10157]
26639 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26640 tests into ...
26641 (has_cpuclock): ...this. New function.
26642 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26643 macro here based on has_cpuclock code.
26644
15a856b1
UD
26645 [BZ #10149]
26646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26647 First byte (not low byte) is now always NUL.
26648 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26649
05f399e6
UD
26650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26651 Use non-cancelable interfaces.
26652
10a52685 26653 [BZ #9809]
94ecc67d
UD
26654 * locale/iso-639.def: Add entry for Sorani.
26655
f8a3b5bf
UD
26656 [BZ #11901]
26657 * include/stdlib.h: Move include protection to the right place.
26658 Define abort_msg_s. Declare __abort_msg with it.
26659 * stdlib/abort.c (__abort_msg): Adjust type.
26660 * assert/assert.c (__assert_fail_base): New function. Majority
26661 of code from __assert_fail. Allocate memory for __abort_msg with
26662 mmap.
26663 (__assert_fail): Now call __assert_fail_base.
26664 * assert/assert-perr.c: Remove bulk of implementation. Use
26665 __assert_fail_base.
26666 * include/assert.hL Declare __assert_fail_base.
26667 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26668 mmap.
26669 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26670
1af4e298
UD
266712011-05-14 Ulrich Drepper <drepper@gmail.com>
26672
f8a3b5bf 26673 [BZ #11952]
d26dfc60
MG
26674 [BZ #12453]
26675 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26676 until all modules are registered in the DTV.
26677 * elf/Makefile: Add rules to build and run tst-tls19.
26678 * elf/tst-tls19.c: New file.
26679 * elf/tst-tls19mod1.c: New file.
26680 * elf/tst-tls19mod2.c: New file.
26681 * elf/tst-tls19mod3.c: New file.
26682 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26683
2fc54d6f
UD
26684 [BZ #12083]
26685 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26686 correctly.
26687
98d76b46
UD
26688 [BZ #12601]
26689 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26690 two-byte sequence errors.
26691 * iconvdata/Makefile (tests): Add bug-iconv8.
26692 * iconvdata/bug-iconv8.c: New file.
26693
da3c19ef
UD
26694 [BZ #12626]
26695 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26696 buf2 definition.
26697
ca408c15
UD
26698 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26699
d6f67f7d
UD
26700 [BZ #12432]
26701 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26702 (dummy_getcfa): New function.
26703 (init): Get _Unwind_GetCFA address, use dummy if not found.
26704 (backtrace_helper): In recursion check, also check whether CFA changes.
26705 (__backtrace): Completely initialize arg.
26706
1af4e298 26707 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26708 storing incomplete byte sequence in state object. Avoid testing for
26709 guaranteed too small input if we know there is enough data available.
1af4e298 26710
da62f81b
AS
267112011-05-11 Andreas Schwab <schwab@redhat.com>
26712
26713 * Makeconfig (+link-pie): Indent.
26714 * Rules (binaries-pie): Define if $(have-fpie) and
26715 $(build-shared).
26716 (binaries-shared): Also filter out $(binaries-pie).
26717 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26718 * nscd/Makefile (others-pie): Add nscd.
26719 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26720 ($(objpfx)nscd): Remove command override.
26721 * login/Makefile (others-pie): Add pt_chown.
26722 ($(objpfx)pt_chown): Remove command override.
26723 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26724 remove command overrides.
26725
fcabc0f8
UD
267262011-05-13 Ulrich Drepper <drepper@gmail.com>
26727
20030ae6
UD
26728 * libio/tst_putwc.c: Fix error messages.
26729
fcabc0f8
UD
26730 [BZ #12724]
26731 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26732 currently writing and seek to current position when not.
26733 * libio/Makefile (tests): Add bug-fclose1.
26734 * libio/bug-fclose1.c: New file.
26735
320a5dc0
PB
267362011-05-12 Ulrich Drepper <drepper@gmail.com>
26737
26738 [BZ #12511]
26739 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26740 don't set DF_1_NODELETE here.
26741 (do_lookup_x): When entering new entry test for copy relocation
26742 and if necessary set DF_1_NODELETE flag.
26743 * elf/tst-unique4.cc: New file.
26744 * elf/tst-unique4.h: New file.
26745 * elf/tst-unique4lib.cc: New file.
26746 * elf/Makefile: Add rules to build and run tst-unique4.
26747 Patch by Piotr Bury <pbury@goahead.com>.
26748
22836f52
UD
267492011-05-11 Ulrich Drepper <drepper@gmail.com>
26750
f574184a
UD
26751 [BZ #12052]
26752 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26753
e1fb097f
UD
26754 [BZ #12625]
26755 * misc/mntent_r.c (addmntent): Flush the stream after the output
26756
22836f52
UD
26757 [BZ #12393]
26758 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26759 (is_trusted_path_normalize): Skip initial colon. Append slash
26760 to empty buffer. Duplicate is_trusted_path code but allow
26761 constructed patch to be prefix.
26762 (is_dst): Allow $ORIGIN followed by /.
26763 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26764 Correct testing of result of is_trusted_path_normalize
26765 (decompose_rpath): Fix warning.
26766
7b3b0b2a
UD
267672011-05-10 Ulrich Drepper <drepper@gmail.com>
26768
26769 [BZ #11257]
26770 * grp/initgroups.c (internal_getgrouplist): When we found the service
26771 list through the initgroups entry in nsswitch.conf do not always
26772 continue on a successful lookup. Don't always use the
eac80ce2 26773 __nss_group_database value if it is set.
7b3b0b2a
UD
26774 * nss/nsswitch.conf (initgroups): Change action for successful db
26775 lookup to continue for compatibility.
26776
2a81eaa5
UD
267772011-05-09 Ulrich Drepper <drepper@gmail.com>
26778
be97a69e
UD
26779 [BZ #11532]
26780 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26781 and CP774 modules.
26782 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26783 and CP774 modules.
26784 * iconvdata/tst-tables.sh: Likewise.
26785 * iconvdata/cp770.c: New file.
26786 * iconvdata/cp771.c: New file.
26787 * iconvdata/cp772.c: New file.
26788 * iconvdata/cp773.c: New file.
26789 * iconvdata/cp774.c: New file.
26790 * iconvdata/testdata/CP770: New file.
26791 * iconvdata/testdata/CP770..UTF8: New file.
26792 * iconvdata/testdata/CP771: New file.
26793 * iconvdata/testdata/CP771..UTF8: New file.
26794 * iconvdata/testdata/CP772: New file.
26795 * iconvdata/testdata/CP772..UTF8: New file.
26796 * iconvdata/testdata/CP773: New file.
26797 * iconvdata/testdata/CP773..UTF8: New file.
26798 * iconvdata/testdata/CP774: New file.
26799 * iconvdata/testdata/CP774..UTF8: New file.
26800
26801 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26802 END CHARMAP line.
26803 * iconvdata/gen-8bit-gap.sh: Likewise.
26804 * iconvdata/gen-8bit.sh: Likewise.
26805
c1e9e399
UD
26806 * locale/iso-639.def: Add ary entry.
26807
24c55fb3 26808 [BZ #11258]
96b4b1b0
UD
26809 * locale/C-translit.h.in: Add U20A1 transliteration.
26810
bdc2f971
KB
26811 [BZ #12178]
26812 * locale/iso-639.def: Add wae entry.
26813 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26814
2952b117
UD
26815 [BZ #12545]
26816 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26817 for n.
26818
2a81eaa5
UD
26819 [BZ #12711]
26820 * locale/C-translit.h.in: Add entry for U20B9.
26821 Patch by pravin.d.s@gmail.com.
26822
28377d1b
UD
268232011-05-08 Ulrich Drepper <drepper@gmail.com>
26824
7fb90fb8
UD
26825 [BZ #12713]
26826 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26827 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26828 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26829 in rtld. Use *stat64.
7fb90fb8 26830 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26831 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26832 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26833 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26834 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26835 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26836 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26837 __fstatat64 macros.
7fb90fb8
UD
26838 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26839 * dirent/rewinddir.c: Add libc_hidden_def.
26840 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26841 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26842
28377d1b
UD
26843 * include/dirent.h (__alloc_dir): Add flags parameter.
26844 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26845 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26846 __alloc_dir.
26847 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26848 from fdopendir if O_CLOEXEC is already set.
26849
66bdbaa4
AM
268502011-03-15 Alan Modra <amodra@gmail.com>
26851
26852 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26853 l_tls_firstbyte_offset non-zero. Save padding offset in
26854 l_tls_firstbyte_offset for later use.
26855 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26856 freeing static tls block.
26857
95721191
JN
268582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26859
26860 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26861 where #ifdef was intended. The intent is to prevent ARG_MAX from
26862 being defined by the kernel headers.
26863
f87dfb1f
UD
268642011-05-07 Ulrich Drepper <drepper@gmail.com>
26865
26866 [BZ #12734]
26867 * resolv/resolv.h: Define RES_NOTLDQUERY.
26868 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26869 no-tld-query and set RES_NOTLDQUERY.
26870 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26871 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26872 modern BIND to search name as TLD unless forbidden.
26873
47c3cd7a
UD
268742011-05-07 Petr Baudis <pasky@suse.cz>
26875 Ulrich Drepper <drepper@gmail.com>
26876
26877 [BZ #12393]
26878 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26879 (is_trusted_path): ...to here.
c1e9ea35 26880 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26881 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26882 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26883
8a35c912
PP
268842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26885
26886 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26887 __BEGIN/__END_DECLS.
26888
acd41f47
UD
268892011-05-06 Ulrich Drepper <drepper@gmail.com>
26890
26891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26892 NSS_STATUS_NOTFOUND if no record was found.
26893
597df647
AS
268942011-05-05 Andreas Schwab <schwab@redhat.com>
26895
26896 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26897 (headers-not-in-tirpc): Remove rpc/netdb.h
26898 * resolv/netdb.h: Revert last change.
26899
b9af1301
PP
269002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26901
26902 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26903 circular dependency between libgcc.a and libc.a.
26904
4e34d5f5
AS
269052011-05-05 Andreas Schwab <schwab@redhat.com>
26906
26907 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26908 * nis/Makefile: Don't install rpcsvc/*.
26909 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26910 instead of <rpc/types.h>.
26911 (MAXHOSTNAMELEN): Define.
26912
00ee369c
AS
269132011-05-03 Andreas Schwab <schwab@redhat.com>
26914
26915 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26916
0b592a30
MB
269172011-04-28 Maciej Babinski <mbabinski@google.com>
26918
26919 [BZ #12714]
26920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26921 gethostbyname4_r when IPv6 results are possible.
26922
6e04cbbe
UD
269232011-05-02 Ulrich Drepper <drepper@gmail.com>
26924
26925 [BZ #12723]
26926 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26927 _PC_PIPE_BUF handling.
26928
e4ecafe0
BH
269292011-04-30 Bruno Haible <bruno@clisp.org>
26930
26931 [BZ #12717]
26932 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26933 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26934 to 'int'.
26935 * inet/getnameinfo.c (getnameinfo): Likewise.
26936
125ee683
UD
269372011-04-29 Ulrich Drepper <drepper@gmail.com>
26938
26939 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26940 to groups setting in database lookup.
26941 * nss/nsswitch.conf: Add initgroups entry.
26942
b722481a
EB
269432011-04-22 Ulrich Drepper <drepper@gmail.com>
26944
26945 [BZ #12685]
26946 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26947 mode string.
26948 Patch by Eric Blake <eblake@redhat.com>.
26949
4df46dbd
L
269502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26951
26952 * sunrpc/Makefile (need-export-routines): Add svc_run.
26953 (routines): Remove svc_run.
26954 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26955 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26956 * sunrpc/svc_run.c (svc_run): Likewise.
26957 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26958
e84142d2
UD
269592011-04-21 Ulrich Drepper <drepper@gmail.com>
26960
26961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26962 problem in reallocation in last patch.
26963
877175d8
UD
269642011-04-20 Ulrich Drepper <drepper@gmail.com>
26965
26966 * sunrpc/Makefile: Move inclusion of Rules.
26967
ab8eed78
UD
269682011-04-19 Ulrich Drepper <drepper@gmail.com>
26969
26970 * nss/nss_files/files-initgroups.c: New file.
26971 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26972 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26973 _nss_files_initgroups_dyn.
26974
e3d8f584
RS
269752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26976
26977 * elf/elf.h (R_ARM_IRELATIVE): Define.
26978
af190f45
UD
269792011-04-19 Ulrich Drepper <drepper@gmail.com>
26980
26981 * po/ru.po: Update from translation team.
26982
53cf59ef
UD
269832011-04-17 Ulrich Drepper <drepper@gmail.com>
26984
26985 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26986 dependencies.
26987
4c559bcd
MF
269882011-02-06 Mike Frysinger <vapier@gentoo.org>
26989
26990 [BZ #12653]
26991 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26992 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26993 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26994 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26996
4420675c
AS
269972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26998
26999 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27000 differing bytes.
27001 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27004
75ea32ab
UD
270052011-04-17 Ulrich Drepper <drepper@gmail.com>
27006
27007 [BZ #12420]
27008 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27009 storing it.
27010 * stdlib/bug-getcontext.c: New file.
27011 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27012
27390476
AK
270132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27014
27015 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27016 instructions into .machine "z9-109".
27017 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27018 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27019
10442705
AK
270202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27021
27022 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27023 between environment variables and auxiliary vector.
27024
7b57bfe5
UD
270252011-04-16 Ulrich Drepper <drepper@gmail.com>
27026
27027 * Makefile: Add rules to build linkobj/libc.so.
27028 * include/libc-symbols.h: Define libc_hidden_nolink.
27029 * include/rpc/auth.h: Mark functions which are to be hidden.
27030 * include/rpc/auth_des.h: Likewise.
27031 * include/rpc/auth_unix.h: Likewise.
27032 * include/rpc/clnt.h: Likewise.
27033 * include/rpc/des_crypt.h: Likewise.
27034 * include/rpc/key_prot.h: Likewise.
27035 * include/rpc/pmap_clnt.h: Likewise.
27036 * include/rpc/pmap_prot.h: Likewise.
27037 * include/rpc/pmap_rmt.h: Likewise.
27038 * include/rpc/rpc_msg.h: Likewise.
27039 * include/rpc/svc.h: Likewise.
27040 * include/rpc/svc_auth.h: Likewise.
27041 * include/rpc/xdr.h: Likewise.
27042 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27043 * nss/Makefile: Likewise.
27044 * sunrpc/Makefile: Don't install headers. Build library with normal
27045 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27046 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27047 for the compat linking library. Remove use of INTDEF/INTUSE.
27048 * sunrpc/auth_none.c: Likewise.
27049 * sunrpc/auth_unix.c: Likewise.
27050 * sunrpc/authdes_prot.c: Likewise.
27051 * sunrpc/authuxprot.c: Likewise.
27052 * sunrpc/clnt_gen.c: Likewise.
27053 * sunrpc/clnt_perr.c: Likewise.
27054 * sunrpc/clnt_raw.c: Likewise.
27055 * sunrpc/clnt_simp.c: Likewise.
27056 * sunrpc/clnt_tcp.c: Likewise.
27057 * sunrpc/clnt_udp.c: Likewise.
27058 * sunrpc/clnt_unix.c: Likewise.
27059 * sunrpc/des_crypt.c: Likewise.
27060 * sunrpc/des_soft.c: Likewise.
27061 * sunrpc/get_myaddr.c: Likewise.
27062 * sunrpc/key_call.c: Likewise.
27063 * sunrpc/key_prot.c: Likewise.
27064 * sunrpc/netname.c: Likewise.
27065 * sunrpc/pm_getmaps.c: Likewise.
27066 * sunrpc/pm_getport.c: Likewise.
27067 * sunrpc/pmap_clnt.c: Likewise.
27068 * sunrpc/pmap_prot.c: Likewise.
27069 * sunrpc/pmap_prot2.c: Likewise.
27070 * sunrpc/pmap_rmt.c: Likewise.
27071 * sunrpc/publickey.c: Likewise.
27072 * sunrpc/rpc_cmsg.c: Likewise.
27073 * sunrpc/rpc_common.c: Likewise.
27074 * sunrpc/rpc_dtable.c: Likewise.
27075 * sunrpc/rpc_prot.c: Likewise.
27076 * sunrpc/rpc_thread.c: Likewise.
27077 * sunrpc/rtime.c: Likewise.
27078 * sunrpc/svc.c: Likewise.
27079 * sunrpc/svc_auth.c: Likewise.
27080 * sunrpc/svc_authux.c: Likewise.
27081 * sunrpc/svc_raw.c: Likewise.
27082 * sunrpc/svc_run.c: Likewise.
27083 * sunrpc/svc_simple.c: Likewise.
27084 * sunrpc/svc_tcp.c: Likewise.
27085 * sunrpc/svc_udp.c: Likewise.
27086 * sunrpc/svc_unix.c: Likewise.
27087 * sunrpc/svcauth_des.c: Likewise.
27088 * sunrpc/xcrypt.c: Likewise.
27089 * sunrpc/xdr.c: Likewise.
27090 * sunrpc/xdr_array.c: Likewise.
27091 * sunrpc/xdr_float.c: Likewise.
27092 * sunrpc/xdr_intXX_t.c: Likewise.
27093 * sunrpc/xdr_mem.c: Likewise.
27094 * sunrpc/xdr_rec.c: Likewise.
27095 * sunrpc/xdr_ref.c: Likewise.
27096 * sunrpc/xdr_sizeof.c: Likewise.
27097 * sunrpc/xdr_stdio.c: Likewise.
27098
e6c61494
UD
270992011-04-10 Ulrich Drepper <drepper@gmail.com>
27100
27101 [BZ #12650]
27102 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27103 * sysdeps/ia64/dl-tls.h: Likewise.
27104 * sysdeps/powerpc/dl-tls.h: Likewise.
27105 * sysdeps/s390/dl-tls.h: Likewise.
27106 * sysdeps/sh/dl-tls.h: Likewise.
27107 * sysdeps/sparc/dl-tls.h: Likewise.
27108 * sysdeps/x86_64/dl-tls.h: Likewise.
27109 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27110
34fe483e
AS
271112011-03-14 Andreas Schwab <schwab@redhat.com>
27112
27113 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27114 rpath element also skip the following colon.
27115 (expand_dynamic_string_token): Add is_path parameter and pass
27116 down to DL_DST_REQUIRED and _dl_dst_substitute.
27117 (decompose_rpath): Call expand_dynamic_string_token with
27118 non-zero is_path. Ignore empty rpaths.
27119 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27120 with zero is_path.
27121
f12a32e6
AS
271222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27123
27124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27125 Make cancelable.
27126
38a7d692
UD
271272011-04-09 Ulrich Drepper <drepper@gmail.com>
27128
27129 [BZ #12655]
27130 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27131 Patch by Filipe David Manana <fdmanana@apache.org>.
27132
e451d22b
AS
271332011-04-07 Andreas Schwab <schwab@redhat.com>
27134
27135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27136 Maintain aligned stack.
27137 (CHECK_RSP): Remove unused macro.
27138
dedc7c7b
UD
271392011-04-03 Ulrich Drepper <drepper@gmail.com>
27140
27141 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27142 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27143
94521213
UD
271442011-04-02 Ulrich Drepper <drepper@gmail.com>
27145
27146 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27147
8cb700c0 27148 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27149
0354e355
L
271502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27151
27152 [BZ #12518]
27153 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27154 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27155 * sysdeps/x86_64/memmove.c: New file.
27156 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27157 (memcpy): Renamed to ...
27158 (__new_memcpy): This.
27159 (memcpy): Provide GLIBC_2_14 memcpy.
27160 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27161 (memcpy): Provide GLIBC_2_2_5 memcpy.
27162
8593482f
UD
271632011-04-01 Ulrich Drepper <drepper@gmail.com>
27164
27165 [BZ #12631]
27166 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27167
81a5726b
AS
271682011-03-30 Andreas Schwab <schwab@redhat.com>
27169
27170 * misc/syncfs.c: New file.
27171 * misc/Makefile (routines): Add syncfs.
27172 * posix/unistd.h: Declare syncfs.
27173 * sysdeps/unix/syscalls.list: Add syncfs.
27174
00e5419f
AS
271752011-04-01 Andreas Schwab <schwab@redhat.com>
27176
27177 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27178 open_by_handle_at.
27179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27180 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27182 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27184 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27186
748876bf
UD
271872011-04-01 Ulrich Drepper <drepper@gmail.com>
27188
658e451d
UD
27189 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27191 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27193 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27196
748876bf
UD
27197 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27198 sync_file_range.c with -fexceptions.
27199 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27200 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27201 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27202 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27203 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27204 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27206 sync_file_range as cancellation point
27207 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27208 now a wrapper around __call_sync_file_range with cancellation handling.
27209 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27210 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27211 function name to __call_sync_file_range.
27212 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27213 Add call_sync_file_range.
748876bf 27214
6e63d5e1
AS
272152011-04-01 Andreas Schwab <schwab@redhat.com>
27216
27217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27218 bits/timex.h.
6e63d5e1 27219
46998f74
UD
272202011-04-01 Ulrich Drepper <drepper@gmail.com>
27221
4c1423ed
UD
27222 * iconv/iconv.h: Fix typo in comment.
27223 * io/fcntl.h: Likewise.
27224 * libio/stdio.h: Likewise.
27225 * posix/spawn.h: Likewise.
27226 * posix/unistd.h: Likewise.
27227 * stdlib/stdlib.h: Likewise.
27228 * time/time.h: Likewise.
27229 * wcsmbs/wchar.h: Likewise.
27230
158648c0
UD
27231 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27232 open_by_handle): Add.
27233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27234 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27235 Augment a few comments.
27236 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27241 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27242 open_by_handle.
27243
46998f74
UD
27244 * io/fcntl.h (AT_EMPTY_PATH): Define.
27245
83fe108b
UD
272462011-03-30 Ulrich Drepper <drepper@gmail.com>
27247
27248 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27249 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27250 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27251 to...
27252 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27253 * Versions.def: Add GLIBC_2.14.
27254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27255 Export.
83fe108b 27256
bb242059
UD
272572011-03-22 Ulrich Drepper <drepper@gmail.com>
27258
27259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27260 round counter.
27261 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27262
c97a1282
L
272632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27264
27265 [BZ #12597]
27266 * string/test-strncmp.c (do_page_test): New function.
27267 (check2): Likewise.
27268 (test_main): Call check2.
27269 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27270
2a115601
UD
272712011-03-20 Ulrich Drepper <drepper@gmail.com>
27272
27273 [BZ #12587]
27274 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27275 Handle cache information in CPU leaf 4.
27276 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27277
8126d904
UD
272782011-03-18 Ulrich Drepper <drepper@gmail.com>
27279
042c49c6 27280 [BZ #12583]
8126d904
UD
27281 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27282 character representation.
27283 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27284
ccfe366e
RA
272852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27286
27287 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27288 END(__isnan) to END(__isnanf) to match function entry point/label
27289 EALIGN(__isnanf,...).
27290
c6e13027
JJ
272912011-03-10 Jakub Jelinek <jakub@redhat.com>
27292
27293 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27294
33f85a3f
UD
272952011-03-10 Ulrich Drepper <drepper@gmail.com>
27296
028478fa
UD
27297 [BZ #12510]
27298 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27299 copy from the symbol referenced in the relocation to initialize the
27300 used variable.
27301 Patch by Piotr Bury <pbury@goahead.com>.
27302 * elf/Makefile: Add rules to build and tst-unique3.
27303 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27304 * elf/tst-unique3.cc: New file.
27305 * elf/tst-unique3.h: New file.
27306 * elf/tst-unique3lib.cc: New file.
27307 * elf/tst-unique3lib2.cc: New file.
27308
33f85a3f
UD
27309 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27310
03592fc7
MF
273112011-03-10 Mike Frysinger <vapier@gentoo.org>
27312
27313 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27314 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27315 to _start.
03592fc7 27316
6a5ee102
UD
273172011-03-06 Ulrich Drepper <drepper@gmail.com>
27318
27319 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27320 to-be-loaded object along a path to loader is ld.so.
27321
7e4ba49c
HJ
273222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27323 Ulrich Drepper <drepper@gmail.com>
27324
27325 * sysdeps/x86_64/memset.S: After aligning destination, code
27326 branches to different locations depending on the value of
27327 misalignment, when multiarch is enabled. Fix this.
27328
273292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27330
27331 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27332 Set _x86_64_preferred_memory_instruction for AMD processsors.
27333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27334 Set bit_Prefer_SSE_for_memop for AMD processors.
27335
13a804de
UD
273362011-03-04 Ulrich Drepper <drepper@gmail.com>
27337
27338 * libio/fmemopen.c (fmemopen): Optimize a bit.
27339
9d25c392
AS
273402011-03-03 Andreas Schwab <schwab@redhat.com>
27341
27342 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27343
a5543c6a
RM
273442011-03-03 Roland McGrath <roland@redhat.com>
27345
27346 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27347
012d35f7
DM
273482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27349
7e4ba49c 27350 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27351 __bzero_ultra1 instead of __memset_ultra1.
27352
4bff6e01
AS
273532011-02-23 Andreas Schwab <schwab@redhat.com>
27354 Ulrich Drepper <drepper@gmail.com>
27355
27356 [BZ #12509]
27357 * include/link.h (struct link_map): Add l_orig_initfini.
27358 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27359 returning unsuccessfully.
27360 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27361 close of a file loaded at startup, restore the original l_initfini
27362 list.
27363 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27364 list, store the pointer.
27365 * elf/Makefile ($(objpfx)noload-mem): New rule.
27366 (noload-ENV): Define.
27367 (tests): Add $(objpfx)noload-mem.
27368 * elf/noload.c: Include <memcheck.h>.
27369 (main): Call mtrace. Close all opened handles.
27370
f2092faf
AS
273712011-02-17 Andreas Schwab <schwab@redhat.com>
27372
27373 [BZ #12454]
27374 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27375 dependencies are missing.
27376
6c8a2e88
ST
273772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27378
f2092faf 27379 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27380 Hurd needs munmap.
27381 * sysdeps/mach/hurd/ifreq.h: New file.
27382
84a42118
PB
273832011-01-27 Petr Baudis <pasky@suse.cz>
27384 Ulrich Drepper <drepper@gmail.com>
27385
071f805e 27386 [BZ 12445]#
84a42118
PB
27387 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27388 to extend_alloca().
27389 * stdio-common/bug23.c: New file.
27390 * stdio-common/Makefile (tests): Add bug23.
27391
e23fe25b
AS
273922010-09-28 Andreas Schwab <schwab@redhat.com>
27393 Ulrich Drepper <drepper@gmail.com>
27394
27395 [BZ #12489]
27396 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27397 before performing relro protection. At old place add assertion
27398 to make sure nothing changed.
27399
d3f02e10
NS
274002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27401 Glauber de Oliveira Costa <glommer@gmail.com>
27402
27403 * elf/elf.h: Add new ARM TLS relocs.
27404
d55fd7a5
RA
274052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27406
27407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27408 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27409 cast from r3.
27410 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27411 'tests' variable.
27412 * sysdeps/wordsize-64/tst-writev.c: New file.
27413
2206397e
RA
274142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27415
27416 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27417 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27418 insns in _dl_start to prevent a TOC reference before relocs are
27419 resolved.
27420
e9433893
UD
274212011-02-15 Ulrich Drepper <drepper@gmail.com>
27422
27423 [BZ #12469]
27424 * Makeconfig: Remove RANLIB definition.
27425 * Makerules: Don't use RANLIB.
27426 * aclocal.m4: Remove ranlib test.
27427 * configure.in: No need to check for ranlib.
27428 * elf/rtld-Rules: Don't use RANLIB.
27429
f75286c6
ST
274302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27431
8e31c82d
ST
27432 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27433 protection macro.
27434 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27435 inclusion protection macro.
27436
f75286c6
ST
27437 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27438 SIGRTMIN and SIGRTMAX and print information in that case only when
27439 SIGRTMIN is defined.
27440
c1d0e639
JJ
274412011-02-11 Jakub Jelinek <jakub@redhat.com>
27442
27443 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27444 arginfo fn returning -1.
27445
27446 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27447 and thousands string is zero terminated.
27448
edf9294e
AS
274492011-02-03 Andreas Schwab <schwab@redhat.com>
27450
27451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27452 sysdeps/unix/sysv/linux/bits/socket.h.
27453
2b7e92df
ST
274542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27455
edf9294e
AS
27456 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27457 (__CPU_COUNT): Remove old macros.
27458 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27459 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27460 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27461 (__sched_cpualloc, __sched_cpufree): Add declarations.
27462
a4c7ea7b
UD
274632011-02-05 Ulrich Drepper <drepper@gmail.com>
27464
27465 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27466 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27467 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27468 (readdhstai): Return value of addhstaiX call.
27469 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27470 (addgrbyX): Return value returned by cache_addgr.
27471 (readdgrbyname): Return value returned by addgrbyX.
27472 (readdgrbygid): Likewise.
27473 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27474 (addpwbyX): Return value returned by cache_addpw.
27475 (readdpwbyname): Return value returned by addhstbyX.
27476 (readdpwbyuid): Likewise.
27477 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27478 (addservbyX): Return value returned by cache_addserv.
27479 (readdservbyname): Return value returned by addservbyX:
27480 (readdservbyport): Likewise.
27481 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27482 (addhstbyX): Return value returned by cache_addhst.
27483 (readdhstbyname): Return value returned by addhstbyX.
27484 (readdhstbyaddr): Likewise.
27485 (readdhstbynamev6): Likewise.
27486 (readdhstbyaddrv6): Likewise.
27487 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27488 (readdinitgroups): Return value returned by addinitgroupsX.
27489 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27490 (prune_cache): Keep track of timeout value of re-added entries.
27491 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27492 * nscd/nscd.h: Adjust prototypes of readd* functions.
27493
a0bf67cc
RM
274942011-02-04 Roland McGrath <roland@redhat.com>
27495
27496 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27497 (nis_stats): Likewise.
27498 * nis/nis_modify.c (nis_modify): Likewise.
27499 * nis/nis_remove.c (nis_remove): Likewise.
27500 * nis/nis_add.c (nis_add): Likewise.
27501
27502 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27503
27504 * posix/fnmatch_loop.c: Add some consts.
27505
27506 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27507
435b95eb
L
275082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27509
27510 [BZ #12460]
27511 * config.make.in (config-cflags-novzeroupper): Define.
27512 * configure.in: Substitute libc_cv_cc_novzeroupper.
27513 * elf/Makefile (AVX-CFLAGS): Define.
27514 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27515 (CFLAGS-tst-auditmod4a.c): Likewise.
27516 (CFLAGS-tst-auditmod4b.c): Likewise.
27517 (CFLAGS-tst-auditmod6b.c): Likewise.
27518 (CFLAGS-tst-auditmod6c.c): Likewise.
27519 (CFLAGS-tst-auditmod7b.c): Likewise.
27520 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27521
8517b15e
UD
275222011-02-02 Ulrich Drepper <drepper@gmail.com>
27523
27524 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27525 function to the callback.
27526 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27527
10a656fe
AS
275282011-02-02 Andreas Schwab <schwab@redhat.com>
27529
27530 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27531 of errno.
27532
968dad0a
UD
275332011-01-19 Ulrich Drepper <drepper@gmail.com>
27534
9f94d2ea 27535 [BZ #11724]
968dad0a
UD
27536 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27537 of constructors.
27538 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27539 of destructors.
27540 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27541
27542 [BZ #11724]
27543 * elf/Makefile: Add rules to build and run new test.
27544 * elf/tst-initorder.c: New file.
27545 * elf/tst-initorder.exp: New file.
27546 * elf/tst-initordera1.c: New file.
27547 * elf/tst-initordera2.c: New file.
27548 * elf/tst-initordera3.c: New file.
27549 * elf/tst-initordera4.c: New file.
27550 * elf/tst-initorderb1.c: New file.
27551 * elf/tst-initorderb2.c: New file.
27552 * elf/tst-order-a1.c: New file.
27553 * elf/tst-order-a2.c: New file.
27554 * elf/tst-order-a3.c: New file.
27555 * elf/tst-order-a4.c: New file.
27556 * elf/tst-order-b1.c: New file.
27557 * elf/tst-order-b2.c: New file.
27558 * elf/tst-order-main.c: New file.
27559 New test case by George Gensure <werkt0@gmail.com>.
27560
86e92359
UD
275612010-10-01 Andreas Schwab <schwab@redhat.com>
27562
27563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27564 decoding ACE if AI_CANONIDN.
27565
5d5732b0
UD
275662011-01-18 Ulrich Drepper <drepper@gmail.com>
27567
27568 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27569
a77e8cbc
UD
275702011-01-17 Ulrich Drepper <drepper@gmail.com>
27571
6392473f
UD
27572 * version.h (RELEASE): Bump for 2.13 release.
27573 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27574
620a0529
UD
27575 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27576
18ba70a5
UD
27577 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27578 MADV_NOHUGEPAGE.
32465c3e
UD
27579 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27580 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27581 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27584 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27585
c0dafcf1
UD
27586 * posix/getconf.c: Update copyright year.
27587 * catgets/gencat.c: Likewise.
27588 * csu/version.c: Likewise.
27589 * debug/catchsegv.sh: Likewise.
27590 * debug/xtrace.sh: Likewise.
27591 * elf/ldconfig.c: Likewise.
27592 * elf/ldd.bash.in: Likewise.
27593 * elf/sprof.c (print_version): Likewise.
27594 * iconv/iconv_prog.c: Likewise.
27595 * iconv/iconvconfig.c: Likewise.
27596 * locale/programs/locale.c: Likewise.
27597 * locale/programs/localedef.c: Likewise.
27598 * malloc/memusage.sh: Likewise.
27599 * malloc/mtrace.pl: Likewise.
27600 * nscd/nscd.c (print_version): Likewise.
27601 * nss/getent.c: Likewise.
27602
a77e8cbc
UD
27603 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27604 PF_CAIF, and PF_ALG.
27605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27606
77e8bddf
AS
276072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27608
1f20b93a
AS
27609 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27610 (modules-names): Use them.
27611 (ifunc-test-modules, ifunc-pie-tests): Define.
27612 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27613 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27614 (test-extras): Likewise.
27615 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27616 $(compile-command.c).
27617 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27618 (all-built-dso): Define.
27619 (check-textrel.out, check-execstack.out): Depend on it.
27620
77e8bddf
AS
27621 * configure.in: Don't override --enable-multi-arch.
27622
bc425b33
UD
276232011-01-15 Ulrich Drepper <drepper@gmail.com>
27624
27625 [BZ #6812]
27626 * nscd/hstcache.c (tryagain): Define.
27627 (cache_addhst): Return tryagain not notfound for temporary errors.
27628 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27629 failed.
27630
794c3ad3
UD
276312011-01-14 Ulrich Drepper <drepper@gmail.com>
27632
70181fdd
UD
27633 [BZ #10563]
27634 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27635 to make the syscall.
27636 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27637
794c3ad3
UD
27638 [BZ #12378]
27639 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27640 and fall back to matching as normal character if the string ends before
27641 the matching ']' is found. This is what POSIX requires.
27642 * posix/testfnm.c: Adjust test result.
27643 * posix/globtest.sh: Adjust test result. Add new test.
27644 * posix/tst-fnmatch.input: Likewise.
27645 * posix/tst-fnmatch2.c: Add new test.
27646
68dc9497
AS
276472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27648
27649 * elf/Makefile (check-execstack): Revert last change. Depend on
27650 check-execstack.h.
27651 (check-execstack.h): New target.
27652 (generated): Add check-execstack.h.
27653 * elf/check-execstack.c: Include "check-execstack.h".
27654 (main): Revert last change.
27655 (handle_file): Return zero if GNU_STACK is absent and
27656 DEFAULT_STACK_PERMS doesn't include PF_X.
27657
451f001b
UD
276582011-01-13 Ulrich Drepper <drepper@gmail.com>
27659
cfa28e56
UD
27660 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27661 in child fails because the descriptor is already closed.
8cf8ce17
UD
27662 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27663 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27664 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27665
1086d70d
UD
27666 [BZ #12397]
27667 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27668 syscall.
27669
451f001b
UD
27670 [BZ #10484]
27671 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27672 temporary buffer used to handle multi lookups locally.
a85b5cb4 27673 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27674
08769175
UD
276752011-01-12 Ulrich Drepper <drepper@gmail.com>
27676
27677 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27678 loader is ld.so.
27679
5e49c52e
UD
276802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27681
27682 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27683 alignment for SSE2.
27684
60522a5f
UD
276852011-01-12 Ulrich Drepper <drepper@gmail.com>
27686
27687 [BZ #12394]
27688 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27689 characters. When rounding increased number of integer digits recompute
27690 number of groups.
27691 * stdio-common/tst-grouping.c: New file.
27692 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27693
f257bbd7
UD
276942011-01-09 Ulrich Drepper <drepper@gmail.com>
27695
27696 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27697 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27698
27699 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27700 void.
27701 * bits/select.h: Likewise.
27702
fa9c15cb
UD
277032011-01-08 Ulrich Drepper <drepper@gmail.com>
27704
27705 * po/ja.po: Update from translation team.
27706
16c2895f
DM
277072011-01-04 David S. Miller <davem@sunset.davemloft.net>
27708
27709 [BZ #11155]
27710 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27711 implementation just like for lxstat, fxstatat, et al.
27712
2543fef2
JM
277132010-12-27 Jim Meyering <meyering@redhat.com>
27714
27715 [BZ #12348]
27716 * posix/regexec.c (build_trtable): Return failure indication upon
27717 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27718
98727dbe
UD
277192010-12-25 Ulrich Drepper <drepper@gmail.com>
27720
5bd6dc5c
UD
27721 [BZ #12201]
27722 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27723 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27724 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27725 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27726
97983464
UD
27727 [BZ #12207]
27728 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27729
98727dbe
UD
27730 [BZ #12204]
27731 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27732 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27733
4a531bb0
L
277342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27735
27736 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27737 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27738 script has SORT_BY_INIT_PRIORITY.
27739 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27740 NO_CTORS_DTORS_SECTIONS is defined.
27741 * elf/soinit.c: Likewise.
27742 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27743 NO_CTORS_DTORS_SECTIONS is defined.
27744 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27745 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27746 * sysdeps/sh/init-first.c: Likewise.
27747 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27748
07eb4b71
UD
277492010-12-24 Ulrich Drepper <drepper@gmail.com>
27750
27751 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27752 always use the slow path.
27753
30950a5f
RA
277542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27755
27756 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27757 similar rule which adds the sysdep directories to the header search in
27758 order to pick up the correct platform stackinfo.h.
27759 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27760 perform test if it is, otherwise return successfully without testing.
27761 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27762 DEFAULT_STACK_PERMS define in stackinfo.h.
27763 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27764 defined in stackinfo.h.
27765 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27766 DEFAULT_STACK_PERMS defined in stackinfo.h.
27767 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27768 * sysdeps/ia64/stackinfo.h: Likewise.
27769 * sysdeps/s390/stackinfo.h: Likewise.
27770 * sysdeps/sh/stackinfo.h: Likewise.
27771 * sysdeps/sparc/stackinfo.h: Likewise.
27772 * sysdeps/x86_64/stackinfo.h: Likewise.
27773 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27774 PF_X for powerpc64. Retain PF_X for powerpc32.
27775
db753e2c
UD
277762010-12-19 Ulrich Drepper <drepper@gmail.com>
27777
14b697f7
UD
27778 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27779 accurately.
db753e2c
UD
27780 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27781 GETDENTS_64BIT_ALIGNED.
27782
28300719
UD
277832010-12-14 Ulrich Drepper <dreper@gmail.com>
27784
14b697f7 27785 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27786
4f197237
AS
277872010-12-10 Andreas Schwab <schwab@redhat.com>
27788
dbb0472f
AS
27789 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27790 _GNU_SOURCE.
27791
4f197237
AS
27792 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27793 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27794 Remove __restrict.
27795 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27796 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27797
fb88ac72
UD
277982010-12-09 Ulrich Drepper <drepper@gmail.com>
27799
27800 [BZ #11655]
27801 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27802 are initialized.
27803
42acbb92
JJ
278042010-12-09 Jakub Jelinek <jakub@redhat.com>
27805
27806 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27807
c038d98d
UD
278082010-12-03 Ulrich Drepper <drepper@gmail.com>
27809
27810 * po/it.po: Update from translation team.
27811
3a4a2499
L
278122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27813
27814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27815 unused codes.
27816
1e24cf6e
UD
278172010-11-30 Ulrich Drepper <drepper@gmail.com>
27818
27819 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27820
a7690819
AS
278212010-11-24 Andreas Schwab <schwab@redhat.com>
27822
27823 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27824 specially.
27825 (gaih_getanswer_slice): Likewise.
27826
3bf8d1b1
JJ
278272010-10-20 Jakub Jelinek <jakub@redhat.com>
27828
27829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27830
6db52fbb
PB
278312010-05-31 Petr Baudis <pasky@suse.cz>
27832
27833 [BZ #11149]
27834 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27835 silently even in the chroot mode.
27836
eaca7569
UD
278372010-11-22 Ulrich Drepper <drepper@gmail.com>
27838
27839 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27840 last patch a bit. Pretty printing
27841
3056dcdb
UD
278422010-05-31 Petr Baudis <pasky@suse.cz>
27843
27844 [BZ #10085]
27845 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27846 initialization of skip_initgroups_dyn.
27847
cf7c9078
UD
278482010-11-19 Ulrich Drepper <drepper@gmail.com>
27849
27850 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27851 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27852
a1fb5e3e
UD
278532010-11-16 Ulrich Drepper <drepper@gmail.com>
27854
27855 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27856
3540d66b
AS
278572010-11-11 Andreas Schwab <schwab@redhat.com>
27858
27859 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27860 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27861 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27862 ($(objpfx)tst-fnmatch-mem): New rule.
27863 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27864 * posix/tst-fnmatch.c (main): Call mtrace.
27865
13b69574
L
278662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27867
27868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27869 Support Intel processor model 6 and model 0x2c.
27870
da93d214
LM
278712010-11-10 Luis Machado <luisgpm@br.ibm.com>
27872
27873 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27874 signed comparison.
27875
8ca52c6e
L
278762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27877
27878 [BZ #12205]
27879 * string/test-strncasecmp.c (check_result): New function.
27880 (do_one_test): Use it.
27881 (check1): New function.
27882 (test_main): Use it.
27883 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27884 Support strcasecmp and strncasecmp.
27885
69da074d
UD
278862010-11-08 Ulrich Drepper <drepper@gmail.com>
27887
27888 [BZ #12194]
27889 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27891
ff02d528
L
278922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27893
27894 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27895 IFUNC support.
27896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27897 memset-x86-64.
27898 * sysdeps/x86_64/multiarch/bzero.S: New file.
27899 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27900 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27901 * sysdeps/x86_64/multiarch/memset.S: New file.
27902 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27904 Set bit_Prefer_SSE_for_memop for Intel processors.
27905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27906 Define.
27907 (index_Prefer_SSE_for_memop): Define.
27908 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27909
344d0b54
LM
279102010-11-04 Luis Machado <luisgpm@br.ibm.com>
27911
27912 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27913 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27914
c0dde15b
UD
279152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 [BZ #12191]
27918 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27919 (__x86_64_raw_data_cache_size_half): Likewise.
27920 (__x86_64_raw_shared_cache_size): Likewise.
27921 (__x86_64_raw_shared_cache_size_half): Likewise.
27922
27923 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27924 (__x86_64_raw_data_cache_size_half): Likewise.
27925 (__x86_64_raw_shared_cache_size): Likewise.
27926 (__x86_64_raw_shared_cache_size_half): Likewise.
27927 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27928 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27929 and __x86_64_raw_shared_cache_size_half. Round
27930 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27931 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27932 to multiple of 256 bytes.
27933
0e516e0e
MS
279342010-11-03 Ulrich Drepper <drepper@gmail.com>
27935
27936 [BZ #12167]
27937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27938 of inacessible symlinks. Verify result of symlink before returning it.
27939 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27940 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27941
0e012e87
ER
279422010-10-28 Erich Ritz <erichritz@gmail.com>
27943
27944 * math/math.h (isinf): Fix typo in comment.
27945
de0ff7bc
UD
279462010-11-01 Ulrich Drepper <drepper@gmail.com>
27947
27948 * po/da.po: Update from translation team.
27949
fa41c84d
UD
279502010-10-26 Ulrich Drepper <drepper@gmail.com>
27951
27952 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27953 is added to the list.
27954
f0967738
AK
279552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27956 Ulrich Drepper <drepper@gmail.com>
27957
27958 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27959 the global list here. Move code to...
27960 (_dl_add_to_namespace_list): ...here. New function.
27961 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27962 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27963 * elf/dl-load.c (lose): Don't remove the element from the list.
27964 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27965 (_dl_map_object): Likewise.
27966
279672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27968
27969 [BZ #12159]
27970 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27971 into all bytes of SSE register.
27972 Patch by Richard Li <richardpku@gmail.com>.
27973
f0967738 279742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27975
27976 [BZ #12140]
27977 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27978 perturbing.
27979
d0b9e94f
MB
279802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27981
27982 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27983 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27984 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27985 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27987 submachine.
27988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27989
8e9f92e9
AS
279902010-10-22 Andreas Schwab <schwab@redhat.com>
27991
27992 * include/dlfcn.h (__RTLD_SECURE): Define.
27993 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27994 mode & __RTLD_SECURE instead.
27995 (open_path): Rename preloaded parameter to secure.
27996 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27997 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27998 * elf/dl-deps.c (openaux): Likewise.
27999 * elf/rtld.c (struct map_args): Remove is_preloaded.
28000 (map_doit): Don't use it.
28001 (dl_main): Likewise.
28002 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28003 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28004
bc96fbda
AS
280052010-09-09 Andreas Schwab <schwab@redhat.com>
28006
28007 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28008 (sysd-rules-targets): Remove duplicates.
28009 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28010 rtld-%.$o dependency.
28011
22cd1c9b
AS
280122010-10-18 Andreas Schwab <schwab@redhat.com>
28013
28014 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28015 _dl_map_object do it.
28016
18edac48
UD
280172010-10-19 Ulrich Drepper <drepper@gmail.com>
28018
28019 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28020 fast fma builtins, define the macros in the C99 standard.
28021 (FP_FAST_FMAF): Likewise.
28022 (FP_FAST_FMAL): Likewise.
28023 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28024
28025 * bits/mathdef.h: Update copyright year.
28026 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28027
d2050124
MM
280282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28029
28030 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28031 builtins, define the macros in the C99 standard.
28032 (FP_FAST_FMAF): Likewise.
28033 (FP_FAST_FMAL): Likewise.
28034 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28035 multiply/add.
28036 (FP_FAST_FMAF): Likewise.
28037
475facd1
JJ
280382010-10-15 Jakub Jelinek <jakub@redhat.com>
28039
28040 [BZ #3268]
28041 * math/libm-test.inc (fma_test): Some new testcases.
28042 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28043 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28044 y and infinite z. Do multiplication by C already in long double.
28045 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28047 y and infinite z. Do bitwise or of inexact bit into u.d.
28048 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28049 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28050 * sysdeps/i386/fpu/s_fma.S: Removed.
28051 * sysdeps/i386/fpu/s_fmal.S: Removed.
28052
7c08a05c
JJ
280532010-10-16 Jakub Jelinek <jakub@redhat.com>
28054
28055 [BZ #3268]
28056 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28058 computation is not scheduled after fetestexcept. Fix value
28059 of minimum denormal long double.
28060
f3f7372d
JJ
280612010-10-14 Jakub Jelinek <jakub@redhat.com>
28062
28063 [BZ #3268]
28064 * math/libm-test.inc (fma_test): Add some more tests.
28065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28066 correctly.
28067
14d43591
AS
280682010-10-15 Andreas Schwab <schwab@redhat.com>
28069
28070 * scripts/data/localplt-s390-linux-gnu.data: New file.
28071 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28072
5e908464
JJ
280732010-10-13 Jakub Jelinek <jakub@redhat.com>
28074
28075 [BZ #3268]
28076 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28077 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28078 instead of dbl-64.
28079 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28080 inlines.
28081 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28083 if one of x and y is very large and the other is subnormal.
28084 * sysdeps/s390/fpu/s_fmaf.c: New file.
28085 * sysdeps/s390/fpu/s_fma.c: New file.
28086 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28087 * sysdeps/powerpc/fpu/s_fma.S: New file.
28088 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28089 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28090 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28091
280922010-10-12 Jakub Jelinek <jakub@redhat.com>
28093
28094 [BZ #3268]
28095 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28096 fma tests.
28097 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28098 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28099 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28100 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28101 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28102 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28103 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28104
b833d51f
UD
281052010-10-12 Ulrich Drepper <drepper@redhat.com>
28106
28107 [BZ #12078]
28108 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28109 * posix/bug-regex31.input: Add test case.
28110
1751705d
UD
281112010-10-11 Ulrich Drepper <drepper@gmail.com>
28112
e9b9cbf5
UD
28113 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28114 * posix/bug-regex31.input: New file.
28115
28116 [BZ #12078]
28117 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28118 (parse_sub_exp): Fix last change, use postorder.
28119
ef06edbe
UD
28120 * posix/bug-regex31.c: New file.
28121 * posix/Makefile: Add rules to build and run bug-regex31.
28122
a129c80d
UD
28123 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28124
28125 [BZ #12078]
28126 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28127
b76b818e
UD
28128 [BZ #12108]
28129 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28130 to have entries in sys_siglist.
28131
1751705d
UD
28132 [BZ #12093]
28133 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28134 be NULL.
28135
9ff8d36f
JJ
281362010-10-07 Jakub Jelinek <jakub@redhat.com>
28137
28138 [BZ #3268]
28139 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28140 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28141 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28142 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28143 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28144 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28145 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28146 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28147 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28148 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28149 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28150 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28151 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28152 * math/ftestexcept.c (fetestexcept): Likewise.
28153 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28154 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28155 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28156 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28157 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28158 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28159 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28160
af325969
UD
281612010-10-11 Ulrich Drepper <drepper@gmail.com>
28162
c579b202 28163 [BZ #12107]
af325969
UD
28164 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28165 newline.
28166
67a67b95
UD
281672010-10-06 Ulrich Drepper <drepper@gmail.com>
28168
28169 * string/bug-strstr1.c: New file.
28170 * string/Makefile: Add rules to build and run bug-strstr1.
28171
5fb308bc
EB
281722010-10-05 Eric Blake <eblake@redhat.com>
28173
28174 [BZ #12092]
28175 * string/str-two-way.h (two_way_long_needle): Always clear memory
28176 when skipping input due to the shift table.
28177
45db99c7
UD
281782010-10-03 Ulrich Drepper <drepper@gmail.com>
28179
3b111893
UD
28180 [BZ #12005]
28181 * malloc/mcheck.c: Handle large requests.
28182
45db99c7
UD
28183 [BZ #12077]
28184 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28185 for strncmp and strncasecmp.
28186 * string/stratcliff.c: Add tests for strcmp and strncmp.
28187 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28188
cf7a1eb8
NI
281892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28190
28191 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28192 __set_fpscr.
28193
6484ba5e
AJ
281942010-09-30 Andreas Jaeger <aj@suse.de>
28195
28196 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28197 (CGROUP_SUPER_MAGIC): Define.
28198 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28199 Handle btrfs and cgroup file systems.
28200 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28201 Likewise.
28202
91c42559
LM
282032010-09-27 Luis Machado <luisgpm@br.ibm.com>
28204
28205 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28206 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28207
87a97932
AK
282082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28209
28210 [BZ #12067]
28211 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28212 trying to locate the ELF header.
28213
c21cc9bc
AS
282142010-09-27 Andreas Schwab <schwab@redhat.com>
28215
28216 [BZ #11611]
28217 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28218 Mask out sign-bit copies when constructing f_fsid.
28219
315970f6
PB
282202010-09-24 Petr Baudis <pasky@suse.cz>
28221
28222 * debug/stack_chk_fail_local.c: Add missing licence exception.
28223 * debug/warning-nop.c: Likewise.
28224
1ac7a2c7
JM
282252010-09-15 Joseph Myers <joseph@codesourcery.com>
28226
28227 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28228 implementing getdents64 using getdents syscall, set d_type if
28229 __ASSUME_GETDENTS32_D_TYPE.
28230
56801c50
AS
282312010-09-16 Andreas Schwab <schwab@redhat.com>
28232
28233 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28234 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28235
dda51327
UD
282362010-09-21 Ulrich Drepper <drepper@redhat.com>
28237
28238 [BZ #12037]
28239 * posix/unistd.h: Undo change of feature selection for ftruncate from
28240 2010-01-11.
28241
8ffcee4a
UD
282422010-09-20 Ulrich Drepper <drepper@redhat.com>
28243
a545ecd9 28244 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28245 detection.
28246
e24f0a8b
AS
282472010-09-20 Andreas Schwab <schwab@redhat.com>
28248
28249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28250 fanotify_mark.
28251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28252
7291c56f
AS
282532010-09-14 Andreas Schwab <schwab@redhat.com>
28254
28255 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28256 variables after CHECK_SP call.
28257 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28258
bc5fb037
AS
282592010-09-13 Andreas Schwab <schwab@redhat.com>
28260 Ulrich Drepper <drepper@redhat.com>
28261
28262 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28263 re-relocationg ld.so.
28264 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28265 _dl_init_paths call.
28266 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28267 here anymore.
28268
e66e7419
UD
282692010-09-14 Ulrich Drepper <drepper@redhat.com>
28270
28271 * resolv/res_init.c (__res_vinit): Count the default server we added.
28272
c044aa75
CLT
282732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28274 Ulrich Drepper <drepper@redhat.com>
28275
28276 [BZ #11968]
28277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28278 (____longjmp_chk): Use %ebx for saving value across system call.
28279 Add unwind info.
28280
32cf4069
AS
282812010-09-06 Andreas Schwab <schwab@redhat.com>
28282
28283 * manual/Makefile: Don't mix pattern rules with normal rules.
28284
817328ee
AS
282852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28286
28287 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28288 operation.
28289 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28290 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28291 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28292 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28294 Likewise.
28295
29fddf61
UD
282962010-09-04 Ulrich Drepper <drepper@redhat.com>
28297
28298 [BZ #11979]
28299 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28300 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28301
0959ffc9
UD
283022010-09-02 Ulrich Drepper <drepper@redhat.com>
28303
28304 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28305 * sysdeps/x86_64/addmul_1.S: Likewise.
28306 * sysdeps/x86_64/lshift.S: Likewise.
28307 * sysdeps/x86_64/mul_1.S: Likewise.
28308 * sysdeps/x86_64/rshift.S: Likewise.
28309 * sysdeps/x86_64/sub_n.S: Likewise.
28310 * sysdeps/x86_64/submul_1.S: Likewise.
28311
ece29840
ST
283122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28313
0959ffc9
UD
28314 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28315 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28316 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28317 * bits/sched.h [__need_schedparam]
ece29840 28318 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28319 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28320 (__defined_schedparam): Define to 1.
ece29840
ST
28321 (__sched_param): New structure, identical to sched_param.
28322 (__need_schedparam): Undefine.
28323
e53a31fe
MF
283242010-08-31 Mike Frysinger <vapier@gentoo.org>
28325
fdc0c10d
MF
28326 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28327 (epoll_create1): Declare.
28328
e53a31fe
MF
28329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28330
a726d796
AS
283312010-08-31 Andreas Schwab <schwab@redhat.com>
28332
28333 [BZ #7066]
28334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28335 shifting retval into place.
28336
2f3e3dc7
UD
283372010-09-01 Ulrich Drepper <drepper@redhat.com>
28338
f2933da9
UD
28339 * nis/rpcsvc/nis.h: Update copyright notice.
28340 * nis/rpcsvc/nis.x: Likewise.
28341 * nis/rpcsvc/nis_callback.h: Likewise.
28342 * nis/rpcsvc/nis_callback.x: Likewise.
28343 * nis/rpcsvc/nis_object.x: Likewise.
28344 * nis/rpcsvc/nis_tags.h: Likewise.
28345 * nis/rpcsvc/yp.h: Likewise.
28346 * nis/rpcsvc/yp.x: Likewise.
28347 * nis/rpcsvc/ypupd.h: Likewise.
28348 * nis/yp_xdr.c: Likewise.
28349 * nis/ypupdate_xdr.c: Likewise.
28350
2f3e3dc7
UD
28351 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28352 mainly the body of pmap_getport. Add parameters to specify timeouts.
28353 (pmap_getport): Use __libc_rpc_getport.
28354 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28355 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28356 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28357
f3dcc2f9
AS
283582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28359
28360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28361 fanotify_mark.
28362
6d34eb5b
RM
283632010-08-27 Roland McGrath <roland@redhat.com>
28364
28365 * sysdeps/i386/i686/multiarch/Makefile
28366 (CFLAGS-varshift.c): New variable.
28367
9ea3de11
UD
283682010-08-27 Ulrich Drepper <drepper@redhat.com>
28369
c96d23fc
UD
28370 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28371 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28372
9ea3de11
UD
28373 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28374
28375 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28376
623aac7f
L
283772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28378
28379 * sysdeps/x86_64/strlen.S: Unroll the loop.
28380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28381 strlen-sse2 strlen-sse2-bsf.
28382 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28383 __strlen_no_bsf if bit_Slow_BSF is set.
28384 (__strlen_sse42): Removed.
28385 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28386 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28387
8b2b7715
RM
283882010-08-25 Roland McGrath <roland@redhat.com>
28389
28390 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28391 * sysdeps/x86_64/multiarch/varshift.c: New file.
28392 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28393 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28394 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28395 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28396
e73015f2
L
283972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28398
28399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28400 strlen-sse2 strlen-sse2-bsf.
28401 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28402 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28403 (__strlen_sse2): Removed.
28404 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28405 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28407 bit_Slow_BSF for Atom.
28408 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28409 (index_Slow_BSF): Define.
28410 (HAS_SLOW_BSF): Define.
28411
df24a73e
UD
284122010-08-25 Ulrich Drepper <drepper@redhat.com>
28413
28414 [BZ #10851]
28415 * resolv/res_init.c (__res_vinit): When no server address at all
28416 is given default to loopback.
28417
f2ac4868
RM
284182010-08-24 Roland McGrath <roland@redhat.com>
28419
09055553
RM
28420 * configure.in: Remove config-name.h generation.
28421 * configure: Regenerated.
28422 * config-name.in: File removed.
28423 * scripts/config-uname.sh: New file.
28424 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28425 ($(objdir)config-name.h): New target.
28426
f2ac4868
RM
28427 * sunrpc/rpc_parse.h: Avoid nested comment.
28428
73f27d5e
RH
284292010-08-24 Richard Henderson <rth@redhat.com>
28430 Ulrich Drepper <drepper@redhat.com>
28431 H.J. Lu <hongjiu.lu@intel.com>
28432
28433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28435 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28436 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28437 _mm_alignr_epi8 with _mm_loadu_si128.
28438 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28439 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28440 (__m128i_shift_right): Removed.
28441 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28442 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28443 * sysdeps/x86_64/multiarch/varshift.h: New file.
28444 * sysdeps/x86_64/multiarch/varshift.S: New file.
28445
84b9230c
MF
284462010-08-21 Mike Frysinger <vapier@gentoo.org>
28447
28448 * configure.in: Move assembler checks to before sysdep dir checking.
28449
9bbd0ddc
PB
284502010-08-20 Petr Baudis <pasky@suse.cz>
28451
28452 * LICENSES: Sync the sunrpc license.
28453
9da4bb31
UD
284542010-08-19 Ulrich Drepper <drepper@redhat.com>
28455
a7ab6ec8
UD
28456 * sunrpc/auth_des.c: Update copyright notice once again.
28457 * sunrpc/auth_none.c: Likewise.
28458 * sunrpc/auth_unix.c: Likewise.
28459 * sunrpc/authdes_prot.c: Likewise.
28460 * sunrpc/authuxprot.c: Likewise.
28461 * sunrpc/bindrsvprt.c: Likewise.
28462 * sunrpc/clnt_gen.c: Likewise.
28463 * sunrpc/clnt_perr.c: Likewise.
28464 * sunrpc/clnt_raw.c: Likewise.
28465 * sunrpc/clnt_simp.c: Likewise.
28466 * sunrpc/clnt_tcp.c: Likewise.
28467 * sunrpc/clnt_udp.c: Likewise.
28468 * sunrpc/clnt_unix.c: Likewise.
28469 * sunrpc/des_crypt.c: Likewise.
28470 * sunrpc/des_soft.c: Likewise.
28471 * sunrpc/get_myaddr.c: Likewise.
28472 * sunrpc/getrpcport.c: Likewise.
28473 * sunrpc/key_call.c: Likewise.
28474 * sunrpc/key_prot.c: Likewise.
28475 * sunrpc/openchild.c: Likewise.
28476 * sunrpc/pm_getmaps.c: Likewise.
28477 * sunrpc/pm_getport.c: Likewise.
28478 * sunrpc/pmap_clnt.c: Likewise.
28479 * sunrpc/pmap_prot.c: Likewise.
28480 * sunrpc/pmap_prot2.c: Likewise.
28481 * sunrpc/pmap_rmt.c: Likewise.
28482 * sunrpc/rpc/auth.h: Likewise.
28483 * sunrpc/rpc/auth_unix.h: Likewise.
28484 * sunrpc/rpc/clnt.h: Likewise.
28485 * sunrpc/rpc/des_crypt.h: Likewise.
28486 * sunrpc/rpc/key_prot.h: Likewise.
28487 * sunrpc/rpc/netdb.h: Likewise.
28488 * sunrpc/rpc/pmap_clnt.h: Likewise.
28489 * sunrpc/rpc/pmap_prot.h: Likewise.
28490 * sunrpc/rpc/pmap_rmt.h: Likewise.
28491 * sunrpc/rpc/rpc.h: Likewise.
28492 * sunrpc/rpc/rpc_des.h: Likewise.
28493 * sunrpc/rpc/rpc_msg.h: Likewise.
28494 * sunrpc/rpc/svc.h: Likewise.
28495 * sunrpc/rpc/svc_auth.h: Likewise.
28496 * sunrpc/rpc/types.h: Likewise.
28497 * sunrpc/rpc/xdr.h: Likewise.
28498 * sunrpc/rpc_clntout.c: Likewise.
28499 * sunrpc/rpc_cmsg.c: Likewise.
28500 * sunrpc/rpc_common.c: Likewise.
28501 * sunrpc/rpc_cout.c: Likewise.
28502 * sunrpc/rpc_dtable.c: Likewise.
28503 * sunrpc/rpc_hout.c: Likewise.
28504 * sunrpc/rpc_main.c: Likewise.
28505 * sunrpc/rpc_parse.c: Likewise.
28506 * sunrpc/rpc_parse.h: Likewise.
28507 * sunrpc/rpc_prot.c: Likewise.
28508 * sunrpc/rpc_sample.c: Likewise.
28509 * sunrpc/rpc_scan.c: Likewise.
28510 * sunrpc/rpc_scan.h: Likewise.
28511 * sunrpc/rpc_svcout.c: Likewise.
28512 * sunrpc/rpc_tblout.c: Likewise.
28513 * sunrpc/rpc_util.c: Likewise.
28514 * sunrpc/rpc_util.h: Likewise.
28515 * sunrpc/rpcinfo.c: Likewise.
28516 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28517 * sunrpc/rpcsvc/key_prot.x: Likewise.
28518 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28519 * sunrpc/rpcsvc/mount.x: Likewise.
28520 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28521 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28522 * sunrpc/rpcsvc/rex.x: Likewise.
28523 * sunrpc/rpcsvc/rstat.x: Likewise.
28524 * sunrpc/rpcsvc/rusers.x: Likewise.
28525 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28526 * sunrpc/rpcsvc/spray.x: Likewise.
28527 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28528 * sunrpc/rtime.c: Likewise.
28529 * sunrpc/svc.c: Likewise.
28530 * sunrpc/svc_auth.c: Likewise.
28531 * sunrpc/svc_authux.c: Likewise.
28532 * sunrpc/svc_raw.c: Likewise.
28533 * sunrpc/svc_run.c: Likewise.
28534 * sunrpc/svc_simple.c: Likewise.
28535 * sunrpc/svc_tcp.c: Likewise.
28536 * sunrpc/svc_udp.c: Likewise.
28537 * sunrpc/svc_unix.c: Likewise.
28538 * sunrpc/svcauth_des.c: Likewise.
28539 * sunrpc/xcrypt.c: Likewise.
28540 * sunrpc/xdr.c: Likewise.
28541 * sunrpc/xdr_array.c: Likewise.
28542 * sunrpc/xdr_float.c: Likewise.
28543 * sunrpc/xdr_mem.c: Likewise.
28544 * sunrpc/xdr_rec.c: Likewise.
28545 * sunrpc/xdr_ref.c: Likewise.
28546 * sunrpc/xdr_sizeof.c: Likewise.
28547 * sunrpc/xdr_stdio.c: Likewise.
28548
9da4bb31
UD
28549 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28550 handling.
28551
bdaa77bc
AS
285522010-08-19 Andreas Schwab <schwab@redhat.com>
28553
28554 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28555
fe2f79db
LM
285562010-08-19 Luis Machado <luisgpm@br.ibm.com>
28557
28558 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28559 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28560 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28561 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28562 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28563 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28564 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28565 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28566 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28568 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28569 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28570 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28571 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28572
b9b42ee0
AB
285732010-07-26 Anton Blanchard <anton@samba.org>
28574
28575 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28576 * malloc/arena.c (heap_trim): Likewise.
28577
1c06ba31
UD
285782010-08-16 Ulrich Drepper <drepper@redhat.com>
28579
28580 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28581 here. Not...
28582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28583 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28584
f8392f40
L
285852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28586
28587 * sysdeps/i386/elf/Makefile: New file.
28588
3162f12e
AS
285892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28590
28591 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28592 from fanotify_init.
28593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28595
28c90b2c
UD
285962010-08-15 Ulrich Drepper <drepper@redhat.com>
28597
28598 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28599 of strncasecmp_l.
1feccb6c 28600 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28601
ca6bb004
UD
286022010-08-14 Ulrich Drepper <drepper@redhat.com>
28603
e9f82e0d
UD
28604 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28605 strncase_l-nonascii.
28606 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28607 Add strncase_l-ssse3.
28608 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28609 * sysdeps/x86_64/strcmp.S: Likewise.
28610 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28611 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28612 * sysdeps/x86_64/strncase.S: New file.
28613 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28614 * sysdeps/x86_64/strncase_l.S: New file.
28615 * string/Makefile (strop-tests): Add strncasecmp.
28616 * string/test-strncasecmp.c: New file.
28617
28618 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28619 warning.
28620
ca6bb004
UD
28621 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28622 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28623
052fa7b3
AS
286242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28625
28626 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28627
962dba78
UD
286282010-08-12 Ulrich Drepper <drepper@redhat.com>
28629
28630 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28631 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28633
bebff237
AM
286342010-05-01 Alan Modra <amodra@gmail.com>
28635
28636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28637 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28638 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28639 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28640 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28641 tidying. Don't tail-call __sigjmp_save for static lib.
28642 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28643 save location.
28644 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28645 (CALL_MCOUNT): Add eh info, and nop after bl.
28646 (TAIL_CALL_SYSCALL_ERROR): New macro.
28647 (PSEUDO_RET): Use it.
28648 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28649 Correct save location of integer regs and cr.
28650 (_dl_profile_resolve): Correct cr save location. Delete nops
28651 after bl when SHARED. Reduce cfi size a little by better
28652 placement of cfi directives.
28653 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28654 make a stack frame. Instead use parm save area as a temp.
28655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28656 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28658 Don't make a stack frame for parent, use parm save area.
28659 Increase child stack frame to 112 bytes. Don't save unused reg,
28660 and adjust reg usage. Set up cfi on error recovery and
28661 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28663 (__makecontext): Add dummy nop after jump to exit.
28664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28665 Use correct parm save area and cr save, reduce stack frame.
28666 Correct cfi for possible PSEUDO_RET frame setup.
28667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28668 Branch to local label emitted by PSEUDO_RET rather than
28669 __syscall_error.
28670
02637374
AS
286712010-08-12 Andreas Schwab <schwab@redhat.com>
28672
28673 [BZ #11904]
28674 * locale/programs/locale.c (print_assignment): New function.
28675 (show_locale_vars): Use it.
28676
c3e2f19b
UD
286772010-08-11 Ulrich Drepper <drepper@redhat.com>
28678
3cdaa6ad
UD
28679 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28680 field.
28681 (struct statfs64): Likewise.
28682 (_STATFS_F_FLAGS): Define.
28683 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28684 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28685 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28686 (ST_VALID): Define locally.
28687 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28688 __statvfs_getflags, use the provided value.
28689 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28690 __ASSUME_STATFS_F_FLAGS.
28691
754f7da3
UD
28692 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28693
10b3bedc
UD
28694 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28695 Add sys/fanotify.h.
28696 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28697 fanotify_mask for GLIBC_2.13.
28698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28699 fanotify_init and fanotify_mark.
28700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28701 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28702
c08fb0d7
UD
28703 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28704 Add prlimit.
28705 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28706 prlimit64 for GLIBC_2.13.
28707 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28708 prlimit64.
28709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28710 syscall.
28711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28712 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28713 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28714 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28716 add prlimit alias.
28717 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28718
15bac72b
UD
28719 [BZ #11903]
28720 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28721 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28722
c3e2f19b
UD
28723 * nss/Makefile: Add rules to build and run tst-nss-test1.
28724 * shlib-versions: Add entry for libnss_test1.
28725 * nss/nss_test1.c: New file.
28726 * nss/tst-nss-test1.c: New file.
28727
28728 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28729 (__nss_configure_lookup): Set appropriate entry in
28730 __nss_configure_lookup to true.
28731 * nss/nsswitch.h: Define enum with indeces of databases in
28732 databases and __nss_database_custom arrays. Declare
28733 __nss_database_custom.
28734 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28735 to avoid using nscd when custom rules are installed.
28736 * nss/getXXbyYY_r.c: Likewise.
28737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28738
28739 * nss/nss_files/files-parse.c: Whitespace fixes.
28740
f15ce4d8
UD
287412010-08-09 Ulrich Drepper <drepper@redhat.com>
28742
28743 [BZ #11883]
28744 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28745 * posix/fnmatch_loop.c: Likewise.
28746
d22e4cc9
AK
287472010-07-17 Andi Kleen <ak@linux.intel.com>
28748
28749 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28750 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28751 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28752 * Versions.def [GLIBC_2.13]: Add.
28753
805bc17d
UD
287542010-08-06 Ulrich Drepper <drepper@redhat.com>
28755
28756 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28757 Also fail if tpwd after pwuid call is NULL.
28758
5a42321d
ST
287592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28760
28761 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28762 when converting to ms.
28763
fd3ebeda
ST
287642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28765
28766 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28767 EOPNOTSUPP errors with ENOTTY.
28768 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28769 EOPNOTSUPP errors with ENOTTY.
28770
73507d3a
UD
287712010-07-31 Ulrich Drepper <drepper@redhat.com>
28772
28773 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28774 Add strcasecmp_l-ssse3.
28775 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28776 strcasecmp.
28777 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28778 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28779 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28780
fe36dd02
UD
287812010-07-30 Ulrich Drepper <drepper@redhat.com>
28782
66f6765a
UD
28783 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28784
42e08a54
UD
28785 * string/Makefile (strop-tests): Add strcasecmp.
28786 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28787 strcasecmp_l-nonascii.
28788 (gen-as-const-headers): Add locale-defines.sym.
28789 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28790 * sysdeps/x86_64/strcasecmp.S: New file.
28791 * sysdeps/x86_64/strcasecmp_l.S: New file.
28792 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28793 * sysdeps/x86_64/locale-defines.sym: New file.
28794 * string/test-strcasecmp.c: New file.
28795
fe36dd02
UD
28796 * string/test-strcasestr.c: Test both ends of the range of characters.
28797 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28798
48cbc0d6
RM
287992010-07-29 Roland McGrath <roland@redhat.com>
28800
76e6d6bc 28801 [BZ #11856]
48cbc0d6
RM
28802 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28803
880113d9
UD
288042010-07-27 Ulrich Drepper <drepper@redhat.com>
28805
28806 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28807 for ld.so.
28808
deb9cabb
AS
288092010-07-27 Andreas Schwab <schwab@redhat.com>
28810
28811 * manual/memory.texi (Malloc Tunable Parameters): Document
28812 M_PERTURB.
28813
1c7570ff
RM
288142010-07-26 Roland McGrath <roland@redhat.com>
28815
28816 [BZ #11840]
28817 * configure.in (-fgnu89-inline check): Set and substitute
28818 gnu89_inline, not libc_cv_gnu89_inline.
28819 * configure: Regenerated.
28820 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28821
24fb0f88
UD
288222010-07-26 Ulrich Drepper <drepper@redhat.com>
28823
28824 * string/test-strnlen.c: New file.
28825 * string/Makefile (strop-tests): Add strnlen.
28826 * string/tester.c (test_strnlen): Add a few more test cases.
28827 * string/tst-strlen.c: Better error reporting.
28828
28829 * sysdeps/x86_64/strnlen.S: New file.
28830
8e96b93a
UD
288312010-07-24 Ulrich Drepper <drepper@redhat.com>
28832
28833 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28834 lower-latency instructions.
28835
dbc676d4
UD
288362010-07-23 Ulrich Drepper <drepper@redhat.com>
28837
28838 * string/test-strcasestr.c: New file.
28839 * string/test-strstr.c: New file.
28840 * string/Makefile (strop-tests): Add strstr and strcasestr.
28841 * string/str-two-way.h: Don't undefine MAX.
28842 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28843
f6a31e0e
AS
288442010-07-21 Andreas Schwab <schwab@redhat.com>
28845
28846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28847 strcasestr-nonascii.
28848 (CFLAGS-strcasestr-nonascii.c): Define.
28849 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28850 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28851 Remove unused attribute.
28852
5dbc3b6c
RM
288532010-07-20 Roland McGrath <roland@redhat.com>
28854
28855 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28856 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28857 ld.so.cache was broken. With it, there is no way to disable dsocaps
28858 like LD_HWCAP_MASK can disable hwcaps.
28859
23d101d8
EPM
288602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28861
28862 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28863
cc9f2e47
UD
288642010-07-16 Ulrich Drepper <drepper@redhat.com>
28865
28866 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28867 call in strcasestr.
28868 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28869 __strcasestr_sse42_nonascii.
28870 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28871 strcasestr-nonascii.c.
28872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28873
77c1b069
LM
288742010-06-15 Luis Machado <luisgpm@br.ibm.com>
28875
28876 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28877 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28878 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28879 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28880
440566c3
UD
288812010-07-09 Ulrich Drepper <drepper@redhat.com>
28882
28883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28884 fcntl.
28885
5be9d05d
AS
288862010-07-06 Andreas Schwab <schwab@redhat.com>
28887
c30b7ee2 28888 [BZ #11577]
5be9d05d
AS
28889 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28890 dl_signal_cerror.
28891
8a492a67
UD
288922010-07-06 Ulrich Drepper <drepper@redhat.com>
28893
28894 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28895 _PC_PIPE_BUF using F_GETPIPE_SZ.
28896
713df3d5
RM
288972010-07-05 Roland McGrath <roland@redhat.com>
28898
28899 * manual/arith.texi (Rounding Functions): Fix rint description
28900 implicit in round description.
28901
702e8f14
UD
289022010-07-02 Ulrich Drepper <drepper@redhat.com>
28903
28904 * elf/Makefile: Fix linking for a few tests to make recent linker
28905 happy.
28906
52ed8be9
AS
289072010-06-30 Andreas Schwab <schwab@redhat.com>
28908
28909 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28910 $(common-objpfx)libc_nonshared.a.
28911
f47c9a11
LM
289122010-06-21 Luis Machado <luisgpm@br.ibm.com>
28913
28914 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28915 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28916 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28917 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28918 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28919 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28920 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28921 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28936 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28937 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28938 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28939 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28940 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28941 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28942 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28943 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28944 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28945 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28946 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28947 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28962
6fb8cbcb
L
289632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28964
28965 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28966 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28967 * string/memmove.c (memmove): Renamed to ...
28968 (MEMMOVE): ...this. Default to memmove.
28969 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28970 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28971 (END_CHK): Define.
28972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28973 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28974 mempcpy-ssse3-back memmove-ssse3-back.
28975 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28978 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28979 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28980 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28981 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28982 * sysdeps/x86_64/multiarch/memmove.c: New file.
28983 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28984 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28985 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28986 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28987 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28989 Define.
28990 (index_Fast_Copy_Backward): Define.
28991 (HAS_ARCH_FEATURE): Define.
28992 (HAS_FAST_REP_STRING): Define.
28993 (HAS_FAST_COPY_BACKWARD): Define.
28994
4e733bac 289952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28996
28997 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28998 Restore proper fallback handling.
28999
63c4ed22
UD
290002010-06-19 Ulrich Drepper <drepper@redhat.com>
29001
ac2b484c
UD
29002 [BZ #11701]
29003 * posix/group_member.c (__group_member): Correct checking loop.
29004
63c4ed22
UD
29005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29006 OOM in getpwuid_r correctly. Return error number when the caller
29007 should return, otherwise -1.
29008 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29009 call returning > 0 value.
29010 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29011
765ade4b
AS
290122010-06-07 Andreas Schwab <schwab@redhat.com>
29013
29014 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29015 libc_nonshared.a from targets in modules-names.
29016
80da2e09
KS
290172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29018
29019 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29020 requires it.
29021
158db122
LM
290222010-06-10 Luis Machado <luisgpm@br.ibm.com>
29023
29024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29025 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29028
caa78cf8
AS
290292010-06-02 Andreas Schwab <schwab@redhat.com>
29030
29031 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29032
b2ef2c01
UD
290332010-06-14 Ulrich Drepper <drepper@redhat.com>
29034
29035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29036 and F_GETPIPE_SZ.
29037 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29041 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29042 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29043
fbd643b6
RM
290442010-06-14 Roland McGrath <roland@redhat.com>
29045
29046 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29047
f32f2869
JJ
290482010-06-07 Jakub Jelinek <jakub@redhat.com>
29049
29050 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29051 __REDIRECT followed by __THROW.
29052 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29053 * posix/getopt.h (getopt): Likewise.
29054
2a50c078
EPM
290552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29056
29057 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29058 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29059 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29060 in AT_FLAGS.
29061 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29062 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29063
eb5ad2eb
LM
290642010-05-28 Luis Machado <luisgpm@br.ibm.com>
29065
29066 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29067
3c88fe1e
L
290682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29069
29070 [BZ #11640]
29071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29072 Properly check family and model.
29073
d2f73151
TY
290742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29075
29076 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29077
ebd2e13d
LM
290782010-05-24 Luis Machado <luisgpm@br.ibm.com>
29079
29080 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29081
b32b8b45
UD
290822010-05-21 Ulrich Drepper <drepper@redhat.com>
29083
29084 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29085 symbol reference.
29086
9acbe24d
AS
290872010-05-19 Andreas Schwab <schwab@redhat.com>
29088
29089 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29090 symbol reference.
29091
f0ccf6ea
AS
290922010-05-21 Andreas Schwab <schwab@redhat.com>
29093
3d04ff3a
AS
29094 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29095 and internal_recvmmsg.
29096 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29097 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29098 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29099 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29100
f0ccf6ea
AS
29101 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29102 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29103 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29104
5b08ac57
AS
291052010-05-20 Andreas Schwab <schwab@redhat.com>
29106
29107 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29108
4828935d
LM
291092010-05-17 Luis Machado <luisgpm@br.ibm.com>
29110
29111 POWER7 optimizations.
29112 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29113 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29114
373d545e
UD
291152010-05-19 Ulrich Drepper <drepper@redhat.com>
29116
29117 * version.h: Update for 2.13 development version.
29118
21a2b1ae
AS
291192010-05-12 Andrew Stubbs <ams@codesourcery.com>
29120
29121 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29122 exceptions. Return 0.
29123
3f7dcb2b
RM
291242010-05-07 Roland McGrath <roland@redhat.com>
29125
29126 * elf/ldconfig.c (main): Add a const.
29127
5f24d53a 291282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29129
a160f8d8
UD
29130 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29131 (args_options): Add no-idn option.
29132 (ahosts_keys_int): Add idn_flags to ai_flags.
29133 (parse_option): Handle 'i' option to clear idn_flags.
29134
5f24d53a
UD
29135 * malloc/malloc.c (_int_free): Possible race in the most recently
29136 added check. Only act on the data if no current modification
29137 happened.
265bb1ce
UD
29138
29139See ChangeLog.17 for earlier changes.