]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Test for errno setting in more overflow error cases.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
15c7c18d
JM
12013-05-16 Joseph Myers <joseph@codesourcery.com>
2
e9eee333
JM
3 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4 with OVERFLOW_EXCEPTION.
5 (exp10_test_data): Likewise.
6 (exp2_test_data): Likewise.
7 (expm1_test_data): Likewise.
8 (lgamma_test_data): Likewise.
9 (pow_test_data): Likewise.
10 (tgamma_test_data): Likewise.
11 (yn_test_data): Remove duplicate test of overflow.
12
1c38ff73
JM
13 * math/libm-test.inc (struct test_cc_c_data): New type.
14 (RUN_TEST_LOOP_cc_c): New macro.
15 (cpow_test_data): New variable.
16 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17
15c7c18d
JM
18 * math/libm-test.inc (struct test_f_L_data): New type.
19 (RUN_TEST_LOOP_f_L): New macro.
20 (llrint_test_data): New variable.
21 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
22 (llrint_tonearest_test_data): New variable.
23 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24 (llrint_towardzero_test_data): New variable.
25 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26 (llrint_downward_test_data): New variable.
27 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28 (llrint_upward_test_data): New variable.
29 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30 (llround_test_data): New variable.
31 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32
f137ff13
PC
332013-05-13 Peter Collingbourne <pcc@google.com>
34
35 * math/atest-exp2.c (get_log2): Remove const attribute.
36
3608cb24
JM
372013-05-15 Joseph Myers <joseph@codesourcery.com>
38
39 * math/libm-test.inc (struct test_f_l_data): New type.
40 (RUN_TEST_LOOP_f_l): New macro.
41 (lrint_test_data): New variable.
42 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
43 (lrint_tonearest_test_data): New variable.
44 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45 (lrint_towardzero_test_data): New variable.
46 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
47 (lrint_downward_test_data): New variable.
48 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49 (lrint_upward_test_data): New variable.
50 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
51 (lround_test_data): New variable.
52 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53
39b1f617
PC
542013-05-15 Peter Collingbourne <pcc@google.com>
55
1deff3dc
PC
56 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
57 (EXTRACT_WORDS64) Use where appropriate.
58 (INSERT_WORDS64) Likewise.
59
791f3ba0
PC
60 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61 constraints with x constraints.
62 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
63
39b1f617
PC
64 * malloc/obstack.c (_obstack_compat): Add initializer.
65
12fba011
EM
662013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
67
68 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
69 si_trapno and add si_addr_lsb to _sifields.sigfault.
70 (si_trapno): Remove macro.
71 (si_addr_lsb): Define new macro.
72 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
73
d369f531
JM
742013-05-15 Joseph Myers <joseph@codesourcery.com>
75
b861c6c4
JM
76 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
77 instead of TEST_f_l.
78 (llrint_test_tonearest): Likewise.
79 (llrint_test_towardzero): Likewise.
80 (llrint_test_downward): Likewise.
81 (llrint_test_upward): Likewise.
82 (llround_test): Likewise.
83
7abeee12
JM
84 * math/libm-test.inc (struct test_f_i_data): Add comment.
85 (RUN_TEST_LOOP_f_b): New macro.
86 (RUN_TEST_LOOP_f_b_tg): Likewise.
87 (finite_test_data): New variable.
88 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
89 (isfinite_test_data): New variable.
90 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
91 (isinf_test_data): New variable.
92 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
93 (isnan_test_data): New variable.
94 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
95 (isnormal_test_data): New variable.
96 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
97 (issignaling_test_data): New variable.
98 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
99 (signbit_test_data): New variable.
100 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
101
cbe8c4d3
JM
102 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
103 with INVALID_EXCEPTION.
104 (acosh_test_data): Likewise.
105 (asin_test_data): Likewise.
106 (atanh_test_data): Likewise.
107 (fmod_test_data): Likewise.
108 (log_test_data): Likewise.
109 (log10_test_data): Likewise.
110 (log2_test_data): Likewise.
111 (pow_test_data): Likewise.
112 (sqrt_test_data): Likewise.
113 (y0_test_data): Likewise.
114 (y1_test_data): Likewise.
115 (yn_test_data): Likewise.
116
5575c0e5
JM
117 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
118 function contents.
119
d369f531
JM
120 * math/libm-test.inc (struct test_ff_i_data): New type.
121 (RUN_TEST_LOOP_ff_i_tg): New macro.
122 (isgreater_test_data): New variable.
123 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
124 (isgreaterequal_test_data): New variable.
125 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
126 (isless_test_data): New variable.
127 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
128 (islessequal_test_data): New variable.
129 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
130 (islessgreater_test_data): New variable.
131 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
132 (isunordered_test_data): New variable.
133 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
134
781fd748
DM
1352013-05-14 David S. Miller <davem@davemloft.net>
136
137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
138
87aa21df
JM
1392013-05-14 Joseph Myers <joseph@codesourcery.com>
140
5e908270
JM
141 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
142
f71172e5
JM
143 * math/libm-test.inc (struct test_fF_f1_data): Change type of
144 extra_test to int.
145 (struct test_f_i_data): Change type of max_ulp to int.
146
8cfa635a
JM
147 * math/libm-test.inc (test_ffI_f1_data): New type.
148 (RUN_TEST_LOOP_ffI_f1): New macro.
149 (remquo_test_data): New variable.
150 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
151
2bcb36b2
JM
152 * setjmp/tst-setjmp-fp.c: New file.
153 * setjmp/Makefile (tests): Add tst-setjmp-fp.
154 (link-libm): New variable.
155 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
156
acbd839a
JM
157 * math/libm-test.inc (struct test_f_i_data): New type.
158 (RUN_TEST_LOOP_f_i): New macro.
159 (RUN_TEST_LOOP_f_i_tg): Likewise.
160 (fpclassify_test_data): New variable.
161 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
162 (ilogb_test_data): New variable.
163 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
164
e414d745
JM
165 * math/libm-test.inc (scalbln_test): Correct function name in END
166 call.
167
d9c2a0fd
JM
168 * math/libm-test.inc (struct test_f_f1_data): Add comment.
169 (RUN_TEST_LOOP_fI_f1): New macro.
170 (frexp_test_data): New variable.
171 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
172
9dc9095d
JM
173 * math/libm-test.inc (struct test_fF_f1_data): New type.
174 (RUN_TEST_LOOP_fF_f1): New macro.
175 (modf_test_data): New variable.
176 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
177
87aa21df
JM
178 * math/libm-test.inc (struct test_f_f1_data): New type.
179 (RUN_TEST_LOOP_f_f1): New macro.
180 (gamma_test_data): New variable.
181 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
182 (lgamma_test_data): New variable.
183 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
184
141af660
CD
1852013-05-13 Carlos O'Donell <carlos@redhat.com>
186
187 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
188 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
189 (main): Comment "tls" pseudo-hwcap.
190
6d33265c
JM
1912013-05-13 Joseph Myers <joseph@codesourcery.com>
192
68fc074c
JM
193 * math/libm-test.inc (struct test_fl_f_data): New type.
194 (RUN_TEST_LOOP_fl_f): New variable.
195 (scalbln_test_data): New variable.
196 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
197
243216e1
JM
198 * math/libm-test.inc (struct test_fi_f_data): New type.
199 (RUN_TEST_LOOP_fi_f): New macro.
200 (ldexp_test_data): New variable.
201 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
202 (scalbn_test_data): New variable.
203 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
204
6a1992e2
JM
205 * math/libm-test.inc (struct test_c_f_data): New type.
206 (RUN_TEST_LOOP_c_f): New macro.
207 (cabs_test_data): New variable.
208 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
209 (carg_test_data): New variable.
210 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
211 (cimag_test_data): New variable.
212 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
213 (creal_test_data): New variable.
214 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
215
0e400df5
JM
216 * math/libm-test.inc (struct test_if_f_data): New type.
217 (RUN_TEST_LOOP_if_f): New macro.
218 (jn_test_data): New variable.
219 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
220 (yn_test_data): New variable.
221 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
222
6d33265c
JM
223 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
224
f98ece5f
AZ
2252013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
226
227 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
228 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
229
0f7d347b
SP
2302013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
231
43fe811b
SP
232 * benchtests/Makefile (CPPFLAGS-nonlib): Add
233 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
234 (bench-deps): Add bench-timing.h.
235 * benchtests-bench-skeleton.c: Include bench-timing.h.
236 (main): Use TIMING_* macros instead of clock_gettime.
237 * benchtests/bench-timing.h: New file.
238
0f7d347b
SP
239 [BZ #14582]
240 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
241 Renamed from _LIB_VERSION.
242 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
243
601a3a5f
JM
2442013-05-12 Joseph Myers <joseph@codesourcery.com>
245
4f184d30
JM
246 * math/libm-test.inc (struct test_fff_f_data): New type.
247 (RUN_TEST_LOOP_fff_f): New macro.
248 (fma_test_data): New variable.
249 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
250 (fma_towardzero_test_data): New variable.
251 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
252 (fma_downward_test_data): New variable.
253 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
254 (fma_upward_test_data): New variable.
255 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
256
08198877
JM
257 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
258 (struct test_c_c_data): New type.
259 (RUN_TEST_LOOP_c_c): New macro.
260 (cacos_test_data): New variable.
261 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
262 (cacosh_test_data): New variable.
263 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
264 (casin_test_data): New variable.
265 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
266 (casinh_test_data): New variable.
267 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
268 (catan_test_data): New variable.
269 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
270 (catanh_test_data): New variable.
271 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
272 (ccos_test_data): New variable.
273 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
274 (ccosh_test_data): New variable.
275 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
276 (cexp_test_data): New variable.
277 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
278 (clog_test_data): New variable.
279 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
280 (clog10_test_data): New variable.
281 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
282 (conj_test_data): New variable.
283 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
284 (cproj_test_data): New variable.
285 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
286 (csin_test_data): New variable.
287 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
288 (csinh_test_data): New variable.
289 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
290 (csqrt_test_data): New variable.
291 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
292 (ctan_test_data): New variable.
293 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
294 (ctan_tonearest_test_data): New variable.
295 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
296 (ctan_towardzero_test_data): New variable.
297 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
298 (ctan_downward_test_data): New variable.
299 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
300 (ctan_upward_test_data): New variable.
301 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
302 (ctanh_test_data): New variable.
303 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
304 (ctanh_tonearest_test_data): New variable.
305 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
306 (ctanh_towardzero_test_data): New variable.
307 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
308 (ctanh_downward_test_data): New variable.
309 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
310 (ctanh_upward_test_data): New variable.
311 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
312 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
313 of BUILD_COMPLEX.
314
601a3a5f
JM
315 * math/libm-test.inc (struct test_ff_f_data): New type.
316 (struct test_ff_f_data_nexttoward): Likewise.
317 (RUN_TEST_LOOP_2_f): New macro.
318 (RUN_TEST_LOOP_ff_f): Likewise.
319 (atan2_test_data): New variable.
320 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
321 (copysign_test_data): New variable.
322 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
323 (fdim_test_data): New variable.
324 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
325 (fmax_test_data): New variable.
326 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
327 (fmin_test_data): New variable.
328 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
329 (fmod_test_data): New variable.
330 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
331 (hypot_test_data): New variable.
332 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
333 (nextafter_test_data): New variable.
334 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
335 (nexttoward_test_data): New variable.
336 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
337 (pow_test_data): New variable.
338 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
339 (pow_tonearest_test_data): New variable.
340 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
341 (pow_towardzero_test_data): New variable.
342 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
343 (pow_downward_test_data): New variable.
344 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
345 (pow_upward_test_data): New variable.
346 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
347 (remainder_test_data): New variable.
348 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
349 (scalb_test_data): New variable.
350 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
351 * sysdeps/i386/fpu/libm-test-ulps: Update.
352
74c57478
JM
3532013-05-11 Joseph Myers <joseph@codesourcery.com>
354
8329e4da
JM
355 * math/libm-test.inc (fma_test): Use max_value instead of local
356 variable fltmax.
357 (nextafter_test): Likewise.
358
74c57478
JM
359 * math/libm-test.inc (acos_towardzero_test_data): New variable.
360 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
361 (acos_downward_test_data): New variable.
362 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
363 (acos_upward_test_data): New variable.
364 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
365 (acosh_test_data): New variable.
366 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
367 (asin_test_data): New variable.
368 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
369 (asin_tonearest_test_data): New variable.
370 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
371 (asin_towardzero_test_data): New variable.
372 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
373 (asin_downward_test_data): New variable.
374 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
375 (asin_upward_test_data): New variable.
376 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
377 (asinh_test_data): New variable.
378 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
379 (atan_test_data): New variable.
380 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
381 (atanh_test_data): New variable.
382 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
383 (cbrt_test_data): New variable.
384 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
385 (ceil_test_data): New variable.
386 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
387 (cos_test_data): New variable.
388 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
389 (cos_tonearest_test_data): New variable.
390 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
391 (cos_towardzero_test_data): New variable.
392 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
393 (cos_downward_test_data): New variable.
394 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
395 (cos_upward_test_data): New variable.
396 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
397 (cosh_test_data): New variable.
398 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
399 (cosh_tonearest_test_data): New variable.
400 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
401 (cosh_towardzero_test_data): New variable.
402 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
403 (cosh_downward_test_data): New variable.
404 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
405 (cosh_upward_test_data): New variable.
406 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
407 (erf_test_data): New variable.
408 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
409 (erfc_test_data): New variable.
410 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
411 (exp_test_data): New variable.
412 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
413 (exp_tonearest_test_data): New variable.
414 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
415 (exp_towardzero_test_data): New variable.
416 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
417 (exp_downward_test_data): New variable.
418 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
419 (exp_upward_test_data): New variable.
420 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
421 (exp10_test_data): New variable.
422 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
423 (exp2_test_data): New variable.
424 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
425 (expm1_test_data): New variable.
426 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
427 (fabs_test_data): New variable.
428 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
429 (floor_test_data): New variable.
430 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
431 (j0_test_data): New variable.
432 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
433 (j1_test_data): New variable.
434 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
435 (log_test_data): New variable.
436 (log_test): Run tests with RUN_TEST_LOOP_f_f.
437 (log10_test_data): New variable.
438 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
439 (log1p_test_data): New variable.
440 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
441 (log2_test_data): New variable.
442 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
443 (logb_test_data): New variable.
444 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
445 (logb_downward_test_data): New variable.
446 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
447 (nearbyint_test_data): New variable.
448 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
449 (rint_test_data): New variable.
450 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
451 (rint_tonearest_test_data): New variable.
452 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
453 (rint_towardzero_test_data): New variable.
454 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
455 (rint_downward_test_data): New variable.
456 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
457 (rint_upward_test_data): New variable.
458 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
459 (round_test_data): New variable.
460 (round_test): Run tests with RUN_TEST_LOOP_f_f.
461 (sin_test_data): New variable.
462 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
463 (sin_tonearest_test_data): New variable.
464 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
465 (sin_towardzero_test_data): New variable.
466 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
467 (sin_downward_test_data): New variable.
468 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
469 (sin_upward_test_data): New variable.
470 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
471 (sinh_test_data): New variable.
472 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
473 (sinh_tonearest_test_data): New variable.
474 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
475 (sinh_towardzero_test_data): New variable.
476 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
477 (sinh_downward_test_data): New variable.
478 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
479 (sinh_upward_test_data): New variable.
480 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
481 (sqrt_test_data): New variable.
482 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
483 (tan_test_data): New variable.
484 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
485 (tan_tonearest_test_data): New variable.
486 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
487 (tan_towardzero_test_data): New variable.
488 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
489 (tan_downward_test_data): New variable.
490 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
491 (tan_upward_test_data): New variable.
492 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
493 (tanh_test_data): New variable.
494 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
495 (tgamma_test_data): New variable.
496 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
497 (trunc_test_data): New variable.
498 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
499 (y0_test_data): New variable.
500 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
501 (y1_test_data): New variable.
502 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
503 (significand_test_data): New variable.
504 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
505
7187d844
CG
5062013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
507
508 [BZ #12387]
509 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
510
f63fae73
PT
5112013-05-10 Pino Toscano <toscano.pino@tiscali.it>
512
513 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
514
8a67a4b3
AJ
5152013-05-10 Andreas Jaeger <aj@suse.de>
516
517 [BZ #15448]
518 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
519 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
520
51df539d
JM
5212013-05-10 Joseph Myers <joseph@codesourcery.com>
522
523 * math/gen-libm-test.pl (adjust_arg): New function.
524 (special_functions): Handle generating output in both functions
525 and arrays.
526 (parse_args): Likewise.
527 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
528 $in_func argument to parse_args.
529 * math/libm-test.inc (struct test_f_f_data): New type.
530 (IF_ROUND_INIT_): New macro.
531 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
532 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
533 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
534 (IF_ROUND_INIT_FE_UPWARD): Likewise.
535 (ROUND_RESTORE_): Likewise.
536 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
537 (ROUND_RESTORE_FE_TONEAREST): Likewise.
538 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
539 (ROUND_RESTORE_FE_UPWARD): Likewise.
540 (RUN_TEST_LOOP_f_f): New macro.
541 (acos_test_data): New variable.
542 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
543 (acos_tonearest_test_data): New variable.
544 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
545
5c637fe5
SP
5462013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
547
548 * benchtests/bench-skeleton.c (startup): Fix coding style.
549
ab2b9461
JM
5502013-05-10 Joseph Myers <joseph@codesourcery.com>
551
552 [BZ #6809]
553 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
554 negative infinity argument.
555 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
556 negative infinity argument.
557 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
558 negative infinity argument.
559 * math/libm-test.inc (tgamma_test): Expect errno to be set for
560 domain errors.
561
4c0fe6fe
FW
5622013-05-10 Florian Weimer <fweimer@redhat.com>
563
564 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
565 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
566 * iconv/iconv_prog.c (main): Likewise.
567 * locale/programs/charmap-dir.c (charmap_readdir)
568 (fopen_uncompressed): Likewise.
569 * locale/programs/locfile.c (siblings_uncached)
570 (write_locale_data): Use lstat64 instead of lstat.
571 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
572 stat.
573
a3375d29
AJ
5742013-05-10 Andreas Jaeger <aj@suse.de>
575
576 [BZ #15395]
577 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
578 localization.
579 Include <locale.h>.
580
36129722
CD
5812013-05-09 Carlos O'Donell <carlos@redhat.com>
582
583 * elf/dl-close.c (_dl_close_worker): Add comments.
584
faa7f811
JM
5852013-05-09 Joseph Myers <joseph@codesourcery.com>
586
ed41ffef
JM
587 [BZ #15359]
588 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
589 high part of pi/2.
590 (__ieee754_rem_pio2l): Update comments.
591
d0213cd0
JM
592 [BZ #15429]
593 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
594 high part of pi/2.
595 (__ieee754_rem_pio2l): Update comments.
596
0d3e777a
JM
597 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
598 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
599
24f56066
JM
600 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
601 M_PI_4l.
602
faa7f811
JM
603 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
604 (M_PI_34_LOG10El): Likewise.
605 (M_PI2_LOG10El): Likewise.
606 (M_PI4_LOG10El): Likewise.
607 (M_PI_LOG10El): Likewise.
608
e9a5e0fd
AZ
6092013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
610
611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
612
d8cd06db
JM
6132013-05-08 Joseph Myers <joseph@codesourcery.com>
614
a0d9f9d7
JM
615 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
616 (MINUS_ZERO_INIT): Likewise.
617 (PLUS_INFTY_INIT): Likewise.
618 (MINUS_INFTY_INIT): Likewise.
619 (QNAN_VALUE_INIT): Likewise.
620 (MAX_VALUE_INIT): Likewise.
621 (MIN_VALUE_INIT): Likewise.
622 (MIN_SUBNORM_VALUE_INIT): Likewise.
623 (plus_zero): Initialize with PLUS_ZERO_INIT.
624 (minus_zero): Initialize with MINUS_ZERO_INIT.
625 (plus_infty): Initialize with PLUS_INFTY_INIT.
626 (minus_infty): Initialize with MINUS_INFTY_INIT.
627 (qnan_value): Initialize with QNAN_VALUE_INIT.
628 (max_value): Initialize with MAX_VALUE_INIT.
629 (min_value): Initialize with MIN_VALUE_INIT.
630 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
631
ae08db3b
JM
632 * math/libm-test.inc (RUN_TEST_if_f): New macro.
633 (jn_test): Use TEST_if_f instead of TEST_ff_f.
634 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
635 (yn_test): Use TEST_if_f instead of TEST_ff_f.
636
f44bf14a
JM
637 * math/libm-test.inc (RUN_TEST_f_f): New macro.
638 (RUN_TEST_2_f): Likewise.
639 (RUN_TEST_ff_f): Likewise.
640 (RUN_TEST_fi_f): Likewise.
641 (RUN_TEST_fl_f): Likewise.
642 (RUN_TEST_fff_f): Likewise.
643 (RUN_TEST_c_f): Likewise.
644 (RUN_TEST_f_f1): Likewise.
645 (RUN_TEST_fF_f1): Likewise.
646 (RUN_TEST_fI_f1): Likewise.
647 (RUN_TEST_ffI_f1): Likewise.
648 (RUN_TEST_c_c): Likewise.
649 (RUN_TEST_cc_c): Likewise.
650 (RUN_TEST_f_i): Likewise.
651 (RUN_TEST_f_i_tg): Likewise.
652 (RUN_TEST_ff_i_tg): Likewise.
653 (RUN_TEST_f_b): Likewise.
654 (RUN_TEST_f_b_tg): Likewise.
655 (RUN_TEST_f_l): Likewise.
656 (RUN_TEST_f_L): Likewise.
657 (RUN_TEST_sincos): Likewise.
658 * math/gen-libm-test.pl (new_test): Take new argument to indicate
659 whether to show exceptions. Do not include ");\n" in return
660 value.
661 (special_functions): Output call to RUN_TEST_sincos instead of
662 check_float calls. Update calls to new_test.
663 (parse_args): Output call to single RUN_TEST_* macro instead of
664 check_* calls and other assignments. Update calls to new_test.
665
d8cd06db
JM
666 [BZ #2546]
667 [BZ #2560]
668 [BZ #5159]
669 [BZ #15426]
670 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
671 input to result for tgamma overflow.
672 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
673 (gamma_coeff): New variable.
674 (NCOEFF): New macro.
675 (gamma_positive): New function.
676 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
677 underflow here. Use gamma_positive instead of exp (lgamma) for
678 other arguments.
679 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
680 (gamma_coeff): New variable.
681 (NCOEFF): New macro.
682 (gammaf_positive): New function.
683 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
684 underflow here. Use gamma_positive instead of exp (lgamma) for
685 other arguments.
686 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
687 (gamma_coeff): New variable.
688 (NCOEFF): New macro.
689 (gammal_positive): New function.
690 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
691 underflow here. Use gamma_positive instead of exp (lgamma) for
692 other arguments.
693 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
694 (gamma_coeff): New variable.
695 (NCOEFF): New macro.
696 (gammal_positive): New function.
697 (__ieee754_gammal_r): Handle positive infinity, overflow and
698 underflow here. Handle NaN the same as positive infinity. Remove
699 check x < 0xffffffff for negative integers. Use gamma_positive
700 instead of exp (lgamma) for other arguments.
701 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
702 (gamma_coeff): New variable.
703 (NCOEFF): New macro.
704 (gammal_positive): New function.
705 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
706 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
707 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
708 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
709 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
710 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
711 * sysdeps/generic/math_private.h (__gamma_productf): New
712 prototype.
713 (__gamma_product): Likewise.
714 (__gamma_productl): Likewise.
715 * math/Makefile (libm-calls): Add gamma_product.
716 * math/libm-test.inc (tgamma_test): Add more tests.
717 * sysdeps/i386/fpu/libm-test-ulps: Update.
718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
719
bb7cf681
OB
7202013-05-08 Ondřej Bílka <neleai@seznam.cz>
721
722 * benchtests/bench-skeleton.c (main): Preheat CPU.
723
ba853947
AJ
7242013-05-07 Aurelien Jarno <aurelien@aurel32.net>
725
726 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
727
8347c74c
RM
7282013-05-07 Roland McGrath <roland@hack.frob.com>
729
730 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
731 and _dl_skip_args_internal.
732
e8dd4791
CD
7332013-05-07 Carlos O'Donell <carlos@redhat.com>
734
735 * manual/message.texi (Message Translation): Talk about users.
736 Message to key mapping impacts design.
737
c7405830
RM
7382013-05-06 Roland McGrath <roland@hack.frob.com>
739
a9173057
RM
740 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
741
976e2f03
RM
742 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
743
9723ffc5
RM
744 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
745 * sysdeps/wordsize-64/glob64.c: ... here.
746
962e6658
RM
747 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
748 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
749 New macros.
750
ee586a6d
RM
751 * debug/getlogin_r_chk.c: Moved to ...
752 * login/getlogin_r_chk.c: ... here.
753 * debug/Makefile (routines): Move getlogin_r_chk to ...
754 * login/Makefile (routines): ... here.
755 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
756 * login/Versions (libc: GLIBC_2.4): ... here.
757
355f9165
RM
758 * io/poll.c (__poll): Renamed from poll.
759 Add libc_hidden_def.
760 (poll): Define as weak alias.
761
bd9ffde6
RM
762 * debug/ptsname_r_chk.c: Moved to ...
763 * login/ptsname_r_chk.c: ... here.
764 * debug/Makefile (routines): Move ptsname_r_chk to ...
765 * login/Makefile (routines): ... here.
766 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
767 * login/Versions (libc: GLIBC_2.4): ... here.
768
8fb16a04
RM
769 * posix/getlogin.c: Moved to ...
770 * login/getlogin.c: ... here.
771 * posix/getlogin_r.c: Moved to ...
772 * login/getlogin_r.c: ... here.
773 * posix/getlogin_r.c: Moved to ...
774 * login/getlogin_r.c: ... here.
775 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
776 * login/Makefile (routines): ... here.
777 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
778 * login/Versions (libc: GLIBC_2.0): ... here.
779
b99b892f
RM
780 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
781 (setrlimit): Define as weak alias.
782
c7405830
RM
783 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
784 Call __ names for open, ftruncate, and close.
785 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
786 (truncate): Define as weak alias.
787
5bf96de5
JM
7882013-05-06 Joseph Myers <joseph@codesourcery.com>
789
9ea3513c
JM
790 * math/gen-libm-test.pl (parse_args): Initialize x before each
791 test of frexp, modf and remquo.
792
5bf96de5
JM
793 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
794 test signgam value.
795
16e616a7
AZ
7962013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
797
798 [BZ #15418]
799 [BZ #15419]
800 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
801 internal tests.
802 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
803
d5e82754
RM
8042013-05-06 Roland McGrath <roland@hack.frob.com>
805
806 * elf/dl-writev.h: New file.
807 * elf/dl-misc.c: Include it.
808 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
809 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
810
a7548d41
JM
8112013-05-04 Joseph Myers <joseph@codesourcery.com>
812
b7dab1e4
JM
813 * math/libm-test.inc (noXFails): Remove variable.
814 (noXPasses): Likewise.
815 (BUILD_COMPLEX_INT): Remove macro.
816 (print_screen): Remove xfail argument.
817 (print_screen_max_error): Likewise.
818 (update_stats): Likewise.
819 (print_max_error): Likewise. Update calls to other affected
820 functions.
821 (print_complex_max_error): Likewise.
822 (test_single_exception): Update calls to print_screen.
823 (test_single_errno): Likewise.
824 (check_float_internal): Remove xfail argument. Update calls to
825 other affected functions.
826 (check_float): Likewise.
827 (check_complex): Likewise.
828 (check_int): Likewise.
829 (check_long): Likewise.
830 (check_bool): Likewise.
831 (check_longlong): Likewise.
832 (main): Don't print noXFails and noXPasses.
833 * math/gen-libm-test.pl (top level): Don't mention expected
834 failure handling in comment.
835 (new_test): Don't handle expected failures.
836 (parse_args): Don't mention expected failure handling in comment.
837 (generate_testfile): Don't handle expected failures.
838 (parse_ulps): Likewise.
839 (print_ulps_file): Likewise.
840 (get_failure): Remove function.
841 (output_test): Don't handle expected failures.
842 * make/README.libm-test: Don't mention expected failure handling.
843
a7548d41
JM
844 * math/libm-test.inc (plus_zero): Make const. Add initializer.
845 (minus_zero): Likewise.
846 (plus_infty): Likewise.
847 (minus_infty): Likewise.
848 (qnan_value): Likewise.
849 (max_value): Likewise.
850 (min_value): Likewise.
851 (min_subnorm_value): Likewise.
852 (initialize): Do not initialize those variables dynamically.
853
60bfd54c
RM
8542013-05-03 Roland McGrath <roland@hack.frob.com>
855
cc0e6ed8
RM
856 * io/open.c (__open_2): Moved to ...
857 * io/open_2.c: ... this new file.
858 * io/open64.c (__open64_2): Moved to ...
859 * io/open64_2.c: ... this new file.
860 * io/openat.c (__openat_2): Moved to ...
861 * io/openat_2.c: ... this new file.
862 * io/openat64.c (__openat64_2): Moved to ...
863 * io/openat64_2.c: ... this new file.
864 * io/Makefile (routines): Add them.
865 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
866 * sysdeps/unix/sysv/linux/open_2.c: File removed.
867 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
868 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
869 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
870 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
871 (__openat64): Add hidden_ver.
872 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
873 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
874
60bfd54c
RM
875 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
876 Separately conditionalize setting of GLRO(dl_sysinfo) so
877 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
878 as well, but the actual setting is only under [NEED_DL_SYSINFO].
879
83e7640f
AZ
8802013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
881
882 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
884 definition.
885 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
886 * sysdeps/unix/sysv/linux/powerpc/init-first.c
887 (_libc_vdso_platform_setup): Add __vdso_time initialization.
888 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
889 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
890
d5dc2af3
JM
8912013-05-03 Joseph Myers <joseph@codesourcery.com>
892
c31a5b1e
JM
893 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
894 test signgam value.
895
d5dc2af3
JM
896 * math/libm-test.inc (hypot_test): Do not use
897 IGNORE_ZERO_INF_SIGN.
898
164fd39d
AJ
8992013-05-03 Andreas Jaeger <aj@suse.de>
900
901 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
902 Linux 3.9.
903 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
904 (PF_MAX): Adjust for VSOCK change.
905
8237f48c
AZ
9062013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
907
908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
909
9df02941
CD
9102013-05-02 Carlos O'Donell <carlos@redhat.com>
911
912 [BZ #15264]
913 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
914 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
915 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
916
d422395e
DM
9172013-05-02 David S. Miller <davem@davemloft.net>
918
919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
920
a07c5731
OB
9212013-05-01 Ondřej Bílka <neleai@seznam.cz>
922
923 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
924
1324e37f
RM
9252013-05-01 Roland McGrath <roland@hack.frob.com>
926
927 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
928
0695940b
RS
9292013-05-01 Richard Smith <richard@metafoo.co.uk>
930
bb5f27ad 931 [BZ #14952]
0695940b
RS
932 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
933 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
934 Use __attribute__ ((__gnu_inline__)).
935 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
936 Don't use __attribute__ ((__gnu_inline__)).
937
10de07f5
JM
9382013-05-01 Joseph Myers <joseph@codesourcery.com>
939
940 [BZ #15423]
941 * math/s_catan.c (__catan): Handle small real or imaginary part of
942 input specially to avoid spurious underflow.
943 * math/s_catanf.c (__catanf): Likewise.
944 * math/s_catanh.c (__catanh): Likewise.
945 * math/s_catanhf.c (__catanhf): Likewise.
946 * math/s_catanhl.c (__catanhl): Likewise.
947 * math/s_catanl.c (__catanl): Likewise.
948 * math/libm-test.inc (catan_test): Add more tests.
949 (catanh_test): Likewise.
950 * sysdeps/i386/fpu/libm-test-ulps: Update.
951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
952
cb4d5414
AZ
9532013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
954
955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
956
caf84319
JM
9572013-04-30 Joseph Myers <joseph@codesourcery.com>
958
959 [BZ #15416]
960 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
961 accurately for denominator in atan2.
962 * math/s_catanf.c (__catanf): Likewise.
963 * math/s_catanh.c (__catanh): Likewise.
964 * math/s_catanhf.c (__catanhf): Likewise.
965 * math/s_catanhl.c (__catanhl): Likewise.
966 * math/s_catanl.c (__catanl): Likewise.
967 * math/libm-test.inc (catan_test): Add more tests.
968 (catanh_test): Likewise.
969 * sysdeps/i386/fpu/libm-test-ulps: Update.
970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
971
d569c6ee
SP
9722013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
973
6dbe713d
SP
974 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
975
f0ee064b
SP
976 * benchtests/Makefile (bench): Remove slow benchmarks.
977 * benchtests/atan-inputs: Add slow benchmark inputs.
978 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
979 (BENCH_FUNC): Accept variant offset.
980 (VARIANT): Define.
981 * benchtests/bench-skeleton.c (main): Run benchmark for each
982 variant.
983 * benchtests/cos-inputs: Add slow benchmark inputs.
984 * benchtests/exp-inputs: Likewise.
985 * benchtests/pow-inputs: Likewise.
986 * benchtests/sin-inputs: Likewise.
987 * benchtests/slowatan-inputs: Remove.
988 * benchtests/slowatan.c: Remove.
989 * benchtests/slowcos-inputs: Remove.
990 * benchtests/slowcos.c: Remove.
991 * benchtests/slowexp-inputs: Remove.
992 * benchtests/slowexp.c: Remove.
993 * benchtests/slowpow-inputs: Remove.
994 * benchtests/slowpow.c: Remove.
995 * benchtests/slowsin-inputs: Remove.
996 * benchtests/slowsin.c: Remove.
997 * benchtests/slowtan-inputs: Remove.
998 * benchtests/slowtan.c: Remove.
999 * benchtests/tan-inputs: Add slow benchmark inputs.
1000 * scripts/bench.pl: Parse comments and directives.
1001
d569c6ee
SP
1002 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1003 in CPPFLAGS.
1004 ($(objpfx)bench-%.c): Remove *-ITER.
1005 * benchtests/bench-modf.c: Remove definition of ITER.
1006 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1007 (main): Loop for DURATION seconds instead of fixed number of
1008 iterations.
1009 * scripts/bench.pl: Don't expect iterations in parameters.
1010
a6a242fe
RM
10112013-04-29 Roland McGrath <roland@hack.frob.com>
1012
1013 * io/fchdir.c (__fchdir): Renamed from fchdir.
1014 (fchdir): Define as weak alias.
1015
f2da7793
JM
10162013-04-29 Joseph Myers <joseph@codesourcery.com>
1017
1018 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1019 (ERRNO_EDOM): Likewise.
1020 (ERRNO_ERANGE): Likewise.
1021 (noErrnoTests): New variable.
1022 (init_max_error): Set errno to 0.
1023 (test_single_errno): New function.
1024 (test_errno): Likewise.
1025 (check_float_internal): Call test_errno. Set errno to 0.
1026 (check_complex): Refer to errno tests in comment.
1027 (check_int): Call test_errno. Set errno to 0.
1028 (check_long): Likewise.
1029 (check_bool): Likewise.
1030 (check_longlong): Likewise.
1031 (cos_test): Use ERRNO_* flags for errno tests instead of
1032 check_int.
1033 (expm1_test): Likewise.
1034 (fmod_test): Likewise.
1035 (ilogb_test): Likewise.
1036 (lgamma_test): Likewise.
1037 (pow_test): Likewise.
1038 (remainder_test): Likewise.
1039 (sin_test): Likewise.
1040 (tan_test): Likewise.
1041 (yn_test): Likewise.
1042 (initialize): Set errno to 0.
1043 (main): Print number of errno tests.
1044 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1045
b1a36ceb
AJ
10462013-04-29 Andreas Jaeger <aj@suse.de>
1047
c3ed8088
AJ
1048 [BZ #15084]
1049 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1050 and RES_USEVC.
1051
f1a24198
AJ
1052 [BZ #15085]
1053 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1054 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1055 unimplemented.
1056
9ce3b2cb
AJ
1057 [BZ #15380]
1058 * stdlib/random.c (__initstate): Return NULL if
1059 __initstate fails.
1060
f1a24198 1061 [BZ #15086]
b1a36ceb
AJ
1062 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1063 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1064 RES_SNGLKUPREOP.
1065
7e7b6f36
AZ
10662013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1067
1068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1069
4d14f449
JM
10702013-04-29 Joseph Myers <joseph@codesourcery.com>
1071
1072 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1073 of individual tests.
1074 (casin_test): Likewise.
1075 (casinh_test): Likewise.
1076
5b4217d7
JM
10772013-04-27 Joseph Myers <joseph@codesourcery.com>
1078
1079 [BZ #15409]
1080 * math/s_catan.c (__catan): Handle arguments with large real or
1081 imaginary part separately without squaring.
1082 * math/s_catanf.c (__catanf): Likewise.
1083 * math/s_catanh.c (__catanh): Likewise.
1084 * math/s_catanhf.c (__catanhf): Likewise.
1085 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1086 and redefine.
1087 (__catanhl): Handle arguments with large real or imaginary part
1088 separately without squaring.
1089 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1090 and redefine.
1091 (__catanl): Handle arguments with large real or imaginary part
1092 separately without squaring.
1093 * math/libm-test.inc (catan_test): Add more tests.
1094 (catanh_test): Likewise.
1095 * sysdeps/i386/fpu/libm-test-ulps: Update.
1096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1097
4220c3ef
AJ
10982013-04-27 Andreas Jaeger <aj@suse.de>
1099
1100 [BZ #15007]
1101 * stdlib/stdlib.h: Update guards for qecvt.
1102 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1103 <stdlib.h>.
1104
4721b2d1
AM
11052013-04-27 Allan McRae <allan@archlinux.org>
1106
1107 * sysdeps/i386/fpu/libm-test-ulps: Update.
1108
f0302940
JM
11092013-04-26 Joseph Myers <joseph@codesourcery.com>
1110
9457fd95
JM
1111 [BZ #15406]
1112 * math/s_catan.c: Include <float.h>.
1113 (__catan): Ensure underflow exception occurs for underflowed
1114 result.
1115 * math/s_catanf.c: Include <float.h>.
1116 (__catanf): Ensure underflow exception occurs for underflowed
1117 result.
1118 * math/s_catanh.c: Include <float.h>.
1119 (__catanh): Ensure underflow exception occurs for underflowed
1120 result.
1121 * math/s_catanhf.c: Include <float.h>.
1122 (__catanhf): Ensure underflow exception occurs for underflowed
1123 result.
1124 * math/s_catanhl.c: Include <float.h>.
1125 (__catanhl): Ensure underflow exception occurs for underflowed
1126 result.
1127 * math/s_catanl.c: Include <float.h>.
1128 (__catanl): Ensure underflow exception occurs for underflowed
1129 result.
1130 * math/libm-test.inc (catan_test): Add more tests.
1131 (catanh_test): Likewise.
1132
f0302940
JM
1133 [BZ #15405]
1134 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1135 underflowed result.
1136 * math/s_ccoshf.c (__ccoshf): Likewise.
1137 * math/s_ccoshl.c (__ccoshl): Likewise.
1138 * math/s_csin.c (__csin): Likewise.
1139 * math/s_csinf.c (__csinf): Likewise.
1140 * math/s_csinh.c (__csinh): Likewise.
1141 * math/s_csinhf.c (__csinhf): Likewise.
1142 * math/s_csinhl.c (__csinhl): Likewise.
1143 * math/s_csinl.c (__csinl): Likewise.
1144 * math/libm-test.inc (ccos_test): Add more tests.
1145 (ccosh_test): Likewise.
1146 (csin_test): Likewise.
1147 (csinh_test): Likewise.
1148
aa630f59
AZ
11492013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1150
1151 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1152 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1153 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1154 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1155 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1156 powerpc/power5+/fpu folders.
1157 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1158
1159
1b835983
MT
11602013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1161
1162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1163
73709b26
JM
11642013-04-25 Joseph Myers <joseph@codesourcery.com>
1165
1166 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1167 additions to variable.
1168 [$(config-machine) = x86_64] (modules-names): Likewise.
1169 ($(objpfx)tst-audit3): Remove dependency.
1170 ($(objpfx)tst-audit3.out): Likewise.
1171 ($(objpfx)tst-audit4): Likewise.
1172 ($(objpfx)tst-audit4.out): Likewise.
1173 ($(objpfx)tst-audit5): Likewise.
1174 ($(objpfx)tst-audit5.out): Likewise.
1175 ($(objpfx)tst-audit6): Likewise.
1176 ($(objpfx)tst-audit6.out): Likewise.
1177 ($(objpfx)tst-audit7): Likewise.
1178 ($(objpfx)tst-audit7.out): Likewise.
1179 (tst-audit3-ENV): Remove variable.
1180 (tst-audit4-ENV): Likewise.
1181 (tst-audit5-ENV): Likewise.
1182 (tst-audit6-ENV): Likewise.
1183 (tst-audit7-ENV): Likewise.
1184 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1185 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1186 addition to variable.
1187 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1188 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1189 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1190 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1191 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1192 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1193 tst-audit3, tst-audit4 and tst-audit5.
1194 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1195 tst-audit6 and tst-audit7.
1196 [$(subdir) = elf] (modules-names): Add audit modules for those
1197 tests.
1198 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1199 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1200 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1201 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1202 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1203 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1204 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1205 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1206 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1207 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1208 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1209 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1210 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1211 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1212 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1213 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1214 Likewise.
1215 [$(subdir) = elf && $(config-cflags-avx) = yes]
1216 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1217 [$(subdir) = elf && $(config-cflags-avx) = yes]
1218 (CFLAGS-tst-auditmod4a.c): Likewise.
1219 [$(subdir) = elf && $(config-cflags-avx) = yes]
1220 (CFLAGS-tst-auditmod4b.c): Likewise.
1221 [$(subdir) = elf && $(config-cflags-avx) = yes]
1222 (CFLAGS-tst-auditmod6b.c): Likewise.
1223 [$(subdir) = elf && $(config-cflags-avx) = yes]
1224 (CFLAGS-tst-auditmod6c.c): Likewise.
1225 [$(subdir) = elf && $(config-cflags-avx) = yes]
1226 (CFLAGS-tst-auditmod7b.c): Likewise.
1227 * elf/tst-audit3.c: Move to ...
1228 * sysdeps/x86_64/tst-audit3.c: ... here.
1229 * elf/tst-audit4.c: Move to ...
1230 * sysdeps/x86_64/tst-audit4.c: ... here.
1231 * elf/tst-audit5.c: Move to ...
1232 * sysdeps/x86_64/tst-audit5.c: ... here.
1233 * elf/tst-audit6.c: Move to ...
1234 * sysdeps/x86_64/tst-audit6.c: ... here.
1235 * elf/tst-audit7.c: Move to ...
1236 * sysdeps/x86_64/tst-audit7.c: ... here.
1237 * elf/tst-auditmod3a.c: Move to ...
1238 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1239 * elf/tst-auditmod3b.c: Move to ...
1240 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1241 * elf/tst-auditmod4a.c: Move to ...
1242 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1243 * elf/tst-auditmod4b.c: Move to ...
1244 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1245 * elf/tst-auditmod5a.c: Move to ...
1246 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1247 * elf/tst-auditmod5b.c: Move to ...
1248 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1249 * elf/tst-auditmod6a.c: Move to ...
1250 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1251 * elf/tst-auditmod6b.c: Move to ...
1252 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1253 * elf/tst-auditmod6c.c: Move to ...
1254 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1255 * elf/tst-auditmod7a.c: Move to ...
1256 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1257 * elf/tst-auditmod7b.c: Move to ...
1258 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1259
1ef74943
PP
12602013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1261
1262 [BZ #15366]
1263 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1264 define unconditionally.
1265 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1266 define unconditionally.
1267 (INT8_C, INT16_C, etc.): Likewise.
1268
93fd48c5
MR
12692013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1270
ae9552cf
MR
1271 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1272 __ehdr_start with hidden visibility.
1273
93fd48c5
MR
1274 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1275
418601aa
CD
12762013-04-24 Carlos O'Donell <carlos@redhat.com>
1277
1278 * math/libm-test.inc (cos_test): Use accurate hex constants.
1279 (sincost_test): Likewise.
1280
2f38fbfe
JM
12812013-04-24 Joseph Myers <joseph@codesourcery.com>
1282
5e221800
JM
1283 * math/libm-test.inc (catan_test): Add more tests.
1284 (catanh_test): Likewise.
1285
77f143fd
JM
1286 * math/s_catanf.c (__catanf): Use suffixed floating-point
1287 constants.
1288 * math/s_catanhf.c (__catanhf): Likewise.
1289 * math/s_catanhl.c (__catanhl): Likewise.
1290 * math/s_catanl.c (__catanl): Likewise.
1291
2f38fbfe
JM
1292 [BZ #15394]
1293 * math/s_catan.c (__catan): Calculate imaginary part of result
1294 with log1p not log unless computing log of number close to 0.
1295 * math/s_catanf.c (__catanf): Likewise.
1296 * math/s_catanl.c (__catanl): Likewise.
1297 * math/s_catanh.c (__catanh): Calculate real part of result with
1298 log1p not log unless computing log of number close to 0.
1299 * math/s_catanhf.c (__catanhf): Likewise.
1300 * math/s_catanhl.c (__catanhl): Likewise.
1301 * math/libm-test.inc (catan_test): Add more tests.
1302 (catanh_test): Likewise.
1303 * sysdeps/i386/fpu/libm-test-ulps: Update.
1304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1305
45d69176
SP
13062013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1307
1308 * benchtests/Makefile: Mention files in which fast and slow
1309 paths of math functions are implemented.
1310
87f51853
RM
13112013-04-23 Roland McGrath <roland@hack.frob.com>
1312
1313 * sysdeps/posix/timespec_get.c: New file.
1314
3c026539
AZ
13152013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
1317 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1318 POWER.
1319 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1320 for POWER.
1321 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1322 powerpc/power5/fpu folders.
1323 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1324 * benchtests/Makefile: Add modf testcase.
1325 * benchtests/bench-modf.c: New file: Benchmark test for mo
1326
ff491d14
SP
13272013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1328
1329 [BZ #14888]
1330 * time/Makefile (tests): Add tst-strptime-whitespace.
1331 * time/strptime_l.c (get_number): Use ISSPACE.
1332 (__strptime_internal): Likewise.
1333 * time/tst-strptime-whitespace.c: New test case.
1334
7ed3f4e8
AS
13352013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1336
1337 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1338 member.
1339 (_nss_files_init): Set it here.
1340
5c95f7b6
HC
13412013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1342
1343 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1344 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1345 unsigned.
1346
d34c9158
JBG
13472013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1348
1349 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1350
2169712d
SP
13512013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1352
1353 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1354 size just once.
1355
29c5de99
DM
13562013-04-21 David S. Miller <davem@davemloft.net>
1357
1358 * po/ru.po: Update Russion translation from translation project.
1359
ccdad15d
AC
13602013-04-17 Adam Conrad <adconrad@0c3.net>
1361
1362 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1363 and setfsgid.
1364
0f122b8d
CD
13652013-04-17 Carlos O'Donell <carlos@redhat.com>
1366
5c5b07da 1367 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1368 * configure: Regenerate.
5c5b07da 1369 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1370 Add example to error message.
1371 * sysdeps/i386/configure: Regenerate.
1372
037714dd
SP
13732013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1374
1375 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1376 slowtan.
1377 * benchtests/cos-inputs: New file.
1378 * benchtests/slowcos-inputs: New file.
1379 * benchtests/slowcos.c: New file.
1380 * benchtests/slowtan-inputs: New file.
1381 * benchtests/slowtan.c: New file.
1382 * benchtests/tan-inputs: New file.
1383
e913141d
RM
13842013-04-16 Roland McGrath <roland@hack.frob.com>
1385
1386 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1387 considered kosher.
1388
a2964074
SP
13892013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1390
4856bcd2
SP
1391 * benchtests/Makefile: Include cppflags-iterator.mk to add
1392 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1393
a2964074
SP
1394 * Makefile.in (bench-clean): New target.
1395 * benchtests/Makefile (bench-clean): Likewise.
1396
9fbf9aca
DH
13972013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1398
1399 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1400
207d1e2a
TS
14012013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1402
1403 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1404
306dfba9
AS
14052013-04-15 Andreas Schwab <schwab@suse.de>
1406
1407 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1408 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1409 * nscd/pwdcache.c (cache_addpw): Likewise.
1410 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1411 more than recsize.
1412
206a6699
SP
14132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1414
1415 * benchtests/Makefile (bench): Write all output to
1416 bench-out.tmp together.
1417
0582f6b3
AS
14182013-04-15 Andreas Schwab <schwab@suse.de>
1419
1420 * nscd/nscd.c (main): Don't fork again after closing files.
1421
acb4325f
SP
14222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1423
5cb26d0a
SP
1424 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1425
acb4325f
SP
1426 * benchtests/Rules (bench-deps): Collect dependencies into a
1427 single variable. Add Makefile to dependencies.
1428 ($(objpfx)bench-%.c): Depend on bench-deps.
1429
47792506
RM
14302013-04-12 Roland McGrath <roland@hack.frob.com>
1431 Xavier Roche <roche+kml2@exalead.com>
1432
1433 [BZ #15361]
1434 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1435 just that it's a file descriptor.
1436 * manual/llio.texi (Synchronizing AIO Operations): Update description
1437 for EBADF error from aio_fsync.
1438
8fc1bee5
SP
14392013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1440
1441 * Rules (bench): Move target definition...
1442 * benchtests/Makefile: ... here.
1443
aba5e333
CD
14442013-04-11 Carlos O'Donell <carlos@redhat.com>
1445
1446 * math/libm-test.inc (cos_test): Fix PI/2 test.
1447 (sincos_test): Likewise.
1448 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1449 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1450
273cdee8
AS
14512013-04-11 Andreas Schwab <schwab@suse.de>
1452
6ecec3b6
AS
1453 [BZ #13988]
1454 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1455 accept exponent character only when digits were seen.
1456 * stdio-common/Makefile (tests): Add bug26.
1457 * stdio-common/bug26.c: New file.
1458
273cdee8
AS
1459 [BZ #14293]
1460 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1461 non-freeable.
1462
8da491f5
SP
14632013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1464
01dc6df9
SP
1465 * Makeconfig (rtld-prefix): Define built linker prefix.
1466 * Rules (run-bench): Use it.
1467 * math/Makefile (run-regen-ulps): Likewise.
1468
8da491f5
SP
1469 * Rules (bench): Remove eval.
1470
abe7f530
SP
14712013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1472 Roland McGrath <roland@hack.frob.com>
1473 Ondrej Bilka <neleai@seznam.cz>
1474
1475 [BZ #15346]
1476 * time/getdate.c: Include ctype.h and alloca.h.
1477 (__getdate_r): Trim leading and trailing spaces of input.
1478 * time/tst-getdate.c (tests): Add tests with leading and
1479 trailing spaces.
1480
61c23e62
RM
14812013-04-08 Roland McGrath <roland@hack.frob.com>
1482
1483 [BZ #14280]
1484 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1485 when computing value.
1486
7208a313
CD
14872013-04-06 Carlos O'Donell <carlos@redhat.com>
1488
085b2d41
CD
1489 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1490 Use testrun.sh to run libm tests.
1491
7208a313
CD
1492 [BZ #15309]
1493 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1494
872c0acd
MM
14952013-04-06 Marko Myllynen <myllynen@redhat.com>
1496
1497 [BZ #15264]
1498 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1499
26510bdd
CD
15002013-04-06 Carlos O'Donell <carlos@redhat.com>
1501
1502 * Makefile.in (regen-ulps): New target.
1503 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1504 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1505 [ifneq (no,$(PERL)] (regen-ulps): New target.
1506 [ifeq (no,$(PERL)] (regen-ulps): New target.
1507 * math/libm-test.inc (ulps_file_name): Define.
1508 (output_dir): New variable.
1509 (options): Add "output-dir" option.
1510 (parse_opt): Handle 'o' case.
1511 (main): If output_dir is non-NULL use it as a prefix
1512 otherwise use "".
1513 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1514
a01f19c8
CD
15152013-04-06 Carlos O'Donell <carlos@redhat.com>
1516
1517 [BZ #10060, #10062]
1518 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1519 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1520 fail configure if __sync_val_compare_and_swap is not inlined.
1521 * sysdeps/i386/configure: Regenerate.
1522 * configure.in: Build for i686 when configured for i386.
1523 * configure: Regenerate.
1524 * README: Remove i386 reference.
1525
b7a329a5
CD
15262013-04-06 Carlos O'Donell <carlos@redhat.com>
1527
1528 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1529 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1530
bf0f50df
TS
15312013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1532
ee091edf
TS
1533 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1534 (lmsnanval): New variables.
1535 (F): Add conversion tests.
1536 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1537 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1538
a8b792d6
TS
1539 * stdio-common/tstdiomisc.c (F): Properly collect individual
1540 tests' results.
1541
a1cbf437
TS
1542 [BZ #14686, #15336]
1543 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1544 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1545 Instead, use input NaN values or generate a qNaN by arithmetic
1546 operation. Also fix bugs to comply with the standard.
1547 * math/libm-test.inc (remainder_test): Add more tests.
1548
8b43a0c9
TS
1549 [BZ #15335, #15342]
1550 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1551 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1552 input NaN values or generate a qNaN by arithmetic operation.
1553
d91da4ce
TS
1554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1555 unreachable code.
1556
bf0f50df
TS
1557 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1558 definitions.
1559
05e166c8
JM
15602013-04-03 Joseph Myers <joseph@codesourcery.com>
1561
1562 [BZ #14478]
1563 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1564 underflowed result.
1565 * math/s_cexpf.c (__cexpf): Likewise.
1566 * math/s_cexpl.c (__cexpl): Likewise.
1567 * math/libm-test.inc (cexp_test): Add more tests.
1568
1cef1b19
AS
15692013-04-03 Andreas Schwab <schwab@suse.de>
1570
1571 [BZ #15330]
1572 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1573 order arrays from heap if bigger than alloca cutoff.
1574
74d87055
TS
15752013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1576
1577 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1578 (SNAN_TESTS_double): Refer to GCC PR56831.
1579 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1580 GCC PR56828.
1581
d755bba4
SP
15822013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1583
90d5d5bb
SP
1584 * Rules (bench): Move bench.out after the run is complete.
1585
73e0cd5d
SP
1586 * Rules (bench): Echo currently running benchmark.
1587
64aabd4b
SP
1588 * benchtests/Makefile (bench): Add atan and slowatan.
1589 * benchtests/atan-inputs: New file.
1590 * benchtests/slowatan-inputs: New file.
1591 * benchtests/slowatan.c: New file.
1592
c871eccd
SP
1593 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1594 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1595 its value.
1596
d755bba4
SP
1597 [BZ #15305]
1598 * sysdeps/unix/sysv/linux/kernel-features.h
1599 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1600 __ASSUME_XFS_RESTRICTED_CHOWN.
1601 * sysdeps/unix/sysv/linux/pathconf.c
1602 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1603 Save and restore errno.
1604
52ce4860
JM
16052013-04-02 Joseph Myers <joseph@codesourcery.com>
1606
1607 [BZ #15327]
1608 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1609 arguments using __kernel_casinh.
1610 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1611 arguments using __kernel_casinhf.
1612 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1613 arguments using __kernel_casinhl.
1614 * math/libm-test.inc (cacosh_test): Add more tests.
1615 * sysdeps/i386/fpu/libm-test-ulps: Update.
1616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1617
81f311c2
SP
16182013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1619
e7906a47
SP
1620 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1621 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1622
92e3664b
SP
1623 * bench/Makefile (bench): Add sin and slowsin.
1624 * benchtests/sin-inputs: New file.
1625 * benchtests/slowsin-inputs: New file.
1626 * benchtests/slowsin.c: New file.
1627
81f311c2
SP
1628 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1629 (bench): Add slowexp and slowpow.
1630 (exp-ITER): Increase iterations.
1631 (pow-ITER): Likewise.
1632 * benchtests/exp-inputs: Change input.
1633 * benchtests/pow-inputs: Likewise.
1634 * benchtests/slowexp-inputs: New file.
1635 * benchtests/slowexp.c: New file.
1636 * benchtests/slowpow-inputs: New file.
1637 * benchtests/slowpow.c: New file.
1638
ab0f1aa9
AZ
16392013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1640
1641 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1642 instructions.
1643 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1644 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1645 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1646 * benchtests/Makefile: Add rint benchtest.
1647 * benchtests/rint-inputs: Input for rint benchtest.
1648
57267616
TS
16492013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1650
1651 * Versions.def (libm): Add GLIBC_2.18.
1652 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1653 hidden libm prototypes.
1654 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1655 * math/Makefile (libm-calls): Add s_issignaling.
1656 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1657 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1658 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1659 declaration.
1660 * math/math.h [__USE_GNU] (issignaling): New macro.
1661 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1662 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1664 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1667 * manual/arith.texi (issignaling): New section.
1668 * manual/libm-err-tab.pl (@all_functions): Update comment.
1669 * math/gen-libm-test.pl (parse_args): Apply special handling for
1670 issignaling.
1671 * math/libm-test.inc (print_float, issignaling_test): New
1672 functions.
1673 (check_float_internal): Add issignaling checks.
1674 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1675 default definition.
1676 * sysdeps/powerpc/math-tests.h: New file.
1677 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1678 tests.
1679 * math/test-snan.c (TEST_FUNC): Likewise.
1680
6142896d
DM
16812013-03-30 David S. Miller <davem@davemloft.net>
1682
1683 * po/de.po: Update from translation team.
1684
ccc8cadf
JM
16852013-03-30 Joseph Myers <joseph@codesourcery.com>
1686
1687 [BZ #10357]
1688 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1689 imaginary part less than 1.0 and real part less than 0.5
1690 specially.
1691 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1692 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1693 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1694 (cacos_test): Add more tests.
1695 (casin_test): Likewise.
1696 (casinh_test): Likewise.
1697 * sysdeps/i386/fpu/libm-test-ulps: Update.
1698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1699
0f6a8d4b
SP
17002013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1701
0d1029de
SP
1702 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1703 ONE with its value.
1704
c2d94018
SP
1705 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1706 (__pow_mp): Replace ONE and MONE with their values.
1707 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1709 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1710 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1711 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1712 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1713
27ec37f1
SP
1714 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1715
a64d7e0e
SP
1716 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1717 (__pow_mp): Replace ZERO and MZERO with their values.
1718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1719 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1720 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1721 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1722 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1723 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1724 (__sqr): Likewise.
1725
d26dd3eb
SP
1726 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1727
0f6a8d4b
SP
1728 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1729
e57b0c61
RM
17302013-03-28 Roland McGrath <roland@hack.frob.com>
1731
1732 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1733 Declare with __attribute__ ((weak)).
1734 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1735 Call __call_tls_dtors only if it's not NULL.
1736
356b3480
RM
17372013-03-28 Roland McGrath <roland@hack.frob.com>
1738
288f7d79
RM
1739 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1740 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1741 magic __ehdr_start linker symbol if it's defined.
1742 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1743 them up here if it was already done.
1744
dc0a0263
RM
1745 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1746 (_dl_aux_init): Use const in cast when setting it.
1747 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1748 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1749 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1750
3d3436ae
RM
1751 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1752 Declare them here.
1753 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1754 * csu/libc-tls.c: Nor here.
1755 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1756
356b3480
RM
1757 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1758 (__libc_message): Never call vsyslog.
1759
b0f1246a
AM
17602013-03-28 Alan Modra <amodra@gmail.com>
1761
1762 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1763 Define as empty.
1764 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1765 Likewise.
1766
fbbe2b9a
AZ
17672013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1768
1769 [BZ #15214]
1770 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1771 underflow.
1772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1773
1728ab37
SP
17742013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1775
7a86be6e
SP
1776 [BZ #15304]
1777 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1778 Don't add gid passed as argument.
1779
1728ab37
SP
1780 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1781
3a7182a1
JM
17822013-03-27 Joseph Myers <joseph@codesourcery.com>
1783
1784 [BZ #15307]
1785 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1786 imaginary part between 1.0 and 1.5 and real part less than 0.5
1787 specially.
1788 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1789 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1790 * math/libm-test.inc (cacos_test): Add more tests.
1791 (casin_test): Likewise.
1792 (casinh_test): Likewise.
1793 * sysdeps/i386/fpu/libm-test-ulps: Update.
1794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1795
6f2e90e7
SP
17962013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1797
5739f705
SP
1798 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1799 constants.
1800 (norm): Likewise.
1801 (denorm): Likewise.
1802 (__dbl_mp): Likewise.
1803 (add_magnitudes): Likewise.
1804 (sub_magnitudes): Likewise.
1805 (__add): Likewise.
1806 (__sub): Likewise.
1807 (__mul): Likewise.
1808 (__sqr): Likewise.
1809 (__inv): Likewise.
1810 (__dvd): Likewise.
1811
e375e83d
SP
1812 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1813 commented code.
1814 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1815 (__dubcos): Likewise.
1816 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1817 (__ieee754_acos): Likewise.
1818 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1819 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1820 (__exp1): Likewise.
1821 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1823 (log1): Likewise.
1824 (my_log2): Likewise.
1825 (checkint): Likewise.
1826 * sysdeps/ieee754/dbl-64/e_remainder.c
1827 (__ieee754_remainder): Likewise.
1828 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1829 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1830 (bsloww): Likewise.
1831 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1832
6f2e90e7
SP
1833 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1834 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1835 MANTISSA_STORE_T to store computations on mantissa. Use
1836 macros for rounding and division.
1837 (denorm): Likewise.
1838 (__dbl_mp): Likewise.
1839 (add_magnitudes): Likewise.
1840 (sub_magnitudes): Likewise.
1841 (__mul): Likewise.
1842 (__sqr): Likewise.
1843 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1844 powers of two in terms of TWOPOW macro.
1845 (mp_no): Make type of mantissa as MANTISSA_T.
1846 [!RADIXI]: Define RADIXI.
1847 [!TWO52]: Define TWO52.
1848 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1849
fce14d4e
AZ
18502013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1851
1852 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1853 llroundl symbol when building for PPC32.
1854
9ad027fb
MW
18552013-03-24 Mark H Weaver <mhw@netris.org>
1856
1857 * manual/arith.texi (Normalization Functions): Fix prototypes for
1858 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1859
e42a38dd
AZ
18602013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1861
1862 [BZ #13889]
1863 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1864 high value to check if expl overflow.
1865 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1866 to check for underflow and overflow.
1867 * math/libm-test.inc: Add exp test.
1868
2e0fb521
DL
18692013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1870
1871 [BZ #11120]
1872 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1873 with NOT_IN_libc.
1874
b5784d95
AZ
18752013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876
1877 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1878 symbol.
1879
5aa4a1a1
TS
18802013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1881
bdef0be7
TS
1882 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1883 wrap blocks consisting of several statements.
1884
5aa4a1a1
TS
1885 * sysdeps/generic/math-tests.h: New file.
1886 * sysdeps/i386/fpu/math-tests.h: Likewise.
1887 * math/test-snan.c: Include it.
1888 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1889
98c48fe5
JM
18902013-03-21 Joseph Myers <joseph@codesourcery.com>
1891
1892 [BZ #15285]
1893 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1894 (__ieee754_j0l): Do not improve calculations using cos of twice
1895 input for inputs above LDBL_MAX / 2.0L.
1896 (__ieee754_y0l): Likewise.
1897 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1898 (__ieee754_j1l): Do not improve calculations using cos of twice
1899 input for inputs above LDBL_MAX / 2.0L.
1900 (__ieee754_y1l): Likewise.
1901 * math/libm-test.inc (j0_test): Add another test.
1902 (j1_test): Likewise.
1903 (y0_test): Likewise.
1904 (y1_test): Likewise.
1905 * sysdeps/i386/fpu/libm-test-ulps: Update.
1906
3775a8bc
SP
19072013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1908
1909 * Rules ($(objpfx)bench-%.c): Include code from a C source
1910 file.
1911
0a1b2ae6
JM
19122013-03-21 Joseph Myers <joseph@codesourcery.com>
1913
1914 [BZ #15287]
1915 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1916 imaginary part 1.0 and real part less than 0.5 specially.
1917 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1918 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1919 * math/libm-test.inc (cacos_test): Add more tests.
1920 (casin_test): Likewise.
1921 (casinh_test): Likewise.
1922 * sysdeps/i386/fpu/libm-test-ulps: Update.
1923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1924
b33d4ce4
SP
19252013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1926
1927 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1928 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1929
bef0b507
JM
19302013-03-20 Joseph Myers <joseph@codesourcery.com>
1931
1932 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1933 * config.make.in (config-cflags-sse4): Remove variable.
1934 (config-cflags-avx): Likewise.
1935 (config-cflags-sse2avx): Likewise.
1936 (config-cflags-novzeroupper): Likewise.
1937 (config-asflags-i686): Likewise.
1938 (have-mfma4): Likewise.
1939 (have-as-vis3): Likewise.
1940 (MIG): Likewise.
1941 * configure.in (MIG): Do not AC_SUBST.
1942 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1943 (libc_cv_cc_sse4): Do not AC_SUBST.
1944 (libc_cv_cc_avx): Likewise.
1945 (libc_cv_cc_sse2avx): Likewise.
1946 (libc_cv_cc_novzeroupper): Likewise.
1947 (libc_cv_cc_fma4): Likewise.
1948 (libc_cv_as_i686): Likewise.
1949 (libc_cv_sparc_as_vis3): Likewise.
1950 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1951 LIBC_CONFIG_VAR.
1952 (config-asflags-i686): Likewise.
1953 (config-cflags-avx): Likewise.
1954 (config-cflags-sse2avx): Likewise.
1955 (have-mfma4): Likewise.
1956 (config-cflags-novzeroupper): Likewise.
1957 * sysdeps/mach/configure.in (MIG): Likewise.
1958 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1959 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1960 LIBC_CONFIG_VAR.
1961 (config-cflags-avx): Likewise.
1962 (config-cflags-sse2avx): Likewise.
1963 (have-mfma4): Likewise.
1964 (config-cflags-novzeroupper): Likewise.
1965 * configure: Regenerated.
1966 * sysdeps/i386/configure: Likewise.
1967 * sysdeps/mach/configure: Likewise.
1968 * sysdeps/sparc/configure: Likewise.
1969 * sysdeps/x86_64/configure: Likewise.
1970
912cc4b3
RM
19712013-03-20 Roland McGrath <roland@hack.frob.com>
1972
1973 [BZ #14812]
1974 * locale/programs/localedef.c (options): Put N_ translation marker
1975 on argument names, not just descriptions.
1976
04eed2b0
MS
19772013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1978
1979 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1980
a065ceff
OB
19812013-03-20 Ondřej Bílka <neleai@seznam.cz>
1982
9bb2a810 1983 [BZ #14176]
a065ceff
OB
1984 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1985
a600e5ce
RM
19862013-03-19 Roland McGrath <roland@hack.frob.com>
1987
1988 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1989 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1990 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1991 [!BEFORE_ABORT] (before_abort): New function.
1992 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1993 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1994 (writev_for_fatal): New function.
1995 (WRITEV_FOR_FATAL): New macro; call that.
1996 (backtrace_and_maps): New function.
1997 (BEFORE_ABORT): New macro; call that.
1998 (struct str_list): Type removed.
1999 (__libc_message, __libc_fatal): Functions removed.
2000 Include <sysdeps/posix/libc_fatal.c> instead.
2001
6b18bea6
JM
20022013-03-19 Joseph Myers <joseph@codesourcery.com>
2003
2004 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2005 constants.
2006 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2007 double constants.
2008
aaa8cb4b
AS
20092013-03-19 Andreas Schwab <schwab@suse.de>
2010
44673770
AS
2011 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2012 * sysdeps/gnu/configure: Regenerate.
2013
aaa8cb4b
AS
2014 * configure.in: Substitute libc_cv_rtlddir.
2015 * configure: Regenerate.
2016 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2017 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2018 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2019 * elf/Makefile (install-others, CFLAGS-interp.c)
2020 (ldso_install, common-ldd-rewrite): Likewise.
2021 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2022 $(inst_slibdir)/$(rtld-installed-name).
2023 * scripts/rellns-sh: Add -p option.
2024 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2025 for source.
2026
d3cfc668
SP
20272013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2028
2029 * manual/nptl.texi: Renamed to ...
2030 * manual/threads.texi: ... this.
2031 * manual/Makefile (chapters): Update.
2032
0e2b9cdd
RM
20332013-03-18 Roland McGrath <roland@hack.frob.com>
2034
2035 [BZ #14812]
2036 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2037 on argument names, not just descriptions.
0e2b9cdd
RM
2038 * malloc/memusagestat.c (options): Likewise.
2039 * nss/getent.c (options): Likewise.
63270c24
RM
2040
20412013-03-18 Benno Schulenberg <bensberg@justemail.net>
2042
2043 [BZ #14812]
2044 * iconv/iconv_prog.c (options): Put N_ translation marker
2045 on argument names, not just descriptions.
2046 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 2047
b2e1393c
OB
20482013-03-18 Ondrej Bilka <neleai@seznam.cz>
2049
2050 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2051 implementation which is faster on all x86_64 architectures.
2052 Tested on AMD, Intel Nehalem, SNB, IVB.
2053 * sysdeps/x86_64/strnlen.S: Likewise.
2054
2055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2056 Remove all multiarch strlen and strnlen versions.
2057 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2058 Remove strlen and strnlen related parts.
2059
2060 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2061 Inline strlen part.
2062 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2063
2064 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2065 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2066 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2067 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2068 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2069 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2070
ec4ff04d
CD
20712013-03-17 Carlos O'Donell <carlos@redhat.com>
2072
2073 * manual/memory.texi (Malloc Tunable Parameters):
2074 Sort parameters alphabetically. Add comments for missing entries.
2075
cd18e90a
DM
20762013-03-17 David S. Miller <davem@davemloft.net>
2077
2078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2079
2a185d32
JM
20802013-03-16 Joseph Myers <joseph@codesourcery.com>
2081
d2f9799e
JM
2082 [BZ #15283]
2083 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2084 for arguments at most half maximum finite value.
2085 * math/libm-test.inc (j0_test): Add more tests.
2086 (j1_test): Likewise.
2087 (y0_test): Likewise.
2088 (y1_test): Likewise.
2089 * sysdeps/i386/fpu/libm-test-ulps: Update.
2090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2091
2a185d32
JM
2092 [BZ #14155]
2093 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2094 1 / x and functions P and Q for arguments above 0x1p256L.
2095 (__ieee754_y0l): Likewise.
2096 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2097 (__ieee754_y1l): Likewise.
2098 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2099 (j1_test): Likewise.
2100 (y0_test): Likewise.
2101 (y1_test): Likewise.
2102
6cbec759
TS
21032013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2104
2105 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2106 variable.
2107
bc16e260
RM
21082013-03-15 Roland McGrath <roland@hack.frob.com>
2109
aefc9b8c
RM
2110 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2111 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2112 zero since it's initialized to EXEC_PAGESIZE.
2113
bc16e260
RM
2114 * sysdeps/unix/sysv/linux/ldsodefs.h
2115 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2116 * sysdeps/generic/ldsodefs.h: ... here.
2117
a57da955
TS
21182013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2119
af00a34d
TS
2120 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2121
495ded2c
TS
2122 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2123 math/test-snan.c.
2124 * math/test-snan.c: Renamed from
2125 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2126 * math/Makefile (tests): Add test-snan.
2127 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2128 test-powerpc-snan.
2129
777b0332
TS
2130 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2131 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2132 functions.
2133 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2134 __builtin_nan family of functions.
2135 * math/libm-test.inc (initialize): Initialize qnan_value with
2136 __builtin_nan family of functions.
2137 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2138 Remove variables.
2139 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2140 Remove functions.
2141 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2142 storage class. Initialize qNaN_var and sNaN_var with
2143 __builtin_nan and __builtin_nans families of functions,
2144 respectively.
2145
64d063b8
TS
2146 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2147 (sqrt_test): Remove duplicate test with qNaN input.
2148 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2149 (round_test, signbit_test, significand_test): Note missing +/-Inf
2150 as well as qNaN tests.
2151
67e971f1
TS
2152 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2153 qNaN_var. Fix a few strings, too.
2154 * math/libm-test.inc (nan_value): Rename to qnan_value.
2155 * math/gen-libm-test.pl (%beautify): Adjust to that.
2156 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2157 * math/test-misc.c (main): Likewise.
2158 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2159 to __qnan_bytes, and __qnan_union, respectively.
2160 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2161 Likewise.
2162 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2163 and lqnanval, respectively.
2164 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2165 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2166 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2167 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2168
64487e12
TS
2169 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2170 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2171 doubles.
2172
e015e27b
TS
2173 * math/test-misc.c (main): Fix copy'n'pastos.
2174 * misc/tst-efgcvt.c (special): Likewise.
2175
a57da955
TS
2176 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2177 Remove declarations.
2178
1e380345
SP
21792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2180
2181 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2182 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2183 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2184 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2185
ef26eece
AZ
21862013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2187
2188 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2189 macro to return vdso values correctly in IFUNC implementations.
2190 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2191 Optimization by using IFUNC.
2192
8cfdb7e0
SP
21932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2194 Richard Henderson <rth@redhat.com>
2195 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2196
2197 * Makefile.in (bench): New target.
2198 * NEWS: Mention the benchmark framework.
2199 * Rules (bench): Likewise.
2200 (binaries-bench): Generate binaries for functions to
2201 benchmark.
2202 * benchtests/Makefile: New makefile for benchmark tests.
2203 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2204 programs.
2205 * benchtests/exp-inputs: New input file for EXP function.
2206 * benchtests/pow-inputs: New input file for POW function.
2207 * scripts/bench.pl: New script to generate source files for
2208 benchmark programs.
2209
bcda9880
SP
22102013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2211
d22ca8cd
SP
2212 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2213 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2214 computations on mantissa. Use macros for rounding and
2215 division.
2216 (denorm): Likewise.
2217 (__dbl_mp): Likewise.
2218 (add_magnitudes): Likewise.
2219 (sub_magnitudes): Likewise.
2220 (__mul): Likewise.
2221 (__sqr): Likewise.
2222 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2223 powers of two in terms of TWOPOW macro.
2224 (mp_no): Make type of mantissa as MANTISSA_T.
2225 [!RADIXI]: Define RADIXI.
2226 [!TWO52]: Define TWO52.
2227 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2228
bcda9880
SP
2229 * manual/nptl.texi (cindex): Modify threads to pthreads.
2230
06d5adfb
JM
22312013-03-15 Joseph Myers <joseph@codesourcery.com>
2232
2233 * sysdeps/x86_64/preconfigure: Regenerated.
2234
41c7328e
JM
22352013-03-14 Joseph Myers <joseph@codesourcery.com>
2236
2237 [BZ #14155]
2238 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2239 0x1p28 and above.
2240 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2241 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2242 0x1p28 and above.
2243 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2244 * math/libm-test.inc (j0_test): Do not allow one spurious
2245 underflow exception.
2246 (y1_test): Likewise.
2247
e25cfa60
SP
22482013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2249
0409959c
SP
2250 * manual/Makefile (chapters): Add nptl.
2251 * manual/debug.texi (Debugging Support): Add link to Threads
2252 chapter.
2253 * manual/nptl.texi: New file.
2254
e25cfa60
SP
2255 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2256
58a1335e
PB
22572013-03-14 Petr Baudis <pasky@ucw.cz>
2258
2259 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2260 for non-NULL pointer before the memory validity test. Pointed
2261 out by Holger Brunck <holger.brunck@keymile.com>.
2262
9dc7c64f
AS
22632013-03-13 Andreas Schwab <schwab@suse.de>
2264
2265 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2266 instead of .os.
2267
54206aa6
JM
22682013-03-13 Joseph Myers <joseph@codesourcery.com>
2269
2270 * timezone/zic.c: Update from tzcode 2013b.
2271
e98cdb38
CD
22722013-03-12 Carlos O'Donell <carlos@redhat.com>
2273
2274 * manual/install.texi (Configuring and compiling):
2275 Mention i686 and i586.
2276 * INSTALL: Regenerate.
2277
9967e003
RM
22782013-03-12 Roland McGrath <roland@hack.frob.com>
2279
2280 * sysdeps/init_array/elf-init.c: New file.
2281 * csu/elf-init.c
2282 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2283 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2284
2285 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2286 __gmon_start__ as global, but as static with a .preinit_array pointer.
2287 * sysdeps/init_array/gmon-start.c: New file. Use that.
2288 * sysdeps/init_array/crti.S: New file, empty except for comments.
2289 * sysdeps/init_array/crtn.S: Likewise.
2290
e6b5a293 22912013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2292
2293 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2294 definining bcopy.
80f844c9
OB
2295 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2296 Remove Prefer_SSE_for_memop.
2297 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2298 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2299 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2301 memset-x86-64.
80f844c9 2302 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2303 Remove bzero, memset ifunc support.
80f844c9
OB
2304 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2305 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2306 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2307 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2308
fb6b0fcb
AS
23092013-03-11 Andreas Schwab <schwab@suse.de>
2310
2311 [BZ #15234]
2312 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2313 by SHLIB_COMPAT.
2314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2315 (GLIBC_2.16): Remove pthread_atfork.
2316
3e6bd4b1
PP
23172013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2318
2319 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2320 (ptestcases.h): Likewise.
2321
222d7f00
RM
23222013-03-08 Roland McGrath <roland@hack.frob.com>
2323
2324 * Makeconfig ($(common-objpfx)config.status): Depend on
2325 sysdeps/*/preconfigure{,.in} too.
2326
1ba4f030
JM
23272013-03-08 Joseph Myers <joseph@codesourcery.com>
2328
a222d91a
JM
2329 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2330 (__free_hook): Use void * instead of __malloc_ptr_t.
2331 (__malloc_hook): Likewise.
2332 (__realloc_hook): Likewise.
2333 (__memalign_hook): Likewise.
2334 (__after_morecore_hook): Likewise.
2335 * malloc/arena.c (save_malloc_hook): Likewise.
2336 (save_free_hook): Likewise.
2337 * malloc/hooks.c (malloc_hook_ini): Likewise.
2338 (realloc_hook_ini): Likewise.
2339 (memalign_hook_ini): Likewise.
2340 * malloc/malloc.c (malloc_hook_ini): Likewise.
2341 (realloc_hook_ini): Likewise.
2342 (memalign_hook_ini): Likewise.
2343 (__free_hook): Likewise.
2344 (__malloc_hook): Likewise.
2345 (__realloc_hook): Likewise.
2346 (__memalign_hook): Likewise.
2347 (__libc_malloc): Likewise.
2348 (__libc_free): Likewise.
2349 (__libc_realloc): Likewise.
2350 (__libc_memalign): Likewise.
2351 (__libc_valloc): Likewise.
2352 (__libc_pvalloc): Likewise.
2353 (__libc_calloc): Likewise.
2354 (__posix_memalign): Likewise.
2355 * malloc/morecore.c (__sbrk): Likewise.
2356 (__default_morecore): Likewise.
2357
5cc45e10
JM
2358 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2359
dd54b864
JM
2360 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2361 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2362 __malloc_ptrdiff_t.
2363
1ba4f030
JM
2364 * malloc/malloc.h (__malloc_size_t): Remove macro.
2365 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2366 __malloc_size_t.
2367 (old_memalign_hook): Likewise.
2368 (old_realloc_hook): Likewise.
2369 (struct hdr): Likewise.
2370 (flood): Likewise.
2371 (mallochook): Likewise.
2372 (memalignhook): Likewise.
2373 (reallochook): Likewise.
2374 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2375 (tr_old_realloc_hook): Likewise.
2376 (tr_old_memalign_hook): Likewise.
2377 (tr_mallochook): Likewise.
2378 (tr_reallochook): Likewise.
2379 (tr_memalignhook): Likewise.
2380
edf66e57
AZ
23812013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2382
2383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2384 default_ldbl_pack and using as default implementation.
2385 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2386 implementation.
2387 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2388 redundant definition.
2389 (ldbl_insert_mantissa): Likewise.
2390 (ldbl_canonicalize): Likewise.
2391 (ldbl_nearbyint): Likewise.
2392 (ldbl_pack): Rename to ldbl_pack_ppc.
2393 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2394 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2395 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2396
6d9145d8
SP
23972013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2398
2399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2400 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2402 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2405 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2406 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2407
4dd4e157
AJ
24082013-03-07 Andreas Jaeger <aj@suse.de>
2409
2410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2411 bits/mman-linux.h.
2412
adbb8027
SP
24132013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2414
ce544b5b
SP
2415 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2416 Include mpa.h and declare __MPEXP.
2417 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2418 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2419 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2420 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2421 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2422 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2423 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2424
4cc149fd
SP
2425 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2426 (__slowpow): Use long double EXPL and LOGL functions to
2427 compute POW.
2428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2429 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2430 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2431 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2432 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2433 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2434
e6ebd4a7
SP
2435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2436 intermediate variable to calculate exponent.
2437 (__sqr): Likewise.
2438 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2439 Likewise.
2440 (__sqr): Likewise.
2441
82a9811d
SP
2442 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2443 [!NO__SQR]: Define __sqr.
2444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2445 and NO__SQR. Remove all code except __mul and __sqr. Include
2446 sysdeps/ieee754/dbl-64/mpa.c.
2447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2448
adbb8027
SP
2449 [BZ #12723]
2450 * posix/Makefile (tests): Add tst-pathconf.
2451 * posix/tst-pathconf.c: New test case.
2452 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2453 _PC_PIPE_BUF.
2454 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2455
39120df9
PF
24562013-03-06 Patsy Franklin <pfrankli@redhat.com>
2457
2458 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2459
67525cb8
AJ
24602013-03-06 Andreas Jaeger <aj@suse.de>
2461
664a9ce4
AJ
2462 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2463 definition via __MAP_ANONYMOUS.
2464
8e39047d
AJ
2465 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2466 it's not part of Linux headers.
2467
67525cb8
AJ
2468 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2469 (MAP_HUGE_MASK): Define.
2470
2471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2472 Define.
2473 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2475 Define.
2476 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2477 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2478 Define.
2479 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2480 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2481 Define.
2482 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2483
2484 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2485 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2486 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2487 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2488 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2489 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2490
2491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2492 Handle f2fs.
2493
2494 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2495 Handle f2fs and efivarfs.
2496
2497 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2498 f2fs.
2499
2500 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2501 (EFIVARFS_MAGIC): Add.
2502 (F2FS_LINK_MAX): Add.
2503
e1b42695
PP
25042013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2505
2506 * stdio-common/vfprintf.c: Replace __builtin_expect with
2507 __glibc_unlikely.
2508
2d67d91a
JM
25092013-03-06 Joseph Myers <joseph@codesourcery.com>
2510
2511 [BZ #13550]
2512 * sysdeps/generic/bp-sym.h: Remove file.
2513 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2514 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2515 <bp-sym.h> and <bp-asm.h>.
2516 (__longjmp): Don't use BP_SYM.
2517 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2518 and <bp-asm.h>.
2519 (memcpy): Don't use BP_SYM.
2520 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2521 <bp-sym.h> and <bp-asm.h>.
2522 (memcpy): Don't use BP_SYM.
2523 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2524 <bp-asm.h>.
2525 (memcpy): Don't use BP_SYM.
2526 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2527 <bp-asm.h>.
2528 (memset): Don't use BP_SYM.
2529 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2530 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2531 (__bzero): Don't use BP_SYM.
2532 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2533 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2534 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2535 <bp-sym.h> and <bp-asm.h>.
2536 (memcmp): Don't use BP_SYM. Remove comment about bounded
2537 pointers.
2538 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2539 <bp-sym.h> and <bp-asm.h>.
2540 (memcpy): Don't use BP_SYM.
2541 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2542 <bp-sym.h> and <bp-asm.h>.
2543 (memset): Don't use BP_SYM.
2544 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2545 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2546 (__bzero): Don't use BP_SYM.
2547 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2548 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2549 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2550 <bp-sym.h> and <bp-asm.h>.
2551 (strncmp): Don't use BP_SYM. Remove comment about bounded
2552 pointers.
2553 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2554 <bp-sym.h> and <bp-asm.h>.
2555 (memcpy): Don't use BP_SYM.
2556 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2557 <bp-sym.h> and <bp-asm.h>.
2558 (memset): Don't use BP_SYM.
2559 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2560 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2561 (__bzero): Don't use BP_SYM.
2562 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2563 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2564 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2565 <bp-sym.h> and <bp-asm.h>.
2566 (__memchr): Don't use BP_SYM.
2567 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2568 <bp-sym.h> and <bp-asm.h>.
2569 (memcmp): Don't use BP_SYM. Remove comment about bounded
2570 pointers.
2571 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2572 <bp-sym.h> and <bp-asm.h>.
2573 (memcpy): Don't use BP_SYM.
2574 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2575 <bp-sym.h> and <bp-asm.h>.
2576 (__mempcpy): Don't use BP_SYM.
2577 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2578 <bp-sym.h> and <bp-asm.h>.
2579 (__memrchr): Don't use BP_SYM.
2580 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2581 <bp-sym.h> and <bp-asm.h>.
2582 (memset): Don't use BP_SYM.
2583 (__bzero): Likewise.
2584 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2585 <bp-sym.h> and <bp-asm.h>.
2586 (__rawmemchr): Don't use BP_SYM.
2587 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2588 <bp-sym.h> and <bp-asm.h>.
2589 (__STRCMP): Don't use BP_SYM.
2590 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2591 <bp-sym.h> and <bp-asm.h>.
2592 (strchr): Don't use BP_SYM.
2593 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2594 <bp-sym.h> and <bp-asm.h>.
2595 (__strchrnul): Don't use BP_SYM.
2596 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2597 <bp-sym.h> and <bp-asm.h>.
2598 (strlen): Don't use BP_SYM.
2599 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2600 <bp-sym.h> and <bp-asm.h>.
2601 (strncmp): Don't use BP_SYM. Remove comment about bounded
2602 pointers.
2603 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2604 <bp-sym.h> and <bp-asm.h>.
2605 (__strnlen): Don't use BP_SYM.
2606 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2607 <bp-sym.h> and <bp-asm.h>.
2608 (__GI__setjmp): Don't use BP_SYM.
2609 (_setjmp): Likewise.
2610 (__sigsetjmp): Likewise.
2611 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2612 (L(start_addresses)): Don't use BP_SYM.
2613 (_start): Likewise.
2614 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2615 <bp-asm.h>.
2616 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2617 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2618 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2619 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2620 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2621 <bp-asm.h>.
2622 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2623 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2624 about bounded pointers.
2625 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2626 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2627 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2628 <bp-asm.h>.
2629 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2630 about bounded pointers. Remove GKM FIXME comments.
2631 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2632 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2633 <bp-asm.h>.
2634 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2635 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2636 Remove GKM FIXME comments.
2637 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2638 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2639 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2640 <bp-asm.h>.
2641 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2642 about bounded pointers. Remove GKM FIXME comment.
2643 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2644 and <bp-asm.h>.
2645 (strncmp): Don't use BP_SYM. Remove comment about bounded
2646 pointers.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2648 <bp-sym.h> and <bp-asm.h>.
2649 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2651 <bp-sym.h> and <bp-asm.h>.
2652 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2653 comment.
2654
cdcf361f
PP
26552013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2656
2657 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2658 call free(NULL).
2659
3c4a2b15
DM
26602013-03-05 David S. Miller <davem@davemloft.net>
2661
2662 * po/es.po: Update from translation team.
2663
cdcf361f 26642013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2665
2666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2667 <bits/mman-linux.h>.
2668 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2669 is fine.
2670 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2671 <bits/mman-linux.h> to end of file.
2672 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2673 is fine.
2674 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2675 <bits/mman-linux.h> to end of file.
2676 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2677 is fine.
2678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2679 <bits/mman-linux.h> to end of file.
2680
2681 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2682 (MCL_CURRENT, MCL_FUTURE): Define here.
2683
5f67c04f
AK
26842013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2685
8a4473cc 2686 [BZ #15232]
5f67c04f
AK
2687 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2688 attribute_hidden.
2689 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2690
c3e94a95
AK
26912013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2692
2693 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2694 fourth parameter needed for rt_sigprocmask syscall.
2695 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2696 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2697 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2698 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2699 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2700 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2701
cfb6382a
JM
27022013-03-04 Joseph Myers <joseph@codesourcery.com>
2703
2704 [BZ #13550]
2705 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2706 comment about bounded pointers.
2707 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2708 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2709
539d8e01
AJ
27102013-03-04 Andreas Jaeger <aj@suse.de>
2711
2712 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2713 common definitions.
2714
2715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2716 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2717 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2718 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2719 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2720 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2721
2e167a70 27222013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2723
2724 [BZ #15055]
2725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2726 __ieee754_sqrl instead of __sqrl.
2727
68508633
JM
27282013-03-01 Joseph Myers <joseph@codesourcery.com>
2729
2730 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2731 * sysdeps/powerpc/fpu_control.h: ... here.
2732 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2733 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2734 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2735 * sysdeps/powerpc/bits/mathinline.h: ... here.
2736
7775448e
RM
27372013-03-01 Roland McGrath <roland@hack.frob.com>
2738
2739 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2740 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2741 to just [NEED_DL_SYSINFO_DSO].
2742 * elf/dl-support.c: Likewise.
2743 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2744 * elf/rtld.c (dl_main): Likewise.
2745 * elf/setup-vdso.h (setup_vdso): Likewise.
2746 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2747 * sysdeps/unix/sysv/linux/dl-sysdep.c
2748 (_dl_discover_osversion): Likewise.
2749
4e9b5995
CD
27502013-03-01 Carlos O'Donell <carlos@redhat.com>
2751
2752 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2753 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2754
e23872c8
SP
27552013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2756
e5c74c63
SP
2757 * NEWS: Mention libm performance improvements and non-x86 PI
2758 futex support.
2759
e23872c8
SP
2760 * csu/libc-start.c (__pthread_initialize_minimal): Change
2761 function arguments.
2762 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2763
b5510883
JM
27642013-02-28 Joseph Myers <joseph@codesourcery.com>
2765
2766 [BZ #13550]
2767 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2768 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2769 <bp-sym.h> and <bp-asm.h>.
2770 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2771 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2772 and <bp-asm.h>.
2773 (memcpy): Don't use BP_SYM.
2774 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2775 <bp-asm.h>.
2776 (__mpn_add_n): Don't use BP_SYM.
2777 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2778 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2779 and <bp-asm.h>.
2780 (__mpn_addmul_1): Don't use BP_SYM.
2781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2782 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2783 <bp-sym.h>.
2784 (_setjmp): Don't use BP_SYM.
2785 (__novmx_setjmp): Likewise.
2786 (__GI__setjmp): Likewise.
2787 (__vmx_setjmp): Likewise.
2788 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2789 <bp-sym.h>.
2790 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2791 (__bzero): Don't use BP_SYM.
2792 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2793 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2794 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2795 <bp-sym.h> and <bp-asm.h>.
2796 (memcpy): Don't use BP_SYM.
2797 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2798 <bp-sym.h> and <bp-asm.h>.
2799 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2800 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2801 <bp-sym.h> and <bp-asm.h>.
2802 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2803 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2804 <bp-asm.h>.
2805 (__mpn_lshift): Don't use BP_SYM.
2806 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2807 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2808 <bp-asm.h>.
2809 (memset): Don't use BP_SYM.
2810 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2811 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2812 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2813 <bp-asm.h>.
2814 (__mpn_mul_1): Don't use BP_SYM.
2815 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2816 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2817 <bp-sym.h> and <bp-asm.h>.
2818 (memcmp): Don't use BP_SYM.
2819 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2820 <bp-sym.h> and <bp-asm.h>.
2821 (memcpy): Don't use BP_SYM.
2822 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2823 <bp-sym.h> and <bp-asm.h>.
2824 (memset): Don't use BP_SYM.
2825 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2826 <bp-sym.h> and <bp-asm.h>.
2827 (strncmp): Don't use BP_SYM.
2828 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2829 <bp-sym.h> and <bp-asm.h>.
2830 (memcpy): Don't use BP_SYM.
2831 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2832 <bp-sym.h> and <bp-asm.h>.
2833 (memset): Don't use BP_SYM.
2834 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2835 <bp-sym.h> and <bp-asm.h>.
2836 (__memchr): Don't use BP_SYM.
2837 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2838 <bp-sym.h> and <bp-asm.h>.
2839 (memcmp): Don't use BP_SYM.
2840 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2841 <bp-sym.h> and <bp-asm.h>.
2842 (memcpy): Don't use BP_SYM.
2843 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2844 <bp-sym.h> and <bp-asm.h>.
2845 (__mempcpy): Don't use BP_SYM.
2846 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2847 <bp-sym.h> and <bp-asm.h>.
2848 (__memrchr): Don't use BP_SYM.
2849 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2850 <bp-sym.h> and <bp-asm.h>.
2851 (memset): Don't use BP_SYM.
2852 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2853 <bp-sym.h> and <bp-asm.h>.
2854 (__rawmemchr): Don't use BP_SYM.
2855 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2856 <bp-sym.h> and <bp-asm.h>.
2857 (__STRCMP): Don't use BP_SYM.
2858 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2859 <bp-sym.h> and <bp-asm.h>.
2860 (strchr): Don't use BP_SYM.
2861 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2862 <bp-sym.h> and <bp-asm.h>.
2863 (__strchrnul): Don't use BP_SYM.
2864 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2865 <bp-sym.h> and <bp-asm.h>.
2866 (strlen): Don't use BP_SYM.
2867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2868 <bp-sym.h> and <bp-asm.h>.
2869 (strncmp): Don't use BP_SYM.
2870 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2871 <bp-sym.h> and <bp-asm.h>.
2872 (__strnlen): Don't use BP_SYM.
2873 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2874 <bp-asm.h>.
2875 (__mpn_rshift): Don't use BP_SYM.
2876 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2877 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2878 <bp-sym.h> and <bp-asm.h>.
2879 (__sigsetjmp): Don't use BP_SYM.
2880 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2881 (L(start_addresses)): Don't use BP_SYM.
2882 (_start): Likewise.
2883 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2884 <bp-asm.h>.
2885 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2886 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2887 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2888 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2889 <bp-asm.h>.
2890 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2891 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2892 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2893 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2894 <bp-asm.h>.
2895 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2896 comments.
2897 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2898 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2899 <bp-asm.h>.
2900 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2901 FIXME comments.
2902 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2903 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2904 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2905 <bp-asm.h>.
2906 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2907 comment.
2908 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2909 and <bp-asm.h>.
2910 (strncmp): Don't use BP_SYM,
2911 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2912 <bp-asm.h>.
2913 (__mpn_sub_n): Don't use BP_SYM.
2914 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2915 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2916 and <bp-asm.h>.
2917 (__mpn_submul_1): Don't use BP_SYM.
2918 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2920 <bp-sym.h> and <bp-asm.h>.
2921 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2923 <bp-sym.h> and <bp-asm.h>.
2924 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2925 comment.
2926
8d19fe64
SP
29272013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2928
2929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2930 Use ZK to minimize writes to Z.
2931 (sub_magnitudes): Simplify code a bit.
2932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2933 Use ZK to minimize writes to Z.
2934 (sub_magnitudes): Simplify code a bit.
2935
85bd816a
RM
29362013-02-27 Roland McGrath <roland@hack.frob.com>
2937
2938 * csu/gmon-start.c: Add special exception to license text.
2939
b5977bf2
RH
29402013-02-27 Richard Henderson <rth@redhat.com>
2941
2942 * scripts/config.guess: Update from config.git.
2943 * scripts/config.sub: Likewise.
2944
11d6e2f2
SP
29452013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2946
09c14ed2
SP
2947 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2948
a688864e
SP
2949 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2950
6295157a
SP
2951 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2952
b8de2202
SP
2953 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2954
11d6e2f2
SP
2955 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2956
7e80ddb8
RM
29572013-02-26 Roland McGrath <roland@hack.frob.com>
2958
2959 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2960 [$(build-shared = yes].
7e80ddb8 2961
7da6d9ed
SP
29622013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2963
45f05884
SP
2964 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2965 (__mul): Reduce iterations for calculating mantissa.
2966
2236d359
SP
2967 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2968 MPTWO.
2969 (__mpranred): Likewise.
2970
7da6d9ed
SP
2971 [BZ #15160]
2972 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2973 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2974
b7688c42
PE
29752013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2976
2977 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2978 Define __attribute__.
2979
53a5c423
SP
29802013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2981
2982 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2983 unused.
2984 * posix/regex_internal.h (__attribute): Remove.
2985 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2986 (re_string_context_at): Likewise.
2987 (bitset_not): Use __attribute__ and mark function as possibly
2988 unused.
2989 (bitset_merge): Likewise.
2990 (bitset_mask): Likewise.
2991 (re_string_char_size_at): Likewise.
2992 (re_string_wchar_at): Likewise.
2993 (re_string_elem_size_at): Likewise.
2994
60f5a8b5
SP
29952013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2996
2a983a2e
SP
2997 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2998 code.
2999 (cc32): Likewise.
3000
e69804d1
SP
3001 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3002 (__acr): Likewise.
3003 (__cpy): Likewise.
3004 (norm): Likewise.
3005 (denorm): Likewise.
3006 (__dbl_mp): Likewise.
3007 (add_magnitudes): Likewise.
3008 (sub_magnitudes): Likewise.
3009 (__mul): Likewise.
3010 (__inv): Likewise.
3011
2f22a1e8
SP
3012 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3013 style.
3014
8930ddc7
SP
3015 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3016 style.
3017
dc60cb11
SP
3018 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3019 code.
3020
60f5a8b5
SP
3021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3022 up changes with default code.
3023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3024 Likewise.
3025
b4d1fd33
AM
30262013-02-24 Allan McRae <allan@archlinux.org>
3027
faf6f8bc
AM
3028 * manual/socket.texi (The Internet Namespace): Order menu items
3029 to match that in the file.
3030
b4d1fd33
AM
3031 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3032 node listing of the info page menu.
3033
2366713d
JM
30342013-02-21 Joseph Myers <joseph@codesourcery.com>
3035
3036 [BZ #13550]
3037 * sysdeps/i386/bp-asm.h: Remove file.
3038 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3039 (PARMS): Do not use macros from bp-asm.h.
3040 (S1): Likewise.
3041 (S2): Likewise.
3042 (SIZE): Likewise.
3043 (__mpn_add_n): Do not use BP_SYM
3044 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3045 "bp-asm.h".
3046 (PARMS): Do not use macros from bp-asm.h.
3047 (S1): Likewise.
3048 (SIZE): Likewise.
3049 (__mpn_addmul_1): Do not use BP_SYM
3050 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3051 "bp-asm.h".
3052 (PARMS): Do not use macros from bp-asm.h.
3053 (SIGMSK): Likewise.
3054 (_setjmp): Likewise. Do not use BP_SYM.
3055 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3056 "bp-asm.h".
3057 (PARMS): Do not use macros from bp-asm.h.
3058 (SIGMSK): Likewise.
3059 (setjmp): Likewise. Do not use BP_SYM.
3060 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3061 "bp-asm.h".
3062 (PARMS): Do not use macros from bp-asm.h.
3063 (__frexp): Do not use BP_SYM.
3064 (frexp): Likewise.
3065 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3066 "bp-asm.h".
3067 (PARMS): Do not use macros from bp-asm.h.
3068 (__frexpf): Do not use BP_SYM.
3069 (frexpf): Likewise.
3070 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3071 "bp-asm.h".
3072 (PARMS): Do not use macros from bp-asm.h.
3073 (__frexpl): Do not use BP_SYM.
3074 (frexpl): Likewise.
3075 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3076 "bp-asm.h".
3077 (PARMS): Do not use macros from bp-asm.h.
3078 (__remquo): Do not use BP_SYM.
3079 (remquo): Likewise.
3080 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3081 "bp-asm.h".
3082 (PARMS): Do not use macros from bp-asm.h.
3083 (__remquof): Do not use BP_SYM.
3084 (remquof): Likewise.
3085 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3086 "bp-asm.h".
3087 (PARMS): Do not use macros from bp-asm.h.
3088 (__remquol): Do not use BP_SYM.
3089 (remquol): Likewise.
3090 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3091 "bp-asm.h".
3092 (PARMS): Do not use macros from bp-asm.h.
3093 (DEST): Likewise.
3094 (SRC): Likewise.
3095 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3096 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3097 "bp-asm.h".
3098 (PARMS): Do not use macros from bp-asm.h.
3099 (strlen): Do not use BP_SYM.
3100 * sysdeps/i386/i586/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/i586/addmul_1.S: Do not include "bp-sym.h" and
3108 "bp-asm.h".
3109 (PARMS): Do not use macros from bp-asm.h.
3110 (S1): Likewise.
3111 (SIZE): Likewise.
3112 (__mpn_addmul_1): Do not use BP_SYM.
3113 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3114 weak_alias.
3115 (bzero): Likewise.
3116 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3117 "bp-asm.h".
3118 (PARMS): Do not use macros from bp-asm.h.
3119 (S): Likewise.
3120 (SIZE): Likewise.
3121 (__mpn_lshift): Do not use BP_SYM.
3122 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3123 "bp-asm.h".
3124 (PARMS): Do not use macros from bp-asm.h.
3125 (DEST): Likewise.
3126 (SRC): Likewise.
3127 (LEN): Likewise.
3128 (memcpy): Likewise. Do not use BP_SYM.
3129 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3130 libc_hidden_def and weak_alias.
3131 (mempcpy): Do not use BP_SYM in weak_alias.
3132 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3133 "bp-asm.h".
3134 (PARMS): Do not use macros from bp-asm.h.
3135 (DEST): Likewise.
3136 (LEN): Likewise.
3137 [!BZERO_P] (CHR): Likewise.
3138 (memset): Likewise. Do not use BP_SYM.
3139 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3140 "bp-asm.h".
3141 (PARMS): Do not use macros from bp-asm.h.
3142 (S1): Likewise.
3143 (SIZE): Likewise.
3144 (__mpn_mul_1): Do not use BP_SYM.
3145 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3146 "bp-asm.h".
3147 (PARMS): Do not use macros from bp-asm.h.
3148 (S): Likewise.
3149 (SIZE): Likewise.
3150 (__mpn_rshift): Do not use BP_SYM.
3151 * sysdeps/i386/i586/strchr.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 (CHR): Likewise.
3156 (strchr): Likewise. Do not use BP_SYM.
3157 (index): Do not use BP_SYM in weak_alias.
3158 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3159 "bp-asm.h".
3160 (PARMS): Do not use macros from bp-asm.h.
3161 (DEST): Likewise.
3162 (SRC): Likewise.
3163 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3164 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3165 "bp-asm.h".
3166 (PARMS): Do not use macros from bp-asm.h.
3167 (strlen): Do not use BP_SYM.
3168 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3169 "bp-asm.h".
3170 (PARMS): Do not use macros from bp-asm.h.
3171 (S1): Likewise.
3172 (S2): Likewise.
3173 (SIZE): Likewise.
3174 (__mpn_sub_n): Do not use BP_SYM.
3175 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3176 "bp-asm.h".
3177 (PARMS): Do not use macros from bp-asm.h.
3178 (S1): Likewise.
3179 (SIZE): Likewise.
3180 (__mpn_submul_1): Do not use BP_SYM.
3181 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3182 "bp-asm.h".
3183 (PARMS): Do not use macros from bp-asm.h.
3184 (S1): Likewise.
3185 (S2): Likewise.
3186 (SIZE): Likewise.
3187 (__mpn_add_n): Do not use BP_SYM.
3188 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3189 weak_alias.
3190 (bzero): Likewise.
3191 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3192 "bp-asm.h".
3193 (PARMS): Do not use macros from bp-asm.h.
3194 (BLK2): Likewise.
3195 (LEN): Likewise.
3196 (memcmp): Do not use BP_SYM.
3197 (bcmp): Do not use BP_SYM in weak_alias.
3198 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3199 "bp-asm.h".
3200 (PARMS): Do not use macros from bp-asm.h.
3201 (DEST): Likewise.
3202 (SRC): Likewise.
3203 (LEN): Likewise.
3204 (memcpy): Likewise. Do not use BP_SYM.
3205 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3206 "bp-asm.h".
3207 (PARMS): Do not use macros from bp-asm.h.
3208 (DEST): Likewise.
3209 (SRC): Likewise.
3210 (LEN): Likewise.
3211 (memmove): Likewise. Do not use BP_SYM.
3212 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3213 "bp-asm.h".
3214 (PARMS): Do not use macros from bp-asm.h.
3215 (DEST): Likewise.
3216 (SRC): Likewise.
3217 (LEN): Likewise.
3218 (__mempcpy): Likewise. Do not use BP_SYM.
3219 (mempcpy): Do not use BP_SYM in weak_alias.
3220 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3221 "bp-asm.h".
3222 (PARMS): Do not use macros from bp-asm.h.
3223 (DEST): Likewise.
3224 (LEN): Likewise.
3225 [!BZERO_P] (CHR): Likewise.
3226 (memset): Likewise. Do not use BP_SYM.
3227 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3228 "bp-asm.h".
3229 (PARMS): Do not use macros from bp-asm.h.
3230 (STR2): Likewise.
3231 (strcmp): Do not use BP_SYM.
3232 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3233 "bp-asm.h".
3234 (PARMS): Do not use macros from bp-asm.h.
3235 (STR): Likewise.
3236 (DELIM): Likewise.
3237 [USE_AS_STRTOK_R] (SAVE): Likewise.
3238 (FUNCTION): Likewise. Do not use BP_SYM.
3239 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3240 aliases.
3241 (strtok_r): Likewise.
3242 (__GI___strtok_r): Likewise.
3243 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3244 (PARMS): Do not use macros from bp-asm.h.
3245 (S): Likewise.
3246 (SIZE): Likewise.
3247 (__mpn_lshift): Do not use BP_SYM.
3248 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3249 (PARMS): Do not use macros from bp-asm.h.
3250 (STR): Likewise.
3251 (CHR): Likewise.
3252 (__memchr): Do not use BP_SYM.
3253 (memchr): Do not use BP_SYM in weak_alias.
3254 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3255 (PARMS): Do not use macros from bp-asm.h.
3256 (BLK2): Likewise.
3257 (LEN): Likewise.
3258 (memcmp): Do not use BP_SYM.
3259 (bcmp): Do not use BP_SYM in weak_alias.
3260 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3261 (PARMS): Do not use macros from bp-asm.h.
3262 (S1): Likewise.
3263 (SIZE): Likewise.
3264 (__mpn_mul_1): Do not use BP_SYM.
3265 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3266 "bp-asm.h".
3267 (PARMS): Do not use macros from bp-asm.h.
3268 (STR): Likewise.
3269 (CHR): Likewise.
3270 (__rawmemchr): Do not use BP_SYM.
3271 (rawmemchr): Do not use BP_SYM in weak_alias.
3272 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3273 (PARMS): Do not use macros from bp-asm.h.
3274 (S): Likewise.
3275 (SIZE): Likewise.
3276 (__mpn_rshift): Do not use BP_SYM.
3277 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3278 (PARMS): Do not use macros from bp-asm.h.
3279 (SIGMSK): Likewise.
3280 (__sigsetjmp): Likewise. Do not use BP_SYM.
3281 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3282 (_start): Do not use BP_SYM.
3283 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3284 (PARMS): Do not use macros from bp-asm.h.
3285 (DEST): Likewise.
3286 (SRC): Likewise.
3287 (__stpcpy): Likewise. Do not use BP_SYM.
3288 (stpcpy): Do not use BP_SYM in weak_alias.
3289 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3290 "bp-asm.h".
3291 (PARMS): Do not use macros from bp-asm.h.
3292 (DEST): Likewise.
3293 (SRC): Likewise.
3294 (LEN): Likewise.
3295 (__stpncpy): Likewise. Do not use BP_SYM.
3296 (stpncpy): Do not use BP_SYM in weak_alias.
3297 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3298 (PARMS): Do not use macros from bp-asm.h.
3299 (STR): Likewise.
3300 (CHR): Likewise.
3301 (strchr): Likewise. Do not use BP_SYM.
3302 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3303 "bp-asm.h".
3304 (PARMS): Do not use macros from bp-asm.h.
3305 (STR): Likewise.
3306 (CHR): Likewise.
3307 (__strchrnul): Likewise. Do not use BP_SYM.
3308 (strchrnul): Do not use BP_SYM in weak_alias.
3309 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3310 "bp-asm.h".
3311 (PARMS): Do not use macros from bp-asm.h.
3312 (STOP): Likewise.
3313 (strcspn): Do not use BP_SYM.
3314 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3315 "bp-asm.h".
3316 (PARMS): Do not use macros from bp-asm.h.
3317 (STR): Likewise.
3318 (STOP): Likewise.
3319 (strpbrk): Likewise. Do not use BP_SYM.
3320 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3321 "bp-asm.h".
3322 (PARMS): Do not use macros from bp-asm.h.
3323 (STR): Likewise.
3324 (CHR): Likewise.
3325 (strrchr): Likewise. Do not use BP_SYM.
3326 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3327 (PARMS): Do not use macros from bp-asm.h.
3328 (SKIP): Likewise.
3329 (strspn): Do not use BP_SYM.
3330 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3331 (PARMS): Do not use macros from bp-asm.h.
3332 (STR): Likewise.
3333 (DELIM): Likewise.
3334 (SAVE): Likewise.
3335 (FUNCTION): Likewise. Do not use BP_SYM.
3336 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3337 aliases.
3338 (strtok_r): Likewise.
3339 (__GI___strtok_r): Likewise.
3340 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3341 (PARMS): Do not use macros from bp-asm.h.
3342 (S1): Likewise.
3343 (S2): Likewise.
3344 (SIZE): Likewise.
3345 (__mpn_sub_n): Do not use BP_SYM.
3346 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3347 "bp-asm.h".
3348 (PARMS): Do not use macros from bp-asm.h.
3349 (S1): Likewise.
3350 (SIZE): Likewise.
3351 (__mpn_submul_1): Do not use BP_SYM.
3352 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3353 <bp-sym.h>.
3354 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3355 and <bp-asm.h>.
3356 (PARMS): Do not use macros from bp-asm.h.
3357 (FLAGS): Likewise.
3358 (PTID): Likewise.
3359 (TLS): Likewise.
3360 (CTID): Likewise.
3361 (__clone): Do not use BP_SYM.
3362 (clone): Do not use BP_SYM in weak_alias.
3363 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3364 and <bp-asm.h>.
3365 (PARMS): Do not use macros from bp-asm.h.
3366 (LEN): Likewise.
3367 (__mmap64): Do not use BP_SYM.
3368 (mmap64): Do not use BP_SYM in weak_alias.
3369 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3370 <bp-sym.h> and <bp-asm.h>.
3371 (PARMS): Do not use macros from bp-asm.h.
3372 (__posix_fadvise64_l64): Do not use BP_SYM.
3373 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3374 (PARMS): Do not use macros from bp-asm.h.
3375 (NSOPS): Likewise.
3376 (semtimedop): Do not use BP_SYM.
3377 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3378 and <bp-asm.h>.
3379
582a3cff
AM
33802013-02-21 Allan McRae <allan@archlinux.org>
3381
3382 * manual/message.texi (Charset conversion in gettext):
3383 Move @end statement to beginning of line.
3384
bab8a695
SP
33852013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3386
80945231
SP
3387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3388 static.
3389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3390 Likewise.
3391
bab8a695
SP
3392 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3393 (denorm): Likewise.
3394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3396
e21d7aa7
AK
33972013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3398
3399 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3400 tail-call to the resolved function if pltexit isn't needed.
3401
4c7a4263
SP
34022013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3403
3404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3405 or Y being zero as being unlikely.
3406 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3407 Likewise.
3408
41f49342
CD
34092013-02-20 Carlos O'Donell <carlos@redhat.com>
3410
3411 * manual/nss.texi (System Databases and Name Service Switch):
3412 Remove frobnicate @pxref.
3413
50022a93
TS
34142013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3415
3416 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3417 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3418
08cbd996
PM
34192013-02-20 Petr Machata <pmachata@redhat.com>
3420
3421 * elf/elf.h (R_ARM_TARGET1): New macro.
3422 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3423 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3424 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3425 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3426 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3427 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3428 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3429 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3430 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3431 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3432 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3433 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3434 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3435 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3436 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3437 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3438 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3439 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3440 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3441 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3442 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3443 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3444 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3445 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3446 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3447 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3448 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3449 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3450 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3451 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3452 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3453 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3454 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3455 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3456 (R_ARM_THM_GOT_BREL12): Likewise.
3457 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3458 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3459 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3460 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3461 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3462 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3463 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3464 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3465 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3466
c7b275d6
TS
34672013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3468
3469 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3470 __attribute_used__ to __attribute__ ((unused)).
3471
20cd7fb3
SP
34722013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3473
3474 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3475 powerpc mpa.c.
3476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3477 comment formatting.
3478 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3479
92945b52
JM
34802013-02-19 Joseph Myers <joseph@codesourcery.com>
3481
3482 [BZ #13550]
3483 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3484 Remove macro.
3485 (ENTER): Remove both macro definitions.
3486 (LEAVE): Likewise.
3487 (CHECK_BOUNDS_LOW): Likewise.
3488 (CHECK_BOUNDS_HIGH): Likewise.
3489 (CHECK_BOUNDS_BOTH): Likewise.
3490 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3491 (RETURN_BOUNDED_POINTER): Likewise.
3492 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3493 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3494 (POP_ERRNO_LOCATION_RETURN): Likewise.
3495 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3496 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3497 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3498 macros.
3499 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3500 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3501 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3502 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3503 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3504 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3505 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3506 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3507 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3508 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3509 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3510 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3511 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3512 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3513 removed macros.
3514 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3515 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3516 macros.
3517 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3518 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3519 * sysdeps/i386/i586/memset.S (memset): Likewise.
3520 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3521 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3522 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3523 macros.
3524 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3525 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3526 Change uses of L(2) to L(out).
3527 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3528 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3529 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3530 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3531 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3532 removed macros.
3533 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3534 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3535 macros.
3536 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3537 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3538 (RETURN): Do not use macro LEAVE.
3539 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3540 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3541 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3542 * sysdeps/i386/i686/memset.S (memset): Likewise.
3543 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3544 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3545 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3546 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3547 Likewise.
3548 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3549 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3550 L(1_2) and L(1_3) into L(1).
3551 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3552 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3553 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3554 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3555 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3556 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3557 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3558 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3559 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3560 macros.
3561 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3562 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3563 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3564 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3565 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3566 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3567 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3568 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3569 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3570 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3571 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3572 * sysdeps/i386/strspn.S (strspn): Likewise.
3573 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3574 conditional code.
3575 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3576 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3577 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3578 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3579 L(1_3) into L(1_1).
3580 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3581 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3582 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3583 macros.
3584 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3585
2389741a
JJ
35862013-02-19 Jakub Jelinek <jakub@redhat.com>
3587
3588 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3589 macro.
3590
2016b3cd
SP
35912013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3592
e4f22324
SP
3593 * math/atest-exp.c (exp_mpn): Remove ROUND.
3594 * math/atest-exp2.c (exp_mpn): Likewise.
3595 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3596
2016b3cd
SP
3597 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3598 * stdlib/tst-tls-atexit-lib.c: Likewise.
3599 * stdlib/tst-tls-atexit.c: Likewise.
3600
4be9b544
MF
36012013-02-18 Mike Frysinger <vapier@gentoo.org>
3602
3603 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3604 and __attribute_alloc_size__.
3605
2f62b9ee
MF
36062013-02-18 Mike Frysinger <vapier@gentoo.org>
3607
3608 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3609 __attribute_alloc_size__.
3610 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3611 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3612
6ff444c4
MF
36132013-02-18 Mike Frysinger <vapier@gentoo.org>
3614
3615 * include/programs/xmalloc.h: New file.
3616 * catgets/gencat.c: Include it.
3617 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3618 * elf/pldd.c: Likewise.
3619 * iconv/iconv_charmap.c: Likewise.
3620 * iconv/iconvconfig.c: Likewise.
3621 * iconv/strtab.c: Likewise.
3622 * locale/programs/locale.c: Likewise.
3623 * locale/programs/localedef.h: Likewise.
3624 * locale/programs/simple-hash.c: Likewise.
3625 * nscd/nscd.h: Likewise.
3626 * nss/makedb.c: Likewise.
3627 * sysdeps/generic/ldconfig.h: Likewise.
3628
be179c8a
SP
36292013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3630
ba384f6e
SP
3631 * Versions.def: Add GLIBC_2.18.
3632 * include/link.h (struct link_map): New member l_tls_dtor_count.
3633 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3634 (__call_tls_dtors): Likewise.
3635 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3636 __cxa_thread_atexit_impl.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3638 Likewise.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3640 Likewise.
3641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3642 Likewise.
3643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3644 Likewise.
3645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3647 Likewise.
3648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3649 Likewise.
3650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3652 Likewise.
3653 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3654 (tests): Add test case tst-tls-atexit.
3655 (modules-names): Add shared library for tst-tls-atexit.
3656 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3657 (GLIBC_PRIVATE): Add __call_tls_dtors.
3658 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3659 for libstdc++.
3660 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3661 * stdlib/tst-tls-atexit.c: New test case.
3662 * stdlib/tst-tls-atexit-lib.c: New test case.
3663
ffaa74cf 3664 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3665
be179c8a
SP
3666 * elf/Versions (ld): Add _dl_find_dso_for_object.
3667 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3668 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3669 (dl_open_worker): Use _dl_find_dso_for_object.
3670 * elf/dl-sym.c (do_sym): Likewise.
3671 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3672
f78b5caa
AK
36732013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3674
3675 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3676 Syntactic changes only.
3677 (_dl_runtime_profile): Do a tail-call to the resolved function.
3678
29691210
JM
36792013-02-17 Joseph Myers <joseph@codesourcery.com>
3680
3681 [BZ #13550]
3682 * sysdeps/x86_64/bp-asm.h: Remove file.
3683 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3684 <bp-sym.h> and <bp-asm.h>.
3685 (__clone): Do not use BP_SYM.
3686 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3687 <bp-sym.h> and <bp-asm.h>.
3688 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3689 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3690 "bp-asm.h".
3691 (_setjmp): Do not use BP_SYM.
3692 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3693 "bp-asm.h".
3694 (setjmp): Do not use BP_SYM.
3695 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3696 libc_hidden_def.
3697 (mempcpy): Do not use BP_SYM in weak_alias.
3698 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3699 "bp-asm.h".
3700 (strchr): Do not use BP_SYM.
3701 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3702 "bp-asm.h".
3703 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3704 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3705 (_start): Do not use BP_SYM.
3706 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3707 "bp-asm.h".
3708 (strcat): Do not use BP_SYM.
3709 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3710 "bp-asm.h".
3711 (STRCMP): Do not use BP_SYM.
3712 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3713 "bp-asm.h".
3714 (STRCPY): Do not use BP_SYM.
3715 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3716 "bp-asm.h".
3717 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3718 "bp-asm.h".
3719 (FUNCTION): Do not use BP_SYM.
3720 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3721 weak_alias.
3722 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3723
f238fd19
AJ
37242013-02-17 Andreas Jaeger <aj@suse.de>
3725
3726 * time/Versions: Sort entries.
3727 * string/Versions: Likewise.
3728 * resolv/Versions: Likewise.
3729 * posix/Versions: Likewise.
3730 * iconv/Versions: Likewise.
3731 * elf/Versions: Likewise.
3732 * wcsmbs/Versions: Likewise.
3733
bd07f23c 37342013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3735
22af19f9
SP
3736 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3737 loop termination condition.
3738
4709fe76
SP
3739 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3740 variable to calculate EZ.
3741 (__sqr): Likewise.
2d0e0f29
SP
3742
3743 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3744 the lower precision input.
3745
daaa7713
JM
37462013-02-15 Joseph Myers <joseph@codesourcery.com>
3747
3748 [BZ #13550]
3749 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3750 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3751 (run-via-rtld-prefix): Do not handle %-bp tests.
3752 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3753 (all-object-suffixes): Remove .ob.
3754 (bppfx): Remove variable.
3755 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3756 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3757 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3758 [$(build-bounded) = yes] (libtype.ob): Likewise.
3759 * Makerules (elide-routines.ob): Remove variable.
3760 (do-tests-clean): Do not handle *-bp.out.
3761 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3762 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3763 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3764 (tests): Do not include $(tests-bp.out).
3765 (xtests): Do not include $(xtests-bp.out).
3766 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3767 [$(build-bounded) = yes] ($(addprefix
3768 $(objpfx),$(binaries-bounded))): Remove rule.
3769 ($(objpfx)%-bp.out): Remove rule.
3770 * config.make.in (build-bounded): Remove variable.
3771 * crypt/Makefile [$(build-bounded) = yes]
3772 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3773 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3774 append to variable.
3775 [$(build-bounded) = yes] (install-lib): Likewise.
3776 [$(build-bounded) = yes] (generated): Likewise.
3777 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3778 Remove rule.
3779 * intl/Makefile [$(build-bounded) = yes]
3780 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3781 * math/Makefile [$(build-bounded) = yes]
3782 ($(tests:%=$(objpfx)%-bp): Likewise.
3783 * misc/Makefile [$(build-bounded) = yes]
3784 ($(objpfx)tst-tsearch-bp): Likewise.
3785 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3786 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3787 Remove dependency.
3788 * string/Makefile (o-objects.ob): Remove variable.
3789 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3790 (CFLAGS-.ob): Remove variable.
3791 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3792 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3793 both definitions of variable.
3794 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3795 (ASFLAGS-.ob): Remove variable.
3796
e97ed6dd
JM
37972013-02-14 Joseph Myers <joseph@codesourcery.com>
3798
2bdd4ca6
JM
3799 [BZ #13550]
3800 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3801 Remove __BOUNDED_POINTERS__ from condition.
3802 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3803 * string/bits/string2.h [!__NO_STRING_INLINES &&
3804 !__BOUNDED_POINTERS__]: Likewise.
3805 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3806 Likewise.
3807 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3808 Remove conditional code.
3809 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3810 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3811 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3812 condition.
3813
e97ed6dd
JM
3814 [BZ #13550]
3815 * csu/libc-start.c: Do not include <bp-sym.h>.
3816 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3817 * elf/dl-open.c: Do not include <bp-sym.h>.
3818 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3819 * math/fegetenv.c: Do not include <bp-sym.h>.
3820 (fegetenv): Do not use BP_SYM in versioned symbols.
3821 * nptl/sysdeps/pthread/bits/libc-lockP.h
3822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3823 <bp-sym.h>.
3824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3825 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3827 (__pthread_mutex_destroy): Likewise.
3828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3829 (__pthread_mutex_lock): Likewise.
3830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3831 (__pthread_mutex_trylock): Likewise.
3832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3833 (__pthread_mutex_unlock): Likewise.
3834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3835 (__pthread_mutexattr_init): Likewise.
3836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3837 (__pthread_mutexattr_destroy): Likewise.
3838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3839 (__pthread_mutexattr_settype): Likewise.
3840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3841 (__pthread_rwlock_init): Likewise.
3842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3843 (__pthread_rwlock_destroy): Likewise.
3844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3845 (__pthread_rwlock_rdlock): Likewise.
3846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3847 (__pthread_rwlock_tryrdlock): Likewise.
3848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3849 (__pthread_rwlock_wrlock): Likewise.
3850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3851 (__pthread_rwlock_trywrlock): Likewise.
3852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3853 (__pthread_rwlock_unlock): Likewise.
3854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3855 (__pthread_key_create): Likewise.
3856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3857 (__pthread_setspecific): Likewise.
3858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3859 (__pthread_getspecific): Likewise.
3860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3861 Likewise.
3862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3863 (_pthread_cleanup_push_defer): Likewise.
3864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3865 (_pthread_cleanup_pop_restore): Likewise.
3866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3867 (pthread_setcancelstate): Likewise.
3868 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3869 <bp-sym.h>.
3870 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3871 (memchr): Do not use BP_SYM in weak_alias.
3872 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3873 (fegetenv): Do not use BP_SYM in versioned symbols.
3874 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3875 (fesetenv): Do not use BP_SYM in versioned symbols.
3876 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3877 (feupdateenv): Do not use BP_SYM in versioned symbols.
3878 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3879 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3880 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3881 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3882 (open64): Do not use BP_SYM in weak_alias.
3883 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3884 (fegetenv): Do not use BP_SYM in versioned symbols.
3885 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3886 (fesetenv): Do not use BP_SYM in versioned symbols.
3887 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3888 (feupdateenv): Do not use BP_SYM in versioned symbols.
3889 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3890 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3891 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3892 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3893 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3894 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3895 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3896 <bp-sym.h>.
3897 (__libc_start_main): Do not use BP_SYM.
3898
d6752ccd
SP
38992013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3900
cb57ce60
SP
3901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3902 redundant return line.
3903 (norm): Likewise.
3904 (denorm): Likewise.
3905 (dbl_mp): Likewise.
3906 (sub_magnitudes): Likewise.
3907 (__add): Likewise.
3908 (__sub): Likewise.
3909 (__mul): Likewise.
3910 (__inv): Likewise.
3911 (__dvd): Likewise.
3912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3913 (norm): Likewise.
3914 (denorm): Likewise.
3915 (dbl_mp): Likewise.
3916 (sub_magnitudes): Likewise.
3917 (__add): Likewise.
3918 (__sub): Likewise.
3919 (__mul): Likewise.
3920 (__inv): Likewise.
3921 (__dvd): Likewise.
3922
f414520d
SP
3923 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3924 instead of __mul.
3925 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3926 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3927 (cc32): Likewise.
3928
d6752ccd
SP
3929 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3930 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3932 of __mul for squares.
3933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3934 function
3935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3936 Likewise.
3937 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3938 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3939
70d9946a
JM
39402013-02-13 Joseph Myers <joseph@codesourcery.com>
3941
3942 [BZ #13550]
3943 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3944 code.
3945 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3946 prototype or function definition. Rename ubp_* variables and
3947 parameters. Remove argv definitions conditional on
3948 [__BOUNDED_POINTERS__].
3949 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3950 * elf/dl-runtime.c (_dl_fixup): Likewise.
3951 * include/set-hooks.h (RUN_HOOK): Likewise.
3952 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3953 definition.
3954 * string/strcpy.c (strcpy): Do not use __unbounded.
3955 * sysdeps/generic/frame.h (struct layout): Likewise.
3956 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3957 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3958 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3959 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3960 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3961 (__backtrace): Likewise.
3962 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3963 use __ptrvalue.
3964 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3965 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3966 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3967 Likewise.
3968 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3969 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3970 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3971 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3972 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3973 Do not use __unbounded.
3974 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3975 Rename __unboundedrlimits parameter to rlimits in prototype.
3976 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3977 Do not use __unbounded.
3978 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3979 not use __ptrvalue.
3980 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3981 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3982 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3983 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3984 __ptrvalue or __unbounded.
3985 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3986 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3987 use __unbounded.
3988 (__new_msgctl): Do not use __ptrvalue.
3989 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3990 __unbounded.
3991 (__libc_msgrcv): Do not use __ptrvalue.
3992 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3993 startup_info): Do not use __unbounded.
3994 (__libc_start_main): Likewise. Rename ubp_* variables and
3995 parameters. Remove argv definitions conditional on
3996 [__BOUNDED_POINTERS__].
3997 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3998 __ptrvalue.
3999 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4000 use __unbounded.
4001 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4002 or __ptrvalue.
4003 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4004 use __unbounded.
4005 (__new_shmctl): Do not use __ptrvalue.
4006 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4007 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4008 Likewise.
4009 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4010 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4011 (__libc_sigaction): Likewise.
4012 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4013 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4014 Likewise.
4015 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4016
cc7834d6
OB
40172013-02-13 Ondřej Bílka <neleai@seznam.cz>
4018
ffb1ec7b 4019 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
4020
4021 * string/mempcpy.c: Implement by calling memcpy.
4022
bdf02814
SP
40232013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4024
c2af38aa
SP
4025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4026
4e92d59e
SP
4027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4028 evaluation.
4029
909279a5
SP
4030 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4031 values in the mantissa.
4032
bdf02814
SP
4033 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4034 minimize writes to Z.
4035 (sub_magnitudes): Simplify code a bit.
4036
cd525923
RM
40372013-02-12 Roland McGrath <roland@hack.frob.com>
4038
4039 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4040 from the message. The linker prefixes all warnings with that already.
4041
7e2f0d2d
AS
40422013-02-12 Andreas Schwab <schwab@suse.de>
4043
a445af0b
AS
4044 [BZ #15078]
4045 * posix/regexec.c (extend_buffers): Add parameter min_len.
4046 (check_matching): Pass minimum needed length.
4047 (clean_state_log_if_needed): Likewise.
4048 (get_subexp): Likewise.
4049 * posix/Makefile (tests): Add bug-regex34.
4050 (bug-regex34-ENV): Define.
4051 * posix/bug-regex34.c: New file.
4052
7e2f0d2d
AS
4053 [BZ #11561]
4054 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4055 elements compare against the byte sequence of it, not its name.
4056 * posix/Makefile (tests): Add bug-regex35.
4057 (bug-regex35-ENV): Define.
4058 * posix/bug-regex35.c: New file.
4059
a175b684
TV
40602013-02-11 Tom de Vries <tom@codesourcery.com>
4061
4062 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4063 comment.
4064 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4065 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4066 (CHECK_EOL): Add undef.
4067
310998fe 40682013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
4069
4070 * bits/stdlib-bsearch.h: New file.
4071 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 4072 * stdlib/stdlib.h: Likewise.
41eda41d 4073
8ded91fb
RM
40742013-02-11 Roland McGrath <roland@hack.frob.com>
4075
4076 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4077 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4078 declaration.
4079 * manual/search.texi (Array Search Function): Add missing const in
4080 lfind prototype.
4081 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4082 declaration to use rlim_t.
4083 (Basic Scheduling Functions): Remove erroneous const from
4084 sched_getparam prototype. Remove erroneous * from
4085 sched_get_priority_max and sched_get_priority_min prototypes.
4086 (Resource Usage): Fix summary @comment on vtimes to refer to
4087 sys/vtimes.h rather than vtimes.h.
4088 Add missing *s in vtimes prototype.
4089 (Limits on Resources): Fix ulimit prototype to return long int.
4090 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4091 prototypes to use long int rather than double.
4092 (BSD Random): Fix initstate and setstate to use char *, not void *.
4093 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4094 prototype to make second argument 'struct aiocb64 *const[]'.
4095 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4096 (Status of AIO Operations): Remove erroneous const in aio_return and
4097 aio_return64 prototypes.
4098 (Synchronizing I/O): Fix sync prototype to return void.
4099 * manual/startup.texi (Suboptions): Remove an erroneous const in
4100 getsubopt prototype.
4101 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4102 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4103 use size_t rather than int.
4104 (Scanning All Users): Likewise for getpwent_r.
4105 (Setting Groups): Add missing const to setgroups prototype.
4106 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4107 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4108 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4109 'const void *' rather than 'const char *'.
4110 (Host Address Functions): Likewise for inet_ntop.
4111 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4112 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4113 ssize_t for return value.
4114 (Sending Data): Likewise for send, sendto, sendmsg.
4115 (Socket Option Functions): Add a missing const in setsockopt prototype.
4116 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4117 use wchar_t for the argument.
4118 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4119 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4120 take no arguments.
4121 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4122 double/float/long double for second argument.
4123 Fix return types of significand, significandf, significandl.
4124 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4125 argument in fchmod prototype.
4126 (File Owner): Use uid_t and gid_t in fchown prototype.
4127 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4128 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4129 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4130 use 'const struct dirent **' as argument types to CMP function pointer
4131 argument.
4132 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4133 (File Times): Fix summary magic @comment for struct utimbuf and utime
4134 to refer to utime.h, not time.h.
4135 * manual/string.texi (Argz Functions): Add missing const in
4136 argz_extract and argz_next prototypes.
4137 (Finding Tokens in a String): Likewise for basename.
4138 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4139 (Copying and Concatenation): Fix typo in wmemmove prototype.
4140 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4141 (Signal Stack): Remove erroneous const in sigstack prototype.
4142 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4143 prototype.
4144 (Simple Calendar Time): Likewise for stime.
4145 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4146 prototype.
4147 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4148 say sys/sysctl.h instead.
4149 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4150 and vsyslog prototypes.
4151
fe77fe6d
TV
41522013-02-11 Tom de Vries <tom@codesourcery.com>
4153
4154 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4155 Remove.
4156
3a09b620
RM
41572013-02-11 Roland McGrath <roland@hack.frob.com>
4158
4159 * misc/sys/mman.h: Fix typo in mremap comment.
4160
550a0b89
RM
41612013-02-08 Roland McGrath <roland@hack.frob.com>
4162
4163 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4164 the '\0' terminator.
4165
a2da1673
JM
41662013-02-08 Joseph Myers <joseph@codesourcery.com>
4167
4168 [BZ #13550]
4169 * debug/segfault.c: Don't include <bp-checks.h>.
4170 * sysdeps/generic/bp-checks.h: Remove file.
4171 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4172 (__GETDENTS): Don't use CHECK_N.
4173 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4174 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4175 (__getgroups): Don't use CHECK_N.
4176 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4177 (setgroups): Don't use CHECK_N.
4178 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4179 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4180 (__libc_msgrcv): Don't use CHECK_N.
4181 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4182 (__libc_msgsnd): Don't use CHECK_N.
4183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4184 <bp-checks.h>.
4185 (__libc_pread): Don't use CHECK_N.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4187 include <bp-checks.h>.
4188 (__libc_pread64): Don't use CHECK_N.
4189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4190 include <bp-checks.h>.
4191 (__libc_pwrite): Don't use CHECK_N.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4193 include <bp-checks.h>.
4194 (__libc_pwrite64): Don't use CHECK_N.
4195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4196 <bp-checks.h>.
4197 (__libc_pread): Don't use CHECK_N.
4198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4199 include <bp-checks.h>.
4200 (__libc_pread64): Don't use CHECK_N.
4201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4202 include <bp-checks.h>.
4203 (__libc_pwrite): Don't use CHECK_N.
4204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4205 include <bp-checks.h>.
4206 (__libc_pwrite64): Don't use CHECK_N.
4207 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4208 (do_pread): Don't use CHECK_N.
4209 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4210 (do_pread64): Don't use CHECK_N.
4211 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4212 (do_pwrite): Don't use CHECK_N.
4213 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4214 (do_pwrite64): Don't use CHECK_N.
4215 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4216 (__libc_readv): Don't use CHECK_N.
4217 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4218 (semop): Don't use CHECK_N.
4219 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4220 <bp-checks.h>.
4221 (semtimedop): Don't use CHECK_N.
4222 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4223 (__libc_pread): Don't use CHECK_N.
4224 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4225 <bp-checks.h>.
4226 (__libc_pread64): Don't use CHECK_N.
4227 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4228 <bp-checks.h>.
4229 (__libc_pwrite): Don't use CHECK_N.
4230 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4231 <bp-checks.h>.
4232 (__libc_pwrite64): Don't use CHECK_N.
4233 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4234 <bp-checks.h>.
4235 (__libc_msgrcv): Don't use CHECK_N.
4236 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4237 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4238 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4239 (__libc_writev): Don't use CHECK_N.
4240
b84660a8
RM
42412013-02-08 Roland McGrath <roland@hack.frob.com>
4242
7f3e75f8
RM
4243 * string/strcpy.c: Removed unused variable.
4244
b84660a8
RM
4245 * Makeconfig (+sysdep-includes): Define with := rather than =.
4246 Use an existing include/ subdir of each sysdeps dir before it.
4247
471514d3
CD
42482013-02-08 Carlos O'Donell <carlos@redhat.com>
4249
4250 * nscd/connection.c (register_traced_file): Comment function.
4251 [HAVE_INOTIFY] (union __inev): Define.
4252 [HAVE_INOTIFY] (inotify_check_files): New function.
4253 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4254 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4255 clear_db_cache.
4256 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4257
b2d3c3be
CD
42582013-02-08 Carlos O'Donell <carlos@redhat.com>
4259
4260 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4261 loaded if not already and that a failure is permanent.
4262
b39949d2
CD
42632013-02-08 Carlos O'Donell <carlos@redhat.com>
4264
ddacd1db 4265 [BZ #15006]
b39949d2
CD
4266 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4267 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4268
b2c9eff4
JM
42692013-02-08 Joseph Myers <joseph@codesourcery.com>
4270
f3aae3f3
JM
4271 [BZ #13550]
4272 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4273 (CHECK_1_NULL_OK): Likewise.
4274 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4275 (__fxstat): Do not use CHECK_1.
4276 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4277 <bp-checks.h>.
4278 (___fxstat64): Do not use CHECK_1.
4279 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4280 <bp-checks.h>.
4281 (__fxstatat): Do not use CHECK_1.
4282 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4283 <bp-checks.h>.
4284 (__fxstatat64): Do not use CHECK_1.
4285 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4286 <bp-checks.h>.
4287 (__fxstat): Do not use CHECK_1.
4288 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4289 <bp-checks.h>.
4290 (__fxstatat): Do not use CHECK_1.
4291 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4292 <bp-checks.h>.
4293 (__getresgid): Do not use CHECK_1.
4294 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4295 <bp-checks.h>.
4296 (__getresuid): Do not use CHECK_1.
4297 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4298 <bp-checks.h>.
4299 (__lxstat): Do not use CHECK_1.
4300 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4301 <bp-checks.h>.
4302 (__old_msgctl): Do not use CHECK_1.
4303 (__new_msgctl): Likewise.
4304 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4305 <bp-checks.h>.
4306 (__new_setrlimit): Do not use CHECK_1.
4307 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4308 <bp-checks.h>.
4309 (__old_shmctl): Do not use CHECK_1.
4310 (__new_shmctl): Likewise.
4311 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4312 <bp-checks.h>.
4313 (__xstat): Do not use CHECK_1.
4314 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4315 (__lxstat): Do not use CHECK_1.
4316 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4317 <bp-checks.h>.
4318 (___lxstat64): Do not use CHECK_1.
4319 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4320 (__old_msgctl): Do not use CHECK_1.
4321 (__new_msgctl): Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4323 <bp-checks.h>.
4324 (__gettimeofday): Do not use CHECK_1.
4325 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4326 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4327 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4328 <bp-checks.h>.
4329 (__gettimeofday): Do not use CHECK_1.
4330 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4331 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4332 (__new_shmctl): Do not use CHECK_1.
4333 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4334 <bp-checks.h>.
4335 (do_sigtimedwait): Do not use CHECK_1.
4336 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4337 <bp-checks.h>.
4338 (do_sigwaitinfo): Do not use CHECK_1.
4339 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4340 <bp-checks.h>.
4341 (msgctl): Do not use CHECK_1.
4342 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4343 <bp-checks.h>.
4344 (shmctl): Do not use CHECK_1.
4345 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4346 (ustat): Do not use CHECK_1.
4347 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4348 <bp-checks.h>.
4349 (__fxstat): Do not use CHECK_1.
4350 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4351 <bp-checks.h>.
4352 (__fxstatat): Do not use CHECK_1.
4353 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4354 <bp-checks.h>.
4355 (__lxstat): Do not use CHECK_1.
4356 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4357 <bp-checks.h>.
4358 (__xstat): Do not use CHECK_1.
4359 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4360 (__xstat): Do not use CHECK_1.
4361 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4362 (___xstat64): Do not use CHECK_1.
4363
b2c9eff4
JM
4364 [BZ #13550]
4365 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4366 definitions.
4367 (CHECK_BOUNDS_HIGH): Likewise.
4368 * string/strcpy.c: Do not include <bp-checks.h>.
4369 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4370
f1d70dad
RM
43712013-02-07 Roland McGrath <roland@hack.frob.com>
4372
4373 * nscd/nscd-client.h (__nscd_drop_map_ref):
4374 Add __attribute__ ((unused)).
4375 * nis/nss-nisplus.h (niserr2nss): Likewise.
4376
4377 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4378 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4379
4380 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4381 Remove inline keyword.
4382 * include/rounding-mode.h (round_away): Likewise.
4383 * libio/wfileops.c (adjust_wide_data): Likewise.
4384 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4385 (__m128i_strloadu_tolower): Likewise.
4386 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4387 (__m128i_strloadu_tolower): Likewise.
4388 * time/mktime.c (ydhms_diff): Likewise.
4389 * locale/elem-hash.h (elem_hash): Likewise.
4390 * locale/setlocale.c (setdata): Likewise.
4391 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4392 (re_string_wchar_at): Likewise.
4393 (bitset_not, bitset_merge, bitset_mask): Likewise.
4394 [!(__GNUC__ > 3)] (inline): Remove macro.
4395 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4396 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4397 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4398 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4399 * string/memcmp.c (memcmp_bytes): Likewise.
4400 * locale/programs/locarchive.c (compute_hashval): Likewise.
4401 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4402 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4403 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4404 * nss/getent.c (print_rpc, print_protocols): Likewise.
4405 (print_passwd, print_group, print_aliases): Likewise.
4406 * nis/nss-nisplus.h (niserr2nss): Likewise.
4407 * nscd/connections.c (restart_p): Likewise.
4408 Change return type to bool.
4409
eab55bfb
RM
44102013-02-05 Roland McGrath <roland@hack.frob.com>
4411
7bd642f5
RM
4412 * Makeconfig (all-Depend-files): Add existing
4413 $(sorted-subdirs:=/Depend) files.
4414 (all-subdirs): Remove nss.
4415 * sysdeps/unix/inet/Subdirs: Add it here instead.
4416 * hesiod/Depend: New file.
4417
573c29b2
RM
4418 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4419 instead of calling alloca.
4420
b2e25af0
RM
4421 * io/lseek.c (__lseek): Rename to __libc_lseek.
4422 Define __lseek as an alias.
4423
eab55bfb
RM
4424 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4425
9a0d1941
CD
44262013-02-04 Carlos O'Donell <carlos@redhat.com>
4427
4428 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4429 else clause and remove check for non-standard endianness.
4430
b83bbec4
DM
44312013-02-04 David S. Miller <davem@davemloft.net>
4432
4433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4434
6277fdab
JM
44352013-02-04 Joseph Myers <joseph@codesourcery.com>
4436
4437 [BZ #13550]
4438 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4439 (__ubp_memchr): Remove prototype.
4440 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4441 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4442 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4443 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4444 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4445 Remove alias.
4446 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4447 (__ubp_memchr): Likewise.
4448 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4449 (__ubp_memchr): Likewise.
4450 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4451 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4452 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4453 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4454 CHECK_STRING.
4455 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4456 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4457 (__getcwd): Do not use CHECK_STRING.
4458 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4459 <bp-checks.h>.
4460 (__real_chown): Do not use CHECK_STRING.
4461 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4462 <bp-checks.h>.
4463 (fchownat): Do not use CHECK_STRING.
4464 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4465 CHECK_STRING.
4466 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4467 <bp-checks.h>.
4468 (__lchown): Do not use CHECK_STRING.
4469 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4470 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4471 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4472 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4474 include <bp-checks.h>.
4475 (truncate64): Do not use CHECK_STRING.
4476 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4477 <bp-checks.h>.
4478 (__real_chown): Do not use CHECK_STRING.
4479 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4480 <bp-checks.h>.
4481 (__lchown): Do not use CHECK_STRING.
4482 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4483 <bp-checks.h>.
4484 (__chown): Do not use CHECK_STRING.
4485 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4486 <bp-checks.h>.
4487 (truncate64): Do not use CHECK_STRING.
4488 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4489 Likewise.
4490 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4491 (__xmknod): Do not use CHECK_STRING.
4492 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4493 <bp-checks.h>.
4494 (__xmknodat): Do not use CHECK_STRING.
4495 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4496 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4497
903ae060
AS
44982013-02-04 Andreas Schwab <schwab@suse.de>
4499
4500 [BZ #14142]
4501 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4502 * include/netdb.h: Likewise for h_errno.
4503 * elf/tst-stackguard1.c: Include <tls.h>.
4504
542f9466
JK
45052013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4506
4507 * elf/link.h (struct link_map): Extend the l_addr comment.
4508 * include/link.h (struct link_map): Likewise.
4509
e782a927
JM
45102013-02-01 Joseph Myers <joseph@codesourcery.com>
4511
4512 [BZ #13550]
4513 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4514 (BOUNDED_1): Remove macro.
4515 * debug/backtrace.c: Don't include <bp-checks.h>.
4516 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4517 (__backtrace): Likewise.
4518 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4519 <bp-checks.h>.
4520 (__backtrace): Don't use BOUNDED_1.
4521 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4522 <bp-checks.h>.
4523 (__backtrace): Don't use BOUNDED_1.
4524 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4525 (__backtrace): Don't use BOUNDED_1.
4526 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4527 (shmat): Don't use BOUNDED_N.
4528
8cf28c5e
JM
45292013-01-31 Joseph Myers <joseph@codesourcery.com>
4530
3a7ac8a0
JM
4531 [BZ #13550]
4532 * sysdeps/generic/bp-start.h: Remove file.
4533 * csu/libc-start.c: Don't include <bp-start.h>.
4534 (LIBC_START_MAIN): Set up __environ directly instead of using
4535 INIT_ARGV_and_ENVIRON.
4536 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4537 <bp-start.h>.
4538
f3499f95
JM
4539 [BZ #13550]
4540 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4541 definitions.
4542 (CHECK_FCNTL): Likewise.
4543 (CHECK_N_PAGES): Likewise.
4544
32a45bea
JM
4545 [BZ #13550]
4546 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4547 definitions.
4548 (CHECK_SIGSET_NULL_OK): Likewise.
4549 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4550 <bp-checks.h>.
4551 (sigpending): Don't use CHECK_SIGSET.
4552 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4553 <bp-checks.h>.
4554 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4555 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4556 <bp-checks.h>.
4557 (do_sigsuspend): Don't use CHECK_SIGSET.
4558 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4559 use CHECK_SIGSET.
4560 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4561 (do_sigwait): Don't use CHECK_SIGSET.
4562 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4563 use CHECK_SIGSET.
4564 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4565 include <bp-checks.h>.
4566 (sigpending): Don't use CHECK_SIGSET.
4567 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4568 include <bp-checks.h>.
4569 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4570 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4571 <bp-checks.h>.
4572 (sigpending): Don't use CHECK_SIGSET.
4573 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4574 <bp-checks.h>.
4575 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4576
2e8a5c8c
JM
4577 [BZ #13550]
4578 * sysdeps/generic/bp-semctl.h: Remove file.
4579 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4580 <bp-checks.h> and <bp-semctl.h>.
4581 (__old_semctl): Don't use CHECK_SEMCTL.
4582 (__new_semctl): Likewise.
4583 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4584 and <bp-semctl.h>.
4585 (__old_semctl): Don't use CHECK_SEMCTL.
4586 (__new_semctl): Likewise.
4587 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4588 <bp-checks.h> and <bp-semctl.h>.
4589 (__old_semctl): Don't use CHECK_SEMCTL.
4590 (__new_semctl): Likewise.
4591 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4592 <bp-checks.h> and <bp-semctl.h>.
4593 (semctl): Don't use CHECK_SEMCTL.
4594
c2d54929
JM
4595 [BZ #13550]
4596 * Makerules (elide-bp-thunks): Remove variable.
4597 (elide-routines.oS): Don't use $(elide-bp-thunks).
4598 (elide-routines.os): Likewise.
4599 (elide-routines.o): Likewise.
4600 (elide-routines.op): Likewise.
4601 (elide-routines.og): Likewise.
4602 (objects): Don't use $(bp-thunks).
4603 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4604 include.
4605 (common-generated): Do not add s-proto-bp.d.
4606 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4607 (int): Likewise.
4608 (typ): Likewise.
4609 Do not generate makefile rules for bounded-pointer thunks.
4610 * sysdeps/generic/bp-thunks.h: Remove file.
4611 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4612 * sysdeps/unix/s-proto-bp.S: Likewise.
4613
8cf28c5e
JM
4614 [BZ #15062]
4615 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4616 parts of result separately when argument is not close to line from
4617 -i to i and one part of argument is small.
4618 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4619 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4620 * math/libm-test.inc (cacos_test): Add more tests.
4621 (casin_test): Likewise.
4622 (casinh_test): Likewise.
4623 * sysdeps/i386/fpu/libm-test-ulps: Update.
4624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4625
c4e33b8d
DM
46262013-01-31 David S. Miller <davem@davemloft.net>
4627
4628 * po/de.po: Update from translation team.
4629
3b60b421
MK
46302013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4631
4632 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4633
bb931195
TS
46342013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4635
b5a5da23
TS
4636 * configure.in (_AC_PROG_CC_C89): New definition.
4637 * configure: Regenerate.
4638
bb931195
TS
4639 * configure.in (AC_PROG_CPP): New definition.
4640 * configure: Regenerate.
4641
8c53a12c
JM
46422013-01-23 Joseph Myers <joseph@codesourcery.com>
4643
4644 * debug/tst-backtrace.h: New file.
4645 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4646 (ret): Remove variable.
4647 (x): Likewise.
4648 (FAIL): Remove macro.
4649 (NO_INLINE): Likewise.
4650 (fn1): Use match function instead of strstr.
4651 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4652 (ret): Remove variable.
4653 (x): Likewise.
4654 (FAIL): Remove macro.
4655 (NO_INLINE): Likewise.
4656 (fn): Use match function instead of strstr.
4657 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4658 (ret): Remove variable.
4659 (x): Likewise.
4660 (FAIL): Remove macro.
4661 (NO_INLINE): Likewise.
4662 (handle_signal): Use match function instead of strstr.
4663 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4664 (ret): Remove variable.
4665 (x): Likewise.
4666 (FAIL): Remove macro.
4667 (NO_INLINE): Likewise.
4668 (handle_signal): Use match function instead of strstr.
4669
4858fa2a
RM
46702013-01-23 Roland McGrath <roland@hack.frob.com>
4671
4672 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4673
bae8e7f5
DM
46742013-01-23 David S. Miller <davem@davemloft.net>
4675
4676 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4677 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4678 argument of CAS if possible.
4679 * sysdeps/sparc/sparc64/bits/atomic.h
4680 (__arch_compare_and_exchange_val_32_acq): Likewise.
4681 (__arch_compare_and_exchange_val_64_acq): Likewise.
4682
9cbbc4ae
PT
46832013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4684
4685 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4686 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4687 Include <limits.h>.
67b3f58c 4688 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4689
5655a0b5
AC
46902013-01-23 Adam Conrad <adconrad@0c3.net>
4691
4692 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4693 (LDFLAGS-tst-array5): Likewise.
4694
052aff95
JM
46952013-01-23 Joseph Myers <joseph@codesourcery.com>
4696
4697 [BZ #15036]
4698 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4699 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4700 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4701 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4702
7c1e01aa
DM
47032013-01-21 David S. Miller <davem@davemloft.net>
4704
4705 * sysdeps/sparc/backtrace.c: New file.
4706 * sysdeps/sparc/sparc32/backtrace.h: New file.
4707 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4708 * sysdeps/sparc/sparc64/backtrace.h: New file.
4709 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4710 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4711 -funwind-tables.
4712
ab087e0a
AS
47132013-01-21 Andreas Schwab <schwab@suse.de>
4714
4715 [BZ #15020]
4716 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4717 closed its stdout.
4718
ed689c2f
AS
47192013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4720
4721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4722 "mpa2.h".
4723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4724
31d470ac
JM
47252013-01-18 Joseph Myers <joseph@codesourcery.com>
4726 Mark Mitchell <mark@codesourcery.com>
4727 Tom de Vries <tom@codesourcery.com>
4728 Paul Pluzhnikov <ppluzhnikov@google.com>
4729
4730 * debug/tst-backtrace2.c: New file.
4731 * debug/tst-backtrace3.c: Likewise.
4732 * debug/tst-backtrace4.c: Likewise.
4733 * debug/tst-backtrace5.c: Likewise.
4734 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4735 (CFLAGS-tst-backtrace3.c): Likewise.
4736 (CFLAGS-tst-backtrace4.c): Likewise.
4737 (CFLAGS-tst-backtrace5.c): Likewise.
4738 (LDFLAGS-tst-backtrace2): Likewise.
4739 (LDFLAGS-tst-backtrace3): Likewise.
4740 (LDFLAGS-tst-backtrace4): Likewise.
4741 (LDFLAGS-tst-backtrace5): Likewise.
4742 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4743 tst-backtrace4 and tst-backtrace5.
4744
90567f30 47452013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4746 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4747
4748 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4749 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4750 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4751 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4753 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4754 "+r" and remove output regs list as redundant. Add explicit inline
4755 asm to specify register of return val to work around compiler codegen
4756 bug. Remove (int) cast on return value. Add return type parameter to
4757 use in macro so that this macro does not truncate return value for
4758 64-bit values.
4759 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4760 pass to INTERNAL_VSYSCALL_NCS.
4761 (INLINE_VSYSCALL): Add 'long int' as return type to
4762 INTERNAL_VSYSCALL_NCS macro invocation.
4763 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4764 INTERNAL_VSYSCALL_NCS macro invocation.
4765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4766
d3b9ea61
SP
47672013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4768
0b57daeb
SP
4769 [BZ #14496]
4770 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4771 Fix application of SIMD FP exception mask.
4772
caa99d06
SP
4773 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4774 mp_no from a power of two.
4775 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4776 __mpexp_twomm1. Use __pow_mp.
4777
d3b9ea61
SP
4778 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4779 multiplication.
4780
1dbaee3c
DM
47812013-01-17 David S. Miller <davem@davemloft.net>
4782
4783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4784
728d7b43
JM
47852013-01-17 Joseph Myers <joseph@codesourcery.com>
4786
4787 [BZ #15023]
4788 * include/complex.h: Condition contents on [!_COMPLEX_H].
4789 (__kernel_casinhf): New prototype.
4790 (__kernel_casinh): Likewise.
4791 (__kernel_casinhl): Likewise.
4792 * math/Makefile (libm_calls): Add k_casinh.
4793 * math/k_casinh.c: New file.
4794 * math/k_casinhf.c: Likewise.
4795 * math/k_casinhl.c: Likewise.
4796 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4797 finite nonzero arguments.
4798 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4799 finite nonzero arguments.
4800 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4801 finite nonzero arguments.
4802 * math/s_casinh.c: Do not include <float.h>.
4803 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4804 * math/s_casinhf.c: Do not include <float.h>.
4805 (__casinhf): Move code for finite nonzero arguments to
4806 k_casinhf.c.
4807 * math/s_casinhl.c: Do not include <float.h>.
4808 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4809 redefine.
4810 (__casinhl): Move code for finite nonzero arguments to
4811 k_casinhl.c.
4812 * math/libm-test.inc (cacos_test): Add more tests.
4813 * sysdeps/i386/fpu/libm-test-ulps: Update.
4814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4815
2a26ef3a
PT
48162013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4817
4818 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4819 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4820 [!HAVE_MREMAP]: Remove [defined linux] case.
4821 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4822
a897655d
SP
48232013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4824
4825 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4826
881ebe89 48272013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4828
4829 * elf/elf.h (R_386_SIZE32): New relocation.
4830 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4831 R_386_SIZE32.
4832 (elf_machine_rela): Likewise.
4833 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4834 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4835
59981e9b
JM
48362013-01-17 Joseph Myers <joseph@codesourcery.com>
4837
4838 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4839 (FP_FAST_FMA): Do not define.
4840 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4841 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4842 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4843 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4844 !_SOFT_FLOAT]: Likewise.
4845 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4846 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4847 value.
4848 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4849 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4850 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4851 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4852 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4853 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4854 file.
4855
cfa8054f
AS
48562013-01-16 Andreas Schwab <schwab@suse.de>
4857
4858 [BZ #14327]
4859 * include/stdlib.h (__mktemp): Add declaration.
4860 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4861 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4862
dd930cc5
SP
48632013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4864
881ebe89
SP
4865 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4866 definitions.
4867 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4868 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4869 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4870 definitions here.
4871 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4872 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4873 definitions.
4874 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4875 and ONE.
4876 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4877 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4878 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4879 definitions.
4880 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4881 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4882 definitions.
4883 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4884
dd930cc5
SP
4885 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4886
c19a9f89
DM
48872013-01-15 David S. Miller <davem@davemloft.net>
4888
1aa61767
DM
4889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4890 trunc{,f} to libm-sysdep_routes.
4891 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4893 file.
4894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4896 file.
4897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4898 file.
4899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4901 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4902 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4903 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4904 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4905 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4906 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4907
c42d5e98
DM
4908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4909 nearbyint{,f} to libm-sysdep_routes.
4910 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4912 New file.
4913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4914 file.
4915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4916 New file.
4917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4918 file.
4919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4921 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4922 file.
4923 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4924 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4925 file.
4926 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4927 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4928 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4929
c19a9f89
DM
4930 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4931 libc_feholdexcept and libc_fesetenv.
4932
357679d2
MF
49332013-01-15 Mike Frysinger <vapier@gentoo.org>
4934
4935 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4936
65a82e3d
DM
49372013-01-14 David S. Miller <davem@davemloft.net>
4938
8b954ab9
DM
4939 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4940 (SPARC_ASM_VIS2_IFUNC): Likewise.
4941 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4943 use of 'siam' instruction.
4944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4945 Likewise.
4946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4947 Likewise.
4948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4949 Likewise.
4950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4955 file.
4956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4957 file.
4958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4959 file.
4960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4961 file.
4962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4963 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4967 new VIS2 routines.
4968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4971 Likewise.
4972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4977 routines to libm-sysdep_routines.
4978 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4979
65a82e3d
DM
4980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4981 fdim/fdimf to libm-sysdep_routines.
4982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4983 file.
4984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4986 file.
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4990 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4991 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4992 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4993 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4994
e34ab705
SP
49952013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4996
2a91b573
SP
4997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4998 to optimize copies.
4999
1066a534
SP
5000 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5003
e34ab705
SP
5004 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5005 local variable MPTWO.
5006 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5007 Likewise.
5008
aba5e596
MF
50092013-01-13 Mike Frysinger <vapier@gentoo.org>
5010
5011 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5012 GLOB_NOESCAPE.
5013
e557e9e5
MF
50142013-01-13 Mike Frysinger <vapier@gentoo.org>
5015
5016 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5017
0428cec9
MF
50182013-01-13 Mike Frysinger <vapier@gentoo.org>
5019
5020 * manual/pattern.texi (glob_t): Document gl_flags.
5021 (glob64_t): Likewise.
5022
8794a964
DM
50232013-01-11 David S. Miller <davem@davemloft.net>
5024
66438c3f
RM
5025 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5026 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5027 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
5028 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5029 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5030 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5031 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5032 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5033 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5034 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5035 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5036 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5037 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5038
4ae4244d
DM
5039 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5040 sparc V9 rather than using V8 code.
5041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5043
8794a964
DM
5044 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5045 Move to...
5046 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5047 Here.
5048
6270516e
RM
50492013-01-11 Roland McGrath <roland@hack.frob.com>
5050
5051 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5052 not in the main loop.
5053 * configure: Regenerated.
5054
6a57d931
JM
50552013-01-11 Joseph Myers <joseph@codesourcery.com>
5056
5057 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5058 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5059 to just #else.
5060 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5061 [!__GLIBC_HAVE_LONG_LONG] case.
5062 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5063 condition to just #else.
5064 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5065 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5066 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5067 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5068 unconditional.
5069 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5070 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5071 #elif condition to just #else.
5072 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5073 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5074 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5075 #elif condition to just #else.
5076
0e8529e9
SE
50772013-01-11 Steve Ellcey <sellcey@mips.com>
5078
5079 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5080 (EF_MIPS_ARCH_64): Fix value.
5081 (EF_MIPS_ARCH_32R2): New.
5082 (EF_MIPS_ARCH_64R2): New.
5083
740b3dbe
L
50842013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5085
5086 * Makeconfig (+link-pie-before-libc): New.
5087 (+link-pie-after-libc): Likewise.
5088 (+link-pie-tests): Likewise.
5089 (+link-pie): Rewritten.
5090 (link-before-libc): Remove $(config-LDFLAGS).
5091 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5092 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5093 (config-LDFLAGS): Renamed to ...
5094 (rtld-LDFLAGS): This.
5095 (rtld-tests-LDFLAGS): New macro.
5096 (link-libc-rpath-link): Likewise.
5097 (link-libc-tests-rpath-link): Likewise.
5098 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5099 (link-libc): Prepand $(link-libc-rpath-link).
5100 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5101 (test-program-prefix): New macro.
5102 (test-via-rtld-prefix): Likewise.
5103 (test-program-cmd): Likewise.
5104 (host-test-program-cmd): Likewise.
5105 * Makefile ($(common-objpfx)testrun.sh): Replace
5106 $(run-program-prefix) with $(test-program-prefix).
5107 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5108 $(rtld-LDFLAGS).
5109 ($(common-objpfx)shlib.lds): Likewise.
5110 (build-module-helper): Likewise.
5111 ($(common-objpfx)format.lds): Likewise.
5112 * Rules (binaries-pie-tests): New.
5113 (binaries-pie-notests): Likewise.
5114 (binaries-pie): Rewritten.
5115 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5116 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5117 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5118 (make-test-out): Replace $(host-built-program-cmd) with
5119 $(host-test-program-cmd).
5120 * config.make.in (build-hardcoded-path-in-tests): New variable.
5121 * configure.in (--enable-hardcoded-path-in-tests): New configure
5122 option.
5123 (hardcoded_path_in_tests): New AC_SUBST.
5124 * configure: Regenerated.
5125 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5126 $(built-program-cmd) with $(test-program-cmd).
5127 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5128 (test_program_cmd): This.
5129 * elf/Makefile ($(objpfx)order.out): Run test with
5130 $(test-program-prefix).
5131 ($(objpfx)order2.out): Likewise.
5132 ($(objpfx)tst-initorder.out): Likewise.
5133 ($(objpfx)tst-initorder2.out): Likewise.
5134 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5135 $(test-program-cmd).
5136 ($(objpfx)tst-array1-static.out): Likewise.
5137 ($(objpfx)tst-array2.out): Likewise.
5138 ($(objpfx)tst-array3.out): Likewise.
5139 ($(objpfx)tst-array4.out): Likewise.
5140 ($(objpfx)tst-array5.out): Likewise.
5141 ($(objpfx)tst-array5-static.out): Likewise.
5142 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5143 $(test-program-cmd).
5144 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5145 $(run-program-prefix) with $(test-program-prefix).
5146 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5147 (test_program_prefix): This.
5148 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5149 $(run-program-prefix) with $(test-program-prefix).
5150 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5151 (test_program_prefix): This.
5152 * iconvdata/tst-tables.sh: Likewise.
5153 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5154 $(run-program-prefix) with $(test-program-prefix).
5155 ($(objpfx)tst-translit.out): Likewise.
5156 ($(objpfx)tst-gettext2.out): Likewise.
5157 ($(objpfx)tst-gettext4.out): Likewise.
5158 ($(objpfx)tst-gettext6.out): Likewise.
5159 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5160 (test_program_prefix): This.
5161 * intl/tst-gettext2.sh: Likewise.
5162 * intl/tst-gettext4.sh Likewise.
5163 * intl/tst-gettext6.sh: Likewise.
5164 * intl/tst-translit.sh: Likewise.
5165 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5166 with $(test-program-cmd).
5167 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5168 $(run-program-prefix) with $(test-program-prefix).
5169 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5170 (test_program_prefix): This.
5171 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5172 $(run-program-prefix) with $(test-program-prefix).
5173 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5174 (test_program_prefix): This.
5175 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5176 * posix/Makefile ($(objpfx)globtest.out): Replace
5177 $(run-via-rtld-prefix) and $(test-wrapper) with
5178 $(test-program-prefix) and $(test-via-rtld-prefix).
5179 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5180 $(test-program-prefix).
5181 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5182 $(host-test-program-cmd).
5183 (tst-spawn-ARGS): Likewise.
5184 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5185 $(test-program-prefix).
5186 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5187 (test_via_rtld_prefix): This.
5188 (test_wrapper): Renamed to ...
5189 (test_program_prefix): This.
5190 (run_program_prefix): Replaced by test_program_prefix.
5191 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5192 (test_program_prefix): This.
5193 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5194 with $(host-test-program-cmd).
5195 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5196 $(run-program-prefix) with $(test-program-prefix).
5197 ($(objpfx)tst-printf.out): Likewise.
5198 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5199 $(test-program-cmd).
5200 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5201 (test_program_prefix): This.
5202 * stdio-common/tst-unbputc.sh: Likewise.
5203 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5204 $(run-program-prefix) with $(test-program-prefix).
5205 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5206 (test_program_prefix): This.
5207 * string/Makefile ($(objpfx)tst-svc.out): Replace
5208 $(built-program-cmd) with $(test-program-cmd).
5209
c6fe55cf
AJ
52102013-01-11 Andreas Jaeger <aj@suse.de>
5211
5212 [BZ #15003]
5213 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5214 value. Sync with Linux 3.7.
5215
9e6919c8
DM
52162013-01-10 David S. Miller <davem@davemloft.net>
5217
5218 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5219 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5220 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5221
1c9f1a02
RM
52222013-01-10 Roland McGrath <roland@hack.frob.com>
5223
5224 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5225 never set.
5226 * configure: Regenerated.
5227
b9de2dde
DM
52282013-01-10 David S. Miller <davem@davemloft.net>
5229
5230 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5231 sparc V9 rather than using V8 code.
5232 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5233 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5234
e7f68ef4
RM
52352013-01-10 Roland McGrath <roland@hack.frob.com>
5236
5237 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5238 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5239 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5240 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5241 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5242 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5243 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5244 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5245 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5246 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5247 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5248 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5249 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5250 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5251 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5252 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5253 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5254 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5255 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5256 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5257 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5258 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5259 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5260 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5261 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5262 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5263 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5264
5a47cc9c
DM
52652013-01-10 David S. Miller <davem@davemloft.net>
5266
5267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5268
4cf8f209
L
52692013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5270
5271 * posix/Makefile (tests-static): New variable.
5272 (tests): Add $(tests-static).
5273 (tst-exec-static-ARGS): New variable.
5274 (tst-spawn-static-ARGS): Likewise.
5275 * posix/tst-exec-static.c: New file.
5276 * posix/tst-spawn-static.c: Likewise.
5277 * posix/tst-exec.c: Support run directly.
5278 * posix/tst-spawn.c: Likewise.
5279
fed0faa1
JM
52802013-01-10 Joseph Myers <joseph@codesourcery.com>
5281
828beb13
JM
5282 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5283 long.
5284 * math/bits/mathcalls.h (llrint): Likewise.
5285 (llround): Likewise.
5286 * stdlib/stdlib.h (struct drand48_data): Likewise.
5287 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5288 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5289 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5290 Likewise.
5291 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5292 Likewise.
5293 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5294 (elf_greg_t): Likewise.
5295 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5296 (__jmp_buf): Likewise.
5297 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5298 definitions.
5299 (llrint): Likewise, for all definitions.
5300 (llrintl): Likewise.
5301
fed0faa1
JM
5302 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5303 Remove [__GNUC__] condition.
5304 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5305 condition to just [__USE_ISOC99].
5306 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5307
1a20cb20
L
53082013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5309
5310 [BZ #14200]
5311 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5312 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5313 defined.
5314 (_POSIX_V6_ILP32_OFF32): Likewise.
5315 (_XBS5_ILP32_OFF32): Likewise.
5316 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5317 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5318
751b85f7
SP
53192013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5320
7490eb81
SP
5321 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5322
751b85f7
SP
5323 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5324 doubles __mpexp_twomm1. Adjust usage.
5325 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5326 Remove.
5327
988197f0
AS
53282013-01-10 Andreas Schwab <schwab@suse.de>
5329
5330 [BZ #14964]
5331 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5332 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5333
e83d7298
DM
53342013-01-09 David S. Miller <davem@davemloft.net>
5335
034ed64b 5336 [BZ #15003]
e83d7298
DM
5337 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5338 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5339 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5340 TCP_FASTOPEN): Define.
5341 (tcp_repair_opt): New structure.
5342 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5343 enum values.
5344 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5345 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5346 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5347 (tcp_cookie_transactions): New structure.
5348
d5e0b9bd
AB
53492013-01-09 Anton Blanchard <anton@samba.org>
5350
5351 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5352 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5353 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5354 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5355
0c07e3ea
JM
53562013-01-09 Joseph Myers <joseph@codesourcery.com>
5357
5358 * include/features.h (__USE_ANSI): Remove.
5359
232f7002
RM
53602013-01-09 Roland McGrath <roland@hack.frob.com>
5361
ad98e30c
RM
5362 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5363
232f7002
RM
5364 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5365
950c99ca
SP
53662013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5367
b5792741
SP
5368 * sysdeps/s390/fpu/libm-test-ulps: Update.
5369
47cf2278
SP
5370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5371
950c99ca
SP
5372 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5373 (__acr): Likewise.
5374 (__cpy): Likewise.
5375 (norm): Likewise.
5376 (denorm): Likewise.
5377 (__mp_dbl): Likewise.
5378 (__dbl_mp): Likewise.
5379 (add_magnitudes): Likewise.
5380 (sub_magnitudes): Likewise.
5381 (__add): Likewise.
5382 (__sub): Likewise.
5383 (__mul): Likewise.
5384 (__inv): Likewise.
5385 (__dvd): Likewise.
5386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5387 (__acr): Likewise.
5388 (__cpy): Likewise.
5389 (norm): Likewise.
5390 (denorm): Likewise.
5391 (__mp_dbl): Likewise.
5392 (__dbl_mp): Likewise.
5393 (add_magnitudes): Likewise.
5394 (sub_magnitudes): Likewise.
5395 (__add): Likewise.
5396 (__sub): Likewise.
5397 (__mul): Likewise.
5398 (__inv): Likewise.
5399 (__dvd): Likewise.
5400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5401 (__acr): Likewise.
5402 (__cpy): Likewise.
5403 (norm): Likewise.
5404 (denorm): Likewise.
5405 (__mp_dbl): Likewise.
5406 (__dbl_mp): Likewise.
5407 (add_magnitudes): Likewise.
5408 (sub_magnitudes): Likewise.
5409 (__add): Likewise.
5410 (__sub): Likewise.
5411 (__mul): Likewise.
5412 (__inv): Likewise.
5413 (__dvd): Likewise.
5414
eede9df9
JM
54152013-01-08 Joseph Myers <joseph@codesourcery.com>
5416
5417 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5418 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5419 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5420 2 && __USE_EXTERN_INLINES]: Likewise.
5421
c40ea3d9
AJ
54222013-01-08 Andreas Jaeger <aj@suse.de>
5423
5424 [BZ# 14985]
5425 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5426 Remove.
5427 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5428 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5429
2ccdea26
AB
54302013-01-07 Anton Blanchard <anton@samba.org>
5431
5432 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5433 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5434 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5435 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5436 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5437 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5438 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5439 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5441 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5442 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5443 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5444 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5445 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5446 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5448 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5449 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5450 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5451 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5452 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5453 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5454 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5455 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5456 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5457 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5458 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5459 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5461 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5462 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5463 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5464 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5465 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5466 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5467 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5468 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5469 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5471 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5472 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5474 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5475
a9708fed
JM
54762013-01-07 Joseph Myers <joseph@codesourcery.com>
5477
375607b9
JM
5478 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5479 (__MALLOC_PMT): Likewise.
5480 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5481 [__GNUC__], only on [_LIBC].
5482 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5483 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5484 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5485 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5486 forward declaration.
5487 (realloc_hook_ini): Likewise.
5488 (memalign_hook_ini): Likewise.
5489 (__libc_memalign): Do not use __MALLOC_PMT in variable
5490 declaration.
5491 (__libc_valloc): Likewise.
5492 (__libc_pvalloc): Likewise.
5493 (__libc_calloc): Likewise.
5494 (__posix_memalign): Likewise.
5495
a9708fed
JM
5496 [BZ #14996]
5497 * math/s_casinh.c: Include <float.h>.
5498 (__casinh): Do not do computation with squaring and square root
5499 for large arguments.
5500 * math/s_casinhf.c: Include <float.h>.
5501 (__casinhf): Do not do computation with squaring and square root
5502 for large arguments.
5503 * math/s_casinhl.c: Include <float.h>.
5504 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5505 (__casinhl): Do not do computation with squaring and square root
5506 for large arguments.
5507 * math/libm-test.inc (casin_test): Add more tests.
5508 (casinh_test): Likewise.
5509 * sysdeps/i386/fpu/libm-test-ulps: Update.
5510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5511
afec409a
L
55122013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5513
5514 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5515 (__x86_64_raw_data_cache_size): Likewise.
5516 (__x86_64_data_cache_size_half): Likewise.
5517 (__x86_64_raw_data_cache_size_half): Likewise.
5518 (__x86_64_shared_cache_size): Likewise.
5519 (__x86_64_raw_shared_cache_size): Likewise.
5520 (__x86_64_shared_cache_size_half): Likewise.
5521 (__x86_64_raw_shared_cache_size_half): Likewise.
5522 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5523 to ...
5524 (__x86_data_cache_size): This.
5525 (__x86_64_raw_data_cache_size): Renamed to ...
5526 (__x86_raw_data_cache_size): This.
5527 (__x86_64_data_cache_size_half): Renamed to ...
5528 (__x86_data_cache_size_half): This.
5529 (__x86_64_raw_data_cache_size_half): Renamed to ...
5530 (__x86_raw_data_cache_size_half): This.
5531 (__x86_64_shared_cache_size): Renamed to ...
5532 (__x86_shared_cache_size): This.
5533 (__x86_64_raw_shared_cache_size): Renamed to ...
5534 (__x86_raw_shared_cache_size): This.
5535 (__x86_64_shared_cache_size_half): Renamed to ...
5536 (__x86_shared_cache_size_half): This.
5537 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5538 (__x86_raw_shared_cache_size_half): This.
5539 * sysdeps/x86_64/memcpy.S: Updated.
5540 * sysdeps/x86_64/memset.S: Likewise.
5541 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5544
0b3986d0
DM
55452013-01-04 David S. Miller <davem@davemloft.net>
5546
5547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5548
e47686e9
AS
55492013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5550
d643bac1
AS
5551 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5552 1 to avoid redefinition warning.
5553 (__USE_GNU): Don't define.
5554 (init_signaling_nan): Protoize.
5555
e47686e9
AS
5556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5557
b18decba
SP
55582013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5559
fffb407f
SP
5560 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5562 (__cpymn): Likewise.
5563 (norm): Remove commented code.
5564 (denorm): Likewise.
5565 (__mp_dbl): Likewise.
5566 (__inv): Likewise.
5567 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5568 (__cpymn): Likewise.
5569 (norm): Remove commented code.
5570 (denorm): Likewise.
5571 (__mp_dbl): Likewise.
5572 (__inv): Likewise.
5573
b18decba
SP
5574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5575 mp_no value for 1.0 and 2.0.
5576 (norm): Use RADIXI instead of radixi.d.
5577 (denorm): Likewise.
5578 (__mul): Use 0.0 instead of zero.d.
5579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5580 mp_no value for 1.0 and 2.0.
5581 (norm): Use RADIXI instead of radixi.d.
5582 (denorm): Likewise.
5583 (__mul): Use 0.0 instead of zero.d.
5584
cdc1c96f
JM
55852013-01-04 Joseph Myers <joseph@codesourcery.com>
5586
5587 [BZ #14994]
5588 * math/s_casinh.c (__casinh): Reduce finite argument to first
5589 quadrant then set signs of results at the end.
5590 * math/s_casinhf.c (__casinhf): Likewise.
5591 * math/s_casinhl.c (__casinhl): Likewise.
5592 * math/libm-test.inc (casin_test): Add more tests.
5593 (casinh_test): Likewise.
5594 * sysdeps/i386/fpu/libm-test-ulps: Update.
5595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5596
302913e1
SP
55972013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5598
6420d207
SP
5599 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5600
a9e48ab4
SP
5601 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5602
b7837264
SP
5603 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5604 declarations.
5605 (denorm): Likewise.
5606 (__mp_dbl): Likewise.
5607 (__inv): Likewise.
5608
f8af25d2
SP
5609 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5610 and adjust the header comment.
5611
302913e1
SP
5612 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5613 variable name from declaration.
5614
5d7dd1ca
L
56152013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5616
5617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5618 Initialize COMMON_CPUID_INDEX_7 element.
5619 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5620 (CPUID_RTM): Likewise.
5621 (HAS_RTM): Likewise.
5622 (COMMON_CPUID_INDEX_7): New enum.
5623
2f5f40f4
AS
56242013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5625
5626 [BZ #14981]
5627 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5628 size is zero, record memory as freed.
5629
4056f4a0
AJ
56302013-01-03 Andreas Jaeger <aj@suse.de>
5631
5632 * po/ia.po: Add new Interlingua translation.
5633
ab15736f 56342012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5635
5636 * locale/programs/localedef.c: Fix description of '--posix' flag.
5637
568035b7
JM
56382013-01-02 Joseph Myers <joseph@codesourcery.com>
5639
e6898b8d
JM
5640 * NEWS: Update dates in second copyright notice.
5641 * README: Update copyright dates in example.
5642 * manual/libc.texinfo: Update copyright dates.
5643 * scripts/test-installation.pl: Update copyright date in --version
5644 output.
5645
0e2f9562
JM
5646 * hurd/ctty-input.c: Fix copyright notice formatting.
5647 * hurd/ctty-output.c: Likewise.
5648 * hurd/dtable.c: Likewise.
5649 * hurd/hurd-raise.c: Likewise.
5650 * hurd/hurdprio.c: Likewise.
5651 * hurd/msgportdemux.c: Likewise.
5652 * misc/sys/file.h: Likewise.
5653 * misc/sys/ioctl.h: Likewise.
5654 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5655 * sysdeps/mach/hurd/chdir.c: Likewise.
5656 * sysdeps/mach/hurd/fchdir.c: Likewise.
5657 * sysdeps/mach/hurd/rename.c: Likewise.
5658 * sysdeps/mach/hurd/rmdir.c: Likewise.
5659 * sysdeps/mach/hurd/seekdir.c: Likewise.
5660 * sysdeps/mach/hurd/setsid.c: Likewise.
5661 * sysdeps/posix/wait3.c: Likewise.
5662
568035b7
JM
5663 * All files with FSF copyright notices: Update copyright dates
5664 using scripts/update-copyrights.
5665 * intl/plural.c: Regenerated.
5666 * locale/programs/charmap-kw.h: Likewise.
5667 * locale/programs/locfile-kw.h: Likewise.
5668
da08f647
SP
56692013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5670
0f5477af
SP
5671 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5672 four values.
5673
44e0d4c2
SP
5674 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5675 calculation loop and add branch prediction.
5676
4d55b4e5
SP
5677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5678 check access beyond bounds of m1np.
5679
da08f647
SP
5680 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5681 MPTWO.
5682 (__inv): Remove local variable MPTWO to use the global
5683 constant.
5684 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5685 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5686 variable MPTWO.
5687 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5688 MP3HALFS static const.
5689
8e051029
DM
56902013-01-01 David S. Miller <davem@davemloft.net>
5691
5692 * po/ca.po: Update from translation team.
5693
f4cf5f2d
JM
56942013-01-01 Joseph Myers <joseph@codesourcery.com>
5695
5696 * scripts/update-copyrights: New file.
5697 * Makeconfig: Reformat copyright notice.
5698 * ctype/ctype.h: Likewise.
5699 * debug/swprintf_chk.c: Likewise.
5700 * elf/dl-cache.c: Likewise.
5701 * elf/dl-debug.c: Likewise.
5702 * elf/dl-object.c: Likewise.
5703 * grp/initgroups.c: Likewise.
5704 * hurd/Makefile: Likewise.
5705 * hurd/hurd/signal.h: Likewise.
5706 * hurd/hurdfault.c: Likewise.
5707 * hurd/hurdioctl.c: Likewise.
5708 * hurd/hurdlookup.c: Likewise.
5709 * hurd/intr-msg.c: Likewise.
5710 * iconv/gconv_open.c: Likewise.
5711 * libio/swprintf.c: Likewise.
5712 * locale/lc-ctype.c: Likewise.
5713 * locale/nl_langinfo.c: Likewise.
5714 * mach/Machrules: Likewise.
5715 * mach/Makefile: Likewise.
5716 * malloc/obstack.h: Likewise.
5717 * manual/Makefile: Likewise.
5718 * manual/tsort.awk: Likewise.
5719 * misc/bits/stab.def: Likewise.
5720 * nis/nis_print_group_entry.c: Likewise.
5721 * nis/nis_table.c: Likewise.
5722 * nis/nss_compat/compat-pwd.c: Likewise.
5723 * nis/nss_compat/compat-spwd.c: Likewise.
5724 * po/Makefile: Likewise.
5725 * posix/fnmatch.c: Likewise.
5726 * posix/regex.h: Likewise.
5727 * resolv/Makefile: Likewise.
5728 * resolv/nss_dns/dns-network.c: Likewise.
5729 * resolv/res_hconf.c: Likewise.
5730 * scripts/gen-sorted.awk: Likewise.
5731 * soft-fp/soft-fp.h: Likewise.
5732 * stdio-common/printf.h: Likewise.
5733 * stdlib/monetary.h: Likewise.
5734 * stdlib/random.c: Likewise.
5735 * stdlib/random_r.c: Likewise.
5736 * sysdeps/generic/Makefile: Likewise.
5737 * sysdeps/gnu/Makefile: Likewise.
5738 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5753 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5756 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5761 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5762 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5763 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5764 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5765 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5766 * sysdeps/mach/hurd/errnos.awk: Likewise.
5767 * sysdeps/mach/hurd/fork.c: Likewise.
5768 * sysdeps/mach/hurd/getcwd.c: Likewise.
5769 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5770 * sysdeps/mach/hurd/mmap.c: Likewise.
5771 * sysdeps/mach/hurd/utimes.c: Likewise.
5772 * sysdeps/mach/hurd/xmknod.c: Likewise.
5773 * sysdeps/posix/profil.c: Likewise.
5774 * sysdeps/posix/readdir_r.c: Likewise.
5775 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5776 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5777 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5778 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5780 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5781 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5782 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5783 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5786 * sysdeps/pthread/lio_listio.c: Likewise.
5787 * sysdeps/sparc/dl-procinfo.h: Likewise.
5788 * sysdeps/unix/i386/sysdep.S: Likewise.
5789 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5790 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5791 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5792 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5794 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5795 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5796 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5797 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5798 * sysdeps/wordsize-32/divdi3.c: Likewise.
5799 * time/sys/time.h: Likewise.
5800 * wcsmbs/Makefile: Likewise.
5801
0549fbba
DM
58022013-01-01 David S. Miller <davem@davemloft.net>
5803
a141f1a7
DM
5804 * po/fr.po: Update from translation team.
5805
0549fbba
DM
5806 * catgets/gencat.c: Update copyright year.
5807 * csu/version.c: Likewise.
5808 * debug/catchsegv.sh: Likewise.
5809 * debug/pcprofiledump.c: Likewise.
5810 * debug/xtrace.sh: Likewise.
5811 * elf/ldconfig.c: Likewise.
5812 * elf/ldd.bash.in: Likewise.
5813 * elf/pldd.c: Likewise.
5814 * elf/sotruss.ksh: Likewise.
5815 * elf/sprof.c: Likewise.
5816 * iconv/iconv_prog.c: Likewise.
5817 * iconv/iconvconfig.c: Likewise.
5818 * locale/programs/locale.c: Likewise.
5819 * locale/programs/localedef.c: Likewise.
5820 * login/programs/pt_chown.c: Likewise.
5821 * malloc/memusage.sh: Likewise.
5822 * malloc/memusagestat.c: Likewise.
5823 * malloc/mtrace.pl: Likewise.
5824 * nscd/nscd.c: Likewise.
5825 * nss/getent.c: Likewise.
5826 * nss/makedb.c: Likewise.
5827 * posix/getconf.c: Likewise.
5828
18ea052c
SP
58292012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5830
5831 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5832 numbers.
5833
9c89fca6
MF
58342012-12-30 Mike Frysinger <vapier@gentoo.org>
5835
5836 * math/bits/mathcalls.h (modf): Use __nonnull.
5837
085ec079
SP
58382012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5839
5840 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5841 (split): Use macro CN instead of the bare value.
5842 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5843 could be used.
5844 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5845 instead of the bare value.
5846 (power1): Likewise.
5847
6d9f97e1
SP
58482012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5849
d63f73be
SP
5850 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5851 __ATAN_TWOM.
5852 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5853
6d9f97e1
SP
5854 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5855 their values.
5856 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5857 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5858 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5859 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5860
4c4febf5
AJ
58612012-12-28 Andreas Jaeger <aj@suse.de>
5862
af5843ef
AJ
5863 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5864 values are from Linux 3.7.
5865
4c4febf5
AJ
5866 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5867 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5868
99136f82
SP
58692012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5870
2f216c3c 5871 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5872 TRUE case.
5873
99136f82
SP
5874 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5875 (norm): Likewise.
5876 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5877 variables with preprocessor constants.
5878 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5879 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5880 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5881
7fffbdff
BH
58822012-12-27 Bruno Haible <bruno@clisp.org>
5883
5884 [BZ #14317]
5885 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5886 only if needed.
5887
b76eb5f0
SP
58882012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5889
31a7fe5c
SP
5890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5891 and use variable directly.
5892 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5893
b76eb5f0
SP
5894 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5895 MPONE.
5896 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5897 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5898 variable MPONE.
5899 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5901 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5902 include directive. Remove local variable MPONE.
5903 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5904 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5905 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5906
2c8bfe7d
DM
59072012-12-25 David S. Miller <davem@davemloft.net>
5908
5909 * version.h (RELEASE): Set to "development".
5910 (VERSION): Set to "2.17.90".
5911 * NEWS: Add 2.18 section.
5912
147d03b0
DM
59132012-12-21 David S. Miller <davem@davemloft.net>
5914
5915 * po/hr.po: Update from translation team.
5916
a8ebb2b9
AK
59172012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5918
5919 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5920
95b4f1b6
SE
59212012-12-19 Steve Ellcey <sellcey@mips.com>
5922
b2d94007 5923 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5924
cedb2a90
MS
59252012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5926
5927 * manual/contrib.texi (Contributors): Spelling correction.
5928
bbf527d6
DM
59292012-12-15 David S. Miller <davem@davemloft.net>
5930
5931 * po/ru.po: Update from translation team.
5932
bc38c906
DM
59332012-12-13 David S. Miller <davem@davemloft.net>
5934
85429b1a
DM
5935 * NEWS: Mention IFUNC testsuite enhancements.
5936
d283e353
DM
5937 * po/pl.po: Update from translation team.
5938 * po/bg.po: Likewise.
5939
bc38c906
DM
5940 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5941 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5942
a181b0d7
DM
59432012-12-11 David S. Miller <davem@davemloft.net>
5944
4641d57e
DM
5945 * po/sv.po: Update from translation team.
5946
f7bc6495
DM
5947 * po/vi.po: Update from translation team.
5948
6fc9048f
DM
5949 * po/cs.po: Update from translation team.
5950
a181b0d7
DM
5951 * po/de.po: Update from translation team.
5952 * po/eo.po: Likewise.
5953 * po/nl.po: Likewise.
5954
f70bfe80
SP
59552012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5956
3c8b4190
SP
5957 [BZ #14246]
5958 * manual/argp.texi (Argp Helper Functions): Move node to follow
5959 Argp Parsing State.
5960
f70bfe80
SP
5961 [BZ #14872]
5962 * manual/conf.texi (Limits on File System Capacity): Mention if
5963 terminating null is included in the max size.
5964
188f0adf
AJ
59652012-12-10 Andreas Jaeger <aj@suse.de>
5966
5967 * po/cs.po: Update from translation team.
5968
56e7d3ad
SP
59692012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5970
5971 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5972 void pointer and cast to uintptr_t.
5973 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5974 path.
5975 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5976 * sysdeps/s390/s390-64/memset.S: Likewise.
5977
76f2d2ea 59782012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5979
5980 [BZ #14833]
5981 * menual/message.texi (Message Translation): Fix typos.
5982 (Helper programs for gettext): Likewise.
5983
67cbf9a2
AS
59842012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5985
5986 [BZ #14898]
5987 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5988 Change to -1.
5989
682d0e9a
DM
59902012-12-07 David S. Miller <davem@davemloft.net>
5991
5992 * po/libc.pot: Update.
5993
573cd484
RH
59942012-12-07 Richard Henderson <rth@redhat.com>
5995
7e9da188 5996 [BZ #10114]
573cd484
RH
5997 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5998 normal/normal case to before the switch.
5999 (_FP_DIV): Likewise.
6000
e933a943
MF
60012012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6002 Mike Frysinger <vapier@gentoo.org>
6003
6004 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6005 check for __NR_fadvise64_64.
6006
82123268
CM
60072012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6008
6009 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6010 0, not just to plain "0" as a statement.
6011 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6012 with cw.
6013
d9814526
JM
60142012-12-06 Joseph Myers <joseph@codesourcery.com>
6015
6016 * NEWS: Use sourceware.org in Bugzilla URL.
6017
7728c574
SP
60182012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6019
f16946dd
SP
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6021 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6022
5704bbcb
SP
6023 * stdio-common/tst-put-error.c (do_test): Add newline to the
6024 padded test to ensure flush.
6025
17aa0516
JL
60262012-12-05 Jeff Law <law@redhat.com>
6027
6028 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6029
363313b5
JM
60302012-12-05 Joseph Myers <joseph@codesourcery.com>
6031
effbd42a
JM
6032 * README: Don't refer to ports add-on as distributed separately.
6033 Mention AArch64 in list of systems supported in the ports add-on.
6034
87600365
JM
6035 * LICENSES: Add more non-FSF copyright and license notices.
6036
a0d7066a
JM
6037 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6038 ((unused)).
6039
66ca5a5b
JM
6040 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6041
363313b5
JM
6042 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6043 10000 as width of padded output.
6044
b37984ad
JM
60452012-12-04 Joseph Myers <joseph@codesourcery.com>
6046
9003570a
JM
6047 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6048
b37984ad
JM
6049 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6050 variable LX with __attribute__ ((unused)).
6051 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6052 Likewise.
6053 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6054 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6055 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6056 with __attribute__ ((unused)).
6057
c8df52ec
DM
60582012-12-04 David S. Miller <davem@abraco.davemloft.net>
6059
6060 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6061
b3b099af
JM
60622012-12-04 Joseph Myers <joseph@codesourcery.com>
6063
c33aa6e3
JM
6064 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6065 (CFLAGS-nldbl-acos.c): New variable.
6066 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6067 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6068 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6069 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6070 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6071 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6072 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6073 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6074 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6075 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6076 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6077 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6078 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6079 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6080 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6081 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6082 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6083 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6084 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6085 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6086 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6087 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6088 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6089 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6090 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6091 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6092 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6093 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6094 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6095 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6096 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6097 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6098 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6099 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6100 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6101 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6102 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6103 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6104 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6105 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6106 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6107 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6108 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6109 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6110 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6111 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6112 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6113 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6114 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6115 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6116 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6117 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6118 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6119 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6120 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6121 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6122 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6123 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6124 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6125 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6126 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6127 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6128 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6129 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6130 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6131 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6132 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6133 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6134 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6135 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6136 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6137 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6138 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6139 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6140 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6141 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6142 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6143 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6144 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6145 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6146 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6147 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6148 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6149 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6150 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6151 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6152 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6153 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6154 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6155 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6156 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6157 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6158 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6159 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6160 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6161 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6162 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6163
20f0018d
JM
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6165 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6166
b3b099af
JM
6167 [BZ #14914]
6168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6169 whole low double instead of just low 47 bits when splitting values
6170 into two parts.
6171
029264d1
AM
61722012-12-03 Allan McRae <allan@archlinux.org>
6173
6174 * manual/stdio.texi (Predefined Printf Handlers): Remove
6175 @hsep and @vsep usage.
6176
c9d6789e
MF
61772012-12-03 Mike Frysinger <vapier@gentoo.org>
6178
6179 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6180 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6181
4b7634a5
JL
61822012-12-03 Jeff Law <law@redhat.com>
6183
6184 * time/sys/time.h (settimeofday): Do not mark TV argument
6185 as __nonnull.
6186
eb6cbd24
MF
61872012-12-01 Mike Frysinger <vapier@gentoo.org>
6188
6189 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6190 when currently writing and seek to current position when not.
6191 * libio/Makefile (tests): Remove bug-fclose1.
6192 * libio/bug-fclose1.c: Delete.
6193
f638872a
JM
61942012-12-01 Joseph Myers <joseph@codesourcery.com>
6195
6196 * manual/arith.texi (feenableexcept): Fix typo.
6197 (fedisableexcept): Likewise.
6198
48085d14
RM
61992012-11-30 Roland McGrath <roland@hack.frob.com>
6200
6201 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6202 second, differently-typed declaration, rather than a cast.
6203
1a538b9f
SP
62042012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6205
6206 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6207 * include/rpc/svc.h: ... here.
6208
d07f2ff1 62092012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6210
6211 [BZ #13013]
6212 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6213 depending n and resplen2 to catch cases where answer
6214 equals answerp2.
6215
c93ec1f0
CD
62162012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6217
6218 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6219 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6220
37db69de
MF
62212012-11-29 Mike Frysinger <vapier@gentoo.org>
6222
6223 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6224
e10c4e4f
RM
62252012-11-29 Roland McGrath <roland@hack.frob.com>
6226
6227 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6228
2af1b328
JL
62292012-11-28 Jeff Law <law@redhat.com>
6230
6231 [BZ #13761]
6232 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6233 dataset_temporary. Track alloca usage into alloca_used.
6234 If dataset is large allocate and release it via malloc/free.
6235
111db5b1
FW
62362012-06-04 Florian Weimer <fweimer@redhat.com>
6237
f06cc227 6238 [BZ #14197]
111db5b1
FW
6239 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6240
dd694abd
DM
62412012-11-28 David S. Miller <davem@davemloft.net>
6242
6243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6244
9984dd01
JM
62452012-11-28 Joseph Myers <joseph@codesourcery.com>
6246
6247 [BZ #14803]
6248 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6249 of pi/2 rounded to nearest to 64 bits.
6250 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6251 nearest to 64 bits.
6252 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6253 bits.
6254
14bc93a9
JL
62552012-11-28 Jeff Law <law@redhat.com>
6256 Martin Osvald <mosvald@redhat.com>
6257
6258 [BZ #14889]
6259 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6260 * sunrpc/svc.c: Include time.h.
6261 (__svc_accept_failed): New function.
6262 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6263 any reason other than EINTR, call __svc_accept_failed.
6264 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6265 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6266
e3c6aa3a
AS
62672012-11-28 Andreas Schwab <schwab@suse.de>
6268
6269 * scripts/abilist.awk: Also handle indirect functions in .opd
6270 section.
6271
1bead169
JM
62722012-11-28 Joseph Myers <joseph@codesourcery.com>
6273
6274 [BZ #13881]
6275 * sysdeps/x86/fpu/powl_helper.c: New file.
6276 * sysdeps/x86/fpu/Makefile: Likewise.
6277 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6278 (p3): New object.
6279 (__ieee754_powl): Use __powl_helper for finite arguments except
6280 integer exponents below 8.
6281 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6282 (p3): New object.
6283 (__ieee754_powl): Use __powl_helper for finite arguments except
6284 integer exponents below 8.
6285 * math/libm-test.inc (pow_test): Add more tests and enable some
6286 previously disabled tests.
6287 * sysdeps/i386/fpu/libm-test-ulps: Update.
6288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6289
0817d63d
SP
62902012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6291 Carlos O'Donell <carlos_odonell@mentor.com>
6292
6293 * nss/makedb.c (is_prime): Assert that input is odd and greater
6294 than 4. Note that fact in a comment too.
6295 (next_prime): Add 4 to input.
6296
de2fd463
SP
62972012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6298
6299 [BZ #11741]
6300 * libio/Makefile (tests): Add test case tst-fwrite-error.
6301 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6302 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6303 * libio/tst-fwrite-error.c: New test case.
6304
c515fb51
L
63052012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6306
6307 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6308 before casting to void *.
6309 * include/libc-internal.h (__pointer_type): New macro.
6310 (__integer_if_pointer_type_sub): Likewise.
6311 (__integer_if_pointer_type): Likewise.
6312 (cast_to_integer): Likewise.
6313 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6314 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6315 before casting to atomic64_t.
6316 (atomic_exchange_acq): Likewise.
6317 (__arch_exchange_and_add_body): Likewise.
6318 (__arch_add_body): Likewise.
6319 (atomic_add_negative): Likewise.
6320 (atomic_add_zero): Likewise.
6321
4cf77aa9
JM
63222012-11-26 Joseph Myers <joseph@codesourcery.com>
6323
6324 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6325 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6326 (add_fdes): Likewise.
6327 (linear_search_fdes): Likewise.
6328 (binary_search_unencoded_fdes): Likewise.
6329
d260b3b4
AS
63302012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6331
6332 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6333
67060746
AC
63342012-11-24 Adam Conrad <adconrad@0c3.net>
6335
6336 * configure.in: Autodetect C++ header directories.
6337 * configure: Regenerated.
6338
800938a1
MF
63392012-11-23 Mike Frysinger <vapier@gentoo.org>
6340
6341 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6342
4e6e34e6
AS
63432012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6344
6345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6346
7c7feb47
JM
63472012-11-22 Joseph Myers <joseph@codesourcery.com>
6348
7184dcdf
JM
6349 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6350 LDBL_MANT_DIG == 106]: Disable some tests.
6351 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6352 Likewise.
6353 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6354 Likewise.
6355
0a42601f
JM
6356 [BZ #14871]
6357 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6358 input for small inputs. Return +/- pi/2 for large inputs.
6359 * math/libm-test.inc (atan_test): Add more tests.
6360
79c9b9fe
JM
6361 * sysdeps/generic/unwind-dw2-fde-glibc.c
6362 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6363 __attribute__ ((unused)).
6364
c60d3bf2
JM
6365 [BZ #14645]
6366 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6367 x * y if x and y are nonzero and z is zero.
6368
ef1e0867
JM
6369 [BZ #14811]
6370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6371 nonzero exponents with absolute value below 0x1p-117 to +/-
6372 0x1p-117.
6373
1468ded3
JM
6374 [BZ #14869]
6375 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6376 up arguments below 2**-450, not just those below 2**-500.
6377 * math/libm-test.inc (hypot_test): Add another test.
6378
8e27e3cc
JM
6379 [BZ #14868]
6380 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6381 Return a+b for ratio over 2**120, not 2**60.
6382 * math/libm-test.inc (hypot_test): Add another test.
6383
c9c0279b
JM
6384 * math/libm-test.inc (clog_test): Use
6385 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6386 (clog10_test): Likewise.
6387
7c7feb47
JM
6388 [BZ #6778]
6389 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6390
fff1530e
AS
63912012-11-22 Andreas Schwab <schwab@suse.de>
6392
6393 * sysdeps/i386/fpu/libm-test-ulps: Update.
6394
94558d30
PT
63952012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6396
6397 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6398 printf output with newline.
6399
7e1be741
L
64002012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6401
6bfea974
L
6402 [BZ #14865]
6403 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6404 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6405 -z nodlopen, -z initfirst and -z execstack support.
6406 * configure: Regenerated.
6407
7e1be741
L
6408 * elf/elf.h (DF_1_NODIRECT): New macro.
6409 (DF_1_IGNMULDEF): Likewise.
6410 (DF_1_NOKSYMS): Likewise.
6411 (DF_1_NOHDR): Likewise.
6412 (DF_1_EDITED): Likewise.
6413 (DF_1_NORELOC): Likewise.
6414 (DF_1_SYMINTPOSE): Likewise.
6415 (DF_1_GLOBAUDIT): Likewise.
6416 (DF_1_SINGLETON): Likewise.
6417 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6418 DT_1_SUPPORTED_MASK bits.
6419 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6420
105ce2ce
CD
64212012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6422
6423 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6424
123be9de
TS
64252012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6426
d072f3f7
TS
6427 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6428 macro.
6429
123be9de
TS
6430 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6431 (sendmmsg): Move declarations...
6432 * socket/sys/socket.h: ... here.
6433 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6434 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6435 include it from...
6436 * socket/recvmmsg.c: ... this new file.
6437 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6438 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6439 definition of __sendmmsg hidden.
6440 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6441 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6442 Move ENOSYS stub into and include it from...
6443 * socket/sendmmsg.c: ... this new file.
6444 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6445 (sysdep_routines): Move recvmmsg and sendmmsg...
6446 * socket/Makefile (routines): ... here.
6447 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6448 (GLIBC_PRIVATE): Add __sendmmsg.
6449 * include/sys/socket.h (__sendmmsg): Add declarations.
6450 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6451 sendmmsg.
6452
cf9a5d18
JM
64532012-11-20 Joseph Myers <joseph@codesourcery.com>
6454
6455 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6456 variable I1 with __attribute__ ((unused)).
6457 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6458
ecd4caf9
JM
64592012-11-19 Joseph Myers <joseph@codesourcery.com>
6460
be14d48f
JM
6461 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6462 DUMMY variables with __attribute__ ((unused)).
6463
ecd4caf9
JM
6464 * bits/byteswap.h: Include <bits/types.h>.
6465 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6466
986cab95
PT
64672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6468
6469 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6470 string_t. Do not manually set errno.
6471 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6472 length with __strnlen. Make sure to both set errno and return it on
6473 failure.
6474
6d33cc9d
DM
64752012-11-19 David S. Miller <davem@davemloft.net>
6476
6477 With help from Joseph Myers.
6478 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6479 very large arguments properly.
6480 * math/libm-test.inc (atan_test): New tests.
6481 (atan2_test): New tests.
6482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6483 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6484
ee663277
JM
64852012-11-19 Joseph Myers <joseph@codesourcery.com>
6486
877f2d8e
JM
6487 [BZ #14856]
6488 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6489 Define to 3.
6490
116fc08a
JM
6491 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6492 [POSIX] (EADDRNOTAVAIL): Likewise.
6493 [POSIX] (EAFNOSUPPORT): Likewise.
6494 [POSIX] (EALREADY): Likewise.
6495 [POSIX] (ECONNABORTED): Likewise.
6496 [POSIX] (ECONNREFUSED): Likewise.
6497 [POSIX] (ECONNRESET): Likewise.
6498 [POSIX] (EDESTADDRREQ): Likewise.
6499 [POSIX] (EDQUOT): Likewise.
6500 [POSIX] (EHOSTUNREACH): Likewise.
6501 [POSIX] (EIDRM): Likewise.
6502 [POSIX] (EISCONN): Likewise.
6503 [POSIX] (ELOOP): Likewise.
6504 [POSIX] (EMULTIHOP): Likewise.
6505 [POSIX] (ENETDOWN): Likewise.
6506 [POSIX] (ENETUNREACH): Likewise.
6507 [POSIX] (ENOBUFS): Likewise.
6508 [POSIX] (ENODATA): Likewise.
6509 [POSIX] (ENOLINK): Likewise.
6510 [POSIX] (ENOMSG): Likewise.
6511 [POSIX] (ENOPROTOOPT): Likewise.
6512 [POSIX] (ENOSR): Likewise.
6513 [POSIX] (ENOSTR): Likewise.
6514 [POSIX] (ENOTCONN): Likewise.
6515 [POSIX] (ENOTSOCK): Likewise.
6516 [POSIX] (EOPNOTSUPP): Likewise.
6517 [POSIX] (EOVERFLOW): Likewise.
6518 [POSIX] (EPROTO): Likewise.
6519 [POSIX] (EPROTONOSUPPORT): Likewise.
6520 [POSIX] (EPROTOTYPE): Likewise.
6521 [POSIX] (ESTALE): Likewise.
6522 [POSIX] (ETIME): Likewise.
6523 [POSIX] (ETXTBSY): Likewise.
6524 [POSIX] (EWOULDBLOCK): Likewise.
6525 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6526 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6527 [POSIX] (SEEK_CUR): Likewise.
6528 [POSIX] (SEEK_END): Likewise.
6529 [POSIX || UNIX98] (mode_t): Do not require.
6530 [POSIX] (off_t): Likewise.
6531 [POSIX] (pid_t): Likewise.
6532 [POSIX] (sys/stat.h): Do not allow header.
6533 [POSIX] (unistd.h): Likewise.
6534 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6535 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6536 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6537 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6538 require.
6539 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6540 sigevent): Specify elements.
6541 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6542 entry.
6543 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6544 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6545
a483863f
JM
6546 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6547 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6548 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6549 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6550 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6551 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6552 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6553 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6554 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6555 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6556 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6557 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6558 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6559 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6560 Likewise.
6561 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6562 Likewise.
6563 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6564 Likewise.
6565 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6566 Likewise.
6567 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6568 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6569 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6570 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6571 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6572 Specify lower bound on value.
6573 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6574 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6575 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6576 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6577 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6578 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6579 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6580 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6581 value.
6582 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6583 as optional.
6584 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6585 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6586 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6587 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6588 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6589 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6590 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6591 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6592 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6593 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6594 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6595 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6596 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6597 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6598 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6599 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6600 entry.
6601 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6602 optional.
6603 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6604 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6605 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6606 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6607 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6608 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6609 Likewise.
6610 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6611 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6613 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6614 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6615 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6616 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6617 as optional.
6618 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6620 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6621 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6622 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6623 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6624 specify as optional.
6625 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6628 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6629 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6630 [XPG3] (NL_LANGMAX): Likewise.
6631 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6632 [POSIX || XPG3] (NL_NMAX): Likewise.
6633 [POSIX || XPG3] (NL_SETMAX): Likewise.
6634 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6635 [XPG3] (NZERO): Likewise.
6636 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6637 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6638 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6639 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6640 (REG_ERANGE): Expect.
6641 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6642 optional-constant.
6643 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6644 Use (void) in prototype.
6645 [POSIX] (*_t): Allow.
6646 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6647 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6648 (WRDE_BADVAL): Expect.
6649
5ba924e3
JM
6650 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6651 expect.
6652 [XPG3 || XPG4] (O_RSYNC): Likewise.
6653 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6654 Likewise.
6655 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6656 [XPG3 || XPG4] (sigqueue): Likewise.
6657 [XPG3 || XPG4] (sigtimedwait): Likewise.
6658 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6659 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6660 [XPG3 || XPG4] (vsnprintf): Likewise.
6661 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6662 Likewise.
6663 [XPG3 || XPG4] (blksize_t): Likewise.
6664 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6665 Likewise.
6666 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6667 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6668 [XPG3 || XPG4] (struct itimerspec): Likewise.
6669 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6670 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6671 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6672 [XPG3 || XPG4] (clockid_t): Likewise.
6673 [XPG3 || XPG4] (timer_t): Likewise.
6674 [XPG3 || XPG4] (clock_getres): Likewise.
6675 [XPG3 || XPG4] (clock_gettime): Likewise.
6676 [XPG3 || XPG4] (clock_settime): Likewise.
6677 [XPG3 || XPG4] (nanosleep): Likewise.
6678 [XPG3 || XPG4] (timer_create): Likewise.
6679 [XPG3 || XPG4] (timer_delete): Likewise.
6680 [XPG3 || XPG4] (timer_gettime): Likewise.
6681 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6682 [XPG3 || XPG4] (timer_settime): Likewise.
6683 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6684 [XPG3 || XPG4] (getlogin_r): Likewise.
6685 [XPG3 || XPG4] (pread): Likewise.
6686 [XPG3 || XPG4] (pthread_atfork): Likewise.
6687 [XPG3 || XPG4] (pwrite): Likewise.
6688
ee663277
JM
6689 [BZ #14835]
6690 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6691 <bits/siginfo.h>.
6692
942caa16
PT
66932012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6694
e19af380
PT
6695 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6696 finalizing MALLSTREAM.
6697
942caa16
PT
6698 * sysdeps/mach/hurd/syncfs.c: New file.
6699
cfde9b46
SP
67002012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6701
6702 [BZ #14719]
6703 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6704 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6705 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6706 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6707 (_nss_dns_gethostbyname4_r): Likewise.
6708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6709 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6710
f6da27e5
PH
67112012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6712
6713 [BZ #13763]
6714 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6715
6665d4a2
SM
67162012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6717
1f51ee92
SM
6718 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6719 * elf/cache.c (print_entry): Print ",AArch64" for
6720 FLAG_AARCH64_LIB64
6721
6665d4a2
SM
6722 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6723 * elf/cache.c (print_entry): Print ",hard-float" for
6724 FLAG_ARM_LIBHF.
6725
05b227bd
DM
67262012-11-18 David S. Miller <davem@davemloft.net>
6727
6728 With help from Joseph Myers.
6729 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6730 cutoff to 2**-13.
6731 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6732 cutoff to 2**-25.
6733 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6734 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6735 small.
6736 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6737 * math/libm-test.inc (y0_test): New tests.
6738 (y1_test): New tests.
6739 * sysdeps/i386/fpu/libm-test-ulps: Update.
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6742
786b0b67
AS
67432012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6744
6745 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6746 64-bit targets.
6747 * configure: Regenerated.
6748
8e18b86d
DM
67492012-11-17 David S. Miller <davem@davemloft.net>
6750
6751 [BZ #14811]
6752 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6753 nonzero exponents with absolute value below 0x1p-128 to +/-
6754 0x1p-128.
6755
531f1ae0
JM
67562012-11-17 Joseph Myers <joseph@codesourcery.com>
6757
12df29e2
JM
6758 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6759
150dc1a0
JM
6760 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6761
531f1ae0
JM
6762 * posix/getconf-speclist.c: New file.
6763 * posix/posix-envs.def: Likewise.
6764 * posix/confstr.c (START_ENV_GROUP): New macro.
6765 (END_ENV_GROUP): Likewise.
6766 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6767 (KNOWN_PRESENT_ENV_STRING): Likewise.
6768 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6769 (UNKNOWN_ENVIRONMENT): Likewise.
6770 (confstr): Include posix-envs.def instead of handling
6771 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6772 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6773 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6774 (END_ENV_GROUP): Likewise.
6775 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6776 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6777 (UNKNOWN_ENVIRONMENT): Likewise.
6778 (__sysconf): Include posix-envs.def instead of handling associated
6779 cases directly here.
6780 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6781 preprocessing getconf-speclist.c rather than running getconf or
6782 generating empty file.
6783
a93f9cbc
PT
67842012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6785
6786 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6787
d64d9f87
AL
67882012-11-16 Andrej Lajovic <natrij@gmail.com>
6789
6790 [BZ #14672]
6791 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6792
447885eb
DM
67932012-11-16 David S. Miller <davem@davemloft.net>
6794
6795 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6796 smaller than LDBL_EPSILON/2.0L, just return xm1.
6797
bcbf9830
L
67982012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6799
6800 * elf/tst-array1.c (init): Set constructor priority to 1000.
6801 (fini): Set destructor priority to 1000.
6802 * elf/tst-array2dep.c: Likewise.
6803
2b766585
SP
68042012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6805
6806 [BZ #11741]
6807 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6808 (_IO_new_file_xsputn): Also return EOF if none of the input
6809 data was written when overflow failed.
6810 * libio/iopadn.c (_IO_padn): Likewise.
6811 * libio/iowpadn.c (_IO_wpadn): Likewise.
6812 * stdio-common/tst-put-error.c: Add copyright notice.
6813 (do_test): Add case for printing padded string.
6814 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6815 _IO_padn returned error.
6816 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6817 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6818 return EOF.
6819
b1848fde
SP
68202012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6821
6822 * libio/libioP.h: Add comment note that the references to C++
6823 bits are now obsolete.
6824
2fd89785
MS
68252012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6826
6827 * math/libm-test.inc (check_complex): Use asprintf.
6828
e3ea5409
JM
68292012-11-14 Joseph Myers <joseph@codesourcery.com>
6830
6831 * debug/pcprofiledump.c (print_version): Update copyright year.
6832 * malloc/memusagestat.c (print_version): Likewise.
6833
2e64d265
L
68342012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6835
6836 [BZ #14831]
6837 * elf/Makefile (tests): Add tst-audit8.
6838 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6839 ($(objpfx)tst-audit8.out): New target.
6840 (tst-audit8-ENV): New variable.
6841 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6842 audit if l_reloc_result is NULL.
6843 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6844 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6845 * elf/tst-audit8.c: New file.
6846
c485e4d2
MS
68472012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6848
6849 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6850 * misc/Makefile (CFLAGS-select.c): Define.
6851 * posix/Makefile (CFLAGS-pause.c): Define.
6852
3a0d900a
DM
68532012-11-13 David S. Miller <davem@davemloft.net>
6854
6855 * crypt/Makefile: Move test targets after toplevel Rules
6856 inclusion. Grab any necessary sysdep routines when linking.
6857 * crypt/md5.c (md5_process_block): Remove define, we will always
6858 name it __md5_process_block.
6859 (md5_finish_ctx): Update md5_process_block call.
6860 (md5_stream): Likewise.
6861 (md5_process_bytes): Likewise.
6862 (md5_process_block): Rename to __md5_process_block and move to ...
6863 * crypt/md5-block.c: ... here.
6864 * crypt/sha256.c (sha256_process_block): Move to ...
6865 * crypt/sha256-block.c: ... here.
6866 * crypt/sha512.c (sha512_process_block): Move to ...
6867 * crypt/sha512-block.c: ... here.
6868 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6869 path.
6870 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6871 * sysdeps/sparc/sparc64/multiarch/Makefile
6872 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6873 crypt subdir.
6874 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6875 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6876 multiarch changes.
6877 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6878 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6879 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6880 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6881 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6882 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6883 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6884 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6885 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6886 file.
6887 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6888 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6889 file.
6890 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6891
8ca89318
JM
68922012-11-13 Joseph Myers <joseph@codesourcery.com>
6893
e27d476a
JM
6894 * timezone/tzselect.ksh: Update from tzcode git revision
6895 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6896 * timezone/zdump.c: Likewise.
6897 * timezone/zic.c: Likewise.
6898 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6899 in TZVERSION setting, not $(PKGVERSION).
6900 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6901 REPORT_BUGS_TO settings.
6902
8ca89318
JM
6903 [BZ #14838]
6904 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6905 macro.
6906
47594329
MS
69072012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6908
6909 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6910 detection to immediately after _FP_ROUND().
6911 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6912 bits are 0.
6913
640ac3f1
DM
69142012-11-11 David S. Miller <davem@davemloft.net>
6915
6916 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6917 inttypes.h
6918 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6919 __close rather than their public counterparts.
6920
3d2577bb
JM
69212012-11-10 Joseph Myers <joseph@codesourcery.com>
6922
6923 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6924 file.
6925 [UNIX98] (sem_timedwait): Do not expect.
6926 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6927 [XPG4 || UNIX98] (sockatmark): Do not expect.
6928 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6929 (clock_getcpuclockid): Do not expect.
6930 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6931 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6932 Do not expect.
6933 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6934 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6935 [UNIX98] (vwscanf): Likewise.
6936 [UNIX98] (vswscanf): Likewise.
6937
fb1ae1ee
JM
69382012-11-09 Joseph Myers <joseph@codesourcery.com>
6939
9ec6f8bd
JM
6940 * timezone/version.h: Remove file.
6941 * timezone/README: Do not refer to version.h.
6942 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6943 $(objpfx)version.h.
6944 ($(objpfx)zdump.o): Likewise.
c3f81911 6945 ($(objpfx)version.h): New target.
9ec6f8bd 6946
0aa8f8a1
JM
6947 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6948 2012i.
6949 * timezone/README: Don't mention modification to tzselect.ksh.
6950 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6951 work on unmodified tzselect.ksh. Substitute version numbers in
6952 tzselect.ksh.
6953
4e87147f
JM
6954 * Makefile (format-me): Remove.
6955 (INSTALL): Adjust indentation. Use commands directly instead of
6956 using $(format-me).
6957
8b748aed
JM
6958 * aclocal.m4 (ACX_PKGVERSION): New macro.
6959 (ACX_BUGURL): Likewise.
6960 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6961 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6962 (REPORT_BUGS_TO): Likewise.
6963 * configure: Regenerated.
6964 * config.h.in (PKGVERSION): New macro.
6965 (REPORT_BUGS_TO): Likewise.
6966 * config.make.in (PKGVERSION): New variable.
6967 (PKGVERSION_TEXI): Likewise.
6968 (REPORT_BUGS_TO): Likewise.
6969 (REPORT_BUGS_TEXI): Likewise.
6970 * Makefile (format-me): Use -I$(common-objpfx)manual.
6971 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6972 ($(common-objpfx)manual/%): New target.
6973 (manual/%): Remove target.
6974 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6975 (print_version): Use PKGVERSION.
6976 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6977 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6978 and REPORT_BUGS_TO.
6979 ($(objpfx)xtrace): Likewise.
6980 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6981 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6982 (print_version): Use PKGVERSION.
6983 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6984 (do_version): Use PKGVERSION.
6985 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6986 REPORT_BUGS_TO.
6987 (common-ldd-rewrite): Likewise.
6988 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6989 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6990 (print_version): Use PKGVERSION.
6991 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6992 * elf/pldd.c (argp_program_bug_address): Remove variable.
6993 (more_help): New function.
6994 (argp): Use more_help.
6995 (print_version): Use PKGVERSION.
6996 * elf/sln.c (main): Use PKGVERSION.
6997 (usage): Use REPORT_BUGS_TO.
6998 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6999 (top level): Use PKGVERSION.
7000 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7001 (print_version): Use PKGVERSION.
7002 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7003 (print_version): Use PKGVERSION.
7004 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7005 (print_version): Use PKGVERSION.
7006 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7007 (print_version): Use PKGVERSION.
7008 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7009 (print_version): Use PKGVERSION.
7010 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7011 (print_version): Use PKGVERSION.
7012 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7013 and BUGURL.
7014 ($(objpfx)memusage): Likewise.
7015 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7016 (do_version): Use PKGVERSION.
7017 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7018 (print_version): Use PKGVERSION.
7019 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7020 ($PKGVERSION): New variable.
7021 ($REPORT_BUGS_TO): Likewise.
7022 (usage): Use $REPORT_BUGS_TO.
7023 (top level): Use $PKGVERSION.
7024 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7025 ($(objpfx)pkgvers.texi): New rule.
7026 ($(objpfx)stamp-pkgvers): Likewise.
7027 * manual/install.texi: Include pkgvers.texi.
7028 (--with-pkgversion): Document new configure option.
7029 (--with-bugurl): Likewise.
7030 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7031 than necessarily for this particular distribution. Use
7032 REPORT_BUGS_TO for where to report bugs.
7033 * INSTALL: Regenerated.
7034 * manual/libc.texinfo: Include pkgvers.texi.
7035 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7036 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7037 (print_version): Use PKGVERSION.
7038 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7039 (print_version): Use PKGVERSION.
7040 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7041 (print_version): Use PKGVERSION.
7042 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7043 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7044 macro.
7045 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7046 (print_version): Use PKGVERSION.
7047 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7048 (print_version): Use PKGVERSION.
7049 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7050 and PKGVERSION.
7051
92e4b6a9
JM
7052 * timezone/checktab.awk: Update from tzcode 2012i.
7053 * timezone/ialloc.c: Likewise.
7054 * timezone/private.h: Likewise.
7055 * timezone/scheck.c: Likewise.
7056 * timezone/tzfile.h: Likewise.
7057 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7058 (TZVERSION): Hardcode tzcode version number.
7059 * timezone/zdump.c: Update from tzcode 2012i.
7060 * timezone/zic.c: Likewise.
7061 * timezone/version.h: New file.
7062 * timezone/README: Describe version.h. Update upstream location.
7063
9bde902c
JM
7064 [BZ #14824]
7065 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7066 (mktemp): Enable declaration.
7067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7071 Likewise.
7072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7073 Likewise.
7074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7075 Likewise.
7076 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7077 Likewise.
7078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7079 Likewise.
7080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7081 Likewise.
7082
fb1ae1ee
JM
7083 [BZ #14821]
7084 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7085 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7086 for copies of such integer values.
7087 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7088 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7089
2c1adbcb
AJ
70902012-11-09 Andreas Jaeger <aj@suse.de>
7091
7092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7093 definitions and declarations that are provided by
7094 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7095
d0f8457e
AK
70962012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7097
3a235abb 7098 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
7099 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7100 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7101 definition.
7102
57241e26
MS
71032012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7104
7105 * elf/elf.h: Update comment before AArch64 relocations.
7106
60e8270d
DM
71072012-11-07 David S. Miller <davem@davemloft.net>
7108
7109 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7110 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7111 (__start_context): Declare.
7112 (__makecontext_ret): Delete.
7113 (__makecontext): Hook up __start_context instead of
7114 __makecontext_ret.
7115 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7116 (sysdep_routines): Add __start_context when in stdlib.
7117
0fbb0fbc
JM
71182012-11-07 Joseph Myers <joseph@codesourcery.com>
7119
7120 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7121 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7122 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7123 hardcoded "nm".
7124 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7125 (READELF): New variable. Use it instead of hardcoded "readelf".
7126
eb48db7e
L
71272012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7128
7129 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7130 * sysdeps/x86/Makefile: Here.
7131 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7132 * sysdeps/x86/tst-xmmymm.sh: This.
7133
05bcf62a
JM
71342012-11-07 Joseph Myers <joseph@codesourcery.com>
7135
c4b6cf53
JM
7136 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7137 expectations.
7138 [UNIX98] (pthread_barrier_t): Do not expect.
7139 [UNIX98] (pthread_barrierattr_t): Likewise.
7140 [UNIX98] (pthread_spinlock_t): Likewise.
7141 [UNIX98] (pthread_barrier_destroy): Likewise.
7142 [UNIX98] (pthread_barrier_init): Likewise.
7143 [UNIX98] (pthread_barrier_wait): Likewise.
7144 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7145 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7146 [UNIX98] (pthread_barrierattr_init): Likewise.
7147 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7148 [UNIX98] (pthread_getcpuclockid): Likewise.
7149 [UNIX98] (pthread_mutex_timedlock): Likewise.
7150 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7151 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7152 [UNIX98] (pthread_sigmask): Likewise.
7153 [UNIX98] (pthread_spin_destroy): Likewise.
7154 [UNIX98] (pthread_spin_init): Likewise.
7155 [UNIX98] (pthread_spin_lock): Likewise.
7156 [UNIX98] (pthread_spin_trylock): Likewise.
7157 [UNIX98] (pthread_spin_unlock): Likewise.
7158 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7159 Do not expect.
7160 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7161 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7162 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7163 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7164 [XPG3 || XPG4] (pthread_key_t): Likewise.
7165 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7166 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7167 [XPG3 || XPG4] (pthread_once_t): Likewise.
7168 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7169 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7170 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7171 [XPG3 || XPG4] (pthread_t): Likewise.
7172
cbe6e120
JM
7173 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7174 not expect.
7175 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7176
1b126443
JM
7177 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7178 Change function return type to int.
7179
b961a573
JM
7180 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7181 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7182 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7183 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7184 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7185 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7186 [!POSIX] (posix_madvise): Likewise.
7187 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7188 && !UNIX98].
7189 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7190 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7191 (mode_t): Likewise.
7192 (posix_mem_offset): Likewise.
7193 (posix_typed_mem_get_info): Likewise.
7194 (posix_typed_mem_open): Likewise.
7195
9e188909
JM
7196 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7197 Change condition to [XOPEN2K8].
7198
05bcf62a
JM
7199 * conform/conformtest.pl: Preprocess allow-header data with -x c
7200 instead of from stdin.
7201 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7202 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7203 [C99-based standards] (cerfc): Likewise.
7204 [C99-based standards] (cexp2): Likewise.
7205 [C99-based standards] (cexpm1): Likewise.
7206 [C99-based standards] (clog10): Likewise.
7207 [C99-based standards] (clog1p): Likewise.
7208 [C99-based standards] (clog2): Likewise.
7209 [C99-based standards] (clgamma): Likewise.
7210 [C99-based standards] (ctgamma): Likewise.
7211 [C99-based standards] (cerff): Likewise.
7212 [C99-based standards] (cerfcf): Likewise.
7213 [C99-based standards] (cexp2f): Likewise.
7214 [C99-based standards] (cexpm1f): Likewise.
7215 [C99-based standards] (clog10f): Likewise.
7216 [C99-based standards] (clog1pf): Likewise.
7217 [C99-based standards] (clog2f): Likewise.
7218 [C99-based standards] (clgammaf): Likewise.
7219 [C99-based standards] (ctgammaf): Likewise.
7220 [C99-based standards] (cerfl): Likewise.
7221 [C99-based standards] (cerfcl): Likewise.
7222 [C99-based standards] (cexp2l): Likewise.
7223 [C99-based standards] (cexpm1l): Likewise.
7224 [C99-based standards] (clog10l): Likewise.
7225 [C99-based standards] (clog1pl): Likewise.
7226 [C99-based standards] (clog2l): Likewise.
7227 [C99-based standards] (clgammal): Likewise.
7228 [C99-based standards] (ctgammal): Likewise.
7229 * conform/data/inttypes.h-data [C99-based standards]: Include
7230 stdint.h-data. Remove all expectations for stdint.h contents.
7231 [C99-based standards] (PRI*): Do not allow.
7232 [C99-based standards] (SCN*): Likewise.
7233 [C99-based standards] (*_t): Likewise.
7234 [C99-based-standards] (PRId8): Expect macro.
7235 [C99-based-standards] (PRIi8): Likewise.
7236 [C99-based-standards] (PRIo8): Likewise.
7237 [C99-based-standards] (PRIu8): Likewise.
7238 [C99-based-standards] (PRIx8): Likewise.
7239 [C99-based-standards] (PRIX8): Likewise.
7240 [C99-based-standards] (SCNd8): Likewise.
7241 [C99-based-standards] (SCNi8): Likewise.
7242 [C99-based-standards] (SCNo8): Likewise.
7243 [C99-based-standards] (SCNu8): Likewise.
7244 [C99-based-standards] (SCNx8): Likewise.
7245 [C99-based-standards] (PRIdLEAST8): Likewise.
7246 [C99-based-standards] (PRIiLEAST8): Likewise.
7247 [C99-based-standards] (PRIoLEAST8): Likewise.
7248 [C99-based-standards] (PRIuLEAST8): Likewise.
7249 [C99-based-standards] (PRIxLEAST8): Likewise.
7250 [C99-based-standards] (PRIXLEAST8): Likewise.
7251 [C99-based-standards] (SCNdLEAST8): Likewise.
7252 [C99-based-standards] (SCNiLEAST8): Likewise.
7253 [C99-based-standards] (SCNoLEAST8): Likewise.
7254 [C99-based-standards] (SCNuLEAST8): Likewise.
7255 [C99-based-standards] (SCNxLEAST8): Likewise.
7256 [C99-based-standards] (PRIdFAST8): Likewise.
7257 [C99-based-standards] (PRIiFAST8): Likewise.
7258 [C99-based-standards] (PRIoFAST8): Likewise.
7259 [C99-based-standards] (PRIuFAST8): Likewise.
7260 [C99-based-standards] (PRIxFAST8): Likewise.
7261 [C99-based-standards] (PRIXFAST8): Likewise.
7262 [C99-based-standards] (SCNdFAST8): Likewise.
7263 [C99-based-standards] (SCNiFAST8): Likewise.
7264 [C99-based-standards] (SCNoFAST8): Likewise.
7265 [C99-based-standards] (SCNuFAST8): Likewise.
7266 [C99-based-standards] (SCNxFAST8): Likewise.
7267 [C99-based-standards] (PRId16): Likewise.
7268 [C99-based-standards] (PRIi16): Likewise.
7269 [C99-based-standards] (PRIo16): Likewise.
7270 [C99-based-standards] (PRIu16): Likewise.
7271 [C99-based-standards] (PRIx16): Likewise.
7272 [C99-based-standards] (PRIX16): Likewise.
7273 [C99-based-standards] (SCNd16): Likewise.
7274 [C99-based-standards] (SCNi16): Likewise.
7275 [C99-based-standards] (SCNo16): Likewise.
7276 [C99-based-standards] (SCNu16): Likewise.
7277 [C99-based-standards] (SCNx16): Likewise.
7278 [C99-based-standards] (PRIdLEAST16): Likewise.
7279 [C99-based-standards] (PRIiLEAST16): Likewise.
7280 [C99-based-standards] (PRIoLEAST16): Likewise.
7281 [C99-based-standards] (PRIuLEAST16): Likewise.
7282 [C99-based-standards] (PRIxLEAST16): Likewise.
7283 [C99-based-standards] (PRIXLEAST16): Likewise.
7284 [C99-based-standards] (SCNdLEAST16): Likewise.
7285 [C99-based-standards] (SCNiLEAST16): Likewise.
7286 [C99-based-standards] (SCNoLEAST16): Likewise.
7287 [C99-based-standards] (SCNuLEAST16): Likewise.
7288 [C99-based-standards] (SCNxLEAST16): Likewise.
7289 [C99-based-standards] (PRIdFAST16): Likewise.
7290 [C99-based-standards] (PRIiFAST16): Likewise.
7291 [C99-based-standards] (PRIoFAST16): Likewise.
7292 [C99-based-standards] (PRIuFAST16): Likewise.
7293 [C99-based-standards] (PRIxFAST16): Likewise.
7294 [C99-based-standards] (PRIXFAST16): Likewise.
7295 [C99-based-standards] (SCNdFAST16): Likewise.
7296 [C99-based-standards] (SCNiFAST16): Likewise.
7297 [C99-based-standards] (SCNoFAST16): Likewise.
7298 [C99-based-standards] (SCNuFAST16): Likewise.
7299 [C99-based-standards] (SCNxFAST16): Likewise.
7300 [C99-based-standards] (PRId32): Likewise.
7301 [C99-based-standards] (PRIi32): Likewise.
7302 [C99-based-standards] (PRIo32): Likewise.
7303 [C99-based-standards] (PRIu32): Likewise.
7304 [C99-based-standards] (PRIx32): Likewise.
7305 [C99-based-standards] (PRIX32): Likewise.
7306 [C99-based-standards] (SCNd32): Likewise.
7307 [C99-based-standards] (SCNi32): Likewise.
7308 [C99-based-standards] (SCNo32): Likewise.
7309 [C99-based-standards] (SCNu32): Likewise.
7310 [C99-based-standards] (SCNx32): Likewise.
7311 [C99-based-standards] (PRIdLEAST32): Likewise.
7312 [C99-based-standards] (PRIiLEAST32): Likewise.
7313 [C99-based-standards] (PRIoLEAST32): Likewise.
7314 [C99-based-standards] (PRIuLEAST32): Likewise.
7315 [C99-based-standards] (PRIxLEAST32): Likewise.
7316 [C99-based-standards] (PRIXLEAST32): Likewise.
7317 [C99-based-standards] (SCNdLEAST32): Likewise.
7318 [C99-based-standards] (SCNiLEAST32): Likewise.
7319 [C99-based-standards] (SCNoLEAST32): Likewise.
7320 [C99-based-standards] (SCNuLEAST32): Likewise.
7321 [C99-based-standards] (SCNxLEAST32): Likewise.
7322 [C99-based-standards] (PRIdFAST32): Likewise.
7323 [C99-based-standards] (PRIiFAST32): Likewise.
7324 [C99-based-standards] (PRIoFAST32): Likewise.
7325 [C99-based-standards] (PRIuFAST32): Likewise.
7326 [C99-based-standards] (PRIxFAST32): Likewise.
7327 [C99-based-standards] (PRIXFAST32): Likewise.
7328 [C99-based-standards] (SCNdFAST32): Likewise.
7329 [C99-based-standards] (SCNiFAST32): Likewise.
7330 [C99-based-standards] (SCNoFAST32): Likewise.
7331 [C99-based-standards] (SCNuFAST32): Likewise.
7332 [C99-based-standards] (SCNxFAST32): Likewise.
7333 [C99-based-standards] (PRId64): Likewise.
7334 [C99-based-standards] (PRIi64): Likewise.
7335 [C99-based-standards] (PRIo64): Likewise.
7336 [C99-based-standards] (PRIu64): Likewise.
7337 [C99-based-standards] (PRIx64): Likewise.
7338 [C99-based-standards] (PRIX64): Likewise.
7339 [C99-based-standards] (SCNd64): Likewise.
7340 [C99-based-standards] (SCNi64): Likewise.
7341 [C99-based-standards] (SCNo64): Likewise.
7342 [C99-based-standards] (SCNu64): Likewise.
7343 [C99-based-standards] (SCNx64): Likewise.
7344 [C99-based-standards] (PRIdLEAST64): Likewise.
7345 [C99-based-standards] (PRIiLEAST64): Likewise.
7346 [C99-based-standards] (PRIoLEAST64): Likewise.
7347 [C99-based-standards] (PRIuLEAST64): Likewise.
7348 [C99-based-standards] (PRIxLEAST64): Likewise.
7349 [C99-based-standards] (PRIXLEAST64): Likewise.
7350 [C99-based-standards] (SCNdLEAST64): Likewise.
7351 [C99-based-standards] (SCNiLEAST64): Likewise.
7352 [C99-based-standards] (SCNoLEAST64): Likewise.
7353 [C99-based-standards] (SCNuLEAST64): Likewise.
7354 [C99-based-standards] (SCNxLEAST64): Likewise.
7355 [C99-based-standards] (PRIdFAST64): Likewise.
7356 [C99-based-standards] (PRIiFAST64): Likewise.
7357 [C99-based-standards] (PRIoFAST64): Likewise.
7358 [C99-based-standards] (PRIuFAST64): Likewise.
7359 [C99-based-standards] (PRIxFAST64): Likewise.
7360 [C99-based-standards] (PRIXFAST64): Likewise.
7361 [C99-based-standards] (SCNdFAST64): Likewise.
7362 [C99-based-standards] (SCNiFAST64): Likewise.
7363 [C99-based-standards] (SCNoFAST64): Likewise.
7364 [C99-based-standards] (SCNuFAST64): Likewise.
7365 [C99-based-standards] (SCNxFAST64): Likewise.
7366 [C99-based-standards] (PRIdMAX): Likewise.
7367 [C99-based-standards] (PRIiMAX): Likewise.
7368 [C99-based-standards] (PRIoMAX): Likewise.
7369 [C99-based-standards] (PRIuMAX): Likewise.
7370 [C99-based-standards] (PRIxMAX): Likewise.
7371 [C99-based-standards] (PRIXMAX): Likewise.
7372 [C99-based-standards] (SCNdMAX): Likewise.
7373 [C99-based-standards] (SCNiMAX): Likewise.
7374 [C99-based-standards] (SCNoMAX): Likewise.
7375 [C99-based-standards] (SCNuMAX): Likewise.
7376 [C99-based-standards] (SCNxMAX): Likewise.
7377 [C99-based-standards] (PRIdPTR): Likewise.
7378 [C99-based-standards] (PRIiPTR): Likewise.
7379 [C99-based-standards] (PRIoPTR): Likewise.
7380 [C99-based-standards] (PRIuPTR): Likewise.
7381 [C99-based-standards] (PRIxPTR): Likewise.
7382 [C99-based-standards] (PRIXPTR): Likewise.
7383 [C99-based-standards] (SCNdPTR): Likewise.
7384 [C99-based-standards] (SCNiPTR): Likewise.
7385 [C99-based-standards] (SCNoPTR): Likewise.
7386 [C99-based-standards] (SCNuPTR): Likewise.
7387 [C99-based-standards] (SCNxPTR): Likewise.
7388 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7389 allow.
7390 * conform/data/stdint.h-data: Update comments to clarify
7391 requirements.
7392 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7393 type.
7394 [C99-based standards] (INT8_MAX): Likewise.
7395 [C99-based standards] (INT16_MIN): Likewise.
7396 [C99-based standards] (INT16_MAX): Likewise.
7397 [C99-based standards] (INT32_MIN): Likewise.
7398 [C99-based standards] (INT32_MAX): Likewise.
7399 [C99-based standards] (INT64_MIN): Likewise.
7400 [C99-based standards] (INT64_MAX): Likewise.
7401 [C99-based standards] (UINT8_MAX): Likewise.
7402 [C99-based standards] (UINT16_MAX): Likewise.
7403 [C99-based standards] (UINT32_MAX): Likewise.
7404 [C99-based standards] (UINT64_MAX): Likewise.
7405 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7406 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7407 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7408 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7409 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7410 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7411 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7412 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7413 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7414 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7415 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7416 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7417 [C99-based standards] (INT_FAST8_MIN): Likewise.
7418 [C99-based standards] (INT_FAST8_MAX): Likewise.
7419 [C99-based standards] (INT_FAST16_MIN): Likewise.
7420 [C99-based standards] (INT_FAST16_MAX): Likewise.
7421 [C99-based standards] (INT_FAST32_MIN): Likewise.
7422 [C99-based standards] (INT_FAST32_MAX): Likewise.
7423 [C99-based standards] (INT_FAST64_MIN): Likewise.
7424 [C99-based standards] (INT_FAST64_MAX): Likewise.
7425 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7426 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7427 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7428 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7429 [C99-based standards] (INTPTR_MIN): Likewise.
7430 [C99-based standards] (INTPTR_MAX): Likewise.
7431 [C99-based standards] (UINTPTR_MAX): Likewise.
7432 [C99-based standards] (INTMAX_MIN): Likewise.
7433 [C99-based standards] (INTMAX_MAX): Likewise.
7434 [C99-based standards] (UINTMAX_MAX): Likewise.
7435 [C99-based standards] (PTRDIFF_MIN): Likewise.
7436 [C99-based standards] (PTRDIFF_MAX): Likewise.
7437 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7438 [C99-based standards] (SIZE_MAX): Likewise.
7439 [C99-based standards] (WCHAR_MAX): Likewise.
7440 [C99-based standards] (WINT_MAX): Likewise.
7441 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7442 constraint on value.
7443 [C99-based standards] (WCHAR_MIN): Likewise.
7444 [C99-based standards] (WINT_MIN): Likewise.
7445 [C99-based standards] (*_t): Allow.
7446 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7447 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7448 Include math.h-data and complex.h-data. Remove all expectations
7449 of math.h and complex.h contents.
7450 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7451 at end of line.
7452 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7453 (struct tm): Expect tag.
7454 [C99-based-standards] (wcstof): Expect function.
7455 [C99-based-standards] (wcstold): Likewise.
7456 [C99-based-standards] (wcstoll): Likewise.
7457 [C99-based-standards] (wcstoull): Likewise.
7458 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7459 macro-int-constant. Specify type.
7460 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7461 constraint on value.
7462 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7463 Specify type.
7464 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7465 Specify value.
7466 [ISO C standards]: Do not allow headers.
7467 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7468 wcs[abcdefghijklmnopqrstuvwxyz]*.
7469 [ISO C standards] (*_t): Do not allow.
7470 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7471 Expect function.
7472 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7473 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7474 Specify type.
7475 [ISO C standards]: Do not allow headers.
7476 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7477 is[abcdefghijklmnopqrstuvwxyz]*.
7478 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7479 to[abcdefghijklmnopqrstuvwxyz]*.
7480 [ISO C standards] (*_t): Do not allow.
7481 * conform/data/stdalign.h-data: New file.
7482 * conform/data/stdbool.h-data: Likewise.
7483 * conform/data/stdnoreturn.h-data: Likewise.
7484
7514feb8
RM
74852012-11-07 Roland McGrath <roland@hack.frob.com>
7486
7487 [BZ #14815]
7488 * manual/filesys.texi (Directory Entries): Typo fix.
7489 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7490
19b2ecfc
MS
74912012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7492
7493 * elf/elf.h (EM_AARCH64): New macro.
7494 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7495 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7496 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7497 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7498 (R_AARCH64_TLSDESC): Likewise.
7499 (NT_ARM_TLS): Likewise.
7500 (NT_ARM_HW_BREAK): Likewise.
7501 (NT_ARM_HW_WATCH): Likewise.
7502
60e235ee
JM
75032012-11-07 Joseph Myers <joseph@codesourcery.com>
7504
7505 [BZ #14811]
7506 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7507 (__ieee754_powl): Saturate nonzero exponents with absolute value
7508 below 0x1p-79 to +/- 0x1p-79.
7509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7510 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7511 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7512 nonzero exponents with absolute value below 0x1p-32 to +/-
7513 0x1p-32.
7514 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7515 (__ieee754_powl): Saturate nonzero exponents with absolute value
7516 below 0x1p-79 to +/- 0x1p-79.
7517 * math/libm-test.inc (pow_test): Add more tests.
7518
0ab234b7
AK
75192012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7520
7521 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7522 _dl_s390_cap_flags with kernel. Increase string length.
7523 (_dl_s390_platforms): Add z196 and zEC12.
7524
45832f74
JM
75252012-11-07 Joseph Myers <joseph@codesourcery.com>
7526
7527 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7528 Change XOPEN21K to XOPEN2K.
7529
19218757
MK
75302012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7531
7532 * string/memmove.c: Use memcpy when possible.
7533
c5f45721
AJ
75342012-11-06 Andreas Jaeger <aj@suse.de>
7535
7536 * po/eo.po: Update from translation team.
7537
82477c28
JM
75382012-11-06 Joseph Myers <joseph@codesourcery.com>
7539
7540 [BZ #14793]
7541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7542 exponent and small x and y exponents, scale x or y up. Increase
7543 by 2 the exponent used in scaling up.
7544 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7545 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7546 * math/libm-test.inc (fma_test): Add more tests.
7547 (fma_test_towardzero): Likewise.
7548 (fma_test_downward): Likewise.
7549 (fma_test_upward): Likewise.
7550
99252c8c
JM
75512012-11-05 Joseph Myers <joseph@codesourcery.com>
7552
acfa885f
JM
7553 [BZ #14805]
7554 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7555 fenv_t *.
7556
99252c8c
JM
7557 [BZ #14801]
7558 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7559 namespace for names of struct fields.
7560 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7561 fenv_t fields.
7562 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7563 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7564
d6d98dea
ST
75652012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7566
7567 [BZ #3665]
7568 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7569
e10bb107
TS
75702012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7571
7572 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7573 PTR_DEMANGLE.
7574
7575 [BZ #5246]
7576 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7577 PTR_DEMANGLE.
7578
a0c2940d
JM
75792012-11-04 Joseph Myers <joseph@codesourcery.com>
7580
7581 [BZ #14797]
7582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7583 definitely overflow as x * y not x * y + z.
7584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7586 * math/libm-test.inc (fma_test): Add more tests.
7587 (fma_test_towardzero): Likewise.
7588 (fma_test_downward): Likewise.
7589 (fma_test_upward): Likewise.
7590
b830319d
TS
75912012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7592
7593 [BZ #157]
7594
7595 * include/stub-tag.h: Remove file.
7596 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7597 '#include' of it.
7598 * manual/maint.texi (Porting): Don't reference it.
7599 * Makerules ($(objpfx)stubs): Likewise.
7600 * dirent/closedir.c: Don't include <stub-tag.h>.
7601 * dirent/dirfd.c: Likewise.
7602 * dirent/fdopendir.c: Likewise.
7603 * dirent/getdents.c: Likewise.
7604 * dirent/getdents64.c: Likewise.
7605 * dirent/opendir.c: Likewise.
7606 * dirent/readdir.c: Likewise.
7607 * dirent/readdir64.c: Likewise.
7608 * dirent/readdir64_r.c: Likewise.
7609 * dirent/readdir_r.c: Likewise.
7610 * dirent/rewinddir.c: Likewise.
7611 * dirent/seekdir.c: Likewise.
7612 * dirent/telldir.c: Likewise.
7613 * gmon/profil.c: Likewise.
7614 * grp/setgroups.c: Likewise.
7615 * inet/if_index.c: Likewise.
7616 * io/access.c: Likewise.
7617 * io/chdir.c: Likewise.
7618 * io/chmod.c: Likewise.
7619 * io/chown.c: Likewise.
7620 * io/close.c: Likewise.
7621 * io/dup.c: Likewise.
7622 * io/dup2.c: Likewise.
7623 * io/dup3.c: Likewise.
7624 * io/euidaccess.c: Likewise.
7625 * io/faccessat.c: Likewise.
7626 * io/fchdir.c: Likewise.
7627 * io/fchmod.c: Likewise.
7628 * io/fchmodat.c: Likewise.
7629 * io/fchown.c: Likewise.
7630 * io/fchownat.c: Likewise.
7631 * io/fcntl.c: Likewise.
7632 * io/flock.c: Likewise.
7633 * io/fstatfs.c: Likewise.
7634 * io/fstatfs64.c: Likewise.
7635 * io/fstatvfs.c: Likewise.
7636 * io/fstatvfs64.c: Likewise.
7637 * io/futimens.c: Likewise.
7638 * io/fxstat.c: Likewise.
7639 * io/fxstat64.c: Likewise.
7640 * io/fxstatat.c: Likewise.
7641 * io/fxstatat64.c: Likewise.
7642 * io/getcwd.c: Likewise.
7643 * io/isatty.c: Likewise.
7644 * io/lchmod.c: Likewise.
7645 * io/lchown.c: Likewise.
7646 * io/link.c: Likewise.
7647 * io/linkat.c: Likewise.
7648 * io/lseek.c: Likewise.
7649 * io/lseek64.c: Likewise.
7650 * io/lxstat64.c: Likewise.
7651 * io/mkdir.c: Likewise.
7652 * io/mkdirat.c: Likewise.
7653 * io/mkfifo.c: Likewise.
7654 * io/mkfifoat.c: Likewise.
7655 * io/open.c: Likewise.
7656 * io/open64.c: Likewise.
7657 * io/openat.c: Likewise.
7658 * io/openat64.c: Likewise.
7659 * io/pipe.c: Likewise.
7660 * io/pipe2.c: Likewise.
7661 * io/poll.c: Likewise.
7662 * io/posix_fadvise.c: Likewise.
7663 * io/posix_fadvise64.c: Likewise.
7664 * io/posix_fallocate.c: Likewise.
7665 * io/posix_fallocate64.c: Likewise.
7666 * io/read.c: Likewise.
7667 * io/readlink.c: Likewise.
7668 * io/readlinkat.c: Likewise.
7669 * io/rmdir.c: Likewise.
7670 * io/sendfile.c: Likewise.
7671 * io/sendfile64.c: Likewise.
7672 * io/statfs.c: Likewise.
7673 * io/statfs64.c: Likewise.
7674 * io/statvfs.c: Likewise.
7675 * io/statvfs64.c: Likewise.
7676 * io/symlink.c: Likewise.
7677 * io/symlinkat.c: Likewise.
7678 * io/ttyname.c: Likewise.
7679 * io/ttyname_r.c: Likewise.
7680 * io/umask.c: Likewise.
7681 * io/unlink.c: Likewise.
7682 * io/unlinkat.c: Likewise.
7683 * io/utime.c: Likewise.
7684 * io/utimensat.c: Likewise.
7685 * io/write.c: Likewise.
7686 * io/xmknod.c: Likewise.
7687 * io/xmknodat.c: Likewise.
7688 * io/xstat.c: Likewise.
7689 * io/xstat64.c: Likewise.
7690 * login/getpt.c: Likewise.
7691 * login/grantpt.c: Likewise.
7692 * login/unlockpt.c: Likewise.
7693 * math/e_acoshl.c: Likewise.
7694 * math/e_acosl.c: Likewise.
7695 * math/e_asinl.c: Likewise.
7696 * math/e_atan2l.c: Likewise.
7697 * math/e_atanhl.c: Likewise.
7698 * math/e_coshl.c: Likewise.
7699 * math/e_expl.c: Likewise.
7700 * math/e_fmodl.c: Likewise.
7701 * math/e_gammal_r.c: Likewise.
7702 * math/e_hypotl.c: Likewise.
7703 * math/e_j0l.c: Likewise.
7704 * math/e_j1l.c: Likewise.
7705 * math/e_jnl.c: Likewise.
7706 * math/e_lgammal_r.c: Likewise.
7707 * math/e_log10l.c: Likewise.
7708 * math/e_log2l.c: Likewise.
7709 * math/e_logl.c: Likewise.
7710 * math/e_powl.c: Likewise.
7711 * math/e_rem_pio2l.c: Likewise.
7712 * math/e_sinhl.c: Likewise.
7713 * math/e_sqrtl.c: Likewise.
7714 * math/fclrexcpt.c: Likewise.
7715 * math/fedisblxcpt.c: Likewise.
7716 * math/feenablxcpt.c: Likewise.
7717 * math/fegetenv.c: Likewise.
7718 * math/fegetexcept.c: Likewise.
7719 * math/fegetround.c: Likewise.
7720 * math/feholdexcpt.c: Likewise.
7721 * math/fesetenv.c: Likewise.
7722 * math/fesetround.c: Likewise.
7723 * math/feupdateenv.c: Likewise.
7724 * math/fgetexcptflg.c: Likewise.
7725 * math/fraiseexcpt.c: Likewise.
7726 * math/fsetexcptflg.c: Likewise.
7727 * math/ftestexcept.c: Likewise.
7728 * math/k_cosl.c: Likewise.
7729 * math/k_rem_pio2l.c: Likewise.
7730 * math/k_sinl.c: Likewise.
7731 * math/k_tanl.c: Likewise.
7732 * math/s_asinhl.c: Likewise.
7733 * math/s_atanl.c: Likewise.
7734 * math/s_cbrtl.c: Likewise.
7735 * math/s_erfl.c: Likewise.
7736 * math/s_expm1l.c: Likewise.
7737 * math/s_log1pl.c: Likewise.
7738 * math/s_tanhl.c: Likewise.
7739 * misc/acct.c: Likewise.
7740 * misc/brk.c: Likewise.
7741 * misc/chflags.c: Likewise.
7742 * misc/chroot.c: Likewise.
7743 * misc/fchflags.c: Likewise.
7744 * misc/fgetxattr.c: Likewise.
7745 * misc/flistxattr.c: Likewise.
7746 * misc/fremovexattr.c: Likewise.
7747 * misc/fsetxattr.c: Likewise.
7748 * misc/fsync.c: Likewise.
7749 * misc/ftruncate.c: Likewise.
7750 * misc/futimes.c: Likewise.
7751 * misc/futimesat.c: Likewise.
7752 * misc/getdomain.c: Likewise.
7753 * misc/getdtsz.c: Likewise.
7754 * misc/gethostid.c: Likewise.
7755 * misc/gethostname.c: Likewise.
7756 * misc/getloadavg.c: Likewise.
7757 * misc/getpagesize.c: Likewise.
7758 * misc/getsysstats.c: Likewise.
7759 * misc/getxattr.c: Likewise.
7760 * misc/gtty.c: Likewise.
7761 * misc/ioctl.c: Likewise.
7762 * misc/lgetxattr.c: Likewise.
7763 * misc/listxattr.c: Likewise.
7764 * misc/llistxattr.c: Likewise.
7765 * misc/lremovexattr.c: Likewise.
7766 * misc/lsetxattr.c: Likewise.
7767 * misc/lutimes.c: Likewise.
7768 * misc/madvise.c: Likewise.
7769 * misc/mincore.c: Likewise.
7770 * misc/mlock.c: Likewise.
7771 * misc/mlockall.c: Likewise.
7772 * misc/mmap.c: Likewise.
7773 * misc/mprotect.c: Likewise.
7774 * misc/msync.c: Likewise.
7775 * misc/munlock.c: Likewise.
7776 * misc/munlockall.c: Likewise.
7777 * misc/munmap.c: Likewise.
7778 * misc/preadv.c: Likewise.
7779 * misc/preadv64.c: Likewise.
7780 * misc/ptrace.c: Likewise.
7781 * misc/pwritev.c: Likewise.
7782 * misc/pwritev64.c: Likewise.
7783 * misc/readv.c: Likewise.
7784 * misc/reboot.c: Likewise.
7785 * misc/remap_file_pages.c: Likewise.
7786 * misc/removexattr.c: Likewise.
7787 * misc/revoke.c: Likewise.
7788 * misc/select.c: Likewise.
7789 * misc/setdomain.c: Likewise.
7790 * misc/setegid.c: Likewise.
7791 * misc/seteuid.c: Likewise.
7792 * misc/sethostid.c: Likewise.
7793 * misc/sethostname.c: Likewise.
7794 * misc/setregid.c: Likewise.
7795 * misc/setreuid.c: Likewise.
7796 * misc/setxattr.c: Likewise.
7797 * misc/sstk.c: Likewise.
7798 * misc/stty.c: Likewise.
7799 * misc/swapoff.c: Likewise.
7800 * misc/swapon.c: Likewise.
7801 * misc/sync.c: Likewise.
7802 * misc/syncfs.c: Likewise.
7803 * misc/syscall.c: Likewise.
7804 * misc/truncate.c: Likewise.
7805 * misc/ualarm.c: Likewise.
7806 * misc/usleep.c: Likewise.
7807 * misc/ustat.c: Likewise.
7808 * misc/utimes.c: Likewise.
7809 * misc/vhangup.c: Likewise.
7810 * misc/writev.c: Likewise.
7811 * posix/_exit.c: Likewise.
7812 * posix/alarm.c: Likewise.
7813 * posix/execve.c: Likewise.
7814 * posix/fexecve.c: Likewise.
7815 * posix/fork.c: Likewise.
7816 * posix/fpathconf.c: Likewise.
7817 * posix/getaddrinfo.c: Likewise.
7818 * posix/getegid.c: Likewise.
7819 * posix/geteuid.c: Likewise.
7820 * posix/getgid.c: Likewise.
7821 * posix/getgroups.c: Likewise.
7822 * posix/getlogin.c: Likewise.
7823 * posix/getlogin_r.c: Likewise.
7824 * posix/getpgid.c: Likewise.
7825 * posix/getpid.c: Likewise.
7826 * posix/getppid.c: Likewise.
7827 * posix/getresgid.c: Likewise.
7828 * posix/getresuid.c: Likewise.
7829 * posix/getsid.c: Likewise.
7830 * posix/getuid.c: Likewise.
7831 * posix/glob64.c: Likewise.
7832 * posix/nanosleep.c: Likewise.
7833 * posix/pathconf.c: Likewise.
7834 * posix/pause.c: Likewise.
7835 * posix/posix_madvise.c: Likewise.
7836 * posix/pread.c: Likewise.
7837 * posix/pread64.c: Likewise.
7838 * posix/pwrite.c: Likewise.
7839 * posix/pwrite64.c: Likewise.
7840 * posix/sched_getaffinity.c: Likewise.
7841 * posix/sched_getp.c: Likewise.
7842 * posix/sched_gets.c: Likewise.
7843 * posix/sched_primax.c: Likewise.
7844 * posix/sched_primin.c: Likewise.
7845 * posix/sched_rr_gi.c: Likewise.
7846 * posix/sched_setaffinity.c: Likewise.
7847 * posix/sched_setp.c: Likewise.
7848 * posix/sched_sets.c: Likewise.
7849 * posix/sched_yield.c: Likewise.
7850 * posix/setgid.c: Likewise.
7851 * posix/setlogin.c: Likewise.
7852 * posix/setpgid.c: Likewise.
7853 * posix/setresgid.c: Likewise.
7854 * posix/setresuid.c: Likewise.
7855 * posix/setsid.c: Likewise.
7856 * posix/setuid.c: Likewise.
7857 * posix/sleep.c: Likewise.
7858 * posix/spawni.c: Likewise.
7859 * posix/sysconf.c: Likewise.
7860 * posix/times.c: Likewise.
7861 * posix/wait.c: Likewise.
7862 * posix/wait3.c: Likewise.
7863 * posix/wait4.c: Likewise.
7864 * posix/waitpid.c: Likewise.
7865 * resolv/gai_sigqueue.c: Likewise.
7866 * resource/getpriority.c: Likewise.
7867 * resource/getrlimit.c: Likewise.
7868 * resource/getrusage.c: Likewise.
7869 * resource/nice.c: Likewise.
7870 * resource/setpriority.c: Likewise.
7871 * resource/setrlimit.c: Likewise.
7872 * resource/ulimit.c: Likewise.
7873 * rt/aio_cancel.c: Likewise.
7874 * rt/aio_fsync.c: Likewise.
7875 * rt/aio_read.c: Likewise.
7876 * rt/aio_sigqueue.c: Likewise.
7877 * rt/aio_suspend.c: Likewise.
7878 * rt/aio_write.c: Likewise.
7879 * rt/clock_getres.c: Likewise.
7880 * rt/clock_gettime.c: Likewise.
7881 * rt/clock_nanosleep.c: Likewise.
7882 * rt/clock_settime.c: Likewise.
7883 * rt/lio_listio.c: Likewise.
7884 * rt/mq_close.c: Likewise.
7885 * rt/mq_getattr.c: Likewise.
7886 * rt/mq_notify.c: Likewise.
7887 * rt/mq_open.c: Likewise.
7888 * rt/mq_receive.c: Likewise.
7889 * rt/mq_send.c: Likewise.
7890 * rt/mq_setattr.c: Likewise.
7891 * rt/mq_timedreceive.c: Likewise.
7892 * rt/mq_timedsend.c: Likewise.
7893 * rt/mq_unlink.c: Likewise.
7894 * rt/shm_open.c: Likewise.
7895 * rt/shm_unlink.c: Likewise.
7896 * rt/timer_create.c: Likewise.
7897 * rt/timer_delete.c: Likewise.
7898 * rt/timer_getoverr.c: Likewise.
7899 * rt/timer_gettime.c: Likewise.
7900 * rt/timer_settime.c: Likewise.
7901 * setjmp/__longjmp.c: Likewise.
7902 * setjmp/setjmp.c: Likewise.
7903 * signal/kill.c: Likewise.
7904 * signal/killpg.c: Likewise.
7905 * signal/raise.c: Likewise.
7906 * signal/sigaction.c: Likewise.
7907 * signal/sigaltstack.c: Likewise.
7908 * signal/sigblock.c: Likewise.
7909 * signal/sigignore.c: Likewise.
7910 * signal/sigintr.c: Likewise.
7911 * signal/signal.c: Likewise.
7912 * signal/sigpause.c: Likewise.
7913 * signal/sigpending.c: Likewise.
7914 * signal/sigqueue.c: Likewise.
7915 * signal/sigreturn.c: Likewise.
7916 * signal/sigset.c: Likewise.
7917 * signal/sigsetmask.c: Likewise.
7918 * signal/sigstack.c: Likewise.
7919 * signal/sigsuspend.c: Likewise.
7920 * signal/sigtimedwait.c: Likewise.
7921 * signal/sigvec.c: Likewise.
7922 * signal/sigwait.c: Likewise.
7923 * signal/sigwaitinfo.c: Likewise.
7924 * signal/sysv_signal.c: Likewise.
7925 * socket/accept.c: Likewise.
7926 * socket/accept4.c: Likewise.
7927 * socket/bind.c: Likewise.
7928 * socket/connect.c: Likewise.
7929 * socket/getpeername.c: Likewise.
7930 * socket/getsockname.c: Likewise.
7931 * socket/getsockopt.c: Likewise.
7932 * socket/isfdtype.c: Likewise.
7933 * socket/listen.c: Likewise.
7934 * socket/recv.c: Likewise.
7935 * socket/recvfrom.c: Likewise.
7936 * socket/recvmsg.c: Likewise.
7937 * socket/send.c: Likewise.
7938 * socket/sendmsg.c: Likewise.
7939 * socket/sendto.c: Likewise.
7940 * socket/setsockopt.c: Likewise.
7941 * socket/shutdown.c: Likewise.
7942 * socket/sockatmark.c: Likewise.
7943 * socket/socket.c: Likewise.
7944 * socket/socketpair.c: Likewise.
7945 * stdio-common/ctermid.c: Likewise.
7946 * stdio-common/cuserid.c: Likewise.
7947 * stdio-common/remove.c: Likewise.
7948 * stdio-common/rename.c: Likewise.
7949 * stdio-common/renameat.c: Likewise.
7950 * stdio-common/tempname.c: Likewise.
7951 * stdlib/getcontext.c: Likewise.
7952 * stdlib/makecontext.c: Likewise.
7953 * stdlib/setcontext.c: Likewise.
7954 * stdlib/swapcontext.c: Likewise.
7955 * stdlib/system.c: Likewise.
7956 * streams/fattach.c: Likewise.
7957 * streams/fdetach.c: Likewise.
7958 * streams/getmsg.c: Likewise.
7959 * streams/getpmsg.c: Likewise.
7960 * streams/putmsg.c: Likewise.
7961 * streams/putpmsg.c: Likewise.
7962 * sysdeps/unix/bsd/getpt.c: Likewise.
7963 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7964 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7965 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7967 Likewise.
7968 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7969 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7970 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7971 * sysvipc/msgctl.c: Likewise.
7972 * sysvipc/msgget.c: Likewise.
7973 * sysvipc/msgrcv.c: Likewise.
7974 * sysvipc/msgsnd.c: Likewise.
7975 * sysvipc/semctl.c: Likewise.
7976 * sysvipc/semget.c: Likewise.
7977 * sysvipc/semop.c: Likewise.
7978 * sysvipc/semtimedop.c: Likewise.
7979 * sysvipc/shmat.c: Likewise.
7980 * sysvipc/shmctl.c: Likewise.
7981 * sysvipc/shmdt.c: Likewise.
7982 * sysvipc/shmget.c: Likewise.
7983 * termios/tcdrain.c: Likewise.
7984 * termios/tcflow.c: Likewise.
7985 * termios/tcflush.c: Likewise.
7986 * termios/tcgetattr.c: Likewise.
7987 * termios/tcgetpgrp.c: Likewise.
7988 * termios/tcsendbrk.c: Likewise.
7989 * termios/tcsetattr.c: Likewise.
7990 * termios/tcsetpgrp.c: Likewise.
7991 * time/adjtime.c: Likewise.
7992 * time/clock.c: Likewise.
7993 * time/getitimer.c: Likewise.
7994 * time/gettimeofday.c: Likewise.
7995 * time/setitimer.c: Likewise.
7996 * time/settimeofday.c: Likewise.
7997 * time/stime.c: Likewise.
7998 * time/time.c: Likewise.
7999
80002012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 8001
a20492cf
PT
8002 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8003 /usr/old/bin.
8004
72e182e3
PT
8005 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8006 instead of spaces.
8007 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8008
fbeafede
JM
80092012-11-03 Joseph Myers <joseph@codesourcery.com>
8010
5b5b04d6
JM
8011 [BZ #14796]
8012 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8013 FE_TONEAREST before applying Dekker multiplication and Knuth
8014 addition. Clear inexact exceptions and check for exact zero
8015 results afterwards.
8016 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8017 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8018 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8019 * math/libm-test.inc (fma_test): Add more tests.
8020 (fma_test_towardzero): Likewise.
8021 (fma_test_downward): Likewise.
8022 (fma_test_upward): Likewise.
8023 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8024 function.
8025 (libc_fesetround): New macro.
8026 (libc_fesetroundf): Likewise.
8027 (libc_fesetroundl): Likewise.
8028 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8029 function.
8030 (libc_fesetround_387): Likewise.
8031 (libc_fesetroundf): New macro.
8032 (libc_fesetround): Likewise.
8033 (libc_fesetroundl): Likewise.
8034 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8035 function.
8036 (libc_fesetroundf): New macro.
8037 (libc_fesetround): Likewise.
8038 (libc_fesetroundl): Likewise.
8039 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8040 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8041 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8042 libm_hidden_ver.
8043 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8044 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8045 libm_hidden_def.
8046 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8047 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8048 libm_hidden_ver.
8049 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8050 libm_hidden_def.
8051
fbeafede
JM
8052 [BZ #3439]
8053 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8054 integer constant usable in #if and use that to give value to enum
8055 constant.
8056 (FE_DIVBYZERO): Likewise.
8057 (FE_UNDERFLOW): Likewise.
8058 (FE_OVERFLOW): Likewise.
8059 (FE_INVALID): Likewise.
8060 (FE_INVALID_SNAN): Likewise.
8061 (FE_INVALID_ISI): Likewise.
8062 (FE_INVALID_IDI): Likewise.
8063 (FE_INVALID_ZDZ): Likewise.
8064 (FE_INVALID_IMZ): Likewise.
8065 (FE_INVALID_COMPARE): Likewise.
8066 (FE_INVALID_SOFTWARE): Likewise.
8067 (FE_INVALID_SQRT): Likewise.
8068 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8069 (FE_TONEAREST): Likewise.
8070 (FE_TOWARDZERO): Likewise.
8071 (FE_UPWARD): Likewise.
8072 (FE_DOWNWARD): Likewise.
8073 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8074 (FE_DIVBYZERO): Likewise.
8075 (FE_OVERFLOW): Likewise.
8076 (FE_UNDERFLOW): Likewise.
8077 (FE_INEXACT): Likewise.
8078 (FE_TONEAREST): Likewise.
8079 (FE_DOWNWARD): Likewise.
8080 (FE_UPWARD): Likewise.
8081 (FE_TOWARDZERO): Likewise.
8082 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8083 (FE_UNDERFLOW): Likewise.
8084 (FE_OVERFLOW): Likewise.
8085 (FE_DIVBYZERO): Likewise.
8086 (FE_INVALID): Likewise.
8087 (FE_TONEAREST): Likewise.
8088 (FE_TOWARDZERO): Likewise.
8089 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8090 (FE_OVERFLOW): Likewise.
8091 (FE_UNDERFLOW): Likewise.
8092 (FE_DIVBYZERO): Likewise.
8093 (FE_INEXACT): Likewise.
8094 (FE_TONEAREST): Likewise.
8095 (FE_TOWARDZERO): Likewise.
8096 (FE_UPWARD): Likewise.
8097 (FE_DOWNWARD): Likewise.
8098 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8099 (FE_DIVBYZERO): Likewise.
8100 (FE_OVERFLOW): Likewise.
8101 (FE_UNDERFLOW): Likewise.
8102 (FE_INEXACT): Likewise.
8103 (FE_TONEAREST): Likewise.
8104 (FE_DOWNWARD): Likewise.
8105 (FE_UPWARD): Likewise.
8106 (FE_TOWARDZERO): Likewise.
8107
105ca950
CM
81082012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8109
8110 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8111
a542b389
AS
81122012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8113
8114 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8115 commands. Quote $PWD.
8116 (blacklist_exports): Don't use remove_newlines. Replace "declare
8117 -x" by "export".
8118 (remove_newlines): Remove.
8119
f62c8abc
L
81202012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8121
8122 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8123 * stdlib/stdlib.h (atof): Moved to ...
8124 * include/bits/stdlib-float.h: Here. New file.
8125 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8126 * stdlib/bits/stdlib-float.h: New file.
8127 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8128 -mno-sse -mno-mmx.
8129 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8130 <xmmintrin.h>.
8131
0155d5b2
JM
81322012-11-02 Joseph Myers <joseph@codesourcery.com>
8133
a68d0680
JM
8134 * conform/conformtest.pl (@headers): Add fenv.h.
8135 * conform/data/fenv.h-data: New file.
8136 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8137 include of <math/fenv.h>.
8138
caf7f573
JM
8139 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8140 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8141 && !UNIX98]. Enables tests for XOPEN2K8.
8142 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8143 POSIX2008]: Likewise.
8144
6c073ad6
JM
8145 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8146 (struct rusage): Do not expect type or its members.
8147
0155d5b2
JM
8148 [BZ #3439]
8149 * math/math.h (FP_NAN): Define macro to integer constant usable in
8150 #if and use that to give value to enum constant.
8151 (FP_INFINITE): Likewise.
8152 (FP_ZERO): Likewise.
8153 (FP_SUBNORMAL): Likewise.
8154 (FP_NORMAL): Likewise.
8155
b5dcacb4
AS
81562012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8157
8158 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8159 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8160 arguments.
8161
f7934be8
RM
81622012-11-02 Roland McGrath <roland@hack.frob.com>
8163
8164 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8165 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8166 autoconf-time if not.
8167 * configure.in: Remove AC_PREREQ.
8168
d7d08bde
TMQMF
81692012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8170
8171 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8172 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8173 of the internal implementation.
8174
dcdae19a
JM
81752012-11-02 Joseph Myers <joseph@codesourcery.com>
8176
8177 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8178 except include of <misc/sys/syslog.h>.
8179
d6cffd3e
AS
81802012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8181
8182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8183 function returns with a NULL context exit with zero.
8184
b3563932
TMQMF
81852012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8186
8187 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8188
b288a93d
L
81892012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8190
8191 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8192 (run_program_cmd): This.
8193 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8194 (tst_langinfo): New variable. Use it.
8195
a2421a68
SAS
81962012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8197
8198 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8199 floating point opcodes.
8200
6f796e1b
TS
82012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8202
7402596b
TS
8203 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8204 variable.
8205
d0d4f868
TS
8206 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8207
6f796e1b
TS
8208 * sysdeps/mach/hurd/powerpc: Remove directory.
8209 * sysdeps/mach/powerpc: Likewise.
8210
4da224a2
AS
82112012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8212
8213 * scripts/check-local-headers.sh: Ignore c++ headers.
8214
341dd673
TS
82152012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8216
8217 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8218 __libc_cleanup_region_start argument.
8219
473611b2
JM
82202012-11-01 Joseph Myers <joseph@codesourcery.com>
8221
8222 [BZ #14784]
8223 [BZ #14785]
8224 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8225 x * y using scaling, not as x * y + z.
8226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8227 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8228 * math/libm-test.inc (fma_test): Add more tests.
8229 (fma_test_towardzero): Likewise.
8230 (fma_test_downward): Likewise.
8231 (fma_test_upward): Likewise.
8232
4078da3d
TS
82332012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8234
8235 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8236
903252aa
JM
82372012-10-31 Joseph Myers <joseph@codesourcery.com>
8238
8239 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8240 New variable.
8241
cbc818d0
TS
82422012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8243
8244 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8245
5a03cb1e
AS
82462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8247
8248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8249 Fix sort order.
8250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8251 Likewise.
8252
90aff2ff
TMQMF
82532012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8254
8255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8256 Fix the order of the list for glibc 2.17.
8257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8258 Likewise.
8259
1818fcb7
AS
82602012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8261
8262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8263
ef82f4da
JM
82642012-10-31 Joseph Myers <joseph@codesourcery.com>
8265
16a0e2ec
JM
8266 [BZ #14610]
8267 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8268 for low part of x being zero before using __atanl (y).
8269 * math/libm-test.inc (atan2_test): Add another test.
8270
0eb69512
JM
8271 * manual/install.texi (Configuring and compiling): Document
8272 general use of test-wrapper and test-wrapper-env.
8273 * INSTALL: Regenerated.
8274
ef82f4da
JM
8275 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8276 (__fma): Do not extract and scale down low bits on after-rounding
8277 systems when result rounded to normal precision would have normal
8278 exponent.
8279 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8280 (__fmal): Do not extract and scale down low bits on after-rounding
8281 systems when result rounded to normal precision would have normal
8282 exponent.
8283 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8284 (__fmal): Do not extract and scale down low bits on after-rounding
8285 systems when result rounded to normal precision would have normal
8286 exponent.
8287 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8288 macro.
8289 (fma_test): Add more tests.
8290 (fma_test_towardzero): Likewise.
8291 (fma_test_downward): Likewise.
8292 (fma_test_upward): Likewise.
8293
954ef0d9
L
82942012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8295
8296 * sysdeps/i386/tininess.h: Renamed to ...
8297 * sysdeps/x86/tininess.h: This.
8298 * sysdeps/x86_64/tininess.h: Removed.
8299
df61ffb2
JM
83002012-10-30 Joseph Myers <joseph@codesourcery.com>
8301
8302 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8303 input. Use $(build-program-cmd).
8304 ($(objpfx)tst-array1-static.out): Likewise.
8305 ($(objpfx)tst-array2.out): Likewise.
8306 ($(objpfx)tst-array3.out): Likewise.
8307 ($(objpfx)tst-array4.out): Likewise.
8308 ($(objpfx)tst-array5.out): Likewise.
8309 ($(objpfx)tst-array5-static.out): Likewise.
8310
01767843
CM
83112012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8312
47cc1490
CM
8313 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8314 if defined.
8315
01767843
CM
8316 * nss/nsswitch.h (nss_interface_function): Provide new
8317 macro for use with NSS functions.
8318 * grp/initgroups.c: Use new macro.
8319 * nss/getXXbyYY.c: Likewise.
8320 * nss/getXXbyYY_r.c: Likewise.
8321 * nss/getXXent.c: Likewise.
8322 * nss/getXXent_r.c: Likewise.
8323 * sysdeps/posix/getaddrinfo.c: Likewise.
8324
8321aa97
AJ
83252012-10-30 Andreas Jaeger <aj@suse.de>
8326
8327 * po/ru.po: Update Russion translation from translation project.
8328
2a27fd6d
JM
83292012-10-30 Joseph Myers <joseph@codesourcery.com>
8330
8627a232
JM
8331 [BZ #14152]
8332 [BZ #14783]
8333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8334 result and shift together with sticky bit instead of replicating
8335 round-to-nearest rounding.
8336 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8338 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8339 missing underflow exceptions.
8340 (fma_test_towardzero): Add more tests.
8341 (fma_test_downward): Likewise.
8342 (fma_test_upward): Likewise.
8343
2a27fd6d
JM
8344 [BZ #14047]
8345 * sysdeps/generic/tininess.h: New file.
8346 * sysdeps/i386/tininess.h: Likewise.
8347 * sysdeps/sh/tininess.h: Likewise.
8348 * sysdeps/x86_64/tininess.h: Likewise.
8349 * stdlib/tst-strtod-underflow.c: Likewise.
8350 * stdlib/tst-tininess.c: Likewise.
8351 * stdlib/strtod_l.c: Include <tininess.h>.
8352 (round_and_return): Do not set errno for exact underflow cases.
8353 Force an underflow exception when setting errno for underflow.
8354 Determine underflow based on rounding to normal precision if
8355 TININESS_AFTER_ROUNDING.
8356 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8357 ERANGE for exact underflow cases.
8358 * stdlib/Makefile (tests): Add tst-tininess and
8359 tst-strtod-underflow.
8360 ($(objpfx)tst-tininess): Use $(link-libm).
8361 ($(objpfx)tst-strtod-underflow): Likewise.
8362
e7170363
AJ
83632012-10-30 Andreas Jaeger <aj@suse.de>
8364
e5088dc6
AJ
8365 [BZ#14767]
8366 * elf/Makefile (tests): Remove conditional for have-initfini-array
8367 since this is now always required and the variable does not exist
8368 anymore.
8369 (tests-static): Likewise.
8370 (modules-names): Likewise.
8371
e7170363 8372 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8373
8374 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8375 merged with constructor/destructor.
8376 (init_array): Likewise.
8377 * elf/tst-array2dep.c (fini_array): Likewise.
8378 (init_array): Likewise.
8379
60457d8a
MF
83802012-10-29 Mike Frysinger <vapier@gentoo.org>
8381
8382 * manual/message.texi: Delete @cartouche tags.
8383
8bece752
PT
83842012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8385
94ce799f
PT
8386 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8387 EOPNOTSUPP.
8388 * sysdeps/mach/hurd/fsync.c: Likewise.
8389
8bece752
PT
8390 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8391 [_POSIX_REALTIME_SIGNALS]: Change condition to
8392 [_POSIX_REALTIME_SIGNALS > 0].
8393
86ebe6b1
AJ
83942012-10-27 Andreas Jaeger <aj@suse.de>
8395
8396 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8397 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8399 [__WORDSIZE != 64]: Likewise.
8400
54399c08
L
84012012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8402
8403 * iconvdata/tst-table.sh: Remove ${SHELL}.
8404 * iconvdata/tst-tables.sh: Likewise.
8405
e2211bed
DM
84062012-10-25 David S. Miller <davem@davemloft.net>
8407
8408 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8409 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8410 of strtoull.
8411
f303f97c
DM
8412 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8413 ifunc-impl-list.c
8414 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8415 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8416 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8417 file.
8418
1e9d84cd
RM
84192012-10-25 Roland McGrath <roland@hack.frob.com>
8420
8421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8422 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8423 __getdirentries.
8424
df381762
JM
84252012-10-25 Joseph Myers <joseph@codesourcery.com>
8426 Jim Blandy <jimb@codesourcery.com>
8427
8428 * scripts/cross-test-ssh.sh: New file.
8429 * manual/install.texi (Configuring and compiling): Document use of
8430 cross-test-ssh.sh.
8431 * INSTALL: Regenerated.
8432
bff64913
PT
84332012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8434
8435 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8436 EOPNOTSUPP.
8437
25fe8932
JM
84382012-10-25 Joseph Myers <joseph@codesourcery.com>
8439
8440 * Makeconfig (run-program-prefix): Fix comment.
8441
cc1290d0
JM
84422012-10-24 Joseph Myers <joseph@codesourcery.com>
8443 Jim Blandy <jimb@codesourcery.com>
8444
8445 * Makeconfig (test-wrapper): New variable,
8446 (test-wrapper-env): Likewise.
8447 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8448 (run-built-tests): Define to yes.
8449 (run-program-prefix): Use $(test-wrapper).
8450 (built-program-cmd): Likewise.
8451 * Rules (make-test-out): Use $(test-wrapper-env) and
8452 $(host-built-program-cmd).
8453 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8454 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8455 tst-pathopt.sh.
8456 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8457 $(test-wrapper-env) to tst-rtld-load-self.sh.
8458 ($(objpfx)order2.out): Use $(test-wrapper).
8459 ($(objpfx)tst-initorder.out): Likewise.
8460 ($(objpfx)tst-initorder2.out): Likewise.
8461 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8462 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8463 (test_wrapper_env): New variable. Use it to run ld.so.
8464 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8465 Use it to run ld.so.
8466 (test_wrapper_env): Likewise.
8467 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8468 $(test-wrapper) to run-iconv-test.sh.
8469 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8470 (ICONV): Use $test_wrapper.
8471 * posix/Makefile ($(objpfx)globtest.out): Pass
8472 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8473 globtest.sh, not $(run-program-prefix).
8474 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8475 (test_wrapper): Likewise.
8476 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8477 set together with run_via_rtld_prefix.
8478 (run_program_prefix): Define in terms of test_wrapper and
8479 run_via_rtld_prefix.
8480
6e6249d0
RM
84812012-10-24 Roland McGrath <roland@hack.frob.com>
8482
8483 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8484 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8485 Targets removed.
8486
8487 [BZ #14743]
8488 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8489 Declare __clock_getres, __clock_gettime, __clock_settime,
8490 __clock_nanosleep, and __clock_getcpuclockid.
8491 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8492 Remove librt_hidden_def (clock_gettime).
8493 * sysdeps/unix/clock_gettime.c: Likewise.
8494 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8495 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8496 * rt/clock_getres.c: Define __clock_getres as an alias.
8497 * sysdeps/posix/clock_getres.c: Likewise.
8498 * rt/clock_settime.c: Define __clock_settime as an alias.
8499 * sysdeps/unix/clock_settime.c: Likewise.
8500 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8501 * sysdeps/unix/clock_nanosleep.c: Likewise.
8502 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8503 * rt/clock-compat.c: New file.
8504 * rt/Makefile (librt-routines): Add clock-compat and move
8505 $(clock-routines) to ...
8506 (routines): ... here, new variable.
8507 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8508 Don't add get_clockfreq here.
8509 * rt/Versions (libc: GLIBC_2.17): New version set.
8510 Add clock_* symbols here.
8511 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8512 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8513 (GLIBC_2.17): Add clock_* symbols.
8514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8518 Likewise.
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8520 Likewise.
8521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8525 * NEWS: Mention the move.
8526
8527 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8528 Use __open, __read, __close rather than their public counterparts.
8529 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8530 (__get_clockfreq_via_cpuinfo): Likewise.
8531 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8532 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8533
8534 * config.h.in (HAVE_IFUNC): New #undef.
8535 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8536 was successful.
8537 * configure: Regenerated.
8538
0cae3f4b
MF
85392012-10-24 Mike Frysinger <vapier@gentoo.org>
8540
8541 * configure.in: Move READELF check to start of file.
8542 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8543 libc_cv_asm_gnu_indirect_function in the process.
8544 * configure: Regenerated.
8545
8175a253
MF
85462012-10-24 Mike Frysinger <vapier@gentoo.org>
8547
8548 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8549 send the output to /dev/null.
8550 (libc_cv_cc_with_libunwind): Likewise.
8551 (libc_cv_as_noexecstack): Likewise.
8552 * configure: Regenerate.
8553
0708a7d1
JM
85542012-10-24 Joseph Myers <joseph@codesourcery.com>
8555
10b40d85
JM
8556 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8557
0708a7d1
JM
8558 * posix/globtest.sh (TMPDIR): Do not set.
8559 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8560 (testout): Likewise.
8561
9fddec1a
AJ
85622012-10-24 Andreas Jaeger <aj@suse.de>
8563
3a8db22f
AJ
8564 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8565 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8566 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8567 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8568 posix_fadvise64, posix_fallocate64.
8569
9fddec1a
AJ
8570 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8571 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8572 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8573 Likewise.
8574 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8575 Likewise.
8576 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8577
8578 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8579 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8580 <bits/fcntl-linux.h>.
8581 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8582
8583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8584 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8585 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8586 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8587 [__WORDSIZE != 64]: Likewise.
8588
ebfd1bbd
JM
85892012-10-23 Joseph Myers <joseph@codesourcery.com>
8590
03ac099f
JM
8591 * Makeconfig (run-built-tests): New variable.
8592 * Rules [$(cross-compiling) = yes]: Change condition to
8593 [$(run-built-tests) = no].
8594 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8595 to [$(run-built-tests) = yes].
8596 * elf/Makefile [$(cross-compiling) = no]: Likewise
8597 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8598 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8599 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8600 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8601 * io/Makefile [$(cross-compiling) = no]: Likewise.
8602 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8603 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8604 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8605 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8606 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8607 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8608 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8609 * string/Makefile [$(cross-compiling) = no]: Likewise.
8610
ebfd1bbd
JM
8611 * posix/Makefile ($(objpfx)globtest.out): Pass
8612 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8613 $(rtld-installed-name).
8614 * posix/globtest.sh (elf_objpfx): Remove variable.
8615 (rtld_installed_name): Likewise.
8616 (library_path): Likewise.
8617 (run_program_prefix): New variable. Use for running globtest
8618 binary.
8619
166bca24
JB
86202012-10-23 Jim Blandy <jimb@codesourcery.com>
8621 Joseph Myers <joseph@codesourcery.com>
8622
8623 * Makeconfig (host-built-program-cmd): New variable.
8624 * elf/Makefile (tst-stackguard1-ARGS): Use
8625 $(host-built-program-cmd).
8626 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8627 (tst-spawn-ARGS): Likewise.
8628 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8629
88866099
JM
86302012-10-23 Joseph Myers <joseph@codesourcery.com>
8631 Jim Blandy <jimb@codesourcery.com>
8632
8633 * Makeconfig (run-via-rtld-prefix): New variable.
8634 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8635 (built-program-cmd): Likewise.
8636
b4b4c296
AJ
86372012-10-22 Andreas Jaeger <aj@suse.de>
8638
8639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8640 __O_RSYNC if it exists, otherwise to O_SYNC.
8641
6fb54a22
JB
86422012-10-22 Jim Blandy <jimb@codesourcery.com>
8643 Joseph Myers <joseph@codesourcery.com>
8644
8645 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8646 /dev/null.
8647 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8648 from /dev/null
8649 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8650 /dev/null.
8651
481b90b9
AJ
86522012-10-22 Andreas Jaeger <aj@suse.de>
8653
2a0e2669
AJ
8654 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8655 Define always.
8656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8657
76e38f9a
AJ
8658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8659 bits/fcntl-linux.h.
8660
7cd37b43
AJ
8661 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8662 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8663
481b90b9
AJ
8664 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8665 to __O_LARGEFILE.
8666 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8667 to __O_LARGEFILE.
8668
aba75984
JB
86692012-10-21 Jim Blandy <jimb@codesourcery.com>
8670 Joseph Myers <joseph@codesourcery.com>
8671
8672 * config.make.in (NM): New variable.
8673
88d4247f
AJ
86742012-10-21 Andreas Jaeger <aj@suse.de>
8675
8676 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8677 definitions and declarations that are provided by
8678 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8679
f2eed205
L
86802012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8681
8682 [BZ #14683]
8683 * elf/Makefile (tests-static): Add tst-leaks1-static.
8684 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8685 ($(objpfx)tst-leaks1-static): New rule.
8686 ($(objpfx)tst-leaks1-static-mem): Likewise.
8687 (tst-leaks1-static-ENV): New macro.
8688 * elf/dl-open.c (dl_open_worker): Check the main application
8689 only if SHARED is defined.
8690 * elf/tst-leaks1-static.c: New file.
8691
335e6931
AJ
86922012-10-20 Andreas Jaeger <aj@suse.de>
8693
8694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8695 generic values for Linux.
8696 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8697 and declarations that are provided by <bits/fcntl-linux.h> and
8698 include <bits/fcntl-linux.h>.
8699 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8700 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8701
ac5c94d3
RM
87022012-10-20 Roland McGrath <roland@hack.frob.com>
8703
8704 * io/fcntl.h: Move include of <bits/types.h> to the top and
8705 include it unconditionally.
8706
de54b33a
L
87072012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8708
228cfb01
L
8709 * wcsmbs/Makefile (tests-ifunc): New variable.
8710 (tests): Add $(tests-ifunc).
8711 * wcsmbs/test-wcschr-ifunc.c: New file.
8712 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8713 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8714 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8715 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8716 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8717
69f07e5f
L
8718 * string/Makefile (tests-ifunc): New variable.
8719 (tests): Add $(tests-ifunc).
8720 * string/test-memccpy.c (TEST_NAME): New macro.
8721 * string/test-memchr.c (TEST_NAME): Likewise.
8722 * string/test-memcmp.c (TEST_NAME): Likewise.
8723 * string/test-memcpy.c (TEST_NAME): Likewise.
8724 * string/test-memmem.c (TEST_NAME): Likewise.
8725 * string/test-memmove.c (TEST_NAME): Likewise.
8726 * string/test-memset.c (TEST_NAME): Likewise.
8727 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8728 * string/test-stpcpy.c (TEST_NAME): Likewise.
8729 * string/test-stpncpy.c (TEST_NAME): Likewise.
8730 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8731 * string/test-strcasestr.c (TEST_NAME): Likewise.
8732 * string/test-strcat.c (TEST_NAME): Likewise.
8733 * string/test-strchr.c (TEST_NAME): Likewise.
8734 * string/test-strcmp.c(TEST_NAME): Likewise.
8735 * string/test-strcpy.c (TEST_NAME): Likewise.
8736 * string/test-strcspn.c (TEST_NAME): Likewise.
8737 * string/test-strlen.c (TEST_NAME): Likewise.
8738 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8739 * string/test-strncmp.c (TEST_NAME): Likewise.
8740 * string/test-strncpy.c (TEST_NAME): Likewise.
8741 * string/test-strnlen.c (TEST_NAME): Likewise.
8742 * string/test-strpbrk.c (TEST_NAME): Likewise.
8743 * string/test-strrchr.c (TEST_NAME): Likewise.
8744 * string/test-strspn.c (TEST_NAME): Likewise.
8745 * string/test-strstr.c (TEST_NAME): Likewise.
8746 * string/test-bcopy-ifunc.c: New file.
8747 * string/test-bzero-ifunc.c: Likewise.
8748 * string/test-memccpy-ifunc.c: Likewise.
8749 * string/test-memchr-ifunc.c: Likewise.
8750 * string/test-memcmp-ifunc.c: Likewise.
8751 * string/test-memcpy-ifunc.c: Likewise.
8752 * string/test-memmem-ifunc.c: Likewise.
8753 * string/test-memmove-ifunc.c: Likewise.
8754 * string/test-mempcpy-ifunc.c: Likewise.
8755 * string/test-memset-ifunc.c: Likewise.
8756 * string/test-rawmemchr-ifunc.c: Likewise.
8757 * string/test-stpcpy-ifunc.c: Likewise.
8758 * string/test-stpncpy-ifunc.c: Likewise.
8759 * string/test-strcasecmp-ifunc.c: Likewise.
8760 * string/test-strcasestr-ifunc.c: Likewise.
8761 * string/test-strcat-ifunc.c: Likewise.
8762 * string/test-strchr-ifunc.c: Likewise.
8763 * string/test-strchrnul-ifunc.c: Likewise.
8764 * string/test-strcmp-ifunc.c: Likewise.
8765 * string/test-strcpy-ifunc.c: Likewise.
8766 * string/test-strcspn-ifunc.c: Likewise.
8767 * string/test-strlen-ifunc.c: Likewise.
8768 * string/test-strncasecmp-ifunc.c: Likewise.
8769 * string/test-strncat-ifunc.c: Likewise.
8770 * string/test-strncmp-ifunc.c: Likewise.
8771 * string/test-strncpy-ifunc.c: Likewise.
8772 * string/test-strnlen-ifunc.c: Likewise.
8773 * string/test-strpbrk-ifunc.c: Likewise.
8774 * string/test-strrchr-ifunc.c: Likewise.
8775 * string/test-strspn-ifunc.c: Likewise.
8776 * string/test-strstr-ifunc.c: Likewise.
8777
de54b33a
L
8778 * debug/Makefile (tests-ifunc): New variable.
8779 (tests): Add $(tests-ifunc).
8780 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8781 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8782 * debug/test-stpcpy_chk-ifunc.c: New file.
8783 * debug/test-strcpy_chk-ifunc.c: Likewise.
8784
88481c16
SP
87852012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8786
8787 [BZ #13601]
8788 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8789 header is not read in.
8790
135948bd
JM
87912012-10-19 Joseph Myers <joseph@codesourcery.com>
8792
89f1c388
JM
8793 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8794 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8795 directly. Pass built executable to script as
8796 $(built-program-cmd).
8797 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8798 $testprogram without using LD_LIBRARY_PATH and $ldso.
8799
e40a0d21
JM
8800 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8801 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8802 $(rtld-installed-name).
8803 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8804 (rtld_installed_name): Likewise.
8805 (library_path): Likewise.
8806 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8807 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8808 $(run-program-prefix) to tst-tables.sh.
8809 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8810 it to run tst-table-from and tst-table-to.
8811 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8812 Pass it to tst-table.sh.
8813 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8814 $(run-program-prefix) to tst-gettext.sh.
8815 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8816 tst-translit.sh.
8817 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8818 tst-gettext2.sh.
8819 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8820 to run tst-gettext.
8821 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8822 to run tst-gettext2.
8823 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8824 to run tst-translit.
8825 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8826 $(run-program-prefix) to tst-mtrace.sh.
8827 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8828 to run tst-mtrace.
8829 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8830 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8831 $(rtld-installed-name).
8832 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8833 (rtld_installed_name): Likewise.
8834 (run_program_prefix): New variable. Use it to run wordexp-test.
8835
728e272a
JM
8836 * Makeconfig (ARCH): Remove all definitions.
8837 (machine): Likewise.
8838 [ARCH]: Remove conditional code.
8839 [!objdir]: Give error.
8840 [!objdir] (objpfx): Remove.
8841 [!objdir] (common-objpfx): Likewise.
8842 [!objdir] (common-objdir): Likewise.
8843 * configure.in (config_makefile): Remove. Hardcode Makefile in
8844 AC_CONFIG_FILES call.
8845 * configure: Regenerated.
8846
d528cdcf
JM
8847 [BZ #13888]
8848 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8849 or TMPDIR.
8850 (testout): Likewise.
8851
135948bd
JM
8852 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8853 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8854 $(rtld-installed-name).
8855 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8856 (rtld_installed_name): Likwise.
8857 (runit): Remove function.
8858 (run_getconf): New variable, Use it for running getconf binary.
8859
38c78296
L
88602012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8861
8862 [BZ #14716]
8863 * string/test-memmem.c (check_result): New function.
8864 (do_one_test): Use it.
8865 (check1): New function.
8866 (test_main): Use it.
8867
d077f65f
MT
88682012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8869
8870 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8871
ced52c71
JM
88722012-10-18 Joseph Myers <joseph@codesourcery.com>
8873
8874 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8875 (_G_LSEEK64): Likewise.
8876 (_G_MMAP64): Likewise.
8877 (_G_FSTAT64): Likewise.
8878 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8879 (_G_LSEEK64): Likewise.
8880 (_G_MMAP64): Likewise.
8881 (_G_FSTAT64): Likewise.
8882 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8883 unconditional. Call __mmap64 directly.
8884 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8885 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8886 __lseek64 directly.
8887 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8888 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8889 __mmap64 directly.
8890 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8891 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8892 __lseek64 directly.
8893 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8894 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8895 __lseek64 directly.
8896 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8897 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8898 __lseek64 directly.
8899 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8900 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8901 __fxstat64 directly.
8902 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8903 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8904 unconditional.
8905 (freopen64) [!_G_OPEN64]: Remove conditional code.
8906 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8907 unconditional.
8908 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8909 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8910 unconditional.
8911 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8912 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8913 unconditional.
8914 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8915 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8916 unconditional.
8917 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8918 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8919 unconditional.
8920 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8921 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8922 unconditional.
8923 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8924 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8925 unconditional.
8926 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8927
b741de23
SP
89282012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8929
8930 [BZ #12140]
8931 * manual/memory.texi (Malloc Tunable Parameters): Add note
8932 about free list pointers overwriting some perturb bytes.
8933 Wording suggested by Roland McGrath.
8934
f9b9d9c9
JM
89352012-10-17 Joseph Myers <joseph@codesourcery.com>
8936
8937 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8938 (lgamma_test): Likewise.
8939 (tgamma_test): Likewise.
8940
172a631a
FW
89412012-10-16 Florian Weimer <fweimer@redhat.com>
8942
8943 [BZ #14700]
8944 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8945 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8946
e9f37252
MK
89472012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8948
8949 * NEWS: Mention BZ #14716.
8950 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8951 when removing AVAILABLE1_USES_J macro.
8952
d394eb74
L
89532012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8954
8955 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8956 (__bswap_64): __uint64_t for unsigned 64-bit int.
8957
ca38dc17
AS
89582012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8959
8960 * include/string.h (memmem): Declare libc hidden alias.
8961 * string/memmem.c (memmem): Define libc hidden alias.
8962 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8963 __read, __close instead of open, read, close.
8964
9a387d1f
L
89652012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8966
ac49ecaf
L
8967 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8968 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8969 global and hidden.
8970 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8971 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8972 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8973 Likewise.
8974 (__rawmemchr_sse2): Likewise.
8975 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8976 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8977 (__strchr_sse2): Likewise.
8978 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8979 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8980 (__strcasecmp_sse2): Likewise.
8981 (__strncasecmp_sse2): Likewise.
8982 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8983 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8984 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8985 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8986 (__strrchr_sse2): Likewise.
8987 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8988 ifunc-impl-list.c.
8989 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8990 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8991 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8992 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8993 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8995 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8996 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8997 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8998 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8999 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9000 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9001 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9002 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9003 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9004 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9005 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9006 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9007 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9008 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9009 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9010 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9011 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9012 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9013 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9014 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9015 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9016 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9017 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9018 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9019
b090e8ea
L
9020 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9021 global and hidden.
9022 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9023 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9024 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9025 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9026 Likewise.
9027 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9028 Likewise.
9029 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9030 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9031 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9032 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9033 ifunc-impl-list.c.
9034 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9035 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9036 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9037 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9038 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9039 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9040 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9041 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9042 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9043 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9044 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9045 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9046 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9047 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9048 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9050 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9051 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9052 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9053 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9054 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9055 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9056 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9057 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9058 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9059 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9060 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9061 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9062 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9063 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9064 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9065 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9066 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9067 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9068 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9069 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9070 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9071 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9072 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9073 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9074 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9075
11dd4af6
L
9076 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9077 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9078 * include/ifunc-impl-list.h: New file.
9079 * misc/ifunc-impl-list.c: Likewise.
9080 * misc/Makefile (routines): Add ifunc-impl-list.
9081 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9082 * string/test-string.h: Include <ifunc-impl-list.h>.
9083 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9084 impl_array): New variables.
9085 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9086 are defined.
9087 (test_init): Call __libc_ifunc_impl_list to initialize
9088 func_list if TEST_IFUNC and TEST_NAME are defined.
9089
9a387d1f
L
9090 * string/Makefile (strop-tests): Add bcopy and bzero.
9091 * string/test-bcopy.c: New file.
9092 * string/test-bzero.c: Likewise.
9093 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9094 defined.
9095 * string/test-memset.c: Support bzero test if TEST_BZERO is
9096 defined.
9097 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9098 __libc_memmove.
9099 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9100 __libc_memset.
9101 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9102 of memset.
9103
472371b9
JM
91042012-10-10 Joseph Myers <joseph@codesourcery.com>
9105
1e4a9536
JM
9106 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9107 * configure: Regenerated.
9108
d173d12e
JM
9109 * Makeconfig (+link-static-before-libc): Don't include
9110 $(link-static-libc).
9111
472371b9
JM
9112 * libio/libio.h (_IO_pos_t): Remove.
9113
89a3ad0b
AO
91142012-10-10 Alexandre Oliva <aoliva@redhat.com>
9115
9116 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9117 McGrath.
9118
e7451425
AO
91192012-10-10 Alexandre Oliva <aoliva@redhat.com>
9120
9121 * crypt/crypt-entry.c: Include fips-private.h.
9122 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9123 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9124 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9125 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9126
4ba74a35
AO
91272012-10-10 Alexandre Oliva <aoliva@redhat.com>
9128
9129 * crypt/crypt-private.h: Include stdbool.h.
9130 (_ufc_setup_salt_r): Return bool.
9131 * crypt/crypt-entry.c: Include errno.h.
9132 (__crypt_r): Return NULL with EINVAL for bad salt.
9133 * crypt/crypt_util.c (bad_for_salt): New.
9134 (_ufc_setup_salt_r): Check that salt is long enough and within
9135 the specified alphabet.
9136 * crypt/badsalttest.c: New file.
9137 * crypt/Makefile (tests): Add it.
9138 ($(objpfx)badsalttest): New.
9139
f96f1242
MK
91402012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9141
9142 * NEWS: Add entry for BZ #14602.
9143
0e8e0c1c
JM
91442012-10-09 Joseph Myers <joseph@codesourcery.com>
9145
9146 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9147 type-generic.
9148 * math/libm-test.inc: Update comment listing what functions and
9149 macros are tested.
9150 (isgreater_test): New function.
9151 (isgreaterequal_test): Likewise.
9152 (isless_test): Likewise.
9153 (islessequal_test): Likewise.
9154 (islessgreater_test): Likewise.
9155 (isunordered_test): Likewise.
9156 (main): Call the new functions.
9157
273edc5e
RM
91582012-10-09 Roland McGrath <roland@hack.frob.com>
9159
b8493de0
RM
9160 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9161 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9162 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9163 * sysdeps/i386/configure: Regenerated.
9164 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9165 * sysdeps/mach/configure: Regenerated.
9166 * sysdeps/mach/hurd/configure: Regenerated.
9167 * sysdeps/powerpc/configure: Regenerated.
9168 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9169 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9170 * sysdeps/s390/s390-32/configure: Regenerated.
9171 * sysdeps/s390/s390-64/configure: Regenerated.
9172 * sysdeps/sh/configure: Regenerated.
9173 * sysdeps/sparc/configure: Regenerated.
9174 * sysdeps/unix/sysv/linux/configure: Regenerated.
9175 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9176 * sysdeps/x86_64/configure: Regenerated.
9177
273edc5e
RM
9178 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9179 defined. Don't check if MAP is NULL.
9180
c8450f70
JM
91812012-10-09 Joseph Myers <joseph@codesourcery.com>
9182
9183 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9184 (_G_stat64): Likewise.
9185 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9186 (_G_stat64): Likewise.
9187 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9188 instead of struct _G_stat64.
9189 * libio/fileops.c (mmap_remap_check): Likewise.
9190 (decide_maybe_mmap): Likewise.
9191 (_IO_new_file_seekoff): Likewise.
9192 (_IO_file_stat): Likewise.
9193 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9194 _G_off64_t.
9195 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9196 instead of struct _G_stat64.
9197 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9198
57e605ba
MK
91992012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9200
9201 [BZ #14602]
9202 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9203 Replace with ...
9204 (CHECK_EOL): New macro.
9205 (two_way_short_needle): Check beginning of haystack for EOL. Use
9206 CHECK_EOL.
9207 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9208 Replace with CHECK_EOL.
9209 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9210 Replace with CHECK_EOL.
9211
ef1bb361
JM
92122012-10-08 Joseph Myers <joseph@codesourcery.com>
9213
9214 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9215 type-generic.
9216 * math/libm-test.inc: Update comment listing what functions and
9217 macros are tested.
9218 (finite_test): New function.
9219 (isinf_test): Likewise.
9220 (isnan_test): Likewise.
9221 (fpclassify_test): Test subnormal input.
9222 (isfinite_test): Likewise.
9223 (isnormal_test): Likewise.
9224 (main): Call the new functions.
9225
55f11534
JN
92262012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9227
9228 [BZ #14660]
9229 * Makerules (%.dynsym): Force C locale when running
9230 $(OBJDUMP) --dynamic-syms.
9231
1ab29350
AS
92322012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9233
9234 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9235 <stdint.h>.
9236
f1ecb7ef
DM
92372012-10-06 David S. Miller <davem@davemloft.net>
9238
9239 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9240 upper 32-bits of the length value in %o2 since we use branch-on-register
9241 tests which consider the entire 64-bit register.
9242
5d41d91a
L
92432012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9244
9245 * string/test-strstr.c (check2): Add a test for page boundary.
9246
3baddb72
DM
92472012-10-05 David S. Miller <davem@davemloft.net>
9248
9249 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9250 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9251 file.
9252 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9253 sysdep_routines.
9254 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9255 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9256 and bzero when HWCAP_SPARC_CRYPTO is present.
9257
9cee5585
L
92582012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9259
d7e0dab9
L
9260 [BZ #14602]
9261 * string/test-strstr.c (check2): New function.
9262 (test_main): Call check2.
9263
03759f47
L
9264 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9265 and bug-strchr1.
9266 * string/bug-strcasestr1.c (do_test): Moved to ...
9267 * string/test-strcasestr.c (check1): Here. New function.
9268 (do_one_test): Break out result checking code into ...
9269 (check_result): This. New function.
9270 (do_one_test): Call check_result.
9271 (test_main): Call check1.
9272 * string/bug-strchr1.c (do_test): Moved to ...
9273 * string/test-strchr.c (check1): Here. New function.
9274 (do_one_test): Break out result checking code into ...
9275 (check_result): This. New function.
9276 (do_one_test): Call check_result.
9277 (test_main): Call check1.
9278 * string/bug-strstr1.c (main): Moved to ...
046f153e 9279 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9280 (do_one_test): Break out result checking code into ...
9281 (check_result): This. New function.
9282 (do_one_test): Call check_result.
9283 (test_main): Call check1.
9284 * string/bug-strcasestr1.c: Removed.
9285 * string/bug-strchr1.c: Likewise.
9286 * string/bug-strstr1.c: Likewise.
9287
53cea63e
L
9288 * elf/Makefile (dl-routines): Add hwcaps.
9289 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9290 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9291 (_dl_important_hwcaps): Moved to ...
9292 * elf/dl-hwcaps.c: Here. New file.
9293 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9294
9cee5585 9295 [BZ #14557]
bb859b06
L
9296 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9297 if IS_IN_rtld isn't defined.
9298
9cee5585
L
9299 * elf/dl-support.c (_dl_sysinfo_map): New.
9300 Include "get-dynamic-info.h" and "setup-vdso.h".
9301 (_dl_non_dynamic_init): Call setup_vdso.
9302 * elf/dynamic-link.h: Don't include <assert.h>.
9303 (elf_get_dynamic_info): Moved to ...
9304 * elf/get-dynamic-info.h: Here. New file.
9305 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9306 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9307 * elf/setup-vdso.h: Here. New file.
9308 * elf/rtld.c: Include "setup-vdso.h".
9309 (dl_main): Call setup_vdso.
9310
23c31b76
JM
93112012-10-05 Joseph Myers <joseph@codesourcery.com>
9312
28234b07
JM
9313 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9314 creal in comment listing functions tested. List finite, isinf,
9315 isnan, isless, islessequal, isgreater, isgreaterequal,
9316 islessgreater, isunordered, lgamma_r and pow10 as functions and
9317 macros not tested. Mention which functions not tested are aliases
9318 for other functions. Fix typo. Note that signs of NaNs are not
9319 tested.
9320
23c31b76
JM
9321 * scripts/config.guess: Update from config.git.
9322 * scripts/config.sub: Likewise.
9323
9043e228
RM
93242012-10-04 Roland McGrath <roland@hack.frob.com>
9325
9326 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9327 * misc/madvise.c (madvise): Renamed to __madvise.
9328 Make madvise a weak alias.
9329 * include/sys/mman.h: Declare __madvise.
9330 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9331 * sysdeps/unix/syscalls.list
9332 (madvise): Make __madvise the strong name, and madvise a weak alias.
9333 * sysdeps/unix/sysv/linux/syscalls.list
9334 (madvise, mmap): Remove redundant entries.
9335 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9336 * malloc/malloc.c (mtrim): Likewise.
9337 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9338
f57f8055
RM
93392012-10-03 Roland McGrath <roland@hack.frob.com>
9340
9341 * sysdeps/mach/hurd/dl-cache.c: File removed.
9342 * config.h.in (USE_LDCONFIG): New #undef.
9343 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9344 * configure: Regenerated.
9345 * elf/Makefile (dl-routines): Add dl-cache only under
9346 [$(use-ldconfig) = yes].
9347 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9348 cache on [USE_LDCONFIG].
9349 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9350 [USE_LDCONFIG].
9351 * elf/rtld.c (dl_main): Likewise.
9352
5bb0c10a
PT
93532012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9354
9355 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9356 _SC_LEVEL4_CACHE_LINESIZE.
9357
010188c6
RM
93582012-10-03 Roland McGrath <roland@hack.frob.com>
9359
9360 * sysdeps/unix/bsd/confstr.h: File removed.
9361
b6c5ec07
AO
93622012-10-02 Alexandre Oliva <aoliva@redhat.com>
9363
9364 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9365 sys/sdt-config.h.
9366
408223d4
RM
93672012-10-02 Roland McGrath <roland@hack.frob.com>
9368
9369 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9370 Make 'mapoff' field ElfW(Off) rather than off_t.
9371
bb9510dc
DL
93722012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9373
fc997c6e
DL
9374 * nscd/Makefile: Remove nscd-cflags and all its users.
9375 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9376 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9377
bb9510dc
DL
9378 [BZ #10631]
9379 * malloc.c (malloc_printerr): Clarify error message.
9380
05699367
L
93812012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9382
9383 [BZ #14648]
9384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9385 Set bit_FMA_Usable if FMA is supported.
9386 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9387 macro.
9388 (bit_FMA4_Usable): Updated.
9389 (index_FMA_Usable): New macro.
9390 (CPUID_FMA): Likewise
9391 (HAS_FMA): Defined with bit_FMA_Usable.
9392
51367701
RM
93932012-10-01 Roland McGrath <roland@hack.frob.com>
9394
9395 * bits/types.h (__swblk_t): Type removed.
9396 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9397 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9399 (__SWBLK_T_TYPE): Likewise.
9400 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9401 (__SWBLK_T_TYPE): Likewise.
9402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9403 (__SWBLK_T_TYPE): Likewise.
9404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9405 (__SWBLK_T_TYPE): Likewise.
9406
4d57bf63 94072012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9408 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9409
9410 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9411 (xdr_mapname): Use YPMAXMAP as maxsize.
9412 (xdr_peername): Use YPMAXPEER as maxsize.
9413 (xdr_keydat): Use YPAXRECORD as maxsize.
9414 (xdr_valdat): Use YPMAXRECORD as maxsize.
9415
93c65d43
RM
94162012-10-01 Roland McGrath <roland@hack.frob.com>
9417
497a03d6
RM
9418 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9419
93c65d43
RM
9420 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9421 * csu/init-first.c: ... here.
9422 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9423 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9426 * sysdeps/i386/init-first.c: File removed.
9427 * sysdeps/sh/init-first.c: File removed.
9428
bec749fd
JM
94292012-10-01 Joseph Myers <joseph@codesourcery.com>
9430
9431 [BZ #14645]
9432 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9433 if x * y might underflow to zero and z is zero.
9434 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9435 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9436 * math/libm-test.inc (min_subnorm_value): New variable.
9437 (fma_test): Add more tests.
9438 (fma_test_towardzero): Likewise.
9439 (fma_test_downward): Likewise
9440 (fma_test_upward): Likewise.
9441 (initialize): Set min_subnorm_value.
9442
8ec5b013
JM
94432012-09-29 Joseph Myers <joseph@codesourcery.com>
9444
9445 [BZ #14638]
9446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9447 0 + 0.
9448 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9449 mode for addition resulting in exact zero.
9450 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9451 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9452 exact 0 + 0.
9453 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9454 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9455 * math/libm-test.inc (fma_test): Add more tests.
9456 (fma_test_towardzero): New function.
9457 (fma_test_downward): Likewise.
9458 (fma_test_upward): Likewise.
9459 (main): Call the new functions.
9460
b1fa802e
DM
94612012-09-28 David S. Miller <davem@davemloft.net>
9462
9463 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9464
d3b9fd9e
RM
94652012-09-28 Roland McGrath <roland@hack.frob.com>
9466
ea4d37b3
RM
9467 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9468 instead of SIGALRM.
9469
ac51c949
RM
9470 * sysdeps/gnu/_G_config.h: Moved to ...
9471 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9472 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9473 * sysdeps/generic/_G_config.h: ... here.
9474
28c195f7
RM
9475 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9476
848917f9
RM
9477 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9478
6bacf05b
RM
9479 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9480 Conditionalize target on [libnss_test1.so-version].
9481
91363dbb
RM
9482 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9483
cc87f7d8
RM
9484 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9485 (elfobjdir): Move out of conditionals.
9486
b1c608fe
RM
9487 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9488 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9489 (__nss_lookup_function): Conditionalize label remove_from_tree on
9490 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9491
1d9a6d96
DM
94922012-09-28 David S. Miller <davem@davemloft.net>
9493
9494 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9495 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9496 file.
9497 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9498 sysdep_routines.
9499 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9501 when HWCAP_SPARC_CRYPTO is present.
9502
72581615
PT
95032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9504
9505 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9506
715a900c
JL
95072012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9508
9509 [BZ #6530]
9510 * stdio-common/vfprintf.c (process_string_arg): Revert
9511 2000-07-22 change.
9512
95132011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9514
9515 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9516 for testcase.
9517 * stdio-common/tst-sprintf.c: Include <locale.h>
9518 (main): Test sprintf's handling of incomplete multibyte
9519 characters.
9520
9bac1d86
L
95212012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9522
9523 * elf/dl-runtime.c (VERSYMIDX): Removed.
9524 * elf/dl-version.c (VERSYMIDX): Likewise.
9525 * elf/do-rel.h (VERSYMIDX): Likewise.
9526 (VALIDX): Likewise.
9527 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9528 * elf/rtld.c (VALIDX): Likewise.
9529 (ADDRIDX): Likewise.
9bac1d86
L
9530 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9531 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9532 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9533 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9534 (VALIDX): Likewise.
9535 (ADDRIDX): Likewise.
9bac1d86 9536
b31606c0
PT
95372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9538
9539 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9540
11541177
JL
95412012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9542
9543 [BZ #11438]
9544 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9545 to global scope.
9546 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9547 addresses are in the same scope as 192.0.2/24.
9548 * posix/gai.conf: Document new scope table defaults.
9549
adb26fae
SP
95502012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9551
9552 [BZ #5298]
9553 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9554 for ftell. Compute offsets from write pointers instead.
9555 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9556
4573c6b0
SP
95572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9558
9559 [BZ #14543]
9560 * libio/Makefile (tests): New test case tst-fseek.
9561 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9562 combination works in wide mode.
9563 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9564 state when the external buffer state changes.
9565
aa9bbfe6
DM
95662012-09-27 David S. Miller <davem@davemloft.net>
9567
9568 [BZ #14376]
9569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9570 pass reloc->r_addend in as the 'high' argument to
9571 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9572
784421e7
DM
9573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9574
c39bc8b8
PT
95752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9576
9577 * rt/tst-aio2.c: Include <pthread.h>.
9578 * rt/tst-aio3.c: Likewise.
9579
1ccc2399
SE
95802012-09-27 Steve Ellcey <sellcey@mips.com>
9581
9582 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9583
31ed4153
L
95842012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9585
25f5f885
L
9586 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9587 contents on [SHARED].
31ed4153 9588
b7bfe116
MP
95892012-09-26 Marek Polacek <polacek@redhat.com>
9590
9591 [BZ #14530]
9592 [BZ #13741]
9593 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9594 for C++ and GCC <4.3 as well as for non GCC compilers.
9595
43c4edba
MT
95962012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9597
9598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9599
6a1bf82f
RM
96002012-09-25 Roland McGrath <roland@hack.frob.com>
9601
9602 * Makefile.in (all, install): Declare with .PHONY.
9603 Reported by Michael Hope <michael.hope@linaro.org>.
9604
8ad11b9a
TMQMF
96052012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9606
9607 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9608 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9609 system header.
9610 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9611 Likewise.
9612 (sydep_routines): Add the new and the internal functions.
9613 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9614 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9616 (GLIBC_2.17): Add the new function.
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9618 (GLIBC_2.17): Likewise.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9620 (GLIBC_2.17): Likewise.
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9622 (GLIBC_2.17): Likewise.
9623 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9624
7e2fca8d
AM
96252012-09-25 Alan Modra <amodra@gmail.com>
9626
9627 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9628 Add release barrier before setting once_control to say
9629 initialisation is done. Add hints on lwarx. Use macro in
9630 place of isync.
9631 (clear_once_control): Add release barrier.
9632
b87c4b24
JM
96332012-09-25 Joseph Myers <joseph@codesourcery.com>
9634
d032e0d2
JM
9635 [BZ #13629]
9636 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9637 specially.
9638 * math/s_clog10.c (__clog10): Likewise.
9639 * math/s_clog10f.c (__clog10f): Likewise.
9640 * math/s_clog10l.c (__clog10l): Likewise.
9641 * math/s_clogf.c (__clogf): Likewise.
9642 * math/s_clogl.c (__clogl): Likewise.
9643 * math/Makefile (libm-calls): Add x2y2m1.
9644 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9645 (__x2y2m1): Likewise.
9646 (__x2y2m1l): Likewise.
9647 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9648 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9649 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9650 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9651 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9652 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9653 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9654 * sysdeps/i386/fpu/libm-test-ulps: Update.
9655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9656
b87c4b24
JM
9657 [BZ #14621]
9658 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9659 int as type of variable DEPTH.
9660 (glob): Use size_t instead of int as type of variables NEWCOUNT
9661 and OLD_PATHC.
9662
6d3bf199
LD
96632012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9664
22bf5c17
LD
9665 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9666 Add s_sincosf-sse2.
9667 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9668 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9669 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9670 macros for using routine as __sincosf_ia32.
9671 Use macro for function declaration and weak_alias.
9672 * sysdeps/i386/fpu/libm-test-ulps: Update.
9673
9674 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9676
9677 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9678 subnormal argument.
9679 * math/s_cexpf.c (__cexpf): Likewise.
9680 * math/s_csinf.c (__csinf): Likewise.
9681 * math/s_csinhf.c (__csinhf): Likewise.
9682 * math/s_ctanf.c (__ctanf): Likewise.
9683 * math/s_ctanhf.c (__ctanhf): Likewise.
9684 * math/s_ccosh.c (__ccoshf): Likewise.
9685 * math/s_cexp.c (__cexpl): Likewise.
9686 * math/s_csin.c (__csin): Likewise.
9687 * math/s_csinh.c (__csinh): Likewise.
9688 * math/s_ctan.c (__ctan): Likewise.
9689 * math/s_ctanh.c (ctanh): Likewise.
9690 * math/s_ccoshl.c (__ccoshl): Likewise.
9691 * math/s_cexpl.c (__cexpl): Likewise.
9692 * math/s_csinl.c (__csinl): Likewise.
9693 * math/s_csinhl.c (__csinhl): Likewise.
9694 * math/s_ctanl.c (__ctanl): Likewise.
9695 * math/s_ctanhl.c (__ctanhl): Likewise.
9696
203e5603
JM
96972012-09-25 Joseph Myers <joseph@codesourcery.com>
9698
9699 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9700 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9701 (_IO_off_t): Define to __off_t, not _G_off_t.
9702 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9703 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9704 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9705 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9706 type of __dummy and __dummy2 fields.
9707 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9708 (_G_ssize_t): Likewise.
9709 (_G_off_t): Likewise.
9710 (_G_pid_t): Likewise.
9711 (_G_uid_t): Likewise.
9712 (_G_wchar_t): Likewise.
9713 (_G_wint_t): Likewise.
9714 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9715 (_G_ssize_t): Likewise.
9716 (_G_off_t): Likewise.
9717 (_G_pid_t): Likewise.
9718 (_G_uid_t): Likewise.
9719 (_G_wchar_t): Likewise.
9720 (_G_wint_t): Likewise.
9721 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9722 (_G_ssize_t): Likewise.
9723 (_G_off_t): Likewise.
9724 (_G_pid_t): Likewise.
9725 (_G_uid_t): Likewise.
9726 (_G_wchar_t): Likewise.
9727 (_G_wint_t): Likewise.
9728
9fab36eb
SP
97292012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9730
9731 * malloc/arena.c: Include malloc-sysdep.h.
9732 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9733 is sufficient to shrink the heap or an unmap is needed.
9734 * sysdeps/generic/malloc-sysdep.h: New file. Define
9735 new function check_may_shrink_heap.
9736 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9737 new function check_may_shrink_heap.
9738
2b4f00d1
SP
97392012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9740
9741 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9742 comments.
9743
9a9028b1
DL
97442012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9745
57c69bef
DL
9746 * catgets/test-gencat.sh: Add "set -e".
9747 * elf/tst-pathopt.sh: Likewise.
9748 * grp/tst_fgetgrent.sh: Likewise.
9749 * iconvdata/run-iconv-test.sh: Likewise.
9750 * intl/tst-gettext.sh: Likewise.
9751 * intl/tst-gettext2.sh: Likewise.
9752 * intl/tst-gettext4.sh: Likewise.
9753 * intl/tst-gettext6.sh: Likewise.
9754 * intl/tst-translit.sh: Likewise.
9755 * io/ftwtest-sh: Likewise.
9756 * libio/test-freopen.sh: Likewise.
9757 * malloc/tst-mtrace.sh: Likewise.
9758 * posix/globtest.sh: Likewise.
9759 * posix/tst-getconf.sh: Likewise.
9760 * posix/wordexp-tst.sh: Likewise.
9761 * stdio-common/tst-printf.sh: Likewise.
9762 * stdio-common/tst-unbputc.sh: Likewise.
9763 * stdlib/tst-fmtmsg.sh: Likewise.
9764 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9765 * catgets/Makefile: Do not specify -e option when running
9766 testsuite shell scripts.
9767 * elf/Makefile: Likewise.
9768 * grp/Makefile: Likewise.
9769 * iconvdata/Makefile: Likewise.
9770 * intl/Makefile: Likewise.
9771 * io/Makefile: Likewise.
9772 * libio/Makefile: Likewise.
9773 * malloc/Makefile: Likewise.
9774 * posix/Makefile: Likewise.
9775 * stdio-common/Makefile: Likewise.
9776 * stdlib/Makefile: Likewise.
9777 * sysdeps/x86_64/Makefile: Likewise.
9778
9a9028b1
DL
9779 * io/ftwtest-sh: Add copyright header.
9780 * posix/globtest.sh: Likewise.
9781 * posix/tst-getconf.sh: Likewise.
9782 * posix/wordexp-tst.sh: Likewise.
9783 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9784
ced6f16e
L
97852012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9786
94b32c39
L
9787 [BZ #13679]
9788 * Makeconfig (+link): Defined as $(+link-static) if
9789 $(build-shared) isn't yes.
9790 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9791 isn't yes.
9792 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9793
189e935b
L
9794 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9795
ced6f16e
L
9796 [BZ #14562]
9797 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9798 new chunk size with MALLOC_ALIGN_MASK.
9799
a9f8e53a
JM
98002012-09-24 Joseph Myers <joseph@codesourcery.com>
9801
9802 [BZ #5044]
9803 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9804 <rounding-mode.h>.
9805 (__printf_fphex): Determine rounding using get_rounding_mode and
9806 round_away.
9807 * stdio-common/tst-printf-round.c (struct hex_test): New
9808 structure.
9809 (hex_tests): New variable.
9810 (test_hex_in_one_mode): New function.
9811 (do_test): Also run tests for hex float output.
9812
43153109
JM
98132012-09-21 Joseph Myers <joseph@codesourcery.com>
9814
9815 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9816 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9817 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9818 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9819 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9820 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9821 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9822 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9823
8a26625d
JM
98242012-09-20 Joseph Myers <joseph@codesourcery.com>
9825
9826 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9827 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9828 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9829 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9830
f3fd569c
DL
98312012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9832
9833 [BZ #14579]
9834 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9835 mode only.
9836 * elf/tst-rtld-load-self.sh: New test.
9837 * elf/Makefile: Run it.
9838
63bbedd4
JM
98392012-09-18 Joseph Myers <joseph@codesourcery.com>
9840
9841 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9842 (tst-writev-ENV): Remove.
9843 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9844
626f8b6a
CM
98452012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9846
9847 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9848
b7aaa4d6
JM
98492012-09-17 Joseph Myers <joseph@codesourcery.com>
9850
9851 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9852 unconditional.
9853 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9854 Likewise.
9855 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9856 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9857 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9858 Likewise.
9859
65513990
L
98602012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9861
9862 [BZ #14587]
9863 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9864 * config.make.in (have-cpp-asm-debuginfo): Removed.
9865 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9866 * configure: Regenerated.
9867
784761be
JM
98682012-09-14 Joseph Myers <joseph@codesourcery.com>
9869
9870 [BZ #5044]
9871 * stdio-common/printf_fp.c: Include <stdbool.h> and
9872 <rounding-mode.h>.
9873 (___printf_fp): Determine rounding using get_rounding_mode and
9874 round_away.
9875 * stdio-common/tst-printf-round.c: New file.
9876 * stdio-common/Makefile (tests): Add tst-printf-round.
9877 (link-libm): New variable.
9878 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9879
9503345f
L
98802012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9881
9882 [BZ #14576]
9883 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9884 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9885 Likewise.
9886 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9887 Likewise.
9888
ad35fc00
JM
98892012-09-13 Joseph Myers <joseph@codesourcery.com>
9890
9891 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9892 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9893 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9894 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9895
6c9b0f68
JM
98962012-09-12 Joseph Myers <joseph@codesourcery.com>
9897
9898 [BZ #14518]
9899 * include/rounding-mode.h: New file.
9900 * sysdeps/generic/get-rounding-mode.h: Likewise.
9901 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9902 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9903 (MAX_VALUE): New macro.
9904 (MIN_VALUE): Likewise.
9905 (overflow_value): New function.
9906 (underflow_value): Likewise.
9907 (round_and_return): Use overflow_value and underflow_value to
9908 determine return values in overflow and underflow cases. Use
9909 round_away to determine rounding depending on rounding mode.
9910 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9911 determine return values in overflow and underflow cases.
9912 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9913 (struct test_results): New structure.
9914 (struct test): Use struct test_results to store expected results
9915 for all rounding modes.
9916 (TEST): Include expected results for all rounding modes.
9917 (test_in_one_mode): New function.
9918 (do_test): Use test_in_one_mode to compute and check results.
9919 Check results for all rounding modes.
9920 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9921 $(link-libm).
9922
19fcedd5
AM
99232012-12-09 Allan McRae <allan@archlinux.org>
9924
1e9d84cd 9925 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9926
8bbfd2f1
JM
99272012-09-11 Joseph Myers <joseph@codesourcery.com>
9928
9929 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9930 (_G_int32_t): Likewise.
9931 (_G_uint16_t): Likewise.
9932 (_G_uint32_t): Likewise.
9933 (_G_HAVE_BOOL): Likewise.
9934 (_G_HAVE_ATEXIT): Likewise.
9935 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9936 (_G_HAVE_IO_FILE_OPEN): Likewise.
9937 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9938 (_G_int32_t): Likewise.
9939 (_G_uint16_t): Likewise.
9940 (_G_uint32_t): Likewise.
9941 (_G_HAVE_BOOL): Likewise.
9942 (_G_HAVE_ATEXIT): Likewise.
9943 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9944 (_G_HAVE_IO_FILE_OPEN): Likewise.
9945 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9946 (_G_int32_t): Likewise.
9947 (_G_uint16_t): Likewise.
9948 (_G_uint32_t): Likewise.
9949 (_G_HAVE_BOOL): Likewise.
9950 (_G_HAVE_ATEXIT): Likewise.
9951 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9952 (_G_HAVE_IO_FILE_OPEN): Likewise.
9953
b1dc5912
L
99542012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9955
9956 * csu/libc-tls.c: Update copyright years.
9957
0e886ef9
JM
99582012-09-10 Joseph Myers <joseph@codesourcery.com>
9959
28361c5e
JM
9960 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9961 [!_G_USING_THUNKS]: Remove conditional code.
9962 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9963 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9964
0e886ef9
JM
9965 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9966 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9967 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9968 (_G_VTABLE_LABEL_PREFIX): Likewise.
9969 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9970 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9971 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9972 (_G_VTABLE_LABEL_PREFIX): Likewise.
9973 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9974 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9975 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9976 (_G_VTABLE_LABEL_PREFIX): Likewise.
9977 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9978
bcba7aa2
L
99792012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9980
9981 * libio/Makefile: Include ../Makeconfig before tests.
9982 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9983 only if $(build-shared) is yes.
9984
06585ee8
L
9985 * iconv/gconv_db.c: Update copyright years.
9986
80ccd52c
LD
99872012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9988
9989 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9990 unwind info if defined PIC. Fix special cases description.
9991 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9992
9993 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9994 DP_HI_MASK entry.
9995 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9996
691bc9c1
L
99972012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9998
3d9b46b3
L
9999 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10000
de2139a9
L
10001 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10002 is NULL.
10003
5ca78dd0
L
10004 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10005 (LDLIBS-tst-chk4): This.
10006 (LDFLAGS-tst-chk5): Renamed to ...
10007 (LDLIBS-tst-chk5): This.
10008 (LDFLAGS-tst-chk6): Renamed to ...
10009 (LDLIBS-tst-chk6): This.
10010 (LDFLAGS-tst-lfschk4): Renamed to ...
10011 (LDLIBS-tst-lfschk4): This.
10012 (LDFLAGS-tst-lfschk5): Renamed to ...
10013 (LDLIBS-tst-lfschk5): This.
10014 (LDFLAGS-tst-lfschk6): Renamed to ...
10015 (LDLIBS-tst-lfschk6): This.
10016
691bc9c1
L
10017 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10018 on $(common-objpfx)soversions.mk.
10019
65cafb1c
JM
100202012-09-07 Joseph Myers <joseph@codesourcery.com>
10021
10022 [BZ #10014]
10023 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10024 example host name.
10025
c78ab094
SP
100262012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10027
10028 * malloc/arena.c (arena_get_retry): New function that gets
10029 another arena for the caller to try its request on.
10030 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10031 current arena cannot fulfill the request.
10032 (__libc_memalign): Likewise.
10033 (__libc_memalign): Likewise.
10034 (__libc_pvalloc): Likewise.
10035 (__libc_calloc): Likewise.
10036
01f49f59
JT
100372012-09-05 John Tobey <john.tobey@gmail.com>
10038
10039 [BZ #13542]
10040 * manual/arith.texi (Operations on Complex): Fix description
10041 of carg branch cut.
10042
4c23fed5
JM
100432012-09-06 Joseph Myers <joseph@codesourcery.com>
10044
1d3c8572
JM
10045 [BZ #10014]
10046 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10047 host name.
10048
4c23fed5
JM
10049 [BZ #10038]
10050 * manual/memory.texi (Memory): Make order of menu items match
10051 order of sections.
10052
04570aaa
L
100532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10054
10055 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10056 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10057 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10058
b80af2f4
L
100592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10060
10061 * csu/libc-tls.c (static_dtv): Renamed to ...
10062 (_dl_static_dtv): This. Make it global.
10063 (_dl_initial_dtv): Removed.
10064 (__libc_setup_tls): Updated.
10065 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10066 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10067 DL_INITIAL_DTV.
10068
2abe9f15
PM
100692012-09-06 Petr Machata <pmachata@redhat.com>
10070
10071 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10072 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10073 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10074 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10075
0948c3af
L
100762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 [BZ #14545]
10079 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10080 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10081 freeing dtv[-1].
10082
a5055ad1
L
100832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 [BZ #14544]
10086 * Makeconfig (link-static-before-libc): Replace $(+prector)
10087 with $(+prectorT).
10088 (link-static-after-libc): Replace $(+postctor) with
10089 $(+postctorT).
10090 (link-bounded): Replace $(+prector)/$(+postctor) with
10091 $(+prectorT)/$(+postctorT).
10092 (+prectorT): New macro.
10093 (+postctorT): Likewise.
10094
ed8c2ecd
JM
100952012-09-06 Joseph Myers <joseph@codesourcery.com>
10096
10097 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10098 (round_str): Handle values above the maximum for IBM long double
10099 as inexact.
10100 * stdlib/tst-strtod-round.c (tests): Regenerated.
10101
14c996c8
AK
101022012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10103
10104 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10105 assembler flag.
10106 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10107 zarch_nohighgprs around the zarch optimized routines.
10108 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10109 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10110 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10111 for zarch.
10112
430d6ce6
DM
101132012-09-05 David S. Miller <davem@davemloft.net>
10114
10115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10116
ff04dda4
DM
10117 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10118 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10119 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10120 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10121 entries.
10122
24d4e01b
AO
101232012-09-05 Alexandre Oliva <aoliva@redhat.com>
10124
10125 * malloc/arena.c: Fold copyright years.
10126 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10127
61d58174
AO
101282012-09-05 Alexandre Oliva <aoliva@redhat.com>
10129
10130 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10131
20196a5e
AO
101322012-09-05 Alexandre Oliva <aoliva@redhat.com>
10133
10134 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10135
5c447383
AO
101362012-09-05 Alexandre Oliva <aoliva@redhat.com>
10137
10138 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10139 change internal state upon failure.
10140
fad64255
AO
101412012-09-05 Alexandre Oliva <aoliva@redhat.com>
10142
10143 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10144 * malloc/memusage.c (mmap): Likewise.
10145 (mmap64, mremap): Likewise. Adjust name in comment.
10146
1ffb8c90
SP
101472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10148
10149 * libio/fileops.c: Fix typos in comments.
10150 * libio/oldfileops.c: Likewise.
10151 * libio/wfileops.c: Likewise.
10152
6ef9cc37
SP
101532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10154
10155 [BZ #1349]
10156 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10157 (tst-malloc-usable-ENV): Set environment for test case.
10158 * malloc/hooks.c (malloc_check_get_size): New function to get
10159 requested size.
10160 * malloc/malloc.c (musable): Use malloc_check_get_size.
10161 * malloc/tst-malloc-usable.c: New test case.
10162
4d038ae3
AS
101632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10164
10165 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10166
c4e85184
AM
101672012-09-05 Allan McRae <allan@archlinux.org>
10168
b9dafc56 10169 [BZ #13966]
c4e85184
AM
10170 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10171 determine header location.
10172 * configure: Regenerated.
10173
e1343020
AS
101742012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10175
10176 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10177 float format.
10178 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10179 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10180 format.
e1343020
AS
10181 (test): Regenerate.
10182
0a9f1987
DM
101832012-09-04 David S. Miller <davem@davemloft.net>
10184
10185 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10186 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10187 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10188
29237804
FW
101892012-09-04 Florian Weimer <fweimer@redhat.com>
10190
10191 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10192 failures.
10193
edb3cb88
FW
10194 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10195
60160d83
JM
101962012-09-04 Joseph Myers <joseph@codesourcery.com>
10197
10198 [BZ #9914]
10199 * libio/iogetdelim.c: Include <limits.h>.
10200 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10201 + len + 1 would overflow.
10202
bcd6c8dc
AJ
102032012-09-03 Andreas Jaeger <aj@suse.de>
10204
10205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10206 * sysdeps/i386/fpu/libm-test-ulps: Update.
10207
4ffffbd2
LD
102082012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10209
10210 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10211 Add s_sinf-sse2, s_conf-sse2.
10212
10213 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10214 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10215 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10216 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10217
10218 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10219 for using routine as __sinf_ia32.
10220 Use macro for function declaration and weak_alias.
10221 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10222 for using routine as __cosf_ia32.
10223 Use macro for function declaration and weak_alias.
10224
10225 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10226 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10227
10228 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10229 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10231
10232 * math/libm-test.inc (cos_test): Add more test cases.
10233 (sin_test): Likewise.
10234 (sincos_test): Likewise.
10235
511fa286
AK
102362012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10237
10238 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10239 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10240 hidden.
10241 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10242
5f30cfec
L
102432012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10244
10245 [BZ #14538]
10246 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10247 first element of the GOT.
10248 (elf_machine_load_address): Return the difference between
10249 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10250
0786794f
AM
102512012-09-01 Allan McRae <allan@archlinux.org>
10252
5f30cfec
L
10253 [BZ #13412]
10254 * configure.in (AWK): Require gawk version 3.0 or later.
10255 * configure: Regenerated.
0786794f 10256
26889eac
JM
102572012-09-01 Joseph Myers <joseph@codesourcery.com>
10258
10259 * sysdeps/unix/sysv/linux/kernel-features.h
10260 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10262 [__NR_clock_getres]: Make code unconditional.
10263 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10264 (clock_getcpuclockid): Remove code left unreachable by removal of
10265 conditionals.
10266 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10267 code unconditional.
10268 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10269 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10270 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10271 Make code unconditional.
10272 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10273 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10274 * sysdeps/unix/sysv/linux/clock_settime.c
10275 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10276 conditional code.
10277 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10278 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10279
d22e28b0
L
102802012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10281
10282 [BZ #14476]
10283 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10284 scripts/test-installation.pl.
10285
10286 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10287 and $ld_so_version if it is set.
10288
050af9c4
SP
102892012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10290
10291 [BZ #14516]
10292 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10293 failure if reading from procfs failed.
10294 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10295
ad845c0b
JM
102962012-08-27 Joseph Myers <joseph@codesourcery.com>
10297
10298 * sysdeps/unix/sysv/linux/kernel-features.h
10299 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10300 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10301 Remove conditional code.
10302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10303 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10304 Remove conditional code.
10305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10306 * sysdeps/unix/sysv/linux/i386/fxstat.c
10307 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10309 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10310 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10311 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10312 * sysdeps/unix/sysv/linux/i386/lxstat.c
10313 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10314 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10315 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10316 Remove conditional code.
10317 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10318 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10319 Remove conditional code.
10320 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10321 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10322 <kernel-features.h>.
10323 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10324 Remove.
10325 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10326 Remove conditional code.
10327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10328 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10329 Remove conditional.
10330
5dbf56af
MF
103312012-08-27 Mike Frysinger <vapier@gentoo.org>
10332
10333 [BZ #5400]
10334 * NEWS: Add fixed bug number.
10335
d6e70f43
JM
103362012-08-27 Joseph Myers <joseph@codesourcery.com>
10337
7efb4737
JM
10338 [BZ #14519]
10339 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10340 underflowing exponent in case of negative sign.
10341 * stdlib/tst-strtod-round-data: Add more tests.
10342 * stdlib/tst-strtod-round.c (tests): Regenerated.
10343
af92131a
JM
10344 [BZ #3479]
10345 * stdlib/strtod_l.c (NDIG): Remove.
10346 (HEXNDIG): Likewise.
10347 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10348 smallest representable value.
10349 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10350 lie within an exact representation of 1/2 ulp of the result.
10351 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10352 unconditionally.
10353 (TENS_P9_IDX): Define unconditionally.
10354 (TENS_P9_SIZE): Likewise.
10355 (TENS_P10_IDX): Likewise.
10356 (TENS_P10_SIZE): Likewise.
10357 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10358 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10359 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10360 entries for 10^2^13 and 10^2^14.
10361 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10362 (TENS_P13_IDX): Define.
10363 (TENS_P13_SIZE): Likewise.
10364 (TENS_P14_IDX): Likewise.
10365 (TENS_P14_SIZE): Likewise.
10366 (_fpioconst_pow10): Change array size to
10367 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10368 unconditional.
10369 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10370 1024]: Add entries for 10^2^13 and 10^2^14.
10371 [LAST_POW10 > _LAST_POW10]: Remove #error.
10372 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10373 (_fpioconst_pow10): Change array size to
10374 FPIOCONST_POW10_ARRAY_SIZE.
10375 * stdlib/gen-fpioconst.c: New file.
10376 * stdlib/gen-tst-strtod-round.c: Likewise.
10377 * stdlib/tst-strtod-round-data: Likewise.
10378 * stdlib/tst-strtod-round.c: Likewise.
10379 * stdlib/Makefile (tests): Add tst-strtod-round.
10380
d6e70f43
JM
10381 [BZ #14459]
10382 * stdlib/strtod_l.c: Include <stdint.h>.
10383 (NDEBUG): Do not define.
10384 (round_and_return): Change EXPONENT parameter to type intmax_t.
10385 Rearrange calculations to avoid internal overflow possibilities.
10386 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10387 Rearrange calculations to avoid internal overflow possibilities.
10388 Assert that number fits inside MPNSIZE limbs.
10389 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10390 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10391 calculations and add assertions to avoid internal overflow
10392 possibilities. Add casts to avoid signed/unsigned operations.
10393 * stdlib/tst-strtod-overflow.c: New file.
10394 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10395
1f529f7d
MP
103962012-08-25 Marek Polacek <polacek@redhat.com>
10397
10398 * time/time.h: Fix some typos in comments.
10399
59a629f1
RM
104002012-08-23 Roland McGrath <roland@hack.frob.com>
10401
10402 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10403 * posix/tst-rfc3484-2.c: Likewise.
10404 * posix/tst-rfc3484-3.c: Likewise.
10405
d3bafbc9
SM
104062012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10407
10408 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10409 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10410
4efcc022
JM
104112012-08-23 Joseph Myers <joseph@codesourcery.com>
10412
10413 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10414 #include of fxstatat64.c.
10415
3cc3ef96
RM
104162012-08-22 Roland McGrath <roland@hack.frob.com>
10417
f04e2132
RM
10418 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10419 * shadow/getspent_r.c: Likewise.
10420 * shadow/getspnam.c: Likewise.
10421 * shadow/getspnam_r.c: Likewise.
10422 * gshadow/getsgent.c: Likewise.
10423 * gshadow/getsgent_r.c: Likewise.
10424 * gshadow/getsgnam.c: Likewise.
10425 * gshadow/getsgnam_r.c: Likewise.
10426 * inet/getnetbyad.c: Likewise.
10427 * inet/getnetbyad_r.c: Likewise.
10428 * inet/getnetbynm.c: Likewise.
10429 * inet/getnetbynm_r.c: Likewise.
10430 * inet/getnetent.c: Likewise.
10431 * inet/getnetent_r.c: Likewise.
10432 * inet/getproto.c: Likewise.
10433 * inet/getproto_r.c: Likewise.
10434 * inet/getprtent.c: Likewise.
10435 * inet/getprtent_r.c: Likewise.
10436 * inet/getprtname.c: Likewise.
10437 * inet/getprtname_r.c: Likewise.
10438 * inet/getrpcbyname.c: Likewise.
10439 * inet/getrpcbyname_r.c: Likewise.
10440 * inet/getrpcbynumber.c: Likewise.
10441 * inet/getrpcbynumber_r.c: Likewise.
10442 * inet/getrpcent.c: Likewise.
10443 * inet/getrpcent_r.c: Likewise.
10444 * inet/getaliasent.c: Likewise.
10445 * inet/getaliasent_r.c: Likewise.
10446 * inet/getaliasname.c: Likewise.
10447 * inet/getaliasname_r.c: Likewise.
10448 * nscd/getgrgid_r.c: Likewise.
10449 * nscd/getgrnam_r.c: Likewise.
10450 * nscd/gethstbyad_r.c: Likewise.
10451 * nscd/gethstbynm3_r.c: Likewise.
10452 * nscd/getpwnam_r.c: Likewise.
10453 * nscd/getpwuid_r.c: Likewise.
10454 * nscd/getsrvbynm_r.c: Likewise.
10455 * nscd/getsrvbypt_r.c: Likewise.
10456 * nscd/gai.c: Likewise.
10457
c53d909c
RM
10458 * configure.in (build_nscd): New substituted variable, set
10459 by --disable-build-nscd and defaults to $use_nscd.
10460 * configure: Regenerated.
10461 * config.make.in (build-nscd): New substituted variable.
10462 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10463 Change conditional to require [$(build-nscd) = yes] as well.
10464 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10465
3cc3ef96
RM
10466 [BZ# 13696]
10467 * configure.in (use_nscd): New substituted variable, set by
10468 --disable-nscd. If enabled, define USE_NSCD.
10469 * configure: Regenerated.
10470 * config.h.in: Add USE_NSCD.
10471 * config.make.in (use-nscd): New substituted variable.
10472 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10473 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10474 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10475 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10476 (CFLAGS-getgrnam_r.c): Likewise.
10477 (CFLAGS-initgroups.c): Likewise.
10478 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10479 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10480 Variables removed.
10481 * inet/getnetgrent_r.c
10482 (nscd_setnetgrent): New function, broken out of ...
10483 (setnetgrent): ... here. Call it.
10484 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10485 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10486 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10487 * nscd/Makefile (routines, aux): Move definitions after include of
10488 Makeconfig. Conditionalize on [$(use-nscd) != no].
10489 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10490 Conditionalize on [USE_NSCD].
10491 (is_nscd, nscd_init_cb): Likewise.
10492 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10493 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10494 * nss/nss_db/db-init.c: Likewise.
10495 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10496 [USE_NSCD].
10497 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10498 (make_request): Use it.
10499 (cache_valid_p): New function.
10500 (__check_pf): Use it.
10501 * NEWS: Add item for --disable-nscd.
10502
07e51550
DL
105032012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10504
10505 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10506 to support sed >= 4.2.1-20-ga9bf076.
10507 * configure: Regenerated.
10508
35a5b08b
RM
105092012-08-22 Roland McGrath <roland@hack.frob.com>
10510
10511 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10512 Conditionalize whole body on [IREL].
10513
8479f23a
JL
105142012-08-22 Jeff Law <law@redhat.com>
10515
10516 [BZ #14505]
10517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10518 if the family is PF_UNSPEC.
10519
48da0b21
MF
105202012-08-22 Mike Frysinger <vapier@gentoo.org>
10521
10522 * Makerules (lib-version): Rename from V.
10523 (install-lib-nosubdir): Change V to lib-version.
10524
15d0da8c
WS
105252012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10526
10527 [BZ #14252]
10528 * powerpc32/power6/wcschr.c: New file.
10529 * powerpc32/power6/wcscpy.c: New file.
10530 * powerpc32/power6/wcsrchr.c: New file.
10531 * powerpc64/power6/wcschr.c: New file.
10532 * powerpc64/power6/wcscpy.c: New file.
10533 * powerpc64/power6/wcsrchr.c: New file.
10534
bcca0895
MK
105352012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10536
10537 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10538 (two_way_short_needle): Use it.
5a4aaa33
RM
10539 * string/strstr.c (AVAILABLE1_USES_J): Define.
10540 * string/strcasestr.c: Likewise.
99677e57
MK
10541
10542 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10543 array references.
10544 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10545
400726de
MK
10546 [BZ #11607]
10547 * NEWS: Add an entry.
10548 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10549 define their defaults.
10550 (two_way_short_needle): Detect end-of-string on-the-fly.
10551 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10552 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10553 * string/bug-strcasestr1.c: New test.
10554 * string/Makefile: Run it.
10555
20a71f2c
MK
105562012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10557
10558 [BZ #11607]
10559 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10560 the first character.
10561
21ad0558
RM
105622012-08-21 Roland McGrath <roland@hack.frob.com>
10563
10564 * csu/elf-init.c (__libc_csu_irel): Function removed.
10565 * csu/libc-start.c (apply_irel): New function.
10566 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10567
0e1d9911
JM
105682012-08-21 Joseph Myers <joseph@codesourcery.com>
10569
10570 * sysdeps/unix/sysv/linux/kernel-features.h
10571 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10572 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10573 <kernel-features.h>.
10574 [__NR_fadvise64_64]: Make code unconditional.
10575 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10576 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10577 !__NR_fadvise64_64)]: Likewise.
10578 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10579 !__NR_fadvise64_64))]: Likewise.
10580 [__NR_fadvise64]: Make code unconditional.
10581 [!__NR_fadvise64]: Remove conditional code.
10582 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10583 <kernel-features.h>.
10584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10585 unconditional.
10586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10587 conditional code.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10589 not include <kernel-features.h>.
10590 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10591 unconditional.
10592 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10593 conditional code.
10594 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10595 include <kernel-features.h>.
10596 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10597 unconditional.
10598 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10599 conditional code.
10600
14a50c9d
WS
106012012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10602
10603 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10604 slight instruction rearrangements per scrollpipe analysis.
10605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10606
c0f4faf0
RM
106072012-08-20 Roland McGrath <roland@hack.frob.com>
10608
696da859
RM
10609 * manual/syslog.texi (syslog; vsyslog, closelog):
10610 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10611 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10612
c0f4faf0
RM
10613 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10614 DSOCAPS to match condition on defining it.
10615
348363b2
JM
106162012-08-20 Joseph Myers <joseph@codesourcery.com>
10617
a35cbf28
JM
10618 * sysdeps/unix/sysv/linux/kernel-features.h
10619 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10621 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10622 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10624 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10625 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10627 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10628 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10629
445f7ecd
JM
10630 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10631 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10632
348363b2
JM
10633 * sysdeps/unix/sysv/linux/kernel-features.h
10634 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10635 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10636 unconditional.
10637 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10638 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10639 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10640 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10641 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10642 Make code unconditional.
10643 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10644 (__mmap64) [!__NR_mmap2]: Likewise.
10645 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10646 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10647 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10648 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10649 [__NR_mmap2]: Make code unconditional.
10650 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10651 (__mmap64) [!__NR_mmap2]: Likewise.
10652
bc5bc0e5
AK
106532012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10654
10655 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10656
88d506de
AJ
106572012-08-18 Andreas Jaeger <aj@suse.de>
10658
10659 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10660
493387d2
MF
106612012-08-18 Mike Frysinger <vapier@gentoo.org>
10662
10663 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10664 * include/unistd.h (__have_sock_cloexec): Likewise.
10665 (__have_pipe2): Likewise.
10666 (__have_dup3): Likewise.
10667
a277af22
MF
106682012-08-18 Mike Frysinger <vapier@gentoo.org>
10669
10670 [BZ #9685]
10671 * include/unistd.h (__have_pipe2): Change define into an extern int.
10672 (__have_dup3): Likewise.
10673 * socket/have_sock_cloexec.c: Include fcntl.h.
10674 (__have_pipe2): New variable.
10675 (__have_dup3): Likewise.
10676
fdab8fd3
MF
106772012-08-17 Mike Frysinger <vapier@gentoo.org>
10678
10679 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10680
31035e80
MP
106812012-08-17 Marek Polacek <polacek@redhat.com>
10682
10683 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10684 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10685
3bd9e993
RM
106862012-08-17 Roland McGrath <roland@hack.frob.com>
10687
c91c505f
RM
10688 * configure.in: Add AC_SUBST for sysheaders.
10689 * configure: Regenerated.
10690 * config.make.in (sysheaders): New substituted variable.
10691
7c6f9d53
RM
10692 * sysdeps/unix/mkfifo.c: Moved ...
10693 * sysdeps/posix/mkfifo.c: ... here.
10694 * sysdeps/unix/mkfifoat.c: Moved ...
10695 * sysdeps/posix/mkfifoat.c: ... here.
10696
10697 * sysdeps/unix/utime.c: Moved ...
10698 * sysdeps/posix/utime.c: ... here.
10699
10700 * sysdeps/unix/time.c: Moved ...
10701 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10702 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10703 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10704
10705 * sysdeps/unix/nice.c: Moved ...
10706 * sysdeps/posix/nice.c: ... here.
10707
10708 * sysdeps/unix/alarm.c: Moved ...
10709 * sysdeps/posix/alarm.c: ... here.
10710
3bd9e993
RM
10711 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10712
d1f09384
JL
107132012-08-17 Jeff Law <law@redhat.com>
10714
10715 * intl/Makefile (codeset_mo): New variable.
10716 ($(codeset_mo)): New target.
10717 (tst-codeset.out): Depend on that. Remove explicit rule.
10718 (tst-gettext3.out, tst-gettext5.out): Likewise.
10719 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10720 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10721 * intl/tst-codeset.sh: Remove.
10722 * intl/tst-gettext3.sh: Likewise.
10723 * intl/tst-gettext5.sh: Likewise.
10724
2ae1ae5c
RM
107252012-08-17 Roland McGrath <roland@hack.frob.com>
10726
c31fdb83
RM
10727 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10728 * sysdeps/unix/syscalls.list: ... here.
10729
a0844057
RM
10730 * sysdeps/posix/getaddrinfo.c
10731 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10732 (gaiconf_init, gaiconf_reload): Use them.
10733 [!_STATBUF_ST_NSEC]
10734 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10735 Define using time_t rather than struct timespec.
10736
750c1f2a
RM
10737 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10738 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10739 Macros removed.
10740 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10741 [!NO_THREADS].
10742 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10743 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10744 Likewise.
10745
2ae1ae5c
RM
10746 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10747 __libc_cleanup_push argument.
10748
e66a42f5
RM
10749 * bits/param.h: New file.
10750 * misc/sys/param.h: New file.
10751 * include/sys/param.h: New file.
10752 * misc/Makefile (headers): Add bits/param.h.
10753 * sysdeps/generic/sys/param.h: File removed.
10754 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10755 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10756 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10757 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10758
b7c08a66
RM
10759 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10760 last change.
10761
b2e1c562
RM
10762 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10763 [_IO_MTSAFE_IO].
10764 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10765 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10766 New macros.
10767
c75ccd4c
RM
10768 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10769 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10770 rather than -D_IO_MTSAFE_IO conditionally.
10771 * stdio-common/Makefile (CPPFLAGS): Likewise.
10772 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10773 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10774 Use $(libio-mtsafe).
10775 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10776 of -D_IO_MTSAFE_IO.
10777 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10778 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10779 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10780 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10781 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10782 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10783 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10784 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10785 (CFLAGS-fread_u_chk.c): Likewise.
10786 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10787 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10788 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10789 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10790 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10791 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10792 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10793 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10794 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10795
10796 * libio/Makefile: Test [$(libc-reentrant) = yes]
10797 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10798
10799 * Makeconfig
10800 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10801 * sysdeps/pthread/configure: File removed.
10802 * sysdeps/pthread/Makeconfig: New file.
10803 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10804 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10805
d9195db8
GB
108062012-08-16 Gary Benson <gbenson@redhat.com>
10807
10808 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10809 unmapping the first object in a namespace.
10810
86466cd9
RM
108112012-08-16 Roland McGrath <roland@hack.frob.com>
10812
10813 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10814 (__internal_setnetgrent): ... this. Add internal_function to
10815 definition. Add libc_hidden_def.
10816 (setnetgrent): Update caller.
10817 (internal_endnetgrent): Renamed to ...
10818 (__internal_endnetgrent): ... this. Add internal_function to
10819 definition. Add libc_hidden_def.
10820 (endnetgrent): Update caller.
10821 (internal_getnetgrent_r): Renamed to ...
10822 (__internal_getnetgrent_r): ... this. Add internal_function to
10823 definition. Add libc_hidden_def.
10824 (__getnetgrent_r): Update caller.
10825 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10826
c3c8283c
JM
108272012-08-16 Joseph Myers <joseph@codesourcery.com>
10828
10829 * stdlib/longlong.h: Update from GCC.
10830
db1ee0a8
RM
108312012-08-16 Roland McGrath <roland@hack.frob.com>
10832
10833 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10834 on _QL, which is set by umul_ppmm but never used.
10835 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10836 variables, which are set by GMP macros but never used.
10837 * stdio-common/_itowa.c (_itowa): Likewise.
10838 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10839 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10840
30f69637
CD
108412012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10842
10843 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10844 struct La_sh_regs is not constant.
10845 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10846 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10847 and struct La_sparc64_regs are not constant.
10848
93a78ac4
JM
108492012-08-16 Joseph Myers <joseph@codesourcery.com>
10850
10851 * sysdeps/unix/sysv/linux/kernel-features.h
10852 (__ASSUME_POSIX_TIMERS): Remove.
10853 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10855 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10856 Make code unconditional.
10857 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10858 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10859 Make code unconditional.
10860 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10861 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10862 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10863 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10864 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10865 Make code unconditional.
10866 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10867 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10868 (__libc_missing_posix_timers): Remove.
10869
dd924cd7
RM
108702012-08-15 Roland McGrath <roland@hack.frob.com>
10871
4b4f2771
RM
10872 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10873 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10874
601c888b
RM
10875 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10876
176790a7
RM
10877 * elf/dl-sym.c: Include <stdlib.h>.
10878
329bc018
RM
10879 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10880 constants, which avoids warnings in 32-bit builds.
10881
e04e272d
RM
10882 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10883 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10884
952bf94a
RM
10885 * misc/lseek.c: File moved to ...
10886 * io/lseek.c: ... here.
10887
7c99b50a
RM
10888 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10889
dd924cd7
RM
10890 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10891 shifting LEN more than 31 bits at once.
10892
b3f479a8
LD
108932012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10894
10895 [BZ #14195]
8c4ae0d4
RM
10896 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10897 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10898 * string/test-strncasecmp.c (check1): Renamed to...
10899 (bz12205): ...this.
10900 (bz14195): Add new testcase for two empty input strings and N > 0.
10901 (test_main): Call new testcase, adapt for renamed function.
10902
9c55864e
AJ
109032012-08-15 Andreas Jaeger <aj@suse.de>
10904
10905 [BZ #14090]
10906 * crypt/md5test2.c: New test, based on test supplied by Serge
10907 Belyshev <belyshev@depni.sinp.msu.ru>.
10908 * crypt/Makefile (xtests): Add md5test-giant..
10909 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10910
02dcb6c5
PE
109112012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10912
10913 [BZ #14090]
10914 * crypt/md5.c (md5_process_block): Don't assume the buffer
10915 length is less than 2**32.
10916 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10917 length is less than 2**64.
10918
a3f95dcc
RM
109192012-08-15 Roland McGrath <roland@hack.frob.com>
10920
be75d758
RM
10921 * string/str-two-way.h: Include <sys/param.h>.
10922 (MAX): Macro removed.
10923
7312ca90
RM
10924 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10925 Move #define and #undef of memmove to just before and after
10926 including <string.h>.
10927
9a0a5486
RM
10928 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10929 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10930 and after including <string.h>. Move declarations of
10931 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10932 to before #include "string/memmove.c".
10933
67cc348d
RM
10934 * include/dirent.h: Declare __getdirentries.
10935
a3f95dcc
RM
10936 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10937 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10938
ca98e171
MF
109392012-08-14 Mike Frysinger <vapier@gentoo.org>
10940
10941 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10942 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10943 * sysdeps/i386/configure: Regenerated.
10944 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10945 STABS_CURRENT_FILE, and STABS_FUN.
10946 (END): Remove call to STABS_FUN_END.
10947 (STABS_CURRENT_FILE1): Delete.
10948 (STABS_CURRENT_FILE): Likewise.
10949 (STABS_FUN): Likewise.
10950 (STABS_FUN_END): Likewise.
10951 (STABS_FUN2): Likewise.
10952 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10953 * sysdeps/x86_64/configure: Regenerated.
10954
5908bf46
RM
109552012-08-14 Roland McGrath <roland@hack.frob.com>
10956
10957 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10958 * elf/dl-lookup.c: Likewise.
5908bf46 10959
f2c05b9e
JM
109602012-08-14 Joseph Myers <joseph@codesourcery.com>
10961
10962 * sysdeps/unix/sysv/linux/kernel-features.h
10963 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10964 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10965 unconditionally.
10966 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10967 unconditionally.
10968 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10969 condition on __ASSUME_CLONE_THREAD_FLAGS.
10970
e11f5155
AJ
109712012-08-14 Andreas Jaeger <aj@suse.de>
10972
10973 * sysdeps/i386/fpu/libm-test-ulps: Update.
10974
51a9ba86
MK
109752012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10976
2fdd4f78
AJ
10977 * include/atomic.h (atomic_exchange_and_add): Split into ...
10978 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10979 New atomic macros.
51a9ba86 10980
ba6cba9e
MT
109812012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10982
10983 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10984
42443a47
JL
109852012-08-13 Jeff Law <law@redhat.com>
10986
10987 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10988 null byte in the output string.
10989
121dce05
JM
109902012-08-10 Joseph Myers <joseph@codesourcery.com>
10991
10992 * sysdeps/unix/sysv/linux/kernel-features.h
10993 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10994 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10995 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10996 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10997 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10998 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10999 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11000
bf51f568
JL
110012012-08-09 Jeff Law <law@redhat.com>
11002
11003 [BZ #13939]
11004 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11005 When avoid_arena is set, don't retry in the that arena. Pick the
11006 next one, whatever it might be.
11007 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11008 (arena_lock): Pass in new parameter to arena_get2.
11009 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11010 arena_get2.
11011 (__libc_malloc): Unify retrying after main arena failure with
11012 __libc_memalign version.
11013 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11014
f85fa270
L
110152012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 [BZ #14166]
11018 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11019 to __redirect_strstr.
11020 (__strstr_sse42): Use typeof __redirect_strstr.
11021 (__strstr_ia32): Likewise.
11022 (__libc_strstr): New prototype.
11023 (strstr): Renamed to ...
11024 (__libc_strstr): This.
11025 (strstr): New strong alias of __libc_strstr.
11026 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11027 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11028 __redirect_time.
11029 Include <time.h>.
11030 (__libc_time): New prototype.
11031 (time_ifunc): Replace time with __libc_time.
11032 (time): New strong alias and hidden definition of __libc_time.
11033 (__GI_time): Remove strong alias.
11034 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11035 Include <stddef.h>.
11036 (memmove): Redefined to __redirect_memmove.
11037 (__memmove_sse2): Use typeof __redirect_memmove.
11038 (__memmove_ssse3): Likewise.
11039 (__memmove_ssse3_back): Likewise.
11040 (__libc_memmove): New prototype.
11041 (memmove): Renamed to ...
11042 (__libc_memmove): This.
11043 (memmove): New strong alias of __libc_memmove.
11044
33b4a91e
MS
110452012-08-08 Mark Salter <msalter@redhat.com>
11046
11047 * elf/elf.h
11048 (R_MN10300_TLS_GD): Define.
11049 (R_MN10300_TLS_LD): Likewise.
11050 (R_MN10300_TLS_LDO): Likewise.
11051 (R_MN10300_TLS_GOTIE): Likewise.
11052 (R_MN10300_TLS_IE): Likewise.
11053 (R_MN10300_TLS_LE): Likewise.
11054 (R_MN10300_TLS_DTPMOD): Likewise.
11055 (R_MN10300_TLS_DTPOFF): Likewise.
11056 (R_MN10300_TLS_TPOFF): Likewise.
11057 (R_MN10300_SYM_DIFF): Likewise.
11058 (R_MN10300_ALIGN): Likewise.
11059 (R_MN10300_NUM): Update.
11060
b36137f1
JM
110612012-08-08 Joseph Myers <joseph@codesourcery.com>
11062
11063 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11064 Remove.
11065
cdd915fd
RM
110662012-08-08 Roland McGrath <roland@hack.frob.com>
11067
a2433aac
RM
11068 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11069
cdd915fd
RM
11070 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11071 sysdeps/unix -> sysdeps/posix move.
11072 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11073
bf9b740a
AM
110742012-08-07 Allan McRae <allan@archlinux.org>
11075
11076 [BZ #14303]
11077 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11078 (SUNOS_CPP): Likewise.
11079 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11080 not found.
11081 (open_input): Call CPP using execvp.
11082
93df14ee
JM
110832012-08-07 Joseph Myers <joseph@codesourcery.com>
11084
11085 * sysdeps/unix/sysv/linux/kernel-features.h
11086 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11087 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11088 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11089 (__ASSUME_WAITID_SYSCALL): Likewise.
11090 * sysdeps/unix/sysv/linux/dl-execstack.c
11091 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11092 code unconditional.
11093 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11094 conditional code.
11095 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11096 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11097 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11098 code.
11099 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11100 unconditional.
11101 [__ASSUME_WAITID_SYSCALL]: Likewise.
11102 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11103
d34689de
RM
111042012-08-07 Roland McGrath <roland@hack.frob.com>
11105
a281decc
RM
11106 * sysdeps/unix/closedir.c: Renamed to ...
11107 * sysdeps/posix/closedir.c: ... here.
11108 * sysdeps/unix/dirfd.c: Renamed to ...
11109 * sysdeps/posix/dirfd.c: ... here.
11110 * sysdeps/unix/dirstream.h: Renamed to ...
11111 * sysdeps/posix/dirstream.h: ... here.
11112 * sysdeps/unix/fdopendir.c: Renamed to ...
11113 * sysdeps/posix/fdopendir.c: ... here.
11114 * sysdeps/unix/opendir.c: Renamed to ...
11115 * sysdeps/posix/opendir.c: ... here.
11116 * sysdeps/unix/readdir.c: Renamed to ...
11117 * sysdeps/posix/readdir.c: ... here.
11118 * sysdeps/unix/readdir_r.c: Renamed to ...
11119 * sysdeps/posix/readdir_r.c: ... here.
11120 * sysdeps/unix/rewinddir.c: Renamed to ...
11121 * sysdeps/posix/rewinddir.c: ... here.
11122 * sysdeps/unix/seekdir.c: Renamed to ...
11123 * sysdeps/posix/seekdir.c: ... here.
11124 * sysdeps/unix/telldir.c: Renamed to ...
11125 * sysdeps/posix/telldir.c: ... here.
11126 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11127 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11128 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11129 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11130
22895b47
RM
11131 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11132 * bits/fcntl.h: ... here.
11133
707a53b6
RM
11134 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11135 not 0.
11136 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11137 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11138 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11139 (struct flock): Move l_start, l_len to the beginning.
11140 Use __pid_t for l_pid.
11141 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11142 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11143 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11144 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11145 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11146 [__USE_LARGEFILE64] (struct flock64): New type.
11147 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11148
f0bd3e25
RM
11149 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11150 * bits/dirent.h: ... here.
11151
d34689de
RM
11152 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11153 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11154
6dad2c06
JM
111552012-08-07 Joseph Myers <joseph@codesourcery.com>
11156
11157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11158 Change from 2.6.0 to 2.6.16.
11159 * sysdeps/unix/sysv/linux/configure: Regenerated.
11160 * sysdeps/unix/sysv/linux/kernel-features.h
11161 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11162 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11163 version.
11164 (__ASSUME_UTIMES): Likewise.
11165 (__ASSUME_CLONE_STOPPED): Remove.
11166 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11167 architectures, not kernel version.
11168 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11169 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11170 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11171 (__ASSUME_WAITID_SYSCALL): Likewise.
11172 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11173 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11174 * README: State 2.6.16 as minimum Linux kernel version. Do not
11175 refer to older versions.
11176
03af9520
RM
111772012-08-06 Roland McGrath <roland@hack.frob.com>
11178
8e49df1d
RM
11179 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11180 Define alphasort64 as an alias.
11181 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11182 Define versionsort64 as an alias.
11183 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11184 Define scandir64 as an alias.
11185 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11186 Define scandirat64 as an alias.
11187 * dirent/alphasort64.c (alphasort64):
11188 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11189 * dirent/versionsort64.c: Likewise.
11190 * dirent/scandir64.c: Likewise.
11191 * dirent/scandirat64.c: Likewise.
11192 * sysdeps/wordsize-64/alphasort.c: File removed.
11193 * sysdeps/wordsize-64/alphasort64.c: File removed.
11194 * sysdeps/wordsize-64/scandir.c: File removed.
11195 * sysdeps/wordsize-64/scandir64.c: File removed.
11196 * sysdeps/wordsize-64/scandirat.c: File removed.
11197 * sysdeps/wordsize-64/scandirat64.c: File removed.
11198 * sysdeps/wordsize-64/versionsort.c: File removed.
11199 * sysdeps/wordsize-64/versionsort64.c: File removed.
11200 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11201 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11202 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11203 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11204 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11205 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11206 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11207 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11208
11209 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11210 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11211 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11212 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11213 [defined __arch64__ || defined __sparcv9]
11214 (__INO_T_MATCHES_INO64_T): New macro.
11215 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11216 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11217 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11218 * sysdeps/unix/sysv/linux/bits/dirent.h
11219 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11220 (_DIRENT_MATCHES_DIRENT64): New macro.
11221
03af9520
RM
11222 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11223 Define lockf64 as an alias.
11224 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11225 Define fseeko64 as an alias.
11226 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11227 Define ftello64 as an alias.
11228 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11229 Define _IO_fgetpos64 and fgetpos64 as aliases.
11230 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11231 Define _IO_fsetpos64 and fsetpos64 as aliases.
11232 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11233 Conditionalize body on this.
11234 * libio/fseeko64.c: Likewise.
11235 * libio/ftello64.c: Likewise.
11236 * libio/iofgetpos64.c: Likewise.
11237 * libio/iofsetpos64.c: Likewise.
11238 * sysdeps/wordsize-64/lockf.c: File removed.
11239 * sysdeps/wordsize-64/lockf64.c: File removed.
11240 * sysdeps/wordsize-64/fseeko.c: File removed.
11241 * sysdeps/wordsize-64/fseeko64.c: File removed.
11242 * sysdeps/wordsize-64/ftello.c: File removed.
11243 * sysdeps/wordsize-64/ftello64.c: File removed.
11244 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11245 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11246 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11247 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11248 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11249 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11250 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11251 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11252 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11253 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11254 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11255 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11257 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11258
11259 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11261 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11263 [defined __arch64__ || defined __sparcv9]
11264 (__OFF_T_MATCHES_OFF64_T): New macro.
11265 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11266 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11267 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11268 (__OFF_T_MATCHES_OFF64_T): New macro.
11269
c5757acd
L
112702012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11271
11272 * stdlib/secure-getenv.c (__secure_getenv): Replace
11273 GLIBC_2_16 with GLIBC_2_17.
11274
3a31811e
L
112752012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11276
11277 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11278 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11279
faa2bccb
DM
112802012-08-03 David S. Miller <davem@davemloft.net>
11281
11282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11283
85fe1997
JM
112842012-08-03 Joseph Myers <joseph@codesourcery.com>
11285
11286 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11287 Remove.
11288 (__ASSUME_CORRECT_SI_PID): Likewise.
11289 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11290 (__ASSUME_TMPFS_NAME): Likewise.
11291 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11292 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11293 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11294 (HAVE_AUX_SECURE): Make definition unconditional.
11295 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11296 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11297
4f75b7a0
RM
112982012-08-03 Roland McGrath <roland@hack.frob.com>
11299
11300 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11301 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11302 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11303 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11304 __eloop_threshold instead of SYMLOOP_MAX.
11305
11306 * sysdeps/generic/eloop-threshold.h: New file.
11307 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11308 of MAXSYMLINKS.
11309 * elf/chroot_canon.c (chroot_canon): Likewise.
11310
7aab07e4
JM
113112012-08-03 Joseph Myers <joseph@codesourcery.com>
11312
11313 [BZ #13717]
11314 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11315 Change to 2.6.0 everywhere.
11316 * sysdeps/unix/sysv/linux/configure: Regenerated.
11317 * sysdeps/unix/sysv/linux/kernel-features.h
11318 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11319 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11320 kernel versions.
11321 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11322 (__ASSUME_FUTEX_REQUEUE): Remove.
11323 (__ASSUME_STATFS64): Define unconditionally.
11324 (__ASSUME_AT_SECURE): Likewise.
11325 (__ASSUME_CORRECT_SI_PID): Likewise.
11326 (__ASSUME_TGKILL): Define without depending on kernel version for
11327 i386.
11328 (__ASSUME_UTIMES): Likewise.
11329 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11330 kernel version.
11331 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11332 (__ASSUME_TMPFS_NAME): Likewise.
11333 * README: Update reference to Linux kernel versions.
11334
b67e9372
MP
113352012-08-02 Marek Polacek <polacek@redhat.com>
11336
1f529f7d 11337 [BZ# 14150]
b67e9372
MP
11338 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11339 libc_cv_asm_type_prefix with %.
11340 * configure: Regenerated.
d2441631
RM
11341 * include/libc-symbols.h: Remove comment about
11342 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
11343 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11344 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11345 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11346 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11347 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11348 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11349 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11350 * elf/tst-unique2mod1.c: Likewise.
11351 * elf/tst-unique1mod2.c: Likewise.
11352 * elf/tst-unique1mod1.c: Likewise.
11353 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11354 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11355 Replace ASM_TYPE_DIRECTIVE with .type.
11356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11357 * sysdeps/i386/sysdep.h: Likewise.
11358 * sysdeps/x86_64/sysdep.h: Likewise.
11359 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11361 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11362 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11363 * sysdeps/powerpc/powerpc32/sysdep.h:
11364 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11365 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11366 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11367 * sysdeps/i386/fpu/e_powf.S: Likewise.
11368 * sysdeps/i386/fpu/e_expl.S: Likewise.
11369 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11370 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11371 * sysdeps/i386/fpu/e_pow.S: Likewise.
11372 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11373 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11374 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11375 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11376 * sysdeps/i386/fpu/e_log2.S: Likewise.
11377 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11378 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11379 * sysdeps/i386/fpu/e_powl.S: Likewise.
11380 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11381 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11382 * sysdeps/i386/fpu/e_logl.S: Likewise.
11383 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11384 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11385 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11386 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11387 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11388 * sysdeps/i386/fpu/e_log.S: Likewise.
11389 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11390 * sysdeps/i386/fpu/e_logf.S: Likewise.
11391 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11392 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11393 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11394 * sysdeps/i386/fpu/e_log10.S: Likewise.
11395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11400 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11401 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11402 * sysdeps/i386/i686/strtok.S: Likewise.
11403 * sysdeps/i386/i386-mcount.S: Likewise.
11404 * sysdeps/i386/strtok.S: Likewise.
11405 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11406 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11407 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11408 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11409 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11410 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11411 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11412 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11413 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11414 * sysdeps/x86_64/_mcount.S: Likewise.
11415 * sysdeps/x86_64/strtok.S: Likewise.
11416 * sysdeps/sh/_mcount.S: Likewise.
11417
2747bf9a
RM
114182012-08-01 Roland McGrath <roland@hack.frob.com>
11419
11420 * libio/iofopen.c: Include <fcntl.h>.
11421 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11422 (_IO_fopen64, fopen64): Define as aliases.
11423 * libio/iofopen64.c: Include <fcntl.h>.
11424 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11425 Conditionalize body on this.
11426 * sysdeps/wordsize-64/iofopen.c: File removed.
11427 * sysdeps/wordsize-64/iofopen64.c: File removed.
11428
3fb791b8
MP
114292012-08-01 Marek Polacek <polacek@redhat.com>
11430
11431 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11432 Use dlfcn directly instead of a variable.
11433 (binfmt-subdir): Do not define.
11434 (dlfcn): Likewise.
11435
a9f1039f
JM
114362012-08-01 Joseph Myers <joseph@codesourcery.com>
11437
23bddc06
JM
11438 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11439 Remove all definitions.
11440 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11441 <kernel-features.h>.
11442 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11443 (miss_F_GETOWN_EX): Remove all definitions.
11444 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11445 macro definition.
11446 [!__ASSUME_FCNTL64]: Remove conditional code.
11447 [__ASSUME_FCNTL64]: Make code unconditional.
11448 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11449 <kernel-features.h>.
11450 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11451 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11452 (lockf64) [__NR_fcntl64]: Make code unconditional.
11453 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11454
a9f1039f
JM
11455 * sysdeps/unix/sysv/linux/kernel-features.h
11456 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11457 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11458 Make code unconditional.
11459 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11460 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11462 [__NR_vfork]: Make code unconditional.
11463 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11464 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11466 [__NR_vfork]: Make code unconditional.
11467 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11468 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11469
09c0ee5f
RM
114702012-08-01 Roland McGrath <roland@hack.frob.com>
11471
48aec5b9
RM
11472 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11473 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11474
cd97c966
RM
11475 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11476 Define mkstemp64 as an alias.
3f55550c
RM
11477 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11478 Define mkstemps64 as an alias.
cd97c966
RM
11479 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11480 Define mkostemp64 as an alias.
b8625cfc
RM
11481 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11482 Define mkostemps64 as an alias.
cd97c966
RM
11483 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11484 Conditionalize body on this.
11485 * misc/mkostemp64.c: Likewise.
b8625cfc 11486 * misc/mkostemps64.c: Likewise.
3f55550c 11487 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11488 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11489 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11490 * sysdeps/wordsize-64/mkostemp.c: File removed.
11491 * sysdeps/wordsize-64/mkstemp.c: File removed.
11492 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11493 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11494 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11495 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11496
09c0ee5f
RM
11497 [BZ #14138]
11498 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11499 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11500 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11501 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11502
11503 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11504 compat_symbol macros from <shlib-compat.h> rather than the underlying
11505 default_symbol_version and symbol_version macros, so that DEFAULT
11506 lines in shlib-versions are respected.
11507 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11508
7e66ee51
FW
115092012-08-01 Florian Weimer <fweimer@redhat.com>
11510
11511 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11512 Declare with warn_unused_result.
11513 (setgid, setregid, setegid, setresgid): Likewise.
11514 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11515 Likewise.
11516 * WUR-REPORT: Remove set*id functions.
11517
d2a54255
PT
115182012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11519
11520 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11521
7ecdb005
RM
115222012-07-31 Roland McGrath <roland@hack.frob.com>
11523
b4180a5e 11524 [BZ #10191]
789bd351
RM
11525 * include/sys/socket.h (__libc_accept, __libc_accept4):
11526 Add attribute_hidden.
11527 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11528
40ce302d
RM
11529 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11530 use of PTR_MANGLE.
11531 * inet/getnetgrent_r.c (setup): Likewise.
11532
7ecdb005
RM
11533 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11534
e2eabb2c
DM
115352012-07-31 David S. Miller <davem@davemloft.net>
11536
11537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11538
d0419dbf
JM
115392012-07-31 Joseph Myers <joseph@codesourcery.com>
11540
11541 [BZ #13629]
11542 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11543 value between 1.0 and 2.0 and smaller part has absolute value less
11544 than 1.0.
11545 * math/s_clog10.c (__clog10): Likewise.
11546 * math/s_clog10f.c (__clog10f): Likewise.
11547 * math/s_clog10l.c (__clog10l): Likewise.
11548 * math/s_clogf.c (__clogf): Likewise.
11549 * math/s_clogl.c (__clogl): Likewise.
11550 * math/libm-test.inc (clog_test): Add more tests.
11551 (clog10_test): Likewise.
11552 * sysdeps/i386/fpu/libm-test-ulps: Update.
11553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11554
2bc13872
FW
115552012-07-31 Florian Weimer <fweimer@redhat.com>
11556
11557 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11558 Exit with zero in case no suitable GID is found, and write a
11559 message to standard error.
11560
bea9b193
RM
115612012-07-30 Roland McGrath <roland@hack.frob.com>
11562
11563 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11564 rather than to 1.
11565 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11566 (MAXPATHLEN): Removed.
11567 (NOGROUP, NODEV): New macros.
11568 (setbit, clrbit, isset, isclr): New macros.
11569 (howmany, roundup, powerof2): New macros.
11570 (DEV_BSIZE): New macro.
11571
11572 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11573 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11574
11575 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11576 definition on [!__NO_LONG_DOUBLE_MATH].
11577
11578 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11579 PTR_MANGLE and PTR_DEMANGLE.
11580
11581 * socket/accept4.c (accept4): Rename to __libc_accept4.
11582 Define accept4 as a weak alias.
11583
11584 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11585 on [_DIRENT_HAVE_D_TYPE].
11586 * io/ftw.c (ftw_dir): Likewise.
11587
11588 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11589
11590 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11591
11592 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11593 Use the BSD numbers rather than the arbitrary ones we had.
11594 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11595 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11596 (SIGXCPU, SIGXFSZ): New macros.
11597 (_NSIG): Now 32.
11598
11599 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11600 initializer on [_LIBC_REENTRANT].
11601
11602 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11603 definitions inside [_POSIX_MAPPED_FILES].
11604
11605 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11606
11607 * dirent/opendir.c: Include <fcntl.h>.
11608
11609 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11610 (__libc_getspecific): Likewise.
11611 (__libc_key_create): Likewise.
11612
11613 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11614 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11615 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11616 (tmpfile64): Define as alias.
11617 * sysdeps/wordsize-64/tmpfile.c: File removed.
11618 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11619 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11620 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11621
11622 * stdio-common/vfscanf.c: Include <stdbool.h>.
11623 * nss/makedb.c: Likewise.
11624 * stdio-common/_i18n_number.h: Likewise.
11625 * argp/argp-help.c: Likewise.
11626 * posix/wordexp.c: Likewise.
11627 * sysdeps/posix/spawni.c: Likewise.
11628 * nss/nss_files/files-initgroups.c: Likewise.
11629 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11630 * nss/nss_files/files-initgroups.c: Likewise.
11631 * nss/nss_db/db-netgrp.c: Likewise.
11632 * nss/nss_db/db-initgroups.c: Likewise.
11633 * io/fchmodat.c: Include <sys/stat.h>.
11634
11635 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11636 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11637
11638 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11639 [HAVE_MMAP].
11640
11641 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11642 Add multiple inclusion protection.
11643
e5abc686
DM
116442012-07-27 David S. Miller <davem@davemloft.net>
11645
11646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11647
815e6fa3
GB
116482012-07-27 Gary Benson <gbenson@redhat.com>
11649
11650 [BZ #14298]
11651 * elf/rtld.c: Include <stap-probe.h>.
11652 (dl_main): Added static probes "init_start" and "init_complete".
11653 * elf/dl-load.c: Include <stap-probe.h>.
11654 (lose): Take new parameter "nsid".
11655 Added static probe "map_failed".
11656 (_dl_map_object_from_fd): Pass namespace id to lose.
11657 Added static probe "map_start".
11658 (open_verify): Pass namespace id to lose.
11659 * elf/dl-open.c: Include <stap-probe.h>.
11660 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11661 and "reloc_complete".
11662 * elf/dl-close.c: Include <stap-probe.h>.
11663 (_dl_close_worker): Added static probes "unmap_start" and
11664 "unmap_complete".
11665 * elf/rtld-debugger-interface.txt: New file documenting the above.
11666
9f98c16c
RM
116672012-07-26 Roland McGrath <roland@hack.frob.com>
11668
11669 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11670 rather than a string variable.
11671 * sunrpc/rpc_main.c (h_output): Likewise.
11672 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11673
f3c22df3
PT
116742012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11675
11676 * inet/check_native.c: New file.
11677
3129cfc6
JM
116782012-07-26 Joseph Myers <joseph@codesourcery.com>
11679
da865e95
JM
11680 [BZ #13629]
11681 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11682 if larger part has absolute value 1.0.
11683 * math/s_clog10.c (__clog10): Likewise.
11684 * math/s_clog10f.c (__clog10f): Likewise.
11685 * math/s_clog10l.c (__clog10l): Likewise.
11686 * math/s_clogf.c (__clogf): Likewise.
11687 * math/s_clogl.c (__clogl): Likewise.
11688 * math/libm-test.inc (clog_test): Add more tests.
11689 (clog10_test): Likewise.
11690 * sysdeps/i386/fpu/libm-test-ulps: Update.
11691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11692
3129cfc6
JM
11693 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11694 (pltexit): Likewise.
11695 (La_regs): Likewise.
11696 (La_retval): Likewise.
11697 (int_retval): Likewise.
11698 Update #error for removed macros to refer only to definitions in
11699 tst-audit.h.
11700 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11701 macro.
11702 (pltexit): Likewise.
11703 (La_regs): Likewise.
11704 (La_retval): Likewise.
11705 (int_retval): Likewise.
11706 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11707 macro.
11708 (pltexit): Likewise.
11709 (La_regs): Likewise.
11710 (La_retval): Likewise.
11711 (int_retval): Likewise.
11712 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11713 macro.
11714 (pltexit): Likewise.
11715 (La_regs): Likewise.
11716 (La_retval): Likewise.
11717 (int_retval): Likewise.
11718 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11719 macro.
11720 (pltexit): Likewise.
11721 (La_regs): Likewise.
11722 (La_retval): Likewise.
11723 (int_retval): Likewise.
11724 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11725 macro.
11726 (pltexit): Likewise.
11727 (La_regs): Likewise.
11728 (La_retval): Likewise.
11729 (int_retval): Likewise.
11730 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11731 macro.
11732 (pltexit): Likewise.
11733 (La_regs): Likewise.
11734 (La_retval): Likewise.
11735 (int_retval): Likewise.
11736 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11737 macro definitions in tst-audit.h.
11738 * sysdeps/i386/tst-audit.h: New file.
11739 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11740 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11741 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11742 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11743 * sysdeps/sh/tst-audit.h: Likewise.
11744 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11745 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11746 * sysdeps/x86_64/tst-audit.h: Likewise.
11747
bfc07087
AJ
117482012-07-26 Andreas Jaeger <aj@suse.de>
11749
b1b2aaf8
AJ
11750 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11751 ptrace.
11752
11753 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11754 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11755 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11756 PTRACE_O_MASK.
11757 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11758 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11759 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11760
bfc07087
AJ
11761 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11762 value.
11763
11764 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11765 _sigsys.
11766 (si_call_addr, si_syscall, si_arch): Define new macro.
11767 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11768 _sigsys.
11769 (si_call_addr, si_syscall, si_arch): Define new marcro.
11770 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11771 _sigsys.
11772 (si_call_addr, si_syscall, si_arch): Define new macro.
11773 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11774 _sigsys.
11775 (si_call_addr, si_syscall, si_arch): Define new macro.
11776
89b4b02f
JM
117772012-07-25 Joseph Myers <joseph@codesourcery.com>
11778
11779 [BZ #13717]
11780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11781 Change to 2.4.21 where previously 2.4.1.
11782 * sysdeps/unix/sysv/linux/configure: Regenerated.
11783 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11784 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11785 Linux kernel version.
11786 (__ASSUME_STD_AUXV): Remove.
11787 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11788 kernel version.
11789 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11790 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11791 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11792 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11793 (__ASSUME_NETLINK_SUPPORT): Likewise.
11794 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11795 (__no_netlink_support): Remove conditional definition.
11796 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11797 Remove.
11798 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11799 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11800 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11801 (if_nameindex_ioctl): Remove.
11802 (if_nameindex_netlink): Do not handle __no_netlink_support.
11803 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11804 code.
11805 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11806 Remove conditional code.
11807 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11808 code.
11809 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11810 unconditional.
11811 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11812 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11813 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11814 Remove.
11815 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11816 [!__ASSUME_STD_AUXV]: Remove conditional code.
11817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11818 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11819 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11821 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11822 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11823 code.
11824 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11826 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11827 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11828 conditional code.
11829 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11831 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11832 code.
11833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11834 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11835 conditional code.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11837 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11838 code unconditional.
11839 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11840 conditional code.
11841 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11842 unconditional.
11843 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11844 conditional code.
11845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11846 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11847 unconditional.
11848 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11849 conditional code.
11850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11851 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11852 code unconditional.
11853 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11854 conditional code.
11855 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11856 unconditional.
11857 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11858 conditional code.
11859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11860 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11861 code unconditional.
11862 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11863 conditional code.
11864 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11865 unconditional.
11866 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11867 conditional code.
11868
842a39cd
AS
118692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11870
11871 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11872 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11873 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11874 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11875 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11876 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11877 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11878 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11879 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11880 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11881 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11882 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11883 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11884 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11885 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11887 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11888 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11889 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11891 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11892 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11893 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11894
84b3fd84
FW
118952012-07-25 Florian Weimer <fweimer@redhat.com>
11896
11897 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11898 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11899 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11900 Introduce __libc_secure_getenv.
0c7936d5
FW
11901 * stdlib/Versions (2.17): Add secure_getenv
11902 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11903 * stdlib/secure-getenv.c: Rename __secure_getenv to
11904 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11905 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11906 * stdlib/tst-secure-getenv.c: New.
11907 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11908 * manual/startup.texi (Environment Access): Document
11909 secure_getenv.
84b3fd84
FW
11910 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11911 __libc_secure_getenv.
11912 * inet/ruserpass.c (ruserpass): Likewise.
11913 * malloc/mtrace.c (mtrace): Likewise.
11914 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11915 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11916 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11917 * sysdeps/posix/tempname.c: Likewise. Evaluate
11918 HAVE_SECURE_GETENV.
11919 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11920 __secure_getenv to __libc_secure_getenv.
84b3fd84 11921 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11923 Likewise.
11924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11925 Likewise.
11926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11928 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11931 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11933
56e49b71
JM
119342012-07-25 Joseph Myers <joseph@codesourcery.com>
11935
11936 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11937 (struct La_i86_retval): Likewise.
11938 (struct La_x86_64_regs): Likewise.
11939 (struct La_x86_64_retval): Likewise.
11940 (struct La_x32_regs): Likewise.
11941 (struct La_x32_retval): Likewise.
11942 (struct La_ppc32_regs): Likewise.
11943 (struct La_ppc32_retval): Likewise.
11944 (struct La_ppc64_regs): Likewise.
11945 (struct La_ppc64_retval): Likewise.
11946 (struct La_sh_regs): Likewise.
11947 (struct La_sh_retval): Likewise.
11948 (struct La_s390_32_regs): Likewise.
11949 (struct La_s390_32_retval): Likewise.
11950 (struct La_s390_64_regs): Likewise.
11951 (struct La_s390_64_retval): Likewise.
11952 (struct La_sparc32_regs): Likewise.
11953 (struct La_sparc32_retval): Likewise.
11954 (struct La_sparc64_regs): Likewise.
11955 (struct La_sparc64_retval): Likewise.
11956 (struct audit_ifaces): Remove architecture-specific pltenter and
11957 pltexit members.
11958 * sysdeps/i386/ldsodefs.h: New file.
11959 * sysdeps/powerpc/ldsodefs.h: Likewise.
11960 * sysdeps/s390/ldsodefs.h: Likewise.
11961 * sysdeps/sh/ldsodefs.h: Likewise.
11962 * sysdeps/sparc/ldsodefs.h: Likewise.
11963 * sysdeps/x86_64/ldsodefs.h: Likewise.
11964
354691b7
MP
119652012-07-25 Marek Polacek <polacek@redhat.com>
11966
11967 [BZ #6808]
11968 * math/libm-test.inc (yn_test): Add another test.
11969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11970 to ERANGE when the result is +-Inf.
11971 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11972 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11973 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11974 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11975
bf9e2071
JM
119762012-07-24 Joseph Myers <joseph@codesourcery.com>
11977
11978 * conform/data/time.h-data (NULL): Use macro-constant. Require
11979 equal to 0.
11980 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11981 clock_t.
11982 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11983
57633811
TS
119842012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11985
11986 * configure.in <sysdeps resolving>: Correct printing
11987 Implies_before.
11988 * configure: Regenerate.
11989
c23c33b0
TS
119902012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11991
11992 * math/w_ilogb.c: Include <limits.h>.
11993 * math/w_ilogbl.c: Likewise.
11994
b5982523
JM
119952012-07-20 Joseph Myers <joseph@codesourcery.com>
11996
11997 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11998 va_copy. Document allowing for unavailable va_copy only as
11999 pre-C99 compatibility.
12000 * manual/string.texi (Copying and Concatenation): Use va_copy
12001 instead of __va_copy in concat example.
12002
ac4ea442
PT
120032012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12004
12005 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12006 (__sendto): Use create_address_port. Initialize APORT and deallocate
12007 it if not null.
12008
f98eafbd
PT
12009 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12010 with O_NOLINK passed to __file_name_lookup.
12011
898c7aab
PT
12012 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12013 with O_NOLINK passed to __file_name_lookup.
12014
0ced335a
PT
12015 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12016 negative N or less than NGIDS.
12017
b3404dbd
PT
12018 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12019 type to string_t. Set ERANGE as errno and return it if NAME is not big
12020 enough. Use memcpy instead of strncpy.
12021
0f48659e
JM
120222012-07-20 Joseph Myers <joseph@codesourcery.com>
12023
12024 * elf/Makefile (check-data): Remove.
12025 (localplt.data): New vpath directive.
12026 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12027 instead of $(check-data).
12028 * scripts/data/localplt-generic.data: Move to ...
12029 * sysdeps/generic/localplt.data: ... here.
12030 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12031 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12032 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12034 ... here.
12035 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12037 ... here.
12038 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12040 ... here.
12041 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12043 ... here.
12044 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12046 ... here.
12047 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12049 ... here.
12050
d37cbdaa
AZ
120512012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12052
12053 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12054 PPC32 and PPC64 files.
12055 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12056 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12057
46f85fc2
AK
120582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12059
12060 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12061 __makecontext_ret to ...
12062 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12063 ... here and call exit if uc_link is NULL. New file.
12064 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12065 __makecontext_ret.S.
12066 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12067 __makecontext_ret to ...
12068 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12069 ... here and call exit if uc_link is NULL. New file.
12070 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12071 __makecontext_ret.S.
12072
08f43f9b
AK
120732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12074
12075 * elf/elf.h (R_390_IRELATIVE): New definition.
12076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12077 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12078 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12079 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12080 (elf_machine_lazy_rel): Likewise.
12081 * sysdeps/s390/dl-irel.h: New file.
12082 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12083 * sysdeps/s390/s390-64/memset.S: New asm code.
12084 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12085 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12086 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12087 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12088 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12089 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12090 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12091 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12092 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12093 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12094 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12095 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12096 * sysdeps/s390/s390-32/memset.S: New asm code.
12097 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12098
3b05db33
MP
120992012-07-17 Marek Polacek <polacek@redhat.com>
12100
12101 [BZ #14349]
12102 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12103 * sysdeps/s390/s390-64/configure.in: Likewise.
12104 * sysdeps/sparc/configure.in: Likewise.
12105 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12106 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12107 * sysdeps/i386/configure.in: Likewise.
12108 * sysdeps/x86_64/configure.in: Likewise.
12109 * sysdeps/sh/configure.in: Likewise.
12110 * sysdeps/s390/s390-32/configure: Regenerated.
12111 * sysdeps/s390/s390-64/configure: Likewise.
12112 * sysdeps/x86_64/configure: Likewise.
12113 * sysdeps/sh/configure: Likewise.
12114 * sysdeps/powerpc/powerpc64/configure: Likewise.
12115 * sysdeps/powerpc/powerpc32/configure: Likewise.
12116 * sysdeps/sparc/configure: Likwise.
12117 * sysdeps/i386/configure: Likewise.
12118
a66877c6
MP
12119 * elf/dl-open.c: Comment fixes.
12120
cfc82fd8
JM
121212012-07-17 Joseph Myers <joseph@codesourcery.com>
12122
bd29910a
JM
12123 * Makefile [CXX] (check-data): Remove.
12124 [CXX] (c++-types.data): New vpath directive.
12125 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12126 vpath. Do not allow for C++ type data being missing.
12127 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12128 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12129 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12130 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12131 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12132 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12133 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12135 ... here.
12136 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12138 ... here.
12139 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12141 ... here.
12142 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12144 ... here.
12145 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12147 ... here.
12148 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12150 ... here.
12151 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12153 ... here.
12154 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12156
cfc82fd8
JM
12157 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12158 definitions to architecture-specific files.
12159 (TLS_IE): Likewise.
12160 (TLS_LD): Likewise.
12161 (TLS_GD): Likewise.
12162 * sysdeps/i386/tls-macros.h: New file.
12163 * sysdeps/powerpc/tls-macros.h: Likewise.
12164 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12165 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12166 * sysdeps/sh/tls-macros.h: Likewise.
12167 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12168 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12169 * sysdeps/x86_64/tls-macros.h: Likewise.
12170
f7db3170
TS
121712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12172
07cbfc23
TS
12173 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12174 zero value for regular exit case.
12175
f7db3170
TS
12176 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12177 (__start_context): Preserve zero value for regular exit case.
12178
dc97c227
TS
121792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12180 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12181
12182 * manual/setjmp.texi (setcontext): Clarify normal process
12183 termination when uc_link is the null pointer.
12184 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12185 exit call.
12186
d0cd7d02
AS
121872012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12188
12189 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12190 preprocessor. Test for each exception mask separately.
12191
dd318934
AJ
121922012-07-16 Andreas Jaeger <aj@suse.de>
12193
12194 * po/ru.po: Update from translation team.
12195
8048311a
JM
121962012-07-15 Joseph Myers <joseph@codesourcery.com>
12197
12198 * conform/data/string.h-data (NULL): Use macro-constant. Require
12199 equal to 0.
12200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12201 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12202 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12203 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12204 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12205
b637d46e
AJ
122062012-07-13 Andreas Jaeger <aj@suse.de>
12207
12208 * po/fr.po: Update from translation team.
12209
541428fe
MP
122102012-07-12 Marek Polacek <polacek@redhat.com>
12211
12212 [BZ #14173]
12213 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12214 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12215 loop condition.
12216
ec332e94
JM
122172012-07-12 Joseph Myers <joseph@codesourcery.com>
12218
12219 [BZ #13717]
12220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12221 Change to 2.4.1 where previously 2.4.0.
12222 * sysdeps/unix/sysv/linux/configure: Regenerated.
12223 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12224 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12225 version.
12226 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12227 (__ASSUME_AT_CLKTCK): Remove.
12228 (__ASSUME_AT_PAGESIZE): Likewise.
12229 (__ASSUME_AT_XID): Likewise.
12230 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12231 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12232 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12233 unconditionally.
12234 (HAVE_AUX_PAGESIZE): Likewise.
12235 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12236 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12237 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12238
7b6e99be
JB
122392012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12240
12241 [BZ #14307]
12242 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12243 the temporary buffer used to invoke __gethostbyname2_r,
12244 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12245 host_data / struct gaih_addrtuple.
12246 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12247 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12248 header file nss/nsswitch.h.
12249 * nss/nsswitch.h (global scope): Add definition of implementation
12250 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12251 resolv/nss_dns/dns-host.c).
12252
608404eb
AJ
122532012-07-11 Andreas Jaeger <aj@suse.de>
12254
12255 * po/fr.po: Update from translation team.
12256
71220aca
AJ
12257 * po/sv.po: Update from translation team
12258 * po/fr.po: Another update from translation team.
12259
28cfe843
AZ
122602012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12261
12262 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12263 for subnormals or multiply small sinh result by itself.
12264 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12266
6b90f981
DM
122672012-07-11 David S. Miller <davem@davemloft.net>
12268
12269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12270
c6825772
AS
122712012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12272
12273 [BZ #14347]
12274 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12275 (INTERNAL_MARK): Shift it here.
12276
7b8e0d49
MP
122772012-07-10 Marek Polacek <polacek@redhat.com>
12278
12279 [BZ #14151]
12280 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12281 libc_cv_asm_global_directive with .globl.
12282 * configure: Regenerated.
12283 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12284 with .globl.
12285 * sysdeps/i386/configure: Regenerated.
12286 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12287 with .globl.
12288 * sysdeps/x86_64/configure: Regenerated.
12289 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12290 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12291 * elf/tst-unique2mod2.c: Likewise.
12292 * elf/tst-unique2mod1.c: Likewise.
12293 * elf/tst-unique1mod2.c: Likewise.
12294 * elf/tst-unique1mod1.c: Likewise.
12295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12296 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12297 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12298 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12299 * sysdeps/mach/sysdep.h: Likewise.
12300 * sysdeps/i386/sysdep.h: Likewise.
12301 * sysdeps/i386/i386-mcount.S: Likewise.
12302 * sysdeps/x86_64/_mcount.S: Likewise.
12303 * sysdeps/x86_64/sysdep.h: Likewise.
12304 * sysdeps/sh/_mcount.S: Likewise.
12305 * sysdeps/sh/sysdep.h: Likewise.
12306 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12307 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12308 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12310 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12311 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12312 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12313 * locale/localeinfo.h: Likewise.
12314 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12315 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12316
6c55cda3
RM
123172012-07-09 Roland McGrath <roland@hack.frob.com>
12318
12319 [BZ #14336]
12320 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12321 system".
12322 * manual/message.texi (The Uniforum approach): Likewise.
12323 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12324 (glibc iconv Implementation): Likewise.
12325
638a572e
JM
123262012-07-09 Joseph Myers <joseph@codesourcery.com>
12327
12328 [BZ #14337]
12329 * math/s_clog.c (__clog): Avoid scaling a value down where that
12330 could result in underflow.
12331 * math/s_clog10.c (__clog10): Likewise.
12332 * math/s_clog10f.c (__clog10f): Likewise.
12333 * math/s_clog10l.c (__clog10l): Likewise.
12334 * math/s_clogf.c (__clogf): Likewise.
12335 * math/s_clogl.c (__clogl): Likewise.
12336 * math/libm-test.inc (clog_test): Add more tests.
12337 (clog10_test): Likewise.
12338 * sysdeps/i386/fpu/libm-test-ulps: Update.
12339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12340
261f4859
AS
123412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12342
0abaf3e4
AS
12343 [BZ #14283]
12344 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12345 by 7 not 8 to examine high bit of fractional part.
12346
261f4859
AS
12347 [BZ #14042]
12348 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12349 for call to __mcount_internal.
12350 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12351 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12352 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12353
f17ac40d
JM
123542012-07-06 Joseph Myers <joseph@codesourcery.com>
12355
9ad63c23
JM
12356 [BZ #14154]
12357 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12358 approximation for values within 0x1p-13f of an odd multiple of
12359 pi/4.
12360 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12361 exception. Add more tests.
12362 * sysdeps/i386/fpu/libm-test-ulps: Update.
12363
f17ac40d
JM
12364 [BZ #6778]
12365 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12366 inputs and return -1 for them. Do not check for +Inf in case not
12367 reachable for +Inf.
12368 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12369 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12370 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12371 and return -1 for them. Do not check for +Inf in case not
12372 reachable for +Inf.
12373 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12374 define.
12375 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12376 and return -1 for them. Do not check for +Inf in case not
12377 reachable for +Inf.
12378 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12379 spurious underflow.
12380 * sysdeps/i386/fpu/libm-test-ulps: Update.
12381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12382
fb21f89b
MF
123832012-07-06 Mike Frysinger <vapier@gentoo.org>
12384
12385 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12386
cdfe2c5e
JM
123872012-07-05 Joseph Myers <joseph@codesourcery.com>
12388
12389 [BZ #14157]
12390 [BZ #14331]
12391 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12392 could result in spurious underflow. Scale down values above
12393 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12394 * math/s_csqrtf.c (__csqrtf): Likewise.
12395 * math/s_csqrtl.c (__csqrtl): Likewise.
12396 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12397 spurious underflow.
12398 * sysdeps/i386/fpu/libm-test-ulps: Update.
12399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12400
70d35b67
AS
124012012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12402
704bc459
AS
12403 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12404 xopen-msg.sed.
12405 * catgets/xopen-msg.awk: New file.
12406 * catgets/xopen-msg.sed: Removed.
12407
70d35b67
AS
12408 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12409 po2text.sed.
12410 * intl/po2test.awk: New file.
12411 * intl/po2test.sed: Removed.
12412
ca61cf32
JM
124132012-07-04 Joseph Myers <joseph@codesourcery.com>
12414
12415 [BZ #14328]
12416 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12417 or multiply small sinh result by itself.
12418 * math/s_ctanf.c (__ctanf): Likewise.
12419 * math/s_ctanh.c (__ctanh): Likewise.
12420 * math/s_ctanhf.c (__ctanhf): Likewise.
12421 * math/s_ctanhl.c (__ctanhl): Likewise.
12422 * math/s_ctanl.c (__ctanl): Likewise.
12423 * math/libm-test.inc (ctan_test_tonearest): New function.
12424 (ctan_test_towardzero): Likewise.
12425 (ctan_test_downward): Likewise.
12426 (ctan_test_upward): Likewise.
12427 (ctanh_test_tonearest): Likewise.
12428 (ctanh_test_towardzero): Likewise.
12429 (ctanh_test_downward): Likewise.
12430 (ctanh_test_upward): Likewise.
12431 (main): Call these new functions.
12432 * sysdeps/i386/fpu/libm-test-ulps: Update.
12433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12434
ca48a46a
MF
124352012-07-03 Mike Frysinger <vapier@gentoo.org>
12436
12437 * .gitignore: Delete /ports entry.
12438
9d63d37d
AJ
124392012-07-03 Andreas Jaeger <aj@suse.de>
12440
12441 * po/bg.po: Update from translation team.
12442 * po/cs.po: Likewise.
12443 * po/de.po: Likewise.
12444 * po/hr.po: Likewise.
12445 * po/nl.pl: Likewise.
12446 * po/pl.po: Likewise.
12447 * po/vi.po: Likewise.
12448
370ca3d2
JM
124492012-07-03 Joseph Myers <joseph@codesourcery.com>
12450
95f5a9a8
JM
12451 * Makeconfig [!+link] (+link-before-libc): New variable.
12452 [!+link] (+link-after-libc): Likewise.
12453 [!+link] (+link-tests): Likewise.
12454 [!+link] (+link): Define in terms of $(+link-before-libc) and
12455 $(+link-after-libc).
12456 [!+link-static] (+link-static-before-libc): New variable.
12457 [!+link-static] (+link-static-after-libc): Likewise.
12458 [!+link-static] (+link-static-tests): Likewise.
12459 [!+link-static] (+link-static): Define in terms of
12460 $(+link-static-before-libc) and $(+link-static-after-libc).
12461 [build-shared] (link-libc-before-gnulib): New variable.
12462 [build-shared] (link-libc-tests): Likewise.
12463 [build-shared] (link-libc): Define in terms of
12464 $(link-libc-before-gnulib).
12465 [!build-shared] (link-libc-tests): New variable.
12466 (link-libc-static-tests): New variable.
12467 [!gnulib] (gnulib-arch): New variable.
12468 [!gnulib] (gnulib-tests): Likewise.
12469 [!gnulib] (static-gnulib-arch): Likewise.
12470 [!gnulib] (static-gnulib-tests): Likewise.
12471 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12472 Define with "=" instead of ":=".
12473 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12474 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12475 * Rules (binaries-all-notests): New variable.
12476 (binaries-all-tests): Likewise.
12477 (binaries-static-notests): Likewise.
12478 (binaries-static-tests): Likewise.
12479 (binaries-all): Define using $(binaries-all-notests) and
12480 $(binaries-all-tests).
12481 (binaries-static): Define using $(binaries-static-notests) and
12482 $(binaries-static-tests).
12483 (binaries-shared-tests): New variable.
12484 (binaries-shared-notests): Likewise.
12485 (binaries-shared): Remove variable.
12486 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12487 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12488 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12489 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12490 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12491 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12492 * elf/Makefile (sln-modules): New variable.
12493 (extra-objs): Add $(sln-modules:=.o).
12494 (ldconfig-modules): Add static-stubs.
12495 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12496 * elf/static-stubs.c: New file.
12497
7a845b2c
JM
12498 [BZ #14283]
12499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12500 by 7 not 8 to examine high bit of fractional part. Use volatile
12501 variables when splitting into final array of floats if
12502 __FLT_EVAL_METHOD__ != 0.
12503 * math/libm-test.inc (cos_test): Add another test.
12504 (sin_test): Likewise.
12505 * sysdeps/i386/fpu/libm-test-ulps: Update.
12506
e2283f38
JM
12507 [BZ #14273]
12508 * math/libm-test.inc (cosh_test): Add more tests.
12509
370ca3d2
JM
12510 * version.h (RELEASE): Set to "development".
12511 (VERSION): Set to "2.16.90".
12512
ee9247c3
CD
125132012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12514
12515 * NEWS: Update copyright. Remove last-updated date.
12516 Mention math library bug fixes and timezone data changes.
12517 * README: Mention GNU/Hurd, x32, and HPPA support status.
12518
4648c381
TS
125192012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12520
12521 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12522
aac78a43
AJ
125232012-06-27 Andreas Jaeger <aj@suse.de>
12524
12525 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12526
ed3dbfad
AJ
125272012-06-25 Andreas Jaeger <aj@suse.de>
12528
12529 * sysdeps/s390/fpu/libm-test-ulps: Update.
12530
4d0ee855
AS
125312012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12532 Thomas Schwinge <thomas@codesourcery.com>
12533
12534 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12535 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12537 fanotify_mark.
12538
af1bce34
TS
125392012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12540
a9fa33ba
TS
12541 * sysdeps/mach/start.c: Remove file.
12542 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12543 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12544 * sysdeps/sh/init-first.c: Likewise.
12545
58f902b8
TS
12546 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12547 registers for frame unwinding purposes, add CFI directives.
12548 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12549 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12550 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12551 Likewise.
12552
1518f58b
TS
12553 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12554 __fortify_fail returning.
12555 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12556
db9b5059
TS
12557 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12558 sysdeps/sh/____longjmp_chk.S.
12559 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12560 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12561 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12562 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12563
967705fe
TS
12564 * sysdeps/sh/abort-instr.h: New file.
12565 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12566 process in case exit returns.
12567
a9def8c4
TS
12568 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12569 initialize the GOT register before use.
12570
2a649725
TS
12571 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12572 calculation of ARGC > 4.
12573
af1bce34
TS
12574 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12575 meaningful names to some local labels.
12576
d230f50a
KK
125772012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12578 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12579
12580 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12581 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12582 (__arch_compare_and_exchange_val_16_acq): Likewise.
12583 (__arch_compare_and_exchange_val_32_acq): Likewise.
12584 (atomic_exchange_and_add): Fix gUSA sequence.
12585 (atomic_add): Likewise.
12586 (atomic_add_negative): Likewise.
12587 (atomic_add_zero): Likewise.
12588 (atomic_bit_test_set): Likewise.
12589
0479b305
AS
125902012-06-22 Andreas Schwab <schwab@redhat.com>
12591
12592 [BZ #13579]
12593 * include/link.h (struct link_map): Add l_free_initfini.
12594 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12595 l_initfini.
12596 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12597 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12598 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12599 set.
12600
0e3933b9
CD
126012012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12602
12603 * configure.in: Use AC_LANG_SOURCE.
12604 * configure: Regenerate.
12605
4248b1b1
RM
126062012-06-22 Roland McGrath <roland@hack.frob.com>
12607
12608 * configure.in (libc_cv_localstatedir): New substituted variable.
12609 * configure: Regenerated.
12610 * config.make.in (localstatedir): New variable, substituted from
12611 libc_cv_localstatedir.
12612 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12613 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12614 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12615 * sysdeps/gnu/configure: Regenerated.
12616
006dd861
JL
126172012-06-21 Jeff Law <law@redhat.com>
12618
12619 [BZ #14277]
12620 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12621 free. Simplify list management for _LIBC case.
12622
79662d42
JM
126232012-06-21 Joseph Myers <joseph@codesourcery.com>
12624
b7abb4bf
JM
12625 [BZ #14273]
12626 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12627 Clear sign bit of 64-bit integer value before comparing against
12628 overflow value.
12629
79662d42
JM
12630 * sysdeps/mach/configure: Regenerated.
12631
1f150908
L
126322012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12633
12634 [BZ #14278]
12635 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12636
28363bbf
JL
126372012-06-21 Jeff Law <law@redhat.com>
12638
12639 [BZ #13882]
12640 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12641 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12642 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12643 * elf/dl-open.c (dl_open_worker): Likewise.
12644
09615db4
CD
126452012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12646
12647 * scripts/list-sources.sh: Scan PORTS for translations.
12648 * po/libc.pot: Regenerated.
12649
2174c6dd
AJ
126502012-06-21 Andreas Jaeger <aj@suse.de>
12651
12652 [BZ #12194]
12653 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12654 warning.
12655 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12656 * bits/byteswap-16.h (__bswap_16): Likewise.
12657 * bits/byteswap.h (__bswap_constant_16): Likewise.
12658
3ee947b1
L
126592012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12660
12661 [BZ #14117]
a2f34833
L
12662 * sysdeps/i386/fpu_control.h: Removed.
12663 * sysdeps/x86_64/fpu_control.h: Moved to ...
12664 * sysdeps/x86/fpu_control.h: Here.
12665
3ee947b1
L
12666 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12667 (_FPU_SETCW): Likewise.
12668
ed1825f8
L
126692012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12670
25f1282a
L
12671 [BZ #14117]
12672 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12673 * sysdeps/x86/fpu/bits/mathinline.h: This.
12674 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12675
ed1825f8
L
12676 [BZ #14050]
12677 [BZ #14117]
12678 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12679 functions if __x86_64__ is defined.
12680
36d54b74
CLT
126812012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12682
12683 * string/endian.h: Add !__ASSEMBLER__ condition for including
12684 conversion interfaces.
12685
10285c21
JM
126862012-06-15 Joseph Myers <joseph@codesourcery.com>
12687
12688 [BZ #14241]
12689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12690 of ABS(x) in calculating zero to negative powers other than odd
12691 integers.
12692 * math/libm-test.inc (pow_test): Add more tests.
12693
06c5abbd
AJ
126942012-06-15 Andreas Jaeger <aj@suse.de>
12695
12696 * manual/contrib.texi (Contributors): Update entry of Liubov
12697 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12698 Machado Filho.
12699
a3aeac40
CH
127002012-06-15 Cyril Hrubis <metan@ucw.cz>
12701
12702 * string/string.h: Add __wur to GNU version of strerror_r.
12703
49bdf4c1
L
127042012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12705
12706 [BZ #14229]
12707 * string/Makefile (tests): Add tst-strtok_r.
12708 * string/tst-strtok_r.c: New file.
12709 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12710 RAX_LP/RDX_LP on SAVE_PTR.
12711
834f9b8d
RM
127122012-06-14 Roland McGrath <roland@hack.frob.com>
12713
12714 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12715
75fa1921
JM
127162012-06-14 Joseph Myers <joseph@codesourcery.com>
12717
12718 * libm_test.inc (csqrt_test): Allow more spurious underflow
12719 exceptions.
12720 (j0_test): Likewise.
12721 (j1_test): Likewise.
12722 (y0_test): Likewise.
12723 (y1_test): Likewise.
12724
771766df
CD
127252012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12726
12727 * po/Makefile (libc.pot): Use UTF-8 charset.
12728
ceb9e56b
PP
127292012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12730
12731 [BZ #14210]
12732 Suppress sign-conversion warning from FD_SET.
12733 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12734 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12735 not unsigned long int.
12736 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12737
ddb28975
L
127382012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12739
12740 [BZ #14050]
12741 [BZ #14117]
12742 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12743 __extern_always_inline instead of __extern_inline.
12744 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12745 (__signbit): Likewise.
12746 (__signbitl): Support C++ namespace.
12747 (lrintf): New inline function.
12748 (lrint): Likewise.
12749 (llrintf): Likewise.
12750 (llrint): Likewise.
12751 (fmaxf): Likewise.
12752 (fmax): Likewise.
12753 (fminf): Likewise.
12754 (fmin): Likewise.
12755 (rint): Likewise.
12756 (rintf): Likewise.
12757 (ceil): Likewise.
12758 (ceilf): Likewise.
12759 (floor): Likewise.
12760 (floorf): Likewise.
12761 (nearbyint): Likewise.
12762 (nearbyintf): Likewise.
12763
d7b4fb26
TS
127642012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12765
12766 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12767 non-default versions.
12768
eb55f5c2
RM
127692012-06-11 Roland McGrath <roland@hack.frob.com>
12770
12771 [BZ #14218]
12772 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12773
366af02c
TS
127742012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12775
99ff6e5c
TS
12776 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12777 (FE_UPWARD, FE_DOWNWARD): Don't define.
12778 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12780
366af02c
TS
12781 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12782 reading it.
12783 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12784 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12785
793ea851
KK
127862012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12787
12788 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12790 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12791 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12792
a728a38f
L
127932012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12794
12795 [BZ #14117]
c08010c7
L
12796 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12797 * sysdeps/i386/fpu/Implies: New file.
12798 * sysdeps/x86_64/fpu/Implies: Likewise.
12799 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12800 * sysdeps/x86/fpu/bits/fenv.h: This.
12801
a728a38f
L
12802 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12803 __SSE_MATH__.
12804
6e230d11
SP
128052012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12806
12807 [BZ #14134]
12808 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12809 character 0xffff that matches the last element of the
12810 conversion table.
12811
1b671feb
AZ
128122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12813
12814 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12815 fmodl commit.
12816
6043738b
AZ
128172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12818
12819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12820 values higher than 25.6283.
12821
34ae0b32
AZ
128222012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12823
12824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12825 subnormal exponent extraction and add some __builtin_expect.
12826 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12827 Fix for subnormal mantissa calculation.
12828
1214ec8f
MF
128292012-06-04 Mike Frysinger <vapier@gentoo.org>
12830
12831 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12832 cpu2 is -1 and errno is not ENOSYS.
12833
f3d1f93c
L
128342012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12835
12836 [BZ #14117]
0e4a3cd7
L
12837 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12838 * sysdeps/x86/bits/string.h: This.
12839 * sysdeps/x86_64/bits/string.h: Removed.
12840
6704c645
L
12841 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12842 if not compiling for x86-64, but compiling for >= i486.
12843
48495318
L
12844 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12845 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12846
14adcbfc
L
12847 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12848 New macro from Linux kernel 3.4.0.
12849 (FP_XSTATE_MAGIC2): Likewise.
12850 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12851 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12852 (struct _fpx_sw_bytes): New struct.
12853 (struct _xsave_hdr): Likewise.
12854 (struct _ymmh_state): Likewise.
12855 (struct _xstate): Likewise.
12856
68e408ab
L
12857 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12858 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12859 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12860 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12861 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12862 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12863
f3d1f93c
L
12864 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12866 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12867 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12868 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12869 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12870
d9dc34cd
TMQMF
128712012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12872
12873 [BZ #13743]
12874 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12875 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12876 (sysdep_headers): Include sys/platform/ppc.h.
12877 * sysdeps/powerpc/test-gettimebase.c: Test for
12878 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12879 * manual/Makefile (appendices): Include platform.texi.
12880 * manual/contrib.texi (Contributors): Update @node pointers.
12881 * manual/maint.texi (Maintenance): Likewise.
12882 (Platform): New node.
12883 * manual/platform.texi: New file. Document the new features.
12884
4af3879c
SP
128852012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12886 Jakub Jelinek <jakub@redhat.com>
12887
12888 [BZ #14188]
12889 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12890 where __builtin_expect is unavailable.
12891
2fd6ff13
DM
128922012-06-03 David S. Miller <davem@davemloft.net>
12893
12894 * stdlib/longlong.h: Updated from GCC.
12895
173f7220
AS
128962012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12897
12898 [BZ #14042]
12899 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12900 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12901 __mcount_internal.
12902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12903 (GLIBC_2.16): Likewise.
12904
f34a1c6f
L
129052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12906
12907 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12908
88a4576f
JM
129092012-06-01 Joseph Myers <joseph@codesourcery.com>
12910
ea32bcdd
JM
12911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12912 (default-abi): New variable.
12913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12914 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12915 variable.
12916 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12917 Likewise.
12918 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12919 Likewise.
12920 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12921 Likewise.
12922
88a4576f
JM
12923 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12924 definition. Document in comment.
12925
402fe938
DM
129262012-06-01 David S. Miller <davem@davemloft.net>
12927
12928 * stdlib/longlong.h: Updated from GCC.
12929
3553723f
L
129302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12931
12932 [BZ #14117]
3bd872c4
L
12933 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12934 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12935 sys/debugreg.h sys/io.h here.
12936 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12937 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12938 sys/io.h.
12939 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12940 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12941 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12942 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12943 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12944 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12945
3553723f
L
12946 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12947 Define only if __x86_64__ is defined.
12948
4842e4fe
JM
129492012-06-01 Joseph Myers <joseph@codesourcery.com>
12950
c5bfe3d5
JM
12951 [BZ #14048]
12952 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12953 Use int64_t for variable i.
12954 * math/libm-test.inc (fmod_test): Add more tests.
12955
4842e4fe
JM
12956 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12957 z computation is not scheduled after fetestexcept.
12958 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12959 Use math_force_eval instead of asm to ensure calculation scheduled
12960 before exception test.
12961 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12962 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12963
efb73488
AJ
129642012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12965
12966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12967 computation is not scheduled after fetestexcept.
12968
29bcce7c
L
129692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12970
12971 [BZ #14117]
12972 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12973 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12974
73a68f94
AZ
129752012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12976
12977 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12978 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12979
67b6df78
L
129802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12981
edf2933a 12982 [BZ #14117]
ebc64a18
L
12983 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12984 <bits/wordsize.h>.
12985 (__WCHAR_MIN): Support __WORDSIZE == 64.
12986 (__WCHAR_MAX): Likewise.
12987
edf2933a
L
12988 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12989 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12990
57c6cf40
L
12991 [BZ #14183]
12992 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12993 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12994
67b6df78 12995 [BZ #14117]
8eb6281e
L
12996 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12997 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12998
aac639f4
L
12999 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13000 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13001
67b6df78
L
13002 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13003 Defined to 1 if __x86_64__ isn't defined.
13004 (_STAT_VER_LINUX_OLD): New.
13005 (st_atime): Remove duplicate.
13006 (st_mtime): Likewise.
13007 (st_ctime): Likewise.
13008
1c2cfe81
DM
130092012-05-31 David S. Miller <davem@davemloft.net>
13010
13011 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13012 entries.
13013
5be8418c
AS
130142012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13015
e7725326
AS
13016 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13017 gen-libm-test.pl.
13018
5be8418c
AS
13019 [BZ #14132]
13020 * elf/dl-reloc.c: Include <_itoa.h>.
13021 (_dl_reloc_bad_type): Remove use of INTUSE.
13022 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13023 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13024 * stdio-common/psiginfo.c (psiginfo): Likewise.
13025 * stdio-common/psignal.c (psignal): Likewise.
13026 * string/strsignal.c (strsignal): Likewise.
13027 * include/signal.h (_sys_siglist): Declare hidden proto.
13028 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13029 INTVARDEF with libc_hidden_data_def.
13030 * stdio-common/itoa-udigits.c: Likewise.
13031 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13032 (_itoa_lower_digits_internal): Remove declaration.
13033 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13034 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13035 (_sys_sigabbrev_internal): Remove aliases.
13036 (_sys_siglist): Define hidden alias.
13037
507352f1
MT
130382012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13039
13040 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13041 bits/sysctl.h.
13042
42bbb1c3
L
130432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13044
13045 [BZ #14117]
6bd784b6
L
13046 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13047 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13048
8bca20f0
L
13049 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13051 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13052 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13053 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13054 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13055
f9e890a9
L
13056 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13057 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13058 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13059
471101a1
L
13060 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13061 with __addr.
13062 (insw): Likewise.
13063 (insl): Likewise.
13064 (outsb): Likewise.
13065 (outsw): Likewise.
13066 (outsl): Likewise.
13067
6451c862
L
13068 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13070 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13071
a254b8c9
L
13072 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13073 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13074 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13075 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13076 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13077 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13078
b8dfdd92
L
13079 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13080 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13081
578cd270
L
13082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13083 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13084
de662f5f
L
13085 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13087 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13088
25653439
L
13089 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13090 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13091 to ...
13092 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13093
6bad24a0
L
13094 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13095 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13096 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13097
42bbb1c3
L
13098 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13099 for x86-64.
13100 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13101
2d10d547
JM
131022012-05-31 Joseph Myers <joseph@codesourcery.com>
13103
13104 * math/math.h (M_El): Use two more decimal places.
13105 (M_LOG2El): Likewise.
13106 (M_LOG10El): Likewise.
13107 (M_LN2l): Likewise.
13108 (M_LN10l): Likewise.
13109 (M_PIl): Likewise.
13110 (M_PI_2l): Likewise.
13111 (M_PI_4l): Likewise.
13112 (M_1_PIl): Likewise.
13113 (M_2_PIl): Likewise.
13114 (M_2_SQRTPIl): Likewise.
13115 (M_SQRT2l): Likewise.
13116 (M_SQRT1_2l): Likewise.
13117
f230c29b
DM
131182012-05-31 David S. Miller <davem@davemloft.net>
13119
13120 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13121 values between float registers.
13122 * sysdeps/sparc/sparc64/memset.S: Likewise.
13123 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13124
fed806c3
MF
131252012-05-31 Mike Frysinger <vapier@gentoo.org>
13126
13127 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13128 -D_FORTIFY_SOURCE=1.
13129 (CPPFLAGS-tst-longjmp_chk.c): Define.
13130 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13131 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13132 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13133 CFLAGS-tst-wchar-h.c.
13134
30917259
MP
131352012-05-31 Marek Polacek <polacek@redhat.com>
13136
13137 [BZ #14132]
13138 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13139 __endmntent_internal): Remove declaration.
13140 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13141 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13142 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13143
1c58d5dc
DM
131442012-05-30 David S. Miller <davem@davemloft.net>
13145
13146 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13147 (___Q_simulate_exceptions): Use real FP ops rather than writing
13148 into the %fsr.
13149 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13150 Likewise.
13151
7dc00e0d
L
131522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13153
13154 [BZ #14117]
0bd53985
L
13155 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13156 * sysdeps/x86/bits/xtitypes.h: This.
13157
3a257e66
L
13158 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13159 * sysdeps/x86/bits/wordsize.h: This.
13160
62f62904
L
13161 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13162 * sysdeps/x86/bits/huge_vall.h: This.
13163
404fe9d9
L
13164 * sysdeps/i386/bits/select.h: Removed.
13165 * sysdeps/x86_64/bits/select.h: Renamed to ...
13166 * sysdeps/x86/bits/select.h: This.
13167
d48d0446
L
13168 * sysdeps/i386/bits/setjmp.h: Removed.
13169 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13170 * sysdeps/x86/bits/setjmp.h: This.
13171
7dc00e0d
L
13172 * sysdeps/i386/bits/mathdef.h: Removed.
13173 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13174 * sysdeps/x86/bits/mathdef.h: This.
13175
03277f8f
AS
131762012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13177
13178 [BZ #14132]
13179 * include/sys/socket.h (__connect_internal)
13180 (__libc_sa_len_internal): Remove declaration.
13181 (__connect, __libc_sa_len): Declare hidden_proto.
13182 (SA_LEN): Remove use of INTUSE.
13183 * socket/connect.c: Add libc_hidden_def.
13184 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13185 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13186 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13187 alias.
13188 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13189 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13190 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13191 of adding _internal alias.
13192
13764867
L
131932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13194
13195 [BZ #14117]
6bd97696
L
13196 * sysdeps/i386/bits/link.h: Removed.
13197 * sysdeps/i386/bits/linkmap.h: Likewise.
13198 * sysdeps/x86_64/bits/link.h: Renamed to ...
13199 * sysdeps/x86/bits/link.h: This.
13200 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13201 * sysdeps/x86/bits/linkmap.h: This.
13202
f726f0bb
L
13203 * sysdeps/i386/bits/endian.h: Removed.
13204 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13205 * sysdeps/x86/bits/endian.h: This.
13206
13764867
L
13207 * sysdeps/i386/bits/byteswap.h: Removed.
13208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13209 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13210 * sysdeps/x86/bits/byteswap.h: This.
13211 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13212 * sysdeps/x86/bits/byteswap-16.h: This.
13213 * sysdeps/i386/Implies: Add x86.
13214 * sysdeps/x86_64/Implies: Likewise.
13215
ae251b0b
DM
132162012-05-30 David S. Miller <davem@davemloft.net>
13217
13218 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13219 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13220 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13221 (FP_TRAPPING_EXCEPTIONS): Define.
13222 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13223 (FP_TRAPPING_EXCEPTIONS): Define.
13224 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13225 subnormals only when inexact has been signalled or underflow
13226 exceptions are enabled.
13227 (_FP_PACK_CANONICAL): Likewise.
13228
d5c90867
L
132292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13230
13231 [BZ #14183]
13232 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13233 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13234
63f1549e
RH
132352012-05-30 Richard Henderson <rth@twiddle.net>
13236
8d8f2279
RH
13237 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13238 with #ifndef NOT_IN_libc.
13239
63f1549e
RH
13240 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13241 marked to avoid plt entry.
13242
0ab0291b
L
132432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13244
13245 [BZ #14112]
13246 * Makeconfig (default-abi): New macro.
13247 (abi-includes): Likewise.
13248 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13249 $(abi-$(default-abi)-lib-soname) for soname if defined.
13250 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13251 abi-variants.
13252 * Makefile (installed-stubs): Likewise.
13253 * include/stubs-biarch.h: Removed.
13254 * scripts/lib-names.awk: Only handle one library at a time.
13255 * scripts/soversions.awk: Remove WORDSIZE support.
13256 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13257 entries.
13258 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13259 Removed.
13260 (syscall-list-default-condition): Likewise.
13261 (syscall-list-default-condition): Likewise.
13262 (syscall-list-includes): Likewise.
13263 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13264 syscall-list-* with abi-*. Handle undefined abi-variants.
13265 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13266 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13267 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13268 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13269 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13270 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13271 Removed.
13272 (syscall-list-32-options): Likewise.
13273 (syscall-list-32-condition): Likewise.
13274 (syscall-list-64-options): Likewise.
13275 (syscall-list-64-condition): Likewise.
13276 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13277 macro.
13278 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13279 Renamed to ...
13280 (abi-*): This.
13281 (abi-64-ld-soname): New macro.
13282 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13283 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13284 Renamed to ...
13285 (abi-*): This.
13286 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13287 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13288
4da0431d
JM
132892012-05-30 Joseph Myers <joseph@codesourcery.com>
13290
3a85279c
JM
13291 * sysdeps/unix/sysv/linux/kernel-features.h
13292 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13293 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13294 include <kernel-features.h>.
13295 [!__NR_ftruncate64]: Remove conditional code.
13296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13297 [__NR_ftruncate64]: Make code unconditional.
13298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13299 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13300 include <kernel-features.h>.
13301 [!__NR_ftruncate64]: Remove conditional code.
13302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13303 [__NR_ftruncate64]: Make code unconditional.
13304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13306 include <kernel-features.h>.
13307 [!__NR_ftruncate64]: Remove conditional code.
13308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13309 [__NR_ftruncate64]: Make code unconditional.
13310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13312 include <kernel-features.h>.
13313 [!__NR_ftruncate64]: Remove conditional code.
13314 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13315 [__NR_ftruncate64]: Make code unconditional.
13316 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13317
4da0431d
JM
13318 * configure.in (libc_cv_fpie): Weaken to a compile test using
13319 LIBC_TRY_CC_OPTION.
13320 * configure: Regenerated.
13321
11ef492c
AK
133222012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13323
13324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13328 Refreshed.
13329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13335 Refreshed.
13336
d66ef399
DM
133372012-05-27 David S. Miller <davem@davemloft.net>
13338
13339 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13340 (___Q_zero): New.
13341 (__Q_simulate_exceptions): Return void. Change to simulate
13342 exceptions by writing into the %fsr.
13343 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13344 (__Qp_handle_exceptions): Likewise.
13345 (numbers): Delete.
13346 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13347 __Qp_handle_exceptions.
13348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13349 __Qp_handle_exceptions.
13350 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13351 as unused and give dummy FP_RND_NEAREST initializer.
13352 (FP_INHIBIT_RESULTS): Define.
13353 (___Q_simulate_exceptions): Update declaration.
13354 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13355 formatting.
13356 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13357 as unused and give dummy FP_RND_NEAREST initializer.
13358 (__Qp_handle_exceptions): Update declaration.
13359 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13360 formatting.
13361
04fb54b5
TS
133622012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13363
13364 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13365 the temporary FPU control word.
13366 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13367 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13369 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13370 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13371 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13372 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13373 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13374 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13375 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13376 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13377
3f99608f
KK
133782012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13379
13380 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13381 fields.
13382
65a4de4e
CLT
133832012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13384
13385 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13386 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13387 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13388 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13389 Likewise.
13390 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13391 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13392 Likewise.
13393
15749d40
UD
133942012-05-27 Ulrich Drepper <drepper@gmail.com>
13395
13396 * po/h.po: Update from translation team.
13397
25dbcb27
AS
133982012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13399
3d3f8e55
AS
13400 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13401
25dbcb27
AS
13402 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13403 handling of denormals.
13404 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13405 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13406 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13407 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13411 Likewise.
13412
7ad47a80 134132012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13414
13415 [BZ #14152]
13416 * math/libm-test.inc (fma_test): Don't always expect underflow
13417 exception.
13418
9c6ea9fa
SP
134192012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13420
13421 [BZ #12416]
13422 * elf/tst-execstack.c: Include stackinfo.h.
13423 (do_test): Adjust test case to ensure that pthread_getattr_np
13424 behaviour remains the same after marking stack executable.
13425
a8239222
JM
134262012-05-25 Joseph Myers <joseph@codesourcery.com>
13427
13428 * sysdeps/unix/sysv/linux/kernel-features.h
13429 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13430 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13431 kernel-features.h.
13432 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13433 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13434 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13435 kernel-features.h.
13436 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13437 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13438
918b5606
L
134392012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13440
13441 * configure.in: Define the default includes to being none.
13442 * configure: Regenerated.
13443
3a097cc7
RM
134442012-05-25 Roland McGrath <roland@hack.frob.com>
13445
8422c9a5
RM
13446 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13447 * sysdeps/x86_64/setjmp.S: Likewise.
13448 * sysdeps/i386/bsd-setjmp.S: Likewise.
13449 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13450 * sysdeps/i386/setjmp.S: Likewise.
13451 * sysdeps/i386/__longjmp.S: Likewise.
13452 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13453 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13454
3a097cc7
RM
13455 * include/stap-probe.h: New file.
13456 * configure.in: Handle --enable-systemtap.
13457 * configure: Regenerated.
13458 * config.h.in (USE_STAP_PROBE): New #undef.
13459 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13460 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13461 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13462
21708942
JM
134632012-05-25 Joseph Myers <joseph@codesourcery.com>
13464
13465 [BZ #13717]
13466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13467 to 2.4.0 where earlier.
13468 * sysdeps/unix/sysv/linux/configure: Regenerated.
13469 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
13478 [__ASSUME_32BITUIDS]: Make code unconditional.
13479 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13480 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13481 <kernel-features.h>.
13482 [__ASSUME_32BITUIDS]: Make code unconditional.
13483 [!__ASSUME_32BITUIDS]: Remove conditional code.
13484 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13485 <kernel-features.h>.
13486 [__ASSUME_32BITUIDS]: Make code unconditional.
13487 [!__ASSUME_32BITUIDS]: Remove conditional code.
13488 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13489 <kernel-features.h>.
13490 [__ASSUME_32BITUIDS]: Make code unconditional.
13491 [!__ASSUME_32BITUIDS]: Remove conditional code.
13492 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13493 <kernel-features.h>.
13494 [__ASSUME_32BITUIDS]: Make code unconditional.
13495 [!__ASSUME_32BITUIDS]: Remove conditional code.
13496 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13497 <kernel-features.h>.
13498 [__ASSUME_32BITUIDS]: Make code unconditional.
13499 [!__ASSUME_32BITUIDS]: Remove conditional code.
13500 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13501 <kernel-features.h>.
13502 [__ASSUME_32BITUIDS]: Make code unconditional.
13503 [!__ASSUME_32BITUIDS]: Remove conditional code.
13504 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13505 <kernel-features.h>.
13506 [__ASSUME_32BITUIDS]: Make code unconditional.
13507 [!__ASSUME_32BITUIDS]: Remove conditional code.
13508 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13509 <kernel-features.h>.
13510 [__ASSUME_32BITUIDS]: Make code unconditional.
13511 [!__ASSUME_32BITUIDS]: Remove conditional code.
13512 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13513 <kernel-features.h>.
13514 [__ASSUME_32BITUIDS]: Make code unconditional.
13515 [!__ASSUME_32BITUIDS]: Remove conditional code.
13516 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13517 <kernel-features.h>.
13518 [__ASSUME_32BITUIDS]: Make code unconditional.
13519 [!__ASSUME_32BITUIDS]: Remove conditional code.
13520 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13521 <kernel-features.h>.
13522 [__NR_setresgid] (__setresgid): Do not declare.
13523 [__ASSUME_32BITUIDS]: Make code unconditional.
13524 [!__ASSUME_32BITUIDS]: Remove conditional code.
13525 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13526 <kernel-features.h>.
13527 [__NR_setresuid] (__setresuid): Do not declare.
13528 [__ASSUME_32BITUIDS]: Make code unconditional.
13529 [!__ASSUME_32BITUIDS]: Remove conditional code.
13530 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13531 <kernel-features.h>.
13532 [__ASSUME_32BITUIDS]: Make code unconditional.
13533 [!__ASSUME_32BITUIDS]: Remove conditional code.
13534 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13535 <kernel-features.h>.
13536 [__ASSUME_32BITUIDS]: Make code unconditional.
13537 [!__ASSUME_32BITUIDS]: Remove conditional code.
13538 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13539 <kernel-features.h>.
13540 [__ASSUME_32BITUIDS]: Make code unconditional.
13541 [!__ASSUME_32BITUIDS]: Remove conditional code.
13542 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13543 <kernel-features.h>.
13544 [__ASSUME_32BITUIDS]: Make code unconditional.
13545 [!__ASSUME_32BITUIDS]: Remove conditional code.
13546 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13547 <kernel-features.h>.
13548 [__ASSUME_32BITUIDS]: Make code unconditional.
13549 [!__ASSUME_32BITUIDS]: Remove conditional code.
13550 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13551 <kernel-features.h>.
13552 [__ASSUME_32BITUIDS]: Make code unconditional.
13553 [!__ASSUME_32BITUIDS]: Remove conditional code.
13554 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13555 <kernel-features.h>.
13556 [__ASSUME_32BITUIDS]: Make code unconditional.
13557 [!__ASSUME_32BITUIDS]: Remove conditional code.
13558 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13559 <kernel-features.h>.
13560 [__ASSUME_32BITUIDS]: Make code unconditional.
13561 [!__ASSUME_32BITUIDS]: Remove conditional code.
13562 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13563 <kernel-features.h>.
13564 [__ASSUME_32BITUIDS]: Make code unconditional.
13565 [!__ASSUME_32BITUIDS]: Remove conditional code.
13566 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13567 <kernel-features.h>.
13568 [__ASSUME_32BITUIDS]: Make code unconditional.
13569 [!__ASSUME_32BITUIDS]: Remove conditional code.
13570 * sysdeps/unix/sysv/linux/kernel-features.h
13571 (__ASSUME_SETRESUID_SYSCALL): Remove.
13572 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13573 (__ASSUME_32BITUIDS): Likewise.
13574 (__ASSUME_LDT_WORKS): Likewise.
13575 (__ASSUME_O_DIRECTORY): Likewise.
13576 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13577 architecture but not kernel version.
13578 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13579 (__ASSUME_MMAP2_SYSCALL): Likewise.
13580 (__ASSUME_STAT64_SYSCALL): Likewise.
13581 (__ASSUME_IPC64): Likewise.
13582 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13583 <kernel-features.h>.
13584 [__ASSUME_32BITUIDS]: Make code unconditional.
13585 [!__ASSUME_32BITUIDS]: Remove conditional code.
13586 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13587 <kernel-features.h>.
13588 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13589 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13590 132096]: Remove conditional code.
13591 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13592 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13593 <kernel-features.h>.
13594 [__ASSUME_32BITUIDS]: Make code unconditional.
13595 [!__ASSUME_32BITUIDS]: Remove conditional code.
13596 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13597 <kernel-features.h>.
13598 [__ASSUME_32BITUIDS]: Make code unconditional.
13599 [!__ASSUME_32BITUIDS]: Remove conditional code.
13600 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13601 <kernel-features.h>.
13602 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13603 unconditional.
13604 (__setresgid): Do not declare.
13605 [__ASSUME_32BITUIDS]: Make code unconditional.
13606 [!__ASSUME_32BITUIDS]: Remove conditional code.
13607 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13608 <kernel-features.h>.
13609 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13610 unconditional.
13611 (__setresuid): Do not declare.
13612 [__ASSUME_32BITUIDS]: Make code unconditional.
13613 [!__ASSUME_32BITUIDS]: Remove conditional code.
13614 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13615 <kernel-features.h>.
13616 [__ASSUME_32BITUIDS]: Make code unconditional.
13617 [!__ASSUME_32BITUIDS]: Remove conditional code.
13618 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13619 <kernel-features.h>.
13620 [__ASSUME_32BITUIDS]: Make code unconditional.
13621 [!__ASSUME_32BITUIDS]: Remove conditional code.
13622
a386f1cc
RH
136232012-05-25 Richard Henderson <rth@twiddle.net>
13624
13625 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13626 dl_hwcap to ifunc resolver.
13627 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13628 elf_ifunc_invoke.
13629 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13630 dl_hwcap to ifunc resolver.
13631 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13632
b6550497
JM
136332012-05-24 Joseph Myers <joseph@codesourcery.com>
13634
13635 [BZ #14153]
13636 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13637 for |x| <= 2**-26, not 2**-57.
13638 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13639 exception.
13640
b0bc23a1
JL
136412012-05-24 Jeff Law <law@redhat.com>
13642
13643 * stdio-common/Makefile (tests): Add bug25.
13644 * stdio-common/bug25.c: New test.
13645
347c92e9
L
136462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13647
13648 [BZ #13576]
13649 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13650 multiple of MALLOC_ALIGNMENT in size.
13651 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13652
6bcc8b3f
JM
136532012-05-24 Joseph Myers <joseph@codesourcery.com>
13654
13655 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13656 Require >= 256.
13657 (FILENAME_MAX): Use macro-int-constant.
13658 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13659 (_IOFBF): Use macro-int-constant.
13660 (_IOLBF): Likewise.
13661 (_IONBF): Likewise.
13662 (SEEK_CUR): Likewise.
13663 (SEEK_END): Likewise.
13664 (SEEK_SET): Likewise.
13665 (TMP_MAX): Likewise.
13666 (EOF): Use macro-int-constant. Require < 0.
13667 (NULL): Use macro-constant. Require == 0.
13668 (stdin): Require type to be FILE *.
13669 (stdout): Likewise.
13670 (stderr): Likewise.
13671 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13672 macro-int-constant.
13673 (EXIT_SUCCESS): Likewise.
13674 (NULL): Use macro-constant. Require == 0.
13675 (RAND_MAX): Use macro-int-constant.
13676 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13677 [C99-based standards] (strtof): Require function.
13678 [C99-based standards] (strtold): Likewise.
13679 [C99-based standards] (strtoll): Likewise.
13680 [C99-based standards] (strtoull): Likewise.
13681 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13682 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13683 [ISO || ISO99 || ISO11] (math.h): Likewise.
13684 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13685 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13686 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13687
d18ea0c5
AS
136882012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13689
13690 [BZ #14132]
56d25bb8
AS
13691 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13692 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13693 * intl/dgettext.c (DCGETTEXT): Likewise.
13694 * intl/gettext.c (DCGETTEXT): Likewise.
13695 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13696 * posix/regex_internal.h (gettext): Likewise.
13697 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13698 Remove declaration.
13699 * include/argz.h (__argz_count_internal)
13700 (__argz_stringify_internal): Remove declaration.
13701 (__argz_count, __argz_stringify): Declare hidden proto.
13702 * intl/dcgettext.c: Remove use of INTDEF.
13703 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13704 * string/argz-stringify.c: Likewise.
13705 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13706 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13707 Declare hidden proto.
d18ea0c5
AS
13708 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13709 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13710 Declare hidden proto.
13711 * include/stdio.h (__asprintf_internal): Don't declare.
13712 (__asprintf): Don't define as macro. Declare hidden proto.
13713 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13714 (__fsetlocking): Declare hidden proto.
13715 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13716 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13717 hidden proto.
13718 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13719 (_IO_setlinebuf): Remove use of INTUSE.
13720 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13721 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13722 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13723 Remove declaration.
13724 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13725 (_IO_do_flush): Remove use of INTUSE.
13726 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13727 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13728 (_IO_adjust_column, _IO_least_wmarker)
13729 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13730 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13731 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13732 (_IO_default_doallocate, _IO_wdefault_doallocate)
13733 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13734 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13735 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13736 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13737 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13738 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13739 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13740 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13741 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13742 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13743 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13744 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13745 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13746 proto.
13747 (_IO_flush_all_internal, _IO_adjust_column_internal)
13748 (_IO_default_uflow_internal, _IO_default_finish_internal)
13749 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13750 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13751 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13752 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13753 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13754 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13755 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13756 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13757 (_IO_file_close_internal, _IO_file_close_it_internal)
13758 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13759 (_IO_file_init_internal, _IO_file_attach_internal)
13760 (_IO_file_fopen_internal, _IO_file_read_internal)
13761 (_IO_file_sync_internal, _IO_file_seek_internal)
13762 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13763 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13764 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13765 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13766 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13767 (_IO_list_all_internal, _IO_link_in_internal)
13768 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13769 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13770 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13771 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13772 (_IO_do_write_internal, _IO_padn_internal)
13773 (_IO_getline_info_internal, _IO_getline_internal)
13774 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13775 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13776 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13777 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13778 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13779 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13780 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13781 with libc_hidden_ver, remove use of INTUSE.
13782 * libio/genops.c: Likewise.
13783 * libio/freopen.c: Likewise.
13784 * libio/freopen64.c: Likewise.
13785 * libio/iofclose.c: Likewise.
13786 * libio/iofdopen.c: Likewise.
13787 * libio/iofflush.c: Likewise.
13788 * libio/iofflush_u.c: Likewise.
13789 * libio/iofgets.c: Likewise.
13790 * libio/iofgets_u.c: Likewise.
13791 * libio/iofopen.c: Likewise.
13792 * libio/iofopncook.c: Likewise.
13793 * libio/iofread.c: Likewise.
13794 * libio/iofread_u.c: Likewise.
13795 * libio/ioftell.c: Likewise.
13796 * libio/iofwrite.c: Likewise.
13797 * libio/iogetline.c: Likewise.
13798 * libio/iogets.c: Likewise.
13799 * libio/iogetwline.c: Likewise.
13800 * libio/iopadn.c: Likewise.
13801 * libio/iopopen.c: Likewise.
13802 * libio/ioseekoff.c: Likewise.
13803 * libio/ioseekpos.c: Likewise.
13804 * libio/iosetbuffer.c: Likewise.
13805 * libio/iosetvbuf.c: Likewise.
13806 * libio/ioungetc.c: Likewise.
13807 * libio/ioungetwc.c: Likewise.
13808 * libio/iovdprintf.c: Likewise.
13809 * libio/iovsprintf.c: Likewise.
13810 * libio/iovsscanf.c: Likewise.
13811 * libio/memstream.c: Likewise.
13812 * libio/obprintf.c: Likewise.
13813 * libio/oldfileops.c: Likewise.
13814 * libio/oldiofclose.c: Likewise.
13815 * libio/oldiofdopen.c: Likewise.
13816 * libio/oldiofopen.c: Likewise.
13817 * libio/oldiopopen.c: Likewise.
13818 * libio/oldstdfiles.c: Likewise.
13819 * libio/putc.c: Likewise.
13820 * libio/setbuf.c: Likewise.
13821 * libio/setlinebuf.c: Likewise.
13822 * libio/stdfiles.c: Likewise.
13823 * libio/strops.c: Likewise.
13824 * libio/vasprintf.c: Likewise.
13825 * libio/vscanf.c: Likewise.
13826 * libio/vsnprintf.c: Likewise.
13827 * libio/vswprintf.c: Likewise.
13828 * libio/wfiledoalloc.c: Likewise.
13829 * libio/wfileops.c: Likewise.
13830 * libio/wgenops.c: Likewise.
13831 * libio/wmemstream.c: Likewise.
13832 * libio/wstrops.c: Likewise.
13833 * libio/__fpurge.c: Likewise.
13834 * libio/__fsetlocking.c: Likewise.
13835 * assert/assert.c: Likewise.
13836 * debug/fgets_chk.c: Likewise.
13837 * debug/fgets_u_chk.c: Likewise.
13838 * debug/fread_chk.c: Likewise.
13839 * debug/fread_u_chk.c: Likewise.
13840 * debug/gets_chk.c: Likewise.
13841 * debug/obprintf_chk.c: Likewise.
13842 * debug/vasprintf_chk.c: Likewise.
13843 * debug/vdprintf_chk.c: Likewise.
13844 * debug/vsnprintf_chk.c: Likewise.
13845 * debug/vsprintf_chk.c: Likewise.
13846 * malloc/mtrace.c: Likewise.
13847 * misc/error.c: Likewise.
13848 * misc/syslog.c: Likewise.
13849 * stdio-common/asprintf.c: Likewise.
13850 * stdio-common/fxprintf.c: Likewise.
13851 * stdio-common/getw.c: Likewise.
13852 * stdio-common/isoc99_fscanf.c: Likewise.
13853 * stdio-common/isoc99_scanf.c: Likewise.
13854 * stdio-common/isoc99_vfscanf.c: Likewise.
13855 * stdio-common/isoc99_vscanf.c: Likewise.
13856 * stdio-common/isoc99_vsscanf.c: Likewise.
13857 * stdio-common/printf-prs.c: Likewise.
13858 * stdio-common/printf_fp.c: Likewise.
13859 * stdio-common/printf_fphex.c: Likewise.
13860 * stdio-common/printf_size.c: Likewise.
13861 * stdio-common/putw.c: Likewise.
13862 * stdio-common/scanf.c: Likewise.
13863 * stdio-common/sprintf.c: Likewise.
13864 * stdio-common/tmpfile.c: Likewise.
13865 * stdio-common/vfprintf.c: Likewise.
13866 * stdio-common/vfscanf.c: Likewise.
13867 * stdlib/strfmon_l.c: Likewise.
13868 * sunrpc/openchild.c: Likewise.
13869 * sunrpc/xdr_stdio.c: Likewise.
13870 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13871 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13872
d6c33fda
RM
138732012-05-24 Roland McGrath <roland@hack.frob.com>
13874
c1487492
RM
13875 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13876
13877 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13878 in the third column, to generate for the shared library an IFUNC
13879 that uses _dl_vdso_vsym.
13880 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13881 * Makeconfig (object-suffixes-noshared): New variable.
13882
13883 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13884 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13885 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13886 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13887
d6c33fda
RM
13888 [BZ #14132]
13889 * include/sys/time.h (__gettimeofday): Remove macro.
13890 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13891 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13892 Remove INTDEF.
13893 (__gettimeofday): Add libc_hidden_def.
13894 (gettimeofday): Add libc_hidden_weak.
13895 * sysdeps/mach/gettimeofday.c: Likewise.
13896 * sysdeps/posix/gettimeofday.c: Likewise.
13897 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13898 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13899 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13900 (__gettimeofday_internal): Remove strong_alias.
13901 (__gettimeofday): Add libc_hidden_def.
13902 (gettimeofday): Add libc_hidden_weak.
13903 * sysdeps/unix/syscalls.list (gettimeofday):
13904 Remove __gettimeofday_internal alias.
13905
b5a2bbe6
L
139062012-05-24 Daniel Jacobowitz <drow@false.org>
13907 H.J. Lu <hongjiu.lu@intel.com>
13908
13909 [BZ #12495]
13910 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13911 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13912 (largebin_index_32_big): New.
13913 (largebin_index): Use it for 16-byte alignment.
13914 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13915 correction with front_misalign.
13916
cfba4fda
L
139172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13918
7f907421
L
13919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13921 Likewise.
13922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13923 Likewise.
13924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13925 Likewise.
13926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13927 Likewise.
13928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13929 Likewise.
13930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13931 Likewise.
13932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13933 Likewise.
13934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13935 Likewise.
13936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13937 Likewise.
13938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13939 Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13941 Likewise.
13942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13943 Likewise.
13944
cfba4fda
L
13945 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13946 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13947
80bad0cc
JM
139482012-05-24 Joseph Myers <joseph@codesourcery.com>
13949
7a25eb06
JM
13950 [BZ #10846]
13951 [BZ #14036]
13952 * math/libm-test.inc (exp_test): Add test from bug 14036.
13953 (pow_test): Add test from bug 10846.
13954
795405f9
JM
13955 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13956 and other flags.
13957 (special_function): Do not include flags in test name.
13958 (parse_args): Likewise.
13959 * sysdeps/i386/fpu/libm-test-ulps: Update.
13960 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13961 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13964
80bad0cc
JM
13965 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13966 exceptions.
13967 * math/libm-test.inc ("Philosophy"): Update comment about
13968 exception testing.
13969 (UNDERFLOW_EXCEPTION): New macro.
13970 (UNDERFLOW_EXCEPTION_OK): Likewise.
13971 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13972 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13973 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13974 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13975 (INVALID_EXCEPTION_OK): Update value.
13976 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13977 (OVERFLOW_EXCEPTION_OK): Likewise.
13978 (IGNORE_ZERO_INF_SIGN): Likewise.
13979 (test_exceptions): Handle underflow exceptions.
13980 (acos_test): Update for underflow exception expectations.
13981 (cexp_test): Likewise.
13982 (clog_test): Likewise.
13983 (clog10_test): Likewise.
13984 (csqrt_test): Likewise.
13985 (ctan_test): Likewise.
13986 (ctanh_test): Likewise.
13987 (exp_test): Likewise.
13988 (exp10_test): Likewise.
13989 (exp2_test): Likewise.
13990 (expm1_test): Likewise.
13991 (fma_test): Likewise.
13992 (j0_test): Likewise.
13993 (jn_test): Likewise.
13994 (nexttoward_test): Likewise.
13995 (pow_test): Likewise.
13996 (scalbn_test): Likewise.
13997 (scalbln_test): Likewise.
13998 (tan_test): Likewise.
13999 (y1_test): Likewise.
14000 * sysdeps/i386/fpu/libm-test-ulps: Update.
14001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14002
9e0e3d0b
DM
140032012-05-23 David S. Miller <davem@davemloft.net>
14004
14005 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14006 (__libc_sigaction): Remove unused local variables.
14007
ccd0a08f
L
140082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14009
14010 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14011
62bdf9a6
PE
140122012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14013
f8591f80
PE
14014 mktime: avoid signed integer overflow
14015 * time/mktime.c (__mktime_internal): Do not mishandle the case
14016 where diff == INT_MIN.
14017
94c7d826
PE
14018 mktime: simplify computation of average
14019 * time/mktime.c (ranged_convert): Use new time_t_avg function
14020 instead of rolling our own (probably-slower) code.
14021
ce73d683
PE
14022 mktime: do not assume signed right shift propagates sign bit
14023 * time/mktime.c (isdst_differ): New static function.
14024 (__mktime_internal): No need to normalize tm_isdst now.
14025 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14026 tm_isdst values.
14027
72a22e59
PE
14028 mktime: merge another wrapv change from gnulib
14029 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14030 from some compilers.
14031
68605433
PE
14032 mktime: remove incorrect attempt at unusual arithmetics
14033 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14034 The code didn't really work on such machines anyway.
14035 (TYPE_MINIMUM): Assume two's complement.
14036 (twos_complement_arithmetic): Verify that long_int and time_t
14037 are two's complement (or unsigned, in the latter case).
14038
03cf7fe3
PE
14039 mktime: check signed shifts on long_int and time_t, too
14040 * time/mktime.c (SHR): Check that shifts work as desired
14041 on the types long_int and time_t too, as SHR is used on
14042 such types.
14043
f04dfbc2
PE
14044 mktime: do not assume 'long' is wide enough
14045 * time/mktime.c (verify): Move decl up.
14046 (long_int): New type.
14047 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14048 to remove assumption in the code that 'long' is wide enough to
14049 store year values. This assumption is not true on x32 and on
14050 some non-glibc platforms.
14051
62bdf9a6
PE
14052 mktime: merge wrapv change from gnulib
14053 * time/mktime.c (WRAPV): New macro.
14054 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14055 (guess_time_tm, __mktime_internal): Do not assume that signed
14056 integer overflow wraps around; modern compilers generate code
14057 where this assumption is no longer valid.
14058
5e292e4f
L
140592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14062 Replace "jmp L(pseudo_end)" with "ret".
14063 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14064 Likewise.
14065
8caf8c87
AJ
140662012-05-23 Andreas Jaeger <aj@suse.de>
14067
14068 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14069 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14070
1a09dc56
AJ
140712012-05-23 Andreas Jaeger <aj@suse.de>
14072 Maximilian Attems <max@stro.at>
14073
14074 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14075 New macros.
14076
1c87aba0
L
140772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14078
14079 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14080 code so that pseudo_end is just ret and the stack pointer is
14081 correct also for static library in error case.
14082
40e45bd5
JM
140832012-05-23 Joseph Myers <joseph@codesourcery.com>
14084
c2670533
JM
14085 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14086 move to syscalls.list.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14091
40e45bd5
JM
14092 * manual/install.texi (Running make install): Do not mention Linux
14093 kernel version for which pt_chown is not needed.
14094 (Linux): Do not mention problems with nscd with 2.0 kernels.
14095 * INSTALL: Regenerated.
14096
be08eda5
AJ
140972012-05-23 Andreas Jaeger <aj@suse.de>
14098
14099 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14100 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14101 macro.
14102 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14104 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14106 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14107 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14109 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14111 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14112 * sysdeps/unix/sysv/linux/bits/in.h
14113 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14114
a6a056bb
RM
141152012-05-22 Roland McGrath <roland@hack.frob.com>
14116
14117 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14118 (PREPARE_VERSION): Just use assert instead, it will be elided
14119 under [NDEBUG] anyway.
14120
c9009328
L
141212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14122
14123 * sysdeps/unix/sysv/linux/Makefile: Include
14124 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 14125 (sysdep_routines): Remove sysctl.
c9009328
L
14126 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14127 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14128 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14129 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14130 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14131
73338355
AJ
141322012-05-22 Andreas Jaeger <aj@suse.de>
14133
14134 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14135 that pseudo_end is just ret and the stack pointer is correct also
14136 for static library in error case.
14137
d44638b0
PP
141382012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14139
14140 [BZ #14122]
14141 * nss/nsswitch.c (defconfig_entries): New variable.
14142 (__nss_database_lookup): Don't leak defconfig entries.
14143 (nss_parse_service_list): Don't leak on error paths.
14144 (free_database_entries): New function.
14145 (free_defconfig): New function.
14146 (free_mem): Move common code to free_database_entries.
14147
31a39bd8
L
141482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14149
da0331a8
L
14150 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14151 Add arch_prctl.
14152 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14153
31a39bd8
L
14154 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14155 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14157 New macro.
14158 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14159 (INTERNAL_SYSCALL_TYPES): Likewise.
14160 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14161 (LOAD_REGS_TYPES_[1-6]): Likewise.
14162 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14163 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14164
45470df3
AZ
141652012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14166
14167 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14168 copysignl for GLIBC_2_0.
14169 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14170 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14171 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14172 logbl for GLIBC_2_0.
14173 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14174 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14175
98a61bcb
L
141762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14177
a4f6e481
L
14178 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14179 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14180
f63d5db6
L
14181 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14182 Use "neg %eax".
14183
98a61bcb
L
14184 * time/mktime.c: Update copyright years.
14185
95770f14
PE
141862012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14187
6226efbd
PE
14188 mktime: merge comment-quoting-style change from gnulib
14189 * time/mktime.c: Quote 'like this' in comments.
14190 The GNU coding standards suggest that we no longer quote `like this',
14191 as "`" and "'" are typically rendered asymmetrically nowadays.
14192 The typical gnulib style is to quote 'like this' when quoting
14193 code, and "like this" when quoting English.
14194
b99e4f78
PE
14195 * time/mktime.c (compile-command): Add "-I.".
14196
643e01e6
PE
14197 mktime: merge mktime-internal.h change from gnulib
14198 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14199
2554247d
PE
14200 mktime: merge time_r change from gnulib
14201 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14202
826dd0ab
PE
14203 mktime: merge DEBUG change from gnulib
14204 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14205 case system <time.h> has a #define.
14206
bd83aabe
PE
14207 mktime: merge <sys/types.h> change from gnulib
14208 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14209 since <time.t> is now guaranteed to define time_t.
14210
95770f14
PE
14211 mktime: merge HAVE_CONFIG_H change from gnulib
14212 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14213
5e1a27a9
L
142142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14215
0e44a77e
L
14216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14217 Use "neg %eax".
14218
5e1a27a9
L
14219 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14220 __rlim_t cast.
14221 (struct rusage): Use anonymous union to pad each field to
14222 __syscall_slong_t.
14223
46259bec
DM
142242012-05-21 David S. Miller <davem@davemloft.net>
14225
14226 * Makefules (o-iterator): Remove .s cases.
14227 (compile-command.s): Delete.
14228 (COMPILE.s): Delete.
14229 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14230
59f0c22e
JM
142312012-05-21 Joseph Myers <joseph@codesourcery.com>
14232
14233 * configure.in (libc_cv_predef_stack_protector): Only consider
14234 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14235 * configure: Regenerated.
14236
20c07380
L
142372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14238
bbb3154b
L
14239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14240 New macro. Use R*LP on int and pointer.
14241 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14242 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14243 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14244 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14245
20c07380
L
14246 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14247 [__WORDSIZE_TIME64_COMPAT32] instead of
14248 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14249 (struct utmp): Likewise.
14250 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14251 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14252 Renamed to ...
14253 (__WORDSIZE_TIME64_COMPAT32): This.
14254 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14255 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14256 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14257 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14258 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14259 (__WORDSIZE_TIME64_COMPAT32): New macro.
14260
d8d1017e
AJ
142612012-05-21 Andreas Jaeger <aj@suse.de>
14262
14263 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14264 only if [SHARED]. Add prototype for __wcschr_ia32.
14265
6c7fb145
RM
142662012-05-21 Roland McGrath <roland@hack.frob.com>
14267
14268 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14269 of %rbp unmolested in the jmp_buf while mangling the low bits.
14270 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14271 unmolested high bits of %rbp while demangling the low bits.
14272 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14273
66274218
AJ
142742012-05-21 Andreas Jaeger <aj@suse.de>
14275
07c58f8f
AJ
14276 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14277 * sunrpc/svc_simple.c: Use it for registerrpc.
14278 * sunrpc/xcrypt.c: Use it for passwd2des.
14279
66274218
AJ
14280 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14281
61f65140
L
142822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14283
14284 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14285 Don't define if [__SYSCALL_WORDSIZE != 32].
14286 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14287 New macro.
14288
5fefb436
AJ
142892012-05-21 Bruno Haible <bruno@clisp.org>
14290 Andreas Jaeger <aj@suse.de>
14291
14292 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14293 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14294 inptr and inend for must_buffer_ch.
14295 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14296 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14297 * stdio-common/Makefile (tests): Remove bug15.
14298 (bug15-ENV): Remove macro.
14299 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14300 anymore.
14301
d8e272ab
AJ
143022012-05-19 Andreas Jaeger <aj@suse.de>
14303 Roland McGrath <roland@hack.frob.com>
14304
14305 * manual/contrib.texi: Completely rewritten. It contains now an
14306 alphabetical list of contributors and their contributions.
14307
4a56a162
RH
143082012-05-21 Richard Henderson <rth@twiddle.net>
14309
14310 * misc/getauxval.c (__getauxval): Use unsigned long int.
14311 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14312 (getauxval): Use unsigned long int.
14313
d024d23c
L
143142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14315
14316 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14317
cbc00a03
RM
143182012-05-21 Roland McGrath <roland@hack.frob.com>
14319
14320 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14321 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14322 __alignof__ (long double).
14323
478143fa
AZ
143242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14325
14326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14327
c7683a6d
RH
143282012-05-20 Richard Henderson <rth@twiddle.net>
14329
14330 * misc/getauxval.c: New file.
14331 * misc/sys/auxv.h: New file.
14332 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14333 (routines): Add getauxval.
14334 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14335 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14336 * elf/dl-sysdep.c (_dl_auxv): Remove.
14337 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14338 * elf/dl-support.c (_dl_auxv): New variable.
14339 (_dl_aux_init): Initialize it.
14340 * manual/startup.texi (Auxiliary Vector): New node.
14341 * sysdeps/generic/bits/hwcap.h: New file.
14342 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14343 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14344 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14345 * sysdeps/sparc/sysdep.h: ... here. Include it.
14346 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14347 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
14348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14349 Update.
c7683a6d
RH
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14353 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14357 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14358
a6f1845d
AZ
143592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14360
14361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14362
cbcbe830
DM
143632012-05-19 David S. Miller <davem@davemloft.net>
14364
14365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14366
e0b16cc2
JM
143672012-05-19 Joseph Myers <joseph@codesourcery.com>
14368
14369 [BZ #14123]
14370 * math/s_ccosh.c: Include <float.h>
14371 (__ccosh): Avoid internal overflow calculating sinh and cosh
14372 values before multiplying by sin and cos values.
14373 * math/s_ccoshf.c: Likewise.
14374 * math/s_ccoshl.c: Likewise.
14375 * math/s_csin.c: Likewise.
14376 * math/s_csinf.c: Likewise.
14377 * math/s_csinl.c: Likewise.
14378 * math/s_csinh.c: Likewise.
14379 * math/s_csinhf.c: Likewise.
14380 * math/s_csinhl.c: Likewise.
14381 * math/libm-test.inc (ccos_test): Add more tests.
14382 (ccosh_test): Likewise.
14383 (csin_test): Likewise.
14384 (csinh_test): Likewise.
14385 * sysdeps/i386/fpu/libm-test-ulps: Update.
14386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14387
6ad13e08
L
143882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14389
f66f0ce8
L
14390 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14391 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14392
6ad13e08
L
14393 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14394
b1d072a7
JM
143952012-05-19 Joseph Myers <joseph@codesourcery.com>
14396
14397 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14398 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14399 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14400 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14401 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14402 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14403 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14404 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14405 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14406 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14407 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14408 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14409 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14410 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14411 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14412 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14413 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14414 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14415 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14416 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14417 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14418 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14419 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14420 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14421 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14422 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14423 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14424 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14425 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14426 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14427 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14428
9eae47cb
AJ
144292012-05-18 Andreas Jaeger <aj@suse.de>
14430
14431 * csu/.gitignore: Delete.
14432
bb07f69f
L
144332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14434
14435 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14436 (timex): Use __syscall_slong_t.
14437
e6bdb741
AJ
144382012-05-18 Andreas Jaeger <aj@suse.de>
14439 Carlos O'Donell <carlos_odonell@mentor.com>
14440
14441 * manual/install.texi (Configuring and compiling): Update
14442 description about files modified in the source directory.
d6c33fda 14443 * INSTALL: Regenerated.
e6bdb741 14444
1b74487e
L
144452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14446
14447 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14448 value. Use "or" to set return value to -1.
14449 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14450 negate return value.
14451
a88b64b9
TMQMF
144522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14453
14454 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14455 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14456 failure if the compiler has Graphite support disabled.
14457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14458 Likewise.
14459 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14460 CFLAGS-memmove.c): Likewise.
14461 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14462 Likewise.
14463
3707636e
L
144642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14465
610b8622
L
14466 * sysdeps/x86_64/x32/_itoa.h: New file.
14467
7cd195df
L
14468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14469 getdents system call only if kernel and user dirents have the
14470 same d_ino and d_off.
14471
94b07d20
L
14472 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14473 LLONG_MAX != LONG_MAX.
14474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14475 (_fitoa_word): Likewise.
14476
18298070
L
14477 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14478 years.
14479 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14480 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14481 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14482
553c7ea4
L
14483 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14484 include <bits/wordsize.h>. Check __x86_64__ instead of
14485 __WORDSIZE.
14486 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14487 if __x86_64__ is defined. Use anonymous union on fpstate.
14488
3707636e
L
14489 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14490 anonymous union.
14491
b53ef01a
AS
144922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14493
37fb1dc0
AS
14494 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14495 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14496 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14497 Refer to _rtld_local_ro instead of _rtld_global_ro.
14498 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14499 Likewise.
14500 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14501 Likewise.
14502 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14503 Likewise.
14504 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14505 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14506 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14507
b53ef01a
AS
14508 * sysdeps/powerpc/powerpc32/dl-machine.c
14509 (__elf_machine_runtime_setup) [PROF]: Don't reference
14510 _dl_prof_resolve.
14511
7a185db2
AJ
145122012-05-18 Andreas Jaeger <aj@suse.de>
14513
14514 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14515 function only available for GCCs before 3.4 since GCC 3.4
14516 introduced a builtin.
14517 (lrint): Likewise.
14518 (llrintf): Likewise.
14519 (llrint): Likewise.
14520 (fmaxf): Likewise.
14521 (fmax): Likewise.
14522 (fminf): Likewise.
14523 (fmin): Likewise.
14524 (rint): Likewise.
14525 (rintf): Likewise.
14526 (nearbyint): Likewise.
14527 (nearbyintf): Likewise.
14528 (ceil): Likewise.
14529 (ceilf): Likewise.
14530 (floor): Likewise.
14531 (floorf): Likewise.
14532
3e5aef87
L
145332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14534
428bd707
L
14535 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14536 on both fields and cast pointer to __syscall_ulong_t.
14537
3e5aef87
L
14538 * bits/types.h (__fsword_t): New type.
14539 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14540 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14542 (__FSWORD_T_TYPE): Likewise.
14543 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14544 (__FSWORD_T_TYPE): Likewise.
14545 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14546 (__FSWORD_T_TYPE): Likewise.
14547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14548 (__FSWORD_T_TYPE): Likewise.
14549 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14550 __SWORD_TYPE with __fsword_t.
14551 (statfs64): Likewise.
14552
1ba7c3dc
DM
145532012-05-17 David S. Miller <davem@davemloft.net>
14554
14555 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14556
59910343
AJ
145572012-05-17 Andreas Jaeger <aj@suse.de>
14558
14559 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14560 warning.
14561
2e4c1e9e
L
145622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14563
14564 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14565
de7f5ce7
AJ
145662012-05-17 Andreas Jaeger <aj@suse.de>
14567
14568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14569 when it is used.
14570
286abc3d
CM
145712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14572
14573 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14574
477cc68e
L
145752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14576
14577 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14578 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14579
1a0994f5
CD
145802012-05-17 Andreas Jaeger <aj@suse.de>
14581 Carlos O'Donell <carlos_odonell@mentor.com>
14582
14583 [BZ #14059]
14584 * sysdeps/x86_64/multiarch/init-arch.h
14585 (bit_YMM_Usable): Rename to...
14586 (bit_AVX_Usable): ... this.
14587 (bit_FMA4_Usable): New macro.
14588 (bit_XMM_state): New macro.
14589 (bit_YMM_state): New macro.
14590 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14591 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14592 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14593 (CPUID_OSXSAVE): New macro.
14594 (CPUID_AVX): New macro.
14595 (CPUID_FMA4): New macro.
14596 (index_YMM_Usable): Rename to...
14597 (index_AVX_Usable): ... this.
14598 (HAS_AVX): Use HAS_ARCH_FEATURE.
14599 (HAS_FMA4): Likewise.
14600 (HAS_YMM_USABLE): Remove.
14601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14602 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14603 are present.
14604 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14605 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14606 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14607 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14608 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14609
0af797de
CM
146102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14611
14612 * math/libm-test.c: Support platforms without multiple rounding modes.
14613 * math/bug-nextafter.c: Support platforms without FP exceptions.
14614 * math/bug-nexttoward.c: Likewise.
14615 * math/test-fenv.c: Likewise.
14616 * math/test-misc.c: Likewise.
14617 * stdlib/bug-getcontext.c: Likewise.
14618
e39745ff
AJ
146192012-05-17 Andreas Jaeger <aj@suse.de>
14620
14621 * manual/examples/search.c (critter_cmp): Change signature to
14622 avoid warnings.
14623 * manual/string.texi (Collation Functions): Likewise.
14624
48970aba
L
146252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14626
14627 * bits/types.h: Fold copyright years.
14628 * bits/typesizes.h: Likewise.
14629 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14631 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14633 * time/time.h: Likewise.
14634
bedee953
PP
146352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14636
14637 [BZ #208]
14638 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14639 in instead of returning them. Return void.
14640 (__libc_mallinfo): Accumulate over all arenas.
14641 (__malloc_stats): Adjust for change in int_mallinfo interface.
14642
61653dfb
RM
146432012-05-16 Roland McGrath <roland@hack.frob.com>
14644
30b99d79
RM
14645 [BZ #10375]
14646 * configure.in (NM): Add AC_CHECK_TOOL for it.
14647 (libc_extra_cflags): New substituted variable.
14648 Check for -fstack-protector being used implicitly.
14649 * configure: Regenerated.
14650 * config.make.in (config-extra-cflags): New variable,
14651 gets @libc_extra_cflags@.
14652 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14653
61653dfb
RM
14654 [BZ #10375]
14655 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14656 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14657 * configure: Regenerated.
14658 * config.make.in (CPPUNDEFS): New substituted variable.
14659 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14660 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14661 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14662
661768bb
L
146632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14666 (mq_attr): Use __syscall_slong_t.
14667
d4261567
L
146682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14669
14670 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14671 Check __x86_64__ instead of __WORDSIZE.
14672 (_STAT_VER_LINUX): Likewise.
14673 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14674 __syscall_ulong_t and __syscall_slong_t.
14675 (stat64): Likewise.
14676
cf3ff365
L
146772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14678
14679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14680
76cf3e4d
L
146812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14682
14683 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14684
a637753a
L
146852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14686
14687 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14688 __syscall_ulong_t.
14689
d5e05119
L
14690 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14691 include <bits/wordsize.h>. Check __x86_64__ instead of
14692 __WORDSIZE.
14693 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14694 defined.
14695 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14696
f62ee380
L
14697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14698 include <bits/wordsize.h>. Check __x86_64__ instead of
14699 __WORDSIZE.
14700 (user_regs_struct): Use "__extension__ unsigned long long"
14701 instead of "unsigned long" if __x86_64__ is defined.
14702 (user): Likewise. Pad after pointer field if __ILP32__ is
14703 defined.
14704
4e124ced
JM
147052012-05-16 Joseph Myers <joseph@codesourcery.com>
14706
6a3951a0
JM
14707 * configure.in (makeinfo): Require version 4.5 or later. Allow
14708 versions 5 to 9.
14709 * configure: Regenerated.
14710 * manual/install.texi (texinfo): Increase version requirement to
14711 4.5 or later.
14712 * INSTALL: Regenerated.
14713
4e124ced
JM
14714 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14715
953ca31a
L
147162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14717
14718 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14719
617aca05
L
14720 * sysdeps/x86_64/x32/ffs.c: New file.
14721
5762f7ae
L
14722 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14723 __syscall_ulong_t.
14724 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14725 defined. Use __syscall_ulong_t.
14726 (shminfo): Use __syscall_ulong_t.
14727 (shm_info): Likewise.
14728
a26b6856
L
14729 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14730 __syscall_ulong_t.
14731
cb2b9ef7
L
14732 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14733 <bits/wordsize.h>.
14734 (msgqnum_t): Use __syscall_ulong_t.
14735 (msglen_t): Likewise.
14736 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14737 __syscall_ulong_t.
14738
34683bb0
L
14739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14740 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14741
84a68786
L
14742 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14743
48baa5f1
L
14744 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14745 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14746
180be88b
L
14747 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14748 __syscall_slong_t.
14749
5e90c8ad
L
14750 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14751 include <bits/wordsize.h>. Check __x86_64__ instead of
14752 __WORDSIZE.
14753
23dfb58b
L
14754 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14755 "unsigned long long int" if __x86_64__ is defined.
14756 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14757
ce5d54b0
L
14758 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14759 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14760 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14761
13dc9eac
L
14762 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14763 <stdint.h>.
14764 (GET_PC): Cast to uintptr_t first.
14765 (GET_FRAME): Likewise.
14766 (GET_STACK): Likewise.
14767
a7895d15
L
14768 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14769 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14774 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14775 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14776 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14780 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14781 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14782 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14783 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14784 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14785 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14786 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14787 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14788 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14789 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14790 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14791 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14792 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14793 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14794 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14795 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14796 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14797
656416c9
AS
147982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14799
5bd66283
AS
14800 * Makerules (+depfiles): Also collect depfiles from .oS in
14801 $(extra-objs).
14802 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14803 .oS, $(libnldbl-routines)).
14804
656416c9
AS
14805 * Makerules (native-compile-mkdep-flags): Define.
14806 * sunrpc/Makefile (extra-objs): Add $(addprefix
14807 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14808 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14809 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14810 calling $(make-target-directory).
14811
a46f2169
L
148122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14813
14814 * bits/types.h (__snseconds_t): Removed.
14815 * time/time.h (struct timespec): Replace __snseconds_t with
14816 __syscall_slong_t.
14817 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14818 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14819 Likewise.
14820 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14821 (__SNSECONDS_T_TYPE): Likewise.
14822 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14823 (__SNSECONDS_T_TYPE): Likewise.
14824 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14825 (__SNSECONDS_T_TYPE): Likewise.
14826
6af6528b
L
148272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14828
14829 * sysdeps/mach/hurd/bits/typesizes.h
14830 (__SYSCALL_SLONG_TYPE): New macro.
14831 (__SYSCALL_ULONG_TYPE): Likewise.
14832
de986b56
L
148332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14834
14835 * bits/types.h (__syscall_slong_t): New type.
14836 (__syscall_ulong_t): Likewise.
14837
14838 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14839 (__SYSCALL_ULONG_TYPE): Likewise.
14840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14841 (__SYSCALL_SLONG_TYPE): Likewise.
14842 (__SYSCALL_ULONG_TYPE): Likewise.
14843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14844 (__SYSCALL_SLONG_TYPE): Likewise.
14845 (__SYSCALL_ULONG_TYPE): Likewise.
14846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14847 (__SYSCALL_SLONG_TYPE): Likewise.
14848 (__SYSCALL_ULONG_TYPE): Likewise.
14849
85736dc7
L
148502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14851
14852 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14853 Add sigaltstack-offsets.sym.
14854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14855 <sigaltstack-offsets.h>.
14856 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14857 longjmp_msg pointer.
14858 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14859 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14860 signal stack.
14861 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14862
cc03b296
JM
148632012-05-15 Joseph Myers <joseph@codesourcery.com>
14864
a9538892
JM
14865 * elf/stackguard-macros.h: Remove file.
14866 * sysdeps/generic/stackguard-macros.h: New file.
14867 * sysdeps/i386/stackguard-macros.h: Likewise.
14868 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14869 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14870 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14871 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14872 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14873 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14874 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14875 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14876 <elf/stackguard-macros.h>.
14877
cc03b296
JM
14878 [BZ #14109]
14879 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14880 __aligned__ in attribute.
14881 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14882 (gregset_t): Likewise.
14883
93171016
L
148842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14885
14886 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14887 * sysdeps/x86_64/64/Implies-after: Here. New file.
14888 * sysdeps/x86_64/x32/Implies-after: New file.
14889
d86813a0
L
148902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14891
14892 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14893 and access return value for _dl_profile_fixup. Use R10_LP to
14894 load frame size.
14895
2953ec75
L
148962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14897
14898 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14899
3b550e9e
L
149002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14901
14902 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14903 * sysdeps/x86_64/x32/sysdep.h: New file.
14904
eda41706
L
149052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14906
14907 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14908 * sysdeps/x86_64/setjmp.S: Likewise.
14909
9ea01d93
AZ
149102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14911
14912 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14913 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14914 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14916 remove unused global constant.
14917
02a91938
CM
149182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14919
14920 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14921 include of <not-cancel.h>.
14922
6540185f
RM
149232012-05-15 Roland McGrath <roland@hack.frob.com>
14924
14925 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14926
509072a0
AJ
149272012-05-15 Jeff Law <law@redhat.com>
14928 Andreas Jaeger <aj@suse.de>
14929
14930 [BZ #13594]
14931 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14932 out from...
14933 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14934 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14935 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14936 code changing __hst_map_handle.map.
14937
ba75122d
RM
149382012-05-15 Roland McGrath <roland@hack.frob.com>
14939
14940 * configure.in (sysnames): Look for Implies-before and Implies-after
14941 files.
14942 * configure: Regenerated.
14943
890d8bd8
L
149442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14945
14946 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14947 8-byte data alignment with LP_SIZE alignment.
14948
f6ee6623
L
149492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14950
14951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14952 into R10_LP.
14953
ea2626f6
L
149542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14955
14956 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14957
085f715e
L
149582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14959
14960 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14961 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14963 Likewise.
14964 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14965
be8498fc
L
149662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14967
14968 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14969 (stackinfo_sub_sp): Likewise.
14970
70bc83b9
L
149712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14972
14973 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14974 RAX_LP.
14975
9bc0b730
L
149762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14977
14978 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14979 into R*_LP.
14980
6d2850e7
L
149812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14982
14983 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14984 sizes into R*_LP.
14985
3cb84561
L
149862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14987
14988 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14989
54e2ed81
L
149902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14991
14992 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14993 into R11_LP and load __x86_64_shared_cache_size_half into
14994 R8_LP.
14995
8a17f349
L
149962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14997
14998 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14999 R8_LP.
15000
777b1eea
AZ
150012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15002
15003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15004 logb for POWER7.
15005 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15006 logbf for POWER7.
15007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15008 logbl for POWER7.
15009 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15010 powerpc32/power7/fpu/s_logb.c via #include.
15011 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15012 powerpc32/power7/fpu/s_logbf.c via #include.
15013 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15014 powerpc32/power7/fpu/s_logbl.c via #include.
15015
d20d4ac2
JM
150162012-05-15 Joseph Myers <joseph@codesourcery.com>
15017
15018 * README.libm: Remove file.
15019
6cdef1ab
L
150202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15021
15022 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15023 count for x32. Use R*_LP and omit operand-size suffix.
15024
0b254d8f
L
150252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15026
15027 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15028 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15029 * sysdeps/x86_64/x32/shlib-versions: New file.
15030
ceb809dc
RM
150312012-05-14 Roland McGrath <roland@hack.frob.com>
15032
15033 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15034 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15035 Use _dl_fatal_printf instead.
15036
37f1abd4
JM
150372012-05-14 Joseph Myers <joseph@codesourcery.com>
15038
15039 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15040 set if not set by the user. Do not allow for being unset.
15041 * sysdeps/unix/sysv/linux/configure: Regenerated.
15042
11de3a33
L
150432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15044
15045 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15046 the `q' suffix from lea and replace .quad with ASM_ADDR.
15047
e02f153a
L
150482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15049
15050 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15051 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15052 instead of $17.
15053 (PTR_DEMANGLE): Likewise.
15054
520ae0fd
L
150552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15056
15057 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15058 (LP_OP): Likewise.
15059 (ASM_ADDR): Likewise.
15060 (RAX_LP): Likewise.
15061 (RBP_LP): Likewise.
15062 (RBX_LP): Likewise.
15063 (RCX_LP): Likewise.
15064 (RDI_LP): Likewise.
15065 (RSI_LP): Likewise.
15066 (RSP_LP): Likewise.
15067 (R8_LP): Likewise.
15068 (R9_LP): Likewise.
15069 (R10_LP): Likewise.
15070 (R10_LP): Likewise.
15071 (R11_LP): Likewise.
15072 (R12_LP): Likewise.
15073 (R13_LP): Likewise.
15074 (R14_LP): Likewise.
15075 (R15_LP): Likewise.
15076
b985be81
L
150772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15078
15079 * sysdeps/x86_64/x32/dl-machine.h: New file.
15080
6a4888ff
AJ
150812012-05-14 Andreas Jaeger <aj@suse.de>
15082
15083 * manual/Makefile (subdir): Remove export of subdir.
15084 (all): Remove target.
15085 (.PHONY): Remove all from list.
15086 (mkinstalldirs): Remove.
15087 (.PHONY): Remove installdirs from list.
15088 ($(inst_infodir)/libc.info): Use make-target-directory.
15089 (installdirs): Remove.
15090 (subdir_%): Remove.
15091 (glibc-targets): Remove.
15092 (lib): Remove.
15093 (stubs): Remove.
15094 ($(objpfx)stubs ../po/manual.pot): Remove.
15095 ($(objpfx)stamp%): Remove.
15096 (make-target-directory): Remove.
15097 (subdir_install): Remove.
15098 (routines): Remove.
15099 (aux): Remove.
15100 (sources): Remove.
15101 (objects): Remove.
15102 (headers): Remove.
15103
15104 [BZ #13750]
15105 * manual/.gitignore: Remove, it's not needed anymore.
15106 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15107 all files in it.
15108 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15109 directory.
15110 (texis): Renamed to $(objpfx)texis.
15111 (texis-path): New, contains path to generated files.
15112 (chapters.%): Use texis-path for complete path, add extra argument
15113 libc-texinfo.sh.
15114 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15115 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15116 (summary,texi, stamp-summary): Use complete path of
15117 files. Generate files in build dir.
15118 (dir-add.texi): Build in build dir.
15119 (libm-err.texi,stamp-libm-err): Likewise.
15120 (version.texi, stamp-version): Likewise.
15121 (.%c.texi): Likewise.
15122 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15123 (mostlyclean): Remove target.
15124 (realclean): Remove target.
15125 (generated): Add new variable with contents from mostlyclean and
15126 realclean, remove entries duplicated in common-mostlyclean, add
15127 stamp-libm-err and stamp-version.
15128 (generated-dirs): Add libc directory.
15129 ($(inst_infodir)/libc.info): Install files from build dir.
15130
15131 * manual/install.texi (Configuring and compiling): Adjust since
15132 the info files are not part of the tar ball anymore.
15133
7ac77294
AJ
151342012-05-14 Andreas Jaeger <aj@suse.de>
15135
15136 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15137 variable.
15138
ffb7875d
JM
151392012-05-14 Joseph Myers <joseph@codesourcery.com>
15140
15141 [BZ #13717]
15142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15143 to 2.2.0 where earlier.
15144 * sysdeps/unix/sysv/linux/configure: Regenerated.
15145 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15146 Remove conditional code.
15147 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15148 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15149 Remove conditional code.
15150 [!__NR_lchown]: Likewise.
15151 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15152 [__NR_lchown]: Likewise.
15153 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15154 comment referencing __ASSUME_LCHOWN_SYSCALL.
15155 * sysdeps/unix/sysv/linux/i386/sigaction.c
15156 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15157 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15158 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15159 Remove conditional code.
15160 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15161 (__protocol_available): Remove #if 0 code.
15162 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15163 conditional code.
15164 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15165 * sysdeps/unix/sysv/linux/kernel-features.h
15166 (__ASSUME_GETCWD_SYSCALL): Don't define.
15167 (__ASSUME_REALTIME_SIGNALS): Likewise.
15168 (__ASSUME_PREAD_SYSCALL): Likewise.
15169 (__ASSUME_PWRITE_SYSCALL): Likewise.
15170 (__ASSUME_POLL_SYSCALL): Likewise.
15171 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15172 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15173 non-SPARC.
15174 (__ASSUME_SIOCGIFNAME): Don't define.
15175 (__ASSUME_MSG_NOSIGNAL): Likewise.
15176 (__ASSUME_SENDFILE): Define unconditionally.
15177 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15178 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15179 conditional code.
15180 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15181 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15182 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15183 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15184 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15185 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15186 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15188 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15191 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15194 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15197 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15200 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15206 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15211 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15212 Remove conditional code.
15213 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15214 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15215 Remove conditional code.
15216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15217 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15218 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15219 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15220 Remove conditional code.
15221 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15222 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15223 Remove conditional code.
15224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15225 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15226 Remove conditional code.
15227 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15228 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15229 Remove conditional code.
15230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15231 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15232 Remove conditional code.
15233 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15234 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15237 * sysdeps/unix/sysv/linux/sigaction.c
15238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15240 * sysdeps/unix/sysv/linux/sigpending.c
15241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15243 * sysdeps/unix/sysv/linux/sigprocmask.c
15244 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15245 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15246 * sysdeps/unix/sysv/linux/sigsuspend.c
15247 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15248 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15249 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15250 (__libc_missing_rt_sigs): Remove.
15251 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15252 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15253 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15254 Remove conditional code.
15255 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15256 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15257 return 1.
15258 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15259 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15260 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15261 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15262
1bfb7291
AJ
152632012-05-14 Andreas Jaeger <aj@suse.de>
15264
caae5a81
AJ
15265 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15266 it's not used in glibc.
15267 (__coshm1): Likewise.
15268 (__acosh1p): Likewise.
15269 (__sgn): Likewise.
15270
1bfb7291
AJ
15271 * manual/string.texi (Copying and Concatenation): Add missing
15272 variable in concat example.
15273 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15274
c044d724
L
152752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15276
144c5467 15277 [BZ #14103]
c044d724
L
15278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15279 __builtin_clzl with __builtin_clzll.
15280
2523c62b
L
152812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15282
15283 [BZ #14104]
15284 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15285 libc_freeres_ptr.
15286
d7bb4c42
LD
152872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15288
15289 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15290 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15291 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15292 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15293
9dc4e1fb
MF
152942012-05-14 Mike Frysinger <vapier@gentoo.org>
15295
15296 * NEWS: Update ia64 info.
15297
c7df0112
AS
152982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15299
15300 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15301 used as bcopy.
15302
dc70356c
TS
153032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15304
15305 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15306 * sysdeps/unix/syscalls.list (dup3): Likewise.
15307 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15308 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15309
9fb1a21f
L
153102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15311
15312 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15313 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15314
4822a2a5
L
153152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15316
15317 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15318 thread pointer.
15319 (TLS_IE): Use mov/add instead of movq/addq to load thread
15320 pointer.
15321 (TLS_GD_PREFIX): New.
15322 (TLS_GD): Use it.
15323
842b81d6
DM
153242012-05-11 David S. Miller <davem@davemloft.net>
15325
15326 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15327 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15328 (_FPU_SETCW): Likewise.
15329
1cf463cd
L
153302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15331
15332 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15333 is 32-byte aligned.
15334
60cc4a18
AS
153352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15336
15337 [BZ #11837]
15338 * iconvdata/gb18030.c: Update tables.
15339 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15340 characters specially.
15341 (BODY for TO_LOOP): Add encoding of missing ranges.
15342
febb44a4
TS
153432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15344
15345 [BZ #13673]
15346 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15347 * sysdeps/mach/hurd/dup3.c: Likewise.
15348 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15349 * sysdeps/powerpc/memmove.c:: Likewise.
15350
0a10fb9e
L
153512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15352
15353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15354 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15355
df8a552f
L
153562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15357
15358 * elf/elf.h (R_X86_64_RELATIVE64): New.
15359 (R_X86_64_NUM): Updated.
15360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15361 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15362 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15363 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15364 tst-quad1pie tst-quad2pie
15365 (modules-names): Add tst-quadmod1 tst-quadmod2.
15366 ($(objpfx)tst-quad1): New dependency.
15367 ($(objpfx)tst-quad2): Likewise.
15368 ($(objpfx)tst-quad1pie): Likewise.
15369 ($(objpfx)tst-quad2pie): Likewise.
15370 * sysdeps/x86_64/tst-quad1.c: New file.
15371 * sysdeps/x86_64/tst-quad1pie.c: New file.
15372 * sysdeps/x86_64/tst-quad2.c: Likewise.
15373 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15374 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15375 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15376 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15377 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15378
f34d6f84
ST
153792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15380
f42d41d1
ST
15381 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15382 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15383 * streams/stropts.h (t_scalar_t): Define type.
15384
3c3571fc
ST
15385 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15386 (_PATH_PRESERVE): Set to "/var/lib".
15387 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15388
61f06bd3
ST
15389 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15390 instead of int.
15391
918d4d71
ST
15392 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15393 if __dir_mkfile succeeded.
15394
f34d6f84
ST
15395 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15396 checking for _hurd_dtablesize. Unlock it right after having
15397 finished _hurd_dtable allocation.
15398
10589b4a
TS
153992012-05-10 Thomas Schwinge <thomas@schwinge.name>
15400
674cdbc7
TS
15401 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15402 * sysdeps/mach/hurd/configure: Regenerated.
15403 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15404 special-casing to...
15405 * sysdeps/gnu/configure.in: ... this new file.
15406 * sysdeps/unix/sysv/linux/configure: Regenerated.
15407 * sysdeps/gnu/configure: New generated file.
15408
8e41b99f
TS
15409 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15410 for Linux: use nsec instead of usec, as well as:
15411 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15412 members of type struct timespec.
15413 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15414 New macros.
15415 (struct stat64): Likewise.
15416 (_STATBUF_ST_NSEC): New macro.
15417 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15418
10589b4a
TS
15419 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15420 __strtoul_internal rather than strtoul.
15421
63643c85
PT
154222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15423
15424 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15425 and reject them.
15426
3faebe6a
ST
154272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15428
15429 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15430 which preserves existing values.
15431 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15432
c6474b07
PT
154332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15434
15435 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15436 TIMEOUT values. Return EINVAL for NFDS values either negative or
15437 greater than FD_SETSIZE.
15438
1043890b
ST
154392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15440
15441 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15442 allocated, call __vm_protect to finish enabling the existing space, and
15443 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15444 allocate the remainder.
15445
37ed8b9b
PT
154462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15447
15448 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15449 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15450
db653660
ST
154512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15452
37ed8b9b
PT
15453 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15454 sysdeps/mach/hurd/readlink.c.
b29d4053 15455
db653660
ST
15456 * posix/tst-sysconf.c (posix_options): Only use
15457 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15458 _POSIX_SYNCHRONIZED_IO when they are defined
15459 * sysdeps/mach/hurd/bits/posix_opt.h:
15460 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15461 (_XOPEN_REALTIME): Undefine macro.
15462 (_XOPEN_REALTIME_THREADS): Undefine macro.
15463 (_XOPEN_SHM): Undefine macro.
15464 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15465 macro to -1.
15466 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15467 macro to -1.
15468 (_POSIX_ASYNC_IO): Undefine macro.
15469 (_POSIX_PRIORITIZED_IO): Undefine macro.
15470 (_POSIX_SPIN_LOCKS): Define macro to -1.
15471
ee16e894
ST
15472 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15473 SA_NODEFER, SA_RESETHAND.
15474 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15475 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15476 F_DUPFD_CLOEXEC.
15477
6103ae3b
TS
154782012-05-10 Thomas Schwinge <thomas@schwinge.name>
15479
15480 * elf/Makefile (pldd-modules): Define unconditionally.
15481
80b4e5f3
TS
154822012-05-10 Thomas Schwinge <thomas@schwinge.name>
15483
15484 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15485
edadcbd6
ST
154862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15487
15488 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15489 Return ENOENT when name is empty.
15490 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15491
80694780
TS
154922012-05-10 Thomas Schwinge <thomas@schwinge.name>
15493
1792c087
TS
15494 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15495
80694780
TS
15496 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15497
6b645f0d
ST
154982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15499
80694780
TS
15500 Fix mlock in all cases except non-readable pages.
15501 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15502 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15503
6b645f0d
ST
15504 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15505 (__mkdir): When path is `/', just fail with EEXIST.
15506 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15507
e468f8a3
TS
155082012-05-10 Thomas Schwinge <thomas@schwinge.name>
15509
15510 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15511 <sys/uio.h> (for writev).
15512 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15513 and <sys/param.h> (for MIN).
15514
a4186cff
PT
155152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15516
15517 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15518 REQUESTED_TIME. Properly set the remaining time and return EINTR
15519 if interrupted.
15520
510bbf14
TS
155212012-05-10 Thomas Schwinge <thomas@schwinge.name>
15522
15523 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15524 Depend on against $(link-rpcuserlibs).
15525
5d5722e8
ST
155262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15527
a4186cff
PT
15528 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15529 (__libc_stack_end): Do not use attribute_relro.
15530 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15531 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15532 to libthread-provided value.
a4186cff
PT
15533 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15534 attribute_relro.
5d5722e8 15535
37233df9
TS
155362012-05-10 Thomas Schwinge <thomas@schwinge.name>
15537
be971a2b
TS
15538 [BZ #3748]
15539 * bits/libc-lock.h (__libc_once_get): New macro.
15540 * sysdeps/mach/bits/libc-lock.h: Likewise.
15541 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15542 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15543 instead of using implementation details.
15544
37233df9
TS
15545 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15546 * libio/freopen.c: Likewise.
15547 * libio/freopen64.c: Likewise.
15548 * misc/syslog.c: Likewise.
15549 * nscd/connections.c: Likewise.
15550 * nscd/netgroupcache.c: Likewise.
15551 * sysdeps/posix/getcwd.c: Likewise.
15552
38de94a5
RM
155532012-05-10 Roland McGrath <roland@hack.frob.com>
15554
15555 * math/w_ilogbf.c: Add #include <limits.h>.
15556
67530489
ST
155572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15558
a4186cff 15559 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15560 path instead of returning without unlocking.
15561
67530489
ST
15562 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15563 immediate-write ioctls.
15564 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15565
5aa3a74a
TS
155662012-05-10 Thomas Schwinge <thomas@schwinge.name>
15567
18bad2ae
TS
15568 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15569 __builtin_frame_address instead of making assumptions about the
15570 location of the return address relative to DATA. Force early load of
15571 the return address.
15572 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15573 __builtin_frame_address.
15574
5aa3a74a
TS
15575 dup3 for GNU Hurd.
15576 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15577 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15578 implement dup3 and do some further code clean-ups.
15579 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15580 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15581
ecd0de9a
ST
155822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15583
cd9fa985
ST
15584 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15585
a4186cff
PT
15586 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15587 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15588 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15589 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15590 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15591 d->port.lock.
802ca5a5 15592
a4186cff
PT
15593 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15594 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15595 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15596
bcf55240
TS
155972012-05-10 Thomas Schwinge <thomas@schwinge.name>
15598
6960eb42
TS
15599 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15600 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15601 definitions.
15602
eb43375f
TS
15603 accept4 for GNU Hurd.
15604 * include/sys/socket.h (__libc_accept4): New prototype.
15605 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15606 to implement __libc_accept4.
15607 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15608 __libc_accept4.
15609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15610
bcf55240
TS
15611 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15612 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15613 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15614 signal-defines.sym.
15615
6178c55b
ST
156162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15617
a4186cff 15618 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15619
6f080c2f
TS
156202012-05-10 Thomas Schwinge <thomas@schwinge.name>
15621
15622 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15623 assertion on O_CLOEXEC flag.
15624 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15625 * hurd/intern-fd.c: Likewise.
15626 * hurd/port2fd.c: Likewise.
15627
bcfe3a54
ST
156282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15629
15630 [BZ #3906]
15631 * bits/in.h (IPV6_PKTINFO): Define new macro.
15632 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15633
89c9aa49
AZ
156342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15635
15636 [BZ #13954]
15637 [BZ #13955]
15638 [BZ #13956]
15639 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15640 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15641 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15642 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15644 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15645 * math/libm-test.inc (logb_test) : Additional logb tests.
15646
021db4be
AJ
156472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15648 Andreas Jaeger <aj@suse.de>
15649
15650 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15651 * configure: Regenerated.
15652 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15653 * config.make.in (link-obsolete-rpc): New substituted variable.
15654 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15655 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15656 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15657 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15658 so that libc.a contains the symbols.
15659 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15660 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15661 * sunrpc/auth_none.c: Likewise.
15662 * sunrpc/auth_unix.c: Likewise.
15663 * sunrpc/authdes_prot.c: Likewise.
15664 * sunrpc/authuxprot.c: Likewise.
15665 * sunrpc/clnt_gen.c: Likewise.
15666 * sunrpc/clnt_perr.c: Likewise.
15667 * sunrpc/clnt_raw.c: Likewise.
15668 * sunrpc/clnt_simp.c: Likewise.
15669 * sunrpc/clnt_tcp.c: Likewise.
15670 * sunrpc/clnt_udp.c: Likewise.
15671 * sunrpc/clnt_unix.c: Likewise.
15672 * sunrpc/des_crypt.c: Likewise.
15673 * sunrpc/des_soft.c: Likewise.
15674 * sunrpc/get_myaddr.c: Likewise.
15675 * sunrpc/key_call.c: Likewise.
15676 * sunrpc/key_prot.c: Likewise.
15677 * sunrpc/netname.c: Likewise.
15678 * sunrpc/pm_getmaps.c: Likewise.
15679 * sunrpc/pm_getport.c: Likewise.
15680 * sunrpc/pmap_clnt.c: Likewise.
15681 * sunrpc/pmap_prot.c: Likewise.
15682 * sunrpc/pmap_prot2.c: Likewise.
15683 * sunrpc/pmap_rmt.c: Likewise.
15684 * sunrpc/publickey.c: Likewise.
15685 * sunrpc/rpc_cmsg.c: Likewise.
15686 * sunrpc/rpc_common.c: Likewise.
15687 * sunrpc/rpc_dtable.c: Likewise.
15688 * sunrpc/rpc_prot.c: Likewise.
15689 * sunrpc/rpc_thread.c: Likewise.
15690 * sunrpc/rtime.c: Likewise.
15691 * sunrpc/svc.c: Likewise.
15692 * sunrpc/svc_auth.c: Likewise.
15693 * sunrpc/svc_raw.c: Likewise.
15694 * sunrpc/svc_run.c: Likewise.
15695 * sunrpc/svc_tcp.c: Likewise.
15696 * sunrpc/svc_udp.c: Likewise.
15697 * sunrpc/svc_unix.c: Likewise.
15698 * sunrpc/svcauth_des.c: Likewise.
15699 * sunrpc/xcrypt.c: Likewise.
15700 * sunrpc/xdr.c: Likewise.
15701 * sunrpc/xdr_array.c: Likewise.
15702 * sunrpc/xdr_float.c: Likewise.
15703 * sunrpc/xdr_intXX_t.c: Likewise.
15704 * sunrpc/xdr_mem.c: Likewise.
15705 * sunrpc/xdr_rec.c: Likewise.
15706 * sunrpc/xdr_ref.c: Likewise.
15707 * sunrpc/xdr_sizeof.c: Likewise.
15708 * sunrpc/xdr_stdio.c: Likewise.
15709
b5c086a2
RM
157102012-05-10 Roland McGrath <roland@hack.frob.com>
15711
15712 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15713 change. Update copyright years.
15714
6d74dd09
JM
157152012-05-10 Joseph Myers <joseph@codesourcery.com>
15716
15717 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15718
28e72501
MK
157192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15720 Joseph Myers <joseph@codesourcery.com>
15721 Paul Pluzhnikov <ppluzhnikov@google.com>
15722
15723 [BZ #14012]
15724 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15725 requiring rpcgen.
15726 [cross-compiling] (extra-libs): Likewise.
15727 [cross-compiling] (extra-libs-others): Likewise.
15728 [cross-compiling] (librpcsvc-routines): Likewise.
15729 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15730 [cross-compiling] (omit-deps): Likewise.
15731 (sunrpc-CPPFLAGS): New variable.
15732 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15733 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15734 (cross-rpcgen-objs): New variable.
15735 (extra-objs): Append $(cross-rpcgen-objs).
15736 ($(cross-rpcgen-objs)): New rule.
15737 ($(objpfx)cross-rpcgen): Likewise.
15738 (rpcgen-cmd): Define to use $(built-program-file). Expand
15739 comment.
15740 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15741 ($(objpfx)x%.stmp): Likewise.
15742 * sunrpc/proto.h [IS_IN_build] (_): Define.
15743 [IS_IN_build] (_libc_intl_domainname): Likewise.
15744
c8c59454
L
157452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15746
15747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15748 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15749 and R_X86_64_TPOFF64.
15750
6f27cd16
JM
157512012-05-10 Joseph Myers <joseph@codesourcery.com>
15752
15753 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15754 sysdeps/unix/sysv/syscalls.list.
15755 (stime): Likewise.
15756 (utime): Likewise.
15757 * sysdeps/unix/sysv/syscalls.list: Remove file.
15758
02467e1c
PE
157592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15760
15761 [BZ #3440]
15762 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15763 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15764 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15765 (__LC_IDENTIFICATION): Make these macros useful in #if
15766 expressions, as required by C99.
15767
da392631
AS
157682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15769
15770 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15771 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15772 after this.
15773
8115f29b
L
157742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15775
15776 * stdlib/longlong.h: Updated from GCC.
15777
bdd74070
AJ
157782012-05-09 Andreas Jaeger <aj@suse.de>
15779
edfe0dbe
AJ
15780 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15781 default is first entry.
15782 (run_mode): Set type.
15783 (main): Remove informal message about syslog.
15784 (options): Fix typo.
15785
bcfe3a54
ST
15786 [BZ #14053]
15787 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15788 to asm.
bcfe3a54
ST
15789 (lrint): Likewise.
15790 (llrintf): Likewise.
15791 (llrint): Likewise.
15792 (rint): Likewise.
15793 (rintf): Likewise.
15794 (nearbyint): Likewise.
15795 (nearbyintf): Likewise.
bdd74070 15796
91d8d69e
AJ
157972012-05-09 Andreas Jaeger <aj@suse.de>
15798 Pedro Alves <palves@redhat.com>
15799
15800 * nscd/nscd.c (run_mode): Use enum.
15801 (main): Cleanup coding style issue.
15802
bb90b80b
AJ
158032012-05-09 Alexandre Oliva <aoliva@redhat.com>
15804 Andreas Jaeger <aj@suse.de>
15805
bcfe3a54
ST
15806 * nscd/nscd.c (go_background): Replaced with...
15807 (run_mode): ... this.
bb90b80b 15808 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15809 (options): Add -F --foreground.
15810 (main): Implement it.
15811 (parse_opt): Parse it.
bb90b80b 15812
1a4b75a1
AJ
158132012-05-09 Andreas Jaeger <aj@suse.de>
15814
15815 [BZ #14083]
15816 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15817 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15818 -Wconversion warning.
15819 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15820 Likewise.
15821
b1cc2472
JM
158222012-05-09 Joseph Myers <joseph@codesourcery.com>
15823
15824 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15825 == 0.
15826 (LC_ALL): Use macro-int-constant.
15827 (LC_COLLATE): Likewise.
15828 (LC_CTYPE): Likewise.
15829 (LC_MESSAGES): Likewise.
15830 (LC_MONETARY): Likewise.
15831 (LC_NUMERIC): Likewise.
15832 (LC_TIME): Likewise.
15833 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15834 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15835 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15836 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15837 Specify type.
15838 [C99-based standards] (float_t): Expect type.
15839 [C99-based standards] (double_t): Expect type.
15840 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15841 type.
15842 [C99-based standards] (HUGE_VALL): Likewise.
15843 [C99-based standards] (INFINITY): Likewise.
15844 [C99-based standards] (NAN): Likewise.
15845 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15846 [C99-based standards] (FP_NAN): Likewise.
15847 [C99-based standards] (FP_NORMAL): Likewise.
15848 [C99-based standards] (FP_SUBNORMAL): Likewise.
15849 [C99-based standards] (FP_ZERO): Likewise.
15850 [C99-based standards] (FP_FAST_FMA): Use
15851 optional-macro-int-constant. Specify type. Require == 1.
15852 [C99-based standards] (FP_FAST_FMAF): Likewise.
15853 [C99-based standards] (FP_FAST_FMAL): Likewise.
15854 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15855 [C99-based standards] (FP_ILOGBNAN): Likewise.
15856 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15857 Specify type.
15858 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15859 [C99-based standards] (math_errhandling): Specify type.
15860 [ISO99 || ISO11] (signgam): Do not allow.
15861 [non-C99-based standards] (copysignf): Do not allow.
15862 [non-C99-based standards] (exp2f): Likewise.
15863 [non-C99-based standards] (log2f): Likewise.
15864 [non-C99-based standards] (modff): Allow.
15865 [non-C99-based standards] (erff): Do not allow.
15866 [non-C99-based standards] (erfcf): Likewise.
15867 [non-C99-based standards] (gammaf): Likewise.
15868 [non-C99-based standards] (hypotf): Likewise.
15869 [non-C99-based standards] (j0f): Likewise.
15870 [non-C99-based standards] (j1f): Likewise.
15871 [non-C99-based standards] (jnf): Likewise.
15872 [non-C99-based standards] (lgammaf): Likewise.
15873 [non-C99-based standards] (tgammaf): Likewise.
15874 [non-C99-based standards] (y0f): Likewise.
15875 [non-C99-based standards] (y1f): Likewise.
15876 [non-C99-based standards] (ynf): Likewise.
15877 [non-C99-based standards] (isnanf): Likewise.
15878 [non-C99-based standards] (acoshf): Likewise.
15879 [non-C99-based standards] (asinhf): Likewise.
15880 [non-C99-based standards] (atanhf): Likewise.
15881 [non-C99-based standards] (cbrtf): Likewise.
15882 [non-C99-based standards] (expm1f): Likewise.
15883 [non-C99-based standards] (ilogbf): Likewise.
15884 [non-C99-based standards] (log1pf): Likewise.
15885 [non-C99-based standards] (logbf): Likewise.
15886 [non-C99-based standards] (nextafterf): Likewise.
15887 [non-C99-based standards] (remainderf): Likewise.
15888 [non-C99-based standards] (rintf): Likewise.
15889 [non-C99-based standards] (scalbf): Likewise.
15890 [non-C99-based standards] (copysignl): Likewise.
15891 [non-C99-based standards] (exp2l): Likewise.
15892 [non-C99-based standards] (log2l): Likewise.
15893 [non-C99-based standards] (modfl): Allow.
15894 [non-C99-based standards] (erfl): Do not allow.
15895 [non-C99-based standards] (erfcl): Likewise.
15896 [non-C99-based standards] (gammal): Likewise.
15897 [non-C99-based standards] (hypotl): Likewise.
15898 [non-C99-based standards] (j0l): Likewise.
15899 [non-C99-based standards] (j1l): Likewise.
15900 [non-C99-based standards] (jnl): Likewise.
15901 [non-C99-based standards] (lgammal): Likewise.
15902 [non-C99-based standards] (tgammal): Likewise.
15903 [non-C99-based standards] (y0l): Likewise.
15904 [non-C99-based standards] (y1l): Likewise.
15905 [non-C99-based standards] (ynl): Likewise.
15906 [non-C99-based standards] (isnanl): Likewise.
15907 [non-C99-based standards] (acoshl): Likewise.
15908 [non-C99-based standards] (asinhl): Likewise.
15909 [non-C99-based standards] (atanhl): Likewise.
15910 [non-C99-based standards] (cbrtl): Likewise.
15911 [non-C99-based standards] (expm1l): Likewise.
15912 [non-C99-based standards] (ilogbl): Likewise.
15913 [non-C99-based standards] (log1pl): Likewise.
15914 [non-C99-based standards] (logbl): Likewise.
15915 [non-C99-based standards] (nextafterl): Likewise.
15916 [non-C99-based standards] (remainderl): Likewise.
15917 [non-C99-based standards] (rintl): Likewise.
15918 [non-C99-based standards] (scalbl): Likewise.
15919 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15920 [non-C99-based standards] (FP_*): Do not allow.
15921 [C99-based standards] (FP_*): Change to
15922 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15923 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15924 allow.
15925 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15926 (SIG_ERR): Likewise.
15927 [X/Open-based standards] (SIG_HOLD): Likewise.
15928 (SIG_IGN): Likewise.
15929 (SIGABRT): Use macro-int-constant. Specify type. Require
15930 positive value.
15931 (SIGFPE): Likewise.
15932 (SIGILL): Likewise.
15933 (SIGINT): Likewise.
15934 (SIGSEGV): Likewise.
15935 (SIGTER): Likewise.
15936 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15937 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15938 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15939 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15940 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15941 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15942 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15943 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15944 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15945 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15946 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15947 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15948 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15949 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15950 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15951 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15952 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15953 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15954 [X/Open-based standards] (SIGTRAP): Likewise.
15955 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15956 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15957 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15958 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15959 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15960 allow.
15961
b9f1922d
IW
159622012-05-08 Ian Wienand <ianw@vmware.com>
15963
15964 [BZ #14080]
15965 * time/tzset.c (__tzset_parse_tz): Update default rules for
15966 daylight time changes in the Energy Policy Act of 2005.
15967
1db86e88
AJ
159682012-05-09 Andreas Jaeger <aj@suse.de>
15969
15970 [BZ #13983]
15971 * elf/ldconfig.c (parse_conf): Change string to make clear that
15972 ldconfig only issued a warning if ld.so.conf does not exist.
15973
dee4a4e3
DM
159742012-05-08 David S. Miller <davem@davemloft.net>
15975
ee0db190
DM
15976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15977 movxtod instead of popping the value on the stack.
15978
dee4a4e3
DM
15979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15980
6a43ec98
CD
159812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15982
15983 * config.h.in: Add HAVE_ARM_PCS_VFP.
15984
05c2c961
RMG
159852012-05-08 Roland Mc Grath <roland@hack.frob.com>
15986
bcfe3a54
ST
15987 [BZ #13979]
15988 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15989 checking but the checks are disabled for any reason.
05c2c961 15990
4b30f61a
L
159912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15992
15993 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15994 and ELF64_R_TYPE with ELFW(R_TYPE).
15995
eee2bc67
JM
159962012-05-08 Joseph Myers <joseph@codesourcery.com>
15997
7ea5391a
JM
15998 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15999 (ulimit): Likewise.
16000
eee2bc67
JM
16001 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16002 (settimeofday): Likewise.
16003
abb66a67
MF
160042012-05-08 Mike Frysinger <vapier@gentoo.org>
16005
16006 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16007 a struct th_u2 inside the union, and move tu_block/tu_code into
16008 a new th_u3 union of tu_block/tu_code inside of that. Move
16009 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16010 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16011 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16012 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16013 (th_stuff): Change to th_u1.tu_stuff.
16014 (th_data): Define.
16015 (th_msg): Change to th_u1.th_u2.tu_data.
16016
7f18b530
DM
160172012-05-07 David S. Miller <davem@davemloft.net>
16018
05760585
DM
16019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16020
7f18b530
DM
16021 [BZ #14074]
16022 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16023 (SETUP_PIC_REG): Use it.
16024 (SETUP_PIC_REG_LEAF): Use it.
16025
495fd99f
JM
160262012-05-07 Joseph Myers <joseph@codesourcery.com>
16027
16028 [BZ #13885]
16029 [BZ #13923]
16030 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16031 USE_AS_EXPM1L.
16032 (EXPL_FINITE): Likewise.
16033 (FLDLOG): Likewise.
16034 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16035 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16036 e_expl.S.
16037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16038 USE_AS_EXPM1L.
16039 (EXPL_FINITE): Likewise.
16040 (FLDLOG): Likewise.
16041 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16042 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16043 e_expl.S.
16044 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16045 test of -max_value argument for long double.
16046 * sysdeps/i386/fpu/libm-test-ulps: Update.
16047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16048
6693d694
DM
160492012-05-06 David S. Miller <davem@davemloft.net>
16050
16051 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16052 quad soft-float symbols whose references which are compiler
16053 generated.
16054 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16055
6c23e11c
JM
160562012-05-06 Joseph Myers <joseph@codesourcery.com>
16057
d8b82cad
JM
16058 [BZ #13884]
16059 [BZ #13914]
16060 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16061 USE_AS_EXP10L.
16062 (EXPL_FINITE): Likewise.
16063 (FLDLOG): Likewise.
16064 (c0): Likewise.
16065 (c1): Likewise.
16066 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16067 Adjust comments for base varying.
16068 (__expl_finite): Change alias to EXPL_FINITE.
16069 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16070 e_expl.S.
16071 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16072 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16074 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16075 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16076 USE_AS_EXP10L.
16077 (EXPL_FINITE): Likewise.
16078 (FLDLOG): Likewise.
16079 (c0): Likewise.
16080 (c1): Likewise.
16081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16082 Adjust comments for base varying.
16083 (__expl_finite): Change alias to EXPL_FINITE.
16084 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16085 tests for bugs.
16086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16087
6c23e11c
JM
16088 [BZ #14064]
16089 * math/libm-test.inc (check_float_internal): Correct ulp
16090 calculation for subnormal expected results.
16091
29ba805c
AJ
160922012-05-06 Andreas Jaeger <aj@suse.de>
16093
16094 * Makeconfig (+math-flags): New, set to -frounding-math.
16095 (+cflags): Add +math-flags so that all of glibc gets compiled with
16096 it.
16097
16098 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16099
7b17aeda
JM
161002012-05-05 Joseph Myers <joseph@codesourcery.com>
16101
5779f134
JM
16102 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16103 Disable one test.
16104
41498f4d
JM
16105 [BZ #13787]
16106 [BZ #13922]
16107 [BZ #14036]
16108 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16109 (__ieee754_expl): Allow for and saturate large arguments.
16110 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16111 (u_threshold): Likewise.
16112 (__exp): Call __ieee754_exp before checking for overflow and
16113 underflow.
16114 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16115 (u_threshold): Likewise.
16116 (__expf): Call __ieee754_expf before checking for overflow and
16117 underflow.
16118 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16119 (u_threshold): Likewise.
16120 (__expl): Call __ieee754_expl before checking for overflow and
16121 underflow.
16122 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16123 (__ieee754_expl): Allow for and saturate large arguments.
16124 * math/libm-test.inc (exp_test): Add another test. Do not allow
16125 missing overflow exception on overflow.
16126 (expm1_test): Do not allow missing overflow exception on overflow.
16127
6698b8bf
JM
16128 * sysdeps/i386/fpu/e_expl.c: Move to ...
16129 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16130 rather than using inline asm.
16131 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16132 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16133 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16134
7b17aeda
JM
16135 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16136 (nice): Likewise.
16137 (poll): Likewise.
16138 (signal): Likewise.
16139 (time): Likewise.
16140 (times): Likewise.
16141
f7c85819
JM
161422012-05-04 Joseph Myers <joseph@codesourcery.com>
16143
16144 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16145 sysdeps/unix/common/syscalls.list.
16146 (fchmod): Likewise.
16147 (fchown): Likewise.
16148 (ftruncate): Likewise.
16149 (getrusage): Likewise.
16150 (gettimeofday): Likewise.
16151 (setpgid): Likewise.
16152 (setregid): Likewise.
16153 (setreuid): Likewise.
16154 (sigaction): Likewise.
16155 (truncate): Likewise.
16156 (vhangup): Likewise.
16157 * sysdeps/unix/common/syscalls.list: Remove file.
16158 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16159 * sysdeps/unix/sysv/linux/Implies: Likewise.
16160
336270d0
L
161612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16162
16163 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16164 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16165 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16166 Moved to ...
16167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16168 Here.
16169 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16170 to ...
16171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16172 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16173 to ...
16174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16175 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16176 to ...
16177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16178 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16179 to ...
16180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16181 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16182 to ...
16183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16184 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16185 to ...
16186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16187 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16188 to ...
16189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16190 Here.
16191 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16192 to ...
16193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16194 Here.
16195 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16196 to ...
16197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16198 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16199 Moved to ...
16200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16201 Here.
16202 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16203 to ...
16204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16205
d128e450
JM
162062012-05-04 Joseph Myers <joseph@codesourcery.com>
16207
fa8ee516
JM
16208 * sysdeps/unix/common/bits/dirent.h: Remove file.
16209 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16210
d128e450
JM
16211 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16212 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16213 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16214 * sysdeps/unix/bsd/isatty.c: Likewise.
16215 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16216 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16217 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16218
ff8faaf0 162192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16220
62881be4 16221 [BZ #13563]
31dc8730
AZ
16222 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16223 long double comparison inaccuracies.
16224 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16226
6fef930c
AS
162272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16228
16229 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16230 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16231
8f203e6c
JM
162322012-05-04 Joseph Myers <joseph@codesourcery.com>
16233
16234 [BZ #14049]
16235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16236 nonzero digits before rounding a hex value.
16237 * stdlib/tst-strtod.c (tests): Add another test.
16238
5197d9c2
AK
162392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16240
16241 * sysdeps/s390/fpu/libm-test-ulps: Update.
16242
f0c1dedf
AJ
162432012-05-03 Andreas Jaeger <aj@suse.de>
16244
16245 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16246 does not get optimized out.
16247 (malloc_opt_barrier): New.
16248
a65ef2ae 162492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16250 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16251
2b942cb7 16252 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16253 intermediate file deletion.
2b942cb7 16254 (generated): Add .symlist files.
a65ef2ae 16255
54b71e02
JM
162562012-05-03 Joseph Myers <joseph@codesourcery.com>
16257
16258 [BZ #13775]
16259 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16260 Redirect under this condition.
16261 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16262 [__USE_GNU] (__dprintf_chk): Not under this condition.
16263 [__USE_GNU] (__vdprintf_chk): Likewise.
16264 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16265 under this condition.
16266 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16267 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16268 [__USE_XOPEN2K8] (vdprintf): Likewise.
16269 [__USE_GNU] (__dprintf_chk): Not under this condition.
16270 [__USE_GNU] (__vdprintf_chk): Likewise.
16271 [__USE_GNU] (dprintf): Likewise.
16272 [__USE_GNU] (vdprintf): Likewise.
16273
d3dfcc41
RM
162742012-05-03 Roland McGrath <roland@hack.frob.com>
16275
16276 * elf/Makefile (common-generated): Set this instead of generated for
16277 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16278 $(all-built-dso)-derived lists.
16279
7ac30cc5
AJ
162802012-05-03 Andreas Jaeger <aj@suse.de>
16281
0c51e550
AJ
16282 * sysdeps/i386/fpu/libm-test-ulps: Update.
16283
7ac30cc5
AJ
16284 * FAQ: Removed.
16285 * FAQ.in: Likewise.
16286 * scripts/gen-FAQ.pl: Likewise.
16287 * manual/install.texi (Installation): Point to online location of
16288 FAQ.
16289 * Makefile (files-for-dist): Remove FAQ.
16290 (FAQ): Remove.
16291
d4c2917f
AM
162922012-05-02 Allan McRae <allan@archlinux.org>
16293
16294 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16295 (LDFLAGS-reldepmod5.so): Likewise.
16296 (LDFLAGS-reldep6mod1.so): Likewise.
16297 (LDFLAGS-reldep6mod4.so): Likewise.
16298 (LDFLAGS-reldep8mod3.so): Likewise.
16299 (LDFLAGS-unload4mod1.so): Likewise.
16300 (LDFLAGS-unload4mod2.so): Likewise.
16301 (LDFLAGS-tst-initorder): Likewise.
16302 (LDFLAGS-tst-initordera2.so): Likewise.
16303 (LDFLAGS-tst-initordera3.so): Likewise.
16304 (LDFLAGS-tst-initordera4.so): Likewise.
16305 (LDFLAGS-tst-initorderb2.so): Likewise.
16306 (LDFLAGS-noload): Likewise.
16307 (LDFLAGS-next): Likewise.
16308 (LDFLAGS-order2mod1.so): Likewise.
16309 (LDFLAGS-order2mod2.so): Likewise.
16310 (LDFLAGS-tst-initorder2): Likewise.
16311 (LDFLAGS-tst-initorder2a.so): Likewise.
16312 (LDFLAGS-tst-initorder2b.so): Likewise.
16313 (LDFLAGS-tst-initorder2c.so): Likewise.
16314 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16315
d77f993f
DM
163162012-05-02 David S. Miller <davem@davemloft.net>
16317
16318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16319
171a70b4
PP
163202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16321
16322 [BZ #14055]
16323 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16324
0be196ad
AJ
163252012-05-02 Andreas Jaeger <aj@suse.de>
16326
16327 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16328 since we manipulate rounding mode.
16329 (CPPFLAGS-test-idouble.c): Likewise.
16330 (CPPFLAGS-test-ifloat.c): Likewise.
16331 (CFLAGS-test-ldouble.c): Likewise.
16332 (CFLAGS-test-double.c): Likewise.
16333 (CFLAGS-test-float.c): Likewise.
16334 (CFLAGS-test-misc.c): Likewise.
16335 (CFLAGS-test-test-fenv.c): Likewise.
16336
4f9d04aa
AZ
163372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16338
2b942cb7
RM
16339 [BZ #2550]
16340 [BZ #2570]
16341 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16342 comparisons to determine direction to adjust input.
4f9d04aa 16343
82a79e7d
RM
163442012-05-01 Roland McGrath <roland@hack.frob.com>
16345
f5a01ca9
RM
16346 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16347 output to the target.
16348
90fe4186
RM
16349 * scripts/localplt.awk: New file.
16350 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16351 (check-localplt-CFLAGS): Variable removed.
16352 ($(all-built-dso:=.jmprel)): New static pattern rule.
16353 (generated): Add those targets.
16354 (localplt-built-dso): New variable.
16355 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16356
16357 * elf/check-localplt.c: File removed.
16358
82397ed6
RM
16359 * scripts/check-execstack.awk: New file.
16360 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16361 (check-execstack-CFLAGS): Variable removed.
16362 ($(objpfx)check-execstack.h): Target removed.
16363 ($(objpfx)execstack-default): New target.
16364 (generated): Add that instead of check-execstack.h.
16365 ($(all-built-dso:=.phdr)): New static pattern rule.
16366 (generated): Add those targets.
16367 * elf/check-execstack.c: File removed.
16368
82a79e7d
RM
16369 * scripts/check-textrel.awk: New file.
16370 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16371 (check-textrel-CFLAGS): Variable removed.
16372 (all-built-dso): Use := to define.o
16373 ($(all-built-dso:=.dyn)): New static pattern rule.
16374 (generated): Add those targets.
16375 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16376 * config.make.in (READELF): New substituted variable.
16377 * elf/check-textrel.c: File removed.
16378
62fde54f 163792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16380
615605c9
JM
16381 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16382 allow.
16383 * conform/data/ctype.h-data [C99-based standards] (isblank):
16384 Expect function.
16385 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16386 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16388 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16389 Specify type. Require positive value.
16390 (EILSEQ): Likewise.
16391 (ERANGE): Likewise.
16392 [ISO || POSIX] (EILSEQ): Do not expect.
16393 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16394 Specify type. Require positive value.
16395 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16396 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16397 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16398 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16399 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16400 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16401 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16402 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16403 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16404 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16405 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16406 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16407 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16408 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16409 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16410 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16411 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16412 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16413 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16414 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16415 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16416 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16417 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16418 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16419 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16420 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16421 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16422 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16423 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16424 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16425 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16426 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16427 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16428 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16429 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16430 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16431 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16432 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16433 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16434 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16435 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16436 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16437 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16438 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16439 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16440 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16441 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16442 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16443 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16444 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16445 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16446 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16447 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16448 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16449 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16450 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16451 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16452 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16453 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16454 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16455 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16456 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16457 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16458 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16459 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16460 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16461 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16462 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16463 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16464 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16465 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16466 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16467 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16468 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16469 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16470 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16471 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16472 Require >= 2.
16473 (FLT_ROUNDS): Expect as macro, not constant.
16474 (FLT_MANT_DIG): Use macro-int-constant.
16475 (DBL_MANT_DIG): Likewise.
16476 (LDBL_MANT_DIG): Likewise.
16477 (FLT_DIG): Likewise.
16478 (DBL_DIG): Likewise.
16479 (LDBL_DIG): Likewise.
16480 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16481 (DBL_MIN_EXP): Likewise.
16482 (LDBL_MIN_EXP): Likewise.
16483 (FLT_MAX_EXP): Use macro-int-constant.
16484 (DBL_MAX_EXP): Likewise.
16485 (LDBL_MAX_EXP): Likewise.
16486 (FLT_MAX_10_EXP): Likewise.
16487 (DBL_MAX_10_EXP): Likewise.
16488 (LDBL_MAX_10_EXP): Likewise.
16489 (FLT_MAX): Use macro-constant.
16490 (DBL_MAX): Likewise.
16491 (LDBL_MAX): Likewise.
16492 (FLT_EPSILON): Use macro-constant. Give upper bound.
16493 (DBL_EPSILON): Likewise.
16494 (LDBL_EPSILON): Likewise.
16495 (FLT_MIN): Likewise.
16496 (DBL_MIN): Likewise.
16497 (LDBL_MIN): Likewise.
16498 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16499 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16500 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16501 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16502 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16503 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16504 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16505 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16506 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16507 [ISO11] (FLT_TRUE_MIN): Likewise.
16508 [ISO11] (LDBL_TRUE_MIN): Likewise.
16509 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16510 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16511 (SCHAR_MIN): Use macro-int-constant. Specify type.
16512 (SCHAR_MAX): Likewise.
16513 (UCHAR_MAX): Likewise.
16514 (CHAR_MIN): Likewise.
16515 (CHAR_MAX): Likewise.
16516 (MB_LEN_MAX): Use macro-int-constant.
16517 (SHRT_MIN): Use macro-int-constant. Specify type.
16518 (SHRT_MAX): Likewise.
16519 (USHRT_MAX): Likewise.
16520 (INT_MAX): Likewise.
16521 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16522 bound negative.
16523 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16524 bound with "U".
16525 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16526 bound with "L".
16527 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16528 bound negative. Suffix upper bound with "L".
16529 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16530 bound with "UL".
16531 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16532 Specify type.
16533 [C99-based standards] (LLONG_MAX): Likewise.
16534 [C99-based standards] (ULLONG_MAX): Likewise.
16535 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16536 == 0.
16537 [ISO11] (max_align_t): Require type.
16538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16539
c9140a62
JM
16540 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16541 from $CFLAGS, without defining away __attribute__ calls.
16542 (checknamespace): Use $CFLAGS_namespace.
16543
9af0bf29
JM
16544 * conform/conformtest.pl (@keywords): Only include C99 keywords
16545 for standards based on C99 or C11.
16546
343222a2
JM
16547 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16548 Disable tests.
16549 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16550 UNIX98]: Likewise.
16551
661f8cf0
JM
16552 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16553 usability of symbols in #if.
16554
ee74b9cb
JM
16555 * conform/conformtest.pl: If macro or constant types start
16556 "promoted:", expect the symbol to be of the following type
16557 promoted by the integer promotions.
62fde54f 16558
aafc49b3
JM
16559 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16560 in one place. Also handle "macro-constant".
16561
fefdf574
JM
16562 * conform/conformtest.pl: Only accept expected macro values with
16563 "==". Parse all "macro" lines in one place.
16564 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16565
f2d922fe
JM
16566 * conform/conformtest.pl: Handle braced types on "constant" lines
16567 instead of handling "typed-constant".
16568 * conform/data/signal.h-data: Use "constant" instead of
16569 "typed-constant".
16570
d22956c9
JM
16571 * conform/conformtest.pl: Handle "optional-" at start of lines in
16572 one place rather than duplicating several cases. Handle each
16573 format of "macro" line with initial "optional-".
16574
028e2e38
JM
16575 * conform/conformtest.pl: Only accept expected constant or
16576 optional-constant values with "==". Parse all "constant" lines in
16577 one place. Parse all "optional-constant" lines in one place.
16578 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16579 * conform/data/fmtmsg.h-data: Likewise.
16580 * conform/data/netinet/in.h-data: Likewise.
16581 * conform/data/tar.h-data: Likewise.
16582 * conform/data/limits.h-data: Use "==" form on "constant" and
16583 "optional-constant" lines.
16584
1b8f2850
JM
16585 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16586 Use -std=c99 for XOPEN2K.
16587 (@knownproblems): Remove.
16588 (newtoken): Don't check %isknown.
16589
a05a144b
JM
16590 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16591 Do not expect macro.
16592 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16604 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16605 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16606 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16607 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16608 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16609 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16610 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16611 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16612 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16613 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16614 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16615 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16616 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16617 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16618 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16619 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16620 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16621 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16622 [XPG3] (acosh): Likewise.
16623 [XPG3] (asinh): Likewise.
16624 [XPG3] (atanh): Likewise.
16625 [XPG3] (cbrt): Likewise.
16626 [XPG3] (expm1): Likewise.
16627 [XPG3] (ilogb): Likewise.
16628 [XPG3] (log1p): Likewise.
16629 [XPG3] (logb): Likewise.
16630 [XPG3] (nextafter): Likewise.
16631 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16632 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16633 [XPG3] (remainder): Likewise.
16634 [XPG3] (rint): Likewise.
16635 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16636 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16637 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16638 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16639 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16640 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16641 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16642 [UNIX98 || XOPEN2K] (scalb): Expect.
16643 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16644 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16645 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16646 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16647 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16648 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16649 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16650 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16651 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16652 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16653 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16654 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16655 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16656 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16657 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16658 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16659 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16660 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16661 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16662 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16663 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16664 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16665 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16666 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16667 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16668 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16669 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16670 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16671 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16672 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16673 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16674 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16675 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16676 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16677 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16678 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16679 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16680 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16681 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16682 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16683 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16684 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16685 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16686 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16687 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16688 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16689 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16690 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16691 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16692 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16693 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16694 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16695 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16696 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16697 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16698 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16699 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16700 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16701 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16702 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16703 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16704 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16705 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16706 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16707 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16708 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16709 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16710 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16711 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16712 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16713 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16714 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16715 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16716 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16717 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16718 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16719 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16720 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16721 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16722 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16723 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16724 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16725 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16726 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16727 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16728 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16729 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16730 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16731 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16732 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16733 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16734 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16735 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16736 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16737 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16738 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16739 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16740 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16741 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16742 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16743 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16744 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16745 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16746 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16747 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16748 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16749 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16750 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16751 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16752 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16753 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16754 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16755 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16756 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16757 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16758 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16759 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16760 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16761 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16762 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16763 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16764 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16765 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16766 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16767 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16768 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16769 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16770 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16771 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16772 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16773 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16774 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16775 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16776 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16777 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16778 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16779 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16780
73c5ebe3
JM
16781 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16782 _XOPEN_SOURCE_EXTENDED for XPG4.
16783
39c33b6c
JM
16784 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16785
62fde54f
JM
16786 * Makeconfig (localtime): Remove variable.
16787 (inst_localtime-file): Likewise.
16788
0741d64c
AS
167892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16790
16791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16792 Update.
16793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16794 Update.
16795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16796 Update.
16797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16798 Update.
16799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16800 Update.
16801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16802 Update.
16803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16804 Update.
16805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16806 Update.
16807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16808 Update.
16809
7cb029ee
JM
168102012-05-01 Joseph Myers <joseph@codesourcery.com>
16811
16812 [BZ #2550]
16813 [BZ #2570]
16814 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16815 comparisons to determine direction to adjust input.
16816 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16817 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16819 Likewise.
16820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16821 Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16823 Likewise.
16824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16826 Likewise.
16827 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16828 Likewise.
16829 * math/libm-test.inc (nexttoward_test): Add more tests.
16830
412bd966
AS
168312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16832
16833 [BZ #14040]
16834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16835 in version GLIBC_2.1, not GLIBC_2.0.
16836 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16837 Likewise.
16838
9568c0c2
JM
168392012-04-30 Joseph Myers <joseph@codesourcery.com>
16840
adfbc8ac
JM
16841 [BZ #13942]
16842 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16843 (1 - x) * (1 + x).
16844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16845 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16846 * math/libm-test.inc (acos_test): Add more tests.
16847 (asin_test): Likewise.
16848 * sysdeps/i386/fpu/libm-test-ulps: Update.
16849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16850
5ba3cc69
JM
16851 [BZ #14034]
16852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16853 of square root.
16854 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16855 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16856 * math/libm-test.inc (acos_test_tonearest): New function.
16857 (acos_test_towardzero): Likewise.
16858 (acos_test_downward): Likewise.
16859 (acos_test_upward): Likewise.
16860 (asin_test_tonearest): Likewise.
16861 (asin_test_towardzero): Likewise.
16862 (asin_test_downward): Likewise.
16863 (asin_test_upward): Likewise.
16864 (main): Call the new functions.
16865 * sysdeps/i386/fpu/libm-test-ulps: Update.
16866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16867
9568c0c2
JM
16868 [BZ #13884]
16869 [BZ #13924]
16870 * math/e_exp10.c: Include <float.h>.
16871 (__ieee754_exp10): Handle underflow here rather than multiplying
16872 large negative argument by M_LN10.
16873 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16874 of __ieee754_expf.
16875 * math/e_exp10l.c: Include <float.h>.
16876 (__ieee754_exp10l): Handle underflow here rather than multiplying
16877 large negative argument by M_LN10l.
16878 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16879 spurious overflow exception on underflow.
16880
5ac3ea17
MP
168812012-04-29 Marek Polacek <polacek@redhat.com>
16882
16883 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16884 (__fortify_function): New macro.
16885 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16886 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16887 __extern_always_inline.
16888 * libio/bits/stdio2.h: Likewise.
16889 * libio/bits/stdio.h: Likewise.
16890 * string/string.h: Likewise.
16891 * string/bits/string3.h: Likewise.
16892 * include/stdio.h: Likewise.
16893 * stdlib/bits/stdlib.h: Likewise.
16894 * stdlib/stdlib.h: Likewise.
16895 * rt/bits/mqueue2.h: Likewise.
16896 * rt/mqueue.h: Likewise.
16897 * posix/bits/unistd.h: Likewise.
16898 * posix/unistd.h: Likewise.
16899 * io/bits/poll2.h: Likewise.
16900 * io/bits/fcntl2.h: Likewise.
16901 * io/fcntl.h: Likewise.
16902 * io/sys/poll.h: Likewise.
16903 * misc/bits/syslog.h: Likewise.
16904 * misc/bits/syslog-ldbl.h: Likewise.
16905 * misc/sys/syslog.h: Likewise.
16906 * socket/bits/socket2.h: Likewise.
16907 * socket/sys/socket.h: Likewise.
16908 * debug/tst-chk1.c: Likewise.
16909 * wcsmbs/bits/wchar2.h: Likewise.
16910 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16911 * wcsmbs/wchar.h: Likewise.
16912
ecf0ebfb
AJ
169132012-04-29 Andreas Jaeger <aj@suse.de>
16914
16915 * Makerules (tests): Remove enable-check-abi protection.
16916 (check-abi-warn): Remove.
16917 (check-abi-%): Remove check-abi-warn usage.
16918
16919 * configure.in: Remove check-abi configure option.
16920 * configure: Regenerated.
16921 * config.make.in (enable-check-abi): Remove.
16922
6d5c57fa
AS
169232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16924
24c5d07e 16925 [BZ #14033]
ded5180a
AS
16926 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16927 double functions to double *_finite functions.
16928
7e0d315d
AS
16929 [BZ #13941]
16930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16931 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16932 LDBL_MIN_EXP.
16933 * stdio-common/Makefile (tests): Add tst-sprintf3.
16934 * stdio-common/tst-sprintf3.c: New file.
16935
6d5c57fa
AS
16936 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16937 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16938
0749ff8b
JM
169392012-04-28 Joseph Myers <joseph@codesourcery.com>
16940
16941 * conform/conformtest.pl: Remove duplicate typed-constant
16942 handling.
16943
8dbd5d7b
DM
169442012-04-28 David S. Miller <davem@davemloft.net>
16945
16946 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16947 (check-abi-%): Remove AWK script prerequisite and explicit
16948 abilist directory.
16949 (check-abi): Rewrite to just diff the symlist with the abilist.
16950 (config-tls, config-abi-config): Delete, no longer used.
16951 (update-abi-%): Remove AWK script and explicit abilist directory.
16952 (update-abi): Rewrite to simply compare and conditionally copy the
16953 symlist and the sysdep abilist file. Remove update-abi-config
16954 checks.
16955 * abilist/ld.abilist: Remove.
16956 * abilist/libBrokenLocale.abilist: Remove.
16957 * abilist/libanl.abilist: Remove.
16958 * abilist/libcrypt.abilist: Remove.
16959 * abilist/libdl.abilist: Remove.
16960 * abilist/librt.abilist: Remove.
16961 * abilist/libthread_db.abilist: Remove.
16962 * abilist/libutil.abilist: Remove.
16963 * scripts/extract-abilist.awk: Remove.
16964 * scripts/merge-abilist.awk: Remove.
16965 * sysdeps/generic/libcidn.abilist: New file.
16966 * sysdeps/generic/libnss_compat.abilist: New file.
16967 * sysdeps/generic/libnss_db.abilist: New file.
16968 * sysdeps/generic/libnss_dns.abilist: New file.
16969 * sysdeps/generic/libnss_files.abilist: New file.
16970 * sysdeps/generic/libnss_hesiod.abilist: New file.
16971 * sysdeps/generic/libnss_nis.abilist: New file.
16972 * sysdeps/generic/libnss_nisplus.abilist: New file.
16973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16974 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16976 file.
16977 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16978 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16979 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16980 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16981 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16982 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16983 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16984 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16985 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16986 file.
16987 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16988 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16989 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16990 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16991 file.
16992 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16993 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16994 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16995 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16996 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16997 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16998 file.
16999 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17000 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17001 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17002 file.
17003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17005 New file.
17006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17007 New file.
17008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17009 New file.
17010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17011 New file.
17012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17013 New file.
17014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17015 New file.
17016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17017 New file.
17018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17019 New file.
17020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17021 New file.
17022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17023 New file.
17024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17025 New file.
17026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17027 New file.
17028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17029 New file.
17030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17031 file.
17032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17033 New file.
17034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17035 New file.
17036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17037 file.
17038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17039 New file.
17040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17041 New file.
17042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17043 file.
17044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17045 New file.
17046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17047 New file.
17048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17049 New file.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17051 New file.
17052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17053 New file.
17054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17055 New file.
17056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17058 file.
17059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17060 New file.
17061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17062 file.
17063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17064 file.
17065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17066 file.
17067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17068 file.
17069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17070 file.
17071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17072 New file.
17073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17074 file.
17075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17076 file.
17077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17078 New file.
17079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17080 file.
17081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17083 file.
17084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17085 New file.
17086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17087 file.
17088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17089 file.
17090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17091 file.
17092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17093 file.
17094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17095 file.
17096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17097 New file.
17098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17099 file.
17100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17101 file.
17102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17103 New file.
17104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17105 file.
17106 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17107 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17108 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17109 file.
17110 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17111 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17112 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17113 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17114 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17115 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17116 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17117 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17118 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17119 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17122 file.
17123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17124 New file.
17125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17126 file.
17127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17128 file.
17129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17130 file.
17131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17132 file.
17133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17134 file.
17135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17136 New file.
17137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17138 New file.
17139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17140 file.
17141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17142 New file.
17143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17144 file.
17145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17147 file.
17148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17149 New file.
17150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17151 file.
17152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17153 file.
17154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17155 file.
17156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17157 file.
17158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17159 file.
17160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17161 New file.
17162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17163 New file.
17164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17165 file.
17166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17167 New file.
17168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17169 file.
17170
41d73a1b
JM
171712012-04-28 Joseph Myers <joseph@codesourcery.com>
17172
17173 * conform/conformtest.pl: Fix typo in handling typed-constant from
17174 allow-header.
17175
28aeeda4
JM
171762012-04-27 Joseph Myers <joseph@codesourcery.com>
17177
adae8f5e
JM
17178 * README: Cut down references to pre-2.6 Linux kernels and
17179 Linuxthreads. Update lists of configurations in libc and ports
17180 and sort alphabetically. Say "or newer" with Linux kernel version
17181 requirements.
17182
28aeeda4
JM
17183 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17184
a462cb63
RA
171852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17186
17187 [BZ #887]
17188 * math/libm-test.inc (logb_test_downward): New test to expose
17189 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17190 rounding mode.
17191
6ad3493e
JM
171922012-04-27 Joseph Myers <joseph@codesourcery.com>
17193
17194 [BZ #14027]
17195 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17196 to be done.
17197 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17198 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17199
2ce4f015
JM
172002012-04-26 Joseph Myers <joseph@codesourcery.com>
17201
5aeb141a
JM
17202 * sysdeps/unix/i386/brk.S: Remove file.
17203 * sysdeps/unix/i386/dl-brk.S: Likewise.
17204 * sysdeps/unix/i386/pipe.S: Likewise.
17205 * sysdeps/unix/i386/sigreturn.S: Likewise.
17206 * sysdeps/unix/i386/syscall.S: Likewise.
17207 * sysdeps/unix/i386/vfork.S: Likewise.
17208 * sysdeps/unix/i386/wait.S: Likewise.
17209
7143acae
JM
17210 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17211 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17212
2ce4f015
JM
17213 * configure.in (arm*-none*): Do not allow without
17214 --enable-hacker-mode.
17215 (netbsd*): Remove case setting base_os.
17216 (386bsd*): Likewise.
17217 (freebsd*): Likewise.
17218 (bsdi*): Likewise.
17219 (osf*): Likewise.
17220 (sunos*): Likewise.
17221 (ultrix*): Likewise.
17222 (newsos*): Likewise.
17223 (dynix*): Likewise.
17224 (*bsd*): Likewise.
17225 (sysv*): Likewise.
17226 (isc*): Likewise.
17227 (esix*): Likewise.
17228 (sco*): Likewise.
17229 (minix*): Likewise.
17230 (irix4*): Likewise.
17231 (irix6*): Likewise.
17232 (solaris[2-9]*): Likewise.
17233 (none): Likewise.
17234 * configure: Regenerated.
17235
0ac229c8
AZ
172362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17237
17238 [BZ #11521]
17239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17240 overflow or cancellation in calculating denominator.
17241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17242 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17243 down expression to avoid unexpected rounding in newer GCCs.
17244 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17245
33f244f4
DM
172462012-04-26 David S. Miller <davem@davemloft.net>
17247
17248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17249 long-double compat symbols.
17250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17261 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17263
cfa1f3e8
DM
172642012-04-25 David S. Miller <davem@davemloft.net>
17265
17266 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17267 HWCAP_* values only after the memory barriers have been defined.
17268 (atomic_full_barrier): Define.
17269 (atomic_read_barrier): Define.
17270 (atomic_write_barrier): Define.
17271
6e236b92
SP
172722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17273
17274 * shlib-versions: Add libgcc_s version information.
17275 * sysdeps/generic/libgcc_s.h: Remove.
17276 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17277 libgcc_s.h.
17278 * sysdeps/gnu/unwind-resume.c: Likewise.
17279 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17280
aab39a09
DM
172812012-04-25 David S. Miller <davem@davemloft.net>
17282
17283 * sysdeps/unix/sparc/brk.S: Delete.
17284 * sysdeps/unix/sparc/dl-brk.S: Delete.
17285 * sysdeps/unix/sparc/pipe.S: Delete.
17286 * sysdeps/unix/sparc/sysdep.S: Delete.
17287 * sysdeps/unix/sparc/sysdep.h: Delete.
17288 * sysdeps/unix/sparc/vfork.S: Delete.
17289 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17290 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17291 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17292 ret_ERRVAL, r0, r1, MOVE): Define.
17293 (JUMPTARGET): Remove.
17294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17295 sysdeps/unix/sparc/sysdep.h
17296 (ENTRY, END): Remove.
17297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17298
a3cc4f48
JM
172992012-04-25 Joseph Myers <joseph@codesourcery.com>
17300
2ed8cda2
JM
17301 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17302 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17303 -DIS_IN_build.
17304
35d76d59
JM
17305 * timezone/README: Update upstream location and email address for
17306 tzcode and tzdata.
17307 * timezone/zdump.c: Update from tzcode 2012b.
17308 * timezone/zic.c: Likewise.
17309
a3cc4f48
JM
17310 * configure.in (libc_cv_as_needed): Remove test.
17311 * configure: Regenerated.
17312 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17313 conditional definition.
17314 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17315 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17316 * config.make.in (have-as-needed): Remove variable.
17317
ceab42c3
SP
173182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17319 Paul Pluzhnikov <ppluzhnikov@google.com>
17320
17321 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17322 strings correctly.
17323
3ce2865f
CLT
173242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17325
17326 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17327 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17328 * sysdeps/sh/strlen.S: Likewise.
17329
f37e0d68
JM
173302012-04-24 Joseph Myers <joseph@codesourcery.com>
17331
ae186e9a
JM
17332 * sysdeps/unix/fork.S: Remove file.
17333 * sysdeps/unix/i386/fork.S: Likewise.
17334 * sysdeps/unix/sparc/fork.S: Likewise.
17335
b96914af
JM
17336 * sysdeps/unix/system.c: Remove file.
17337 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17338
f37e0d68
JM
17339 * sysdeps/unix/getegid.S: Remove file.
17340 * sysdeps/unix/geteuid.S: Likewise.
17341
87ef29ca
RM
173422012-04-24 Roland McGrath <roland@hack.frob.com>
17343
83bcd236
RM
17344 * scripts/check-localplt.awk: New file.
17345 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17346 of diff.
17347 * scripts/data/localplt-generic.data: Add a comment.
17348
87ef29ca
RM
17349 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17350 NODE when __dir_mkfile failed.
17351 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17352 Reported by Ludovic Courtès <ludo@gnu.org>.
17353
e5a6e567
AJ
173542012-04-24 Andreas Jaeger <aj@suse.de>
17355
17356 * Makerules (common-clean): Also remove gen-as-const-headers
17357 files.
17358
c1820385
JM
173592012-04-24 Joseph Myers <joseph@codesourcery.com>
17360
17361 * Makerules (native-compile): Do not change working directory for
17362 build. Use $(OUTPUT_OPTION) in command.
17363 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17364
94e02fc4
AZ
173652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17366
17367 [BZ #13886]
17368 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17369 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17370 * math/libm-test.inc (floor_test): Add more tests.
17371 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17372
3a533ca3
JM
173732012-04-24 Joseph Myers <joseph@codesourcery.com>
17374
940ab4b3
JM
17375 * sysdeps/unix/getdents.c: Remove file.
17376 * sysdeps/unix/sysv/getdents.c: Likewise.
17377 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17378
90e037bd
JM
17379 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17380 sysdeps/unix/mman/syscalls.list.
17381 (mmap): Likewise.
17382 (mprotect): Likewise.
17383 (msync): Likewise.
17384 (munmap): Likewise.
17385 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17386 * sysdeps/unix/mman/syscalls.list: Remove.
17387 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17388
3a533ca3
JM
17389 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17390 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17391 * configure: Regenerated.
17392 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17393 $(libgcc_s_suffix).
17394 * config.make.in (libgcc_s_suffix): Remove variable.
17395
1ad743de
JM
173962012-04-23 Joseph Myers <joseph@codesourcery.com>
17397
4ad451e2
JM
17398 * sysdeps/unix/sysv/gethostname.c: Move to ...
17399 * sysdeps/posix/gethostname.c: ... here.
17400
5e37ce39
JM
17401 * sysdeps/unix/execve.S: Remove file.
17402
1ad743de
JM
17403 * sysdeps/unix/_exit.S: Remove file.
17404
4e681b5b
AJ
174052012-04-23 Andreas Jaeger <aj@suse.de>
17406
17407 [BZ #13739]
17408 * manual/Makefile: Remove make dist support, there's no
17409 need for a stand-alone documentation tar ball.
17410 (TEXI2DVI): Define always, it's not in Makeconfig.
17411 (dist): Removed.
17412 (tar-it): Removed.
17413 (edition): Removed.
17414 (glibc-doc-$(edition).tar): Removed
17415 (%.Z): Removed.
17416 (%.gz): Removed.
17417 (%.uu): Removed.
17418 (ETAGS): Remove, it's in Makeconfig.
17419 (move-if-change): Remove, it's in Makeconfig.
17420
38686a03 174212012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17422
17423 [BZ #13970]
17424 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17425 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17426 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17427 (strtod_l, strtof_l, strtold_l): Remove __wur.
17428 It is not necessarily an error to ignore strtol's return value.
17429 One can reliably look at the stored endptr to decide whether
17430 the number had valid syntax.
17431
7c0616fa
AJ
174322012-04-21 Andreas Jaeger <aj@suse.de>
17433
803cb6b7 17434 [BZ #13739]
7c0616fa
AJ
17435 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17436
b0fe253f
JM
174372012-04-21 Joseph Myers <joseph@codesourcery.com>
17438
17439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17440 * sysdeps/unix/sysv/Versions: Remove file.
17441
8280f22d
MT
174422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17443
17444 [BZ #13927]
17445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17446
75ce411f 174472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17448
17449 [BZ #7064]
17450 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17451 version from __vm86.
17452
097d59fa
JM
174532012-04-20 Joseph Myers <joseph@codesourcery.com>
17454
a90f3bcb
JM
17455 * sysdeps/unix/common/lxstat.c: Remove file.
17456 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17457
edc7ea78
JM
17458 * sysdeps/unix/sysv/Makefile: Remove file.
17459
cb78c221
JM
17460 * sysdeps/unix/sysv/direct.h: Remove file.
17461
efa6a45f
JM
17462 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17463 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17464 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17465 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17466 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17467 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17468 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17469
9c9f2d0c
JM
17470 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17471
4541c83b
JM
17472 * sysdeps/unix/xmknod.c: Remove file.
17473 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17474
f5d153a0
JM
17475 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17476
aa746595
JM
17477 * sysdeps/unix/sysv/i386/time.S: Remove file.
17478
cce5905e
JM
17479 * sysdeps/unix/fxstat.c: Remove file.
17480 * sysdeps/unix/xstat.c: Likewise.
17481 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17482
37fa3841
JM
17483 * sysdeps/unix/sysv/sigaction.c: Remove file.
17484
ff1962a3
JM
17485 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17486 (sysdep_headers): Remove variable.
17487 [termio.h not in sysdep_headers] (generated): Likewise.
17488 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17489 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17490 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17491 * sysdeps/unix/sysv/tcflow.c: Likewise.
17492 * sysdeps/unix/sysv/tcflush.c: Likewise.
17493 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17494 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17495 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17496 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17497 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17498
e7740d31
JM
17499 * sysdeps/unix/siglist.c: Remove file.
17500
ee06f18b
JM
17501 * sysdeps/unix/getppid.S: Remove file.
17502
097d59fa
JM
17503 * sysdeps/unix/mkdir.c: Remove file.
17504 * sysdeps/unix/rmdir.c: Likewise.
17505
ff3d51ec
AS
175062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17507
17508 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17509 ERR_MAX value.
17510 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17511 errlist-compat value.
17512
50f81fd7
DM
175132012-04-18 David S. Miller <davem@davemloft.net>
17514
17515 * sysdeps/generic/memcopy.h (reg_char): Delete.
17516 * debug/strcat_chk.c: Use char, not reg_char.
17517 * debug/strcpy_chk.c: Likewise.
17518 * debug/strncat_chk.c: Likewise.
17519 * debug/strncpy_chk.c: Likewise.
17520 * string/memchr.c: Likewise.
17521 * string/memrchr.c: Likewise.
17522 * string/rawmemchr.c: Likewise.
17523 * string/strcat.c: Likewise.
17524 * string/strchr.c: Likewise.
17525 * string/strchrnul.c: Likewise.
17526 * string/strcmp.c: Likewise.
17527 * string/strcpy.c: Likewise.
17528 * string/strncat.c: Likewise.
17529 * string/strncmp.c: Likewise.
17530 * string/strncpy.c: Likewise.
17531
8ff41c46
WS
175322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17533
17534 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17535 __builtin_memcopy is called when src and dest ranges are known to not
17536 overlap.
17537
6b652f46
WS
175382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17539
17540 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17541 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17542 fwd_align_merge macro call.
17543 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17544 bwd_align_merge macro call.
17545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17546
b282631e
WS
175472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17548
17549 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17550 bwd_align_merge macros.
17551 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17552 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17553 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17554
95aa737c
DM
175552012-04-18 David S. Miller <davem@davemloft.net>
17556
17557 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17558
7a99a614
AJ
175592012-04-18 Andreas Jaeger <aj@suse.de>
17560
17561 [BZ# 6794]
17562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17563 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17564 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17565
17566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17567 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17569
17570 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17571 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17572 Adjust for changed ldbl-128 files.
17573
17574 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17575 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17576 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17577
e5270c23
DM
175782012-04-17 David S. Miller <davem@davemloft.net>
17579
17580 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17581
fb5e92c9
AS
175822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17583
17584 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17585 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17586 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17587 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17588 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17589 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17590
76da7265
AZ
175912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17592
17593 [BZ #6794]
17594 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17595 * math/libm-test.inc: Add ilogb errno and exception tests.
17596 * math/w_ilogb.c: New file: ilogb wrapper.
17597 * math/w_ilogbf.c: New file: ilogbf wrapper.
17598 * math/w_ilogbl.c: New file: ilogbl wrapper.
17599 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17600 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17601 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17602 exception being thrown with 0.0 as argument.
17603 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17604 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17605 exception being thrown with 0.0 as argument.
17606 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17607 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17608 exception being thrown with 0.0 as argument.
17609 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17610 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17611 exception being thrown with 0.0 as argument.
17612 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17613 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17615 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17618 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17619 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17620 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17621
0396e69d
PB
176222012-04-17 Petr Baudis <pasky@ucw.cz>
17623
17624 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17625 with altivec.
17626
750b5926
MP
176272012-04-16 Marek Polacek <polacek@redhat.com>
17628
17629 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17630
751728a1
MP
176312012-04-16 Marek Polacek <polacek@redhat.com>
17632
17633 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17634 operands of fdivp instruction.
17635
34a27407
L
176362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17637
17638 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17639 * elf/tst-auditmod3b.c: Likewise.
17640 * elf/tst-auditmod4b.c: Likewise.
17641 * elf/tst-auditmod5b.c: Likewise.
17642 * elf/tst-auditmod6b.c: Likewise.
17643 * elf/tst-auditmod6c.c: Likewise.
17644 * elf/tst-auditmod7b.c: Likewise.
17645 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17646 * sysdeps/x86_64/preconfigure.in: Likewise.
17647 * sysdeps/x86_64/preconfigure: Regenerated.
17648
7e73e17d
L
176492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17650
17651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17652 __ILP32__.
17653
c7a6ab72
AB
176542012-04-13 Antoine Balestrat <merkil33@gmail.com>
17655
17656 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17657 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17658
a9e8e0e0
CL
176592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17660
17661 [BZ #13973]
17662 * locale/iso-639.def: Fix gl language name. Spotted by
17663 Yaron Shahrabani.
17664
ec98af7d
RM
176652012-04-12 Roland McGrath <roland@hack.frob.com>
17666
17667 [BZ #2074]
17668 * libio/libio.h (__io_write_fn): Update comment.
17669
247c3ede
PB
176702012-04-12 Petr Baudis <pasky@ucw.cz>
17671
17672 [BZ #2074]
17673 * stdio.texi (Hook Functions): The user provided writer function
17674 is not allowed to return -1.
17675
55939d6d
DM
176762012-04-11 David S. Miller <davem@davemloft.net>
17677
17678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17679
90020f5a
MF
176802012-04-11 Mike Frysinger <vapier@gentoo.org>
17681
17682 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17683 Add a leading slash to rtkaio.
17684
288f9098
JM
176852012-04-11 Jim Meyering <meyering@redhat.com>
17686
90020f5a
MF
17687 [BZ #11959]
17688 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17689 It is not necessarily an error to ignore fwrite's return
17690 value. One can reliably use ferror to test for errors after
17691 the fact.
288f9098 17692
4be2b570
L
176932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17694
17695 * bits/types.h (__snseconds_t): New type.
17696 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17697
17698 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17700 (__SNSECONDS_T_TYPE): Likewise.
17701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17702 (__SNSECONDS_T_TYPE): Likewise.
17703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17704 (__SNSECONDS_T_TYPE): Likewise.
17705
288f9098 177062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17707
17708 [BZ #2636]
17709 * manual/time.texi (Processor Time): Return type of times is
17710 elapsed real time since an arbitrary point in the past.
17711 (CPU Time): Move CLK_TCK from here...
17712 (Processor Time): ...to here. Correct description.
17713 * manual/conf.texi (Constants for Sysconf): Correct description of
17714 _SC_CLK_TCK.
17715
d7dd4413
DM
177162012-04-10 David S. Miller <davem@davemloft.net>
17717
17718 [BZ #13967]
17719 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17720 where the is a gap between DT_REL(A) and DT_JMPREL.
17721
b46068fc
L
177222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17723
17724 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17725 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17726 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17727
73d65cc3
SP
177282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17729
17730 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17731 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17732 (dl_main): Handle --inhibit-cache.
17733 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17734 _dl_inhibit_cache.
17735 * elf/dl-load.c (_dl_map_object): Use it.
17736 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17737
bcc8d661
JM
177382012-04-09 Joseph Myers <joseph@codesourcery.com>
17739
8f9a2fae
JM
17740 [BZ #13872]
17741 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17742 (__ieee754_powl): Saturate large exponents rather than testing for
17743 overflow of y*log2(x).
17744 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17745 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17746 exceptions.
17747
bcc8d661
JM
17748 [BZ #11521]
17749 * math/s_ctan.c: Include <float.h>.
17750 (__ctan): Avoid internal overflow or cancellation in calculating
17751 denominator.
17752 * math/s_ctanf.c: Likewise.
17753 * math/s_ctanl.c: Likewise.
17754 * math/s_ctanh.c: Likewise.
17755 * math/s_ctanhf.c: Likewise.
17756 * math/s_ctanhl.c: Likewise.
17757 * math/libm-test.inc (ctan_test): Add more tests.
17758 (ctanh_test): Likewise.
17759 * sysdeps/i386/fpu/libm-test-ulps: Update.
17760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17761
823fbbb4
AJ
177622012-04-09 Andreas Jaeger <aj@suse.de>
17763
03879793
AJ
17764 [BZ #6894]
17765 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17766 is an optional BSD extension.
17767
823fbbb4
AJ
17768 [BZ #10254]
17769 * manual/stdio.texi (Opening Streams): Document additional fopen
17770 parameters.
17771
8de131cb
RM
177722012-04-09 Roland McGrath <roland@hack.frob.com>
17773
17774 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17775 %eax without telling the compiler.
17776
c0ed9d7d
CD
177772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17778
17779 [BZ # 13963]
17780 * manual/install.texi: Use sourceware.org.
17781
c483f6b4
JM
177822012-04-09 Joseph Myers <joseph@codesourcery.com>
17783
d7dd9453
JM
17784 [BZ #13873]
17785 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17786 (__ieee754_pow): Generate overflow and underflow using huge*huge
17787 and tiny*tiny rather than just returning constant infinity or zero
17788 for large exponents.
17789 * math/libm-test.inc (pow_test): Require overflow exceptions for
17790 applicable cases of large exponents.
17791
c483f6b4
JM
17792 [BZ #706]
17793 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17794 (__ieee754_pow): Use iterative multiplication algorithm only for
17795 integer exponents with absolute value below 1024. Check for odd
17796 integer exponents when using algorithm for real exponents.
17797 * math/libm-test.inc (pow_test): Add more tests.
17798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17799
d2de7579
JM
178002012-04-08 Joseph Myers <joseph@codesourcery.com>
17801
17802 [BZ #13705]
17803 * math/libm-test.inc (exp_test): Do not allow overflow exception
17804 on underflow test.
17805
f77f1232
AJ
178062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17807
17808 [BZ #13705]
17809 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17810 instead of __kernel_standard_f.
17811
3884932b
MF
178122012-04-08 Mike Frysinger <vapier@gentoo.org>
17813
17814 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17815 * sysdeps/x86_64/memset_chk.S: Likewise.
17816
54472e9c
AJ
178172012-04-08 Andreas Jaeger <aj@suse.de>
17818
6ab0fbfc
AJ
17819 [BZ #10153]
17820 * manual/startup.texi (Environment Access): Describe return value
17821 for putenv and setenv.
17822
61efba8c
AJ
17823 [BZ #6895]
17824 * manual/filesys.texi (Directory Entries): Add description for
17825 DT_LNK.
17826
95c3f29a
AJ
17827 [BZ #6890]
17828 * manual/filesys.texi (Directory Entries): Clarify that it's file
17829 system not operating system in the description of DT_UNKNOWN.
17830
54472e9c
AJ
17831 [BZ #6578]
17832 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17833
624254b1
SC
178342012-04-08 Stephen Compall <s11@member.fsf.org>
17835
17836 [BZ #6649]
17837 * manual/llio.texi (Opening and Closing Files): Add cross
17838 reference to explain mode argument.
17839
1e4920e0
MF
178402012-04-07 Mike Frysinger <vapier@gentoo.org>
17841
17842 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17843 * sysdeps/x86_64/memset_chk.S: Likewise.
17844
5ed848f3
DM
178452012-04-07 David S. Miller <davem@davemloft.net>
17846
17847 * elf/elf.h (R_SPARC_WDISP10): Define.
17848 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17849 R_SPARC_SIZE32.
17850 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17851 R_SPARC_SIZE64 and R_SPARC_H34.
17852
96154cd8
CD
178532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17854
17855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17856 conditions and remove no longer applicable assertion.
17857
9904dc47
L
178582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17859
17860 * bits/byteswap.h: Include <features.h>.
17861 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17862 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17863
f8887d0a
L
178642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17865
17866 * bits/byteswap.h (__bswap_16): Removed.
17867 Include <bits/byteswap-16.h> to get __bswap_16.
17868 * sysdeps/i386/bits/byteswap.h: Likewise.
17869 * sysdeps/s390/bits/byteswap.h: Likewise.
17870 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17871 * bits/byteswap-16.h: New file.
17872 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17873 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17874 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17875 * string/Makefile (headers): Add bits/byteswap-16.h.
17876
62470f60
PP
178772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17878
17879 [BZ #13895]
17880 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17881 extra indirection.
17882 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17883 * nss/tst-nss-static.c: New.
17884
4dad7bab
RM
178852012-04-06 Robert Millan <rmh@gnu.org>
17886
17887 [BZ #6486]
17888 * manual/llio.texi (File Position Primitive): lseek
17889 refers to WHENCE when it really means OFFSET.
17890
e9142a17
AJ
178912012-04-06 Andreas Jaeger <aj@suse.de>
17892
2c040eff
AJ
17893 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17894 strncmp declarations.
17895
e9142a17
AJ
17896 * abilist/libc.abilist: Add __poll and __ppoll.
17897
ff9f1c5f
DM
178982012-04-05 David S. Miller <davem@davemloft.net>
17899
dcd2ae90
DM
17900 * scripts/check-local-headers.sh: Accept a host triplet in the
17901 path matched by the exclude regexp.
17902
993eb054
DM
17903 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17904 definition.
17905 * sysdeps/powerpc/powerpc32/dl-machine.h
17906 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17907 * sysdeps/s390/s390-32/dl-machine.h
17908 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17909 * sysdeps/sparc/sparc32/dl-machine.h
17910 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17911 * sysdeps/sparc/sparc64/dl-machine.h
17912 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17913
ff9f1c5f
DM
17914 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17915 lazy binding.
48e2e132 17916 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17917 undefined symbol errors.
17918
48e2e132 17919 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17920 DT_NEEDED entries.
17921
e80d6f94
MM
179222012-04-05 Michael Matz <matz@suse.de>
17923
17924 [BZ #13592]
17925 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17926
349fa79f
AJ
179272012-04-05 Andreas Jaeger <aj@suse.de>
17928
17929 [BZ #13908]
17930 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17931 comment.
17932
f402708f
KK
179332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17934
17935 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17936 which ROUND is no valid rounding mode.
17937
2ecccfc9
KK
179382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17939
17940 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17941 read again.
17942 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17943
8a53f50f
KK
179442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17945
17946 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17947 an exception using FPU order intentionally.
17948
179492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17950
17951 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17952 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17953 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17954 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17955
d653abb7
SJ
179562012-04-05 Simon Josefsson <simon@josefsson.org>
17957
17958 [BZ #12340]
17959 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17960 EINVAL when BUFLEN is too smal.
17961
c3b1bf7d
TS
179622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17963
17964 [BZ #13553]
17965 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17966 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17967
b1aa60f3
AJ
179682012-04-03 Andreas Jaeger <aj@suse.de>
17969
c3b1bf7d 17970 [BZ #13938]
67f60a26
AJ
17971 * manual/setjmp.texi (System V contexts): Fix sentence.
17972
b1aa60f3
AJ
17973 [BZ #13926]
17974 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17975 New macro for this case.
17976 [!__GNUC__] (__bswap_64): New inline function for this case.
17977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17978 * bits/byteswap.h: Likewise.
17979 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17980 ull, guard with __GLIBC_HAVE_LONG_LONG.
17981
17982 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17983 __GLIBC_HAVE_LONG_LONG.
17984
17985 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17986 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17987
39c59c35
TMQMF
179882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17989
17990 [BZ #13691]
17991 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17992 inptr and inend, rather than using last_ch.
17993
135ffda8
DM
179942012-04-02 David S. Miller <davem@davemloft.net>
17995
17996 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17997 * stdio-common/printf-parse.h (read_int): Change return type to
17998 'int', return -1 on INT_MAX overflow.
17999 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18000 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18001 overflows INT_MAX. Check for overflow of in-format-string precision
18002 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18003 SIZE_MAX not INT_MAX for integer overflow test.
18004 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18005 skip the construct in the format string but do not record anything.
18006 * stdio-common/bug22.c: Adjust to test both width/prevision
18007 INT_MAX overflow as well as total length INT_MAX overflow. Check
18008 explicitly for proper errno values.
18009
228c019e
TS
180102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18011
302cadd3
TS
18012 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18013 CHAR_MAX.
18014 * string/test-strcmp.c [! WIDE]: Likewise.
18015 * time/tst-mktime2.c: Likewise for INT_MAX.
18016 * string/test-string.h: #include <sys/param.h> for MIN.
18017
228c019e
TS
18018 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18019 * sysdeps/i386/init-first.c (init): Likewise.
18020 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18021 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18022 * sysdeps/sh/init-first.c (init): Likewise.
18023
cfa633f5
UD
180242012-04-01 Ulrich Drepper <drepper@gmail.com>
18025
18026 * po/ru.po: Update from translation team.
d1635ef8 18027 * po/vi.po: Likewise.
cfa633f5 18028
6cd0a5ea
SP
180292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18030
18031 * resolv/nss_dns/dns-host.c: Merge copyright years.
18032
4b43400f
LD
180332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18034
18035 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18036 Optimize memcpy with prefetch if
18037 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18038 src, dst pointers have unequal 16 byte alignments.
18039
48c41d04
SP
180402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18041
18042 [BZ #13928]
18043 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18044 from a CNAME entry and return the minimum ttl for the query.
18045 (gaih_getanswer_slice): Likewise.
18046
b8dc394d
JL
180472012-03-30 Jeff Law <law@redhat.com>
18048
18049 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18050 due to long keys.
18051 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18052 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18053
2f5a5ed0
JL
18054 * resolv/nss_dns/dns-host.c: Update copyright year.
18055
1d39e359
UD
180562012-03-30 Ulrich Drepper <drepper@gmail.com>
18057
c030f70c 18058 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 18059 requests to save a system call. Fix check that all bytes are sent.
c030f70c 18060
1d39e359
UD
18061 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18062 comments for sendmmsg.
18063
180642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
18065
18066 [BZ #13691]
18067 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18068 with only 1 character between 0x0041 and 0x01b0.
18069 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18070 * wcsmbs/tst-mbsnrtowcs.c: New file.
18071
20fde227
DM
180722012-03-29 David S. Miller <davem@davemloft.net>
18073
18074 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18075 small copies by hand.
18076
984a4237
JL
180772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18078
18079 [BZ #13761]
18080 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18081 _nss_compat_initgroups_dyn): Fall back to malloc/free
18082 for large group memberships.
18083
18c9d62b
DM
180842012-03-28 David S. Miller <davem@davemloft.net>
18085
88d85d4f
DM
18086 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18087 that branches into memcpy.
18088 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18089 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18090 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18091 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18093 bits.
18094 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18095 implementation too.
18096 * sysdeps/sparc/mempcpy.S: New file.
18097
e5aa83e1
DM
18098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18099 the IFUNC routine in the libc case.
18100 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18101
88570753
DM
18102 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18103 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18104 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18105 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18106 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18107 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18108 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18109 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18110
249d7567
DM
18111 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18112 loop to 256 bytes instead of 64 bytes and fix test signedness.
18113
18c9d62b
DM
18114 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18115 * sysdeps/sparc/sparc32/Makefile: rather than here...
18116 * sysdeps/sparc/sparc64/Makefile: and here.
18117
05f3d1f6
UD
181182012-03-28 Ulrich Drepper <drepper@gmail.com>
18119
18120 * malloc/mallocbug.c: Avoid warnings about unused variables.
18121
86ae07a8
JL
181222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18123
18124 [BZ #13760]
18125 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18126 in the right place. Discard and retry query if response is
18127 larger than input buffer size.
18128
41bf21a1
JM
181292012-03-28 Joseph Myers <joseph@codesourcery.com>
18130
d6270972
JM
18131 [BZ #369]
18132 [BZ #2678]
18133 [BZ #3866]
18134 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18135 x for large integer exponent.
18136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18138 sign of result as needed afterwards.
18139 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18140 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18141 result for underflowing pow the same as for overflow.
18142 (__kernel_standard_l): Handle powl overflow and underflow here
18143 rather than calling __kernel_standard.
18144 * math/libm-test.inc (pow_test): Add more tests.
18145
414fca03 18146 [BZ #3868]
41bf21a1
JM
18147 [BZ #13879]
18148 [BZ #13910]
18149 [BZ #13911]
18150 [BZ #13912]
18151 [BZ #13913]
18152 [BZ #13915]
18153 [BZ #13916]
18154 [BZ #13917]
18155 [BZ #13918]
18156 [BZ #13919]
18157 [BZ #13920]
18158 [BZ #13921]
18159 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18160 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18161 (__kernel_standard_l): New function.
18162 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18163 __kernel_standard.
18164 * math/w_acosl.c (__acosl): Likewise.
18165 * math/w_asinl.c (__asinl): Likewise.
18166 * math/w_atan2l.c (__atan2l): Likewise.
18167 * math/w_atanhl.c (__atanhl): Likewise.
18168 * math/w_coshl.c (__coshl): Likewise.
18169 * math/w_exp10l.c (__exp10l): Likewise.
18170 * math/w_exp2l.c (__exp2l): Likewise.
18171 * math/w_fmodl.c (__fmodl): Likewise.
18172 * math/w_hypotl.c (__hypotl): Likewise.
18173 * math/w_j0l.c (__j0l, __y0l): Likewise.
18174 * math/w_j1l.c (__j1l, __y1l): Likewise.
18175 * math/w_jnl.c (__jnl, __ynl): Likewise.
18176 * math/w_lgammal.c (__lgammal): Likewise.
18177 * math/w_log10l.c (__log10l): Likewise.
18178 * math/w_log2l.c (__log2l): Likewise.
18179 * math/w_logl.c (__logl): Likewise.
18180 * math/w_powl.c (__powl): Likewise.
18181 * math/w_remainderl.c (__remainderl): Likewise.
18182 * math/w_scalbl.c (sysv_scalbl): Likewise.
18183 * math/w_sinhl.c (__sinhl): Likewise.
18184 * math/w_sqrtl.c (__sqrtl): Likewise.
18185 * math/w_tgammal.c (__tgammal): Likewise.
18186 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18187 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18188 * math/libm-test.inc (acos_test): Add more tests.
18189 (acosh_test): Likewise.
18190 (asin_test): Likewise.
18191 (atanh_test): Likewise.
18192 (exp_test): Likewise.
18193 (exp10_test): Likewise.
18194 (exp2_test): Likewise.
18195 (expm1_test): Likewise.
18196 (lgamma_test): Likewise.
18197 (log_test): Likewise.
18198 (log10_test): Likewise.
18199 (log1p_test): Likewise.
18200 (log2_test): Likewise.
18201 (pow_test): Do not allow some spurious overflow exceptions.
18202 (sqrt_test): Add more tests.
18203 (tgamma_test): Likewise.
18204 (y0_test): Likewise.
18205 (y1_test): Likewise.
18206 (yn_test): Likewise.
18207
dd62fda6
AB
182082012-03-27 Anton Blanchard <anton@samba.org>
18209
18210 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18211 MAP_HUGETLB.
18212 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18213 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18214 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18215
1e3cdfda
AJ
182162012-03-27 David S. Miller <davem@davemloft.net>
18217
b855ab85
DM
18218 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18219
1e3cdfda
AJ
18220 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18221 have-as-vis3 check.
18222
182232012-03-27 Andreas Jaeger <aj@suse.de>
18224
18225 * sysdeps/x86_64/elf/configure.in: Moved to ...
18226 * sysdeps/x86_64/configure.in: ... here.
18227 * sysdeps/x86_64/elf/start.S: Moved to ...
18228 * sysdeps/x86_64/start.S: ... here.
18229 * sysdeps/x86_64/elf/configure: Delete.
18230
18231 * sysdeps/x86_64/configure.in: Merge contents from
18232 sysdeps/i386/configure.in (without i686 check).
18233
18234 * sysdeps/i386/elf/Versions: Merge into ...
18235 * sysdeps/i386/Versions: ... this.
18236 * sysdeps/i386/elf/Versions: Delete file.
18237 * sysdeps/i386/elf/start.S: Moved to ...
18238 * sysdeps/i386/start.S: ...here.
18239 * sysdeps/i386/elf/configure.in: Merge into...
18240 * sysdeps/i386/configure.in: ...here.
18241 * sysdeps/i386/elf/configure.in: Delete file.
18242 * sysdeps/i386/elf/configure: Delete file.
18243
18244 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18245 * debug/backtracesyms.c: ... here.
18246 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18247 * debug/backtracesymsfd.c: ... here.
18248 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18249 * sysdeps/generic/ifunc-sel.h: ... here.
18250
18251 * sysdeps/unix/i386/start.c: Delete file.
18252 * sysdeps/unix/sparc/start.c: Delete file.
18253 * sysdeps/unix/start.c: Delete file.
18254
18255 * sysdeps/sh/elf/configure.in: Moved to ...
18256 * sysdeps/sh/configure.in: ... here.
18257 * sysdeps/sh/elf/start.S: Moved to ...
18258 * sysdeps/sh/start.S: ... here.
18259 * sysdeps/sh/elf/configure: Delete file.
18260
18261 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18262 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18263 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18264 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18265 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18266 * sysdeps/powerpc/powerpc64/start.S: here.
18267 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18268 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18269 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18270 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18271 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18272
18273 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18274 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18275 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18276 * sysdeps/powerpc/powerpc32/start.S: ... here.
18277 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18278 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18279 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18280
18281 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18282 * sysdeps/powerpc/ifunc-sel.h: ... here.
18283 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18284 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18285
18286 * sysdeps/sparc/elf/configure.in: Moved to ...
18287 * sysdeps/sparc/configure.in: ... here.
18288 * sysdeps/sparc/elf/configure: Delete file.
18289 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18290 * sysdeps/sparc/sparc32/start.S: ... here.
18291 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18292 * sysdeps/sparc/sparc64/start.S: ... here.
18293 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18294 * sysdeps/sparc/sparc32/Makefile: ... this.
18295 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18296 * sysdeps/sparc/sparc64/Makefile: ... this.
18297
18298 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18299 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18300 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18301 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18302 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18303 * sysdeps/s390/s390-32/setjmp.S: ... here.
18304 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18305 * sysdeps/s390/s390-32/configure.in: ... here.
18306 * sysdeps/s390/s390-32/elf/configure: Delete file.
18307 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18308 * sysdeps/s390/s390-32/start.S: ... here.
18309
18310 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18311 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18312 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18313 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18314 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18315 * sysdeps/s390/s390-64/setjmp.S: ... here.
18316 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18317 * sysdeps/s390/s390-64/configure.in: ... here
18318 * sysdeps/s390/s390-64/elf/configure: Delete file.
18319 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18320 * sysdeps/s390/s390-64/start.S: ... here.
18321 * sysdeps/s390/s390-64/elf/configure: Delete.
18322
18323 * configure.in: Remove support for elf directories in sysdeps.
18324
18325 * configure: Regenerated.
18326 * sysdeps/i386/configure: Regenerated.
18327 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18328 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18329 * sysdeps/s390/s390-32/configure: Regenerated.
18330 * sysdeps/s390/s390-64/configure: Regenerated.
18331 * sysdeps/sh/configure: Regenerated.
18332 * sysdeps/sparc/configure: Regenerated.
18333 * sysdeps/x86_64/configure: Regenerated.
18334
a3f61311
AS
183352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18336
c876e002
AS
18337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18338
a3f61311
AS
18339 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18340 denormal result into account.
18341
ac4c54f0
RM
183422012-03-25 Roland McGrath <roland@hack.frob.com>
18343
18344 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18345 Reported by Allan McRae <allan@archlinux.org>.
18346
6a9b9c02
JL
183472012-03-23 Jeff Law <law@redhat.com>
18348
18349 * nss/getnssent.c (__nss_getent): Fix typo.
18350
4c42a0c1
DM
183512012-03-23 David S. Miller <davem@davemloft.net>
18352
18353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18354
1532c7ac
L
183552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18356
18357 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18358 to pad to uint64_t for each field.
18359 (dl_tls_index): Replace unsigned long with uint64_t.
18360
3ff42526
PP
183612012-03-23 Daniel Jacobowitz <dmj@google.com>
18362 Paul Pluzhnikov <ppluzhnikov@google.com>
18363
18364 [BZ #6528]
18365 * grp/Makefile (otherlibs): Don't set it.
18366 * inet/Makefile (otherlibs): Likewise.
18367 * login/Makefile (otherlibs): Likewise.
18368 * nscd/Makefile (otherlibs): Likewise.
18369 * posix/Makefile (otherlibs): Likewise.
18370 * pwd/Makefile (otherlibs): Likewise.
18371 * rt/Makefile (otherlibs): Likewise.
18372 * sunrpc/Makefile (otherlibs): Likewise.
18373 * nss/Makefile (otherlibs): Likewise.
18374 Add libnss_files to routines and static-only-routines.
18375 ($(objpfx)getent): Remove rule.
18376 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18377 static-only-routines.
18378
7c69cd14
JM
183792012-03-22 Joseph Myers <joseph@codesourcery.com>
18380
18381 [BZ #13892]
18382 * math/s_cexp.c: Include <float.h>.
18383 (__cexp): Handle exp result overflowing not necessarily
18384 overflowing both real and imaginary parts of result.
18385 * math/s_cexpf.c: Likewise.
18386 * math/s_cexpl.c: Likewise.
18387 * math/libm-test.inc (cexp_test): Add more tests.
18388 * sysdeps/i386/fpu/libm-test-ulps: Update.
18389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18390
81b035fe
L
183912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18392
18393 * include/link.h (ELFW): New macro.
18394 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18395 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18396
1da7940c
L
183972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18398
18399 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18400 with uint64_t.
18401
b749dbb9
L
184022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18403
18404 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18405 declaration.
18406 (struct La_x32_retval): Likewise.
18407
2ff87f3f
L
184082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18409
18410 * sysdeps/x86_64/preconfigure.in: New file.
18411 * sysdeps/x86_64/preconfigure: New generated file.
18412
c0df8e69
JM
184132012-03-22 Joseph Myers <joseph@codesourcery.com>
18414
48e44791
JM
18415 [BZ #13824]
18416 * math/e_exp2l.c: Include <float.h>.
18417 (__ieee754_exp2l): Handle overflow and underflow cases
18418 separately. Only pass fractional part of argument to
18419 __ieee754_expl.
18420 * math/libm-test.inc (exp2_test): Add more tests.
18421
c0df8e69
JM
18422 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18423 negating x to take absolute value.
18424 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18425 Likewise.
18426 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18427 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18428 Likewise.
18429 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18430 computing low part if x was negated.
18431 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18432
c8e43ba7
L
184332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18434
18435 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18436 la_x32_gnu_pltexit.
18437 (pltexit): Cast int_retval to ptrdiff_t.
18438 * elf/tst-auditmod3b.c: Likewise.
18439 * elf/tst-auditmod4b.c: Likewise.
18440 * elf/tst-auditmod5b.c: Likewise.
18441 * elf/tst-auditmod6b.c: Likewise.
18442 * elf/tst-auditmod6c.c: Likewise.
18443 * elf/tst-auditmod7b.c: Likewise.
18444
18445 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18446 and x32_gnu_pltexit.
18447
18448 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18449 __ELF_NATIVE_CLASS.
18450 (La_x32_regs): New macro.
18451 (La_x32_retval): Likewise.
18452 (la_x32_gnu_pltenter): New function prototype.
18453 (la_x32_gnu_pltexit): Likewise.
18454
7998fa78
AS
184552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18456
dcb33988
AS
18457 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18458 exponent.
18459
233fc563
AS
18460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18461
7998fa78
AS
18462 * configure.in (libc_cv_cc_nofma): Check for option to disable
18463 generation of FMA instructions.
18464 * configure: Regenerate.
18465 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18466 * sysdeps/ieee754/dbl-64/Makefile: New file.
18467 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18468 Remove brandred-fma4.
18469 (CFLAGS-brandred-fma4.c): Remove.
18470 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18471 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18472 define.
18473 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18474 define.
18475
8e95c99a
L
184762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18477
18478 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18479 LLONG_MAX != LONG_MAX.
18480 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18481 (_fitoa_word): Likewise.
18482 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18483 LLONG_MAX != LONG_MAX.
18484 * stdio-common/_itowa.h: Include <_itoa.h>.
18485 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18486 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18487 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18488 only if not defined.
18489 (_ITOA_WORD_TYPE): Likewise.
18490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18491 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18492
6f4db457
DM
184932012-03-21 David S. Miller <davem@davemloft.net>
18494
18495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18496
7785fe5a
L
184972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18498
18499 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18500 of x86_64 when setting libc_cv_slibdir, libdir and
18501 libc_cv_localedir.
18502 * sysdeps/unix/sysv/linux/configure: Regenerated.
18503
4535cd55
JM
185042012-03-21 Joseph Myers <joseph@codesourcery.com>
18505
18506 * manual/lang.texi (Old Varargs): Remove section.
18507 (How Variadic): Update menu.
18508 (va_start): Do not mention varargs.h.
18509
17228132
TS
185102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18511 Joseph Myers <joseph@codesourcery.com>
18512
18513 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18514 link test.
18515 * configure: Regenerated.
18516
8149f976
TS
185172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18518
05f3d1f6
UD
18519 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18520 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18521 conformtest.pl
8149f976 18522
1a4ac776
JM
185232012-03-21 Joseph Myers <joseph@codesourcery.com>
18524
be22ce65
JM
18525 * NOTES: Remove.
18526 * Makefile (files-for-dist): Remove NOTES.
18527 (NOTES): Remove rule.
18528 * README: Don't refer to NOTES.
18529 * manual/creature.texi: Don't include macros.texi.
18530 * manual/intro.texi (creature.texi): Remove comment referring to
18531 NOTES.
18532
40b601fb
JM
18533 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18534 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18535 * configure: Regenerated.
18536 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18537 LIBC_TRY_CC_OPTION.
18538 (libc_cv_as_i686): Likewise.
18539 (libc_cv_cc_avx): Likewise.
18540 (libc_cv_cc_sse2avx): Likewise.
18541 (libc_cv_cc_fma4): Likewise.
18542 (libc_cv_cc_novzeroupper): Likewise.
18543 * sysdeps/i386/configure: Regenerated.
18544
1a4ac776
JM
18545 [BZ #13883]
18546 * sysdeps/i386/fpu/s_cexp.S: Remove.
18547 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18548 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18549 * math/libm-test.inc (cexp_test): Add more tests.
18550 * sysdeps/i386/fpu/libm-test-ulps: Update.
18551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18552
a458e7fe
AM
185532012-03-21 Allan McRae <allan@archlinux.org>
18554
18555 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18556
0cb7efc5
JM
185572012-03-21 Joseph Myers <joseph@codesourcery.com>
18558
18559 [BZ #13871]
18560 * math/w_exp2.c: Do not include <float.h>.
18561 (o_threshold, u_threshold): Remove.
18562 (__exp2): Calculate result before checking finiteness and calling
18563 __kernel_standard.
18564 * math/w_exp2f.c: Likewise.
18565 * math/w_exp2l.c: Likewise.
18566 * math/libm-test.inc (exp2_test): Require overflow exception for
18567 1e6 input.
2460d3aa
JM
18568
18569 [BZ #3866]
18570 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18571 range of signed 64-bit integers before using fistpll. Remove
18572 checks for whether integers fit in mantissa bits.
18573 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18574 the range of signed 32-bit integers before using fistpl. Remove
18575 checks for whether integers fit in mantissa bits.
18576 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18577 (__ieee754_powl): Test for y outside the range of signed 64-bit
18578 integers before using fistpll. Reduce 64-bit values to 63-bit
18579 ones as needed.
18580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18581 divide-by-zero is raised for zero to large negative powers.
18582 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18583 (__ieee754_powl): Test for y outside the range of signed 64-bit
18584 integers before using fistpll. Reduce 64-bit values to 63-bit
18585 ones as needed.
18586 * math/libm-test.inc (pow_test): Add more tests.
18587
eb96ffb0
L
185882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18589
18590 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18591 <stdio-common/_itoa.h>.
18592 * debug/segfault.c: Likewise.
18593 * elf/dl-cache.c: Likewise.
18594 * elf/dl-minimal.c: Likewise.
18595 * elf/dl-misc.c: Likewise.
18596 * elf/dl-sysdep.c: Likewise.
18597 * elf/dl-version.c: Likewise.
18598 * elf/rtld.c: Likewise.
18599 * hurd/hurdsock.c: Likewise.
18600 * hurd/lookup-retry.c: Likewise.
18601 * malloc/malloc.c: Likewise.
18602 * malloc/mtrace.c: Likewise.
18603 * nscd/nscd_getgr_r.c: Likewise.
18604 * nscd/nscd_getpw_r.c: Likewise.
18605 * nscd/nscd_getserv_r.c: Likewise.
18606 * posix/getopt_init.c: Likewise.
18607 * posix/wordexp.c: Likewise.
18608 * stdio-common/_itoa.c: Likewise.
18609 * stdio-common/printf_fphex.c: Likewise.
18610 * stdio-common/vfprintf.c: Likewise.
18611 * string/_strerror.c: Likewise.
18612 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18613 * sysdeps/i386/i686/hp-timing.h: Likewise.
18614 * sysdeps/mach/_strerror.c: Likewise.
18615 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18616 * sysdeps/mach/hurd/sethostid.c: Likewise.
18617 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18618 * sysdeps/mach/xpg-strerror.c: Likewise.
18619 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18620 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18621 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18622 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18623 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18624 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18625 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18626 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18627 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18628 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18629 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18630 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18631 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18632 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18634 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18635 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18636 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18637 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18638 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18639 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18640
18641 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18642
18643 * stdio-common/_itoa.h: Moved to ...
18644 * sysdeps/generic/_itoa.h: Here.
18645
18646 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18647
18648 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18649 instead of "_itoa.h" and "_itowa.h".
18650 * stdio-common/vfprintf.: Likewise.
18651
d1af992d
L
186522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18653
18654 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18655 <bits/wordsize.h>.
18656 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18657 (__signbit): Likwise.
18658 (llrintf): Likwise.
18659 (llrint): Likwise.
18660
114883e0
L
186612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18662
18663 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18664 __WORDSIZE != 64.
18665
c135cc1b
JM
186662012-03-20 Joseph Myers <joseph@codesourcery.com>
18667
18668 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18669 OVERFLOW_EXCEPTION_OK.
18670 * math/libm-test.inc ("Philosophy"): Update comment about
18671 exception testing.
18672 (OVERFLOW_EXCEPTION): Define.
18673 (OVERFLOW_EXCEPTION_OK): Likewise.
18674 (INVALID_EXCEPTION_OK): Renumber.
18675 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18676 (IGNORE_ZERO_INF_SIGN): Likewise.
18677 (test_exceptions): Handle FE_OVERFLOW.
18678 (exp10_test): Expect overflow exceptions.
18679 (exp2_test): Likewise.
18680 (expm1_test): Likewise.
18681 (nextafter_test): Likewise.
18682 (pow_test): Likewise.
18683 (scalbn_test): Likewise.
18684 (scalbln_test): Likewise.
18685
95443d88
L
186862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18687
18688 * sysdeps/x86_64/bits/atomic.h
18689 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18690 64bit integer.
18691 (atomic_exchange_acq): Likewise.
18692 (__arch_exchange_and_add_body): Likewise.
18693 (__arch_add_body): Likewise.
18694 (atomic_add_negative): Likewise.
18695 (atomic_add_zero): Likewise.
18696
490df6c4
L
186972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18698
c2722551 18699 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18700 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18701
5e52b189
L
187022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18703
18704 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18705 Check __x86_64__ instead of __WORDSIZE.
18706
a9879d4c
L
187072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18708
18709 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18710
5df98260
DM
187112012-03-19 David S. Miller <davem@davemloft.net>
18712
e1497744
DM
18713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18714
5df98260
DM
18715 * sysdeps/sparc/fpu/fenv_private.h: New file.
18716 * sysdeps/sparc/fpu/math_private.h: Use it.
18717 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18718 Remove.
18719 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18720 (libc_feholdexcept_setroundl): Remove.
18721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18722 Remove.
18723 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18724 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18725
b4c35121
L
187262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18727
18728 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18729 int64_t instead of long int.
18730 (INSERT_WORDS64): Likwise.
18731
56965fd7
L
187322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18733
18734 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18735 _Unwind_GetCFA return to _Unwind_Ptr first.
18736
83d1aec8
JM
187372012-03-19 Joseph Myers <joseph@codesourcery.com>
18738
1897ad44
JM
18739 [BZ #13629]
18740 * math/s_clog.c: Include <float.h>.
18741 (__clog): Scale large or subnormal inputs.
18742 * math/s_clogf.c: Likewise.
18743 * math/s_clogl.c: Likewise.
18744 * math/s_clog10.c: Include <float.h>.
18745 (M_LOG10_2): Define.
18746 (__clog10): Scale large or subnormal inputs.
18747 * math/s_clog10f.c: Likewise.
18748 * math/s_clog10l.c: Likewise.
18749 * math/libm-test.inc (clog_test): Add more tests.
18750 (clog10_test): Likewise.
18751 * sysdeps/i386/fpu/libm-test-ulps: Update.
18752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18753
7726d6a9
JM
18754 [BZ #11451]
18755 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18756 x and y.
18757 * math/libm-test.inc (atan2_test): Add another test.
18758
83d1aec8
JM
18759 * Makerules (common-objdir-compile): Remove.
18760 * sysdeps/unix/Makefile (config-generated): Do not add
18761 $(unix-generated) to variable.
18762 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18763 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18764 Remove rule.
18765 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18766 Likewise.
18767 [generic bits/local_lim.h] (before-compile): Do not append to
18768 variable.
18769 [generic bits/local_lim.h] (common-generated): Likewise.
18770 [generic sys/param.h] (before-compile): Do not append to variable.
18771 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18772 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18773 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18774 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18775 include.
18776 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18777 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18778 [generic sys/param.h] ($(addprefix
18779 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18780 [generic sys/param.h] (common-generated): Do not append to
18781 variable.
18782 [generic sys/param.h] (sysdep_headers): Likewise.
18783 [generic bits/errno.h] (before-compile): Do not append to
18784 variable.
18785 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18786 rule.
18787 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18788 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18789 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18790 [generic bits/errno.h] (common-generated): Do not append to
18791 variable.
18792 [generic bits/ioctls.h] (before-compile): Do not append to
18793 variable.
18794 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18795 rule.
18796 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18797 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18798 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18799 rule.
18800 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18801 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18802 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18803 [generic bits/ioctls.h] (common-generated): Do not append to
18804 variable.
18805 [generic sys/syscall.h] (syscall.h): Remove variable.
18806 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18807 rule.
18808 [generic sys/syscall.h] (before-compile): Do not append to
18809 variable.
18810 [generic sys/syscall.h] (common-generated): Likewise.
18811 * sysdeps/unix/errnos-tmpl.c: Remove file.
18812 * sysdeps/unix/errnos.awk: Likewise.
18813 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18814 * sysdeps/unix/ioctls.awk: Likewise.
18815 * sysdeps/unix/mk-local_lim.c: Likewise.
18816 * sysdeps/unix/snarf-ioctls: Likewise.
18817
4851a949
RH
188182012-03-19 Richard Henderson <rth@twiddle.net>
18819
bd37f2ee
RH
18820 * sysdeps/i386/fpu/fenv_private.h: New file.
18821 * sysdeps/i386/fpu/math_private.h: Use it.
18822 (math_opt_barrier, math_force_eval): Remove.
18823 (libc_feholdexcept_setround_53bit): Remove.
18824 (libc_feupdateenv_53bit): Remove.
18825 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18826 (math_opt_barrier, math_force_eval): Remove.
18827 (libc_feholdexcept): Remove.
18828 (libc_feholdexcept_setround): Remove.
18829 (libc_fetestexcept, libc_fesetenv): Remove.
18830 (libc_feupdateenv_test): Remove.
18831 (libc_feupdateenv, libc_feholdsetround): Remove.
18832 (libc_feresetround): Remove.
18833
d0adc922
RH
18834 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18835 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18836
0fe0f1f8
RH
18837 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18838 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18839 (libc_feupdateenv_testl): New.
18840 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18841 (libc_feupdateenv_testf): New.
18842 (libc_feupdateenv): Use libc_feupdateenv_test.
18843 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18844 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18845
eb92c487
RH
18846 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18847 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18848 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18849 (libc_feresetround_noex): New.
18850 (libc_feresetround_noexf): New.
18851 (libc_feresetround_noexl): New.
18852 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18853 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18854 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18855 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18856 SET_RESTORE_ROUND.
18857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18859 (__cos): Likewise.
18860 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18861 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18862 SET_RESTORE_ROUND_NOEX.
18863 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18864 SET_RESTORE_ROUND_NOEXF.
18865 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18866 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18867 (libc_feholdsetroundf): New.
18868 (libc_feresetround, libc_feresetroundf): New.
18869
7d2e8012
RH
18870 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18871 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18872 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18873
b4dabbb4
RH
18874 * sysdeps/generic/math_private.h: Include <fenv.h>.
18875 (default_libc_feholdexcept): New.
18876 (default_libc_feholdexcept_setround): New.
18877 (default_libc_fesetenv, default_libc_feupdateenv): New.
18878 (libc_feholdexcept): Only define if undefined.
18879 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18881 (libc_feholdexcept_setroundl): Likewise.
18882 (libc_feholdexcept_setround_53bit): Likewise.
18883 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18886 (libc_feupdateenv_53bit): Likewise.
18887 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18888 (libc_feholdexcept): Convert from macro to inline function.
18889 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18890 (libc_fesetenv, libc_feupdateenv): Likewise.
18891
4851a949
RH
18892 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18893 not previously defined.
18894 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18895 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18896 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18897 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18898 * sysdeps/ieee754/flt-32/math_private.h: New file.
18899 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18900 math_private.h below SET_FLOAT_WORD.
18901 (__isnan, __isinf_ns, __finite): Remove.
18902 (__isnanf, __isinf_nsf, __finitef): Remove.
18903
e79d442e
AS
189042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18905
18906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18907
90b80344
DM
189082012-03-17 David S. Miller <davem@davemloft.net>
18909
18910 [BZ #6471]
18911 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18912 for 2.16.
18913
edc21804
DM
189142012-03-16 David S. Miller <davem@davemloft.net>
18915
77e927af
DM
18916 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18917 warnings.
18918
374976dd
DM
18919 [BZ #6471]
18920 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18921 properly.
18922 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18923 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18924 sysdep_routines when subdir is sysvipc.
18925 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18926 __getshmlba helper.
18927
edc21804
DM
18928 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18929
473c3ef3
L
189302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18931
18932 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18933 [__LP64__].
18934
eb0f39b6
L
189352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18936
18937 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18938 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18939 (__lround): Renamed to ...
18940 (__llround): This. Replace long int with long long int.
18941 Define lround functions as aliases of llround functions.
18942 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18943
6b6cd74b
L
189442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18945
18946 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18947 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18948 adresses to uintptr_t. Replace "long int" and "unsigned long
18949 int" with "greg_t" on va_arg.
18950
f1a77b01
L
189512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18952
18953 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18954 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18955
18956 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18957 Move e_machine check before EI_CLASS check. Handle x32
18958 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18959 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18960 SKIP_EM_IA_64 and include
18961 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18962
18963 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18964 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18965 (add_system_dir): New macro.
18966
18967 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18968 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18969
11b90b9f
JM
189702012-03-16 Joseph Myers <joseph@codesourcery.com>
18971
c36e1d23
JM
18972 [BZ #2551]
18973 [BZ #2552]
18974 [BZ #2553]
18975 [BZ #2554]
18976 [BZ #2562]
18977 [BZ #2563]
18978 [BZ #2565]
18979 [BZ #2566]
18980 [BZ #2576]
18981 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18982 (y0): Likewise.
18983 * math/w_j0f.c (j0f): Likewise.
18984 (y0f): Likewise.
18985 * math/w_j0l.c (__j0l): Likewise.
18986 (__y0l): Likewise.
18987 * math/w_j1.c (j1): Likewise.
18988 (y1): Likewise.
18989 * math/w_j1f.c (j1f): Likewise.
18990 (y1f): Likewise.
18991 * math/w_j1l.c (__j1l): Likewise.
18992 (__y1l): Likewise.
18993 * math/w_jn.c (jn): Likewise.
18994 (yn): Likewise.
18995 * math/w_jnf.c (jnf): Likewise.
18996 (ynf): Likewise.
18997 * math/w_jnl.c (__jnl): Likewise.
18998 (__ynl): Likewise.
18999 * math/libm-test.inc (j0_test): Add more tests.
19000 (j1_test): Likewise.
19001 (jn_test): Likewise. Add trailing semicolon to existing test.
19002 (y0_test): Likewise.
19003 (y1_test): Likewise.
19004 * sysdeps/i386/fpu/libm-test-ulps: Update.
19005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19006
11b90b9f
JM
19007 [BZ #13851]
19008 [BZ #13854]
19009 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19010 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19011 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19012 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19013 (__tanl): Set errno for infinite argument.
19014 * sysdeps/i386/fpu/mptan.c: Remove.
19015 * sysdeps/i386/fpu/s_tan.S: Likewise.
19016 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19017 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19018 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19019 * math/libm-test.inc (tan_test): Add more tests and enable more
19020 tests for double and long double.
19021 * sysdeps/i386/fpu/libm-test-ulps: Update.
19022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19023
6a1bd2a1
JK
190242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19025
19026 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19027 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19028
10a803e0
RM
190292012-03-16 Roland McGrath <roland@hack.frob.com>
19030
19031 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19032 * configure.in: Use it for both main tree and add-ons.
19033 * configure: Regenerated.
19034
f196c7f7
L
190352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19036
19037 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19038
8848d99d
JM
190392012-03-16 Joseph Myers <joseph@codesourcery.com>
19040
96cbe7f4
JM
19041 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19042 in comment.
19043
8848d99d
JM
19044 [BZ #13851]
19045 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19046 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19047 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19049 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19050 infinite argument.
19051 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19052 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19053 != 0 for prec == 2.
19054 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19055 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19056 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19057 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19058 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19059 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19060 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19061 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19062 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19063 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19064 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19065 * math/libm-test.inc (cos_test): Add more tests and enable more
19066 tests for long double.
19067 (sin_test): Likewise.
19068 (sincos_test): Likewise.
19069 * sysdeps/i386/fpu/libm-test-ulps: Update.
19070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19071
dd7f4703
DM
190722012-03-16 David S. Miller <davem@davemloft.net>
19073
19074 * sysdeps/sparc/fpu/math_private.h: New file.
19075
006f1daa
DM
190762012-03-15 David S. Miller <davem@davemloft.net>
19077
c0c83bc8
DM
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19079 file.
e6a62e18 19080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19082 file.
e6a62e18
DM
19083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19088 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19089 sysdep routines.
19090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19091
88cb87d9
DM
19092 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19093 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19094
006f1daa 19095 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
19096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19097 sparc-ifunc.h
006f1daa 19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
19099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19100 Likewise.
19101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19102 Likewise.
006f1daa
DM
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
19106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19107 Likewise.
006f1daa
DM
19108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
19112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19113 Likewise.
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19115 Likewise.
006f1daa
DM
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19123 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19124 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19132 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19133 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19134 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19135 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19136 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19137 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19140
11e0098e
AS
191412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19142
19143 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19144 scaling.
19145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19146
e85b09d0
AJ
191472012-03-15 Andreas Jaeger <aj@suse.de>
19148
19149 [BZ #13852]
19150 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19151 ieee754/flt-32 implementation for sin, cos and sincos.
19152 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19153 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19154 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19155 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19156 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19157 ieee754/flt-32 implementation for tan.
19158
19159 * math/libm-test.inc (cos_test): Enable some large input tests for
19160 float as well
19161 (sin_test): Likewise.
19162 (sincos_test): Likewise.
19163 (tan_test): Add tests for large input.
19164
19165 * sysdeps/i386/fpu/libm-test-ulps: Update.
19166
81c64153
AJ
191672012-03-15 Andreas Jaeger <aj@suse.de>
19168
19169 [BZ #13658]
19170 * math/libm-test.inc (cos_test): Add more test cases.
19171 (sin_test): Likewise.
19172 (sincos_test): Likewise.
19173
7bbfa5c6
AJ
191742012-03-15 Andreas Jaeger <aj@suse.de>
19175
19176 [BZ #13837]
19177 * math/libm-test.inc (cos_test): Add a test case for large input
19178 value.
19179 (sin_test): Likewise.
19180 (sincos_test): Likewise.
19181
191822012-03-15 Andreas Jaeger <aj@suse.de>,
19183 Joseph Myers <joseph@codesourcery.com>
19184
19185 [BZ #13658]
0671f479 19186 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19187 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19188 * sysdeps/i386/fpu/branred.c: Likewise.
19189 * sysdeps/i386/fpu/dosincos.c: Likewise.
19190 * sysdeps/i386/fpu/mpa.c: Likewise.
19191 * sysdeps/i386/fpu/s_cos.S: Likewise.
19192 * sysdeps/i386/fpu/s_sin.S: Likewise.
19193 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19194 * sysdeps/i386/fpu/sincos32.c: Likewise.
19195
19196 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19197 Define.
19198 (libc_feupdateenv_53bit): Define.
19199 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19200 Define.
19201 (libc_feupdateenv_53bit): Define.
19202
19203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19204 53 bit (without extend i386 double precision).
19205
19206 * math/libm-test.inc (sincos_test): Add tests for large input.
19207 (sin): Likewise.
19208 (cos): Likewise.
19209
19210 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19211
9cad04ea
AS
192122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19213
19214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19215
f7062b9a
DM
192162012-03-15 David S. Miller <davem@davemloft.net>
19217
19218 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19219 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19220 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19221 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19227 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19228 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19229 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19230 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19231 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19232 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19234 file.
f7062b9a 19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19237 file.
f7062b9a 19238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19240 file.
f7062b9a 19241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19243 file.
f7062b9a
DM
19244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19245 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19246 fmin/fmax sysdep routines.
19247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19248
7bd951ff
DM
192492012-03-14 David S. Miller <davem@davemloft.net>
19250
559398ab
DM
19251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19257 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19258 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19259 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19260 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19267 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19268 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19269 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19271 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19272 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19273 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19275 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19276 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19277 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19278 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19280 routines.
19281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19282 file.
559398ab 19283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19285 file.
559398ab 19286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19288 file.
559398ab 19289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19291 file.
559398ab 19292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19294 file.
559398ab 19295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19297 file.
19298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19299 file.
19300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19301 file.
19302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19303 file.
19304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19305 New file.
19306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19307 file.
19308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19309 file.
559398ab 19310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19312 file.
559398ab 19313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19315 file.
559398ab 19316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19318 file.
559398ab 19319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19321 VIS3 routines.
559398ab
DM
19322
19323 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19324 New file.
19325
5a1c1e32
DM
19326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19327
eae47a36
DM
19328 * sysdeps/sparc/configure.in: New file.
19329 * sysdeps/sparc/configure: Generate.
19330 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19331 * configure: Regenerate.
19332 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19333 * config.make.in (have-as-vis3): New.
19334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19335 available use -Av9d instead of -Av9a.
19336 * sysdeps/sparc/sparc64/Makefile: Likewise.
19337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
19338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19339 New file.
19340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19341 file.
19342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19343 New file.
19344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19345 file.
eae47a36
DM
19346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19347 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19348 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19349 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19350 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19351
c0c83bc8
DM
19352 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19353 fzeros/fnegs to load 0x80000000 into a float register instead of
19354 using the stack.
7bd951ff
DM
19355 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19356
bd951ccb
JM
193572012-03-14 Joseph Myers <joseph@codesourcery.com>
19358
19359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19360 bits/syscall.h.
19361 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19362 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19363 ($(inst_includedir)/bits/syscall.h): Remove rule.
19364 ($(objpfx)bits/syscall.d): Include instead of
19365 $(objpfx)syscall-list.d.
19366 (generated): Change syscall-list.h and syscall-list.d to
19367 bits/syscall.h and bits/syscall.d.
19368
bb4e6db2
RM
193692012-03-14 Roland McGrath <roland@hack.frob.com>
19370
19371 [BZ #13846]
19372 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19373
aa4a2ae1
JM
193742012-03-14 Joseph Myers <joseph@codesourcery.com>
19375
e456826d
JM
19376 [BZ #13841]
19377 * math/s_csqrt.c: Include <float.h>.
19378 (__csqrt): Scale large or subnormal inputs.
19379 * math/s_csqrtf.c: Likewise.
19380 * math/s_csqrtl.c: Likewise.
19381 * math/libm-test.inc (csqrt_test): Add more tests.
19382 * sysdeps/i386/fpu/libm-test-ulps: Update.
19383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19384
aa4a2ae1
JM
19385 [BZ #13840]
19386 * math/libm-test.inc (hypot_test): Add more tests.
19387
7c10fd35
DM
193882012-03-13 David S. Miller <davem@davemloft.net>
19389
19390 [BZ #13840]
19391 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19392 double-precision for the calculation instead of scaling.
19393
f453b98b
JM
193942012-03-13 Joseph Myers <joseph@codesourcery.com>
19395
19396 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19397 manipulate bits before adding and subtracting TWO52[sx].
19398 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19399 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19400 Likewise.
19401 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19402
09a3453f
DM
194032012-03-13 David S. Miller <davem@davemloft.net>
19404
8e59da90
DM
19405 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19406 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19408 rtld-global-offsets.h
19409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19410
2a8ab7f2
DM
19411 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19412 large parameters.
19413
10f62770
DM
19414 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19415
5f0bdb18
DM
19416 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19417 'err' in the ifdef scope in which it is actually used.
19418
09a3453f
DM
19419 * nss/nss_db/db-init.c: Include string.h
19420
b4b2eb5e
DM
194212012-03-12 David S. Miller <davem@davemloft.net>
19422
98bb2f1c
DM
19423 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19424 masking out of the most significant byte of random value used.
19425 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19426 Fix coding style in previous change.
19427
b4b2eb5e
DM
19428 * sysdeps/unix/sysv/linux/kernel-features.h
19429 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19430 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19431 expression.
19432 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19433 later.
19434
6e226b09
DM
194352012-03-11 David S. Miller <davem@davemloft.net>
19436
a1bcbd40
DM
19437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19438 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19439 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19440 for 'resultvar' otherwise things get truncated on 64-bit.
19441
cb9d6174
DM
19442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19443 Fix masking out of the most significant byte of random value used.
19444
6e226b09
DM
19445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19446
058c132d
AS
194472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19448
19449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19450
2d2cd515
DM
194512012-03-09 David S. Miller <davem@davemloft.net>
19452
19453 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19454 variables with appropriate CPP guards.
19455 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19456 frame pointer, not the stack pointer. Correct layout comments. Fix test
19457 on resulting framesize and the management of the outregs buffer for pltexit.
19458 Preserve floating point return values across _dl_call_pltexit call.
19459 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19460 framesize and the management of the outregs buffer for pltexit.
19461 Preserve floating point return values across _dl_call_pltexit
19462 call.
19463 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19464 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19465 (print_exit): Fix format string for return register value.
19466
9a07f9d0
JM
194672012-03-10 Joseph Myers <joseph@codesourcery.com>
19468
19469 * sunrpc/Makefile (others): Add rpcgen.
19470 ($(objpfx)rpcgen): Remove special build rule and dependency on
19471 libc.
19472 * sunrpc/rpcgen.c: New file.
19473
547b5e30
PE
194742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19475
c524201a
PE
19476 [BZ #13673]
19477 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19478 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19479 * sysdeps/i386/crti.S: Likewise.
19480 * sysdeps/i386/crtn.S: Likewise.
19481 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19482 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19483 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19484 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19485 * sysdeps/sh/crti.S: Likewise.
19486 * sysdeps/sh/crtn.S: Likewise.
19487 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19488
7b6235f2
PE
19489 [BZ #13673]
19490 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19491 with URL.
19492 * locale/programs/locfile-kw.gperf: Likewise.
19493 * locale/programs/charmap-kw.h: Regenerated.
19494 * locale/programs/locfile-kw.h: Likewise.
19495
547b5e30
PE
19496 [BZ #13673]
19497 * intl/plural.y: Replace FSF snail mail address with URL.
19498 * intl/plural.c: Regenerated.
19499
5f0a5dae
RH
195002012-03-09 Richard Henderson <rth@twiddle.net>
19501
19502 * include/math_private.h: Remove file.
19503 * math/math_private.h: Move file ...
19504 * sysdeps/generic/math_private.h: ... here.
19505
b8c03620
RH
19506 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19507 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19508 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19509
4e234f5d 19510 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19511 and <math_private.h>.
19512 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19513 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19514 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19515 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19516 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19517 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19518 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19519 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19520 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19523 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19524 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19526 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19527 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19528 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19529 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19530 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19531 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19532 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19533 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19534 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19536 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19537 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19538 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19539 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19540 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19552 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19553 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19554 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19555 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19556 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19572 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19573 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19575 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19576 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19577 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19578 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19579 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19580 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19582 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19583 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19584 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19599 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19600 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19603 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19604 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19605 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19606 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19616 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19617 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19618 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19619 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19620 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19621 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19622 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19623 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19624 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19626 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19627 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19628 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19629 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19630 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19631 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19632 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19633 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19634 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19635 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19636 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19637 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19638 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19639 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19640 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19641 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19642 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19644 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19645 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19646 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19647 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19648 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19649 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19650 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19651 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19652 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19653 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19654 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19655 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19656 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19657 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19658 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19659 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19660 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19661 * sysdeps/ieee754/k_standard.c: Likewise.
19662 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19663 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19665 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19666 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19667 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19668 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19669 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19670 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19671 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19672 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19674 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19675 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19676 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19677 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19679 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19680 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19681 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19682 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19683 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19684 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19685 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19687 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19688 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19689 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19690 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19691 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19692 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19693 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19694 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19695 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19696 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19697 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19699 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19700 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19701 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19702 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19703 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19704 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19706 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19707 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19724 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19725 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19726 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19735 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19736 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19739 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19744 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19745 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19747 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19748 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19749 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19752 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19753 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19754 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19755 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19758 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19759 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19761 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19764 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19765 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19766 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19767 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19768 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19769 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19770 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19774 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19775 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19776 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19777 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19779 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19780 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19781 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19782 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19783 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19784 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19785 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19786 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19787 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19788 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19789 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19790 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19791 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19792 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19793 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19794 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19795 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19798 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19799 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19800 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19801 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19802 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19803 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19804 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19805 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19806 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19808 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19809 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19810 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19811 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19812 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19813 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19821 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19822 * sysdeps/ieee754/s_lib_version.c: Likewise.
19823 * sysdeps/ieee754/s_matherr.c: Likewise.
19824 * sysdeps/ieee754/s_signgam.c: Likewise.
19825 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19826 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19828 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19830 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19831 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19832 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19833 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19834 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19835 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19836 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19837 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19838 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19839 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19840 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19841 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19842 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19843 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19844 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19845 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19846
1991fa03
JM
198472012-03-09 Joseph Myers <joseph@codesourcery.com>
19848
19849 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19850 * sunrpc/rpc_main.c: Likewise.
19851 * sunrpc/rpc_svcout.c: Likewise.
19852
60d6f5a6
DM
198532012-03-09 David S. Miller <davem@davemloft.net>
19854
19855 * include/math_private.h: New file.
19856
4962050e
JM
198572012-03-09 Joseph Myers <joseph@codesourcery.com>
19858
02a6f887
JM
19859 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19860 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19861 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19862 from <bits/socket_type.h>.
19863 (enum __socket_type): Don't define here.
19864 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19866 bits/socket_type.h.
19867
c6e013c1
JM
19868 [BZ #13566]
19869 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19870 checking __USE_GNU.
19871
4962050e
JM
19872 * Makerules ($(inst_includedir)/%.h): New rule.
19873 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19874 (install-others): Remove variable setting.
19875 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19876
38842f45
RH
198772012-03-08 Richard Henderson <rth@twiddle.net>
19878
67bb6da6
RH
19879 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19880 from macro to inline function; merge with the
19881 !__LIBC_INTERNAL_MATH_INLINES version.
19882 (__ieee754_sqrtf): Likewise.
19883
15194b4b
RH
19884 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19885 to inline function.
19886 (__rintf, __floor, __floorf): Likewise.
19887
64e21ede
RH
19888 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19889 macro to inline function.
19890 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19891
38842f45
RH
19892 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19893 not <math/math_private.h>.
19894
c64bf5fe
DM
198952012-03-08 David S. Miller <davem@davemloft.net>
19896
19897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19898 copyright year.
19899 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19900
82d86f28
TS
199012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19902
19903 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19904 normalization.
19905 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19906 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19907
aea5d727
UD
199082012-03-08 Ulrich Drepper <drepper@gmail.com>
19909
19910 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19911 be defined individually, they must be defined as a block. Define
19912 S for printing a string instead of hidint the different by using a
19913 macro for adding the 'l'.
19914 * stdio-common/tst-fphex-wide.c: Adjust.
19915
70bca0a3
MP
199162012-03-07 Marek Polacek <polacek@redhat.com>
19917
19918 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19919
65b81130
MP
199202012-03-08 Marek Polacek <polacek@redhat.com>
19921
19922 [BZ #13806]
19923 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19924 * stdio-common/tst-fphex.c: Define a few macros to make the
19925 test reusable. Use them.
19926 * stdio-common/tst-fphex-wide.c: New file.
19927
07037eeb
JM
199282012-03-08 Joseph Myers <joseph@codesourcery.com>
19929
a7a93d50
JM
19930 [BZ #6911]
19931 * manual/macros.texi (gnusystems): New macro.
19932 (nongnusystems): Likewise.
19933 (gnulinuxhurdsystems): Likewise.
19934 (gnuhurdsystems): Likewise..
19935 (gnulinuxsystems): Likewise.
19936 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19937 variants of the GNU system, not "GNU system".
19938 * manual/conf.texi: Likewise.
19939 * manual/errno.texi: Likewise. Update example of errno macro
19940 expansion.
19941 * manual/filesys.texi: Likewise.
19942 (getumask): Document as specific to GNU/Hurd.
19943 * manual/install.texi: Likewise. Reword some references to
19944 GNU/Linux.
19945 * manual/intro.texi: Likewise.
19946 * manual/io.texi: Likewise.
19947 (File Name Portability): Detail which constraints are inapplicable
19948 to all GNU systems and which are only inapplicable to GNU/Hurd.
19949 * manual/job.texi: Likewise.
19950 * manual/llio.texi: Likewise.
19951 (O_NOCTTY): Document as present on GNU/Linux.
19952 * manual/maint.texi: Likewise.
19953 * manual/memory.texi: Likewise.
19954 * manual/pattern.texi: Likewise.
19955 * manual/pipe.texi: Likewise.
19956 * manual/process.texi: Likewise.
19957 * manual/resource.texi: Likewise.
19958 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19959 child on GNU/Hurd.
19960 * manual/setjmp.texi: Likewise.
19961 * manual/signal.texi: Likewise.
19962 * manual/startup.texi: Likewise.
19963 * manual/stdio.texi: Likewise.
19964 * manual/terminal.texi: Likewise.
19965 (ONLCR): Document as POSIX.
19966 (OXTABS): Document availability on GNU/Linux as XTABS.
19967 (ONOEOT): Document availability separately from other bits.
19968 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19969 * manual/time.texi: Likewise.
19970 * manual/users.texi: Likewise.
19971 * INSTALL: Regenerated.
19972 * sysdeps/gnu/errlist.c: Regenerated.
19973
07037eeb
JM
19974 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19975 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19976 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19977 puts.
19978 * configure: Regenerated.
19979
d1d3431a
JM
199802012-03-07 Joseph Myers <joseph@codesourcery.com>
19981
af6a1e37
JM
19982 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19983 default includes instead of AC_HEADER_CHECK.
19984 * sysdeps/i386/configure: Regenerated.
19985
d1d3431a
JM
19986 [BZ #10716]
19987 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19988 * math/s_cacoshf.c (__cacoshf): Likewise.
19989 * math/s_cacoshl.c (__cacoshl): Likewise.
19990 * math/s_casinh.c (__casinh): Set signs of result from argument.
19991 * math/s_casinhf.c (__casinhf): Likewise.
19992 * math/s_casinhl.c (__casinhl): Likewise.
19993 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19994 (casinh_test): Add more tests.
19995 * sysdeps/i386/fpu/libm-test-ulps: Update.
19996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19997
482ff4da
UD
199982012-03-07 Ulrich Drepper <drepper@gmail.com>
19999
872fda05
UD
20000 * po/zh_TW.po: Update from translation team.
20001
a4300c7a
UD
20002 * login/Makefile (distribute): Remove variable.
20003 * catgets/Makefile: Likewise.
20004 * mach/Makefile: Likewise.
20005 * malloc/Makefile: Likewise.
20006 * misc/Makefile: Likewise.
20007 * iconv/Makefile: Likewise.
20008 * nscd/Makefile: Likewise.
20009 * hurd/Makefile: Likewise.
20010 * manual/Makefile: Likewise.
20011 * locale/Makefile: Likewise.
20012 * intl/Makefile: Likewise.
20013 * conform/Makefile: Likewise.
20014 * nss/Makefile: Likewise.
20015 * time/Makefile: Likewise.
20016 * soft-fp/Makefile: Likewise.
20017 * dirent/Makefile: Likewise.
20018 * gmon/Makefile: Likewise.
20019 * po/Makefile: Likewise.
20020 * rt/Makefile: Likewise.
20021 * socket/Makefile: Likewise.
20022 * math/Makefile: Likewise.
20023 * signal/Makefile: Likewise.
20024 * debug/Makefile: Likewise.
20025 * elf/Makefile: Likewise.
20026 * timezone/Makefile: Likewise.
20027 * stdlib/Makefile: Likewise.
20028 * iconvdata/Makefile: Likewise.
20029 * sunrpc/Makefile: Likewise.
20030 * io/Makefile: Likewise.
20031 * argp/Makefile: Likewise.
20032 * inet/Makefile: Likewise.
20033 * hesiod/Makefile: Likewise.
20034 * grp/Makefile: Likewise.
20035 * csu/Makefile: Likewise.
20036 * wctype/Makefile: Likewise.
20037 * crypt/Makefile: Likewise.
20038 * libio/Makefile: Likewise.
20039 * string/Makefile: Likewise.
20040 * nis/Makefile: Likewise.
20041 * resolv/Makefile: Likewise.
20042 * stdio-common/Makefile: Likewise.
20043 * wcsmbs/Makefile: Likewise.
20044 * dlfcn/Makefile: Likewise.
20045 * posix/Makefile: Likewise.
20046
3b7c4e74 20047 [BZ #6959]
482ff4da
UD
20048 * timezone/Makefile: Don't install timezone files, just the programs
20049 and scripts.
20050
f72ed77d
UD
200512012-03-06 Ulrich Drepper <drepper@gmail.com>
20052
a000466f
UD
20053 * nss/databases.def: Add missing gshadow entry.
20054
f72ed77d
UD
20055 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20056
a53b7a4e
MP
200572012-03-06 Marek Polacek <polacek@redhat.com>
20058
20059 [BZ #13726]
20060 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20061 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20062 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20063 * stdio-common/tst-long-dbl-fphex.c: New file.
20064
e9258400
DM
200652012-03-06 David S. Miller <davem@davemloft.net>
20066
20067 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20068 (set_obp_int): New function.
20069 (get_obp_int): New function.
20070 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
20071 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20072 Avoid unused variable warnings on 'val' and use builtin_expect.
20073 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20074 __builtin_expect.
e9258400
DM
20075 (INLINE_CLONE_SYSCALL): Likewise.
20076
3bd2c723
DM
200772012-03-05 David S. Miller <davem@davemloft.net>
20078
20079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20080
bbb78d03
AS
200812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20082
884c5db4
AS
20083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20084
bbb78d03
AS
20085 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20086 only for |x| >= 40.
20087 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20088
1c9f702a 200892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
20090
20091 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20092 Replace gettimeofday with __vdso_gettimeofday.
20093
7be16f82
RM
20094 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20095 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20096 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
20097
20098 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20099 time with __vdso_time.
20100
ed58a00f
JM
201012012-03-05 Joseph Myers <joseph@codesourcery.com>
20102
20103 * manual/lang.texi (size_t): Note types to which size_t may be
20104 equivalent with the GNU C Library, but do not describe when
20105 differences between them are significant.
20106
30ee4ced
AJ
201072012-03-05 Andreas Jaeger <aj@suse.de>
20108
20109 * sysdeps/i386/fpu/libm-test-ulps: Update.
20110
b7cd39e8
JM
201112012-03-05 Joseph Myers <joseph@codesourcery.com>
20112
20113 [BZ #3976]
20114 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20115 (__ieee754_pow): Save and restore rounding mode and use
20116 round-to-nearest for main computations.
20117 * math/libm-test.inc (pow_test_tonearest): New function.
20118 (pow_test_towardzero): Likewise.
20119 (pow_test_downward): Likewise.
20120 (pow_test_upward): Likewise.
20121 (main): Call the new functions.
20122 * sysdeps/i386/fpu/libm-test-ulps: Update.
20123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
20124
20125 [BZ #3976]
20126 * math/libm-test.inc (cosh_test_tonearest): New function.
20127 (cosh_test_towardzero): Likewise.
20128 (cosh_test_downward): Likewise.
20129 (cosh_test_upward): Likewise.
20130 (sinh_test_tonearest): Likewise.
20131 (sinh_test_towardzero): Likewise.
20132 (sinh_test_downward): Likewise.
20133 (sinh_test_upward): Likewise.
20134 (main): Call the new functions.
20135 * sysdeps/i386/fpu/libm-test-ulps: Update.
20136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20137
6c6a98c9
TV
201382012-03-05 Tom de Vries <tom@codesourcery.com>
20139
20140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20141 default stack guard is set in last bytes.
20142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20143
21bb2d2e 201442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 20145
21bb2d2e 20146 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 20147
21bb2d2e
AJ
20148 [BZ #13656]
20149 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20150 possibly allocate from heap instead of stack.
20151 * stdio-common/bug-vfprintf-nargs.c: New file.
20152 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 20153
c6922934
AS
201542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20155
20156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20157
bc957d53
MP
201582012-03-03 Marek Polacek <polacek@redhat.com>
20159
20160 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20161 * math/math_private.h: Likewise.
20162 * stdlib/tst-strtod.c: Likewise.
20163 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20164 * sysdeps/x86_64/bits/atomic.h: Likewise.
20165
6358490d
DM
201662012-03-02 David S. Miller <davem@davemloft.net>
20167
20168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20172 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20173 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20174 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20175 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20176
01ae168d
RM
201772012-03-02 Roland McGrath <roland@hack.frob.com>
20178
d9a17c07
RM
20179 [BZ #13792]
20180 * manual/examples/README: New file, says the example source files
20181 can be used under GPL>=2.
20182 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20183 line containing just "*/".
20184 * manual/examples/add.c: Add copyright header (GPL>=2).
20185 * manual/examples/argp-ex1.c: Likewise.
20186 * manual/examples/argp-ex2.c: Likewise.
20187 * manual/examples/argp-ex3.c: Likewise.
20188 * manual/examples/argp-ex4.c: Likewise.
20189 * manual/examples/atexit.c: Likewise.
20190 * manual/examples/db.c: Likewise.
20191 * manual/examples/dir.c: Likewise.
20192 * manual/examples/dir2.c: Likewise.
20193 * manual/examples/execinfo.c: Likewise.
20194 * manual/examples/filecli.c: Likewise.
20195 * manual/examples/filesrv.c: Likewise.
20196 * manual/examples/fmtmsgexpl.c: Likewise.
20197 * manual/examples/genpass.c: Likewise.
20198 * manual/examples/inetcli.c: Likewise.
20199 * manual/examples/inetsrv.c: Likewise.
20200 * manual/examples/isockad.c: Likewise.
20201 * manual/examples/longopt.c: Likewise.
20202 * manual/examples/memopen.c: Likewise.
20203 * manual/examples/memstrm.c: Likewise.
20204 * manual/examples/mkfsock.c: Likewise.
20205 * manual/examples/mkisock.c: Likewise.
20206 * manual/examples/mygetpass.c: Likewise.
20207 * manual/examples/pipe.c: Likewise.
20208 * manual/examples/popen.c: Likewise.
20209 * manual/examples/rprintf.c: Likewise.
20210 * manual/examples/search.c: Likewise.
20211 * manual/examples/select.c: Likewise.
20212 * manual/examples/setjmp.c: Likewise.
20213 * manual/examples/sigh1.c: Likewise.
20214 * manual/examples/sigusr.c: Likewise.
20215 * manual/examples/stpcpy.c: Likewise.
20216 * manual/examples/strdupa.c: Likewise.
20217 * manual/examples/strftim.c: Likewise.
20218 * manual/examples/strncat.c: Likewise.
20219 * manual/examples/subopt.c: Likewise.
20220 * manual/examples/swapcontext.c: Likewise.
20221 * manual/examples/termios.c: Likewise.
20222 * manual/examples/testopt.c: Likewise.
20223 * manual/examples/testpass.c: Likewise.
20224 * manual/examples/timeval_subtract.c: Likewise.
20225
01ae168d
RM
20226 [BZ #13792]
20227 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20228 function to ...
20229 * manual/timeval_subtract.c.texi: ... here, new file.
20230
49efa33d
DM
202312012-03-02 David S. Miller <davem@davemloft.net>
20232
20233 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20234
28afd92d
JM
202352012-03-02 Joseph Myers <joseph@codesourcery.com>
20236
804360ed
JM
20237 [BZ #3976]
20238 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20239 (__sin): Save and restore rounding mode and use round-to-nearest
20240 for all computations.
20241 (__cos): Save and restore rounding mode and use round-to-nearest
20242 for all computations.
20243 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20244 <fenv.h>.
20245 (tan): Save and restore rounding mode and use round-to-nearest for
20246 all computations.
20247 * math/libm-test.inc (cos_test_tonearest): New function.
20248 (cos_test_towardzero): Likewise.
20249 (cos_test_downward): Likewise.
20250 (cos_test_upward): Likewise.
20251 (sin_test_tonearest): Likewise.
20252 (sin_test_towardzero): Likewise.
20253 (sin_test_downward): Likewise.
20254 (sin_test_upward): Likewise.
20255 (tan_test_tonearest): Likewise.
20256 (tan_test_towardzero): Likewise.
20257 (tan_test_downward): Likewise.
20258 (tan_test_upward): Likewise.
20259 (main): Call the new functions.
20260 * sysdeps/i386/fpu/libm-test-ulps: Update.
20261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20262
a6d06d7b
JM
20263 [BZ #10135]
20264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20265 small n, then large n, before computing and testing k+n.
20266 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20267 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20268 Likewise.
20269 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20270 Likewise.
20271 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20272 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20273 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20274 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20277 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20278 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20279 * math/libm-test.inc (scalbn_test): Add more tests.
20280 (scalbln_test): Likewise.
20281
07e12bb3
JM
20282 * manual/filesys.texi (mode_t): Describe constraints on size and
20283 signedness, not exact equivalence to a particular type.
20284 (ino_t): Likewise.
20285 (ino64_t): Likewise.
20286 (dev_t): Likewise.
20287 (nlink_t): Likewise.
20288 (blkcnt_t): Likewise.
20289 (blkcnt64_t): Likewise.
20290 * manual/llio.texi (off_t): Likewise.
20291
28afd92d
JM
20292 [BZ #3976]
20293 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20294 (__ieee754_exp): Save and restore rounding mode and use
20295 round-to-nearest for all computations.
20296 * math/libm-test.inc (exp_test_tonearest): New function.
20297 (exp_test_towardzero): Likewise.
20298 (exp_test_downward): Likewise.
20299 (exp_test_upward): Likewise.
20300 (main): Call the new functions.
20301 * sysdeps/i386/fpu/libm-test-ulps: Update.
20302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20303
b1eeb65d
CD
203042012-03-01 Chris Demetriou <cgd@google.com>
20305
20306 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20307 have predictable order.
20308
53362a4b
DM
203092012-03-01 David S. Miller <davem@davemloft.net>
20310
3c969083
DM
20311 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20312
759707de
DM
20313 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20314 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20315 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20316 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20317
dfdb8ff2
DM
20318 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20319 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20320 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20322 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20323 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20324 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20325 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20326 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20327
ead89f96
DM
20328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20329
7f66bd07
DM
20330 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20331 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20333
53362a4b
DM
20334 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20335 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20337 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20338 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20339 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20341 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20342 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20343 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20344 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20347 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20348 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20350 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20351 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20352 * sysdeps/sparc/elf/configure: Regenerated.
20353
7b1902cb
JM
203542012-03-01 Joseph Myers <joseph@codesourcery.com>
20355
bec039bc
JM
20356 * configure.in (AS, LD): Require binutils 2.20 or later.
20357 * configure: Regenerated.
20358 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20359 as required minimum version.
20360 * INSTALL: Regenerated.
20361
7b1902cb
JM
20362 [BZ #2541]
20363 [BZ #4108]
20364 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20365 before squaring exponent.
20366 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20367 bottom long double and 27 bits of top long double before squaring
20368 exponent.
20369 * math/libm-test.inc (erfc_test): Add more tests.
20370 * sysdeps/i386/fpu/libm-test-ulps: Update.
20371 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20373
f775c276
KT
203742012-03-01 Kai Tietz <ktietz@redhat.com>
20375
20376 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20377 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20378 containing bit-fields.
20379 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20380 * soft-fp/single.h (_FP_UNION_S): Likewise.
20381 * soft-fp/double.h (_FP_UNION_D): Likewise.
20382
5b8a4d4a
JM
203832012-02-29 Joseph Myers <joseph@codesourcery.com>
20384
0bab47b6
JM
20385 [BZ #13786]
20386 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20387 not include ../strcmp.S.
20388 [USE_AS_STRNCASECMP_L]: Likewise.
20389 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20390 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20391 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20392 (__strncasecmp_l_ia32): Define as alias to
20393 __strncasecmp_l_nonascii.
20394
0fcad3e2
JM
20395 [BZ #5794]
20396 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20397 * sysdeps/i386/fpu/libm-test-ulps: Update.
20398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20399
5b8a4d4a
JM
20400 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20402
8fdceb2e
JL
204032012-02-29 Jeff Law <law@redhat.com>
20404
20405 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20406 out of bounds read.
20407
1f393a11
MP
204082012-02-29 Marek Polacek <polacek@redhat.com>
20409
20410 [BZ #13706]
20411 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20412 * elf/Makefile: Add rules to run tst-unused-dep.out.
20413
8847f037
DM
204142012-02-28 David S. Miller <davem@davemloft.net>
20415
20416 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20417 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20418 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20420 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20421 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20422
169d7f11
JM
204232012-02-29 Joseph Myers <joseph@codesourcery.com>
20424
20425 * math/libm-test.inc (llround_test): Move one test from
20426 lround_test. Use TEST_f_L in moved test.
20427 (lround_test): Move misplaced test to llround_test. Add testcase
20428 from bug 2561.
20429
39adf059
UD
204302012-02-28 Ulrich Drepper <drepper@gmail.com>
20431
20432 * sysdeps/x86_64/fpu/e_expf.S: New file.
20433 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20434
71b5d1c5
SB
204352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20436
20437 [BZ #13637]
20438 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20439 of remain_len that may cause incomplete multi-byte character and
20440 false match.
20441 * posix/bug-regex33.c: New file.
20442 * posix/Makefile (tests): Add bug-regex33.
20443
1f77f049
JM
204442012-02-28 Joseph Myers <joseph@codesourcery.com>
20445
20446 * manual/macros.texi: New file.
20447 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20448 * manual/libc.texinfo: Include macros.texi.
20449 * manual/creatute.texi: Likewise.
20450 * manual/install.texi: Likewise.
20451 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20452 @glibcadj{} in references to the GNU C Library.
20453 * manual/charset.texi: Likewise.
20454 * manual/conf.texi: Likewise.
20455 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20456 when not using those macros.
20457 * manual/creature.texi: Likewise.
20458 * manual/crypt.texi: Likewise.
20459 * manual/errno.texi: Likewise.
20460 * manual/filesys.texi: Likewise.
20461 * manual/header.texi: Likewise.
20462 * manual/install.texi: Likewise.
20463 * manual/intro.texi: Likewise.
20464 * manual/io.texi: Likewise.
20465 * manual/job.texi: Likewise.
20466 * manual/lang.texi: Likewise.
20467 * manual/libc.texiinfo: Likewise.
20468 * manual/llio.texi: Likewise.
20469 * manual/locale.texi: Likewise.
20470 * manual/maint.texi: Likewise.
20471 * manual/math.texi: Likewise.
20472 * manual/memory.texi: Likewise.
20473 * manual/message.texi: Likewise.
20474 * manual/nss.texi: Likewise.
20475 * manual/pattern.texi: Likewise.
20476 * manual/process.texi: Likewise.
20477 * manual/resource.texi: Likewise.
20478 * manual/search.texi: Likewise.
20479 * manual/setjmp.texi: Likewise.
20480 * manual/signal.texi: Likewise.
20481 * manual/socket.texi: Likewise.
20482 * manual/startup.texi: Likewise.
20483 * manual/stdio.texi: Likewise.
20484 * manual/string.texi: Likewise.
20485 * manual/sysinfo.texi: Likewise.
20486 * manual/syslog.texi: Likewise.
20487 * manual/terminal.texi: Likewise.
20488 * manual/time.texi: Likewise.
20489 * manual/users.texi: Likewise.
20490 * INSTALL: Regenerated.
20491 * NOTES: Regenerated.
d40c5d54 20492 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20493
450bf206
AS
204942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20495
20496 * include/dirent.h: Include <dirstream.h> before
20497 <dirent/dirent.h>.
20498
741a235b
DM
204992012-02-28 David S. Miller <davem@davemloft.net>
20500
20501 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20502 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20503 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20504 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20505
d6b5aa58
DM
205062012-02-27 David S. Miller <davem@davemloft.net>
20507
1aff59a3
DM
20508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20510 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20511 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20512
d6b5aa58
DM
20513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20514 frame pointer instead of stack pointer relative arg slot.
20515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20516 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20517 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20518
433f48bf
CD
205192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20520
20521 [BZ #3992]
20522 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20523
d674b76d
DM
205242012-02-27 David S. Miller <davem@davemloft.net>
20525
20526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20530 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20531 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20532 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20533 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20534
0e7727f7
JM
205352012-02-27 Joseph Myers <joseph@codesourcery.com>
20536
20537 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20538 later. Allow versions 5-9.
43be4ca2 20539 * configure: Regenerated.
0e7727f7
JM
20540 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20541 required minimum version and 4.6 as recommended version. Do not
20542 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20543 * INSTALL: Regenerated.
0e7727f7 20544
a78bc654
DM
205452012-02-27 David S. Miller <davem@davemloft.net>
20546
428d5830
DM
20547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20551 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20553 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20554 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20555
a78bc654
DM
20556 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20557 manipulate bits before adding and subtracting TWO112[sx].
20558 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20559
4579f81c
RM
205602012-02-27 Roland McGrath <roland@hack.frob.com>
20561
36c8acb4
RM
20562 [BZ #13775]
20563 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20564 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20565 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20566 being in POSIX, because they are in 1003.1-2008.
20567
84ad622b
RM
20568 * rt/tst-aio.c: Include <fcntl.h>.
20569 * rt/tst-aio7.c: Likewise.
20570 * rt/tst-aio64.c: Likewise.
20571
4579f81c
RM
20572 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20573
abd923db
JM
205742012-02-27 Joseph Myers <joseph@codesourcery.com>
20575
20576 * manual/install.texi (--with-headers): Describe headers as
20577 interface headers, not private headers.
20578 (Specific advice for GNU/Linux systems): Describe use of headers
20579 from "make headers_install", not private headers from older
20580 kernels.
43be4ca2 20581 * INSTALL: Regenerated.
abd923db
JM
20582 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20583 Change to 2.6.19.
20584 * sysdeps/unix/sysv/linux/configure: Regenerated.
20585
6664049b
JM
20586 * manual/llio.texi (fclean): Remove documentation.
20587
bb8b6697
JM
20588 * manual/Makefile (libc-texi-generated): New variable. Include
20589 version.texi.
20590 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20591 $(libc-texi-generated), not duplicated list of files.
20592 (version.texi, stamp-version): New rules.
20593 (realclean): Remove $(libc-texi-generated), not individual files
20594 from that list. Do not remove dir-add.texinfo.
20595 * manual/libc.texinfo: Comment out uses of edition numbers and
20596 references to printed manual. Remove last-updated dates.
20597 (EDITION): Comment out.
20598 (ISBN): Likewise.
20599 (VERSION, UPDATED): Remove.
20600 (version.texi): Include.
20601
12e5c3b9
AS
206022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20603
20604 * sysdeps/posix/spawni.c: Include <signal.h>.
20605 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20606 * sysdeps/pthread/aio_fsync.c: Likewise.
20607
4efeffc1 206082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20609
ba63ba08
UD
20610 * conform/Makefile (tests): Run only when not cross-compiling and
20611 when fast-check is not defined.
20612
d94a4670
UD
20613 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20614 * conform/data/limits.h-data: Fixes for POSIX2008.
20615 * conform/run-conformtest.sh: Run all tests.
20616 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20617 headers.
20618 * include/bits/dlfcn.h: Likewise.
20619 * include/langinfo.h: Likewise.
20620 * include/monetary.h: Likewise.
20621 * include/sys/poll.h: Likewise.
20622
20623 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20624 for __USE_GNU.
20625 * posix/spawn.h: Define __need_sigset_t.
20626 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20627 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20628 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20629 to get sigevent_t only.
20630 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20631 only for __USE_GNU.
20632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20633 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20634 process_vm_writev only for __USE_GNU.
20635 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20636
20637 * conform/Makefile: For now ignore errors from run-conformtest.
20638 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20639 POSIX to avoid namespace pollution. Don't prepend headers.
20640 * conform/data/aio.h-data: Fixes for POSIX testing.
20641 * conform/data/fcntl.h-data: Likewise.
20642 * conform/data/glob.h-data: Likewise.
20643 * conform/data/grp.h-data: Likewise.
20644 * conform/data/pthread.h-data: Likewise.
20645 * conform/data/pwd.h-data: Likewise.
20646 * conform/data/signal.h-data: Likewise.
20647 * conform/data/spawn.h-data: Likewise.
20648 * conform/data/stdio.h-data: Likewise.
20649 * conform/data/stdlib.h-data: Likewise.
20650 * conform/data/stropts.h-data: Likewise.
20651 * conform/data/sys/mman.h-data: Likewise.
20652 * conform/data/sys/stat.h-data: Likewise.
20653 * conform/data/sys/types.h-data: Likewise.
20654 * conform/data/sys/wait.h-data: Likewise.
20655 * conform/data/time.h-data: Likewise.
20656 * conform/data/unistd.h-data: Likewise.
20657 * conform/data/utime.h-data: Likewise.
20658
20659 * io/sys/stat.h: fchmod was always in POSIX.
20660 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20661 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20662 * rt/aio.h: Define __need_timespec before including <time.h>.
20663 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20664 struct. Add forward declaration of pthread_attr_t and use it in
20665 sigevent.
20666 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20667 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20668 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20669 always remove CLK_TCK definition.
20670
c20105c3
AS
206712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20672
20673 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20674
7a270350
UD
206752012-02-25 Ulrich Drepper <drepper@gmail.com>
20676
31341567
UD
20677 * conform/run-conformtest.sh: New file.
20678 * conform/Makefile: Run run-conformtest for tests.
20679 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20680 support.
20681
20682 * conform/data/uchar.h-data: New file.
20683 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20684 * conform/data/arpa/inet.h-data: Likewise.
20685 * conform/data/assert.h-data: Likewise.
20686 * conform/data/complex.h-data: Likewise.
20687 * conform/data/cpio.h-data: Likewise.
20688 * conform/data/ctype.h-data: Likewise.
20689 * conform/data/dirent.h-data: Likewise.
20690 * conform/data/dlfcn.h-data: Likewise.
20691 * conform/data/errno.h-data: Likewise.
20692 * conform/data/fcntl.h-data: Likewise.
20693 * conform/data/float.h-data: Likewise.
20694 * conform/data/fmtmsg.h-data: Likewise.
20695 * conform/data/fnmatch.h-data: Likewise.
20696 * conform/data/ftw.h-data: Likewise.
20697 * conform/data/glob.h-data: Likewise.
20698 * conform/data/grp.h-data: Likewise.
20699 * conform/data/iconv.h-data: Likewise.
20700 * conform/data/inttypes.h-data: Likewise.
20701 * conform/data/langinfo.h-data: Likewise.
20702 * conform/data/libgen.h-data: Likewise.
20703 * conform/data/limits.h-data: Likewise.
20704 * conform/data/locale.h-data: Likewise.
20705 * conform/data/math.h-data: Likewise.
20706 * conform/data/monetary.h-data: Likewise.
20707 * conform/data/mqueue.h-data: Likewise.
20708 * conform/data/ndbm.h-data: Likewise.
20709 * conform/data/net/if.h-data: Likewise.
20710 * conform/data/netdb.h-data: Likewise.
20711 * conform/data/netinet/in.h-data: Likewise.
20712 * conform/data/nl_types.h-data: Likewise.
20713 * conform/data/poll.h-data: Likewise.
20714 * conform/data/pthread.h-data: Likewise.
20715 * conform/data/pwd.h-data: Likewise.
20716 * conform/data/regex.h-data: Likewise.
20717 * conform/data/sched.h-data: Likewise.
20718 * conform/data/search.h-data: Likewise.
20719 * conform/data/semaphore.h-data: Likewise.
20720 * conform/data/setjmp.h-data: Likewise.
20721 * conform/data/signal.h-data: Likewise.
20722 * conform/data/spawn.h-data: Likewise.
20723 * conform/data/stdarg.h-data: Likewise.
20724 * conform/data/stdio.h-data: Likewise.
20725 * conform/data/stdlib.h-data: Likewise.
20726 * conform/data/string.h-data: Likewise.
20727 * conform/data/strings.h-data: Likewise.
20728 * conform/data/stropts.h-data: Likewise.
20729 * conform/data/sys/ipc.h-data: Likewise.
20730 * conform/data/sys/mman.h-data: Likewise.
20731 * conform/data/sys/msg.h-data: Likewise.
20732 * conform/data/sys/resource.h-data: Likewise.
20733 * conform/data/sys/select.h-data: Likewise.
20734 * conform/data/sys/sem.h-data: Likewise.
20735 * conform/data/sys/shm.h-data: Likewise.
20736 * conform/data/sys/socket.h-data: Likewise.
20737 * conform/data/sys/stat.h-data: Likewise.
20738 * conform/data/sys/statvfs.h-data: Likewise.
20739 * conform/data/sys/time.h-data: Likewise.
20740 * conform/data/sys/timeb.h-data: Likewise.
20741 * conform/data/sys/times.h-data: Likewise.
20742 * conform/data/sys/types.h-data: Likewise.
20743 * conform/data/sys/uio.h-data: Likewise.
20744 * conform/data/sys/un.h-data: Likewise.
20745 * conform/data/sys/utsname.h-data: Likewise.
20746 * conform/data/sys/wait.h-data: Likewise.
20747 * conform/data/syslog.h-data: Likewise.
20748 * conform/data/tar.h-data: Likewise.
20749 * conform/data/termios.h-data: Likewise.
20750 * conform/data/utime.h-data: Likewise.
20751 * conform/data/utmpx.h-data: Likewise.
20752 * conform/data/varargs.h-data: Likewise.
20753 * conform/data/wchar.h-data: Likewise.
20754 * conform/data/wctype.h-data: Likewise.
20755 * conform/data/wordexp.h-data: Likewise.
20756
20757 * include/stropts.h: New file.
20758 * include/uchar.h: New file.
20759 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20760 * include/assert.h: Likewise.
20761 * include/ctype.h: Likewise.
20762 * include/dirent.h: Likewise.
20763 * include/dlfcn.h: Likewise.
20764 * include/fcntl.h: Likewise.
20765 * include/fnmatch.h: Likewise.
20766 * include/glob.h: Likewise.
20767 * include/grp.h: Likewise.
20768 * include/libio.h: Likewise.
20769 * include/locale.h: Likewise.
20770 * include/math.h: Likewise.
20771 * include/net/if.h: Likewise.
20772 * include/netdb.h: Likewise.
20773 * include/netinet/in.h: Likewise.
20774 * include/pthread.h: Likewise.
20775 * include/pwd.h: Likewise.
20776 * include/regex.h: Likewise.
20777 * include/sched.h: Likewise.
20778 * include/search.h: Likewise.
20779 * include/setjmp.h: Likewise.
20780 * include/signal.h: Likewise.
20781 * include/stdio.h: Likewise.
20782 * include/stdlib.h: Likewise.
20783 * include/string.h: Likewise.
20784 * include/sys/cdefs.h: Likewise.
20785 * include/sys/mman.h: Likewise.
20786 * include/sys/msg.h: Likewise.
20787 * include/sys/resource.h: Likewise.
20788 * include/sys/select.h: Likewise.
20789 * include/sys/socket.h: Likewise.
20790 * include/sys/stat.h: Likewise.
20791 * include/sys/statvfs.h: Likewise.
20792 * include/sys/time.h: Likewise.
20793 * include/sys/times.h: Likewise.
20794 * include/sys/uio.h: Likewise.
20795 * include/sys/utsname.h: Likewise.
20796 * include/sys/wait.h: Likewise.
20797 * include/termios.h: Likewise.
20798 * include/time.h: Likewise.
20799 * include/ulimit.h: Likewise.
20800 * include/unistd.h: Likewise.
20801 * include/utime.h: Likewise.
20802 * include/wchar.h: Likewise.
20803 * include/wctype.h: Likewise.
20804 * include/wordexp.h: Likewise.
20805
20806 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20807
7a270350
UD
20808 * time/time.h: TIME_UTC must be a macro.
20809 Make timespec_get available for ISO C11 only as well.
20810
7724defc
UD
208112012-02-24 Ulrich Drepper <drepper@gmail.com>
20812
20813 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20814 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20815
6b1d1d46
JM
208162012-02-24 Joseph Myers <joseph@codesourcery.com>
20817
20818 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20819
0f8bbd69
JM
208202012-02-24 Joseph Myers <joseph@codesourcery.com>
20821
20822 * manual/texinfo.tex: Update to version 2012-01-19.16.
20823
66ab80bc
JM
208242012-02-24 Joseph Myers <joseph@codesourcery.com>
20825
20826 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20827
74981cc5
RM
208282012-02-24 Roland McGrath <roland@hack.frob.com>
20829
ee968201
RM
20830 [BZ #13738]
20831 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20832 * manual/fdl-1.3.texi: New file.
20833 * manual/fdl-1.1.texi: File removed.
20834
74981cc5
RM
20835 [BZ #13738]
20836 * manual/libc.texinfo (FDL_VERSION): New @set.
20837 Use it for mention of FDL in cover text.
20838 (Documentation License): Use it in @include file name.
20839
7bb764bc
JM
208402012-02-22 Joseph Myers <joseph@codesourcery.com>
20841 Roland McGrath <roland@hack.frob.com>
20842
20843 [BZ #5461]
20844 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20845 not LONG_LONG_MAX and LONG_LONG_MIN.
20846 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20847 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20848 name.
20849 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20850
6cbeae47
JM
208512012-02-22 Joseph Myers <joseph@codesourcery.com>
20852
20853 [BZ #2547]
20854 [BZ #11365]
20855 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20856 manipulate bits before adding and subtracting TWO23[sx].
20857 * math/libm-test.inc (nearbyint_test): Add more tests.
20858
fe45ce09
JM
208592012-02-22 Joseph Myers <joseph@codesourcery.com>
20860
20861 [BZ #2548]
20862 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20863 bits before adding and subtracting TWO23[sx].
20864 * math/libm-test.inc (rint_test): Add more tests.
20865 (rint_test_tonearest): Likewise.
20866 (rint_test_towardzero): Likewise.
20867 (rint_test_downward): Likewise.
20868 (rint_test_upward: Likewise.
20869
ff3b3d82
JM
208702012-02-22 Joseph Myers <joseph@codesourcery.com>
20871
20872 [BZ #10110]
20873 * include/stdc-predef.h: New file. Extracted from features.h.
20874 * include/features.h: Include stdc-predef.h.
20875 * Makefile (headers): Add stdc-predef.h.
20876 * CONFORMANCE (Compiler limitations): Update.
20877
ef0aab35
JM
208782012-02-22 Joseph Myers <joseph@codesourcery.com>
20879
20880 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20881
58639409
DM
208822012-02-21 David S. Miller <davem@davemloft.net>
20883
20884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20885 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20886
c0e70b25
DM
208872012-02-20 David S. Miller <davem@davemloft.net>
20888
20889 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20890 using a normal save/restore sequence, rather than allocating a
20891 dummy stack frame just to store a frame pointer and restore.
20892 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20893
fb06851d
JM
208942012-02-21 Joseph Myers <joseph@codesourcery.com>
20895
20896 * manual/install.texi: Fix stray word in line-wrapped comment.
20897
7a8b71c3
DM
208982012-02-20 David S. Miller <davem@davemloft.net>
20899
d510c123
DM
20900 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20901 both binutils and gcc support GOTDATA.
20902
0722d7c2
DM
20903 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20904 "rd %pc" in the PIC register setup sequences.
20905
3d2b3019
DM
20906 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20907 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20908 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20909 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20910 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20912 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20913 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20915 (SYSCALL_ERROR_HANDLER): Likewise.
20916 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20917 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20918 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20919 (SYSCALL_ERROR_HANDLER): Likewise.
20920
c80098a9
DM
20921 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20922 (HAVE_GCC_GOTDATA): New.
20923 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20924 relocation support in both binutils and gcc.
20925 * sysdeps/sparc/elf/configure: Regenerate.
20926
3a2545a0
DM
20927 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20928 * sysdeps/sparc/sparc32/elf/configure: Delete.
20929 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20930 * sysdeps/sparc/sparc64/elf/configure: Delete.
20931 * sysdeps/sparc/elf/configure.in: New file.
20932 * sysdeps/sparc/elf/configure: Generate.
20933
7a8b71c3
DM
20934 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20935 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20936 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20937 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20938 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20939
f1e86fca
JM
209402012-02-21 Joseph Myers <joseph@codesourcery.com>
20941
20942 * manual/install.texi: Do not mention specific glibc version
20943 numbers.
20944 * manual/libc.texinfo (VERSION, UPDATED): Update.
20945 (@copying): Use @copyright{} and range of years.
20946
0e7dfaef
JM
209472012-02-21 Joseph Myers <joseph@codesourcery.com>
20948
20949 [BZ #13695]
20950 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20951 [crti.S not in sysdirs] (generated): Do not append.
20952 [crti.S not in sysdirs] (omit-deps): Likewise.
20953 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20954 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20955 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20956 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20957 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20958 Likewise.
20959 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20960 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20961 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20962 * csu/defs.awk: Remove file.
20963 * sysdeps/generic/initfini.c: Likewise.
20964 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20965 variable.
20966 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20967 Likewise.
20968
599af3ca
JM
209692012-02-20 Joseph Myers <joseph@codesourcery.com>
20970
20971 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20972 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20973 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20974 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20975 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20976 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20977 <bits/epoll.h>.
20978 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20979 (__EPOLL_PACKED): Define to empty if not defined by
20980 <bits/epoll.h>.
20981 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20983 bits/epoll.h.
20984
0e499750
JM
209852012-02-20 Joseph Myers <joseph@codesourcery.com>
20986
20987 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20988 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20989 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20991 <bits/timerfd.h>.
20992 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20993 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20994 bits/timerfd.h.
20995
5ad91f6e
JM
209962012-02-20 Joseph Myers <joseph@codesourcery.com>
20997
20998 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20999 in C locale.
21000 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21002 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21004
06b99b02
AJ
210052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21006
21007 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21008 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21009
7638c0fd
AS
210102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21011
21012 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21013 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21014 defined.
21015 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21016 Likewise.
21017 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21018 entry for 2.16.
21019
92221550
AJ
210202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21021
21022 * math/w_acos.c: Use non-signaling floating-point comparisons.
21023 * math/w_acosf.c: Likewise.
21024 * math/w_acosh.c: Likewise.
21025 * math/w_acoshf.c: Likewise.
21026 * math/w_acoshl.c: Likewise.
21027 * math/w_acosl.c: Likewise.
21028 * math/w_asin.c: Likewise.
21029 * math/w_asinf.c: Likewise.
21030 * math/w_asinl.c: Likewise.
21031 * math/w_atanh.c: Likewise.
21032 * math/w_atanhf.c: Likewise.
21033 * math/w_atanhl.c: Likewise.
21034 * math/w_exp2.c: Likewise.
21035 * math/w_exp2f.c: Likewise.
21036 * math/w_exp2l.c: Likewise.
21037 * math/w_j0.c: Likewise.
21038 * math/w_j0f.c: Likewise.
21039 * math/w_j0l.c: Likewise.
21040 * math/w_j1.c: Likewise.
21041 * math/w_j1f.c: Likewise.
21042 * math/w_j1l.c: Likewise.
21043 * math/w_jn.c: Likewise.
21044 * math/w_jnf.c: Likewise.
21045 * math/w_log.c: Likewise.
21046 * math/w_log10.c: Likewise.
21047 * math/w_log10f.c: Likewise.
21048 * math/w_log10l.c: Likewise.
21049 * math/w_log2.c: Likewise.
21050 * math/w_log2f.c: Likewise.
21051 * math/w_log2l.c: Likewise.
21052 * math/w_logf.c: Likewise.
21053 * math/w_logl.c: Likewise.
21054 * math/w_sqrt.c: Likewise.
21055 * math/w_sqrtf.c: Likewise.
21056 * math/w_sqrtl.c: Likewise.
21057 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21058 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21060 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21061 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21062
ebaf36eb
JM
210632012-02-19 Joseph Myers <joseph@codesourcery.com>
21064
21065 [BZ #9739]
21066 * manual/string.texi (strnlen): Use correct parameter name in
21067 equivalent expression.
21068
71c254a6
JM
210692012-02-19 Joseph Myers <joseph@codesourcery.com>
21070
21071 [BZ #11174]
21072 * manual/users.texi (seteuid): Consistently use neweuid for
21073 argument name.
21074
16d2c631
JM
210752012-02-19 Joseph Myers <joseph@codesourcery.com>
21076
21077 [BZ #13704]
21078 * manual/nss.texi (Services in the NSS configuration): Correct
21079 list of services in example configuration file.
21080
cd837b09
NB
210812012-02-19 Nick Bowler <nbowler@draconx.ca>
21082
21083 [BZ #11322]
21084 * manual/arith.texi: Remove statements about negative zero
21085 behaving identically to zero.
21086
02c4bbad
JM
210872012-02-18 Joseph Myers <joseph@codesourcery.com>
21088
21089 [BZ #5993]
21090 * manual/install.texi: Do not document upgrading from libc5.
21091
366842e7
JM
210922012-02-18 Joseph Myers <joseph@codesourcery.com>
21093
21094 [BZ #4596]
21095 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21096
dd54084d
DM
210972012-02-18 David S. Miller <davem@davemloft.net>
21098
21099 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21100 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21101 %o7 across the call.
21102 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21103 instead.
21104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21105 SETUP_PIC_REG_LEAF.
21106 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21107 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21108 * sysdeps/sparc/crtn.S: Likewise.
21109
2bcc53a3
UD
211102012-02-17 Ulrich Drepper <drepper@gmail.com>
21111
21112 * aout/Makefile: Remove.
21113
09c093b5
RK
211142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21115
21116 [BZ #13058]
21117 * manual/examples/argp-ex1.c (main): Format definition in GNU
21118 style.
21119 * manual/examples/argp-ex2.c (main): Likewise.
21120 * manual/examples/argp-ex3.c (main): Likewise.
21121 * manual/examples/argp-ex4.c (main): Likewise.
21122 * manual/examples/longopt.c (main): Use new-style prototype
21123 definition.
21124 * manual/examples/strncat.c (main): Specify return type and use
21125 (void) for arguments.
21126 * manual/examples/subopt.c (main): Use char **argv argument.
21127
2ee633a2
JM
211282012-02-17 Joseph Myers <joseph@codesourcery.com>
21129
21130 [BZ #5077]
21131 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21132 rounding modes.
21133
0520adde
FB
211342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21135
21136 [BZ #6907]
21137 * manual/string.texi (strchr): Change when strchrnul is
21138 recommended.
21139
3f4081cd
DGM
211402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21141
21142 [BZ #174]
21143 * manual/locale.texi (setlocale): Document LOCPATH.
21144
d1b10e78
JM
211452012-02-17 Joseph Myers <joseph@codesourcery.com>
21146
21147 [BZ #10210]
21148 * manual/process.texi (execle): Move @dots{} before last argument.
21149
79c6869c
PB
211502012-02-17 Paul Bolle <pebolle@tiscali.nl>
21151
21152 [BZ #12047]
21153 * manual/charset.texi (Generic Charset Conversion): Fix typo
21154 (LC_TYPE -> LC_CTYPE).
21155
cc6e48bc
NB
211562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21157
21158 [BZ #5805]
21159 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21160 (scalbnf): Likewise.
21161 (scalbnl): Likewise.
21162 (scalbln): Likewise.
21163 (scalblnf): Likewise.
21164 (scalblnl): Likewise.
21165 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21166 (vwarnx): Likewise.
21167 (verr): Likewise.
21168 (verrx): Likewise.
21169 * manual/filesys.texi (telldir): Use braces around return type.
21170 * manual/llio.texi (mmap): Add space after comma.
21171 (mmap64): Likewise.
21172 * manual/math.texi (jn): Use @var{} on parameter names.
21173 (jnf): Likewise.
21174 (jnl): Likewise.
21175 (yn): Likewise.
21176 (ynf): Likewise.
21177 (ynl): Likewise.
21178 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21179 line.
21180 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21181 "...".
21182 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21183 (sched_get_priority_max): Likewise.
21184 * manual/signal.texi (sigvec): Add space after comma.
21185 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21186 names.
21187 (if_indextoname): Likewise.
21188 (if_freenameindex): Likewise.
21189 (sendto): Use ',' instead of '.' in prototype.
21190 * manual/startup.texi (syscall): Use @dots{} instead of literal
21191 "...".
21192 * manual/stdio.texi (__fpending): Separate initial words of
21193 paragraph from @deftypefun line.
21194 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21195 "...".
21196 (vsyslog): Use @var{} on parameter names.
21197 * manual/terminal.texi (stty): Use @var{} on parameter names.
21198 * manual/users.texi (getutmp): Use @var{} on parameter names.
21199 (getutmpx): Likewise.
21200
5b23062f
JM
212012012-02-17 Joseph Myers <joseph@codesourcery.com>
21202
21203 [BZ #6884]
21204 * manual/stdio.texi (fopen): Fix typos in description of
21205 ",ccs=STRING".
21206
8dee4833
AJ
212072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21208
21209 [BZ #4026]
21210 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21211 get clock_id definition.
21212
9078ce93
TS
212132012-02-17 Thomas Schwinge <thomas@schwinge.name>
21214
21215 [BZ #4822]
21216 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21217 (madvise): Cast every argument to void on its own.
21218
3835c55f
JM
212192012-02-17 Joseph Myers <joseph@codesourcery.com>
21220
21221 [BZ #9902]
21222 * manual/startup.texi (Exit Status): Fix typo.
21223
35c47e37
JM
212242012-02-17 Joseph Myers <joseph@codesourcery.com>
21225
21226 [BZ #10140]
21227 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21228 * manual/examples/argp-ex2.c: Likewise.
21229 * manual/examples/argp-ex3.c: Likewise.
21230
e3b69ca7
RH
212312012-02-16 Richard Henderson <rth@redhat.com>
21232
21233 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21234 * sysdeps/s390/s390-32/initfini.c: Remove.
21235 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21236 * sysdeps/s390/s390-64/initfini.c: Remove.
21237
df83af67
KK
212382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21239
21240 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21241 compiler output for sysdeps/generic/initfini.c.
21242 * sysdeps/sh/elf/initfini.c: Remove file.
21243
f63f3380
DM
212442012-02-16 David S. Miller <davem@davemloft.net>
21245
fb59b3a4
DM
21246 [BZ #11494]
21247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21248
f63f3380
DM
21249 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21250 * sysdeps/sparc/crti.S: New file.
21251 * sysdeps/sparc/crtn.S: New file.
21252 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21253 * sysdeps/sparc/sparc64/Makefile: Likewise.
21254
df6a4a4a
MF
212552012-02-15 Mike Frysinger <vapier@gentoo.org>
21256
6dd8f3dc 21257 [BZ #3335]
df6a4a4a
MF
21258 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21259
1cac7236
RM
212602012-02-15 Roland McGrath <roland@hack.frob.com>
21261
d2c736f8
RM
21262 [BZ #4822]
21263 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21264
1cac7236
RM
21265 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21266 (write, read, close): Likewise.
21267 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21268
8e475601
JM
212692012-02-15 Joseph Myers <joseph@codesourcery.com>
21270
21271 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21272 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21273 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21274 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21275 <bits/signalfd.h>.
21276 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21278 bits/signalfd.h.
21279
ed656b40
MP
212802012-02-14 Marek Polacek <polacek@redhat.com>
21281
21282 * sysdeps/x86_64/crti.S: New file.
21283 * sysdeps/x86_64/crtn.S: New file.
21284 * sysdeps/x86_64/elf/initfini.c: Remove file.
21285
2a979d3a
JM
212862012-02-13 Joseph Myers <joseph@codesourcery.com>
21287
21288 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21289 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21290 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21291 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21292 <bits/inotify.h>.
21293 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21295 bits/inotify.h.
21296
2a418ac3
JM
212972012-02-13 Joseph Myers <joseph@codesourcery.com>
21298
21299 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21300 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21301 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21302 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21303 <bits/eventfd.h>.
21304 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21305 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21306 bits/eventfd.h.
21307
fb779be7
TS
213082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21309
e19e83c5
RM
21310 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21311 __feraiseexcept instead of feraiseexcept.
7c35ffed 21312
fb779be7
TS
21313 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21314 nanosleep invocations.
21315 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21316 strings, and add error checking for a nanosleep invocations.
21317
59ba27a6
PE
213182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21319
21320 Replace FSF snail mail address with URLs, as per GNU coding standards.
21321 Most of the snail mail addresses were wrong anyway, and omitting
21322 them makes the source code easier to maintain. Almost all of the
21323 changes are to license notices and to locale LC_IDENTIFICATION
21324 addresses, except for this one:
21325 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21326 not its snail mail address.
21327
57b957eb
RH
213282012-02-09 Richard Henderson <rth@twiddle.net>
21329
af850b1c
RH
21330 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21331 of kernel-features.h.
21332
57b957eb
RH
21333 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21334
6b73181a
MP
213352012-02-08 Marek Polacek <polacek@redhat.com>
21336
21337 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21338 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21339 * sysdeps/gnu/_G_config.h: Likewise.
21340 * sysdeps/generic/_G_config.h: Likewise.
21341
26ecc33a
AS
213422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21343
6c6dbc63
AS
21344 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21345 tests.
21346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21347
e216c012
AS
21348 * sysdeps/powerpc/powerpc32/crti.S: New file.
21349 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21350 * sysdeps/powerpc/powerpc64/crti.S: New file.
21351 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21352
26ecc33a
AS
21353 * Makeconfig (have-initfini): Don't set.
21354 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21355 * configure.in (nopic_initfini): Don't substitute.
21356 * config.h.in (HAVE_INITFINI): Don't #undef.
21357 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21358 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21359
3add8e13
JM
213602012-02-08 Joseph Myers <joseph@codesourcery.com>
21361
21362 Support crti.S and crtn.S provided directly by architectures.
21363 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21364 [crti.S in sysdirs] (omit-deps): Likewise.
21365 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21366 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21367 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21368 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21369 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21370 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21371 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21372 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21373 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21374 compiler output for sysdeps/generic/initfini.c.
21375 * sysdeps/i386/elf/Makefile: Remove file.
21376 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21377
a22f12b4
MP
213782012-02-07 Marek Polacek <polacek@redhat.com>
21379
21380 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21381 * sysdeps/gnu/_G_config.h: Likewise.
21382 * sysdeps/mach/hurd/_G_config.h: Likewise.
21383
148cf100
MP
213842012-02-07 Marek Polacek <polacek@redhat.com>
21385
21386 * math/Makefile (tests): Add tst-CMPLX2.
21387 * math/tst-CMPLX2.c: New file.
21388
cfdc0dd7
AS
213892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21390
84ba42c4
AS
21391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21392
cfdc0dd7
AS
21393 * math/libm-test.inc (jn_test): Add missing L suffix.
21394
622c86f4
MP
213952012-02-06 Marek Polacek <polacek@redhat.com>
21396
21397 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21398 * sysdeps/i386/fpu/e_powf.S: Likewise.
21399 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21400 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21401 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21402 * sysdeps/i386/fpu/e_pow.S: Likewise.
21403 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21404 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21405 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21406 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21407 * sysdeps/i386/fpu/e_log2.S: Likewise.
21408 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21409 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21410 * sysdeps/i386/fpu/e_powl.S: Likewise.
21411 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21413 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21414 * sysdeps/i386/fpu/e_logl.S: Likewise.
21415 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21416 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21417 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21418 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21419 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21420 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21421 * sysdeps/i386/fpu/e_log.S: Likewise.
21422 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21424 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21425 * sysdeps/i386/fpu/e_logf.S: Likewise.
21426 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21427 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21428 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21429 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21431 * sysdeps/i386/fpu/e_log10.S: Likewise.
21432 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21434 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21435 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21436 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21437 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21438 * sysdeps/i386/asm-syntax.h: Likewise.
21439 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21440 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21442 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21443 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21444 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21445 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21446 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21447 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21448 * sysdeps/powerpc/sysdep.h: Likewise.
21449 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21450 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21451
d4a54ac6
JM
214522012-02-06 Joseph Myers <joseph@codesourcery.com>
21453
21454 [BZ #411]
21455 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21456
314054ea
JM
214572012-02-06 Joseph Myers <joseph@codesourcery.com>
21458
21459 * sysdeps/i386/sysdep.h: Include <features.h>.
21460 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21461 version.
21462
d8e0ca50
JM
214632012-02-05 Joseph Myers <joseph@codesourcery.com>
21464
21465 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21466 Define.
21467 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21468 LOAD_PIC_REG_STR.
21469
b1da7dd9
JM
214702012-02-03 Joseph Myers <joseph@codesourcery.com>
21471
21472 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21473 (SETUP_PIC_REG): Use GET_PC_THUNK.
21474 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21475 macro.
21476
9a1d9254
JM
214772012-02-03 Joseph Myers <joseph@codesourcery.com>
21478
21479 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21480 for non-PIC compilation.
21481 (SETUP_PIC_REG): Add .p2align directive.
21482 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21483 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21484 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21485 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21486 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21487 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21488 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21490 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21491 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21492 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21493 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21494 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21495 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21496 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21497 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21498 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21499 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21500 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21501 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21502 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21503 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21504 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21505 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21506 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21509 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21510 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21511 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21512 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21513 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21514 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21515 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21516 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21517 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21518 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21519 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21520 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21521 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21522 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21523
65dc3b75
JM
215242012-02-03 Joseph Myers <joseph@codesourcery.com>
21525
21526 * math/tst-CMPLX.c: Include <stdio.h>.
21527
d55bf177
JM
215282012-01-31 Joseph Myers <joseph@codesourcery.com>
21529
21530 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21531 float.
21532 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21533 * sysdeps/sparc/bits/mathdef.h: Likewise.
21534
69db4f8f
MP
215352012-01-31 Marek Polacek <polacek@redhat.com>
21536
21537 * libio/libio.h: Don't define _PARAMS.
21538 * locale/programs/config.h: Don't define PARAMS.
21539 * stdlib/strtol_l.c: Likewise.
21540 (__strtol_l): Remove PARAMS from the prototype.
21541
41b81892
UD
215422012-01-31 Ulrich Drepper <drepper@gmail.com>
21543
3b49edc0
UD
21544 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21545 names. Just use the correct names. Remove unnecessary wrapper
21546 functions.
21547 * malloc/arena.c: Likewise.
21548 * malloc/hooks.c: Likewise.
21549
41b81892
UD
21550 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21551 ARENA_TEST says not to. Simplify test for creation of a new arena.
21552 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21553
27a25b6e
UD
215542012-01-30 Ulrich Drepper <drepper@gmail.com>
21555
21556 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21557 into tail calls.
21558 (update_get_addr): New function.
21559 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21560 GET_ADDR_MODULE parameter.
21561
c8a89e7d
JM
215622012-01-30 Joseph Myers <joseph@codesourcery.com>
21563
21564 * crypt/cert.c: Remove __STDC__ conditionals.
21565 * crypt/crypt-entry.c: Likewise.
21566 * crypt/crypt_util.c: Likewise.
21567 * libio/filedoalloc.c: Likewise.
21568 * libio/fileops.c: Likewise.
21569 * libio/genops.c: Likewise.
21570 * libio/iofclose.c: Likewise.
21571 * libio/iofdopen.c: Likewise.
21572 * libio/iofopen.c: Likewise.
21573 * libio/iofopen64.c: Likewise.
21574 * libio/iogetdelim.c: Likewise.
21575 * libio/iopopen.c: Likewise.
21576 * libio/obprintf.c: Likewise.
21577 * libio/oldfileops.c: Likewise.
21578 * libio/oldiofclose.c: Likewise.
21579 * libio/oldiofdopen.c: Likewise.
21580 * libio/oldiofopen.c: Likewise.
21581 * libio/oldiopopen.c: Likewise.
21582 * libio/wfiledoalloc.c: Likewise.
21583 * libio/wgenops.c: Likewise.
21584 * locale/programs/xmalloc.c: Likewise.
21585 * misc/syslog.c: Likewise.
21586 * stdio-common/xbug.c: Likewise.
21587 * string/memchr.c: Likewise.
21588 * string/memcmp.c: Likewise.
21589 * string/memrchr.c: Likewise.
21590 * string/rawmemchr.c: Likewise.
21591 * sysdeps/posix/getcwd.c: Likewise.
21592 * time/strftime_l.c: Likewise.
21593
3b100462
JM
215942012-01-30 Joseph Myers <joseph@codesourcery.com>
21595
21596 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21597 * config.make.in (config-cflags-sse2avx): Define.
21598 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21599 Fix typo.
21600
607998af
CM
216012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21602
21603 * scripts/config.guess: Update from upstream config git repository.
21604 * scripts/config.sub: Likewise.
21605
3601428f
CM
216062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21607
3ac8b282
CM
21608 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21609 (EM_NUM): Update.
21610 (R_TILEPRO_*, R_TILEGX_*): New macros.
21611
e034841e
CM
21612 * scripts/firstversions.awk: Fix bug in version range handling.
21613
540d7568
CM
21614 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21615
3601428f
CM
21616 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21617
463de862
CM
21618 * include/sys/epoll.h: New file.
21619 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21620 libc_hidden_def.
21621
73139a76
UD
216222012-01-28 Ulrich Drepper <drepper@gmail.com>
21623
96bc5b45
UD
21624 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21625 Avoid unnecessary __WORDSIZE == 64 test.
21626 (fmaxf): Use VEX format if possible.
21627 (fmax): Likewise.
21628 (fminf): Likewise.
21629 (fmin): Likewise.
21630
56f6f6a2
UD
21631 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21632 * math/math_private.h: Remove libc_fegetround* and
21633 libc_fesetround*.
21634 * sysdeps/i386/configure.in: Check for -msse2avx.
21635 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21636 also if SSE2AVX is defined.
21637 Remove libc_fegetround* and libc_fesetround*.
21638 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21639 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21641 of HAS_YMM_USABLE.
21642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21647
73139a76
UD
21648 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21649
d73f93a4
AZ
216502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21651
21652 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21653 size is not set.
21654 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21655
6ee65ed6
UD
216562012-01-27 Ulrich Drepper <drepper@gmail.com>
21657
21658 [BZ #13618]
21659 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21660 relocation.
21661 * Makeconfig (libm): Define.
21662 * elf/Makefile: Add rules to build and run tst-relsort1.
21663 * elf/tst-relsort1.c: New file.
21664 * elf/tst-relsort1mod1.c: New file.
21665 * elf/tst-relsort1mod2.c: New file.
21666
8db21882
JM
216672012-01-27 Joseph Myers <joseph@codesourcery.com>
21668
21669 * math/s_ldexp.c: Remove __STDC__ conditionals.
21670 * math/s_ldexpf.c: Likewise.
21671 * math/s_ldexpl.c: Likewise.
21672 * math/s_nextafter.c: Likewise.
21673 * math/s_nexttowardf.c: Likewise.
21674 * math/s_significand.c: Likewise.
21675 * math/s_significandf.c: Likewise.
21676 * math/s_significandl.c: Likewise.
21677 * math/w_jnl.c: Likewise.
21678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21684 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21687 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21688 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21689 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21690 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21691 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21692 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21694 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21695 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21699 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21704 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21705 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21706 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21709 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21710 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21711 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21712 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21713 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21714 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21715 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21716 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21717 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21718 * sysdeps/ieee754/k_standard.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21737 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21748 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21780 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21785 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21798 * sysdeps/ieee754/s_matherr.c: Likewise.
21799 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21800 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21803
965a54a4
JM
218042012-01-26 Joseph Myers <joseph@codesourcery.com>
21805
21806 * crypt/md5.h: Remove __STDC__ conditionals.
21807 * libio/libioP.h: Likewise.
21808 * locale/programs/config.h: Likewise.
21809 * sysdeps/generic/sysdep.h: Likewise.
21810 * sysdeps/i386/asm-syntax.h: Likewise.
21811 * sysdeps/s390/asm-syntax.h: Likewise.
21812 * sysdeps/unix/sysdep.h: Likewise.
21813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21815
7071ad79
JM
218162012-01-26 Joseph Myers <joseph@codesourcery.com>
21817
21818 * libio/libio.h: Remove __STDC__ conditionals.
21819 * malloc/obstack.h: Likewise.
21820 * math/complex.h: Likewise.
21821 * math/math.h: Likewise.
21822 * sysdeps/generic/_G_config.h: Likewise.
21823 * sysdeps/gnu/_G_config.h: Likewise.
21824 * sysdeps/mach/hurd/_G_config.h: Likewise.
21825 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21826 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21827 * sysdeps/sparc/bits/mathdef.h: Likewise.
21828
afc5ed09
UD
218292012-01-26 Ulrich Drepper <drepper@gmail.com>
21830
21831 [BZ #13583]
21832 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21833 Clean up HAS_* macros.
afc5ed09 21834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21835 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21836 possible.
21837 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21838 HAS_AVX.
21839 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21844
bdb6de1d
JM
218452012-01-25 Joseph Myers <joseph@codesourcery.com>
21846
21847 * elf/tst-unique3.cc (gets): Remove declaration.
21848 * elf/tst-unique3lib.cc (gets): Likewise.
21849 * elf/tst-unique3lib2.cc (gets): Likewise.
21850 * elf/tst-unique4.cc (gets): Likewise.
21851
b15549e6
UD
218522012-01-24 Ulrich Drepper <drepper@gmail.com>
21853
21854 * include/stdio.h: Add C++ protection. Add gets declarations and
21855 definitions.
21856 * debug/tst-chk1.c: Don't declare gets here.
21857 * stdio-common/tst-gets.c: Likewise.
21858
a037381f
JM
218592012-01-24 Joseph Myers <joseph@codesourcery.com>
21860
21861 * posix/glob: Remove directory.
21862
f1d4aa75
JM
218632012-01-24 Joseph Myers <joseph@codesourcery.com>
21864
21865 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21866
81c0c964
PT
218672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21868
21869 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21870 of the non-standard EPFNOSUPPORT.
21871
0ea698ae
ST
218722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21873
21874 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21875 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21876 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21877
d220b117
UD
218782012-01-21 Ulrich Drepper <drepper@gmail.com>
21879
21880 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21881
3e1aa84e
UD
218822012-01-20 Ulrich Drepper <drepper@gmail.com>
21883
21884 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21885 transient errors.
21886 * nscd/grpcache.c (cache_addgr): Likewise.
21887 * nscd/hstcache.c (cache_addhst): Likewise.
21888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21889 * nscd/pwdcache.c (cache_addpw): Likewise.
21890 * nscd/servicescache.c (cache_addserv): Likewise.
21891
400aa020
UD
218922012-01-16 Ulrich Drepper <drepper@gmail.com>
21893
d77e7869
UD
21894 * malloc/malloc.c: Various cleanups.
21895 * malloc/hooks.c: Likewise.
21896
400aa020
UD
21897 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21898 * stdlib/bug-fmtmsg1.c: New file.
21899
21900 * stdlib/fmtmsg.c (init): Add missing unlock.
21901 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21902
e0a309cf
MP
219032012-01-12 Marek Polacek <polacek@redhat.com>
21904
21905 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21906 and _GNU_SOURCE.
21907
929d11c7
WS
219082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21909
21910 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21911 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21912 macro to ensure uniqueness of label name.
21913 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21914 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21915
41d0e869
UD
219162012-01-11 Ulrich Drepper <drepper@gmail.com>
21917
0cc5ed3b
UD
21918 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21919
41d0e869
UD
21920 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21921 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21922 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21924
a47a831a
UD
219252012-01-10 Ulrich Drepper <drepper@gmail.com>
21926
daa891c0
UD
21927 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21928
21929 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21930 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21931 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21932
e58ef0f2
UD
21933 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21934
a47a831a 21935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21936 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21937 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21939
21940 * math/bits/math-finite.h: Add ldexp support.
21941
a0bfc9c7
MP
219422012-01-10 Marek Polacek <polacek@redhat.com>
21943
21944 * locale/programs/localedef.h (show_archive_content): Add noreturn
21945 attribute.
21946
d6e97a1d
UD
219472012-01-09 Ulrich Drepper <drepper@gmail.com>
21948
21949 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21950
d5835c26
UD
219512012-01-08 Ulrich Drepper <drepper@gmail.com>
21952
e5f484c6
UD
21953 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21954
d5835c26
UD
21955 * io/Makefile (headers): Add bits/poll2.h.
21956
d1f741e9
WS
219572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21958
21959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21960 typo #include statement.
21961
ec09c1c4
UD
219622012-01-08 Ulrich Drepper <drepper@gmail.com>
21963
21964 * include/sys/cdefs.h: Define __attribute_alloc_size.
21965 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21966 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21967 * elf/pldd.c: Likewise.
21968 * iconv/iconv_charmap.c: Likewise.
21969 * iconv/iconvconfig.c: Likewise.
21970 * iconv/strtab.c: Likewise.
21971 * locale/programs/locale.c: Likewise.
21972 * locale/programs/localedef.h: Likewise.
21973 * locale/programs/simple-hash.c: Likewise.
21974 * nscd/nscd.h: Likewise.
21975 * nss/makedb.c: Likewise.
21976 * sysdeps/generic/ldconfig.h: Likewise.
21977 * locale/programs/localedef.c: Remove xmalloc prototype.
21978 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21979
20b38e03
PP
219802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21981
21982 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21983 appropriate.
21984
a0da5fe1
UD
219852012-01-08 Ulrich Drepper <drepper@gmail.com>
21986
1d5a644a 21987 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21988 * math/tst-CMPLX.c: New file.
1d5a644a 21989
8784a6db
UD
21990 * math/complex.h (CMPLXL): Fix typo.
21991
d9a216c0
UD
21992 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21993 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21994 GLIBC_2.16.
21995 * debug/tst-chk1.c: Add poll and ppoll tests.
21996 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21997 * include/sys/poll.h: Add hidden proto for ppoll.
21998 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21999 * sysdeps/mach/hurd/ppoll.c: Likewise.
22000 * io/ppoll.c: Likewise.
22001 * debug/poll_chk.c: New file.
22002 * debug/ppoll_chk.c: New file.
22003 * include/bits/poll2.h: New file.
22004 * io/bits/poll2.h: New file.
22005
ac097f5c
UD
22006 [BZ #1350]
22007 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22008
2119dcfa
UD
22009 * configure.in: static is always set to yes. Remove.
22010 * config.make.in: Don't set build-static.
22011 * Makeconfig: Remove use of build-static.
22012 * dlfcn/Makefile: Likewise.
22013 * elf/Makefile: Likewise.
22014 * math/Makefile: Likewise.
22015 * misc/Makefile: Likewise.
22016 * nptl/Makefile: Likewise.
22017 * sysdeps/mach/hurd/Makefile: Likewise.
22018
121766a9
UD
22019 * configure.in: PWD_P is not used anymore.
22020 * config.make.in: Remove PWD_P entry.
22021
51a1d39c 22022 * configure.in: Remove last remnants of RANLIB.
8720d066 22023 No need to check for signed size_t anymore.
215f4bdc
UD
22024 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22025 and IA-64.
3857022a 22026 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
22027 * aclocal.m4: Likewise.
22028
d3ed7225
UD
22029 * wcsmbs/mbrtoc16.c: Implement using towc function.
22030 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22031 * wcsmbs/wcsmbsload.c: Likewise.
22032 * iconv/gconv_simple.c: Likewise.
22033 * iconv/gconv_int.h: Likewise.
22034 * iconv/gconv_builtin.h: Likewise.
22035 * iconv/iconv_prog.c: Remove CHAR16 handling.
22036
22037 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22038
22039 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22040
a0da5fe1
UD
22041 * configure.in: Remove --with-elf and --enable-bounded options.
22042 Dont set base_machine for ia64. More non-ELF conditions removed.
22043 Remove testing and setting of leading underscore information.
22044 * config.make.in (build-bounded): Set to no.
22045 * config.h.in: Remove NO_UNDERSCORES entry.
22046 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22047 them.
22048 * csu/start.c: Remove !NO_UNDERSCORE code.
22049 * locale/localeinfo.h: Likewise.
22050 * sysdeps/generic/machine-gmon.h: Likewise.
22051 * sysdeps/generic/sysdep.h: Likewise.
22052 * sysdeps/i386/sysdep.h: Likewise.
22053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22054 * sysdeps/mach/sysdep.h: Likewise.
22055 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22056 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22057 * sysdeps/sh/sysdep.h: Likewise.
22058 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22059 * sysdeps/unix/i386/sysdep.S: Likewise.
22060 * sysdeps/unix/sparc/start.c: Likewise.
22061 * sysdeps/unix/sparc/sysdep.S: Likewise.
22062 * sysdeps/unix/sparc/sysdep.h: Likewise.
22063 * sysdeps/unix/start.c: Likewise.
22064 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22065 * sysdeps/x86_64/sysdep.h: Likewise.
22066
df78418a
UD
220672012-01-07 Ulrich Drepper <drepper@gmail.com>
22068
a784e502
UD
22069 [BZ #13553]
22070 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22071 for non-gcc.
22072 * argp/argp-fmtstream.h: Use const instead __const.
22073 * argp/argp.h: Likewise.
22074 * assert/assert.h: Likewise.
22075 * bits/fenv.h: Likewise.
22076 * bits/sched.h: Likewise.
22077 * bits/sigset.h: Likewise.
22078 * bits/sigthread.h: Likewise.
22079 * catgets/nl_types.h: Likewise.
22080 * conform/data/pthread.h-data: Likewise.
22081 * crypt/crypt-private.h: Likewise.
22082 * crypt/crypt.h: Likewise.
22083 * crypt/crypt_util.c: Likewise.
22084 * ctype/ctype.h: Likewise.
22085 * debug/execinfo.h: Likewise.
22086 * debug/mbsnrtowcs_chk.c: Likewise.
22087 * debug/mbsrtowcs_chk.c: Likewise.
22088 * debug/wcsnrtombs_chk.c: Likewise.
22089 * debug/wcsrtombs_chk.c: Likewise.
22090 * debug/wcstombs_chk.c: Likewise.
22091 * dirent/dirent.h: Likewise.
22092 * dlfcn/dlfcn.h: Likewise.
22093 * elf/neededtest4.c: Likewise.
22094 * grp/grp.h: Likewise.
22095 * gshadow/gshadow.h: Likewise.
22096 * iconv/gconv.h: Likewise.
22097 * iconv/gconv_int.h: Likewise.
22098 * iconv/gconv_simple.c: Likewise.
22099 * iconv/iconv.h: Likewise.
22100 * iconv/loop.c: Likewise.
22101 * iconv/skeleton.c: Likewise.
22102 * include/aio.h: Likewise.
22103 * include/aliases.h: Likewise.
22104 * include/argz.h: Likewise.
22105 * include/arpa/inet.h: Likewise.
22106 * include/assert.h: Likewise.
22107 * include/dirent.h: Likewise.
22108 * include/dlfcn.h: Likewise.
22109 * include/execinfo.h: Likewise.
22110 * include/fcntl.h: Likewise.
22111 * include/fenv.h: Likewise.
22112 * include/glob.h: Likewise.
22113 * include/grp.h: Likewise.
22114 * include/libintl.h: Likewise.
22115 * include/mntent.h: Likewise.
22116 * include/netdb.h: Likewise.
22117 * include/pwd.h: Likewise.
22118 * include/rpc/netdb.h: Likewise.
22119 * include/sched.h: Likewise.
22120 * include/search.h: Likewise.
22121 * include/shadow.h: Likewise.
22122 * include/signal.h: Likewise.
22123 * include/stdio.h: Likewise.
22124 * include/stdlib.h: Likewise.
22125 * include/string.h: Likewise.
22126 * include/sys/socket.h: Likewise.
22127 * include/sys/stat.h: Likewise.
22128 * include/sys/statfs.h: Likewise.
22129 * include/sys/statvfs.h: Likewise.
22130 * include/sys/syslog.h: Likewise.
22131 * include/sys/time.h: Likewise.
22132 * include/sys/uio.h: Likewise.
22133 * include/time.h: Likewise.
22134 * include/unistd.h: Likewise.
22135 * include/utmp.h: Likewise.
22136 * include/wchar.h: Likewise.
22137 * include/wctype.h: Likewise.
22138 * inet/aliases.h: Likewise.
22139 * inet/arpa/inet.h: Likewise.
22140 * inet/netinet/ether.h: Likewise.
22141 * inet/netinet/in.h: Likewise.
22142 * intl/libintl.h: Likewise.
22143 * io/bits/fcntl2.h: Likewise.
22144 * io/fcntl.h: Likewise.
22145 * io/ftw.h: Likewise.
22146 * io/sys/poll.h: Likewise.
22147 * io/sys/stat.h: Likewise.
22148 * io/sys/statfs.h: Likewise.
22149 * io/sys/statvfs.h: Likewise.
22150 * io/utime.h: Likewise.
22151 * libio/bits/stdio.h: Likewise.
22152 * libio/bits/stdio2.h: Likewise.
22153 * libio/libio.h: Likewise.
22154 * libio/libioP.h: Likewise.
22155 * libio/stdio.h: Likewise.
22156 * locale/lc-ctype.c: Likewise.
22157 * locale/locale.h: Likewise.
22158 * login/utmp.h: Likewise.
22159 * malloc/arena.c: Likewise.
22160 * malloc/malloc.c: Likewise.
22161 * malloc/malloc.h: Likewise.
22162 * malloc/mcheck.c: Likewise.
22163 * malloc/mtrace.c: Likewise.
22164 * math/bits/mathcalls.h: Likewise.
22165 * math/fenv.h: Likewise.
22166 * math/math_private.h: Likewise.
22167 * misc/bits/error.h: Likewise.
22168 * misc/bits/syslog.h: Likewise.
22169 * misc/err.h: Likewise.
22170 * misc/error.h: Likewise.
22171 * misc/fstab.h: Likewise.
22172 * misc/mntent.h: Likewise.
22173 * misc/regexp.h: Likewise.
22174 * misc/search.h: Likewise.
22175 * misc/sgtty.h: Likewise.
22176 * misc/sys/mman.h: Likewise.
22177 * misc/sys/syslog.h: Likewise.
22178 * misc/sys/uio.h: Likewise.
22179 * misc/sys/xattr.h: Likewise.
22180 * misc/ttyent.h: Likewise.
22181 * nis/rpcsvc/ypclnt.h: Likewise.
22182 * nss/nss.h: Likewise.
22183 * posix/bits/unistd.h: Likewise.
22184 * posix/fnmatch.h: Likewise.
22185 * posix/glob.h: Likewise.
22186 * posix/sched.h: Likewise.
22187 * posix/spawn.h: Likewise.
22188 * posix/sys/wait.h: Likewise.
22189 * posix/unistd.h: Likewise.
22190 * posix/wordexp.h: Likewise.
22191 * pwd/pwd.h: Likewise.
22192 * resolv/netdb.h: Likewise.
22193 * resource/sys/resource.h: Likewise.
22194 * rt/aio.h: Likewise.
22195 * rt/bits/mqueue2.h: Likewise.
22196 * rt/mqueue.h: Likewise.
22197 * shadow/shadow.h: Likewise.
22198 * signal/signal.h: Likewise.
22199 * socket/send.c: Likewise.
22200 * socket/sendto.c: Likewise.
22201 * socket/sys/socket.h: Likewise.
22202 * stdio-common/printf.h: Likewise.
22203 * stdlib/bits/stdlib.h: Likewise.
22204 * stdlib/fmtmsg.h: Likewise.
22205 * stdlib/monetary.h: Likewise.
22206 * stdlib/stdlib.h: Likewise.
22207 * stdlib/ucontext.h: Likewise.
22208 * streams/stropts.h: Likewise.
22209 * string/argz.h: Likewise.
22210 * string/bits/string2.h: Likewise.
22211 * string/string.h: Likewise.
22212 * string/strings.h: Likewise.
22213 * sunrpc/rpc/auth.h: Likewise.
22214 * sunrpc/rpc/auth_des.h: Likewise.
22215 * sunrpc/rpc/clnt.h: Likewise.
22216 * sunrpc/rpc/netdb.h: Likewise.
22217 * sunrpc/rpc/pmap_clnt.h: Likewise.
22218 * sunrpc/rpc/xdr.h: Likewise.
22219 * sysdeps/generic/inttypes.h: Likewise.
22220 * sysdeps/generic/net/if.h: Likewise.
22221 * sysdeps/generic/sys/swap.h: Likewise.
22222 * sysdeps/gnu/net/if.h: Likewise.
22223 * sysdeps/gnu/utmpx.h: Likewise.
22224 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22225 * sysdeps/i386/i486/bits/string.h: Likewise.
22226 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22227 * sysdeps/s390/bits/string.h: Likewise.
22228 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22229 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22230 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22231 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22232 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22233 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22234 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22235 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22236 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22237 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22238 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22239 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22240 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22241 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22242 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22243 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22244 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22248 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22249 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22250 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22251 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22252 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22253 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22254 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22255 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22256 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22258 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22259 * sysvipc/sys/ipc.h: Likewise.
22260 * sysvipc/sys/msg.h: Likewise.
22261 * sysvipc/sys/sem.h: Likewise.
22262 * sysvipc/sys/shm.h: Likewise.
22263 * termios/termios.h: Likewise.
22264 * time/sys/time.h: Likewise.
22265 * time/time.h: Likewise.
22266 * wcsmbs/bits/wchar2.h: Likewise.
22267 * wcsmbs/uchar.h: Likewise.
22268 * wcsmbs/wchar.h: Likewise.
22269 * wctype/wctype.h: Likewise.
22270
0269750c
UD
22271 [BZ #13551]
22272 * Makeconfig: Remove all but ELF support including AIX support.
22273 * Makerules: Likewise.
22274 * config.h.in: Likewise.
22275 * config.make.in: Likewise.
22276 * configure: Likewise.
22277 * configure.in: Likewise.
22278 * csu/Makefile: Likewise.
22279 * csu/version.c: Likewise.
22280 * debug/Makefile: Likewise.
22281 * dlfcn/Makefile: Likewise.
22282 * elf/Makefile: Likewise.
22283 * extra-lib.mk: Likewise.
22284 * iconv/Makefile: Likewise.
22285 * include/libc-symbols.h: Likewise.
22286 * include/shlib-compat.h: Likewise.
22287 * resolv/Makefile: Likewise.
22288 * resolv/res_libc.c: Likewise.
22289 * rt/Makefile: Likewise.
22290 * sysdeps/i386/asm-syntax.h: Likewise.
22291 * sysdeps/i386/sysdep.h: Likewise.
22292 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22293 * sysdeps/mach/sysdep.h: Likewise.
22294 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22295 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22296 * sysdeps/s390/asm-syntax.h: Likewise.
22297 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22298 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22299 * sysdeps/sh/sysdep.h: Likewise.
22300 * sysdeps/unix/sparc/sysdep.h: Likewise.
22301 * sysdeps/wordsize-32/divdi3.c: Likewise.
22302 * sysdeps/x86_64/sysdep.h: Likewise.
22303
00bbd29b
UD
22304 * argp/Versions: Remove _argp_unlock_xxx.
22305
22306 [BZ #13559]
22307 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22308 * abilist/libBrokenLocale.abilist: Likewise.
22309 * abilist/libanl.abilist: Likewise.
22310 * abilist/libc.abilist: Likewise.
22311 * abilist/libcrypt.abilist: Likewise.
22312 * abilist/libdl.abilist: Likewise.
22313 * abilist/libm.abilist: Likewise.
22314 * abilist/libnsl.abilist: Likewise.
22315 * abilist/libpthread.abilist: Likewise.
22316 * abilist/libresolv.abilist: Likewise.
22317 * abilist/librt.abilist: Likewise.
22318 * abilist/libthread_db.abilist: Likewise.
22319 * abilist/libutil.abilist: Likewise.
22320 * abilist/libnss_db.abilist: New file.
22321
22322 * scripts/abilist.awk: Add support for indirect functions.
22323
a2693a0e
UD
22324 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22325
3f05895f
UD
22326 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22327
ecb6fb48
UD
22328 * shlib-versions: Remove entries for ports architectures.
22329
664f8cb9
UD
22330 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22331 files in ports.
22332 * elf/stackguard-macros.h: Remove support for IA-64.
22333 * elf/tst-auditmod1.c: Likewise.
22334 * sysdeps/generic/ldsodefs.h: Likewise.
22335
7ae81d88
UD
22336 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22337 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22338 configure files.
22339
bdeba135
UD
22340 [BZ #13552]
22341 * configure.in: Remove --enable-omitfp support.
22342 * FAQ.in: Adjust.
22343 * config.make.in: Likewise.
22344 * Makeconfig: Likewise.
22345 * manual/install.texi: Likewise.
22346
d75a0a62
UD
22347 In case anyone cares, the IA-64 architecture could move to ports.
22348 * sysdeps/ia64/*: Removed.
22349 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 22350 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 22351
dcc9756b
UD
22352 [BZ #13555]
22353 * configure.in: Remove entries for unsupported architectures.
22354
d3761ebc 22355 [BZ #13533]
9954432e
UD
22356 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22357 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22358 routines.
22359 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22360 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22361 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22362 fall back to using wcrtomb.
22363 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22364 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22365 renaming.
22366 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22367 * wcsmbs/tst-c16c32-1.c: New file.
22368
22369 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22370 local variable.
22371
c3a87236
UD
22372 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22373
28926a1b
UD
22374 * elf/tst-unique3.cc: Add explicit declaration of gets.
22375 * elf/tst-unique3lib.cc: Likewise.
22376 * elf/tst-unique3lib2.cc: Likewise.
22377 * elf/tst-unique4.cc: Likewise.
22378
df78418a
UD
22379 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22380
8ecd6b2a
JM
223812012-01-06 Joseph Myers <joseph@codesourcery.com>
22382
22383 [BZ #13566]
22384 * assert/assert.h (static_assert): Don't define for C++.
22385 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22386 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22387
9f115170
UD
223882012-01-03 Ulrich Drepper <drepper@gmail.com>
22389
5e0d0300
UD
22390 * iconv/loop.c (single loop): Fix assertion in storing of
22391 remaining bytes.
22392
9f115170
UD
22393 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22394
81fb02b0
UD
223952012-01-01 Ulrich Drepper <drepper@gmail.com>
22396
22397 * posix/getconf.c: Update copyright year.
22398 * nss/getent.c: Likewise.
a316c1f6 22399 * nss/makedb.c: Likewise.
81fb02b0
UD
22400 * iconv/iconvconfig.c: Likewise.
22401 * iconv/iconv_prog.c: Likewise.
22402 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22403 * elf/pldd.c: Likewise.
22404 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22405 * catgets/gencat.c: Likewise.
22406 * csu/version.c: Likewise.
22407 * elf/ldd.bash.in: Likewise.
22408 * elf/sprof.c (print_version): Likewise.
22409 * locale/programs/locale.c: Likewise.
22410 * locale/programs/localedef.c: Likewise.
a316c1f6 22411 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22412 * nscd/nscd.c (print_version): Likewise.
22413 * debug/xtrace.sh: Likewise.
22414 * malloc/memusage.sh: Likewise.
22415 * malloc/mtrace.pl: Likewise.
22416 * debug/catchsegv.sh: Likewise.
22417
2ba92745
JJ
224182011-12-30 Jakub Jelinek <jakub@redhat.com>
22419
22420 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22421 pure attribute.
22422
dadebdae
UD
224232011-12-24 Ulrich Drepper <drepper@gmail.com>
22424
d3761ebc 22425 [BZ #13533]
db6af3eb
UD
22426 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22427 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22428 transformations.
22429 * iconv/gconv_int.h: Likewise.
22430 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22431 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22432 from libc for GLIBC_2.16.
22433 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22434 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22435 * wcsmbs/uchar.h: Really define mbstate_t.
22436 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22437 * wcsmbs/c16rtomb.c: New file.
22438 * wcsmbs/mbrtoc16.c: New file.
22439 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22440 for C/POSIX locale.
22441 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22442 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22443
dadebdae
UD
22444 * wcsmbs/wchar.h: Add missing __restrict.
22445
67371b56
UD
224462011-12-23 Ulrich Drepper <drepper@gmail.com>
22447
74033a25
UD
22448 [BZ #13532]
22449 * time/Makefile (routines): Add timespec_get.
22450 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22451 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22452 timespec for ISO C11.
22453 * time/timespec_get.c: New file.
22454 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22455 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22456
380d7e87
UD
22457 [BZ #13531]
22458 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22459 * stdlib/stdlib.h: Declare aligned_alloc.
22460 * Versions.def: Add GLIBC_2.16 for libc.
22461 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22462
4e9e7a35
UD
22463 [BZ 13527]
22464 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22465 ISO C11.
22466
380d7e87 22467 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22468 code.
22469
03a71829
UD
22470 [BZ #13528]
22471 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22472
839e283e
UD
22473 [BZ #13529]
22474 * assert/assert.h (static_assert): Define.
22475
ce5294e2 22476 * version.h: Update for 2.16 development version.
90fa7312 22477
8d44e150 22478 [BZ #13526]
d7809905
UD
22479 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22480 _ISOC11_SOURCE.
22481
c0da14cd
UD
22482 * version.h (RELEASE): Bump for 2.15 release.
22483 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22484
530a3249
MP
22485 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22486 Patch by Marek Polacek <mpolacek@redhat.com>.
22487
67371b56
UD
22488 * bits/byteswap.h: Protect long long constants with __extension__.
22489 * sysdeps/i386/bits/byteswap.h: Likewise.
22490 * sysdeps/ia64/bits/byteswap.h: Likewise.
22491 * sysdeps/s390/bits/byteswap.h: Likewise.
22492 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22493
15db4de1
LD
224942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22495
22496 [BZ #13540]
bbe315ea
LD
22497 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22498 destination buffer.
15db4de1
LD
22499 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22500
2b2596b1
MP
225012011-12-23 Marek Polacek <polacek@redhat.com>
22502
22503 * elf/dl-addr.c (determine_info): Add inline keyword.
22504 * elf/tst-auditmod4b.c (check_avx): Likewise.
22505 * elf/tst-auditmod6b.c (check_avx): Likewise.
22506 * elf/tst-auditmod6c.c (check_avx): Likewise.
22507 * elf/tst-auditmod7b.c (check_avx): Likewise.
22508
70c6c246
UD
225092011-12-23 Ulrich Drepper <drepper@gmail.com>
22510
22511 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22512 !__SSE_MATH__.
22513
c044cf14
LD
225142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22515
15db4de1 22516 [BZ #13540]
c044cf14
LD
22517 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22518 processing for last bytes.
22519
6b13d9d9
BH
225202011-08-06 Bruno Haible <bruno@clisp.org>
22521
d455f537
BH
22522 [BZ #13061]
22523 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22524 U+0385, not to U+1FEE.
22525
6b13d9d9
BH
22526 [BZ #13062]
22527 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22528 entry for U+00A5 U+0301.
22529
db910efd
UD
225302011-12-22 Ulrich Drepper <drepper@gmail.com>
22531
27deeafc
UD
22532 [BZ #13166]
22533 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22534 buffer for the output is too small.
22535
aed9d171
UD
22536 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22537 optimization.
22538
db910efd
UD
22539 [BZ #13185]
22540 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22541 SSE flags if possible.
22542
2bd779ae
LD
225432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22544
e7f9dac3 22545 [BZ #13540]
2bd779ae
LD
22546 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22547 processing for last bytes.
22548
154bfc16
JM
225492011-12-22 Joseph Myers <joseph@codesourcery.com>
22550
22551 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22552 (syscall-list-default-options, syscall-list-default-condition)
22553 (syscall-list-includes): Define.
22554 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22555 list of ABIs and options and #if conditions for each ABI. Do not
22556 handle common syscalls between ABIs specially.
22557 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22558 Remove.
22559 (syscall-list-variants, syscall-list-32bit-options)
22560 (syscall-list-32bit-condition, syscall-list-64bit-options)
22561 (syscall-list-64bit-condition): Define.
22562 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22563 (syscall-list-variants, syscall-list-32bit-options)
22564 (syscall-list-32bit-condition, syscall-list-64bit-options)
22565 (syscall-list-64bit-condition): Define.
22566 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22567 Remove.
22568 (syscall-list-variants, syscall-list-32bit-options)
22569 (syscall-list-32bit-condition, syscall-list-64bit-options)
22570 (syscall-list-64bit-condition): Define.
22571 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22572 Remove.
22573 (syscall-list-variants, syscall-list-32bit-options)
22574 (syscall-list-32bit-condition, syscall-list-64bit-options)
22575 (syscall-list-64bit-condition): Define.
22576
21eaf3a5
UD
225772011-12-22 Ulrich Drepper <drepper@gmail.com>
22578
16c6f992
UD
22579 * locale/iso-639.def: Add brx entry.
22580
41043168
UD
22581 [BZ #13328]
22582 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22583 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22584
21eaf3a5
UD
22585 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22586 __feraiseexcept_renamed.
22587
e3a851a2
UD
225882011-12-21 Ulrich Drepper <drepper@gmail.com>
22589
4920765e
UD
22590 [BZ #13538]
22591 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22592 EPOLLET with unsigned values.
22593 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22594 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22595
e3a851a2
UD
22596 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22597 to large cancellation.
22598 * math/s_cacoshf.c: Likewise.
22599 * math/s_cacoshl.c: Likewise.
22600
b27e24b8
RK
226012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22602
22603 [BZ #13305]
aebefeee 22604 [BZ #12786]
b27e24b8
RK
22605 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22606 * math/s_cacoshf.c: Likewise.
22607 * math/s_cacoshl.c: Likewise.
22608
ee190f67
UD
226092011-12-21 Ulrich Drepper <drepper@gmail.com>
22610
22611 [BZ #13439]
22612 * iconv/gconv.h: Define __GCONV_SWAP.
22613 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22614 * iconvdata/utf-16.c: Likewise.
22615 * iconvdata/utf-32.c: Likewise.
22616
707f25df
AS
226172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22618
22619 [BZ #13524]
22620 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22621 numerator after shifting it by one limb.
22622
d2daaa1e
RÁE
226232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22624
22625 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22626 under [__USE_EXTERN_INLINES].
22627
a4647e72
UD
226282011-12-17 Ulrich Drepper <drepper@gmail.com>
22629
22630 [BZ #13446]
22631 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22632
f0b264f1
AZ
226332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22634
22635 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22636 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22637 optimized code.
22638 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22639 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22640 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22641 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22642 for strncasecmp/strncasecmp_l compilation.
22643 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22644 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22645
8ef4f244
MP
226462011-12-08 Marek Polacek <mpolacek@redhat.com>
22647
22648 [BZ #13484]
22649 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22650 of __asm__.
22651
97ac2654
UD
226522011-12-17 Ulrich Drepper <drepper@gmail.com>
22653
22654 [BZ #13506]
22655 * time/tzfile.c (__tzfile_read): Check values from file header.
22656
91d2a845
WS
226572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22658
22659 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22660 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22661 * powerpc/powerpc32/dl-start.S: Likewise.
22662 * powerpc/powerpc32/elf/start.S: Likewise.
22663 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22664 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22665 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22666 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22667 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22668 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22669 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22670 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22671 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22672 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22673 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22674 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22675 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22676 * powerpc/powerpc32/memset.S: Likewise.
22677 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22678 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22679 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22680 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22681 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22682 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22683 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22684 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22685 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22686 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22687 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22688 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22689 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22690
a1267ba1
AZ
226912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22692
22693 * math/libm-test.inc: Added more nearbyint tests.
22694 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22695 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22697 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22698
ad8ac1bd
RL
226992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22700
22701 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22702 FD_CLOEXEC.
22703
1d3e4b61
UD
227042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22705
22706 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22707 Add wcscpy-ssse3 wcscpy-c.
22708 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22709 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22710 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22711 * sysdeps/x86_64/wcschr.S: New file.
22712 * sysdeps/x86_64/wcsrchr.S: New file.
22713 * string/test-strcmp.c: Remove checking of wcscmp function for
22714 wrong alignments.
22715 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22716 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22717 wcsrchr-sse2 wcsrchr-c.
22718 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22719 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22720 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22721 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22722 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22723 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22724 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22725 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22726 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22727 * wcsmbc/wcschr.c (WCSCHR): New macro.
22728
5b330a2d
UD
227292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22730
22731 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22732 * wcsmbs/test-wcsrchr.c: New file.
22733 * string/test-strrchr.c: Add wcsrchr support.
22734 (WIDE): New macro.
22735 * wcsmbs/test-wcscpy.c: New file.
22736 * string/test-strcpy.c: Add wcscpy support.
22737 (WIDE): New macro.
26428b7c 22738
f039c043
UD
227392011-12-10 Ulrich Drepper <drepper@gmail.com>
22740
22741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22742 the inner loop.
22743
850fb039
AS
227442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22745
22746 [BZ #13472]
22747 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22748
4efbd5cb
UD
227492011-12-04 Ulrich Drepper <drepper@gmail.com>
22750
52ff5dd0 22751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22752 Minor optimizations.
52ff5dd0 22753
4efbd5cb
UD
22754 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22755 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22756 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22757
8a426e12
UD
227582011-12-03 Ulrich Drepper <drepper@gmail.com>
22759
aff2453d
UD
22760 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22761 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22762 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22763 for gcc to avoid warnings.
22764 * inet/Makefile (tests): Add tst-checks.
22765 * inet/tst-checks.c: New file.
22766
22767 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22768 warning.
22769
22770 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22771 __wmemcmp_sse2.
22772
22773 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22774 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22775
8a426e12
UD
22776 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22777
9bea3473
UD
227782011-12-02 Ulrich Drepper <drepper@gmail.com>
22779
3a965496
UD
22780 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22781 problem.
22782
9bea3473
UD
22783 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22784
f101631b
UD
227852011-11-29 Joseph Myers <joseph@codesourcery.com>
22786
22787 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22788 conditional on GCC version.
22789 (__arch_compare_and_exchange_val_8_acq)
22790 (__arch_compare_and_exchange_val_16_acq)
22791 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22792 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22793 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22794
a98275aa
UD
227952011-12-02 Joseph Myers <joseph@codesourcery.com>
22796
22797 * sysdeps/sh/backtrace.c: New file.
22798
d4cc29a2
AS
227992011-12-02 Andreas Schwab <schwab@redhat.com>
22800
22801 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22802 parenthesis.
22803
6257af2d
AS
228042011-12-01 Andreas Schwab <schwab@redhat.com>
22805
22806 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22807 falling back to utime.
22808
b5f44c1a
AS
228092011-11-30 Andreas Schwab <schwab@redhat.com>
22810
22811 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22812 expectations for float.
22813
f3a6cc0a
AS
228142011-11-29 Andreas Schwab <schwab@redhat.com>
22815
22816 * locale/weight.h (findidx): Add parameter len.
22817 * locale/weightwc.h (findidx): Likewise.
22818 * posix/fnmatch_loop.c (FCT): Adjust caller.
22819 * posix/regcomp.c (build_equiv_class): Likewise.
22820 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22821 * posix/regexec.c (check_node_accept_bytes): Likewise.
22822 * string/strcoll_l.c (STRCOLL): Likewise.
22823 * string/strxfrm_l.c (STRXFRM): Likewise.
22824
9d65ea3a
UD
228252011-11-17 Ulrich Drepper <drepper@gmail.com>
22826
22827 * Makefile.in: Remove CVSOPT handling.
22828 * configure.in: Remove use of AC_REVISION.
22829 * iconvdata/Makefile (distribute): No need to filter out CVS.
22830 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22831 handling.
22832
5583a086
AS
228332011-11-16 Andreas Schwab <schwab@redhat.com>
22834
22835 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22836 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22837 [USE_AS_STRNCASECMP_L]: Likewise.
22838 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22839 NO_TLS_DIRECT_SEG_REFS.
22840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22841 Fix argument offsets for non-PIC.
22842 [USE_AS_STRNCASECMP_L]: Likewise.
22843 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22844 NO_TLS_DIRECT_SEG_REFS.
22845
d62a8200
UD
228462011-11-15 Ulrich Drepper <drepper@gmail.com>
22847
9d65ea3a 22848 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22849 O_CLOEXEC.
22850 * locale/loadlocale.c (_nl_load_locale): Likewise.
22851
09f93bd3
AS
228522011-11-15 Andreas Schwab <schwab@redhat.com>
22853
446514f9
AS
22854 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22855 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22856 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22857 (SYSCALL_GETTIME): Set errno on error.
22858
09f93bd3
AS
22859 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22860 count references to noai6ai_cached.
22861
312be3f9
UD
228622011-11-15 Ulrich Drepper <drepper@gmail.com>
22863
22864 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22865
22866 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22867 FD_CLOEXEC for /proc/self/maps.
22868
22869 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22870 FD_CLOEXEC for /proc/meminfo.
22871
22872 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22873 gai.conf.
22874
22875 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22876 FD_CLOEXEC for given file.
22877
22878 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22879
22880 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22881 FD_CLOEXEC for /etc/hosts.
22882 (_gethtent): Likewise.
22883
22884 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22885
22886 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22887 cancellation and set FD_CLOEXEC for /etc/netgroup.
22888
22889 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22890 reading /etc/publickey.
22891
22892 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22893 allow cancellation when reading /etc/group.
22894
22895 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22896 cancellation.
22897 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22898
22899 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22900 when using data file.
22901
22902 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22903
22904 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22905 (write_nis_obj): Use "c" and "e" in fopen.
22906
22907 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22908
22909 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22910
22911 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22912
22913 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22914
22915 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22916 locale.alias.
22917
22918 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22919
22920 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22921
22922 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22923
22924 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22925 file parsing and set FD_CLOEXEC.
22926
82af0fa8
UD
229272011-11-14 Ulrich Drepper <drepper@gmail.com>
22928
22929 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22930
a5fb313c
AS
229312011-11-14 Andreas Schwab <schwab@redhat.com>
22932
22933 * malloc/arena.c (arena_get2): Don't call reused_arena when
22934 _int_new_arena failed.
22935
6abf3465
UD
229362011-11-14 Ulrich Drepper <drepper@gmail.com>
22937
22938 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22939 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22940 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22941 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22942 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22943 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22944 to compile strcasecmp and strncasecmp.
22945 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22946 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22947
22948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22949
76e3966e
UD
229502011-11-13 Ulrich Drepper <drepper@gmail.com>
22951
22952 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22953 locale-defines.sym to gen-as-const-headers.
22954 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22955 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22956 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22957 to compile strcasecmp and strncasecmp.
22958 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22959 strcasecmp_l and strncasecmp_l.
22960 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22961 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22962 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22963 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22964 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22965 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22966 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22967 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22968 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22969 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22970 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22971
ab26144e
UD
229722011-11-12 Ulrich Drepper <drepper@gmail.com>
22973
7edb22ef
UD
22974 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22975 result of SYSDEP_GETTIME_CPU to retval.
22976 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22977 parameter list to macro. Remove trailing semicolon. Adjust users.
22978
9694fc44
UD
22979 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22980 variable.
22981
8ad89ef8
UD
22982 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22983 mantissa words.
22984 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22985
0c822ef9
UD
22986 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22987 from unused variable.
22988
874e0564
UD
22989 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22990 DWARF definitions.
22991 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22992 for assembling.
22993
3a2edc79
UD
22994 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22995 over namespaces.
22996
f3c2577f
UD
22997 * sunrpc/rpc_prot.c (rejected): Fix case value.
22998
294ce126
UD
22999 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23000 unsigned long long int to avoid warnings in shift.
23001
5e2b63c6
UD
23002 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23003 of use of trans.
23004 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23005 variable tmp.
23006
e7f4b08e
UD
23007 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23008 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23009 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23010
ab26144e
UD
23011 * nis/nis_table.c (nis_list): Use variable of correct type for
23012 result of __follow_path call.
23013
8a6d5255
AZ
230142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23015
23016 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23017 of math functions ceil, trunc, floor, round, and sqrt, when
23018 avaliable on the platform.
23019 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23020 name clash.
23021 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23022 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23023 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23024
aaddc98c
MP
230252011-10-30 Marek Polacek <mpolacek@redhat.com>
23026
23027 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23028 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23029
95b7042b
RM
230302011-11-11 Roland McGrath <roland@hack.frob.com>
23031
23032 * include/unistd.h: Fix __readlink return type.
23033 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23034
57769839
UD
230352011-11-11 Ulrich Drepper <drepper@gmail.com>
23036
23037 * stdlib/ucontext.h: Undo last change for makecontext.
23038
edc5984d
AS
230392011-11-11 Andreas Schwab <schwab@redhat.com>
23040
98591e58
AS
23041 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23042
edc5984d
AS
23043 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23044 * setjmp/setjmp.h: Mark functions as non-leaf.
23045 * setjmp/bits/setjmp2.h: Likewise.
23046 * stdlib/ucontext.h: Likewise.
23047
77cdc054
AS
230482011-11-10 Andreas Schwab <schwab@redhat.com>
23049
23050 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23051 (reused_arena): Don't check arena limit.
23052 (arena_get2): Atomically check arena limit.
23053
fe72eebd
UD
230542011-11-08 Ulrich Drepper <drepper@gmail.com>
23055
5f078c32
UD
23056 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23057 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23058
fe72eebd
UD
23059 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23060 instructions.
23061
ae1bc2fa
AS
230622011-11-07 Andreas Schwab <schwab@redhat.com>
23063
7583a88d
AS
23064 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23065 handler when locking.
23066
ae1bc2fa
AS
23067 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23068 Fix size of allocated buffer.
23069
10fb0bfa
AS
230702011-11-04 Andreas Schwab <schwab@redhat.com>
23071
998832a4
AS
23072 [BZ #10103]
23073 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23074 declarations for long double functions.
23075 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23076
10fb0bfa
AS
23077 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23078
3d7ba52b
AS
230792011-11-03 Andreas Schwab <schwab@redhat.com>
23080
a9ae54a1
AS
23081 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23082 installed.
23083
3d7ba52b
AS
23084 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23085 is disabled.
23086
bc8db248
ST
230872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23088
23089 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23090
45b96dd6
AS
230912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23092
647776f6
AS
23093 * include/alloca.h (stackinfo_alloca_round): Define.
23094 (extend_alloca): Use it.
23095 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23096 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23097 here.
23098
d91a8b93
AS
23099 * scripts/check-local-headers.sh: Ignore libaudit.h.
23100
45b96dd6
AS
23101 * nscd/Makefile (extra-objs): Make recursively expanded.
23102
432d41ce
UD
231032011-11-01 Ulrich Drepper <drepper@gmail.com>
23104
34372fc6
UD
23105 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23107
fadb59f8
UD
23108 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23109 * posix/tst-rfc3484-2.c: Likewise.
23110 * posix/tst-rfc3484-3.c: Likewise.
23111
78239589
UD
23112 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23113 process_vm_writev.
23114 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23115 process_vm_writev.
23116 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23117 process_vm_writev from libc using GLIBC_2.15 version.
23118
432d41ce
UD
23119 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23120
02f9c6cf
PP
231212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23122
23123 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23124 stack usage.
23125
3a2c0242
UD
231262011-10-31 Ulrich Drepper <drepper@gmail.com>
23127
f4ec4833
UD
23128 [BZ #13367]
23129 * nss/getent.c (initgroups_keys): Show error message in case no group
23130 names are given.
23131
3a2c0242
UD
23132 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23133 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23134 __bump_nl_timestamp.
23135 * nscd/connections (nscd_init): When host database is served open
23136 netlink socket and request notification about configuration changes.
23137 (main_loop_poll): Track netlink file descriptor and bump timestamp
23138 in case data becomes available.
23139 (main_loop_epoll): Likewise.
23140 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23141 (database_pers_head): Add extra_data fileds.
23142 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23143 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23144 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23145 Adjust caller.
23146 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23147 in6ai data, call __free_in6ai.
23148 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23149 Add -DHAVE_NETLINK.
23150 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23151 interface information. Reuse previous data if netlink timestamp
23152 is not changed.
23153 (__bump_nl_timestamp): New function.
23154 (__free_in6ai): New function.
23155
636064eb
UD
231562011-10-30 Ulrich Drepper <drepper@gmail.com>
23157
23158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23159 close_not_cancel_no_status here.
23160 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23161
9beb2334
UD
231622011-10-29 Ulrich Drepper <drepper@gmail.com>
23163
6ef76f3b
UD
23164 [BZ #13276]
23165 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23166 return value.
23167
0ffc4f3e 23168 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23169 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23170 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23171
cb95113e
UD
231722011-07-03 Andreas Jaeger <aj@suse.de>
23173
23174 [BZ #10709]
23175 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23176 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23177 * math/libm-test.inc (sin_test): Add test case.
23178
a1b560ff
UD
231792011-10-29 Ulrich Drepper <drepper@gmail.com>
23180
c9aaface
UD
23181 [BZ #13337]
23182 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23184
d272e7f1
UD
23185 * elf/chroot_canon.c (chroot_canon): Cleanups.
23186
1bc33071
UD
23187 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23188
1760874d
TJ
23189 [BZ #13335]
23190 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23191 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23192
51d91b18
UD
23193 * string/test-strchr.c: Make usable for strchrnul testing.
23194 * string/test-strchrnul.c: New file.
23195 * string/Makefile (strop-tests): Add strchrnul.
23196
a1b560ff 23197 * po/it.po: Update from translation team.
b611fb81 23198 * po/es.po: Likewise.
a1b560ff 23199
a5b81e1f
UD
232002011-10-28 Ulrich Drepper <drepper@gmail.com>
23201
fd52bc6d
UD
23202 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23203 the three constants needed as parameters. Drop the others.
23204 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23205 __m128i_strloadu_tolower.
52e4b9eb
UD
23206 Create and initialize variable zero and use it in all the places
23207 where _mm_setzero_si128 was used.
fd52bc6d 23208
a5b81e1f
UD
23209 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23210 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23211 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23212 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23213 anymore.
23214 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23215 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23216 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23217 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23218 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23219 __mpranred, __mptan.
23220 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23221 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23222 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23223 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23226 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23227 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23228 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23229
b4343346
AS
232302011-10-28 Andreas Schwab <schwab@redhat.com>
23231
0c92d8a8
AS
23232 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23233 redefine if SHARED.
23234 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23235
b4343346
AS
23236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23237 wide char related routines to wcsmbs subdir.
23238
3871f58f
AS
232392011-10-27 Andreas Schwab <schwab@redhat.com>
23240
23241 [BZ #13344]
23242 * misc/sys/cdefs.h (__THROWNL): Define.
23243 * posix/unistd.h: Use __THREADNL instead of __THREAD
23244 for memory synchronization functions.
23245
94d44d9f
RM
232462011-10-26 Roland McGrath <roland@hack.frob.com>
23247
21b64b15 23248 [BZ #13349]
94d44d9f
RM
23249 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23250 doesn't exist.
23251 * manual/stdio.texi (Obstack Streams): Node removed.
23252
f6ce9294
AS
232532011-10-26 Andreas Schwab <schwab@redhat.com>
23254
80479147
AS
23255 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23256 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23257 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23258
f6ce9294
AS
23259 * math/math_private.h (math_force_eval): Allow non-addressable
23260 arguments.
23261 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23262
618280a1
UD
232632011-10-25 Ulrich Drepper <drepper@gmail.com>
23264
e0016b11
UD
23265 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23266 file is not needed.
23267
23268 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23269 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23270 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23271 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23273 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23274 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23275 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23276 Add AVX variants.
23277 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23278 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23279 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23280 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23282 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23283 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23284 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23285 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23286 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23287 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23288 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23289 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23290 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23291 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23292 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23293 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23294 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23295 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23296
23297 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23298 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23299
618280a1
UD
23300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23301 place. Use VEX encoding when compiling for AVX.
23302
37822576
AS
233032011-10-25 Andreas Schwab <schwab@redhat.com>
23304
1f1e1947
AS
23305 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23306 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23307
37822576
AS
23308 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23309
31ea014d
UD
233102011-10-25 Ulrich Drepper <drepper@gmail.com>
23311
d7826aa1 23312 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23313 useless if() expression.
d7826aa1
UD
23314 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23325 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23326 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23327 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23328 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23329 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23330 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23331 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23333
31ea014d
UD
23334 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23335
16437fec
AS
233362011-10-25 Andreas Schwab <schwab@redhat.com>
23337
23338 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23339 condition.
23340 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23341
31d3cc00
UD
233422011-10-25 Ulrich Drepper <drepper@gmail.com>
23343
23344 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23345 .text section. Avoid duplicate constants.
23346 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23347 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23348 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23350 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23354 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23355 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23356 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23358 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23364 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23365 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23366 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23367 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23368 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23369 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23370 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23371 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23372 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23373 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23374 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23376 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23387 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23391
58985aa9
UD
233922011-10-24 Ulrich Drepper <drepper@gmail.com>
23393
202c9deb
UD
23394 * sysdeps/x86_64/dla.h: Move to ...
23395 * sysdeps/x86_64/fpu/dla.h: ...here.
23396 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23397 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23398
af968f62
UD
23399 * config.make.in: Add have-mfma4 entry.
23400 * configure.in: Substitute libc_cv_cc_fma4.
23401 * math/Makefile (dbl-only-routines): Add sincostab.
23402 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23403 Use __sincostab not sincos.
23404 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23405 name is a macro.
23406 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23410 using __copysign.
23411 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23412 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23413 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23414 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23415 and __inv.
23416 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23417 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23418 __copysign.
23419 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23420 define aliases when function name is a macro.
23421 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23422 sysdeps/ieee754/dbl-64/sincos.tbl.
23423 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23424 fma4-enabled routines.
23425 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23426 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23427 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23428 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23430 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23431 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23432 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23433 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23434 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23435 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23436 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23437 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23438 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23440 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23441 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23442 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23443 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23444 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23445 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23446 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23452 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23453 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23454 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23455
58985aa9
UD
23456 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23457 rename.
23458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23462 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23463 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23464 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23465 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23466
a201fbcf
AS
234672011-10-24 Andreas Schwab <schwab@redhat.com>
23468
23469 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23470
fc2ee42a
LD
234712011-10-23 Ulrich Drepper <drepper@gmail.com>
23472
bb3129bd
UD
23473 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23474
0275fff8
UD
23475 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23476 prediction.
23477 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23478
2fa2ae85
UD
23479 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23480 Remove unused variable magic_bits.
23481 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23482
fc2ee42a
LD
23483 * string/strnlen.c: Define and use STRNLEN macro.
23484 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23485 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23487 * wcsmbs/wcslen.c: Define and use WCSLEN.
23488 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23489 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23490 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23491 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23492 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23493 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23494 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23495
ce7dd29f
LD
234962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23497
23498 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23499 strnlen-sse2-no-bsf.
23500 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23502 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23503 Add strnlen support.
23504 (USE_AS_STRNLEN): New macro.
23505 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23507 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23508 * sysdeps/x86_64/wcslen.S: New file.
23509
979c70a3
MZ
235102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23511
23512 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23513 XMM-moves are used for copying on small sizes.
23514
2d09f82f
LD
235152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23516
23517 * wcsmbs/Makefile (strop-tests): Add wcschr.
23518 * wcsmbs/test-wcschr.c: New file.
23519 * string/test-strchr.c: Update.
23520 Add wcschr support.
23521 (WIDE): New macro.
23522
619fccca
LD
235232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23524
2d09f82f 23525 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23526 * wcsmbs/test-wcslen.c: New file.
23527 * string/test-strlen.c: Update.
23528 Add wcslen support.
23529 (WIDE): New macro.
23530
09f699ea
UD
235312011-10-23 Ulrich Drepper <drepper@gmail.com>
23532
23533 * po/it.po: Update from translation team.
23534
95584d3b
LD
235352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23536
23537 * sysdeps/x86_64/wcscmp.S: Update.
23538 Fix wrong comparison semantics.
23539 wcscmp shall use signed comparison not unsigned.
23540 Don't use substraction to avoid overflow bug.
23541 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23542 * wcsmbc/wcscmp.c: Likewise.
23543 * string/test-strcmp.c: Likewise.
23544 Add new tests to check cases with negative values.
23545
c8b3296b
UD
235462011-10-23 Ulrich Drepper <drepper@gmail.com>
23547
23548 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23549 * sysdeps/x86_64/dla.h: ...here. New file.
23550 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23555 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23559
246ad57a
AS
235602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23561
23562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23563 __ynl_finite aliases.
23564
a1a87169
UD
235652011-10-22 Ulrich Drepper <drepper@gmail.com>
23566
0d355eb7
UD
23567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23568
a1a87169
UD
23569 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23570 define DLA_FMA.
23571 [DLA_FMA] (EMULV): Use DLA_FMA.
23572 [DLA_FMA] (MUL12): Use EMULV.
23573 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23574 that are not needed.
23575 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23576 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23577 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23578 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23579 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23580 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23582
ee2aafe0
AS
235832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23584
23585 * math/s_nan.c: Undef __nan.
23586 * math/s_nanf.c: Undef __nanf.
23587 * math/s_nanl.c: Undef __nanl.
23588 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23589 "math_private.h".
23590
bc62c2fb
UD
235912011-10-22 Ulrich Drepper <drepper@gmail.com>
23592
77425c63
UD
23593 * math/s_catan.c: Add branch predictions.
23594 * math/s_catanf.c: Likewise.
23595 * math/s_catanh.c: Likewise.
23596 * math/s_catanhf.c: Likewise.
23597 * math/s_catanhl.c: Likewise.
23598 * math/s_catanl.c: Likewise.
23599 * math/s_cexp.c: Likewise.
23600 * math/s_cexpf.c: Likewise.
23601 * math/s_cexpl.c: Likewise.
23602 * math/s_clog.c: Likewise.
23603 * math/s_clog10.c: Likewise.
23604 * math/s_clog10f.c: Likewise.
23605 * math/s_clog10l.c: Likewise.
23606 * math/s_clogf.c: Likewise.
23607 * math/s_clogl.c: Likewise.
23608 * math/s_csqrt.c: Likewise.
23609 * math/s_csqrtf.c: Likewise.
23610 * math/s_csqrtl.c: Likewise.
23611 * math/s_ctanf.c: Likewise.
23612 * math/s_ctanh.c: Likewise.
23613 * math/s_ctanhf.c: Likewise.
23614 * math/s_ctanhl.c: Likewise.
23615 * math/s_ctanl.c: Likewise.
23616
bc62c2fb
UD
23617 * math/math_private.h: Define __nan, __nanf, __nanl.
23618 * math/s_cacosh.c: Include <math_private.h>.
23619 * math/s_cacoshl.c: Likewise.
23620 * math/s_casinh.c: Likewise.
23621 * math/s_casinhf.c: Likewise.
23622 * math/s_casinhl.c: Likewise.
23623 * math/s_ccos.c: Rely entire on ccosh.
23624 * math/s_ccosf.c: Rely entire on ccoshf.
23625 * math/s_ccosl.c: Rely entirely on ccoshl.
23626 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23627 Remove tests for FE_INVALID.
23628 * math/s_ccoshf.c: Likewise.
23629 * math/s_ccoshl.c: Likewise.
23630 * math/s_csin.c: Likewise.
23631 * math/s_csinf.c: Likewise.
23632 * math/s_csinh.c Likewise.
23633 * math/s_csinhf.c: Likewise.
23634 * math/s_csinhl.c: Likewise.
23635 * math/s_csinl.c: Likewise.
23636 * math/s_ctan.c: Likewise.
23637 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23638 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23640
8ec250a4
UD
236412011-10-21 Ulrich Drepper <drepper@gmail.com>
23642
c196fed8
UD
23643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23644 compilation problems.
23645
8ec250a4
UD
23646 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23647 __builtin_expect.
23648
8d4f46c6
UD
236492011-10-20 Ulrich Drepper <drepper@gmail.com>
23650
ed72b654
UD
23651 * sysdeps/i386/configure.in: Test for -mfma4 option.
23652 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23653 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23654 COMMON_CPUID_INDEX_80000001.
23655 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23656 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23657 use it if FMA3 is not supported.
23658 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23659
8d4f46c6
UD
23660 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23661 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23662
d45c60c2
AS
236632011-10-20 Andreas Schwab <schwab@redhat.com>
23664
23665 [BZ #12892]
23666 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23667 it would create a cycle with a link time dependency.
23668
d9a4d2ab
UD
236692011-10-19 Ulrich Drepper <drepper@gmail.com>
23670
855d1560
UD
23671 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23672 instruction.
23673 * string/Makefile (strop-tests): Add rawmemchr.
23674 * string/test-rawmemchr.c: New file.
23675
d9a4d2ab
UD
23676 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23677 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23678 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23679 when compiling str{,n}casecmp and when AVX is available. Hook up
23680 new optimized code in initializers.
23681
8f3b1ffe
AS
236822011-10-19 Andreas Schwab <schwab@redhat.com>
23683
23684 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23685 __feraiseexcept instead of feraiseexcept.
23686
d38f1dba
UD
236872011-10-18 Ulrich Drepper <drepper@gmail.com>
23688
d9a8d0ab
UD
23689 * math/math_private.h: Define defaults for libc_fetestexcept and
23690 libc_feupdateenv.
23691 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23692 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23693 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23694 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23695 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23697 libc_fetestexcept and libc_feupdateenv.
23698
4855e3dd
UD
23699 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23700 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23701 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23702 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23703 libc_feholdexcept_setround.
23704
581d30e3
UD
23705 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23706 Add s_nearbyint-c and s_nearbyintf-c.
23707 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23708 nearbyintf inlines.
23709 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23710 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23711 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23712 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23713
d38f1dba
UD
23714 * math/math_private.h: Define defaults for libc_fegetround,
23715 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23716 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23717 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23718 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23719 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23720 standard functions.
23721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23722 Remove comments and hacks for old compiler versions.
23723 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23724 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23725 libc_feholdexceptl.
23726
caa6c9d8
AS
237272011-10-18 Andreas Schwab <schwab@redhat.com>
23728
23729 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23730 (__feraiseexcept_renamed): Add __NTH.
23731 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23732 namespace violations.
23733
97c066e6
UD
237342011-10-17 Ulrich Drepper <drepper@gmail.com>
23735
99ce7b04
UD
23736 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23737
1004d182
UD
23738 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23739
228a984d
UD
23740 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23741 recently added interfaces.
23742 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23743
c8553a6a
UD
23744 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23745 about macro parameter expansion.
23746
ed22dcf6
UD
23747 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23748 __NO_MATH_INLINES is defined. Cleanups.
23749
23750 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23751 and __floorf is target has SSE4.1.
23752 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23754 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23755 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23756
b171c137
UD
23757 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23758 name.
23759 (floorf): Likewise.
23760
97c066e6
UD
23761 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23762
629f62ef
AS
237632011-10-17 Andreas Schwab <schwab@redhat.com>
23764
49a43d80
AS
23765 * misc/sys/cdefs.h: Fix last change.
23766
629f62ef
AS
23767 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23768 database lookup.
23769
e453f6cd
UD
237702011-10-16 Ulrich Drepper <drepper@gmail.com>
23771
aa78043a
UD
23772 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23773
ad0f5cad
UD
23774 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23776 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23777 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23779 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23780 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23781 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23782 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23783 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23784 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23785 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23786 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23787 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23788 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23789 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23790 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23791 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23792 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23793 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23794 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23795 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23796
23797 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23798 ceil, ceilf, floor, floorf.
23799
23800 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23801 Perform IRELATIVE relocations last.
23802
e453f6cd
UD
23803 * elf/do-rel.h: Add another parameter nrelative, replacing the
23804 local variable with the same name. Change name of the function
23805 to end in Rel or Rela (uppercase).
23806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23807 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23808 elf_dynamic_do_##reloc function.
23809
fd5bdc09
UD
238102011-10-15 Ulrich Drepper <drepper@gmail.com>
23811
79b195b5
UD
23812 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23813 is sufficient, at least on modern CPUs.
23814
d4a28569
UD
23815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23816
b61099b5
UD
23817 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23818 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23819
bcf01e6d
UD
23820 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23821 __expl_finite.
23822 * math/bits/math-finite.h: Add entries for exp.
23823 * math/e_expl.c: Add __*_finite alias.
23824 * sysdeps/i386/fpu/e_exp.S: Likewise.
23825 * sysdeps/i386/fpu/e_expf.S: Likewise.
23826 * sysdeps/i386/fpu/e_expl.c: Likewise.
23827 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23828 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23829 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23830 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23831 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23832 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23833 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23834
ba1a0d59
UD
23835 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23836 is sufficient, at least on modern CPUs.
23837
fd5bdc09
UD
23838 * ctype/ctype-info.c (__ctype_init): Define.
23839 * include/ctype.h (__ctype_init): Declare.
23840 (__ctype_b_loc): The variable is always initialized.
23841 (__ctype_toupper_loc): Likewise.
23842 (__ctype_tolower_loc): Likewise.
23843 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23844 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23845
7872cfb0
AS
238462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23847
b468825a
AS
23848 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23849
7872cfb0
AS
23850 * configure.in: Also look in $cxxmachine/include for C++ system
23851 headers.
23852
be13f7bf
LD
238532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23854
23855 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23856 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23857 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23858 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23859 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23860 (USE_AS_WMEMCMP): New macro.
23861 Fixing indents.
23862 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23863 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23864 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23865 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23867 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23868 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23869 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23870 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23871 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23873 (USE_AS_WMEMCMP): New macro.
23874 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23875 * sysdeps/string/test-memcmp.c: Update.
23876 Fix simple_wmemcmp.
23877 Add new tests.
23878 * wcsmbs/wmemcmp.c: Update.
23879 (WMEMCMP): New macro.
23880 Fix overflow bug.
23881
556a2007
AJ
238822011-10-12 Andreas Jaeger <aj@suse.de>
23883
23884 [BZ #13268]
23885 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23886
538faaa7
UD
238872011-10-15 Ulrich Drepper <drepper@gmail.com>
23888
ab6737ff
UD
23889 * libio/iofwide.c (do_length): Avoid warning.
23890
538faaa7
UD
23891 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23892
396a21b1
UD
238932011-10-14 Ulrich Drepper <drepper@gmail.com>
23894
cdf2901f
UD
23895 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23896
38ad40ce
UD
23897 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23898 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23899 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23900 * sysdeps/i386/i686/fpu/e_log.S: New file.
23901 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23902 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23903
396a21b1
UD
23904 * ctype/ctype.h: Add support for inlined isXXX functions when
23905 compiling C++ code.
23906
6b1f68c9
AS
239072011-10-14 Andreas Schwab <schwab@redhat.com>
23908
349290c0
AS
23909 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23910
6b1f68c9
AS
23911 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23912
f2282d42
RM
239132011-10-13 Roland McGrath <roland@hack.frob.com>
23914
23915 [BZ #13291]
23916 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23917
5298ffa8
AS
239182011-10-13 Andreas Schwab <schwab@redhat.com>
23919
714fad23
AS
23920 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23921 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23922 feraiseexcept.
23923
81dcc7fb
AS
23924 * sysdeps/x86_64/memrchr.S: Check for zero size.
23925
5298ffa8
AS
23926 * string/stratcliff.c: Add memrchr tests.
23927
951fbcec
LD
239282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23929
23930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23931 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23932 rawmemchr-sse2 rawmemchr-sse2-bsf.
23933 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23934 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23935 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23936 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23937 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23938 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23939 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23940 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23941 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23942 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23943 * string/memrchr.c (MEMRCHR): New macro.
23944
0ac5ae23
UD
239452011-10-12 Ulrich Drepper <drepper@gmail.com>
23946
23947 Add integration with gcc's -ffinite-math-only and optimize wrapper
23948 functions in libm.
23949 * Versions.def: Define GLIBC_2.15 version for libm.
23950 * math/Makefile (headers): Add bits/math-finite.h.
23951 * math/bits/math-finite.h: New file.
23952 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23953 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23954 * math/e_acoshl.c: Add __*_finite alias.
23955 * math/e_acosl.c: Likewise.
23956 * math/e_asinl.c: Likewise.
23957 * math/e_atan2l.c: Likewise.
23958 * math/e_atanhl.c: Likewise.
23959 * math/e_coshl.c: Likewise.
23960 * math/e_exp10.c: Likewise.
23961 * math/e_exp10f.c: Likewise.
23962 * math/e_exp10l.c: Likewise.
23963 * math/e_exp2l.c: Likewise.
23964 * math/e_fmodl.c: Likewise.
23965 * math/e_gammal_r.c: Likewise.
23966 * math/e_hypotl.c: Likewise.
23967 * math/e_j0l.c: Likewise.
23968 * math/e_j1l.c: Likewise.
23969 * math/e_jnl.c: Likewise.
23970 * math/e_lgammal_r.c: Likewise.
23971 * math/e_log10l.c: Likewise.
23972 * math/e_log2l.c: Likewise.
23973 * math/e_logl.c: Likewise.
23974 * math/e_powl.c: Likewise.
23975 * math/e_sinhl.c: Likewise.
23976 * math/e_sqrtl.c: Likewise.
23977 * math/e_scalb.c: Completely rewritten and optimized.
23978 * math/e_scalbf.c: Likewise.
23979 * math/e_scalbl.c: Likewise.
23980 * math/w_acos.c: Likewise.
23981 * math/w_acosf.c: Likewise.
23982 * math/w_acosl.c: Likewise.
23983 * math/w_acosh.c: Likewise.
23984 * math/w_acoshf.c: Likewise.
23985 * math/w_acoshl.c: Likewise.
23986 * math/w_asin.c: Likewise.
23987 * math/w_asinf.c: Likewise.
23988 * math/w_asinl.c: Likewise.
23989 * math/w_atan2.c: Likewise.
23990 * math/w_atan2f.c: Likewise.
23991 * math/w_atan2l.c: Likewise.
23992 * math/w_atanh.c: Likewise.
23993 * math/w_atanhf.c: Likewise.
23994 * math/w_atanhl.c: Likewise.
23995 * math/w_exp10.c: Likewise.
23996 * math/w_exp10f.c: Likewise.
23997 * math/w_exp10l.c: Likewise.
23998 * math/w_fmod.c: Likewise.
23999 * math/w_fmodf.c: Likewise.
24000 * math/w_fmodl.c: Likewise.
24001 * math/w_j0.c: Likewise.
24002 * math/w_j0f.c: Likewise.
24003 * math/w_j0l.c: Likewise.
24004 * math/w_j1.c: Likewise.
24005 * math/w_j1f.c: Likewise.
24006 * math/w_j1l.c: Likewise.
24007 * math/w_jn.c: Likewise.
24008 * math/w_jnf.c: Likewise.
24009 * math/w_log.c: Likewise.
24010 * math/w_logf.c: Likewise.
24011 * math/w_logl.c: Likewise.
24012 * math/w_log10.c: Likewise.
24013 * math/w_log10f.c: Likewise.
24014 * math/w_log10l.c: Likewise.
24015 * math/w_log2.c: Likewise.
24016 * math/w_log2f.c: Likewise.
24017 * math/w_log2l.c: Likewise.
24018 * math/w_pow.c: Likewise.
24019 * math/w_powf.c: Likewise.
24020 * math/w_powl.c: Likewise.
24021 * math/w_remainder.c: Likewise.
24022 * math/w_remainderf.c: Likewise.
24023 * math/w_remainderl.c: Likewise.
24024 * math/w_scalb.c: Likewise.
24025 * math/w_scalbf.c: Likewise.
24026 * math/w_scalbl.c: Likewise.
24027 * math/w_sqrt.c: Likewise.
24028 * math/w_sqrtf.c: Likewise.
24029 * math/w_sqrtl.c: Likewise.
24030 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24031 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24032 used.
24033 * math/math_private.h: Declare __kernel_standard_f.
24034 * math/w_cosh.c: Remove cruft and optimize a bit.
24035 * math/w_coshf.c: Likewise.
24036 * math/w_coshl.c: Likewise.
24037 * math/w_exp2.c: Likewise.
24038 * math/w_exp2f.c: Likewise.
24039 * math/w_exp2l.c: Likewise.
24040 * math/w_hypot.c: Likewise.
24041 * math/w_hypotf.c: Likewise.
24042 * math/w_hypotl.c: Likewise.
24043 * math/w_lgamma.c: Likewise.
24044 * math/w_lgamma_r.c: Likewise.
24045 * math/w_lgammaf.c: Likewise.
24046 * math/w_lgammaf_r.c: Likewise.
24047 * math/w_lgammal.c: Likewise.
24048 * math/w_lgammal_r.c: Likewise.
24049 * math/w_sinh.c: Likewise.
24050 * math/w_sinhf.c: Likewise.
24051 * math/w_sinhl.c: Likewise.
24052 * math/w_tgamma.c: Likewise.
24053 * math/w_tgammaf.c: Likewise.
24054 * math/w_tgammal.c: Likewise.
24055 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24056 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24057 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24058 Minor optimizations. Pretty printing. Remove cruft.
24059 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24060 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24061 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24062 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24063 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24064 * sysdeps/i386/fpu/e_asin.S: Likewise.
24065 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24066 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24067 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24068 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24069 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24072 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24073 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24074 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24075 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24076 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24077 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24078 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24079 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24080 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24081 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24082 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24083 * sysdeps/i386/fpu/e_log.S: Likewise.
24084 * sysdeps/i386/fpu/e_log10.S: Likewise.
24085 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24086 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24087 * sysdeps/i386/fpu/e_log2.S: Likewise.
24088 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24089 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24090 * sysdeps/i386/fpu/e_logf.S: Likewise.
24091 * sysdeps/i386/fpu/e_logl.S: Likewise.
24092 * sysdeps/i386/fpu/e_pow.S: Likewise.
24093 * sysdeps/i386/fpu/e_powf.S: Likewise.
24094 * sysdeps/i386/fpu/e_powl.S: Likewise.
24095 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24096 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24097 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24098 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24099 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24101 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24102 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24103 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24119 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24120 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24129 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24130 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24132 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24133 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24135 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24136 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24137 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24138 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24139 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24140 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24141 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24145 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24146 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24147 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24150 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24151 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24154 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24155 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24159 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24160 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24161 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24175 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24184 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24186 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24195 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24196 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24197 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24198 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24199 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24200 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24201 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24202 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24203 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24204 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24205 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24206 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24207 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24209 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24210 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24212 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24213 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24214 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24215 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24216 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24217 (__isnanf): Likewise.
24218 (__isinf_ns): Likewise.
24219 (__isinf_nsf): Likewise.
24220 (__finite): Likewise.
24221 (__finitef): Likewise.
24222 (__ieee754_sqrt): Define as macro.
24223 (__ieee754_sqrtf): Define as macro.
24224 (__ieee754_sqrtl): Define as macro.
24225 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24226 inlined copy.
24227 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24228 __FINITE_MATH_ONLY__ consistent.
24229 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24230
12cc2fcd
AS
242312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24232
a843a204
AS
24233 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24234 of rawmemchr.
24235
12cc2fcd
AS
24236 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24237
c853acd5
UD
242382011-10-09 Ulrich Drepper <drepper@gmail.com>
24239
24240 * po/ja.po: Update from translation team.
24241
c658d255
RM
242422011-10-08 Roland McGrath <roland@hack.frob.com>
24243
110946e4
RM
24244 * locale/programs/locarchive.c (prepare_address_space): New function.
24245 (create_archive, enlarge_archive, open_archive): Use it.
24246
50604220
RM
24247 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24248 inside [SHARED], where it is used.
24249
c658d255
RM
24250 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24251
24252 * nss/getent.c (netgroup_keys): Remove unused variable.
24253 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24254
6a621eb7
UD
242552011-10-08 Ulrich Drepper <drepper@gmail.com>
24256
7edb55ce
UD
24257 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24258 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24259 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24260 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24261 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24263 * math/Makefile (libm-calls): Add s_isinf_ns.
24264 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24265 * math/multc3.c: Likewise.
24266 * math/s_casin.c: Likewise.
24267 * math/s_casinf.c: Likewise.
24268 * math/s_casinl.c: Likewise.
24269 * math/s_ccos.c: Likewise.
24270 * math/s_ccosf.c: Likewise.
24271 * math/s_ccosl.c: Likewise.
24272 * math/s_ctan.c: Likewise.
24273 * math/s_ctanf.c: Likewise.
24274 * math/s_ctanh.c: Likewise.
24275 * math/s_ctanhf.c: Likewise.
24276 * math/s_ctanhl.c: Likewise.
24277 * math/s_ctanl.c: Likewise.
24278 * math/w_fmod.c: Likewise.
24279 * math/w_fmodf.c: Likewise.
24280 * math/w_fmodl.c: Likewise.
24281 * math/w_remainder.c: Likewise.
24282 * math/w_remainderf.c: Likewise.
24283 * math/w_remainderl.c: Likewise.
24284 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24285 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24286 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24287 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24288 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24289 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24290 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24291 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24292
187da0ae
UD
24293 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24294 of the number.
24295 * stdio-common/printf_fphex.c: Likewise.
24296 * stdio-common/printf_size.c: Likewise.
24297
9277c064
UD
24298 * math/e_exp10.c: Include math_private.h using <...> not "...".
24299 * math/e_exp10f.c: Likewise.
24300 * math/e_exp10l.c: Likewise.
24301 * math/e_exp2l.c: Likewise.
24302 * math/e_j0l.c: Likewise.
24303 * math/e_j1l.c: Likewise.
24304 * math/e_jnl.c: Likewise.
24305 * math/e_lgammal_r.c: Likewise.
24306 * math/e_rem_pio2l.c: Likewise.
24307 * math/e_scalb.c: Likewise.
24308 * math/e_scalbf.c: Likewise.
24309 * math/e_scalbl.c: Likewise.
24310 * math/k_cosl.c: Likewise.
24311 * math/k_sinl.c: Likewise.
24312 * math/k_tanl.c: Likewise.
24313 * math/s_cacoshf.c: Likewise.
24314 * math/s_catan.c: Likewise.
24315 * math/s_catanf.c: Likewise.
24316 * math/s_catanh.c: Likewise.
24317 * math/s_catanhf.c: Likewise.
24318 * math/s_catanhl.c: Likewise.
24319 * math/s_catanl.c: Likewise.
24320 * math/s_ccosh.c: Likewise.
24321 * math/s_ccoshf.c: Likewise.
24322 * math/s_ccoshl.c: Likewise.
24323 * math/s_cexp.c: Likewise.
24324 * math/s_cexpf.c: Likewise.
24325 * math/s_cexpl.c: Likewise.
24326 * math/s_clog.c: Likewise.
24327 * math/s_clog10.c: Likewise.
24328 * math/s_clog10f.c: Likewise.
24329 * math/s_clog10l.c: Likewise.
24330 * math/s_clogf.c: Likewise.
24331 * math/s_clogl.c: Likewise.
24332 * math/s_csin.c: Likewise.
24333 * math/s_csinf.c: Likewise.
24334 * math/s_csinh.c: Likewise.
24335 * math/s_csinhf.c: Likewise.
24336 * math/s_csinhl.c: Likewise.
24337 * math/s_csinl.c: Likewise.
24338 * math/s_csqrt.c: Likewise.
24339 * math/s_csqrtf.c: Likewise.
24340 * math/s_csqrtl.c: Likewise.
24341 * math/s_ctan.c: Likewise.
24342 * math/s_ctanf.c: Likewise.
24343 * math/s_ctanh.c: Likewise.
24344 * math/s_ctanhf.c: Likewise.
24345 * math/s_ctanhl.c: Likewise.
24346 * math/s_ctanl.c: Likewise.
24347 * math/s_ldexp.c: Likewise.
24348 * math/s_ldexpf.c: Likewise.
24349 * math/s_ldexpl.c: Likewise.
24350 * math/s_significand.c: Likewise.
24351 * math/s_significandf.c: Likewise.
24352 * math/s_significandl.c: Likewise.
24353 * math/w_acos.c: Likewise.
24354 * math/w_acosf.c: Likewise.
24355 * math/w_acosh.c: Likewise.
24356 * math/w_acoshf.c: Likewise.
24357 * math/w_acoshl.c: Likewise.
24358 * math/w_acosl.c: Likewise.
24359 * math/w_asin.c: Likewise.
24360 * math/w_asinf.c: Likewise.
24361 * math/w_asinl.c: Likewise.
24362 * math/w_atan2.c: Likewise.
24363 * math/w_atan2f.c: Likewise.
24364 * math/w_atan2l.c: Likewise.
24365 * math/w_atanh.c: Likewise.
24366 * math/w_atanhf.c: Likewise.
24367 * math/w_atanhl.c: Likewise.
24368 * math/w_cosh.c: Likewise.
24369 * math/w_coshf.c: Likewise.
24370 * math/w_coshl.c: Likewise.
24371 * math/w_dremf.c: Likewise.
24372 * math/w_exp10.c: Likewise.
24373 * math/w_exp10f.c: Likewise.
24374 * math/w_exp10l.c: Likewise.
24375 * math/w_exp2.c: Likewise.
24376 * math/w_exp2f.c: Likewise.
24377 * math/w_fmod.c: Likewise.
24378 * math/w_fmodf.c: Likewise.
24379 * math/w_fmodl.c: Likewise.
24380 * math/w_hypot.c: Likewise.
24381 * math/w_hypotf.c: Likewise.
24382 * math/w_hypotl.c: Likewise.
24383 * math/w_j0.c: Likewise.
24384 * math/w_j0f.c: Likewise.
24385 * math/w_j0l.c: Likewise.
24386 * math/w_j1.c: Likewise.
24387 * math/w_j1f.c: Likewise.
24388 * math/w_j1l.c: Likewise.
24389 * math/w_jn.c: Likewise.
24390 * math/w_jnf.c: Likewise.
24391 * math/w_jnl.c: Likewise.
24392 * math/w_lgamma.c: Likewise.
24393 * math/w_lgamma_r.c: Likewise.
24394 * math/w_lgammaf.c: Likewise.
24395 * math/w_lgammaf_r.c: Likewise.
24396 * math/w_lgammal.c: Likewise.
24397 * math/w_lgammal_r.c: Likewise.
24398 * math/w_log.c: Likewise.
24399 * math/w_log10.c: Likewise.
24400 * math/w_log10f.c: Likewise.
24401 * math/w_log10l.c: Likewise.
24402 * math/w_log2.c: Likewise.
24403 * math/w_log2f.c: Likewise.
24404 * math/w_log2l.c: Likewise.
24405 * math/w_logf.c: Likewise.
24406 * math/w_logl.c: Likewise.
24407 * math/w_pow.c: Likewise.
24408 * math/w_powf.c: Likewise.
24409 * math/w_powl.c: Likewise.
24410 * math/w_remainder.c: Likewise.
24411 * math/w_remainderf.c: Likewise.
24412 * math/w_remainderl.c: Likewise.
24413 * math/w_scalb.c: Likewise.
24414 * math/w_scalbf.c: Likewise.
24415 * math/w_scalbl.c: Likewise.
24416 * math/w_sinh.c: Likewise.
24417 * math/w_sinhf.c: Likewise.
24418 * math/w_sinhl.c: Likewise.
24419 * math/w_sqrt.c: Likewise.
24420 * math/w_sqrtf.c: Likewise.
24421 * math/w_sqrtl.c: Likewise.
24422 * math/w_tgamma.c: Likewise.
24423 * math/w_tgammaf.c: Likewise.
24424 * math/w_tgammal.c: Likewise.
24425
6a621eb7
UD
24426 * po/ja.po: Update from translation team.
24427
bf582445
AJ
244282011-09-29 Andreas Jaeger <aj@suse.de>
24429
f9efbf3a
AJ
24430 [BZ #13179]
24431 * sunrpc/netname.c (netname2host): Fix logic.
24432
bf582445
AJ
24433 [BZ #6779]
24434 [BZ #6783]
24435 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24436 correctly.
24437 * math/w_remainder.c (__remainder): Likewise.
24438 * math/w_remainderf.c (__remainderf): Likewise.
24439 * math/libm-test.inc (remainder_test): Add test cases.
24440
48693bea
AK
244412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24442
24443 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24444 sdiv_qrnnd.
24445
42622229
LD
244462011-10-07 Ulrich Drepper <drepper@gmail.com>
24447
24448 * string/test-memcmp.c: Avoid unncessary #defines.
24449 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24450
093ecf92
LD
244512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24452
24453 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24454 Use new sse2 version for core i3 - i7 as it's faster
24455 than sse42 version.
24456 (bit_Prefer_PMINUB_for_stringop): New.
24457 * sysdeps/x86_64/rawmemchr.S: Update.
24458 Replace with faster SSE2 version.
24459 * sysdeps/x86_64/memrchr.S: New file.
24460 * sysdeps/x86_64/memchr.S: Update.
24461 Replace with faster SSE2 version.
24462
fde56e5c
MP
244632011-09-12 Marek Polacek <mpolacek@redhat.com>
24464
24465 * elf/dl-load.c (lose): Add cast to avoid warning.
24466
21fd49a9
UD
244672011-10-07 Ulrich Drepper <drepper@gmail.com>
24468
5a06e643
UD
24469 * po/ca.po: Update from translation team.
24470
684ae515
UD
24471 * inet/getnetgrent_r.c: Hook up nscd.
24472 * nscd/Makefile (routines): Add nscd_netgroup.
24473 (nscd-modules): Add netgroupcache.
24474 (CFLAGS-netgroupcache.c): Define.
24475 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24476 (cache_search): Add const to second parameter.
24477 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24478 INNETGR.
24479 (dbs): Add netgrdb entry.
24480 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24481 (verify_persistent_db): Handle netgrdb.
24482 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24483 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24484 GETFDNETGR.
24485 (netgroup_response_header): Define.
24486 (innetgroup_response_header): Define.
24487 (datahead): Add netgroup_response_header and innetgroup_response_header
24488 elements.
24489 * nscd/nscd.conf: Add entries for netgroup cache.
24490 * nscd/nscd.h (dbtype): Add netgrdb.
24491 (_PATH_NSCD_NETGROUP_DB): Define.
24492 (netgroup_iov_disabled): Declare.
24493 (xmalloc, xcalloc, xrealloc): Move declarations here.
24494 (cache_search): Adjust prototype.
24495 Add netgroup-related prototypes.
24496 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24497 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24498 (__nscd_innetgr): Declare.
24499 * nscd/selinux.c (perms): Use access_vector_t as element type and
24500 add netgroup-related initializers.
24501 * nscd/netgroupcache.c: New file.
24502 * nscd/nscd_netgroup.c: New file.
24503 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24504 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24505 For four parameters use innetgr.
24506 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24507 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24508 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24509 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24510
21fd49a9
UD
24511 * nscd/connections.c (register_traced_file): Don't register file
24512 for disabled databases.
24513
054c0457
UD
245142011-10-06 Ulrich Drepper <drepper@gmail.com>
24515
32b63198
UD
24516 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24517
054c0457
UD
24518 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24519 from tree and freeing node.
24520
64031225
JO
245212011-09-25 Jiri Olsa <jolsa@redhat.com>
24522
24523 * nss/nsswitch.c (__nss_database_lookup): Handle
24524 nss_parse_service_list out of memory case.
24525
0490345c
JO
245262011-09-15 Jiri Olsa <jolsa@redhat.com>
24527
24528 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24529 out of memory case.
24530
3a62d00d
AS
245312011-10-04 Andreas Schwab <schwab@redhat.com>
24532
24533 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24534 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24535 pass it down.
24536 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24537 elf_machine_rela, elf_machine_lazy_rel.
24538 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24539 (ELF_DYNAMIC_DO_REL): Likewise.
24540 (ELF_DYNAMIC_DO_RELA): Likewise.
24541 (ELF_DYNAMIC_RELOCATE): Likewise.
24542 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24543 to ELF_DYNAMIC_DO_REL.
24544 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24545 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24546 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24547 elf_machine_rela.
24548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24549 skip_ifunc, don't call ifunc function if non-zero.
24550 (elf_machine_rela): Likewise.
24551 (elf_machine_lazy_rel): Likewise.
24552 (elf_machine_lazy_rela): Likewise.
24553 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24554 (elf_machine_lazy_rel): Likewise.
24555 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24556 Likewise.
24557 (elf_machine_lazy_rel): Likewise.
24558 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24559 Likewise.
24560 (elf_machine_lazy_rel): Likewise.
24561 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24562 (elf_machine_lazy_rel): Likewise.
24563 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24564 (elf_machine_lazy_rel): Likewise.
24565 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24566 (elf_machine_lazy_rel): Likewise.
24567 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24568 (elf_machine_lazy_rel): Likewise.
24569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24570 (elf_machine_lazy_rel): Likewise.
24571 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24572 (elf_machine_lazy_rel): Likewise.
24573
68577918
UD
245742011-09-28 Ulrich Drepper <drepper@gmail.com>
24575
24576 * nss/nss_files/files-init.c (_nss_files_init): Use static
24577 initialization for all the *_traced_file variables.
24578
68822d74
AS
245792011-09-28 Andreas Schwab <schwab@redhat.com>
24580
24581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24582
2056100b
RM
245832011-09-27 Roland McGrath <roland@hack.frob.com>
24584
24585 [BZ #13226]
24586 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24587
32c76b63
AS
245882011-09-27 Andreas Schwab <schwab@redhat.com>
24589
24590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24591 Reread the line before reparsing it.
24592
bf972c9d
AS
245932011-09-26 Andreas Schwab <schwab@redhat.com>
24594
24595 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24596
e057a1b5
JM
245972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24598 Maxim Kuvyrkov <maxim@codesourcery.com>
24599 Joseph Myers <joseph@codesourcery.com>
24600
24601 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24602 if needed for __stack_chk_guard.
24603
bc7e1c36
RM
246042011-09-19 Roland McGrath <roland@hack.frob.com>
24605
ecb1482f
RM
24606 * sysdeps/posix/spawni.c (script_execute): Always define it.
24607 It will be optimized away if unused.
24608 (maybe_script_execute): New function.
24609 (__spawni): Call it.
24610
bc7e1c36
RM
24611 * Makerules: Don't include tls.make.
24612 (config-tls): Always set to thread.
24613 * tls.make.c: File removed.
24614
1c3b002b
MF
246152011-09-19 Mike Frysinger <vapier@gentoo.org>
24616
24617 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24618 * config.make.in (CPPFLAGS-config): New substituted variable.
24619
2840865d
UD
246202011-09-15 Ulrich Drepper <drepper@gmail.com>
24621
88738eb6
UD
24622 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24623
cbf645a6 24624 [BZ #13192]
2840865d
UD
24625 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24626 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24627
b402e91a
RM
246282011-09-15 Roland McGrath <roland@hack.frob.com>
24629
24630 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24631 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24633 (CALL_FAIL): Likewise.
24634 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24635 (CALL_FAIL): Macro removed.
24636 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24637
4c1a1f71
UD
246382011-09-15 Ulrich Drepper <drepper@gmail.com>
24639
24640 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24641 for __FINITE_MATH_ONLY__ == 1.
24642
edc121be
AS
246432011-09-15 Andreas Schwab <schwab@redhat.com>
24644
24645 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24646 __ieee754_sqrt instead of sqrt.
24647 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24648 __ieee754_sqrtf instead of sqrtf.
24649 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24650 __floorf instead of floorf.
24651 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24652 __floorf, __truncf instead of floorf, truncf.
24653
cd205654
UD
246542011-09-14 Ulrich Drepper <drepper@gmail.com>
24655
ee4d0315
UD
24656 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24657
cd205654
UD
24658 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24659 __extern_always_inline.
24660 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24661 32-bit.
24662
48b67d71
AS
246632011-09-14 Andreas Schwab <schwab@redhat.com>
24664
24665 * elf/rtld.c (dl_main): Also relocate in dependency order when
24666 doing symbol dependency testing.
24667
1ae12c75
AS
246682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24669
24670 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24671 Always define `refsym'.
24672
995a80df
AS
246732011-09-13 Andreas Schwab <schwab@redhat.com>
24674
e529793b
AS
24675 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24676 (__FD_ELT): Renamed from __FDELT.
24677 * misc/bits/select2.h (__FD_ELT): Likewise.
24678 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24679 __FD_MASK instead of __FDELT, __FDMASK.
24680 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24681 Likewise.
24682 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24683 Likewise.
24684
52d4fef8
AS
24685 * elf/Makefile (gen-ldd): Fix pattern.
24686
995a80df
AS
24687 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24688 (init_tls): Likewise.
24689
8682f8b0
UD
246902011-09-12 Ulrich Drepper <drepper@gmail.com>
24691
24692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24693
de82006d
AS
246942011-09-12 Andreas Schwab <schwab@redhat.com>
24695
a7c8e6a1
AS
24696 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24697 `struct cmsghdr *' instead of `void *'.
24698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24699 Likewise.
24700
0f31fe77
AS
247012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24702
24703 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24704 if non-absolute.
24705 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24706 ldd_rewrite_script.
0f31fe77 24707
32b4c839
UD
247082011-09-11 Ulrich Drepper <drepper@gmail.com>
24709
83cd1420
UD
24710 * configure.in: Remove --with-tls option.
24711 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24712 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24713 out in case it is missing.
24714 * sysdeps/ia64/elf/configure.in: Likewise.
24715 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24716 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24717 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24718 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24719 * sysdeps/sh/elf/configure.in: Likewise.
24720 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24722 * sysdeps/x86_64/elf/configure.in: Likewise.
24723 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24724 * sysdeps/mach/hurd/tls.h: Likewise.
24725
633f745d
UD
24726 [BZ #13067]
24727 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24728
f318beb8
UD
24729 [BZ #13090]
24730 * configure.in: Fix use of AC_INIT.
24731
32b4c839
UD
24732 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24733
3ce1f295
UD
247342011-09-10 Ulrich Drepper <drepper@gmail.com>
24735
bb016596
UD
24736 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24737 __set_errno.
8e58439c
UD
24738 * malloc/hooks.c: Likewise.
24739
aebae053 24740 [BZ #11929]
02d46fc4
UD
24741 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24742 variables statically.
24743 (narenas): Initialize.
24744 (list_lock): Initialize.
bb016596
UD
24745 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24746 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24747 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24748 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24749 Add initializers to main_arena and mp_.
24750 (malloc_state): Remove pagesize member. Change all users to use
24751 GLRO(dl_pagesize).
24752
24753 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24754 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24755 is always initialized.
24756
22a89187
UD
24757 * malloc/malloc.c: Removed unused configurations and dead code.
24758 * malloc/arena.c: Likewise.
24759 * malloc/hooks.c: Likewise.
02d46fc4 24760 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24761
d063d164
UD
24762 * include/tls.h: Removed. USE___THREAD must always be defined.
24763 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24764 * elf/dl-libc.c: Likewise.
24765 * elf/dl-tsd.c: Likewise.
24766 * include/errno.h: Likewise.
24767 * include/netdb.h: Likewise.
24768 * include/resolv.h: Likewise.
24769 * inet/herrno-loc.c: Likewise.
24770 * inet/herrno.c: Likewise.
24771 * malloc/arena.c: Likewise.
24772 * malloc/hooks.c: Likewise.
24773 * malloc/malloc.c: Likewise.
24774 * resolv/res-state.c: Likewise.
24775 * resolv/res_libc.c: Likewise.
24776 * sysdeps/i386/dl-machine.h: Likewise.
24777 * sysdeps/ia64/dl-machine.h: Likewise.
24778 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24779 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24780 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24781 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24782 * sysdeps/sh/dl-machine.h: Likewise.
24783 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24784 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24785 * sysdeps/unix/i386/sysdep.S: Likewise.
24786 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24787 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24788 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24789 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24791 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24792 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24794 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24796 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24797 * sysdeps/x86_64/dl-machine.h: Likewise.
24798 * tls.make.c: Likewise.
24799
3ce1f295
UD
24800 * configure.in: Remove --with-__thread option. Make tests for
24801 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24802 tls_model attribute fail if no support is available. Remove
24803 USE_IN_LIBIO.
24804 * Makeconfig: Adjust for dropped configure option. All features are
24805 now mandatory.
24806 * Makerules: Likewise.
24807 * Versions.def: Likewise.
24808 * argp/argp-fmtstream.c: Likewise.
24809 * argp/argp-fmtstream.h: Likewise.
24810 * argp/argp-help.c: Likewise.
24811 * assert/assert.c: Likewise.
24812 * config.h.in: Likewise.
24813 * config.make.in: Likewise.
24814 * configure: Likewise.
24815 * configure.in: Likewise.
24816 * csu/Versions: Likewise.
24817 * csu/init.c: Likewise.
24818 * elf/tst-audit2.c: Likewise.
24819 * elf/tst-tls10.c: Likewise.
24820 * elf/tst-tls10.h: Likewise.
24821 * elf/tst-tls11.c: Likewise.
24822 * elf/tst-tls12.c: Likewise.
24823 * elf/tst-tls14.c: Likewise.
24824 * elf/tst-tlsmod11.c: Likewise.
24825 * elf/tst-tlsmod12.c: Likewise.
24826 * elf/tst-tlsmod13.c: Likewise.
24827 * elf/tst-tlsmod13a.c: Likewise.
24828 * elf/tst-tlsmod14a.c: Likewise.
24829 * elf/tst-tlsmod15b.c: Likewise.
24830 * elf/tst-tlsmod16a.c: Likewise.
24831 * elf/tst-tlsmod16b.c: Likewise.
24832 * elf/tst-tlsmod7.c: Likewise.
24833 * elf/tst-tlsmod8.c: Likewise.
24834 * elf/tst-tlsmod9.c: Likewise.
24835 * gmon/gmon.c: Likewise.
24836 * grp/fgetgrent_r.c: Likewise.
24837 * grp/putgrent.c: Likewise.
24838 * hurd/fopenport.c: Likewise.
24839 * include/libc-symbols.h: Likewise.
24840 * include/tls.h: Likewise.
24841 * intl/gettextP.h: Likewise.
24842 * intl/loadinfo.h: Likewise.
24843 * locale/global-locale.c: Likewise.
24844 * locale/localeinfo.h: Likewise.
24845 * mach/devstream.c: Likewise.
24846 * malloc/arena.c: Likewise.
24847 * malloc/set-freeres.c: Likewise.
24848 * misc/err.c: Likewise.
24849 * misc/getttyent.c: Likewise.
24850 * misc/mntent_r.c: Likewise.
24851 * posix/getopt.c: Likewise.
24852 * posix/wordexp.c: Likewise.
24853 * pwd/fgetpwent_r.c: Likewise.
24854 * resolv/Versions: Likewise.
24855 * resolv/res_hconf.c: Likewise.
24856 * shadow/fgetspent_r.c: Likewise.
24857 * shadow/putspent.c: Likewise.
24858 * stdio-common/printf_fphex.c: Likewise.
24859 * stdio-common/tmpfile.c: Likewise.
24860 * stdlib/abort.c: Likewise.
24861 * stdlib/fmtmsg.c: Likewise.
24862 * sunrpc/auth_unix.c: Likewise.
24863 * sunrpc/clnt_perr.c: Likewise.
24864 * sunrpc/clnt_tcp.c: Likewise.
24865 * sunrpc/clnt_udp.c: Likewise.
24866 * sunrpc/clnt_unix.c: Likewise.
24867 * sunrpc/openchild.c: Likewise.
24868 * sunrpc/svc_simple.c: Likewise.
24869 * sunrpc/svc_tcp.c: Likewise.
24870 * sunrpc/svc_udp.c: Likewise.
24871 * sunrpc/svc_unix.c: Likewise.
24872 * sunrpc/xdr.c: Likewise.
24873 * sunrpc/xdr_array.c: Likewise.
24874 * sunrpc/xdr_rec.c: Likewise.
24875 * sunrpc/xdr_ref.c: Likewise.
24876 * sunrpc/xdr_stdio.c: Likewise.
24877
1248c1c4
PB
248782011-09-09 Ulrich Drepper <drepper@gmail.com>
24879
24880 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24881
248822011-07-03 Andreas Jaeger <aj@suse.de>
24883
24884 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24885 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24886 regenerate with gen-libm-tests.pl.
24887
248882010-05-12 Petr Baudis <pasky@suse.cz>
24889
24890 [BZ #11589]
24891 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24892 around j0() zero points by switching to j1().
24893 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24895 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24896 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24897
f22e1074
UD
248982011-09-09 Ulrich Drepper <drepper@gmail.com>
24899
f19009c1
UD
24900 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24901 instead of 0.
24902 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24903 instead of 0.
f19009c1
UD
24904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24905 Patch in part by Pavel Roskin <proski@gnu.org>.
24906
3f8cc204
UD
24907 [BZ #13138]
24908 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24909 realloc.
24910 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24911 Free memory block if necessary.
24912
f22e1074
UD
24913 [BZ #12847]
24914 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24915 be NULL. Don't lock in this case.
24916
0a2349f9
RM
249172011-09-09 Roland McGrath <roland@hack.frob.com>
24918
24919 * elf/elf.h (ELFOSABI_GNU): New macro.
24920 (ELFOSABI_LINUX): Define to that.
24921
f3cdd467
DZ
249222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24923
24924 * string/strncat.c (strncat): Undef the symbol in case it has been
24925 defined in bits/string.h.
24926
74718d13
UD
249272011-09-09 Ulrich Drepper <drepper@gmail.com>
24928
633e9e0f
UD
24929 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24930
0a2349f9 24931 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24932 link map.
24933
f9924780
AJ
249342011-08-17 Andreas Jaeger <aj@suse.de>
24935
24936 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24937
7f5517aa
PP
249382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24939 Ian Lance Taylor <iant@google.com>
24940
24941 * math/libm-test.inc (lround_test): New testcase.
24942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24943
762011fe
UD
249442011-09-08 Ulrich Drepper <drepper@gmail.com>
24945
92963737
UD
24946 * Makefile: Remove support for automatic cvs check-ins.
24947 * Makerules: Likewise.
24948 * config.make.in: Likewise.
24949 * configure.in: Likewise.
24950 * intl/Makefile: Likewise.
24951 * locale/Makefile: Likewise.
24952 * po/Makefile: Likewise.
24953 * posix/Makefile: Likewise.
24954 * sysdeps/gnu/Makefile: Likewise.
24955 * sysdeps/mach/hurd/Makefile: Likewise.
24956 * sysdeps/sparc/sparc32/Makefile: Likewise.
24957
b0727fd8
JS
24958 [BZ #13118]
24959 * posix/Makefile (bug-regex32-ENV): Define.
24960 Patch by John Stanley <jpsinthemix@verizon.net>.
24961
a0f33f99
UD
24962 * misc/Makefile (headers): Add bits/select2.h.
24963 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24964 * misc/bits/select2.h: New file.
24965 * include/bits/select2.h: New file.
24966 * debug/Makefile (routines): Add fdelt_chk.
24967 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24968 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24969 FD_ISSET.
24970 * debug/fdelt_chk.c: New file.
24971
762011fe
UD
24972 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24973 * wcsmbs/test-wmemcmp.c: Likewise.
24974 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24975 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24976
249772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24978
24979 * string/Makefile (strop-tests): Add memcmp.
24980 * string/test-wmemcmp.c: New file.
24981 * string/test-memcmp.c: Add wmemcmp support.
24982
7f513ec8
RM
249832011-09-08 Roland McGrath <roland@hack.frob.com>
24984
0442afb4
RM
24985 [BZ #13153]
24986 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24987 2011-07-19 change.
24988
7f513ec8
RM
24989 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24990 garbage value in a __mach_port_mod_refs call in the cases of the
24991 task-self and thread-self ports.
24992
a12b2239
ST
249932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24994
24995 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24996
610f9ab4
AS
249972011-09-08 Andreas Schwab <schwab@redhat.com>
24998
7f513ec8 24999 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 25000
48882a1a
LD
250012011-09-07 Ulrich Drepper <drepper@gmail.com>
25002
b49865be
UD
25003 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25004
fdc86bc9
UD
25005 * elf/dl-libc.c (dlerror_run): Pass back error code from
25006 dl_catch_error.
25007
c966526a
UD
25008 [BZ #13123]
25009 * elf/dl-load.c (lose): Free l_origin if it is valid.
25010
48882a1a
LD
25011 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25012 names.
25013 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25014 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25015 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25016 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25017 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25018 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25019
77a2a8b4
AZ
250202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25021
25022 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25023 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25024 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25025 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25026 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25027 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25028 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25029 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25030 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25031 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25032
24f579d8
AM
250332011-08-15 Alan Modra <amodra@gmail.com>
25034
25035 [BZ #13092]
25036 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25037 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25038 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25039 ppc_mcount to static-only-routines.
25040 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25041 __mcount_internal.
25042 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25043 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25044
3d4837df
UD
250452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25046
25047 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25048 for finite and infinity parameters.
25049
22700377
WS
250502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25051
25052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25053 and add nop instructions for throughput optimization.
25054 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25055
5025581e
WS
250562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25057
25058 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25059 aligned copy for power7 with vector-scalar instructions.
25060 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25061
08a300c9
L
250622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25063
25064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25065 AVX check.
25066
59178ef9
AS
250672011-09-07 Andreas Schwab <schwab@redhat.com>
25068
25069 [BZ #13144]
25070 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25071 last change.
25072
e38ba7ab
UD
250732011-09-07 Ulrich Drepper <drepper@gmail.com>
25074
25075 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25076 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25077 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25078 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25079 clock_gettime.
25080
d53a73ac
UD
250812011-09-06 Ulrich Drepper <drepper@gmail.com>
25082
fc8bffcc
UD
25083 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25084 Forgot to demangle the pointer.
25085
ceaa0c5d
UD
25086 * sysdeps/i386/sysdep.h: Define atom_text_section.
25087 * sysdeps/x86_64/sysdep.h: Likewise.
25088 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25089 section with atom_text_section.
25090 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25091 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25092 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25094 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25095
a77d3c17
UD
25096 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25097 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25098 already be defined. Change to take two parameters and don't assign
25099 result to variable. Adjust all users.
25100 Define INTERNAL_GETTIME if not already defined.
25101 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25102 call.
25103 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25104 HAVE_CLOCK_GETTIME_VSYSCALL.
25105 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25106
d53a73ac
UD
25107 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25108 gettimeofday vsyscall, just use time.
25109
a8f84144
AS
251102011-09-06 Andreas Schwab <schwab@redhat.com>
25111
25112 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25113 <errno.h>.
25114
ef606249
UD
251152011-09-06 Ulrich Drepper <drepper@gmail.com>
25116
25117 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25118 syscall on x86-64.
25119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25120 syscall.
25121 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25122 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25123 syscall if possible.
25124
6585cb60
UD
251252011-09-05 Ulrich Drepper <drepper@gmail.com>
25126
25127 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25128 e_ident. Don't pass to find_mapsXX.
25129 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25130
a5f524e4
LD
251312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25132
25133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25134 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25135 * sysdeps/x86_64/multiarch/strchr.S: Update.
25136 Check bit_slow_BSF bit.
25137 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25138 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25139 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25140
554881ef
UD
251412011-09-05 Ulrich Drepper <drepper@gmail.com>
25142
d96de963
UD
25143 [BZ #13134]
25144 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25145 before glibc 2.15.
25146 (tryshell): Define.
25147 (__spawni): Change last parameter to be flag. Test
25148 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25149 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25150 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25151 * posix/spawni.c: Likewise.
25152 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25153 * posix/spawnp.c: Likewise. Change normal version to use
25154 SPAWN_XFLAGS_USE_PATH.
25155 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25156 SPAWN_XFLAGS_TRY_SHELL.
25157
d48e5868
UD
25158 [BZ #13150]
25159 * posix/glob.h: Remove gcc 1.x support.
25160
554881ef
UD
25161 [BZ #13068]
25162 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25163
693fb948
LD
251642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25165
25166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25167 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25168 strrchr-sse2-bsf
25169 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25170 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25171 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25172 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25173 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25174 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25175
1b48c537
UD
251762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25177
49d42c37
UD
25178 * sysdeps/x86_64/wcscmp.S: New file.
25179
1b48c537
UD
25180 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25181 wcscmp-c wcscmp-sse2
25182 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25183 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25184 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25185 * wcsmbs/wcscmp.c: Allow renaming.
25186
15c95c5d
DM
251872011-09-05 David S. Miller <davem@davemloft.net>
25188
25189 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25190 stack slot, rather than the struct return pointer slot.
25191 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25192 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25194 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25195
2f0ad8f3
UD
251962011-09-05 Ulrich Drepper <drepper@gmail.com>
25197
d88ae418
UD
25198 * po/ja.po: Update from translation team.
25199
2f0ad8f3
UD
25200 [BZ #13144]
25201 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25202 kernel in 64-bit binaries.
25203
5f4318d1
DM
252042011-09-01 David S. Miller <davem@davemloft.net>
25205
25206 * elf/elf.h (HWCAP_SPARC_*): Move to..
25207 * sysdeps/sparc/sysdep.h: this new file and add new values.
25208 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25209 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25210 _DL_HWCAP_COUNT to 24.
25211 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25212 entries.
25213 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25214 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25215 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25217 instead of magic constants.
25218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25219
3ba57516
DM
252202011-08-31 David S. Miller <davem@davemloft.net>
25221
25222 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25224 Reimplement to do errno handling inline.
25225 (SYSCALL_ERROR_HANDLER): New macro.
25226 (__SYSCALL_STRING): Do not do errno handling in asm.
25227 (__CLONE_SYSCALL_STRING): Delete.
25228 (__INTERNAL_SYSCALL_STRING): Delete.
25229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25230 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25231 (PSEUDO): Reimplement to do errno handling inline.
25232 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25233 (SYSCALL_ERROR_HANDLER): New macro.
25234 (__SYSCALL_STRING): Do not do errno handling in asm.
25235 (__CLONE_SYSCALL_STRING): Delete.
25236 (__INTERNAL_SYSCALL_STRING): Delete.
25237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25238 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25239 i386.
25240 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25241 (inline_syscall*): Add 'err' argument.
25242 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25243 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25244 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25245 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25246
25247 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25248 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25249
2bc17433
AS
252502011-08-30 Andreas Schwab <schwab@redhat.com>
25251
25252 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25253
fbeb5f4d
JO
252542011-08-29 Jiri Olsa <jolsa@redhat.com>
25255
25256 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25257 directive.
25258
ad69cc26
DM
252592011-08-24 David S. Miller <davem@davemloft.net>
25260
25261 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25262
39dd69df
AS
252632011-08-24 Andreas Schwab <schwab@redhat.com>
25264
25265 * elf/Makefile: Add rules to build and run unload8 test.
25266 * elf/unload8.c: New file.
25267 * elf/unload8mod1.c: New file.
25268 * elf/unload8mod1x.c: New file.
25269 * elf/unload8mod2.c: New file.
25270 * elf/unload8mod3.c: New file.
25271
25272 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25273 it wasn't used.
25274
2c0b250a
DM
252752011-08-23 David S. Miller <davem@davemloft.net>
25276
25277 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25278 subtract stack bias.
25279 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25280 %sp not %fp in calculations.
25281 (_JMPBUF_UNWINDS_ADJ): Likewise.
25282
22044b48
DM
25283 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25284 (aio_suspend): Call it to force an exception region around the
25285 AIO_MISC_WAIT() invocation.
25286
2cae4995
AS
252872011-08-23 Andreas Schwab <schwab@redhat.com>
25288
25289 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25290 backslash.
25291
873a772e
AJ
252922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25293
25294 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25295 protection macro.
25296 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25297 and <dl-machine.h>.
25298 (Elf64_FuncDesc): Remove.
25299
25ad0df1
DM
253002011-08-22 David S. Miller <davem@davemloft.net>
25301
25302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25303 sigaltstack check, add missing cfi directives.
25304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25305 missing cfi directives, and sigaltstack handling.
25306
e888bcbe
AS
253072011-08-16 Andreas Schwab <schwab@redhat.com>
25308
25309 [BZ #11724]
25310 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25311 object is seen twice.
25312 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25313
25314 * elf/Makefile (distribute): Add tst-initorder2.c.
25315 (tests): Add tst-initorder2.
25316 (modules-names): Add tst-initorder2a tst-initorder2b
25317 tst-initorder2c tst-initorder2d. Add rules to build them.
25318 ($(objpfx)tst-initorder2.out): New rule.
25319 * elf/tst-initorder2.c: New file.
25320 * elf/tst-initorder2.exp: New file.
25321
87162f46
AS
253222011-08-22 Andreas Schwab <schwab@redhat.com>
25323
70538b7f
AS
25324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25325
f55ffe58
AS
25326 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25327 dependencies back to end of function.
25328
87162f46
AS
25329 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25330 $(elfobjdir)/ld.so.
25331
91b392a4
UD
253322011-08-21 Ulrich Drepper <drepper@gmail.com>
25333
25334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25335 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25337 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25338 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25339 of __vdso_gettimeofday.
25340 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25341 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25342 attribute_hidden.
25343 (_libc_vdso_platform_setup): Remove initialization of
25344 __vdso_gettimeofday and __vdso_time.
25345
5c43483f
UD
253462011-08-20 Ulrich Drepper <drepper@gmail.com>
25347
775a77e7
UD
25348 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25349 and fgetc_unlocked.
25350 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25351 getc_unlocked.
89f447ed 25352
49c74ba9
UD
25353 * elf/dl-open.c (add_to_global): Report additions to the global scope
25354 for LD_DEBUG=scopes.
25355 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25356 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25357
5c43483f
UD
25358 [BZ #13114]
25359 * stdio-common/Makefile (tests): Add bug24.
25360 * stdio-common/bug24.c: New file.
25361
a101b025
AJ
253622011-08-19 Andreas Jaeger <aj@suse.de>
25363
25364 [BZ #13114]
25365 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25366 non-existant file when using close-on-exec mode.
25367
c88f1766
UD
253682011-08-20 Ulrich Drepper <drepper@gmail.com>
25369
0276a718
UD
25370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25371 the very first instruction.
25372
c88f1766
UD
25373 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25374 the CFI state in the end.
25375 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25376 inclusion of dl-trampoline.h.
25377 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25378
51ccffa0
AS
253792011-08-19 Andreas Schwab <schwab@redhat.com>
25380
94d7165f
AS
25381 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25382 expectations for long double.
25383
51ccffa0
AS
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25385 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25386
fd708658 253872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25388
25389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25390 artificual limit depends upon the system page size.
25391
44f0a71e
UD
253922011-08-17 Ulrich Drepper <drepper@gmail.com>
25393
25394 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25395 * resolv/Makefile: Define CFLAGS-libresolv.
25396
8de79a24
AS
253972011-08-17 Andreas Schwab <schwab@redhat.com>
25398
25399 * nss/makedb.c (compute_tables): Make variables used in nested
25400 function static.
25401
27724598
UD
254022011-08-17 Ulrich Drepper <drepper@gmail.com>
25403
c5305d88
UD
25404 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25405 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25406 if buffer was too small.
25407
27724598
UD
25408 * elf/pldd.c (main): Attach to all threads in the process.
25409 Rewrite /proc handling to use *at functions.
25410
076fe015
UD
254112011-08-16 Ulrich Drepper <drepper@gmail.com>
25412
174baab3
UD
25413 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25414 specifies first scope to show.
25415 (dl_open_worker): Update callers. Move printing scope of new
25416 object to before the relocation.
44f0a71e 25417 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25418 * sysdeps/generic/ldsodefs.h: Update declaration.
25419
076fe015
UD
25420 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25421 string for the scope number.
25422
a60df2c3
UD
254232011-08-14 Ulrich Drepper <drepper@gmail.com>
25424
25425 * nscd/servicescache.c (cache_addserv): Make sure written is always
25426 initialized.
25427
5e4287d1
RM
254282011-08-14 Roland McGrath <roland@hack.frob.com>
25429
85ae0589
RM
25430 * sysdeps/i386/i486/bits/atomic.h
25431 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25432 statement expression, so as to suppress "set but not used" warning.
25433 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25434
69f63097
RM
25435 * string/strncat.c (STRNCAT): Use prototype definition.
25436
675456ef
RM
25437 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25438 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25439 -Iprograms here.
25440 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25441 (localedef-modules): Add localedef.
25442 (locale-modules): Add locale.
25443
5e4287d1
RM
25444 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25445 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25446 to avoid a warning.
25447
9c96ff23
DM
254482011-08-14 David S. Miller <davem@davemloft.net>
25449
25450 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25451 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25452
f9ddf089
UD
254532011-08-13 Ulrich Drepper <drepper@gmail.com>
25454
44f0a71e 25455 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25456 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25457 * elf/rtld.c (dl_main): Set l_name of vDSO.
25458 Call _dl_show_scope when DL_DEBUG_SCOPES.
25459 (process_dl_debug): Recognize scopes flag and also set it for all.
25460 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25461 Declare _dl_show_scope.
25462
1dc27704
UD
25463 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25464 (do_dlopen): Pass caller_dlopen to dl_open.
25465 (__libc_dlopen_mode): Initialize caller_dlopen.
25466
f9ddf089
UD
25467 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25468 of libc. Make tolower call locale-independent. Optimize a bit by
25469 using isdigit instead of isalnum.
25470 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25471
9ac533d3
UD
254722011-08-12 Ulrich Drepper <drepper@gmail.com>
25473
25474 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25475 was a dependency or dynamically loaded.
25476
89edf2e9
UD
254772011-08-11 Ulrich Drepper <drepper@gmail.com>
25478
8e999d29
UD
25479 * intl/l10nflist.c: Allow architecture-specific pop function.
25480 * sysdeps/x86_64/l10nflist.c: New file.
25481
89edf2e9
UD
25482 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25483 classification.
25484
14d96785
AS
254852011-08-10 Andreas Schwab <schwab@redhat.com>
25486
25487 * include/dirent.h: Add libc_hidden_proto for scandirat and
25488 scandirat64. Don't declare __scandirat64.
25489 * dirent/scandirat.c: Add libc_hidden_def.
25490 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25491 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25492
6761ac04
DM
254932011-08-10 David S. Miller <davem@davemloft.net>
25494
25495 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25496 enum.
25497 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25498 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25499 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25500
c55fbd1e
UD
255012011-08-09 Ulrich Drepper <drepper@gmail.com>
25502
25503 * Versions.def [libc]: Add GLIBC_2.15.
25504 * dirent/Makefile (routines): Add scandirat and scandirat64.
25505 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25506 GLIBC_2.15.
25507 * dirent/dirent.h: Declare scandirat and scandirat64.
25508 * dirent/scandirat.c: New file.
25509 * dirent/scandirat64.c: New file.
25510 * sysdeps/wordsize-64/scandirat.c: New file.
25511 * sysdeps/wordsize-64/scandirat64.c: New file.
25512 * dirent/opendir.c: Define opendirat.
25513 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25514 using scandirat.
25515 * dirent/scandir64.c: Adjust for scandir.c change.
25516 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25517 __scandirat64, and __scandir_cancel_handler.
25518 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25519 additional parameter and use openat instead of open (outside of ld.so).
25520 Add new __opendir as wrapper around __opendirat.
25521 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25522 here without requiring old scandirat implementation.
25523
879165f2
UD
255242011-08-08 Ulrich Drepper <drepper@gmail.com>
25525
25526 * dirent/scandir.c (cancel_handler): Renamed to
25527 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25528 defined. Adjust users.
25529 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25530 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25531
cb7e923b
UD
255322011-08-04 Ulrich Drepper <drepper@gmail.com>
25533
16292edd
UD
25534 * string/test-string.h (IMPL): Use __STRING to expand name and then
25535 stringify it.
25536
cb7e923b
UD
25537 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25538 of cleanups.
25539
cff82933
LD
255402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25541
25542 * string/Makefile: Update.
25543 (strop-tests): Append strncat.
25544 * string/test-wcscmp.c: New file.
25545 New comprehensive test for wcscmp.
25546 * string/test-strcmp.c: Update.
25547 (WIDE): New define.
25548
9be9bfcc
AS
255492011-07-22 Andreas Schwab <schwab@redhat.com>
25550
25551 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25552 line.
25553
2e96f1c7
AS
255542011-07-26 Andreas Schwab <schwab@redhat.com>
25555
25556 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25557 encoding to ACE if AI_IDN.
25558
85188888
JJ
255592011-08-01 Jakub Jelinek <jakub@redhat.com>
25560
25561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25562 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25563
5fa16e9b
LD
255642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25565
25566 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25567 Fix overflow bug in strncat.
25568 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25569
25570 * string/test-strncat.c: Update.
25571 Add new tests for checking overflow bugs.
25572
255732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25574
25575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25576 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25577 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25578 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25579 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25580 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25581 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25582 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25583 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25584
25585 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25586 (USE_AS_STRCAT): Define.
25587 Add strcat and strncat support.
25588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25589
8c1a459f
AS
255902011-07-25 Andreas Schwab <schwab@redhat.com>
25591
25592 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25593 __n bigger than INT_MAX+1.
25594 (__strncmp_g): Likewise.
25595
bba33c28
UD
255962011-07-23 Ulrich Drepper <drepper@gmail.com>
25597
798be72d
UD
25598 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25599 * libio/stido.h: Likewise.
25600
8accd4dc
UD
25601 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25602 (AF_NFC): Define.
25603 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25604 (AF_NFC): Define.
25605
cbff0d96
UD
25606 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25607 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25608 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25609 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25610 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25611
9191c04a
UD
25612 [BZ #13021]
25613 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25614 installed.
25615
bba33c28
UD
25616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25617 typo.
25618 (_dl_x86_64_save_sse): Likewise.
25619
90f139dd
UD
256202011-07-22 Ulrich Drepper <drepper@gmail.com>
25621
1aae088a
UD
25622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25623 OSXSAVE.
25624 (_dl_x86_64_save_sse): Likewise.
25625
8e2045f5
UD
25626 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25627
90f139dd
UD
25628 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25629
1d002f25
AS
256302011-07-21 Andreas Schwab <schwab@redhat.com>
25631
25632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25633 change.
25634 (_dl_x86_64_save_sse): Use correct AVX check.
25635
21137f89
UD
256362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25637
25638 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25639 bug in strncpy/strncat.
25640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25641
a65c0b7a
UD
256422011-07-21 Ulrich Drepper <drepper@gmail.com>
25643
25644 * string/tester.c (test_strcat): Add tests for different alignments
25645 of source and destination.
25646 (test_strncat): Likewise.
25647
6986b98a
UD
256482011-07-20 Ulrich Drepper <drepper@gmail.com>
25649
90bb2039
UD
25650 [BZ #12852]
25651 * posix/glob.c (glob): Check passed in values before using them in
25652 expressions to avoid some overflows.
25653 (glob_in_dir): Likewise.
25654
5644ef54
UD
25655 [BZ #13007]
25656 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25657 check for AVX enablement so that we don't crash with old kernels and
25658 new hardware.
25659 * elf/tst-audit4.c: Add same checks here.
25660 * elf/tst-audit6.c: Likewise.
25661
25662 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25663
bfc9dc9b
AS
256642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25665
25666 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25667
702e64bb
UD
256682011-07-20 Ulrich Drepper <drepper@gmail.com>
25669
25670 * po/cs.po: Update from translation team.
25671 * po/bg.po: Likewise.
25672
295e904f
MP
256732011-07-12 Marek Polacek <mpolacek@redhat.com>
25674
25675 * misc/sys/cdefs.h: Add support for const attribute.
25676 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25677 to gnu_dev_{major,minor,makedev} functions.
25678
3ff94596
MP
256792011-07-20 Marek Polacek <mpolacek@redhat.com>
25680
25681 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25682
28b59fca
AS
256832011-07-20 Andreas Schwab <schwab@redhat.com>
25684
25685 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25686 strlen results.
25687
19df733e
AK
256882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25689
25690 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25691 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25692 register in order to avoid conflicts with the soft frame pointer
25693 being held in r11 when necessary.
25694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25695 (INTERNAL_VSYSCALL_NCS): Likewise.
25696
c8835729
MP
256972011-07-14 Marek Polacek <mpolacek@redhat.com>
25698
25699 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25700 * elf/dl-fini.c (_dl_fini): Adjust caller.
25701 * elf/dl-close.c (_dl_close_worker): Likewise.
25702 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25703
b902330c
MP
257042011-07-15 Marek Polacek <mpolacek@redhat.com>
25705
8991e135
MP
25706 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25707 "aux_cache->nlibs < 0".
25708
b902330c
MP
25709 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25710 in the reload-count case.
25711
99710781
LD
257122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25713
25714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25715 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25716 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25717 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25718 * sysdeps/x86_64/multiarch/strcat.S: New file.
25719 * sysdeps/x86_64/multiarch/strncat.S: New file.
25720 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25721 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25722 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25723 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25724 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25725 (USE_AS_STRCAT): Define.
25726 Add strcat and strncat support.
25727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25728 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25729 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25730 * string/strncat.c: Update.
25731 (USE_AS_STRNCAT): Define.
25732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25733 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25734 and i7.
25735 * sysdeps/x86_64/multiarch/init-arch.h
25736 (bit_Prefer_PMINUB_for_stringop): New.
25737 (index_Prefer_PMINUB_for_stringop): Likewise.
25738 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25739 bit_Prefer_PMINUB_for_stringop.
25740
7dc6bd90
UD
257412011-07-19 Ulrich Drepper <drepper@gmail.com>
25742
25743 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25744 buffer64.
25745 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25746 of casting of buffer.
25747 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25748 buffer32 and buffer64.
25749 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25750 writes instead of casting of buffer.
25751 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25752 buffer32.
25753 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25754 casting of buffer.
25755
e0e72284
AS
257562011-07-19 Andreas Schwab <schwab@redhat.com>
25757
25758 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25759
feb1eb0b
UD
257602011-07-19 Ulrich Drepper <drepper@gmail.com>
25761
25762 * nscd/nscd.c (termination_handler): Don't do anything for a database
25763 if it has not yet been initialized.
25764
298711ff
UD
257652011-07-18 Ulrich Drepper <drepper@gmail.com>
25766
25767 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25768
257692011-07-15 Marek Polacek <mpolacek@redhat.com>
25770
25771 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25772
f9d68389
UD
257732011-07-18 Ulrich Drepper <drepper@gmail.com>
25774
25775 * po/nl.po: Update from translation team.
25776 * po/sv.po: Likewise.
25777
db290cf5
RM
257782011-07-16 Roland McGrath <roland@hack.frob.com>
25779
25780 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25781 now disallowed by GCC.
5c550700 25782
fd5e21c7
RM
25783 * configure.in (use-default-link): Default to yes if a test -shared
25784 link meets our qualifications.
25785 * configure: Regenerated.
25786
5c550700
RM
25787 * config.make.in (output-format): New variable.
25788 * configure.in: Check for ld --print-output-format support.
25789 * configure: Regenerated.
25790 * Makerules ($(common-objpfx)format.lds)
25791 [$(output-format) != unknown]: Just use $(output-format),
25792 instead of the linker-script munging.
25793
9fa2c032
RM
257942011-07-14 Roland McGrath <roland@hack.frob.com>
25795
a6928d51
RM
25796 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25797 of $(common-objpfx)shlib.lds.
25798 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25799
661607b3
RM
25800 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25801 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25802
9fa2c032
RM
25803 * configure.in (-z relro check): Adjust test code to add a large
25804 writable data section after it.
25805 * configure: Regenerated.
25806
defe9061
RM
258072011-07-11 Roland McGrath <roland@hack.frob.com>
25808
25809 * configure.in (-z relro check): Fix test code to make the variable
25810 truly const.
25811 * configure: Regenerated.
25812
319b9ad4
UD
258132011-07-11 Ulrich Drepper <drepper@gmail.com>
25814
25815 * nscd/nscd.h (struct traced_file): Define.
25816 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25817 elements. Add traced_files.
25818 (inotify_fd): Declare.
25819 (register_traced_file): Declare.
25820 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25821 (inotify_fd): Export.
25822 (resolv_conf_descr): Remove.
25823 (nscd_init): Move inotify descriptor creation to main.
25824 Don't register files for notification here.
25825 (register_traced_file): New function.
25826 (invalidate_cache): Don't use reset_res to determine whether to call
25827 res_init, go through the list of registered files.
25828 (main_loop_poll): The inotify descriptors are now stored in the
25829 structures for the traced files.
25830 (main_loop_epoll): Likewise
25831 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25832 to __nss_disable_nscd.
25833 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25834 for a database anymore. Check the records for all the registered
25835 files instead.
25836 * nss/Makefile (libnss_files-routines): Add files-init.
25837 (libnss_db-routines): Add db-init.
25838 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25839 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25840 * nss/nss_db/db-init.c: New file.
25841 * nss/nss_files/files-init.c: New file.
25842 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25843 __nss_lookup_function.
25844 (__nss_lookup_function): Call nss_load_library.
25845 (nss_load_all_libraries): New function.
25846 (__nss_disable_nscd): Take parameter with callback function for files
25847 to register. Set is_nscd. Load all the DSOs for the NSS modules
25848 used for the cached services.
25849 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25850 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25851 options for features to all the files in nscd.
25852
25853 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25854
23bee3e8
RM
258552011-07-10 Roland McGrath <roland@hack.frob.com>
25856
25857 * csu/elf-init.c (__libc_csu_init): Comment typo.
25858
46a5b7f0
UD
258592011-07-09 Ulrich Drepper <drepper@gmail.com>
25860
25861 * po/pl.po: Update from translation team.
25862 * po/ja.po: Likewise.
25863 * po/ru.po: Likewise.
25864 * po/ko.po: Likewise.
25865 * po/fr.po: Likewise.
25866
d30cf5bb
RM
258672011-07-09 Roland McGrath <roland@hack.frob.com>
25868
113ddea4
RM
25869 * configure.in (.ctors/.dtors header and trailer check):
25870 Use an empirical test on a built program.
25871 * configure: Regenerated.
25872
574920b4
RM
25873 * configure.in (-z relro check): Use an empirical test on a built DSO.
25874 Detect, but do not require, on ia64.
25875 * configure: Regenerated.
25876
d30cf5bb
RM
25877 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25878 Update tests that use readelf to use $READELF instead.
25879 * configure: Regenerated.
25880
8538fdb3
UD
258812011-07-08 Ulrich Drepper <drepper@gmail.com>
25882
25883 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25884 if the result is not used.
25885
04d08991
AJ
258862011-07-05 Andreas Jaeger <aj@suse.de>
25887
25888 [BZ#9696]
25889 * stdlib/tst-strtod.c: Add testcase.
25890
de283087
AD
258912011-07-07 Ulrich Drepper <drepper@gmail.com>
25892
4e5f31c8 25893 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25894 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25895 The latter has a higher limit. Take additional parameter to pass to
25896 the new function.
25897 (__pathconf): Pass file to __statfs_link_max.
25898 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25899 __statfs_link_max.
25900 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25901 __statfs_link_max.
25902
de283087
AD
25903 [BZ #12868]
25904 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25905 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25906 Handle Lustre.
25907 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25908 (__statfs_filesize_max): Likewise.
25909 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25910
c75fa153
AJ
259112011-07-05 Andreas Jaeger <aj@suse.de>
25912
25913 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25914
1a544854
UD
259152011-07-06 Marek Polacek <mpolacek@redhat.com>
25916
25917 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25918 `status' variable.
25919 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25920 Likewise.
25921
6f0eec67
UD
259222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25923
25924 * Makefile (strop-tests): Add strncat.
25925 * string/test-strncat.c: New file.
25926
aae30307
UD
259272011-06-30 Marek Polacek <mpolacek@redhat.com>
25928
25929 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25930
c0cfb5eb
UD
259312011-06-21 Andreas Jaeger <aj@suse.de>
25932
25933 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25934 Copy rule from iconvdata/Makefile.
25935
01636b21
UD
259362011-07-06 Ulrich Drepper <drepper@gmail.com>
25937
25938 [BZ #12922]
25939 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25940 but no long options are defined, just return 'W'.
25941
9895c8bc
UD
259422011-06-22 Marek Polacek <mpolacek@redhat.com>
25943
25944 [BZ #9696]
25945 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25946
5d4cf042
UD
259472011-07-06 Ulrich Drepper <drepper@gmail.com>
25948
25949 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25950 netgroups to read.
960e5535 25951 (innetgr): Likewise.
5d4cf042 25952
751eb97e
RM
259532011-07-05 Roland McGrath <roland@hack.frob.com>
25954
25955 * config.make.in (install_root): Default to $(DESTDIR).
25956
f15f1e45
UD
259572011-07-05 Ulrich Drepper <drepper@gmail.com>
25958
25959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25960
4e34ac6a
RM
259612011-07-02 Roland McGrath <roland@hack.frob.com>
25962
5e9b6af4
RM
25963 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25964
84f9ea0f
RM
25965 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25966 containing directory rather than embedding absolute directory names.
25967
ea5ee9f7
RM
25968 * scripts/check-local-headers.sh: Rewritten using awk.
25969 Match by word, not by line. Print error messages for matches.
25970 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25971
1b74661a
RM
25972 * Makerules [shlib-lds-flags empty]:
25973 ($(common-objpfx)libc_pic.opts): New target.
25974 ($(common-objpfx)libc_pic.os.clean): New target.
25975 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25976
25977 * config.make.in (OBJCOPY): New variable.
25978 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25979 * configure: Regenerated.
25980
f781ef40
RM
25981 * config.make.in (use-default-link): New variable.
25982 * configure.in (use_default_link): Grok --with-default-link to set it.
25983 * configure: Regenerated.
25984 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25985 (shlib-lds, shlib-lds-flags): Define to empty.
25986
2d4fa81e
RM
25987 * Makerules (shlib-lds): New variable.
25988 (shlib-lds-flags): New variable.
25989 (build-shlib, build-moduile, build-module-asneeded): Use it.
25990 ($(common-objpfx)libc.so): Use $(shlib-lds).
25991 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25992 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25993
31fffa6b
RM
25994 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25995 DT_FLAGS/DT_FLAGS_1 with zero flags.
25996
4e34ac6a
RM
25997 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25998 linker script munging.
25999
fcfc776b
UD
260002011-07-02 Ulrich Drepper <drepper@gmail.com>
26001
26002 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26003 as 128-bit value.
26004 * crypt/sha512.c (sha512_process_block): Perform total addition using
26005 128-bit if possible.
26006 (__sha512_finish_ctx): Likewise.
26007 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26008 as 64-bit value.
26009 * crypt/sha256.c (SWAP64): Define.
26010 (sha256_process_block): Perform total addition using 64-bit if
26011 possible.
26012 (__sha256_finish_ctx): Likewise.
26013
99231d9a
UD
260142011-07-01 Ulrich Drepper <drepper@gmail.com>
26015
26016 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26017 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26018 * nscd/hstcache.c (cache_addhst): Likewise.
26019 * nscd/grpcache.c (cache_addgr): Likewise.
26020 * nscd/aicache.c (addhstaiX): Likewise
26021 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26022
445b4a53
TK
260232011-07-01 Thorsten Kukuk <kukuk@suse.de>
26024
26025 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26026 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26027 * nscd/hstcache.c (cache_addhst): Likewise.
26028 * nscd/grpcache.c (cache_addgr): Likewise.
26029 * nscd/aicache.c (addhstaiX): Likewise
26030
6d4d8e8e
AS
260312011-07-01 Andreas Schwab <schwab@redhat.com>
26032
26033 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26034 domain only when needed.
26035
89f654c5
AS
260362011-06-30 Andreas Schwab <schwab@redhat.com>
26037
26038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26039 is always restored.
26040
cf3b23ff
UD
260412011-06-29 Ulrich Drepper <drepper@gmail.com>
26042
26043 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26044 are re-adding the entry.
26045 * nscd/servicescache.c (cache_addserv): Likewise.
26046
751626f9
AJ
260472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26048
26049 * sysdeps/generic/dl-irel.h: fix protection against multiple
26050 inclusions.
26051 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26052
9113ea1f
UD
260532011-06-28 Ulrich Drepper <drepper@gmail.com>
26054
5c0b8d90
UD
26055 [BZ #12935]
26056 * malloc/memusage.sh: Fix quoting in message.
26057 * debug/xtrace.sh: Likewise.
26058
9113ea1f
UD
26059 * configure.in: Remove support for --experimental-malloc option, make
26060 it the default.
26061 * config.make.in: Likewise.
26062 * malloc/Makefile: Likewise.
26063
a4172181
AS
260642011-06-27 Andreas Schwab <schwab@redhat.com>
26065
26066 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26067 two-byte characters.
26068
78a7eee7
RM
260692011-06-27 Roland McGrath <roland@hack.frob.com>
26070
62bede13
RM
26071 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26072 AC_CACHE_CHECK invocation.
26073 * configure: Regenerated.
26074
78a7eee7
RM
26075 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26076
5ce33a62
UD
260772011-06-27 Ulrich Drepper <drepper@gmail.com>
26078
034807a9
UD
26079 [BZ #12350]
26080 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26081 bit from old_res_options.
26082
4902da17
UD
26083 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26084
5ce33a62
UD
26085 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26086 value type for setfct.
26087
c2344f56
L
260882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26089
26090 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26091 __gettimeofday instead of gettimeofday.
26092
68468076
UD
260932011-06-26 Ulrich Drepper <drepper@gmail.com>
26094
26095 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26096
acb0d739
L
260972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26098
26099 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26100
26101 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26102 info.
26103
8912479f
L
261042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26105
26106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26107 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26108 strcpy-sse2-unaligned strncpy-sse2-unaligned
26109 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26110 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26111 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26112 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26113 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26114 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26115 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26116 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26117 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26118 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26119 (STRCPY): Support SSE2 and SSSE3 versions.
26120
d5495a11
UD
261212011-06-24 Ulrich Drepper <drepper@gmail.com>
26122
26123 [BZ #12874]
26124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26125 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26126 kernels which artificially limit size of requests.
26127
0b1cbaae
L
261282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26129
26130 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26131 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26132 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26133 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26134 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26135 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26136 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26137 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26140 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26141 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26142 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26143 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26144 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26145 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26146 Enable unaligned load optimization for Intel Core i3, i5 and i7
26147 processors.
26148 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26149 Define.
26150 (index_Fast_Unaligned_Load): Define.
26151 (HAS_FAST_UNALIGNED_LOAD): Define.
26152
07f494a0
MP
261532011-06-23 Marek Polacek <mpolacek@redhat.com>
26154
26155 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26156
fa3fc0fe
UD
261572011-06-22 Ulrich Drepper <drepper@gmail.com>
26158
26159 [BZ #12907]
26160 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26161 until it is clear that the information is realy needed.
26162 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26163
e12df166
AS
261642011-06-22 Andreas Schwab <schwab@redhat.com>
26165
26166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26167
852eb34d
UD
261682011-06-22 Ulrich Drepper <drepper@gmail.com>
26169
84e2a551
UD
26170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26171 /sys/devices/system/cpu/online if it is usable.
26172
852eb34d
UD
26173 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26174 reading the information from the /proc filesystem to once a second.
26175
6e502e19
UD
261762011-06-21 Andreas Jaeger <aj@suse.de>
26177
26178 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26179 NULL after inclusion of kernel headers.
26180
75d39ff2
UD
261812011-06-21 Ulrich Drepper <drepper@gmail.com>
26182
51f9aa6a
UD
26183 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26184 calls to internal_setent.
26185
c0244a9d
UD
26186 [BZ #12885]
26187 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26188 addresses using gethostbyname4_r ignore IPv4 addresses.
26189
c5e3c2ae
UD
26190 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26191 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26192
75d39ff2
UD
26193 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26194
42675c6f
DM
261952011-06-20 David S. Miller <davem@davemloft.net>
26196
26197 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26198 inclusions.
26199 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26200
26201 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26202 (elf_irel): Use it.
26203 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26204 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26205 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26206 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26207 * sysdeps/x86_64/dl-irel.h: Likewise.
26208
26209 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26210 * elf/dl-sym.c: Likewise.
26211
57912a71
UD
262122011-06-15 Ulrich Drepper <drepper@gmail.com>
26213
26214 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26215 need to dereference resplen2.
26216
ee22793d
AS
262172011-06-14 Andreas Schwab <schwab@redhat.com>
26218
26219 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26220
a9e836b0
UD
262212011-06-15 Ulrich Drepper <drepper@gmail.com>
26222
77fb9117
UD
26223 * Makeconfig: Define vardbdir and inst_vardbdir.
26224 * nss/Makefile: Add rules to install db-Makefile.
26225
40c1b22c
UD
26226 * nss/nss_db/db-XXX.c: Cleanup.
26227
9f2da732
UD
26228 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26229 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26230 GLIBC_PRIVATE.
26231 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26232 * nss/makedb.c: Implement -g option to specify that value strings
26233 are generated and should not be added to table iterated over for
26234 get*ent calls.
26235 * nss/nss_db/db-initgroups.c: New file.
26236
82e9a1f7
UD
26237 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26238 interface.
26239
c41af17e
UD
26240 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26241 (internal_getgrouplist): Adjust to name change.
26242 Update use_initgroups_entry if this is not the first call.
26243 * nss/databases.def: Add initgroups entry.
26244
a9e836b0
UD
26245 * nss/makedb.c (compute_tables): Check result of multiple hash table
26246 sizes to minimize maximum chain length.
26247
2666d441
UD
262482011-06-14 Ulrich Drepper <drepper@gmail.com>
26249
26250 * Versions.def: Add entry for libnss_db.
26251 * shlib-versions: Likewise.
26252 * nss/Makefile: Add rules to build libnss_db.
26253 * nss/Versions: Add libnss_db information. Organize libnss_files
26254 entries better.
26255 * nss/db-Makefile: Add gshadow support. Change rules for the new
26256 makedb progra. Some minor improvements to generate smaller files.
26257 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26258 here from...
26259 * nss/makedb.c: ...here.
26260 Improve database format to be smaller and require less memory at
26261 runtime.
26262 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26263 db anymore.
26264 * nss/nss_db/db-netgrp.c: Likewise.
26265 * nss/nss_db/db-open.c: Likewise.
26266 * nss/nss_files/flies-XXX.x: Adjust comments.
26267 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26268 * nss/nss_files/files-grp.c: Likewise.
26269 * nss/nss_files/files-hosts.c: Likewise.
26270 * nss/nss_files/files-network.c: Likewise.
26271 * nss/nss_files/files-proto.c: Likewise.
26272 * nss/nss_files/files-pwd.c: Likewise.
26273 * nss/nss_files/files-rpc.c: Likewise.
26274 * nss/nss_files/files-service.c: Likewise.
26275 * nss/nss_files/files-sgrp.c: Likewise.
26276 * nss/nss_files/files-spwd.c: Likewise.
26277 * nss/nss_db/db-alias.c: Removed.
26278 * nss/nss_db/dummy-db.h: Removed.
26279
9ee76b5a
UD
262802011-06-02 Ulrich Drepper <drepper@gmail.com>
26281
26282 * nss/makedb.c: Rewritten to not use database library.
26283 * nss/Makefile: Update to build new makedb program.
26284
c71ca1f8
AJ
262852011-06-14 Andreas Jaeger <aj@suse.de>
26286
26287 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26288 memset declaration.
26289
3154bfb8
UD
262902011-06-10 Andreas Schwab <schwab@redhat.com>
26291
26292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26293 tmpbuf.
26294
b350afab
RM
262952011-06-10 Roland McGrath <roland@hack.frob.com>
26296
decd4e50
RM
26297 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26298 * elf/Makefile ($(objpfx)ld.so): Likewise.
26299
5615eaf2
RM
26300 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26301 Don't list ld.so twice in dependencies.
26302
26303 * posix/bug-regex31.c: Include <stdlib.h>.
26304
26305 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26306
26307 * nis/nss_compat/compat-spwd.c
26308 (getspent_next_nss_netgr): Remove unused variable.
26309 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26310
26311 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26312 nonmembers" output to use the right array.
26313
26314 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26315
26316 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26317
26318 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26319 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26320 * catgets/gencat.c (read_input_file): Likewise.
26321 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26322
26323 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26324 variable definition inside #if's controlling its use.
26325
26326 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26327
26328 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26329
26330 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26331
26332 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26333 unreachable code.
26334
26335 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26336
b68e08db
RM
26337 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26338 * configure: Regenerated.
26339
b350afab
RM
26340 * Makerules: Revert last change.
26341 * elf/Makefile: Likewise.
26342
28368601
RM
263432011-06-09 Roland McGrath <roland@hack.frob.com>
26344
26345 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26346 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26347 (reloc-link): Likewise.
26348
11988f8f
UD
263492011-06-09 Ulrich Drepper <drepper@gmail.com>
26350
26351 * elf/Makefile: Add rules to build pldd.
26352 * elf/pldd.c: New file.
26353 * elf/pldd-xx.c: New file.
26354
e80fab37
UD
263552011-06-07 Ulrich Drepper <drepper@gmail.com>
26356
26357 * version.h: Update for 2.15 development version.
26358
9b849836
DM
263592011-06-07 David S. Miller <davem@davemloft.net>
26360
26361 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26362 ifuncs.
26363 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26364 elf_machine_lazy_rel): Likewise.
26365 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26367 elf_machine_lazy_rel): Likewise.
26368 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26369 dl_hwcap via passed in argument.
26370 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26371 Likewise.
26372
5a31b283
AK
263732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26374
26375 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26376
069e52f8
RM
263772011-06-06 Roland McGrath <roland@hack.frob.com>
26378
26379 [BZ #12849]
26380 * manual/fdl-1.1.texi: New file, verbatim from:
26381 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26382 * manual/lgpl-2.1.texi: New file, verbatim from:
26383 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26384 * manual/Makefile (licenses): New variable, list those new file names.
26385 (texis): Use it.
26386 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26387
26388 * manual/fdl.texi: File removed.
26389 * manual/lesser.texi: File removed.
26390 * manual/libc.texinfo (Copying, Documentation License):
26391 Use new @include file names, put @appendix directive before @include.
26392
f16846a5
JJ
263932011-06-04 Jakub Jelinek <jakub@redhat.com>
26394
26395 [BZ #12841]
26396 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26397 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26398 (mq_open): Add __NTH.
26399
3d29045b
L
264002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26401
26402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26403 Assume Intel Core i3/i5/i7 processor if AVX is available.
26404
8c297311
UD
264052011-05-31 Ulrich Drepper <drepper@gmail.com>
26406
26407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26408 typo.
26409
c8fc0c91
UD
264102011-05-31 Andreas Schwab <schwab@redhat.com>
26411
26412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26413 memory. Use alloca_account. Fix memory leak when retrying.
26414
5b27a807
UD
264152011-05-31 Ulrich Drepper <drepper@gmail.com>
26416
356f8bc6
UD
26417 * version.h (RELEASE): Bump for 2.14 release.
26418 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26419
5b27a807
UD
26420 * config.make.in (RANLIB): Remove entry.
26421
01f16ab0
UD
264222011-05-30 Ulrich Drepper <drepper@gmail.com>
26423
41fce8bd
UD
26424 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26425 (libc.pot): Work around missing support for .ksh extension in xgettext.
26426
4769ae77
UD
26427 [BZ #12684]
26428 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26429 if both request failed.
26430 (send_dg): In case of server errors clear resplen or *resplen2.
26431
6b1e7d19
UD
26432 [BZ #12454]
26433 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26434 when there are multiple maps.
26435 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26436 (_dl_fini): Remove test here.
26437
01f16ab0
UD
26438 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26439
b1ebd700
UD
264402011-05-29 Ulrich Drepper <drepper@gmail.com>
26441
7ae22829
UD
26442 [BZ #12350]
26443 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26444 bit from old_res_options.
26445 (gaih_inet): Likewise.
26446
553149f6 26447 [BZ #11099]
18a84741 26448 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26449 as signed.
26450
652ffab1
UD
26451 * resolv/res_init.c (res_setoptions): Make the code more compact.
26452
16985fd0
UD
26453 [BZ #11558]
26454 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26455 set RES_USEVC.
26456
0464f746
UD
26457 [BZ #11634]
26458 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26459
7d17596c
UD
26460 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26461
cf6bbbd7
UD
26462 [BZ #11781]
26463 * malloc/malloc.h: Declare malloc hook variables as volatile.
26464
13f1ab36
UD
26465 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26466 in last patch.
26467
b1ebd700
UD
26468 [BZ #11799]
26469 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26470 raise in the comment.
80e2212d
UD
26471 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26472 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26473 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26474
ce67228d
UD
264752011-05-28 Ulrich Drepper <drepper@gmail.com>
26476
8887a920
UD
26477 [BZ #12811]
26478 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26479 grow the buffers more if it already has to be sufficient.
26480 (build_wcs_upper_buffer): Likewise.
26481 * posix/regexec.c (check_matching): Likewise.
26482 (clean_state_log_if_needed): Likewise.
26483 (extend_buffers): Don't enlarge buffers beyond size of the input
26484 buffer.
26485 Patches mostly by Emil Wojak <emil@wojak.eu>.
26486 * posix/bug-regex32.c: New file.
26487 * posix/Makefile (tests): Add bug-regex32.
26488
4f031072
UD
26489 * locale/findlocale.c (_nl_find_locale): Return right away if
26490 _nl_explode_name failed.
26491 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26492
d0478f0c
UD
26493 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26494
de81b246
UD
26495 * debug/xtrace.sh: Unify messages.
26496 * malloc/memusage.sh: Likewise.
26497
c738465a
UD
26498 [BZ #12813]
26499 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26500 time symbol from vDSO. Substitute with vsyscall if not available.
26501 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26502 __vdso_time.
26503
f1f929d7
UD
26504 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26505 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26506 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26507 Add sendmmsg and internal_sendmmsg.
26508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26509 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26511
ce67228d
UD
26512 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26513 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26515
e57420c6
UD
265162011-05-27 Ulrich Drepper <drepper@gmail.com>
26517
a8509ca5
UD
26518 [BZ #12813]
26519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26520 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26521 available.
26522 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26523 __vdso_getcpu.
26524
e57420c6
UD
26525 [BZ #12814]
26526 * iconvdata/Makefile (tests): Add bug-iconv9.
26527 * iconvdata/bug-iconv9.c: New file.
26528
4d07db15
AS
265292011-05-27 Andreas Schwab <schwab@redhat.com>
26530
26531 [BZ #12814]
26532 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26533
ea486f69
JJ
265342011-05-25 Jakub Jelinek <jakub@redhat.com>
26535
26536 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26537 (struct user_regs_struct): Change intcs field back to cs.
26538
6f038433
UD
265392011-05-25 Ulrich Drepper <drepper@gmail.com>
26540
26541 * po/ja.po: Update from translation team.
26542
67f86a25
UD
265432011-05-23 Ulrich Drepper <drepper@gmail.com>
26544
26545 [BZ #12795]
26546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26547 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26548
def7fbd6
AS
265492011-05-20 Andreas Schwab <schwab@redhat.com>
26550
26551 * stdlib/longlong.h: Update from GCC.
26552
f50ef8f1
AS
265532011-05-23 Andreas Schwab <schwab@redhat.com>
26554
26555 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26556 parameter name.
26557 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26558 Add parameter name.
26559 (__sysconf): Pass it down.
26560
de7ce8f1
UD
265612011-05-22 Ulrich Drepper <drepper@gmail.com>
26562
f2962a71
UD
26563 [BZ #12671]
26564 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26565 some situations.
26566 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26567 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26568 add in in __libc_use_alloca calls. Adjust callers.
26569 (glob): Use malloc in some situations.
26570
de7ce8f1
UD
26571 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26572 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26573 pltexit.
26574
aec84f53
UD
265752011-05-21 Ulrich Drepper <drepper@gmail.com>
26576
05bb4a68
UD
26577 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26578 and CLOCK_BOOTTIME_ALARM.
26579
7ea72f99
UD
26580 [BZ #12782]
26581 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26582 is returned.
26583
7e4afad5
UD
26584 * string/_strerror.c (__strerror_r): Print negative errors as signed
26585 numbers.
26586
8e211fec
UD
26587 [BZ #12777]
26588 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26589 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26590 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26591
f7d82dc9
UD
26592 * configure.in: Fix typo in redirection and correct removal of test
26593 files in two cases.
26594
cc9e536d
UD
26595 [BZ #12788]
26596 * locale/setlocale.c (new_composite_name): Fix test to check for
26597 identical name of all categories.
26598
aec84f53
UD
26599 [BZ #12792]
26600 * libio/filedoalloc.c (local_isatty): New function.
26601 (_IO_file_doallocate): Use local_isatty.
26602 * stdio-common/perror.c (perror): In case a new stream is used
26603 forward the stream error.
26604 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26605 error flag.
26606
78e64fdc
RT
266072011-05-20 Ulrich Drepper <drepper@gmail.com>
26608
34a9094f
UD
26609 [BZ #11869]
26610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26611 alloca.
26612 * include/alloca.h (extend_alloca_account): Define.
26613
78e64fdc
RT
26614 [BZ #11857]
26615 * posix/regex.h: Fix comments with documentation of user-accessible
26616 fields after compilation and describe correct free'ing of pattern
26617 after re_compile_pattern.
26618 Patch by Reuben Thomas <rrt@sc3d.org>.
26619
457bddfc
RA
266202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26621
26622 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26623 and -mno-altivec to prevent the compiler from using Altivec and/or
26624 VSX instructions when the corresponding registers are not available.
26625
a4527b51
AS
266262011-05-19 Andreas Schwab <schwab@redhat.com>
26627
26628 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26629
ed690b2f
UD
266302011-05-19 Ulrich Drepper <drepper@gmail.com>
26631
26632 * libio/freopen.c (freopen): Use __dup2, not dup2.
26633 * libio/freopen64.c (freopen64): Likewise.
26634
8db73634
L
266352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26636
26637 [BZ #12775]
26638 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26639 * math/Makefile (tests): Add test-powl.
26640 (CFLAGS-test-powl.c): Define.
26641 * math/test-powl.c: New file.
26642
0a197a9d
L
266432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26644
26645 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26646
ee30c380
UD
266472011-05-17 Ulrich Drepper <drepper@gmail.com>
26648
26649 [BZ #11837]
26650 * iconvdata/gb18030.c: Update to GB18020-2005.
26651
6ce75379
UD
266522011-05-16 Ulrich Drepper <drepper@gmail.com>
26653
a4b89fd8
AR
26654 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26655 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26656 Patch by Aharon Robbins <arnold@skeeve.com>.
26657
ea389b12
UD
26658 [BZ #11892]
26659 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26660 on the stack.
26661
68a3f91f
UD
26662 [BZ #11895]
26663 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26664 through underflows.
26665
15cc7dd1
UD
26666 [BZ #12766]
26667 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26668 point to strings before performing equality test for error_one_per_line
26669 mode.
26670
f3799213
UD
26671 [BZ #11697]
26672 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26673
d79a9c94
UD
26674 [BZ #11820]
26675 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26676 (struct user_fpregs_struct): Avoid __uint*_t types.
26677
56e5eb46
UD
26678 [BZ #6420]
26679 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26680 symbol info. Use it instead of calling _dl_addr locally.
26681 (lock_and_info): New function.
26682 (tr_freehook): Call lock_and_info and pass symbol info as additional
26683 parameter to tr_where.
26684 (tr_mallochook): Likewise.
26685 (tr_reallochook): Likewise.
26686 (tr_memalignhook): Likewise.
26687
6ce75379
UD
26688 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26689 used and couldn't be at all thread-safe.
26690
f8a3b5bf
UD
266912011-05-15 Ulrich Drepper <drepper@gmail.com>
26692
94b7cc37
UD
26693 * libio/freopen.c (freopen): Don't close old file descriptor
26694 before the new one is opened. Instead dup the new file descriptor
26695 to the old one after the new stream is created.
26696 * libio/freopen64.c (freopen64): Likewise.
26697 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26698 * libio/fileops.c (_IO_new_file_close_it): Handle new
26699 _IO_FLAGS2_NOCLOSE flag.
26700 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26701 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26702 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26703 _IO_FLAGS2_NOCLOSE flag.
26704 * include/unistd.h: Add hidden_proto for dup3.
26705 Define __have_dup3.
26706 * io/dup3.c: Define hidden symbol.
26707 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26708
bd25564e
UD
26709 [BZ #7101]
26710 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26711 when an incomplete long option is used.
26712 * posix/tst-getopt_long1.c: New file.
26713 * posix/Makefile (tests): Add tst-getopt_long1.
26714
c84cfef4
UD
26715 [BZ #10138]
26716 * scripts/config.guess: Update from autoconf-2.68.
26717 * scripts/config.sub: Likewise.
26718
3b85df27
UD
26719 [BZ #10157]
26720 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26721 tests into ...
26722 (has_cpuclock): ...this. New function.
26723 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26724 macro here based on has_cpuclock code.
26725
15a856b1
UD
26726 [BZ #10149]
26727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26728 First byte (not low byte) is now always NUL.
26729 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26730
05f399e6
UD
26731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26732 Use non-cancelable interfaces.
26733
10a52685 26734 [BZ #9809]
94ecc67d
UD
26735 * locale/iso-639.def: Add entry for Sorani.
26736
f8a3b5bf
UD
26737 [BZ #11901]
26738 * include/stdlib.h: Move include protection to the right place.
26739 Define abort_msg_s. Declare __abort_msg with it.
26740 * stdlib/abort.c (__abort_msg): Adjust type.
26741 * assert/assert.c (__assert_fail_base): New function. Majority
26742 of code from __assert_fail. Allocate memory for __abort_msg with
26743 mmap.
26744 (__assert_fail): Now call __assert_fail_base.
26745 * assert/assert-perr.c: Remove bulk of implementation. Use
26746 __assert_fail_base.
26747 * include/assert.hL Declare __assert_fail_base.
26748 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26749 mmap.
26750 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26751
1af4e298
UD
267522011-05-14 Ulrich Drepper <drepper@gmail.com>
26753
f8a3b5bf 26754 [BZ #11952]
d26dfc60
MG
26755 [BZ #12453]
26756 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26757 until all modules are registered in the DTV.
26758 * elf/Makefile: Add rules to build and run tst-tls19.
26759 * elf/tst-tls19.c: New file.
26760 * elf/tst-tls19mod1.c: New file.
26761 * elf/tst-tls19mod2.c: New file.
26762 * elf/tst-tls19mod3.c: New file.
26763 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26764
2fc54d6f
UD
26765 [BZ #12083]
26766 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26767 correctly.
26768
98d76b46
UD
26769 [BZ #12601]
26770 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26771 two-byte sequence errors.
26772 * iconvdata/Makefile (tests): Add bug-iconv8.
26773 * iconvdata/bug-iconv8.c: New file.
26774
da3c19ef
UD
26775 [BZ #12626]
26776 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26777 buf2 definition.
26778
ca408c15
UD
26779 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26780
d6f67f7d
UD
26781 [BZ #12432]
26782 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26783 (dummy_getcfa): New function.
26784 (init): Get _Unwind_GetCFA address, use dummy if not found.
26785 (backtrace_helper): In recursion check, also check whether CFA changes.
26786 (__backtrace): Completely initialize arg.
26787
1af4e298 26788 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26789 storing incomplete byte sequence in state object. Avoid testing for
26790 guaranteed too small input if we know there is enough data available.
1af4e298 26791
da62f81b
AS
267922011-05-11 Andreas Schwab <schwab@redhat.com>
26793
26794 * Makeconfig (+link-pie): Indent.
26795 * Rules (binaries-pie): Define if $(have-fpie) and
26796 $(build-shared).
26797 (binaries-shared): Also filter out $(binaries-pie).
26798 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26799 * nscd/Makefile (others-pie): Add nscd.
26800 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26801 ($(objpfx)nscd): Remove command override.
26802 * login/Makefile (others-pie): Add pt_chown.
26803 ($(objpfx)pt_chown): Remove command override.
26804 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26805 remove command overrides.
26806
fcabc0f8
UD
268072011-05-13 Ulrich Drepper <drepper@gmail.com>
26808
20030ae6
UD
26809 * libio/tst_putwc.c: Fix error messages.
26810
fcabc0f8
UD
26811 [BZ #12724]
26812 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26813 currently writing and seek to current position when not.
26814 * libio/Makefile (tests): Add bug-fclose1.
26815 * libio/bug-fclose1.c: New file.
26816
320a5dc0
PB
268172011-05-12 Ulrich Drepper <drepper@gmail.com>
26818
26819 [BZ #12511]
26820 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26821 don't set DF_1_NODELETE here.
26822 (do_lookup_x): When entering new entry test for copy relocation
26823 and if necessary set DF_1_NODELETE flag.
26824 * elf/tst-unique4.cc: New file.
26825 * elf/tst-unique4.h: New file.
26826 * elf/tst-unique4lib.cc: New file.
26827 * elf/Makefile: Add rules to build and run tst-unique4.
26828 Patch by Piotr Bury <pbury@goahead.com>.
26829
22836f52
UD
268302011-05-11 Ulrich Drepper <drepper@gmail.com>
26831
f574184a
UD
26832 [BZ #12052]
26833 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26834
e1fb097f
UD
26835 [BZ #12625]
26836 * misc/mntent_r.c (addmntent): Flush the stream after the output
26837
22836f52
UD
26838 [BZ #12393]
26839 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26840 (is_trusted_path_normalize): Skip initial colon. Append slash
26841 to empty buffer. Duplicate is_trusted_path code but allow
26842 constructed patch to be prefix.
26843 (is_dst): Allow $ORIGIN followed by /.
26844 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26845 Correct testing of result of is_trusted_path_normalize
26846 (decompose_rpath): Fix warning.
26847
7b3b0b2a
UD
268482011-05-10 Ulrich Drepper <drepper@gmail.com>
26849
26850 [BZ #11257]
26851 * grp/initgroups.c (internal_getgrouplist): When we found the service
26852 list through the initgroups entry in nsswitch.conf do not always
26853 continue on a successful lookup. Don't always use the
eac80ce2 26854 __nss_group_database value if it is set.
7b3b0b2a
UD
26855 * nss/nsswitch.conf (initgroups): Change action for successful db
26856 lookup to continue for compatibility.
26857
2a81eaa5
UD
268582011-05-09 Ulrich Drepper <drepper@gmail.com>
26859
be97a69e
UD
26860 [BZ #11532]
26861 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26862 and CP774 modules.
26863 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26864 and CP774 modules.
26865 * iconvdata/tst-tables.sh: Likewise.
26866 * iconvdata/cp770.c: New file.
26867 * iconvdata/cp771.c: New file.
26868 * iconvdata/cp772.c: New file.
26869 * iconvdata/cp773.c: New file.
26870 * iconvdata/cp774.c: New file.
26871 * iconvdata/testdata/CP770: New file.
26872 * iconvdata/testdata/CP770..UTF8: New file.
26873 * iconvdata/testdata/CP771: New file.
26874 * iconvdata/testdata/CP771..UTF8: New file.
26875 * iconvdata/testdata/CP772: New file.
26876 * iconvdata/testdata/CP772..UTF8: New file.
26877 * iconvdata/testdata/CP773: New file.
26878 * iconvdata/testdata/CP773..UTF8: New file.
26879 * iconvdata/testdata/CP774: New file.
26880 * iconvdata/testdata/CP774..UTF8: New file.
26881
26882 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26883 END CHARMAP line.
26884 * iconvdata/gen-8bit-gap.sh: Likewise.
26885 * iconvdata/gen-8bit.sh: Likewise.
26886
c1e9e399
UD
26887 * locale/iso-639.def: Add ary entry.
26888
24c55fb3 26889 [BZ #11258]
96b4b1b0
UD
26890 * locale/C-translit.h.in: Add U20A1 transliteration.
26891
bdc2f971
KB
26892 [BZ #12178]
26893 * locale/iso-639.def: Add wae entry.
26894 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26895
2952b117
UD
26896 [BZ #12545]
26897 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26898 for n.
26899
2a81eaa5
UD
26900 [BZ #12711]
26901 * locale/C-translit.h.in: Add entry for U20B9.
26902 Patch by pravin.d.s@gmail.com.
26903
28377d1b
UD
269042011-05-08 Ulrich Drepper <drepper@gmail.com>
26905
7fb90fb8
UD
26906 [BZ #12713]
26907 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26908 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26909 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26910 in rtld. Use *stat64.
7fb90fb8 26911 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26912 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26913 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26914 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26915 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26916 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26917 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26918 __fstatat64 macros.
7fb90fb8
UD
26919 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26920 * dirent/rewinddir.c: Add libc_hidden_def.
26921 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26922 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26923
28377d1b
UD
26924 * include/dirent.h (__alloc_dir): Add flags parameter.
26925 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26926 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26927 __alloc_dir.
26928 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26929 from fdopendir if O_CLOEXEC is already set.
26930
66bdbaa4
AM
269312011-03-15 Alan Modra <amodra@gmail.com>
26932
26933 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26934 l_tls_firstbyte_offset non-zero. Save padding offset in
26935 l_tls_firstbyte_offset for later use.
26936 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26937 freeing static tls block.
26938
95721191
JN
269392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26940
26941 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26942 where #ifdef was intended. The intent is to prevent ARG_MAX from
26943 being defined by the kernel headers.
26944
f87dfb1f
UD
269452011-05-07 Ulrich Drepper <drepper@gmail.com>
26946
26947 [BZ #12734]
26948 * resolv/resolv.h: Define RES_NOTLDQUERY.
26949 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26950 no-tld-query and set RES_NOTLDQUERY.
26951 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26952 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26953 modern BIND to search name as TLD unless forbidden.
26954
47c3cd7a
UD
269552011-05-07 Petr Baudis <pasky@suse.cz>
26956 Ulrich Drepper <drepper@gmail.com>
26957
26958 [BZ #12393]
26959 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26960 (is_trusted_path): ...to here.
c1e9ea35 26961 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26962 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26963 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26964
8a35c912
PP
269652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26966
26967 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26968 __BEGIN/__END_DECLS.
26969
acd41f47
UD
269702011-05-06 Ulrich Drepper <drepper@gmail.com>
26971
26972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26973 NSS_STATUS_NOTFOUND if no record was found.
26974
597df647
AS
269752011-05-05 Andreas Schwab <schwab@redhat.com>
26976
26977 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26978 (headers-not-in-tirpc): Remove rpc/netdb.h
26979 * resolv/netdb.h: Revert last change.
26980
b9af1301
PP
269812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26982
26983 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26984 circular dependency between libgcc.a and libc.a.
26985
4e34d5f5
AS
269862011-05-05 Andreas Schwab <schwab@redhat.com>
26987
26988 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26989 * nis/Makefile: Don't install rpcsvc/*.
26990 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26991 instead of <rpc/types.h>.
26992 (MAXHOSTNAMELEN): Define.
26993
00ee369c
AS
269942011-05-03 Andreas Schwab <schwab@redhat.com>
26995
26996 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26997
0b592a30
MB
269982011-04-28 Maciej Babinski <mbabinski@google.com>
26999
27000 [BZ #12714]
27001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27002 gethostbyname4_r when IPv6 results are possible.
27003
6e04cbbe
UD
270042011-05-02 Ulrich Drepper <drepper@gmail.com>
27005
27006 [BZ #12723]
27007 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27008 _PC_PIPE_BUF handling.
27009
e4ecafe0
BH
270102011-04-30 Bruno Haible <bruno@clisp.org>
27011
27012 [BZ #12717]
27013 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27014 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27015 to 'int'.
27016 * inet/getnameinfo.c (getnameinfo): Likewise.
27017
125ee683
UD
270182011-04-29 Ulrich Drepper <drepper@gmail.com>
27019
27020 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27021 to groups setting in database lookup.
27022 * nss/nsswitch.conf: Add initgroups entry.
27023
b722481a
EB
270242011-04-22 Ulrich Drepper <drepper@gmail.com>
27025
27026 [BZ #12685]
27027 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27028 mode string.
27029 Patch by Eric Blake <eblake@redhat.com>.
27030
4df46dbd
L
270312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27032
27033 * sunrpc/Makefile (need-export-routines): Add svc_run.
27034 (routines): Remove svc_run.
27035 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27036 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27037 * sunrpc/svc_run.c (svc_run): Likewise.
27038 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27039
e84142d2
UD
270402011-04-21 Ulrich Drepper <drepper@gmail.com>
27041
27042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27043 problem in reallocation in last patch.
27044
877175d8
UD
270452011-04-20 Ulrich Drepper <drepper@gmail.com>
27046
27047 * sunrpc/Makefile: Move inclusion of Rules.
27048
ab8eed78
UD
270492011-04-19 Ulrich Drepper <drepper@gmail.com>
27050
27051 * nss/nss_files/files-initgroups.c: New file.
27052 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27053 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27054 _nss_files_initgroups_dyn.
27055
e3d8f584
RS
270562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27057
27058 * elf/elf.h (R_ARM_IRELATIVE): Define.
27059
af190f45
UD
270602011-04-19 Ulrich Drepper <drepper@gmail.com>
27061
27062 * po/ru.po: Update from translation team.
27063
53cf59ef
UD
270642011-04-17 Ulrich Drepper <drepper@gmail.com>
27065
27066 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27067 dependencies.
27068
4c559bcd
MF
270692011-02-06 Mike Frysinger <vapier@gentoo.org>
27070
27071 [BZ #12653]
27072 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27073 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27074 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27075 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27076 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27077
4420675c
AS
270782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27079
27080 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27081 differing bytes.
27082 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27085
75ea32ab
UD
270862011-04-17 Ulrich Drepper <drepper@gmail.com>
27087
27088 [BZ #12420]
27089 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27090 storing it.
27091 * stdlib/bug-getcontext.c: New file.
27092 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27093
27390476
AK
270942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27095
27096 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27097 instructions into .machine "z9-109".
27098 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27099 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27100
10442705
AK
271012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27102
27103 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27104 between environment variables and auxiliary vector.
27105
7b57bfe5
UD
271062011-04-16 Ulrich Drepper <drepper@gmail.com>
27107
27108 * Makefile: Add rules to build linkobj/libc.so.
27109 * include/libc-symbols.h: Define libc_hidden_nolink.
27110 * include/rpc/auth.h: Mark functions which are to be hidden.
27111 * include/rpc/auth_des.h: Likewise.
27112 * include/rpc/auth_unix.h: Likewise.
27113 * include/rpc/clnt.h: Likewise.
27114 * include/rpc/des_crypt.h: Likewise.
27115 * include/rpc/key_prot.h: Likewise.
27116 * include/rpc/pmap_clnt.h: Likewise.
27117 * include/rpc/pmap_prot.h: Likewise.
27118 * include/rpc/pmap_rmt.h: Likewise.
27119 * include/rpc/rpc_msg.h: Likewise.
27120 * include/rpc/svc.h: Likewise.
27121 * include/rpc/svc_auth.h: Likewise.
27122 * include/rpc/xdr.h: Likewise.
27123 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27124 * nss/Makefile: Likewise.
27125 * sunrpc/Makefile: Don't install headers. Build library with normal
27126 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27127 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27128 for the compat linking library. Remove use of INTDEF/INTUSE.
27129 * sunrpc/auth_none.c: Likewise.
27130 * sunrpc/auth_unix.c: Likewise.
27131 * sunrpc/authdes_prot.c: Likewise.
27132 * sunrpc/authuxprot.c: Likewise.
27133 * sunrpc/clnt_gen.c: Likewise.
27134 * sunrpc/clnt_perr.c: Likewise.
27135 * sunrpc/clnt_raw.c: Likewise.
27136 * sunrpc/clnt_simp.c: Likewise.
27137 * sunrpc/clnt_tcp.c: Likewise.
27138 * sunrpc/clnt_udp.c: Likewise.
27139 * sunrpc/clnt_unix.c: Likewise.
27140 * sunrpc/des_crypt.c: Likewise.
27141 * sunrpc/des_soft.c: Likewise.
27142 * sunrpc/get_myaddr.c: Likewise.
27143 * sunrpc/key_call.c: Likewise.
27144 * sunrpc/key_prot.c: Likewise.
27145 * sunrpc/netname.c: Likewise.
27146 * sunrpc/pm_getmaps.c: Likewise.
27147 * sunrpc/pm_getport.c: Likewise.
27148 * sunrpc/pmap_clnt.c: Likewise.
27149 * sunrpc/pmap_prot.c: Likewise.
27150 * sunrpc/pmap_prot2.c: Likewise.
27151 * sunrpc/pmap_rmt.c: Likewise.
27152 * sunrpc/publickey.c: Likewise.
27153 * sunrpc/rpc_cmsg.c: Likewise.
27154 * sunrpc/rpc_common.c: Likewise.
27155 * sunrpc/rpc_dtable.c: Likewise.
27156 * sunrpc/rpc_prot.c: Likewise.
27157 * sunrpc/rpc_thread.c: Likewise.
27158 * sunrpc/rtime.c: Likewise.
27159 * sunrpc/svc.c: Likewise.
27160 * sunrpc/svc_auth.c: Likewise.
27161 * sunrpc/svc_authux.c: Likewise.
27162 * sunrpc/svc_raw.c: Likewise.
27163 * sunrpc/svc_run.c: Likewise.
27164 * sunrpc/svc_simple.c: Likewise.
27165 * sunrpc/svc_tcp.c: Likewise.
27166 * sunrpc/svc_udp.c: Likewise.
27167 * sunrpc/svc_unix.c: Likewise.
27168 * sunrpc/svcauth_des.c: Likewise.
27169 * sunrpc/xcrypt.c: Likewise.
27170 * sunrpc/xdr.c: Likewise.
27171 * sunrpc/xdr_array.c: Likewise.
27172 * sunrpc/xdr_float.c: Likewise.
27173 * sunrpc/xdr_intXX_t.c: Likewise.
27174 * sunrpc/xdr_mem.c: Likewise.
27175 * sunrpc/xdr_rec.c: Likewise.
27176 * sunrpc/xdr_ref.c: Likewise.
27177 * sunrpc/xdr_sizeof.c: Likewise.
27178 * sunrpc/xdr_stdio.c: Likewise.
27179
e6c61494
UD
271802011-04-10 Ulrich Drepper <drepper@gmail.com>
27181
27182 [BZ #12650]
27183 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27184 * sysdeps/ia64/dl-tls.h: Likewise.
27185 * sysdeps/powerpc/dl-tls.h: Likewise.
27186 * sysdeps/s390/dl-tls.h: Likewise.
27187 * sysdeps/sh/dl-tls.h: Likewise.
27188 * sysdeps/sparc/dl-tls.h: Likewise.
27189 * sysdeps/x86_64/dl-tls.h: Likewise.
27190 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27191
34fe483e
AS
271922011-03-14 Andreas Schwab <schwab@redhat.com>
27193
27194 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27195 rpath element also skip the following colon.
27196 (expand_dynamic_string_token): Add is_path parameter and pass
27197 down to DL_DST_REQUIRED and _dl_dst_substitute.
27198 (decompose_rpath): Call expand_dynamic_string_token with
27199 non-zero is_path. Ignore empty rpaths.
27200 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27201 with zero is_path.
27202
f12a32e6
AS
272032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27204
27205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27206 Make cancelable.
27207
38a7d692
UD
272082011-04-09 Ulrich Drepper <drepper@gmail.com>
27209
27210 [BZ #12655]
27211 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27212 Patch by Filipe David Manana <fdmanana@apache.org>.
27213
e451d22b
AS
272142011-04-07 Andreas Schwab <schwab@redhat.com>
27215
27216 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27217 Maintain aligned stack.
27218 (CHECK_RSP): Remove unused macro.
27219
dedc7c7b
UD
272202011-04-03 Ulrich Drepper <drepper@gmail.com>
27221
27222 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27224
94521213
UD
272252011-04-02 Ulrich Drepper <drepper@gmail.com>
27226
27227 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27228
8cb700c0 27229 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27230
0354e355
L
272312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27232
27233 [BZ #12518]
27234 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27235 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27236 * sysdeps/x86_64/memmove.c: New file.
27237 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27238 (memcpy): Renamed to ...
27239 (__new_memcpy): This.
27240 (memcpy): Provide GLIBC_2_14 memcpy.
27241 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27242 (memcpy): Provide GLIBC_2_2_5 memcpy.
27243
8593482f
UD
272442011-04-01 Ulrich Drepper <drepper@gmail.com>
27245
27246 [BZ #12631]
27247 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27248
81a5726b
AS
272492011-03-30 Andreas Schwab <schwab@redhat.com>
27250
27251 * misc/syncfs.c: New file.
27252 * misc/Makefile (routines): Add syncfs.
27253 * posix/unistd.h: Declare syncfs.
27254 * sysdeps/unix/syscalls.list: Add syncfs.
27255
00e5419f
AS
272562011-04-01 Andreas Schwab <schwab@redhat.com>
27257
27258 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27259 open_by_handle_at.
27260 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27261 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27265 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27267
748876bf
UD
272682011-04-01 Ulrich Drepper <drepper@gmail.com>
27269
658e451d
UD
27270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27272 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27274 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27277
748876bf
UD
27278 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27279 sync_file_range.c with -fexceptions.
27280 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27281 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27282 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27283 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27284 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27286 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27287 sync_file_range as cancellation point
27288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27289 now a wrapper around __call_sync_file_range with cancellation handling.
27290 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27291 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27292 function name to __call_sync_file_range.
27293 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27294 Add call_sync_file_range.
748876bf 27295
6e63d5e1
AS
272962011-04-01 Andreas Schwab <schwab@redhat.com>
27297
27298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27299 bits/timex.h.
6e63d5e1 27300
46998f74
UD
273012011-04-01 Ulrich Drepper <drepper@gmail.com>
27302
4c1423ed
UD
27303 * iconv/iconv.h: Fix typo in comment.
27304 * io/fcntl.h: Likewise.
27305 * libio/stdio.h: Likewise.
27306 * posix/spawn.h: Likewise.
27307 * posix/unistd.h: Likewise.
27308 * stdlib/stdlib.h: Likewise.
27309 * time/time.h: Likewise.
27310 * wcsmbs/wchar.h: Likewise.
27311
158648c0
UD
27312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27313 open_by_handle): Add.
27314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27315 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27316 Augment a few comments.
27317 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27318 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27319 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27320 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27321 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27322 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27323 open_by_handle.
27324
46998f74
UD
27325 * io/fcntl.h (AT_EMPTY_PATH): Define.
27326
83fe108b
UD
273272011-03-30 Ulrich Drepper <drepper@gmail.com>
27328
27329 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27330 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27331 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27332 to...
27333 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27334 * Versions.def: Add GLIBC_2.14.
27335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27336 Export.
83fe108b 27337
bb242059
UD
273382011-03-22 Ulrich Drepper <drepper@gmail.com>
27339
27340 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27341 round counter.
27342 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27343
c97a1282
L
273442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27345
27346 [BZ #12597]
27347 * string/test-strncmp.c (do_page_test): New function.
27348 (check2): Likewise.
27349 (test_main): Call check2.
27350 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27351
2a115601
UD
273522011-03-20 Ulrich Drepper <drepper@gmail.com>
27353
27354 [BZ #12587]
27355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27356 Handle cache information in CPU leaf 4.
27357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27358
8126d904
UD
273592011-03-18 Ulrich Drepper <drepper@gmail.com>
27360
042c49c6 27361 [BZ #12583]
8126d904
UD
27362 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27363 character representation.
27364 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27365
ccfe366e
RA
273662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27367
27368 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27369 END(__isnan) to END(__isnanf) to match function entry point/label
27370 EALIGN(__isnanf,...).
27371
c6e13027
JJ
273722011-03-10 Jakub Jelinek <jakub@redhat.com>
27373
27374 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27375
33f85a3f
UD
273762011-03-10 Ulrich Drepper <drepper@gmail.com>
27377
028478fa
UD
27378 [BZ #12510]
27379 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27380 copy from the symbol referenced in the relocation to initialize the
27381 used variable.
27382 Patch by Piotr Bury <pbury@goahead.com>.
27383 * elf/Makefile: Add rules to build and tst-unique3.
27384 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27385 * elf/tst-unique3.cc: New file.
27386 * elf/tst-unique3.h: New file.
27387 * elf/tst-unique3lib.cc: New file.
27388 * elf/tst-unique3lib2.cc: New file.
27389
33f85a3f
UD
27390 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27391
03592fc7
MF
273922011-03-10 Mike Frysinger <vapier@gentoo.org>
27393
27394 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27395 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27396 to _start.
03592fc7 27397
6a5ee102
UD
273982011-03-06 Ulrich Drepper <drepper@gmail.com>
27399
27400 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27401 to-be-loaded object along a path to loader is ld.so.
27402
7e4ba49c
HJ
274032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27404 Ulrich Drepper <drepper@gmail.com>
27405
27406 * sysdeps/x86_64/memset.S: After aligning destination, code
27407 branches to different locations depending on the value of
27408 misalignment, when multiarch is enabled. Fix this.
27409
274102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27411
27412 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27413 Set _x86_64_preferred_memory_instruction for AMD processsors.
27414 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27415 Set bit_Prefer_SSE_for_memop for AMD processors.
27416
13a804de
UD
274172011-03-04 Ulrich Drepper <drepper@gmail.com>
27418
27419 * libio/fmemopen.c (fmemopen): Optimize a bit.
27420
9d25c392
AS
274212011-03-03 Andreas Schwab <schwab@redhat.com>
27422
27423 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27424
a5543c6a
RM
274252011-03-03 Roland McGrath <roland@redhat.com>
27426
27427 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27428
012d35f7
DM
274292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27430
7e4ba49c 27431 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27432 __bzero_ultra1 instead of __memset_ultra1.
27433
4bff6e01
AS
274342011-02-23 Andreas Schwab <schwab@redhat.com>
27435 Ulrich Drepper <drepper@gmail.com>
27436
27437 [BZ #12509]
27438 * include/link.h (struct link_map): Add l_orig_initfini.
27439 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27440 returning unsuccessfully.
27441 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27442 close of a file loaded at startup, restore the original l_initfini
27443 list.
27444 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27445 list, store the pointer.
27446 * elf/Makefile ($(objpfx)noload-mem): New rule.
27447 (noload-ENV): Define.
27448 (tests): Add $(objpfx)noload-mem.
27449 * elf/noload.c: Include <memcheck.h>.
27450 (main): Call mtrace. Close all opened handles.
27451
f2092faf
AS
274522011-02-17 Andreas Schwab <schwab@redhat.com>
27453
27454 [BZ #12454]
27455 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27456 dependencies are missing.
27457
6c8a2e88
ST
274582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27459
f2092faf 27460 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27461 Hurd needs munmap.
27462 * sysdeps/mach/hurd/ifreq.h: New file.
27463
84a42118
PB
274642011-01-27 Petr Baudis <pasky@suse.cz>
27465 Ulrich Drepper <drepper@gmail.com>
27466
071f805e 27467 [BZ 12445]#
84a42118
PB
27468 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27469 to extend_alloca().
27470 * stdio-common/bug23.c: New file.
27471 * stdio-common/Makefile (tests): Add bug23.
27472
e23fe25b
AS
274732010-09-28 Andreas Schwab <schwab@redhat.com>
27474 Ulrich Drepper <drepper@gmail.com>
27475
27476 [BZ #12489]
27477 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27478 before performing relro protection. At old place add assertion
27479 to make sure nothing changed.
27480
d3f02e10
NS
274812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27482 Glauber de Oliveira Costa <glommer@gmail.com>
27483
27484 * elf/elf.h: Add new ARM TLS relocs.
27485
d55fd7a5
RA
274862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27487
27488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27489 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27490 cast from r3.
27491 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27492 'tests' variable.
27493 * sysdeps/wordsize-64/tst-writev.c: New file.
27494
2206397e
RA
274952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27496
27497 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27498 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27499 insns in _dl_start to prevent a TOC reference before relocs are
27500 resolved.
27501
e9433893
UD
275022011-02-15 Ulrich Drepper <drepper@gmail.com>
27503
27504 [BZ #12469]
27505 * Makeconfig: Remove RANLIB definition.
27506 * Makerules: Don't use RANLIB.
27507 * aclocal.m4: Remove ranlib test.
27508 * configure.in: No need to check for ranlib.
27509 * elf/rtld-Rules: Don't use RANLIB.
27510
f75286c6
ST
275112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27512
8e31c82d
ST
27513 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27514 protection macro.
27515 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27516 inclusion protection macro.
27517
f75286c6
ST
27518 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27519 SIGRTMIN and SIGRTMAX and print information in that case only when
27520 SIGRTMIN is defined.
27521
c1d0e639
JJ
275222011-02-11 Jakub Jelinek <jakub@redhat.com>
27523
27524 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27525 arginfo fn returning -1.
27526
27527 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27528 and thousands string is zero terminated.
27529
edf9294e
AS
275302011-02-03 Andreas Schwab <schwab@redhat.com>
27531
27532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27533 sysdeps/unix/sysv/linux/bits/socket.h.
27534
2b7e92df
ST
275352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27536
edf9294e
AS
27537 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27538 (__CPU_COUNT): Remove old macros.
27539 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27540 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27541 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27542 (__sched_cpualloc, __sched_cpufree): Add declarations.
27543
a4c7ea7b
UD
275442011-02-05 Ulrich Drepper <drepper@gmail.com>
27545
27546 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27547 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27548 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27549 (readdhstai): Return value of addhstaiX call.
27550 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27551 (addgrbyX): Return value returned by cache_addgr.
27552 (readdgrbyname): Return value returned by addgrbyX.
27553 (readdgrbygid): Likewise.
27554 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27555 (addpwbyX): Return value returned by cache_addpw.
27556 (readdpwbyname): Return value returned by addhstbyX.
27557 (readdpwbyuid): Likewise.
27558 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27559 (addservbyX): Return value returned by cache_addserv.
27560 (readdservbyname): Return value returned by addservbyX:
27561 (readdservbyport): Likewise.
27562 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27563 (addhstbyX): Return value returned by cache_addhst.
27564 (readdhstbyname): Return value returned by addhstbyX.
27565 (readdhstbyaddr): Likewise.
27566 (readdhstbynamev6): Likewise.
27567 (readdhstbyaddrv6): Likewise.
27568 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27569 (readdinitgroups): Return value returned by addinitgroupsX.
27570 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27571 (prune_cache): Keep track of timeout value of re-added entries.
27572 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27573 * nscd/nscd.h: Adjust prototypes of readd* functions.
27574
a0bf67cc
RM
275752011-02-04 Roland McGrath <roland@redhat.com>
27576
27577 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27578 (nis_stats): Likewise.
27579 * nis/nis_modify.c (nis_modify): Likewise.
27580 * nis/nis_remove.c (nis_remove): Likewise.
27581 * nis/nis_add.c (nis_add): Likewise.
27582
27583 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27584
27585 * posix/fnmatch_loop.c: Add some consts.
27586
27587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27588
435b95eb
L
275892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27590
27591 [BZ #12460]
27592 * config.make.in (config-cflags-novzeroupper): Define.
27593 * configure.in: Substitute libc_cv_cc_novzeroupper.
27594 * elf/Makefile (AVX-CFLAGS): Define.
27595 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27596 (CFLAGS-tst-auditmod4a.c): Likewise.
27597 (CFLAGS-tst-auditmod4b.c): Likewise.
27598 (CFLAGS-tst-auditmod6b.c): Likewise.
27599 (CFLAGS-tst-auditmod6c.c): Likewise.
27600 (CFLAGS-tst-auditmod7b.c): Likewise.
27601 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27602
8517b15e
UD
276032011-02-02 Ulrich Drepper <drepper@gmail.com>
27604
27605 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27606 function to the callback.
27607 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27608
10a656fe
AS
276092011-02-02 Andreas Schwab <schwab@redhat.com>
27610
27611 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27612 of errno.
27613
968dad0a
UD
276142011-01-19 Ulrich Drepper <drepper@gmail.com>
27615
9f94d2ea 27616 [BZ #11724]
968dad0a
UD
27617 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27618 of constructors.
27619 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27620 of destructors.
27621 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27622
27623 [BZ #11724]
27624 * elf/Makefile: Add rules to build and run new test.
27625 * elf/tst-initorder.c: New file.
27626 * elf/tst-initorder.exp: New file.
27627 * elf/tst-initordera1.c: New file.
27628 * elf/tst-initordera2.c: New file.
27629 * elf/tst-initordera3.c: New file.
27630 * elf/tst-initordera4.c: New file.
27631 * elf/tst-initorderb1.c: New file.
27632 * elf/tst-initorderb2.c: New file.
27633 * elf/tst-order-a1.c: New file.
27634 * elf/tst-order-a2.c: New file.
27635 * elf/tst-order-a3.c: New file.
27636 * elf/tst-order-a4.c: New file.
27637 * elf/tst-order-b1.c: New file.
27638 * elf/tst-order-b2.c: New file.
27639 * elf/tst-order-main.c: New file.
27640 New test case by George Gensure <werkt0@gmail.com>.
27641
86e92359
UD
276422010-10-01 Andreas Schwab <schwab@redhat.com>
27643
27644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27645 decoding ACE if AI_CANONIDN.
27646
5d5732b0
UD
276472011-01-18 Ulrich Drepper <drepper@gmail.com>
27648
27649 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27650
a77e8cbc
UD
276512011-01-17 Ulrich Drepper <drepper@gmail.com>
27652
6392473f
UD
27653 * version.h (RELEASE): Bump for 2.13 release.
27654 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27655
620a0529
UD
27656 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27657
18ba70a5
UD
27658 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27659 MADV_NOHUGEPAGE.
32465c3e
UD
27660 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27661 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27662 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27663 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27664 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27665 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27666
c0dafcf1
UD
27667 * posix/getconf.c: Update copyright year.
27668 * catgets/gencat.c: Likewise.
27669 * csu/version.c: Likewise.
27670 * debug/catchsegv.sh: Likewise.
27671 * debug/xtrace.sh: Likewise.
27672 * elf/ldconfig.c: Likewise.
27673 * elf/ldd.bash.in: Likewise.
27674 * elf/sprof.c (print_version): Likewise.
27675 * iconv/iconv_prog.c: Likewise.
27676 * iconv/iconvconfig.c: Likewise.
27677 * locale/programs/locale.c: Likewise.
27678 * locale/programs/localedef.c: Likewise.
27679 * malloc/memusage.sh: Likewise.
27680 * malloc/mtrace.pl: Likewise.
27681 * nscd/nscd.c (print_version): Likewise.
27682 * nss/getent.c: Likewise.
27683
a77e8cbc
UD
27684 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27685 PF_CAIF, and PF_ALG.
27686 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27687
77e8bddf
AS
276882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27689
1f20b93a
AS
27690 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27691 (modules-names): Use them.
27692 (ifunc-test-modules, ifunc-pie-tests): Define.
27693 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27694 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27695 (test-extras): Likewise.
27696 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27697 $(compile-command.c).
27698 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27699 (all-built-dso): Define.
27700 (check-textrel.out, check-execstack.out): Depend on it.
27701
77e8bddf
AS
27702 * configure.in: Don't override --enable-multi-arch.
27703
bc425b33
UD
277042011-01-15 Ulrich Drepper <drepper@gmail.com>
27705
27706 [BZ #6812]
27707 * nscd/hstcache.c (tryagain): Define.
27708 (cache_addhst): Return tryagain not notfound for temporary errors.
27709 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27710 failed.
27711
794c3ad3
UD
277122011-01-14 Ulrich Drepper <drepper@gmail.com>
27713
70181fdd
UD
27714 [BZ #10563]
27715 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27716 to make the syscall.
27717 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27718
794c3ad3
UD
27719 [BZ #12378]
27720 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27721 and fall back to matching as normal character if the string ends before
27722 the matching ']' is found. This is what POSIX requires.
27723 * posix/testfnm.c: Adjust test result.
27724 * posix/globtest.sh: Adjust test result. Add new test.
27725 * posix/tst-fnmatch.input: Likewise.
27726 * posix/tst-fnmatch2.c: Add new test.
27727
68dc9497
AS
277282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27729
27730 * elf/Makefile (check-execstack): Revert last change. Depend on
27731 check-execstack.h.
27732 (check-execstack.h): New target.
27733 (generated): Add check-execstack.h.
27734 * elf/check-execstack.c: Include "check-execstack.h".
27735 (main): Revert last change.
27736 (handle_file): Return zero if GNU_STACK is absent and
27737 DEFAULT_STACK_PERMS doesn't include PF_X.
27738
451f001b
UD
277392011-01-13 Ulrich Drepper <drepper@gmail.com>
27740
cfa28e56
UD
27741 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27742 in child fails because the descriptor is already closed.
8cf8ce17
UD
27743 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27744 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27745 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27746
1086d70d
UD
27747 [BZ #12397]
27748 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27749 syscall.
27750
451f001b
UD
27751 [BZ #10484]
27752 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27753 temporary buffer used to handle multi lookups locally.
a85b5cb4 27754 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27755
08769175
UD
277562011-01-12 Ulrich Drepper <drepper@gmail.com>
27757
27758 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27759 loader is ld.so.
27760
5e49c52e
UD
277612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27762
27763 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27764 alignment for SSE2.
27765
60522a5f
UD
277662011-01-12 Ulrich Drepper <drepper@gmail.com>
27767
27768 [BZ #12394]
27769 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27770 characters. When rounding increased number of integer digits recompute
27771 number of groups.
27772 * stdio-common/tst-grouping.c: New file.
27773 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27774
f257bbd7
UD
277752011-01-09 Ulrich Drepper <drepper@gmail.com>
27776
27777 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27778 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27779
27780 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27781 void.
27782 * bits/select.h: Likewise.
27783
fa9c15cb
UD
277842011-01-08 Ulrich Drepper <drepper@gmail.com>
27785
27786 * po/ja.po: Update from translation team.
27787
16c2895f
DM
277882011-01-04 David S. Miller <davem@sunset.davemloft.net>
27789
27790 [BZ #11155]
27791 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27792 implementation just like for lxstat, fxstatat, et al.
27793
2543fef2
JM
277942010-12-27 Jim Meyering <meyering@redhat.com>
27795
27796 [BZ #12348]
27797 * posix/regexec.c (build_trtable): Return failure indication upon
27798 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27799
98727dbe
UD
278002010-12-25 Ulrich Drepper <drepper@gmail.com>
27801
5bd6dc5c
UD
27802 [BZ #12201]
27803 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27804 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27805 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27806 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27807
97983464
UD
27808 [BZ #12207]
27809 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27810
98727dbe
UD
27811 [BZ #12204]
27812 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27813 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27814
4a531bb0
L
278152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27816
27817 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27818 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27819 script has SORT_BY_INIT_PRIORITY.
27820 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27821 NO_CTORS_DTORS_SECTIONS is defined.
27822 * elf/soinit.c: Likewise.
27823 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27824 NO_CTORS_DTORS_SECTIONS is defined.
27825 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27826 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27827 * sysdeps/sh/init-first.c: Likewise.
27828 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27829
07eb4b71
UD
278302010-12-24 Ulrich Drepper <drepper@gmail.com>
27831
27832 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27833 always use the slow path.
27834
30950a5f
RA
278352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27836
27837 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27838 similar rule which adds the sysdep directories to the header search in
27839 order to pick up the correct platform stackinfo.h.
27840 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27841 perform test if it is, otherwise return successfully without testing.
27842 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27843 DEFAULT_STACK_PERMS define in stackinfo.h.
27844 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27845 defined in stackinfo.h.
27846 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27847 DEFAULT_STACK_PERMS defined in stackinfo.h.
27848 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27849 * sysdeps/ia64/stackinfo.h: Likewise.
27850 * sysdeps/s390/stackinfo.h: Likewise.
27851 * sysdeps/sh/stackinfo.h: Likewise.
27852 * sysdeps/sparc/stackinfo.h: Likewise.
27853 * sysdeps/x86_64/stackinfo.h: Likewise.
27854 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27855 PF_X for powerpc64. Retain PF_X for powerpc32.
27856
db753e2c
UD
278572010-12-19 Ulrich Drepper <drepper@gmail.com>
27858
14b697f7
UD
27859 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27860 accurately.
db753e2c
UD
27861 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27862 GETDENTS_64BIT_ALIGNED.
27863
28300719
UD
278642010-12-14 Ulrich Drepper <dreper@gmail.com>
27865
14b697f7 27866 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27867
4f197237
AS
278682010-12-10 Andreas Schwab <schwab@redhat.com>
27869
dbb0472f
AS
27870 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27871 _GNU_SOURCE.
27872
4f197237
AS
27873 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27874 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27875 Remove __restrict.
27876 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27877 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27878
fb88ac72
UD
278792010-12-09 Ulrich Drepper <drepper@gmail.com>
27880
27881 [BZ #11655]
27882 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27883 are initialized.
27884
42acbb92
JJ
278852010-12-09 Jakub Jelinek <jakub@redhat.com>
27886
27887 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27888
c038d98d
UD
278892010-12-03 Ulrich Drepper <drepper@gmail.com>
27890
27891 * po/it.po: Update from translation team.
27892
3a4a2499
L
278932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27894
27895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27896 unused codes.
27897
1e24cf6e
UD
278982010-11-30 Ulrich Drepper <drepper@gmail.com>
27899
27900 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27901
a7690819
AS
279022010-11-24 Andreas Schwab <schwab@redhat.com>
27903
27904 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27905 specially.
27906 (gaih_getanswer_slice): Likewise.
27907
3bf8d1b1
JJ
279082010-10-20 Jakub Jelinek <jakub@redhat.com>
27909
27910 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27911
6db52fbb
PB
279122010-05-31 Petr Baudis <pasky@suse.cz>
27913
27914 [BZ #11149]
27915 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27916 silently even in the chroot mode.
27917
eaca7569
UD
279182010-11-22 Ulrich Drepper <drepper@gmail.com>
27919
27920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27921 last patch a bit. Pretty printing
27922
3056dcdb
UD
279232010-05-31 Petr Baudis <pasky@suse.cz>
27924
27925 [BZ #10085]
27926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27927 initialization of skip_initgroups_dyn.
27928
cf7c9078
UD
279292010-11-19 Ulrich Drepper <drepper@gmail.com>
27930
27931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27932 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27933
a1fb5e3e
UD
279342010-11-16 Ulrich Drepper <drepper@gmail.com>
27935
27936 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27937
3540d66b
AS
279382010-11-11 Andreas Schwab <schwab@redhat.com>
27939
27940 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27941 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27942 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27943 ($(objpfx)tst-fnmatch-mem): New rule.
27944 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27945 * posix/tst-fnmatch.c (main): Call mtrace.
27946
13b69574
L
279472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27948
27949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27950 Support Intel processor model 6 and model 0x2c.
27951
da93d214
LM
279522010-11-10 Luis Machado <luisgpm@br.ibm.com>
27953
27954 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27955 signed comparison.
27956
8ca52c6e
L
279572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27958
27959 [BZ #12205]
27960 * string/test-strncasecmp.c (check_result): New function.
27961 (do_one_test): Use it.
27962 (check1): New function.
27963 (test_main): Use it.
27964 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27965 Support strcasecmp and strncasecmp.
27966
69da074d
UD
279672010-11-08 Ulrich Drepper <drepper@gmail.com>
27968
27969 [BZ #12194]
27970 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27972
ff02d528
L
279732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27974
27975 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27976 IFUNC support.
27977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27978 memset-x86-64.
27979 * sysdeps/x86_64/multiarch/bzero.S: New file.
27980 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27981 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27982 * sysdeps/x86_64/multiarch/memset.S: New file.
27983 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27985 Set bit_Prefer_SSE_for_memop for Intel processors.
27986 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27987 Define.
27988 (index_Prefer_SSE_for_memop): Define.
27989 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27990
344d0b54
LM
279912010-11-04 Luis Machado <luisgpm@br.ibm.com>
27992
27993 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27994 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27995
c0dde15b
UD
279962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27997
27998 [BZ #12191]
27999 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28000 (__x86_64_raw_data_cache_size_half): Likewise.
28001 (__x86_64_raw_shared_cache_size): Likewise.
28002 (__x86_64_raw_shared_cache_size_half): Likewise.
28003
28004 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28005 (__x86_64_raw_data_cache_size_half): Likewise.
28006 (__x86_64_raw_shared_cache_size): Likewise.
28007 (__x86_64_raw_shared_cache_size_half): Likewise.
28008 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28009 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28010 and __x86_64_raw_shared_cache_size_half. Round
28011 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28012 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28013 to multiple of 256 bytes.
28014
0e516e0e
MS
280152010-11-03 Ulrich Drepper <drepper@gmail.com>
28016
28017 [BZ #12167]
28018 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28019 of inacessible symlinks. Verify result of symlink before returning it.
28020 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28021 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28022
0e012e87
ER
280232010-10-28 Erich Ritz <erichritz@gmail.com>
28024
28025 * math/math.h (isinf): Fix typo in comment.
28026
de0ff7bc
UD
280272010-11-01 Ulrich Drepper <drepper@gmail.com>
28028
28029 * po/da.po: Update from translation team.
28030
fa41c84d
UD
280312010-10-26 Ulrich Drepper <drepper@gmail.com>
28032
28033 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28034 is added to the list.
28035
f0967738
AK
280362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28037 Ulrich Drepper <drepper@gmail.com>
28038
28039 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28040 the global list here. Move code to...
28041 (_dl_add_to_namespace_list): ...here. New function.
28042 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28043 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28044 * elf/dl-load.c (lose): Don't remove the element from the list.
28045 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28046 (_dl_map_object): Likewise.
28047
280482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
28049
28050 [BZ #12159]
28051 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28052 into all bytes of SSE register.
28053 Patch by Richard Li <richardpku@gmail.com>.
28054
f0967738 280552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
28056
28057 [BZ #12140]
28058 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28059 perturbing.
28060
d0b9e94f
MB
280612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28062
28063 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28064 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28065 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28066 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28068 submachine.
28069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28070
8e9f92e9
AS
280712010-10-22 Andreas Schwab <schwab@redhat.com>
28072
28073 * include/dlfcn.h (__RTLD_SECURE): Define.
28074 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28075 mode & __RTLD_SECURE instead.
28076 (open_path): Rename preloaded parameter to secure.
28077 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28078 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28079 * elf/dl-deps.c (openaux): Likewise.
28080 * elf/rtld.c (struct map_args): Remove is_preloaded.
28081 (map_doit): Don't use it.
28082 (dl_main): Likewise.
28083 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28084 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28085
bc96fbda
AS
280862010-09-09 Andreas Schwab <schwab@redhat.com>
28087
28088 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28089 (sysd-rules-targets): Remove duplicates.
28090 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28091 rtld-%.$o dependency.
28092
22cd1c9b
AS
280932010-10-18 Andreas Schwab <schwab@redhat.com>
28094
28095 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28096 _dl_map_object do it.
28097
18edac48
UD
280982010-10-19 Ulrich Drepper <drepper@gmail.com>
28099
28100 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28101 fast fma builtins, define the macros in the C99 standard.
28102 (FP_FAST_FMAF): Likewise.
28103 (FP_FAST_FMAL): Likewise.
28104 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28105
28106 * bits/mathdef.h: Update copyright year.
28107 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28108
d2050124
MM
281092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28110
28111 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28112 builtins, define the macros in the C99 standard.
28113 (FP_FAST_FMAF): Likewise.
28114 (FP_FAST_FMAL): Likewise.
28115 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28116 multiply/add.
28117 (FP_FAST_FMAF): Likewise.
28118
475facd1
JJ
281192010-10-15 Jakub Jelinek <jakub@redhat.com>
28120
28121 [BZ #3268]
28122 * math/libm-test.inc (fma_test): Some new testcases.
28123 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28124 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28125 y and infinite z. Do multiplication by C already in long double.
28126 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28127 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28128 y and infinite z. Do bitwise or of inexact bit into u.d.
28129 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28130 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28131 * sysdeps/i386/fpu/s_fma.S: Removed.
28132 * sysdeps/i386/fpu/s_fmal.S: Removed.
28133
7c08a05c
JJ
281342010-10-16 Jakub Jelinek <jakub@redhat.com>
28135
28136 [BZ #3268]
28137 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28138 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28139 computation is not scheduled after fetestexcept. Fix value
28140 of minimum denormal long double.
28141
f3f7372d
JJ
281422010-10-14 Jakub Jelinek <jakub@redhat.com>
28143
28144 [BZ #3268]
28145 * math/libm-test.inc (fma_test): Add some more tests.
28146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28147 correctly.
28148
14d43591
AS
281492010-10-15 Andreas Schwab <schwab@redhat.com>
28150
28151 * scripts/data/localplt-s390-linux-gnu.data: New file.
28152 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28153
5e908464
JJ
281542010-10-13 Jakub Jelinek <jakub@redhat.com>
28155
28156 [BZ #3268]
28157 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28158 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28159 instead of dbl-64.
28160 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28161 inlines.
28162 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28164 if one of x and y is very large and the other is subnormal.
28165 * sysdeps/s390/fpu/s_fmaf.c: New file.
28166 * sysdeps/s390/fpu/s_fma.c: New file.
28167 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28168 * sysdeps/powerpc/fpu/s_fma.S: New file.
28169 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28170 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28171 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28172
281732010-10-12 Jakub Jelinek <jakub@redhat.com>
28174
28175 [BZ #3268]
28176 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28177 fma tests.
28178 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28179 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28180 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28181 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28182 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28183 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28184 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28185
b833d51f
UD
281862010-10-12 Ulrich Drepper <drepper@redhat.com>
28187
28188 [BZ #12078]
28189 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28190 * posix/bug-regex31.input: Add test case.
28191
1751705d
UD
281922010-10-11 Ulrich Drepper <drepper@gmail.com>
28193
e9b9cbf5
UD
28194 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28195 * posix/bug-regex31.input: New file.
28196
28197 [BZ #12078]
28198 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28199 (parse_sub_exp): Fix last change, use postorder.
28200
ef06edbe
UD
28201 * posix/bug-regex31.c: New file.
28202 * posix/Makefile: Add rules to build and run bug-regex31.
28203
a129c80d
UD
28204 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28205
28206 [BZ #12078]
28207 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28208
b76b818e
UD
28209 [BZ #12108]
28210 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28211 to have entries in sys_siglist.
28212
1751705d
UD
28213 [BZ #12093]
28214 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28215 be NULL.
28216
9ff8d36f
JJ
282172010-10-07 Jakub Jelinek <jakub@redhat.com>
28218
28219 [BZ #3268]
28220 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28221 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28222 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28223 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28224 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28225 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28226 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28227 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28228 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28229 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28230 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28232 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28233 * math/ftestexcept.c (fetestexcept): Likewise.
28234 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28235 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28236 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28237 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28238 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28239 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28240 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28241
af325969
UD
282422010-10-11 Ulrich Drepper <drepper@gmail.com>
28243
c579b202 28244 [BZ #12107]
af325969
UD
28245 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28246 newline.
28247
67a67b95
UD
282482010-10-06 Ulrich Drepper <drepper@gmail.com>
28249
28250 * string/bug-strstr1.c: New file.
28251 * string/Makefile: Add rules to build and run bug-strstr1.
28252
5fb308bc
EB
282532010-10-05 Eric Blake <eblake@redhat.com>
28254
28255 [BZ #12092]
28256 * string/str-two-way.h (two_way_long_needle): Always clear memory
28257 when skipping input due to the shift table.
28258
45db99c7
UD
282592010-10-03 Ulrich Drepper <drepper@gmail.com>
28260
3b111893
UD
28261 [BZ #12005]
28262 * malloc/mcheck.c: Handle large requests.
28263
45db99c7
UD
28264 [BZ #12077]
28265 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28266 for strncmp and strncasecmp.
28267 * string/stratcliff.c: Add tests for strcmp and strncmp.
28268 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28269
cf7a1eb8
NI
282702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28271
28272 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28273 __set_fpscr.
28274
6484ba5e
AJ
282752010-09-30 Andreas Jaeger <aj@suse.de>
28276
28277 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28278 (CGROUP_SUPER_MAGIC): Define.
28279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28280 Handle btrfs and cgroup file systems.
28281 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28282 Likewise.
28283
91c42559
LM
282842010-09-27 Luis Machado <luisgpm@br.ibm.com>
28285
28286 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28287 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28288
87a97932
AK
282892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28290
28291 [BZ #12067]
28292 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28293 trying to locate the ELF header.
28294
c21cc9bc
AS
282952010-09-27 Andreas Schwab <schwab@redhat.com>
28296
28297 [BZ #11611]
28298 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28299 Mask out sign-bit copies when constructing f_fsid.
28300
315970f6
PB
283012010-09-24 Petr Baudis <pasky@suse.cz>
28302
28303 * debug/stack_chk_fail_local.c: Add missing licence exception.
28304 * debug/warning-nop.c: Likewise.
28305
1ac7a2c7
JM
283062010-09-15 Joseph Myers <joseph@codesourcery.com>
28307
28308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28309 implementing getdents64 using getdents syscall, set d_type if
28310 __ASSUME_GETDENTS32_D_TYPE.
28311
56801c50
AS
283122010-09-16 Andreas Schwab <schwab@redhat.com>
28313
28314 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28315 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28316
dda51327
UD
283172010-09-21 Ulrich Drepper <drepper@redhat.com>
28318
28319 [BZ #12037]
28320 * posix/unistd.h: Undo change of feature selection for ftruncate from
28321 2010-01-11.
28322
8ffcee4a
UD
283232010-09-20 Ulrich Drepper <drepper@redhat.com>
28324
a545ecd9 28325 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28326 detection.
28327
e24f0a8b
AS
283282010-09-20 Andreas Schwab <schwab@redhat.com>
28329
28330 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28331 fanotify_mark.
28332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28333
7291c56f
AS
283342010-09-14 Andreas Schwab <schwab@redhat.com>
28335
28336 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28337 variables after CHECK_SP call.
28338 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28339
bc5fb037
AS
283402010-09-13 Andreas Schwab <schwab@redhat.com>
28341 Ulrich Drepper <drepper@redhat.com>
28342
28343 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28344 re-relocationg ld.so.
28345 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28346 _dl_init_paths call.
28347 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28348 here anymore.
28349
e66e7419
UD
283502010-09-14 Ulrich Drepper <drepper@redhat.com>
28351
28352 * resolv/res_init.c (__res_vinit): Count the default server we added.
28353
c044aa75
CLT
283542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28355 Ulrich Drepper <drepper@redhat.com>
28356
28357 [BZ #11968]
28358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28359 (____longjmp_chk): Use %ebx for saving value across system call.
28360 Add unwind info.
28361
32cf4069
AS
283622010-09-06 Andreas Schwab <schwab@redhat.com>
28363
28364 * manual/Makefile: Don't mix pattern rules with normal rules.
28365
817328ee
AS
283662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28367
28368 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28369 operation.
28370 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28371 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28372 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28373 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28374 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28375 Likewise.
28376
29fddf61
UD
283772010-09-04 Ulrich Drepper <drepper@redhat.com>
28378
28379 [BZ #11979]
28380 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28381 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28382
0959ffc9
UD
283832010-09-02 Ulrich Drepper <drepper@redhat.com>
28384
28385 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28386 * sysdeps/x86_64/addmul_1.S: Likewise.
28387 * sysdeps/x86_64/lshift.S: Likewise.
28388 * sysdeps/x86_64/mul_1.S: Likewise.
28389 * sysdeps/x86_64/rshift.S: Likewise.
28390 * sysdeps/x86_64/sub_n.S: Likewise.
28391 * sysdeps/x86_64/submul_1.S: Likewise.
28392
ece29840
ST
283932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28394
0959ffc9
UD
28395 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28396 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28397 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28398 * bits/sched.h [__need_schedparam]
ece29840 28399 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28400 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28401 (__defined_schedparam): Define to 1.
ece29840
ST
28402 (__sched_param): New structure, identical to sched_param.
28403 (__need_schedparam): Undefine.
28404
e53a31fe
MF
284052010-08-31 Mike Frysinger <vapier@gentoo.org>
28406
fdc0c10d
MF
28407 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28408 (epoll_create1): Declare.
28409
e53a31fe
MF
28410 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28411
a726d796
AS
284122010-08-31 Andreas Schwab <schwab@redhat.com>
28413
28414 [BZ #7066]
28415 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28416 shifting retval into place.
28417
2f3e3dc7
UD
284182010-09-01 Ulrich Drepper <drepper@redhat.com>
28419
f2933da9
UD
28420 * nis/rpcsvc/nis.h: Update copyright notice.
28421 * nis/rpcsvc/nis.x: Likewise.
28422 * nis/rpcsvc/nis_callback.h: Likewise.
28423 * nis/rpcsvc/nis_callback.x: Likewise.
28424 * nis/rpcsvc/nis_object.x: Likewise.
28425 * nis/rpcsvc/nis_tags.h: Likewise.
28426 * nis/rpcsvc/yp.h: Likewise.
28427 * nis/rpcsvc/yp.x: Likewise.
28428 * nis/rpcsvc/ypupd.h: Likewise.
28429 * nis/yp_xdr.c: Likewise.
28430 * nis/ypupdate_xdr.c: Likewise.
28431
2f3e3dc7
UD
28432 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28433 mainly the body of pmap_getport. Add parameters to specify timeouts.
28434 (pmap_getport): Use __libc_rpc_getport.
28435 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28436 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28437 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28438
f3dcc2f9
AS
284392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28440
28441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28442 fanotify_mark.
28443
6d34eb5b
RM
284442010-08-27 Roland McGrath <roland@redhat.com>
28445
28446 * sysdeps/i386/i686/multiarch/Makefile
28447 (CFLAGS-varshift.c): New variable.
28448
9ea3de11
UD
284492010-08-27 Ulrich Drepper <drepper@redhat.com>
28450
c96d23fc
UD
28451 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28452 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28453
9ea3de11
UD
28454 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28455
28456 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28457
623aac7f
L
284582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28459
28460 * sysdeps/x86_64/strlen.S: Unroll the loop.
28461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28462 strlen-sse2 strlen-sse2-bsf.
28463 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28464 __strlen_no_bsf if bit_Slow_BSF is set.
28465 (__strlen_sse42): Removed.
28466 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28467 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28468
8b2b7715
RM
284692010-08-25 Roland McGrath <roland@redhat.com>
28470
28471 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28472 * sysdeps/x86_64/multiarch/varshift.c: New file.
28473 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28474 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28475 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28476 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28477
e73015f2
L
284782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28479
28480 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28481 strlen-sse2 strlen-sse2-bsf.
28482 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28483 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28484 (__strlen_sse2): Removed.
28485 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28486 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28488 bit_Slow_BSF for Atom.
28489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28490 (index_Slow_BSF): Define.
28491 (HAS_SLOW_BSF): Define.
28492
df24a73e
UD
284932010-08-25 Ulrich Drepper <drepper@redhat.com>
28494
28495 [BZ #10851]
28496 * resolv/res_init.c (__res_vinit): When no server address at all
28497 is given default to loopback.
28498
f2ac4868
RM
284992010-08-24 Roland McGrath <roland@redhat.com>
28500
09055553
RM
28501 * configure.in: Remove config-name.h generation.
28502 * configure: Regenerated.
28503 * config-name.in: File removed.
28504 * scripts/config-uname.sh: New file.
28505 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28506 ($(objdir)config-name.h): New target.
28507
f2ac4868
RM
28508 * sunrpc/rpc_parse.h: Avoid nested comment.
28509
73f27d5e
RH
285102010-08-24 Richard Henderson <rth@redhat.com>
28511 Ulrich Drepper <drepper@redhat.com>
28512 H.J. Lu <hongjiu.lu@intel.com>
28513
28514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28516 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28517 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28518 _mm_alignr_epi8 with _mm_loadu_si128.
28519 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28520 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28521 (__m128i_shift_right): Removed.
28522 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28523 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28524 * sysdeps/x86_64/multiarch/varshift.h: New file.
28525 * sysdeps/x86_64/multiarch/varshift.S: New file.
28526
84b9230c
MF
285272010-08-21 Mike Frysinger <vapier@gentoo.org>
28528
28529 * configure.in: Move assembler checks to before sysdep dir checking.
28530
9bbd0ddc
PB
285312010-08-20 Petr Baudis <pasky@suse.cz>
28532
28533 * LICENSES: Sync the sunrpc license.
28534
9da4bb31
UD
285352010-08-19 Ulrich Drepper <drepper@redhat.com>
28536
a7ab6ec8
UD
28537 * sunrpc/auth_des.c: Update copyright notice once again.
28538 * sunrpc/auth_none.c: Likewise.
28539 * sunrpc/auth_unix.c: Likewise.
28540 * sunrpc/authdes_prot.c: Likewise.
28541 * sunrpc/authuxprot.c: Likewise.
28542 * sunrpc/bindrsvprt.c: Likewise.
28543 * sunrpc/clnt_gen.c: Likewise.
28544 * sunrpc/clnt_perr.c: Likewise.
28545 * sunrpc/clnt_raw.c: Likewise.
28546 * sunrpc/clnt_simp.c: Likewise.
28547 * sunrpc/clnt_tcp.c: Likewise.
28548 * sunrpc/clnt_udp.c: Likewise.
28549 * sunrpc/clnt_unix.c: Likewise.
28550 * sunrpc/des_crypt.c: Likewise.
28551 * sunrpc/des_soft.c: Likewise.
28552 * sunrpc/get_myaddr.c: Likewise.
28553 * sunrpc/getrpcport.c: Likewise.
28554 * sunrpc/key_call.c: Likewise.
28555 * sunrpc/key_prot.c: Likewise.
28556 * sunrpc/openchild.c: Likewise.
28557 * sunrpc/pm_getmaps.c: Likewise.
28558 * sunrpc/pm_getport.c: Likewise.
28559 * sunrpc/pmap_clnt.c: Likewise.
28560 * sunrpc/pmap_prot.c: Likewise.
28561 * sunrpc/pmap_prot2.c: Likewise.
28562 * sunrpc/pmap_rmt.c: Likewise.
28563 * sunrpc/rpc/auth.h: Likewise.
28564 * sunrpc/rpc/auth_unix.h: Likewise.
28565 * sunrpc/rpc/clnt.h: Likewise.
28566 * sunrpc/rpc/des_crypt.h: Likewise.
28567 * sunrpc/rpc/key_prot.h: Likewise.
28568 * sunrpc/rpc/netdb.h: Likewise.
28569 * sunrpc/rpc/pmap_clnt.h: Likewise.
28570 * sunrpc/rpc/pmap_prot.h: Likewise.
28571 * sunrpc/rpc/pmap_rmt.h: Likewise.
28572 * sunrpc/rpc/rpc.h: Likewise.
28573 * sunrpc/rpc/rpc_des.h: Likewise.
28574 * sunrpc/rpc/rpc_msg.h: Likewise.
28575 * sunrpc/rpc/svc.h: Likewise.
28576 * sunrpc/rpc/svc_auth.h: Likewise.
28577 * sunrpc/rpc/types.h: Likewise.
28578 * sunrpc/rpc/xdr.h: Likewise.
28579 * sunrpc/rpc_clntout.c: Likewise.
28580 * sunrpc/rpc_cmsg.c: Likewise.
28581 * sunrpc/rpc_common.c: Likewise.
28582 * sunrpc/rpc_cout.c: Likewise.
28583 * sunrpc/rpc_dtable.c: Likewise.
28584 * sunrpc/rpc_hout.c: Likewise.
28585 * sunrpc/rpc_main.c: Likewise.
28586 * sunrpc/rpc_parse.c: Likewise.
28587 * sunrpc/rpc_parse.h: Likewise.
28588 * sunrpc/rpc_prot.c: Likewise.
28589 * sunrpc/rpc_sample.c: Likewise.
28590 * sunrpc/rpc_scan.c: Likewise.
28591 * sunrpc/rpc_scan.h: Likewise.
28592 * sunrpc/rpc_svcout.c: Likewise.
28593 * sunrpc/rpc_tblout.c: Likewise.
28594 * sunrpc/rpc_util.c: Likewise.
28595 * sunrpc/rpc_util.h: Likewise.
28596 * sunrpc/rpcinfo.c: Likewise.
28597 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28598 * sunrpc/rpcsvc/key_prot.x: Likewise.
28599 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28600 * sunrpc/rpcsvc/mount.x: Likewise.
28601 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28602 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28603 * sunrpc/rpcsvc/rex.x: Likewise.
28604 * sunrpc/rpcsvc/rstat.x: Likewise.
28605 * sunrpc/rpcsvc/rusers.x: Likewise.
28606 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28607 * sunrpc/rpcsvc/spray.x: Likewise.
28608 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28609 * sunrpc/rtime.c: Likewise.
28610 * sunrpc/svc.c: Likewise.
28611 * sunrpc/svc_auth.c: Likewise.
28612 * sunrpc/svc_authux.c: Likewise.
28613 * sunrpc/svc_raw.c: Likewise.
28614 * sunrpc/svc_run.c: Likewise.
28615 * sunrpc/svc_simple.c: Likewise.
28616 * sunrpc/svc_tcp.c: Likewise.
28617 * sunrpc/svc_udp.c: Likewise.
28618 * sunrpc/svc_unix.c: Likewise.
28619 * sunrpc/svcauth_des.c: Likewise.
28620 * sunrpc/xcrypt.c: Likewise.
28621 * sunrpc/xdr.c: Likewise.
28622 * sunrpc/xdr_array.c: Likewise.
28623 * sunrpc/xdr_float.c: Likewise.
28624 * sunrpc/xdr_mem.c: Likewise.
28625 * sunrpc/xdr_rec.c: Likewise.
28626 * sunrpc/xdr_ref.c: Likewise.
28627 * sunrpc/xdr_sizeof.c: Likewise.
28628 * sunrpc/xdr_stdio.c: Likewise.
28629
9da4bb31
UD
28630 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28631 handling.
28632
bdaa77bc
AS
286332010-08-19 Andreas Schwab <schwab@redhat.com>
28634
28635 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28636
fe2f79db
LM
286372010-08-19 Luis Machado <luisgpm@br.ibm.com>
28638
28639 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28640 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28641 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28642 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28643 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28644 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28645 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28646 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28648 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28649 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28650 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28651 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28652 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28653
b9b42ee0
AB
286542010-07-26 Anton Blanchard <anton@samba.org>
28655
28656 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28657 * malloc/arena.c (heap_trim): Likewise.
28658
1c06ba31
UD
286592010-08-16 Ulrich Drepper <drepper@redhat.com>
28660
28661 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28662 here. Not...
28663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28664 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28665
f8392f40
L
286662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28667
28668 * sysdeps/i386/elf/Makefile: New file.
28669
3162f12e
AS
286702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28671
28672 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28673 from fanotify_init.
28674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28676
28c90b2c
UD
286772010-08-15 Ulrich Drepper <drepper@redhat.com>
28678
28679 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28680 of strncasecmp_l.
1feccb6c 28681 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28682
ca6bb004
UD
286832010-08-14 Ulrich Drepper <drepper@redhat.com>
28684
e9f82e0d
UD
28685 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28686 strncase_l-nonascii.
28687 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28688 Add strncase_l-ssse3.
28689 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28690 * sysdeps/x86_64/strcmp.S: Likewise.
28691 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28692 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28693 * sysdeps/x86_64/strncase.S: New file.
28694 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28695 * sysdeps/x86_64/strncase_l.S: New file.
28696 * string/Makefile (strop-tests): Add strncasecmp.
28697 * string/test-strncasecmp.c: New file.
28698
28699 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28700 warning.
28701
ca6bb004
UD
28702 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28703 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28704
052fa7b3
AS
287052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28706
28707 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28708
962dba78
UD
287092010-08-12 Ulrich Drepper <drepper@redhat.com>
28710
28711 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28712 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28713 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28714
bebff237
AM
287152010-05-01 Alan Modra <amodra@gmail.com>
28716
28717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28718 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28719 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28720 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28721 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28722 tidying. Don't tail-call __sigjmp_save for static lib.
28723 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28724 save location.
28725 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28726 (CALL_MCOUNT): Add eh info, and nop after bl.
28727 (TAIL_CALL_SYSCALL_ERROR): New macro.
28728 (PSEUDO_RET): Use it.
28729 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28730 Correct save location of integer regs and cr.
28731 (_dl_profile_resolve): Correct cr save location. Delete nops
28732 after bl when SHARED. Reduce cfi size a little by better
28733 placement of cfi directives.
28734 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28735 make a stack frame. Instead use parm save area as a temp.
28736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28737 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28739 Don't make a stack frame for parent, use parm save area.
28740 Increase child stack frame to 112 bytes. Don't save unused reg,
28741 and adjust reg usage. Set up cfi on error recovery and
28742 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28744 (__makecontext): Add dummy nop after jump to exit.
28745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28746 Use correct parm save area and cr save, reduce stack frame.
28747 Correct cfi for possible PSEUDO_RET frame setup.
28748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28749 Branch to local label emitted by PSEUDO_RET rather than
28750 __syscall_error.
28751
02637374
AS
287522010-08-12 Andreas Schwab <schwab@redhat.com>
28753
28754 [BZ #11904]
28755 * locale/programs/locale.c (print_assignment): New function.
28756 (show_locale_vars): Use it.
28757
c3e2f19b
UD
287582010-08-11 Ulrich Drepper <drepper@redhat.com>
28759
3cdaa6ad
UD
28760 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28761 field.
28762 (struct statfs64): Likewise.
28763 (_STATFS_F_FLAGS): Define.
28764 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28765 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28766 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28767 (ST_VALID): Define locally.
28768 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28769 __statvfs_getflags, use the provided value.
28770 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28771 __ASSUME_STATFS_F_FLAGS.
28772
754f7da3
UD
28773 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28774
10b3bedc
UD
28775 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28776 Add sys/fanotify.h.
28777 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28778 fanotify_mask for GLIBC_2.13.
28779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28780 fanotify_init and fanotify_mark.
28781 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28782 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28783
c08fb0d7
UD
28784 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28785 Add prlimit.
28786 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28787 prlimit64 for GLIBC_2.13.
28788 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28789 prlimit64.
28790 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28791 syscall.
28792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28793 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28794 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28795 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28797 add prlimit alias.
28798 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28799
15bac72b
UD
28800 [BZ #11903]
28801 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28802 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28803
c3e2f19b
UD
28804 * nss/Makefile: Add rules to build and run tst-nss-test1.
28805 * shlib-versions: Add entry for libnss_test1.
28806 * nss/nss_test1.c: New file.
28807 * nss/tst-nss-test1.c: New file.
28808
28809 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28810 (__nss_configure_lookup): Set appropriate entry in
28811 __nss_configure_lookup to true.
28812 * nss/nsswitch.h: Define enum with indeces of databases in
28813 databases and __nss_database_custom arrays. Declare
28814 __nss_database_custom.
28815 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28816 to avoid using nscd when custom rules are installed.
28817 * nss/getXXbyYY_r.c: Likewise.
28818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28819
28820 * nss/nss_files/files-parse.c: Whitespace fixes.
28821
f15ce4d8
UD
288222010-08-09 Ulrich Drepper <drepper@redhat.com>
28823
28824 [BZ #11883]
28825 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28826 * posix/fnmatch_loop.c: Likewise.
28827
d22e4cc9
AK
288282010-07-17 Andi Kleen <ak@linux.intel.com>
28829
28830 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28831 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28832 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28833 * Versions.def [GLIBC_2.13]: Add.
28834
805bc17d
UD
288352010-08-06 Ulrich Drepper <drepper@redhat.com>
28836
28837 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28838 Also fail if tpwd after pwuid call is NULL.
28839
5a42321d
ST
288402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28841
28842 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28843 when converting to ms.
28844
fd3ebeda
ST
288452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28846
28847 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28848 EOPNOTSUPP errors with ENOTTY.
28849 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28850 EOPNOTSUPP errors with ENOTTY.
28851
73507d3a
UD
288522010-07-31 Ulrich Drepper <drepper@redhat.com>
28853
28854 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28855 Add strcasecmp_l-ssse3.
28856 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28857 strcasecmp.
28858 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28859 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28860 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28861
fe36dd02
UD
288622010-07-30 Ulrich Drepper <drepper@redhat.com>
28863
66f6765a
UD
28864 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28865
42e08a54
UD
28866 * string/Makefile (strop-tests): Add strcasecmp.
28867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28868 strcasecmp_l-nonascii.
28869 (gen-as-const-headers): Add locale-defines.sym.
28870 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28871 * sysdeps/x86_64/strcasecmp.S: New file.
28872 * sysdeps/x86_64/strcasecmp_l.S: New file.
28873 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28874 * sysdeps/x86_64/locale-defines.sym: New file.
28875 * string/test-strcasecmp.c: New file.
28876
fe36dd02
UD
28877 * string/test-strcasestr.c: Test both ends of the range of characters.
28878 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28879
48cbc0d6
RM
288802010-07-29 Roland McGrath <roland@redhat.com>
28881
76e6d6bc 28882 [BZ #11856]
48cbc0d6
RM
28883 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28884
880113d9
UD
288852010-07-27 Ulrich Drepper <drepper@redhat.com>
28886
28887 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28888 for ld.so.
28889
deb9cabb
AS
288902010-07-27 Andreas Schwab <schwab@redhat.com>
28891
28892 * manual/memory.texi (Malloc Tunable Parameters): Document
28893 M_PERTURB.
28894
1c7570ff
RM
288952010-07-26 Roland McGrath <roland@redhat.com>
28896
28897 [BZ #11840]
28898 * configure.in (-fgnu89-inline check): Set and substitute
28899 gnu89_inline, not libc_cv_gnu89_inline.
28900 * configure: Regenerated.
28901 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28902
24fb0f88
UD
289032010-07-26 Ulrich Drepper <drepper@redhat.com>
28904
28905 * string/test-strnlen.c: New file.
28906 * string/Makefile (strop-tests): Add strnlen.
28907 * string/tester.c (test_strnlen): Add a few more test cases.
28908 * string/tst-strlen.c: Better error reporting.
28909
28910 * sysdeps/x86_64/strnlen.S: New file.
28911
8e96b93a
UD
289122010-07-24 Ulrich Drepper <drepper@redhat.com>
28913
28914 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28915 lower-latency instructions.
28916
dbc676d4
UD
289172010-07-23 Ulrich Drepper <drepper@redhat.com>
28918
28919 * string/test-strcasestr.c: New file.
28920 * string/test-strstr.c: New file.
28921 * string/Makefile (strop-tests): Add strstr and strcasestr.
28922 * string/str-two-way.h: Don't undefine MAX.
28923 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28924
f6a31e0e
AS
289252010-07-21 Andreas Schwab <schwab@redhat.com>
28926
28927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28928 strcasestr-nonascii.
28929 (CFLAGS-strcasestr-nonascii.c): Define.
28930 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28931 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28932 Remove unused attribute.
28933
5dbc3b6c
RM
289342010-07-20 Roland McGrath <roland@redhat.com>
28935
28936 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28937 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28938 ld.so.cache was broken. With it, there is no way to disable dsocaps
28939 like LD_HWCAP_MASK can disable hwcaps.
28940
23d101d8
EPM
289412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28942
28943 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28944
cc9f2e47
UD
289452010-07-16 Ulrich Drepper <drepper@redhat.com>
28946
28947 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28948 call in strcasestr.
28949 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28950 __strcasestr_sse42_nonascii.
28951 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28952 strcasestr-nonascii.c.
28953 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28954
77c1b069
LM
289552010-06-15 Luis Machado <luisgpm@br.ibm.com>
28956
28957 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28958 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28959 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28960 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28961
440566c3
UD
289622010-07-09 Ulrich Drepper <drepper@redhat.com>
28963
28964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28965 fcntl.
28966
5be9d05d
AS
289672010-07-06 Andreas Schwab <schwab@redhat.com>
28968
c30b7ee2 28969 [BZ #11577]
5be9d05d
AS
28970 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28971 dl_signal_cerror.
28972
8a492a67
UD
289732010-07-06 Ulrich Drepper <drepper@redhat.com>
28974
28975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28976 _PC_PIPE_BUF using F_GETPIPE_SZ.
28977
713df3d5
RM
289782010-07-05 Roland McGrath <roland@redhat.com>
28979
28980 * manual/arith.texi (Rounding Functions): Fix rint description
28981 implicit in round description.
28982
702e8f14
UD
289832010-07-02 Ulrich Drepper <drepper@redhat.com>
28984
28985 * elf/Makefile: Fix linking for a few tests to make recent linker
28986 happy.
28987
52ed8be9
AS
289882010-06-30 Andreas Schwab <schwab@redhat.com>
28989
28990 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28991 $(common-objpfx)libc_nonshared.a.
28992
f47c9a11
LM
289932010-06-21 Luis Machado <luisgpm@br.ibm.com>
28994
28995 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28996 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28997 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28998 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28999 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29000 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29001 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29002 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29017 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29018 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29019 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29020 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29021 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29022 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29023 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29024 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29025 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29026 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29027 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29028 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29043
6fb8cbcb
L
290442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29045
29046 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29047 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29048 * string/memmove.c (memmove): Renamed to ...
29049 (MEMMOVE): ...this. Default to memmove.
29050 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29051 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29052 (END_CHK): Define.
29053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29054 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29055 mempcpy-ssse3-back memmove-ssse3-back.
29056 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29057 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29058 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29059 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29060 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29061 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29062 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29063 * sysdeps/x86_64/multiarch/memmove.c: New file.
29064 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29065 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29066 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29067 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29068 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29069 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29070 Define.
29071 (index_Fast_Copy_Backward): Define.
29072 (HAS_ARCH_FEATURE): Define.
29073 (HAS_FAST_REP_STRING): Define.
29074 (HAS_FAST_COPY_BACKWARD): Define.
29075
4e733bac 290762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
29077
29078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29079 Restore proper fallback handling.
29080
63c4ed22
UD
290812010-06-19 Ulrich Drepper <drepper@redhat.com>
29082
ac2b484c
UD
29083 [BZ #11701]
29084 * posix/group_member.c (__group_member): Correct checking loop.
29085
63c4ed22
UD
29086 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29087 OOM in getpwuid_r correctly. Return error number when the caller
29088 should return, otherwise -1.
29089 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29090 call returning > 0 value.
29091 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29092
765ade4b
AS
290932010-06-07 Andreas Schwab <schwab@redhat.com>
29094
29095 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29096 libc_nonshared.a from targets in modules-names.
29097
80da2e09
KS
290982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29099
29100 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29101 requires it.
29102
158db122
LM
291032010-06-10 Luis Machado <luisgpm@br.ibm.com>
29104
29105 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29106 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29107 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29108 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29109
caa78cf8
AS
291102010-06-02 Andreas Schwab <schwab@redhat.com>
29111
29112 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29113
b2ef2c01
UD
291142010-06-14 Ulrich Drepper <drepper@redhat.com>
29115
29116 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29117 and F_GETPIPE_SZ.
29118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29120 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29123 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29124
fbd643b6
RM
291252010-06-14 Roland McGrath <roland@redhat.com>
29126
29127 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29128
f32f2869
JJ
291292010-06-07 Jakub Jelinek <jakub@redhat.com>
29130
29131 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29132 __REDIRECT followed by __THROW.
29133 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29134 * posix/getopt.h (getopt): Likewise.
29135
2a50c078
EPM
291362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29137
29138 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29139 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29140 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29141 in AT_FLAGS.
29142 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29143 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29144
eb5ad2eb
LM
291452010-05-28 Luis Machado <luisgpm@br.ibm.com>
29146
29147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29148
3c88fe1e
L
291492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29150
29151 [BZ #11640]
29152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29153 Properly check family and model.
29154
d2f73151
TY
291552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29156
29157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29158
ebd2e13d
LM
291592010-05-24 Luis Machado <luisgpm@br.ibm.com>
29160
29161 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29162
b32b8b45
UD
291632010-05-21 Ulrich Drepper <drepper@redhat.com>
29164
29165 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29166 symbol reference.
29167
9acbe24d
AS
291682010-05-19 Andreas Schwab <schwab@redhat.com>
29169
29170 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29171 symbol reference.
29172
f0ccf6ea
AS
291732010-05-21 Andreas Schwab <schwab@redhat.com>
29174
3d04ff3a
AS
29175 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29176 and internal_recvmmsg.
29177 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29178 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29179 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29180 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29181
f0ccf6ea
AS
29182 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29185
5b08ac57
AS
291862010-05-20 Andreas Schwab <schwab@redhat.com>
29187
29188 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29189
4828935d
LM
291902010-05-17 Luis Machado <luisgpm@br.ibm.com>
29191
29192 POWER7 optimizations.
29193 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29194 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29195
373d545e
UD
291962010-05-19 Ulrich Drepper <drepper@redhat.com>
29197
29198 * version.h: Update for 2.13 development version.
29199
21a2b1ae
AS
292002010-05-12 Andrew Stubbs <ams@codesourcery.com>
29201
29202 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29203 exceptions. Return 0.
29204
3f7dcb2b
RM
292052010-05-07 Roland McGrath <roland@redhat.com>
29206
29207 * elf/ldconfig.c (main): Add a const.
29208
5f24d53a 292092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29210
a160f8d8
UD
29211 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29212 (args_options): Add no-idn option.
29213 (ahosts_keys_int): Add idn_flags to ai_flags.
29214 (parse_option): Handle 'i' option to clear idn_flags.
29215
5f24d53a
UD
29216 * malloc/malloc.c (_int_free): Possible race in the most recently
29217 added check. Only act on the data if no current modification
29218 happened.
265bb1ce
UD
29219
29220See ChangeLog.17 for earlier changes.