]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Convert TEST_extra tests from code to data.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8c75f674
JM
12013-05-16 Joseph Myers <joseph@codesourcery.com>
2
3 * math/libm-test.inc (struct test_sincos_data): New type.
4 (RUN_TEST_LOOP_sincos): New macro.
5 (sincos_test_data): New variable.
6 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7
e6e49e59
RH
82013-05-16 Richard Henderson <rth@redhat.com>
9
10 * math/atest-exp2.c (LIMB64): New macro.
11 (CONSTSZ): New macro.
12 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13 (hexdig): Move ...
14 (print_mpn_fp): ... to function scope.
15 (read_mpn_hex): Remove.
16 (get_log2): Remove.
17 (exp2_mpn): Use mp_log2.
18 (main): Use mp_exp1.
19
15c7c18d
JM
202013-05-16 Joseph Myers <joseph@codesourcery.com>
21
105a07df
JM
22 * math/libm-test.inc: Remove comment about not testing "inexact"
23 exceptions.
24 (INEXACT_EXCEPTION): New macro.
25 (NO_INEXACT_EXCEPTION): Likewise.
26 (INVALID_EXCEPTION_OK): Update value.
27 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28 (OVERFLOW_EXCEPTION_OK): Likewise.
29 (UNDERFLOW_EXCEPTION_OK): Likewise.
30 (IGNORE_ZERO_INF_SIGN): Likewise.
31 (ERRNO_UNCHANGED): Likewise.
32 (ERRNO_EDOM): Likewise.
33 (ERRNO_ERANGE): Likewise.
34 (test_exceptions): Handle testing "inexact" exceptions.
35 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
38 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
39 INEXACT_EXCEPTION.
40 (rint_towardzero_test_data): Likewise.
41 (rint_downward_test_data): Likewise.
42 (rint_upward_test_data): Likewise.
43
e9eee333
JM
44 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45 with OVERFLOW_EXCEPTION.
46 (exp10_test_data): Likewise.
47 (exp2_test_data): Likewise.
48 (expm1_test_data): Likewise.
49 (lgamma_test_data): Likewise.
50 (pow_test_data): Likewise.
51 (tgamma_test_data): Likewise.
52 (yn_test_data): Remove duplicate test of overflow.
53
1c38ff73
JM
54 * math/libm-test.inc (struct test_cc_c_data): New type.
55 (RUN_TEST_LOOP_cc_c): New macro.
56 (cpow_test_data): New variable.
57 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
58
15c7c18d
JM
59 * math/libm-test.inc (struct test_f_L_data): New type.
60 (RUN_TEST_LOOP_f_L): New macro.
61 (llrint_test_data): New variable.
62 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
63 (llrint_tonearest_test_data): New variable.
64 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
65 (llrint_towardzero_test_data): New variable.
66 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67 (llrint_downward_test_data): New variable.
68 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
69 (llrint_upward_test_data): New variable.
70 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
71 (llround_test_data): New variable.
72 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
73
f137ff13
PC
742013-05-13 Peter Collingbourne <pcc@google.com>
75
76 * math/atest-exp2.c (get_log2): Remove const attribute.
77
3608cb24
JM
782013-05-15 Joseph Myers <joseph@codesourcery.com>
79
80 * math/libm-test.inc (struct test_f_l_data): New type.
81 (RUN_TEST_LOOP_f_l): New macro.
82 (lrint_test_data): New variable.
83 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
84 (lrint_tonearest_test_data): New variable.
85 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
86 (lrint_towardzero_test_data): New variable.
87 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
88 (lrint_downward_test_data): New variable.
89 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
90 (lrint_upward_test_data): New variable.
91 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
92 (lround_test_data): New variable.
93 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
94
39b1f617
PC
952013-05-15 Peter Collingbourne <pcc@google.com>
96
1deff3dc
PC
97 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
98 (EXTRACT_WORDS64) Use where appropriate.
99 (INSERT_WORDS64) Likewise.
100
791f3ba0
PC
101 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
102 constraints with x constraints.
103 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
104
39b1f617
PC
105 * malloc/obstack.c (_obstack_compat): Add initializer.
106
12fba011
EM
1072013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
108
109 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
110 si_trapno and add si_addr_lsb to _sifields.sigfault.
111 (si_trapno): Remove macro.
112 (si_addr_lsb): Define new macro.
113 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
114
d369f531
JM
1152013-05-15 Joseph Myers <joseph@codesourcery.com>
116
b861c6c4
JM
117 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
118 instead of TEST_f_l.
119 (llrint_test_tonearest): Likewise.
120 (llrint_test_towardzero): Likewise.
121 (llrint_test_downward): Likewise.
122 (llrint_test_upward): Likewise.
123 (llround_test): Likewise.
124
7abeee12
JM
125 * math/libm-test.inc (struct test_f_i_data): Add comment.
126 (RUN_TEST_LOOP_f_b): New macro.
127 (RUN_TEST_LOOP_f_b_tg): Likewise.
128 (finite_test_data): New variable.
129 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
130 (isfinite_test_data): New variable.
131 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
132 (isinf_test_data): New variable.
133 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
134 (isnan_test_data): New variable.
135 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
136 (isnormal_test_data): New variable.
137 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
138 (issignaling_test_data): New variable.
139 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
140 (signbit_test_data): New variable.
141 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
142
cbe8c4d3
JM
143 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
144 with INVALID_EXCEPTION.
145 (acosh_test_data): Likewise.
146 (asin_test_data): Likewise.
147 (atanh_test_data): Likewise.
148 (fmod_test_data): Likewise.
149 (log_test_data): Likewise.
150 (log10_test_data): Likewise.
151 (log2_test_data): Likewise.
152 (pow_test_data): Likewise.
153 (sqrt_test_data): Likewise.
154 (y0_test_data): Likewise.
155 (y1_test_data): Likewise.
156 (yn_test_data): Likewise.
157
5575c0e5
JM
158 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
159 function contents.
160
d369f531
JM
161 * math/libm-test.inc (struct test_ff_i_data): New type.
162 (RUN_TEST_LOOP_ff_i_tg): New macro.
163 (isgreater_test_data): New variable.
164 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
165 (isgreaterequal_test_data): New variable.
166 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
167 (isless_test_data): New variable.
168 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
169 (islessequal_test_data): New variable.
170 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
171 (islessgreater_test_data): New variable.
172 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
173 (isunordered_test_data): New variable.
174 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
175
781fd748
DM
1762013-05-14 David S. Miller <davem@davemloft.net>
177
178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
179
87aa21df
JM
1802013-05-14 Joseph Myers <joseph@codesourcery.com>
181
5e908270
JM
182 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
183
f71172e5
JM
184 * math/libm-test.inc (struct test_fF_f1_data): Change type of
185 extra_test to int.
186 (struct test_f_i_data): Change type of max_ulp to int.
187
8cfa635a
JM
188 * math/libm-test.inc (test_ffI_f1_data): New type.
189 (RUN_TEST_LOOP_ffI_f1): New macro.
190 (remquo_test_data): New variable.
191 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
192
2bcb36b2
JM
193 * setjmp/tst-setjmp-fp.c: New file.
194 * setjmp/Makefile (tests): Add tst-setjmp-fp.
195 (link-libm): New variable.
196 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
197
acbd839a
JM
198 * math/libm-test.inc (struct test_f_i_data): New type.
199 (RUN_TEST_LOOP_f_i): New macro.
200 (RUN_TEST_LOOP_f_i_tg): Likewise.
201 (fpclassify_test_data): New variable.
202 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
203 (ilogb_test_data): New variable.
204 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
205
e414d745
JM
206 * math/libm-test.inc (scalbln_test): Correct function name in END
207 call.
208
d9c2a0fd
JM
209 * math/libm-test.inc (struct test_f_f1_data): Add comment.
210 (RUN_TEST_LOOP_fI_f1): New macro.
211 (frexp_test_data): New variable.
212 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
213
9dc9095d
JM
214 * math/libm-test.inc (struct test_fF_f1_data): New type.
215 (RUN_TEST_LOOP_fF_f1): New macro.
216 (modf_test_data): New variable.
217 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
218
87aa21df
JM
219 * math/libm-test.inc (struct test_f_f1_data): New type.
220 (RUN_TEST_LOOP_f_f1): New macro.
221 (gamma_test_data): New variable.
222 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
223 (lgamma_test_data): New variable.
224 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
225
141af660
CD
2262013-05-13 Carlos O'Donell <carlos@redhat.com>
227
228 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
229 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
230 (main): Comment "tls" pseudo-hwcap.
231
6d33265c
JM
2322013-05-13 Joseph Myers <joseph@codesourcery.com>
233
68fc074c
JM
234 * math/libm-test.inc (struct test_fl_f_data): New type.
235 (RUN_TEST_LOOP_fl_f): New variable.
236 (scalbln_test_data): New variable.
237 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
238
243216e1
JM
239 * math/libm-test.inc (struct test_fi_f_data): New type.
240 (RUN_TEST_LOOP_fi_f): New macro.
241 (ldexp_test_data): New variable.
242 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
243 (scalbn_test_data): New variable.
244 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
245
6a1992e2
JM
246 * math/libm-test.inc (struct test_c_f_data): New type.
247 (RUN_TEST_LOOP_c_f): New macro.
248 (cabs_test_data): New variable.
249 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
250 (carg_test_data): New variable.
251 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
252 (cimag_test_data): New variable.
253 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
254 (creal_test_data): New variable.
255 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
256
0e400df5
JM
257 * math/libm-test.inc (struct test_if_f_data): New type.
258 (RUN_TEST_LOOP_if_f): New macro.
259 (jn_test_data): New variable.
260 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
261 (yn_test_data): New variable.
262 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
263
6d33265c
JM
264 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
265
f98ece5f
AZ
2662013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
267
268 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
269 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
270
0f7d347b
SP
2712013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
272
43fe811b
SP
273 * benchtests/Makefile (CPPFLAGS-nonlib): Add
274 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
275 (bench-deps): Add bench-timing.h.
276 * benchtests-bench-skeleton.c: Include bench-timing.h.
277 (main): Use TIMING_* macros instead of clock_gettime.
278 * benchtests/bench-timing.h: New file.
279
0f7d347b
SP
280 [BZ #14582]
281 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
282 Renamed from _LIB_VERSION.
283 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
284
601a3a5f
JM
2852013-05-12 Joseph Myers <joseph@codesourcery.com>
286
4f184d30
JM
287 * math/libm-test.inc (struct test_fff_f_data): New type.
288 (RUN_TEST_LOOP_fff_f): New macro.
289 (fma_test_data): New variable.
290 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
291 (fma_towardzero_test_data): New variable.
292 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
293 (fma_downward_test_data): New variable.
294 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
295 (fma_upward_test_data): New variable.
296 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
297
08198877
JM
298 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
299 (struct test_c_c_data): New type.
300 (RUN_TEST_LOOP_c_c): New macro.
301 (cacos_test_data): New variable.
302 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
303 (cacosh_test_data): New variable.
304 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
305 (casin_test_data): New variable.
306 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
307 (casinh_test_data): New variable.
308 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
309 (catan_test_data): New variable.
310 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
311 (catanh_test_data): New variable.
312 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
313 (ccos_test_data): New variable.
314 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
315 (ccosh_test_data): New variable.
316 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
317 (cexp_test_data): New variable.
318 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
319 (clog_test_data): New variable.
320 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
321 (clog10_test_data): New variable.
322 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
323 (conj_test_data): New variable.
324 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
325 (cproj_test_data): New variable.
326 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
327 (csin_test_data): New variable.
328 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
329 (csinh_test_data): New variable.
330 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
331 (csqrt_test_data): New variable.
332 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
333 (ctan_test_data): New variable.
334 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
335 (ctan_tonearest_test_data): New variable.
336 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
337 (ctan_towardzero_test_data): New variable.
338 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
339 (ctan_downward_test_data): New variable.
340 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
341 (ctan_upward_test_data): New variable.
342 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
343 (ctanh_test_data): New variable.
344 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
345 (ctanh_tonearest_test_data): New variable.
346 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
347 (ctanh_towardzero_test_data): New variable.
348 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
349 (ctanh_downward_test_data): New variable.
350 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
351 (ctanh_upward_test_data): New variable.
352 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
353 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
354 of BUILD_COMPLEX.
355
601a3a5f
JM
356 * math/libm-test.inc (struct test_ff_f_data): New type.
357 (struct test_ff_f_data_nexttoward): Likewise.
358 (RUN_TEST_LOOP_2_f): New macro.
359 (RUN_TEST_LOOP_ff_f): Likewise.
360 (atan2_test_data): New variable.
361 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
362 (copysign_test_data): New variable.
363 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
364 (fdim_test_data): New variable.
365 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
366 (fmax_test_data): New variable.
367 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
368 (fmin_test_data): New variable.
369 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
370 (fmod_test_data): New variable.
371 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
372 (hypot_test_data): New variable.
373 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
374 (nextafter_test_data): New variable.
375 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
376 (nexttoward_test_data): New variable.
377 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
378 (pow_test_data): New variable.
379 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
380 (pow_tonearest_test_data): New variable.
381 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
382 (pow_towardzero_test_data): New variable.
383 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
384 (pow_downward_test_data): New variable.
385 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
386 (pow_upward_test_data): New variable.
387 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
388 (remainder_test_data): New variable.
389 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
390 (scalb_test_data): New variable.
391 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
392 * sysdeps/i386/fpu/libm-test-ulps: Update.
393
74c57478
JM
3942013-05-11 Joseph Myers <joseph@codesourcery.com>
395
8329e4da
JM
396 * math/libm-test.inc (fma_test): Use max_value instead of local
397 variable fltmax.
398 (nextafter_test): Likewise.
399
74c57478
JM
400 * math/libm-test.inc (acos_towardzero_test_data): New variable.
401 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
402 (acos_downward_test_data): New variable.
403 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
404 (acos_upward_test_data): New variable.
405 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
406 (acosh_test_data): New variable.
407 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
408 (asin_test_data): New variable.
409 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
410 (asin_tonearest_test_data): New variable.
411 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
412 (asin_towardzero_test_data): New variable.
413 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
414 (asin_downward_test_data): New variable.
415 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
416 (asin_upward_test_data): New variable.
417 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
418 (asinh_test_data): New variable.
419 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
420 (atan_test_data): New variable.
421 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
422 (atanh_test_data): New variable.
423 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
424 (cbrt_test_data): New variable.
425 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
426 (ceil_test_data): New variable.
427 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
428 (cos_test_data): New variable.
429 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
430 (cos_tonearest_test_data): New variable.
431 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
432 (cos_towardzero_test_data): New variable.
433 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
434 (cos_downward_test_data): New variable.
435 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
436 (cos_upward_test_data): New variable.
437 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
438 (cosh_test_data): New variable.
439 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
440 (cosh_tonearest_test_data): New variable.
441 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
442 (cosh_towardzero_test_data): New variable.
443 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
444 (cosh_downward_test_data): New variable.
445 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
446 (cosh_upward_test_data): New variable.
447 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
448 (erf_test_data): New variable.
449 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
450 (erfc_test_data): New variable.
451 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
452 (exp_test_data): New variable.
453 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
454 (exp_tonearest_test_data): New variable.
455 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
456 (exp_towardzero_test_data): New variable.
457 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
458 (exp_downward_test_data): New variable.
459 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
460 (exp_upward_test_data): New variable.
461 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
462 (exp10_test_data): New variable.
463 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
464 (exp2_test_data): New variable.
465 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
466 (expm1_test_data): New variable.
467 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
468 (fabs_test_data): New variable.
469 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
470 (floor_test_data): New variable.
471 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
472 (j0_test_data): New variable.
473 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
474 (j1_test_data): New variable.
475 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
476 (log_test_data): New variable.
477 (log_test): Run tests with RUN_TEST_LOOP_f_f.
478 (log10_test_data): New variable.
479 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
480 (log1p_test_data): New variable.
481 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
482 (log2_test_data): New variable.
483 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
484 (logb_test_data): New variable.
485 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
486 (logb_downward_test_data): New variable.
487 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
488 (nearbyint_test_data): New variable.
489 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
490 (rint_test_data): New variable.
491 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
492 (rint_tonearest_test_data): New variable.
493 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
494 (rint_towardzero_test_data): New variable.
495 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
496 (rint_downward_test_data): New variable.
497 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
498 (rint_upward_test_data): New variable.
499 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
500 (round_test_data): New variable.
501 (round_test): Run tests with RUN_TEST_LOOP_f_f.
502 (sin_test_data): New variable.
503 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
504 (sin_tonearest_test_data): New variable.
505 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
506 (sin_towardzero_test_data): New variable.
507 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
508 (sin_downward_test_data): New variable.
509 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
510 (sin_upward_test_data): New variable.
511 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
512 (sinh_test_data): New variable.
513 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
514 (sinh_tonearest_test_data): New variable.
515 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
516 (sinh_towardzero_test_data): New variable.
517 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
518 (sinh_downward_test_data): New variable.
519 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
520 (sinh_upward_test_data): New variable.
521 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
522 (sqrt_test_data): New variable.
523 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
524 (tan_test_data): New variable.
525 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
526 (tan_tonearest_test_data): New variable.
527 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
528 (tan_towardzero_test_data): New variable.
529 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
530 (tan_downward_test_data): New variable.
531 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
532 (tan_upward_test_data): New variable.
533 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
534 (tanh_test_data): New variable.
535 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
536 (tgamma_test_data): New variable.
537 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
538 (trunc_test_data): New variable.
539 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
540 (y0_test_data): New variable.
541 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
542 (y1_test_data): New variable.
543 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
544 (significand_test_data): New variable.
545 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
546
7187d844
CG
5472013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
548
549 [BZ #12387]
550 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
551
f63fae73
PT
5522013-05-10 Pino Toscano <toscano.pino@tiscali.it>
553
554 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
555
8a67a4b3
AJ
5562013-05-10 Andreas Jaeger <aj@suse.de>
557
558 [BZ #15448]
559 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
560 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
561
51df539d
JM
5622013-05-10 Joseph Myers <joseph@codesourcery.com>
563
564 * math/gen-libm-test.pl (adjust_arg): New function.
565 (special_functions): Handle generating output in both functions
566 and arrays.
567 (parse_args): Likewise.
568 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
569 $in_func argument to parse_args.
570 * math/libm-test.inc (struct test_f_f_data): New type.
571 (IF_ROUND_INIT_): New macro.
572 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
573 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
574 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
575 (IF_ROUND_INIT_FE_UPWARD): Likewise.
576 (ROUND_RESTORE_): Likewise.
577 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
578 (ROUND_RESTORE_FE_TONEAREST): Likewise.
579 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
580 (ROUND_RESTORE_FE_UPWARD): Likewise.
581 (RUN_TEST_LOOP_f_f): New macro.
582 (acos_test_data): New variable.
583 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
584 (acos_tonearest_test_data): New variable.
585 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
586
5c637fe5
SP
5872013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
588
589 * benchtests/bench-skeleton.c (startup): Fix coding style.
590
ab2b9461
JM
5912013-05-10 Joseph Myers <joseph@codesourcery.com>
592
593 [BZ #6809]
594 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
595 negative infinity argument.
596 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
597 negative infinity argument.
598 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
599 negative infinity argument.
600 * math/libm-test.inc (tgamma_test): Expect errno to be set for
601 domain errors.
602
4c0fe6fe
FW
6032013-05-10 Florian Weimer <fweimer@redhat.com>
604
605 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
606 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
607 * iconv/iconv_prog.c (main): Likewise.
608 * locale/programs/charmap-dir.c (charmap_readdir)
609 (fopen_uncompressed): Likewise.
610 * locale/programs/locfile.c (siblings_uncached)
611 (write_locale_data): Use lstat64 instead of lstat.
612 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
613 stat.
614
a3375d29
AJ
6152013-05-10 Andreas Jaeger <aj@suse.de>
616
617 [BZ #15395]
618 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
619 localization.
620 Include <locale.h>.
621
36129722
CD
6222013-05-09 Carlos O'Donell <carlos@redhat.com>
623
624 * elf/dl-close.c (_dl_close_worker): Add comments.
625
faa7f811
JM
6262013-05-09 Joseph Myers <joseph@codesourcery.com>
627
ed41ffef
JM
628 [BZ #15359]
629 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
630 high part of pi/2.
631 (__ieee754_rem_pio2l): Update comments.
632
d0213cd0
JM
633 [BZ #15429]
634 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
635 high part of pi/2.
636 (__ieee754_rem_pio2l): Update comments.
637
0d3e777a
JM
638 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
639 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
640
24f56066
JM
641 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
642 M_PI_4l.
643
faa7f811
JM
644 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
645 (M_PI_34_LOG10El): Likewise.
646 (M_PI2_LOG10El): Likewise.
647 (M_PI4_LOG10El): Likewise.
648 (M_PI_LOG10El): Likewise.
649
e9a5e0fd
AZ
6502013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
651
652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
653
d8cd06db
JM
6542013-05-08 Joseph Myers <joseph@codesourcery.com>
655
a0d9f9d7
JM
656 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
657 (MINUS_ZERO_INIT): Likewise.
658 (PLUS_INFTY_INIT): Likewise.
659 (MINUS_INFTY_INIT): Likewise.
660 (QNAN_VALUE_INIT): Likewise.
661 (MAX_VALUE_INIT): Likewise.
662 (MIN_VALUE_INIT): Likewise.
663 (MIN_SUBNORM_VALUE_INIT): Likewise.
664 (plus_zero): Initialize with PLUS_ZERO_INIT.
665 (minus_zero): Initialize with MINUS_ZERO_INIT.
666 (plus_infty): Initialize with PLUS_INFTY_INIT.
667 (minus_infty): Initialize with MINUS_INFTY_INIT.
668 (qnan_value): Initialize with QNAN_VALUE_INIT.
669 (max_value): Initialize with MAX_VALUE_INIT.
670 (min_value): Initialize with MIN_VALUE_INIT.
671 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
672
ae08db3b
JM
673 * math/libm-test.inc (RUN_TEST_if_f): New macro.
674 (jn_test): Use TEST_if_f instead of TEST_ff_f.
675 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
676 (yn_test): Use TEST_if_f instead of TEST_ff_f.
677
f44bf14a
JM
678 * math/libm-test.inc (RUN_TEST_f_f): New macro.
679 (RUN_TEST_2_f): Likewise.
680 (RUN_TEST_ff_f): Likewise.
681 (RUN_TEST_fi_f): Likewise.
682 (RUN_TEST_fl_f): Likewise.
683 (RUN_TEST_fff_f): Likewise.
684 (RUN_TEST_c_f): Likewise.
685 (RUN_TEST_f_f1): Likewise.
686 (RUN_TEST_fF_f1): Likewise.
687 (RUN_TEST_fI_f1): Likewise.
688 (RUN_TEST_ffI_f1): Likewise.
689 (RUN_TEST_c_c): Likewise.
690 (RUN_TEST_cc_c): Likewise.
691 (RUN_TEST_f_i): Likewise.
692 (RUN_TEST_f_i_tg): Likewise.
693 (RUN_TEST_ff_i_tg): Likewise.
694 (RUN_TEST_f_b): Likewise.
695 (RUN_TEST_f_b_tg): Likewise.
696 (RUN_TEST_f_l): Likewise.
697 (RUN_TEST_f_L): Likewise.
698 (RUN_TEST_sincos): Likewise.
699 * math/gen-libm-test.pl (new_test): Take new argument to indicate
700 whether to show exceptions. Do not include ");\n" in return
701 value.
702 (special_functions): Output call to RUN_TEST_sincos instead of
703 check_float calls. Update calls to new_test.
704 (parse_args): Output call to single RUN_TEST_* macro instead of
705 check_* calls and other assignments. Update calls to new_test.
706
d8cd06db
JM
707 [BZ #2546]
708 [BZ #2560]
709 [BZ #5159]
710 [BZ #15426]
711 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
712 input to result for tgamma overflow.
713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
714 (gamma_coeff): New variable.
715 (NCOEFF): New macro.
716 (gamma_positive): New function.
717 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
718 underflow here. Use gamma_positive instead of exp (lgamma) for
719 other arguments.
720 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
721 (gamma_coeff): New variable.
722 (NCOEFF): New macro.
723 (gammaf_positive): New function.
724 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
725 underflow here. Use gamma_positive instead of exp (lgamma) for
726 other arguments.
727 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
728 (gamma_coeff): New variable.
729 (NCOEFF): New macro.
730 (gammal_positive): New function.
731 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
732 underflow here. Use gamma_positive instead of exp (lgamma) for
733 other arguments.
734 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
735 (gamma_coeff): New variable.
736 (NCOEFF): New macro.
737 (gammal_positive): New function.
738 (__ieee754_gammal_r): Handle positive infinity, overflow and
739 underflow here. Handle NaN the same as positive infinity. Remove
740 check x < 0xffffffff for negative integers. Use gamma_positive
741 instead of exp (lgamma) for other arguments.
742 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
743 (gamma_coeff): New variable.
744 (NCOEFF): New macro.
745 (gammal_positive): New function.
746 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
747 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
748 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
749 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
750 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
751 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
752 * sysdeps/generic/math_private.h (__gamma_productf): New
753 prototype.
754 (__gamma_product): Likewise.
755 (__gamma_productl): Likewise.
756 * math/Makefile (libm-calls): Add gamma_product.
757 * math/libm-test.inc (tgamma_test): Add more tests.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
760
bb7cf681
OB
7612013-05-08 Ondřej Bílka <neleai@seznam.cz>
762
763 * benchtests/bench-skeleton.c (main): Preheat CPU.
764
ba853947
AJ
7652013-05-07 Aurelien Jarno <aurelien@aurel32.net>
766
767 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
768
8347c74c
RM
7692013-05-07 Roland McGrath <roland@hack.frob.com>
770
771 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
772 and _dl_skip_args_internal.
773
e8dd4791
CD
7742013-05-07 Carlos O'Donell <carlos@redhat.com>
775
776 * manual/message.texi (Message Translation): Talk about users.
777 Message to key mapping impacts design.
778
c7405830
RM
7792013-05-06 Roland McGrath <roland@hack.frob.com>
780
a9173057
RM
781 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
782
976e2f03
RM
783 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
784
9723ffc5
RM
785 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
786 * sysdeps/wordsize-64/glob64.c: ... here.
787
962e6658
RM
788 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
789 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
790 New macros.
791
ee586a6d
RM
792 * debug/getlogin_r_chk.c: Moved to ...
793 * login/getlogin_r_chk.c: ... here.
794 * debug/Makefile (routines): Move getlogin_r_chk to ...
795 * login/Makefile (routines): ... here.
796 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
797 * login/Versions (libc: GLIBC_2.4): ... here.
798
355f9165
RM
799 * io/poll.c (__poll): Renamed from poll.
800 Add libc_hidden_def.
801 (poll): Define as weak alias.
802
bd9ffde6
RM
803 * debug/ptsname_r_chk.c: Moved to ...
804 * login/ptsname_r_chk.c: ... here.
805 * debug/Makefile (routines): Move ptsname_r_chk to ...
806 * login/Makefile (routines): ... here.
807 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
808 * login/Versions (libc: GLIBC_2.4): ... here.
809
8fb16a04
RM
810 * posix/getlogin.c: Moved to ...
811 * login/getlogin.c: ... here.
812 * posix/getlogin_r.c: Moved to ...
813 * login/getlogin_r.c: ... here.
814 * posix/getlogin_r.c: Moved to ...
815 * login/getlogin_r.c: ... here.
816 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
817 * login/Makefile (routines): ... here.
818 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
819 * login/Versions (libc: GLIBC_2.0): ... here.
820
b99b892f
RM
821 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
822 (setrlimit): Define as weak alias.
823
c7405830
RM
824 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
825 Call __ names for open, ftruncate, and close.
826 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
827 (truncate): Define as weak alias.
828
5bf96de5
JM
8292013-05-06 Joseph Myers <joseph@codesourcery.com>
830
9ea3513c
JM
831 * math/gen-libm-test.pl (parse_args): Initialize x before each
832 test of frexp, modf and remquo.
833
5bf96de5
JM
834 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
835 test signgam value.
836
16e616a7
AZ
8372013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
838
839 [BZ #15418]
840 [BZ #15419]
841 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
842 internal tests.
843 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
844
d5e82754
RM
8452013-05-06 Roland McGrath <roland@hack.frob.com>
846
847 * elf/dl-writev.h: New file.
848 * elf/dl-misc.c: Include it.
849 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
850 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
851
a7548d41
JM
8522013-05-04 Joseph Myers <joseph@codesourcery.com>
853
b7dab1e4
JM
854 * math/libm-test.inc (noXFails): Remove variable.
855 (noXPasses): Likewise.
856 (BUILD_COMPLEX_INT): Remove macro.
857 (print_screen): Remove xfail argument.
858 (print_screen_max_error): Likewise.
859 (update_stats): Likewise.
860 (print_max_error): Likewise. Update calls to other affected
861 functions.
862 (print_complex_max_error): Likewise.
863 (test_single_exception): Update calls to print_screen.
864 (test_single_errno): Likewise.
865 (check_float_internal): Remove xfail argument. Update calls to
866 other affected functions.
867 (check_float): Likewise.
868 (check_complex): Likewise.
869 (check_int): Likewise.
870 (check_long): Likewise.
871 (check_bool): Likewise.
872 (check_longlong): Likewise.
873 (main): Don't print noXFails and noXPasses.
874 * math/gen-libm-test.pl (top level): Don't mention expected
875 failure handling in comment.
876 (new_test): Don't handle expected failures.
877 (parse_args): Don't mention expected failure handling in comment.
878 (generate_testfile): Don't handle expected failures.
879 (parse_ulps): Likewise.
880 (print_ulps_file): Likewise.
881 (get_failure): Remove function.
882 (output_test): Don't handle expected failures.
883 * make/README.libm-test: Don't mention expected failure handling.
884
a7548d41
JM
885 * math/libm-test.inc (plus_zero): Make const. Add initializer.
886 (minus_zero): Likewise.
887 (plus_infty): Likewise.
888 (minus_infty): Likewise.
889 (qnan_value): Likewise.
890 (max_value): Likewise.
891 (min_value): Likewise.
892 (min_subnorm_value): Likewise.
893 (initialize): Do not initialize those variables dynamically.
894
60bfd54c
RM
8952013-05-03 Roland McGrath <roland@hack.frob.com>
896
cc0e6ed8
RM
897 * io/open.c (__open_2): Moved to ...
898 * io/open_2.c: ... this new file.
899 * io/open64.c (__open64_2): Moved to ...
900 * io/open64_2.c: ... this new file.
901 * io/openat.c (__openat_2): Moved to ...
902 * io/openat_2.c: ... this new file.
903 * io/openat64.c (__openat64_2): Moved to ...
904 * io/openat64_2.c: ... this new file.
905 * io/Makefile (routines): Add them.
906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
907 * sysdeps/unix/sysv/linux/open_2.c: File removed.
908 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
909 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
910 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
911 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
912 (__openat64): Add hidden_ver.
913 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
914 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
915
60bfd54c
RM
916 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
917 Separately conditionalize setting of GLRO(dl_sysinfo) so
918 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
919 as well, but the actual setting is only under [NEED_DL_SYSINFO].
920
83e7640f
AZ
9212013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
922
923 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
924 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
925 definition.
926 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
927 * sysdeps/unix/sysv/linux/powerpc/init-first.c
928 (_libc_vdso_platform_setup): Add __vdso_time initialization.
929 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
930 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
931
d5dc2af3
JM
9322013-05-03 Joseph Myers <joseph@codesourcery.com>
933
c31a5b1e
JM
934 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
935 test signgam value.
936
d5dc2af3
JM
937 * math/libm-test.inc (hypot_test): Do not use
938 IGNORE_ZERO_INF_SIGN.
939
164fd39d
AJ
9402013-05-03 Andreas Jaeger <aj@suse.de>
941
942 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
943 Linux 3.9.
944 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
945 (PF_MAX): Adjust for VSOCK change.
946
8237f48c
AZ
9472013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
948
949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
950
9df02941
CD
9512013-05-02 Carlos O'Donell <carlos@redhat.com>
952
953 [BZ #15264]
954 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
955 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
956 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
957
d422395e
DM
9582013-05-02 David S. Miller <davem@davemloft.net>
959
960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
961
a07c5731
OB
9622013-05-01 Ondřej Bílka <neleai@seznam.cz>
963
964 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
965
1324e37f
RM
9662013-05-01 Roland McGrath <roland@hack.frob.com>
967
968 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
969
0695940b
RS
9702013-05-01 Richard Smith <richard@metafoo.co.uk>
971
bb5f27ad 972 [BZ #14952]
0695940b
RS
973 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
974 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
975 Use __attribute__ ((__gnu_inline__)).
976 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
977 Don't use __attribute__ ((__gnu_inline__)).
978
10de07f5
JM
9792013-05-01 Joseph Myers <joseph@codesourcery.com>
980
981 [BZ #15423]
982 * math/s_catan.c (__catan): Handle small real or imaginary part of
983 input specially to avoid spurious underflow.
984 * math/s_catanf.c (__catanf): Likewise.
985 * math/s_catanh.c (__catanh): Likewise.
986 * math/s_catanhf.c (__catanhf): Likewise.
987 * math/s_catanhl.c (__catanhl): Likewise.
988 * math/s_catanl.c (__catanl): Likewise.
989 * math/libm-test.inc (catan_test): Add more tests.
990 (catanh_test): Likewise.
991 * sysdeps/i386/fpu/libm-test-ulps: Update.
992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
993
cb4d5414
AZ
9942013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
995
996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
997
caf84319
JM
9982013-04-30 Joseph Myers <joseph@codesourcery.com>
999
1000 [BZ #15416]
1001 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
1002 accurately for denominator in atan2.
1003 * math/s_catanf.c (__catanf): Likewise.
1004 * math/s_catanh.c (__catanh): Likewise.
1005 * math/s_catanhf.c (__catanhf): Likewise.
1006 * math/s_catanhl.c (__catanhl): Likewise.
1007 * math/s_catanl.c (__catanl): Likewise.
1008 * math/libm-test.inc (catan_test): Add more tests.
1009 (catanh_test): Likewise.
1010 * sysdeps/i386/fpu/libm-test-ulps: Update.
1011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1012
d569c6ee
SP
10132013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1014
6dbe713d
SP
1015 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
1016
f0ee064b
SP
1017 * benchtests/Makefile (bench): Remove slow benchmarks.
1018 * benchtests/atan-inputs: Add slow benchmark inputs.
1019 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
1020 (BENCH_FUNC): Accept variant offset.
1021 (VARIANT): Define.
1022 * benchtests/bench-skeleton.c (main): Run benchmark for each
1023 variant.
1024 * benchtests/cos-inputs: Add slow benchmark inputs.
1025 * benchtests/exp-inputs: Likewise.
1026 * benchtests/pow-inputs: Likewise.
1027 * benchtests/sin-inputs: Likewise.
1028 * benchtests/slowatan-inputs: Remove.
1029 * benchtests/slowatan.c: Remove.
1030 * benchtests/slowcos-inputs: Remove.
1031 * benchtests/slowcos.c: Remove.
1032 * benchtests/slowexp-inputs: Remove.
1033 * benchtests/slowexp.c: Remove.
1034 * benchtests/slowpow-inputs: Remove.
1035 * benchtests/slowpow.c: Remove.
1036 * benchtests/slowsin-inputs: Remove.
1037 * benchtests/slowsin.c: Remove.
1038 * benchtests/slowtan-inputs: Remove.
1039 * benchtests/slowtan.c: Remove.
1040 * benchtests/tan-inputs: Add slow benchmark inputs.
1041 * scripts/bench.pl: Parse comments and directives.
1042
d569c6ee
SP
1043 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
1044 in CPPFLAGS.
1045 ($(objpfx)bench-%.c): Remove *-ITER.
1046 * benchtests/bench-modf.c: Remove definition of ITER.
1047 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
1048 (main): Loop for DURATION seconds instead of fixed number of
1049 iterations.
1050 * scripts/bench.pl: Don't expect iterations in parameters.
1051
a6a242fe
RM
10522013-04-29 Roland McGrath <roland@hack.frob.com>
1053
1054 * io/fchdir.c (__fchdir): Renamed from fchdir.
1055 (fchdir): Define as weak alias.
1056
f2da7793
JM
10572013-04-29 Joseph Myers <joseph@codesourcery.com>
1058
1059 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
1060 (ERRNO_EDOM): Likewise.
1061 (ERRNO_ERANGE): Likewise.
1062 (noErrnoTests): New variable.
1063 (init_max_error): Set errno to 0.
1064 (test_single_errno): New function.
1065 (test_errno): Likewise.
1066 (check_float_internal): Call test_errno. Set errno to 0.
1067 (check_complex): Refer to errno tests in comment.
1068 (check_int): Call test_errno. Set errno to 0.
1069 (check_long): Likewise.
1070 (check_bool): Likewise.
1071 (check_longlong): Likewise.
1072 (cos_test): Use ERRNO_* flags for errno tests instead of
1073 check_int.
1074 (expm1_test): Likewise.
1075 (fmod_test): Likewise.
1076 (ilogb_test): Likewise.
1077 (lgamma_test): Likewise.
1078 (pow_test): Likewise.
1079 (remainder_test): Likewise.
1080 (sin_test): Likewise.
1081 (tan_test): Likewise.
1082 (yn_test): Likewise.
1083 (initialize): Set errno to 0.
1084 (main): Print number of errno tests.
1085 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
1086
b1a36ceb
AJ
10872013-04-29 Andreas Jaeger <aj@suse.de>
1088
c3ed8088
AJ
1089 [BZ #15084]
1090 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
1091 and RES_USEVC.
1092
f1a24198
AJ
1093 [BZ #15085]
1094 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
1095 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
1096 unimplemented.
1097
9ce3b2cb
AJ
1098 [BZ #15380]
1099 * stdlib/random.c (__initstate): Return NULL if
1100 __initstate fails.
1101
f1a24198 1102 [BZ #15086]
b1a36ceb
AJ
1103 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
1104 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
1105 RES_SNGLKUPREOP.
1106
7e7b6f36
AZ
11072013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1108
1109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1110
4d14f449
JM
11112013-04-29 Joseph Myers <joseph@codesourcery.com>
1112
1113 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
1114 of individual tests.
1115 (casin_test): Likewise.
1116 (casinh_test): Likewise.
1117
5b4217d7
JM
11182013-04-27 Joseph Myers <joseph@codesourcery.com>
1119
1120 [BZ #15409]
1121 * math/s_catan.c (__catan): Handle arguments with large real or
1122 imaginary part separately without squaring.
1123 * math/s_catanf.c (__catanf): Likewise.
1124 * math/s_catanh.c (__catanh): Likewise.
1125 * math/s_catanhf.c (__catanhf): Likewise.
1126 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1127 and redefine.
1128 (__catanhl): Handle arguments with large real or imaginary part
1129 separately without squaring.
1130 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1131 and redefine.
1132 (__catanl): Handle arguments with large real or imaginary part
1133 separately without squaring.
1134 * math/libm-test.inc (catan_test): Add more tests.
1135 (catanh_test): Likewise.
1136 * sysdeps/i386/fpu/libm-test-ulps: Update.
1137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1138
4220c3ef
AJ
11392013-04-27 Andreas Jaeger <aj@suse.de>
1140
1141 [BZ #15007]
1142 * stdlib/stdlib.h: Update guards for qecvt.
1143 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
1144 <stdlib.h>.
1145
4721b2d1
AM
11462013-04-27 Allan McRae <allan@archlinux.org>
1147
1148 * sysdeps/i386/fpu/libm-test-ulps: Update.
1149
f0302940
JM
11502013-04-26 Joseph Myers <joseph@codesourcery.com>
1151
9457fd95
JM
1152 [BZ #15406]
1153 * math/s_catan.c: Include <float.h>.
1154 (__catan): Ensure underflow exception occurs for underflowed
1155 result.
1156 * math/s_catanf.c: Include <float.h>.
1157 (__catanf): Ensure underflow exception occurs for underflowed
1158 result.
1159 * math/s_catanh.c: Include <float.h>.
1160 (__catanh): Ensure underflow exception occurs for underflowed
1161 result.
1162 * math/s_catanhf.c: Include <float.h>.
1163 (__catanhf): Ensure underflow exception occurs for underflowed
1164 result.
1165 * math/s_catanhl.c: Include <float.h>.
1166 (__catanhl): Ensure underflow exception occurs for underflowed
1167 result.
1168 * math/s_catanl.c: Include <float.h>.
1169 (__catanl): Ensure underflow exception occurs for underflowed
1170 result.
1171 * math/libm-test.inc (catan_test): Add more tests.
1172 (catanh_test): Likewise.
1173
f0302940
JM
1174 [BZ #15405]
1175 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
1176 underflowed result.
1177 * math/s_ccoshf.c (__ccoshf): Likewise.
1178 * math/s_ccoshl.c (__ccoshl): Likewise.
1179 * math/s_csin.c (__csin): Likewise.
1180 * math/s_csinf.c (__csinf): Likewise.
1181 * math/s_csinh.c (__csinh): Likewise.
1182 * math/s_csinhf.c (__csinhf): Likewise.
1183 * math/s_csinhl.c (__csinhl): Likewise.
1184 * math/s_csinl.c (__csinl): Likewise.
1185 * math/libm-test.inc (ccos_test): Add more tests.
1186 (ccosh_test): Likewise.
1187 (csin_test): Likewise.
1188 (csinh_test): Likewise.
1189
aa630f59
AZ
11902013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1191
1192 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1193 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1194 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1195 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1196 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1197 powerpc/power5+/fpu folders.
1198 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1199
1200
1b835983
MT
12012013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1202
1203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1204
73709b26
JM
12052013-04-25 Joseph Myers <joseph@codesourcery.com>
1206
1207 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1208 additions to variable.
1209 [$(config-machine) = x86_64] (modules-names): Likewise.
1210 ($(objpfx)tst-audit3): Remove dependency.
1211 ($(objpfx)tst-audit3.out): Likewise.
1212 ($(objpfx)tst-audit4): Likewise.
1213 ($(objpfx)tst-audit4.out): Likewise.
1214 ($(objpfx)tst-audit5): Likewise.
1215 ($(objpfx)tst-audit5.out): Likewise.
1216 ($(objpfx)tst-audit6): Likewise.
1217 ($(objpfx)tst-audit6.out): Likewise.
1218 ($(objpfx)tst-audit7): Likewise.
1219 ($(objpfx)tst-audit7.out): Likewise.
1220 (tst-audit3-ENV): Remove variable.
1221 (tst-audit4-ENV): Likewise.
1222 (tst-audit5-ENV): Likewise.
1223 (tst-audit6-ENV): Likewise.
1224 (tst-audit7-ENV): Likewise.
1225 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1226 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1227 addition to variable.
1228 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1229 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1230 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1231 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1232 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1233 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1234 tst-audit3, tst-audit4 and tst-audit5.
1235 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1236 tst-audit6 and tst-audit7.
1237 [$(subdir) = elf] (modules-names): Add audit modules for those
1238 tests.
1239 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1240 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1241 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1242 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1243 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1244 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1245 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1246 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1247 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1248 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1249 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1250 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1251 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1252 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1253 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1254 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1255 Likewise.
1256 [$(subdir) = elf && $(config-cflags-avx) = yes]
1257 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1258 [$(subdir) = elf && $(config-cflags-avx) = yes]
1259 (CFLAGS-tst-auditmod4a.c): Likewise.
1260 [$(subdir) = elf && $(config-cflags-avx) = yes]
1261 (CFLAGS-tst-auditmod4b.c): Likewise.
1262 [$(subdir) = elf && $(config-cflags-avx) = yes]
1263 (CFLAGS-tst-auditmod6b.c): Likewise.
1264 [$(subdir) = elf && $(config-cflags-avx) = yes]
1265 (CFLAGS-tst-auditmod6c.c): Likewise.
1266 [$(subdir) = elf && $(config-cflags-avx) = yes]
1267 (CFLAGS-tst-auditmod7b.c): Likewise.
1268 * elf/tst-audit3.c: Move to ...
1269 * sysdeps/x86_64/tst-audit3.c: ... here.
1270 * elf/tst-audit4.c: Move to ...
1271 * sysdeps/x86_64/tst-audit4.c: ... here.
1272 * elf/tst-audit5.c: Move to ...
1273 * sysdeps/x86_64/tst-audit5.c: ... here.
1274 * elf/tst-audit6.c: Move to ...
1275 * sysdeps/x86_64/tst-audit6.c: ... here.
1276 * elf/tst-audit7.c: Move to ...
1277 * sysdeps/x86_64/tst-audit7.c: ... here.
1278 * elf/tst-auditmod3a.c: Move to ...
1279 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1280 * elf/tst-auditmod3b.c: Move to ...
1281 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1282 * elf/tst-auditmod4a.c: Move to ...
1283 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1284 * elf/tst-auditmod4b.c: Move to ...
1285 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1286 * elf/tst-auditmod5a.c: Move to ...
1287 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1288 * elf/tst-auditmod5b.c: Move to ...
1289 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1290 * elf/tst-auditmod6a.c: Move to ...
1291 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1292 * elf/tst-auditmod6b.c: Move to ...
1293 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1294 * elf/tst-auditmod6c.c: Move to ...
1295 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1296 * elf/tst-auditmod7a.c: Move to ...
1297 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1298 * elf/tst-auditmod7b.c: Move to ...
1299 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1300
1ef74943
PP
13012013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1302
1303 [BZ #15366]
1304 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1305 define unconditionally.
1306 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1307 define unconditionally.
1308 (INT8_C, INT16_C, etc.): Likewise.
1309
93fd48c5
MR
13102013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1311
ae9552cf
MR
1312 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1313 __ehdr_start with hidden visibility.
1314
93fd48c5
MR
1315 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1316
418601aa
CD
13172013-04-24 Carlos O'Donell <carlos@redhat.com>
1318
1319 * math/libm-test.inc (cos_test): Use accurate hex constants.
1320 (sincost_test): Likewise.
1321
2f38fbfe
JM
13222013-04-24 Joseph Myers <joseph@codesourcery.com>
1323
5e221800
JM
1324 * math/libm-test.inc (catan_test): Add more tests.
1325 (catanh_test): Likewise.
1326
77f143fd
JM
1327 * math/s_catanf.c (__catanf): Use suffixed floating-point
1328 constants.
1329 * math/s_catanhf.c (__catanhf): Likewise.
1330 * math/s_catanhl.c (__catanhl): Likewise.
1331 * math/s_catanl.c (__catanl): Likewise.
1332
2f38fbfe
JM
1333 [BZ #15394]
1334 * math/s_catan.c (__catan): Calculate imaginary part of result
1335 with log1p not log unless computing log of number close to 0.
1336 * math/s_catanf.c (__catanf): Likewise.
1337 * math/s_catanl.c (__catanl): Likewise.
1338 * math/s_catanh.c (__catanh): Calculate real part of result with
1339 log1p not log unless computing log of number close to 0.
1340 * math/s_catanhf.c (__catanhf): Likewise.
1341 * math/s_catanhl.c (__catanhl): Likewise.
1342 * math/libm-test.inc (catan_test): Add more tests.
1343 (catanh_test): Likewise.
1344 * sysdeps/i386/fpu/libm-test-ulps: Update.
1345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1346
45d69176
SP
13472013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1348
1349 * benchtests/Makefile: Mention files in which fast and slow
1350 paths of math functions are implemented.
1351
87f51853
RM
13522013-04-23 Roland McGrath <roland@hack.frob.com>
1353
1354 * sysdeps/posix/timespec_get.c: New file.
1355
3c026539
AZ
13562013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1357
1358 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1359 POWER.
1360 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1361 for POWER.
1362 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1363 powerpc/power5/fpu folders.
1364 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1365 * benchtests/Makefile: Add modf testcase.
1366 * benchtests/bench-modf.c: New file: Benchmark test for mo
1367
ff491d14
SP
13682013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1369
1370 [BZ #14888]
1371 * time/Makefile (tests): Add tst-strptime-whitespace.
1372 * time/strptime_l.c (get_number): Use ISSPACE.
1373 (__strptime_internal): Likewise.
1374 * time/tst-strptime-whitespace.c: New test case.
1375
7ed3f4e8
AS
13762013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1377
1378 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1379 member.
1380 (_nss_files_init): Set it here.
1381
5c95f7b6
HC
13822013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1383
1384 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1385 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1386 unsigned.
1387
d34c9158
JBG
13882013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1389
1390 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1391
2169712d
SP
13922013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1393
1394 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1395 size just once.
1396
29c5de99
DM
13972013-04-21 David S. Miller <davem@davemloft.net>
1398
1399 * po/ru.po: Update Russion translation from translation project.
1400
ccdad15d
AC
14012013-04-17 Adam Conrad <adconrad@0c3.net>
1402
1403 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1404 and setfsgid.
1405
0f122b8d
CD
14062013-04-17 Carlos O'Donell <carlos@redhat.com>
1407
5c5b07da 1408 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1409 * configure: Regenerate.
5c5b07da 1410 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1411 Add example to error message.
1412 * sysdeps/i386/configure: Regenerate.
1413
037714dd
SP
14142013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1415
1416 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1417 slowtan.
1418 * benchtests/cos-inputs: New file.
1419 * benchtests/slowcos-inputs: New file.
1420 * benchtests/slowcos.c: New file.
1421 * benchtests/slowtan-inputs: New file.
1422 * benchtests/slowtan.c: New file.
1423 * benchtests/tan-inputs: New file.
1424
e913141d
RM
14252013-04-16 Roland McGrath <roland@hack.frob.com>
1426
1427 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1428 considered kosher.
1429
a2964074
SP
14302013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1431
4856bcd2
SP
1432 * benchtests/Makefile: Include cppflags-iterator.mk to add
1433 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1434
a2964074
SP
1435 * Makefile.in (bench-clean): New target.
1436 * benchtests/Makefile (bench-clean): Likewise.
1437
9fbf9aca
DH
14382013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1439
1440 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1441
207d1e2a
TS
14422013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1443
1444 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1445
306dfba9
AS
14462013-04-15 Andreas Schwab <schwab@suse.de>
1447
1448 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1449 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1450 * nscd/pwdcache.c (cache_addpw): Likewise.
1451 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1452 more than recsize.
1453
206a6699
SP
14542013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1455
1456 * benchtests/Makefile (bench): Write all output to
1457 bench-out.tmp together.
1458
0582f6b3
AS
14592013-04-15 Andreas Schwab <schwab@suse.de>
1460
1461 * nscd/nscd.c (main): Don't fork again after closing files.
1462
acb4325f
SP
14632013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1464
5cb26d0a
SP
1465 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1466
acb4325f
SP
1467 * benchtests/Rules (bench-deps): Collect dependencies into a
1468 single variable. Add Makefile to dependencies.
1469 ($(objpfx)bench-%.c): Depend on bench-deps.
1470
47792506
RM
14712013-04-12 Roland McGrath <roland@hack.frob.com>
1472 Xavier Roche <roche+kml2@exalead.com>
1473
1474 [BZ #15361]
1475 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1476 just that it's a file descriptor.
1477 * manual/llio.texi (Synchronizing AIO Operations): Update description
1478 for EBADF error from aio_fsync.
1479
8fc1bee5
SP
14802013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1481
1482 * Rules (bench): Move target definition...
1483 * benchtests/Makefile: ... here.
1484
aba5e333
CD
14852013-04-11 Carlos O'Donell <carlos@redhat.com>
1486
1487 * math/libm-test.inc (cos_test): Fix PI/2 test.
1488 (sincos_test): Likewise.
1489 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1490 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1491
273cdee8
AS
14922013-04-11 Andreas Schwab <schwab@suse.de>
1493
6ecec3b6
AS
1494 [BZ #13988]
1495 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1496 accept exponent character only when digits were seen.
1497 * stdio-common/Makefile (tests): Add bug26.
1498 * stdio-common/bug26.c: New file.
1499
273cdee8
AS
1500 [BZ #14293]
1501 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1502 non-freeable.
1503
8da491f5
SP
15042013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1505
01dc6df9
SP
1506 * Makeconfig (rtld-prefix): Define built linker prefix.
1507 * Rules (run-bench): Use it.
1508 * math/Makefile (run-regen-ulps): Likewise.
1509
8da491f5
SP
1510 * Rules (bench): Remove eval.
1511
abe7f530
SP
15122013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1513 Roland McGrath <roland@hack.frob.com>
1514 Ondrej Bilka <neleai@seznam.cz>
1515
1516 [BZ #15346]
1517 * time/getdate.c: Include ctype.h and alloca.h.
1518 (__getdate_r): Trim leading and trailing spaces of input.
1519 * time/tst-getdate.c (tests): Add tests with leading and
1520 trailing spaces.
1521
61c23e62
RM
15222013-04-08 Roland McGrath <roland@hack.frob.com>
1523
1524 [BZ #14280]
1525 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1526 when computing value.
1527
7208a313
CD
15282013-04-06 Carlos O'Donell <carlos@redhat.com>
1529
085b2d41
CD
1530 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1531 Use testrun.sh to run libm tests.
1532
7208a313
CD
1533 [BZ #15309]
1534 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1535
872c0acd
MM
15362013-04-06 Marko Myllynen <myllynen@redhat.com>
1537
1538 [BZ #15264]
1539 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1540
26510bdd
CD
15412013-04-06 Carlos O'Donell <carlos@redhat.com>
1542
1543 * Makefile.in (regen-ulps): New target.
1544 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1545 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1546 [ifneq (no,$(PERL)] (regen-ulps): New target.
1547 [ifeq (no,$(PERL)] (regen-ulps): New target.
1548 * math/libm-test.inc (ulps_file_name): Define.
1549 (output_dir): New variable.
1550 (options): Add "output-dir" option.
1551 (parse_opt): Handle 'o' case.
1552 (main): If output_dir is non-NULL use it as a prefix
1553 otherwise use "".
1554 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1555
a01f19c8
CD
15562013-04-06 Carlos O'Donell <carlos@redhat.com>
1557
1558 [BZ #10060, #10062]
1559 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1560 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1561 fail configure if __sync_val_compare_and_swap is not inlined.
1562 * sysdeps/i386/configure: Regenerate.
1563 * configure.in: Build for i686 when configured for i386.
1564 * configure: Regenerate.
1565 * README: Remove i386 reference.
1566
b7a329a5
CD
15672013-04-06 Carlos O'Donell <carlos@redhat.com>
1568
1569 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1571
bf0f50df
TS
15722013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1573
ee091edf
TS
1574 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1575 (lmsnanval): New variables.
1576 (F): Add conversion tests.
1577 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1578 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1579
a8b792d6
TS
1580 * stdio-common/tstdiomisc.c (F): Properly collect individual
1581 tests' results.
1582
a1cbf437
TS
1583 [BZ #14686, #15336]
1584 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1585 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1586 Instead, use input NaN values or generate a qNaN by arithmetic
1587 operation. Also fix bugs to comply with the standard.
1588 * math/libm-test.inc (remainder_test): Add more tests.
1589
8b43a0c9
TS
1590 [BZ #15335, #15342]
1591 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1592 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1593 input NaN values or generate a qNaN by arithmetic operation.
1594
d91da4ce
TS
1595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1596 unreachable code.
1597
bf0f50df
TS
1598 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1599 definitions.
1600
05e166c8
JM
16012013-04-03 Joseph Myers <joseph@codesourcery.com>
1602
1603 [BZ #14478]
1604 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1605 underflowed result.
1606 * math/s_cexpf.c (__cexpf): Likewise.
1607 * math/s_cexpl.c (__cexpl): Likewise.
1608 * math/libm-test.inc (cexp_test): Add more tests.
1609
1cef1b19
AS
16102013-04-03 Andreas Schwab <schwab@suse.de>
1611
1612 [BZ #15330]
1613 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1614 order arrays from heap if bigger than alloca cutoff.
1615
74d87055
TS
16162013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1617
1618 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1619 (SNAN_TESTS_double): Refer to GCC PR56831.
1620 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1621 GCC PR56828.
1622
d755bba4
SP
16232013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1624
90d5d5bb
SP
1625 * Rules (bench): Move bench.out after the run is complete.
1626
73e0cd5d
SP
1627 * Rules (bench): Echo currently running benchmark.
1628
64aabd4b
SP
1629 * benchtests/Makefile (bench): Add atan and slowatan.
1630 * benchtests/atan-inputs: New file.
1631 * benchtests/slowatan-inputs: New file.
1632 * benchtests/slowatan.c: New file.
1633
c871eccd
SP
1634 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1635 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1636 its value.
1637
d755bba4
SP
1638 [BZ #15305]
1639 * sysdeps/unix/sysv/linux/kernel-features.h
1640 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1641 __ASSUME_XFS_RESTRICTED_CHOWN.
1642 * sysdeps/unix/sysv/linux/pathconf.c
1643 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1644 Save and restore errno.
1645
52ce4860
JM
16462013-04-02 Joseph Myers <joseph@codesourcery.com>
1647
1648 [BZ #15327]
1649 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1650 arguments using __kernel_casinh.
1651 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1652 arguments using __kernel_casinhf.
1653 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1654 arguments using __kernel_casinhl.
1655 * math/libm-test.inc (cacosh_test): Add more tests.
1656 * sysdeps/i386/fpu/libm-test-ulps: Update.
1657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1658
81f311c2
SP
16592013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1660
e7906a47
SP
1661 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1662 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1663
92e3664b
SP
1664 * bench/Makefile (bench): Add sin and slowsin.
1665 * benchtests/sin-inputs: New file.
1666 * benchtests/slowsin-inputs: New file.
1667 * benchtests/slowsin.c: New file.
1668
81f311c2
SP
1669 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1670 (bench): Add slowexp and slowpow.
1671 (exp-ITER): Increase iterations.
1672 (pow-ITER): Likewise.
1673 * benchtests/exp-inputs: Change input.
1674 * benchtests/pow-inputs: Likewise.
1675 * benchtests/slowexp-inputs: New file.
1676 * benchtests/slowexp.c: New file.
1677 * benchtests/slowpow-inputs: New file.
1678 * benchtests/slowpow.c: New file.
1679
ab0f1aa9
AZ
16802013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1681
1682 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1683 instructions.
1684 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1685 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1686 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1687 * benchtests/Makefile: Add rint benchtest.
1688 * benchtests/rint-inputs: Input for rint benchtest.
1689
57267616
TS
16902013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1691
1692 * Versions.def (libm): Add GLIBC_2.18.
1693 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1694 hidden libm prototypes.
1695 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1696 * math/Makefile (libm-calls): Add s_issignaling.
1697 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1698 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1699 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1700 declaration.
1701 * math/math.h [__USE_GNU] (issignaling): New macro.
1702 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1703 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1705 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1708 * manual/arith.texi (issignaling): New section.
1709 * manual/libm-err-tab.pl (@all_functions): Update comment.
1710 * math/gen-libm-test.pl (parse_args): Apply special handling for
1711 issignaling.
1712 * math/libm-test.inc (print_float, issignaling_test): New
1713 functions.
1714 (check_float_internal): Add issignaling checks.
1715 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1716 default definition.
1717 * sysdeps/powerpc/math-tests.h: New file.
1718 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1719 tests.
1720 * math/test-snan.c (TEST_FUNC): Likewise.
1721
6142896d
DM
17222013-03-30 David S. Miller <davem@davemloft.net>
1723
1724 * po/de.po: Update from translation team.
1725
ccc8cadf
JM
17262013-03-30 Joseph Myers <joseph@codesourcery.com>
1727
1728 [BZ #10357]
1729 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1730 imaginary part less than 1.0 and real part less than 0.5
1731 specially.
1732 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1733 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1734 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1735 (cacos_test): Add more tests.
1736 (casin_test): Likewise.
1737 (casinh_test): Likewise.
1738 * sysdeps/i386/fpu/libm-test-ulps: Update.
1739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1740
0f6a8d4b
SP
17412013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1742
0d1029de
SP
1743 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1744 ONE with its value.
1745
c2d94018
SP
1746 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1747 (__pow_mp): Replace ONE and MONE with their values.
1748 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1749 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1750 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1751 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1752 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1753 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1754
27ec37f1
SP
1755 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1756
a64d7e0e
SP
1757 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1758 (__pow_mp): Replace ZERO and MZERO with their values.
1759 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1760 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1761 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1762 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1763 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1764 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1765 (__sqr): Likewise.
1766
d26dd3eb
SP
1767 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1768
0f6a8d4b
SP
1769 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1770
e57b0c61
RM
17712013-03-28 Roland McGrath <roland@hack.frob.com>
1772
1773 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1774 Declare with __attribute__ ((weak)).
1775 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1776 Call __call_tls_dtors only if it's not NULL.
1777
356b3480
RM
17782013-03-28 Roland McGrath <roland@hack.frob.com>
1779
288f7d79
RM
1780 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1781 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1782 magic __ehdr_start linker symbol if it's defined.
1783 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1784 them up here if it was already done.
1785
dc0a0263
RM
1786 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1787 (_dl_aux_init): Use const in cast when setting it.
1788 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1789 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1790 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1791
3d3436ae
RM
1792 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1793 Declare them here.
1794 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1795 * csu/libc-tls.c: Nor here.
1796 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1797
356b3480
RM
1798 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1799 (__libc_message): Never call vsyslog.
1800
b0f1246a
AM
18012013-03-28 Alan Modra <amodra@gmail.com>
1802
1803 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1804 Define as empty.
1805 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1806 Likewise.
1807
fbbe2b9a
AZ
18082013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1809
1810 [BZ #15214]
1811 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1812 underflow.
1813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1814
1728ab37
SP
18152013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1816
7a86be6e
SP
1817 [BZ #15304]
1818 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1819 Don't add gid passed as argument.
1820
1728ab37
SP
1821 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1822
3a7182a1
JM
18232013-03-27 Joseph Myers <joseph@codesourcery.com>
1824
1825 [BZ #15307]
1826 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1827 imaginary part between 1.0 and 1.5 and real part less than 0.5
1828 specially.
1829 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1830 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1831 * math/libm-test.inc (cacos_test): Add more tests.
1832 (casin_test): Likewise.
1833 (casinh_test): Likewise.
1834 * sysdeps/i386/fpu/libm-test-ulps: Update.
1835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1836
6f2e90e7
SP
18372013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1838
5739f705
SP
1839 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1840 constants.
1841 (norm): Likewise.
1842 (denorm): Likewise.
1843 (__dbl_mp): Likewise.
1844 (add_magnitudes): Likewise.
1845 (sub_magnitudes): Likewise.
1846 (__add): Likewise.
1847 (__sub): Likewise.
1848 (__mul): Likewise.
1849 (__sqr): Likewise.
1850 (__inv): Likewise.
1851 (__dvd): Likewise.
1852
e375e83d
SP
1853 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1854 commented code.
1855 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1856 (__dubcos): Likewise.
1857 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1858 (__ieee754_acos): Likewise.
1859 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1860 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1861 (__exp1): Likewise.
1862 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1863 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1864 (log1): Likewise.
1865 (my_log2): Likewise.
1866 (checkint): Likewise.
1867 * sysdeps/ieee754/dbl-64/e_remainder.c
1868 (__ieee754_remainder): Likewise.
1869 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1870 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1871 (bsloww): Likewise.
1872 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1873
6f2e90e7
SP
1874 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1875 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1876 MANTISSA_STORE_T to store computations on mantissa. Use
1877 macros for rounding and division.
1878 (denorm): Likewise.
1879 (__dbl_mp): Likewise.
1880 (add_magnitudes): Likewise.
1881 (sub_magnitudes): Likewise.
1882 (__mul): Likewise.
1883 (__sqr): Likewise.
1884 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1885 powers of two in terms of TWOPOW macro.
1886 (mp_no): Make type of mantissa as MANTISSA_T.
1887 [!RADIXI]: Define RADIXI.
1888 [!TWO52]: Define TWO52.
1889 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1890
fce14d4e
AZ
18912013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892
1893 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1894 llroundl symbol when building for PPC32.
1895
9ad027fb
MW
18962013-03-24 Mark H Weaver <mhw@netris.org>
1897
1898 * manual/arith.texi (Normalization Functions): Fix prototypes for
1899 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1900
e42a38dd
AZ
19012013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1902
1903 [BZ #13889]
1904 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1905 high value to check if expl overflow.
1906 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1907 to check for underflow and overflow.
1908 * math/libm-test.inc: Add exp test.
1909
2e0fb521
DL
19102013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1911
1912 [BZ #11120]
1913 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1914 with NOT_IN_libc.
1915
b5784d95
AZ
19162013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1917
1918 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1919 symbol.
1920
5aa4a1a1
TS
19212013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1922
bdef0be7
TS
1923 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1924 wrap blocks consisting of several statements.
1925
5aa4a1a1
TS
1926 * sysdeps/generic/math-tests.h: New file.
1927 * sysdeps/i386/fpu/math-tests.h: Likewise.
1928 * math/test-snan.c: Include it.
1929 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1930
98c48fe5
JM
19312013-03-21 Joseph Myers <joseph@codesourcery.com>
1932
1933 [BZ #15285]
1934 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1935 (__ieee754_j0l): Do not improve calculations using cos of twice
1936 input for inputs above LDBL_MAX / 2.0L.
1937 (__ieee754_y0l): Likewise.
1938 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1939 (__ieee754_j1l): Do not improve calculations using cos of twice
1940 input for inputs above LDBL_MAX / 2.0L.
1941 (__ieee754_y1l): Likewise.
1942 * math/libm-test.inc (j0_test): Add another test.
1943 (j1_test): Likewise.
1944 (y0_test): Likewise.
1945 (y1_test): Likewise.
1946 * sysdeps/i386/fpu/libm-test-ulps: Update.
1947
3775a8bc
SP
19482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1949
1950 * Rules ($(objpfx)bench-%.c): Include code from a C source
1951 file.
1952
0a1b2ae6
JM
19532013-03-21 Joseph Myers <joseph@codesourcery.com>
1954
1955 [BZ #15287]
1956 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1957 imaginary part 1.0 and real part less than 0.5 specially.
1958 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1959 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1960 * math/libm-test.inc (cacos_test): Add more tests.
1961 (casin_test): Likewise.
1962 (casinh_test): Likewise.
1963 * sysdeps/i386/fpu/libm-test-ulps: Update.
1964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1965
b33d4ce4
SP
19662013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1967
1968 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1969 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1970
bef0b507
JM
19712013-03-20 Joseph Myers <joseph@codesourcery.com>
1972
1973 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1974 * config.make.in (config-cflags-sse4): Remove variable.
1975 (config-cflags-avx): Likewise.
1976 (config-cflags-sse2avx): Likewise.
1977 (config-cflags-novzeroupper): Likewise.
1978 (config-asflags-i686): Likewise.
1979 (have-mfma4): Likewise.
1980 (have-as-vis3): Likewise.
1981 (MIG): Likewise.
1982 * configure.in (MIG): Do not AC_SUBST.
1983 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1984 (libc_cv_cc_sse4): Do not AC_SUBST.
1985 (libc_cv_cc_avx): Likewise.
1986 (libc_cv_cc_sse2avx): Likewise.
1987 (libc_cv_cc_novzeroupper): Likewise.
1988 (libc_cv_cc_fma4): Likewise.
1989 (libc_cv_as_i686): Likewise.
1990 (libc_cv_sparc_as_vis3): Likewise.
1991 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1992 LIBC_CONFIG_VAR.
1993 (config-asflags-i686): Likewise.
1994 (config-cflags-avx): Likewise.
1995 (config-cflags-sse2avx): Likewise.
1996 (have-mfma4): Likewise.
1997 (config-cflags-novzeroupper): Likewise.
1998 * sysdeps/mach/configure.in (MIG): Likewise.
1999 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
2000 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
2001 LIBC_CONFIG_VAR.
2002 (config-cflags-avx): Likewise.
2003 (config-cflags-sse2avx): Likewise.
2004 (have-mfma4): Likewise.
2005 (config-cflags-novzeroupper): Likewise.
2006 * configure: Regenerated.
2007 * sysdeps/i386/configure: Likewise.
2008 * sysdeps/mach/configure: Likewise.
2009 * sysdeps/sparc/configure: Likewise.
2010 * sysdeps/x86_64/configure: Likewise.
2011
912cc4b3
RM
20122013-03-20 Roland McGrath <roland@hack.frob.com>
2013
2014 [BZ #14812]
2015 * locale/programs/localedef.c (options): Put N_ translation marker
2016 on argument names, not just descriptions.
2017
04eed2b0
MS
20182013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2019
2020 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
2021
a065ceff
OB
20222013-03-20 Ondřej Bílka <neleai@seznam.cz>
2023
9bb2a810 2024 [BZ #14176]
a065ceff
OB
2025 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
2026
a600e5ce
RM
20272013-03-19 Roland McGrath <roland@hack.frob.com>
2028
2029 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
2030 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
2031 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
2032 [!BEFORE_ABORT] (before_abort): New function.
2033 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
2034 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
2035 (writev_for_fatal): New function.
2036 (WRITEV_FOR_FATAL): New macro; call that.
2037 (backtrace_and_maps): New function.
2038 (BEFORE_ABORT): New macro; call that.
2039 (struct str_list): Type removed.
2040 (__libc_message, __libc_fatal): Functions removed.
2041 Include <sysdeps/posix/libc_fatal.c> instead.
2042
6b18bea6
JM
20432013-03-19 Joseph Myers <joseph@codesourcery.com>
2044
2045 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
2046 constants.
2047 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
2048 double constants.
2049
aaa8cb4b
AS
20502013-03-19 Andreas Schwab <schwab@suse.de>
2051
44673770
AS
2052 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
2053 * sysdeps/gnu/configure: Regenerate.
2054
aaa8cb4b
AS
2055 * configure.in: Substitute libc_cv_rtlddir.
2056 * configure: Regenerate.
2057 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
2058 * Makeconfig (rtlddir, inst_rtlddir): New variables.
2059 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
2060 * elf/Makefile (install-others, CFLAGS-interp.c)
2061 (ldso_install, common-ldd-rewrite): Likewise.
2062 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
2063 $(inst_slibdir)/$(rtld-installed-name).
2064 * scripts/rellns-sh: Add -p option.
2065 * Makerules (make-shlib-link): Use rellns-sh to get relative name
2066 for source.
2067
d3cfc668
SP
20682013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2069
2070 * manual/nptl.texi: Renamed to ...
2071 * manual/threads.texi: ... this.
2072 * manual/Makefile (chapters): Update.
2073
0e2b9cdd
RM
20742013-03-18 Roland McGrath <roland@hack.frob.com>
2075
2076 [BZ #14812]
2077 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
2078 on argument names, not just descriptions.
0e2b9cdd
RM
2079 * malloc/memusagestat.c (options): Likewise.
2080 * nss/getent.c (options): Likewise.
63270c24
RM
2081
20822013-03-18 Benno Schulenberg <bensberg@justemail.net>
2083
2084 [BZ #14812]
2085 * iconv/iconv_prog.c (options): Put N_ translation marker
2086 on argument names, not just descriptions.
2087 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 2088
b2e1393c
OB
20892013-03-18 Ondrej Bilka <neleai@seznam.cz>
2090
2091 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
2092 implementation which is faster on all x86_64 architectures.
2093 Tested on AMD, Intel Nehalem, SNB, IVB.
2094 * sysdeps/x86_64/strnlen.S: Likewise.
2095
2096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2097 Remove all multiarch strlen and strnlen versions.
2098 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
2099 Remove strlen and strnlen related parts.
2100
2101 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
2102 Inline strlen part.
2103 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2104
2105 * sysdeps/x86_64/multiarch/strlen.S: Remove.
2106 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
2107 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
2108 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
2109 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
2110 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
2111
ec4ff04d
CD
21122013-03-17 Carlos O'Donell <carlos@redhat.com>
2113
2114 * manual/memory.texi (Malloc Tunable Parameters):
2115 Sort parameters alphabetically. Add comments for missing entries.
2116
cd18e90a
DM
21172013-03-17 David S. Miller <davem@davemloft.net>
2118
2119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2120
2a185d32
JM
21212013-03-16 Joseph Myers <joseph@codesourcery.com>
2122
d2f9799e
JM
2123 [BZ #15283]
2124 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
2125 for arguments at most half maximum finite value.
2126 * math/libm-test.inc (j0_test): Add more tests.
2127 (j1_test): Likewise.
2128 (y0_test): Likewise.
2129 (y1_test): Likewise.
2130 * sysdeps/i386/fpu/libm-test-ulps: Update.
2131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2132
2a185d32
JM
2133 [BZ #14155]
2134 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
2135 1 / x and functions P and Q for arguments above 0x1p256L.
2136 (__ieee754_y0l): Likewise.
2137 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
2138 (__ieee754_y1l): Likewise.
2139 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
2140 (j1_test): Likewise.
2141 (y0_test): Likewise.
2142 (y1_test): Likewise.
2143
6cbec759
TS
21442013-03-16 Thomas Schwinge <thomas@codesourcery.com>
2145
2146 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
2147 variable.
2148
bc16e260
RM
21492013-03-15 Roland McGrath <roland@hack.frob.com>
2150
aefc9b8c
RM
2151 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
2152 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
2153 zero since it's initialized to EXEC_PAGESIZE.
2154
bc16e260
RM
2155 * sysdeps/unix/sysv/linux/ldsodefs.h
2156 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
2157 * sysdeps/generic/ldsodefs.h: ... here.
2158
a57da955
TS
21592013-03-15 Thomas Schwinge <thomas@codesourcery.com>
2160
af00a34d
TS
2161 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
2162
495ded2c
TS
2163 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
2164 math/test-snan.c.
2165 * math/test-snan.c: Renamed from
2166 sysdeps/powerpc/fpu/test-powerpc-snan.c.
2167 * math/Makefile (tests): Add test-snan.
2168 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
2169 test-powerpc-snan.
2170
777b0332
TS
2171 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
2172 SUFFIX. Initialize qNaN_var with __builtin_nan family of
2173 functions.
2174 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
2175 __builtin_nan family of functions.
2176 * math/libm-test.inc (initialize): Initialize qnan_value with
2177 __builtin_nan family of functions.
2178 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
2179 Remove variables.
2180 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
2181 Remove functions.
2182 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
2183 storage class. Initialize qNaN_var and sNaN_var with
2184 __builtin_nan and __builtin_nans families of functions,
2185 respectively.
2186
64d063b8
TS
2187 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2188 (sqrt_test): Remove duplicate test with qNaN input.
2189 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2190 (round_test, signbit_test, significand_test): Note missing +/-Inf
2191 as well as qNaN tests.
2192
67e971f1
TS
2193 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2194 qNaN_var. Fix a few strings, too.
2195 * math/libm-test.inc (nan_value): Rename to qnan_value.
2196 * math/gen-libm-test.pl (%beautify): Adjust to that.
2197 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2198 * math/test-misc.c (main): Likewise.
2199 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2200 to __qnan_bytes, and __qnan_union, respectively.
2201 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2202 Likewise.
2203 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2204 and lqnanval, respectively.
2205 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2206 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2207 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2208 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2209
64487e12
TS
2210 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2211 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2212 doubles.
2213
e015e27b
TS
2214 * math/test-misc.c (main): Fix copy'n'pastos.
2215 * misc/tst-efgcvt.c (special): Likewise.
2216
a57da955
TS
2217 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2218 Remove declarations.
2219
1e380345
SP
22202013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2221
2222 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2223 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2224 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2225 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2226
ef26eece
AZ
22272013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2228
2229 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2230 macro to return vdso values correctly in IFUNC implementations.
2231 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2232 Optimization by using IFUNC.
2233
8cfdb7e0
SP
22342013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2235 Richard Henderson <rth@redhat.com>
2236 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2237
2238 * Makefile.in (bench): New target.
2239 * NEWS: Mention the benchmark framework.
2240 * Rules (bench): Likewise.
2241 (binaries-bench): Generate binaries for functions to
2242 benchmark.
2243 * benchtests/Makefile: New makefile for benchmark tests.
2244 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2245 programs.
2246 * benchtests/exp-inputs: New input file for EXP function.
2247 * benchtests/pow-inputs: New input file for POW function.
2248 * scripts/bench.pl: New script to generate source files for
2249 benchmark programs.
2250
bcda9880
SP
22512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2252
d22ca8cd
SP
2253 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2254 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2255 computations on mantissa. Use macros for rounding and
2256 division.
2257 (denorm): Likewise.
2258 (__dbl_mp): Likewise.
2259 (add_magnitudes): Likewise.
2260 (sub_magnitudes): Likewise.
2261 (__mul): Likewise.
2262 (__sqr): Likewise.
2263 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2264 powers of two in terms of TWOPOW macro.
2265 (mp_no): Make type of mantissa as MANTISSA_T.
2266 [!RADIXI]: Define RADIXI.
2267 [!TWO52]: Define TWO52.
2268 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2269
bcda9880
SP
2270 * manual/nptl.texi (cindex): Modify threads to pthreads.
2271
06d5adfb
JM
22722013-03-15 Joseph Myers <joseph@codesourcery.com>
2273
2274 * sysdeps/x86_64/preconfigure: Regenerated.
2275
41c7328e
JM
22762013-03-14 Joseph Myers <joseph@codesourcery.com>
2277
2278 [BZ #14155]
2279 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2280 0x1p28 and above.
2281 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2282 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2283 0x1p28 and above.
2284 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2285 * math/libm-test.inc (j0_test): Do not allow one spurious
2286 underflow exception.
2287 (y1_test): Likewise.
2288
e25cfa60
SP
22892013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2290
0409959c
SP
2291 * manual/Makefile (chapters): Add nptl.
2292 * manual/debug.texi (Debugging Support): Add link to Threads
2293 chapter.
2294 * manual/nptl.texi: New file.
2295
e25cfa60
SP
2296 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2297
58a1335e
PB
22982013-03-14 Petr Baudis <pasky@ucw.cz>
2299
2300 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2301 for non-NULL pointer before the memory validity test. Pointed
2302 out by Holger Brunck <holger.brunck@keymile.com>.
2303
9dc7c64f
AS
23042013-03-13 Andreas Schwab <schwab@suse.de>
2305
2306 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2307 instead of .os.
2308
54206aa6
JM
23092013-03-13 Joseph Myers <joseph@codesourcery.com>
2310
2311 * timezone/zic.c: Update from tzcode 2013b.
2312
e98cdb38
CD
23132013-03-12 Carlos O'Donell <carlos@redhat.com>
2314
2315 * manual/install.texi (Configuring and compiling):
2316 Mention i686 and i586.
2317 * INSTALL: Regenerate.
2318
9967e003
RM
23192013-03-12 Roland McGrath <roland@hack.frob.com>
2320
2321 * sysdeps/init_array/elf-init.c: New file.
2322 * csu/elf-init.c
2323 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2324 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2325
2326 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2327 __gmon_start__ as global, but as static with a .preinit_array pointer.
2328 * sysdeps/init_array/gmon-start.c: New file. Use that.
2329 * sysdeps/init_array/crti.S: New file, empty except for comments.
2330 * sysdeps/init_array/crtn.S: Likewise.
2331
e6b5a293 23322013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2333
2334 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2335 definining bcopy.
80f844c9
OB
2336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2337 Remove Prefer_SSE_for_memop.
2338 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2339 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2340 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2342 memset-x86-64.
80f844c9 2343 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2344 Remove bzero, memset ifunc support.
80f844c9
OB
2345 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2346 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2347 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2348 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2349
fb6b0fcb
AS
23502013-03-11 Andreas Schwab <schwab@suse.de>
2351
2352 [BZ #15234]
2353 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2354 by SHLIB_COMPAT.
2355 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2356 (GLIBC_2.16): Remove pthread_atfork.
2357
3e6bd4b1
PP
23582013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2359
2360 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2361 (ptestcases.h): Likewise.
2362
222d7f00
RM
23632013-03-08 Roland McGrath <roland@hack.frob.com>
2364
2365 * Makeconfig ($(common-objpfx)config.status): Depend on
2366 sysdeps/*/preconfigure{,.in} too.
2367
1ba4f030
JM
23682013-03-08 Joseph Myers <joseph@codesourcery.com>
2369
a222d91a
JM
2370 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2371 (__free_hook): Use void * instead of __malloc_ptr_t.
2372 (__malloc_hook): Likewise.
2373 (__realloc_hook): Likewise.
2374 (__memalign_hook): Likewise.
2375 (__after_morecore_hook): Likewise.
2376 * malloc/arena.c (save_malloc_hook): Likewise.
2377 (save_free_hook): Likewise.
2378 * malloc/hooks.c (malloc_hook_ini): Likewise.
2379 (realloc_hook_ini): Likewise.
2380 (memalign_hook_ini): Likewise.
2381 * malloc/malloc.c (malloc_hook_ini): Likewise.
2382 (realloc_hook_ini): Likewise.
2383 (memalign_hook_ini): Likewise.
2384 (__free_hook): Likewise.
2385 (__malloc_hook): Likewise.
2386 (__realloc_hook): Likewise.
2387 (__memalign_hook): Likewise.
2388 (__libc_malloc): Likewise.
2389 (__libc_free): Likewise.
2390 (__libc_realloc): Likewise.
2391 (__libc_memalign): Likewise.
2392 (__libc_valloc): Likewise.
2393 (__libc_pvalloc): Likewise.
2394 (__libc_calloc): Likewise.
2395 (__posix_memalign): Likewise.
2396 * malloc/morecore.c (__sbrk): Likewise.
2397 (__default_morecore): Likewise.
2398
5cc45e10
JM
2399 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2400
dd54b864
JM
2401 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2402 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2403 __malloc_ptrdiff_t.
2404
1ba4f030
JM
2405 * malloc/malloc.h (__malloc_size_t): Remove macro.
2406 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2407 __malloc_size_t.
2408 (old_memalign_hook): Likewise.
2409 (old_realloc_hook): Likewise.
2410 (struct hdr): Likewise.
2411 (flood): Likewise.
2412 (mallochook): Likewise.
2413 (memalignhook): Likewise.
2414 (reallochook): Likewise.
2415 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2416 (tr_old_realloc_hook): Likewise.
2417 (tr_old_memalign_hook): Likewise.
2418 (tr_mallochook): Likewise.
2419 (tr_reallochook): Likewise.
2420 (tr_memalignhook): Likewise.
2421
edf66e57
AZ
24222013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2423
2424 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2425 default_ldbl_pack and using as default implementation.
2426 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2427 implementation.
2428 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2429 redundant definition.
2430 (ldbl_insert_mantissa): Likewise.
2431 (ldbl_canonicalize): Likewise.
2432 (ldbl_nearbyint): Likewise.
2433 (ldbl_pack): Rename to ldbl_pack_ppc.
2434 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2435 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2436 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2437
6d9145d8
SP
24382013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2439
2440 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2441 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2442 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2443 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2444 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2445 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2446 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2447 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2448
4dd4e157
AJ
24492013-03-07 Andreas Jaeger <aj@suse.de>
2450
2451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2452 bits/mman-linux.h.
2453
adbb8027
SP
24542013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2455
ce544b5b
SP
2456 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2457 Include mpa.h and declare __MPEXP.
2458 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2459 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2460 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2461 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2462 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2463 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2464 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2465
4cc149fd
SP
2466 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2467 (__slowpow): Use long double EXPL and LOGL functions to
2468 compute POW.
2469 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2470 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2471 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2472 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2473 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2474 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2475
e6ebd4a7
SP
2476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2477 intermediate variable to calculate exponent.
2478 (__sqr): Likewise.
2479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2480 Likewise.
2481 (__sqr): Likewise.
2482
82a9811d
SP
2483 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2484 [!NO__SQR]: Define __sqr.
2485 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2486 and NO__SQR. Remove all code except __mul and __sqr. Include
2487 sysdeps/ieee754/dbl-64/mpa.c.
2488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2489
adbb8027
SP
2490 [BZ #12723]
2491 * posix/Makefile (tests): Add tst-pathconf.
2492 * posix/tst-pathconf.c: New test case.
2493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2494 _PC_PIPE_BUF.
2495 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2496
39120df9
PF
24972013-03-06 Patsy Franklin <pfrankli@redhat.com>
2498
2499 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2500
67525cb8
AJ
25012013-03-06 Andreas Jaeger <aj@suse.de>
2502
664a9ce4
AJ
2503 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2504 definition via __MAP_ANONYMOUS.
2505
8e39047d
AJ
2506 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2507 it's not part of Linux headers.
2508
67525cb8
AJ
2509 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2510 (MAP_HUGE_MASK): Define.
2511
2512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2513 Define.
2514 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2516 Define.
2517 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2518 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2519 Define.
2520 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2521 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2522 Define.
2523 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2524
2525 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2526 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2527 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2528 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2529 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2531
2532 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2533 Handle f2fs.
2534
2535 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2536 Handle f2fs and efivarfs.
2537
2538 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2539 f2fs.
2540
2541 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2542 (EFIVARFS_MAGIC): Add.
2543 (F2FS_LINK_MAX): Add.
2544
e1b42695
PP
25452013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2546
2547 * stdio-common/vfprintf.c: Replace __builtin_expect with
2548 __glibc_unlikely.
2549
2d67d91a
JM
25502013-03-06 Joseph Myers <joseph@codesourcery.com>
2551
2552 [BZ #13550]
2553 * sysdeps/generic/bp-sym.h: Remove file.
2554 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2555 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2556 <bp-sym.h> and <bp-asm.h>.
2557 (__longjmp): Don't use BP_SYM.
2558 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2559 and <bp-asm.h>.
2560 (memcpy): Don't use BP_SYM.
2561 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2562 <bp-sym.h> and <bp-asm.h>.
2563 (memcpy): Don't use BP_SYM.
2564 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2565 <bp-asm.h>.
2566 (memcpy): Don't use BP_SYM.
2567 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2568 <bp-asm.h>.
2569 (memset): Don't use BP_SYM.
2570 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2571 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2572 (__bzero): Don't use BP_SYM.
2573 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2574 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2575 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2576 <bp-sym.h> and <bp-asm.h>.
2577 (memcmp): Don't use BP_SYM. Remove comment about bounded
2578 pointers.
2579 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2580 <bp-sym.h> and <bp-asm.h>.
2581 (memcpy): Don't use BP_SYM.
2582 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2583 <bp-sym.h> and <bp-asm.h>.
2584 (memset): Don't use BP_SYM.
2585 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2586 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2587 (__bzero): Don't use BP_SYM.
2588 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2589 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2590 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2591 <bp-sym.h> and <bp-asm.h>.
2592 (strncmp): Don't use BP_SYM. Remove comment about bounded
2593 pointers.
2594 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2595 <bp-sym.h> and <bp-asm.h>.
2596 (memcpy): Don't use BP_SYM.
2597 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2598 <bp-sym.h> and <bp-asm.h>.
2599 (memset): Don't use BP_SYM.
2600 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2601 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2602 (__bzero): Don't use BP_SYM.
2603 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2604 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2605 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2606 <bp-sym.h> and <bp-asm.h>.
2607 (__memchr): Don't use BP_SYM.
2608 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2609 <bp-sym.h> and <bp-asm.h>.
2610 (memcmp): Don't use BP_SYM. Remove comment about bounded
2611 pointers.
2612 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2613 <bp-sym.h> and <bp-asm.h>.
2614 (memcpy): Don't use BP_SYM.
2615 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2616 <bp-sym.h> and <bp-asm.h>.
2617 (__mempcpy): Don't use BP_SYM.
2618 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2619 <bp-sym.h> and <bp-asm.h>.
2620 (__memrchr): Don't use BP_SYM.
2621 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2622 <bp-sym.h> and <bp-asm.h>.
2623 (memset): Don't use BP_SYM.
2624 (__bzero): Likewise.
2625 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2626 <bp-sym.h> and <bp-asm.h>.
2627 (__rawmemchr): Don't use BP_SYM.
2628 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2629 <bp-sym.h> and <bp-asm.h>.
2630 (__STRCMP): Don't use BP_SYM.
2631 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2632 <bp-sym.h> and <bp-asm.h>.
2633 (strchr): Don't use BP_SYM.
2634 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2635 <bp-sym.h> and <bp-asm.h>.
2636 (__strchrnul): Don't use BP_SYM.
2637 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2638 <bp-sym.h> and <bp-asm.h>.
2639 (strlen): Don't use BP_SYM.
2640 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2641 <bp-sym.h> and <bp-asm.h>.
2642 (strncmp): Don't use BP_SYM. Remove comment about bounded
2643 pointers.
2644 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2645 <bp-sym.h> and <bp-asm.h>.
2646 (__strnlen): Don't use BP_SYM.
2647 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2648 <bp-sym.h> and <bp-asm.h>.
2649 (__GI__setjmp): Don't use BP_SYM.
2650 (_setjmp): Likewise.
2651 (__sigsetjmp): Likewise.
2652 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2653 (L(start_addresses)): Don't use BP_SYM.
2654 (_start): Likewise.
2655 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2656 <bp-asm.h>.
2657 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2658 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2659 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2660 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2661 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2662 <bp-asm.h>.
2663 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2664 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2665 about bounded pointers.
2666 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2667 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2668 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2669 <bp-asm.h>.
2670 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2671 about bounded pointers. Remove GKM FIXME comments.
2672 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2673 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2674 <bp-asm.h>.
2675 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2676 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2677 Remove GKM FIXME comments.
2678 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2679 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2680 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2681 <bp-asm.h>.
2682 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2683 about bounded pointers. Remove GKM FIXME comment.
2684 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2685 and <bp-asm.h>.
2686 (strncmp): Don't use BP_SYM. Remove comment about bounded
2687 pointers.
2688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2689 <bp-sym.h> and <bp-asm.h>.
2690 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2692 <bp-sym.h> and <bp-asm.h>.
2693 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2694 comment.
2695
cdcf361f
PP
26962013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2697
2698 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2699 call free(NULL).
2700
3c4a2b15
DM
27012013-03-05 David S. Miller <davem@davemloft.net>
2702
2703 * po/es.po: Update from translation team.
2704
cdcf361f 27052013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2706
2707 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2708 <bits/mman-linux.h>.
2709 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2710 is fine.
2711 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2712 <bits/mman-linux.h> to end of file.
2713 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2714 is fine.
2715 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2716 <bits/mman-linux.h> to end of file.
2717 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2718 is fine.
2719 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2720 <bits/mman-linux.h> to end of file.
2721
2722 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2723 (MCL_CURRENT, MCL_FUTURE): Define here.
2724
5f67c04f
AK
27252013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2726
8a4473cc 2727 [BZ #15232]
5f67c04f
AK
2728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2729 attribute_hidden.
2730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2731
c3e94a95
AK
27322013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2733
2734 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2735 fourth parameter needed for rt_sigprocmask syscall.
2736 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2737 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2738 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2739 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2740 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2741 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2742
cfb6382a
JM
27432013-03-04 Joseph Myers <joseph@codesourcery.com>
2744
2745 [BZ #13550]
2746 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2747 comment about bounded pointers.
2748 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2749 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2750
539d8e01
AJ
27512013-03-04 Andreas Jaeger <aj@suse.de>
2752
2753 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2754 common definitions.
2755
2756 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2757 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2758 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2759 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2760 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2761 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2762
2e167a70 27632013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2764
2765 [BZ #15055]
2766 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2767 __ieee754_sqrl instead of __sqrl.
2768
68508633
JM
27692013-03-01 Joseph Myers <joseph@codesourcery.com>
2770
2771 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2772 * sysdeps/powerpc/fpu_control.h: ... here.
2773 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2774 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2775 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2776 * sysdeps/powerpc/bits/mathinline.h: ... here.
2777
7775448e
RM
27782013-03-01 Roland McGrath <roland@hack.frob.com>
2779
2780 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2781 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2782 to just [NEED_DL_SYSINFO_DSO].
2783 * elf/dl-support.c: Likewise.
2784 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2785 * elf/rtld.c (dl_main): Likewise.
2786 * elf/setup-vdso.h (setup_vdso): Likewise.
2787 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2788 * sysdeps/unix/sysv/linux/dl-sysdep.c
2789 (_dl_discover_osversion): Likewise.
2790
4e9b5995
CD
27912013-03-01 Carlos O'Donell <carlos@redhat.com>
2792
2793 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2794 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2795
e23872c8
SP
27962013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2797
e5c74c63
SP
2798 * NEWS: Mention libm performance improvements and non-x86 PI
2799 futex support.
2800
e23872c8
SP
2801 * csu/libc-start.c (__pthread_initialize_minimal): Change
2802 function arguments.
2803 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2804
b5510883
JM
28052013-02-28 Joseph Myers <joseph@codesourcery.com>
2806
2807 [BZ #13550]
2808 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2809 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2810 <bp-sym.h> and <bp-asm.h>.
2811 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2812 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2813 and <bp-asm.h>.
2814 (memcpy): Don't use BP_SYM.
2815 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2816 <bp-asm.h>.
2817 (__mpn_add_n): Don't use BP_SYM.
2818 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2819 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2820 and <bp-asm.h>.
2821 (__mpn_addmul_1): Don't use BP_SYM.
2822 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2823 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2824 <bp-sym.h>.
2825 (_setjmp): Don't use BP_SYM.
2826 (__novmx_setjmp): Likewise.
2827 (__GI__setjmp): Likewise.
2828 (__vmx_setjmp): Likewise.
2829 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2830 <bp-sym.h>.
2831 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2832 (__bzero): Don't use BP_SYM.
2833 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2834 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2835 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2836 <bp-sym.h> and <bp-asm.h>.
2837 (memcpy): Don't use BP_SYM.
2838 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2839 <bp-sym.h> and <bp-asm.h>.
2840 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2841 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2842 <bp-sym.h> and <bp-asm.h>.
2843 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2844 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2845 <bp-asm.h>.
2846 (__mpn_lshift): Don't use BP_SYM.
2847 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2848 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2849 <bp-asm.h>.
2850 (memset): Don't use BP_SYM.
2851 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2852 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2853 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2854 <bp-asm.h>.
2855 (__mpn_mul_1): Don't use BP_SYM.
2856 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2857 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2858 <bp-sym.h> and <bp-asm.h>.
2859 (memcmp): Don't use BP_SYM.
2860 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2861 <bp-sym.h> and <bp-asm.h>.
2862 (memcpy): Don't use BP_SYM.
2863 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2864 <bp-sym.h> and <bp-asm.h>.
2865 (memset): Don't use BP_SYM.
2866 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2867 <bp-sym.h> and <bp-asm.h>.
2868 (strncmp): Don't use BP_SYM.
2869 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2870 <bp-sym.h> and <bp-asm.h>.
2871 (memcpy): Don't use BP_SYM.
2872 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2873 <bp-sym.h> and <bp-asm.h>.
2874 (memset): Don't use BP_SYM.
2875 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2876 <bp-sym.h> and <bp-asm.h>.
2877 (__memchr): Don't use BP_SYM.
2878 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2879 <bp-sym.h> and <bp-asm.h>.
2880 (memcmp): Don't use BP_SYM.
2881 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2882 <bp-sym.h> and <bp-asm.h>.
2883 (memcpy): Don't use BP_SYM.
2884 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2885 <bp-sym.h> and <bp-asm.h>.
2886 (__mempcpy): Don't use BP_SYM.
2887 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2888 <bp-sym.h> and <bp-asm.h>.
2889 (__memrchr): Don't use BP_SYM.
2890 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2891 <bp-sym.h> and <bp-asm.h>.
2892 (memset): Don't use BP_SYM.
2893 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2894 <bp-sym.h> and <bp-asm.h>.
2895 (__rawmemchr): Don't use BP_SYM.
2896 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2897 <bp-sym.h> and <bp-asm.h>.
2898 (__STRCMP): Don't use BP_SYM.
2899 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2900 <bp-sym.h> and <bp-asm.h>.
2901 (strchr): Don't use BP_SYM.
2902 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2903 <bp-sym.h> and <bp-asm.h>.
2904 (__strchrnul): Don't use BP_SYM.
2905 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2906 <bp-sym.h> and <bp-asm.h>.
2907 (strlen): Don't use BP_SYM.
2908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2909 <bp-sym.h> and <bp-asm.h>.
2910 (strncmp): Don't use BP_SYM.
2911 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2912 <bp-sym.h> and <bp-asm.h>.
2913 (__strnlen): Don't use BP_SYM.
2914 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2915 <bp-asm.h>.
2916 (__mpn_rshift): Don't use BP_SYM.
2917 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2918 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2919 <bp-sym.h> and <bp-asm.h>.
2920 (__sigsetjmp): Don't use BP_SYM.
2921 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2922 (L(start_addresses)): Don't use BP_SYM.
2923 (_start): Likewise.
2924 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2925 <bp-asm.h>.
2926 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2927 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2928 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2929 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2930 <bp-asm.h>.
2931 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2932 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2933 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2934 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2935 <bp-asm.h>.
2936 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2937 comments.
2938 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2939 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2940 <bp-asm.h>.
2941 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2942 FIXME comments.
2943 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2944 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2945 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2946 <bp-asm.h>.
2947 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2948 comment.
2949 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2950 and <bp-asm.h>.
2951 (strncmp): Don't use BP_SYM,
2952 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2953 <bp-asm.h>.
2954 (__mpn_sub_n): Don't use BP_SYM.
2955 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2956 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2957 and <bp-asm.h>.
2958 (__mpn_submul_1): Don't use BP_SYM.
2959 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2961 <bp-sym.h> and <bp-asm.h>.
2962 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2964 <bp-sym.h> and <bp-asm.h>.
2965 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2966 comment.
2967
8d19fe64
SP
29682013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2969
2970 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2971 Use ZK to minimize writes to Z.
2972 (sub_magnitudes): Simplify code a bit.
2973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2974 Use ZK to minimize writes to Z.
2975 (sub_magnitudes): Simplify code a bit.
2976
85bd816a
RM
29772013-02-27 Roland McGrath <roland@hack.frob.com>
2978
2979 * csu/gmon-start.c: Add special exception to license text.
2980
b5977bf2
RH
29812013-02-27 Richard Henderson <rth@redhat.com>
2982
2983 * scripts/config.guess: Update from config.git.
2984 * scripts/config.sub: Likewise.
2985
11d6e2f2
SP
29862013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2987
09c14ed2
SP
2988 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2989
a688864e
SP
2990 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2991
6295157a
SP
2992 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2993
b8de2202
SP
2994 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2995
11d6e2f2
SP
2996 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2997
7e80ddb8
RM
29982013-02-26 Roland McGrath <roland@hack.frob.com>
2999
3000 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
3001 [$(build-shared = yes].
7e80ddb8 3002
7da6d9ed
SP
30032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3004
45f05884
SP
3005 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
3006 (__mul): Reduce iterations for calculating mantissa.
3007
2236d359
SP
3008 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
3009 MPTWO.
3010 (__mpranred): Likewise.
3011
7da6d9ed
SP
3012 [BZ #15160]
3013 * malloc/memusagestat.c (main): Draw graphs for heap and stack
3014 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
3015
b7688c42
PE
30162013-02-26 Paul Eggert <eggert@cs.ucla.edu>
3017
3018 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
3019 Define __attribute__.
3020
53a5c423
SP
30212013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3022
3023 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
3024 unused.
3025 * posix/regex_internal.h (__attribute): Remove.
3026 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
3027 (re_string_context_at): Likewise.
3028 (bitset_not): Use __attribute__ and mark function as possibly
3029 unused.
3030 (bitset_merge): Likewise.
3031 (bitset_mask): Likewise.
3032 (re_string_char_size_at): Likewise.
3033 (re_string_wchar_at): Likewise.
3034 (re_string_elem_size_at): Likewise.
3035
60f5a8b5
SP
30362013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3037
2a983a2e
SP
3038 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
3039 code.
3040 (cc32): Likewise.
3041
e69804d1
SP
3042 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
3043 (__acr): Likewise.
3044 (__cpy): Likewise.
3045 (norm): Likewise.
3046 (denorm): Likewise.
3047 (__dbl_mp): Likewise.
3048 (add_magnitudes): Likewise.
3049 (sub_magnitudes): Likewise.
3050 (__mul): Likewise.
3051 (__inv): Likewise.
3052
2f22a1e8
SP
3053 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
3054 style.
3055
8930ddc7
SP
3056 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
3057 style.
3058
dc60cb11
SP
3059 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
3060 code.
3061
60f5a8b5
SP
3062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
3063 up changes with default code.
3064 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
3065 Likewise.
3066
b4d1fd33
AM
30672013-02-24 Allan McRae <allan@archlinux.org>
3068
faf6f8bc
AM
3069 * manual/socket.texi (The Internet Namespace): Order menu items
3070 to match that in the file.
3071
b4d1fd33
AM
3072 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
3073 node listing of the info page menu.
3074
2366713d
JM
30752013-02-21 Joseph Myers <joseph@codesourcery.com>
3076
3077 [BZ #13550]
3078 * sysdeps/i386/bp-asm.h: Remove file.
3079 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3080 (PARMS): Do not use macros from bp-asm.h.
3081 (S1): Likewise.
3082 (S2): Likewise.
3083 (SIZE): Likewise.
3084 (__mpn_add_n): Do not use BP_SYM
3085 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
3086 "bp-asm.h".
3087 (PARMS): Do not use macros from bp-asm.h.
3088 (S1): Likewise.
3089 (SIZE): Likewise.
3090 (__mpn_addmul_1): Do not use BP_SYM
3091 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
3092 "bp-asm.h".
3093 (PARMS): Do not use macros from bp-asm.h.
3094 (SIGMSK): Likewise.
3095 (_setjmp): Likewise. Do not use BP_SYM.
3096 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
3097 "bp-asm.h".
3098 (PARMS): Do not use macros from bp-asm.h.
3099 (SIGMSK): Likewise.
3100 (setjmp): Likewise. Do not use BP_SYM.
3101 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
3102 "bp-asm.h".
3103 (PARMS): Do not use macros from bp-asm.h.
3104 (__frexp): Do not use BP_SYM.
3105 (frexp): Likewise.
3106 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
3107 "bp-asm.h".
3108 (PARMS): Do not use macros from bp-asm.h.
3109 (__frexpf): Do not use BP_SYM.
3110 (frexpf): Likewise.
3111 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
3112 "bp-asm.h".
3113 (PARMS): Do not use macros from bp-asm.h.
3114 (__frexpl): Do not use BP_SYM.
3115 (frexpl): Likewise.
3116 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
3117 "bp-asm.h".
3118 (PARMS): Do not use macros from bp-asm.h.
3119 (__remquo): Do not use BP_SYM.
3120 (remquo): Likewise.
3121 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
3122 "bp-asm.h".
3123 (PARMS): Do not use macros from bp-asm.h.
3124 (__remquof): Do not use BP_SYM.
3125 (remquof): Likewise.
3126 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
3127 "bp-asm.h".
3128 (PARMS): Do not use macros from bp-asm.h.
3129 (__remquol): Do not use BP_SYM.
3130 (remquol): Likewise.
3131 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
3132 "bp-asm.h".
3133 (PARMS): Do not use macros from bp-asm.h.
3134 (DEST): Likewise.
3135 (SRC): Likewise.
3136 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
3137 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
3138 "bp-asm.h".
3139 (PARMS): Do not use macros from bp-asm.h.
3140 (strlen): Do not use BP_SYM.
3141 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
3142 "bp-asm.h".
3143 (PARMS): Do not use macros from bp-asm.h.
3144 (S1): Likewise.
3145 (S2): Likewise.
3146 (SIZE): Likewise.
3147 (__mpn_add_n): Do not use BP_SYM.
3148 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
3149 "bp-asm.h".
3150 (PARMS): Do not use macros from bp-asm.h.
3151 (S1): Likewise.
3152 (SIZE): Likewise.
3153 (__mpn_addmul_1): Do not use BP_SYM.
3154 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
3155 weak_alias.
3156 (bzero): Likewise.
3157 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
3158 "bp-asm.h".
3159 (PARMS): Do not use macros from bp-asm.h.
3160 (S): Likewise.
3161 (SIZE): Likewise.
3162 (__mpn_lshift): Do not use BP_SYM.
3163 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
3164 "bp-asm.h".
3165 (PARMS): Do not use macros from bp-asm.h.
3166 (DEST): Likewise.
3167 (SRC): Likewise.
3168 (LEN): Likewise.
3169 (memcpy): Likewise. Do not use BP_SYM.
3170 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
3171 libc_hidden_def and weak_alias.
3172 (mempcpy): Do not use BP_SYM in weak_alias.
3173 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
3174 "bp-asm.h".
3175 (PARMS): Do not use macros from bp-asm.h.
3176 (DEST): Likewise.
3177 (LEN): Likewise.
3178 [!BZERO_P] (CHR): Likewise.
3179 (memset): Likewise. Do not use BP_SYM.
3180 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
3181 "bp-asm.h".
3182 (PARMS): Do not use macros from bp-asm.h.
3183 (S1): Likewise.
3184 (SIZE): Likewise.
3185 (__mpn_mul_1): Do not use BP_SYM.
3186 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3187 "bp-asm.h".
3188 (PARMS): Do not use macros from bp-asm.h.
3189 (S): Likewise.
3190 (SIZE): Likewise.
3191 (__mpn_rshift): Do not use BP_SYM.
3192 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3193 "bp-asm.h".
3194 (PARMS): Do not use macros from bp-asm.h.
3195 (STR): Likewise.
3196 (CHR): Likewise.
3197 (strchr): Likewise. Do not use BP_SYM.
3198 (index): Do not use BP_SYM in weak_alias.
3199 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3200 "bp-asm.h".
3201 (PARMS): Do not use macros from bp-asm.h.
3202 (DEST): Likewise.
3203 (SRC): Likewise.
3204 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3205 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3206 "bp-asm.h".
3207 (PARMS): Do not use macros from bp-asm.h.
3208 (strlen): Do not use BP_SYM.
3209 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3210 "bp-asm.h".
3211 (PARMS): Do not use macros from bp-asm.h.
3212 (S1): Likewise.
3213 (S2): Likewise.
3214 (SIZE): Likewise.
3215 (__mpn_sub_n): Do not use BP_SYM.
3216 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3217 "bp-asm.h".
3218 (PARMS): Do not use macros from bp-asm.h.
3219 (S1): Likewise.
3220 (SIZE): Likewise.
3221 (__mpn_submul_1): Do not use BP_SYM.
3222 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3223 "bp-asm.h".
3224 (PARMS): Do not use macros from bp-asm.h.
3225 (S1): Likewise.
3226 (S2): Likewise.
3227 (SIZE): Likewise.
3228 (__mpn_add_n): Do not use BP_SYM.
3229 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3230 weak_alias.
3231 (bzero): Likewise.
3232 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3233 "bp-asm.h".
3234 (PARMS): Do not use macros from bp-asm.h.
3235 (BLK2): Likewise.
3236 (LEN): Likewise.
3237 (memcmp): Do not use BP_SYM.
3238 (bcmp): Do not use BP_SYM in weak_alias.
3239 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3240 "bp-asm.h".
3241 (PARMS): Do not use macros from bp-asm.h.
3242 (DEST): Likewise.
3243 (SRC): Likewise.
3244 (LEN): Likewise.
3245 (memcpy): Likewise. Do not use BP_SYM.
3246 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3247 "bp-asm.h".
3248 (PARMS): Do not use macros from bp-asm.h.
3249 (DEST): Likewise.
3250 (SRC): Likewise.
3251 (LEN): Likewise.
3252 (memmove): Likewise. Do not use BP_SYM.
3253 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3254 "bp-asm.h".
3255 (PARMS): Do not use macros from bp-asm.h.
3256 (DEST): Likewise.
3257 (SRC): Likewise.
3258 (LEN): Likewise.
3259 (__mempcpy): Likewise. Do not use BP_SYM.
3260 (mempcpy): Do not use BP_SYM in weak_alias.
3261 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3262 "bp-asm.h".
3263 (PARMS): Do not use macros from bp-asm.h.
3264 (DEST): Likewise.
3265 (LEN): Likewise.
3266 [!BZERO_P] (CHR): Likewise.
3267 (memset): Likewise. Do not use BP_SYM.
3268 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3269 "bp-asm.h".
3270 (PARMS): Do not use macros from bp-asm.h.
3271 (STR2): Likewise.
3272 (strcmp): Do not use BP_SYM.
3273 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3274 "bp-asm.h".
3275 (PARMS): Do not use macros from bp-asm.h.
3276 (STR): Likewise.
3277 (DELIM): Likewise.
3278 [USE_AS_STRTOK_R] (SAVE): Likewise.
3279 (FUNCTION): Likewise. Do not use BP_SYM.
3280 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3281 aliases.
3282 (strtok_r): Likewise.
3283 (__GI___strtok_r): Likewise.
3284 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3285 (PARMS): Do not use macros from bp-asm.h.
3286 (S): Likewise.
3287 (SIZE): Likewise.
3288 (__mpn_lshift): Do not use BP_SYM.
3289 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3290 (PARMS): Do not use macros from bp-asm.h.
3291 (STR): Likewise.
3292 (CHR): Likewise.
3293 (__memchr): Do not use BP_SYM.
3294 (memchr): Do not use BP_SYM in weak_alias.
3295 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3296 (PARMS): Do not use macros from bp-asm.h.
3297 (BLK2): Likewise.
3298 (LEN): Likewise.
3299 (memcmp): Do not use BP_SYM.
3300 (bcmp): Do not use BP_SYM in weak_alias.
3301 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3302 (PARMS): Do not use macros from bp-asm.h.
3303 (S1): Likewise.
3304 (SIZE): Likewise.
3305 (__mpn_mul_1): Do not use BP_SYM.
3306 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3307 "bp-asm.h".
3308 (PARMS): Do not use macros from bp-asm.h.
3309 (STR): Likewise.
3310 (CHR): Likewise.
3311 (__rawmemchr): Do not use BP_SYM.
3312 (rawmemchr): Do not use BP_SYM in weak_alias.
3313 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3314 (PARMS): Do not use macros from bp-asm.h.
3315 (S): Likewise.
3316 (SIZE): Likewise.
3317 (__mpn_rshift): Do not use BP_SYM.
3318 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3319 (PARMS): Do not use macros from bp-asm.h.
3320 (SIGMSK): Likewise.
3321 (__sigsetjmp): Likewise. Do not use BP_SYM.
3322 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3323 (_start): Do not use BP_SYM.
3324 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3325 (PARMS): Do not use macros from bp-asm.h.
3326 (DEST): Likewise.
3327 (SRC): Likewise.
3328 (__stpcpy): Likewise. Do not use BP_SYM.
3329 (stpcpy): Do not use BP_SYM in weak_alias.
3330 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3331 "bp-asm.h".
3332 (PARMS): Do not use macros from bp-asm.h.
3333 (DEST): Likewise.
3334 (SRC): Likewise.
3335 (LEN): Likewise.
3336 (__stpncpy): Likewise. Do not use BP_SYM.
3337 (stpncpy): Do not use BP_SYM in weak_alias.
3338 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3339 (PARMS): Do not use macros from bp-asm.h.
3340 (STR): Likewise.
3341 (CHR): Likewise.
3342 (strchr): Likewise. Do not use BP_SYM.
3343 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3344 "bp-asm.h".
3345 (PARMS): Do not use macros from bp-asm.h.
3346 (STR): Likewise.
3347 (CHR): Likewise.
3348 (__strchrnul): Likewise. Do not use BP_SYM.
3349 (strchrnul): Do not use BP_SYM in weak_alias.
3350 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3351 "bp-asm.h".
3352 (PARMS): Do not use macros from bp-asm.h.
3353 (STOP): Likewise.
3354 (strcspn): Do not use BP_SYM.
3355 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3356 "bp-asm.h".
3357 (PARMS): Do not use macros from bp-asm.h.
3358 (STR): Likewise.
3359 (STOP): Likewise.
3360 (strpbrk): Likewise. Do not use BP_SYM.
3361 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3362 "bp-asm.h".
3363 (PARMS): Do not use macros from bp-asm.h.
3364 (STR): Likewise.
3365 (CHR): Likewise.
3366 (strrchr): Likewise. Do not use BP_SYM.
3367 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3368 (PARMS): Do not use macros from bp-asm.h.
3369 (SKIP): Likewise.
3370 (strspn): Do not use BP_SYM.
3371 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3372 (PARMS): Do not use macros from bp-asm.h.
3373 (STR): Likewise.
3374 (DELIM): Likewise.
3375 (SAVE): Likewise.
3376 (FUNCTION): Likewise. Do not use BP_SYM.
3377 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3378 aliases.
3379 (strtok_r): Likewise.
3380 (__GI___strtok_r): Likewise.
3381 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3382 (PARMS): Do not use macros from bp-asm.h.
3383 (S1): Likewise.
3384 (S2): Likewise.
3385 (SIZE): Likewise.
3386 (__mpn_sub_n): Do not use BP_SYM.
3387 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3388 "bp-asm.h".
3389 (PARMS): Do not use macros from bp-asm.h.
3390 (S1): Likewise.
3391 (SIZE): Likewise.
3392 (__mpn_submul_1): Do not use BP_SYM.
3393 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3394 <bp-sym.h>.
3395 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3396 and <bp-asm.h>.
3397 (PARMS): Do not use macros from bp-asm.h.
3398 (FLAGS): Likewise.
3399 (PTID): Likewise.
3400 (TLS): Likewise.
3401 (CTID): Likewise.
3402 (__clone): Do not use BP_SYM.
3403 (clone): Do not use BP_SYM in weak_alias.
3404 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3405 and <bp-asm.h>.
3406 (PARMS): Do not use macros from bp-asm.h.
3407 (LEN): Likewise.
3408 (__mmap64): Do not use BP_SYM.
3409 (mmap64): Do not use BP_SYM in weak_alias.
3410 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3411 <bp-sym.h> and <bp-asm.h>.
3412 (PARMS): Do not use macros from bp-asm.h.
3413 (__posix_fadvise64_l64): Do not use BP_SYM.
3414 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3415 (PARMS): Do not use macros from bp-asm.h.
3416 (NSOPS): Likewise.
3417 (semtimedop): Do not use BP_SYM.
3418 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3419 and <bp-asm.h>.
3420
582a3cff
AM
34212013-02-21 Allan McRae <allan@archlinux.org>
3422
3423 * manual/message.texi (Charset conversion in gettext):
3424 Move @end statement to beginning of line.
3425
bab8a695
SP
34262013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3427
80945231
SP
3428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3429 static.
3430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3431 Likewise.
3432
bab8a695
SP
3433 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3434 (denorm): Likewise.
3435 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3437
e21d7aa7
AK
34382013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3439
3440 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3441 tail-call to the resolved function if pltexit isn't needed.
3442
4c7a4263
SP
34432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3444
3445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3446 or Y being zero as being unlikely.
3447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3448 Likewise.
3449
41f49342
CD
34502013-02-20 Carlos O'Donell <carlos@redhat.com>
3451
3452 * manual/nss.texi (System Databases and Name Service Switch):
3453 Remove frobnicate @pxref.
3454
50022a93
TS
34552013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3456
3457 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3458 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3459
08cbd996
PM
34602013-02-20 Petr Machata <pmachata@redhat.com>
3461
3462 * elf/elf.h (R_ARM_TARGET1): New macro.
3463 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3464 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3465 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3466 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3467 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3468 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3469 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3470 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3471 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3472 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3473 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3474 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3475 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3476 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3477 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3478 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3479 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3480 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3481 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3482 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3483 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3484 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3485 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3486 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3487 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3488 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3489 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3490 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3491 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3492 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3493 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3494 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3495 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3496 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3497 (R_ARM_THM_GOT_BREL12): Likewise.
3498 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3499 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3500 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3501 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3502 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3503 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3504 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3505 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3506 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3507
c7b275d6
TS
35082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3509
3510 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3511 __attribute_used__ to __attribute__ ((unused)).
3512
20cd7fb3
SP
35132013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3514
3515 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3516 powerpc mpa.c.
3517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3518 comment formatting.
3519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3520
92945b52
JM
35212013-02-19 Joseph Myers <joseph@codesourcery.com>
3522
3523 [BZ #13550]
3524 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3525 Remove macro.
3526 (ENTER): Remove both macro definitions.
3527 (LEAVE): Likewise.
3528 (CHECK_BOUNDS_LOW): Likewise.
3529 (CHECK_BOUNDS_HIGH): Likewise.
3530 (CHECK_BOUNDS_BOTH): Likewise.
3531 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3532 (RETURN_BOUNDED_POINTER): Likewise.
3533 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3534 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3535 (POP_ERRNO_LOCATION_RETURN): Likewise.
3536 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3537 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3538 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3539 macros.
3540 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3541 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3542 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3543 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3544 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3545 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3546 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3547 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3548 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3549 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3550 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3551 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3552 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3553 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3554 removed macros.
3555 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3556 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3557 macros.
3558 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3559 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3560 * sysdeps/i386/i586/memset.S (memset): Likewise.
3561 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3562 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3563 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3564 macros.
3565 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3566 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3567 Change uses of L(2) to L(out).
3568 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3569 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3570 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3571 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3572 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3573 removed macros.
3574 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3575 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3576 macros.
3577 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3578 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3579 (RETURN): Do not use macro LEAVE.
3580 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3581 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3582 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3583 * sysdeps/i386/i686/memset.S (memset): Likewise.
3584 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3585 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3586 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3587 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3588 Likewise.
3589 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3590 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3591 L(1_2) and L(1_3) into L(1).
3592 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3593 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3594 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3595 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3596 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3597 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3598 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3599 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3600 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3601 macros.
3602 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3603 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3604 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3605 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3606 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3607 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3608 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3609 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3610 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3611 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3612 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3613 * sysdeps/i386/strspn.S (strspn): Likewise.
3614 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3615 conditional code.
3616 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3617 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3618 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3619 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3620 L(1_3) into L(1_1).
3621 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3622 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3623 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3624 macros.
3625 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3626
2389741a
JJ
36272013-02-19 Jakub Jelinek <jakub@redhat.com>
3628
3629 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3630 macro.
3631
2016b3cd
SP
36322013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3633
e4f22324
SP
3634 * math/atest-exp.c (exp_mpn): Remove ROUND.
3635 * math/atest-exp2.c (exp_mpn): Likewise.
3636 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3637
2016b3cd
SP
3638 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3639 * stdlib/tst-tls-atexit-lib.c: Likewise.
3640 * stdlib/tst-tls-atexit.c: Likewise.
3641
4be9b544
MF
36422013-02-18 Mike Frysinger <vapier@gentoo.org>
3643
3644 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3645 and __attribute_alloc_size__.
3646
2f62b9ee
MF
36472013-02-18 Mike Frysinger <vapier@gentoo.org>
3648
3649 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3650 __attribute_alloc_size__.
3651 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3652 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3653
6ff444c4
MF
36542013-02-18 Mike Frysinger <vapier@gentoo.org>
3655
3656 * include/programs/xmalloc.h: New file.
3657 * catgets/gencat.c: Include it.
3658 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3659 * elf/pldd.c: Likewise.
3660 * iconv/iconv_charmap.c: Likewise.
3661 * iconv/iconvconfig.c: Likewise.
3662 * iconv/strtab.c: Likewise.
3663 * locale/programs/locale.c: Likewise.
3664 * locale/programs/localedef.h: Likewise.
3665 * locale/programs/simple-hash.c: Likewise.
3666 * nscd/nscd.h: Likewise.
3667 * nss/makedb.c: Likewise.
3668 * sysdeps/generic/ldconfig.h: Likewise.
3669
be179c8a
SP
36702013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3671
ba384f6e
SP
3672 * Versions.def: Add GLIBC_2.18.
3673 * include/link.h (struct link_map): New member l_tls_dtor_count.
3674 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3675 (__call_tls_dtors): Likewise.
3676 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3677 __cxa_thread_atexit_impl.
3678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3679 Likewise.
3680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3681 Likewise.
3682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3683 Likewise.
3684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3685 Likewise.
3686 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3687 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3688 Likewise.
3689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3690 Likewise.
3691 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3692 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3693 Likewise.
3694 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3695 (tests): Add test case tst-tls-atexit.
3696 (modules-names): Add shared library for tst-tls-atexit.
3697 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3698 (GLIBC_PRIVATE): Add __call_tls_dtors.
3699 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3700 for libstdc++.
3701 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3702 * stdlib/tst-tls-atexit.c: New test case.
3703 * stdlib/tst-tls-atexit-lib.c: New test case.
3704
ffaa74cf 3705 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3706
be179c8a
SP
3707 * elf/Versions (ld): Add _dl_find_dso_for_object.
3708 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3709 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3710 (dl_open_worker): Use _dl_find_dso_for_object.
3711 * elf/dl-sym.c (do_sym): Likewise.
3712 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3713
f78b5caa
AK
37142013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3715
3716 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3717 Syntactic changes only.
3718 (_dl_runtime_profile): Do a tail-call to the resolved function.
3719
29691210
JM
37202013-02-17 Joseph Myers <joseph@codesourcery.com>
3721
3722 [BZ #13550]
3723 * sysdeps/x86_64/bp-asm.h: Remove file.
3724 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3725 <bp-sym.h> and <bp-asm.h>.
3726 (__clone): Do not use BP_SYM.
3727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3728 <bp-sym.h> and <bp-asm.h>.
3729 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3730 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3731 "bp-asm.h".
3732 (_setjmp): Do not use BP_SYM.
3733 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3734 "bp-asm.h".
3735 (setjmp): Do not use BP_SYM.
3736 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3737 libc_hidden_def.
3738 (mempcpy): Do not use BP_SYM in weak_alias.
3739 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3740 "bp-asm.h".
3741 (strchr): Do not use BP_SYM.
3742 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3743 "bp-asm.h".
3744 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3745 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3746 (_start): Do not use BP_SYM.
3747 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3748 "bp-asm.h".
3749 (strcat): Do not use BP_SYM.
3750 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3751 "bp-asm.h".
3752 (STRCMP): Do not use BP_SYM.
3753 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3754 "bp-asm.h".
3755 (STRCPY): Do not use BP_SYM.
3756 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3757 "bp-asm.h".
3758 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3759 "bp-asm.h".
3760 (FUNCTION): Do not use BP_SYM.
3761 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3762 weak_alias.
3763 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3764
f238fd19
AJ
37652013-02-17 Andreas Jaeger <aj@suse.de>
3766
3767 * time/Versions: Sort entries.
3768 * string/Versions: Likewise.
3769 * resolv/Versions: Likewise.
3770 * posix/Versions: Likewise.
3771 * iconv/Versions: Likewise.
3772 * elf/Versions: Likewise.
3773 * wcsmbs/Versions: Likewise.
3774
bd07f23c 37752013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3776
22af19f9
SP
3777 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3778 loop termination condition.
3779
4709fe76
SP
3780 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3781 variable to calculate EZ.
3782 (__sqr): Likewise.
2d0e0f29
SP
3783
3784 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3785 the lower precision input.
3786
daaa7713
JM
37872013-02-15 Joseph Myers <joseph@codesourcery.com>
3788
3789 [BZ #13550]
3790 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3791 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3792 (run-via-rtld-prefix): Do not handle %-bp tests.
3793 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3794 (all-object-suffixes): Remove .ob.
3795 (bppfx): Remove variable.
3796 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3797 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3798 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3799 [$(build-bounded) = yes] (libtype.ob): Likewise.
3800 * Makerules (elide-routines.ob): Remove variable.
3801 (do-tests-clean): Do not handle *-bp.out.
3802 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3803 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3804 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3805 (tests): Do not include $(tests-bp.out).
3806 (xtests): Do not include $(xtests-bp.out).
3807 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3808 [$(build-bounded) = yes] ($(addprefix
3809 $(objpfx),$(binaries-bounded))): Remove rule.
3810 ($(objpfx)%-bp.out): Remove rule.
3811 * config.make.in (build-bounded): Remove variable.
3812 * crypt/Makefile [$(build-bounded) = yes]
3813 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3814 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3815 append to variable.
3816 [$(build-bounded) = yes] (install-lib): Likewise.
3817 [$(build-bounded) = yes] (generated): Likewise.
3818 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3819 Remove rule.
3820 * intl/Makefile [$(build-bounded) = yes]
3821 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3822 * math/Makefile [$(build-bounded) = yes]
3823 ($(tests:%=$(objpfx)%-bp): Likewise.
3824 * misc/Makefile [$(build-bounded) = yes]
3825 ($(objpfx)tst-tsearch-bp): Likewise.
3826 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3827 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3828 Remove dependency.
3829 * string/Makefile (o-objects.ob): Remove variable.
3830 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3831 (CFLAGS-.ob): Remove variable.
3832 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3833 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3834 both definitions of variable.
3835 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3836 (ASFLAGS-.ob): Remove variable.
3837
e97ed6dd
JM
38382013-02-14 Joseph Myers <joseph@codesourcery.com>
3839
2bdd4ca6
JM
3840 [BZ #13550]
3841 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3842 Remove __BOUNDED_POINTERS__ from condition.
3843 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3844 * string/bits/string2.h [!__NO_STRING_INLINES &&
3845 !__BOUNDED_POINTERS__]: Likewise.
3846 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3847 Likewise.
3848 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3849 Remove conditional code.
3850 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3851 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3852 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3853 condition.
3854
e97ed6dd
JM
3855 [BZ #13550]
3856 * csu/libc-start.c: Do not include <bp-sym.h>.
3857 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3858 * elf/dl-open.c: Do not include <bp-sym.h>.
3859 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3860 * math/fegetenv.c: Do not include <bp-sym.h>.
3861 (fegetenv): Do not use BP_SYM in versioned symbols.
3862 * nptl/sysdeps/pthread/bits/libc-lockP.h
3863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3864 <bp-sym.h>.
3865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3866 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3868 (__pthread_mutex_destroy): Likewise.
3869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3870 (__pthread_mutex_lock): Likewise.
3871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3872 (__pthread_mutex_trylock): Likewise.
3873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3874 (__pthread_mutex_unlock): Likewise.
3875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3876 (__pthread_mutexattr_init): Likewise.
3877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3878 (__pthread_mutexattr_destroy): Likewise.
3879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3880 (__pthread_mutexattr_settype): Likewise.
3881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3882 (__pthread_rwlock_init): Likewise.
3883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3884 (__pthread_rwlock_destroy): Likewise.
3885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3886 (__pthread_rwlock_rdlock): Likewise.
3887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3888 (__pthread_rwlock_tryrdlock): Likewise.
3889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3890 (__pthread_rwlock_wrlock): Likewise.
3891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3892 (__pthread_rwlock_trywrlock): Likewise.
3893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3894 (__pthread_rwlock_unlock): Likewise.
3895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3896 (__pthread_key_create): Likewise.
3897 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3898 (__pthread_setspecific): Likewise.
3899 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3900 (__pthread_getspecific): Likewise.
3901 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3902 Likewise.
3903 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3904 (_pthread_cleanup_push_defer): Likewise.
3905 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3906 (_pthread_cleanup_pop_restore): Likewise.
3907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3908 (pthread_setcancelstate): Likewise.
3909 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3910 <bp-sym.h>.
3911 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3912 (memchr): Do not use BP_SYM in weak_alias.
3913 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3914 (fegetenv): Do not use BP_SYM in versioned symbols.
3915 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3916 (fesetenv): Do not use BP_SYM in versioned symbols.
3917 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3918 (feupdateenv): Do not use BP_SYM in versioned symbols.
3919 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3920 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3921 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3922 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3923 (open64): Do not use BP_SYM in weak_alias.
3924 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3925 (fegetenv): Do not use BP_SYM in versioned symbols.
3926 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3927 (fesetenv): Do not use BP_SYM in versioned symbols.
3928 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3929 (feupdateenv): Do not use BP_SYM in versioned symbols.
3930 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3931 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3932 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3933 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3934 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3935 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3936 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3937 <bp-sym.h>.
3938 (__libc_start_main): Do not use BP_SYM.
3939
d6752ccd
SP
39402013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3941
cb57ce60
SP
3942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3943 redundant return line.
3944 (norm): Likewise.
3945 (denorm): Likewise.
3946 (dbl_mp): Likewise.
3947 (sub_magnitudes): Likewise.
3948 (__add): Likewise.
3949 (__sub): Likewise.
3950 (__mul): Likewise.
3951 (__inv): Likewise.
3952 (__dvd): Likewise.
3953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3954 (norm): Likewise.
3955 (denorm): Likewise.
3956 (dbl_mp): Likewise.
3957 (sub_magnitudes): Likewise.
3958 (__add): Likewise.
3959 (__sub): Likewise.
3960 (__mul): Likewise.
3961 (__inv): Likewise.
3962 (__dvd): Likewise.
3963
f414520d
SP
3964 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3965 instead of __mul.
3966 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3967 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3968 (cc32): Likewise.
3969
d6752ccd
SP
3970 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3971 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3973 of __mul for squares.
3974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3975 function
3976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3977 Likewise.
3978 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3979 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3980
70d9946a
JM
39812013-02-13 Joseph Myers <joseph@codesourcery.com>
3982
3983 [BZ #13550]
3984 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3985 code.
3986 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3987 prototype or function definition. Rename ubp_* variables and
3988 parameters. Remove argv definitions conditional on
3989 [__BOUNDED_POINTERS__].
3990 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3991 * elf/dl-runtime.c (_dl_fixup): Likewise.
3992 * include/set-hooks.h (RUN_HOOK): Likewise.
3993 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3994 definition.
3995 * string/strcpy.c (strcpy): Do not use __unbounded.
3996 * sysdeps/generic/frame.h (struct layout): Likewise.
3997 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3998 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3999 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
4000 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
4001 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
4002 (__backtrace): Likewise.
4003 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
4004 use __ptrvalue.
4005 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
4006 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4007 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
4008 Likewise.
4009 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
4010 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
4011 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4012 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4013 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
4014 Do not use __unbounded.
4015 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
4016 Rename __unboundedrlimits parameter to rlimits in prototype.
4017 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
4018 Do not use __unbounded.
4019 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
4020 not use __ptrvalue.
4021 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4022 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
4023 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4024 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
4025 __ptrvalue or __unbounded.
4026 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
4027 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
4028 use __unbounded.
4029 (__new_msgctl): Do not use __ptrvalue.
4030 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
4031 __unbounded.
4032 (__libc_msgrcv): Do not use __ptrvalue.
4033 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
4034 startup_info): Do not use __unbounded.
4035 (__libc_start_main): Likewise. Rename ubp_* variables and
4036 parameters. Remove argv definitions conditional on
4037 [__BOUNDED_POINTERS__].
4038 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
4039 __ptrvalue.
4040 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
4041 use __unbounded.
4042 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
4043 or __ptrvalue.
4044 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
4045 use __unbounded.
4046 (__new_shmctl): Do not use __ptrvalue.
4047 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
4048 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
4049 Likewise.
4050 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
4051 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
4052 (__libc_sigaction): Likewise.
4053 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
4054 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
4055 Likewise.
4056 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4057
cc7834d6
OB
40582013-02-13 Ondřej Bílka <neleai@seznam.cz>
4059
ffb1ec7b 4060 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
4061
4062 * string/mempcpy.c: Implement by calling memcpy.
4063
bdf02814
SP
40642013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4065
c2af38aa
SP
4066 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
4067
4e92d59e
SP
4068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
4069 evaluation.
4070
909279a5
SP
4071 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
4072 values in the mantissa.
4073
bdf02814
SP
4074 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
4075 minimize writes to Z.
4076 (sub_magnitudes): Simplify code a bit.
4077
cd525923
RM
40782013-02-12 Roland McGrath <roland@hack.frob.com>
4079
4080 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
4081 from the message. The linker prefixes all warnings with that already.
4082
7e2f0d2d
AS
40832013-02-12 Andreas Schwab <schwab@suse.de>
4084
a445af0b
AS
4085 [BZ #15078]
4086 * posix/regexec.c (extend_buffers): Add parameter min_len.
4087 (check_matching): Pass minimum needed length.
4088 (clean_state_log_if_needed): Likewise.
4089 (get_subexp): Likewise.
4090 * posix/Makefile (tests): Add bug-regex34.
4091 (bug-regex34-ENV): Define.
4092 * posix/bug-regex34.c: New file.
4093
7e2f0d2d
AS
4094 [BZ #11561]
4095 * posix/regcomp.c (parse_bracket_exp): When looking up collating
4096 elements compare against the byte sequence of it, not its name.
4097 * posix/Makefile (tests): Add bug-regex35.
4098 (bug-regex35-ENV): Define.
4099 * posix/bug-regex35.c: New file.
4100
a175b684
TV
41012013-02-11 Tom de Vries <tom@codesourcery.com>
4102
4103 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
4104 comment.
4105 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
4106 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
4107 (CHECK_EOL): Add undef.
4108
310998fe 41092013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
4110
4111 * bits/stdlib-bsearch.h: New file.
4112 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 4113 * stdlib/stdlib.h: Likewise.
41eda41d 4114
8ded91fb
RM
41152013-02-11 Roland McGrath <roland@hack.frob.com>
4116
4117 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
4118 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
4119 declaration.
4120 * manual/search.texi (Array Search Function): Add missing const in
4121 lfind prototype.
4122 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
4123 declaration to use rlim_t.
4124 (Basic Scheduling Functions): Remove erroneous const from
4125 sched_getparam prototype. Remove erroneous * from
4126 sched_get_priority_max and sched_get_priority_min prototypes.
4127 (Resource Usage): Fix summary @comment on vtimes to refer to
4128 sys/vtimes.h rather than vtimes.h.
4129 Add missing *s in vtimes prototype.
4130 (Limits on Resources): Fix ulimit prototype to return long int.
4131 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
4132 prototypes to use long int rather than double.
4133 (BSD Random): Fix initstate and setstate to use char *, not void *.
4134 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
4135 prototype to make second argument 'struct aiocb64 *const[]'.
4136 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
4137 (Status of AIO Operations): Remove erroneous const in aio_return and
4138 aio_return64 prototypes.
4139 (Synchronizing I/O): Fix sync prototype to return void.
4140 * manual/startup.texi (Suboptions): Remove an erroneous const in
4141 getsubopt prototype.
4142 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
4143 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
4144 use size_t rather than int.
4145 (Scanning All Users): Likewise for getpwent_r.
4146 (Setting Groups): Add missing const to setgroups prototype.
4147 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
4148 * manual/socket.texi (Host Names): Fix gethostbyaddr and
4149 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
4150 'const void *' rather than 'const char *'.
4151 (Host Address Functions): Likewise for inet_ntop.
4152 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
4153 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
4154 ssize_t for return value.
4155 (Sending Data): Likewise for send, sendto, sendmsg.
4156 (Socket Option Functions): Add a missing const in setsockopt prototype.
4157 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
4158 use wchar_t for the argument.
4159 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
4160 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
4161 take no arguments.
4162 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
4163 double/float/long double for second argument.
4164 Fix return types of significand, significandf, significandl.
4165 * manual/filesys.texi (Setting Permissions): Use mode_t for second
4166 argument in fchmod prototype.
4167 (File Owner): Use uid_t and gid_t in fchown prototype.
4168 (File Times): Add const to utimes, futimes, and lutimes prototypes.
4169 (Making Special Files): Use mode_t and dev_t in mknod prototype.
4170 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
4171 use 'const struct dirent **' as argument types to CMP function pointer
4172 argument.
4173 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
4174 (File Times): Fix summary magic @comment for struct utimbuf and utime
4175 to refer to utime.h, not time.h.
4176 * manual/string.texi (Argz Functions): Add missing const in
4177 argz_extract and argz_next prototypes.
4178 (Finding Tokens in a String): Likewise for basename.
4179 (String/Array Comparison): Fix typo in wcscasecmp prototype.
4180 (Copying and Concatenation): Fix typo in wmemmove prototype.
4181 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
4182 (Signal Stack): Remove erroneous const in sigstack prototype.
4183 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
4184 prototype.
4185 (Simple Calendar Time): Likewise for stime.
4186 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4187 prototype.
4188 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4189 say sys/sysctl.h instead.
4190 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4191 and vsyslog prototypes.
4192
fe77fe6d
TV
41932013-02-11 Tom de Vries <tom@codesourcery.com>
4194
4195 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4196 Remove.
4197
3a09b620
RM
41982013-02-11 Roland McGrath <roland@hack.frob.com>
4199
4200 * misc/sys/mman.h: Fix typo in mremap comment.
4201
550a0b89
RM
42022013-02-08 Roland McGrath <roland@hack.frob.com>
4203
4204 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4205 the '\0' terminator.
4206
a2da1673
JM
42072013-02-08 Joseph Myers <joseph@codesourcery.com>
4208
4209 [BZ #13550]
4210 * debug/segfault.c: Don't include <bp-checks.h>.
4211 * sysdeps/generic/bp-checks.h: Remove file.
4212 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4213 (__GETDENTS): Don't use CHECK_N.
4214 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4215 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4216 (__getgroups): Don't use CHECK_N.
4217 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4218 (setgroups): Don't use CHECK_N.
4219 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4220 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4221 (__libc_msgrcv): Don't use CHECK_N.
4222 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4223 (__libc_msgsnd): Don't use CHECK_N.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4225 <bp-checks.h>.
4226 (__libc_pread): Don't use CHECK_N.
4227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4228 include <bp-checks.h>.
4229 (__libc_pread64): Don't use CHECK_N.
4230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4231 include <bp-checks.h>.
4232 (__libc_pwrite): Don't use CHECK_N.
4233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4234 include <bp-checks.h>.
4235 (__libc_pwrite64): Don't use CHECK_N.
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4237 <bp-checks.h>.
4238 (__libc_pread): Don't use CHECK_N.
4239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4240 include <bp-checks.h>.
4241 (__libc_pread64): Don't use CHECK_N.
4242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4243 include <bp-checks.h>.
4244 (__libc_pwrite): Don't use CHECK_N.
4245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4246 include <bp-checks.h>.
4247 (__libc_pwrite64): Don't use CHECK_N.
4248 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4249 (do_pread): Don't use CHECK_N.
4250 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4251 (do_pread64): Don't use CHECK_N.
4252 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4253 (do_pwrite): Don't use CHECK_N.
4254 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4255 (do_pwrite64): Don't use CHECK_N.
4256 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4257 (__libc_readv): Don't use CHECK_N.
4258 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4259 (semop): Don't use CHECK_N.
4260 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4261 <bp-checks.h>.
4262 (semtimedop): Don't use CHECK_N.
4263 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4264 (__libc_pread): Don't use CHECK_N.
4265 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4266 <bp-checks.h>.
4267 (__libc_pread64): Don't use CHECK_N.
4268 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4269 <bp-checks.h>.
4270 (__libc_pwrite): Don't use CHECK_N.
4271 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4272 <bp-checks.h>.
4273 (__libc_pwrite64): Don't use CHECK_N.
4274 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4275 <bp-checks.h>.
4276 (__libc_msgrcv): Don't use CHECK_N.
4277 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4278 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4279 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4280 (__libc_writev): Don't use CHECK_N.
4281
b84660a8
RM
42822013-02-08 Roland McGrath <roland@hack.frob.com>
4283
7f3e75f8
RM
4284 * string/strcpy.c: Removed unused variable.
4285
b84660a8
RM
4286 * Makeconfig (+sysdep-includes): Define with := rather than =.
4287 Use an existing include/ subdir of each sysdeps dir before it.
4288
471514d3
CD
42892013-02-08 Carlos O'Donell <carlos@redhat.com>
4290
4291 * nscd/connection.c (register_traced_file): Comment function.
4292 [HAVE_INOTIFY] (union __inev): Define.
4293 [HAVE_INOTIFY] (inotify_check_files): New function.
4294 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4295 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4296 clear_db_cache.
4297 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4298
b2d3c3be
CD
42992013-02-08 Carlos O'Donell <carlos@redhat.com>
4300
4301 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4302 loaded if not already and that a failure is permanent.
4303
b39949d2
CD
43042013-02-08 Carlos O'Donell <carlos@redhat.com>
4305
ddacd1db 4306 [BZ #15006]
b39949d2
CD
4307 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4308 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4309
b2c9eff4
JM
43102013-02-08 Joseph Myers <joseph@codesourcery.com>
4311
f3aae3f3
JM
4312 [BZ #13550]
4313 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4314 (CHECK_1_NULL_OK): Likewise.
4315 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4316 (__fxstat): Do not use CHECK_1.
4317 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4318 <bp-checks.h>.
4319 (___fxstat64): Do not use CHECK_1.
4320 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4321 <bp-checks.h>.
4322 (__fxstatat): Do not use CHECK_1.
4323 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4324 <bp-checks.h>.
4325 (__fxstatat64): Do not use CHECK_1.
4326 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4327 <bp-checks.h>.
4328 (__fxstat): Do not use CHECK_1.
4329 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4330 <bp-checks.h>.
4331 (__fxstatat): Do not use CHECK_1.
4332 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4333 <bp-checks.h>.
4334 (__getresgid): Do not use CHECK_1.
4335 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4336 <bp-checks.h>.
4337 (__getresuid): Do not use CHECK_1.
4338 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4339 <bp-checks.h>.
4340 (__lxstat): Do not use CHECK_1.
4341 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4342 <bp-checks.h>.
4343 (__old_msgctl): Do not use CHECK_1.
4344 (__new_msgctl): Likewise.
4345 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4346 <bp-checks.h>.
4347 (__new_setrlimit): Do not use CHECK_1.
4348 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4349 <bp-checks.h>.
4350 (__old_shmctl): Do not use CHECK_1.
4351 (__new_shmctl): Likewise.
4352 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4353 <bp-checks.h>.
4354 (__xstat): Do not use CHECK_1.
4355 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4356 (__lxstat): Do not use CHECK_1.
4357 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4358 <bp-checks.h>.
4359 (___lxstat64): Do not use CHECK_1.
4360 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4361 (__old_msgctl): Do not use CHECK_1.
4362 (__new_msgctl): Likewise.
4363 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4364 <bp-checks.h>.
4365 (__gettimeofday): Do not use CHECK_1.
4366 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4367 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4368 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4369 <bp-checks.h>.
4370 (__gettimeofday): Do not use CHECK_1.
4371 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4372 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4373 (__new_shmctl): Do not use CHECK_1.
4374 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4375 <bp-checks.h>.
4376 (do_sigtimedwait): Do not use CHECK_1.
4377 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4378 <bp-checks.h>.
4379 (do_sigwaitinfo): Do not use CHECK_1.
4380 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4381 <bp-checks.h>.
4382 (msgctl): Do not use CHECK_1.
4383 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4384 <bp-checks.h>.
4385 (shmctl): Do not use CHECK_1.
4386 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4387 (ustat): Do not use CHECK_1.
4388 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4389 <bp-checks.h>.
4390 (__fxstat): Do not use CHECK_1.
4391 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4392 <bp-checks.h>.
4393 (__fxstatat): Do not use CHECK_1.
4394 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4395 <bp-checks.h>.
4396 (__lxstat): Do not use CHECK_1.
4397 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4398 <bp-checks.h>.
4399 (__xstat): Do not use CHECK_1.
4400 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4401 (__xstat): Do not use CHECK_1.
4402 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4403 (___xstat64): Do not use CHECK_1.
4404
b2c9eff4
JM
4405 [BZ #13550]
4406 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4407 definitions.
4408 (CHECK_BOUNDS_HIGH): Likewise.
4409 * string/strcpy.c: Do not include <bp-checks.h>.
4410 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4411
f1d70dad
RM
44122013-02-07 Roland McGrath <roland@hack.frob.com>
4413
4414 * nscd/nscd-client.h (__nscd_drop_map_ref):
4415 Add __attribute__ ((unused)).
4416 * nis/nss-nisplus.h (niserr2nss): Likewise.
4417
4418 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4419 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4420
4421 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4422 Remove inline keyword.
4423 * include/rounding-mode.h (round_away): Likewise.
4424 * libio/wfileops.c (adjust_wide_data): Likewise.
4425 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4426 (__m128i_strloadu_tolower): Likewise.
4427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4428 (__m128i_strloadu_tolower): Likewise.
4429 * time/mktime.c (ydhms_diff): Likewise.
4430 * locale/elem-hash.h (elem_hash): Likewise.
4431 * locale/setlocale.c (setdata): Likewise.
4432 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4433 (re_string_wchar_at): Likewise.
4434 (bitset_not, bitset_merge, bitset_mask): Likewise.
4435 [!(__GNUC__ > 3)] (inline): Remove macro.
4436 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4437 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4438 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4439 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4440 * string/memcmp.c (memcmp_bytes): Likewise.
4441 * locale/programs/locarchive.c (compute_hashval): Likewise.
4442 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4443 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4444 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4445 * nss/getent.c (print_rpc, print_protocols): Likewise.
4446 (print_passwd, print_group, print_aliases): Likewise.
4447 * nis/nss-nisplus.h (niserr2nss): Likewise.
4448 * nscd/connections.c (restart_p): Likewise.
4449 Change return type to bool.
4450
eab55bfb
RM
44512013-02-05 Roland McGrath <roland@hack.frob.com>
4452
7bd642f5
RM
4453 * Makeconfig (all-Depend-files): Add existing
4454 $(sorted-subdirs:=/Depend) files.
4455 (all-subdirs): Remove nss.
4456 * sysdeps/unix/inet/Subdirs: Add it here instead.
4457 * hesiod/Depend: New file.
4458
573c29b2
RM
4459 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4460 instead of calling alloca.
4461
b2e25af0
RM
4462 * io/lseek.c (__lseek): Rename to __libc_lseek.
4463 Define __lseek as an alias.
4464
eab55bfb
RM
4465 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4466
9a0d1941
CD
44672013-02-04 Carlos O'Donell <carlos@redhat.com>
4468
4469 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4470 else clause and remove check for non-standard endianness.
4471
b83bbec4
DM
44722013-02-04 David S. Miller <davem@davemloft.net>
4473
4474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4475
6277fdab
JM
44762013-02-04 Joseph Myers <joseph@codesourcery.com>
4477
4478 [BZ #13550]
4479 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4480 (__ubp_memchr): Remove prototype.
4481 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4482 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4483 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4484 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4485 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4486 Remove alias.
4487 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4488 (__ubp_memchr): Likewise.
4489 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4490 (__ubp_memchr): Likewise.
4491 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4492 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4493 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4494 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4495 CHECK_STRING.
4496 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4497 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4498 (__getcwd): Do not use CHECK_STRING.
4499 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4500 <bp-checks.h>.
4501 (__real_chown): Do not use CHECK_STRING.
4502 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4503 <bp-checks.h>.
4504 (fchownat): Do not use CHECK_STRING.
4505 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4506 CHECK_STRING.
4507 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4508 <bp-checks.h>.
4509 (__lchown): Do not use CHECK_STRING.
4510 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4511 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4512 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4513 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4515 include <bp-checks.h>.
4516 (truncate64): Do not use CHECK_STRING.
4517 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4518 <bp-checks.h>.
4519 (__real_chown): Do not use CHECK_STRING.
4520 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4521 <bp-checks.h>.
4522 (__lchown): Do not use CHECK_STRING.
4523 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4524 <bp-checks.h>.
4525 (__chown): Do not use CHECK_STRING.
4526 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4527 <bp-checks.h>.
4528 (truncate64): Do not use CHECK_STRING.
4529 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4530 Likewise.
4531 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4532 (__xmknod): Do not use CHECK_STRING.
4533 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4534 <bp-checks.h>.
4535 (__xmknodat): Do not use CHECK_STRING.
4536 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4537 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4538
903ae060
AS
45392013-02-04 Andreas Schwab <schwab@suse.de>
4540
4541 [BZ #14142]
4542 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4543 * include/netdb.h: Likewise for h_errno.
4544 * elf/tst-stackguard1.c: Include <tls.h>.
4545
542f9466
JK
45462013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4547
4548 * elf/link.h (struct link_map): Extend the l_addr comment.
4549 * include/link.h (struct link_map): Likewise.
4550
e782a927
JM
45512013-02-01 Joseph Myers <joseph@codesourcery.com>
4552
4553 [BZ #13550]
4554 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4555 (BOUNDED_1): Remove macro.
4556 * debug/backtrace.c: Don't include <bp-checks.h>.
4557 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4558 (__backtrace): Likewise.
4559 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4560 <bp-checks.h>.
4561 (__backtrace): Don't use BOUNDED_1.
4562 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4563 <bp-checks.h>.
4564 (__backtrace): Don't use BOUNDED_1.
4565 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4566 (__backtrace): Don't use BOUNDED_1.
4567 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4568 (shmat): Don't use BOUNDED_N.
4569
8cf28c5e
JM
45702013-01-31 Joseph Myers <joseph@codesourcery.com>
4571
3a7ac8a0
JM
4572 [BZ #13550]
4573 * sysdeps/generic/bp-start.h: Remove file.
4574 * csu/libc-start.c: Don't include <bp-start.h>.
4575 (LIBC_START_MAIN): Set up __environ directly instead of using
4576 INIT_ARGV_and_ENVIRON.
4577 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4578 <bp-start.h>.
4579
f3499f95
JM
4580 [BZ #13550]
4581 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4582 definitions.
4583 (CHECK_FCNTL): Likewise.
4584 (CHECK_N_PAGES): Likewise.
4585
32a45bea
JM
4586 [BZ #13550]
4587 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4588 definitions.
4589 (CHECK_SIGSET_NULL_OK): Likewise.
4590 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4591 <bp-checks.h>.
4592 (sigpending): Don't use CHECK_SIGSET.
4593 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4594 <bp-checks.h>.
4595 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4596 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4597 <bp-checks.h>.
4598 (do_sigsuspend): Don't use CHECK_SIGSET.
4599 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4600 use CHECK_SIGSET.
4601 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4602 (do_sigwait): Don't use CHECK_SIGSET.
4603 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4604 use CHECK_SIGSET.
4605 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4606 include <bp-checks.h>.
4607 (sigpending): Don't use CHECK_SIGSET.
4608 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4609 include <bp-checks.h>.
4610 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4611 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4612 <bp-checks.h>.
4613 (sigpending): Don't use CHECK_SIGSET.
4614 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4615 <bp-checks.h>.
4616 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4617
2e8a5c8c
JM
4618 [BZ #13550]
4619 * sysdeps/generic/bp-semctl.h: Remove file.
4620 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4621 <bp-checks.h> and <bp-semctl.h>.
4622 (__old_semctl): Don't use CHECK_SEMCTL.
4623 (__new_semctl): Likewise.
4624 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4625 and <bp-semctl.h>.
4626 (__old_semctl): Don't use CHECK_SEMCTL.
4627 (__new_semctl): Likewise.
4628 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4629 <bp-checks.h> and <bp-semctl.h>.
4630 (__old_semctl): Don't use CHECK_SEMCTL.
4631 (__new_semctl): Likewise.
4632 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4633 <bp-checks.h> and <bp-semctl.h>.
4634 (semctl): Don't use CHECK_SEMCTL.
4635
c2d54929
JM
4636 [BZ #13550]
4637 * Makerules (elide-bp-thunks): Remove variable.
4638 (elide-routines.oS): Don't use $(elide-bp-thunks).
4639 (elide-routines.os): Likewise.
4640 (elide-routines.o): Likewise.
4641 (elide-routines.op): Likewise.
4642 (elide-routines.og): Likewise.
4643 (objects): Don't use $(bp-thunks).
4644 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4645 include.
4646 (common-generated): Do not add s-proto-bp.d.
4647 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4648 (int): Likewise.
4649 (typ): Likewise.
4650 Do not generate makefile rules for bounded-pointer thunks.
4651 * sysdeps/generic/bp-thunks.h: Remove file.
4652 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4653 * sysdeps/unix/s-proto-bp.S: Likewise.
4654
8cf28c5e
JM
4655 [BZ #15062]
4656 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4657 parts of result separately when argument is not close to line from
4658 -i to i and one part of argument is small.
4659 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4660 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4661 * math/libm-test.inc (cacos_test): Add more tests.
4662 (casin_test): Likewise.
4663 (casinh_test): Likewise.
4664 * sysdeps/i386/fpu/libm-test-ulps: Update.
4665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4666
c4e33b8d
DM
46672013-01-31 David S. Miller <davem@davemloft.net>
4668
4669 * po/de.po: Update from translation team.
4670
3b60b421
MK
46712013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4672
4673 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4674
bb931195
TS
46752013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4676
b5a5da23
TS
4677 * configure.in (_AC_PROG_CC_C89): New definition.
4678 * configure: Regenerate.
4679
bb931195
TS
4680 * configure.in (AC_PROG_CPP): New definition.
4681 * configure: Regenerate.
4682
8c53a12c
JM
46832013-01-23 Joseph Myers <joseph@codesourcery.com>
4684
4685 * debug/tst-backtrace.h: New file.
4686 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4687 (ret): Remove variable.
4688 (x): Likewise.
4689 (FAIL): Remove macro.
4690 (NO_INLINE): Likewise.
4691 (fn1): Use match function instead of strstr.
4692 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4693 (ret): Remove variable.
4694 (x): Likewise.
4695 (FAIL): Remove macro.
4696 (NO_INLINE): Likewise.
4697 (fn): Use match function instead of strstr.
4698 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4699 (ret): Remove variable.
4700 (x): Likewise.
4701 (FAIL): Remove macro.
4702 (NO_INLINE): Likewise.
4703 (handle_signal): Use match function instead of strstr.
4704 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4705 (ret): Remove variable.
4706 (x): Likewise.
4707 (FAIL): Remove macro.
4708 (NO_INLINE): Likewise.
4709 (handle_signal): Use match function instead of strstr.
4710
4858fa2a
RM
47112013-01-23 Roland McGrath <roland@hack.frob.com>
4712
4713 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4714
bae8e7f5
DM
47152013-01-23 David S. Miller <davem@davemloft.net>
4716
4717 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4718 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4719 argument of CAS if possible.
4720 * sysdeps/sparc/sparc64/bits/atomic.h
4721 (__arch_compare_and_exchange_val_32_acq): Likewise.
4722 (__arch_compare_and_exchange_val_64_acq): Likewise.
4723
9cbbc4ae
PT
47242013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4725
4726 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4727 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4728 Include <limits.h>.
67b3f58c 4729 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4730
5655a0b5
AC
47312013-01-23 Adam Conrad <adconrad@0c3.net>
4732
4733 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4734 (LDFLAGS-tst-array5): Likewise.
4735
052aff95
JM
47362013-01-23 Joseph Myers <joseph@codesourcery.com>
4737
4738 [BZ #15036]
4739 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4740 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4741 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4742 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4743
7c1e01aa
DM
47442013-01-21 David S. Miller <davem@davemloft.net>
4745
4746 * sysdeps/sparc/backtrace.c: New file.
4747 * sysdeps/sparc/sparc32/backtrace.h: New file.
4748 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4749 * sysdeps/sparc/sparc64/backtrace.h: New file.
4750 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4751 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4752 -funwind-tables.
4753
ab087e0a
AS
47542013-01-21 Andreas Schwab <schwab@suse.de>
4755
4756 [BZ #15020]
4757 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4758 closed its stdout.
4759
ed689c2f
AS
47602013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4761
4762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4763 "mpa2.h".
4764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4765
31d470ac
JM
47662013-01-18 Joseph Myers <joseph@codesourcery.com>
4767 Mark Mitchell <mark@codesourcery.com>
4768 Tom de Vries <tom@codesourcery.com>
4769 Paul Pluzhnikov <ppluzhnikov@google.com>
4770
4771 * debug/tst-backtrace2.c: New file.
4772 * debug/tst-backtrace3.c: Likewise.
4773 * debug/tst-backtrace4.c: Likewise.
4774 * debug/tst-backtrace5.c: Likewise.
4775 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4776 (CFLAGS-tst-backtrace3.c): Likewise.
4777 (CFLAGS-tst-backtrace4.c): Likewise.
4778 (CFLAGS-tst-backtrace5.c): Likewise.
4779 (LDFLAGS-tst-backtrace2): Likewise.
4780 (LDFLAGS-tst-backtrace3): Likewise.
4781 (LDFLAGS-tst-backtrace4): Likewise.
4782 (LDFLAGS-tst-backtrace5): Likewise.
4783 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4784 tst-backtrace4 and tst-backtrace5.
4785
90567f30 47862013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4787 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4788
4789 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4790 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4791 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4792 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4794 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4795 "+r" and remove output regs list as redundant. Add explicit inline
4796 asm to specify register of return val to work around compiler codegen
4797 bug. Remove (int) cast on return value. Add return type parameter to
4798 use in macro so that this macro does not truncate return value for
4799 64-bit values.
4800 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4801 pass to INTERNAL_VSYSCALL_NCS.
4802 (INLINE_VSYSCALL): Add 'long int' as return type to
4803 INTERNAL_VSYSCALL_NCS macro invocation.
4804 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4805 INTERNAL_VSYSCALL_NCS macro invocation.
4806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4807
d3b9ea61
SP
48082013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4809
0b57daeb
SP
4810 [BZ #14496]
4811 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4812 Fix application of SIMD FP exception mask.
4813
caa99d06
SP
4814 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4815 mp_no from a power of two.
4816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4817 __mpexp_twomm1. Use __pow_mp.
4818
d3b9ea61
SP
4819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4820 multiplication.
4821
1dbaee3c
DM
48222013-01-17 David S. Miller <davem@davemloft.net>
4823
4824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4825
728d7b43
JM
48262013-01-17 Joseph Myers <joseph@codesourcery.com>
4827
4828 [BZ #15023]
4829 * include/complex.h: Condition contents on [!_COMPLEX_H].
4830 (__kernel_casinhf): New prototype.
4831 (__kernel_casinh): Likewise.
4832 (__kernel_casinhl): Likewise.
4833 * math/Makefile (libm_calls): Add k_casinh.
4834 * math/k_casinh.c: New file.
4835 * math/k_casinhf.c: Likewise.
4836 * math/k_casinhl.c: Likewise.
4837 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4838 finite nonzero arguments.
4839 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4840 finite nonzero arguments.
4841 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4842 finite nonzero arguments.
4843 * math/s_casinh.c: Do not include <float.h>.
4844 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4845 * math/s_casinhf.c: Do not include <float.h>.
4846 (__casinhf): Move code for finite nonzero arguments to
4847 k_casinhf.c.
4848 * math/s_casinhl.c: Do not include <float.h>.
4849 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4850 redefine.
4851 (__casinhl): Move code for finite nonzero arguments to
4852 k_casinhl.c.
4853 * math/libm-test.inc (cacos_test): Add more tests.
4854 * sysdeps/i386/fpu/libm-test-ulps: Update.
4855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4856
2a26ef3a
PT
48572013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4858
4859 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4860 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4861 [!HAVE_MREMAP]: Remove [defined linux] case.
4862 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4863
a897655d
SP
48642013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4865
4866 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4867
881ebe89 48682013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4869
4870 * elf/elf.h (R_386_SIZE32): New relocation.
4871 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4872 R_386_SIZE32.
4873 (elf_machine_rela): Likewise.
4874 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4875 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4876
59981e9b
JM
48772013-01-17 Joseph Myers <joseph@codesourcery.com>
4878
4879 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4880 (FP_FAST_FMA): Do not define.
4881 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4882 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4883 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4884 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4885 !_SOFT_FLOAT]: Likewise.
4886 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4887 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4888 value.
4889 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4890 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4891 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4892 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4893 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4894 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4895 file.
4896
cfa8054f
AS
48972013-01-16 Andreas Schwab <schwab@suse.de>
4898
4899 [BZ #14327]
4900 * include/stdlib.h (__mktemp): Add declaration.
4901 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4902 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4903
dd930cc5
SP
49042013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4905
881ebe89
SP
4906 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4907 definitions.
4908 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4909 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4910 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4911 definitions here.
4912 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4913 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4914 definitions.
4915 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4916 and ONE.
4917 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4918 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4919 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4920 definitions.
4921 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4922 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4923 definitions.
4924 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4925
dd930cc5
SP
4926 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4927
c19a9f89
DM
49282013-01-15 David S. Miller <davem@davemloft.net>
4929
1aa61767
DM
4930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4931 trunc{,f} to libm-sysdep_routes.
4932 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4934 file.
4935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4937 file.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4939 file.
4940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4942 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4943 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4944 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4945 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4946 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4947 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4948
c42d5e98
DM
4949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4950 nearbyint{,f} to libm-sysdep_routes.
4951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4953 New file.
4954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4955 file.
4956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4957 New file.
4958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4959 file.
4960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4962 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4963 file.
4964 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4965 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4966 file.
4967 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4968 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4969 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4970
c19a9f89
DM
4971 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4972 libc_feholdexcept and libc_fesetenv.
4973
357679d2
MF
49742013-01-15 Mike Frysinger <vapier@gentoo.org>
4975
4976 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4977
65a82e3d
DM
49782013-01-14 David S. Miller <davem@davemloft.net>
4979
8b954ab9
DM
4980 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4981 (SPARC_ASM_VIS2_IFUNC): Likewise.
4982 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4984 use of 'siam' instruction.
4985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4986 Likewise.
4987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4988 Likewise.
4989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4990 Likewise.
4991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4996 file.
4997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4998 file.
4999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
5000 file.
5001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
5002 file.
5003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
5004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
5005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
5006 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
5007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
5008 new VIS2 routines.
5009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5012 Likewise.
5013 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5014 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5015 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5016 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
5018 routines to libm-sysdep_routines.
5019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5020
65a82e3d
DM
5021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
5022 fdim/fdimf to libm-sysdep_routines.
5023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
5024 file.
5025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
5026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
5027 file.
5028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
5029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
5030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
5031 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
5032 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
5033 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
5034 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
5035
e34ab705
SP
50362013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5037
2a91b573
SP
5038 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
5039 to optimize copies.
5040
1066a534
SP
5041 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
5042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5044
e34ab705
SP
5045 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
5046 local variable MPTWO.
5047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5048 Likewise.
5049
aba5e596
MF
50502013-01-13 Mike Frysinger <vapier@gentoo.org>
5051
5052 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
5053 GLOB_NOESCAPE.
5054
e557e9e5
MF
50552013-01-13 Mike Frysinger <vapier@gentoo.org>
5056
5057 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
5058
0428cec9
MF
50592013-01-13 Mike Frysinger <vapier@gentoo.org>
5060
5061 * manual/pattern.texi (glob_t): Document gl_flags.
5062 (glob64_t): Likewise.
5063
8794a964
DM
50642013-01-11 David S. Miller <davem@davemloft.net>
5065
66438c3f
RM
5066 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
5067 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
5068 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
5069 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
5070 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
5071 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
5072 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
5073 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
5074 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
5075 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
5076 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
5077 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
5078 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
5079
4ae4244d
DM
5080 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5081 sparc V9 rather than using V8 code.
5082 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5083 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5084
8794a964
DM
5085 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5086 Move to...
5087 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
5088 Here.
5089
6270516e
RM
50902013-01-11 Roland McGrath <roland@hack.frob.com>
5091
5092 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
5093 not in the main loop.
5094 * configure: Regenerated.
5095
6a57d931
JM
50962013-01-11 Joseph Myers <joseph@codesourcery.com>
5097
5098 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
5099 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
5100 to just #else.
5101 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
5102 [!__GLIBC_HAVE_LONG_LONG] case.
5103 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
5104 condition to just #else.
5105 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
5106 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
5107 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
5108 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
5109 unconditional.
5110 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
5111 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5112 #elif condition to just #else.
5113 * sysdeps/unix/sysv/linux/sys/sysmacros.h
5114 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
5115 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
5116 #elif condition to just #else.
5117
0e8529e9
SE
51182013-01-11 Steve Ellcey <sellcey@mips.com>
5119
5120 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
5121 (EF_MIPS_ARCH_64): Fix value.
5122 (EF_MIPS_ARCH_32R2): New.
5123 (EF_MIPS_ARCH_64R2): New.
5124
740b3dbe
L
51252013-01-11 H.J. Lu <hongjiu.lu@intel.com>
5126
5127 * Makeconfig (+link-pie-before-libc): New.
5128 (+link-pie-after-libc): Likewise.
5129 (+link-pie-tests): Likewise.
5130 (+link-pie): Rewritten.
5131 (link-before-libc): Remove $(config-LDFLAGS).
5132 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
5133 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
5134 (config-LDFLAGS): Renamed to ...
5135 (rtld-LDFLAGS): This.
5136 (rtld-tests-LDFLAGS): New macro.
5137 (link-libc-rpath-link): Likewise.
5138 (link-libc-tests-rpath-link): Likewise.
5139 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
5140 (link-libc): Prepand $(link-libc-rpath-link).
5141 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
5142 (test-program-prefix): New macro.
5143 (test-via-rtld-prefix): Likewise.
5144 (test-program-cmd): Likewise.
5145 (host-test-program-cmd): Likewise.
5146 * Makefile ($(common-objpfx)testrun.sh): Replace
5147 $(run-program-prefix) with $(test-program-prefix).
5148 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
5149 $(rtld-LDFLAGS).
5150 ($(common-objpfx)shlib.lds): Likewise.
5151 (build-module-helper): Likewise.
5152 ($(common-objpfx)format.lds): Likewise.
5153 * Rules (binaries-pie-tests): New.
5154 (binaries-pie-notests): Likewise.
5155 (binaries-pie): Rewritten.
5156 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
5157 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
5158 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
5159 (make-test-out): Replace $(host-built-program-cmd) with
5160 $(host-test-program-cmd).
5161 * config.make.in (build-hardcoded-path-in-tests): New variable.
5162 * configure.in (--enable-hardcoded-path-in-tests): New configure
5163 option.
5164 (hardcoded_path_in_tests): New AC_SUBST.
5165 * configure: Regenerated.
5166 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
5167 $(built-program-cmd) with $(test-program-cmd).
5168 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
5169 (test_program_cmd): This.
5170 * elf/Makefile ($(objpfx)order.out): Run test with
5171 $(test-program-prefix).
5172 ($(objpfx)order2.out): Likewise.
5173 ($(objpfx)tst-initorder.out): Likewise.
5174 ($(objpfx)tst-initorder2.out): Likewise.
5175 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
5176 $(test-program-cmd).
5177 ($(objpfx)tst-array1-static.out): Likewise.
5178 ($(objpfx)tst-array2.out): Likewise.
5179 ($(objpfx)tst-array3.out): Likewise.
5180 ($(objpfx)tst-array4.out): Likewise.
5181 ($(objpfx)tst-array5.out): Likewise.
5182 ($(objpfx)tst-array5-static.out): Likewise.
5183 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
5184 $(test-program-cmd).
5185 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5186 $(run-program-prefix) with $(test-program-prefix).
5187 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5188 (test_program_prefix): This.
5189 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5190 $(run-program-prefix) with $(test-program-prefix).
5191 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5192 (test_program_prefix): This.
5193 * iconvdata/tst-tables.sh: Likewise.
5194 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5195 $(run-program-prefix) with $(test-program-prefix).
5196 ($(objpfx)tst-translit.out): Likewise.
5197 ($(objpfx)tst-gettext2.out): Likewise.
5198 ($(objpfx)tst-gettext4.out): Likewise.
5199 ($(objpfx)tst-gettext6.out): Likewise.
5200 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5201 (test_program_prefix): This.
5202 * intl/tst-gettext2.sh: Likewise.
5203 * intl/tst-gettext4.sh Likewise.
5204 * intl/tst-gettext6.sh: Likewise.
5205 * intl/tst-translit.sh: Likewise.
5206 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5207 with $(test-program-cmd).
5208 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5209 $(run-program-prefix) with $(test-program-prefix).
5210 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5211 (test_program_prefix): This.
5212 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5213 $(run-program-prefix) with $(test-program-prefix).
5214 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5215 (test_program_prefix): This.
5216 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5217 * posix/Makefile ($(objpfx)globtest.out): Replace
5218 $(run-via-rtld-prefix) and $(test-wrapper) with
5219 $(test-program-prefix) and $(test-via-rtld-prefix).
5220 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5221 $(test-program-prefix).
5222 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5223 $(host-test-program-cmd).
5224 (tst-spawn-ARGS): Likewise.
5225 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5226 $(test-program-prefix).
5227 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5228 (test_via_rtld_prefix): This.
5229 (test_wrapper): Renamed to ...
5230 (test_program_prefix): This.
5231 (run_program_prefix): Replaced by test_program_prefix.
5232 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5233 (test_program_prefix): This.
5234 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5235 with $(host-test-program-cmd).
5236 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5237 $(run-program-prefix) with $(test-program-prefix).
5238 ($(objpfx)tst-printf.out): Likewise.
5239 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5240 $(test-program-cmd).
5241 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5242 (test_program_prefix): This.
5243 * stdio-common/tst-unbputc.sh: Likewise.
5244 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5245 $(run-program-prefix) with $(test-program-prefix).
5246 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5247 (test_program_prefix): This.
5248 * string/Makefile ($(objpfx)tst-svc.out): Replace
5249 $(built-program-cmd) with $(test-program-cmd).
5250
c6fe55cf
AJ
52512013-01-11 Andreas Jaeger <aj@suse.de>
5252
5253 [BZ #15003]
5254 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5255 value. Sync with Linux 3.7.
5256
9e6919c8
DM
52572013-01-10 David S. Miller <davem@davemloft.net>
5258
5259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5260 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5261 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5262
1c9f1a02
RM
52632013-01-10 Roland McGrath <roland@hack.frob.com>
5264
5265 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5266 never set.
5267 * configure: Regenerated.
5268
b9de2dde
DM
52692013-01-10 David S. Miller <davem@davemloft.net>
5270
5271 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5272 sparc V9 rather than using V8 code.
5273 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5274 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5275
e7f68ef4
RM
52762013-01-10 Roland McGrath <roland@hack.frob.com>
5277
5278 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5279 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5280 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5281 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5282 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5283 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5284 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5285 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5286 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5287 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5288 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5289 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5290 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5291 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5292 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5293 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5294 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5295 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5296 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5297 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5298 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5299 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5300 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5301 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5302 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5303 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5304 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5305
5a47cc9c
DM
53062013-01-10 David S. Miller <davem@davemloft.net>
5307
5308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5309
4cf8f209
L
53102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5311
5312 * posix/Makefile (tests-static): New variable.
5313 (tests): Add $(tests-static).
5314 (tst-exec-static-ARGS): New variable.
5315 (tst-spawn-static-ARGS): Likewise.
5316 * posix/tst-exec-static.c: New file.
5317 * posix/tst-spawn-static.c: Likewise.
5318 * posix/tst-exec.c: Support run directly.
5319 * posix/tst-spawn.c: Likewise.
5320
fed0faa1
JM
53212013-01-10 Joseph Myers <joseph@codesourcery.com>
5322
828beb13
JM
5323 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5324 long.
5325 * math/bits/mathcalls.h (llrint): Likewise.
5326 (llround): Likewise.
5327 * stdlib/stdlib.h (struct drand48_data): Likewise.
5328 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5329 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5331 Likewise.
5332 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5333 Likewise.
5334 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5335 (elf_greg_t): Likewise.
5336 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5337 (__jmp_buf): Likewise.
5338 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5339 definitions.
5340 (llrint): Likewise, for all definitions.
5341 (llrintl): Likewise.
5342
fed0faa1
JM
5343 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5344 Remove [__GNUC__] condition.
5345 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5346 condition to just [__USE_ISOC99].
5347 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5348
1a20cb20
L
53492013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5350
5351 [BZ #14200]
5352 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5353 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5354 defined.
5355 (_POSIX_V6_ILP32_OFF32): Likewise.
5356 (_XBS5_ILP32_OFF32): Likewise.
5357 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5358 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5359
751b85f7
SP
53602013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5361
7490eb81
SP
5362 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5363
751b85f7
SP
5364 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5365 doubles __mpexp_twomm1. Adjust usage.
5366 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5367 Remove.
5368
988197f0
AS
53692013-01-10 Andreas Schwab <schwab@suse.de>
5370
5371 [BZ #14964]
5372 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5373 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5374
e83d7298
DM
53752013-01-09 David S. Miller <davem@davemloft.net>
5376
034ed64b 5377 [BZ #15003]
e83d7298
DM
5378 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5379 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5380 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5381 TCP_FASTOPEN): Define.
5382 (tcp_repair_opt): New structure.
5383 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5384 enum values.
5385 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5386 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5387 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5388 (tcp_cookie_transactions): New structure.
5389
d5e0b9bd
AB
53902013-01-09 Anton Blanchard <anton@samba.org>
5391
5392 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5393 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5394 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5395 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5396
0c07e3ea
JM
53972013-01-09 Joseph Myers <joseph@codesourcery.com>
5398
5399 * include/features.h (__USE_ANSI): Remove.
5400
232f7002
RM
54012013-01-09 Roland McGrath <roland@hack.frob.com>
5402
ad98e30c
RM
5403 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5404
232f7002
RM
5405 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5406
950c99ca
SP
54072013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5408
b5792741
SP
5409 * sysdeps/s390/fpu/libm-test-ulps: Update.
5410
47cf2278
SP
5411 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5412
950c99ca
SP
5413 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5414 (__acr): Likewise.
5415 (__cpy): Likewise.
5416 (norm): Likewise.
5417 (denorm): Likewise.
5418 (__mp_dbl): Likewise.
5419 (__dbl_mp): Likewise.
5420 (add_magnitudes): Likewise.
5421 (sub_magnitudes): Likewise.
5422 (__add): Likewise.
5423 (__sub): Likewise.
5424 (__mul): Likewise.
5425 (__inv): Likewise.
5426 (__dvd): Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5428 (__acr): Likewise.
5429 (__cpy): Likewise.
5430 (norm): Likewise.
5431 (denorm): Likewise.
5432 (__mp_dbl): Likewise.
5433 (__dbl_mp): Likewise.
5434 (add_magnitudes): Likewise.
5435 (sub_magnitudes): Likewise.
5436 (__add): Likewise.
5437 (__sub): Likewise.
5438 (__mul): Likewise.
5439 (__inv): Likewise.
5440 (__dvd): Likewise.
5441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5442 (__acr): Likewise.
5443 (__cpy): Likewise.
5444 (norm): Likewise.
5445 (denorm): Likewise.
5446 (__mp_dbl): Likewise.
5447 (__dbl_mp): Likewise.
5448 (add_magnitudes): Likewise.
5449 (sub_magnitudes): Likewise.
5450 (__add): Likewise.
5451 (__sub): Likewise.
5452 (__mul): Likewise.
5453 (__inv): Likewise.
5454 (__dvd): Likewise.
5455
eede9df9
JM
54562013-01-08 Joseph Myers <joseph@codesourcery.com>
5457
5458 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5459 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5460 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5461 2 && __USE_EXTERN_INLINES]: Likewise.
5462
c40ea3d9
AJ
54632013-01-08 Andreas Jaeger <aj@suse.de>
5464
5465 [BZ# 14985]
5466 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5467 Remove.
5468 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5469 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5470
2ccdea26
AB
54712013-01-07 Anton Blanchard <anton@samba.org>
5472
5473 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5474 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5475 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5476 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5477 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5478 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5479 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5480 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5481 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5482 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5483 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5484 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5485 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5486 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5487 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5488 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5489 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5491 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5492 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5493 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5494 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5495 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5496 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5497 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5498 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5499 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5500 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5502 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5503 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5505 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5506 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5507 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5508 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5509 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5510 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5511 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5512 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5513 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5514 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5515 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5516
a9708fed
JM
55172013-01-07 Joseph Myers <joseph@codesourcery.com>
5518
375607b9
JM
5519 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5520 (__MALLOC_PMT): Likewise.
5521 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5522 [__GNUC__], only on [_LIBC].
5523 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5524 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5525 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5526 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5527 forward declaration.
5528 (realloc_hook_ini): Likewise.
5529 (memalign_hook_ini): Likewise.
5530 (__libc_memalign): Do not use __MALLOC_PMT in variable
5531 declaration.
5532 (__libc_valloc): Likewise.
5533 (__libc_pvalloc): Likewise.
5534 (__libc_calloc): Likewise.
5535 (__posix_memalign): Likewise.
5536
a9708fed
JM
5537 [BZ #14996]
5538 * math/s_casinh.c: Include <float.h>.
5539 (__casinh): Do not do computation with squaring and square root
5540 for large arguments.
5541 * math/s_casinhf.c: Include <float.h>.
5542 (__casinhf): Do not do computation with squaring and square root
5543 for large arguments.
5544 * math/s_casinhl.c: Include <float.h>.
5545 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5546 (__casinhl): Do not do computation with squaring and square root
5547 for large arguments.
5548 * math/libm-test.inc (casin_test): Add more tests.
5549 (casinh_test): Likewise.
5550 * sysdeps/i386/fpu/libm-test-ulps: Update.
5551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5552
afec409a
L
55532013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5554
5555 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5556 (__x86_64_raw_data_cache_size): Likewise.
5557 (__x86_64_data_cache_size_half): Likewise.
5558 (__x86_64_raw_data_cache_size_half): Likewise.
5559 (__x86_64_shared_cache_size): Likewise.
5560 (__x86_64_raw_shared_cache_size): Likewise.
5561 (__x86_64_shared_cache_size_half): Likewise.
5562 (__x86_64_raw_shared_cache_size_half): Likewise.
5563 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5564 to ...
5565 (__x86_data_cache_size): This.
5566 (__x86_64_raw_data_cache_size): Renamed to ...
5567 (__x86_raw_data_cache_size): This.
5568 (__x86_64_data_cache_size_half): Renamed to ...
5569 (__x86_data_cache_size_half): This.
5570 (__x86_64_raw_data_cache_size_half): Renamed to ...
5571 (__x86_raw_data_cache_size_half): This.
5572 (__x86_64_shared_cache_size): Renamed to ...
5573 (__x86_shared_cache_size): This.
5574 (__x86_64_raw_shared_cache_size): Renamed to ...
5575 (__x86_raw_shared_cache_size): This.
5576 (__x86_64_shared_cache_size_half): Renamed to ...
5577 (__x86_shared_cache_size_half): This.
5578 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5579 (__x86_raw_shared_cache_size_half): This.
5580 * sysdeps/x86_64/memcpy.S: Updated.
5581 * sysdeps/x86_64/memset.S: Likewise.
5582 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5583 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5584 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5585
0b3986d0
DM
55862013-01-04 David S. Miller <davem@davemloft.net>
5587
5588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5589
e47686e9
AS
55902013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5591
d643bac1
AS
5592 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5593 1 to avoid redefinition warning.
5594 (__USE_GNU): Don't define.
5595 (init_signaling_nan): Protoize.
5596
e47686e9
AS
5597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5598
b18decba
SP
55992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5600
fffb407f
SP
5601 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5603 (__cpymn): Likewise.
5604 (norm): Remove commented code.
5605 (denorm): Likewise.
5606 (__mp_dbl): Likewise.
5607 (__inv): Likewise.
5608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5609 (__cpymn): Likewise.
5610 (norm): Remove commented code.
5611 (denorm): Likewise.
5612 (__mp_dbl): Likewise.
5613 (__inv): Likewise.
5614
b18decba
SP
5615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5616 mp_no value for 1.0 and 2.0.
5617 (norm): Use RADIXI instead of radixi.d.
5618 (denorm): Likewise.
5619 (__mul): Use 0.0 instead of zero.d.
5620 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5621 mp_no value for 1.0 and 2.0.
5622 (norm): Use RADIXI instead of radixi.d.
5623 (denorm): Likewise.
5624 (__mul): Use 0.0 instead of zero.d.
5625
cdc1c96f
JM
56262013-01-04 Joseph Myers <joseph@codesourcery.com>
5627
5628 [BZ #14994]
5629 * math/s_casinh.c (__casinh): Reduce finite argument to first
5630 quadrant then set signs of results at the end.
5631 * math/s_casinhf.c (__casinhf): Likewise.
5632 * math/s_casinhl.c (__casinhl): Likewise.
5633 * math/libm-test.inc (casin_test): Add more tests.
5634 (casinh_test): Likewise.
5635 * sysdeps/i386/fpu/libm-test-ulps: Update.
5636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5637
302913e1
SP
56382013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5639
6420d207
SP
5640 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5641
a9e48ab4
SP
5642 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5643
b7837264
SP
5644 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5645 declarations.
5646 (denorm): Likewise.
5647 (__mp_dbl): Likewise.
5648 (__inv): Likewise.
5649
f8af25d2
SP
5650 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5651 and adjust the header comment.
5652
302913e1
SP
5653 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5654 variable name from declaration.
5655
5d7dd1ca
L
56562013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5657
5658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5659 Initialize COMMON_CPUID_INDEX_7 element.
5660 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5661 (CPUID_RTM): Likewise.
5662 (HAS_RTM): Likewise.
5663 (COMMON_CPUID_INDEX_7): New enum.
5664
2f5f40f4
AS
56652013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5666
5667 [BZ #14981]
5668 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5669 size is zero, record memory as freed.
5670
4056f4a0
AJ
56712013-01-03 Andreas Jaeger <aj@suse.de>
5672
5673 * po/ia.po: Add new Interlingua translation.
5674
ab15736f 56752012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5676
5677 * locale/programs/localedef.c: Fix description of '--posix' flag.
5678
568035b7
JM
56792013-01-02 Joseph Myers <joseph@codesourcery.com>
5680
e6898b8d
JM
5681 * NEWS: Update dates in second copyright notice.
5682 * README: Update copyright dates in example.
5683 * manual/libc.texinfo: Update copyright dates.
5684 * scripts/test-installation.pl: Update copyright date in --version
5685 output.
5686
0e2f9562
JM
5687 * hurd/ctty-input.c: Fix copyright notice formatting.
5688 * hurd/ctty-output.c: Likewise.
5689 * hurd/dtable.c: Likewise.
5690 * hurd/hurd-raise.c: Likewise.
5691 * hurd/hurdprio.c: Likewise.
5692 * hurd/msgportdemux.c: Likewise.
5693 * misc/sys/file.h: Likewise.
5694 * misc/sys/ioctl.h: Likewise.
5695 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5696 * sysdeps/mach/hurd/chdir.c: Likewise.
5697 * sysdeps/mach/hurd/fchdir.c: Likewise.
5698 * sysdeps/mach/hurd/rename.c: Likewise.
5699 * sysdeps/mach/hurd/rmdir.c: Likewise.
5700 * sysdeps/mach/hurd/seekdir.c: Likewise.
5701 * sysdeps/mach/hurd/setsid.c: Likewise.
5702 * sysdeps/posix/wait3.c: Likewise.
5703
568035b7
JM
5704 * All files with FSF copyright notices: Update copyright dates
5705 using scripts/update-copyrights.
5706 * intl/plural.c: Regenerated.
5707 * locale/programs/charmap-kw.h: Likewise.
5708 * locale/programs/locfile-kw.h: Likewise.
5709
da08f647
SP
57102013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5711
0f5477af
SP
5712 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5713 four values.
5714
44e0d4c2
SP
5715 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5716 calculation loop and add branch prediction.
5717
4d55b4e5
SP
5718 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5719 check access beyond bounds of m1np.
5720
da08f647
SP
5721 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5722 MPTWO.
5723 (__inv): Remove local variable MPTWO to use the global
5724 constant.
5725 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5726 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5727 variable MPTWO.
5728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5729 MP3HALFS static const.
5730
8e051029
DM
57312013-01-01 David S. Miller <davem@davemloft.net>
5732
5733 * po/ca.po: Update from translation team.
5734
f4cf5f2d
JM
57352013-01-01 Joseph Myers <joseph@codesourcery.com>
5736
5737 * scripts/update-copyrights: New file.
5738 * Makeconfig: Reformat copyright notice.
5739 * ctype/ctype.h: Likewise.
5740 * debug/swprintf_chk.c: Likewise.
5741 * elf/dl-cache.c: Likewise.
5742 * elf/dl-debug.c: Likewise.
5743 * elf/dl-object.c: Likewise.
5744 * grp/initgroups.c: Likewise.
5745 * hurd/Makefile: Likewise.
5746 * hurd/hurd/signal.h: Likewise.
5747 * hurd/hurdfault.c: Likewise.
5748 * hurd/hurdioctl.c: Likewise.
5749 * hurd/hurdlookup.c: Likewise.
5750 * hurd/intr-msg.c: Likewise.
5751 * iconv/gconv_open.c: Likewise.
5752 * libio/swprintf.c: Likewise.
5753 * locale/lc-ctype.c: Likewise.
5754 * locale/nl_langinfo.c: Likewise.
5755 * mach/Machrules: Likewise.
5756 * mach/Makefile: Likewise.
5757 * malloc/obstack.h: Likewise.
5758 * manual/Makefile: Likewise.
5759 * manual/tsort.awk: Likewise.
5760 * misc/bits/stab.def: Likewise.
5761 * nis/nis_print_group_entry.c: Likewise.
5762 * nis/nis_table.c: Likewise.
5763 * nis/nss_compat/compat-pwd.c: Likewise.
5764 * nis/nss_compat/compat-spwd.c: Likewise.
5765 * po/Makefile: Likewise.
5766 * posix/fnmatch.c: Likewise.
5767 * posix/regex.h: Likewise.
5768 * resolv/Makefile: Likewise.
5769 * resolv/nss_dns/dns-network.c: Likewise.
5770 * resolv/res_hconf.c: Likewise.
5771 * scripts/gen-sorted.awk: Likewise.
5772 * soft-fp/soft-fp.h: Likewise.
5773 * stdio-common/printf.h: Likewise.
5774 * stdlib/monetary.h: Likewise.
5775 * stdlib/random.c: Likewise.
5776 * stdlib/random_r.c: Likewise.
5777 * sysdeps/generic/Makefile: Likewise.
5778 * sysdeps/gnu/Makefile: Likewise.
5779 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5780 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5781 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5790 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5791 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5792 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5793 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5794 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5795 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5796 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5797 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5807 * sysdeps/mach/hurd/errnos.awk: Likewise.
5808 * sysdeps/mach/hurd/fork.c: Likewise.
5809 * sysdeps/mach/hurd/getcwd.c: Likewise.
5810 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5811 * sysdeps/mach/hurd/mmap.c: Likewise.
5812 * sysdeps/mach/hurd/utimes.c: Likewise.
5813 * sysdeps/mach/hurd/xmknod.c: Likewise.
5814 * sysdeps/posix/profil.c: Likewise.
5815 * sysdeps/posix/readdir_r.c: Likewise.
5816 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5817 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5818 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5819 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5821 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5822 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5823 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5825 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5827 * sysdeps/pthread/lio_listio.c: Likewise.
5828 * sysdeps/sparc/dl-procinfo.h: Likewise.
5829 * sysdeps/unix/i386/sysdep.S: Likewise.
5830 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5831 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5832 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5833 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5835 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5836 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5837 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5838 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5839 * sysdeps/wordsize-32/divdi3.c: Likewise.
5840 * time/sys/time.h: Likewise.
5841 * wcsmbs/Makefile: Likewise.
5842
0549fbba
DM
58432013-01-01 David S. Miller <davem@davemloft.net>
5844
a141f1a7
DM
5845 * po/fr.po: Update from translation team.
5846
0549fbba
DM
5847 * catgets/gencat.c: Update copyright year.
5848 * csu/version.c: Likewise.
5849 * debug/catchsegv.sh: Likewise.
5850 * debug/pcprofiledump.c: Likewise.
5851 * debug/xtrace.sh: Likewise.
5852 * elf/ldconfig.c: Likewise.
5853 * elf/ldd.bash.in: Likewise.
5854 * elf/pldd.c: Likewise.
5855 * elf/sotruss.ksh: Likewise.
5856 * elf/sprof.c: Likewise.
5857 * iconv/iconv_prog.c: Likewise.
5858 * iconv/iconvconfig.c: Likewise.
5859 * locale/programs/locale.c: Likewise.
5860 * locale/programs/localedef.c: Likewise.
5861 * login/programs/pt_chown.c: Likewise.
5862 * malloc/memusage.sh: Likewise.
5863 * malloc/memusagestat.c: Likewise.
5864 * malloc/mtrace.pl: Likewise.
5865 * nscd/nscd.c: Likewise.
5866 * nss/getent.c: Likewise.
5867 * nss/makedb.c: Likewise.
5868 * posix/getconf.c: Likewise.
5869
18ea052c
SP
58702012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5871
5872 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5873 numbers.
5874
9c89fca6
MF
58752012-12-30 Mike Frysinger <vapier@gentoo.org>
5876
5877 * math/bits/mathcalls.h (modf): Use __nonnull.
5878
085ec079
SP
58792012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5880
5881 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5882 (split): Use macro CN instead of the bare value.
5883 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5884 could be used.
5885 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5886 instead of the bare value.
5887 (power1): Likewise.
5888
6d9f97e1
SP
58892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5890
d63f73be
SP
5891 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5892 __ATAN_TWOM.
5893 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5894
6d9f97e1
SP
5895 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5896 their values.
5897 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5898 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5899 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5900 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5901
4c4febf5
AJ
59022012-12-28 Andreas Jaeger <aj@suse.de>
5903
af5843ef
AJ
5904 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5905 values are from Linux 3.7.
5906
4c4febf5
AJ
5907 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5908 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5909
99136f82
SP
59102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5911
2f216c3c 5912 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5913 TRUE case.
5914
99136f82
SP
5915 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5916 (norm): Likewise.
5917 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5918 variables with preprocessor constants.
5919 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5920 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5921 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5922
7fffbdff
BH
59232012-12-27 Bruno Haible <bruno@clisp.org>
5924
5925 [BZ #14317]
5926 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5927 only if needed.
5928
b76eb5f0
SP
59292012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5930
31a7fe5c
SP
5931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5932 and use variable directly.
5933 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5934
b76eb5f0
SP
5935 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5936 MPONE.
5937 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5938 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5939 variable MPONE.
5940 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5942 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5943 include directive. Remove local variable MPONE.
5944 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5945 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5946 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5947
2c8bfe7d
DM
59482012-12-25 David S. Miller <davem@davemloft.net>
5949
5950 * version.h (RELEASE): Set to "development".
5951 (VERSION): Set to "2.17.90".
5952 * NEWS: Add 2.18 section.
5953
147d03b0
DM
59542012-12-21 David S. Miller <davem@davemloft.net>
5955
5956 * po/hr.po: Update from translation team.
5957
a8ebb2b9
AK
59582012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5959
5960 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5961
95b4f1b6
SE
59622012-12-19 Steve Ellcey <sellcey@mips.com>
5963
b2d94007 5964 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5965
cedb2a90
MS
59662012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5967
5968 * manual/contrib.texi (Contributors): Spelling correction.
5969
bbf527d6
DM
59702012-12-15 David S. Miller <davem@davemloft.net>
5971
5972 * po/ru.po: Update from translation team.
5973
bc38c906
DM
59742012-12-13 David S. Miller <davem@davemloft.net>
5975
85429b1a
DM
5976 * NEWS: Mention IFUNC testsuite enhancements.
5977
d283e353
DM
5978 * po/pl.po: Update from translation team.
5979 * po/bg.po: Likewise.
5980
bc38c906
DM
5981 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5982 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5983
a181b0d7
DM
59842012-12-11 David S. Miller <davem@davemloft.net>
5985
4641d57e
DM
5986 * po/sv.po: Update from translation team.
5987
f7bc6495
DM
5988 * po/vi.po: Update from translation team.
5989
6fc9048f
DM
5990 * po/cs.po: Update from translation team.
5991
a181b0d7
DM
5992 * po/de.po: Update from translation team.
5993 * po/eo.po: Likewise.
5994 * po/nl.po: Likewise.
5995
f70bfe80
SP
59962012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5997
3c8b4190
SP
5998 [BZ #14246]
5999 * manual/argp.texi (Argp Helper Functions): Move node to follow
6000 Argp Parsing State.
6001
f70bfe80
SP
6002 [BZ #14872]
6003 * manual/conf.texi (Limits on File System Capacity): Mention if
6004 terminating null is included in the max size.
6005
188f0adf
AJ
60062012-12-10 Andreas Jaeger <aj@suse.de>
6007
6008 * po/cs.po: Update from translation team.
6009
56e7d3ad
SP
60102012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6011
6012 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
6013 void pointer and cast to uintptr_t.
6014 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
6015 path.
6016 * sysdeps/s390/s390-64/memcpy.S: Likewise.
6017 * sysdeps/s390/s390-64/memset.S: Likewise.
6018
76f2d2ea 60192012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
6020
6021 [BZ #14833]
6022 * menual/message.texi (Message Translation): Fix typos.
6023 (Helper programs for gettext): Likewise.
6024
67cbf9a2
AS
60252012-12-07 Andreas Schwab <schwab@linux-m68k.org>
6026
6027 [BZ #14898]
6028 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
6029 Change to -1.
6030
682d0e9a
DM
60312012-12-07 David S. Miller <davem@davemloft.net>
6032
6033 * po/libc.pot: Update.
6034
573cd484
RH
60352012-12-07 Richard Henderson <rth@redhat.com>
6036
7e9da188 6037 [BZ #10114]
573cd484
RH
6038 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
6039 normal/normal case to before the switch.
6040 (_FP_DIV): Likewise.
6041
e933a943
MF
60422012-12-06 Carlos O'Donell <carlos@systemhalted.org>
6043 Mike Frysinger <vapier@gentoo.org>
6044
6045 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
6046 check for __NR_fadvise64_64.
6047
82123268
CM
60482012-12-06 Chris Metcalf <cmetcalf@tilera.com>
6049
6050 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
6051 0, not just to plain "0" as a statement.
6052 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
6053 with cw.
6054
d9814526
JM
60552012-12-06 Joseph Myers <joseph@codesourcery.com>
6056
6057 * NEWS: Use sourceware.org in Bugzilla URL.
6058
7728c574
SP
60592012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6060
f16946dd
SP
6061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6062 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6063
5704bbcb
SP
6064 * stdio-common/tst-put-error.c (do_test): Add newline to the
6065 padded test to ensure flush.
6066
17aa0516
JL
60672012-12-05 Jeff Law <law@redhat.com>
6068
6069 * sunrpc/etc.rpc (fedfs_admin): Add entry.
6070
363313b5
JM
60712012-12-05 Joseph Myers <joseph@codesourcery.com>
6072
effbd42a
JM
6073 * README: Don't refer to ports add-on as distributed separately.
6074 Mention AArch64 in list of systems supported in the ports add-on.
6075
87600365
JM
6076 * LICENSES: Add more non-FSF copyright and license notices.
6077
a0d7066a
JM
6078 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
6079 ((unused)).
6080
66ca5a5b
JM
6081 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
6082
363313b5
JM
6083 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
6084 10000 as width of padded output.
6085
b37984ad
JM
60862012-12-04 Joseph Myers <joseph@codesourcery.com>
6087
9003570a
JM
6088 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
6089
b37984ad
JM
6090 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
6091 variable LX with __attribute__ ((unused)).
6092 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
6093 Likewise.
6094 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
6095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6096 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
6097 with __attribute__ ((unused)).
6098
c8df52ec
DM
60992012-12-04 David S. Miller <davem@abraco.davemloft.net>
6100
6101 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
6102
b3b099af
JM
61032012-12-04 Joseph Myers <joseph@codesourcery.com>
6104
c33aa6e3
JM
6105 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
6106 (CFLAGS-nldbl-acos.c): New variable.
6107 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
6108 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
6109 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
6110 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
6111 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
6112 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
6113 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
6114 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
6115 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
6116 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
6117 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
6118 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
6119 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
6120 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
6121 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
6122 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
6123 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
6124 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
6125 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
6126 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
6127 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
6128 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
6129 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
6130 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
6131 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
6132 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
6133 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
6134 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
6135 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
6136 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
6137 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
6138 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
6139 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
6140 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
6141 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
6142 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
6143 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
6144 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
6145 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
6146 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
6147 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
6148 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
6149 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
6150 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
6151 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
6152 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
6153 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
6154 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
6155 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
6156 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
6157 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
6158 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
6159 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
6160 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
6161 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
6162 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
6163 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
6164 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
6165 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
6166 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
6167 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
6168 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
6169 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
6170 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
6171 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
6172 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
6173 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
6174 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
6175 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
6176 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
6177 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
6178 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
6179 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
6180 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
6181 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
6182 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
6183 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
6184 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6185 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6186 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6187 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6188 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6189 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6190 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6191 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6192 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6193 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6194 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6195 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6196 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6197 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6198 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6199 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6200 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6201 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6202 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6203 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6204
20f0018d
JM
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6206 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6207
b3b099af
JM
6208 [BZ #14914]
6209 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6210 whole low double instead of just low 47 bits when splitting values
6211 into two parts.
6212
029264d1
AM
62132012-12-03 Allan McRae <allan@archlinux.org>
6214
6215 * manual/stdio.texi (Predefined Printf Handlers): Remove
6216 @hsep and @vsep usage.
6217
c9d6789e
MF
62182012-12-03 Mike Frysinger <vapier@gentoo.org>
6219
6220 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6221 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6222
4b7634a5
JL
62232012-12-03 Jeff Law <law@redhat.com>
6224
6225 * time/sys/time.h (settimeofday): Do not mark TV argument
6226 as __nonnull.
6227
eb6cbd24
MF
62282012-12-01 Mike Frysinger <vapier@gentoo.org>
6229
6230 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6231 when currently writing and seek to current position when not.
6232 * libio/Makefile (tests): Remove bug-fclose1.
6233 * libio/bug-fclose1.c: Delete.
6234
f638872a
JM
62352012-12-01 Joseph Myers <joseph@codesourcery.com>
6236
6237 * manual/arith.texi (feenableexcept): Fix typo.
6238 (fedisableexcept): Likewise.
6239
48085d14
RM
62402012-11-30 Roland McGrath <roland@hack.frob.com>
6241
6242 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6243 second, differently-typed declaration, rather than a cast.
6244
1a538b9f
SP
62452012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6246
6247 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6248 * include/rpc/svc.h: ... here.
6249
d07f2ff1 62502012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6251
6252 [BZ #13013]
6253 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6254 depending n and resplen2 to catch cases where answer
6255 equals answerp2.
6256
c93ec1f0
CD
62572012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6258
6259 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6260 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6261
37db69de
MF
62622012-11-29 Mike Frysinger <vapier@gentoo.org>
6263
6264 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6265
e10c4e4f
RM
62662012-11-29 Roland McGrath <roland@hack.frob.com>
6267
6268 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6269
2af1b328
JL
62702012-11-28 Jeff Law <law@redhat.com>
6271
6272 [BZ #13761]
6273 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6274 dataset_temporary. Track alloca usage into alloca_used.
6275 If dataset is large allocate and release it via malloc/free.
6276
111db5b1
FW
62772012-06-04 Florian Weimer <fweimer@redhat.com>
6278
f06cc227 6279 [BZ #14197]
111db5b1
FW
6280 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6281
dd694abd
DM
62822012-11-28 David S. Miller <davem@davemloft.net>
6283
6284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6285
9984dd01
JM
62862012-11-28 Joseph Myers <joseph@codesourcery.com>
6287
6288 [BZ #14803]
6289 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6290 of pi/2 rounded to nearest to 64 bits.
6291 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6292 nearest to 64 bits.
6293 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6294 bits.
6295
14bc93a9
JL
62962012-11-28 Jeff Law <law@redhat.com>
6297 Martin Osvald <mosvald@redhat.com>
6298
6299 [BZ #14889]
6300 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6301 * sunrpc/svc.c: Include time.h.
6302 (__svc_accept_failed): New function.
6303 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6304 any reason other than EINTR, call __svc_accept_failed.
6305 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6306 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6307
e3c6aa3a
AS
63082012-11-28 Andreas Schwab <schwab@suse.de>
6309
6310 * scripts/abilist.awk: Also handle indirect functions in .opd
6311 section.
6312
1bead169
JM
63132012-11-28 Joseph Myers <joseph@codesourcery.com>
6314
6315 [BZ #13881]
6316 * sysdeps/x86/fpu/powl_helper.c: New file.
6317 * sysdeps/x86/fpu/Makefile: Likewise.
6318 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6319 (p3): New object.
6320 (__ieee754_powl): Use __powl_helper for finite arguments except
6321 integer exponents below 8.
6322 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6323 (p3): New object.
6324 (__ieee754_powl): Use __powl_helper for finite arguments except
6325 integer exponents below 8.
6326 * math/libm-test.inc (pow_test): Add more tests and enable some
6327 previously disabled tests.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6330
0817d63d
SP
63312012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6332 Carlos O'Donell <carlos_odonell@mentor.com>
6333
6334 * nss/makedb.c (is_prime): Assert that input is odd and greater
6335 than 4. Note that fact in a comment too.
6336 (next_prime): Add 4 to input.
6337
de2fd463
SP
63382012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6339
6340 [BZ #11741]
6341 * libio/Makefile (tests): Add test case tst-fwrite-error.
6342 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6343 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6344 * libio/tst-fwrite-error.c: New test case.
6345
c515fb51
L
63462012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6347
6348 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6349 before casting to void *.
6350 * include/libc-internal.h (__pointer_type): New macro.
6351 (__integer_if_pointer_type_sub): Likewise.
6352 (__integer_if_pointer_type): Likewise.
6353 (cast_to_integer): Likewise.
6354 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6355 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6356 before casting to atomic64_t.
6357 (atomic_exchange_acq): Likewise.
6358 (__arch_exchange_and_add_body): Likewise.
6359 (__arch_add_body): Likewise.
6360 (atomic_add_negative): Likewise.
6361 (atomic_add_zero): Likewise.
6362
4cf77aa9
JM
63632012-11-26 Joseph Myers <joseph@codesourcery.com>
6364
6365 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6366 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6367 (add_fdes): Likewise.
6368 (linear_search_fdes): Likewise.
6369 (binary_search_unencoded_fdes): Likewise.
6370
d260b3b4
AS
63712012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6372
6373 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6374
67060746
AC
63752012-11-24 Adam Conrad <adconrad@0c3.net>
6376
6377 * configure.in: Autodetect C++ header directories.
6378 * configure: Regenerated.
6379
800938a1
MF
63802012-11-23 Mike Frysinger <vapier@gentoo.org>
6381
6382 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6383
4e6e34e6
AS
63842012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6385
6386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6387
7c7feb47
JM
63882012-11-22 Joseph Myers <joseph@codesourcery.com>
6389
7184dcdf
JM
6390 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6391 LDBL_MANT_DIG == 106]: Disable some tests.
6392 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6393 Likewise.
6394 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6395 Likewise.
6396
0a42601f
JM
6397 [BZ #14871]
6398 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6399 input for small inputs. Return +/- pi/2 for large inputs.
6400 * math/libm-test.inc (atan_test): Add more tests.
6401
79c9b9fe
JM
6402 * sysdeps/generic/unwind-dw2-fde-glibc.c
6403 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6404 __attribute__ ((unused)).
6405
c60d3bf2
JM
6406 [BZ #14645]
6407 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6408 x * y if x and y are nonzero and z is zero.
6409
ef1e0867
JM
6410 [BZ #14811]
6411 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6412 nonzero exponents with absolute value below 0x1p-117 to +/-
6413 0x1p-117.
6414
1468ded3
JM
6415 [BZ #14869]
6416 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6417 up arguments below 2**-450, not just those below 2**-500.
6418 * math/libm-test.inc (hypot_test): Add another test.
6419
8e27e3cc
JM
6420 [BZ #14868]
6421 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6422 Return a+b for ratio over 2**120, not 2**60.
6423 * math/libm-test.inc (hypot_test): Add another test.
6424
c9c0279b
JM
6425 * math/libm-test.inc (clog_test): Use
6426 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6427 (clog10_test): Likewise.
6428
7c7feb47
JM
6429 [BZ #6778]
6430 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6431
fff1530e
AS
64322012-11-22 Andreas Schwab <schwab@suse.de>
6433
6434 * sysdeps/i386/fpu/libm-test-ulps: Update.
6435
94558d30
PT
64362012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6437
6438 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6439 printf output with newline.
6440
7e1be741
L
64412012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6442
6bfea974
L
6443 [BZ #14865]
6444 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6445 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6446 -z nodlopen, -z initfirst and -z execstack support.
6447 * configure: Regenerated.
6448
7e1be741
L
6449 * elf/elf.h (DF_1_NODIRECT): New macro.
6450 (DF_1_IGNMULDEF): Likewise.
6451 (DF_1_NOKSYMS): Likewise.
6452 (DF_1_NOHDR): Likewise.
6453 (DF_1_EDITED): Likewise.
6454 (DF_1_NORELOC): Likewise.
6455 (DF_1_SYMINTPOSE): Likewise.
6456 (DF_1_GLOBAUDIT): Likewise.
6457 (DF_1_SINGLETON): Likewise.
6458 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6459 DT_1_SUPPORTED_MASK bits.
6460 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6461
105ce2ce
CD
64622012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6463
6464 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6465
123be9de
TS
64662012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6467
d072f3f7
TS
6468 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6469 macro.
6470
123be9de
TS
6471 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6472 (sendmmsg): Move declarations...
6473 * socket/sys/socket.h: ... here.
6474 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6475 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6476 include it from...
6477 * socket/recvmmsg.c: ... this new file.
6478 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6479 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6480 definition of __sendmmsg hidden.
6481 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6482 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6483 Move ENOSYS stub into and include it from...
6484 * socket/sendmmsg.c: ... this new file.
6485 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6486 (sysdep_routines): Move recvmmsg and sendmmsg...
6487 * socket/Makefile (routines): ... here.
6488 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6489 (GLIBC_PRIVATE): Add __sendmmsg.
6490 * include/sys/socket.h (__sendmmsg): Add declarations.
6491 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6492 sendmmsg.
6493
cf9a5d18
JM
64942012-11-20 Joseph Myers <joseph@codesourcery.com>
6495
6496 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6497 variable I1 with __attribute__ ((unused)).
6498 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6499
ecd4caf9
JM
65002012-11-19 Joseph Myers <joseph@codesourcery.com>
6501
be14d48f
JM
6502 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6503 DUMMY variables with __attribute__ ((unused)).
6504
ecd4caf9
JM
6505 * bits/byteswap.h: Include <bits/types.h>.
6506 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6507
986cab95
PT
65082012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6509
6510 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6511 string_t. Do not manually set errno.
6512 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6513 length with __strnlen. Make sure to both set errno and return it on
6514 failure.
6515
6d33cc9d
DM
65162012-11-19 David S. Miller <davem@davemloft.net>
6517
6518 With help from Joseph Myers.
6519 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6520 very large arguments properly.
6521 * math/libm-test.inc (atan_test): New tests.
6522 (atan2_test): New tests.
6523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6525
ee663277
JM
65262012-11-19 Joseph Myers <joseph@codesourcery.com>
6527
877f2d8e
JM
6528 [BZ #14856]
6529 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6530 Define to 3.
6531
116fc08a
JM
6532 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6533 [POSIX] (EADDRNOTAVAIL): Likewise.
6534 [POSIX] (EAFNOSUPPORT): Likewise.
6535 [POSIX] (EALREADY): Likewise.
6536 [POSIX] (ECONNABORTED): Likewise.
6537 [POSIX] (ECONNREFUSED): Likewise.
6538 [POSIX] (ECONNRESET): Likewise.
6539 [POSIX] (EDESTADDRREQ): Likewise.
6540 [POSIX] (EDQUOT): Likewise.
6541 [POSIX] (EHOSTUNREACH): Likewise.
6542 [POSIX] (EIDRM): Likewise.
6543 [POSIX] (EISCONN): Likewise.
6544 [POSIX] (ELOOP): Likewise.
6545 [POSIX] (EMULTIHOP): Likewise.
6546 [POSIX] (ENETDOWN): Likewise.
6547 [POSIX] (ENETUNREACH): Likewise.
6548 [POSIX] (ENOBUFS): Likewise.
6549 [POSIX] (ENODATA): Likewise.
6550 [POSIX] (ENOLINK): Likewise.
6551 [POSIX] (ENOMSG): Likewise.
6552 [POSIX] (ENOPROTOOPT): Likewise.
6553 [POSIX] (ENOSR): Likewise.
6554 [POSIX] (ENOSTR): Likewise.
6555 [POSIX] (ENOTCONN): Likewise.
6556 [POSIX] (ENOTSOCK): Likewise.
6557 [POSIX] (EOPNOTSUPP): Likewise.
6558 [POSIX] (EOVERFLOW): Likewise.
6559 [POSIX] (EPROTO): Likewise.
6560 [POSIX] (EPROTONOSUPPORT): Likewise.
6561 [POSIX] (EPROTOTYPE): Likewise.
6562 [POSIX] (ESTALE): Likewise.
6563 [POSIX] (ETIME): Likewise.
6564 [POSIX] (ETXTBSY): Likewise.
6565 [POSIX] (EWOULDBLOCK): Likewise.
6566 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6567 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6568 [POSIX] (SEEK_CUR): Likewise.
6569 [POSIX] (SEEK_END): Likewise.
6570 [POSIX || UNIX98] (mode_t): Do not require.
6571 [POSIX] (off_t): Likewise.
6572 [POSIX] (pid_t): Likewise.
6573 [POSIX] (sys/stat.h): Do not allow header.
6574 [POSIX] (unistd.h): Likewise.
6575 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6576 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6577 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6578 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6579 require.
6580 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6581 sigevent): Specify elements.
6582 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6583 entry.
6584 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6585 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6586
a483863f
JM
6587 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6588 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6589 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6590 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6591 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6592 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6593 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6594 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6595 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6596 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6597 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6598 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6599 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6600 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6601 Likewise.
6602 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6603 Likewise.
6604 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6605 Likewise.
6606 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6607 Likewise.
6608 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6609 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6610 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6611 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6612 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6613 Specify lower bound on value.
6614 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6615 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6616 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6617 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6618 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6619 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6620 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6621 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6622 value.
6623 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6624 as optional.
6625 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6626 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6627 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6628 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6629 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6630 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6631 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6632 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6633 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6634 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6635 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6636 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6637 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6638 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6639 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6640 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6641 entry.
6642 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6643 optional.
6644 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6645 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6646 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6647 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6648 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6649 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6650 Likewise.
6651 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6652 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6653 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6654 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6655 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6656 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6657 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6658 as optional.
6659 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6660 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6661 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6662 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6663 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6664 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6665 specify as optional.
6666 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6667 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6668 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6669 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6670 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6671 [XPG3] (NL_LANGMAX): Likewise.
6672 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6673 [POSIX || XPG3] (NL_NMAX): Likewise.
6674 [POSIX || XPG3] (NL_SETMAX): Likewise.
6675 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6676 [XPG3] (NZERO): Likewise.
6677 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6678 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6679 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6680 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6681 (REG_ERANGE): Expect.
6682 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6683 optional-constant.
6684 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6685 Use (void) in prototype.
6686 [POSIX] (*_t): Allow.
6687 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6688 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6689 (WRDE_BADVAL): Expect.
6690
5ba924e3
JM
6691 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6692 expect.
6693 [XPG3 || XPG4] (O_RSYNC): Likewise.
6694 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6695 Likewise.
6696 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6697 [XPG3 || XPG4] (sigqueue): Likewise.
6698 [XPG3 || XPG4] (sigtimedwait): Likewise.
6699 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6700 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6701 [XPG3 || XPG4] (vsnprintf): Likewise.
6702 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6703 Likewise.
6704 [XPG3 || XPG4] (blksize_t): Likewise.
6705 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6706 Likewise.
6707 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6708 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6709 [XPG3 || XPG4] (struct itimerspec): Likewise.
6710 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6711 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6712 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6713 [XPG3 || XPG4] (clockid_t): Likewise.
6714 [XPG3 || XPG4] (timer_t): Likewise.
6715 [XPG3 || XPG4] (clock_getres): Likewise.
6716 [XPG3 || XPG4] (clock_gettime): Likewise.
6717 [XPG3 || XPG4] (clock_settime): Likewise.
6718 [XPG3 || XPG4] (nanosleep): Likewise.
6719 [XPG3 || XPG4] (timer_create): Likewise.
6720 [XPG3 || XPG4] (timer_delete): Likewise.
6721 [XPG3 || XPG4] (timer_gettime): Likewise.
6722 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6723 [XPG3 || XPG4] (timer_settime): Likewise.
6724 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6725 [XPG3 || XPG4] (getlogin_r): Likewise.
6726 [XPG3 || XPG4] (pread): Likewise.
6727 [XPG3 || XPG4] (pthread_atfork): Likewise.
6728 [XPG3 || XPG4] (pwrite): Likewise.
6729
ee663277
JM
6730 [BZ #14835]
6731 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6732 <bits/siginfo.h>.
6733
942caa16
PT
67342012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6735
e19af380
PT
6736 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6737 finalizing MALLSTREAM.
6738
942caa16
PT
6739 * sysdeps/mach/hurd/syncfs.c: New file.
6740
cfde9b46
SP
67412012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6742
6743 [BZ #14719]
6744 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6745 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6746 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6747 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6748 (_nss_dns_gethostbyname4_r): Likewise.
6749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6750 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6751
f6da27e5
PH
67522012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6753
6754 [BZ #13763]
6755 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6756
6665d4a2
SM
67572012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6758
1f51ee92
SM
6759 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6760 * elf/cache.c (print_entry): Print ",AArch64" for
6761 FLAG_AARCH64_LIB64
6762
6665d4a2
SM
6763 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6764 * elf/cache.c (print_entry): Print ",hard-float" for
6765 FLAG_ARM_LIBHF.
6766
05b227bd
DM
67672012-11-18 David S. Miller <davem@davemloft.net>
6768
6769 With help from Joseph Myers.
6770 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6771 cutoff to 2**-13.
6772 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6773 cutoff to 2**-25.
6774 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6775 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6776 small.
6777 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6778 * math/libm-test.inc (y0_test): New tests.
6779 (y1_test): New tests.
6780 * sysdeps/i386/fpu/libm-test-ulps: Update.
6781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6783
786b0b67
AS
67842012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6785
6786 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6787 64-bit targets.
6788 * configure: Regenerated.
6789
8e18b86d
DM
67902012-11-17 David S. Miller <davem@davemloft.net>
6791
6792 [BZ #14811]
6793 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6794 nonzero exponents with absolute value below 0x1p-128 to +/-
6795 0x1p-128.
6796
531f1ae0
JM
67972012-11-17 Joseph Myers <joseph@codesourcery.com>
6798
12df29e2
JM
6799 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6800
150dc1a0
JM
6801 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6802
531f1ae0
JM
6803 * posix/getconf-speclist.c: New file.
6804 * posix/posix-envs.def: Likewise.
6805 * posix/confstr.c (START_ENV_GROUP): New macro.
6806 (END_ENV_GROUP): Likewise.
6807 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6808 (KNOWN_PRESENT_ENV_STRING): Likewise.
6809 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6810 (UNKNOWN_ENVIRONMENT): Likewise.
6811 (confstr): Include posix-envs.def instead of handling
6812 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6813 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6814 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6815 (END_ENV_GROUP): Likewise.
6816 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6817 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6818 (UNKNOWN_ENVIRONMENT): Likewise.
6819 (__sysconf): Include posix-envs.def instead of handling associated
6820 cases directly here.
6821 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6822 preprocessing getconf-speclist.c rather than running getconf or
6823 generating empty file.
6824
a93f9cbc
PT
68252012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6826
6827 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6828
d64d9f87
AL
68292012-11-16 Andrej Lajovic <natrij@gmail.com>
6830
6831 [BZ #14672]
6832 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6833
447885eb
DM
68342012-11-16 David S. Miller <davem@davemloft.net>
6835
6836 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6837 smaller than LDBL_EPSILON/2.0L, just return xm1.
6838
bcbf9830
L
68392012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6840
6841 * elf/tst-array1.c (init): Set constructor priority to 1000.
6842 (fini): Set destructor priority to 1000.
6843 * elf/tst-array2dep.c: Likewise.
6844
2b766585
SP
68452012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6846
6847 [BZ #11741]
6848 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6849 (_IO_new_file_xsputn): Also return EOF if none of the input
6850 data was written when overflow failed.
6851 * libio/iopadn.c (_IO_padn): Likewise.
6852 * libio/iowpadn.c (_IO_wpadn): Likewise.
6853 * stdio-common/tst-put-error.c: Add copyright notice.
6854 (do_test): Add case for printing padded string.
6855 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6856 _IO_padn returned error.
6857 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6858 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6859 return EOF.
6860
b1848fde
SP
68612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6862
6863 * libio/libioP.h: Add comment note that the references to C++
6864 bits are now obsolete.
6865
2fd89785
MS
68662012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6867
6868 * math/libm-test.inc (check_complex): Use asprintf.
6869
e3ea5409
JM
68702012-11-14 Joseph Myers <joseph@codesourcery.com>
6871
6872 * debug/pcprofiledump.c (print_version): Update copyright year.
6873 * malloc/memusagestat.c (print_version): Likewise.
6874
2e64d265
L
68752012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6876
6877 [BZ #14831]
6878 * elf/Makefile (tests): Add tst-audit8.
6879 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6880 ($(objpfx)tst-audit8.out): New target.
6881 (tst-audit8-ENV): New variable.
6882 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6883 audit if l_reloc_result is NULL.
6884 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6885 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6886 * elf/tst-audit8.c: New file.
6887
c485e4d2
MS
68882012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6889
6890 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6891 * misc/Makefile (CFLAGS-select.c): Define.
6892 * posix/Makefile (CFLAGS-pause.c): Define.
6893
3a0d900a
DM
68942012-11-13 David S. Miller <davem@davemloft.net>
6895
6896 * crypt/Makefile: Move test targets after toplevel Rules
6897 inclusion. Grab any necessary sysdep routines when linking.
6898 * crypt/md5.c (md5_process_block): Remove define, we will always
6899 name it __md5_process_block.
6900 (md5_finish_ctx): Update md5_process_block call.
6901 (md5_stream): Likewise.
6902 (md5_process_bytes): Likewise.
6903 (md5_process_block): Rename to __md5_process_block and move to ...
6904 * crypt/md5-block.c: ... here.
6905 * crypt/sha256.c (sha256_process_block): Move to ...
6906 * crypt/sha256-block.c: ... here.
6907 * crypt/sha512.c (sha512_process_block): Move to ...
6908 * crypt/sha512-block.c: ... here.
6909 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6910 path.
6911 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6912 * sysdeps/sparc/sparc64/multiarch/Makefile
6913 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6914 crypt subdir.
6915 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6916 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6917 multiarch changes.
6918 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6919 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6920 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6921 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6922 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6923 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6924 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6925 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6926 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6927 file.
6928 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6929 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6930 file.
6931 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6932
8ca89318
JM
69332012-11-13 Joseph Myers <joseph@codesourcery.com>
6934
e27d476a
JM
6935 * timezone/tzselect.ksh: Update from tzcode git revision
6936 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6937 * timezone/zdump.c: Likewise.
6938 * timezone/zic.c: Likewise.
6939 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6940 in TZVERSION setting, not $(PKGVERSION).
6941 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6942 REPORT_BUGS_TO settings.
6943
8ca89318
JM
6944 [BZ #14838]
6945 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6946 macro.
6947
47594329
MS
69482012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6949
6950 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6951 detection to immediately after _FP_ROUND().
6952 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6953 bits are 0.
6954
640ac3f1
DM
69552012-11-11 David S. Miller <davem@davemloft.net>
6956
6957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6958 inttypes.h
6959 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6960 __close rather than their public counterparts.
6961
3d2577bb
JM
69622012-11-10 Joseph Myers <joseph@codesourcery.com>
6963
6964 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6965 file.
6966 [UNIX98] (sem_timedwait): Do not expect.
6967 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6968 [XPG4 || UNIX98] (sockatmark): Do not expect.
6969 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6970 (clock_getcpuclockid): Do not expect.
6971 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6972 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6973 Do not expect.
6974 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6975 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6976 [UNIX98] (vwscanf): Likewise.
6977 [UNIX98] (vswscanf): Likewise.
6978
fb1ae1ee
JM
69792012-11-09 Joseph Myers <joseph@codesourcery.com>
6980
9ec6f8bd
JM
6981 * timezone/version.h: Remove file.
6982 * timezone/README: Do not refer to version.h.
6983 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6984 $(objpfx)version.h.
6985 ($(objpfx)zdump.o): Likewise.
c3f81911 6986 ($(objpfx)version.h): New target.
9ec6f8bd 6987
0aa8f8a1
JM
6988 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6989 2012i.
6990 * timezone/README: Don't mention modification to tzselect.ksh.
6991 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6992 work on unmodified tzselect.ksh. Substitute version numbers in
6993 tzselect.ksh.
6994
4e87147f
JM
6995 * Makefile (format-me): Remove.
6996 (INSTALL): Adjust indentation. Use commands directly instead of
6997 using $(format-me).
6998
8b748aed
JM
6999 * aclocal.m4 (ACX_PKGVERSION): New macro.
7000 (ACX_BUGURL): Likewise.
7001 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
7002 (PKGVERSION): New AC_DEFINE_UNQUOTED.
7003 (REPORT_BUGS_TO): Likewise.
7004 * configure: Regenerated.
7005 * config.h.in (PKGVERSION): New macro.
7006 (REPORT_BUGS_TO): Likewise.
7007 * config.make.in (PKGVERSION): New variable.
7008 (PKGVERSION_TEXI): Likewise.
7009 (REPORT_BUGS_TO): Likewise.
7010 (REPORT_BUGS_TEXI): Likewise.
7011 * Makefile (format-me): Use -I$(common-objpfx)manual.
7012 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
7013 ($(common-objpfx)manual/%): New target.
7014 (manual/%): Remove target.
7015 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
7016 (print_version): Use PKGVERSION.
7017 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
7018 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
7019 and REPORT_BUGS_TO.
7020 ($(objpfx)xtrace): Likewise.
7021 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
7022 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
7023 (print_version): Use PKGVERSION.
7024 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
7025 (do_version): Use PKGVERSION.
7026 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
7027 REPORT_BUGS_TO.
7028 (common-ldd-rewrite): Likewise.
7029 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
7030 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
7031 (print_version): Use PKGVERSION.
7032 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
7033 * elf/pldd.c (argp_program_bug_address): Remove variable.
7034 (more_help): New function.
7035 (argp): Use more_help.
7036 (print_version): Use PKGVERSION.
7037 * elf/sln.c (main): Use PKGVERSION.
7038 (usage): Use REPORT_BUGS_TO.
7039 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
7040 (top level): Use PKGVERSION.
7041 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
7042 (print_version): Use PKGVERSION.
7043 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
7044 (print_version): Use PKGVERSION.
7045 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
7046 (print_version): Use PKGVERSION.
7047 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
7048 (print_version): Use PKGVERSION.
7049 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
7050 (print_version): Use PKGVERSION.
7051 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
7052 (print_version): Use PKGVERSION.
7053 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
7054 and BUGURL.
7055 ($(objpfx)memusage): Likewise.
7056 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
7057 (do_version): Use PKGVERSION.
7058 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
7059 (print_version): Use PKGVERSION.
7060 * malloc/mtrace.pl ($PACKAGE): Remove variable.
7061 ($PKGVERSION): New variable.
7062 ($REPORT_BUGS_TO): Likewise.
7063 (usage): Use $REPORT_BUGS_TO.
7064 (top level): Use $PKGVERSION.
7065 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
7066 ($(objpfx)pkgvers.texi): New rule.
7067 ($(objpfx)stamp-pkgvers): Likewise.
7068 * manual/install.texi: Include pkgvers.texi.
7069 (--with-pkgversion): Document new configure option.
7070 (--with-bugurl): Likewise.
7071 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
7072 than necessarily for this particular distribution. Use
7073 REPORT_BUGS_TO for where to report bugs.
7074 * INSTALL: Regenerated.
7075 * manual/libc.texinfo: Include pkgvers.texi.
7076 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
7077 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
7078 (print_version): Use PKGVERSION.
7079 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
7080 (print_version): Use PKGVERSION.
7081 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
7082 (print_version): Use PKGVERSION.
7083 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
7084 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
7085 macro.
7086 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
7087 (print_version): Use PKGVERSION.
7088 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
7089 (print_version): Use PKGVERSION.
7090 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
7091 and PKGVERSION.
7092
92e4b6a9
JM
7093 * timezone/checktab.awk: Update from tzcode 2012i.
7094 * timezone/ialloc.c: Likewise.
7095 * timezone/private.h: Likewise.
7096 * timezone/scheck.c: Likewise.
7097 * timezone/tzfile.h: Likewise.
7098 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
7099 (TZVERSION): Hardcode tzcode version number.
7100 * timezone/zdump.c: Update from tzcode 2012i.
7101 * timezone/zic.c: Likewise.
7102 * timezone/version.h: New file.
7103 * timezone/README: Describe version.h. Update upstream location.
7104
9bde902c
JM
7105 [BZ #14824]
7106 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
7107 (mktemp): Enable declaration.
7108 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
7109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
7110 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
7111 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
7112 Likewise.
7113 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
7114 Likewise.
7115 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
7116 Likewise.
7117 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
7118 Likewise.
7119 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
7120 Likewise.
7121 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
7122 Likewise.
7123
fb1ae1ee
JM
7124 [BZ #14821]
7125 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
7126 offset in buffer as u_int32_t not u_long. Consistently use memcpy
7127 for copies of such integer values.
7128 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7129 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7130
2c1adbcb
AJ
71312012-11-09 Andreas Jaeger <aj@suse.de>
7132
7133 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
7134 definitions and declarations that are provided by
7135 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7136
d0f8457e
AK
71372012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7138
3a235abb 7139 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
7140 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
7141 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
7142 definition.
7143
57241e26
MS
71442012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7145
7146 * elf/elf.h: Update comment before AArch64 relocations.
7147
60e8270d
DM
71482012-11-07 David S. Miller <davem@davemloft.net>
7149
7150 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
7151 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7152 (__start_context): Declare.
7153 (__makecontext_ret): Delete.
7154 (__makecontext): Hook up __start_context instead of
7155 __makecontext_ret.
7156 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7157 (sysdep_routines): Add __start_context when in stdlib.
7158
0fbb0fbc
JM
71592012-11-07 Joseph Myers <joseph@codesourcery.com>
7160
7161 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
7162 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
7163 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
7164 hardcoded "nm".
7165 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
7166 (READELF): New variable. Use it instead of hardcoded "readelf".
7167
eb48db7e
L
71682012-11-07 H.J. Lu <hongjiu.lu@intel.com>
7169
7170 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
7171 * sysdeps/x86/Makefile: Here.
7172 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
7173 * sysdeps/x86/tst-xmmymm.sh: This.
7174
05bcf62a
JM
71752012-11-07 Joseph Myers <joseph@codesourcery.com>
7176
c4b6cf53
JM
7177 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
7178 expectations.
7179 [UNIX98] (pthread_barrier_t): Do not expect.
7180 [UNIX98] (pthread_barrierattr_t): Likewise.
7181 [UNIX98] (pthread_spinlock_t): Likewise.
7182 [UNIX98] (pthread_barrier_destroy): Likewise.
7183 [UNIX98] (pthread_barrier_init): Likewise.
7184 [UNIX98] (pthread_barrier_wait): Likewise.
7185 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7186 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7187 [UNIX98] (pthread_barrierattr_init): Likewise.
7188 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7189 [UNIX98] (pthread_getcpuclockid): Likewise.
7190 [UNIX98] (pthread_mutex_timedlock): Likewise.
7191 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7192 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7193 [UNIX98] (pthread_sigmask): Likewise.
7194 [UNIX98] (pthread_spin_destroy): Likewise.
7195 [UNIX98] (pthread_spin_init): Likewise.
7196 [UNIX98] (pthread_spin_lock): Likewise.
7197 [UNIX98] (pthread_spin_trylock): Likewise.
7198 [UNIX98] (pthread_spin_unlock): Likewise.
7199 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7200 Do not expect.
7201 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7202 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7203 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7204 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7205 [XPG3 || XPG4] (pthread_key_t): Likewise.
7206 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7207 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7208 [XPG3 || XPG4] (pthread_once_t): Likewise.
7209 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7210 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7211 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7212 [XPG3 || XPG4] (pthread_t): Likewise.
7213
cbe6e120
JM
7214 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7215 not expect.
7216 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7217
1b126443
JM
7218 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7219 Change function return type to int.
7220
b961a573
JM
7221 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7222 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7223 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7224 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7225 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7226 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7227 [!POSIX] (posix_madvise): Likewise.
7228 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7229 && !UNIX98].
7230 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7231 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7232 (mode_t): Likewise.
7233 (posix_mem_offset): Likewise.
7234 (posix_typed_mem_get_info): Likewise.
7235 (posix_typed_mem_open): Likewise.
7236
9e188909
JM
7237 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7238 Change condition to [XOPEN2K8].
7239
05bcf62a
JM
7240 * conform/conformtest.pl: Preprocess allow-header data with -x c
7241 instead of from stdin.
7242 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7243 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7244 [C99-based standards] (cerfc): Likewise.
7245 [C99-based standards] (cexp2): Likewise.
7246 [C99-based standards] (cexpm1): Likewise.
7247 [C99-based standards] (clog10): Likewise.
7248 [C99-based standards] (clog1p): Likewise.
7249 [C99-based standards] (clog2): Likewise.
7250 [C99-based standards] (clgamma): Likewise.
7251 [C99-based standards] (ctgamma): Likewise.
7252 [C99-based standards] (cerff): Likewise.
7253 [C99-based standards] (cerfcf): Likewise.
7254 [C99-based standards] (cexp2f): Likewise.
7255 [C99-based standards] (cexpm1f): Likewise.
7256 [C99-based standards] (clog10f): Likewise.
7257 [C99-based standards] (clog1pf): Likewise.
7258 [C99-based standards] (clog2f): Likewise.
7259 [C99-based standards] (clgammaf): Likewise.
7260 [C99-based standards] (ctgammaf): Likewise.
7261 [C99-based standards] (cerfl): Likewise.
7262 [C99-based standards] (cerfcl): Likewise.
7263 [C99-based standards] (cexp2l): Likewise.
7264 [C99-based standards] (cexpm1l): Likewise.
7265 [C99-based standards] (clog10l): Likewise.
7266 [C99-based standards] (clog1pl): Likewise.
7267 [C99-based standards] (clog2l): Likewise.
7268 [C99-based standards] (clgammal): Likewise.
7269 [C99-based standards] (ctgammal): Likewise.
7270 * conform/data/inttypes.h-data [C99-based standards]: Include
7271 stdint.h-data. Remove all expectations for stdint.h contents.
7272 [C99-based standards] (PRI*): Do not allow.
7273 [C99-based standards] (SCN*): Likewise.
7274 [C99-based standards] (*_t): Likewise.
7275 [C99-based-standards] (PRId8): Expect macro.
7276 [C99-based-standards] (PRIi8): Likewise.
7277 [C99-based-standards] (PRIo8): Likewise.
7278 [C99-based-standards] (PRIu8): Likewise.
7279 [C99-based-standards] (PRIx8): Likewise.
7280 [C99-based-standards] (PRIX8): Likewise.
7281 [C99-based-standards] (SCNd8): Likewise.
7282 [C99-based-standards] (SCNi8): Likewise.
7283 [C99-based-standards] (SCNo8): Likewise.
7284 [C99-based-standards] (SCNu8): Likewise.
7285 [C99-based-standards] (SCNx8): Likewise.
7286 [C99-based-standards] (PRIdLEAST8): Likewise.
7287 [C99-based-standards] (PRIiLEAST8): Likewise.
7288 [C99-based-standards] (PRIoLEAST8): Likewise.
7289 [C99-based-standards] (PRIuLEAST8): Likewise.
7290 [C99-based-standards] (PRIxLEAST8): Likewise.
7291 [C99-based-standards] (PRIXLEAST8): Likewise.
7292 [C99-based-standards] (SCNdLEAST8): Likewise.
7293 [C99-based-standards] (SCNiLEAST8): Likewise.
7294 [C99-based-standards] (SCNoLEAST8): Likewise.
7295 [C99-based-standards] (SCNuLEAST8): Likewise.
7296 [C99-based-standards] (SCNxLEAST8): Likewise.
7297 [C99-based-standards] (PRIdFAST8): Likewise.
7298 [C99-based-standards] (PRIiFAST8): Likewise.
7299 [C99-based-standards] (PRIoFAST8): Likewise.
7300 [C99-based-standards] (PRIuFAST8): Likewise.
7301 [C99-based-standards] (PRIxFAST8): Likewise.
7302 [C99-based-standards] (PRIXFAST8): Likewise.
7303 [C99-based-standards] (SCNdFAST8): Likewise.
7304 [C99-based-standards] (SCNiFAST8): Likewise.
7305 [C99-based-standards] (SCNoFAST8): Likewise.
7306 [C99-based-standards] (SCNuFAST8): Likewise.
7307 [C99-based-standards] (SCNxFAST8): Likewise.
7308 [C99-based-standards] (PRId16): Likewise.
7309 [C99-based-standards] (PRIi16): Likewise.
7310 [C99-based-standards] (PRIo16): Likewise.
7311 [C99-based-standards] (PRIu16): Likewise.
7312 [C99-based-standards] (PRIx16): Likewise.
7313 [C99-based-standards] (PRIX16): Likewise.
7314 [C99-based-standards] (SCNd16): Likewise.
7315 [C99-based-standards] (SCNi16): Likewise.
7316 [C99-based-standards] (SCNo16): Likewise.
7317 [C99-based-standards] (SCNu16): Likewise.
7318 [C99-based-standards] (SCNx16): Likewise.
7319 [C99-based-standards] (PRIdLEAST16): Likewise.
7320 [C99-based-standards] (PRIiLEAST16): Likewise.
7321 [C99-based-standards] (PRIoLEAST16): Likewise.
7322 [C99-based-standards] (PRIuLEAST16): Likewise.
7323 [C99-based-standards] (PRIxLEAST16): Likewise.
7324 [C99-based-standards] (PRIXLEAST16): Likewise.
7325 [C99-based-standards] (SCNdLEAST16): Likewise.
7326 [C99-based-standards] (SCNiLEAST16): Likewise.
7327 [C99-based-standards] (SCNoLEAST16): Likewise.
7328 [C99-based-standards] (SCNuLEAST16): Likewise.
7329 [C99-based-standards] (SCNxLEAST16): Likewise.
7330 [C99-based-standards] (PRIdFAST16): Likewise.
7331 [C99-based-standards] (PRIiFAST16): Likewise.
7332 [C99-based-standards] (PRIoFAST16): Likewise.
7333 [C99-based-standards] (PRIuFAST16): Likewise.
7334 [C99-based-standards] (PRIxFAST16): Likewise.
7335 [C99-based-standards] (PRIXFAST16): Likewise.
7336 [C99-based-standards] (SCNdFAST16): Likewise.
7337 [C99-based-standards] (SCNiFAST16): Likewise.
7338 [C99-based-standards] (SCNoFAST16): Likewise.
7339 [C99-based-standards] (SCNuFAST16): Likewise.
7340 [C99-based-standards] (SCNxFAST16): Likewise.
7341 [C99-based-standards] (PRId32): Likewise.
7342 [C99-based-standards] (PRIi32): Likewise.
7343 [C99-based-standards] (PRIo32): Likewise.
7344 [C99-based-standards] (PRIu32): Likewise.
7345 [C99-based-standards] (PRIx32): Likewise.
7346 [C99-based-standards] (PRIX32): Likewise.
7347 [C99-based-standards] (SCNd32): Likewise.
7348 [C99-based-standards] (SCNi32): Likewise.
7349 [C99-based-standards] (SCNo32): Likewise.
7350 [C99-based-standards] (SCNu32): Likewise.
7351 [C99-based-standards] (SCNx32): Likewise.
7352 [C99-based-standards] (PRIdLEAST32): Likewise.
7353 [C99-based-standards] (PRIiLEAST32): Likewise.
7354 [C99-based-standards] (PRIoLEAST32): Likewise.
7355 [C99-based-standards] (PRIuLEAST32): Likewise.
7356 [C99-based-standards] (PRIxLEAST32): Likewise.
7357 [C99-based-standards] (PRIXLEAST32): Likewise.
7358 [C99-based-standards] (SCNdLEAST32): Likewise.
7359 [C99-based-standards] (SCNiLEAST32): Likewise.
7360 [C99-based-standards] (SCNoLEAST32): Likewise.
7361 [C99-based-standards] (SCNuLEAST32): Likewise.
7362 [C99-based-standards] (SCNxLEAST32): Likewise.
7363 [C99-based-standards] (PRIdFAST32): Likewise.
7364 [C99-based-standards] (PRIiFAST32): Likewise.
7365 [C99-based-standards] (PRIoFAST32): Likewise.
7366 [C99-based-standards] (PRIuFAST32): Likewise.
7367 [C99-based-standards] (PRIxFAST32): Likewise.
7368 [C99-based-standards] (PRIXFAST32): Likewise.
7369 [C99-based-standards] (SCNdFAST32): Likewise.
7370 [C99-based-standards] (SCNiFAST32): Likewise.
7371 [C99-based-standards] (SCNoFAST32): Likewise.
7372 [C99-based-standards] (SCNuFAST32): Likewise.
7373 [C99-based-standards] (SCNxFAST32): Likewise.
7374 [C99-based-standards] (PRId64): Likewise.
7375 [C99-based-standards] (PRIi64): Likewise.
7376 [C99-based-standards] (PRIo64): Likewise.
7377 [C99-based-standards] (PRIu64): Likewise.
7378 [C99-based-standards] (PRIx64): Likewise.
7379 [C99-based-standards] (PRIX64): Likewise.
7380 [C99-based-standards] (SCNd64): Likewise.
7381 [C99-based-standards] (SCNi64): Likewise.
7382 [C99-based-standards] (SCNo64): Likewise.
7383 [C99-based-standards] (SCNu64): Likewise.
7384 [C99-based-standards] (SCNx64): Likewise.
7385 [C99-based-standards] (PRIdLEAST64): Likewise.
7386 [C99-based-standards] (PRIiLEAST64): Likewise.
7387 [C99-based-standards] (PRIoLEAST64): Likewise.
7388 [C99-based-standards] (PRIuLEAST64): Likewise.
7389 [C99-based-standards] (PRIxLEAST64): Likewise.
7390 [C99-based-standards] (PRIXLEAST64): Likewise.
7391 [C99-based-standards] (SCNdLEAST64): Likewise.
7392 [C99-based-standards] (SCNiLEAST64): Likewise.
7393 [C99-based-standards] (SCNoLEAST64): Likewise.
7394 [C99-based-standards] (SCNuLEAST64): Likewise.
7395 [C99-based-standards] (SCNxLEAST64): Likewise.
7396 [C99-based-standards] (PRIdFAST64): Likewise.
7397 [C99-based-standards] (PRIiFAST64): Likewise.
7398 [C99-based-standards] (PRIoFAST64): Likewise.
7399 [C99-based-standards] (PRIuFAST64): Likewise.
7400 [C99-based-standards] (PRIxFAST64): Likewise.
7401 [C99-based-standards] (PRIXFAST64): Likewise.
7402 [C99-based-standards] (SCNdFAST64): Likewise.
7403 [C99-based-standards] (SCNiFAST64): Likewise.
7404 [C99-based-standards] (SCNoFAST64): Likewise.
7405 [C99-based-standards] (SCNuFAST64): Likewise.
7406 [C99-based-standards] (SCNxFAST64): Likewise.
7407 [C99-based-standards] (PRIdMAX): Likewise.
7408 [C99-based-standards] (PRIiMAX): Likewise.
7409 [C99-based-standards] (PRIoMAX): Likewise.
7410 [C99-based-standards] (PRIuMAX): Likewise.
7411 [C99-based-standards] (PRIxMAX): Likewise.
7412 [C99-based-standards] (PRIXMAX): Likewise.
7413 [C99-based-standards] (SCNdMAX): Likewise.
7414 [C99-based-standards] (SCNiMAX): Likewise.
7415 [C99-based-standards] (SCNoMAX): Likewise.
7416 [C99-based-standards] (SCNuMAX): Likewise.
7417 [C99-based-standards] (SCNxMAX): Likewise.
7418 [C99-based-standards] (PRIdPTR): Likewise.
7419 [C99-based-standards] (PRIiPTR): Likewise.
7420 [C99-based-standards] (PRIoPTR): Likewise.
7421 [C99-based-standards] (PRIuPTR): Likewise.
7422 [C99-based-standards] (PRIxPTR): Likewise.
7423 [C99-based-standards] (PRIXPTR): Likewise.
7424 [C99-based-standards] (SCNdPTR): Likewise.
7425 [C99-based-standards] (SCNiPTR): Likewise.
7426 [C99-based-standards] (SCNoPTR): Likewise.
7427 [C99-based-standards] (SCNuPTR): Likewise.
7428 [C99-based-standards] (SCNxPTR): Likewise.
7429 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7430 allow.
7431 * conform/data/stdint.h-data: Update comments to clarify
7432 requirements.
7433 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7434 type.
7435 [C99-based standards] (INT8_MAX): Likewise.
7436 [C99-based standards] (INT16_MIN): Likewise.
7437 [C99-based standards] (INT16_MAX): Likewise.
7438 [C99-based standards] (INT32_MIN): Likewise.
7439 [C99-based standards] (INT32_MAX): Likewise.
7440 [C99-based standards] (INT64_MIN): Likewise.
7441 [C99-based standards] (INT64_MAX): Likewise.
7442 [C99-based standards] (UINT8_MAX): Likewise.
7443 [C99-based standards] (UINT16_MAX): Likewise.
7444 [C99-based standards] (UINT32_MAX): Likewise.
7445 [C99-based standards] (UINT64_MAX): Likewise.
7446 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7447 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7448 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7449 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7450 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7451 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7452 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7453 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7454 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7455 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7456 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7457 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7458 [C99-based standards] (INT_FAST8_MIN): Likewise.
7459 [C99-based standards] (INT_FAST8_MAX): Likewise.
7460 [C99-based standards] (INT_FAST16_MIN): Likewise.
7461 [C99-based standards] (INT_FAST16_MAX): Likewise.
7462 [C99-based standards] (INT_FAST32_MIN): Likewise.
7463 [C99-based standards] (INT_FAST32_MAX): Likewise.
7464 [C99-based standards] (INT_FAST64_MIN): Likewise.
7465 [C99-based standards] (INT_FAST64_MAX): Likewise.
7466 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7467 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7468 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7469 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7470 [C99-based standards] (INTPTR_MIN): Likewise.
7471 [C99-based standards] (INTPTR_MAX): Likewise.
7472 [C99-based standards] (UINTPTR_MAX): Likewise.
7473 [C99-based standards] (INTMAX_MIN): Likewise.
7474 [C99-based standards] (INTMAX_MAX): Likewise.
7475 [C99-based standards] (UINTMAX_MAX): Likewise.
7476 [C99-based standards] (PTRDIFF_MIN): Likewise.
7477 [C99-based standards] (PTRDIFF_MAX): Likewise.
7478 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7479 [C99-based standards] (SIZE_MAX): Likewise.
7480 [C99-based standards] (WCHAR_MAX): Likewise.
7481 [C99-based standards] (WINT_MAX): Likewise.
7482 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7483 constraint on value.
7484 [C99-based standards] (WCHAR_MIN): Likewise.
7485 [C99-based standards] (WINT_MIN): Likewise.
7486 [C99-based standards] (*_t): Allow.
7487 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7488 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7489 Include math.h-data and complex.h-data. Remove all expectations
7490 of math.h and complex.h contents.
7491 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7492 at end of line.
7493 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7494 (struct tm): Expect tag.
7495 [C99-based-standards] (wcstof): Expect function.
7496 [C99-based-standards] (wcstold): Likewise.
7497 [C99-based-standards] (wcstoll): Likewise.
7498 [C99-based-standards] (wcstoull): Likewise.
7499 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7500 macro-int-constant. Specify type.
7501 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7502 constraint on value.
7503 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7504 Specify type.
7505 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7506 Specify value.
7507 [ISO C standards]: Do not allow headers.
7508 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7509 wcs[abcdefghijklmnopqrstuvwxyz]*.
7510 [ISO C standards] (*_t): Do not allow.
7511 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7512 Expect function.
7513 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7514 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7515 Specify type.
7516 [ISO C standards]: Do not allow headers.
7517 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7518 is[abcdefghijklmnopqrstuvwxyz]*.
7519 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7520 to[abcdefghijklmnopqrstuvwxyz]*.
7521 [ISO C standards] (*_t): Do not allow.
7522 * conform/data/stdalign.h-data: New file.
7523 * conform/data/stdbool.h-data: Likewise.
7524 * conform/data/stdnoreturn.h-data: Likewise.
7525
7514feb8
RM
75262012-11-07 Roland McGrath <roland@hack.frob.com>
7527
7528 [BZ #14815]
7529 * manual/filesys.texi (Directory Entries): Typo fix.
7530 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7531
19b2ecfc
MS
75322012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7533
7534 * elf/elf.h (EM_AARCH64): New macro.
7535 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7536 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7537 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7538 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7539 (R_AARCH64_TLSDESC): Likewise.
7540 (NT_ARM_TLS): Likewise.
7541 (NT_ARM_HW_BREAK): Likewise.
7542 (NT_ARM_HW_WATCH): Likewise.
7543
60e235ee
JM
75442012-11-07 Joseph Myers <joseph@codesourcery.com>
7545
7546 [BZ #14811]
7547 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7548 (__ieee754_powl): Saturate nonzero exponents with absolute value
7549 below 0x1p-79 to +/- 0x1p-79.
7550 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7551 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7552 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7553 nonzero exponents with absolute value below 0x1p-32 to +/-
7554 0x1p-32.
7555 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7556 (__ieee754_powl): Saturate nonzero exponents with absolute value
7557 below 0x1p-79 to +/- 0x1p-79.
7558 * math/libm-test.inc (pow_test): Add more tests.
7559
0ab234b7
AK
75602012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7561
7562 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7563 _dl_s390_cap_flags with kernel. Increase string length.
7564 (_dl_s390_platforms): Add z196 and zEC12.
7565
45832f74
JM
75662012-11-07 Joseph Myers <joseph@codesourcery.com>
7567
7568 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7569 Change XOPEN21K to XOPEN2K.
7570
19218757
MK
75712012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7572
7573 * string/memmove.c: Use memcpy when possible.
7574
c5f45721
AJ
75752012-11-06 Andreas Jaeger <aj@suse.de>
7576
7577 * po/eo.po: Update from translation team.
7578
82477c28
JM
75792012-11-06 Joseph Myers <joseph@codesourcery.com>
7580
7581 [BZ #14793]
7582 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7583 exponent and small x and y exponents, scale x or y up. Increase
7584 by 2 the exponent used in scaling up.
7585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7587 * math/libm-test.inc (fma_test): Add more tests.
7588 (fma_test_towardzero): Likewise.
7589 (fma_test_downward): Likewise.
7590 (fma_test_upward): Likewise.
7591
99252c8c
JM
75922012-11-05 Joseph Myers <joseph@codesourcery.com>
7593
acfa885f
JM
7594 [BZ #14805]
7595 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7596 fenv_t *.
7597
99252c8c
JM
7598 [BZ #14801]
7599 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7600 namespace for names of struct fields.
7601 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7602 fenv_t fields.
7603 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7604 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7605
d6d98dea
ST
76062012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7607
7608 [BZ #3665]
7609 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7610
e10bb107
TS
76112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7612
7613 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7614 PTR_DEMANGLE.
7615
7616 [BZ #5246]
7617 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7618 PTR_DEMANGLE.
7619
a0c2940d
JM
76202012-11-04 Joseph Myers <joseph@codesourcery.com>
7621
7622 [BZ #14797]
7623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7624 definitely overflow as x * y not x * y + z.
7625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7627 * math/libm-test.inc (fma_test): Add more tests.
7628 (fma_test_towardzero): Likewise.
7629 (fma_test_downward): Likewise.
7630 (fma_test_upward): Likewise.
7631
b830319d
TS
76322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7633
7634 [BZ #157]
7635
7636 * include/stub-tag.h: Remove file.
7637 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7638 '#include' of it.
7639 * manual/maint.texi (Porting): Don't reference it.
7640 * Makerules ($(objpfx)stubs): Likewise.
7641 * dirent/closedir.c: Don't include <stub-tag.h>.
7642 * dirent/dirfd.c: Likewise.
7643 * dirent/fdopendir.c: Likewise.
7644 * dirent/getdents.c: Likewise.
7645 * dirent/getdents64.c: Likewise.
7646 * dirent/opendir.c: Likewise.
7647 * dirent/readdir.c: Likewise.
7648 * dirent/readdir64.c: Likewise.
7649 * dirent/readdir64_r.c: Likewise.
7650 * dirent/readdir_r.c: Likewise.
7651 * dirent/rewinddir.c: Likewise.
7652 * dirent/seekdir.c: Likewise.
7653 * dirent/telldir.c: Likewise.
7654 * gmon/profil.c: Likewise.
7655 * grp/setgroups.c: Likewise.
7656 * inet/if_index.c: Likewise.
7657 * io/access.c: Likewise.
7658 * io/chdir.c: Likewise.
7659 * io/chmod.c: Likewise.
7660 * io/chown.c: Likewise.
7661 * io/close.c: Likewise.
7662 * io/dup.c: Likewise.
7663 * io/dup2.c: Likewise.
7664 * io/dup3.c: Likewise.
7665 * io/euidaccess.c: Likewise.
7666 * io/faccessat.c: Likewise.
7667 * io/fchdir.c: Likewise.
7668 * io/fchmod.c: Likewise.
7669 * io/fchmodat.c: Likewise.
7670 * io/fchown.c: Likewise.
7671 * io/fchownat.c: Likewise.
7672 * io/fcntl.c: Likewise.
7673 * io/flock.c: Likewise.
7674 * io/fstatfs.c: Likewise.
7675 * io/fstatfs64.c: Likewise.
7676 * io/fstatvfs.c: Likewise.
7677 * io/fstatvfs64.c: Likewise.
7678 * io/futimens.c: Likewise.
7679 * io/fxstat.c: Likewise.
7680 * io/fxstat64.c: Likewise.
7681 * io/fxstatat.c: Likewise.
7682 * io/fxstatat64.c: Likewise.
7683 * io/getcwd.c: Likewise.
7684 * io/isatty.c: Likewise.
7685 * io/lchmod.c: Likewise.
7686 * io/lchown.c: Likewise.
7687 * io/link.c: Likewise.
7688 * io/linkat.c: Likewise.
7689 * io/lseek.c: Likewise.
7690 * io/lseek64.c: Likewise.
7691 * io/lxstat64.c: Likewise.
7692 * io/mkdir.c: Likewise.
7693 * io/mkdirat.c: Likewise.
7694 * io/mkfifo.c: Likewise.
7695 * io/mkfifoat.c: Likewise.
7696 * io/open.c: Likewise.
7697 * io/open64.c: Likewise.
7698 * io/openat.c: Likewise.
7699 * io/openat64.c: Likewise.
7700 * io/pipe.c: Likewise.
7701 * io/pipe2.c: Likewise.
7702 * io/poll.c: Likewise.
7703 * io/posix_fadvise.c: Likewise.
7704 * io/posix_fadvise64.c: Likewise.
7705 * io/posix_fallocate.c: Likewise.
7706 * io/posix_fallocate64.c: Likewise.
7707 * io/read.c: Likewise.
7708 * io/readlink.c: Likewise.
7709 * io/readlinkat.c: Likewise.
7710 * io/rmdir.c: Likewise.
7711 * io/sendfile.c: Likewise.
7712 * io/sendfile64.c: Likewise.
7713 * io/statfs.c: Likewise.
7714 * io/statfs64.c: Likewise.
7715 * io/statvfs.c: Likewise.
7716 * io/statvfs64.c: Likewise.
7717 * io/symlink.c: Likewise.
7718 * io/symlinkat.c: Likewise.
7719 * io/ttyname.c: Likewise.
7720 * io/ttyname_r.c: Likewise.
7721 * io/umask.c: Likewise.
7722 * io/unlink.c: Likewise.
7723 * io/unlinkat.c: Likewise.
7724 * io/utime.c: Likewise.
7725 * io/utimensat.c: Likewise.
7726 * io/write.c: Likewise.
7727 * io/xmknod.c: Likewise.
7728 * io/xmknodat.c: Likewise.
7729 * io/xstat.c: Likewise.
7730 * io/xstat64.c: Likewise.
7731 * login/getpt.c: Likewise.
7732 * login/grantpt.c: Likewise.
7733 * login/unlockpt.c: Likewise.
7734 * math/e_acoshl.c: Likewise.
7735 * math/e_acosl.c: Likewise.
7736 * math/e_asinl.c: Likewise.
7737 * math/e_atan2l.c: Likewise.
7738 * math/e_atanhl.c: Likewise.
7739 * math/e_coshl.c: Likewise.
7740 * math/e_expl.c: Likewise.
7741 * math/e_fmodl.c: Likewise.
7742 * math/e_gammal_r.c: Likewise.
7743 * math/e_hypotl.c: Likewise.
7744 * math/e_j0l.c: Likewise.
7745 * math/e_j1l.c: Likewise.
7746 * math/e_jnl.c: Likewise.
7747 * math/e_lgammal_r.c: Likewise.
7748 * math/e_log10l.c: Likewise.
7749 * math/e_log2l.c: Likewise.
7750 * math/e_logl.c: Likewise.
7751 * math/e_powl.c: Likewise.
7752 * math/e_rem_pio2l.c: Likewise.
7753 * math/e_sinhl.c: Likewise.
7754 * math/e_sqrtl.c: Likewise.
7755 * math/fclrexcpt.c: Likewise.
7756 * math/fedisblxcpt.c: Likewise.
7757 * math/feenablxcpt.c: Likewise.
7758 * math/fegetenv.c: Likewise.
7759 * math/fegetexcept.c: Likewise.
7760 * math/fegetround.c: Likewise.
7761 * math/feholdexcpt.c: Likewise.
7762 * math/fesetenv.c: Likewise.
7763 * math/fesetround.c: Likewise.
7764 * math/feupdateenv.c: Likewise.
7765 * math/fgetexcptflg.c: Likewise.
7766 * math/fraiseexcpt.c: Likewise.
7767 * math/fsetexcptflg.c: Likewise.
7768 * math/ftestexcept.c: Likewise.
7769 * math/k_cosl.c: Likewise.
7770 * math/k_rem_pio2l.c: Likewise.
7771 * math/k_sinl.c: Likewise.
7772 * math/k_tanl.c: Likewise.
7773 * math/s_asinhl.c: Likewise.
7774 * math/s_atanl.c: Likewise.
7775 * math/s_cbrtl.c: Likewise.
7776 * math/s_erfl.c: Likewise.
7777 * math/s_expm1l.c: Likewise.
7778 * math/s_log1pl.c: Likewise.
7779 * math/s_tanhl.c: Likewise.
7780 * misc/acct.c: Likewise.
7781 * misc/brk.c: Likewise.
7782 * misc/chflags.c: Likewise.
7783 * misc/chroot.c: Likewise.
7784 * misc/fchflags.c: Likewise.
7785 * misc/fgetxattr.c: Likewise.
7786 * misc/flistxattr.c: Likewise.
7787 * misc/fremovexattr.c: Likewise.
7788 * misc/fsetxattr.c: Likewise.
7789 * misc/fsync.c: Likewise.
7790 * misc/ftruncate.c: Likewise.
7791 * misc/futimes.c: Likewise.
7792 * misc/futimesat.c: Likewise.
7793 * misc/getdomain.c: Likewise.
7794 * misc/getdtsz.c: Likewise.
7795 * misc/gethostid.c: Likewise.
7796 * misc/gethostname.c: Likewise.
7797 * misc/getloadavg.c: Likewise.
7798 * misc/getpagesize.c: Likewise.
7799 * misc/getsysstats.c: Likewise.
7800 * misc/getxattr.c: Likewise.
7801 * misc/gtty.c: Likewise.
7802 * misc/ioctl.c: Likewise.
7803 * misc/lgetxattr.c: Likewise.
7804 * misc/listxattr.c: Likewise.
7805 * misc/llistxattr.c: Likewise.
7806 * misc/lremovexattr.c: Likewise.
7807 * misc/lsetxattr.c: Likewise.
7808 * misc/lutimes.c: Likewise.
7809 * misc/madvise.c: Likewise.
7810 * misc/mincore.c: Likewise.
7811 * misc/mlock.c: Likewise.
7812 * misc/mlockall.c: Likewise.
7813 * misc/mmap.c: Likewise.
7814 * misc/mprotect.c: Likewise.
7815 * misc/msync.c: Likewise.
7816 * misc/munlock.c: Likewise.
7817 * misc/munlockall.c: Likewise.
7818 * misc/munmap.c: Likewise.
7819 * misc/preadv.c: Likewise.
7820 * misc/preadv64.c: Likewise.
7821 * misc/ptrace.c: Likewise.
7822 * misc/pwritev.c: Likewise.
7823 * misc/pwritev64.c: Likewise.
7824 * misc/readv.c: Likewise.
7825 * misc/reboot.c: Likewise.
7826 * misc/remap_file_pages.c: Likewise.
7827 * misc/removexattr.c: Likewise.
7828 * misc/revoke.c: Likewise.
7829 * misc/select.c: Likewise.
7830 * misc/setdomain.c: Likewise.
7831 * misc/setegid.c: Likewise.
7832 * misc/seteuid.c: Likewise.
7833 * misc/sethostid.c: Likewise.
7834 * misc/sethostname.c: Likewise.
7835 * misc/setregid.c: Likewise.
7836 * misc/setreuid.c: Likewise.
7837 * misc/setxattr.c: Likewise.
7838 * misc/sstk.c: Likewise.
7839 * misc/stty.c: Likewise.
7840 * misc/swapoff.c: Likewise.
7841 * misc/swapon.c: Likewise.
7842 * misc/sync.c: Likewise.
7843 * misc/syncfs.c: Likewise.
7844 * misc/syscall.c: Likewise.
7845 * misc/truncate.c: Likewise.
7846 * misc/ualarm.c: Likewise.
7847 * misc/usleep.c: Likewise.
7848 * misc/ustat.c: Likewise.
7849 * misc/utimes.c: Likewise.
7850 * misc/vhangup.c: Likewise.
7851 * misc/writev.c: Likewise.
7852 * posix/_exit.c: Likewise.
7853 * posix/alarm.c: Likewise.
7854 * posix/execve.c: Likewise.
7855 * posix/fexecve.c: Likewise.
7856 * posix/fork.c: Likewise.
7857 * posix/fpathconf.c: Likewise.
7858 * posix/getaddrinfo.c: Likewise.
7859 * posix/getegid.c: Likewise.
7860 * posix/geteuid.c: Likewise.
7861 * posix/getgid.c: Likewise.
7862 * posix/getgroups.c: Likewise.
7863 * posix/getlogin.c: Likewise.
7864 * posix/getlogin_r.c: Likewise.
7865 * posix/getpgid.c: Likewise.
7866 * posix/getpid.c: Likewise.
7867 * posix/getppid.c: Likewise.
7868 * posix/getresgid.c: Likewise.
7869 * posix/getresuid.c: Likewise.
7870 * posix/getsid.c: Likewise.
7871 * posix/getuid.c: Likewise.
7872 * posix/glob64.c: Likewise.
7873 * posix/nanosleep.c: Likewise.
7874 * posix/pathconf.c: Likewise.
7875 * posix/pause.c: Likewise.
7876 * posix/posix_madvise.c: Likewise.
7877 * posix/pread.c: Likewise.
7878 * posix/pread64.c: Likewise.
7879 * posix/pwrite.c: Likewise.
7880 * posix/pwrite64.c: Likewise.
7881 * posix/sched_getaffinity.c: Likewise.
7882 * posix/sched_getp.c: Likewise.
7883 * posix/sched_gets.c: Likewise.
7884 * posix/sched_primax.c: Likewise.
7885 * posix/sched_primin.c: Likewise.
7886 * posix/sched_rr_gi.c: Likewise.
7887 * posix/sched_setaffinity.c: Likewise.
7888 * posix/sched_setp.c: Likewise.
7889 * posix/sched_sets.c: Likewise.
7890 * posix/sched_yield.c: Likewise.
7891 * posix/setgid.c: Likewise.
7892 * posix/setlogin.c: Likewise.
7893 * posix/setpgid.c: Likewise.
7894 * posix/setresgid.c: Likewise.
7895 * posix/setresuid.c: Likewise.
7896 * posix/setsid.c: Likewise.
7897 * posix/setuid.c: Likewise.
7898 * posix/sleep.c: Likewise.
7899 * posix/spawni.c: Likewise.
7900 * posix/sysconf.c: Likewise.
7901 * posix/times.c: Likewise.
7902 * posix/wait.c: Likewise.
7903 * posix/wait3.c: Likewise.
7904 * posix/wait4.c: Likewise.
7905 * posix/waitpid.c: Likewise.
7906 * resolv/gai_sigqueue.c: Likewise.
7907 * resource/getpriority.c: Likewise.
7908 * resource/getrlimit.c: Likewise.
7909 * resource/getrusage.c: Likewise.
7910 * resource/nice.c: Likewise.
7911 * resource/setpriority.c: Likewise.
7912 * resource/setrlimit.c: Likewise.
7913 * resource/ulimit.c: Likewise.
7914 * rt/aio_cancel.c: Likewise.
7915 * rt/aio_fsync.c: Likewise.
7916 * rt/aio_read.c: Likewise.
7917 * rt/aio_sigqueue.c: Likewise.
7918 * rt/aio_suspend.c: Likewise.
7919 * rt/aio_write.c: Likewise.
7920 * rt/clock_getres.c: Likewise.
7921 * rt/clock_gettime.c: Likewise.
7922 * rt/clock_nanosleep.c: Likewise.
7923 * rt/clock_settime.c: Likewise.
7924 * rt/lio_listio.c: Likewise.
7925 * rt/mq_close.c: Likewise.
7926 * rt/mq_getattr.c: Likewise.
7927 * rt/mq_notify.c: Likewise.
7928 * rt/mq_open.c: Likewise.
7929 * rt/mq_receive.c: Likewise.
7930 * rt/mq_send.c: Likewise.
7931 * rt/mq_setattr.c: Likewise.
7932 * rt/mq_timedreceive.c: Likewise.
7933 * rt/mq_timedsend.c: Likewise.
7934 * rt/mq_unlink.c: Likewise.
7935 * rt/shm_open.c: Likewise.
7936 * rt/shm_unlink.c: Likewise.
7937 * rt/timer_create.c: Likewise.
7938 * rt/timer_delete.c: Likewise.
7939 * rt/timer_getoverr.c: Likewise.
7940 * rt/timer_gettime.c: Likewise.
7941 * rt/timer_settime.c: Likewise.
7942 * setjmp/__longjmp.c: Likewise.
7943 * setjmp/setjmp.c: Likewise.
7944 * signal/kill.c: Likewise.
7945 * signal/killpg.c: Likewise.
7946 * signal/raise.c: Likewise.
7947 * signal/sigaction.c: Likewise.
7948 * signal/sigaltstack.c: Likewise.
7949 * signal/sigblock.c: Likewise.
7950 * signal/sigignore.c: Likewise.
7951 * signal/sigintr.c: Likewise.
7952 * signal/signal.c: Likewise.
7953 * signal/sigpause.c: Likewise.
7954 * signal/sigpending.c: Likewise.
7955 * signal/sigqueue.c: Likewise.
7956 * signal/sigreturn.c: Likewise.
7957 * signal/sigset.c: Likewise.
7958 * signal/sigsetmask.c: Likewise.
7959 * signal/sigstack.c: Likewise.
7960 * signal/sigsuspend.c: Likewise.
7961 * signal/sigtimedwait.c: Likewise.
7962 * signal/sigvec.c: Likewise.
7963 * signal/sigwait.c: Likewise.
7964 * signal/sigwaitinfo.c: Likewise.
7965 * signal/sysv_signal.c: Likewise.
7966 * socket/accept.c: Likewise.
7967 * socket/accept4.c: Likewise.
7968 * socket/bind.c: Likewise.
7969 * socket/connect.c: Likewise.
7970 * socket/getpeername.c: Likewise.
7971 * socket/getsockname.c: Likewise.
7972 * socket/getsockopt.c: Likewise.
7973 * socket/isfdtype.c: Likewise.
7974 * socket/listen.c: Likewise.
7975 * socket/recv.c: Likewise.
7976 * socket/recvfrom.c: Likewise.
7977 * socket/recvmsg.c: Likewise.
7978 * socket/send.c: Likewise.
7979 * socket/sendmsg.c: Likewise.
7980 * socket/sendto.c: Likewise.
7981 * socket/setsockopt.c: Likewise.
7982 * socket/shutdown.c: Likewise.
7983 * socket/sockatmark.c: Likewise.
7984 * socket/socket.c: Likewise.
7985 * socket/socketpair.c: Likewise.
7986 * stdio-common/ctermid.c: Likewise.
7987 * stdio-common/cuserid.c: Likewise.
7988 * stdio-common/remove.c: Likewise.
7989 * stdio-common/rename.c: Likewise.
7990 * stdio-common/renameat.c: Likewise.
7991 * stdio-common/tempname.c: Likewise.
7992 * stdlib/getcontext.c: Likewise.
7993 * stdlib/makecontext.c: Likewise.
7994 * stdlib/setcontext.c: Likewise.
7995 * stdlib/swapcontext.c: Likewise.
7996 * stdlib/system.c: Likewise.
7997 * streams/fattach.c: Likewise.
7998 * streams/fdetach.c: Likewise.
7999 * streams/getmsg.c: Likewise.
8000 * streams/getpmsg.c: Likewise.
8001 * streams/putmsg.c: Likewise.
8002 * streams/putpmsg.c: Likewise.
8003 * sysdeps/unix/bsd/getpt.c: Likewise.
8004 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
8005 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
8006 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8008 Likewise.
8009 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
8010 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8011 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8012 * sysvipc/msgctl.c: Likewise.
8013 * sysvipc/msgget.c: Likewise.
8014 * sysvipc/msgrcv.c: Likewise.
8015 * sysvipc/msgsnd.c: Likewise.
8016 * sysvipc/semctl.c: Likewise.
8017 * sysvipc/semget.c: Likewise.
8018 * sysvipc/semop.c: Likewise.
8019 * sysvipc/semtimedop.c: Likewise.
8020 * sysvipc/shmat.c: Likewise.
8021 * sysvipc/shmctl.c: Likewise.
8022 * sysvipc/shmdt.c: Likewise.
8023 * sysvipc/shmget.c: Likewise.
8024 * termios/tcdrain.c: Likewise.
8025 * termios/tcflow.c: Likewise.
8026 * termios/tcflush.c: Likewise.
8027 * termios/tcgetattr.c: Likewise.
8028 * termios/tcgetpgrp.c: Likewise.
8029 * termios/tcsendbrk.c: Likewise.
8030 * termios/tcsetattr.c: Likewise.
8031 * termios/tcsetpgrp.c: Likewise.
8032 * time/adjtime.c: Likewise.
8033 * time/clock.c: Likewise.
8034 * time/getitimer.c: Likewise.
8035 * time/gettimeofday.c: Likewise.
8036 * time/setitimer.c: Likewise.
8037 * time/settimeofday.c: Likewise.
8038 * time/stime.c: Likewise.
8039 * time/time.c: Likewise.
8040
80412012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 8042
a20492cf
PT
8043 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
8044 /usr/old/bin.
8045
72e182e3
PT
8046 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
8047 instead of spaces.
8048 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
8049
fbeafede
JM
80502012-11-03 Joseph Myers <joseph@codesourcery.com>
8051
5b5b04d6
JM
8052 [BZ #14796]
8053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
8054 FE_TONEAREST before applying Dekker multiplication and Knuth
8055 addition. Clear inexact exceptions and check for exact zero
8056 results afterwards.
8057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8058 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8059 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8060 * math/libm-test.inc (fma_test): Add more tests.
8061 (fma_test_towardzero): Likewise.
8062 (fma_test_downward): Likewise.
8063 (fma_test_upward): Likewise.
8064 * sysdeps/generic/math_private.h (default_libc_fesetround): New
8065 function.
8066 (libc_fesetround): New macro.
8067 (libc_fesetroundf): Likewise.
8068 (libc_fesetroundl): Likewise.
8069 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
8070 function.
8071 (libc_fesetround_387): Likewise.
8072 (libc_fesetroundf): New macro.
8073 (libc_fesetround): Likewise.
8074 (libc_fesetroundl): Likewise.
8075 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
8076 function.
8077 (libc_fesetroundf): New macro.
8078 (libc_fesetround): Likewise.
8079 (libc_fesetroundl): Likewise.
8080 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
8081 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
8082 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
8083 libm_hidden_ver.
8084 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
8085 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
8086 libm_hidden_def.
8087 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
8088 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
8089 libm_hidden_ver.
8090 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
8091 libm_hidden_def.
8092
fbeafede
JM
8093 [BZ #3439]
8094 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
8095 integer constant usable in #if and use that to give value to enum
8096 constant.
8097 (FE_DIVBYZERO): Likewise.
8098 (FE_UNDERFLOW): Likewise.
8099 (FE_OVERFLOW): Likewise.
8100 (FE_INVALID): Likewise.
8101 (FE_INVALID_SNAN): Likewise.
8102 (FE_INVALID_ISI): Likewise.
8103 (FE_INVALID_IDI): Likewise.
8104 (FE_INVALID_ZDZ): Likewise.
8105 (FE_INVALID_IMZ): Likewise.
8106 (FE_INVALID_COMPARE): Likewise.
8107 (FE_INVALID_SOFTWARE): Likewise.
8108 (FE_INVALID_SQRT): Likewise.
8109 (FE_INVALID_INTEGER_CONVERSION): Likewise.
8110 (FE_TONEAREST): Likewise.
8111 (FE_TOWARDZERO): Likewise.
8112 (FE_UPWARD): Likewise.
8113 (FE_DOWNWARD): Likewise.
8114 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
8115 (FE_DIVBYZERO): Likewise.
8116 (FE_OVERFLOW): Likewise.
8117 (FE_UNDERFLOW): Likewise.
8118 (FE_INEXACT): Likewise.
8119 (FE_TONEAREST): Likewise.
8120 (FE_DOWNWARD): Likewise.
8121 (FE_UPWARD): Likewise.
8122 (FE_TOWARDZERO): Likewise.
8123 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
8124 (FE_UNDERFLOW): Likewise.
8125 (FE_OVERFLOW): Likewise.
8126 (FE_DIVBYZERO): Likewise.
8127 (FE_INVALID): Likewise.
8128 (FE_TONEAREST): Likewise.
8129 (FE_TOWARDZERO): Likewise.
8130 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
8131 (FE_OVERFLOW): Likewise.
8132 (FE_UNDERFLOW): Likewise.
8133 (FE_DIVBYZERO): Likewise.
8134 (FE_INEXACT): Likewise.
8135 (FE_TONEAREST): Likewise.
8136 (FE_TOWARDZERO): Likewise.
8137 (FE_UPWARD): Likewise.
8138 (FE_DOWNWARD): Likewise.
8139 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
8140 (FE_DIVBYZERO): Likewise.
8141 (FE_OVERFLOW): Likewise.
8142 (FE_UNDERFLOW): Likewise.
8143 (FE_INEXACT): Likewise.
8144 (FE_TONEAREST): Likewise.
8145 (FE_DOWNWARD): Likewise.
8146 (FE_UPWARD): Likewise.
8147 (FE_TOWARDZERO): Likewise.
8148
105ca950
CM
81492012-11-02 Chris Metcalf <cmetcalf@tilera.com>
8150
8151 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
8152
a542b389
AS
81532012-11-03 Andreas Schwab <schwab@linux-m68k.org>
8154
8155 * scripts/cross-test-ssh.sh (command): Use newlines to separate
8156 commands. Quote $PWD.
8157 (blacklist_exports): Don't use remove_newlines. Replace "declare
8158 -x" by "export".
8159 (remove_newlines): Remove.
8160
f62c8abc
L
81612012-11-02 H.J. Lu <hongjiu.lu@intel.com>
8162
8163 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
8164 * stdlib/stdlib.h (atof): Moved to ...
8165 * include/bits/stdlib-float.h: Here. New file.
8166 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
8167 * stdlib/bits/stdlib-float.h: New file.
8168 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
8169 -mno-sse -mno-mmx.
8170 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
8171 <xmmintrin.h>.
8172
0155d5b2
JM
81732012-11-02 Joseph Myers <joseph@codesourcery.com>
8174
a68d0680
JM
8175 * conform/conformtest.pl (@headers): Add fenv.h.
8176 * conform/data/fenv.h-data: New file.
8177 * include/fenv.h [_ISOMAC]: Disable all contents of file except
8178 include of <math/fenv.h>.
8179
caf7f573
JM
8180 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
8181 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
8182 && !UNIX98]. Enables tests for XOPEN2K8.
8183 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
8184 POSIX2008]: Likewise.
8185
6c073ad6
JM
8186 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8187 (struct rusage): Do not expect type or its members.
8188
0155d5b2
JM
8189 [BZ #3439]
8190 * math/math.h (FP_NAN): Define macro to integer constant usable in
8191 #if and use that to give value to enum constant.
8192 (FP_INFINITE): Likewise.
8193 (FP_ZERO): Likewise.
8194 (FP_SUBNORMAL): Likewise.
8195 (FP_NORMAL): Likewise.
8196
b5dcacb4
AS
81972012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8198
8199 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8200 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8201 arguments.
8202
f7934be8
RM
82032012-11-02 Roland McGrath <roland@hack.frob.com>
8204
8205 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8206 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8207 autoconf-time if not.
8208 * configure.in: Remove AC_PREREQ.
8209
d7d08bde
TMQMF
82102012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8211
8212 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8213 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8214 of the internal implementation.
8215
dcdae19a
JM
82162012-11-02 Joseph Myers <joseph@codesourcery.com>
8217
8218 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8219 except include of <misc/sys/syslog.h>.
8220
d6cffd3e
AS
82212012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8222
8223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8224 function returns with a NULL context exit with zero.
8225
b3563932
TMQMF
82262012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8227
8228 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8229
b288a93d
L
82302012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8231
8232 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8233 (run_program_cmd): This.
8234 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8235 (tst_langinfo): New variable. Use it.
8236
a2421a68
SAS
82372012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8238
8239 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8240 floating point opcodes.
8241
6f796e1b
TS
82422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8243
7402596b
TS
8244 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8245 variable.
8246
d0d4f868
TS
8247 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8248
6f796e1b
TS
8249 * sysdeps/mach/hurd/powerpc: Remove directory.
8250 * sysdeps/mach/powerpc: Likewise.
8251
4da224a2
AS
82522012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8253
8254 * scripts/check-local-headers.sh: Ignore c++ headers.
8255
341dd673
TS
82562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8257
8258 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8259 __libc_cleanup_region_start argument.
8260
473611b2
JM
82612012-11-01 Joseph Myers <joseph@codesourcery.com>
8262
8263 [BZ #14784]
8264 [BZ #14785]
8265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8266 x * y using scaling, not as x * y + z.
8267 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8268 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8269 * math/libm-test.inc (fma_test): Add more tests.
8270 (fma_test_towardzero): Likewise.
8271 (fma_test_downward): Likewise.
8272 (fma_test_upward): Likewise.
8273
4078da3d
TS
82742012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8275
8276 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8277
903252aa
JM
82782012-10-31 Joseph Myers <joseph@codesourcery.com>
8279
8280 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8281 New variable.
8282
cbc818d0
TS
82832012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8284
8285 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8286
5a03cb1e
AS
82872012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8288
8289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8290 Fix sort order.
8291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8292 Likewise.
8293
90aff2ff
TMQMF
82942012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8295
8296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8297 Fix the order of the list for glibc 2.17.
8298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8299 Likewise.
8300
1818fcb7
AS
83012012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8302
8303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8304
ef82f4da
JM
83052012-10-31 Joseph Myers <joseph@codesourcery.com>
8306
16a0e2ec
JM
8307 [BZ #14610]
8308 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8309 for low part of x being zero before using __atanl (y).
8310 * math/libm-test.inc (atan2_test): Add another test.
8311
0eb69512
JM
8312 * manual/install.texi (Configuring and compiling): Document
8313 general use of test-wrapper and test-wrapper-env.
8314 * INSTALL: Regenerated.
8315
ef82f4da
JM
8316 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8317 (__fma): Do not extract and scale down low bits on after-rounding
8318 systems when result rounded to normal precision would have normal
8319 exponent.
8320 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8321 (__fmal): Do not extract and scale down low bits on after-rounding
8322 systems when result rounded to normal precision would have normal
8323 exponent.
8324 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8325 (__fmal): Do not extract and scale down low bits on after-rounding
8326 systems when result rounded to normal precision would have normal
8327 exponent.
8328 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8329 macro.
8330 (fma_test): Add more tests.
8331 (fma_test_towardzero): Likewise.
8332 (fma_test_downward): Likewise.
8333 (fma_test_upward): Likewise.
8334
954ef0d9
L
83352012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8336
8337 * sysdeps/i386/tininess.h: Renamed to ...
8338 * sysdeps/x86/tininess.h: This.
8339 * sysdeps/x86_64/tininess.h: Removed.
8340
df61ffb2
JM
83412012-10-30 Joseph Myers <joseph@codesourcery.com>
8342
8343 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8344 input. Use $(build-program-cmd).
8345 ($(objpfx)tst-array1-static.out): Likewise.
8346 ($(objpfx)tst-array2.out): Likewise.
8347 ($(objpfx)tst-array3.out): Likewise.
8348 ($(objpfx)tst-array4.out): Likewise.
8349 ($(objpfx)tst-array5.out): Likewise.
8350 ($(objpfx)tst-array5-static.out): Likewise.
8351
01767843
CM
83522012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8353
47cc1490
CM
8354 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8355 if defined.
8356
01767843
CM
8357 * nss/nsswitch.h (nss_interface_function): Provide new
8358 macro for use with NSS functions.
8359 * grp/initgroups.c: Use new macro.
8360 * nss/getXXbyYY.c: Likewise.
8361 * nss/getXXbyYY_r.c: Likewise.
8362 * nss/getXXent.c: Likewise.
8363 * nss/getXXent_r.c: Likewise.
8364 * sysdeps/posix/getaddrinfo.c: Likewise.
8365
8321aa97
AJ
83662012-10-30 Andreas Jaeger <aj@suse.de>
8367
8368 * po/ru.po: Update Russion translation from translation project.
8369
2a27fd6d
JM
83702012-10-30 Joseph Myers <joseph@codesourcery.com>
8371
8627a232
JM
8372 [BZ #14152]
8373 [BZ #14783]
8374 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8375 result and shift together with sticky bit instead of replicating
8376 round-to-nearest rounding.
8377 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8379 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8380 missing underflow exceptions.
8381 (fma_test_towardzero): Add more tests.
8382 (fma_test_downward): Likewise.
8383 (fma_test_upward): Likewise.
8384
2a27fd6d
JM
8385 [BZ #14047]
8386 * sysdeps/generic/tininess.h: New file.
8387 * sysdeps/i386/tininess.h: Likewise.
8388 * sysdeps/sh/tininess.h: Likewise.
8389 * sysdeps/x86_64/tininess.h: Likewise.
8390 * stdlib/tst-strtod-underflow.c: Likewise.
8391 * stdlib/tst-tininess.c: Likewise.
8392 * stdlib/strtod_l.c: Include <tininess.h>.
8393 (round_and_return): Do not set errno for exact underflow cases.
8394 Force an underflow exception when setting errno for underflow.
8395 Determine underflow based on rounding to normal precision if
8396 TININESS_AFTER_ROUNDING.
8397 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8398 ERANGE for exact underflow cases.
8399 * stdlib/Makefile (tests): Add tst-tininess and
8400 tst-strtod-underflow.
8401 ($(objpfx)tst-tininess): Use $(link-libm).
8402 ($(objpfx)tst-strtod-underflow): Likewise.
8403
e7170363
AJ
84042012-10-30 Andreas Jaeger <aj@suse.de>
8405
e5088dc6
AJ
8406 [BZ#14767]
8407 * elf/Makefile (tests): Remove conditional for have-initfini-array
8408 since this is now always required and the variable does not exist
8409 anymore.
8410 (tests-static): Likewise.
8411 (modules-names): Likewise.
8412
e7170363 8413 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8414
8415 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8416 merged with constructor/destructor.
8417 (init_array): Likewise.
8418 * elf/tst-array2dep.c (fini_array): Likewise.
8419 (init_array): Likewise.
8420
60457d8a
MF
84212012-10-29 Mike Frysinger <vapier@gentoo.org>
8422
8423 * manual/message.texi: Delete @cartouche tags.
8424
8bece752
PT
84252012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8426
94ce799f
PT
8427 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8428 EOPNOTSUPP.
8429 * sysdeps/mach/hurd/fsync.c: Likewise.
8430
8bece752
PT
8431 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8432 [_POSIX_REALTIME_SIGNALS]: Change condition to
8433 [_POSIX_REALTIME_SIGNALS > 0].
8434
86ebe6b1
AJ
84352012-10-27 Andreas Jaeger <aj@suse.de>
8436
8437 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8438 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8440 [__WORDSIZE != 64]: Likewise.
8441
54399c08
L
84422012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8443
8444 * iconvdata/tst-table.sh: Remove ${SHELL}.
8445 * iconvdata/tst-tables.sh: Likewise.
8446
e2211bed
DM
84472012-10-25 David S. Miller <davem@davemloft.net>
8448
8449 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8450 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8451 of strtoull.
8452
f303f97c
DM
8453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8454 ifunc-impl-list.c
8455 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8456 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8457 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8458 file.
8459
1e9d84cd
RM
84602012-10-25 Roland McGrath <roland@hack.frob.com>
8461
8462 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8463 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8464 __getdirentries.
8465
df381762
JM
84662012-10-25 Joseph Myers <joseph@codesourcery.com>
8467 Jim Blandy <jimb@codesourcery.com>
8468
8469 * scripts/cross-test-ssh.sh: New file.
8470 * manual/install.texi (Configuring and compiling): Document use of
8471 cross-test-ssh.sh.
8472 * INSTALL: Regenerated.
8473
bff64913
PT
84742012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8475
8476 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8477 EOPNOTSUPP.
8478
25fe8932
JM
84792012-10-25 Joseph Myers <joseph@codesourcery.com>
8480
8481 * Makeconfig (run-program-prefix): Fix comment.
8482
cc1290d0
JM
84832012-10-24 Joseph Myers <joseph@codesourcery.com>
8484 Jim Blandy <jimb@codesourcery.com>
8485
8486 * Makeconfig (test-wrapper): New variable,
8487 (test-wrapper-env): Likewise.
8488 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8489 (run-built-tests): Define to yes.
8490 (run-program-prefix): Use $(test-wrapper).
8491 (built-program-cmd): Likewise.
8492 * Rules (make-test-out): Use $(test-wrapper-env) and
8493 $(host-built-program-cmd).
8494 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8495 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8496 tst-pathopt.sh.
8497 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8498 $(test-wrapper-env) to tst-rtld-load-self.sh.
8499 ($(objpfx)order2.out): Use $(test-wrapper).
8500 ($(objpfx)tst-initorder.out): Likewise.
8501 ($(objpfx)tst-initorder2.out): Likewise.
8502 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8503 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8504 (test_wrapper_env): New variable. Use it to run ld.so.
8505 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8506 Use it to run ld.so.
8507 (test_wrapper_env): Likewise.
8508 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8509 $(test-wrapper) to run-iconv-test.sh.
8510 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8511 (ICONV): Use $test_wrapper.
8512 * posix/Makefile ($(objpfx)globtest.out): Pass
8513 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8514 globtest.sh, not $(run-program-prefix).
8515 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8516 (test_wrapper): Likewise.
8517 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8518 set together with run_via_rtld_prefix.
8519 (run_program_prefix): Define in terms of test_wrapper and
8520 run_via_rtld_prefix.
8521
6e6249d0
RM
85222012-10-24 Roland McGrath <roland@hack.frob.com>
8523
8524 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8525 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8526 Targets removed.
8527
8528 [BZ #14743]
8529 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8530 Declare __clock_getres, __clock_gettime, __clock_settime,
8531 __clock_nanosleep, and __clock_getcpuclockid.
8532 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8533 Remove librt_hidden_def (clock_gettime).
8534 * sysdeps/unix/clock_gettime.c: Likewise.
8535 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8536 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8537 * rt/clock_getres.c: Define __clock_getres as an alias.
8538 * sysdeps/posix/clock_getres.c: Likewise.
8539 * rt/clock_settime.c: Define __clock_settime as an alias.
8540 * sysdeps/unix/clock_settime.c: Likewise.
8541 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8542 * sysdeps/unix/clock_nanosleep.c: Likewise.
8543 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8544 * rt/clock-compat.c: New file.
8545 * rt/Makefile (librt-routines): Add clock-compat and move
8546 $(clock-routines) to ...
8547 (routines): ... here, new variable.
8548 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8549 Don't add get_clockfreq here.
8550 * rt/Versions (libc: GLIBC_2.17): New version set.
8551 Add clock_* symbols here.
8552 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8553 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8554 (GLIBC_2.17): Add clock_* symbols.
8555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8557 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8559 Likewise.
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8561 Likewise.
8562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8566 * NEWS: Mention the move.
8567
8568 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8569 Use __open, __read, __close rather than their public counterparts.
8570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8571 (__get_clockfreq_via_cpuinfo): Likewise.
8572 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8573 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8574
8575 * config.h.in (HAVE_IFUNC): New #undef.
8576 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8577 was successful.
8578 * configure: Regenerated.
8579
0cae3f4b
MF
85802012-10-24 Mike Frysinger <vapier@gentoo.org>
8581
8582 * configure.in: Move READELF check to start of file.
8583 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8584 libc_cv_asm_gnu_indirect_function in the process.
8585 * configure: Regenerated.
8586
8175a253
MF
85872012-10-24 Mike Frysinger <vapier@gentoo.org>
8588
8589 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8590 send the output to /dev/null.
8591 (libc_cv_cc_with_libunwind): Likewise.
8592 (libc_cv_as_noexecstack): Likewise.
8593 * configure: Regenerate.
8594
0708a7d1
JM
85952012-10-24 Joseph Myers <joseph@codesourcery.com>
8596
10b40d85
JM
8597 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8598
0708a7d1
JM
8599 * posix/globtest.sh (TMPDIR): Do not set.
8600 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8601 (testout): Likewise.
8602
9fddec1a
AJ
86032012-10-24 Andreas Jaeger <aj@suse.de>
8604
3a8db22f
AJ
8605 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8606 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8607 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8608 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8609 posix_fadvise64, posix_fallocate64.
8610
9fddec1a
AJ
8611 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8612 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8613 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8614 Likewise.
8615 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8616 Likewise.
8617 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8618
8619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8620 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8621 <bits/fcntl-linux.h>.
8622 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8623
8624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8625 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8626 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8627 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8628 [__WORDSIZE != 64]: Likewise.
8629
ebfd1bbd
JM
86302012-10-23 Joseph Myers <joseph@codesourcery.com>
8631
03ac099f
JM
8632 * Makeconfig (run-built-tests): New variable.
8633 * Rules [$(cross-compiling) = yes]: Change condition to
8634 [$(run-built-tests) = no].
8635 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8636 to [$(run-built-tests) = yes].
8637 * elf/Makefile [$(cross-compiling) = no]: Likewise
8638 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8639 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8640 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8641 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8642 * io/Makefile [$(cross-compiling) = no]: Likewise.
8643 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8644 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8645 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8646 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8647 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8648 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8649 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8650 * string/Makefile [$(cross-compiling) = no]: Likewise.
8651
ebfd1bbd
JM
8652 * posix/Makefile ($(objpfx)globtest.out): Pass
8653 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8654 $(rtld-installed-name).
8655 * posix/globtest.sh (elf_objpfx): Remove variable.
8656 (rtld_installed_name): Likewise.
8657 (library_path): Likewise.
8658 (run_program_prefix): New variable. Use for running globtest
8659 binary.
8660
166bca24
JB
86612012-10-23 Jim Blandy <jimb@codesourcery.com>
8662 Joseph Myers <joseph@codesourcery.com>
8663
8664 * Makeconfig (host-built-program-cmd): New variable.
8665 * elf/Makefile (tst-stackguard1-ARGS): Use
8666 $(host-built-program-cmd).
8667 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8668 (tst-spawn-ARGS): Likewise.
8669 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8670
88866099
JM
86712012-10-23 Joseph Myers <joseph@codesourcery.com>
8672 Jim Blandy <jimb@codesourcery.com>
8673
8674 * Makeconfig (run-via-rtld-prefix): New variable.
8675 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8676 (built-program-cmd): Likewise.
8677
b4b4c296
AJ
86782012-10-22 Andreas Jaeger <aj@suse.de>
8679
8680 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8681 __O_RSYNC if it exists, otherwise to O_SYNC.
8682
6fb54a22
JB
86832012-10-22 Jim Blandy <jimb@codesourcery.com>
8684 Joseph Myers <joseph@codesourcery.com>
8685
8686 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8687 /dev/null.
8688 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8689 from /dev/null
8690 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8691 /dev/null.
8692
481b90b9
AJ
86932012-10-22 Andreas Jaeger <aj@suse.de>
8694
2a0e2669
AJ
8695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8696 Define always.
8697 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8698
76e38f9a
AJ
8699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8700 bits/fcntl-linux.h.
8701
7cd37b43
AJ
8702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8703 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8704
481b90b9
AJ
8705 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8706 to __O_LARGEFILE.
8707 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8708 to __O_LARGEFILE.
8709
aba75984
JB
87102012-10-21 Jim Blandy <jimb@codesourcery.com>
8711 Joseph Myers <joseph@codesourcery.com>
8712
8713 * config.make.in (NM): New variable.
8714
88d4247f
AJ
87152012-10-21 Andreas Jaeger <aj@suse.de>
8716
8717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8718 definitions and declarations that are provided by
8719 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8720
f2eed205
L
87212012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8722
8723 [BZ #14683]
8724 * elf/Makefile (tests-static): Add tst-leaks1-static.
8725 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8726 ($(objpfx)tst-leaks1-static): New rule.
8727 ($(objpfx)tst-leaks1-static-mem): Likewise.
8728 (tst-leaks1-static-ENV): New macro.
8729 * elf/dl-open.c (dl_open_worker): Check the main application
8730 only if SHARED is defined.
8731 * elf/tst-leaks1-static.c: New file.
8732
335e6931
AJ
87332012-10-20 Andreas Jaeger <aj@suse.de>
8734
8735 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8736 generic values for Linux.
8737 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8738 and declarations that are provided by <bits/fcntl-linux.h> and
8739 include <bits/fcntl-linux.h>.
8740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8742
ac5c94d3
RM
87432012-10-20 Roland McGrath <roland@hack.frob.com>
8744
8745 * io/fcntl.h: Move include of <bits/types.h> to the top and
8746 include it unconditionally.
8747
de54b33a
L
87482012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8749
228cfb01
L
8750 * wcsmbs/Makefile (tests-ifunc): New variable.
8751 (tests): Add $(tests-ifunc).
8752 * wcsmbs/test-wcschr-ifunc.c: New file.
8753 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8754 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8755 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8756 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8757 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8758
69f07e5f
L
8759 * string/Makefile (tests-ifunc): New variable.
8760 (tests): Add $(tests-ifunc).
8761 * string/test-memccpy.c (TEST_NAME): New macro.
8762 * string/test-memchr.c (TEST_NAME): Likewise.
8763 * string/test-memcmp.c (TEST_NAME): Likewise.
8764 * string/test-memcpy.c (TEST_NAME): Likewise.
8765 * string/test-memmem.c (TEST_NAME): Likewise.
8766 * string/test-memmove.c (TEST_NAME): Likewise.
8767 * string/test-memset.c (TEST_NAME): Likewise.
8768 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8769 * string/test-stpcpy.c (TEST_NAME): Likewise.
8770 * string/test-stpncpy.c (TEST_NAME): Likewise.
8771 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8772 * string/test-strcasestr.c (TEST_NAME): Likewise.
8773 * string/test-strcat.c (TEST_NAME): Likewise.
8774 * string/test-strchr.c (TEST_NAME): Likewise.
8775 * string/test-strcmp.c(TEST_NAME): Likewise.
8776 * string/test-strcpy.c (TEST_NAME): Likewise.
8777 * string/test-strcspn.c (TEST_NAME): Likewise.
8778 * string/test-strlen.c (TEST_NAME): Likewise.
8779 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8780 * string/test-strncmp.c (TEST_NAME): Likewise.
8781 * string/test-strncpy.c (TEST_NAME): Likewise.
8782 * string/test-strnlen.c (TEST_NAME): Likewise.
8783 * string/test-strpbrk.c (TEST_NAME): Likewise.
8784 * string/test-strrchr.c (TEST_NAME): Likewise.
8785 * string/test-strspn.c (TEST_NAME): Likewise.
8786 * string/test-strstr.c (TEST_NAME): Likewise.
8787 * string/test-bcopy-ifunc.c: New file.
8788 * string/test-bzero-ifunc.c: Likewise.
8789 * string/test-memccpy-ifunc.c: Likewise.
8790 * string/test-memchr-ifunc.c: Likewise.
8791 * string/test-memcmp-ifunc.c: Likewise.
8792 * string/test-memcpy-ifunc.c: Likewise.
8793 * string/test-memmem-ifunc.c: Likewise.
8794 * string/test-memmove-ifunc.c: Likewise.
8795 * string/test-mempcpy-ifunc.c: Likewise.
8796 * string/test-memset-ifunc.c: Likewise.
8797 * string/test-rawmemchr-ifunc.c: Likewise.
8798 * string/test-stpcpy-ifunc.c: Likewise.
8799 * string/test-stpncpy-ifunc.c: Likewise.
8800 * string/test-strcasecmp-ifunc.c: Likewise.
8801 * string/test-strcasestr-ifunc.c: Likewise.
8802 * string/test-strcat-ifunc.c: Likewise.
8803 * string/test-strchr-ifunc.c: Likewise.
8804 * string/test-strchrnul-ifunc.c: Likewise.
8805 * string/test-strcmp-ifunc.c: Likewise.
8806 * string/test-strcpy-ifunc.c: Likewise.
8807 * string/test-strcspn-ifunc.c: Likewise.
8808 * string/test-strlen-ifunc.c: Likewise.
8809 * string/test-strncasecmp-ifunc.c: Likewise.
8810 * string/test-strncat-ifunc.c: Likewise.
8811 * string/test-strncmp-ifunc.c: Likewise.
8812 * string/test-strncpy-ifunc.c: Likewise.
8813 * string/test-strnlen-ifunc.c: Likewise.
8814 * string/test-strpbrk-ifunc.c: Likewise.
8815 * string/test-strrchr-ifunc.c: Likewise.
8816 * string/test-strspn-ifunc.c: Likewise.
8817 * string/test-strstr-ifunc.c: Likewise.
8818
de54b33a
L
8819 * debug/Makefile (tests-ifunc): New variable.
8820 (tests): Add $(tests-ifunc).
8821 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8822 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8823 * debug/test-stpcpy_chk-ifunc.c: New file.
8824 * debug/test-strcpy_chk-ifunc.c: Likewise.
8825
88481c16
SP
88262012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8827
8828 [BZ #13601]
8829 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8830 header is not read in.
8831
135948bd
JM
88322012-10-19 Joseph Myers <joseph@codesourcery.com>
8833
89f1c388
JM
8834 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8835 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8836 directly. Pass built executable to script as
8837 $(built-program-cmd).
8838 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8839 $testprogram without using LD_LIBRARY_PATH and $ldso.
8840
e40a0d21
JM
8841 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8842 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8843 $(rtld-installed-name).
8844 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8845 (rtld_installed_name): Likewise.
8846 (library_path): Likewise.
8847 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8848 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8849 $(run-program-prefix) to tst-tables.sh.
8850 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8851 it to run tst-table-from and tst-table-to.
8852 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8853 Pass it to tst-table.sh.
8854 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8855 $(run-program-prefix) to tst-gettext.sh.
8856 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8857 tst-translit.sh.
8858 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8859 tst-gettext2.sh.
8860 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8861 to run tst-gettext.
8862 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8863 to run tst-gettext2.
8864 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8865 to run tst-translit.
8866 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8867 $(run-program-prefix) to tst-mtrace.sh.
8868 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8869 to run tst-mtrace.
8870 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8871 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8872 $(rtld-installed-name).
8873 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8874 (rtld_installed_name): Likewise.
8875 (run_program_prefix): New variable. Use it to run wordexp-test.
8876
728e272a
JM
8877 * Makeconfig (ARCH): Remove all definitions.
8878 (machine): Likewise.
8879 [ARCH]: Remove conditional code.
8880 [!objdir]: Give error.
8881 [!objdir] (objpfx): Remove.
8882 [!objdir] (common-objpfx): Likewise.
8883 [!objdir] (common-objdir): Likewise.
8884 * configure.in (config_makefile): Remove. Hardcode Makefile in
8885 AC_CONFIG_FILES call.
8886 * configure: Regenerated.
8887
d528cdcf
JM
8888 [BZ #13888]
8889 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8890 or TMPDIR.
8891 (testout): Likewise.
8892
135948bd
JM
8893 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8894 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8895 $(rtld-installed-name).
8896 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8897 (rtld_installed_name): Likwise.
8898 (runit): Remove function.
8899 (run_getconf): New variable, Use it for running getconf binary.
8900
38c78296
L
89012012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8902
8903 [BZ #14716]
8904 * string/test-memmem.c (check_result): New function.
8905 (do_one_test): Use it.
8906 (check1): New function.
8907 (test_main): Use it.
8908
d077f65f
MT
89092012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8910
8911 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8912
ced52c71
JM
89132012-10-18 Joseph Myers <joseph@codesourcery.com>
8914
8915 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8916 (_G_LSEEK64): Likewise.
8917 (_G_MMAP64): Likewise.
8918 (_G_FSTAT64): Likewise.
8919 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8920 (_G_LSEEK64): Likewise.
8921 (_G_MMAP64): Likewise.
8922 (_G_FSTAT64): Likewise.
8923 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8924 unconditional. Call __mmap64 directly.
8925 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8926 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8927 __lseek64 directly.
8928 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8929 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8930 __mmap64 directly.
8931 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8932 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8933 __lseek64 directly.
8934 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8935 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8936 __lseek64 directly.
8937 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8938 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8939 __lseek64 directly.
8940 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8941 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8942 __fxstat64 directly.
8943 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8944 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8945 unconditional.
8946 (freopen64) [!_G_OPEN64]: Remove conditional code.
8947 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8948 unconditional.
8949 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8950 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8951 unconditional.
8952 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8953 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8954 unconditional.
8955 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8956 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8957 unconditional.
8958 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8959 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8960 unconditional.
8961 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8962 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8963 unconditional.
8964 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8965 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8966 unconditional.
8967 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8968
b741de23
SP
89692012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8970
8971 [BZ #12140]
8972 * manual/memory.texi (Malloc Tunable Parameters): Add note
8973 about free list pointers overwriting some perturb bytes.
8974 Wording suggested by Roland McGrath.
8975
f9b9d9c9
JM
89762012-10-17 Joseph Myers <joseph@codesourcery.com>
8977
8978 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8979 (lgamma_test): Likewise.
8980 (tgamma_test): Likewise.
8981
172a631a
FW
89822012-10-16 Florian Weimer <fweimer@redhat.com>
8983
8984 [BZ #14700]
8985 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8986 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8987
e9f37252
MK
89882012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8989
8990 * NEWS: Mention BZ #14716.
8991 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8992 when removing AVAILABLE1_USES_J macro.
8993
d394eb74
L
89942012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8995
8996 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8997 (__bswap_64): __uint64_t for unsigned 64-bit int.
8998
ca38dc17
AS
89992012-10-12 Andreas Schwab <schwab@linux-m68k.org>
9000
9001 * include/string.h (memmem): Declare libc hidden alias.
9002 * string/memmem.c (memmem): Define libc hidden alias.
9003 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
9004 __read, __close instead of open, read, close.
9005
9a387d1f
L
90062012-10-11 H.J. Lu <hongjiu.lu@intel.com>
9007
ac49ecaf
L
9008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
9009 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
9010 global and hidden.
9011 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
9012 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
9013 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
9014 Likewise.
9015 (__rawmemchr_sse2): Likewise.
9016 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
9017 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
9018 (__strchr_sse2): Likewise.
9019 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
9020 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
9021 (__strcasecmp_sse2): Likewise.
9022 (__strncasecmp_sse2): Likewise.
9023 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
9024 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
9025 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
9026 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
9027 (__strrchr_sse2): Likewise.
9028 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
9029 ifunc-impl-list.c.
9030 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9031 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9032 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9033 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9034 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9035 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9036 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9037 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9038 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
9039 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
9040 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
9041 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
9042 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
9043 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9044 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9045 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9046 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9047 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9048 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
9049 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
9050 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
9051 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
9052 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
9053 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9054 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
9055 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9056 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9057 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9058 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9059 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9060
b090e8ea
L
9061 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
9062 global and hidden.
9063 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
9064 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
9065 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
9066 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
9067 Likewise.
9068 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
9069 Likewise.
9070 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
9071 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
9072 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
9073 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
9074 ifunc-impl-list.c.
9075 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9076 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9077 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9078 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9079 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9080 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9081 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9082 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9083 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9084 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9085 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9086 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9087 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9088 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
9089 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
9090 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9091 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
9092 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
9093 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9094 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9095 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9096 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9097 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9098 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9099 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9100 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
9101 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
9102 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
9103 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
9104 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9105 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
9106 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9107 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9108 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
9109 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9110 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9111 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9112 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9113 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9114 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9115 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
9116
11dd4af6
L
9117 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
9118 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
9119 * include/ifunc-impl-list.h: New file.
9120 * misc/ifunc-impl-list.c: Likewise.
9121 * misc/Makefile (routines): Add ifunc-impl-list.
9122 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
9123 * string/test-string.h: Include <ifunc-impl-list.h>.
9124 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
9125 impl_array): New variables.
9126 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
9127 are defined.
9128 (test_init): Call __libc_ifunc_impl_list to initialize
9129 func_list if TEST_IFUNC and TEST_NAME are defined.
9130
9a387d1f
L
9131 * string/Makefile (strop-tests): Add bcopy and bzero.
9132 * string/test-bcopy.c: New file.
9133 * string/test-bzero.c: Likewise.
9134 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
9135 defined.
9136 * string/test-memset.c: Support bzero test if TEST_BZERO is
9137 defined.
9138 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
9139 __libc_memmove.
9140 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
9141 __libc_memset.
9142 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
9143 of memset.
9144
472371b9
JM
91452012-10-10 Joseph Myers <joseph@codesourcery.com>
9146
1e4a9536
JM
9147 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
9148 * configure: Regenerated.
9149
d173d12e
JM
9150 * Makeconfig (+link-static-before-libc): Don't include
9151 $(link-static-libc).
9152
472371b9
JM
9153 * libio/libio.h (_IO_pos_t): Remove.
9154
89a3ad0b
AO
91552012-10-10 Alexandre Oliva <aoliva@redhat.com>
9156
9157 * NEWS: Add note about FIPS mode. Wording suggested by Roland
9158 McGrath.
9159
e7451425
AO
91602012-10-10 Alexandre Oliva <aoliva@redhat.com>
9161
9162 * crypt/crypt-entry.c: Include fips-private.h.
9163 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
9164 * crypt/md5c-test.c (main): Tolerate disabled MD5.
9165 * sysdeps/unix/sysv/linux/fips-private.h: New file.
9166 * sysdeps/generic/fips-private.h: New file, dummy fallback.
9167
4ba74a35
AO
91682012-10-10 Alexandre Oliva <aoliva@redhat.com>
9169
9170 * crypt/crypt-private.h: Include stdbool.h.
9171 (_ufc_setup_salt_r): Return bool.
9172 * crypt/crypt-entry.c: Include errno.h.
9173 (__crypt_r): Return NULL with EINVAL for bad salt.
9174 * crypt/crypt_util.c (bad_for_salt): New.
9175 (_ufc_setup_salt_r): Check that salt is long enough and within
9176 the specified alphabet.
9177 * crypt/badsalttest.c: New file.
9178 * crypt/Makefile (tests): Add it.
9179 ($(objpfx)badsalttest): New.
9180
f96f1242
MK
91812012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
9182
9183 * NEWS: Add entry for BZ #14602.
9184
0e8e0c1c
JM
91852012-10-09 Joseph Myers <joseph@codesourcery.com>
9186
9187 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9188 type-generic.
9189 * math/libm-test.inc: Update comment listing what functions and
9190 macros are tested.
9191 (isgreater_test): New function.
9192 (isgreaterequal_test): Likewise.
9193 (isless_test): Likewise.
9194 (islessequal_test): Likewise.
9195 (islessgreater_test): Likewise.
9196 (isunordered_test): Likewise.
9197 (main): Call the new functions.
9198
273edc5e
RM
91992012-10-09 Roland McGrath <roland@hack.frob.com>
9200
b8493de0
RM
9201 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9202 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9203 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9204 * sysdeps/i386/configure: Regenerated.
9205 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9206 * sysdeps/mach/configure: Regenerated.
9207 * sysdeps/mach/hurd/configure: Regenerated.
9208 * sysdeps/powerpc/configure: Regenerated.
9209 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9210 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9211 * sysdeps/s390/s390-32/configure: Regenerated.
9212 * sysdeps/s390/s390-64/configure: Regenerated.
9213 * sysdeps/sh/configure: Regenerated.
9214 * sysdeps/sparc/configure: Regenerated.
9215 * sysdeps/unix/sysv/linux/configure: Regenerated.
9216 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9217 * sysdeps/x86_64/configure: Regenerated.
9218
273edc5e
RM
9219 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9220 defined. Don't check if MAP is NULL.
9221
c8450f70
JM
92222012-10-09 Joseph Myers <joseph@codesourcery.com>
9223
9224 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9225 (_G_stat64): Likewise.
9226 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9227 (_G_stat64): Likewise.
9228 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9229 instead of struct _G_stat64.
9230 * libio/fileops.c (mmap_remap_check): Likewise.
9231 (decide_maybe_mmap): Likewise.
9232 (_IO_new_file_seekoff): Likewise.
9233 (_IO_file_stat): Likewise.
9234 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9235 _G_off64_t.
9236 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9237 instead of struct _G_stat64.
9238 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9239
57e605ba
MK
92402012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9241
9242 [BZ #14602]
9243 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9244 Replace with ...
9245 (CHECK_EOL): New macro.
9246 (two_way_short_needle): Check beginning of haystack for EOL. Use
9247 CHECK_EOL.
9248 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9249 Replace with CHECK_EOL.
9250 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9251 Replace with CHECK_EOL.
9252
ef1bb361
JM
92532012-10-08 Joseph Myers <joseph@codesourcery.com>
9254
9255 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9256 type-generic.
9257 * math/libm-test.inc: Update comment listing what functions and
9258 macros are tested.
9259 (finite_test): New function.
9260 (isinf_test): Likewise.
9261 (isnan_test): Likewise.
9262 (fpclassify_test): Test subnormal input.
9263 (isfinite_test): Likewise.
9264 (isnormal_test): Likewise.
9265 (main): Call the new functions.
9266
55f11534
JN
92672012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9268
9269 [BZ #14660]
9270 * Makerules (%.dynsym): Force C locale when running
9271 $(OBJDUMP) --dynamic-syms.
9272
1ab29350
AS
92732012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9274
9275 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9276 <stdint.h>.
9277
f1ecb7ef
DM
92782012-10-06 David S. Miller <davem@davemloft.net>
9279
9280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9281 upper 32-bits of the length value in %o2 since we use branch-on-register
9282 tests which consider the entire 64-bit register.
9283
5d41d91a
L
92842012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9285
9286 * string/test-strstr.c (check2): Add a test for page boundary.
9287
3baddb72
DM
92882012-10-05 David S. Miller <davem@davemloft.net>
9289
9290 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9291 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9292 file.
9293 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9294 sysdep_routines.
9295 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9296 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9297 and bzero when HWCAP_SPARC_CRYPTO is present.
9298
9cee5585
L
92992012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9300
d7e0dab9
L
9301 [BZ #14602]
9302 * string/test-strstr.c (check2): New function.
9303 (test_main): Call check2.
9304
03759f47
L
9305 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9306 and bug-strchr1.
9307 * string/bug-strcasestr1.c (do_test): Moved to ...
9308 * string/test-strcasestr.c (check1): Here. New function.
9309 (do_one_test): Break out result checking code into ...
9310 (check_result): This. New function.
9311 (do_one_test): Call check_result.
9312 (test_main): Call check1.
9313 * string/bug-strchr1.c (do_test): Moved to ...
9314 * string/test-strchr.c (check1): Here. New function.
9315 (do_one_test): Break out result checking code into ...
9316 (check_result): This. New function.
9317 (do_one_test): Call check_result.
9318 (test_main): Call check1.
9319 * string/bug-strstr1.c (main): Moved to ...
046f153e 9320 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9321 (do_one_test): Break out result checking code into ...
9322 (check_result): This. New function.
9323 (do_one_test): Call check_result.
9324 (test_main): Call check1.
9325 * string/bug-strcasestr1.c: Removed.
9326 * string/bug-strchr1.c: Likewise.
9327 * string/bug-strstr1.c: Likewise.
9328
53cea63e
L
9329 * elf/Makefile (dl-routines): Add hwcaps.
9330 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9331 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9332 (_dl_important_hwcaps): Moved to ...
9333 * elf/dl-hwcaps.c: Here. New file.
9334 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9335
9cee5585 9336 [BZ #14557]
bb859b06
L
9337 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9338 if IS_IN_rtld isn't defined.
9339
9cee5585
L
9340 * elf/dl-support.c (_dl_sysinfo_map): New.
9341 Include "get-dynamic-info.h" and "setup-vdso.h".
9342 (_dl_non_dynamic_init): Call setup_vdso.
9343 * elf/dynamic-link.h: Don't include <assert.h>.
9344 (elf_get_dynamic_info): Moved to ...
9345 * elf/get-dynamic-info.h: Here. New file.
9346 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9347 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9348 * elf/setup-vdso.h: Here. New file.
9349 * elf/rtld.c: Include "setup-vdso.h".
9350 (dl_main): Call setup_vdso.
9351
23c31b76
JM
93522012-10-05 Joseph Myers <joseph@codesourcery.com>
9353
28234b07
JM
9354 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9355 creal in comment listing functions tested. List finite, isinf,
9356 isnan, isless, islessequal, isgreater, isgreaterequal,
9357 islessgreater, isunordered, lgamma_r and pow10 as functions and
9358 macros not tested. Mention which functions not tested are aliases
9359 for other functions. Fix typo. Note that signs of NaNs are not
9360 tested.
9361
23c31b76
JM
9362 * scripts/config.guess: Update from config.git.
9363 * scripts/config.sub: Likewise.
9364
9043e228
RM
93652012-10-04 Roland McGrath <roland@hack.frob.com>
9366
9367 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9368 * misc/madvise.c (madvise): Renamed to __madvise.
9369 Make madvise a weak alias.
9370 * include/sys/mman.h: Declare __madvise.
9371 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9372 * sysdeps/unix/syscalls.list
9373 (madvise): Make __madvise the strong name, and madvise a weak alias.
9374 * sysdeps/unix/sysv/linux/syscalls.list
9375 (madvise, mmap): Remove redundant entries.
9376 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9377 * malloc/malloc.c (mtrim): Likewise.
9378 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9379
f57f8055
RM
93802012-10-03 Roland McGrath <roland@hack.frob.com>
9381
9382 * sysdeps/mach/hurd/dl-cache.c: File removed.
9383 * config.h.in (USE_LDCONFIG): New #undef.
9384 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9385 * configure: Regenerated.
9386 * elf/Makefile (dl-routines): Add dl-cache only under
9387 [$(use-ldconfig) = yes].
9388 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9389 cache on [USE_LDCONFIG].
9390 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9391 [USE_LDCONFIG].
9392 * elf/rtld.c (dl_main): Likewise.
9393
5bb0c10a
PT
93942012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9395
9396 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9397 _SC_LEVEL4_CACHE_LINESIZE.
9398
010188c6
RM
93992012-10-03 Roland McGrath <roland@hack.frob.com>
9400
9401 * sysdeps/unix/bsd/confstr.h: File removed.
9402
b6c5ec07
AO
94032012-10-02 Alexandre Oliva <aoliva@redhat.com>
9404
9405 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9406 sys/sdt-config.h.
9407
408223d4
RM
94082012-10-02 Roland McGrath <roland@hack.frob.com>
9409
9410 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9411 Make 'mapoff' field ElfW(Off) rather than off_t.
9412
bb9510dc
DL
94132012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9414
fc997c6e
DL
9415 * nscd/Makefile: Remove nscd-cflags and all its users.
9416 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9417 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9418
bb9510dc
DL
9419 [BZ #10631]
9420 * malloc.c (malloc_printerr): Clarify error message.
9421
05699367
L
94222012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9423
9424 [BZ #14648]
9425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9426 Set bit_FMA_Usable if FMA is supported.
9427 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9428 macro.
9429 (bit_FMA4_Usable): Updated.
9430 (index_FMA_Usable): New macro.
9431 (CPUID_FMA): Likewise
9432 (HAS_FMA): Defined with bit_FMA_Usable.
9433
51367701
RM
94342012-10-01 Roland McGrath <roland@hack.frob.com>
9435
9436 * bits/types.h (__swblk_t): Type removed.
9437 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9438 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9439 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9440 (__SWBLK_T_TYPE): Likewise.
9441 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9442 (__SWBLK_T_TYPE): Likewise.
9443 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9444 (__SWBLK_T_TYPE): Likewise.
9445 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9446 (__SWBLK_T_TYPE): Likewise.
9447
4d57bf63 94482012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9449 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9450
9451 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9452 (xdr_mapname): Use YPMAXMAP as maxsize.
9453 (xdr_peername): Use YPMAXPEER as maxsize.
9454 (xdr_keydat): Use YPAXRECORD as maxsize.
9455 (xdr_valdat): Use YPMAXRECORD as maxsize.
9456
93c65d43
RM
94572012-10-01 Roland McGrath <roland@hack.frob.com>
9458
497a03d6
RM
9459 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9460
93c65d43
RM
9461 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9462 * csu/init-first.c: ... here.
9463 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9464 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9465 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9466 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9467 * sysdeps/i386/init-first.c: File removed.
9468 * sysdeps/sh/init-first.c: File removed.
9469
bec749fd
JM
94702012-10-01 Joseph Myers <joseph@codesourcery.com>
9471
9472 [BZ #14645]
9473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9474 if x * y might underflow to zero and z is zero.
9475 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9477 * math/libm-test.inc (min_subnorm_value): New variable.
9478 (fma_test): Add more tests.
9479 (fma_test_towardzero): Likewise.
9480 (fma_test_downward): Likewise
9481 (fma_test_upward): Likewise.
9482 (initialize): Set min_subnorm_value.
9483
8ec5b013
JM
94842012-09-29 Joseph Myers <joseph@codesourcery.com>
9485
9486 [BZ #14638]
9487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9488 0 + 0.
9489 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9490 mode for addition resulting in exact zero.
9491 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9493 exact 0 + 0.
9494 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9495 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9496 * math/libm-test.inc (fma_test): Add more tests.
9497 (fma_test_towardzero): New function.
9498 (fma_test_downward): Likewise.
9499 (fma_test_upward): Likewise.
9500 (main): Call the new functions.
9501
b1fa802e
DM
95022012-09-28 David S. Miller <davem@davemloft.net>
9503
9504 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9505
d3b9fd9e
RM
95062012-09-28 Roland McGrath <roland@hack.frob.com>
9507
ea4d37b3
RM
9508 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9509 instead of SIGALRM.
9510
ac51c949
RM
9511 * sysdeps/gnu/_G_config.h: Moved to ...
9512 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9513 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9514 * sysdeps/generic/_G_config.h: ... here.
9515
28c195f7
RM
9516 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9517
848917f9
RM
9518 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9519
6bacf05b
RM
9520 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9521 Conditionalize target on [libnss_test1.so-version].
9522
91363dbb
RM
9523 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9524
cc87f7d8
RM
9525 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9526 (elfobjdir): Move out of conditionals.
9527
b1c608fe
RM
9528 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9529 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9530 (__nss_lookup_function): Conditionalize label remove_from_tree on
9531 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9532
1d9a6d96
DM
95332012-09-28 David S. Miller <davem@davemloft.net>
9534
9535 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9536 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9537 file.
9538 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9539 sysdep_routines.
9540 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9541 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9542 when HWCAP_SPARC_CRYPTO is present.
9543
72581615
PT
95442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9545
9546 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9547
715a900c
JL
95482012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9549
9550 [BZ #6530]
9551 * stdio-common/vfprintf.c (process_string_arg): Revert
9552 2000-07-22 change.
9553
95542011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9555
9556 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9557 for testcase.
9558 * stdio-common/tst-sprintf.c: Include <locale.h>
9559 (main): Test sprintf's handling of incomplete multibyte
9560 characters.
9561
9bac1d86
L
95622012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9563
9564 * elf/dl-runtime.c (VERSYMIDX): Removed.
9565 * elf/dl-version.c (VERSYMIDX): Likewise.
9566 * elf/do-rel.h (VERSYMIDX): Likewise.
9567 (VALIDX): Likewise.
9568 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9569 * elf/rtld.c (VALIDX): Likewise.
9570 (ADDRIDX): Likewise.
9bac1d86
L
9571 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9572 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9573 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9574 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9575 (VALIDX): Likewise.
9576 (ADDRIDX): Likewise.
9bac1d86 9577
b31606c0
PT
95782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9579
9580 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9581
11541177
JL
95822012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9583
9584 [BZ #11438]
9585 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9586 to global scope.
9587 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9588 addresses are in the same scope as 192.0.2/24.
9589 * posix/gai.conf: Document new scope table defaults.
9590
adb26fae
SP
95912012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9592
9593 [BZ #5298]
9594 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9595 for ftell. Compute offsets from write pointers instead.
9596 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9597
4573c6b0
SP
95982012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9599
9600 [BZ #14543]
9601 * libio/Makefile (tests): New test case tst-fseek.
9602 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9603 combination works in wide mode.
9604 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9605 state when the external buffer state changes.
9606
aa9bbfe6
DM
96072012-09-27 David S. Miller <davem@davemloft.net>
9608
9609 [BZ #14376]
9610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9611 pass reloc->r_addend in as the 'high' argument to
9612 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9613
784421e7
DM
9614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9615
c39bc8b8
PT
96162012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9617
9618 * rt/tst-aio2.c: Include <pthread.h>.
9619 * rt/tst-aio3.c: Likewise.
9620
1ccc2399
SE
96212012-09-27 Steve Ellcey <sellcey@mips.com>
9622
9623 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9624
31ed4153
L
96252012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9626
25f5f885
L
9627 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9628 contents on [SHARED].
31ed4153 9629
b7bfe116
MP
96302012-09-26 Marek Polacek <polacek@redhat.com>
9631
9632 [BZ #14530]
9633 [BZ #13741]
9634 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9635 for C++ and GCC <4.3 as well as for non GCC compilers.
9636
43c4edba
MT
96372012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9638
9639 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9640
6a1bf82f
RM
96412012-09-25 Roland McGrath <roland@hack.frob.com>
9642
9643 * Makefile.in (all, install): Declare with .PHONY.
9644 Reported by Michael Hope <michael.hope@linaro.org>.
9645
8ad11b9a
TMQMF
96462012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9647
9648 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9649 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9650 system header.
9651 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9652 Likewise.
9653 (sydep_routines): Add the new and the internal functions.
9654 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9655 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9657 (GLIBC_2.17): Add the new function.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9659 (GLIBC_2.17): Likewise.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9661 (GLIBC_2.17): Likewise.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9663 (GLIBC_2.17): Likewise.
9664 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9665
7e2fca8d
AM
96662012-09-25 Alan Modra <amodra@gmail.com>
9667
9668 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9669 Add release barrier before setting once_control to say
9670 initialisation is done. Add hints on lwarx. Use macro in
9671 place of isync.
9672 (clear_once_control): Add release barrier.
9673
b87c4b24
JM
96742012-09-25 Joseph Myers <joseph@codesourcery.com>
9675
d032e0d2
JM
9676 [BZ #13629]
9677 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9678 specially.
9679 * math/s_clog10.c (__clog10): Likewise.
9680 * math/s_clog10f.c (__clog10f): Likewise.
9681 * math/s_clog10l.c (__clog10l): Likewise.
9682 * math/s_clogf.c (__clogf): Likewise.
9683 * math/s_clogl.c (__clogl): Likewise.
9684 * math/Makefile (libm-calls): Add x2y2m1.
9685 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9686 (__x2y2m1): Likewise.
9687 (__x2y2m1l): Likewise.
9688 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9689 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9692 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9693 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9694 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9695 * sysdeps/i386/fpu/libm-test-ulps: Update.
9696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9697
b87c4b24
JM
9698 [BZ #14621]
9699 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9700 int as type of variable DEPTH.
9701 (glob): Use size_t instead of int as type of variables NEWCOUNT
9702 and OLD_PATHC.
9703
6d3bf199
LD
97042012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9705
22bf5c17
LD
9706 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9707 Add s_sincosf-sse2.
9708 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9709 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9710 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9711 macros for using routine as __sincosf_ia32.
9712 Use macro for function declaration and weak_alias.
9713 * sysdeps/i386/fpu/libm-test-ulps: Update.
9714
9715 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9717
9718 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9719 subnormal argument.
9720 * math/s_cexpf.c (__cexpf): Likewise.
9721 * math/s_csinf.c (__csinf): Likewise.
9722 * math/s_csinhf.c (__csinhf): Likewise.
9723 * math/s_ctanf.c (__ctanf): Likewise.
9724 * math/s_ctanhf.c (__ctanhf): Likewise.
9725 * math/s_ccosh.c (__ccoshf): Likewise.
9726 * math/s_cexp.c (__cexpl): Likewise.
9727 * math/s_csin.c (__csin): Likewise.
9728 * math/s_csinh.c (__csinh): Likewise.
9729 * math/s_ctan.c (__ctan): Likewise.
9730 * math/s_ctanh.c (ctanh): Likewise.
9731 * math/s_ccoshl.c (__ccoshl): Likewise.
9732 * math/s_cexpl.c (__cexpl): Likewise.
9733 * math/s_csinl.c (__csinl): Likewise.
9734 * math/s_csinhl.c (__csinhl): Likewise.
9735 * math/s_ctanl.c (__ctanl): Likewise.
9736 * math/s_ctanhl.c (__ctanhl): Likewise.
9737
203e5603
JM
97382012-09-25 Joseph Myers <joseph@codesourcery.com>
9739
9740 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9741 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9742 (_IO_off_t): Define to __off_t, not _G_off_t.
9743 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9744 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9745 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9746 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9747 type of __dummy and __dummy2 fields.
9748 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9749 (_G_ssize_t): Likewise.
9750 (_G_off_t): Likewise.
9751 (_G_pid_t): Likewise.
9752 (_G_uid_t): Likewise.
9753 (_G_wchar_t): Likewise.
9754 (_G_wint_t): Likewise.
9755 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9756 (_G_ssize_t): Likewise.
9757 (_G_off_t): Likewise.
9758 (_G_pid_t): Likewise.
9759 (_G_uid_t): Likewise.
9760 (_G_wchar_t): Likewise.
9761 (_G_wint_t): Likewise.
9762 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9763 (_G_ssize_t): Likewise.
9764 (_G_off_t): Likewise.
9765 (_G_pid_t): Likewise.
9766 (_G_uid_t): Likewise.
9767 (_G_wchar_t): Likewise.
9768 (_G_wint_t): Likewise.
9769
9fab36eb
SP
97702012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9771
9772 * malloc/arena.c: Include malloc-sysdep.h.
9773 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9774 is sufficient to shrink the heap or an unmap is needed.
9775 * sysdeps/generic/malloc-sysdep.h: New file. Define
9776 new function check_may_shrink_heap.
9777 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9778 new function check_may_shrink_heap.
9779
2b4f00d1
SP
97802012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9781
9782 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9783 comments.
9784
9a9028b1
DL
97852012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9786
57c69bef
DL
9787 * catgets/test-gencat.sh: Add "set -e".
9788 * elf/tst-pathopt.sh: Likewise.
9789 * grp/tst_fgetgrent.sh: Likewise.
9790 * iconvdata/run-iconv-test.sh: Likewise.
9791 * intl/tst-gettext.sh: Likewise.
9792 * intl/tst-gettext2.sh: Likewise.
9793 * intl/tst-gettext4.sh: Likewise.
9794 * intl/tst-gettext6.sh: Likewise.
9795 * intl/tst-translit.sh: Likewise.
9796 * io/ftwtest-sh: Likewise.
9797 * libio/test-freopen.sh: Likewise.
9798 * malloc/tst-mtrace.sh: Likewise.
9799 * posix/globtest.sh: Likewise.
9800 * posix/tst-getconf.sh: Likewise.
9801 * posix/wordexp-tst.sh: Likewise.
9802 * stdio-common/tst-printf.sh: Likewise.
9803 * stdio-common/tst-unbputc.sh: Likewise.
9804 * stdlib/tst-fmtmsg.sh: Likewise.
9805 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9806 * catgets/Makefile: Do not specify -e option when running
9807 testsuite shell scripts.
9808 * elf/Makefile: Likewise.
9809 * grp/Makefile: Likewise.
9810 * iconvdata/Makefile: Likewise.
9811 * intl/Makefile: Likewise.
9812 * io/Makefile: Likewise.
9813 * libio/Makefile: Likewise.
9814 * malloc/Makefile: Likewise.
9815 * posix/Makefile: Likewise.
9816 * stdio-common/Makefile: Likewise.
9817 * stdlib/Makefile: Likewise.
9818 * sysdeps/x86_64/Makefile: Likewise.
9819
9a9028b1
DL
9820 * io/ftwtest-sh: Add copyright header.
9821 * posix/globtest.sh: Likewise.
9822 * posix/tst-getconf.sh: Likewise.
9823 * posix/wordexp-tst.sh: Likewise.
9824 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9825
ced6f16e
L
98262012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9827
94b32c39
L
9828 [BZ #13679]
9829 * Makeconfig (+link): Defined as $(+link-static) if
9830 $(build-shared) isn't yes.
9831 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9832 isn't yes.
9833 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9834
189e935b
L
9835 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9836
ced6f16e
L
9837 [BZ #14562]
9838 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9839 new chunk size with MALLOC_ALIGN_MASK.
9840
a9f8e53a
JM
98412012-09-24 Joseph Myers <joseph@codesourcery.com>
9842
9843 [BZ #5044]
9844 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9845 <rounding-mode.h>.
9846 (__printf_fphex): Determine rounding using get_rounding_mode and
9847 round_away.
9848 * stdio-common/tst-printf-round.c (struct hex_test): New
9849 structure.
9850 (hex_tests): New variable.
9851 (test_hex_in_one_mode): New function.
9852 (do_test): Also run tests for hex float output.
9853
43153109
JM
98542012-09-21 Joseph Myers <joseph@codesourcery.com>
9855
9856 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9857 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9858 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9859 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9860 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9861 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9862 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9863 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9864
8a26625d
JM
98652012-09-20 Joseph Myers <joseph@codesourcery.com>
9866
9867 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9868 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9869 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9870 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9871
f3fd569c
DL
98722012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9873
9874 [BZ #14579]
9875 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9876 mode only.
9877 * elf/tst-rtld-load-self.sh: New test.
9878 * elf/Makefile: Run it.
9879
63bbedd4
JM
98802012-09-18 Joseph Myers <joseph@codesourcery.com>
9881
9882 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9883 (tst-writev-ENV): Remove.
9884 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9885
626f8b6a
CM
98862012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9887
9888 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9889
b7aaa4d6
JM
98902012-09-17 Joseph Myers <joseph@codesourcery.com>
9891
9892 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9893 unconditional.
9894 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9895 Likewise.
9896 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9897 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9898 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9899 Likewise.
9900
65513990
L
99012012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9902
9903 [BZ #14587]
9904 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9905 * config.make.in (have-cpp-asm-debuginfo): Removed.
9906 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9907 * configure: Regenerated.
9908
784761be
JM
99092012-09-14 Joseph Myers <joseph@codesourcery.com>
9910
9911 [BZ #5044]
9912 * stdio-common/printf_fp.c: Include <stdbool.h> and
9913 <rounding-mode.h>.
9914 (___printf_fp): Determine rounding using get_rounding_mode and
9915 round_away.
9916 * stdio-common/tst-printf-round.c: New file.
9917 * stdio-common/Makefile (tests): Add tst-printf-round.
9918 (link-libm): New variable.
9919 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9920
9503345f
L
99212012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9922
9923 [BZ #14576]
9924 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9925 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9926 Likewise.
9927 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9928 Likewise.
9929
ad35fc00
JM
99302012-09-13 Joseph Myers <joseph@codesourcery.com>
9931
9932 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9933 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9934 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9935 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9936
6c9b0f68
JM
99372012-09-12 Joseph Myers <joseph@codesourcery.com>
9938
9939 [BZ #14518]
9940 * include/rounding-mode.h: New file.
9941 * sysdeps/generic/get-rounding-mode.h: Likewise.
9942 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9943 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9944 (MAX_VALUE): New macro.
9945 (MIN_VALUE): Likewise.
9946 (overflow_value): New function.
9947 (underflow_value): Likewise.
9948 (round_and_return): Use overflow_value and underflow_value to
9949 determine return values in overflow and underflow cases. Use
9950 round_away to determine rounding depending on rounding mode.
9951 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9952 determine return values in overflow and underflow cases.
9953 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9954 (struct test_results): New structure.
9955 (struct test): Use struct test_results to store expected results
9956 for all rounding modes.
9957 (TEST): Include expected results for all rounding modes.
9958 (test_in_one_mode): New function.
9959 (do_test): Use test_in_one_mode to compute and check results.
9960 Check results for all rounding modes.
9961 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9962 $(link-libm).
9963
19fcedd5
AM
99642012-12-09 Allan McRae <allan@archlinux.org>
9965
1e9d84cd 9966 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9967
8bbfd2f1
JM
99682012-09-11 Joseph Myers <joseph@codesourcery.com>
9969
9970 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9971 (_G_int32_t): Likewise.
9972 (_G_uint16_t): Likewise.
9973 (_G_uint32_t): Likewise.
9974 (_G_HAVE_BOOL): Likewise.
9975 (_G_HAVE_ATEXIT): Likewise.
9976 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9977 (_G_HAVE_IO_FILE_OPEN): Likewise.
9978 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9979 (_G_int32_t): Likewise.
9980 (_G_uint16_t): Likewise.
9981 (_G_uint32_t): Likewise.
9982 (_G_HAVE_BOOL): Likewise.
9983 (_G_HAVE_ATEXIT): Likewise.
9984 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9985 (_G_HAVE_IO_FILE_OPEN): Likewise.
9986 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9987 (_G_int32_t): Likewise.
9988 (_G_uint16_t): Likewise.
9989 (_G_uint32_t): Likewise.
9990 (_G_HAVE_BOOL): Likewise.
9991 (_G_HAVE_ATEXIT): Likewise.
9992 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9993 (_G_HAVE_IO_FILE_OPEN): Likewise.
9994
b1dc5912
L
99952012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9996
9997 * csu/libc-tls.c: Update copyright years.
9998
0e886ef9
JM
99992012-09-10 Joseph Myers <joseph@codesourcery.com>
10000
28361c5e
JM
10001 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
10002 [!_G_USING_THUNKS]: Remove conditional code.
10003 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
10004 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
10005
0e886ef9
JM
10006 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
10007 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
10008 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10009 (_G_VTABLE_LABEL_PREFIX): Likewise.
10010 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10011 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10012 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10013 (_G_VTABLE_LABEL_PREFIX): Likewise.
10014 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10015 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
10016 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
10017 (_G_VTABLE_LABEL_PREFIX): Likewise.
10018 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
10019
bcba7aa2
L
100202012-09-10 H.J. Lu <hongjiu.lu@intel.com>
10021
10022 * libio/Makefile: Include ../Makeconfig before tests.
10023 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
10024 only if $(build-shared) is yes.
10025
06585ee8
L
10026 * iconv/gconv_db.c: Update copyright years.
10027
80ccd52c
LD
100282012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10029
10030 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
10031 unwind info if defined PIC. Fix special cases description.
10032 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
10033
10034 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
10035 DP_HI_MASK entry.
10036 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
10037
691bc9c1
L
100382012-09-07 H.J. Lu <hongjiu.lu@intel.com>
10039
3d9b46b3
L
10040 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
10041
de2139a9
L
10042 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
10043 is NULL.
10044
5ca78dd0
L
10045 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
10046 (LDLIBS-tst-chk4): This.
10047 (LDFLAGS-tst-chk5): Renamed to ...
10048 (LDLIBS-tst-chk5): This.
10049 (LDFLAGS-tst-chk6): Renamed to ...
10050 (LDLIBS-tst-chk6): This.
10051 (LDFLAGS-tst-lfschk4): Renamed to ...
10052 (LDLIBS-tst-lfschk4): This.
10053 (LDFLAGS-tst-lfschk5): Renamed to ...
10054 (LDLIBS-tst-lfschk5): This.
10055 (LDFLAGS-tst-lfschk6): Renamed to ...
10056 (LDLIBS-tst-lfschk6): This.
10057
691bc9c1
L
10058 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
10059 on $(common-objpfx)soversions.mk.
10060
65cafb1c
JM
100612012-09-07 Joseph Myers <joseph@codesourcery.com>
10062
10063 [BZ #10014]
10064 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
10065 example host name.
10066
c78ab094
SP
100672012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
10068
10069 * malloc/arena.c (arena_get_retry): New function that gets
10070 another arena for the caller to try its request on.
10071 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
10072 current arena cannot fulfill the request.
10073 (__libc_memalign): Likewise.
10074 (__libc_memalign): Likewise.
10075 (__libc_pvalloc): Likewise.
10076 (__libc_calloc): Likewise.
10077
01f49f59
JT
100782012-09-05 John Tobey <john.tobey@gmail.com>
10079
10080 [BZ #13542]
10081 * manual/arith.texi (Operations on Complex): Fix description
10082 of carg branch cut.
10083
4c23fed5
JM
100842012-09-06 Joseph Myers <joseph@codesourcery.com>
10085
1d3c8572
JM
10086 [BZ #10014]
10087 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
10088 host name.
10089
4c23fed5
JM
10090 [BZ #10038]
10091 * manual/memory.texi (Memory): Make order of menu items match
10092 order of sections.
10093
04570aaa
L
100942012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10095
10096 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
10097 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
10098 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
10099
b80af2f4
L
101002012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10101
10102 * csu/libc-tls.c (static_dtv): Renamed to ...
10103 (_dl_static_dtv): This. Make it global.
10104 (_dl_initial_dtv): Removed.
10105 (__libc_setup_tls): Updated.
10106 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
10107 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
10108 DL_INITIAL_DTV.
10109
2abe9f15
PM
101102012-09-06 Petr Machata <pmachata@redhat.com>
10111
10112 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
10113 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
10114 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
10115 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
10116
0948c3af
L
101172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 [BZ #14545]
10120 * csu/libc-tls.c (_dl_initial_dtv): New variable.
10121 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
10122 freeing dtv[-1].
10123
a5055ad1
L
101242012-09-06 H.J. Lu <hongjiu.lu@intel.com>
10125
10126 [BZ #14544]
10127 * Makeconfig (link-static-before-libc): Replace $(+prector)
10128 with $(+prectorT).
10129 (link-static-after-libc): Replace $(+postctor) with
10130 $(+postctorT).
10131 (link-bounded): Replace $(+prector)/$(+postctor) with
10132 $(+prectorT)/$(+postctorT).
10133 (+prectorT): New macro.
10134 (+postctorT): Likewise.
10135
ed8c2ecd
JM
101362012-09-06 Joseph Myers <joseph@codesourcery.com>
10137
10138 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
10139 (round_str): Handle values above the maximum for IBM long double
10140 as inexact.
10141 * stdlib/tst-strtod-round.c (tests): Regenerated.
10142
14c996c8
AK
101432012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10144
10145 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
10146 assembler flag.
10147 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
10148 zarch_nohighgprs around the zarch optimized routines.
10149 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
10150 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
10151 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
10152 for zarch.
10153
430d6ce6
DM
101542012-09-05 David S. Miller <davem@davemloft.net>
10155
10156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10157
ff04dda4
DM
10158 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
10159 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
10160 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
10161 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10162 entries.
10163
24d4e01b
AO
101642012-09-05 Alexandre Oliva <aoliva@redhat.com>
10165
10166 * malloc/arena.c: Fold copyright years.
10167 * malloc/mcheck.c, malloc/memusage.c: Likewise.
10168
61d58174
AO
101692012-09-05 Alexandre Oliva <aoliva@redhat.com>
10170
10171 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
10172
20196a5e
AO
101732012-09-05 Alexandre Oliva <aoliva@redhat.com>
10174
10175 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
10176
5c447383
AO
101772012-09-05 Alexandre Oliva <aoliva@redhat.com>
10178
10179 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
10180 change internal state upon failure.
10181
fad64255
AO
101822012-09-05 Alexandre Oliva <aoliva@redhat.com>
10183
10184 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10185 * malloc/memusage.c (mmap): Likewise.
10186 (mmap64, mremap): Likewise. Adjust name in comment.
10187
1ffb8c90
SP
101882012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10189
10190 * libio/fileops.c: Fix typos in comments.
10191 * libio/oldfileops.c: Likewise.
10192 * libio/wfileops.c: Likewise.
10193
6ef9cc37
SP
101942012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10195
10196 [BZ #1349]
10197 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10198 (tst-malloc-usable-ENV): Set environment for test case.
10199 * malloc/hooks.c (malloc_check_get_size): New function to get
10200 requested size.
10201 * malloc/malloc.c (musable): Use malloc_check_get_size.
10202 * malloc/tst-malloc-usable.c: New test case.
10203
4d038ae3
AS
102042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10205
10206 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10207
c4e85184
AM
102082012-09-05 Allan McRae <allan@archlinux.org>
10209
b9dafc56 10210 [BZ #13966]
c4e85184
AM
10211 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10212 determine header location.
10213 * configure: Regenerated.
10214
e1343020
AS
102152012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10216
10217 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10218 float format.
10219 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10220 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10221 format.
e1343020
AS
10222 (test): Regenerate.
10223
0a9f1987
DM
102242012-09-04 David S. Miller <davem@davemloft.net>
10225
10226 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10227 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10228 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10229
29237804
FW
102302012-09-04 Florian Weimer <fweimer@redhat.com>
10231
10232 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10233 failures.
10234
edb3cb88
FW
10235 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10236
60160d83
JM
102372012-09-04 Joseph Myers <joseph@codesourcery.com>
10238
10239 [BZ #9914]
10240 * libio/iogetdelim.c: Include <limits.h>.
10241 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10242 + len + 1 would overflow.
10243
bcd6c8dc
AJ
102442012-09-03 Andreas Jaeger <aj@suse.de>
10245
10246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10247 * sysdeps/i386/fpu/libm-test-ulps: Update.
10248
4ffffbd2
LD
102492012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10250
10251 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10252 Add s_sinf-sse2, s_conf-sse2.
10253
10254 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10255 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10256 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10257 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10258
10259 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10260 for using routine as __sinf_ia32.
10261 Use macro for function declaration and weak_alias.
10262 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10263 for using routine as __cosf_ia32.
10264 Use macro for function declaration and weak_alias.
10265
10266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10267 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10268
10269 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10270 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10272
10273 * math/libm-test.inc (cos_test): Add more test cases.
10274 (sin_test): Likewise.
10275 (sincos_test): Likewise.
10276
511fa286
AK
102772012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10278
10279 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10280 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10281 hidden.
10282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10283
5f30cfec
L
102842012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10285
10286 [BZ #14538]
10287 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10288 first element of the GOT.
10289 (elf_machine_load_address): Return the difference between
10290 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10291
0786794f
AM
102922012-09-01 Allan McRae <allan@archlinux.org>
10293
5f30cfec
L
10294 [BZ #13412]
10295 * configure.in (AWK): Require gawk version 3.0 or later.
10296 * configure: Regenerated.
0786794f 10297
26889eac
JM
102982012-09-01 Joseph Myers <joseph@codesourcery.com>
10299
10300 * sysdeps/unix/sysv/linux/kernel-features.h
10301 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10302 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10303 [__NR_clock_getres]: Make code unconditional.
10304 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10305 (clock_getcpuclockid): Remove code left unreachable by removal of
10306 conditionals.
10307 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10308 code unconditional.
10309 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10310 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10311 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10312 Make code unconditional.
10313 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10314 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10315 * sysdeps/unix/sysv/linux/clock_settime.c
10316 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10317 conditional code.
10318 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10319 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10320
d22e28b0
L
103212012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 [BZ #14476]
10324 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10325 scripts/test-installation.pl.
10326
10327 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10328 and $ld_so_version if it is set.
10329
050af9c4
SP
103302012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10331
10332 [BZ #14516]
10333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10334 failure if reading from procfs failed.
10335 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10336
ad845c0b
JM
103372012-08-27 Joseph Myers <joseph@codesourcery.com>
10338
10339 * sysdeps/unix/sysv/linux/kernel-features.h
10340 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10341 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10342 Remove conditional code.
10343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10344 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10345 Remove conditional code.
10346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10347 * sysdeps/unix/sysv/linux/i386/fxstat.c
10348 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10350 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10351 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10352 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10353 * sysdeps/unix/sysv/linux/i386/lxstat.c
10354 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10355 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10356 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10357 Remove conditional code.
10358 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10359 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10360 Remove conditional code.
10361 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10362 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10363 <kernel-features.h>.
10364 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10365 Remove.
10366 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10367 Remove conditional code.
10368 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10369 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10370 Remove conditional.
10371
5dbf56af
MF
103722012-08-27 Mike Frysinger <vapier@gentoo.org>
10373
10374 [BZ #5400]
10375 * NEWS: Add fixed bug number.
10376
d6e70f43
JM
103772012-08-27 Joseph Myers <joseph@codesourcery.com>
10378
7efb4737
JM
10379 [BZ #14519]
10380 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10381 underflowing exponent in case of negative sign.
10382 * stdlib/tst-strtod-round-data: Add more tests.
10383 * stdlib/tst-strtod-round.c (tests): Regenerated.
10384
af92131a
JM
10385 [BZ #3479]
10386 * stdlib/strtod_l.c (NDIG): Remove.
10387 (HEXNDIG): Likewise.
10388 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10389 smallest representable value.
10390 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10391 lie within an exact representation of 1/2 ulp of the result.
10392 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10393 unconditionally.
10394 (TENS_P9_IDX): Define unconditionally.
10395 (TENS_P9_SIZE): Likewise.
10396 (TENS_P10_IDX): Likewise.
10397 (TENS_P10_SIZE): Likewise.
10398 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10399 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10400 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10401 entries for 10^2^13 and 10^2^14.
10402 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10403 (TENS_P13_IDX): Define.
10404 (TENS_P13_SIZE): Likewise.
10405 (TENS_P14_IDX): Likewise.
10406 (TENS_P14_SIZE): Likewise.
10407 (_fpioconst_pow10): Change array size to
10408 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10409 unconditional.
10410 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10411 1024]: Add entries for 10^2^13 and 10^2^14.
10412 [LAST_POW10 > _LAST_POW10]: Remove #error.
10413 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10414 (_fpioconst_pow10): Change array size to
10415 FPIOCONST_POW10_ARRAY_SIZE.
10416 * stdlib/gen-fpioconst.c: New file.
10417 * stdlib/gen-tst-strtod-round.c: Likewise.
10418 * stdlib/tst-strtod-round-data: Likewise.
10419 * stdlib/tst-strtod-round.c: Likewise.
10420 * stdlib/Makefile (tests): Add tst-strtod-round.
10421
d6e70f43
JM
10422 [BZ #14459]
10423 * stdlib/strtod_l.c: Include <stdint.h>.
10424 (NDEBUG): Do not define.
10425 (round_and_return): Change EXPONENT parameter to type intmax_t.
10426 Rearrange calculations to avoid internal overflow possibilities.
10427 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10428 Rearrange calculations to avoid internal overflow possibilities.
10429 Assert that number fits inside MPNSIZE limbs.
10430 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10431 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10432 calculations and add assertions to avoid internal overflow
10433 possibilities. Add casts to avoid signed/unsigned operations.
10434 * stdlib/tst-strtod-overflow.c: New file.
10435 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10436
1f529f7d
MP
104372012-08-25 Marek Polacek <polacek@redhat.com>
10438
10439 * time/time.h: Fix some typos in comments.
10440
59a629f1
RM
104412012-08-23 Roland McGrath <roland@hack.frob.com>
10442
10443 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10444 * posix/tst-rfc3484-2.c: Likewise.
10445 * posix/tst-rfc3484-3.c: Likewise.
10446
d3bafbc9
SM
104472012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10448
10449 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10450 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10451
4efcc022
JM
104522012-08-23 Joseph Myers <joseph@codesourcery.com>
10453
10454 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10455 #include of fxstatat64.c.
10456
3cc3ef96
RM
104572012-08-22 Roland McGrath <roland@hack.frob.com>
10458
f04e2132
RM
10459 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10460 * shadow/getspent_r.c: Likewise.
10461 * shadow/getspnam.c: Likewise.
10462 * shadow/getspnam_r.c: Likewise.
10463 * gshadow/getsgent.c: Likewise.
10464 * gshadow/getsgent_r.c: Likewise.
10465 * gshadow/getsgnam.c: Likewise.
10466 * gshadow/getsgnam_r.c: Likewise.
10467 * inet/getnetbyad.c: Likewise.
10468 * inet/getnetbyad_r.c: Likewise.
10469 * inet/getnetbynm.c: Likewise.
10470 * inet/getnetbynm_r.c: Likewise.
10471 * inet/getnetent.c: Likewise.
10472 * inet/getnetent_r.c: Likewise.
10473 * inet/getproto.c: Likewise.
10474 * inet/getproto_r.c: Likewise.
10475 * inet/getprtent.c: Likewise.
10476 * inet/getprtent_r.c: Likewise.
10477 * inet/getprtname.c: Likewise.
10478 * inet/getprtname_r.c: Likewise.
10479 * inet/getrpcbyname.c: Likewise.
10480 * inet/getrpcbyname_r.c: Likewise.
10481 * inet/getrpcbynumber.c: Likewise.
10482 * inet/getrpcbynumber_r.c: Likewise.
10483 * inet/getrpcent.c: Likewise.
10484 * inet/getrpcent_r.c: Likewise.
10485 * inet/getaliasent.c: Likewise.
10486 * inet/getaliasent_r.c: Likewise.
10487 * inet/getaliasname.c: Likewise.
10488 * inet/getaliasname_r.c: Likewise.
10489 * nscd/getgrgid_r.c: Likewise.
10490 * nscd/getgrnam_r.c: Likewise.
10491 * nscd/gethstbyad_r.c: Likewise.
10492 * nscd/gethstbynm3_r.c: Likewise.
10493 * nscd/getpwnam_r.c: Likewise.
10494 * nscd/getpwuid_r.c: Likewise.
10495 * nscd/getsrvbynm_r.c: Likewise.
10496 * nscd/getsrvbypt_r.c: Likewise.
10497 * nscd/gai.c: Likewise.
10498
c53d909c
RM
10499 * configure.in (build_nscd): New substituted variable, set
10500 by --disable-build-nscd and defaults to $use_nscd.
10501 * configure: Regenerated.
10502 * config.make.in (build-nscd): New substituted variable.
10503 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10504 Change conditional to require [$(build-nscd) = yes] as well.
10505 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10506
3cc3ef96
RM
10507 [BZ# 13696]
10508 * configure.in (use_nscd): New substituted variable, set by
10509 --disable-nscd. If enabled, define USE_NSCD.
10510 * configure: Regenerated.
10511 * config.h.in: Add USE_NSCD.
10512 * config.make.in (use-nscd): New substituted variable.
10513 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10514 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10515 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10516 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10517 (CFLAGS-getgrnam_r.c): Likewise.
10518 (CFLAGS-initgroups.c): Likewise.
10519 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10520 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10521 Variables removed.
10522 * inet/getnetgrent_r.c
10523 (nscd_setnetgrent): New function, broken out of ...
10524 (setnetgrent): ... here. Call it.
10525 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10526 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10527 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10528 * nscd/Makefile (routines, aux): Move definitions after include of
10529 Makeconfig. Conditionalize on [$(use-nscd) != no].
10530 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10531 Conditionalize on [USE_NSCD].
10532 (is_nscd, nscd_init_cb): Likewise.
10533 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10534 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10535 * nss/nss_db/db-init.c: Likewise.
10536 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10537 [USE_NSCD].
10538 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10539 (make_request): Use it.
10540 (cache_valid_p): New function.
10541 (__check_pf): Use it.
10542 * NEWS: Add item for --disable-nscd.
10543
07e51550
DL
105442012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10545
10546 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10547 to support sed >= 4.2.1-20-ga9bf076.
10548 * configure: Regenerated.
10549
35a5b08b
RM
105502012-08-22 Roland McGrath <roland@hack.frob.com>
10551
10552 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10553 Conditionalize whole body on [IREL].
10554
8479f23a
JL
105552012-08-22 Jeff Law <law@redhat.com>
10556
10557 [BZ #14505]
10558 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10559 if the family is PF_UNSPEC.
10560
48da0b21
MF
105612012-08-22 Mike Frysinger <vapier@gentoo.org>
10562
10563 * Makerules (lib-version): Rename from V.
10564 (install-lib-nosubdir): Change V to lib-version.
10565
15d0da8c
WS
105662012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10567
10568 [BZ #14252]
10569 * powerpc32/power6/wcschr.c: New file.
10570 * powerpc32/power6/wcscpy.c: New file.
10571 * powerpc32/power6/wcsrchr.c: New file.
10572 * powerpc64/power6/wcschr.c: New file.
10573 * powerpc64/power6/wcscpy.c: New file.
10574 * powerpc64/power6/wcsrchr.c: New file.
10575
bcca0895
MK
105762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10577
10578 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10579 (two_way_short_needle): Use it.
5a4aaa33
RM
10580 * string/strstr.c (AVAILABLE1_USES_J): Define.
10581 * string/strcasestr.c: Likewise.
99677e57
MK
10582
10583 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10584 array references.
10585 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10586
400726de
MK
10587 [BZ #11607]
10588 * NEWS: Add an entry.
10589 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10590 define their defaults.
10591 (two_way_short_needle): Detect end-of-string on-the-fly.
10592 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10593 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10594 * string/bug-strcasestr1.c: New test.
10595 * string/Makefile: Run it.
10596
20a71f2c
MK
105972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10598
10599 [BZ #11607]
10600 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10601 the first character.
10602
21ad0558
RM
106032012-08-21 Roland McGrath <roland@hack.frob.com>
10604
10605 * csu/elf-init.c (__libc_csu_irel): Function removed.
10606 * csu/libc-start.c (apply_irel): New function.
10607 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10608
0e1d9911
JM
106092012-08-21 Joseph Myers <joseph@codesourcery.com>
10610
10611 * sysdeps/unix/sysv/linux/kernel-features.h
10612 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10613 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10614 <kernel-features.h>.
10615 [__NR_fadvise64_64]: Make code unconditional.
10616 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10617 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10618 !__NR_fadvise64_64)]: Likewise.
10619 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10620 !__NR_fadvise64_64))]: Likewise.
10621 [__NR_fadvise64]: Make code unconditional.
10622 [!__NR_fadvise64]: Remove conditional code.
10623 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10624 <kernel-features.h>.
10625 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10626 unconditional.
10627 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10628 conditional code.
10629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10630 not include <kernel-features.h>.
10631 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10632 unconditional.
10633 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10634 conditional code.
10635 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10636 include <kernel-features.h>.
10637 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10638 unconditional.
10639 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10640 conditional code.
10641
14a50c9d
WS
106422012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10643
10644 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10645 slight instruction rearrangements per scrollpipe analysis.
10646 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10647
c0f4faf0
RM
106482012-08-20 Roland McGrath <roland@hack.frob.com>
10649
696da859
RM
10650 * manual/syslog.texi (syslog; vsyslog, closelog):
10651 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10652 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10653
c0f4faf0
RM
10654 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10655 DSOCAPS to match condition on defining it.
10656
348363b2
JM
106572012-08-20 Joseph Myers <joseph@codesourcery.com>
10658
a35cbf28
JM
10659 * sysdeps/unix/sysv/linux/kernel-features.h
10660 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10662 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10663 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10665 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10666 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10668 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10669 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10670
445f7ecd
JM
10671 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10672 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10673
348363b2
JM
10674 * sysdeps/unix/sysv/linux/kernel-features.h
10675 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10676 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10677 unconditional.
10678 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10679 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10680 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10681 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10682 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10683 Make code unconditional.
10684 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10685 (__mmap64) [!__NR_mmap2]: Likewise.
10686 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10687 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10688 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10689 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10690 [__NR_mmap2]: Make code unconditional.
10691 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10692 (__mmap64) [!__NR_mmap2]: Likewise.
10693
bc5bc0e5
AK
106942012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10695
10696 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10697
88d506de
AJ
106982012-08-18 Andreas Jaeger <aj@suse.de>
10699
10700 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10701
493387d2
MF
107022012-08-18 Mike Frysinger <vapier@gentoo.org>
10703
10704 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10705 * include/unistd.h (__have_sock_cloexec): Likewise.
10706 (__have_pipe2): Likewise.
10707 (__have_dup3): Likewise.
10708
a277af22
MF
107092012-08-18 Mike Frysinger <vapier@gentoo.org>
10710
10711 [BZ #9685]
10712 * include/unistd.h (__have_pipe2): Change define into an extern int.
10713 (__have_dup3): Likewise.
10714 * socket/have_sock_cloexec.c: Include fcntl.h.
10715 (__have_pipe2): New variable.
10716 (__have_dup3): Likewise.
10717
fdab8fd3
MF
107182012-08-17 Mike Frysinger <vapier@gentoo.org>
10719
10720 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10721
31035e80
MP
107222012-08-17 Marek Polacek <polacek@redhat.com>
10723
10724 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10725 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10726
3bd9e993
RM
107272012-08-17 Roland McGrath <roland@hack.frob.com>
10728
c91c505f
RM
10729 * configure.in: Add AC_SUBST for sysheaders.
10730 * configure: Regenerated.
10731 * config.make.in (sysheaders): New substituted variable.
10732
7c6f9d53
RM
10733 * sysdeps/unix/mkfifo.c: Moved ...
10734 * sysdeps/posix/mkfifo.c: ... here.
10735 * sysdeps/unix/mkfifoat.c: Moved ...
10736 * sysdeps/posix/mkfifoat.c: ... here.
10737
10738 * sysdeps/unix/utime.c: Moved ...
10739 * sysdeps/posix/utime.c: ... here.
10740
10741 * sysdeps/unix/time.c: Moved ...
10742 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10743 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10744 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10745
10746 * sysdeps/unix/nice.c: Moved ...
10747 * sysdeps/posix/nice.c: ... here.
10748
10749 * sysdeps/unix/alarm.c: Moved ...
10750 * sysdeps/posix/alarm.c: ... here.
10751
3bd9e993
RM
10752 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10753
d1f09384
JL
107542012-08-17 Jeff Law <law@redhat.com>
10755
10756 * intl/Makefile (codeset_mo): New variable.
10757 ($(codeset_mo)): New target.
10758 (tst-codeset.out): Depend on that. Remove explicit rule.
10759 (tst-gettext3.out, tst-gettext5.out): Likewise.
10760 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10761 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10762 * intl/tst-codeset.sh: Remove.
10763 * intl/tst-gettext3.sh: Likewise.
10764 * intl/tst-gettext5.sh: Likewise.
10765
2ae1ae5c
RM
107662012-08-17 Roland McGrath <roland@hack.frob.com>
10767
c31fdb83
RM
10768 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10769 * sysdeps/unix/syscalls.list: ... here.
10770
a0844057
RM
10771 * sysdeps/posix/getaddrinfo.c
10772 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10773 (gaiconf_init, gaiconf_reload): Use them.
10774 [!_STATBUF_ST_NSEC]
10775 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10776 Define using time_t rather than struct timespec.
10777
750c1f2a
RM
10778 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10779 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10780 Macros removed.
10781 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10782 [!NO_THREADS].
10783 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10784 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10785 Likewise.
10786
2ae1ae5c
RM
10787 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10788 __libc_cleanup_push argument.
10789
e66a42f5
RM
10790 * bits/param.h: New file.
10791 * misc/sys/param.h: New file.
10792 * include/sys/param.h: New file.
10793 * misc/Makefile (headers): Add bits/param.h.
10794 * sysdeps/generic/sys/param.h: File removed.
10795 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10796 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10797 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10798 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10799
b7c08a66
RM
10800 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10801 last change.
10802
b2e1c562
RM
10803 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10804 [_IO_MTSAFE_IO].
10805 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10806 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10807 New macros.
10808
c75ccd4c
RM
10809 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10810 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10811 rather than -D_IO_MTSAFE_IO conditionally.
10812 * stdio-common/Makefile (CPPFLAGS): Likewise.
10813 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10814 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10815 Use $(libio-mtsafe).
10816 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10817 of -D_IO_MTSAFE_IO.
10818 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10819 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10820 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10821 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10822 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10823 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10824 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10825 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10826 (CFLAGS-fread_u_chk.c): Likewise.
10827 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10828 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10829 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10830 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10831 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10832 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10833 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10834 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10835 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10836
10837 * libio/Makefile: Test [$(libc-reentrant) = yes]
10838 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10839
10840 * Makeconfig
10841 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10842 * sysdeps/pthread/configure: File removed.
10843 * sysdeps/pthread/Makeconfig: New file.
10844 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10845 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10846
d9195db8
GB
108472012-08-16 Gary Benson <gbenson@redhat.com>
10848
10849 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10850 unmapping the first object in a namespace.
10851
86466cd9
RM
108522012-08-16 Roland McGrath <roland@hack.frob.com>
10853
10854 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10855 (__internal_setnetgrent): ... this. Add internal_function to
10856 definition. Add libc_hidden_def.
10857 (setnetgrent): Update caller.
10858 (internal_endnetgrent): Renamed to ...
10859 (__internal_endnetgrent): ... this. Add internal_function to
10860 definition. Add libc_hidden_def.
10861 (endnetgrent): Update caller.
10862 (internal_getnetgrent_r): Renamed to ...
10863 (__internal_getnetgrent_r): ... this. Add internal_function to
10864 definition. Add libc_hidden_def.
10865 (__getnetgrent_r): Update caller.
10866 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10867
c3c8283c
JM
108682012-08-16 Joseph Myers <joseph@codesourcery.com>
10869
10870 * stdlib/longlong.h: Update from GCC.
10871
db1ee0a8
RM
108722012-08-16 Roland McGrath <roland@hack.frob.com>
10873
10874 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10875 on _QL, which is set by umul_ppmm but never used.
10876 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10877 variables, which are set by GMP macros but never used.
10878 * stdio-common/_itowa.c (_itowa): Likewise.
10879 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10880 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10881
30f69637
CD
108822012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10883
10884 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10885 struct La_sh_regs is not constant.
10886 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10887 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10888 and struct La_sparc64_regs are not constant.
10889
93a78ac4
JM
108902012-08-16 Joseph Myers <joseph@codesourcery.com>
10891
10892 * sysdeps/unix/sysv/linux/kernel-features.h
10893 (__ASSUME_POSIX_TIMERS): Remove.
10894 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10896 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10897 Make code unconditional.
10898 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10899 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10900 Make code unconditional.
10901 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10902 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10903 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10904 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10905 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10906 Make code unconditional.
10907 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10908 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10909 (__libc_missing_posix_timers): Remove.
10910
dd924cd7
RM
109112012-08-15 Roland McGrath <roland@hack.frob.com>
10912
4b4f2771
RM
10913 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10914 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10915
601c888b
RM
10916 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10917
176790a7
RM
10918 * elf/dl-sym.c: Include <stdlib.h>.
10919
329bc018
RM
10920 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10921 constants, which avoids warnings in 32-bit builds.
10922
e04e272d
RM
10923 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10924 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10925
952bf94a
RM
10926 * misc/lseek.c: File moved to ...
10927 * io/lseek.c: ... here.
10928
7c99b50a
RM
10929 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10930
dd924cd7
RM
10931 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10932 shifting LEN more than 31 bits at once.
10933
b3f479a8
LD
109342012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10935
10936 [BZ #14195]
8c4ae0d4
RM
10937 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10938 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10939 * string/test-strncasecmp.c (check1): Renamed to...
10940 (bz12205): ...this.
10941 (bz14195): Add new testcase for two empty input strings and N > 0.
10942 (test_main): Call new testcase, adapt for renamed function.
10943
9c55864e
AJ
109442012-08-15 Andreas Jaeger <aj@suse.de>
10945
10946 [BZ #14090]
10947 * crypt/md5test2.c: New test, based on test supplied by Serge
10948 Belyshev <belyshev@depni.sinp.msu.ru>.
10949 * crypt/Makefile (xtests): Add md5test-giant..
10950 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10951
02dcb6c5
PE
109522012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10953
10954 [BZ #14090]
10955 * crypt/md5.c (md5_process_block): Don't assume the buffer
10956 length is less than 2**32.
10957 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10958 length is less than 2**64.
10959
a3f95dcc
RM
109602012-08-15 Roland McGrath <roland@hack.frob.com>
10961
be75d758
RM
10962 * string/str-two-way.h: Include <sys/param.h>.
10963 (MAX): Macro removed.
10964
7312ca90
RM
10965 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10966 Move #define and #undef of memmove to just before and after
10967 including <string.h>.
10968
9a0a5486
RM
10969 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10970 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10971 and after including <string.h>. Move declarations of
10972 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10973 to before #include "string/memmove.c".
10974
67cc348d
RM
10975 * include/dirent.h: Declare __getdirentries.
10976
a3f95dcc
RM
10977 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10978 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10979
ca98e171
MF
109802012-08-14 Mike Frysinger <vapier@gentoo.org>
10981
10982 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10983 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10984 * sysdeps/i386/configure: Regenerated.
10985 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10986 STABS_CURRENT_FILE, and STABS_FUN.
10987 (END): Remove call to STABS_FUN_END.
10988 (STABS_CURRENT_FILE1): Delete.
10989 (STABS_CURRENT_FILE): Likewise.
10990 (STABS_FUN): Likewise.
10991 (STABS_FUN_END): Likewise.
10992 (STABS_FUN2): Likewise.
10993 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10994 * sysdeps/x86_64/configure: Regenerated.
10995
5908bf46
RM
109962012-08-14 Roland McGrath <roland@hack.frob.com>
10997
10998 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10999 * elf/dl-lookup.c: Likewise.
5908bf46 11000
f2c05b9e
JM
110012012-08-14 Joseph Myers <joseph@codesourcery.com>
11002
11003 * sysdeps/unix/sysv/linux/kernel-features.h
11004 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
11005 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
11006 unconditionally.
11007 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
11008 unconditionally.
11009 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
11010 condition on __ASSUME_CLONE_THREAD_FLAGS.
11011
e11f5155
AJ
110122012-08-14 Andreas Jaeger <aj@suse.de>
11013
11014 * sysdeps/i386/fpu/libm-test-ulps: Update.
11015
51a9ba86
MK
110162012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
11017
2fdd4f78
AJ
11018 * include/atomic.h (atomic_exchange_and_add): Split into ...
11019 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
11020 New atomic macros.
51a9ba86 11021
ba6cba9e
MT
110222012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
11023
11024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11025
42443a47
JL
110262012-08-13 Jeff Law <law@redhat.com>
11027
11028 * manual/stdio.texi (snprintf): Clarify handling of the trailing
11029 null byte in the output string.
11030
121dce05
JM
110312012-08-10 Joseph Myers <joseph@codesourcery.com>
11032
11033 * sysdeps/unix/sysv/linux/kernel-features.h
11034 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
11035 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
11036 (__ASSUME_ARG_MAX_STACK_BASED): Define.
11037 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11038 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
11039 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
11040 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
11041
bf51f568
JL
110422012-08-09 Jeff Law <law@redhat.com>
11043
11044 [BZ #13939]
11045 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
11046 When avoid_arena is set, don't retry in the that arena. Pick the
11047 next one, whatever it might be.
11048 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
11049 (arena_lock): Pass in new parameter to arena_get2.
11050 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
11051 arena_get2.
11052 (__libc_malloc): Unify retrying after main arena failure with
11053 __libc_memalign version.
11054 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
11055
f85fa270
L
110562012-08-09 H.J. Lu <hongjiu.lu@intel.com>
11057
11058 [BZ #14166]
11059 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
11060 to __redirect_strstr.
11061 (__strstr_sse42): Use typeof __redirect_strstr.
11062 (__strstr_ia32): Likewise.
11063 (__libc_strstr): New prototype.
11064 (strstr): Renamed to ...
11065 (__libc_strstr): This.
11066 (strstr): New strong alias of __libc_strstr.
11067 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11068 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
11069 __redirect_time.
11070 Include <time.h>.
11071 (__libc_time): New prototype.
11072 (time_ifunc): Replace time with __libc_time.
11073 (time): New strong alias and hidden definition of __libc_time.
11074 (__GI_time): Remove strong alias.
11075 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
11076 Include <stddef.h>.
11077 (memmove): Redefined to __redirect_memmove.
11078 (__memmove_sse2): Use typeof __redirect_memmove.
11079 (__memmove_ssse3): Likewise.
11080 (__memmove_ssse3_back): Likewise.
11081 (__libc_memmove): New prototype.
11082 (memmove): Renamed to ...
11083 (__libc_memmove): This.
11084 (memmove): New strong alias of __libc_memmove.
11085
33b4a91e
MS
110862012-08-08 Mark Salter <msalter@redhat.com>
11087
11088 * elf/elf.h
11089 (R_MN10300_TLS_GD): Define.
11090 (R_MN10300_TLS_LD): Likewise.
11091 (R_MN10300_TLS_LDO): Likewise.
11092 (R_MN10300_TLS_GOTIE): Likewise.
11093 (R_MN10300_TLS_IE): Likewise.
11094 (R_MN10300_TLS_LE): Likewise.
11095 (R_MN10300_TLS_DTPMOD): Likewise.
11096 (R_MN10300_TLS_DTPOFF): Likewise.
11097 (R_MN10300_TLS_TPOFF): Likewise.
11098 (R_MN10300_SYM_DIFF): Likewise.
11099 (R_MN10300_ALIGN): Likewise.
11100 (R_MN10300_NUM): Update.
11101
b36137f1
JM
111022012-08-08 Joseph Myers <joseph@codesourcery.com>
11103
11104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
11105 Remove.
11106
cdd915fd
RM
111072012-08-08 Roland McGrath <roland@hack.frob.com>
11108
a2433aac
RM
11109 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
11110
cdd915fd
RM
11111 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
11112 sysdeps/unix -> sysdeps/posix move.
11113 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11114
bf9b740a
AM
111152012-08-07 Allan McRae <allan@archlinux.org>
11116
11117 [BZ #14303]
11118 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
11119 (SUNOS_CPP): Likewise.
11120 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
11121 not found.
11122 (open_input): Call CPP using execvp.
11123
93df14ee
JM
111242012-08-07 Joseph Myers <joseph@codesourcery.com>
11125
11126 * sysdeps/unix/sysv/linux/kernel-features.h
11127 (__ASSUME_PROT_GROWSUPDOWN): Remove.
11128 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11129 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11130 (__ASSUME_WAITID_SYSCALL): Likewise.
11131 * sysdeps/unix/sysv/linux/dl-execstack.c
11132 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
11133 code unconditional.
11134 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
11135 conditional code.
11136 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
11137 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
11138 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
11139 code.
11140 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
11141 unconditional.
11142 [__ASSUME_WAITID_SYSCALL]: Likewise.
11143 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
11144
d34689de
RM
111452012-08-07 Roland McGrath <roland@hack.frob.com>
11146
a281decc
RM
11147 * sysdeps/unix/closedir.c: Renamed to ...
11148 * sysdeps/posix/closedir.c: ... here.
11149 * sysdeps/unix/dirfd.c: Renamed to ...
11150 * sysdeps/posix/dirfd.c: ... here.
11151 * sysdeps/unix/dirstream.h: Renamed to ...
11152 * sysdeps/posix/dirstream.h: ... here.
11153 * sysdeps/unix/fdopendir.c: Renamed to ...
11154 * sysdeps/posix/fdopendir.c: ... here.
11155 * sysdeps/unix/opendir.c: Renamed to ...
11156 * sysdeps/posix/opendir.c: ... here.
11157 * sysdeps/unix/readdir.c: Renamed to ...
11158 * sysdeps/posix/readdir.c: ... here.
11159 * sysdeps/unix/readdir_r.c: Renamed to ...
11160 * sysdeps/posix/readdir_r.c: ... here.
11161 * sysdeps/unix/rewinddir.c: Renamed to ...
11162 * sysdeps/posix/rewinddir.c: ... here.
11163 * sysdeps/unix/seekdir.c: Renamed to ...
11164 * sysdeps/posix/seekdir.c: ... here.
11165 * sysdeps/unix/telldir.c: Renamed to ...
11166 * sysdeps/posix/telldir.c: ... here.
11167 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
11168 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
11169 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
11170 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
11171
22895b47
RM
11172 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
11173 * bits/fcntl.h: ... here.
11174
707a53b6
RM
11175 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
11176 not 0.
11177 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
11178 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
11179 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
11180 (struct flock): Move l_start, l_len to the beginning.
11181 Use __pid_t for l_pid.
11182 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
11183 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
11184 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11185 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11186 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11187 [__USE_LARGEFILE64] (struct flock64): New type.
11188 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11189
f0bd3e25
RM
11190 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11191 * bits/dirent.h: ... here.
11192
d34689de
RM
11193 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11194 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11195
6dad2c06
JM
111962012-08-07 Joseph Myers <joseph@codesourcery.com>
11197
11198 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11199 Change from 2.6.0 to 2.6.16.
11200 * sysdeps/unix/sysv/linux/configure: Regenerated.
11201 * sysdeps/unix/sysv/linux/kernel-features.h
11202 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11203 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11204 version.
11205 (__ASSUME_UTIMES): Likewise.
11206 (__ASSUME_CLONE_STOPPED): Remove.
11207 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11208 architectures, not kernel version.
11209 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11210 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11211 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11212 (__ASSUME_WAITID_SYSCALL): Likewise.
11213 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11214 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11215 * README: State 2.6.16 as minimum Linux kernel version. Do not
11216 refer to older versions.
11217
03af9520
RM
112182012-08-06 Roland McGrath <roland@hack.frob.com>
11219
8e49df1d
RM
11220 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11221 Define alphasort64 as an alias.
11222 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11223 Define versionsort64 as an alias.
11224 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11225 Define scandir64 as an alias.
11226 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11227 Define scandirat64 as an alias.
11228 * dirent/alphasort64.c (alphasort64):
11229 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11230 * dirent/versionsort64.c: Likewise.
11231 * dirent/scandir64.c: Likewise.
11232 * dirent/scandirat64.c: Likewise.
11233 * sysdeps/wordsize-64/alphasort.c: File removed.
11234 * sysdeps/wordsize-64/alphasort64.c: File removed.
11235 * sysdeps/wordsize-64/scandir.c: File removed.
11236 * sysdeps/wordsize-64/scandir64.c: File removed.
11237 * sysdeps/wordsize-64/scandirat.c: File removed.
11238 * sysdeps/wordsize-64/scandirat64.c: File removed.
11239 * sysdeps/wordsize-64/versionsort.c: File removed.
11240 * sysdeps/wordsize-64/versionsort64.c: File removed.
11241 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11242 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11243 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11244 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11245 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11246 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11247 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11248 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11249
11250 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11251 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11252 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11254 [defined __arch64__ || defined __sparcv9]
11255 (__INO_T_MATCHES_INO64_T): New macro.
11256 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11257 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11258 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11259 * sysdeps/unix/sysv/linux/bits/dirent.h
11260 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11261 (_DIRENT_MATCHES_DIRENT64): New macro.
11262
03af9520
RM
11263 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11264 Define lockf64 as an alias.
11265 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11266 Define fseeko64 as an alias.
11267 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11268 Define ftello64 as an alias.
11269 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11270 Define _IO_fgetpos64 and fgetpos64 as aliases.
11271 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11272 Define _IO_fsetpos64 and fsetpos64 as aliases.
11273 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11274 Conditionalize body on this.
11275 * libio/fseeko64.c: Likewise.
11276 * libio/ftello64.c: Likewise.
11277 * libio/iofgetpos64.c: Likewise.
11278 * libio/iofsetpos64.c: Likewise.
11279 * sysdeps/wordsize-64/lockf.c: File removed.
11280 * sysdeps/wordsize-64/lockf64.c: File removed.
11281 * sysdeps/wordsize-64/fseeko.c: File removed.
11282 * sysdeps/wordsize-64/fseeko64.c: File removed.
11283 * sysdeps/wordsize-64/ftello.c: File removed.
11284 * sysdeps/wordsize-64/ftello64.c: File removed.
11285 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11286 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11287 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11288 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11289 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11290 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11291 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11292 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11293 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11294 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11295 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11296 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11297 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11298 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11299
11300 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11302 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11303 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11304 [defined __arch64__ || defined __sparcv9]
11305 (__OFF_T_MATCHES_OFF64_T): New macro.
11306 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11307 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11309 (__OFF_T_MATCHES_OFF64_T): New macro.
11310
c5757acd
L
113112012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11312
11313 * stdlib/secure-getenv.c (__secure_getenv): Replace
11314 GLIBC_2_16 with GLIBC_2_17.
11315
3a31811e
L
113162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11317
11318 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11319 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11320
faa2bccb
DM
113212012-08-03 David S. Miller <davem@davemloft.net>
11322
11323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11324
85fe1997
JM
113252012-08-03 Joseph Myers <joseph@codesourcery.com>
11326
11327 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11328 Remove.
11329 (__ASSUME_CORRECT_SI_PID): Likewise.
11330 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11331 (__ASSUME_TMPFS_NAME): Likewise.
11332 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11333 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11334 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11335 (HAVE_AUX_SECURE): Make definition unconditional.
11336 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11337 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11338
4f75b7a0
RM
113392012-08-03 Roland McGrath <roland@hack.frob.com>
11340
11341 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11342 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11343 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11344 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11345 __eloop_threshold instead of SYMLOOP_MAX.
11346
11347 * sysdeps/generic/eloop-threshold.h: New file.
11348 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11349 of MAXSYMLINKS.
11350 * elf/chroot_canon.c (chroot_canon): Likewise.
11351
7aab07e4
JM
113522012-08-03 Joseph Myers <joseph@codesourcery.com>
11353
11354 [BZ #13717]
11355 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11356 Change to 2.6.0 everywhere.
11357 * sysdeps/unix/sysv/linux/configure: Regenerated.
11358 * sysdeps/unix/sysv/linux/kernel-features.h
11359 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11360 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11361 kernel versions.
11362 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11363 (__ASSUME_FUTEX_REQUEUE): Remove.
11364 (__ASSUME_STATFS64): Define unconditionally.
11365 (__ASSUME_AT_SECURE): Likewise.
11366 (__ASSUME_CORRECT_SI_PID): Likewise.
11367 (__ASSUME_TGKILL): Define without depending on kernel version for
11368 i386.
11369 (__ASSUME_UTIMES): Likewise.
11370 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11371 kernel version.
11372 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11373 (__ASSUME_TMPFS_NAME): Likewise.
11374 * README: Update reference to Linux kernel versions.
11375
b67e9372
MP
113762012-08-02 Marek Polacek <polacek@redhat.com>
11377
1f529f7d 11378 [BZ# 14150]
b67e9372
MP
11379 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11380 libc_cv_asm_type_prefix with %.
11381 * configure: Regenerated.
d2441631
RM
11382 * include/libc-symbols.h: Remove comment about
11383 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
11384 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11385 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11386 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11387 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11388 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11389 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11390 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11391 * elf/tst-unique2mod1.c: Likewise.
11392 * elf/tst-unique1mod2.c: Likewise.
11393 * elf/tst-unique1mod1.c: Likewise.
11394 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11395 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11396 Replace ASM_TYPE_DIRECTIVE with .type.
11397 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11398 * sysdeps/i386/sysdep.h: Likewise.
11399 * sysdeps/x86_64/sysdep.h: Likewise.
11400 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11402 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11403 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11404 * sysdeps/powerpc/powerpc32/sysdep.h:
11405 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11406 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11407 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11408 * sysdeps/i386/fpu/e_powf.S: Likewise.
11409 * sysdeps/i386/fpu/e_expl.S: Likewise.
11410 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11411 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11412 * sysdeps/i386/fpu/e_pow.S: Likewise.
11413 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11415 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11416 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11417 * sysdeps/i386/fpu/e_log2.S: Likewise.
11418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11419 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11420 * sysdeps/i386/fpu/e_powl.S: Likewise.
11421 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11422 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11423 * sysdeps/i386/fpu/e_logl.S: Likewise.
11424 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11425 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11426 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11427 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11428 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11429 * sysdeps/i386/fpu/e_log.S: Likewise.
11430 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11431 * sysdeps/i386/fpu/e_logf.S: Likewise.
11432 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11434 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11435 * sysdeps/i386/fpu/e_log10.S: Likewise.
11436 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11437 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11438 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11439 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11440 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11441 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11442 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11443 * sysdeps/i386/i686/strtok.S: Likewise.
11444 * sysdeps/i386/i386-mcount.S: Likewise.
11445 * sysdeps/i386/strtok.S: Likewise.
11446 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11447 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11448 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11449 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11451 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11452 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11453 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11454 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11455 * sysdeps/x86_64/_mcount.S: Likewise.
11456 * sysdeps/x86_64/strtok.S: Likewise.
11457 * sysdeps/sh/_mcount.S: Likewise.
11458
2747bf9a
RM
114592012-08-01 Roland McGrath <roland@hack.frob.com>
11460
11461 * libio/iofopen.c: Include <fcntl.h>.
11462 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11463 (_IO_fopen64, fopen64): Define as aliases.
11464 * libio/iofopen64.c: Include <fcntl.h>.
11465 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11466 Conditionalize body on this.
11467 * sysdeps/wordsize-64/iofopen.c: File removed.
11468 * sysdeps/wordsize-64/iofopen64.c: File removed.
11469
3fb791b8
MP
114702012-08-01 Marek Polacek <polacek@redhat.com>
11471
11472 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11473 Use dlfcn directly instead of a variable.
11474 (binfmt-subdir): Do not define.
11475 (dlfcn): Likewise.
11476
a9f1039f
JM
114772012-08-01 Joseph Myers <joseph@codesourcery.com>
11478
23bddc06
JM
11479 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11480 Remove all definitions.
11481 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11482 <kernel-features.h>.
11483 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11484 (miss_F_GETOWN_EX): Remove all definitions.
11485 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11486 macro definition.
11487 [!__ASSUME_FCNTL64]: Remove conditional code.
11488 [__ASSUME_FCNTL64]: Make code unconditional.
11489 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11490 <kernel-features.h>.
11491 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11492 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11493 (lockf64) [__NR_fcntl64]: Make code unconditional.
11494 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11495
a9f1039f
JM
11496 * sysdeps/unix/sysv/linux/kernel-features.h
11497 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11498 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11499 Make code unconditional.
11500 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11501 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11503 [__NR_vfork]: Make code unconditional.
11504 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11505 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11507 [__NR_vfork]: Make code unconditional.
11508 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11509 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11510
09c0ee5f
RM
115112012-08-01 Roland McGrath <roland@hack.frob.com>
11512
48aec5b9
RM
11513 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11514 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11515
cd97c966
RM
11516 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11517 Define mkstemp64 as an alias.
3f55550c
RM
11518 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11519 Define mkstemps64 as an alias.
cd97c966
RM
11520 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11521 Define mkostemp64 as an alias.
b8625cfc
RM
11522 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11523 Define mkostemps64 as an alias.
cd97c966
RM
11524 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11525 Conditionalize body on this.
11526 * misc/mkostemp64.c: Likewise.
b8625cfc 11527 * misc/mkostemps64.c: Likewise.
3f55550c 11528 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11529 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11530 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11531 * sysdeps/wordsize-64/mkostemp.c: File removed.
11532 * sysdeps/wordsize-64/mkstemp.c: File removed.
11533 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11534 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11535 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11536 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11537
09c0ee5f
RM
11538 [BZ #14138]
11539 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11540 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11541 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11542 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11543
11544 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11545 compat_symbol macros from <shlib-compat.h> rather than the underlying
11546 default_symbol_version and symbol_version macros, so that DEFAULT
11547 lines in shlib-versions are respected.
11548 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11549
7e66ee51
FW
115502012-08-01 Florian Weimer <fweimer@redhat.com>
11551
11552 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11553 Declare with warn_unused_result.
11554 (setgid, setregid, setegid, setresgid): Likewise.
11555 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11556 Likewise.
11557 * WUR-REPORT: Remove set*id functions.
11558
d2a54255
PT
115592012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11560
11561 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11562
7ecdb005
RM
115632012-07-31 Roland McGrath <roland@hack.frob.com>
11564
b4180a5e 11565 [BZ #10191]
789bd351
RM
11566 * include/sys/socket.h (__libc_accept, __libc_accept4):
11567 Add attribute_hidden.
11568 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11569
40ce302d
RM
11570 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11571 use of PTR_MANGLE.
11572 * inet/getnetgrent_r.c (setup): Likewise.
11573
7ecdb005
RM
11574 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11575
e2eabb2c
DM
115762012-07-31 David S. Miller <davem@davemloft.net>
11577
11578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11579
d0419dbf
JM
115802012-07-31 Joseph Myers <joseph@codesourcery.com>
11581
11582 [BZ #13629]
11583 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11584 value between 1.0 and 2.0 and smaller part has absolute value less
11585 than 1.0.
11586 * math/s_clog10.c (__clog10): Likewise.
11587 * math/s_clog10f.c (__clog10f): Likewise.
11588 * math/s_clog10l.c (__clog10l): Likewise.
11589 * math/s_clogf.c (__clogf): Likewise.
11590 * math/s_clogl.c (__clogl): Likewise.
11591 * math/libm-test.inc (clog_test): Add more tests.
11592 (clog10_test): Likewise.
11593 * sysdeps/i386/fpu/libm-test-ulps: Update.
11594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11595
2bc13872
FW
115962012-07-31 Florian Weimer <fweimer@redhat.com>
11597
11598 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11599 Exit with zero in case no suitable GID is found, and write a
11600 message to standard error.
11601
bea9b193
RM
116022012-07-30 Roland McGrath <roland@hack.frob.com>
11603
11604 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11605 rather than to 1.
11606 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11607 (MAXPATHLEN): Removed.
11608 (NOGROUP, NODEV): New macros.
11609 (setbit, clrbit, isset, isclr): New macros.
11610 (howmany, roundup, powerof2): New macros.
11611 (DEV_BSIZE): New macro.
11612
11613 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11614 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11615
11616 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11617 definition on [!__NO_LONG_DOUBLE_MATH].
11618
11619 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11620 PTR_MANGLE and PTR_DEMANGLE.
11621
11622 * socket/accept4.c (accept4): Rename to __libc_accept4.
11623 Define accept4 as a weak alias.
11624
11625 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11626 on [_DIRENT_HAVE_D_TYPE].
11627 * io/ftw.c (ftw_dir): Likewise.
11628
11629 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11630
11631 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11632
11633 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11634 Use the BSD numbers rather than the arbitrary ones we had.
11635 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11636 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11637 (SIGXCPU, SIGXFSZ): New macros.
11638 (_NSIG): Now 32.
11639
11640 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11641 initializer on [_LIBC_REENTRANT].
11642
11643 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11644 definitions inside [_POSIX_MAPPED_FILES].
11645
11646 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11647
11648 * dirent/opendir.c: Include <fcntl.h>.
11649
11650 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11651 (__libc_getspecific): Likewise.
11652 (__libc_key_create): Likewise.
11653
11654 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11655 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11656 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11657 (tmpfile64): Define as alias.
11658 * sysdeps/wordsize-64/tmpfile.c: File removed.
11659 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11660 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11661 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11662
11663 * stdio-common/vfscanf.c: Include <stdbool.h>.
11664 * nss/makedb.c: Likewise.
11665 * stdio-common/_i18n_number.h: Likewise.
11666 * argp/argp-help.c: Likewise.
11667 * posix/wordexp.c: Likewise.
11668 * sysdeps/posix/spawni.c: Likewise.
11669 * nss/nss_files/files-initgroups.c: Likewise.
11670 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11671 * nss/nss_files/files-initgroups.c: Likewise.
11672 * nss/nss_db/db-netgrp.c: Likewise.
11673 * nss/nss_db/db-initgroups.c: Likewise.
11674 * io/fchmodat.c: Include <sys/stat.h>.
11675
11676 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11677 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11678
11679 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11680 [HAVE_MMAP].
11681
11682 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11683 Add multiple inclusion protection.
11684
e5abc686
DM
116852012-07-27 David S. Miller <davem@davemloft.net>
11686
11687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11688
815e6fa3
GB
116892012-07-27 Gary Benson <gbenson@redhat.com>
11690
11691 [BZ #14298]
11692 * elf/rtld.c: Include <stap-probe.h>.
11693 (dl_main): Added static probes "init_start" and "init_complete".
11694 * elf/dl-load.c: Include <stap-probe.h>.
11695 (lose): Take new parameter "nsid".
11696 Added static probe "map_failed".
11697 (_dl_map_object_from_fd): Pass namespace id to lose.
11698 Added static probe "map_start".
11699 (open_verify): Pass namespace id to lose.
11700 * elf/dl-open.c: Include <stap-probe.h>.
11701 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11702 and "reloc_complete".
11703 * elf/dl-close.c: Include <stap-probe.h>.
11704 (_dl_close_worker): Added static probes "unmap_start" and
11705 "unmap_complete".
11706 * elf/rtld-debugger-interface.txt: New file documenting the above.
11707
9f98c16c
RM
117082012-07-26 Roland McGrath <roland@hack.frob.com>
11709
11710 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11711 rather than a string variable.
11712 * sunrpc/rpc_main.c (h_output): Likewise.
11713 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11714
f3c22df3
PT
117152012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11716
11717 * inet/check_native.c: New file.
11718
3129cfc6
JM
117192012-07-26 Joseph Myers <joseph@codesourcery.com>
11720
da865e95
JM
11721 [BZ #13629]
11722 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11723 if larger part has absolute value 1.0.
11724 * math/s_clog10.c (__clog10): Likewise.
11725 * math/s_clog10f.c (__clog10f): Likewise.
11726 * math/s_clog10l.c (__clog10l): Likewise.
11727 * math/s_clogf.c (__clogf): Likewise.
11728 * math/s_clogl.c (__clogl): Likewise.
11729 * math/libm-test.inc (clog_test): Add more tests.
11730 (clog10_test): Likewise.
11731 * sysdeps/i386/fpu/libm-test-ulps: Update.
11732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11733
3129cfc6
JM
11734 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11735 (pltexit): Likewise.
11736 (La_regs): Likewise.
11737 (La_retval): Likewise.
11738 (int_retval): Likewise.
11739 Update #error for removed macros to refer only to definitions in
11740 tst-audit.h.
11741 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11742 macro.
11743 (pltexit): Likewise.
11744 (La_regs): Likewise.
11745 (La_retval): Likewise.
11746 (int_retval): Likewise.
11747 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11748 macro.
11749 (pltexit): Likewise.
11750 (La_regs): Likewise.
11751 (La_retval): Likewise.
11752 (int_retval): Likewise.
11753 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11754 macro.
11755 (pltexit): Likewise.
11756 (La_regs): Likewise.
11757 (La_retval): Likewise.
11758 (int_retval): Likewise.
11759 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11760 macro.
11761 (pltexit): Likewise.
11762 (La_regs): Likewise.
11763 (La_retval): Likewise.
11764 (int_retval): Likewise.
11765 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11766 macro.
11767 (pltexit): Likewise.
11768 (La_regs): Likewise.
11769 (La_retval): Likewise.
11770 (int_retval): Likewise.
11771 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11772 macro.
11773 (pltexit): Likewise.
11774 (La_regs): Likewise.
11775 (La_retval): Likewise.
11776 (int_retval): Likewise.
11777 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11778 macro definitions in tst-audit.h.
11779 * sysdeps/i386/tst-audit.h: New file.
11780 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11781 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11782 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11783 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11784 * sysdeps/sh/tst-audit.h: Likewise.
11785 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11786 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11787 * sysdeps/x86_64/tst-audit.h: Likewise.
11788
bfc07087
AJ
117892012-07-26 Andreas Jaeger <aj@suse.de>
11790
b1b2aaf8
AJ
11791 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11792 ptrace.
11793
11794 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11795 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11796 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11797 PTRACE_O_MASK.
11798 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11799 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11800 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11801
bfc07087
AJ
11802 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11803 value.
11804
11805 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11806 _sigsys.
11807 (si_call_addr, si_syscall, si_arch): Define new macro.
11808 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11809 _sigsys.
11810 (si_call_addr, si_syscall, si_arch): Define new marcro.
11811 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11812 _sigsys.
11813 (si_call_addr, si_syscall, si_arch): Define new macro.
11814 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11815 _sigsys.
11816 (si_call_addr, si_syscall, si_arch): Define new macro.
11817
89b4b02f
JM
118182012-07-25 Joseph Myers <joseph@codesourcery.com>
11819
11820 [BZ #13717]
11821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11822 Change to 2.4.21 where previously 2.4.1.
11823 * sysdeps/unix/sysv/linux/configure: Regenerated.
11824 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11825 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11826 Linux kernel version.
11827 (__ASSUME_STD_AUXV): Remove.
11828 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11829 kernel version.
11830 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11831 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11832 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11833 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11834 (__ASSUME_NETLINK_SUPPORT): Likewise.
11835 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11836 (__no_netlink_support): Remove conditional definition.
11837 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11838 Remove.
11839 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11840 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11841 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11842 (if_nameindex_ioctl): Remove.
11843 (if_nameindex_netlink): Do not handle __no_netlink_support.
11844 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11845 code.
11846 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11847 Remove conditional code.
11848 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11849 code.
11850 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11851 unconditional.
11852 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11853 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11854 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11855 Remove.
11856 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11857 [!__ASSUME_STD_AUXV]: Remove conditional code.
11858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11859 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11860 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11862 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11863 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11864 code.
11865 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11867 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11868 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11869 conditional code.
11870 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11872 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11873 code.
11874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11875 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11876 conditional code.
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11878 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11879 code unconditional.
11880 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11881 conditional code.
11882 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11883 unconditional.
11884 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11885 conditional code.
11886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11887 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11888 unconditional.
11889 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11890 conditional code.
11891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11892 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11893 code unconditional.
11894 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11895 conditional code.
11896 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11897 unconditional.
11898 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11899 conditional code.
11900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11901 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11902 code unconditional.
11903 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11904 conditional code.
11905 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11906 unconditional.
11907 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11908 conditional code.
11909
842a39cd
AS
119102012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11911
11912 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11913 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11914 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11915 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11916 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11917 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11918 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11919 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11920 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11921 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11922 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11923 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11924 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11925 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11926 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11927 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11928 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11929 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11930 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11931 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11932 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11933 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11934 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11935
84b3fd84
FW
119362012-07-25 Florian Weimer <fweimer@redhat.com>
11937
11938 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11939 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11940 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11941 Introduce __libc_secure_getenv.
0c7936d5
FW
11942 * stdlib/Versions (2.17): Add secure_getenv
11943 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11944 * stdlib/secure-getenv.c: Rename __secure_getenv to
11945 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11946 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11947 * stdlib/tst-secure-getenv.c: New.
11948 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11949 * manual/startup.texi (Environment Access): Document
11950 secure_getenv.
84b3fd84
FW
11951 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11952 __libc_secure_getenv.
11953 * inet/ruserpass.c (ruserpass): Likewise.
11954 * malloc/mtrace.c (mtrace): Likewise.
11955 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11956 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11957 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11958 * sysdeps/posix/tempname.c: Likewise. Evaluate
11959 HAVE_SECURE_GETENV.
11960 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11961 __secure_getenv to __libc_secure_getenv.
84b3fd84 11962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11964 Likewise.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11966 Likewise.
11967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11969 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11970 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11974
56e49b71
JM
119752012-07-25 Joseph Myers <joseph@codesourcery.com>
11976
11977 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11978 (struct La_i86_retval): Likewise.
11979 (struct La_x86_64_regs): Likewise.
11980 (struct La_x86_64_retval): Likewise.
11981 (struct La_x32_regs): Likewise.
11982 (struct La_x32_retval): Likewise.
11983 (struct La_ppc32_regs): Likewise.
11984 (struct La_ppc32_retval): Likewise.
11985 (struct La_ppc64_regs): Likewise.
11986 (struct La_ppc64_retval): Likewise.
11987 (struct La_sh_regs): Likewise.
11988 (struct La_sh_retval): Likewise.
11989 (struct La_s390_32_regs): Likewise.
11990 (struct La_s390_32_retval): Likewise.
11991 (struct La_s390_64_regs): Likewise.
11992 (struct La_s390_64_retval): Likewise.
11993 (struct La_sparc32_regs): Likewise.
11994 (struct La_sparc32_retval): Likewise.
11995 (struct La_sparc64_regs): Likewise.
11996 (struct La_sparc64_retval): Likewise.
11997 (struct audit_ifaces): Remove architecture-specific pltenter and
11998 pltexit members.
11999 * sysdeps/i386/ldsodefs.h: New file.
12000 * sysdeps/powerpc/ldsodefs.h: Likewise.
12001 * sysdeps/s390/ldsodefs.h: Likewise.
12002 * sysdeps/sh/ldsodefs.h: Likewise.
12003 * sysdeps/sparc/ldsodefs.h: Likewise.
12004 * sysdeps/x86_64/ldsodefs.h: Likewise.
12005
354691b7
MP
120062012-07-25 Marek Polacek <polacek@redhat.com>
12007
12008 [BZ #6808]
12009 * math/libm-test.inc (yn_test): Add another test.
12010 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
12011 to ERANGE when the result is +-Inf.
12012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12013 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
12014 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
12015 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
12016
bf9e2071
JM
120172012-07-24 Joseph Myers <joseph@codesourcery.com>
12018
12019 * conform/data/time.h-data (NULL): Use macro-constant. Require
12020 equal to 0.
12021 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
12022 clock_t.
12023 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
12024
57633811
TS
120252012-07-23 Thomas Schwinge <thomas@codesourcery.com>
12026
12027 * configure.in <sysdeps resolving>: Correct printing
12028 Implies_before.
12029 * configure: Regenerate.
12030
c23c33b0
TS
120312012-07-22 Thomas Schwinge <thomas@codesourcery.com>
12032
12033 * math/w_ilogb.c: Include <limits.h>.
12034 * math/w_ilogbl.c: Likewise.
12035
b5982523
JM
120362012-07-20 Joseph Myers <joseph@codesourcery.com>
12037
12038 * manual/lang.texi (__va_copy): Document primarily as ISO C99
12039 va_copy. Document allowing for unavailable va_copy only as
12040 pre-C99 compatibility.
12041 * manual/string.texi (Copying and Concatenation): Use va_copy
12042 instead of __va_copy in concat example.
12043
ac4ea442
PT
120442012-07-20 Pino Toscano <toscano.pino@tiscali.it>
12045
12046 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
12047 (__sendto): Use create_address_port. Initialize APORT and deallocate
12048 it if not null.
12049
f98eafbd
PT
12050 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
12051 with O_NOLINK passed to __file_name_lookup.
12052
898c7aab
PT
12053 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
12054 with O_NOLINK passed to __file_name_lookup.
12055
0ced335a
PT
12056 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
12057 negative N or less than NGIDS.
12058
b3404dbd
PT
12059 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
12060 type to string_t. Set ERANGE as errno and return it if NAME is not big
12061 enough. Use memcpy instead of strncpy.
12062
0f48659e
JM
120632012-07-20 Joseph Myers <joseph@codesourcery.com>
12064
12065 * elf/Makefile (check-data): Remove.
12066 (localplt.data): New vpath directive.
12067 ($(objpfx)check-localplt.out): Use localplt.data from vpath
12068 instead of $(check-data).
12069 * scripts/data/localplt-generic.data: Move to ...
12070 * sysdeps/generic/localplt.data: ... here.
12071 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
12072 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
12073 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
12074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12075 ... here.
12076 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
12077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
12078 ... here.
12079 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
12080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
12081 ... here.
12082 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
12083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12084 ... here.
12085 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
12086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
12087 ... here.
12088 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
12089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
12090 ... here.
12091
d37cbdaa
AZ
120922012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12093
12094 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
12095 PPC32 and PPC64 files.
12096 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
12097 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
12098
46f85fc2
AK
120992012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12100
12101 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
12102 __makecontext_ret to ...
12103 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
12104 ... here and call exit if uc_link is NULL. New file.
12105 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
12106 __makecontext_ret.S.
12107 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
12108 __makecontext_ret to ...
12109 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
12110 ... here and call exit if uc_link is NULL. New file.
12111 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
12112 __makecontext_ret.S.
12113
08f43f9b
AK
121142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12115
12116 * elf/elf.h (R_390_IRELATIVE): New definition.
12117 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
12118 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
12119 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
12120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12121 (elf_machine_lazy_rel): Likewise.
12122 * sysdeps/s390/dl-irel.h: New file.
12123 * sysdeps/s390/s390-64/memcpy.S: New asm code.
12124 * sysdeps/s390/s390-64/memset.S: New asm code.
12125 * sysdeps/s390/s390-64/memcmp.S: New asm code.
12126 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
12127 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
12128 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
12129 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
12130 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
12131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
12132 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
12133 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
12134 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
12135 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
12136 * sysdeps/s390/s390-32/memcpy.S: New asm code.
12137 * sysdeps/s390/s390-32/memset.S: New asm code.
12138 * sysdeps/s390/s390-32/memcmp.S: New asm code.
12139
3b05db33
MP
121402012-07-17 Marek Polacek <polacek@redhat.com>
12141
12142 [BZ #14349]
12143 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
12144 * sysdeps/s390/s390-64/configure.in: Likewise.
12145 * sysdeps/sparc/configure.in: Likewise.
12146 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
12147 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
12148 * sysdeps/i386/configure.in: Likewise.
12149 * sysdeps/x86_64/configure.in: Likewise.
12150 * sysdeps/sh/configure.in: Likewise.
12151 * sysdeps/s390/s390-32/configure: Regenerated.
12152 * sysdeps/s390/s390-64/configure: Likewise.
12153 * sysdeps/x86_64/configure: Likewise.
12154 * sysdeps/sh/configure: Likewise.
12155 * sysdeps/powerpc/powerpc64/configure: Likewise.
12156 * sysdeps/powerpc/powerpc32/configure: Likewise.
12157 * sysdeps/sparc/configure: Likwise.
12158 * sysdeps/i386/configure: Likewise.
12159
a66877c6
MP
12160 * elf/dl-open.c: Comment fixes.
12161
cfc82fd8
JM
121622012-07-17 Joseph Myers <joseph@codesourcery.com>
12163
bd29910a
JM
12164 * Makefile [CXX] (check-data): Remove.
12165 [CXX] (c++-types.data): New vpath directive.
12166 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
12167 vpath. Do not allow for C++ type data being missing.
12168 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
12169 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
12170 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
12171 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
12172 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
12173 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
12174 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
12175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12176 ... here.
12177 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
12178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
12179 ... here.
12180 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
12181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
12182 ... here.
12183 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
12184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12185 ... here.
12186 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12188 ... here.
12189 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12191 ... here.
12192 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12194 ... here.
12195 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12197
cfc82fd8
JM
12198 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12199 definitions to architecture-specific files.
12200 (TLS_IE): Likewise.
12201 (TLS_LD): Likewise.
12202 (TLS_GD): Likewise.
12203 * sysdeps/i386/tls-macros.h: New file.
12204 * sysdeps/powerpc/tls-macros.h: Likewise.
12205 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12206 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12207 * sysdeps/sh/tls-macros.h: Likewise.
12208 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12209 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12210 * sysdeps/x86_64/tls-macros.h: Likewise.
12211
f7db3170
TS
122122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12213
07cbfc23
TS
12214 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12215 zero value for regular exit case.
12216
f7db3170
TS
12217 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12218 (__start_context): Preserve zero value for regular exit case.
12219
dc97c227
TS
122202012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12221 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12222
12223 * manual/setjmp.texi (setcontext): Clarify normal process
12224 termination when uc_link is the null pointer.
12225 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12226 exit call.
12227
d0cd7d02
AS
122282012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12229
12230 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12231 preprocessor. Test for each exception mask separately.
12232
dd318934
AJ
122332012-07-16 Andreas Jaeger <aj@suse.de>
12234
12235 * po/ru.po: Update from translation team.
12236
8048311a
JM
122372012-07-15 Joseph Myers <joseph@codesourcery.com>
12238
12239 * conform/data/string.h-data (NULL): Use macro-constant. Require
12240 equal to 0.
12241 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12242 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12243 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12244 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12245 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12246
b637d46e
AJ
122472012-07-13 Andreas Jaeger <aj@suse.de>
12248
12249 * po/fr.po: Update from translation team.
12250
541428fe
MP
122512012-07-12 Marek Polacek <polacek@redhat.com>
12252
12253 [BZ #14173]
12254 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12255 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12256 loop condition.
12257
ec332e94
JM
122582012-07-12 Joseph Myers <joseph@codesourcery.com>
12259
12260 [BZ #13717]
12261 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12262 Change to 2.4.1 where previously 2.4.0.
12263 * sysdeps/unix/sysv/linux/configure: Regenerated.
12264 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12265 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12266 version.
12267 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12268 (__ASSUME_AT_CLKTCK): Remove.
12269 (__ASSUME_AT_PAGESIZE): Likewise.
12270 (__ASSUME_AT_XID): Likewise.
12271 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12272 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12273 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12274 unconditionally.
12275 (HAVE_AUX_PAGESIZE): Likewise.
12276 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12277 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12278 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12279
7b6e99be
JB
122802012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12281
12282 [BZ #14307]
12283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12284 the temporary buffer used to invoke __gethostbyname2_r,
12285 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12286 host_data / struct gaih_addrtuple.
12287 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12288 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12289 header file nss/nsswitch.h.
12290 * nss/nsswitch.h (global scope): Add definition of implementation
12291 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12292 resolv/nss_dns/dns-host.c).
12293
608404eb
AJ
122942012-07-11 Andreas Jaeger <aj@suse.de>
12295
12296 * po/fr.po: Update from translation team.
12297
71220aca
AJ
12298 * po/sv.po: Update from translation team
12299 * po/fr.po: Another update from translation team.
12300
28cfe843
AZ
123012012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12302
12303 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12304 for subnormals or multiply small sinh result by itself.
12305 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12307
6b90f981
DM
123082012-07-11 David S. Miller <davem@davemloft.net>
12309
12310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12311
c6825772
AS
123122012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12313
12314 [BZ #14347]
12315 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12316 (INTERNAL_MARK): Shift it here.
12317
7b8e0d49
MP
123182012-07-10 Marek Polacek <polacek@redhat.com>
12319
12320 [BZ #14151]
12321 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12322 libc_cv_asm_global_directive with .globl.
12323 * configure: Regenerated.
12324 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12325 with .globl.
12326 * sysdeps/i386/configure: Regenerated.
12327 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12328 with .globl.
12329 * sysdeps/x86_64/configure: Regenerated.
12330 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12331 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12332 * elf/tst-unique2mod2.c: Likewise.
12333 * elf/tst-unique2mod1.c: Likewise.
12334 * elf/tst-unique1mod2.c: Likewise.
12335 * elf/tst-unique1mod1.c: Likewise.
12336 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12337 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12339 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12340 * sysdeps/mach/sysdep.h: Likewise.
12341 * sysdeps/i386/sysdep.h: Likewise.
12342 * sysdeps/i386/i386-mcount.S: Likewise.
12343 * sysdeps/x86_64/_mcount.S: Likewise.
12344 * sysdeps/x86_64/sysdep.h: Likewise.
12345 * sysdeps/sh/_mcount.S: Likewise.
12346 * sysdeps/sh/sysdep.h: Likewise.
12347 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12348 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12349 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12350 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12351 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12352 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12353 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12354 * locale/localeinfo.h: Likewise.
12355 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12356 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12357
6c55cda3
RM
123582012-07-09 Roland McGrath <roland@hack.frob.com>
12359
12360 [BZ #14336]
12361 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12362 system".
12363 * manual/message.texi (The Uniforum approach): Likewise.
12364 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12365 (glibc iconv Implementation): Likewise.
12366
638a572e
JM
123672012-07-09 Joseph Myers <joseph@codesourcery.com>
12368
12369 [BZ #14337]
12370 * math/s_clog.c (__clog): Avoid scaling a value down where that
12371 could result in underflow.
12372 * math/s_clog10.c (__clog10): Likewise.
12373 * math/s_clog10f.c (__clog10f): Likewise.
12374 * math/s_clog10l.c (__clog10l): Likewise.
12375 * math/s_clogf.c (__clogf): Likewise.
12376 * math/s_clogl.c (__clogl): Likewise.
12377 * math/libm-test.inc (clog_test): Add more tests.
12378 (clog10_test): Likewise.
12379 * sysdeps/i386/fpu/libm-test-ulps: Update.
12380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12381
261f4859
AS
123822012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12383
0abaf3e4
AS
12384 [BZ #14283]
12385 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12386 by 7 not 8 to examine high bit of fractional part.
12387
261f4859
AS
12388 [BZ #14042]
12389 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12390 for call to __mcount_internal.
12391 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12392 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12393 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12394
f17ac40d
JM
123952012-07-06 Joseph Myers <joseph@codesourcery.com>
12396
9ad63c23
JM
12397 [BZ #14154]
12398 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12399 approximation for values within 0x1p-13f of an odd multiple of
12400 pi/4.
12401 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12402 exception. Add more tests.
12403 * sysdeps/i386/fpu/libm-test-ulps: Update.
12404
f17ac40d
JM
12405 [BZ #6778]
12406 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12407 inputs and return -1 for them. Do not check for +Inf in case not
12408 reachable for +Inf.
12409 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12410 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12411 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12412 and return -1 for them. Do not check for +Inf in case not
12413 reachable for +Inf.
12414 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12415 define.
12416 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12417 and return -1 for them. Do not check for +Inf in case not
12418 reachable for +Inf.
12419 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12420 spurious underflow.
12421 * sysdeps/i386/fpu/libm-test-ulps: Update.
12422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12423
fb21f89b
MF
124242012-07-06 Mike Frysinger <vapier@gentoo.org>
12425
12426 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12427
cdfe2c5e
JM
124282012-07-05 Joseph Myers <joseph@codesourcery.com>
12429
12430 [BZ #14157]
12431 [BZ #14331]
12432 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12433 could result in spurious underflow. Scale down values above
12434 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12435 * math/s_csqrtf.c (__csqrtf): Likewise.
12436 * math/s_csqrtl.c (__csqrtl): Likewise.
12437 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12438 spurious underflow.
12439 * sysdeps/i386/fpu/libm-test-ulps: Update.
12440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12441
70d35b67
AS
124422012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12443
704bc459
AS
12444 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12445 xopen-msg.sed.
12446 * catgets/xopen-msg.awk: New file.
12447 * catgets/xopen-msg.sed: Removed.
12448
70d35b67
AS
12449 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12450 po2text.sed.
12451 * intl/po2test.awk: New file.
12452 * intl/po2test.sed: Removed.
12453
ca61cf32
JM
124542012-07-04 Joseph Myers <joseph@codesourcery.com>
12455
12456 [BZ #14328]
12457 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12458 or multiply small sinh result by itself.
12459 * math/s_ctanf.c (__ctanf): Likewise.
12460 * math/s_ctanh.c (__ctanh): Likewise.
12461 * math/s_ctanhf.c (__ctanhf): Likewise.
12462 * math/s_ctanhl.c (__ctanhl): Likewise.
12463 * math/s_ctanl.c (__ctanl): Likewise.
12464 * math/libm-test.inc (ctan_test_tonearest): New function.
12465 (ctan_test_towardzero): Likewise.
12466 (ctan_test_downward): Likewise.
12467 (ctan_test_upward): Likewise.
12468 (ctanh_test_tonearest): Likewise.
12469 (ctanh_test_towardzero): Likewise.
12470 (ctanh_test_downward): Likewise.
12471 (ctanh_test_upward): Likewise.
12472 (main): Call these new functions.
12473 * sysdeps/i386/fpu/libm-test-ulps: Update.
12474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12475
ca48a46a
MF
124762012-07-03 Mike Frysinger <vapier@gentoo.org>
12477
12478 * .gitignore: Delete /ports entry.
12479
9d63d37d
AJ
124802012-07-03 Andreas Jaeger <aj@suse.de>
12481
12482 * po/bg.po: Update from translation team.
12483 * po/cs.po: Likewise.
12484 * po/de.po: Likewise.
12485 * po/hr.po: Likewise.
12486 * po/nl.pl: Likewise.
12487 * po/pl.po: Likewise.
12488 * po/vi.po: Likewise.
12489
370ca3d2
JM
124902012-07-03 Joseph Myers <joseph@codesourcery.com>
12491
95f5a9a8
JM
12492 * Makeconfig [!+link] (+link-before-libc): New variable.
12493 [!+link] (+link-after-libc): Likewise.
12494 [!+link] (+link-tests): Likewise.
12495 [!+link] (+link): Define in terms of $(+link-before-libc) and
12496 $(+link-after-libc).
12497 [!+link-static] (+link-static-before-libc): New variable.
12498 [!+link-static] (+link-static-after-libc): Likewise.
12499 [!+link-static] (+link-static-tests): Likewise.
12500 [!+link-static] (+link-static): Define in terms of
12501 $(+link-static-before-libc) and $(+link-static-after-libc).
12502 [build-shared] (link-libc-before-gnulib): New variable.
12503 [build-shared] (link-libc-tests): Likewise.
12504 [build-shared] (link-libc): Define in terms of
12505 $(link-libc-before-gnulib).
12506 [!build-shared] (link-libc-tests): New variable.
12507 (link-libc-static-tests): New variable.
12508 [!gnulib] (gnulib-arch): New variable.
12509 [!gnulib] (gnulib-tests): Likewise.
12510 [!gnulib] (static-gnulib-arch): Likewise.
12511 [!gnulib] (static-gnulib-tests): Likewise.
12512 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12513 Define with "=" instead of ":=".
12514 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12515 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12516 * Rules (binaries-all-notests): New variable.
12517 (binaries-all-tests): Likewise.
12518 (binaries-static-notests): Likewise.
12519 (binaries-static-tests): Likewise.
12520 (binaries-all): Define using $(binaries-all-notests) and
12521 $(binaries-all-tests).
12522 (binaries-static): Define using $(binaries-static-notests) and
12523 $(binaries-static-tests).
12524 (binaries-shared-tests): New variable.
12525 (binaries-shared-notests): Likewise.
12526 (binaries-shared): Remove variable.
12527 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12528 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12529 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12530 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12531 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12532 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12533 * elf/Makefile (sln-modules): New variable.
12534 (extra-objs): Add $(sln-modules:=.o).
12535 (ldconfig-modules): Add static-stubs.
12536 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12537 * elf/static-stubs.c: New file.
12538
7a845b2c
JM
12539 [BZ #14283]
12540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12541 by 7 not 8 to examine high bit of fractional part. Use volatile
12542 variables when splitting into final array of floats if
12543 __FLT_EVAL_METHOD__ != 0.
12544 * math/libm-test.inc (cos_test): Add another test.
12545 (sin_test): Likewise.
12546 * sysdeps/i386/fpu/libm-test-ulps: Update.
12547
e2283f38
JM
12548 [BZ #14273]
12549 * math/libm-test.inc (cosh_test): Add more tests.
12550
370ca3d2
JM
12551 * version.h (RELEASE): Set to "development".
12552 (VERSION): Set to "2.16.90".
12553
ee9247c3
CD
125542012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12555
12556 * NEWS: Update copyright. Remove last-updated date.
12557 Mention math library bug fixes and timezone data changes.
12558 * README: Mention GNU/Hurd, x32, and HPPA support status.
12559
4648c381
TS
125602012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12561
12562 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12563
aac78a43
AJ
125642012-06-27 Andreas Jaeger <aj@suse.de>
12565
12566 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12567
ed3dbfad
AJ
125682012-06-25 Andreas Jaeger <aj@suse.de>
12569
12570 * sysdeps/s390/fpu/libm-test-ulps: Update.
12571
4d0ee855
AS
125722012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12573 Thomas Schwinge <thomas@codesourcery.com>
12574
12575 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12576 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12577 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12578 fanotify_mark.
12579
af1bce34
TS
125802012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12581
a9fa33ba
TS
12582 * sysdeps/mach/start.c: Remove file.
12583 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12584 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12585 * sysdeps/sh/init-first.c: Likewise.
12586
58f902b8
TS
12587 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12588 registers for frame unwinding purposes, add CFI directives.
12589 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12590 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12591 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12592 Likewise.
12593
1518f58b
TS
12594 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12595 __fortify_fail returning.
12596 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12597
db9b5059
TS
12598 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12599 sysdeps/sh/____longjmp_chk.S.
12600 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12601 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12602 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12603 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12604
967705fe
TS
12605 * sysdeps/sh/abort-instr.h: New file.
12606 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12607 process in case exit returns.
12608
a9def8c4
TS
12609 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12610 initialize the GOT register before use.
12611
2a649725
TS
12612 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12613 calculation of ARGC > 4.
12614
af1bce34
TS
12615 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12616 meaningful names to some local labels.
12617
d230f50a
KK
126182012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12619 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12620
12621 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12622 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12623 (__arch_compare_and_exchange_val_16_acq): Likewise.
12624 (__arch_compare_and_exchange_val_32_acq): Likewise.
12625 (atomic_exchange_and_add): Fix gUSA sequence.
12626 (atomic_add): Likewise.
12627 (atomic_add_negative): Likewise.
12628 (atomic_add_zero): Likewise.
12629 (atomic_bit_test_set): Likewise.
12630
0479b305
AS
126312012-06-22 Andreas Schwab <schwab@redhat.com>
12632
12633 [BZ #13579]
12634 * include/link.h (struct link_map): Add l_free_initfini.
12635 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12636 l_initfini.
12637 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12638 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12639 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12640 set.
12641
0e3933b9
CD
126422012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12643
12644 * configure.in: Use AC_LANG_SOURCE.
12645 * configure: Regenerate.
12646
4248b1b1
RM
126472012-06-22 Roland McGrath <roland@hack.frob.com>
12648
12649 * configure.in (libc_cv_localstatedir): New substituted variable.
12650 * configure: Regenerated.
12651 * config.make.in (localstatedir): New variable, substituted from
12652 libc_cv_localstatedir.
12653 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12654 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12655 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12656 * sysdeps/gnu/configure: Regenerated.
12657
006dd861
JL
126582012-06-21 Jeff Law <law@redhat.com>
12659
12660 [BZ #14277]
12661 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12662 free. Simplify list management for _LIBC case.
12663
79662d42
JM
126642012-06-21 Joseph Myers <joseph@codesourcery.com>
12665
b7abb4bf
JM
12666 [BZ #14273]
12667 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12668 Clear sign bit of 64-bit integer value before comparing against
12669 overflow value.
12670
79662d42
JM
12671 * sysdeps/mach/configure: Regenerated.
12672
1f150908
L
126732012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12674
12675 [BZ #14278]
12676 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12677
28363bbf
JL
126782012-06-21 Jeff Law <law@redhat.com>
12679
12680 [BZ #13882]
12681 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12682 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12683 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12684 * elf/dl-open.c (dl_open_worker): Likewise.
12685
09615db4
CD
126862012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12687
12688 * scripts/list-sources.sh: Scan PORTS for translations.
12689 * po/libc.pot: Regenerated.
12690
2174c6dd
AJ
126912012-06-21 Andreas Jaeger <aj@suse.de>
12692
12693 [BZ #12194]
12694 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12695 warning.
12696 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12697 * bits/byteswap-16.h (__bswap_16): Likewise.
12698 * bits/byteswap.h (__bswap_constant_16): Likewise.
12699
3ee947b1
L
127002012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12701
12702 [BZ #14117]
a2f34833
L
12703 * sysdeps/i386/fpu_control.h: Removed.
12704 * sysdeps/x86_64/fpu_control.h: Moved to ...
12705 * sysdeps/x86/fpu_control.h: Here.
12706
3ee947b1
L
12707 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12708 (_FPU_SETCW): Likewise.
12709
ed1825f8
L
127102012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12711
25f1282a
L
12712 [BZ #14117]
12713 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12714 * sysdeps/x86/fpu/bits/mathinline.h: This.
12715 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12716
ed1825f8
L
12717 [BZ #14050]
12718 [BZ #14117]
12719 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12720 functions if __x86_64__ is defined.
12721
36d54b74
CLT
127222012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12723
12724 * string/endian.h: Add !__ASSEMBLER__ condition for including
12725 conversion interfaces.
12726
10285c21
JM
127272012-06-15 Joseph Myers <joseph@codesourcery.com>
12728
12729 [BZ #14241]
12730 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12731 of ABS(x) in calculating zero to negative powers other than odd
12732 integers.
12733 * math/libm-test.inc (pow_test): Add more tests.
12734
06c5abbd
AJ
127352012-06-15 Andreas Jaeger <aj@suse.de>
12736
12737 * manual/contrib.texi (Contributors): Update entry of Liubov
12738 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12739 Machado Filho.
12740
a3aeac40
CH
127412012-06-15 Cyril Hrubis <metan@ucw.cz>
12742
12743 * string/string.h: Add __wur to GNU version of strerror_r.
12744
49bdf4c1
L
127452012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 [BZ #14229]
12748 * string/Makefile (tests): Add tst-strtok_r.
12749 * string/tst-strtok_r.c: New file.
12750 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12751 RAX_LP/RDX_LP on SAVE_PTR.
12752
834f9b8d
RM
127532012-06-14 Roland McGrath <roland@hack.frob.com>
12754
12755 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12756
75fa1921
JM
127572012-06-14 Joseph Myers <joseph@codesourcery.com>
12758
12759 * libm_test.inc (csqrt_test): Allow more spurious underflow
12760 exceptions.
12761 (j0_test): Likewise.
12762 (j1_test): Likewise.
12763 (y0_test): Likewise.
12764 (y1_test): Likewise.
12765
771766df
CD
127662012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12767
12768 * po/Makefile (libc.pot): Use UTF-8 charset.
12769
ceb9e56b
PP
127702012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12771
12772 [BZ #14210]
12773 Suppress sign-conversion warning from FD_SET.
12774 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12775 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12776 not unsigned long int.
12777 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12778
ddb28975
L
127792012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12780
12781 [BZ #14050]
12782 [BZ #14117]
12783 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12784 __extern_always_inline instead of __extern_inline.
12785 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12786 (__signbit): Likewise.
12787 (__signbitl): Support C++ namespace.
12788 (lrintf): New inline function.
12789 (lrint): Likewise.
12790 (llrintf): Likewise.
12791 (llrint): Likewise.
12792 (fmaxf): Likewise.
12793 (fmax): Likewise.
12794 (fminf): Likewise.
12795 (fmin): Likewise.
12796 (rint): Likewise.
12797 (rintf): Likewise.
12798 (ceil): Likewise.
12799 (ceilf): Likewise.
12800 (floor): Likewise.
12801 (floorf): Likewise.
12802 (nearbyint): Likewise.
12803 (nearbyintf): Likewise.
12804
d7b4fb26
TS
128052012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12806
12807 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12808 non-default versions.
12809
eb55f5c2
RM
128102012-06-11 Roland McGrath <roland@hack.frob.com>
12811
12812 [BZ #14218]
12813 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12814
366af02c
TS
128152012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12816
99ff6e5c
TS
12817 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12818 (FE_UPWARD, FE_DOWNWARD): Don't define.
12819 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12820 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12821
366af02c
TS
12822 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12823 reading it.
12824 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12825 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12826
793ea851
KK
128272012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12828
12829 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12830 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12831 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12832 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12833
a728a38f
L
128342012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12835
12836 [BZ #14117]
c08010c7
L
12837 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12838 * sysdeps/i386/fpu/Implies: New file.
12839 * sysdeps/x86_64/fpu/Implies: Likewise.
12840 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12841 * sysdeps/x86/fpu/bits/fenv.h: This.
12842
a728a38f
L
12843 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12844 __SSE_MATH__.
12845
6e230d11
SP
128462012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12847
12848 [BZ #14134]
12849 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12850 character 0xffff that matches the last element of the
12851 conversion table.
12852
1b671feb
AZ
128532012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12854
12855 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12856 fmodl commit.
12857
6043738b
AZ
128582012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12859
12860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12861 values higher than 25.6283.
12862
34ae0b32
AZ
128632012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12864
12865 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12866 subnormal exponent extraction and add some __builtin_expect.
12867 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12868 Fix for subnormal mantissa calculation.
12869
1214ec8f
MF
128702012-06-04 Mike Frysinger <vapier@gentoo.org>
12871
12872 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12873 cpu2 is -1 and errno is not ENOSYS.
12874
f3d1f93c
L
128752012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12876
12877 [BZ #14117]
0e4a3cd7
L
12878 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12879 * sysdeps/x86/bits/string.h: This.
12880 * sysdeps/x86_64/bits/string.h: Removed.
12881
6704c645
L
12882 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12883 if not compiling for x86-64, but compiling for >= i486.
12884
48495318
L
12885 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12886 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12887
14adcbfc
L
12888 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12889 New macro from Linux kernel 3.4.0.
12890 (FP_XSTATE_MAGIC2): Likewise.
12891 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12892 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12893 (struct _fpx_sw_bytes): New struct.
12894 (struct _xsave_hdr): Likewise.
12895 (struct _ymmh_state): Likewise.
12896 (struct _xstate): Likewise.
12897
68e408ab
L
12898 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12899 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12900 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12901 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12902 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12903 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12904
f3d1f93c
L
12905 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12906 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12907 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12908 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12909 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12910 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12911
d9dc34cd
TMQMF
129122012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12913
12914 [BZ #13743]
12915 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12916 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12917 (sysdep_headers): Include sys/platform/ppc.h.
12918 * sysdeps/powerpc/test-gettimebase.c: Test for
12919 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12920 * manual/Makefile (appendices): Include platform.texi.
12921 * manual/contrib.texi (Contributors): Update @node pointers.
12922 * manual/maint.texi (Maintenance): Likewise.
12923 (Platform): New node.
12924 * manual/platform.texi: New file. Document the new features.
12925
4af3879c
SP
129262012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12927 Jakub Jelinek <jakub@redhat.com>
12928
12929 [BZ #14188]
12930 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12931 where __builtin_expect is unavailable.
12932
2fd6ff13
DM
129332012-06-03 David S. Miller <davem@davemloft.net>
12934
12935 * stdlib/longlong.h: Updated from GCC.
12936
173f7220
AS
129372012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12938
12939 [BZ #14042]
12940 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12941 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12942 __mcount_internal.
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12944 (GLIBC_2.16): Likewise.
12945
f34a1c6f
L
129462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12947
12948 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12949
88a4576f
JM
129502012-06-01 Joseph Myers <joseph@codesourcery.com>
12951
ea32bcdd
JM
12952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12953 (default-abi): New variable.
12954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12955 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12956 variable.
12957 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12958 Likewise.
12959 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12960 Likewise.
12961 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12962 Likewise.
12963
88a4576f
JM
12964 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12965 definition. Document in comment.
12966
402fe938
DM
129672012-06-01 David S. Miller <davem@davemloft.net>
12968
12969 * stdlib/longlong.h: Updated from GCC.
12970
3553723f
L
129712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12972
12973 [BZ #14117]
3bd872c4
L
12974 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12975 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12976 sys/debugreg.h sys/io.h here.
12977 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12978 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12979 sys/io.h.
12980 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12981 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12982 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12983 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12984 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12985 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12986
3553723f
L
12987 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12988 Define only if __x86_64__ is defined.
12989
4842e4fe
JM
129902012-06-01 Joseph Myers <joseph@codesourcery.com>
12991
c5bfe3d5
JM
12992 [BZ #14048]
12993 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12994 Use int64_t for variable i.
12995 * math/libm-test.inc (fmod_test): Add more tests.
12996
4842e4fe
JM
12997 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12998 z computation is not scheduled after fetestexcept.
12999 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
13000 Use math_force_eval instead of asm to ensure calculation scheduled
13001 before exception test.
13002 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
13003 Ensure a1 + u.d computation is not scheduled after fetestexcept.
13004
efb73488
AJ
130052012-06-01 Aurelien Jarno <aurelien@aurel32.net>
13006
13007 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
13008 computation is not scheduled after fetestexcept.
13009
29bcce7c
L
130102012-06-01 H.J. Lu <hongjiu.lu@intel.com>
13011
13012 [BZ #14117]
13013 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
13014 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
13015
73a68f94
AZ
130162012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13017
13018 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
13019 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
13020
67b6df78
L
130212012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13022
edf2933a 13023 [BZ #14117]
ebc64a18
L
13024 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
13025 <bits/wordsize.h>.
13026 (__WCHAR_MIN): Support __WORDSIZE == 64.
13027 (__WCHAR_MAX): Likewise.
13028
edf2933a
L
13029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
13030 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
13031
57c6cf40
L
13032 [BZ #14183]
13033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
13034 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
13035
67b6df78 13036 [BZ #14117]
8eb6281e
L
13037 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
13038 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
13039
aac639f4
L
13040 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
13041 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
13042
67b6df78
L
13043 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
13044 Defined to 1 if __x86_64__ isn't defined.
13045 (_STAT_VER_LINUX_OLD): New.
13046 (st_atime): Remove duplicate.
13047 (st_mtime): Likewise.
13048 (st_ctime): Likewise.
13049
1c2cfe81
DM
130502012-05-31 David S. Miller <davem@davemloft.net>
13051
13052 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
13053 entries.
13054
5be8418c
AS
130552012-06-01 Andreas Schwab <schwab@linux-m68k.org>
13056
e7725326
AS
13057 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
13058 gen-libm-test.pl.
13059
5be8418c
AS
13060 [BZ #14132]
13061 * elf/dl-reloc.c: Include <_itoa.h>.
13062 (_dl_reloc_bad_type): Remove use of INTUSE.
13063 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
13064 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
13065 * stdio-common/psiginfo.c (psiginfo): Likewise.
13066 * stdio-common/psignal.c (psignal): Likewise.
13067 * string/strsignal.c (strsignal): Likewise.
13068 * include/signal.h (_sys_siglist): Declare hidden proto.
13069 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
13070 INTVARDEF with libc_hidden_data_def.
13071 * stdio-common/itoa-udigits.c: Likewise.
13072 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
13073 (_itoa_lower_digits_internal): Remove declaration.
13074 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
13075 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
13076 (_sys_sigabbrev_internal): Remove aliases.
13077 (_sys_siglist): Define hidden alias.
13078
507352f1
MT
130792012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
13080
13081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13082 bits/sysctl.h.
13083
42bbb1c3
L
130842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
13085
13086 [BZ #14117]
6bd784b6
L
13087 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
13088 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
13089
8bca20f0
L
13090 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13091 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
13092 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
13093 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
13094 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
13095 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
13096
f9e890a9
L
13097 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
13098 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
13099 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
13100
471101a1
L
13101 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
13102 with __addr.
13103 (insw): Likewise.
13104 (insl): Likewise.
13105 (outsb): Likewise.
13106 (outsw): Likewise.
13107 (outsl): Likewise.
13108
6451c862
L
13109 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
13110 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
13111 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
13112
a254b8c9
L
13113 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
13114 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
13115 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
13116 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
13117 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13118 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
13119
b8dfdd92
L
13120 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
13121 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
13122
578cd270
L
13123 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
13124 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
13125
de662f5f
L
13126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
13127 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
13128 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
13129
25653439
L
13130 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
13131 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
13132 to ...
13133 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
13134
6bad24a0
L
13135 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
13136 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
13137 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
13138
42bbb1c3
L
13139 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
13140 for x86-64.
13141 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
13142
2d10d547
JM
131432012-05-31 Joseph Myers <joseph@codesourcery.com>
13144
13145 * math/math.h (M_El): Use two more decimal places.
13146 (M_LOG2El): Likewise.
13147 (M_LOG10El): Likewise.
13148 (M_LN2l): Likewise.
13149 (M_LN10l): Likewise.
13150 (M_PIl): Likewise.
13151 (M_PI_2l): Likewise.
13152 (M_PI_4l): Likewise.
13153 (M_1_PIl): Likewise.
13154 (M_2_PIl): Likewise.
13155 (M_2_SQRTPIl): Likewise.
13156 (M_SQRT2l): Likewise.
13157 (M_SQRT1_2l): Likewise.
13158
f230c29b
DM
131592012-05-31 David S. Miller <davem@davemloft.net>
13160
13161 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
13162 values between float registers.
13163 * sysdeps/sparc/sparc64/memset.S: Likewise.
13164 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
13165
fed806c3
MF
131662012-05-31 Mike Frysinger <vapier@gentoo.org>
13167
13168 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
13169 -D_FORTIFY_SOURCE=1.
13170 (CPPFLAGS-tst-longjmp_chk.c): Define.
13171 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
13172 (CPPFLAGS-tst-longjmp_chk2.c): Define.
13173 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
13174 CFLAGS-tst-wchar-h.c.
13175
30917259
MP
131762012-05-31 Marek Polacek <polacek@redhat.com>
13177
13178 [BZ #14132]
13179 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
13180 __endmntent_internal): Remove declaration.
13181 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
13182 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
13183 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
13184
1c58d5dc
DM
131852012-05-30 David S. Miller <davem@davemloft.net>
13186
13187 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13188 (___Q_simulate_exceptions): Use real FP ops rather than writing
13189 into the %fsr.
13190 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13191 Likewise.
13192
7dc00e0d
L
131932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13194
13195 [BZ #14117]
0bd53985
L
13196 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13197 * sysdeps/x86/bits/xtitypes.h: This.
13198
3a257e66
L
13199 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13200 * sysdeps/x86/bits/wordsize.h: This.
13201
62f62904
L
13202 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13203 * sysdeps/x86/bits/huge_vall.h: This.
13204
404fe9d9
L
13205 * sysdeps/i386/bits/select.h: Removed.
13206 * sysdeps/x86_64/bits/select.h: Renamed to ...
13207 * sysdeps/x86/bits/select.h: This.
13208
d48d0446
L
13209 * sysdeps/i386/bits/setjmp.h: Removed.
13210 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13211 * sysdeps/x86/bits/setjmp.h: This.
13212
7dc00e0d
L
13213 * sysdeps/i386/bits/mathdef.h: Removed.
13214 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13215 * sysdeps/x86/bits/mathdef.h: This.
13216
03277f8f
AS
132172012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13218
13219 [BZ #14132]
13220 * include/sys/socket.h (__connect_internal)
13221 (__libc_sa_len_internal): Remove declaration.
13222 (__connect, __libc_sa_len): Declare hidden_proto.
13223 (SA_LEN): Remove use of INTUSE.
13224 * socket/connect.c: Add libc_hidden_def.
13225 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13226 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13227 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13228 alias.
13229 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13230 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13231 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13232 of adding _internal alias.
13233
13764867
L
132342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13235
13236 [BZ #14117]
6bd97696
L
13237 * sysdeps/i386/bits/link.h: Removed.
13238 * sysdeps/i386/bits/linkmap.h: Likewise.
13239 * sysdeps/x86_64/bits/link.h: Renamed to ...
13240 * sysdeps/x86/bits/link.h: This.
13241 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13242 * sysdeps/x86/bits/linkmap.h: This.
13243
f726f0bb
L
13244 * sysdeps/i386/bits/endian.h: Removed.
13245 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13246 * sysdeps/x86/bits/endian.h: This.
13247
13764867
L
13248 * sysdeps/i386/bits/byteswap.h: Removed.
13249 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13250 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13251 * sysdeps/x86/bits/byteswap.h: This.
13252 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13253 * sysdeps/x86/bits/byteswap-16.h: This.
13254 * sysdeps/i386/Implies: Add x86.
13255 * sysdeps/x86_64/Implies: Likewise.
13256
ae251b0b
DM
132572012-05-30 David S. Miller <davem@davemloft.net>
13258
13259 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13260 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13261 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13262 (FP_TRAPPING_EXCEPTIONS): Define.
13263 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13264 (FP_TRAPPING_EXCEPTIONS): Define.
13265 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13266 subnormals only when inexact has been signalled or underflow
13267 exceptions are enabled.
13268 (_FP_PACK_CANONICAL): Likewise.
13269
d5c90867
L
132702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13271
13272 [BZ #14183]
13273 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13274 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13275
63f1549e
RH
132762012-05-30 Richard Henderson <rth@twiddle.net>
13277
8d8f2279
RH
13278 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13279 with #ifndef NOT_IN_libc.
13280
63f1549e
RH
13281 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13282 marked to avoid plt entry.
13283
0ab0291b
L
132842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13285
13286 [BZ #14112]
13287 * Makeconfig (default-abi): New macro.
13288 (abi-includes): Likewise.
13289 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13290 $(abi-$(default-abi)-lib-soname) for soname if defined.
13291 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13292 abi-variants.
13293 * Makefile (installed-stubs): Likewise.
13294 * include/stubs-biarch.h: Removed.
13295 * scripts/lib-names.awk: Only handle one library at a time.
13296 * scripts/soversions.awk: Remove WORDSIZE support.
13297 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13298 entries.
13299 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13300 Removed.
13301 (syscall-list-default-condition): Likewise.
13302 (syscall-list-default-condition): Likewise.
13303 (syscall-list-includes): Likewise.
13304 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13305 syscall-list-* with abi-*. Handle undefined abi-variants.
13306 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13307 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13308 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13311 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13312 Removed.
13313 (syscall-list-32-options): Likewise.
13314 (syscall-list-32-condition): Likewise.
13315 (syscall-list-64-options): Likewise.
13316 (syscall-list-64-condition): Likewise.
13317 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13318 macro.
13319 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13320 Renamed to ...
13321 (abi-*): This.
13322 (abi-64-ld-soname): New macro.
13323 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13325 Renamed to ...
13326 (abi-*): This.
13327 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13328 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13329
4da0431d
JM
133302012-05-30 Joseph Myers <joseph@codesourcery.com>
13331
3a85279c
JM
13332 * sysdeps/unix/sysv/linux/kernel-features.h
13333 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13334 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13335 include <kernel-features.h>.
13336 [!__NR_ftruncate64]: Remove conditional code.
13337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13338 [__NR_ftruncate64]: Make code unconditional.
13339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13340 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13341 include <kernel-features.h>.
13342 [!__NR_ftruncate64]: Remove conditional code.
13343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13344 [__NR_ftruncate64]: Make code unconditional.
13345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13347 include <kernel-features.h>.
13348 [!__NR_ftruncate64]: Remove conditional code.
13349 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13350 [__NR_ftruncate64]: Make code unconditional.
13351 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13353 include <kernel-features.h>.
13354 [!__NR_ftruncate64]: Remove conditional code.
13355 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13356 [__NR_ftruncate64]: Make code unconditional.
13357 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13358
4da0431d
JM
13359 * configure.in (libc_cv_fpie): Weaken to a compile test using
13360 LIBC_TRY_CC_OPTION.
13361 * configure: Regenerated.
13362
11ef492c
AK
133632012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13364
13365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13369 Refreshed.
13370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13376 Refreshed.
13377
d66ef399
DM
133782012-05-27 David S. Miller <davem@davemloft.net>
13379
13380 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13381 (___Q_zero): New.
13382 (__Q_simulate_exceptions): Return void. Change to simulate
13383 exceptions by writing into the %fsr.
13384 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13385 (__Qp_handle_exceptions): Likewise.
13386 (numbers): Delete.
13387 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13388 __Qp_handle_exceptions.
13389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13390 __Qp_handle_exceptions.
13391 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13392 as unused and give dummy FP_RND_NEAREST initializer.
13393 (FP_INHIBIT_RESULTS): Define.
13394 (___Q_simulate_exceptions): Update declaration.
13395 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13396 formatting.
13397 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13398 as unused and give dummy FP_RND_NEAREST initializer.
13399 (__Qp_handle_exceptions): Update declaration.
13400 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13401 formatting.
13402
04fb54b5
TS
134032012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13404
13405 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13406 the temporary FPU control word.
13407 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13408 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13409 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13410 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13411 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13412 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13413 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13414 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13415 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13416 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13417 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13418
3f99608f
KK
134192012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13420
13421 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13422 fields.
13423
65a4de4e
CLT
134242012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13425
13426 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13427 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13428 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13429 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13430 Likewise.
13431 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13432 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13433 Likewise.
13434
15749d40
UD
134352012-05-27 Ulrich Drepper <drepper@gmail.com>
13436
13437 * po/h.po: Update from translation team.
13438
25dbcb27
AS
134392012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13440
3d3f8e55
AS
13441 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13442
25dbcb27
AS
13443 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13444 handling of denormals.
13445 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13446 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13447 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13448 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13449 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13450 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13452 Likewise.
13453
7ad47a80 134542012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13455
13456 [BZ #14152]
13457 * math/libm-test.inc (fma_test): Don't always expect underflow
13458 exception.
13459
9c6ea9fa
SP
134602012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13461
13462 [BZ #12416]
13463 * elf/tst-execstack.c: Include stackinfo.h.
13464 (do_test): Adjust test case to ensure that pthread_getattr_np
13465 behaviour remains the same after marking stack executable.
13466
a8239222
JM
134672012-05-25 Joseph Myers <joseph@codesourcery.com>
13468
13469 * sysdeps/unix/sysv/linux/kernel-features.h
13470 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13471 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13472 kernel-features.h.
13473 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13474 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13475 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13476 kernel-features.h.
13477 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13478 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13479
918b5606
L
134802012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13481
13482 * configure.in: Define the default includes to being none.
13483 * configure: Regenerated.
13484
3a097cc7
RM
134852012-05-25 Roland McGrath <roland@hack.frob.com>
13486
8422c9a5
RM
13487 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13488 * sysdeps/x86_64/setjmp.S: Likewise.
13489 * sysdeps/i386/bsd-setjmp.S: Likewise.
13490 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13491 * sysdeps/i386/setjmp.S: Likewise.
13492 * sysdeps/i386/__longjmp.S: Likewise.
13493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13494 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13495
3a097cc7
RM
13496 * include/stap-probe.h: New file.
13497 * configure.in: Handle --enable-systemtap.
13498 * configure: Regenerated.
13499 * config.h.in (USE_STAP_PROBE): New #undef.
13500 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13501 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13502 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13503
21708942
JM
135042012-05-25 Joseph Myers <joseph@codesourcery.com>
13505
13506 [BZ #13717]
13507 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13508 to 2.4.0 where earlier.
13509 * sysdeps/unix/sysv/linux/configure: Regenerated.
13510 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13511 <kernel-features.h>.
13512 [__ASSUME_32BITUIDS]: Make code unconditional.
13513 [!__ASSUME_32BITUIDS]: Remove conditional code.
13514 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13515 <kernel-features.h>.
13516 [__ASSUME_32BITUIDS]: Make code unconditional.
13517 [!__ASSUME_32BITUIDS]: Remove conditional code.
13518 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13519 [__ASSUME_32BITUIDS]: Make code unconditional.
13520 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13521 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13522 <kernel-features.h>.
13523 [__ASSUME_32BITUIDS]: Make code unconditional.
13524 [!__ASSUME_32BITUIDS]: Remove conditional code.
13525 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13526 <kernel-features.h>.
13527 [__ASSUME_32BITUIDS]: Make code unconditional.
13528 [!__ASSUME_32BITUIDS]: Remove conditional code.
13529 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13530 <kernel-features.h>.
13531 [__ASSUME_32BITUIDS]: Make code unconditional.
13532 [!__ASSUME_32BITUIDS]: Remove conditional code.
13533 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13534 <kernel-features.h>.
13535 [__ASSUME_32BITUIDS]: Make code unconditional.
13536 [!__ASSUME_32BITUIDS]: Remove conditional code.
13537 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13538 <kernel-features.h>.
13539 [__ASSUME_32BITUIDS]: Make code unconditional.
13540 [!__ASSUME_32BITUIDS]: Remove conditional code.
13541 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13542 <kernel-features.h>.
13543 [__ASSUME_32BITUIDS]: Make code unconditional.
13544 [!__ASSUME_32BITUIDS]: Remove conditional code.
13545 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13546 <kernel-features.h>.
13547 [__ASSUME_32BITUIDS]: Make code unconditional.
13548 [!__ASSUME_32BITUIDS]: Remove conditional code.
13549 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13550 <kernel-features.h>.
13551 [__ASSUME_32BITUIDS]: Make code unconditional.
13552 [!__ASSUME_32BITUIDS]: Remove conditional code.
13553 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13554 <kernel-features.h>.
13555 [__ASSUME_32BITUIDS]: Make code unconditional.
13556 [!__ASSUME_32BITUIDS]: Remove conditional code.
13557 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13558 <kernel-features.h>.
13559 [__ASSUME_32BITUIDS]: Make code unconditional.
13560 [!__ASSUME_32BITUIDS]: Remove conditional code.
13561 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13562 <kernel-features.h>.
13563 [__NR_setresgid] (__setresgid): Do not declare.
13564 [__ASSUME_32BITUIDS]: Make code unconditional.
13565 [!__ASSUME_32BITUIDS]: Remove conditional code.
13566 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13567 <kernel-features.h>.
13568 [__NR_setresuid] (__setresuid): Do not declare.
13569 [__ASSUME_32BITUIDS]: Make code unconditional.
13570 [!__ASSUME_32BITUIDS]: Remove conditional code.
13571 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13572 <kernel-features.h>.
13573 [__ASSUME_32BITUIDS]: Make code unconditional.
13574 [!__ASSUME_32BITUIDS]: Remove conditional code.
13575 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13576 <kernel-features.h>.
13577 [__ASSUME_32BITUIDS]: Make code unconditional.
13578 [!__ASSUME_32BITUIDS]: Remove conditional code.
13579 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13580 <kernel-features.h>.
13581 [__ASSUME_32BITUIDS]: Make code unconditional.
13582 [!__ASSUME_32BITUIDS]: Remove conditional code.
13583 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13584 <kernel-features.h>.
13585 [__ASSUME_32BITUIDS]: Make code unconditional.
13586 [!__ASSUME_32BITUIDS]: Remove conditional code.
13587 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13588 <kernel-features.h>.
13589 [__ASSUME_32BITUIDS]: Make code unconditional.
13590 [!__ASSUME_32BITUIDS]: Remove conditional code.
13591 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13592 <kernel-features.h>.
13593 [__ASSUME_32BITUIDS]: Make code unconditional.
13594 [!__ASSUME_32BITUIDS]: Remove conditional code.
13595 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13596 <kernel-features.h>.
13597 [__ASSUME_32BITUIDS]: Make code unconditional.
13598 [!__ASSUME_32BITUIDS]: Remove conditional code.
13599 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13600 <kernel-features.h>.
13601 [__ASSUME_32BITUIDS]: Make code unconditional.
13602 [!__ASSUME_32BITUIDS]: Remove conditional code.
13603 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13604 <kernel-features.h>.
13605 [__ASSUME_32BITUIDS]: Make code unconditional.
13606 [!__ASSUME_32BITUIDS]: Remove conditional code.
13607 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13608 <kernel-features.h>.
13609 [__ASSUME_32BITUIDS]: Make code unconditional.
13610 [!__ASSUME_32BITUIDS]: Remove conditional code.
13611 * sysdeps/unix/sysv/linux/kernel-features.h
13612 (__ASSUME_SETRESUID_SYSCALL): Remove.
13613 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13614 (__ASSUME_32BITUIDS): Likewise.
13615 (__ASSUME_LDT_WORKS): Likewise.
13616 (__ASSUME_O_DIRECTORY): Likewise.
13617 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13618 architecture but not kernel version.
13619 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13620 (__ASSUME_MMAP2_SYSCALL): Likewise.
13621 (__ASSUME_STAT64_SYSCALL): Likewise.
13622 (__ASSUME_IPC64): Likewise.
13623 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13624 <kernel-features.h>.
13625 [__ASSUME_32BITUIDS]: Make code unconditional.
13626 [!__ASSUME_32BITUIDS]: Remove conditional code.
13627 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13628 <kernel-features.h>.
13629 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13630 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13631 132096]: Remove conditional code.
13632 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13633 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13634 <kernel-features.h>.
13635 [__ASSUME_32BITUIDS]: Make code unconditional.
13636 [!__ASSUME_32BITUIDS]: Remove conditional code.
13637 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13638 <kernel-features.h>.
13639 [__ASSUME_32BITUIDS]: Make code unconditional.
13640 [!__ASSUME_32BITUIDS]: Remove conditional code.
13641 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13642 <kernel-features.h>.
13643 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13644 unconditional.
13645 (__setresgid): Do not declare.
13646 [__ASSUME_32BITUIDS]: Make code unconditional.
13647 [!__ASSUME_32BITUIDS]: Remove conditional code.
13648 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13649 <kernel-features.h>.
13650 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13651 unconditional.
13652 (__setresuid): Do not declare.
13653 [__ASSUME_32BITUIDS]: Make code unconditional.
13654 [!__ASSUME_32BITUIDS]: Remove conditional code.
13655 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13656 <kernel-features.h>.
13657 [__ASSUME_32BITUIDS]: Make code unconditional.
13658 [!__ASSUME_32BITUIDS]: Remove conditional code.
13659 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13660 <kernel-features.h>.
13661 [__ASSUME_32BITUIDS]: Make code unconditional.
13662 [!__ASSUME_32BITUIDS]: Remove conditional code.
13663
a386f1cc
RH
136642012-05-25 Richard Henderson <rth@twiddle.net>
13665
13666 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13667 dl_hwcap to ifunc resolver.
13668 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13669 elf_ifunc_invoke.
13670 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13671 dl_hwcap to ifunc resolver.
13672 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13673
b6550497
JM
136742012-05-24 Joseph Myers <joseph@codesourcery.com>
13675
13676 [BZ #14153]
13677 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13678 for |x| <= 2**-26, not 2**-57.
13679 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13680 exception.
13681
b0bc23a1
JL
136822012-05-24 Jeff Law <law@redhat.com>
13683
13684 * stdio-common/Makefile (tests): Add bug25.
13685 * stdio-common/bug25.c: New test.
13686
347c92e9
L
136872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13688
13689 [BZ #13576]
13690 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13691 multiple of MALLOC_ALIGNMENT in size.
13692 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13693
6bcc8b3f
JM
136942012-05-24 Joseph Myers <joseph@codesourcery.com>
13695
13696 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13697 Require >= 256.
13698 (FILENAME_MAX): Use macro-int-constant.
13699 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13700 (_IOFBF): Use macro-int-constant.
13701 (_IOLBF): Likewise.
13702 (_IONBF): Likewise.
13703 (SEEK_CUR): Likewise.
13704 (SEEK_END): Likewise.
13705 (SEEK_SET): Likewise.
13706 (TMP_MAX): Likewise.
13707 (EOF): Use macro-int-constant. Require < 0.
13708 (NULL): Use macro-constant. Require == 0.
13709 (stdin): Require type to be FILE *.
13710 (stdout): Likewise.
13711 (stderr): Likewise.
13712 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13713 macro-int-constant.
13714 (EXIT_SUCCESS): Likewise.
13715 (NULL): Use macro-constant. Require == 0.
13716 (RAND_MAX): Use macro-int-constant.
13717 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13718 [C99-based standards] (strtof): Require function.
13719 [C99-based standards] (strtold): Likewise.
13720 [C99-based standards] (strtoll): Likewise.
13721 [C99-based standards] (strtoull): Likewise.
13722 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13723 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13724 [ISO || ISO99 || ISO11] (math.h): Likewise.
13725 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13726 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13728
d18ea0c5
AS
137292012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13730
13731 [BZ #14132]
56d25bb8
AS
13732 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13733 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13734 * intl/dgettext.c (DCGETTEXT): Likewise.
13735 * intl/gettext.c (DCGETTEXT): Likewise.
13736 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13737 * posix/regex_internal.h (gettext): Likewise.
13738 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13739 Remove declaration.
13740 * include/argz.h (__argz_count_internal)
13741 (__argz_stringify_internal): Remove declaration.
13742 (__argz_count, __argz_stringify): Declare hidden proto.
13743 * intl/dcgettext.c: Remove use of INTDEF.
13744 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13745 * string/argz-stringify.c: Likewise.
13746 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13747 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13748 Declare hidden proto.
d18ea0c5
AS
13749 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13750 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13751 Declare hidden proto.
13752 * include/stdio.h (__asprintf_internal): Don't declare.
13753 (__asprintf): Don't define as macro. Declare hidden proto.
13754 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13755 (__fsetlocking): Declare hidden proto.
13756 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13757 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13758 hidden proto.
13759 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13760 (_IO_setlinebuf): Remove use of INTUSE.
13761 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13762 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13763 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13764 Remove declaration.
13765 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13766 (_IO_do_flush): Remove use of INTUSE.
13767 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13768 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13769 (_IO_adjust_column, _IO_least_wmarker)
13770 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13771 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13772 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13773 (_IO_default_doallocate, _IO_wdefault_doallocate)
13774 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13775 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13776 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13777 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13778 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13779 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13780 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13781 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13782 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13783 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13784 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13785 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13786 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13787 proto.
13788 (_IO_flush_all_internal, _IO_adjust_column_internal)
13789 (_IO_default_uflow_internal, _IO_default_finish_internal)
13790 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13791 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13792 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13793 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13794 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13795 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13796 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13797 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13798 (_IO_file_close_internal, _IO_file_close_it_internal)
13799 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13800 (_IO_file_init_internal, _IO_file_attach_internal)
13801 (_IO_file_fopen_internal, _IO_file_read_internal)
13802 (_IO_file_sync_internal, _IO_file_seek_internal)
13803 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13804 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13805 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13806 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13807 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13808 (_IO_list_all_internal, _IO_link_in_internal)
13809 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13810 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13811 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13812 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13813 (_IO_do_write_internal, _IO_padn_internal)
13814 (_IO_getline_info_internal, _IO_getline_internal)
13815 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13816 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13817 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13818 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13819 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13820 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13821 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13822 with libc_hidden_ver, remove use of INTUSE.
13823 * libio/genops.c: Likewise.
13824 * libio/freopen.c: Likewise.
13825 * libio/freopen64.c: Likewise.
13826 * libio/iofclose.c: Likewise.
13827 * libio/iofdopen.c: Likewise.
13828 * libio/iofflush.c: Likewise.
13829 * libio/iofflush_u.c: Likewise.
13830 * libio/iofgets.c: Likewise.
13831 * libio/iofgets_u.c: Likewise.
13832 * libio/iofopen.c: Likewise.
13833 * libio/iofopncook.c: Likewise.
13834 * libio/iofread.c: Likewise.
13835 * libio/iofread_u.c: Likewise.
13836 * libio/ioftell.c: Likewise.
13837 * libio/iofwrite.c: Likewise.
13838 * libio/iogetline.c: Likewise.
13839 * libio/iogets.c: Likewise.
13840 * libio/iogetwline.c: Likewise.
13841 * libio/iopadn.c: Likewise.
13842 * libio/iopopen.c: Likewise.
13843 * libio/ioseekoff.c: Likewise.
13844 * libio/ioseekpos.c: Likewise.
13845 * libio/iosetbuffer.c: Likewise.
13846 * libio/iosetvbuf.c: Likewise.
13847 * libio/ioungetc.c: Likewise.
13848 * libio/ioungetwc.c: Likewise.
13849 * libio/iovdprintf.c: Likewise.
13850 * libio/iovsprintf.c: Likewise.
13851 * libio/iovsscanf.c: Likewise.
13852 * libio/memstream.c: Likewise.
13853 * libio/obprintf.c: Likewise.
13854 * libio/oldfileops.c: Likewise.
13855 * libio/oldiofclose.c: Likewise.
13856 * libio/oldiofdopen.c: Likewise.
13857 * libio/oldiofopen.c: Likewise.
13858 * libio/oldiopopen.c: Likewise.
13859 * libio/oldstdfiles.c: Likewise.
13860 * libio/putc.c: Likewise.
13861 * libio/setbuf.c: Likewise.
13862 * libio/setlinebuf.c: Likewise.
13863 * libio/stdfiles.c: Likewise.
13864 * libio/strops.c: Likewise.
13865 * libio/vasprintf.c: Likewise.
13866 * libio/vscanf.c: Likewise.
13867 * libio/vsnprintf.c: Likewise.
13868 * libio/vswprintf.c: Likewise.
13869 * libio/wfiledoalloc.c: Likewise.
13870 * libio/wfileops.c: Likewise.
13871 * libio/wgenops.c: Likewise.
13872 * libio/wmemstream.c: Likewise.
13873 * libio/wstrops.c: Likewise.
13874 * libio/__fpurge.c: Likewise.
13875 * libio/__fsetlocking.c: Likewise.
13876 * assert/assert.c: Likewise.
13877 * debug/fgets_chk.c: Likewise.
13878 * debug/fgets_u_chk.c: Likewise.
13879 * debug/fread_chk.c: Likewise.
13880 * debug/fread_u_chk.c: Likewise.
13881 * debug/gets_chk.c: Likewise.
13882 * debug/obprintf_chk.c: Likewise.
13883 * debug/vasprintf_chk.c: Likewise.
13884 * debug/vdprintf_chk.c: Likewise.
13885 * debug/vsnprintf_chk.c: Likewise.
13886 * debug/vsprintf_chk.c: Likewise.
13887 * malloc/mtrace.c: Likewise.
13888 * misc/error.c: Likewise.
13889 * misc/syslog.c: Likewise.
13890 * stdio-common/asprintf.c: Likewise.
13891 * stdio-common/fxprintf.c: Likewise.
13892 * stdio-common/getw.c: Likewise.
13893 * stdio-common/isoc99_fscanf.c: Likewise.
13894 * stdio-common/isoc99_scanf.c: Likewise.
13895 * stdio-common/isoc99_vfscanf.c: Likewise.
13896 * stdio-common/isoc99_vscanf.c: Likewise.
13897 * stdio-common/isoc99_vsscanf.c: Likewise.
13898 * stdio-common/printf-prs.c: Likewise.
13899 * stdio-common/printf_fp.c: Likewise.
13900 * stdio-common/printf_fphex.c: Likewise.
13901 * stdio-common/printf_size.c: Likewise.
13902 * stdio-common/putw.c: Likewise.
13903 * stdio-common/scanf.c: Likewise.
13904 * stdio-common/sprintf.c: Likewise.
13905 * stdio-common/tmpfile.c: Likewise.
13906 * stdio-common/vfprintf.c: Likewise.
13907 * stdio-common/vfscanf.c: Likewise.
13908 * stdlib/strfmon_l.c: Likewise.
13909 * sunrpc/openchild.c: Likewise.
13910 * sunrpc/xdr_stdio.c: Likewise.
13911 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13912 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13913
d6c33fda
RM
139142012-05-24 Roland McGrath <roland@hack.frob.com>
13915
c1487492
RM
13916 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13917
13918 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13919 in the third column, to generate for the shared library an IFUNC
13920 that uses _dl_vdso_vsym.
13921 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13922 * Makeconfig (object-suffixes-noshared): New variable.
13923
13924 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13925 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13926 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13927 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13928
d6c33fda
RM
13929 [BZ #14132]
13930 * include/sys/time.h (__gettimeofday): Remove macro.
13931 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13932 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13933 Remove INTDEF.
13934 (__gettimeofday): Add libc_hidden_def.
13935 (gettimeofday): Add libc_hidden_weak.
13936 * sysdeps/mach/gettimeofday.c: Likewise.
13937 * sysdeps/posix/gettimeofday.c: Likewise.
13938 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13939 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13941 (__gettimeofday_internal): Remove strong_alias.
13942 (__gettimeofday): Add libc_hidden_def.
13943 (gettimeofday): Add libc_hidden_weak.
13944 * sysdeps/unix/syscalls.list (gettimeofday):
13945 Remove __gettimeofday_internal alias.
13946
b5a2bbe6
L
139472012-05-24 Daniel Jacobowitz <drow@false.org>
13948 H.J. Lu <hongjiu.lu@intel.com>
13949
13950 [BZ #12495]
13951 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13952 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13953 (largebin_index_32_big): New.
13954 (largebin_index): Use it for 16-byte alignment.
13955 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13956 correction with front_misalign.
13957
cfba4fda
L
139582012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13959
7f907421
L
13960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13962 Likewise.
13963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13964 Likewise.
13965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13966 Likewise.
13967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13968 Likewise.
13969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13970 Likewise.
13971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13972 Likewise.
13973 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13974 Likewise.
13975 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13976 Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13978 Likewise.
13979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13980 Likewise.
13981 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13982 Likewise.
13983 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13984 Likewise.
13985
cfba4fda
L
13986 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13987 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13988
80bad0cc
JM
139892012-05-24 Joseph Myers <joseph@codesourcery.com>
13990
7a25eb06
JM
13991 [BZ #10846]
13992 [BZ #14036]
13993 * math/libm-test.inc (exp_test): Add test from bug 14036.
13994 (pow_test): Add test from bug 10846.
13995
795405f9
JM
13996 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13997 and other flags.
13998 (special_function): Do not include flags in test name.
13999 (parse_args): Likewise.
14000 * sysdeps/i386/fpu/libm-test-ulps: Update.
14001 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14002 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14003 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14005
80bad0cc
JM
14006 * math/gen-libm-test.pl (%beautify): Add entries for underflow
14007 exceptions.
14008 * math/libm-test.inc ("Philosophy"): Update comment about
14009 exception testing.
14010 (UNDERFLOW_EXCEPTION): New macro.
14011 (UNDERFLOW_EXCEPTION_OK): Likewise.
14012 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
14013 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
14014 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
14015 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
14016 (INVALID_EXCEPTION_OK): Update value.
14017 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14018 (OVERFLOW_EXCEPTION_OK): Likewise.
14019 (IGNORE_ZERO_INF_SIGN): Likewise.
14020 (test_exceptions): Handle underflow exceptions.
14021 (acos_test): Update for underflow exception expectations.
14022 (cexp_test): Likewise.
14023 (clog_test): Likewise.
14024 (clog10_test): Likewise.
14025 (csqrt_test): Likewise.
14026 (ctan_test): Likewise.
14027 (ctanh_test): Likewise.
14028 (exp_test): Likewise.
14029 (exp10_test): Likewise.
14030 (exp2_test): Likewise.
14031 (expm1_test): Likewise.
14032 (fma_test): Likewise.
14033 (j0_test): Likewise.
14034 (jn_test): Likewise.
14035 (nexttoward_test): Likewise.
14036 (pow_test): Likewise.
14037 (scalbn_test): Likewise.
14038 (scalbln_test): Likewise.
14039 (tan_test): Likewise.
14040 (y1_test): Likewise.
14041 * sysdeps/i386/fpu/libm-test-ulps: Update.
14042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14043
9e0e3d0b
DM
140442012-05-23 David S. Miller <davem@davemloft.net>
14045
14046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
14047 (__libc_sigaction): Remove unused local variables.
14048
ccd0a08f
L
140492012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14050
14051 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
14052
62bdf9a6
PE
140532012-05-23 Paul Eggert <eggert@cs.ucla.edu>
14054
f8591f80
PE
14055 mktime: avoid signed integer overflow
14056 * time/mktime.c (__mktime_internal): Do not mishandle the case
14057 where diff == INT_MIN.
14058
94c7d826
PE
14059 mktime: simplify computation of average
14060 * time/mktime.c (ranged_convert): Use new time_t_avg function
14061 instead of rolling our own (probably-slower) code.
14062
ce73d683
PE
14063 mktime: do not assume signed right shift propagates sign bit
14064 * time/mktime.c (isdst_differ): New static function.
14065 (__mktime_internal): No need to normalize tm_isdst now.
14066 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
14067 tm_isdst values.
14068
72a22e59
PE
14069 mktime: merge another wrapv change from gnulib
14070 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
14071 from some compilers.
14072
68605433
PE
14073 mktime: remove incorrect attempt at unusual arithmetics
14074 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
14075 The code didn't really work on such machines anyway.
14076 (TYPE_MINIMUM): Assume two's complement.
14077 (twos_complement_arithmetic): Verify that long_int and time_t
14078 are two's complement (or unsigned, in the latter case).
14079
03cf7fe3
PE
14080 mktime: check signed shifts on long_int and time_t, too
14081 * time/mktime.c (SHR): Check that shifts work as desired
14082 on the types long_int and time_t too, as SHR is used on
14083 such types.
14084
f04dfbc2
PE
14085 mktime: do not assume 'long' is wide enough
14086 * time/mktime.c (verify): Move decl up.
14087 (long_int): New type.
14088 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
14089 to remove assumption in the code that 'long' is wide enough to
14090 store year values. This assumption is not true on x32 and on
14091 some non-glibc platforms.
14092
62bdf9a6
PE
14093 mktime: merge wrapv change from gnulib
14094 * time/mktime.c (WRAPV): New macro.
14095 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
14096 (guess_time_tm, __mktime_internal): Do not assume that signed
14097 integer overflow wraps around; modern compilers generate code
14098 where this assumption is no longer valid.
14099
5e292e4f
L
141002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14101
14102 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14103 Replace "jmp L(pseudo_end)" with "ret".
14104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
14105 Likewise.
14106
8caf8c87
AJ
141072012-05-23 Andreas Jaeger <aj@suse.de>
14108
14109 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
14110 * sysdeps/unix/sysv/linux/poll.c: Remove file.
14111
1a09dc56
AJ
141122012-05-23 Andreas Jaeger <aj@suse.de>
14113 Maximilian Attems <max@stro.at>
14114
14115 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
14116 New macros.
14117
1c87aba0
L
141182012-05-23 H.J. Lu <hongjiu.lu@intel.com>
14119
14120 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
14121 code so that pseudo_end is just ret and the stack pointer is
14122 correct also for static library in error case.
14123
40e45bd5
JM
141242012-05-23 Joseph Myers <joseph@codesourcery.com>
14125
c2670533
JM
14126 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
14127 move to syscalls.list.
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14132
40e45bd5
JM
14133 * manual/install.texi (Running make install): Do not mention Linux
14134 kernel version for which pt_chown is not needed.
14135 (Linux): Do not mention problems with nscd with 2.0 kernels.
14136 * INSTALL: Regenerated.
14137
be08eda5
AJ
141382012-05-23 Andreas Jaeger <aj@suse.de>
14139
14140 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
14141 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
14142 macro.
14143 * sysdeps/unix/sysv/linux/s390/bits/mman.h
14144 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14145 * sysdeps/unix/sysv/linux/sh/bits/mman.h
14146 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14147 * sysdeps/unix/sysv/linux/i386/bits/mman.h
14148 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14149 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
14150 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14151 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
14152 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
14153 * sysdeps/unix/sysv/linux/bits/in.h
14154 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
14155
a6a056bb
RM
141562012-05-22 Roland McGrath <roland@hack.frob.com>
14157
14158 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
14159 (PREPARE_VERSION): Just use assert instead, it will be elided
14160 under [NDEBUG] anyway.
14161
c9009328
L
141622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14163
14164 * sysdeps/unix/sysv/linux/Makefile: Include
14165 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 14166 (sysdep_routines): Remove sysctl.
c9009328
L
14167 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
14168 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
14169 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
14170 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
14171 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
14172
73338355
AJ
141732012-05-22 Andreas Jaeger <aj@suse.de>
14174
14175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
14176 that pseudo_end is just ret and the stack pointer is correct also
14177 for static library in error case.
14178
d44638b0
PP
141792012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
14180
14181 [BZ #14122]
14182 * nss/nsswitch.c (defconfig_entries): New variable.
14183 (__nss_database_lookup): Don't leak defconfig entries.
14184 (nss_parse_service_list): Don't leak on error paths.
14185 (free_database_entries): New function.
14186 (free_defconfig): New function.
14187 (free_mem): Move common code to free_database_entries.
14188
31a39bd8
L
141892012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14190
da0331a8
L
14191 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14192 Add arch_prctl.
14193 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14194
31a39bd8
L
14195 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14196 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14198 New macro.
14199 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14200 (INTERNAL_SYSCALL_TYPES): Likewise.
14201 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14202 (LOAD_REGS_TYPES_[1-6]): Likewise.
14203 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14204 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14205
45470df3
AZ
142062012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14207
14208 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14209 copysignl for GLIBC_2_0.
14210 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14211 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14212 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14213 logbl for GLIBC_2_0.
14214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14215 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14216
98a61bcb
L
142172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14218
a4f6e481
L
14219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14220 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14221
f63d5db6
L
14222 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14223 Use "neg %eax".
14224
98a61bcb
L
14225 * time/mktime.c: Update copyright years.
14226
95770f14
PE
142272012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14228
6226efbd
PE
14229 mktime: merge comment-quoting-style change from gnulib
14230 * time/mktime.c: Quote 'like this' in comments.
14231 The GNU coding standards suggest that we no longer quote `like this',
14232 as "`" and "'" are typically rendered asymmetrically nowadays.
14233 The typical gnulib style is to quote 'like this' when quoting
14234 code, and "like this" when quoting English.
14235
b99e4f78
PE
14236 * time/mktime.c (compile-command): Add "-I.".
14237
643e01e6
PE
14238 mktime: merge mktime-internal.h change from gnulib
14239 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14240
2554247d
PE
14241 mktime: merge time_r change from gnulib
14242 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14243
826dd0ab
PE
14244 mktime: merge DEBUG change from gnulib
14245 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14246 case system <time.h> has a #define.
14247
bd83aabe
PE
14248 mktime: merge <sys/types.h> change from gnulib
14249 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14250 since <time.t> is now guaranteed to define time_t.
14251
95770f14
PE
14252 mktime: merge HAVE_CONFIG_H change from gnulib
14253 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14254
5e1a27a9
L
142552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14256
0e44a77e
L
14257 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14258 Use "neg %eax".
14259
5e1a27a9
L
14260 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14261 __rlim_t cast.
14262 (struct rusage): Use anonymous union to pad each field to
14263 __syscall_slong_t.
14264
46259bec
DM
142652012-05-21 David S. Miller <davem@davemloft.net>
14266
14267 * Makefules (o-iterator): Remove .s cases.
14268 (compile-command.s): Delete.
14269 (COMPILE.s): Delete.
14270 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14271
59f0c22e
JM
142722012-05-21 Joseph Myers <joseph@codesourcery.com>
14273
14274 * configure.in (libc_cv_predef_stack_protector): Only consider
14275 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14276 * configure: Regenerated.
14277
20c07380
L
142782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14279
bbb3154b
L
14280 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14281 New macro. Use R*LP on int and pointer.
14282 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14283 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14284 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14285 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14286
20c07380
L
14287 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14288 [__WORDSIZE_TIME64_COMPAT32] instead of
14289 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14290 (struct utmp): Likewise.
14291 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14292 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14293 Renamed to ...
14294 (__WORDSIZE_TIME64_COMPAT32): This.
14295 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14296 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14297 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14298 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14299 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14300 (__WORDSIZE_TIME64_COMPAT32): New macro.
14301
d8d1017e
AJ
143022012-05-21 Andreas Jaeger <aj@suse.de>
14303
14304 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14305 only if [SHARED]. Add prototype for __wcschr_ia32.
14306
6c7fb145
RM
143072012-05-21 Roland McGrath <roland@hack.frob.com>
14308
14309 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14310 of %rbp unmolested in the jmp_buf while mangling the low bits.
14311 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14312 unmolested high bits of %rbp while demangling the low bits.
14313 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14314
66274218
AJ
143152012-05-21 Andreas Jaeger <aj@suse.de>
14316
07c58f8f
AJ
14317 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14318 * sunrpc/svc_simple.c: Use it for registerrpc.
14319 * sunrpc/xcrypt.c: Use it for passwd2des.
14320
66274218
AJ
14321 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14322
61f65140
L
143232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14324
14325 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14326 Don't define if [__SYSCALL_WORDSIZE != 32].
14327 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14328 New macro.
14329
5fefb436
AJ
143302012-05-21 Bruno Haible <bruno@clisp.org>
14331 Andreas Jaeger <aj@suse.de>
14332
14333 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14334 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14335 inptr and inend for must_buffer_ch.
14336 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14337 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14338 * stdio-common/Makefile (tests): Remove bug15.
14339 (bug15-ENV): Remove macro.
14340 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14341 anymore.
14342
d8e272ab
AJ
143432012-05-19 Andreas Jaeger <aj@suse.de>
14344 Roland McGrath <roland@hack.frob.com>
14345
14346 * manual/contrib.texi: Completely rewritten. It contains now an
14347 alphabetical list of contributors and their contributions.
14348
4a56a162
RH
143492012-05-21 Richard Henderson <rth@twiddle.net>
14350
14351 * misc/getauxval.c (__getauxval): Use unsigned long int.
14352 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14353 (getauxval): Use unsigned long int.
14354
d024d23c
L
143552012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14356
14357 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14358
cbc00a03
RM
143592012-05-21 Roland McGrath <roland@hack.frob.com>
14360
14361 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14362 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14363 __alignof__ (long double).
14364
478143fa
AZ
143652012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14366
14367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14368
c7683a6d
RH
143692012-05-20 Richard Henderson <rth@twiddle.net>
14370
14371 * misc/getauxval.c: New file.
14372 * misc/sys/auxv.h: New file.
14373 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14374 (routines): Add getauxval.
14375 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14376 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14377 * elf/dl-sysdep.c (_dl_auxv): Remove.
14378 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14379 * elf/dl-support.c (_dl_auxv): New variable.
14380 (_dl_aux_init): Initialize it.
14381 * manual/startup.texi (Auxiliary Vector): New node.
14382 * sysdeps/generic/bits/hwcap.h: New file.
14383 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14384 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14385 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14386 * sysdeps/sparc/sysdep.h: ... here. Include it.
14387 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14388 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
14389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14390 Update.
c7683a6d
RH
14391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14394 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14398 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14399
a6f1845d
AZ
144002012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14401
14402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14403
cbcbe830
DM
144042012-05-19 David S. Miller <davem@davemloft.net>
14405
14406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14407
e0b16cc2
JM
144082012-05-19 Joseph Myers <joseph@codesourcery.com>
14409
14410 [BZ #14123]
14411 * math/s_ccosh.c: Include <float.h>
14412 (__ccosh): Avoid internal overflow calculating sinh and cosh
14413 values before multiplying by sin and cos values.
14414 * math/s_ccoshf.c: Likewise.
14415 * math/s_ccoshl.c: Likewise.
14416 * math/s_csin.c: Likewise.
14417 * math/s_csinf.c: Likewise.
14418 * math/s_csinl.c: Likewise.
14419 * math/s_csinh.c: Likewise.
14420 * math/s_csinhf.c: Likewise.
14421 * math/s_csinhl.c: Likewise.
14422 * math/libm-test.inc (ccos_test): Add more tests.
14423 (ccosh_test): Likewise.
14424 (csin_test): Likewise.
14425 (csinh_test): Likewise.
14426 * sysdeps/i386/fpu/libm-test-ulps: Update.
14427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14428
6ad13e08
L
144292012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14430
f66f0ce8
L
14431 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14432 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14433
6ad13e08
L
14434 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14435
b1d072a7
JM
144362012-05-19 Joseph Myers <joseph@codesourcery.com>
14437
14438 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14439 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14440 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14441 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14442 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14443 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14444 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14445 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14446 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14447 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14448 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14449 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14450 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14451 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14452 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14453 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14454 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14455 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14456 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14457 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14458 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14459 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14460 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14461 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14462 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14463 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14464 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14465 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14466 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14467 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14468 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14469
9eae47cb
AJ
144702012-05-18 Andreas Jaeger <aj@suse.de>
14471
14472 * csu/.gitignore: Delete.
14473
bb07f69f
L
144742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14475
14476 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14477 (timex): Use __syscall_slong_t.
14478
e6bdb741
AJ
144792012-05-18 Andreas Jaeger <aj@suse.de>
14480 Carlos O'Donell <carlos_odonell@mentor.com>
14481
14482 * manual/install.texi (Configuring and compiling): Update
14483 description about files modified in the source directory.
d6c33fda 14484 * INSTALL: Regenerated.
e6bdb741 14485
1b74487e
L
144862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14487
14488 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14489 value. Use "or" to set return value to -1.
14490 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14491 negate return value.
14492
a88b64b9
TMQMF
144932012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14494
14495 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14496 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14497 failure if the compiler has Graphite support disabled.
14498 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14499 Likewise.
14500 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14501 CFLAGS-memmove.c): Likewise.
14502 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14503 Likewise.
14504
3707636e
L
145052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14506
610b8622
L
14507 * sysdeps/x86_64/x32/_itoa.h: New file.
14508
7cd195df
L
14509 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14510 getdents system call only if kernel and user dirents have the
14511 same d_ino and d_off.
14512
94b07d20
L
14513 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14514 LLONG_MAX != LONG_MAX.
14515 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14516 (_fitoa_word): Likewise.
14517
18298070
L
14518 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14519 years.
14520 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14521 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14522 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14523
553c7ea4
L
14524 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14525 include <bits/wordsize.h>. Check __x86_64__ instead of
14526 __WORDSIZE.
14527 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14528 if __x86_64__ is defined. Use anonymous union on fpstate.
14529
3707636e
L
14530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14531 anonymous union.
14532
b53ef01a
AS
145332012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14534
37fb1dc0
AS
14535 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14536 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14537 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14538 Refer to _rtld_local_ro instead of _rtld_global_ro.
14539 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14540 Likewise.
14541 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14542 Likewise.
14543 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14544 Likewise.
14545 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14546 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14547 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14548
b53ef01a
AS
14549 * sysdeps/powerpc/powerpc32/dl-machine.c
14550 (__elf_machine_runtime_setup) [PROF]: Don't reference
14551 _dl_prof_resolve.
14552
7a185db2
AJ
145532012-05-18 Andreas Jaeger <aj@suse.de>
14554
14555 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14556 function only available for GCCs before 3.4 since GCC 3.4
14557 introduced a builtin.
14558 (lrint): Likewise.
14559 (llrintf): Likewise.
14560 (llrint): Likewise.
14561 (fmaxf): Likewise.
14562 (fmax): Likewise.
14563 (fminf): Likewise.
14564 (fmin): Likewise.
14565 (rint): Likewise.
14566 (rintf): Likewise.
14567 (nearbyint): Likewise.
14568 (nearbyintf): Likewise.
14569 (ceil): Likewise.
14570 (ceilf): Likewise.
14571 (floor): Likewise.
14572 (floorf): Likewise.
14573
3e5aef87
L
145742012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14575
428bd707
L
14576 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14577 on both fields and cast pointer to __syscall_ulong_t.
14578
3e5aef87
L
14579 * bits/types.h (__fsword_t): New type.
14580 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14581 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14583 (__FSWORD_T_TYPE): Likewise.
14584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14585 (__FSWORD_T_TYPE): Likewise.
14586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14587 (__FSWORD_T_TYPE): Likewise.
14588 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14589 (__FSWORD_T_TYPE): Likewise.
14590 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14591 __SWORD_TYPE with __fsword_t.
14592 (statfs64): Likewise.
14593
1ba7c3dc
DM
145942012-05-17 David S. Miller <davem@davemloft.net>
14595
14596 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14597
59910343
AJ
145982012-05-17 Andreas Jaeger <aj@suse.de>
14599
14600 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14601 warning.
14602
2e4c1e9e
L
146032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14604
14605 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14606
de7f5ce7
AJ
146072012-05-17 Andreas Jaeger <aj@suse.de>
14608
14609 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14610 when it is used.
14611
286abc3d
CM
146122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14613
14614 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14615
477cc68e
L
146162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14617
14618 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14619 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14620
1a0994f5
CD
146212012-05-17 Andreas Jaeger <aj@suse.de>
14622 Carlos O'Donell <carlos_odonell@mentor.com>
14623
14624 [BZ #14059]
14625 * sysdeps/x86_64/multiarch/init-arch.h
14626 (bit_YMM_Usable): Rename to...
14627 (bit_AVX_Usable): ... this.
14628 (bit_FMA4_Usable): New macro.
14629 (bit_XMM_state): New macro.
14630 (bit_YMM_state): New macro.
14631 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14632 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14633 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14634 (CPUID_OSXSAVE): New macro.
14635 (CPUID_AVX): New macro.
14636 (CPUID_FMA4): New macro.
14637 (index_YMM_Usable): Rename to...
14638 (index_AVX_Usable): ... this.
14639 (HAS_AVX): Use HAS_ARCH_FEATURE.
14640 (HAS_FMA4): Likewise.
14641 (HAS_YMM_USABLE): Remove.
14642 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14643 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14644 are present.
14645 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14646 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14647 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14648 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14649 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14650
0af797de
CM
146512012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14652
14653 * math/libm-test.c: Support platforms without multiple rounding modes.
14654 * math/bug-nextafter.c: Support platforms without FP exceptions.
14655 * math/bug-nexttoward.c: Likewise.
14656 * math/test-fenv.c: Likewise.
14657 * math/test-misc.c: Likewise.
14658 * stdlib/bug-getcontext.c: Likewise.
14659
e39745ff
AJ
146602012-05-17 Andreas Jaeger <aj@suse.de>
14661
14662 * manual/examples/search.c (critter_cmp): Change signature to
14663 avoid warnings.
14664 * manual/string.texi (Collation Functions): Likewise.
14665
48970aba
L
146662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14667
14668 * bits/types.h: Fold copyright years.
14669 * bits/typesizes.h: Likewise.
14670 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14671 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14673 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14674 * time/time.h: Likewise.
14675
bedee953
PP
146762012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14677
14678 [BZ #208]
14679 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14680 in instead of returning them. Return void.
14681 (__libc_mallinfo): Accumulate over all arenas.
14682 (__malloc_stats): Adjust for change in int_mallinfo interface.
14683
61653dfb
RM
146842012-05-16 Roland McGrath <roland@hack.frob.com>
14685
30b99d79
RM
14686 [BZ #10375]
14687 * configure.in (NM): Add AC_CHECK_TOOL for it.
14688 (libc_extra_cflags): New substituted variable.
14689 Check for -fstack-protector being used implicitly.
14690 * configure: Regenerated.
14691 * config.make.in (config-extra-cflags): New variable,
14692 gets @libc_extra_cflags@.
14693 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14694
61653dfb
RM
14695 [BZ #10375]
14696 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14697 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14698 * configure: Regenerated.
14699 * config.make.in (CPPUNDEFS): New substituted variable.
14700 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14701 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14702 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14703
661768bb
L
147042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14705
14706 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14707 (mq_attr): Use __syscall_slong_t.
14708
d4261567
L
147092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14710
14711 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14712 Check __x86_64__ instead of __WORDSIZE.
14713 (_STAT_VER_LINUX): Likewise.
14714 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14715 __syscall_ulong_t and __syscall_slong_t.
14716 (stat64): Likewise.
14717
cf3ff365
L
147182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14719
14720 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14721
76cf3e4d
L
147222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14723
14724 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14725
a637753a
L
147262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14727
14728 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14729 __syscall_ulong_t.
14730
d5e05119
L
14731 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14732 include <bits/wordsize.h>. Check __x86_64__ instead of
14733 __WORDSIZE.
14734 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14735 defined.
14736 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14737
f62ee380
L
14738 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14739 include <bits/wordsize.h>. Check __x86_64__ instead of
14740 __WORDSIZE.
14741 (user_regs_struct): Use "__extension__ unsigned long long"
14742 instead of "unsigned long" if __x86_64__ is defined.
14743 (user): Likewise. Pad after pointer field if __ILP32__ is
14744 defined.
14745
4e124ced
JM
147462012-05-16 Joseph Myers <joseph@codesourcery.com>
14747
6a3951a0
JM
14748 * configure.in (makeinfo): Require version 4.5 or later. Allow
14749 versions 5 to 9.
14750 * configure: Regenerated.
14751 * manual/install.texi (texinfo): Increase version requirement to
14752 4.5 or later.
14753 * INSTALL: Regenerated.
14754
4e124ced
JM
14755 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14756
953ca31a
L
147572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14758
14759 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14760
617aca05
L
14761 * sysdeps/x86_64/x32/ffs.c: New file.
14762
5762f7ae
L
14763 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14764 __syscall_ulong_t.
14765 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14766 defined. Use __syscall_ulong_t.
14767 (shminfo): Use __syscall_ulong_t.
14768 (shm_info): Likewise.
14769
a26b6856
L
14770 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14771 __syscall_ulong_t.
14772
cb2b9ef7
L
14773 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14774 <bits/wordsize.h>.
14775 (msgqnum_t): Use __syscall_ulong_t.
14776 (msglen_t): Likewise.
14777 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14778 __syscall_ulong_t.
14779
34683bb0
L
14780 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14781 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14782
84a68786
L
14783 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14784
48baa5f1
L
14785 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14786 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14787
180be88b
L
14788 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14789 __syscall_slong_t.
14790
5e90c8ad
L
14791 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14792 include <bits/wordsize.h>. Check __x86_64__ instead of
14793 __WORDSIZE.
14794
23dfb58b
L
14795 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14796 "unsigned long long int" if __x86_64__ is defined.
14797 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14798
ce5d54b0
L
14799 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14800 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14801 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14802
13dc9eac
L
14803 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14804 <stdint.h>.
14805 (GET_PC): Cast to uintptr_t first.
14806 (GET_FRAME): Likewise.
14807 (GET_STACK): Likewise.
14808
a7895d15
L
14809 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14810 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14811 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14812 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14813 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14814 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14815 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14816 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14817 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14818 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14819 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14820 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14821 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14822 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14823 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14824 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14825 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14826 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14827 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14828 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14829 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14830 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14831 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14832 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14833 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14834 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14835 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14836 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14837 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14838
656416c9
AS
148392012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14840
5bd66283
AS
14841 * Makerules (+depfiles): Also collect depfiles from .oS in
14842 $(extra-objs).
14843 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14844 .oS, $(libnldbl-routines)).
14845
656416c9
AS
14846 * Makerules (native-compile-mkdep-flags): Define.
14847 * sunrpc/Makefile (extra-objs): Add $(addprefix
14848 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14849 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14850 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14851 calling $(make-target-directory).
14852
a46f2169
L
148532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14854
14855 * bits/types.h (__snseconds_t): Removed.
14856 * time/time.h (struct timespec): Replace __snseconds_t with
14857 __syscall_slong_t.
14858 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14859 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14860 Likewise.
14861 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14862 (__SNSECONDS_T_TYPE): Likewise.
14863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14864 (__SNSECONDS_T_TYPE): Likewise.
14865 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14866 (__SNSECONDS_T_TYPE): Likewise.
14867
6af6528b
L
148682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14869
14870 * sysdeps/mach/hurd/bits/typesizes.h
14871 (__SYSCALL_SLONG_TYPE): New macro.
14872 (__SYSCALL_ULONG_TYPE): Likewise.
14873
de986b56
L
148742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14875
14876 * bits/types.h (__syscall_slong_t): New type.
14877 (__syscall_ulong_t): Likewise.
14878
14879 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14880 (__SYSCALL_ULONG_TYPE): Likewise.
14881 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14882 (__SYSCALL_SLONG_TYPE): Likewise.
14883 (__SYSCALL_ULONG_TYPE): Likewise.
14884 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14885 (__SYSCALL_SLONG_TYPE): Likewise.
14886 (__SYSCALL_ULONG_TYPE): Likewise.
14887 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14888 (__SYSCALL_SLONG_TYPE): Likewise.
14889 (__SYSCALL_ULONG_TYPE): Likewise.
14890
85736dc7
L
148912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14892
14893 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14894 Add sigaltstack-offsets.sym.
14895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14896 <sigaltstack-offsets.h>.
14897 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14898 longjmp_msg pointer.
14899 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14900 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14901 signal stack.
14902 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14903
cc03b296
JM
149042012-05-15 Joseph Myers <joseph@codesourcery.com>
14905
a9538892
JM
14906 * elf/stackguard-macros.h: Remove file.
14907 * sysdeps/generic/stackguard-macros.h: New file.
14908 * sysdeps/i386/stackguard-macros.h: Likewise.
14909 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14910 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14911 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14912 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14913 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14914 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14915 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14916 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14917 <elf/stackguard-macros.h>.
14918
cc03b296
JM
14919 [BZ #14109]
14920 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14921 __aligned__ in attribute.
14922 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14923 (gregset_t): Likewise.
14924
93171016
L
149252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14926
14927 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14928 * sysdeps/x86_64/64/Implies-after: Here. New file.
14929 * sysdeps/x86_64/x32/Implies-after: New file.
14930
d86813a0
L
149312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14932
14933 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14934 and access return value for _dl_profile_fixup. Use R10_LP to
14935 load frame size.
14936
2953ec75
L
149372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14938
14939 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14940
3b550e9e
L
149412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14942
14943 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14944 * sysdeps/x86_64/x32/sysdep.h: New file.
14945
eda41706
L
149462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14947
14948 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14949 * sysdeps/x86_64/setjmp.S: Likewise.
14950
9ea01d93
AZ
149512012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14952
14953 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14954 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14955 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14956 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14957 remove unused global constant.
14958
02a91938
CM
149592012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14960
14961 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14962 include of <not-cancel.h>.
14963
6540185f
RM
149642012-05-15 Roland McGrath <roland@hack.frob.com>
14965
14966 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14967
509072a0
AJ
149682012-05-15 Jeff Law <law@redhat.com>
14969 Andreas Jaeger <aj@suse.de>
14970
14971 [BZ #13594]
14972 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14973 out from...
14974 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14975 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14976 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14977 code changing __hst_map_handle.map.
14978
ba75122d
RM
149792012-05-15 Roland McGrath <roland@hack.frob.com>
14980
14981 * configure.in (sysnames): Look for Implies-before and Implies-after
14982 files.
14983 * configure: Regenerated.
14984
890d8bd8
L
149852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14986
14987 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14988 8-byte data alignment with LP_SIZE alignment.
14989
f6ee6623
L
149902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14991
14992 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14993 into R10_LP.
14994
ea2626f6
L
149952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14996
14997 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14998
085f715e
L
149992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15000
15001 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
15002 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
15003 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15004 Likewise.
15005 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15006
be8498fc
L
150072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15008
15009 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
15010 (stackinfo_sub_sp): Likewise.
15011
70bc83b9
L
150122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15013
15014 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
15015 RAX_LP.
15016
9bc0b730
L
150172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15018
15019 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
15020 into R*_LP.
15021
6d2850e7
L
150222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15023
15024 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
15025 sizes into R*_LP.
15026
3cb84561
L
150272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15028
15029 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
15030
54e2ed81
L
150312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15032
15033 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
15034 into R11_LP and load __x86_64_shared_cache_size_half into
15035 R8_LP.
15036
8a17f349
L
150372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
15038
15039 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
15040 R8_LP.
15041
777b1eea
AZ
150422012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15043
15044 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
15045 logb for POWER7.
15046 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
15047 logbf for POWER7.
15048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
15049 logbl for POWER7.
15050 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
15051 powerpc32/power7/fpu/s_logb.c via #include.
15052 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
15053 powerpc32/power7/fpu/s_logbf.c via #include.
15054 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
15055 powerpc32/power7/fpu/s_logbl.c via #include.
15056
d20d4ac2
JM
150572012-05-15 Joseph Myers <joseph@codesourcery.com>
15058
15059 * README.libm: Remove file.
15060
6cdef1ab
L
150612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15062
15063 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
15064 count for x32. Use R*_LP and omit operand-size suffix.
15065
0b254d8f
L
150662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15067
15068 * shlib-versions: Move x86_64-.*-linux.* entries to ...
15069 * sysdeps/x86_64/64/shlib-versions: Here. New file.
15070 * sysdeps/x86_64/x32/shlib-versions: New file.
15071
ceb809dc
RM
150722012-05-14 Roland McGrath <roland@hack.frob.com>
15073
15074 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
15075 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
15076 Use _dl_fatal_printf instead.
15077
37f1abd4
JM
150782012-05-14 Joseph Myers <joseph@codesourcery.com>
15079
15080 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
15081 set if not set by the user. Do not allow for being unset.
15082 * sysdeps/unix/sysv/linux/configure: Regenerated.
15083
11de3a33
L
150842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15085
15086 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
15087 the `q' suffix from lea and replace .quad with ASM_ADDR.
15088
e02f153a
L
150892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15090
15091 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15092 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
15093 instead of $17.
15094 (PTR_DEMANGLE): Likewise.
15095
520ae0fd
L
150962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15097
15098 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
15099 (LP_OP): Likewise.
15100 (ASM_ADDR): Likewise.
15101 (RAX_LP): Likewise.
15102 (RBP_LP): Likewise.
15103 (RBX_LP): Likewise.
15104 (RCX_LP): Likewise.
15105 (RDI_LP): Likewise.
15106 (RSI_LP): Likewise.
15107 (RSP_LP): Likewise.
15108 (R8_LP): Likewise.
15109 (R9_LP): Likewise.
15110 (R10_LP): Likewise.
15111 (R10_LP): Likewise.
15112 (R11_LP): Likewise.
15113 (R12_LP): Likewise.
15114 (R13_LP): Likewise.
15115 (R14_LP): Likewise.
15116 (R15_LP): Likewise.
15117
b985be81
L
151182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15119
15120 * sysdeps/x86_64/x32/dl-machine.h: New file.
15121
6a4888ff
AJ
151222012-05-14 Andreas Jaeger <aj@suse.de>
15123
15124 * manual/Makefile (subdir): Remove export of subdir.
15125 (all): Remove target.
15126 (.PHONY): Remove all from list.
15127 (mkinstalldirs): Remove.
15128 (.PHONY): Remove installdirs from list.
15129 ($(inst_infodir)/libc.info): Use make-target-directory.
15130 (installdirs): Remove.
15131 (subdir_%): Remove.
15132 (glibc-targets): Remove.
15133 (lib): Remove.
15134 (stubs): Remove.
15135 ($(objpfx)stubs ../po/manual.pot): Remove.
15136 ($(objpfx)stamp%): Remove.
15137 (make-target-directory): Remove.
15138 (subdir_install): Remove.
15139 (routines): Remove.
15140 (aux): Remove.
15141 (sources): Remove.
15142 (objects): Remove.
15143 (headers): Remove.
15144
15145 [BZ #13750]
15146 * manual/.gitignore: Remove, it's not needed anymore.
15147 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
15148 all files in it.
15149 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
15150 directory.
15151 (texis): Renamed to $(objpfx)texis.
15152 (texis-path): New, contains path to generated files.
15153 (chapters.%): Use texis-path for complete path, add extra argument
15154 libc-texinfo.sh.
15155 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
15156 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15157 (summary,texi, stamp-summary): Use complete path of
15158 files. Generate files in build dir.
15159 (dir-add.texi): Build in build dir.
15160 (libm-err.texi,stamp-libm-err): Likewise.
15161 (version.texi, stamp-version): Likewise.
15162 (.%c.texi): Likewise.
15163 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
15164 (mostlyclean): Remove target.
15165 (realclean): Remove target.
15166 (generated): Add new variable with contents from mostlyclean and
15167 realclean, remove entries duplicated in common-mostlyclean, add
15168 stamp-libm-err and stamp-version.
15169 (generated-dirs): Add libc directory.
15170 ($(inst_infodir)/libc.info): Install files from build dir.
15171
15172 * manual/install.texi (Configuring and compiling): Adjust since
15173 the info files are not part of the tar ball anymore.
15174
7ac77294
AJ
151752012-05-14 Andreas Jaeger <aj@suse.de>
15176
15177 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
15178 variable.
15179
ffb7875d
JM
151802012-05-14 Joseph Myers <joseph@codesourcery.com>
15181
15182 [BZ #13717]
15183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15184 to 2.2.0 where earlier.
15185 * sysdeps/unix/sysv/linux/configure: Regenerated.
15186 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15187 Remove conditional code.
15188 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15189 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15190 Remove conditional code.
15191 [!__NR_lchown]: Likewise.
15192 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15193 [__NR_lchown]: Likewise.
15194 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15195 comment referencing __ASSUME_LCHOWN_SYSCALL.
15196 * sysdeps/unix/sysv/linux/i386/sigaction.c
15197 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15198 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15199 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15200 Remove conditional code.
15201 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15202 (__protocol_available): Remove #if 0 code.
15203 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15204 conditional code.
15205 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15206 * sysdeps/unix/sysv/linux/kernel-features.h
15207 (__ASSUME_GETCWD_SYSCALL): Don't define.
15208 (__ASSUME_REALTIME_SIGNALS): Likewise.
15209 (__ASSUME_PREAD_SYSCALL): Likewise.
15210 (__ASSUME_PWRITE_SYSCALL): Likewise.
15211 (__ASSUME_POLL_SYSCALL): Likewise.
15212 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15213 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15214 non-SPARC.
15215 (__ASSUME_SIOCGIFNAME): Don't define.
15216 (__ASSUME_MSG_NOSIGNAL): Likewise.
15217 (__ASSUME_SENDFILE): Define unconditionally.
15218 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15219 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15220 conditional code.
15221 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15222 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15223 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15224 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15225 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15226 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15227 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15241 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15244 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15247 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15252 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15253 Remove conditional code.
15254 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15255 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15256 Remove conditional code.
15257 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15258 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15259 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15260 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15261 Remove conditional code.
15262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15263 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15264 Remove conditional code.
15265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15266 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15267 Remove conditional code.
15268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15269 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15270 Remove conditional code.
15271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15272 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15273 Remove conditional code.
15274 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15275 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15278 * sysdeps/unix/sysv/linux/sigaction.c
15279 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15280 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15281 * sysdeps/unix/sysv/linux/sigpending.c
15282 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15283 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15284 * sysdeps/unix/sysv/linux/sigprocmask.c
15285 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15286 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15287 * sysdeps/unix/sysv/linux/sigsuspend.c
15288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15290 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15291 (__libc_missing_rt_sigs): Remove.
15292 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15293 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15294 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15295 Remove conditional code.
15296 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15297 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15298 return 1.
15299 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15300 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15301 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15302 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15303
1bfb7291
AJ
153042012-05-14 Andreas Jaeger <aj@suse.de>
15305
caae5a81
AJ
15306 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15307 it's not used in glibc.
15308 (__coshm1): Likewise.
15309 (__acosh1p): Likewise.
15310 (__sgn): Likewise.
15311
1bfb7291
AJ
15312 * manual/string.texi (Copying and Concatenation): Add missing
15313 variable in concat example.
15314 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15315
c044d724
L
153162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15317
144c5467 15318 [BZ #14103]
c044d724
L
15319 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15320 __builtin_clzl with __builtin_clzll.
15321
2523c62b
L
153222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15323
15324 [BZ #14104]
15325 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15326 libc_freeres_ptr.
15327
d7bb4c42
LD
153282012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15329
15330 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15331 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15332 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15333 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15334
9dc4e1fb
MF
153352012-05-14 Mike Frysinger <vapier@gentoo.org>
15336
15337 * NEWS: Update ia64 info.
15338
c7df0112
AS
153392012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15340
15341 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15342 used as bcopy.
15343
dc70356c
TS
153442012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15345
15346 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15347 * sysdeps/unix/syscalls.list (dup3): Likewise.
15348 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15349 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15350
9fb1a21f
L
153512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15352
15353 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15354 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15355
4822a2a5
L
153562012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15357
15358 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15359 thread pointer.
15360 (TLS_IE): Use mov/add instead of movq/addq to load thread
15361 pointer.
15362 (TLS_GD_PREFIX): New.
15363 (TLS_GD): Use it.
15364
842b81d6
DM
153652012-05-11 David S. Miller <davem@davemloft.net>
15366
15367 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15368 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15369 (_FPU_SETCW): Likewise.
15370
1cf463cd
L
153712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15372
15373 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15374 is 32-byte aligned.
15375
60cc4a18
AS
153762012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15377
15378 [BZ #11837]
15379 * iconvdata/gb18030.c: Update tables.
15380 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15381 characters specially.
15382 (BODY for TO_LOOP): Add encoding of missing ranges.
15383
febb44a4
TS
153842012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15385
15386 [BZ #13673]
15387 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15388 * sysdeps/mach/hurd/dup3.c: Likewise.
15389 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15390 * sysdeps/powerpc/memmove.c:: Likewise.
15391
0a10fb9e
L
153922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15393
15394 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15395 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15396
df8a552f
L
153972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15398
15399 * elf/elf.h (R_X86_64_RELATIVE64): New.
15400 (R_X86_64_NUM): Updated.
15401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15402 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15403 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15404 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15405 tst-quad1pie tst-quad2pie
15406 (modules-names): Add tst-quadmod1 tst-quadmod2.
15407 ($(objpfx)tst-quad1): New dependency.
15408 ($(objpfx)tst-quad2): Likewise.
15409 ($(objpfx)tst-quad1pie): Likewise.
15410 ($(objpfx)tst-quad2pie): Likewise.
15411 * sysdeps/x86_64/tst-quad1.c: New file.
15412 * sysdeps/x86_64/tst-quad1pie.c: New file.
15413 * sysdeps/x86_64/tst-quad2.c: Likewise.
15414 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15415 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15416 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15417 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15418 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15419
f34d6f84
ST
154202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15421
f42d41d1
ST
15422 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15423 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15424 * streams/stropts.h (t_scalar_t): Define type.
15425
3c3571fc
ST
15426 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15427 (_PATH_PRESERVE): Set to "/var/lib".
15428 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15429
61f06bd3
ST
15430 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15431 instead of int.
15432
918d4d71
ST
15433 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15434 if __dir_mkfile succeeded.
15435
f34d6f84
ST
15436 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15437 checking for _hurd_dtablesize. Unlock it right after having
15438 finished _hurd_dtable allocation.
15439
10589b4a
TS
154402012-05-10 Thomas Schwinge <thomas@schwinge.name>
15441
674cdbc7
TS
15442 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15443 * sysdeps/mach/hurd/configure: Regenerated.
15444 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15445 special-casing to...
15446 * sysdeps/gnu/configure.in: ... this new file.
15447 * sysdeps/unix/sysv/linux/configure: Regenerated.
15448 * sysdeps/gnu/configure: New generated file.
15449
8e41b99f
TS
15450 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15451 for Linux: use nsec instead of usec, as well as:
15452 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15453 members of type struct timespec.
15454 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15455 New macros.
15456 (struct stat64): Likewise.
15457 (_STATBUF_ST_NSEC): New macro.
15458 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15459
10589b4a
TS
15460 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15461 __strtoul_internal rather than strtoul.
15462
63643c85
PT
154632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15464
15465 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15466 and reject them.
15467
3faebe6a
ST
154682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15469
15470 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15471 which preserves existing values.
15472 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15473
c6474b07
PT
154742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15475
15476 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15477 TIMEOUT values. Return EINVAL for NFDS values either negative or
15478 greater than FD_SETSIZE.
15479
1043890b
ST
154802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15481
15482 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15483 allocated, call __vm_protect to finish enabling the existing space, and
15484 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15485 allocate the remainder.
15486
37ed8b9b
PT
154872012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15488
15489 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15490 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15491
db653660
ST
154922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15493
37ed8b9b
PT
15494 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15495 sysdeps/mach/hurd/readlink.c.
b29d4053 15496
db653660
ST
15497 * posix/tst-sysconf.c (posix_options): Only use
15498 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15499 _POSIX_SYNCHRONIZED_IO when they are defined
15500 * sysdeps/mach/hurd/bits/posix_opt.h:
15501 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15502 (_XOPEN_REALTIME): Undefine macro.
15503 (_XOPEN_REALTIME_THREADS): Undefine macro.
15504 (_XOPEN_SHM): Undefine macro.
15505 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15506 macro to -1.
15507 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15508 macro to -1.
15509 (_POSIX_ASYNC_IO): Undefine macro.
15510 (_POSIX_PRIORITIZED_IO): Undefine macro.
15511 (_POSIX_SPIN_LOCKS): Define macro to -1.
15512
ee16e894
ST
15513 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15514 SA_NODEFER, SA_RESETHAND.
15515 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15516 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15517 F_DUPFD_CLOEXEC.
15518
6103ae3b
TS
155192012-05-10 Thomas Schwinge <thomas@schwinge.name>
15520
15521 * elf/Makefile (pldd-modules): Define unconditionally.
15522
80b4e5f3
TS
155232012-05-10 Thomas Schwinge <thomas@schwinge.name>
15524
15525 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15526
edadcbd6
ST
155272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15528
15529 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15530 Return ENOENT when name is empty.
15531 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15532
80694780
TS
155332012-05-10 Thomas Schwinge <thomas@schwinge.name>
15534
1792c087
TS
15535 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15536
80694780
TS
15537 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15538
6b645f0d
ST
155392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15540
80694780
TS
15541 Fix mlock in all cases except non-readable pages.
15542 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15543 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15544
6b645f0d
ST
15545 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15546 (__mkdir): When path is `/', just fail with EEXIST.
15547 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15548
e468f8a3
TS
155492012-05-10 Thomas Schwinge <thomas@schwinge.name>
15550
15551 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15552 <sys/uio.h> (for writev).
15553 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15554 and <sys/param.h> (for MIN).
15555
a4186cff
PT
155562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15557
15558 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15559 REQUESTED_TIME. Properly set the remaining time and return EINTR
15560 if interrupted.
15561
510bbf14
TS
155622012-05-10 Thomas Schwinge <thomas@schwinge.name>
15563
15564 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15565 Depend on against $(link-rpcuserlibs).
15566
5d5722e8
ST
155672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15568
a4186cff
PT
15569 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15570 (__libc_stack_end): Do not use attribute_relro.
15571 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15572 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15573 to libthread-provided value.
a4186cff
PT
15574 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15575 attribute_relro.
5d5722e8 15576
37233df9
TS
155772012-05-10 Thomas Schwinge <thomas@schwinge.name>
15578
be971a2b
TS
15579 [BZ #3748]
15580 * bits/libc-lock.h (__libc_once_get): New macro.
15581 * sysdeps/mach/bits/libc-lock.h: Likewise.
15582 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15583 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15584 instead of using implementation details.
15585
37233df9
TS
15586 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15587 * libio/freopen.c: Likewise.
15588 * libio/freopen64.c: Likewise.
15589 * misc/syslog.c: Likewise.
15590 * nscd/connections.c: Likewise.
15591 * nscd/netgroupcache.c: Likewise.
15592 * sysdeps/posix/getcwd.c: Likewise.
15593
38de94a5
RM
155942012-05-10 Roland McGrath <roland@hack.frob.com>
15595
15596 * math/w_ilogbf.c: Add #include <limits.h>.
15597
67530489
ST
155982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15599
a4186cff 15600 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15601 path instead of returning without unlocking.
15602
67530489
ST
15603 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15604 immediate-write ioctls.
15605 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15606
5aa3a74a
TS
156072012-05-10 Thomas Schwinge <thomas@schwinge.name>
15608
18bad2ae
TS
15609 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15610 __builtin_frame_address instead of making assumptions about the
15611 location of the return address relative to DATA. Force early load of
15612 the return address.
15613 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15614 __builtin_frame_address.
15615
5aa3a74a
TS
15616 dup3 for GNU Hurd.
15617 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15618 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15619 implement dup3 and do some further code clean-ups.
15620 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15621 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15622
ecd0de9a
ST
156232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15624
cd9fa985
ST
15625 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15626
a4186cff
PT
15627 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15628 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15629 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15630 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15631 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15632 d->port.lock.
802ca5a5 15633
a4186cff
PT
15634 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15635 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15636 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15637
bcf55240
TS
156382012-05-10 Thomas Schwinge <thomas@schwinge.name>
15639
6960eb42
TS
15640 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15641 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15642 definitions.
15643
eb43375f
TS
15644 accept4 for GNU Hurd.
15645 * include/sys/socket.h (__libc_accept4): New prototype.
15646 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15647 to implement __libc_accept4.
15648 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15649 __libc_accept4.
15650 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15651
bcf55240
TS
15652 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15653 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15654 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15655 signal-defines.sym.
15656
6178c55b
ST
156572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15658
a4186cff 15659 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15660
6f080c2f
TS
156612012-05-10 Thomas Schwinge <thomas@schwinge.name>
15662
15663 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15664 assertion on O_CLOEXEC flag.
15665 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15666 * hurd/intern-fd.c: Likewise.
15667 * hurd/port2fd.c: Likewise.
15668
bcfe3a54
ST
156692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15670
15671 [BZ #3906]
15672 * bits/in.h (IPV6_PKTINFO): Define new macro.
15673 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15674
89c9aa49
AZ
156752012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15676
15677 [BZ #13954]
15678 [BZ #13955]
15679 [BZ #13956]
15680 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15682 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15683 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15685 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15686 * math/libm-test.inc (logb_test) : Additional logb tests.
15687
021db4be
AJ
156882012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15689 Andreas Jaeger <aj@suse.de>
15690
15691 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15692 * configure: Regenerated.
15693 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15694 * config.make.in (link-obsolete-rpc): New substituted variable.
15695 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15696 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15697 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15698 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15699 so that libc.a contains the symbols.
15700 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15701 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15702 * sunrpc/auth_none.c: Likewise.
15703 * sunrpc/auth_unix.c: Likewise.
15704 * sunrpc/authdes_prot.c: Likewise.
15705 * sunrpc/authuxprot.c: Likewise.
15706 * sunrpc/clnt_gen.c: Likewise.
15707 * sunrpc/clnt_perr.c: Likewise.
15708 * sunrpc/clnt_raw.c: Likewise.
15709 * sunrpc/clnt_simp.c: Likewise.
15710 * sunrpc/clnt_tcp.c: Likewise.
15711 * sunrpc/clnt_udp.c: Likewise.
15712 * sunrpc/clnt_unix.c: Likewise.
15713 * sunrpc/des_crypt.c: Likewise.
15714 * sunrpc/des_soft.c: Likewise.
15715 * sunrpc/get_myaddr.c: Likewise.
15716 * sunrpc/key_call.c: Likewise.
15717 * sunrpc/key_prot.c: Likewise.
15718 * sunrpc/netname.c: Likewise.
15719 * sunrpc/pm_getmaps.c: Likewise.
15720 * sunrpc/pm_getport.c: Likewise.
15721 * sunrpc/pmap_clnt.c: Likewise.
15722 * sunrpc/pmap_prot.c: Likewise.
15723 * sunrpc/pmap_prot2.c: Likewise.
15724 * sunrpc/pmap_rmt.c: Likewise.
15725 * sunrpc/publickey.c: Likewise.
15726 * sunrpc/rpc_cmsg.c: Likewise.
15727 * sunrpc/rpc_common.c: Likewise.
15728 * sunrpc/rpc_dtable.c: Likewise.
15729 * sunrpc/rpc_prot.c: Likewise.
15730 * sunrpc/rpc_thread.c: Likewise.
15731 * sunrpc/rtime.c: Likewise.
15732 * sunrpc/svc.c: Likewise.
15733 * sunrpc/svc_auth.c: Likewise.
15734 * sunrpc/svc_raw.c: Likewise.
15735 * sunrpc/svc_run.c: Likewise.
15736 * sunrpc/svc_tcp.c: Likewise.
15737 * sunrpc/svc_udp.c: Likewise.
15738 * sunrpc/svc_unix.c: Likewise.
15739 * sunrpc/svcauth_des.c: Likewise.
15740 * sunrpc/xcrypt.c: Likewise.
15741 * sunrpc/xdr.c: Likewise.
15742 * sunrpc/xdr_array.c: Likewise.
15743 * sunrpc/xdr_float.c: Likewise.
15744 * sunrpc/xdr_intXX_t.c: Likewise.
15745 * sunrpc/xdr_mem.c: Likewise.
15746 * sunrpc/xdr_rec.c: Likewise.
15747 * sunrpc/xdr_ref.c: Likewise.
15748 * sunrpc/xdr_sizeof.c: Likewise.
15749 * sunrpc/xdr_stdio.c: Likewise.
15750
b5c086a2
RM
157512012-05-10 Roland McGrath <roland@hack.frob.com>
15752
15753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15754 change. Update copyright years.
15755
6d74dd09
JM
157562012-05-10 Joseph Myers <joseph@codesourcery.com>
15757
15758 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15759
28e72501
MK
157602012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15761 Joseph Myers <joseph@codesourcery.com>
15762 Paul Pluzhnikov <ppluzhnikov@google.com>
15763
15764 [BZ #14012]
15765 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15766 requiring rpcgen.
15767 [cross-compiling] (extra-libs): Likewise.
15768 [cross-compiling] (extra-libs-others): Likewise.
15769 [cross-compiling] (librpcsvc-routines): Likewise.
15770 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15771 [cross-compiling] (omit-deps): Likewise.
15772 (sunrpc-CPPFLAGS): New variable.
15773 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15774 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15775 (cross-rpcgen-objs): New variable.
15776 (extra-objs): Append $(cross-rpcgen-objs).
15777 ($(cross-rpcgen-objs)): New rule.
15778 ($(objpfx)cross-rpcgen): Likewise.
15779 (rpcgen-cmd): Define to use $(built-program-file). Expand
15780 comment.
15781 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15782 ($(objpfx)x%.stmp): Likewise.
15783 * sunrpc/proto.h [IS_IN_build] (_): Define.
15784 [IS_IN_build] (_libc_intl_domainname): Likewise.
15785
c8c59454
L
157862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15787
15788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15789 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15790 and R_X86_64_TPOFF64.
15791
6f27cd16
JM
157922012-05-10 Joseph Myers <joseph@codesourcery.com>
15793
15794 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15795 sysdeps/unix/sysv/syscalls.list.
15796 (stime): Likewise.
15797 (utime): Likewise.
15798 * sysdeps/unix/sysv/syscalls.list: Remove file.
15799
02467e1c
PE
158002012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15801
15802 [BZ #3440]
15803 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15804 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15805 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15806 (__LC_IDENTIFICATION): Make these macros useful in #if
15807 expressions, as required by C99.
15808
da392631
AS
158092012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15810
15811 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15812 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15813 after this.
15814
8115f29b
L
158152012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15816
15817 * stdlib/longlong.h: Updated from GCC.
15818
bdd74070
AJ
158192012-05-09 Andreas Jaeger <aj@suse.de>
15820
edfe0dbe
AJ
15821 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15822 default is first entry.
15823 (run_mode): Set type.
15824 (main): Remove informal message about syslog.
15825 (options): Fix typo.
15826
bcfe3a54
ST
15827 [BZ #14053]
15828 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15829 to asm.
bcfe3a54
ST
15830 (lrint): Likewise.
15831 (llrintf): Likewise.
15832 (llrint): Likewise.
15833 (rint): Likewise.
15834 (rintf): Likewise.
15835 (nearbyint): Likewise.
15836 (nearbyintf): Likewise.
bdd74070 15837
91d8d69e
AJ
158382012-05-09 Andreas Jaeger <aj@suse.de>
15839 Pedro Alves <palves@redhat.com>
15840
15841 * nscd/nscd.c (run_mode): Use enum.
15842 (main): Cleanup coding style issue.
15843
bb90b80b
AJ
158442012-05-09 Alexandre Oliva <aoliva@redhat.com>
15845 Andreas Jaeger <aj@suse.de>
15846
bcfe3a54
ST
15847 * nscd/nscd.c (go_background): Replaced with...
15848 (run_mode): ... this.
bb90b80b 15849 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15850 (options): Add -F --foreground.
15851 (main): Implement it.
15852 (parse_opt): Parse it.
bb90b80b 15853
1a4b75a1
AJ
158542012-05-09 Andreas Jaeger <aj@suse.de>
15855
15856 [BZ #14083]
15857 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15858 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15859 -Wconversion warning.
15860 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15861 Likewise.
15862
b1cc2472
JM
158632012-05-09 Joseph Myers <joseph@codesourcery.com>
15864
15865 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15866 == 0.
15867 (LC_ALL): Use macro-int-constant.
15868 (LC_COLLATE): Likewise.
15869 (LC_CTYPE): Likewise.
15870 (LC_MESSAGES): Likewise.
15871 (LC_MONETARY): Likewise.
15872 (LC_NUMERIC): Likewise.
15873 (LC_TIME): Likewise.
15874 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15875 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15877 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15878 Specify type.
15879 [C99-based standards] (float_t): Expect type.
15880 [C99-based standards] (double_t): Expect type.
15881 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15882 type.
15883 [C99-based standards] (HUGE_VALL): Likewise.
15884 [C99-based standards] (INFINITY): Likewise.
15885 [C99-based standards] (NAN): Likewise.
15886 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15887 [C99-based standards] (FP_NAN): Likewise.
15888 [C99-based standards] (FP_NORMAL): Likewise.
15889 [C99-based standards] (FP_SUBNORMAL): Likewise.
15890 [C99-based standards] (FP_ZERO): Likewise.
15891 [C99-based standards] (FP_FAST_FMA): Use
15892 optional-macro-int-constant. Specify type. Require == 1.
15893 [C99-based standards] (FP_FAST_FMAF): Likewise.
15894 [C99-based standards] (FP_FAST_FMAL): Likewise.
15895 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15896 [C99-based standards] (FP_ILOGBNAN): Likewise.
15897 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15898 Specify type.
15899 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15900 [C99-based standards] (math_errhandling): Specify type.
15901 [ISO99 || ISO11] (signgam): Do not allow.
15902 [non-C99-based standards] (copysignf): Do not allow.
15903 [non-C99-based standards] (exp2f): Likewise.
15904 [non-C99-based standards] (log2f): Likewise.
15905 [non-C99-based standards] (modff): Allow.
15906 [non-C99-based standards] (erff): Do not allow.
15907 [non-C99-based standards] (erfcf): Likewise.
15908 [non-C99-based standards] (gammaf): Likewise.
15909 [non-C99-based standards] (hypotf): Likewise.
15910 [non-C99-based standards] (j0f): Likewise.
15911 [non-C99-based standards] (j1f): Likewise.
15912 [non-C99-based standards] (jnf): Likewise.
15913 [non-C99-based standards] (lgammaf): Likewise.
15914 [non-C99-based standards] (tgammaf): Likewise.
15915 [non-C99-based standards] (y0f): Likewise.
15916 [non-C99-based standards] (y1f): Likewise.
15917 [non-C99-based standards] (ynf): Likewise.
15918 [non-C99-based standards] (isnanf): Likewise.
15919 [non-C99-based standards] (acoshf): Likewise.
15920 [non-C99-based standards] (asinhf): Likewise.
15921 [non-C99-based standards] (atanhf): Likewise.
15922 [non-C99-based standards] (cbrtf): Likewise.
15923 [non-C99-based standards] (expm1f): Likewise.
15924 [non-C99-based standards] (ilogbf): Likewise.
15925 [non-C99-based standards] (log1pf): Likewise.
15926 [non-C99-based standards] (logbf): Likewise.
15927 [non-C99-based standards] (nextafterf): Likewise.
15928 [non-C99-based standards] (remainderf): Likewise.
15929 [non-C99-based standards] (rintf): Likewise.
15930 [non-C99-based standards] (scalbf): Likewise.
15931 [non-C99-based standards] (copysignl): Likewise.
15932 [non-C99-based standards] (exp2l): Likewise.
15933 [non-C99-based standards] (log2l): Likewise.
15934 [non-C99-based standards] (modfl): Allow.
15935 [non-C99-based standards] (erfl): Do not allow.
15936 [non-C99-based standards] (erfcl): Likewise.
15937 [non-C99-based standards] (gammal): Likewise.
15938 [non-C99-based standards] (hypotl): Likewise.
15939 [non-C99-based standards] (j0l): Likewise.
15940 [non-C99-based standards] (j1l): Likewise.
15941 [non-C99-based standards] (jnl): Likewise.
15942 [non-C99-based standards] (lgammal): Likewise.
15943 [non-C99-based standards] (tgammal): Likewise.
15944 [non-C99-based standards] (y0l): Likewise.
15945 [non-C99-based standards] (y1l): Likewise.
15946 [non-C99-based standards] (ynl): Likewise.
15947 [non-C99-based standards] (isnanl): Likewise.
15948 [non-C99-based standards] (acoshl): Likewise.
15949 [non-C99-based standards] (asinhl): Likewise.
15950 [non-C99-based standards] (atanhl): Likewise.
15951 [non-C99-based standards] (cbrtl): Likewise.
15952 [non-C99-based standards] (expm1l): Likewise.
15953 [non-C99-based standards] (ilogbl): Likewise.
15954 [non-C99-based standards] (log1pl): Likewise.
15955 [non-C99-based standards] (logbl): Likewise.
15956 [non-C99-based standards] (nextafterl): Likewise.
15957 [non-C99-based standards] (remainderl): Likewise.
15958 [non-C99-based standards] (rintl): Likewise.
15959 [non-C99-based standards] (scalbl): Likewise.
15960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15961 [non-C99-based standards] (FP_*): Do not allow.
15962 [C99-based standards] (FP_*): Change to
15963 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15964 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15965 allow.
15966 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15967 (SIG_ERR): Likewise.
15968 [X/Open-based standards] (SIG_HOLD): Likewise.
15969 (SIG_IGN): Likewise.
15970 (SIGABRT): Use macro-int-constant. Specify type. Require
15971 positive value.
15972 (SIGFPE): Likewise.
15973 (SIGILL): Likewise.
15974 (SIGINT): Likewise.
15975 (SIGSEGV): Likewise.
15976 (SIGTER): Likewise.
15977 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15978 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15979 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15980 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15981 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15982 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15983 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15984 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15985 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15986 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15987 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15988 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15989 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15990 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15991 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15992 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15993 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15994 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15995 [X/Open-based standards] (SIGTRAP): Likewise.
15996 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15997 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15998 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15999 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
16000 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16001 allow.
16002
b9f1922d
IW
160032012-05-08 Ian Wienand <ianw@vmware.com>
16004
16005 [BZ #14080]
16006 * time/tzset.c (__tzset_parse_tz): Update default rules for
16007 daylight time changes in the Energy Policy Act of 2005.
16008
1db86e88
AJ
160092012-05-09 Andreas Jaeger <aj@suse.de>
16010
16011 [BZ #13983]
16012 * elf/ldconfig.c (parse_conf): Change string to make clear that
16013 ldconfig only issued a warning if ld.so.conf does not exist.
16014
dee4a4e3
DM
160152012-05-08 David S. Miller <davem@davemloft.net>
16016
ee0db190
DM
16017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
16018 movxtod instead of popping the value on the stack.
16019
dee4a4e3
DM
16020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16021
6a43ec98
CD
160222012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
16023
16024 * config.h.in: Add HAVE_ARM_PCS_VFP.
16025
05c2c961
RMG
160262012-05-08 Roland Mc Grath <roland@hack.frob.com>
16027
bcfe3a54
ST
16028 [BZ #13979]
16029 * include/features.h: Warn if user requests __FORTIFY_SOURCE
16030 checking but the checks are disabled for any reason.
05c2c961 16031
4b30f61a
L
160322012-05-08 H.J. Lu <hongjiu.lu@intel.com>
16033
16034 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
16035 and ELF64_R_TYPE with ELFW(R_TYPE).
16036
eee2bc67
JM
160372012-05-08 Joseph Myers <joseph@codesourcery.com>
16038
7ea5391a
JM
16039 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
16040 (ulimit): Likewise.
16041
eee2bc67
JM
16042 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
16043 (settimeofday): Likewise.
16044
abb66a67
MF
160452012-05-08 Mike Frysinger <vapier@gentoo.org>
16046
16047 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
16048 a struct th_u2 inside the union, and move tu_block/tu_code into
16049 a new th_u3 union of tu_block/tu_code inside of that. Move
16050 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
16051 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
16052 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
16053 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
16054 (th_stuff): Change to th_u1.tu_stuff.
16055 (th_data): Define.
16056 (th_msg): Change to th_u1.th_u2.tu_data.
16057
7f18b530
DM
160582012-05-07 David S. Miller <davem@davemloft.net>
16059
05760585
DM
16060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16061
7f18b530
DM
16062 [BZ #14074]
16063 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
16064 (SETUP_PIC_REG): Use it.
16065 (SETUP_PIC_REG_LEAF): Use it.
16066
495fd99f
JM
160672012-05-07 Joseph Myers <joseph@codesourcery.com>
16068
16069 [BZ #13885]
16070 [BZ #13923]
16071 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16072 USE_AS_EXPM1L.
16073 (EXPL_FINITE): Likewise.
16074 (FLDLOG): Likewise.
16075 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16076 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16077 e_expl.S.
16078 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16079 USE_AS_EXPM1L.
16080 (EXPL_FINITE): Likewise.
16081 (FLDLOG): Likewise.
16082 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
16083 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
16084 e_expl.S.
16085 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
16086 test of -max_value argument for long double.
16087 * sysdeps/i386/fpu/libm-test-ulps: Update.
16088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16089
6693d694
DM
160902012-05-06 David S. Miller <davem@davemloft.net>
16091
16092 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
16093 quad soft-float symbols whose references which are compiler
16094 generated.
16095 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
16096
6c23e11c
JM
160972012-05-06 Joseph Myers <joseph@codesourcery.com>
16098
d8b82cad
JM
16099 [BZ #13884]
16100 [BZ #13914]
16101 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16102 USE_AS_EXP10L.
16103 (EXPL_FINITE): Likewise.
16104 (FLDLOG): Likewise.
16105 (c0): Likewise.
16106 (c1): Likewise.
16107 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16108 Adjust comments for base varying.
16109 (__expl_finite): Change alias to EXPL_FINITE.
16110 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
16111 e_expl.S.
16112 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
16113 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16114 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16115 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
16116 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
16117 USE_AS_EXP10L.
16118 (EXPL_FINITE): Likewise.
16119 (FLDLOG): Likewise.
16120 (c0): Likewise.
16121 (c1): Likewise.
16122 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
16123 Adjust comments for base varying.
16124 (__expl_finite): Change alias to EXPL_FINITE.
16125 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
16126 tests for bugs.
16127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16128
6c23e11c
JM
16129 [BZ #14064]
16130 * math/libm-test.inc (check_float_internal): Correct ulp
16131 calculation for subnormal expected results.
16132
29ba805c
AJ
161332012-05-06 Andreas Jaeger <aj@suse.de>
16134
16135 * Makeconfig (+math-flags): New, set to -frounding-math.
16136 (+cflags): Add +math-flags so that all of glibc gets compiled with
16137 it.
16138
16139 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
16140
7b17aeda
JM
161412012-05-05 Joseph Myers <joseph@codesourcery.com>
16142
5779f134
JM
16143 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
16144 Disable one test.
16145
41498f4d
JM
16146 [BZ #13787]
16147 [BZ #13922]
16148 [BZ #14036]
16149 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
16150 (__ieee754_expl): Allow for and saturate large arguments.
16151 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
16152 (u_threshold): Likewise.
16153 (__exp): Call __ieee754_exp before checking for overflow and
16154 underflow.
16155 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
16156 (u_threshold): Likewise.
16157 (__expf): Call __ieee754_expf before checking for overflow and
16158 underflow.
16159 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
16160 (u_threshold): Likewise.
16161 (__expl): Call __ieee754_expl before checking for overflow and
16162 underflow.
16163 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
16164 (__ieee754_expl): Allow for and saturate large arguments.
16165 * math/libm-test.inc (exp_test): Add another test. Do not allow
16166 missing overflow exception on overflow.
16167 (expm1_test): Do not allow missing overflow exception on overflow.
16168
6698b8bf
JM
16169 * sysdeps/i386/fpu/e_expl.c: Move to ...
16170 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
16171 rather than using inline asm.
16172 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
16173 * sysdeps/x86_64/fpu/e_expl.S: Copy from
16174 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
16175
7b17aeda
JM
16176 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
16177 (nice): Likewise.
16178 (poll): Likewise.
16179 (signal): Likewise.
16180 (time): Likewise.
16181 (times): Likewise.
16182
f7c85819
JM
161832012-05-04 Joseph Myers <joseph@codesourcery.com>
16184
16185 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16186 sysdeps/unix/common/syscalls.list.
16187 (fchmod): Likewise.
16188 (fchown): Likewise.
16189 (ftruncate): Likewise.
16190 (getrusage): Likewise.
16191 (gettimeofday): Likewise.
16192 (setpgid): Likewise.
16193 (setregid): Likewise.
16194 (setreuid): Likewise.
16195 (sigaction): Likewise.
16196 (truncate): Likewise.
16197 (vhangup): Likewise.
16198 * sysdeps/unix/common/syscalls.list: Remove file.
16199 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16200 * sysdeps/unix/sysv/linux/Implies: Likewise.
16201
336270d0
L
162022012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16203
16204 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16206 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16207 Moved to ...
16208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16209 Here.
16210 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16211 to ...
16212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16213 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16214 to ...
16215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16216 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16217 to ...
16218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16219 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16220 to ...
16221 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16222 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16223 to ...
16224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16225 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16226 to ...
16227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16228 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16229 to ...
16230 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16231 Here.
16232 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16233 to ...
16234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16235 Here.
16236 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16237 to ...
16238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16239 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16240 Moved to ...
16241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16242 Here.
16243 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16244 to ...
16245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16246
d128e450
JM
162472012-05-04 Joseph Myers <joseph@codesourcery.com>
16248
fa8ee516
JM
16249 * sysdeps/unix/common/bits/dirent.h: Remove file.
16250 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16251
d128e450
JM
16252 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16253 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16254 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16255 * sysdeps/unix/bsd/isatty.c: Likewise.
16256 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16257 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16258 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16259
ff8faaf0 162602012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16261
62881be4 16262 [BZ #13563]
31dc8730
AZ
16263 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16264 long double comparison inaccuracies.
16265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16267
6fef930c
AS
162682012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16269
16270 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16271 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16272
8f203e6c
JM
162732012-05-04 Joseph Myers <joseph@codesourcery.com>
16274
16275 [BZ #14049]
16276 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16277 nonzero digits before rounding a hex value.
16278 * stdlib/tst-strtod.c (tests): Add another test.
16279
5197d9c2
AK
162802012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16281
16282 * sysdeps/s390/fpu/libm-test-ulps: Update.
16283
f0c1dedf
AJ
162842012-05-03 Andreas Jaeger <aj@suse.de>
16285
16286 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16287 does not get optimized out.
16288 (malloc_opt_barrier): New.
16289
a65ef2ae 162902012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16291 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16292
2b942cb7 16293 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16294 intermediate file deletion.
2b942cb7 16295 (generated): Add .symlist files.
a65ef2ae 16296
54b71e02
JM
162972012-05-03 Joseph Myers <joseph@codesourcery.com>
16298
16299 [BZ #13775]
16300 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16301 Redirect under this condition.
16302 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16303 [__USE_GNU] (__dprintf_chk): Not under this condition.
16304 [__USE_GNU] (__vdprintf_chk): Likewise.
16305 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16306 under this condition.
16307 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16308 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16309 [__USE_XOPEN2K8] (vdprintf): Likewise.
16310 [__USE_GNU] (__dprintf_chk): Not under this condition.
16311 [__USE_GNU] (__vdprintf_chk): Likewise.
16312 [__USE_GNU] (dprintf): Likewise.
16313 [__USE_GNU] (vdprintf): Likewise.
16314
d3dfcc41
RM
163152012-05-03 Roland McGrath <roland@hack.frob.com>
16316
16317 * elf/Makefile (common-generated): Set this instead of generated for
16318 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16319 $(all-built-dso)-derived lists.
16320
7ac30cc5
AJ
163212012-05-03 Andreas Jaeger <aj@suse.de>
16322
0c51e550
AJ
16323 * sysdeps/i386/fpu/libm-test-ulps: Update.
16324
7ac30cc5
AJ
16325 * FAQ: Removed.
16326 * FAQ.in: Likewise.
16327 * scripts/gen-FAQ.pl: Likewise.
16328 * manual/install.texi (Installation): Point to online location of
16329 FAQ.
16330 * Makefile (files-for-dist): Remove FAQ.
16331 (FAQ): Remove.
16332
d4c2917f
AM
163332012-05-02 Allan McRae <allan@archlinux.org>
16334
16335 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16336 (LDFLAGS-reldepmod5.so): Likewise.
16337 (LDFLAGS-reldep6mod1.so): Likewise.
16338 (LDFLAGS-reldep6mod4.so): Likewise.
16339 (LDFLAGS-reldep8mod3.so): Likewise.
16340 (LDFLAGS-unload4mod1.so): Likewise.
16341 (LDFLAGS-unload4mod2.so): Likewise.
16342 (LDFLAGS-tst-initorder): Likewise.
16343 (LDFLAGS-tst-initordera2.so): Likewise.
16344 (LDFLAGS-tst-initordera3.so): Likewise.
16345 (LDFLAGS-tst-initordera4.so): Likewise.
16346 (LDFLAGS-tst-initorderb2.so): Likewise.
16347 (LDFLAGS-noload): Likewise.
16348 (LDFLAGS-next): Likewise.
16349 (LDFLAGS-order2mod1.so): Likewise.
16350 (LDFLAGS-order2mod2.so): Likewise.
16351 (LDFLAGS-tst-initorder2): Likewise.
16352 (LDFLAGS-tst-initorder2a.so): Likewise.
16353 (LDFLAGS-tst-initorder2b.so): Likewise.
16354 (LDFLAGS-tst-initorder2c.so): Likewise.
16355 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16356
d77f993f
DM
163572012-05-02 David S. Miller <davem@davemloft.net>
16358
16359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16360
171a70b4
PP
163612012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16362
16363 [BZ #14055]
16364 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16365
0be196ad
AJ
163662012-05-02 Andreas Jaeger <aj@suse.de>
16367
16368 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16369 since we manipulate rounding mode.
16370 (CPPFLAGS-test-idouble.c): Likewise.
16371 (CPPFLAGS-test-ifloat.c): Likewise.
16372 (CFLAGS-test-ldouble.c): Likewise.
16373 (CFLAGS-test-double.c): Likewise.
16374 (CFLAGS-test-float.c): Likewise.
16375 (CFLAGS-test-misc.c): Likewise.
16376 (CFLAGS-test-test-fenv.c): Likewise.
16377
4f9d04aa
AZ
163782012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16379
2b942cb7
RM
16380 [BZ #2550]
16381 [BZ #2570]
16382 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16383 comparisons to determine direction to adjust input.
4f9d04aa 16384
82a79e7d
RM
163852012-05-01 Roland McGrath <roland@hack.frob.com>
16386
f5a01ca9
RM
16387 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16388 output to the target.
16389
90fe4186
RM
16390 * scripts/localplt.awk: New file.
16391 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16392 (check-localplt-CFLAGS): Variable removed.
16393 ($(all-built-dso:=.jmprel)): New static pattern rule.
16394 (generated): Add those targets.
16395 (localplt-built-dso): New variable.
16396 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16397
16398 * elf/check-localplt.c: File removed.
16399
82397ed6
RM
16400 * scripts/check-execstack.awk: New file.
16401 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16402 (check-execstack-CFLAGS): Variable removed.
16403 ($(objpfx)check-execstack.h): Target removed.
16404 ($(objpfx)execstack-default): New target.
16405 (generated): Add that instead of check-execstack.h.
16406 ($(all-built-dso:=.phdr)): New static pattern rule.
16407 (generated): Add those targets.
16408 * elf/check-execstack.c: File removed.
16409
82a79e7d
RM
16410 * scripts/check-textrel.awk: New file.
16411 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16412 (check-textrel-CFLAGS): Variable removed.
16413 (all-built-dso): Use := to define.o
16414 ($(all-built-dso:=.dyn)): New static pattern rule.
16415 (generated): Add those targets.
16416 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16417 * config.make.in (READELF): New substituted variable.
16418 * elf/check-textrel.c: File removed.
16419
62fde54f 164202012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16421
615605c9
JM
16422 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16423 allow.
16424 * conform/data/ctype.h-data [C99-based standards] (isblank):
16425 Expect function.
16426 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16427 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16429 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16430 Specify type. Require positive value.
16431 (EILSEQ): Likewise.
16432 (ERANGE): Likewise.
16433 [ISO || POSIX] (EILSEQ): Do not expect.
16434 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16435 Specify type. Require positive value.
16436 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16437 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16438 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16439 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16440 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16441 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16442 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16443 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16444 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16445 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16446 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16447 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16448 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16449 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16450 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16451 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16452 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16453 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16454 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16455 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16456 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16457 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16458 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16459 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16460 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16461 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16462 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16463 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16464 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16465 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16466 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16467 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16468 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16469 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16470 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16471 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16472 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16473 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16474 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16475 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16476 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16477 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16478 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16479 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16480 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16481 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16482 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16483 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16484 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16485 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16486 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16487 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16488 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16489 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16490 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16491 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16492 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16493 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16494 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16495 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16496 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16497 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16498 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16499 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16500 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16501 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16502 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16503 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16504 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16505 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16506 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16507 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16508 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16509 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16510 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16511 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16512 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16513 Require >= 2.
16514 (FLT_ROUNDS): Expect as macro, not constant.
16515 (FLT_MANT_DIG): Use macro-int-constant.
16516 (DBL_MANT_DIG): Likewise.
16517 (LDBL_MANT_DIG): Likewise.
16518 (FLT_DIG): Likewise.
16519 (DBL_DIG): Likewise.
16520 (LDBL_DIG): Likewise.
16521 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16522 (DBL_MIN_EXP): Likewise.
16523 (LDBL_MIN_EXP): Likewise.
16524 (FLT_MAX_EXP): Use macro-int-constant.
16525 (DBL_MAX_EXP): Likewise.
16526 (LDBL_MAX_EXP): Likewise.
16527 (FLT_MAX_10_EXP): Likewise.
16528 (DBL_MAX_10_EXP): Likewise.
16529 (LDBL_MAX_10_EXP): Likewise.
16530 (FLT_MAX): Use macro-constant.
16531 (DBL_MAX): Likewise.
16532 (LDBL_MAX): Likewise.
16533 (FLT_EPSILON): Use macro-constant. Give upper bound.
16534 (DBL_EPSILON): Likewise.
16535 (LDBL_EPSILON): Likewise.
16536 (FLT_MIN): Likewise.
16537 (DBL_MIN): Likewise.
16538 (LDBL_MIN): Likewise.
16539 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16540 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16541 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16542 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16543 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16544 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16545 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16546 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16547 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16548 [ISO11] (FLT_TRUE_MIN): Likewise.
16549 [ISO11] (LDBL_TRUE_MIN): Likewise.
16550 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16551 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16552 (SCHAR_MIN): Use macro-int-constant. Specify type.
16553 (SCHAR_MAX): Likewise.
16554 (UCHAR_MAX): Likewise.
16555 (CHAR_MIN): Likewise.
16556 (CHAR_MAX): Likewise.
16557 (MB_LEN_MAX): Use macro-int-constant.
16558 (SHRT_MIN): Use macro-int-constant. Specify type.
16559 (SHRT_MAX): Likewise.
16560 (USHRT_MAX): Likewise.
16561 (INT_MAX): Likewise.
16562 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16563 bound negative.
16564 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16565 bound with "U".
16566 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16567 bound with "L".
16568 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16569 bound negative. Suffix upper bound with "L".
16570 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16571 bound with "UL".
16572 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16573 Specify type.
16574 [C99-based standards] (LLONG_MAX): Likewise.
16575 [C99-based standards] (ULLONG_MAX): Likewise.
16576 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16577 == 0.
16578 [ISO11] (max_align_t): Require type.
16579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16580
c9140a62
JM
16581 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16582 from $CFLAGS, without defining away __attribute__ calls.
16583 (checknamespace): Use $CFLAGS_namespace.
16584
9af0bf29
JM
16585 * conform/conformtest.pl (@keywords): Only include C99 keywords
16586 for standards based on C99 or C11.
16587
343222a2
JM
16588 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16589 Disable tests.
16590 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16591 UNIX98]: Likewise.
16592
661f8cf0
JM
16593 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16594 usability of symbols in #if.
16595
ee74b9cb
JM
16596 * conform/conformtest.pl: If macro or constant types start
16597 "promoted:", expect the symbol to be of the following type
16598 promoted by the integer promotions.
62fde54f 16599
aafc49b3
JM
16600 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16601 in one place. Also handle "macro-constant".
16602
fefdf574
JM
16603 * conform/conformtest.pl: Only accept expected macro values with
16604 "==". Parse all "macro" lines in one place.
16605 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16606
f2d922fe
JM
16607 * conform/conformtest.pl: Handle braced types on "constant" lines
16608 instead of handling "typed-constant".
16609 * conform/data/signal.h-data: Use "constant" instead of
16610 "typed-constant".
16611
d22956c9
JM
16612 * conform/conformtest.pl: Handle "optional-" at start of lines in
16613 one place rather than duplicating several cases. Handle each
16614 format of "macro" line with initial "optional-".
16615
028e2e38
JM
16616 * conform/conformtest.pl: Only accept expected constant or
16617 optional-constant values with "==". Parse all "constant" lines in
16618 one place. Parse all "optional-constant" lines in one place.
16619 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16620 * conform/data/fmtmsg.h-data: Likewise.
16621 * conform/data/netinet/in.h-data: Likewise.
16622 * conform/data/tar.h-data: Likewise.
16623 * conform/data/limits.h-data: Use "==" form on "constant" and
16624 "optional-constant" lines.
16625
1b8f2850
JM
16626 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16627 Use -std=c99 for XOPEN2K.
16628 (@knownproblems): Remove.
16629 (newtoken): Don't check %isknown.
16630
a05a144b
JM
16631 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16632 Do not expect macro.
16633 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16634 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16635 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16636 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16637 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16638 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16639 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16640 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16641 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16642 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16643 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16644 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16645 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16646 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16647 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16648 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16649 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16650 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16651 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16652 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16653 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16654 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16655 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16656 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16657 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16658 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16659 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16660 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16661 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16662 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16663 [XPG3] (acosh): Likewise.
16664 [XPG3] (asinh): Likewise.
16665 [XPG3] (atanh): Likewise.
16666 [XPG3] (cbrt): Likewise.
16667 [XPG3] (expm1): Likewise.
16668 [XPG3] (ilogb): Likewise.
16669 [XPG3] (log1p): Likewise.
16670 [XPG3] (logb): Likewise.
16671 [XPG3] (nextafter): Likewise.
16672 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16673 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16674 [XPG3] (remainder): Likewise.
16675 [XPG3] (rint): Likewise.
16676 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16677 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16678 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16679 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16680 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16681 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16682 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16683 [UNIX98 || XOPEN2K] (scalb): Expect.
16684 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16685 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16686 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16687 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16688 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16689 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16690 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16691 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16692 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16693 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16694 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16695 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16696 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16697 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16698 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16699 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16700 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16701 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16702 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16703 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16704 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16705 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16706 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16707 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16708 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16709 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16710 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16711 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16712 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16713 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16714 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16715 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16716 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16717 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16718 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16719 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16720 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16721 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16722 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16723 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16724 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16725 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16726 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16727 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16728 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16729 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16730 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16731 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16732 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16733 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16734 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16735 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16736 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16737 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16738 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16739 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16740 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16741 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16742 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16743 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16744 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16745 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16746 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16747 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16748 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16749 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16750 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16751 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16752 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16753 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16754 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16755 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16756 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16757 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16758 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16759 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16760 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16761 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16762 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16763 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16764 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16765 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16766 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16767 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16768 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16769 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16770 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16771 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16772 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16773 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16774 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16775 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16776 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16777 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16778 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16779 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16780 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16781 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16782 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16783 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16784 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16785 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16786 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16787 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16788 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16789 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16790 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16791 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16792 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16793 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16794 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16795 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16796 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16797 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16798 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16799 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16800 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16801 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16802 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16803 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16804 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16805 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16806 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16807 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16808 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16809 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16810 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16811 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16812 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16813 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16814 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16815 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16816 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16817 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16818 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16819 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16820 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16821
73c5ebe3
JM
16822 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16823 _XOPEN_SOURCE_EXTENDED for XPG4.
16824
39c33b6c
JM
16825 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16826
62fde54f
JM
16827 * Makeconfig (localtime): Remove variable.
16828 (inst_localtime-file): Likewise.
16829
0741d64c
AS
168302012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16831
16832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16833 Update.
16834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16835 Update.
16836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16837 Update.
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16839 Update.
16840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16841 Update.
16842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16843 Update.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16845 Update.
16846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16847 Update.
16848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16849 Update.
16850
7cb029ee
JM
168512012-05-01 Joseph Myers <joseph@codesourcery.com>
16852
16853 [BZ #2550]
16854 [BZ #2570]
16855 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16856 comparisons to determine direction to adjust input.
16857 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16858 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16859 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16860 Likewise.
16861 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16862 Likewise.
16863 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16864 Likewise.
16865 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16866 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16867 Likewise.
16868 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16869 Likewise.
16870 * math/libm-test.inc (nexttoward_test): Add more tests.
16871
412bd966
AS
168722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16873
16874 [BZ #14040]
16875 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16876 in version GLIBC_2.1, not GLIBC_2.0.
16877 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16878 Likewise.
16879
9568c0c2
JM
168802012-04-30 Joseph Myers <joseph@codesourcery.com>
16881
adfbc8ac
JM
16882 [BZ #13942]
16883 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16884 (1 - x) * (1 + x).
16885 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16886 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16887 * math/libm-test.inc (acos_test): Add more tests.
16888 (asin_test): Likewise.
16889 * sysdeps/i386/fpu/libm-test-ulps: Update.
16890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16891
5ba3cc69
JM
16892 [BZ #14034]
16893 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16894 of square root.
16895 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16896 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16897 * math/libm-test.inc (acos_test_tonearest): New function.
16898 (acos_test_towardzero): Likewise.
16899 (acos_test_downward): Likewise.
16900 (acos_test_upward): Likewise.
16901 (asin_test_tonearest): Likewise.
16902 (asin_test_towardzero): Likewise.
16903 (asin_test_downward): Likewise.
16904 (asin_test_upward): Likewise.
16905 (main): Call the new functions.
16906 * sysdeps/i386/fpu/libm-test-ulps: Update.
16907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16908
9568c0c2
JM
16909 [BZ #13884]
16910 [BZ #13924]
16911 * math/e_exp10.c: Include <float.h>.
16912 (__ieee754_exp10): Handle underflow here rather than multiplying
16913 large negative argument by M_LN10.
16914 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16915 of __ieee754_expf.
16916 * math/e_exp10l.c: Include <float.h>.
16917 (__ieee754_exp10l): Handle underflow here rather than multiplying
16918 large negative argument by M_LN10l.
16919 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16920 spurious overflow exception on underflow.
16921
5ac3ea17
MP
169222012-04-29 Marek Polacek <polacek@redhat.com>
16923
16924 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16925 (__fortify_function): New macro.
16926 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16927 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16928 __extern_always_inline.
16929 * libio/bits/stdio2.h: Likewise.
16930 * libio/bits/stdio.h: Likewise.
16931 * string/string.h: Likewise.
16932 * string/bits/string3.h: Likewise.
16933 * include/stdio.h: Likewise.
16934 * stdlib/bits/stdlib.h: Likewise.
16935 * stdlib/stdlib.h: Likewise.
16936 * rt/bits/mqueue2.h: Likewise.
16937 * rt/mqueue.h: Likewise.
16938 * posix/bits/unistd.h: Likewise.
16939 * posix/unistd.h: Likewise.
16940 * io/bits/poll2.h: Likewise.
16941 * io/bits/fcntl2.h: Likewise.
16942 * io/fcntl.h: Likewise.
16943 * io/sys/poll.h: Likewise.
16944 * misc/bits/syslog.h: Likewise.
16945 * misc/bits/syslog-ldbl.h: Likewise.
16946 * misc/sys/syslog.h: Likewise.
16947 * socket/bits/socket2.h: Likewise.
16948 * socket/sys/socket.h: Likewise.
16949 * debug/tst-chk1.c: Likewise.
16950 * wcsmbs/bits/wchar2.h: Likewise.
16951 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16952 * wcsmbs/wchar.h: Likewise.
16953
ecf0ebfb
AJ
169542012-04-29 Andreas Jaeger <aj@suse.de>
16955
16956 * Makerules (tests): Remove enable-check-abi protection.
16957 (check-abi-warn): Remove.
16958 (check-abi-%): Remove check-abi-warn usage.
16959
16960 * configure.in: Remove check-abi configure option.
16961 * configure: Regenerated.
16962 * config.make.in (enable-check-abi): Remove.
16963
6d5c57fa
AS
169642012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16965
24c5d07e 16966 [BZ #14033]
ded5180a
AS
16967 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16968 double functions to double *_finite functions.
16969
7e0d315d
AS
16970 [BZ #13941]
16971 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16972 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16973 LDBL_MIN_EXP.
16974 * stdio-common/Makefile (tests): Add tst-sprintf3.
16975 * stdio-common/tst-sprintf3.c: New file.
16976
6d5c57fa
AS
16977 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16978 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16979
0749ff8b
JM
169802012-04-28 Joseph Myers <joseph@codesourcery.com>
16981
16982 * conform/conformtest.pl: Remove duplicate typed-constant
16983 handling.
16984
8dbd5d7b
DM
169852012-04-28 David S. Miller <davem@davemloft.net>
16986
16987 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16988 (check-abi-%): Remove AWK script prerequisite and explicit
16989 abilist directory.
16990 (check-abi): Rewrite to just diff the symlist with the abilist.
16991 (config-tls, config-abi-config): Delete, no longer used.
16992 (update-abi-%): Remove AWK script and explicit abilist directory.
16993 (update-abi): Rewrite to simply compare and conditionally copy the
16994 symlist and the sysdep abilist file. Remove update-abi-config
16995 checks.
16996 * abilist/ld.abilist: Remove.
16997 * abilist/libBrokenLocale.abilist: Remove.
16998 * abilist/libanl.abilist: Remove.
16999 * abilist/libcrypt.abilist: Remove.
17000 * abilist/libdl.abilist: Remove.
17001 * abilist/librt.abilist: Remove.
17002 * abilist/libthread_db.abilist: Remove.
17003 * abilist/libutil.abilist: Remove.
17004 * scripts/extract-abilist.awk: Remove.
17005 * scripts/merge-abilist.awk: Remove.
17006 * sysdeps/generic/libcidn.abilist: New file.
17007 * sysdeps/generic/libnss_compat.abilist: New file.
17008 * sysdeps/generic/libnss_db.abilist: New file.
17009 * sysdeps/generic/libnss_dns.abilist: New file.
17010 * sysdeps/generic/libnss_files.abilist: New file.
17011 * sysdeps/generic/libnss_hesiod.abilist: New file.
17012 * sysdeps/generic/libnss_nis.abilist: New file.
17013 * sysdeps/generic/libnss_nisplus.abilist: New file.
17014 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
17015 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
17016 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
17017 file.
17018 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
17019 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
17020 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
17021 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
17022 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
17023 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
17024 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
17025 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
17026 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
17027 file.
17028 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
17029 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
17030 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
17031 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
17032 file.
17033 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
17034 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
17035 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
17036 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
17037 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
17038 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
17039 file.
17040 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
17041 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
17042 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
17043 file.
17044 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
17045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
17046 New file.
17047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
17048 New file.
17049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
17050 New file.
17051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
17052 New file.
17053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
17054 New file.
17055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
17056 New file.
17057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
17058 New file.
17059 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
17060 New file.
17061 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
17062 New file.
17063 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
17064 New file.
17065 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
17066 New file.
17067 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
17068 New file.
17069 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
17070 New file.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
17072 file.
17073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
17074 New file.
17075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
17076 New file.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
17078 file.
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
17080 New file.
17081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
17082 New file.
17083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
17084 file.
17085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
17086 New file.
17087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
17088 New file.
17089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
17090 New file.
17091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
17092 New file.
17093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
17094 New file.
17095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
17096 New file.
17097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
17098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
17099 file.
17100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17101 New file.
17102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
17103 file.
17104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
17105 file.
17106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
17107 file.
17108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
17109 file.
17110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
17111 file.
17112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17113 New file.
17114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
17115 file.
17116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
17117 file.
17118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17119 New file.
17120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
17121 file.
17122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
17123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
17124 file.
17125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17126 New file.
17127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
17128 file.
17129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
17130 file.
17131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
17132 file.
17133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
17134 file.
17135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
17136 file.
17137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17138 New file.
17139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
17140 file.
17141 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
17142 file.
17143 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17144 New file.
17145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
17146 file.
17147 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17148 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
17149 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
17150 file.
17151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
17152 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
17153 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
17154 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
17155 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
17156 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
17157 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
17158 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
17159 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
17160 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
17161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
17162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
17163 file.
17164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17165 New file.
17166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
17167 file.
17168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
17169 file.
17170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
17171 file.
17172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
17173 file.
17174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
17175 file.
17176 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17177 New file.
17178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17179 New file.
17180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
17181 file.
17182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17183 New file.
17184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17185 file.
17186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17188 file.
17189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17190 New file.
17191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17192 file.
17193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17194 file.
17195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17196 file.
17197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17198 file.
17199 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17200 file.
17201 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17202 New file.
17203 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17204 New file.
17205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17206 file.
17207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17208 New file.
17209 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17210 file.
17211
41d73a1b
JM
172122012-04-28 Joseph Myers <joseph@codesourcery.com>
17213
17214 * conform/conformtest.pl: Fix typo in handling typed-constant from
17215 allow-header.
17216
28aeeda4
JM
172172012-04-27 Joseph Myers <joseph@codesourcery.com>
17218
adae8f5e
JM
17219 * README: Cut down references to pre-2.6 Linux kernels and
17220 Linuxthreads. Update lists of configurations in libc and ports
17221 and sort alphabetically. Say "or newer" with Linux kernel version
17222 requirements.
17223
28aeeda4
JM
17224 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17225
a462cb63
RA
172262012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17227
17228 [BZ #887]
17229 * math/libm-test.inc (logb_test_downward): New test to expose
17230 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17231 rounding mode.
17232
6ad3493e
JM
172332012-04-27 Joseph Myers <joseph@codesourcery.com>
17234
17235 [BZ #14027]
17236 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17237 to be done.
17238 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17239 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17240
2ce4f015
JM
172412012-04-26 Joseph Myers <joseph@codesourcery.com>
17242
5aeb141a
JM
17243 * sysdeps/unix/i386/brk.S: Remove file.
17244 * sysdeps/unix/i386/dl-brk.S: Likewise.
17245 * sysdeps/unix/i386/pipe.S: Likewise.
17246 * sysdeps/unix/i386/sigreturn.S: Likewise.
17247 * sysdeps/unix/i386/syscall.S: Likewise.
17248 * sysdeps/unix/i386/vfork.S: Likewise.
17249 * sysdeps/unix/i386/wait.S: Likewise.
17250
7143acae
JM
17251 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17252 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17253
2ce4f015
JM
17254 * configure.in (arm*-none*): Do not allow without
17255 --enable-hacker-mode.
17256 (netbsd*): Remove case setting base_os.
17257 (386bsd*): Likewise.
17258 (freebsd*): Likewise.
17259 (bsdi*): Likewise.
17260 (osf*): Likewise.
17261 (sunos*): Likewise.
17262 (ultrix*): Likewise.
17263 (newsos*): Likewise.
17264 (dynix*): Likewise.
17265 (*bsd*): Likewise.
17266 (sysv*): Likewise.
17267 (isc*): Likewise.
17268 (esix*): Likewise.
17269 (sco*): Likewise.
17270 (minix*): Likewise.
17271 (irix4*): Likewise.
17272 (irix6*): Likewise.
17273 (solaris[2-9]*): Likewise.
17274 (none): Likewise.
17275 * configure: Regenerated.
17276
0ac229c8
AZ
172772012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17278
17279 [BZ #11521]
17280 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17281 overflow or cancellation in calculating denominator.
17282 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17283 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17284 down expression to avoid unexpected rounding in newer GCCs.
17285 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17286
33f244f4
DM
172872012-04-26 David S. Miller <davem@davemloft.net>
17288
17289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17290 long-double compat symbols.
17291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17304
cfa1f3e8
DM
173052012-04-25 David S. Miller <davem@davemloft.net>
17306
17307 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17308 HWCAP_* values only after the memory barriers have been defined.
17309 (atomic_full_barrier): Define.
17310 (atomic_read_barrier): Define.
17311 (atomic_write_barrier): Define.
17312
6e236b92
SP
173132012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17314
17315 * shlib-versions: Add libgcc_s version information.
17316 * sysdeps/generic/libgcc_s.h: Remove.
17317 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17318 libgcc_s.h.
17319 * sysdeps/gnu/unwind-resume.c: Likewise.
17320 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17321
aab39a09
DM
173222012-04-25 David S. Miller <davem@davemloft.net>
17323
17324 * sysdeps/unix/sparc/brk.S: Delete.
17325 * sysdeps/unix/sparc/dl-brk.S: Delete.
17326 * sysdeps/unix/sparc/pipe.S: Delete.
17327 * sysdeps/unix/sparc/sysdep.S: Delete.
17328 * sysdeps/unix/sparc/sysdep.h: Delete.
17329 * sysdeps/unix/sparc/vfork.S: Delete.
17330 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17331 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17332 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17333 ret_ERRVAL, r0, r1, MOVE): Define.
17334 (JUMPTARGET): Remove.
17335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17336 sysdeps/unix/sparc/sysdep.h
17337 (ENTRY, END): Remove.
17338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17339
a3cc4f48
JM
173402012-04-25 Joseph Myers <joseph@codesourcery.com>
17341
2ed8cda2
JM
17342 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17343 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17344 -DIS_IN_build.
17345
35d76d59
JM
17346 * timezone/README: Update upstream location and email address for
17347 tzcode and tzdata.
17348 * timezone/zdump.c: Update from tzcode 2012b.
17349 * timezone/zic.c: Likewise.
17350
a3cc4f48
JM
17351 * configure.in (libc_cv_as_needed): Remove test.
17352 * configure: Regenerated.
17353 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17354 conditional definition.
17355 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17356 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17357 * config.make.in (have-as-needed): Remove variable.
17358
ceab42c3
SP
173592012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17360 Paul Pluzhnikov <ppluzhnikov@google.com>
17361
17362 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17363 strings correctly.
17364
3ce2865f
CLT
173652012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17366
17367 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17368 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17369 * sysdeps/sh/strlen.S: Likewise.
17370
f37e0d68
JM
173712012-04-24 Joseph Myers <joseph@codesourcery.com>
17372
ae186e9a
JM
17373 * sysdeps/unix/fork.S: Remove file.
17374 * sysdeps/unix/i386/fork.S: Likewise.
17375 * sysdeps/unix/sparc/fork.S: Likewise.
17376
b96914af
JM
17377 * sysdeps/unix/system.c: Remove file.
17378 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17379
f37e0d68
JM
17380 * sysdeps/unix/getegid.S: Remove file.
17381 * sysdeps/unix/geteuid.S: Likewise.
17382
87ef29ca
RM
173832012-04-24 Roland McGrath <roland@hack.frob.com>
17384
83bcd236
RM
17385 * scripts/check-localplt.awk: New file.
17386 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17387 of diff.
17388 * scripts/data/localplt-generic.data: Add a comment.
17389
87ef29ca
RM
17390 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17391 NODE when __dir_mkfile failed.
17392 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17393 Reported by Ludovic Courtès <ludo@gnu.org>.
17394
e5a6e567
AJ
173952012-04-24 Andreas Jaeger <aj@suse.de>
17396
17397 * Makerules (common-clean): Also remove gen-as-const-headers
17398 files.
17399
c1820385
JM
174002012-04-24 Joseph Myers <joseph@codesourcery.com>
17401
17402 * Makerules (native-compile): Do not change working directory for
17403 build. Use $(OUTPUT_OPTION) in command.
17404 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17405
94e02fc4
AZ
174062012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17407
17408 [BZ #13886]
17409 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17410 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17411 * math/libm-test.inc (floor_test): Add more tests.
17412 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17413
3a533ca3
JM
174142012-04-24 Joseph Myers <joseph@codesourcery.com>
17415
940ab4b3
JM
17416 * sysdeps/unix/getdents.c: Remove file.
17417 * sysdeps/unix/sysv/getdents.c: Likewise.
17418 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17419
90e037bd
JM
17420 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17421 sysdeps/unix/mman/syscalls.list.
17422 (mmap): Likewise.
17423 (mprotect): Likewise.
17424 (msync): Likewise.
17425 (munmap): Likewise.
17426 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17427 * sysdeps/unix/mman/syscalls.list: Remove.
17428 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17429
3a533ca3
JM
17430 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17431 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17432 * configure: Regenerated.
17433 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17434 $(libgcc_s_suffix).
17435 * config.make.in (libgcc_s_suffix): Remove variable.
17436
1ad743de
JM
174372012-04-23 Joseph Myers <joseph@codesourcery.com>
17438
4ad451e2
JM
17439 * sysdeps/unix/sysv/gethostname.c: Move to ...
17440 * sysdeps/posix/gethostname.c: ... here.
17441
5e37ce39
JM
17442 * sysdeps/unix/execve.S: Remove file.
17443
1ad743de
JM
17444 * sysdeps/unix/_exit.S: Remove file.
17445
4e681b5b
AJ
174462012-04-23 Andreas Jaeger <aj@suse.de>
17447
17448 [BZ #13739]
17449 * manual/Makefile: Remove make dist support, there's no
17450 need for a stand-alone documentation tar ball.
17451 (TEXI2DVI): Define always, it's not in Makeconfig.
17452 (dist): Removed.
17453 (tar-it): Removed.
17454 (edition): Removed.
17455 (glibc-doc-$(edition).tar): Removed
17456 (%.Z): Removed.
17457 (%.gz): Removed.
17458 (%.uu): Removed.
17459 (ETAGS): Remove, it's in Makeconfig.
17460 (move-if-change): Remove, it's in Makeconfig.
17461
38686a03 174622012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17463
17464 [BZ #13970]
17465 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17466 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17467 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17468 (strtod_l, strtof_l, strtold_l): Remove __wur.
17469 It is not necessarily an error to ignore strtol's return value.
17470 One can reliably look at the stored endptr to decide whether
17471 the number had valid syntax.
17472
7c0616fa
AJ
174732012-04-21 Andreas Jaeger <aj@suse.de>
17474
803cb6b7 17475 [BZ #13739]
7c0616fa
AJ
17476 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17477
b0fe253f
JM
174782012-04-21 Joseph Myers <joseph@codesourcery.com>
17479
17480 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17481 * sysdeps/unix/sysv/Versions: Remove file.
17482
8280f22d
MT
174832012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17484
17485 [BZ #13927]
17486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17487
75ce411f 174882012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17489
17490 [BZ #7064]
17491 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17492 version from __vm86.
17493
097d59fa
JM
174942012-04-20 Joseph Myers <joseph@codesourcery.com>
17495
a90f3bcb
JM
17496 * sysdeps/unix/common/lxstat.c: Remove file.
17497 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17498
edc7ea78
JM
17499 * sysdeps/unix/sysv/Makefile: Remove file.
17500
cb78c221
JM
17501 * sysdeps/unix/sysv/direct.h: Remove file.
17502
efa6a45f
JM
17503 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17504 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17505 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17506 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17507 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17508 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17509 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17510
9c9f2d0c
JM
17511 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17512
4541c83b
JM
17513 * sysdeps/unix/xmknod.c: Remove file.
17514 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17515
f5d153a0
JM
17516 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17517
aa746595
JM
17518 * sysdeps/unix/sysv/i386/time.S: Remove file.
17519
cce5905e
JM
17520 * sysdeps/unix/fxstat.c: Remove file.
17521 * sysdeps/unix/xstat.c: Likewise.
17522 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17523
37fa3841
JM
17524 * sysdeps/unix/sysv/sigaction.c: Remove file.
17525
ff1962a3
JM
17526 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17527 (sysdep_headers): Remove variable.
17528 [termio.h not in sysdep_headers] (generated): Likewise.
17529 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17530 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17531 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17532 * sysdeps/unix/sysv/tcflow.c: Likewise.
17533 * sysdeps/unix/sysv/tcflush.c: Likewise.
17534 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17535 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17536 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17537 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17538 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17539
e7740d31
JM
17540 * sysdeps/unix/siglist.c: Remove file.
17541
ee06f18b
JM
17542 * sysdeps/unix/getppid.S: Remove file.
17543
097d59fa
JM
17544 * sysdeps/unix/mkdir.c: Remove file.
17545 * sysdeps/unix/rmdir.c: Likewise.
17546
ff3d51ec
AS
175472012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17548
17549 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17550 ERR_MAX value.
17551 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17552 errlist-compat value.
17553
50f81fd7
DM
175542012-04-18 David S. Miller <davem@davemloft.net>
17555
17556 * sysdeps/generic/memcopy.h (reg_char): Delete.
17557 * debug/strcat_chk.c: Use char, not reg_char.
17558 * debug/strcpy_chk.c: Likewise.
17559 * debug/strncat_chk.c: Likewise.
17560 * debug/strncpy_chk.c: Likewise.
17561 * string/memchr.c: Likewise.
17562 * string/memrchr.c: Likewise.
17563 * string/rawmemchr.c: Likewise.
17564 * string/strcat.c: Likewise.
17565 * string/strchr.c: Likewise.
17566 * string/strchrnul.c: Likewise.
17567 * string/strcmp.c: Likewise.
17568 * string/strcpy.c: Likewise.
17569 * string/strncat.c: Likewise.
17570 * string/strncmp.c: Likewise.
17571 * string/strncpy.c: Likewise.
17572
8ff41c46
WS
175732012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17574
17575 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17576 __builtin_memcopy is called when src and dest ranges are known to not
17577 overlap.
17578
6b652f46
WS
175792012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17580
17581 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17582 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17583 fwd_align_merge macro call.
17584 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17585 bwd_align_merge macro call.
17586 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17587
b282631e
WS
175882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17589
17590 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17591 bwd_align_merge macros.
17592 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17593 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17594 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17595
95aa737c
DM
175962012-04-18 David S. Miller <davem@davemloft.net>
17597
17598 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17599
7a99a614
AJ
176002012-04-18 Andreas Jaeger <aj@suse.de>
17601
17602 [BZ# 6794]
17603 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17604 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17606
17607 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17608 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17609 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17610
17611 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17612 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17613 Adjust for changed ldbl-128 files.
17614
17615 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17616 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17617 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17618
e5270c23
DM
176192012-04-17 David S. Miller <davem@davemloft.net>
17620
17621 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17622
fb5e92c9
AS
176232012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17624
17625 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17626 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17627 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17628 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17629 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17630 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17631
76da7265
AZ
176322012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17633
17634 [BZ #6794]
17635 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17636 * math/libm-test.inc: Add ilogb errno and exception tests.
17637 * math/w_ilogb.c: New file: ilogb wrapper.
17638 * math/w_ilogbf.c: New file: ilogbf wrapper.
17639 * math/w_ilogbl.c: New file: ilogbl wrapper.
17640 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17641 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17642 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17643 exception being thrown with 0.0 as argument.
17644 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17645 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17646 exception being thrown with 0.0 as argument.
17647 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17648 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17649 exception being thrown with 0.0 as argument.
17650 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17651 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17652 exception being thrown with 0.0 as argument.
17653 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17654 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17655 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17656 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17657 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17658 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17659 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17660 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17661 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17662
0396e69d
PB
176632012-04-17 Petr Baudis <pasky@ucw.cz>
17664
17665 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17666 with altivec.
17667
750b5926
MP
176682012-04-16 Marek Polacek <polacek@redhat.com>
17669
17670 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17671
751728a1
MP
176722012-04-16 Marek Polacek <polacek@redhat.com>
17673
17674 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17675 operands of fdivp instruction.
17676
34a27407
L
176772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17678
17679 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17680 * elf/tst-auditmod3b.c: Likewise.
17681 * elf/tst-auditmod4b.c: Likewise.
17682 * elf/tst-auditmod5b.c: Likewise.
17683 * elf/tst-auditmod6b.c: Likewise.
17684 * elf/tst-auditmod6c.c: Likewise.
17685 * elf/tst-auditmod7b.c: Likewise.
17686 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17687 * sysdeps/x86_64/preconfigure.in: Likewise.
17688 * sysdeps/x86_64/preconfigure: Regenerated.
17689
7e73e17d
L
176902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17691
17692 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17693 __ILP32__.
17694
c7a6ab72
AB
176952012-04-13 Antoine Balestrat <merkil33@gmail.com>
17696
17697 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17698 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17699
a9e8e0e0
CL
177002012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17701
17702 [BZ #13973]
17703 * locale/iso-639.def: Fix gl language name. Spotted by
17704 Yaron Shahrabani.
17705
ec98af7d
RM
177062012-04-12 Roland McGrath <roland@hack.frob.com>
17707
17708 [BZ #2074]
17709 * libio/libio.h (__io_write_fn): Update comment.
17710
247c3ede
PB
177112012-04-12 Petr Baudis <pasky@ucw.cz>
17712
17713 [BZ #2074]
17714 * stdio.texi (Hook Functions): The user provided writer function
17715 is not allowed to return -1.
17716
55939d6d
DM
177172012-04-11 David S. Miller <davem@davemloft.net>
17718
17719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17720
90020f5a
MF
177212012-04-11 Mike Frysinger <vapier@gentoo.org>
17722
17723 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17724 Add a leading slash to rtkaio.
17725
288f9098
JM
177262012-04-11 Jim Meyering <meyering@redhat.com>
17727
90020f5a
MF
17728 [BZ #11959]
17729 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17730 It is not necessarily an error to ignore fwrite's return
17731 value. One can reliably use ferror to test for errors after
17732 the fact.
288f9098 17733
4be2b570
L
177342012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17735
17736 * bits/types.h (__snseconds_t): New type.
17737 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17738
17739 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17740 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17741 (__SNSECONDS_T_TYPE): Likewise.
17742 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17743 (__SNSECONDS_T_TYPE): Likewise.
17744 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17745 (__SNSECONDS_T_TYPE): Likewise.
17746
288f9098 177472012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17748
17749 [BZ #2636]
17750 * manual/time.texi (Processor Time): Return type of times is
17751 elapsed real time since an arbitrary point in the past.
17752 (CPU Time): Move CLK_TCK from here...
17753 (Processor Time): ...to here. Correct description.
17754 * manual/conf.texi (Constants for Sysconf): Correct description of
17755 _SC_CLK_TCK.
17756
d7dd4413
DM
177572012-04-10 David S. Miller <davem@davemloft.net>
17758
17759 [BZ #13967]
17760 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17761 where the is a gap between DT_REL(A) and DT_JMPREL.
17762
b46068fc
L
177632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17766 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17767 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17768
73d65cc3
SP
177692012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17770
17771 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17772 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17773 (dl_main): Handle --inhibit-cache.
17774 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17775 _dl_inhibit_cache.
17776 * elf/dl-load.c (_dl_map_object): Use it.
17777 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17778
bcc8d661
JM
177792012-04-09 Joseph Myers <joseph@codesourcery.com>
17780
8f9a2fae
JM
17781 [BZ #13872]
17782 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17783 (__ieee754_powl): Saturate large exponents rather than testing for
17784 overflow of y*log2(x).
17785 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17786 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17787 exceptions.
17788
bcc8d661
JM
17789 [BZ #11521]
17790 * math/s_ctan.c: Include <float.h>.
17791 (__ctan): Avoid internal overflow or cancellation in calculating
17792 denominator.
17793 * math/s_ctanf.c: Likewise.
17794 * math/s_ctanl.c: Likewise.
17795 * math/s_ctanh.c: Likewise.
17796 * math/s_ctanhf.c: Likewise.
17797 * math/s_ctanhl.c: Likewise.
17798 * math/libm-test.inc (ctan_test): Add more tests.
17799 (ctanh_test): Likewise.
17800 * sysdeps/i386/fpu/libm-test-ulps: Update.
17801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17802
823fbbb4
AJ
178032012-04-09 Andreas Jaeger <aj@suse.de>
17804
03879793
AJ
17805 [BZ #6894]
17806 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17807 is an optional BSD extension.
17808
823fbbb4
AJ
17809 [BZ #10254]
17810 * manual/stdio.texi (Opening Streams): Document additional fopen
17811 parameters.
17812
8de131cb
RM
178132012-04-09 Roland McGrath <roland@hack.frob.com>
17814
17815 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17816 %eax without telling the compiler.
17817
c0ed9d7d
CD
178182012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17819
17820 [BZ # 13963]
17821 * manual/install.texi: Use sourceware.org.
17822
c483f6b4
JM
178232012-04-09 Joseph Myers <joseph@codesourcery.com>
17824
d7dd9453
JM
17825 [BZ #13873]
17826 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17827 (__ieee754_pow): Generate overflow and underflow using huge*huge
17828 and tiny*tiny rather than just returning constant infinity or zero
17829 for large exponents.
17830 * math/libm-test.inc (pow_test): Require overflow exceptions for
17831 applicable cases of large exponents.
17832
c483f6b4
JM
17833 [BZ #706]
17834 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17835 (__ieee754_pow): Use iterative multiplication algorithm only for
17836 integer exponents with absolute value below 1024. Check for odd
17837 integer exponents when using algorithm for real exponents.
17838 * math/libm-test.inc (pow_test): Add more tests.
17839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17840
d2de7579
JM
178412012-04-08 Joseph Myers <joseph@codesourcery.com>
17842
17843 [BZ #13705]
17844 * math/libm-test.inc (exp_test): Do not allow overflow exception
17845 on underflow test.
17846
f77f1232
AJ
178472012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17848
17849 [BZ #13705]
17850 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17851 instead of __kernel_standard_f.
17852
3884932b
MF
178532012-04-08 Mike Frysinger <vapier@gentoo.org>
17854
17855 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17856 * sysdeps/x86_64/memset_chk.S: Likewise.
17857
54472e9c
AJ
178582012-04-08 Andreas Jaeger <aj@suse.de>
17859
6ab0fbfc
AJ
17860 [BZ #10153]
17861 * manual/startup.texi (Environment Access): Describe return value
17862 for putenv and setenv.
17863
61efba8c
AJ
17864 [BZ #6895]
17865 * manual/filesys.texi (Directory Entries): Add description for
17866 DT_LNK.
17867
95c3f29a
AJ
17868 [BZ #6890]
17869 * manual/filesys.texi (Directory Entries): Clarify that it's file
17870 system not operating system in the description of DT_UNKNOWN.
17871
54472e9c
AJ
17872 [BZ #6578]
17873 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17874
624254b1
SC
178752012-04-08 Stephen Compall <s11@member.fsf.org>
17876
17877 [BZ #6649]
17878 * manual/llio.texi (Opening and Closing Files): Add cross
17879 reference to explain mode argument.
17880
1e4920e0
MF
178812012-04-07 Mike Frysinger <vapier@gentoo.org>
17882
17883 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17884 * sysdeps/x86_64/memset_chk.S: Likewise.
17885
5ed848f3
DM
178862012-04-07 David S. Miller <davem@davemloft.net>
17887
17888 * elf/elf.h (R_SPARC_WDISP10): Define.
17889 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17890 R_SPARC_SIZE32.
17891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17892 R_SPARC_SIZE64 and R_SPARC_H34.
17893
96154cd8
CD
178942012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17895
17896 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17897 conditions and remove no longer applicable assertion.
17898
9904dc47
L
178992012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17900
17901 * bits/byteswap.h: Include <features.h>.
17902 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17903 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17904
f8887d0a
L
179052012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17906
17907 * bits/byteswap.h (__bswap_16): Removed.
17908 Include <bits/byteswap-16.h> to get __bswap_16.
17909 * sysdeps/i386/bits/byteswap.h: Likewise.
17910 * sysdeps/s390/bits/byteswap.h: Likewise.
17911 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17912 * bits/byteswap-16.h: New file.
17913 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17914 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17915 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17916 * string/Makefile (headers): Add bits/byteswap-16.h.
17917
62470f60
PP
179182012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17919
17920 [BZ #13895]
17921 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17922 extra indirection.
17923 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17924 * nss/tst-nss-static.c: New.
17925
4dad7bab
RM
179262012-04-06 Robert Millan <rmh@gnu.org>
17927
17928 [BZ #6486]
17929 * manual/llio.texi (File Position Primitive): lseek
17930 refers to WHENCE when it really means OFFSET.
17931
e9142a17
AJ
179322012-04-06 Andreas Jaeger <aj@suse.de>
17933
2c040eff
AJ
17934 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17935 strncmp declarations.
17936
e9142a17
AJ
17937 * abilist/libc.abilist: Add __poll and __ppoll.
17938
ff9f1c5f
DM
179392012-04-05 David S. Miller <davem@davemloft.net>
17940
dcd2ae90
DM
17941 * scripts/check-local-headers.sh: Accept a host triplet in the
17942 path matched by the exclude regexp.
17943
993eb054
DM
17944 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17945 definition.
17946 * sysdeps/powerpc/powerpc32/dl-machine.h
17947 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17948 * sysdeps/s390/s390-32/dl-machine.h
17949 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17950 * sysdeps/sparc/sparc32/dl-machine.h
17951 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17952 * sysdeps/sparc/sparc64/dl-machine.h
17953 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17954
ff9f1c5f
DM
17955 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17956 lazy binding.
48e2e132 17957 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17958 undefined symbol errors.
17959
48e2e132 17960 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17961 DT_NEEDED entries.
17962
e80d6f94
MM
179632012-04-05 Michael Matz <matz@suse.de>
17964
17965 [BZ #13592]
17966 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17967
349fa79f
AJ
179682012-04-05 Andreas Jaeger <aj@suse.de>
17969
17970 [BZ #13908]
17971 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17972 comment.
17973
f402708f
KK
179742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17975
17976 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17977 which ROUND is no valid rounding mode.
17978
2ecccfc9
KK
179792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17980
17981 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17982 read again.
17983 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17984
8a53f50f
KK
179852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17986
17987 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17988 an exception using FPU order intentionally.
17989
179902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17991
17992 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17993 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17994 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17995 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17996
d653abb7
SJ
179972012-04-05 Simon Josefsson <simon@josefsson.org>
17998
17999 [BZ #12340]
18000 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
18001 EINVAL when BUFLEN is too smal.
18002
c3b1bf7d
TS
180032012-04-05 Thomas Schwinge <thomas@codesourcery.com>
18004
18005 [BZ #13553]
18006 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
18007 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
18008
b1aa60f3
AJ
180092012-04-03 Andreas Jaeger <aj@suse.de>
18010
c3b1bf7d 18011 [BZ #13938]
67f60a26
AJ
18012 * manual/setjmp.texi (System V contexts): Fix sentence.
18013
b1aa60f3
AJ
18014 [BZ #13926]
18015 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
18016 New macro for this case.
18017 [!__GNUC__] (__bswap_64): New inline function for this case.
18018 * sysdeps/x86_64/bits/byteswap.h: Likewise.
18019 * bits/byteswap.h: Likewise.
18020 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
18021 ull, guard with __GLIBC_HAVE_LONG_LONG.
18022
18023 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
18024 __GLIBC_HAVE_LONG_LONG.
18025
18026 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
18027 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
18028
39c59c35
TMQMF
180292012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18030
18031 [BZ #13691]
18032 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
18033 inptr and inend, rather than using last_ch.
18034
135ffda8
DM
180352012-04-02 David S. Miller <davem@davemloft.net>
18036
18037 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
18038 * stdio-common/printf-parse.h (read_int): Change return type to
18039 'int', return -1 on INT_MAX overflow.
18040 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
18041 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
18042 overflows INT_MAX. Check for overflow of in-format-string precision
18043 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
18044 SIZE_MAX not INT_MAX for integer overflow test.
18045 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
18046 skip the construct in the format string but do not record anything.
18047 * stdio-common/bug22.c: Adjust to test both width/prevision
18048 INT_MAX overflow as well as total length INT_MAX overflow. Check
18049 explicitly for proper errno values.
18050
228c019e
TS
180512012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18052
302cadd3
TS
18053 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
18054 CHAR_MAX.
18055 * string/test-strcmp.c [! WIDE]: Likewise.
18056 * time/tst-mktime2.c: Likewise for INT_MAX.
18057 * string/test-string.h: #include <sys/param.h> for MIN.
18058
228c019e
TS
18059 * csu/init-first.c (__libc_init_first): Call __ctype_init.
18060 * sysdeps/i386/init-first.c (init): Likewise.
18061 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
18062 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
18063 * sysdeps/sh/init-first.c (init): Likewise.
18064
cfa633f5
UD
180652012-04-01 Ulrich Drepper <drepper@gmail.com>
18066
18067 * po/ru.po: Update from translation team.
d1635ef8 18068 * po/vi.po: Likewise.
cfa633f5 18069
6cd0a5ea
SP
180702012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18071
18072 * resolv/nss_dns/dns-host.c: Merge copyright years.
18073
4b43400f
LD
180742012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18075
18076 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18077 Optimize memcpy with prefetch if
18078 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
18079 src, dst pointers have unequal 16 byte alignments.
18080
48c41d04
SP
180812012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18082
18083 [BZ #13928]
18084 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
18085 from a CNAME entry and return the minimum ttl for the query.
18086 (gaih_getanswer_slice): Likewise.
18087
b8dc394d
JL
180882012-03-30 Jeff Law <law@redhat.com>
18089
18090 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
18091 due to long keys.
18092 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
18093 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
18094
2f5a5ed0
JL
18095 * resolv/nss_dns/dns-host.c: Update copyright year.
18096
1d39e359
UD
180972012-03-30 Ulrich Drepper <drepper@gmail.com>
18098
c030f70c 18099 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 18100 requests to save a system call. Fix check that all bytes are sent.
c030f70c 18101
1d39e359
UD
18102 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
18103 comments for sendmmsg.
18104
181052012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
18106
18107 [BZ #13691]
18108 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
18109 with only 1 character between 0x0041 and 0x01b0.
18110 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
18111 * wcsmbs/tst-mbsnrtowcs.c: New file.
18112
20fde227
DM
181132012-03-29 David S. Miller <davem@davemloft.net>
18114
18115 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
18116 small copies by hand.
18117
984a4237
JL
181182012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18119
18120 [BZ #13761]
18121 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
18122 _nss_compat_initgroups_dyn): Fall back to malloc/free
18123 for large group memberships.
18124
18c9d62b
DM
181252012-03-28 David S. Miller <davem@davemloft.net>
18126
88d85d4f
DM
18127 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
18128 that branches into memcpy.
18129 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
18130 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
18131 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18132 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
18133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
18134 bits.
18135 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
18136 implementation too.
18137 * sysdeps/sparc/mempcpy.S: New file.
18138
e5aa83e1
DM
18139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
18140 the IFUNC routine in the libc case.
18141 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18142
88570753
DM
18143 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
18144 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
18145 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
18146 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
18147 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
18148 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
18149 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
18150 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
18151
249d7567
DM
18152 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
18153 loop to 256 bytes instead of 64 bytes and fix test signedness.
18154
18c9d62b
DM
18155 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
18156 * sysdeps/sparc/sparc32/Makefile: rather than here...
18157 * sysdeps/sparc/sparc64/Makefile: and here.
18158
05f3d1f6
UD
181592012-03-28 Ulrich Drepper <drepper@gmail.com>
18160
18161 * malloc/mallocbug.c: Avoid warnings about unused variables.
18162
86ae07a8
JL
181632012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18164
18165 [BZ #13760]
18166 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
18167 in the right place. Discard and retry query if response is
18168 larger than input buffer size.
18169
41bf21a1
JM
181702012-03-28 Joseph Myers <joseph@codesourcery.com>
18171
d6270972
JM
18172 [BZ #369]
18173 [BZ #2678]
18174 [BZ #3866]
18175 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
18176 x for large integer exponent.
18177 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18178 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
18179 sign of result as needed afterwards.
18180 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18181 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
18182 result for underflowing pow the same as for overflow.
18183 (__kernel_standard_l): Handle powl overflow and underflow here
18184 rather than calling __kernel_standard.
18185 * math/libm-test.inc (pow_test): Add more tests.
18186
414fca03 18187 [BZ #3868]
41bf21a1
JM
18188 [BZ #13879]
18189 [BZ #13910]
18190 [BZ #13911]
18191 [BZ #13912]
18192 [BZ #13913]
18193 [BZ #13915]
18194 [BZ #13916]
18195 [BZ #13917]
18196 [BZ #13918]
18197 [BZ #13919]
18198 [BZ #13920]
18199 [BZ #13921]
18200 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18201 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18202 (__kernel_standard_l): New function.
18203 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18204 __kernel_standard.
18205 * math/w_acosl.c (__acosl): Likewise.
18206 * math/w_asinl.c (__asinl): Likewise.
18207 * math/w_atan2l.c (__atan2l): Likewise.
18208 * math/w_atanhl.c (__atanhl): Likewise.
18209 * math/w_coshl.c (__coshl): Likewise.
18210 * math/w_exp10l.c (__exp10l): Likewise.
18211 * math/w_exp2l.c (__exp2l): Likewise.
18212 * math/w_fmodl.c (__fmodl): Likewise.
18213 * math/w_hypotl.c (__hypotl): Likewise.
18214 * math/w_j0l.c (__j0l, __y0l): Likewise.
18215 * math/w_j1l.c (__j1l, __y1l): Likewise.
18216 * math/w_jnl.c (__jnl, __ynl): Likewise.
18217 * math/w_lgammal.c (__lgammal): Likewise.
18218 * math/w_log10l.c (__log10l): Likewise.
18219 * math/w_log2l.c (__log2l): Likewise.
18220 * math/w_logl.c (__logl): Likewise.
18221 * math/w_powl.c (__powl): Likewise.
18222 * math/w_remainderl.c (__remainderl): Likewise.
18223 * math/w_scalbl.c (sysv_scalbl): Likewise.
18224 * math/w_sinhl.c (__sinhl): Likewise.
18225 * math/w_sqrtl.c (__sqrtl): Likewise.
18226 * math/w_tgammal.c (__tgammal): Likewise.
18227 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18228 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18229 * math/libm-test.inc (acos_test): Add more tests.
18230 (acosh_test): Likewise.
18231 (asin_test): Likewise.
18232 (atanh_test): Likewise.
18233 (exp_test): Likewise.
18234 (exp10_test): Likewise.
18235 (exp2_test): Likewise.
18236 (expm1_test): Likewise.
18237 (lgamma_test): Likewise.
18238 (log_test): Likewise.
18239 (log10_test): Likewise.
18240 (log1p_test): Likewise.
18241 (log2_test): Likewise.
18242 (pow_test): Do not allow some spurious overflow exceptions.
18243 (sqrt_test): Add more tests.
18244 (tgamma_test): Likewise.
18245 (y0_test): Likewise.
18246 (y1_test): Likewise.
18247 (yn_test): Likewise.
18248
dd62fda6
AB
182492012-03-27 Anton Blanchard <anton@samba.org>
18250
18251 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18252 MAP_HUGETLB.
18253 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18254 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18255 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18256
1e3cdfda
AJ
182572012-03-27 David S. Miller <davem@davemloft.net>
18258
b855ab85
DM
18259 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18260
1e3cdfda
AJ
18261 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18262 have-as-vis3 check.
18263
182642012-03-27 Andreas Jaeger <aj@suse.de>
18265
18266 * sysdeps/x86_64/elf/configure.in: Moved to ...
18267 * sysdeps/x86_64/configure.in: ... here.
18268 * sysdeps/x86_64/elf/start.S: Moved to ...
18269 * sysdeps/x86_64/start.S: ... here.
18270 * sysdeps/x86_64/elf/configure: Delete.
18271
18272 * sysdeps/x86_64/configure.in: Merge contents from
18273 sysdeps/i386/configure.in (without i686 check).
18274
18275 * sysdeps/i386/elf/Versions: Merge into ...
18276 * sysdeps/i386/Versions: ... this.
18277 * sysdeps/i386/elf/Versions: Delete file.
18278 * sysdeps/i386/elf/start.S: Moved to ...
18279 * sysdeps/i386/start.S: ...here.
18280 * sysdeps/i386/elf/configure.in: Merge into...
18281 * sysdeps/i386/configure.in: ...here.
18282 * sysdeps/i386/elf/configure.in: Delete file.
18283 * sysdeps/i386/elf/configure: Delete file.
18284
18285 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18286 * debug/backtracesyms.c: ... here.
18287 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18288 * debug/backtracesymsfd.c: ... here.
18289 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18290 * sysdeps/generic/ifunc-sel.h: ... here.
18291
18292 * sysdeps/unix/i386/start.c: Delete file.
18293 * sysdeps/unix/sparc/start.c: Delete file.
18294 * sysdeps/unix/start.c: Delete file.
18295
18296 * sysdeps/sh/elf/configure.in: Moved to ...
18297 * sysdeps/sh/configure.in: ... here.
18298 * sysdeps/sh/elf/start.S: Moved to ...
18299 * sysdeps/sh/start.S: ... here.
18300 * sysdeps/sh/elf/configure: Delete file.
18301
18302 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18303 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18304 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18305 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18306 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18307 * sysdeps/powerpc/powerpc64/start.S: here.
18308 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18309 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18310 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18311 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18312 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18313
18314 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18315 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18316 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18317 * sysdeps/powerpc/powerpc32/start.S: ... here.
18318 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18319 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18320 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18321
18322 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18323 * sysdeps/powerpc/ifunc-sel.h: ... here.
18324 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18325 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18326
18327 * sysdeps/sparc/elf/configure.in: Moved to ...
18328 * sysdeps/sparc/configure.in: ... here.
18329 * sysdeps/sparc/elf/configure: Delete file.
18330 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18331 * sysdeps/sparc/sparc32/start.S: ... here.
18332 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18333 * sysdeps/sparc/sparc64/start.S: ... here.
18334 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18335 * sysdeps/sparc/sparc32/Makefile: ... this.
18336 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18337 * sysdeps/sparc/sparc64/Makefile: ... this.
18338
18339 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18340 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18341 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18342 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18343 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18344 * sysdeps/s390/s390-32/setjmp.S: ... here.
18345 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18346 * sysdeps/s390/s390-32/configure.in: ... here.
18347 * sysdeps/s390/s390-32/elf/configure: Delete file.
18348 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18349 * sysdeps/s390/s390-32/start.S: ... here.
18350
18351 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18352 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18353 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18354 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18355 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18356 * sysdeps/s390/s390-64/setjmp.S: ... here.
18357 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18358 * sysdeps/s390/s390-64/configure.in: ... here
18359 * sysdeps/s390/s390-64/elf/configure: Delete file.
18360 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18361 * sysdeps/s390/s390-64/start.S: ... here.
18362 * sysdeps/s390/s390-64/elf/configure: Delete.
18363
18364 * configure.in: Remove support for elf directories in sysdeps.
18365
18366 * configure: Regenerated.
18367 * sysdeps/i386/configure: Regenerated.
18368 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18369 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18370 * sysdeps/s390/s390-32/configure: Regenerated.
18371 * sysdeps/s390/s390-64/configure: Regenerated.
18372 * sysdeps/sh/configure: Regenerated.
18373 * sysdeps/sparc/configure: Regenerated.
18374 * sysdeps/x86_64/configure: Regenerated.
18375
a3f61311
AS
183762012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18377
c876e002
AS
18378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18379
a3f61311
AS
18380 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18381 denormal result into account.
18382
ac4c54f0
RM
183832012-03-25 Roland McGrath <roland@hack.frob.com>
18384
18385 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18386 Reported by Allan McRae <allan@archlinux.org>.
18387
6a9b9c02
JL
183882012-03-23 Jeff Law <law@redhat.com>
18389
18390 * nss/getnssent.c (__nss_getent): Fix typo.
18391
4c42a0c1
DM
183922012-03-23 David S. Miller <davem@davemloft.net>
18393
18394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18395
1532c7ac
L
183962012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18397
18398 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18399 to pad to uint64_t for each field.
18400 (dl_tls_index): Replace unsigned long with uint64_t.
18401
3ff42526
PP
184022012-03-23 Daniel Jacobowitz <dmj@google.com>
18403 Paul Pluzhnikov <ppluzhnikov@google.com>
18404
18405 [BZ #6528]
18406 * grp/Makefile (otherlibs): Don't set it.
18407 * inet/Makefile (otherlibs): Likewise.
18408 * login/Makefile (otherlibs): Likewise.
18409 * nscd/Makefile (otherlibs): Likewise.
18410 * posix/Makefile (otherlibs): Likewise.
18411 * pwd/Makefile (otherlibs): Likewise.
18412 * rt/Makefile (otherlibs): Likewise.
18413 * sunrpc/Makefile (otherlibs): Likewise.
18414 * nss/Makefile (otherlibs): Likewise.
18415 Add libnss_files to routines and static-only-routines.
18416 ($(objpfx)getent): Remove rule.
18417 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18418 static-only-routines.
18419
7c69cd14
JM
184202012-03-22 Joseph Myers <joseph@codesourcery.com>
18421
18422 [BZ #13892]
18423 * math/s_cexp.c: Include <float.h>.
18424 (__cexp): Handle exp result overflowing not necessarily
18425 overflowing both real and imaginary parts of result.
18426 * math/s_cexpf.c: Likewise.
18427 * math/s_cexpl.c: Likewise.
18428 * math/libm-test.inc (cexp_test): Add more tests.
18429 * sysdeps/i386/fpu/libm-test-ulps: Update.
18430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18431
81b035fe
L
184322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18433
18434 * include/link.h (ELFW): New macro.
18435 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18436 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18437
1da7940c
L
184382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18439
18440 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18441 with uint64_t.
18442
b749dbb9
L
184432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18444
18445 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18446 declaration.
18447 (struct La_x32_retval): Likewise.
18448
2ff87f3f
L
184492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18450
18451 * sysdeps/x86_64/preconfigure.in: New file.
18452 * sysdeps/x86_64/preconfigure: New generated file.
18453
c0df8e69
JM
184542012-03-22 Joseph Myers <joseph@codesourcery.com>
18455
48e44791
JM
18456 [BZ #13824]
18457 * math/e_exp2l.c: Include <float.h>.
18458 (__ieee754_exp2l): Handle overflow and underflow cases
18459 separately. Only pass fractional part of argument to
18460 __ieee754_expl.
18461 * math/libm-test.inc (exp2_test): Add more tests.
18462
c0df8e69
JM
18463 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18464 negating x to take absolute value.
18465 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18466 Likewise.
18467 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18468 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18469 Likewise.
18470 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18471 computing low part if x was negated.
18472 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18473
c8e43ba7
L
184742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18475
18476 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18477 la_x32_gnu_pltexit.
18478 (pltexit): Cast int_retval to ptrdiff_t.
18479 * elf/tst-auditmod3b.c: Likewise.
18480 * elf/tst-auditmod4b.c: Likewise.
18481 * elf/tst-auditmod5b.c: Likewise.
18482 * elf/tst-auditmod6b.c: Likewise.
18483 * elf/tst-auditmod6c.c: Likewise.
18484 * elf/tst-auditmod7b.c: Likewise.
18485
18486 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18487 and x32_gnu_pltexit.
18488
18489 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18490 __ELF_NATIVE_CLASS.
18491 (La_x32_regs): New macro.
18492 (La_x32_retval): Likewise.
18493 (la_x32_gnu_pltenter): New function prototype.
18494 (la_x32_gnu_pltexit): Likewise.
18495
7998fa78
AS
184962012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18497
dcb33988
AS
18498 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18499 exponent.
18500
233fc563
AS
18501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18502
7998fa78
AS
18503 * configure.in (libc_cv_cc_nofma): Check for option to disable
18504 generation of FMA instructions.
18505 * configure: Regenerate.
18506 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18507 * sysdeps/ieee754/dbl-64/Makefile: New file.
18508 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18509 Remove brandred-fma4.
18510 (CFLAGS-brandred-fma4.c): Remove.
18511 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18512 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18513 define.
18514 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18515 define.
18516
8e95c99a
L
185172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18518
18519 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18520 LLONG_MAX != LONG_MAX.
18521 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18522 (_fitoa_word): Likewise.
18523 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18524 LLONG_MAX != LONG_MAX.
18525 * stdio-common/_itowa.h: Include <_itoa.h>.
18526 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18527 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18528 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18529 only if not defined.
18530 (_ITOA_WORD_TYPE): Likewise.
18531 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18532 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18533
6f4db457
DM
185342012-03-21 David S. Miller <davem@davemloft.net>
18535
18536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18537
7785fe5a
L
185382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18539
18540 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18541 of x86_64 when setting libc_cv_slibdir, libdir and
18542 libc_cv_localedir.
18543 * sysdeps/unix/sysv/linux/configure: Regenerated.
18544
4535cd55
JM
185452012-03-21 Joseph Myers <joseph@codesourcery.com>
18546
18547 * manual/lang.texi (Old Varargs): Remove section.
18548 (How Variadic): Update menu.
18549 (va_start): Do not mention varargs.h.
18550
17228132
TS
185512012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18552 Joseph Myers <joseph@codesourcery.com>
18553
18554 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18555 link test.
18556 * configure: Regenerated.
18557
8149f976
TS
185582012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18559
05f3d1f6
UD
18560 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18561 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18562 conformtest.pl
8149f976 18563
1a4ac776
JM
185642012-03-21 Joseph Myers <joseph@codesourcery.com>
18565
be22ce65
JM
18566 * NOTES: Remove.
18567 * Makefile (files-for-dist): Remove NOTES.
18568 (NOTES): Remove rule.
18569 * README: Don't refer to NOTES.
18570 * manual/creature.texi: Don't include macros.texi.
18571 * manual/intro.texi (creature.texi): Remove comment referring to
18572 NOTES.
18573
40b601fb
JM
18574 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18575 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18576 * configure: Regenerated.
18577 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18578 LIBC_TRY_CC_OPTION.
18579 (libc_cv_as_i686): Likewise.
18580 (libc_cv_cc_avx): Likewise.
18581 (libc_cv_cc_sse2avx): Likewise.
18582 (libc_cv_cc_fma4): Likewise.
18583 (libc_cv_cc_novzeroupper): Likewise.
18584 * sysdeps/i386/configure: Regenerated.
18585
1a4ac776
JM
18586 [BZ #13883]
18587 * sysdeps/i386/fpu/s_cexp.S: Remove.
18588 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18589 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18590 * math/libm-test.inc (cexp_test): Add more tests.
18591 * sysdeps/i386/fpu/libm-test-ulps: Update.
18592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18593
a458e7fe
AM
185942012-03-21 Allan McRae <allan@archlinux.org>
18595
18596 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18597
0cb7efc5
JM
185982012-03-21 Joseph Myers <joseph@codesourcery.com>
18599
18600 [BZ #13871]
18601 * math/w_exp2.c: Do not include <float.h>.
18602 (o_threshold, u_threshold): Remove.
18603 (__exp2): Calculate result before checking finiteness and calling
18604 __kernel_standard.
18605 * math/w_exp2f.c: Likewise.
18606 * math/w_exp2l.c: Likewise.
18607 * math/libm-test.inc (exp2_test): Require overflow exception for
18608 1e6 input.
2460d3aa
JM
18609
18610 [BZ #3866]
18611 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18612 range of signed 64-bit integers before using fistpll. Remove
18613 checks for whether integers fit in mantissa bits.
18614 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18615 the range of signed 32-bit integers before using fistpl. Remove
18616 checks for whether integers fit in mantissa bits.
18617 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18618 (__ieee754_powl): Test for y outside the range of signed 64-bit
18619 integers before using fistpll. Reduce 64-bit values to 63-bit
18620 ones as needed.
18621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18622 divide-by-zero is raised for zero to large negative powers.
18623 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18624 (__ieee754_powl): Test for y outside the range of signed 64-bit
18625 integers before using fistpll. Reduce 64-bit values to 63-bit
18626 ones as needed.
18627 * math/libm-test.inc (pow_test): Add more tests.
18628
eb96ffb0
L
186292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18630
18631 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18632 <stdio-common/_itoa.h>.
18633 * debug/segfault.c: Likewise.
18634 * elf/dl-cache.c: Likewise.
18635 * elf/dl-minimal.c: Likewise.
18636 * elf/dl-misc.c: Likewise.
18637 * elf/dl-sysdep.c: Likewise.
18638 * elf/dl-version.c: Likewise.
18639 * elf/rtld.c: Likewise.
18640 * hurd/hurdsock.c: Likewise.
18641 * hurd/lookup-retry.c: Likewise.
18642 * malloc/malloc.c: Likewise.
18643 * malloc/mtrace.c: Likewise.
18644 * nscd/nscd_getgr_r.c: Likewise.
18645 * nscd/nscd_getpw_r.c: Likewise.
18646 * nscd/nscd_getserv_r.c: Likewise.
18647 * posix/getopt_init.c: Likewise.
18648 * posix/wordexp.c: Likewise.
18649 * stdio-common/_itoa.c: Likewise.
18650 * stdio-common/printf_fphex.c: Likewise.
18651 * stdio-common/vfprintf.c: Likewise.
18652 * string/_strerror.c: Likewise.
18653 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18654 * sysdeps/i386/i686/hp-timing.h: Likewise.
18655 * sysdeps/mach/_strerror.c: Likewise.
18656 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18657 * sysdeps/mach/hurd/sethostid.c: Likewise.
18658 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18659 * sysdeps/mach/xpg-strerror.c: Likewise.
18660 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18661 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18662 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18663 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18664 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18665 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18666 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18667 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18668 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18669 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18670 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18671 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18672 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18673 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18674 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18675 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18676 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18677 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18678 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18679 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18680 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18681
18682 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18683
18684 * stdio-common/_itoa.h: Moved to ...
18685 * sysdeps/generic/_itoa.h: Here.
18686
18687 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18688
18689 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18690 instead of "_itoa.h" and "_itowa.h".
18691 * stdio-common/vfprintf.: Likewise.
18692
d1af992d
L
186932012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18694
18695 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18696 <bits/wordsize.h>.
18697 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18698 (__signbit): Likwise.
18699 (llrintf): Likwise.
18700 (llrint): Likwise.
18701
114883e0
L
187022012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18703
18704 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18705 __WORDSIZE != 64.
18706
c135cc1b
JM
187072012-03-20 Joseph Myers <joseph@codesourcery.com>
18708
18709 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18710 OVERFLOW_EXCEPTION_OK.
18711 * math/libm-test.inc ("Philosophy"): Update comment about
18712 exception testing.
18713 (OVERFLOW_EXCEPTION): Define.
18714 (OVERFLOW_EXCEPTION_OK): Likewise.
18715 (INVALID_EXCEPTION_OK): Renumber.
18716 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18717 (IGNORE_ZERO_INF_SIGN): Likewise.
18718 (test_exceptions): Handle FE_OVERFLOW.
18719 (exp10_test): Expect overflow exceptions.
18720 (exp2_test): Likewise.
18721 (expm1_test): Likewise.
18722 (nextafter_test): Likewise.
18723 (pow_test): Likewise.
18724 (scalbn_test): Likewise.
18725 (scalbln_test): Likewise.
18726
95443d88
L
187272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18728
18729 * sysdeps/x86_64/bits/atomic.h
18730 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18731 64bit integer.
18732 (atomic_exchange_acq): Likewise.
18733 (__arch_exchange_and_add_body): Likewise.
18734 (__arch_add_body): Likewise.
18735 (atomic_add_negative): Likewise.
18736 (atomic_add_zero): Likewise.
18737
490df6c4
L
187382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18739
c2722551 18740 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18741 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18742
5e52b189
L
187432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18744
18745 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18746 Check __x86_64__ instead of __WORDSIZE.
18747
a9879d4c
L
187482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18749
18750 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18751
5df98260
DM
187522012-03-19 David S. Miller <davem@davemloft.net>
18753
e1497744
DM
18754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18755
5df98260
DM
18756 * sysdeps/sparc/fpu/fenv_private.h: New file.
18757 * sysdeps/sparc/fpu/math_private.h: Use it.
18758 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18759 Remove.
18760 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18761 (libc_feholdexcept_setroundl): Remove.
18762 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18763 Remove.
18764 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18765 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18766
b4c35121
L
187672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18768
18769 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18770 int64_t instead of long int.
18771 (INSERT_WORDS64): Likwise.
18772
56965fd7
L
187732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18774
18775 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18776 _Unwind_GetCFA return to _Unwind_Ptr first.
18777
83d1aec8
JM
187782012-03-19 Joseph Myers <joseph@codesourcery.com>
18779
1897ad44
JM
18780 [BZ #13629]
18781 * math/s_clog.c: Include <float.h>.
18782 (__clog): Scale large or subnormal inputs.
18783 * math/s_clogf.c: Likewise.
18784 * math/s_clogl.c: Likewise.
18785 * math/s_clog10.c: Include <float.h>.
18786 (M_LOG10_2): Define.
18787 (__clog10): Scale large or subnormal inputs.
18788 * math/s_clog10f.c: Likewise.
18789 * math/s_clog10l.c: Likewise.
18790 * math/libm-test.inc (clog_test): Add more tests.
18791 (clog10_test): Likewise.
18792 * sysdeps/i386/fpu/libm-test-ulps: Update.
18793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18794
7726d6a9
JM
18795 [BZ #11451]
18796 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18797 x and y.
18798 * math/libm-test.inc (atan2_test): Add another test.
18799
83d1aec8
JM
18800 * Makerules (common-objdir-compile): Remove.
18801 * sysdeps/unix/Makefile (config-generated): Do not add
18802 $(unix-generated) to variable.
18803 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18804 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18805 Remove rule.
18806 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18807 Likewise.
18808 [generic bits/local_lim.h] (before-compile): Do not append to
18809 variable.
18810 [generic bits/local_lim.h] (common-generated): Likewise.
18811 [generic sys/param.h] (before-compile): Do not append to variable.
18812 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18813 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18814 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18815 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18816 include.
18817 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18818 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18819 [generic sys/param.h] ($(addprefix
18820 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18821 [generic sys/param.h] (common-generated): Do not append to
18822 variable.
18823 [generic sys/param.h] (sysdep_headers): Likewise.
18824 [generic bits/errno.h] (before-compile): Do not append to
18825 variable.
18826 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18827 rule.
18828 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18829 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18830 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18831 [generic bits/errno.h] (common-generated): Do not append to
18832 variable.
18833 [generic bits/ioctls.h] (before-compile): Do not append to
18834 variable.
18835 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18836 rule.
18837 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18838 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18839 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18840 rule.
18841 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18842 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18843 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18844 [generic bits/ioctls.h] (common-generated): Do not append to
18845 variable.
18846 [generic sys/syscall.h] (syscall.h): Remove variable.
18847 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18848 rule.
18849 [generic sys/syscall.h] (before-compile): Do not append to
18850 variable.
18851 [generic sys/syscall.h] (common-generated): Likewise.
18852 * sysdeps/unix/errnos-tmpl.c: Remove file.
18853 * sysdeps/unix/errnos.awk: Likewise.
18854 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18855 * sysdeps/unix/ioctls.awk: Likewise.
18856 * sysdeps/unix/mk-local_lim.c: Likewise.
18857 * sysdeps/unix/snarf-ioctls: Likewise.
18858
4851a949
RH
188592012-03-19 Richard Henderson <rth@twiddle.net>
18860
bd37f2ee
RH
18861 * sysdeps/i386/fpu/fenv_private.h: New file.
18862 * sysdeps/i386/fpu/math_private.h: Use it.
18863 (math_opt_barrier, math_force_eval): Remove.
18864 (libc_feholdexcept_setround_53bit): Remove.
18865 (libc_feupdateenv_53bit): Remove.
18866 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18867 (math_opt_barrier, math_force_eval): Remove.
18868 (libc_feholdexcept): Remove.
18869 (libc_feholdexcept_setround): Remove.
18870 (libc_fetestexcept, libc_fesetenv): Remove.
18871 (libc_feupdateenv_test): Remove.
18872 (libc_feupdateenv, libc_feholdsetround): Remove.
18873 (libc_feresetround): Remove.
18874
d0adc922
RH
18875 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18876 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18877
0fe0f1f8
RH
18878 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18879 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18880 (libc_feupdateenv_testl): New.
18881 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18882 (libc_feupdateenv_testf): New.
18883 (libc_feupdateenv): Use libc_feupdateenv_test.
18884 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18885 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18886
eb92c487
RH
18887 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18888 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18889 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18890 (libc_feresetround_noex): New.
18891 (libc_feresetround_noexf): New.
18892 (libc_feresetround_noexl): New.
18893 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18894 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18895 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18896 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18897 SET_RESTORE_ROUND.
18898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18899 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18900 (__cos): Likewise.
18901 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18902 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18903 SET_RESTORE_ROUND_NOEX.
18904 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18905 SET_RESTORE_ROUND_NOEXF.
18906 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18907 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18908 (libc_feholdsetroundf): New.
18909 (libc_feresetround, libc_feresetroundf): New.
18910
7d2e8012
RH
18911 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18912 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18913 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18914
b4dabbb4
RH
18915 * sysdeps/generic/math_private.h: Include <fenv.h>.
18916 (default_libc_feholdexcept): New.
18917 (default_libc_feholdexcept_setround): New.
18918 (default_libc_fesetenv, default_libc_feupdateenv): New.
18919 (libc_feholdexcept): Only define if undefined.
18920 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18921 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18922 (libc_feholdexcept_setroundl): Likewise.
18923 (libc_feholdexcept_setround_53bit): Likewise.
18924 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18925 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18926 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18927 (libc_feupdateenv_53bit): Likewise.
18928 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18929 (libc_feholdexcept): Convert from macro to inline function.
18930 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18931 (libc_fesetenv, libc_feupdateenv): Likewise.
18932
4851a949
RH
18933 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18934 not previously defined.
18935 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18936 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18937 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18938 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18939 * sysdeps/ieee754/flt-32/math_private.h: New file.
18940 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18941 math_private.h below SET_FLOAT_WORD.
18942 (__isnan, __isinf_ns, __finite): Remove.
18943 (__isnanf, __isinf_nsf, __finitef): Remove.
18944
e79d442e
AS
189452012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18946
18947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18948
90b80344
DM
189492012-03-17 David S. Miller <davem@davemloft.net>
18950
18951 [BZ #6471]
18952 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18953 for 2.16.
18954
edc21804
DM
189552012-03-16 David S. Miller <davem@davemloft.net>
18956
77e927af
DM
18957 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18958 warnings.
18959
374976dd
DM
18960 [BZ #6471]
18961 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18962 properly.
18963 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18964 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18965 sysdep_routines when subdir is sysvipc.
18966 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18967 __getshmlba helper.
18968
edc21804
DM
18969 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18970
473c3ef3
L
189712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18972
18973 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18974 [__LP64__].
18975
eb0f39b6
L
189762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18977
18978 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18979 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18980 (__lround): Renamed to ...
18981 (__llround): This. Replace long int with long long int.
18982 Define lround functions as aliases of llround functions.
18983 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18984
6b6cd74b
L
189852012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18986
18987 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18988 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18989 adresses to uintptr_t. Replace "long int" and "unsigned long
18990 int" with "greg_t" on va_arg.
18991
f1a77b01
L
189922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18993
18994 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18995 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18996
18997 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18998 Move e_machine check before EI_CLASS check. Handle x32
18999 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
19000 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
19001 SKIP_EM_IA_64 and include
19002 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
19003
19004 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
19005 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
19006 (add_system_dir): New macro.
19007
19008 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
19009 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
19010
11b90b9f
JM
190112012-03-16 Joseph Myers <joseph@codesourcery.com>
19012
c36e1d23
JM
19013 [BZ #2551]
19014 [BZ #2552]
19015 [BZ #2553]
19016 [BZ #2554]
19017 [BZ #2562]
19018 [BZ #2563]
19019 [BZ #2565]
19020 [BZ #2566]
19021 [BZ #2576]
19022 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
19023 (y0): Likewise.
19024 * math/w_j0f.c (j0f): Likewise.
19025 (y0f): Likewise.
19026 * math/w_j0l.c (__j0l): Likewise.
19027 (__y0l): Likewise.
19028 * math/w_j1.c (j1): Likewise.
19029 (y1): Likewise.
19030 * math/w_j1f.c (j1f): Likewise.
19031 (y1f): Likewise.
19032 * math/w_j1l.c (__j1l): Likewise.
19033 (__y1l): Likewise.
19034 * math/w_jn.c (jn): Likewise.
19035 (yn): Likewise.
19036 * math/w_jnf.c (jnf): Likewise.
19037 (ynf): Likewise.
19038 * math/w_jnl.c (__jnl): Likewise.
19039 (__ynl): Likewise.
19040 * math/libm-test.inc (j0_test): Add more tests.
19041 (j1_test): Likewise.
19042 (jn_test): Likewise. Add trailing semicolon to existing test.
19043 (y0_test): Likewise.
19044 (y1_test): Likewise.
19045 * sysdeps/i386/fpu/libm-test-ulps: Update.
19046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19047
11b90b9f
JM
19048 [BZ #13851]
19049 [BZ #13854]
19050 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19051 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
19052 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
19053 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
19054 (__tanl): Set errno for infinite argument.
19055 * sysdeps/i386/fpu/mptan.c: Remove.
19056 * sysdeps/i386/fpu/s_tan.S: Likewise.
19057 * sysdeps/i386/fpu/s_tanl.S: Likewise.
19058 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
19059 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
19060 * math/libm-test.inc (tan_test): Add more tests and enable more
19061 tests for double and long double.
19062 * sysdeps/i386/fpu/libm-test-ulps: Update.
19063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19064
6a1bd2a1
JK
190652012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
19066
19067 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
19068 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
19069
10a803e0
RM
190702012-03-16 Roland McGrath <roland@hack.frob.com>
19071
19072 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
19073 * configure.in: Use it for both main tree and add-ons.
19074 * configure: Regenerated.
19075
f196c7f7
L
190762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19077
19078 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
19079
8848d99d
JM
190802012-03-16 Joseph Myers <joseph@codesourcery.com>
19081
96cbe7f4
JM
19082 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
19083 in comment.
19084
8848d99d
JM
19085 [BZ #13851]
19086 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
19087 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
19088 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
19089 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
19090 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
19091 infinite argument.
19092 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
19093 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
19094 != 0 for prec == 2.
19095 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
19096 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
19097 * sysdeps/i386/fpu/s_cosl.S: Likewise.
19098 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
19099 * sysdeps/i386/fpu/s_sinl.S: Likewise.
19100 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
19101 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
19102 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
19103 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
19104 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
19105 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
19106 * math/libm-test.inc (cos_test): Add more tests and enable more
19107 tests for long double.
19108 (sin_test): Likewise.
19109 (sincos_test): Likewise.
19110 * sysdeps/i386/fpu/libm-test-ulps: Update.
19111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19112
dd7f4703
DM
191132012-03-16 David S. Miller <davem@davemloft.net>
19114
19115 * sysdeps/sparc/fpu/math_private.h: New file.
19116
006f1daa
DM
191172012-03-15 David S. Miller <davem@davemloft.net>
19118
c0c83bc8
DM
19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
19120 file.
e6a62e18 19121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
19123 file.
e6a62e18
DM
19124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
19130 sysdep routines.
19131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19132
88cb87d9
DM
19133 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
19134 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
19135
006f1daa 19136 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
19138 sparc-ifunc.h
006f1daa 19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
19141 Likewise.
19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
19143 Likewise.
006f1daa
DM
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19148 Likewise.
006f1daa
DM
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
19154 Likewise.
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
19156 Likewise.
006f1daa
DM
19157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
19159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
19161 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19162 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19163 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
19164 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
19165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
19168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
19169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
19170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
19171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
19172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
19173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
19174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
19175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
19176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
19181
11e0098e
AS
191822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19183
19184 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19185 scaling.
19186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19187
e85b09d0
AJ
191882012-03-15 Andreas Jaeger <aj@suse.de>
19189
19190 [BZ #13852]
19191 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19192 ieee754/flt-32 implementation for sin, cos and sincos.
19193 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19194 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19195 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19196 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19197 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19198 ieee754/flt-32 implementation for tan.
19199
19200 * math/libm-test.inc (cos_test): Enable some large input tests for
19201 float as well
19202 (sin_test): Likewise.
19203 (sincos_test): Likewise.
19204 (tan_test): Add tests for large input.
19205
19206 * sysdeps/i386/fpu/libm-test-ulps: Update.
19207
81c64153
AJ
192082012-03-15 Andreas Jaeger <aj@suse.de>
19209
19210 [BZ #13658]
19211 * math/libm-test.inc (cos_test): Add more test cases.
19212 (sin_test): Likewise.
19213 (sincos_test): Likewise.
19214
7bbfa5c6
AJ
192152012-03-15 Andreas Jaeger <aj@suse.de>
19216
19217 [BZ #13837]
19218 * math/libm-test.inc (cos_test): Add a test case for large input
19219 value.
19220 (sin_test): Likewise.
19221 (sincos_test): Likewise.
19222
192232012-03-15 Andreas Jaeger <aj@suse.de>,
19224 Joseph Myers <joseph@codesourcery.com>
19225
19226 [BZ #13658]
0671f479 19227 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19228 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19229 * sysdeps/i386/fpu/branred.c: Likewise.
19230 * sysdeps/i386/fpu/dosincos.c: Likewise.
19231 * sysdeps/i386/fpu/mpa.c: Likewise.
19232 * sysdeps/i386/fpu/s_cos.S: Likewise.
19233 * sysdeps/i386/fpu/s_sin.S: Likewise.
19234 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19235 * sysdeps/i386/fpu/sincos32.c: Likewise.
19236
19237 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19238 Define.
19239 (libc_feupdateenv_53bit): Define.
19240 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19241 Define.
19242 (libc_feupdateenv_53bit): Define.
19243
19244 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19245 53 bit (without extend i386 double precision).
19246
19247 * math/libm-test.inc (sincos_test): Add tests for large input.
19248 (sin): Likewise.
19249 (cos): Likewise.
19250
19251 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19252
9cad04ea
AS
192532012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19254
19255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19256
f7062b9a
DM
192572012-03-15 David S. Miller <davem@davemloft.net>
19258
19259 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19260 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19261 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19262 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19271 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19272 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19273 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19275 file.
f7062b9a 19276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19278 file.
f7062b9a 19279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19281 file.
f7062b9a 19282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19284 file.
f7062b9a
DM
19285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19287 fmin/fmax sysdep routines.
19288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19289
7bd951ff
DM
192902012-03-14 David S. Miller <davem@davemloft.net>
19291
559398ab
DM
19292 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19293 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19299 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19300 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19308 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19309 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19310 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19312 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19313 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19314 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19315 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19316 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19317 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19318 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19321 routines.
19322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19323 file.
559398ab 19324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19326 file.
559398ab 19327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19329 file.
559398ab 19330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19332 file.
559398ab 19333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19335 file.
559398ab 19336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19338 file.
19339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19340 file.
19341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19342 file.
19343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19344 file.
19345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19346 New file.
19347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19348 file.
19349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19350 file.
559398ab 19351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19353 file.
559398ab 19354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19356 file.
559398ab 19357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19359 file.
559398ab 19360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19362 VIS3 routines.
559398ab
DM
19363
19364 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19365 New file.
19366
5a1c1e32
DM
19367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19368
eae47a36
DM
19369 * sysdeps/sparc/configure.in: New file.
19370 * sysdeps/sparc/configure: Generate.
19371 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19372 * configure: Regenerate.
19373 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19374 * config.make.in (have-as-vis3): New.
19375 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19376 available use -Av9d instead of -Av9a.
19377 * sysdeps/sparc/sparc64/Makefile: Likewise.
19378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
19379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19380 New file.
19381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19382 file.
19383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19384 New file.
19385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19386 file.
eae47a36
DM
19387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19391 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19392
c0c83bc8
DM
19393 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19394 fzeros/fnegs to load 0x80000000 into a float register instead of
19395 using the stack.
7bd951ff
DM
19396 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19397
bd951ccb
JM
193982012-03-14 Joseph Myers <joseph@codesourcery.com>
19399
19400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19401 bits/syscall.h.
19402 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19403 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19404 ($(inst_includedir)/bits/syscall.h): Remove rule.
19405 ($(objpfx)bits/syscall.d): Include instead of
19406 $(objpfx)syscall-list.d.
19407 (generated): Change syscall-list.h and syscall-list.d to
19408 bits/syscall.h and bits/syscall.d.
19409
bb4e6db2
RM
194102012-03-14 Roland McGrath <roland@hack.frob.com>
19411
19412 [BZ #13846]
19413 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19414
aa4a2ae1
JM
194152012-03-14 Joseph Myers <joseph@codesourcery.com>
19416
e456826d
JM
19417 [BZ #13841]
19418 * math/s_csqrt.c: Include <float.h>.
19419 (__csqrt): Scale large or subnormal inputs.
19420 * math/s_csqrtf.c: Likewise.
19421 * math/s_csqrtl.c: Likewise.
19422 * math/libm-test.inc (csqrt_test): Add more tests.
19423 * sysdeps/i386/fpu/libm-test-ulps: Update.
19424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19425
aa4a2ae1
JM
19426 [BZ #13840]
19427 * math/libm-test.inc (hypot_test): Add more tests.
19428
7c10fd35
DM
194292012-03-13 David S. Miller <davem@davemloft.net>
19430
19431 [BZ #13840]
19432 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19433 double-precision for the calculation instead of scaling.
19434
f453b98b
JM
194352012-03-13 Joseph Myers <joseph@codesourcery.com>
19436
19437 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19438 manipulate bits before adding and subtracting TWO52[sx].
19439 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19440 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19441 Likewise.
19442 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19443
09a3453f
DM
194442012-03-13 David S. Miller <davem@davemloft.net>
19445
8e59da90
DM
19446 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19447 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19448 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19449 rtld-global-offsets.h
19450 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19451
2a8ab7f2
DM
19452 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19453 large parameters.
19454
10f62770
DM
19455 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19456
5f0bdb18
DM
19457 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19458 'err' in the ifdef scope in which it is actually used.
19459
09a3453f
DM
19460 * nss/nss_db/db-init.c: Include string.h
19461
b4b2eb5e
DM
194622012-03-12 David S. Miller <davem@davemloft.net>
19463
98bb2f1c
DM
19464 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19465 masking out of the most significant byte of random value used.
19466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19467 Fix coding style in previous change.
19468
b4b2eb5e
DM
19469 * sysdeps/unix/sysv/linux/kernel-features.h
19470 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19471 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19472 expression.
19473 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19474 later.
19475
6e226b09
DM
194762012-03-11 David S. Miller <davem@davemloft.net>
19477
a1bcbd40
DM
19478 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19479 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19481 for 'resultvar' otherwise things get truncated on 64-bit.
19482
cb9d6174
DM
19483 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19484 Fix masking out of the most significant byte of random value used.
19485
6e226b09
DM
19486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19487
058c132d
AS
194882012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19489
19490 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19491
2d2cd515
DM
194922012-03-09 David S. Miller <davem@davemloft.net>
19493
19494 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19495 variables with appropriate CPP guards.
19496 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19497 frame pointer, not the stack pointer. Correct layout comments. Fix test
19498 on resulting framesize and the management of the outregs buffer for pltexit.
19499 Preserve floating point return values across _dl_call_pltexit call.
19500 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19501 framesize and the management of the outregs buffer for pltexit.
19502 Preserve floating point return values across _dl_call_pltexit
19503 call.
19504 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19505 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19506 (print_exit): Fix format string for return register value.
19507
9a07f9d0
JM
195082012-03-10 Joseph Myers <joseph@codesourcery.com>
19509
19510 * sunrpc/Makefile (others): Add rpcgen.
19511 ($(objpfx)rpcgen): Remove special build rule and dependency on
19512 libc.
19513 * sunrpc/rpcgen.c: New file.
19514
547b5e30
PE
195152012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19516
c524201a
PE
19517 [BZ #13673]
19518 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19519 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19520 * sysdeps/i386/crti.S: Likewise.
19521 * sysdeps/i386/crtn.S: Likewise.
19522 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19523 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19524 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19525 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19526 * sysdeps/sh/crti.S: Likewise.
19527 * sysdeps/sh/crtn.S: Likewise.
19528 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19529
7b6235f2
PE
19530 [BZ #13673]
19531 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19532 with URL.
19533 * locale/programs/locfile-kw.gperf: Likewise.
19534 * locale/programs/charmap-kw.h: Regenerated.
19535 * locale/programs/locfile-kw.h: Likewise.
19536
547b5e30
PE
19537 [BZ #13673]
19538 * intl/plural.y: Replace FSF snail mail address with URL.
19539 * intl/plural.c: Regenerated.
19540
5f0a5dae
RH
195412012-03-09 Richard Henderson <rth@twiddle.net>
19542
19543 * include/math_private.h: Remove file.
19544 * math/math_private.h: Move file ...
19545 * sysdeps/generic/math_private.h: ... here.
19546
b8c03620
RH
19547 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19548 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19549 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19550
4e234f5d 19551 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19552 and <math_private.h>.
19553 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19554 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19555 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19556 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19557 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19559 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19560 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19561 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19562 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19563 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19564 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19566 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19568 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19569 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19570 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19571 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19572 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19574 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19575 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19576 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19577 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19582 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19583 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19584 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19585 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19586 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19587 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19588 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19589 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19590 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19591 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19592 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19593 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19594 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19596 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19597 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19598 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19599 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19600 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19601 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19602 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19603 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19604 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19605 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19606 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19607 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19608 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19609 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19610 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19611 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19612 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19613 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19614 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19615 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19616 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19617 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19618 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19619 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19620 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19621 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19622 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19623 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19624 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19625 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19626 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19627 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19629 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19630 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19632 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19633 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19634 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19635 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19636 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19638 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19639 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19640 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19641 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19642 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19643 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19644 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19645 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19646 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19647 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19648 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19649 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19650 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19651 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19652 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19653 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19654 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19655 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19656 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19658 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19659 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19660 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19661 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19662 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19663 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19664 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19665 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19666 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19667 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19668 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19669 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19670 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19671 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19672 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19673 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19674 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19675 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19676 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19677 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19678 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19679 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19680 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19681 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19682 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19683 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19684 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19685 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19686 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19687 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19688 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19689 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19690 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19691 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19692 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19693 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19694 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19695 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19696 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19697 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19698 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19699 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19700 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19701 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19702 * sysdeps/ieee754/k_standard.c: Likewise.
19703 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19704 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19705 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19706 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19707 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19708 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19709 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19710 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19711 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19712 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19713 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19714 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19715 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19716 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19722 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19723 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19724 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19725 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19726 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19727 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19728 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19729 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19730 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19731 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19733 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19735 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19736 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19739 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19742 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19743 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19744 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19745 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19746 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19747 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19748 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19749 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19751 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19752 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19753 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19754 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19755 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19756 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19757 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19758 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19759 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19760 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19761 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19762 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19763 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19764 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19765 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19766 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19769 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19770 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19774 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19775 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19776 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19777 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19779 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19780 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19781 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19782 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19783 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19784 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19785 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19787 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19788 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19789 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19790 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19791 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19793 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19794 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19795 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19796 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19797 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19798 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19799 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19800 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19801 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19802 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19803 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19804 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19805 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19806 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19807 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19808 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19809 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19810 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19812 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19813 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19814 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19815 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19816 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19817 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19818 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19819 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19820 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19821 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19822 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19823 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19824 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19825 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19826 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19827 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19828 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19829 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19830 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19831 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19833 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19834 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19835 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19836 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19837 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19838 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19839 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19840 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19841 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19842 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19843 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19844 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19845 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19846 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19847 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19848 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19849 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19850 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19851 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19852 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19853 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19854 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19855 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19856 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19858 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19860 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19861 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19863 * sysdeps/ieee754/s_lib_version.c: Likewise.
19864 * sysdeps/ieee754/s_matherr.c: Likewise.
19865 * sysdeps/ieee754/s_signgam.c: Likewise.
19866 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19867 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19868 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19869 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19870 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19871 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19872 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19873 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19874 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19875 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19876 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19877 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19878 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19879 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19880 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19881 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19882 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19883 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19884 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19885 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19886 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19887
1991fa03
JM
198882012-03-09 Joseph Myers <joseph@codesourcery.com>
19889
19890 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19891 * sunrpc/rpc_main.c: Likewise.
19892 * sunrpc/rpc_svcout.c: Likewise.
19893
60d6f5a6
DM
198942012-03-09 David S. Miller <davem@davemloft.net>
19895
19896 * include/math_private.h: New file.
19897
4962050e
JM
198982012-03-09 Joseph Myers <joseph@codesourcery.com>
19899
02a6f887
JM
19900 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19901 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19902 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19903 from <bits/socket_type.h>.
19904 (enum __socket_type): Don't define here.
19905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19907 bits/socket_type.h.
19908
c6e013c1
JM
19909 [BZ #13566]
19910 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19911 checking __USE_GNU.
19912
4962050e
JM
19913 * Makerules ($(inst_includedir)/%.h): New rule.
19914 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19915 (install-others): Remove variable setting.
19916 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19917
38842f45
RH
199182012-03-08 Richard Henderson <rth@twiddle.net>
19919
67bb6da6
RH
19920 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19921 from macro to inline function; merge with the
19922 !__LIBC_INTERNAL_MATH_INLINES version.
19923 (__ieee754_sqrtf): Likewise.
19924
15194b4b
RH
19925 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19926 to inline function.
19927 (__rintf, __floor, __floorf): Likewise.
19928
64e21ede
RH
19929 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19930 macro to inline function.
19931 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19932
38842f45
RH
19933 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19934 not <math/math_private.h>.
19935
c64bf5fe
DM
199362012-03-08 David S. Miller <davem@davemloft.net>
19937
19938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19939 copyright year.
19940 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19941
82d86f28
TS
199422012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19943
19944 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19945 normalization.
19946 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19947 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19948
aea5d727
UD
199492012-03-08 Ulrich Drepper <drepper@gmail.com>
19950
19951 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19952 be defined individually, they must be defined as a block. Define
19953 S for printing a string instead of hidint the different by using a
19954 macro for adding the 'l'.
19955 * stdio-common/tst-fphex-wide.c: Adjust.
19956
70bca0a3
MP
199572012-03-07 Marek Polacek <polacek@redhat.com>
19958
19959 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19960
65b81130
MP
199612012-03-08 Marek Polacek <polacek@redhat.com>
19962
19963 [BZ #13806]
19964 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19965 * stdio-common/tst-fphex.c: Define a few macros to make the
19966 test reusable. Use them.
19967 * stdio-common/tst-fphex-wide.c: New file.
19968
07037eeb
JM
199692012-03-08 Joseph Myers <joseph@codesourcery.com>
19970
a7a93d50
JM
19971 [BZ #6911]
19972 * manual/macros.texi (gnusystems): New macro.
19973 (nongnusystems): Likewise.
19974 (gnulinuxhurdsystems): Likewise.
19975 (gnuhurdsystems): Likewise..
19976 (gnulinuxsystems): Likewise.
19977 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19978 variants of the GNU system, not "GNU system".
19979 * manual/conf.texi: Likewise.
19980 * manual/errno.texi: Likewise. Update example of errno macro
19981 expansion.
19982 * manual/filesys.texi: Likewise.
19983 (getumask): Document as specific to GNU/Hurd.
19984 * manual/install.texi: Likewise. Reword some references to
19985 GNU/Linux.
19986 * manual/intro.texi: Likewise.
19987 * manual/io.texi: Likewise.
19988 (File Name Portability): Detail which constraints are inapplicable
19989 to all GNU systems and which are only inapplicable to GNU/Hurd.
19990 * manual/job.texi: Likewise.
19991 * manual/llio.texi: Likewise.
19992 (O_NOCTTY): Document as present on GNU/Linux.
19993 * manual/maint.texi: Likewise.
19994 * manual/memory.texi: Likewise.
19995 * manual/pattern.texi: Likewise.
19996 * manual/pipe.texi: Likewise.
19997 * manual/process.texi: Likewise.
19998 * manual/resource.texi: Likewise.
19999 (RUSAGE_CHILDREN): Remove statement about specifying a particular
20000 child on GNU/Hurd.
20001 * manual/setjmp.texi: Likewise.
20002 * manual/signal.texi: Likewise.
20003 * manual/startup.texi: Likewise.
20004 * manual/stdio.texi: Likewise.
20005 * manual/terminal.texi: Likewise.
20006 (ONLCR): Document as POSIX.
20007 (OXTABS): Document availability on GNU/Linux as XTABS.
20008 (ONOEOT): Document availability separately from other bits.
20009 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
20010 * manual/time.texi: Likewise.
20011 * manual/users.texi: Likewise.
20012 * INSTALL: Regenerated.
20013 * sysdeps/gnu/errlist.c: Regenerated.
20014
07037eeb
JM
20015 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
20016 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
20017 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
20018 puts.
20019 * configure: Regenerated.
20020
d1d3431a
JM
200212012-03-07 Joseph Myers <joseph@codesourcery.com>
20022
af6a1e37
JM
20023 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
20024 default includes instead of AC_HEADER_CHECK.
20025 * sysdeps/i386/configure: Regenerated.
20026
d1d3431a
JM
20027 [BZ #10716]
20028 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
20029 * math/s_cacoshf.c (__cacoshf): Likewise.
20030 * math/s_cacoshl.c (__cacoshl): Likewise.
20031 * math/s_casinh.c (__casinh): Set signs of result from argument.
20032 * math/s_casinhf.c (__casinhf): Likewise.
20033 * math/s_casinhl.c (__casinhl): Likewise.
20034 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
20035 (casinh_test): Add more tests.
20036 * sysdeps/i386/fpu/libm-test-ulps: Update.
20037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20038
482ff4da
UD
200392012-03-07 Ulrich Drepper <drepper@gmail.com>
20040
872fda05
UD
20041 * po/zh_TW.po: Update from translation team.
20042
a4300c7a
UD
20043 * login/Makefile (distribute): Remove variable.
20044 * catgets/Makefile: Likewise.
20045 * mach/Makefile: Likewise.
20046 * malloc/Makefile: Likewise.
20047 * misc/Makefile: Likewise.
20048 * iconv/Makefile: Likewise.
20049 * nscd/Makefile: Likewise.
20050 * hurd/Makefile: Likewise.
20051 * manual/Makefile: Likewise.
20052 * locale/Makefile: Likewise.
20053 * intl/Makefile: Likewise.
20054 * conform/Makefile: Likewise.
20055 * nss/Makefile: Likewise.
20056 * time/Makefile: Likewise.
20057 * soft-fp/Makefile: Likewise.
20058 * dirent/Makefile: Likewise.
20059 * gmon/Makefile: Likewise.
20060 * po/Makefile: Likewise.
20061 * rt/Makefile: Likewise.
20062 * socket/Makefile: Likewise.
20063 * math/Makefile: Likewise.
20064 * signal/Makefile: Likewise.
20065 * debug/Makefile: Likewise.
20066 * elf/Makefile: Likewise.
20067 * timezone/Makefile: Likewise.
20068 * stdlib/Makefile: Likewise.
20069 * iconvdata/Makefile: Likewise.
20070 * sunrpc/Makefile: Likewise.
20071 * io/Makefile: Likewise.
20072 * argp/Makefile: Likewise.
20073 * inet/Makefile: Likewise.
20074 * hesiod/Makefile: Likewise.
20075 * grp/Makefile: Likewise.
20076 * csu/Makefile: Likewise.
20077 * wctype/Makefile: Likewise.
20078 * crypt/Makefile: Likewise.
20079 * libio/Makefile: Likewise.
20080 * string/Makefile: Likewise.
20081 * nis/Makefile: Likewise.
20082 * resolv/Makefile: Likewise.
20083 * stdio-common/Makefile: Likewise.
20084 * wcsmbs/Makefile: Likewise.
20085 * dlfcn/Makefile: Likewise.
20086 * posix/Makefile: Likewise.
20087
3b7c4e74 20088 [BZ #6959]
482ff4da
UD
20089 * timezone/Makefile: Don't install timezone files, just the programs
20090 and scripts.
20091
f72ed77d
UD
200922012-03-06 Ulrich Drepper <drepper@gmail.com>
20093
a000466f
UD
20094 * nss/databases.def: Add missing gshadow entry.
20095
f72ed77d
UD
20096 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
20097
a53b7a4e
MP
200982012-03-06 Marek Polacek <polacek@redhat.com>
20099
20100 [BZ #13726]
20101 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
20102 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20103 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
20104 * stdio-common/tst-long-dbl-fphex.c: New file.
20105
e9258400
DM
201062012-03-06 David S. Miller <davem@davemloft.net>
20107
20108 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20109 (set_obp_int): New function.
20110 (get_obp_int): New function.
20111 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
20112 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
20113 Avoid unused variable warnings on 'val' and use builtin_expect.
20114 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
20115 __builtin_expect.
e9258400
DM
20116 (INLINE_CLONE_SYSCALL): Likewise.
20117
3bd2c723
DM
201182012-03-05 David S. Miller <davem@davemloft.net>
20119
20120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20121
bbb78d03
AS
201222012-03-05 Andreas Schwab <schwab@linux-m68k.org>
20123
884c5db4
AS
20124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20125
bbb78d03
AS
20126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
20127 only for |x| >= 40.
20128 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
20129
1c9f702a 201302012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
20131
20132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
20133 Replace gettimeofday with __vdso_gettimeofday.
20134
7be16f82
RM
20135 * sysdeps/unix/sysv/linux/x86_64/init-first.c
20136 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
20137 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
20138
20139 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
20140 time with __vdso_time.
20141
ed58a00f
JM
201422012-03-05 Joseph Myers <joseph@codesourcery.com>
20143
20144 * manual/lang.texi (size_t): Note types to which size_t may be
20145 equivalent with the GNU C Library, but do not describe when
20146 differences between them are significant.
20147
30ee4ced
AJ
201482012-03-05 Andreas Jaeger <aj@suse.de>
20149
20150 * sysdeps/i386/fpu/libm-test-ulps: Update.
20151
b7cd39e8
JM
201522012-03-05 Joseph Myers <joseph@codesourcery.com>
20153
20154 [BZ #3976]
20155 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
20156 (__ieee754_pow): Save and restore rounding mode and use
20157 round-to-nearest for main computations.
20158 * math/libm-test.inc (pow_test_tonearest): New function.
20159 (pow_test_towardzero): Likewise.
20160 (pow_test_downward): Likewise.
20161 (pow_test_upward): Likewise.
20162 (main): Call the new functions.
20163 * sysdeps/i386/fpu/libm-test-ulps: Update.
20164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
20165
20166 [BZ #3976]
20167 * math/libm-test.inc (cosh_test_tonearest): New function.
20168 (cosh_test_towardzero): Likewise.
20169 (cosh_test_downward): Likewise.
20170 (cosh_test_upward): Likewise.
20171 (sinh_test_tonearest): Likewise.
20172 (sinh_test_towardzero): Likewise.
20173 (sinh_test_downward): Likewise.
20174 (sinh_test_upward): Likewise.
20175 (main): Call the new functions.
20176 * sysdeps/i386/fpu/libm-test-ulps: Update.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20178
6c6a98c9
TV
201792012-03-05 Tom de Vries <tom@codesourcery.com>
20180
20181 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
20182 default stack guard is set in last bytes.
20183 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
20184
21bb2d2e 201852012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 20186
21bb2d2e 20187 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 20188
21bb2d2e
AJ
20189 [BZ #13656]
20190 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20191 possibly allocate from heap instead of stack.
20192 * stdio-common/bug-vfprintf-nargs.c: New file.
20193 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 20194
c6922934
AS
201952012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20196
20197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20198
bc957d53
MP
201992012-03-03 Marek Polacek <polacek@redhat.com>
20200
20201 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20202 * math/math_private.h: Likewise.
20203 * stdlib/tst-strtod.c: Likewise.
20204 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20205 * sysdeps/x86_64/bits/atomic.h: Likewise.
20206
6358490d
DM
202072012-03-02 David S. Miller <davem@davemloft.net>
20208
20209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20213 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20214 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20215 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20216 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20217
01ae168d
RM
202182012-03-02 Roland McGrath <roland@hack.frob.com>
20219
d9a17c07
RM
20220 [BZ #13792]
20221 * manual/examples/README: New file, says the example source files
20222 can be used under GPL>=2.
20223 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20224 line containing just "*/".
20225 * manual/examples/add.c: Add copyright header (GPL>=2).
20226 * manual/examples/argp-ex1.c: Likewise.
20227 * manual/examples/argp-ex2.c: Likewise.
20228 * manual/examples/argp-ex3.c: Likewise.
20229 * manual/examples/argp-ex4.c: Likewise.
20230 * manual/examples/atexit.c: Likewise.
20231 * manual/examples/db.c: Likewise.
20232 * manual/examples/dir.c: Likewise.
20233 * manual/examples/dir2.c: Likewise.
20234 * manual/examples/execinfo.c: Likewise.
20235 * manual/examples/filecli.c: Likewise.
20236 * manual/examples/filesrv.c: Likewise.
20237 * manual/examples/fmtmsgexpl.c: Likewise.
20238 * manual/examples/genpass.c: Likewise.
20239 * manual/examples/inetcli.c: Likewise.
20240 * manual/examples/inetsrv.c: Likewise.
20241 * manual/examples/isockad.c: Likewise.
20242 * manual/examples/longopt.c: Likewise.
20243 * manual/examples/memopen.c: Likewise.
20244 * manual/examples/memstrm.c: Likewise.
20245 * manual/examples/mkfsock.c: Likewise.
20246 * manual/examples/mkisock.c: Likewise.
20247 * manual/examples/mygetpass.c: Likewise.
20248 * manual/examples/pipe.c: Likewise.
20249 * manual/examples/popen.c: Likewise.
20250 * manual/examples/rprintf.c: Likewise.
20251 * manual/examples/search.c: Likewise.
20252 * manual/examples/select.c: Likewise.
20253 * manual/examples/setjmp.c: Likewise.
20254 * manual/examples/sigh1.c: Likewise.
20255 * manual/examples/sigusr.c: Likewise.
20256 * manual/examples/stpcpy.c: Likewise.
20257 * manual/examples/strdupa.c: Likewise.
20258 * manual/examples/strftim.c: Likewise.
20259 * manual/examples/strncat.c: Likewise.
20260 * manual/examples/subopt.c: Likewise.
20261 * manual/examples/swapcontext.c: Likewise.
20262 * manual/examples/termios.c: Likewise.
20263 * manual/examples/testopt.c: Likewise.
20264 * manual/examples/testpass.c: Likewise.
20265 * manual/examples/timeval_subtract.c: Likewise.
20266
01ae168d
RM
20267 [BZ #13792]
20268 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20269 function to ...
20270 * manual/timeval_subtract.c.texi: ... here, new file.
20271
49efa33d
DM
202722012-03-02 David S. Miller <davem@davemloft.net>
20273
20274 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20275
28afd92d
JM
202762012-03-02 Joseph Myers <joseph@codesourcery.com>
20277
804360ed
JM
20278 [BZ #3976]
20279 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20280 (__sin): Save and restore rounding mode and use round-to-nearest
20281 for all computations.
20282 (__cos): Save and restore rounding mode and use round-to-nearest
20283 for all computations.
20284 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20285 <fenv.h>.
20286 (tan): Save and restore rounding mode and use round-to-nearest for
20287 all computations.
20288 * math/libm-test.inc (cos_test_tonearest): New function.
20289 (cos_test_towardzero): Likewise.
20290 (cos_test_downward): Likewise.
20291 (cos_test_upward): Likewise.
20292 (sin_test_tonearest): Likewise.
20293 (sin_test_towardzero): Likewise.
20294 (sin_test_downward): Likewise.
20295 (sin_test_upward): Likewise.
20296 (tan_test_tonearest): Likewise.
20297 (tan_test_towardzero): Likewise.
20298 (tan_test_downward): Likewise.
20299 (tan_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
a6d06d7b
JM
20304 [BZ #10135]
20305 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20306 small n, then large n, before computing and testing k+n.
20307 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20308 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20309 Likewise.
20310 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20311 Likewise.
20312 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20313 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20316 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20317 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20318 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20319 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20320 * math/libm-test.inc (scalbn_test): Add more tests.
20321 (scalbln_test): Likewise.
20322
07e12bb3
JM
20323 * manual/filesys.texi (mode_t): Describe constraints on size and
20324 signedness, not exact equivalence to a particular type.
20325 (ino_t): Likewise.
20326 (ino64_t): Likewise.
20327 (dev_t): Likewise.
20328 (nlink_t): Likewise.
20329 (blkcnt_t): Likewise.
20330 (blkcnt64_t): Likewise.
20331 * manual/llio.texi (off_t): Likewise.
20332
28afd92d
JM
20333 [BZ #3976]
20334 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20335 (__ieee754_exp): Save and restore rounding mode and use
20336 round-to-nearest for all computations.
20337 * math/libm-test.inc (exp_test_tonearest): New function.
20338 (exp_test_towardzero): Likewise.
20339 (exp_test_downward): Likewise.
20340 (exp_test_upward): Likewise.
20341 (main): Call the new functions.
20342 * sysdeps/i386/fpu/libm-test-ulps: Update.
20343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20344
b1eeb65d
CD
203452012-03-01 Chris Demetriou <cgd@google.com>
20346
20347 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20348 have predictable order.
20349
53362a4b
DM
203502012-03-01 David S. Miller <davem@davemloft.net>
20351
3c969083
DM
20352 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20353
759707de
DM
20354 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20355 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20356 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20357 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20358
dfdb8ff2
DM
20359 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20360 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20361 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20363 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20364 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20365 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20366 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20367 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20368
ead89f96
DM
20369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20370
7f66bd07
DM
20371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20372 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20373 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20374
53362a4b
DM
20375 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20376 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20377 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20378 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20379 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20382 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20383 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20384 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20385 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20386 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20387 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20388 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20389 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20391 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20392 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20393 * sysdeps/sparc/elf/configure: Regenerated.
20394
7b1902cb
JM
203952012-03-01 Joseph Myers <joseph@codesourcery.com>
20396
bec039bc
JM
20397 * configure.in (AS, LD): Require binutils 2.20 or later.
20398 * configure: Regenerated.
20399 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20400 as required minimum version.
20401 * INSTALL: Regenerated.
20402
7b1902cb
JM
20403 [BZ #2541]
20404 [BZ #4108]
20405 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20406 before squaring exponent.
20407 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20408 bottom long double and 27 bits of top long double before squaring
20409 exponent.
20410 * math/libm-test.inc (erfc_test): Add more tests.
20411 * sysdeps/i386/fpu/libm-test-ulps: Update.
20412 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20414
f775c276
KT
204152012-03-01 Kai Tietz <ktietz@redhat.com>
20416
20417 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20418 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20419 containing bit-fields.
20420 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20421 * soft-fp/single.h (_FP_UNION_S): Likewise.
20422 * soft-fp/double.h (_FP_UNION_D): Likewise.
20423
5b8a4d4a
JM
204242012-02-29 Joseph Myers <joseph@codesourcery.com>
20425
0bab47b6
JM
20426 [BZ #13786]
20427 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20428 not include ../strcmp.S.
20429 [USE_AS_STRNCASECMP_L]: Likewise.
20430 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20431 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20432 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20433 (__strncasecmp_l_ia32): Define as alias to
20434 __strncasecmp_l_nonascii.
20435
0fcad3e2
JM
20436 [BZ #5794]
20437 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20438 * sysdeps/i386/fpu/libm-test-ulps: Update.
20439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20440
5b8a4d4a
JM
20441 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20443
8fdceb2e
JL
204442012-02-29 Jeff Law <law@redhat.com>
20445
20446 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20447 out of bounds read.
20448
1f393a11
MP
204492012-02-29 Marek Polacek <polacek@redhat.com>
20450
20451 [BZ #13706]
20452 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20453 * elf/Makefile: Add rules to run tst-unused-dep.out.
20454
8847f037
DM
204552012-02-28 David S. Miller <davem@davemloft.net>
20456
20457 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20458 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20460 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20461 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20462 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20463
169d7f11
JM
204642012-02-29 Joseph Myers <joseph@codesourcery.com>
20465
20466 * math/libm-test.inc (llround_test): Move one test from
20467 lround_test. Use TEST_f_L in moved test.
20468 (lround_test): Move misplaced test to llround_test. Add testcase
20469 from bug 2561.
20470
39adf059
UD
204712012-02-28 Ulrich Drepper <drepper@gmail.com>
20472
20473 * sysdeps/x86_64/fpu/e_expf.S: New file.
20474 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20475
71b5d1c5
SB
204762012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20477
20478 [BZ #13637]
20479 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20480 of remain_len that may cause incomplete multi-byte character and
20481 false match.
20482 * posix/bug-regex33.c: New file.
20483 * posix/Makefile (tests): Add bug-regex33.
20484
1f77f049
JM
204852012-02-28 Joseph Myers <joseph@codesourcery.com>
20486
20487 * manual/macros.texi: New file.
20488 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20489 * manual/libc.texinfo: Include macros.texi.
20490 * manual/creatute.texi: Likewise.
20491 * manual/install.texi: Likewise.
20492 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20493 @glibcadj{} in references to the GNU C Library.
20494 * manual/charset.texi: Likewise.
20495 * manual/conf.texi: Likewise.
20496 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20497 when not using those macros.
20498 * manual/creature.texi: Likewise.
20499 * manual/crypt.texi: Likewise.
20500 * manual/errno.texi: Likewise.
20501 * manual/filesys.texi: Likewise.
20502 * manual/header.texi: Likewise.
20503 * manual/install.texi: Likewise.
20504 * manual/intro.texi: Likewise.
20505 * manual/io.texi: Likewise.
20506 * manual/job.texi: Likewise.
20507 * manual/lang.texi: Likewise.
20508 * manual/libc.texiinfo: Likewise.
20509 * manual/llio.texi: Likewise.
20510 * manual/locale.texi: Likewise.
20511 * manual/maint.texi: Likewise.
20512 * manual/math.texi: Likewise.
20513 * manual/memory.texi: Likewise.
20514 * manual/message.texi: Likewise.
20515 * manual/nss.texi: Likewise.
20516 * manual/pattern.texi: Likewise.
20517 * manual/process.texi: Likewise.
20518 * manual/resource.texi: Likewise.
20519 * manual/search.texi: Likewise.
20520 * manual/setjmp.texi: Likewise.
20521 * manual/signal.texi: Likewise.
20522 * manual/socket.texi: Likewise.
20523 * manual/startup.texi: Likewise.
20524 * manual/stdio.texi: Likewise.
20525 * manual/string.texi: Likewise.
20526 * manual/sysinfo.texi: Likewise.
20527 * manual/syslog.texi: Likewise.
20528 * manual/terminal.texi: Likewise.
20529 * manual/time.texi: Likewise.
20530 * manual/users.texi: Likewise.
20531 * INSTALL: Regenerated.
20532 * NOTES: Regenerated.
d40c5d54 20533 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20534
450bf206
AS
205352012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20536
20537 * include/dirent.h: Include <dirstream.h> before
20538 <dirent/dirent.h>.
20539
741a235b
DM
205402012-02-28 David S. Miller <davem@davemloft.net>
20541
20542 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20543 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20544 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20545 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20546
d6b5aa58
DM
205472012-02-27 David S. Miller <davem@davemloft.net>
20548
1aff59a3
DM
20549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20551 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20552 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20553
d6b5aa58
DM
20554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20555 frame pointer instead of stack pointer relative arg slot.
20556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20557 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20558 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20559
433f48bf
CD
205602012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20561
20562 [BZ #3992]
20563 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20564
d674b76d
DM
205652012-02-27 David S. Miller <davem@davemloft.net>
20566
20567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20573 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20574 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20575
0e7727f7
JM
205762012-02-27 Joseph Myers <joseph@codesourcery.com>
20577
20578 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20579 later. Allow versions 5-9.
43be4ca2 20580 * configure: Regenerated.
0e7727f7
JM
20581 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20582 required minimum version and 4.6 as recommended version. Do not
20583 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20584 * INSTALL: Regenerated.
0e7727f7 20585
a78bc654
DM
205862012-02-27 David S. Miller <davem@davemloft.net>
20587
428d5830
DM
20588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20592 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20593 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20594 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20595 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20596
a78bc654
DM
20597 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20598 manipulate bits before adding and subtracting TWO112[sx].
20599 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20600
4579f81c
RM
206012012-02-27 Roland McGrath <roland@hack.frob.com>
20602
36c8acb4
RM
20603 [BZ #13775]
20604 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20605 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20606 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20607 being in POSIX, because they are in 1003.1-2008.
20608
84ad622b
RM
20609 * rt/tst-aio.c: Include <fcntl.h>.
20610 * rt/tst-aio7.c: Likewise.
20611 * rt/tst-aio64.c: Likewise.
20612
4579f81c
RM
20613 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20614
abd923db
JM
206152012-02-27 Joseph Myers <joseph@codesourcery.com>
20616
20617 * manual/install.texi (--with-headers): Describe headers as
20618 interface headers, not private headers.
20619 (Specific advice for GNU/Linux systems): Describe use of headers
20620 from "make headers_install", not private headers from older
20621 kernels.
43be4ca2 20622 * INSTALL: Regenerated.
abd923db
JM
20623 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20624 Change to 2.6.19.
20625 * sysdeps/unix/sysv/linux/configure: Regenerated.
20626
6664049b
JM
20627 * manual/llio.texi (fclean): Remove documentation.
20628
bb8b6697
JM
20629 * manual/Makefile (libc-texi-generated): New variable. Include
20630 version.texi.
20631 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20632 $(libc-texi-generated), not duplicated list of files.
20633 (version.texi, stamp-version): New rules.
20634 (realclean): Remove $(libc-texi-generated), not individual files
20635 from that list. Do not remove dir-add.texinfo.
20636 * manual/libc.texinfo: Comment out uses of edition numbers and
20637 references to printed manual. Remove last-updated dates.
20638 (EDITION): Comment out.
20639 (ISBN): Likewise.
20640 (VERSION, UPDATED): Remove.
20641 (version.texi): Include.
20642
12e5c3b9
AS
206432012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20644
20645 * sysdeps/posix/spawni.c: Include <signal.h>.
20646 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20647 * sysdeps/pthread/aio_fsync.c: Likewise.
20648
4efeffc1 206492012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20650
ba63ba08
UD
20651 * conform/Makefile (tests): Run only when not cross-compiling and
20652 when fast-check is not defined.
20653
d94a4670
UD
20654 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20655 * conform/data/limits.h-data: Fixes for POSIX2008.
20656 * conform/run-conformtest.sh: Run all tests.
20657 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20658 headers.
20659 * include/bits/dlfcn.h: Likewise.
20660 * include/langinfo.h: Likewise.
20661 * include/monetary.h: Likewise.
20662 * include/sys/poll.h: Likewise.
20663
20664 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20665 for __USE_GNU.
20666 * posix/spawn.h: Define __need_sigset_t.
20667 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20668 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20669 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20670 to get sigevent_t only.
20671 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20672 only for __USE_GNU.
20673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20674 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20675 process_vm_writev only for __USE_GNU.
20676 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20677
20678 * conform/Makefile: For now ignore errors from run-conformtest.
20679 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20680 POSIX to avoid namespace pollution. Don't prepend headers.
20681 * conform/data/aio.h-data: Fixes for POSIX testing.
20682 * conform/data/fcntl.h-data: Likewise.
20683 * conform/data/glob.h-data: Likewise.
20684 * conform/data/grp.h-data: Likewise.
20685 * conform/data/pthread.h-data: Likewise.
20686 * conform/data/pwd.h-data: Likewise.
20687 * conform/data/signal.h-data: Likewise.
20688 * conform/data/spawn.h-data: Likewise.
20689 * conform/data/stdio.h-data: Likewise.
20690 * conform/data/stdlib.h-data: Likewise.
20691 * conform/data/stropts.h-data: Likewise.
20692 * conform/data/sys/mman.h-data: Likewise.
20693 * conform/data/sys/stat.h-data: Likewise.
20694 * conform/data/sys/types.h-data: Likewise.
20695 * conform/data/sys/wait.h-data: Likewise.
20696 * conform/data/time.h-data: Likewise.
20697 * conform/data/unistd.h-data: Likewise.
20698 * conform/data/utime.h-data: Likewise.
20699
20700 * io/sys/stat.h: fchmod was always in POSIX.
20701 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20702 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20703 * rt/aio.h: Define __need_timespec before including <time.h>.
20704 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20705 struct. Add forward declaration of pthread_attr_t and use it in
20706 sigevent.
20707 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20708 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20709 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20710 always remove CLK_TCK definition.
20711
c20105c3
AS
207122012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20713
20714 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20715
7a270350
UD
207162012-02-25 Ulrich Drepper <drepper@gmail.com>
20717
31341567
UD
20718 * conform/run-conformtest.sh: New file.
20719 * conform/Makefile: Run run-conformtest for tests.
20720 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20721 support.
20722
20723 * conform/data/uchar.h-data: New file.
20724 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20725 * conform/data/arpa/inet.h-data: Likewise.
20726 * conform/data/assert.h-data: Likewise.
20727 * conform/data/complex.h-data: Likewise.
20728 * conform/data/cpio.h-data: Likewise.
20729 * conform/data/ctype.h-data: Likewise.
20730 * conform/data/dirent.h-data: Likewise.
20731 * conform/data/dlfcn.h-data: Likewise.
20732 * conform/data/errno.h-data: Likewise.
20733 * conform/data/fcntl.h-data: Likewise.
20734 * conform/data/float.h-data: Likewise.
20735 * conform/data/fmtmsg.h-data: Likewise.
20736 * conform/data/fnmatch.h-data: Likewise.
20737 * conform/data/ftw.h-data: Likewise.
20738 * conform/data/glob.h-data: Likewise.
20739 * conform/data/grp.h-data: Likewise.
20740 * conform/data/iconv.h-data: Likewise.
20741 * conform/data/inttypes.h-data: Likewise.
20742 * conform/data/langinfo.h-data: Likewise.
20743 * conform/data/libgen.h-data: Likewise.
20744 * conform/data/limits.h-data: Likewise.
20745 * conform/data/locale.h-data: Likewise.
20746 * conform/data/math.h-data: Likewise.
20747 * conform/data/monetary.h-data: Likewise.
20748 * conform/data/mqueue.h-data: Likewise.
20749 * conform/data/ndbm.h-data: Likewise.
20750 * conform/data/net/if.h-data: Likewise.
20751 * conform/data/netdb.h-data: Likewise.
20752 * conform/data/netinet/in.h-data: Likewise.
20753 * conform/data/nl_types.h-data: Likewise.
20754 * conform/data/poll.h-data: Likewise.
20755 * conform/data/pthread.h-data: Likewise.
20756 * conform/data/pwd.h-data: Likewise.
20757 * conform/data/regex.h-data: Likewise.
20758 * conform/data/sched.h-data: Likewise.
20759 * conform/data/search.h-data: Likewise.
20760 * conform/data/semaphore.h-data: Likewise.
20761 * conform/data/setjmp.h-data: Likewise.
20762 * conform/data/signal.h-data: Likewise.
20763 * conform/data/spawn.h-data: Likewise.
20764 * conform/data/stdarg.h-data: Likewise.
20765 * conform/data/stdio.h-data: Likewise.
20766 * conform/data/stdlib.h-data: Likewise.
20767 * conform/data/string.h-data: Likewise.
20768 * conform/data/strings.h-data: Likewise.
20769 * conform/data/stropts.h-data: Likewise.
20770 * conform/data/sys/ipc.h-data: Likewise.
20771 * conform/data/sys/mman.h-data: Likewise.
20772 * conform/data/sys/msg.h-data: Likewise.
20773 * conform/data/sys/resource.h-data: Likewise.
20774 * conform/data/sys/select.h-data: Likewise.
20775 * conform/data/sys/sem.h-data: Likewise.
20776 * conform/data/sys/shm.h-data: Likewise.
20777 * conform/data/sys/socket.h-data: Likewise.
20778 * conform/data/sys/stat.h-data: Likewise.
20779 * conform/data/sys/statvfs.h-data: Likewise.
20780 * conform/data/sys/time.h-data: Likewise.
20781 * conform/data/sys/timeb.h-data: Likewise.
20782 * conform/data/sys/times.h-data: Likewise.
20783 * conform/data/sys/types.h-data: Likewise.
20784 * conform/data/sys/uio.h-data: Likewise.
20785 * conform/data/sys/un.h-data: Likewise.
20786 * conform/data/sys/utsname.h-data: Likewise.
20787 * conform/data/sys/wait.h-data: Likewise.
20788 * conform/data/syslog.h-data: Likewise.
20789 * conform/data/tar.h-data: Likewise.
20790 * conform/data/termios.h-data: Likewise.
20791 * conform/data/utime.h-data: Likewise.
20792 * conform/data/utmpx.h-data: Likewise.
20793 * conform/data/varargs.h-data: Likewise.
20794 * conform/data/wchar.h-data: Likewise.
20795 * conform/data/wctype.h-data: Likewise.
20796 * conform/data/wordexp.h-data: Likewise.
20797
20798 * include/stropts.h: New file.
20799 * include/uchar.h: New file.
20800 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20801 * include/assert.h: Likewise.
20802 * include/ctype.h: Likewise.
20803 * include/dirent.h: Likewise.
20804 * include/dlfcn.h: Likewise.
20805 * include/fcntl.h: Likewise.
20806 * include/fnmatch.h: Likewise.
20807 * include/glob.h: Likewise.
20808 * include/grp.h: Likewise.
20809 * include/libio.h: Likewise.
20810 * include/locale.h: Likewise.
20811 * include/math.h: Likewise.
20812 * include/net/if.h: Likewise.
20813 * include/netdb.h: Likewise.
20814 * include/netinet/in.h: Likewise.
20815 * include/pthread.h: Likewise.
20816 * include/pwd.h: Likewise.
20817 * include/regex.h: Likewise.
20818 * include/sched.h: Likewise.
20819 * include/search.h: Likewise.
20820 * include/setjmp.h: Likewise.
20821 * include/signal.h: Likewise.
20822 * include/stdio.h: Likewise.
20823 * include/stdlib.h: Likewise.
20824 * include/string.h: Likewise.
20825 * include/sys/cdefs.h: Likewise.
20826 * include/sys/mman.h: Likewise.
20827 * include/sys/msg.h: Likewise.
20828 * include/sys/resource.h: Likewise.
20829 * include/sys/select.h: Likewise.
20830 * include/sys/socket.h: Likewise.
20831 * include/sys/stat.h: Likewise.
20832 * include/sys/statvfs.h: Likewise.
20833 * include/sys/time.h: Likewise.
20834 * include/sys/times.h: Likewise.
20835 * include/sys/uio.h: Likewise.
20836 * include/sys/utsname.h: Likewise.
20837 * include/sys/wait.h: Likewise.
20838 * include/termios.h: Likewise.
20839 * include/time.h: Likewise.
20840 * include/ulimit.h: Likewise.
20841 * include/unistd.h: Likewise.
20842 * include/utime.h: Likewise.
20843 * include/wchar.h: Likewise.
20844 * include/wctype.h: Likewise.
20845 * include/wordexp.h: Likewise.
20846
20847 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20848
7a270350
UD
20849 * time/time.h: TIME_UTC must be a macro.
20850 Make timespec_get available for ISO C11 only as well.
20851
7724defc
UD
208522012-02-24 Ulrich Drepper <drepper@gmail.com>
20853
20854 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20855 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20856
6b1d1d46
JM
208572012-02-24 Joseph Myers <joseph@codesourcery.com>
20858
20859 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20860
0f8bbd69
JM
208612012-02-24 Joseph Myers <joseph@codesourcery.com>
20862
20863 * manual/texinfo.tex: Update to version 2012-01-19.16.
20864
66ab80bc
JM
208652012-02-24 Joseph Myers <joseph@codesourcery.com>
20866
20867 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20868
74981cc5
RM
208692012-02-24 Roland McGrath <roland@hack.frob.com>
20870
ee968201
RM
20871 [BZ #13738]
20872 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20873 * manual/fdl-1.3.texi: New file.
20874 * manual/fdl-1.1.texi: File removed.
20875
74981cc5
RM
20876 [BZ #13738]
20877 * manual/libc.texinfo (FDL_VERSION): New @set.
20878 Use it for mention of FDL in cover text.
20879 (Documentation License): Use it in @include file name.
20880
7bb764bc
JM
208812012-02-22 Joseph Myers <joseph@codesourcery.com>
20882 Roland McGrath <roland@hack.frob.com>
20883
20884 [BZ #5461]
20885 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20886 not LONG_LONG_MAX and LONG_LONG_MIN.
20887 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20888 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20889 name.
20890 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20891
6cbeae47
JM
208922012-02-22 Joseph Myers <joseph@codesourcery.com>
20893
20894 [BZ #2547]
20895 [BZ #11365]
20896 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20897 manipulate bits before adding and subtracting TWO23[sx].
20898 * math/libm-test.inc (nearbyint_test): Add more tests.
20899
fe45ce09
JM
209002012-02-22 Joseph Myers <joseph@codesourcery.com>
20901
20902 [BZ #2548]
20903 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20904 bits before adding and subtracting TWO23[sx].
20905 * math/libm-test.inc (rint_test): Add more tests.
20906 (rint_test_tonearest): Likewise.
20907 (rint_test_towardzero): Likewise.
20908 (rint_test_downward): Likewise.
20909 (rint_test_upward: Likewise.
20910
ff3b3d82
JM
209112012-02-22 Joseph Myers <joseph@codesourcery.com>
20912
20913 [BZ #10110]
20914 * include/stdc-predef.h: New file. Extracted from features.h.
20915 * include/features.h: Include stdc-predef.h.
20916 * Makefile (headers): Add stdc-predef.h.
20917 * CONFORMANCE (Compiler limitations): Update.
20918
ef0aab35
JM
209192012-02-22 Joseph Myers <joseph@codesourcery.com>
20920
20921 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20922
58639409
DM
209232012-02-21 David S. Miller <davem@davemloft.net>
20924
20925 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20926 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20927
c0e70b25
DM
209282012-02-20 David S. Miller <davem@davemloft.net>
20929
20930 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20931 using a normal save/restore sequence, rather than allocating a
20932 dummy stack frame just to store a frame pointer and restore.
20933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20934
fb06851d
JM
209352012-02-21 Joseph Myers <joseph@codesourcery.com>
20936
20937 * manual/install.texi: Fix stray word in line-wrapped comment.
20938
7a8b71c3
DM
209392012-02-20 David S. Miller <davem@davemloft.net>
20940
d510c123
DM
20941 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20942 both binutils and gcc support GOTDATA.
20943
0722d7c2
DM
20944 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20945 "rd %pc" in the PIC register setup sequences.
20946
3d2b3019
DM
20947 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20948 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20949 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20950 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20951 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20953 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20954 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20955 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20956 (SYSCALL_ERROR_HANDLER): Likewise.
20957 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20958 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20960 (SYSCALL_ERROR_HANDLER): Likewise.
20961
c80098a9
DM
20962 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20963 (HAVE_GCC_GOTDATA): New.
20964 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20965 relocation support in both binutils and gcc.
20966 * sysdeps/sparc/elf/configure: Regenerate.
20967
3a2545a0
DM
20968 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20969 * sysdeps/sparc/sparc32/elf/configure: Delete.
20970 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20971 * sysdeps/sparc/sparc64/elf/configure: Delete.
20972 * sysdeps/sparc/elf/configure.in: New file.
20973 * sysdeps/sparc/elf/configure: Generate.
20974
7a8b71c3
DM
20975 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20976 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20977 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20978 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20979 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20980
f1e86fca
JM
209812012-02-21 Joseph Myers <joseph@codesourcery.com>
20982
20983 * manual/install.texi: Do not mention specific glibc version
20984 numbers.
20985 * manual/libc.texinfo (VERSION, UPDATED): Update.
20986 (@copying): Use @copyright{} and range of years.
20987
0e7dfaef
JM
209882012-02-21 Joseph Myers <joseph@codesourcery.com>
20989
20990 [BZ #13695]
20991 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20992 [crti.S not in sysdirs] (generated): Do not append.
20993 [crti.S not in sysdirs] (omit-deps): Likewise.
20994 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20995 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20996 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20997 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20998 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20999 Likewise.
21000 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
21001 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
21002 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
21003 * csu/defs.awk: Remove file.
21004 * sysdeps/generic/initfini.c: Likewise.
21005 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
21006 variable.
21007 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
21008 Likewise.
21009
599af3ca
JM
210102012-02-20 Joseph Myers <joseph@codesourcery.com>
21011
21012 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
21013 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
21014 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
21015 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
21016 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21017 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
21018 <bits/epoll.h>.
21019 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
21020 (__EPOLL_PACKED): Define to empty if not defined by
21021 <bits/epoll.h>.
21022 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
21023 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21024 bits/epoll.h.
21025
0e499750
JM
210262012-02-20 Joseph Myers <joseph@codesourcery.com>
21027
21028 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
21029 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
21030 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
21031 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
21032 <bits/timerfd.h>.
21033 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
21034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21035 bits/timerfd.h.
21036
5ad91f6e
JM
210372012-02-20 Joseph Myers <joseph@codesourcery.com>
21038
21039 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
21040 in C locale.
21041 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21042 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
21043 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
21044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21045
06b99b02
AJ
210462012-02-20 Aurelien Jarno <aurelien@aurel32.net>
21047
21048 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21049 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
21050
7638c0fd
AS
210512012-02-19 Andreas Schwab <schwab@linux-m68k.org>
21052
21053 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
21054 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
21055 defined.
21056 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
21057 Likewise.
21058 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
21059 entry for 2.16.
21060
92221550
AJ
210612012-02-19 Aurelien Jarno <aurelien@aurel32.net>
21062
21063 * math/w_acos.c: Use non-signaling floating-point comparisons.
21064 * math/w_acosf.c: Likewise.
21065 * math/w_acosh.c: Likewise.
21066 * math/w_acoshf.c: Likewise.
21067 * math/w_acoshl.c: Likewise.
21068 * math/w_acosl.c: Likewise.
21069 * math/w_asin.c: Likewise.
21070 * math/w_asinf.c: Likewise.
21071 * math/w_asinl.c: Likewise.
21072 * math/w_atanh.c: Likewise.
21073 * math/w_atanhf.c: Likewise.
21074 * math/w_atanhl.c: Likewise.
21075 * math/w_exp2.c: Likewise.
21076 * math/w_exp2f.c: Likewise.
21077 * math/w_exp2l.c: Likewise.
21078 * math/w_j0.c: Likewise.
21079 * math/w_j0f.c: Likewise.
21080 * math/w_j0l.c: Likewise.
21081 * math/w_j1.c: Likewise.
21082 * math/w_j1f.c: Likewise.
21083 * math/w_j1l.c: Likewise.
21084 * math/w_jn.c: Likewise.
21085 * math/w_jnf.c: Likewise.
21086 * math/w_log.c: Likewise.
21087 * math/w_log10.c: Likewise.
21088 * math/w_log10f.c: Likewise.
21089 * math/w_log10l.c: Likewise.
21090 * math/w_log2.c: Likewise.
21091 * math/w_log2f.c: Likewise.
21092 * math/w_log2l.c: Likewise.
21093 * math/w_logf.c: Likewise.
21094 * math/w_logl.c: Likewise.
21095 * math/w_sqrt.c: Likewise.
21096 * math/w_sqrtf.c: Likewise.
21097 * math/w_sqrtl.c: Likewise.
21098 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21099 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21100 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21101 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21102 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21103
ebaf36eb
JM
211042012-02-19 Joseph Myers <joseph@codesourcery.com>
21105
21106 [BZ #9739]
21107 * manual/string.texi (strnlen): Use correct parameter name in
21108 equivalent expression.
21109
71c254a6
JM
211102012-02-19 Joseph Myers <joseph@codesourcery.com>
21111
21112 [BZ #11174]
21113 * manual/users.texi (seteuid): Consistently use neweuid for
21114 argument name.
21115
16d2c631
JM
211162012-02-19 Joseph Myers <joseph@codesourcery.com>
21117
21118 [BZ #13704]
21119 * manual/nss.texi (Services in the NSS configuration): Correct
21120 list of services in example configuration file.
21121
cd837b09
NB
211222012-02-19 Nick Bowler <nbowler@draconx.ca>
21123
21124 [BZ #11322]
21125 * manual/arith.texi: Remove statements about negative zero
21126 behaving identically to zero.
21127
02c4bbad
JM
211282012-02-18 Joseph Myers <joseph@codesourcery.com>
21129
21130 [BZ #5993]
21131 * manual/install.texi: Do not document upgrading from libc5.
21132
366842e7
JM
211332012-02-18 Joseph Myers <joseph@codesourcery.com>
21134
21135 [BZ #4596]
21136 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
21137
dd54084d
DM
211382012-02-18 David S. Miller <davem@davemloft.net>
21139
21140 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
21141 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
21142 %o7 across the call.
21143 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
21144 instead.
21145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
21146 SETUP_PIC_REG_LEAF.
21147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21148 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
21149 * sysdeps/sparc/crtn.S: Likewise.
21150
2bcc53a3
UD
211512012-02-17 Ulrich Drepper <drepper@gmail.com>
21152
21153 * aout/Makefile: Remove.
21154
09c093b5
RK
211552012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
21156
21157 [BZ #13058]
21158 * manual/examples/argp-ex1.c (main): Format definition in GNU
21159 style.
21160 * manual/examples/argp-ex2.c (main): Likewise.
21161 * manual/examples/argp-ex3.c (main): Likewise.
21162 * manual/examples/argp-ex4.c (main): Likewise.
21163 * manual/examples/longopt.c (main): Use new-style prototype
21164 definition.
21165 * manual/examples/strncat.c (main): Specify return type and use
21166 (void) for arguments.
21167 * manual/examples/subopt.c (main): Use char **argv argument.
21168
2ee633a2
JM
211692012-02-17 Joseph Myers <joseph@codesourcery.com>
21170
21171 [BZ #5077]
21172 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
21173 rounding modes.
21174
0520adde
FB
211752012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
21176
21177 [BZ #6907]
21178 * manual/string.texi (strchr): Change when strchrnul is
21179 recommended.
21180
3f4081cd
DGM
211812012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
21182
21183 [BZ #174]
21184 * manual/locale.texi (setlocale): Document LOCPATH.
21185
d1b10e78
JM
211862012-02-17 Joseph Myers <joseph@codesourcery.com>
21187
21188 [BZ #10210]
21189 * manual/process.texi (execle): Move @dots{} before last argument.
21190
79c6869c
PB
211912012-02-17 Paul Bolle <pebolle@tiscali.nl>
21192
21193 [BZ #12047]
21194 * manual/charset.texi (Generic Charset Conversion): Fix typo
21195 (LC_TYPE -> LC_CTYPE).
21196
cc6e48bc
NB
211972012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21198
21199 [BZ #5805]
21200 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21201 (scalbnf): Likewise.
21202 (scalbnl): Likewise.
21203 (scalbln): Likewise.
21204 (scalblnf): Likewise.
21205 (scalblnl): Likewise.
21206 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21207 (vwarnx): Likewise.
21208 (verr): Likewise.
21209 (verrx): Likewise.
21210 * manual/filesys.texi (telldir): Use braces around return type.
21211 * manual/llio.texi (mmap): Add space after comma.
21212 (mmap64): Likewise.
21213 * manual/math.texi (jn): Use @var{} on parameter names.
21214 (jnf): Likewise.
21215 (jnl): Likewise.
21216 (yn): Likewise.
21217 (ynf): Likewise.
21218 (ynl): Likewise.
21219 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21220 line.
21221 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21222 "...".
21223 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21224 (sched_get_priority_max): Likewise.
21225 * manual/signal.texi (sigvec): Add space after comma.
21226 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21227 names.
21228 (if_indextoname): Likewise.
21229 (if_freenameindex): Likewise.
21230 (sendto): Use ',' instead of '.' in prototype.
21231 * manual/startup.texi (syscall): Use @dots{} instead of literal
21232 "...".
21233 * manual/stdio.texi (__fpending): Separate initial words of
21234 paragraph from @deftypefun line.
21235 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21236 "...".
21237 (vsyslog): Use @var{} on parameter names.
21238 * manual/terminal.texi (stty): Use @var{} on parameter names.
21239 * manual/users.texi (getutmp): Use @var{} on parameter names.
21240 (getutmpx): Likewise.
21241
5b23062f
JM
212422012-02-17 Joseph Myers <joseph@codesourcery.com>
21243
21244 [BZ #6884]
21245 * manual/stdio.texi (fopen): Fix typos in description of
21246 ",ccs=STRING".
21247
8dee4833
AJ
212482012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21249
21250 [BZ #4026]
21251 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21252 get clock_id definition.
21253
9078ce93
TS
212542012-02-17 Thomas Schwinge <thomas@schwinge.name>
21255
21256 [BZ #4822]
21257 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21258 (madvise): Cast every argument to void on its own.
21259
3835c55f
JM
212602012-02-17 Joseph Myers <joseph@codesourcery.com>
21261
21262 [BZ #9902]
21263 * manual/startup.texi (Exit Status): Fix typo.
21264
35c47e37
JM
212652012-02-17 Joseph Myers <joseph@codesourcery.com>
21266
21267 [BZ #10140]
21268 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21269 * manual/examples/argp-ex2.c: Likewise.
21270 * manual/examples/argp-ex3.c: Likewise.
21271
e3b69ca7
RH
212722012-02-16 Richard Henderson <rth@redhat.com>
21273
21274 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21275 * sysdeps/s390/s390-32/initfini.c: Remove.
21276 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21277 * sysdeps/s390/s390-64/initfini.c: Remove.
21278
df83af67
KK
212792012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21280
21281 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21282 compiler output for sysdeps/generic/initfini.c.
21283 * sysdeps/sh/elf/initfini.c: Remove file.
21284
f63f3380
DM
212852012-02-16 David S. Miller <davem@davemloft.net>
21286
fb59b3a4
DM
21287 [BZ #11494]
21288 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21289
f63f3380
DM
21290 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21291 * sysdeps/sparc/crti.S: New file.
21292 * sysdeps/sparc/crtn.S: New file.
21293 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21294 * sysdeps/sparc/sparc64/Makefile: Likewise.
21295
df6a4a4a
MF
212962012-02-15 Mike Frysinger <vapier@gentoo.org>
21297
6dd8f3dc 21298 [BZ #3335]
df6a4a4a
MF
21299 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21300
1cac7236
RM
213012012-02-15 Roland McGrath <roland@hack.frob.com>
21302
d2c736f8
RM
21303 [BZ #4822]
21304 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21305
1cac7236
RM
21306 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21307 (write, read, close): Likewise.
21308 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21309
8e475601
JM
213102012-02-15 Joseph Myers <joseph@codesourcery.com>
21311
21312 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21313 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21314 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21315 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21316 <bits/signalfd.h>.
21317 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21319 bits/signalfd.h.
21320
ed656b40
MP
213212012-02-14 Marek Polacek <polacek@redhat.com>
21322
21323 * sysdeps/x86_64/crti.S: New file.
21324 * sysdeps/x86_64/crtn.S: New file.
21325 * sysdeps/x86_64/elf/initfini.c: Remove file.
21326
2a979d3a
JM
213272012-02-13 Joseph Myers <joseph@codesourcery.com>
21328
21329 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21330 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21331 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21332 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21333 <bits/inotify.h>.
21334 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21336 bits/inotify.h.
21337
2a418ac3
JM
213382012-02-13 Joseph Myers <joseph@codesourcery.com>
21339
21340 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21341 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21342 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21343 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21344 <bits/eventfd.h>.
21345 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21347 bits/eventfd.h.
21348
fb779be7
TS
213492012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21350
e19e83c5
RM
21351 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21352 __feraiseexcept instead of feraiseexcept.
7c35ffed 21353
fb779be7
TS
21354 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21355 nanosleep invocations.
21356 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21357 strings, and add error checking for a nanosleep invocations.
21358
59ba27a6
PE
213592012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21360
21361 Replace FSF snail mail address with URLs, as per GNU coding standards.
21362 Most of the snail mail addresses were wrong anyway, and omitting
21363 them makes the source code easier to maintain. Almost all of the
21364 changes are to license notices and to locale LC_IDENTIFICATION
21365 addresses, except for this one:
21366 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21367 not its snail mail address.
21368
57b957eb
RH
213692012-02-09 Richard Henderson <rth@twiddle.net>
21370
af850b1c
RH
21371 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21372 of kernel-features.h.
21373
57b957eb
RH
21374 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21375
6b73181a
MP
213762012-02-08 Marek Polacek <polacek@redhat.com>
21377
21378 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21379 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21380 * sysdeps/gnu/_G_config.h: Likewise.
21381 * sysdeps/generic/_G_config.h: Likewise.
21382
26ecc33a
AS
213832012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21384
6c6dbc63
AS
21385 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21386 tests.
21387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21388
e216c012
AS
21389 * sysdeps/powerpc/powerpc32/crti.S: New file.
21390 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21391 * sysdeps/powerpc/powerpc64/crti.S: New file.
21392 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21393
26ecc33a
AS
21394 * Makeconfig (have-initfini): Don't set.
21395 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21396 * configure.in (nopic_initfini): Don't substitute.
21397 * config.h.in (HAVE_INITFINI): Don't #undef.
21398 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21399 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21400
3add8e13
JM
214012012-02-08 Joseph Myers <joseph@codesourcery.com>
21402
21403 Support crti.S and crtn.S provided directly by architectures.
21404 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21405 [crti.S in sysdirs] (omit-deps): Likewise.
21406 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21407 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21408 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21409 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21410 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21411 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21412 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21413 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21414 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21415 compiler output for sysdeps/generic/initfini.c.
21416 * sysdeps/i386/elf/Makefile: Remove file.
21417 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21418
a22f12b4
MP
214192012-02-07 Marek Polacek <polacek@redhat.com>
21420
21421 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21422 * sysdeps/gnu/_G_config.h: Likewise.
21423 * sysdeps/mach/hurd/_G_config.h: Likewise.
21424
148cf100
MP
214252012-02-07 Marek Polacek <polacek@redhat.com>
21426
21427 * math/Makefile (tests): Add tst-CMPLX2.
21428 * math/tst-CMPLX2.c: New file.
21429
cfdc0dd7
AS
214302012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21431
84ba42c4
AS
21432 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21433
cfdc0dd7
AS
21434 * math/libm-test.inc (jn_test): Add missing L suffix.
21435
622c86f4
MP
214362012-02-06 Marek Polacek <polacek@redhat.com>
21437
21438 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21439 * sysdeps/i386/fpu/e_powf.S: Likewise.
21440 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21441 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21442 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21443 * sysdeps/i386/fpu/e_pow.S: Likewise.
21444 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21445 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21446 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21447 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21448 * sysdeps/i386/fpu/e_log2.S: Likewise.
21449 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21450 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21451 * sysdeps/i386/fpu/e_powl.S: Likewise.
21452 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21453 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21454 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21455 * sysdeps/i386/fpu/e_logl.S: Likewise.
21456 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21457 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21458 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21459 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21460 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21461 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21462 * sysdeps/i386/fpu/e_log.S: Likewise.
21463 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21464 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21465 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21466 * sysdeps/i386/fpu/e_logf.S: Likewise.
21467 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21468 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21469 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21470 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21471 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21472 * sysdeps/i386/fpu/e_log10.S: Likewise.
21473 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21474 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21475 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21476 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21477 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21478 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21479 * sysdeps/i386/asm-syntax.h: Likewise.
21480 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21483 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21484 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21485 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21486 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21487 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21488 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21489 * sysdeps/powerpc/sysdep.h: Likewise.
21490 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21491 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21492
d4a54ac6
JM
214932012-02-06 Joseph Myers <joseph@codesourcery.com>
21494
21495 [BZ #411]
21496 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21497
314054ea
JM
214982012-02-06 Joseph Myers <joseph@codesourcery.com>
21499
21500 * sysdeps/i386/sysdep.h: Include <features.h>.
21501 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21502 version.
21503
d8e0ca50
JM
215042012-02-05 Joseph Myers <joseph@codesourcery.com>
21505
21506 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21507 Define.
21508 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21509 LOAD_PIC_REG_STR.
21510
b1da7dd9
JM
215112012-02-03 Joseph Myers <joseph@codesourcery.com>
21512
21513 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21514 (SETUP_PIC_REG): Use GET_PC_THUNK.
21515 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21516 macro.
21517
9a1d9254
JM
215182012-02-03 Joseph Myers <joseph@codesourcery.com>
21519
21520 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21521 for non-PIC compilation.
21522 (SETUP_PIC_REG): Add .p2align directive.
21523 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21524 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21525 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21526 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21527 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21528 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21529 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21531 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21532 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21533 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21534 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21535 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21536 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21537 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21538 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21539 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21540 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21541 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21542 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21544 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21545 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21546 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21547 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21549 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21550 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21553 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21554 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21555 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21556 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21557 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21558 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21559 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21560 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21561 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21562 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21563 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21564
65dc3b75
JM
215652012-02-03 Joseph Myers <joseph@codesourcery.com>
21566
21567 * math/tst-CMPLX.c: Include <stdio.h>.
21568
d55bf177
JM
215692012-01-31 Joseph Myers <joseph@codesourcery.com>
21570
21571 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21572 float.
21573 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21574 * sysdeps/sparc/bits/mathdef.h: Likewise.
21575
69db4f8f
MP
215762012-01-31 Marek Polacek <polacek@redhat.com>
21577
21578 * libio/libio.h: Don't define _PARAMS.
21579 * locale/programs/config.h: Don't define PARAMS.
21580 * stdlib/strtol_l.c: Likewise.
21581 (__strtol_l): Remove PARAMS from the prototype.
21582
41b81892
UD
215832012-01-31 Ulrich Drepper <drepper@gmail.com>
21584
3b49edc0
UD
21585 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21586 names. Just use the correct names. Remove unnecessary wrapper
21587 functions.
21588 * malloc/arena.c: Likewise.
21589 * malloc/hooks.c: Likewise.
21590
41b81892
UD
21591 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21592 ARENA_TEST says not to. Simplify test for creation of a new arena.
21593 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21594
27a25b6e
UD
215952012-01-30 Ulrich Drepper <drepper@gmail.com>
21596
21597 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21598 into tail calls.
21599 (update_get_addr): New function.
21600 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21601 GET_ADDR_MODULE parameter.
21602
c8a89e7d
JM
216032012-01-30 Joseph Myers <joseph@codesourcery.com>
21604
21605 * crypt/cert.c: Remove __STDC__ conditionals.
21606 * crypt/crypt-entry.c: Likewise.
21607 * crypt/crypt_util.c: Likewise.
21608 * libio/filedoalloc.c: Likewise.
21609 * libio/fileops.c: Likewise.
21610 * libio/genops.c: Likewise.
21611 * libio/iofclose.c: Likewise.
21612 * libio/iofdopen.c: Likewise.
21613 * libio/iofopen.c: Likewise.
21614 * libio/iofopen64.c: Likewise.
21615 * libio/iogetdelim.c: Likewise.
21616 * libio/iopopen.c: Likewise.
21617 * libio/obprintf.c: Likewise.
21618 * libio/oldfileops.c: Likewise.
21619 * libio/oldiofclose.c: Likewise.
21620 * libio/oldiofdopen.c: Likewise.
21621 * libio/oldiofopen.c: Likewise.
21622 * libio/oldiopopen.c: Likewise.
21623 * libio/wfiledoalloc.c: Likewise.
21624 * libio/wgenops.c: Likewise.
21625 * locale/programs/xmalloc.c: Likewise.
21626 * misc/syslog.c: Likewise.
21627 * stdio-common/xbug.c: Likewise.
21628 * string/memchr.c: Likewise.
21629 * string/memcmp.c: Likewise.
21630 * string/memrchr.c: Likewise.
21631 * string/rawmemchr.c: Likewise.
21632 * sysdeps/posix/getcwd.c: Likewise.
21633 * time/strftime_l.c: Likewise.
21634
3b100462
JM
216352012-01-30 Joseph Myers <joseph@codesourcery.com>
21636
21637 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21638 * config.make.in (config-cflags-sse2avx): Define.
21639 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21640 Fix typo.
21641
607998af
CM
216422012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21643
21644 * scripts/config.guess: Update from upstream config git repository.
21645 * scripts/config.sub: Likewise.
21646
3601428f
CM
216472012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21648
3ac8b282
CM
21649 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21650 (EM_NUM): Update.
21651 (R_TILEPRO_*, R_TILEGX_*): New macros.
21652
e034841e
CM
21653 * scripts/firstversions.awk: Fix bug in version range handling.
21654
540d7568
CM
21655 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21656
3601428f
CM
21657 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21658
463de862
CM
21659 * include/sys/epoll.h: New file.
21660 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21661 libc_hidden_def.
21662
73139a76
UD
216632012-01-28 Ulrich Drepper <drepper@gmail.com>
21664
96bc5b45
UD
21665 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21666 Avoid unnecessary __WORDSIZE == 64 test.
21667 (fmaxf): Use VEX format if possible.
21668 (fmax): Likewise.
21669 (fminf): Likewise.
21670 (fmin): Likewise.
21671
56f6f6a2
UD
21672 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21673 * math/math_private.h: Remove libc_fegetround* and
21674 libc_fesetround*.
21675 * sysdeps/i386/configure.in: Check for -msse2avx.
21676 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21677 also if SSE2AVX is defined.
21678 Remove libc_fegetround* and libc_fesetround*.
21679 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21680 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21681 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21682 of HAS_YMM_USABLE.
21683 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21684 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21685 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21686 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21687 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21688
73139a76
UD
21689 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21690
d73f93a4
AZ
216912012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21692
21693 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21694 size is not set.
21695 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21696
6ee65ed6
UD
216972012-01-27 Ulrich Drepper <drepper@gmail.com>
21698
21699 [BZ #13618]
21700 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21701 relocation.
21702 * Makeconfig (libm): Define.
21703 * elf/Makefile: Add rules to build and run tst-relsort1.
21704 * elf/tst-relsort1.c: New file.
21705 * elf/tst-relsort1mod1.c: New file.
21706 * elf/tst-relsort1mod2.c: New file.
21707
8db21882
JM
217082012-01-27 Joseph Myers <joseph@codesourcery.com>
21709
21710 * math/s_ldexp.c: Remove __STDC__ conditionals.
21711 * math/s_ldexpf.c: Likewise.
21712 * math/s_ldexpl.c: Likewise.
21713 * math/s_nextafter.c: Likewise.
21714 * math/s_nexttowardf.c: Likewise.
21715 * math/s_significand.c: Likewise.
21716 * math/s_significandf.c: Likewise.
21717 * math/s_significandl.c: Likewise.
21718 * math/w_jnl.c: Likewise.
21719 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21720 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21721 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21722 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21723 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21728 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21729 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21730 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21731 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21732 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21733 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21734 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21735 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21736 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21738 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21739 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21740 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21741 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21743 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21744 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21745 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21746 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21747 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21748 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21749 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21750 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21751 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21752 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21753 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21754 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21755 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21756 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21757 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21758 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21759 * sysdeps/ieee754/k_standard.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21820 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21826 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21827 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21828 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21833 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21834 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21835 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21836 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21837 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21838 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21839 * sysdeps/ieee754/s_matherr.c: Likewise.
21840 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21841 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21842 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21843 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21844
965a54a4
JM
218452012-01-26 Joseph Myers <joseph@codesourcery.com>
21846
21847 * crypt/md5.h: Remove __STDC__ conditionals.
21848 * libio/libioP.h: Likewise.
21849 * locale/programs/config.h: Likewise.
21850 * sysdeps/generic/sysdep.h: Likewise.
21851 * sysdeps/i386/asm-syntax.h: Likewise.
21852 * sysdeps/s390/asm-syntax.h: Likewise.
21853 * sysdeps/unix/sysdep.h: Likewise.
21854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21856
7071ad79
JM
218572012-01-26 Joseph Myers <joseph@codesourcery.com>
21858
21859 * libio/libio.h: Remove __STDC__ conditionals.
21860 * malloc/obstack.h: Likewise.
21861 * math/complex.h: Likewise.
21862 * math/math.h: Likewise.
21863 * sysdeps/generic/_G_config.h: Likewise.
21864 * sysdeps/gnu/_G_config.h: Likewise.
21865 * sysdeps/mach/hurd/_G_config.h: Likewise.
21866 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21867 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21868 * sysdeps/sparc/bits/mathdef.h: Likewise.
21869
afc5ed09
UD
218702012-01-26 Ulrich Drepper <drepper@gmail.com>
21871
21872 [BZ #13583]
21873 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21874 Clean up HAS_* macros.
afc5ed09 21875 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21876 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21877 possible.
21878 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21879 HAS_AVX.
21880 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21881 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21882 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21883 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21884 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21885
bdb6de1d
JM
218862012-01-25 Joseph Myers <joseph@codesourcery.com>
21887
21888 * elf/tst-unique3.cc (gets): Remove declaration.
21889 * elf/tst-unique3lib.cc (gets): Likewise.
21890 * elf/tst-unique3lib2.cc (gets): Likewise.
21891 * elf/tst-unique4.cc (gets): Likewise.
21892
b15549e6
UD
218932012-01-24 Ulrich Drepper <drepper@gmail.com>
21894
21895 * include/stdio.h: Add C++ protection. Add gets declarations and
21896 definitions.
21897 * debug/tst-chk1.c: Don't declare gets here.
21898 * stdio-common/tst-gets.c: Likewise.
21899
a037381f
JM
219002012-01-24 Joseph Myers <joseph@codesourcery.com>
21901
21902 * posix/glob: Remove directory.
21903
f1d4aa75
JM
219042012-01-24 Joseph Myers <joseph@codesourcery.com>
21905
21906 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21907
81c0c964
PT
219082012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21909
21910 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21911 of the non-standard EPFNOSUPPORT.
21912
0ea698ae
ST
219132011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21914
21915 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21916 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21917 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21918
d220b117
UD
219192012-01-21 Ulrich Drepper <drepper@gmail.com>
21920
21921 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21922
3e1aa84e
UD
219232012-01-20 Ulrich Drepper <drepper@gmail.com>
21924
21925 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21926 transient errors.
21927 * nscd/grpcache.c (cache_addgr): Likewise.
21928 * nscd/hstcache.c (cache_addhst): Likewise.
21929 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21930 * nscd/pwdcache.c (cache_addpw): Likewise.
21931 * nscd/servicescache.c (cache_addserv): Likewise.
21932
400aa020
UD
219332012-01-16 Ulrich Drepper <drepper@gmail.com>
21934
d77e7869
UD
21935 * malloc/malloc.c: Various cleanups.
21936 * malloc/hooks.c: Likewise.
21937
400aa020
UD
21938 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21939 * stdlib/bug-fmtmsg1.c: New file.
21940
21941 * stdlib/fmtmsg.c (init): Add missing unlock.
21942 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21943
e0a309cf
MP
219442012-01-12 Marek Polacek <polacek@redhat.com>
21945
21946 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21947 and _GNU_SOURCE.
21948
929d11c7
WS
219492012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21950
21951 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21952 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21953 macro to ensure uniqueness of label name.
21954 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21955 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21956
41d0e869
UD
219572012-01-11 Ulrich Drepper <drepper@gmail.com>
21958
0cc5ed3b
UD
21959 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21960
41d0e869
UD
21961 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21962 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21963 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21965
a47a831a
UD
219662012-01-10 Ulrich Drepper <drepper@gmail.com>
21967
daa891c0
UD
21968 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21969
21970 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21971 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21972 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21973
e58ef0f2
UD
21974 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21975
a47a831a 21976 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21977 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21978 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21979 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21980
21981 * math/bits/math-finite.h: Add ldexp support.
21982
a0bfc9c7
MP
219832012-01-10 Marek Polacek <polacek@redhat.com>
21984
21985 * locale/programs/localedef.h (show_archive_content): Add noreturn
21986 attribute.
21987
d6e97a1d
UD
219882012-01-09 Ulrich Drepper <drepper@gmail.com>
21989
21990 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21991
d5835c26
UD
219922012-01-08 Ulrich Drepper <drepper@gmail.com>
21993
e5f484c6
UD
21994 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21995
d5835c26
UD
21996 * io/Makefile (headers): Add bits/poll2.h.
21997
d1f741e9
WS
219982011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21999
22000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
22001 typo #include statement.
22002
ec09c1c4
UD
220032012-01-08 Ulrich Drepper <drepper@gmail.com>
22004
22005 * include/sys/cdefs.h: Define __attribute_alloc_size.
22006 * catgets/gencat.c: Add alloc_size attribute and apply consistently
22007 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
22008 * elf/pldd.c: Likewise.
22009 * iconv/iconv_charmap.c: Likewise.
22010 * iconv/iconvconfig.c: Likewise.
22011 * iconv/strtab.c: Likewise.
22012 * locale/programs/locale.c: Likewise.
22013 * locale/programs/localedef.h: Likewise.
22014 * locale/programs/simple-hash.c: Likewise.
22015 * nscd/nscd.h: Likewise.
22016 * nss/makedb.c: Likewise.
22017 * sysdeps/generic/ldconfig.h: Likewise.
22018 * locale/programs/localedef.c: Remove xmalloc prototype.
22019 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
22020
20b38e03
PP
220212012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
22022
22023 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
22024 appropriate.
22025
a0da5fe1
UD
220262012-01-08 Ulrich Drepper <drepper@gmail.com>
22027
1d5a644a 22028 * math/Makefile (tests): Add tst-CMPLX.
669704fd 22029 * math/tst-CMPLX.c: New file.
1d5a644a 22030
8784a6db
UD
22031 * math/complex.h (CMPLXL): Fix typo.
22032
d9a216c0
UD
22033 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
22034 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
22035 GLIBC_2.16.
22036 * debug/tst-chk1.c: Add poll and ppoll tests.
22037 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
22038 * include/sys/poll.h: Add hidden proto for ppoll.
22039 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
22040 * sysdeps/mach/hurd/ppoll.c: Likewise.
22041 * io/ppoll.c: Likewise.
22042 * debug/poll_chk.c: New file.
22043 * debug/ppoll_chk.c: New file.
22044 * include/bits/poll2.h: New file.
22045 * io/bits/poll2.h: New file.
22046
ac097f5c
UD
22047 [BZ #1350]
22048 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
22049
2119dcfa
UD
22050 * configure.in: static is always set to yes. Remove.
22051 * config.make.in: Don't set build-static.
22052 * Makeconfig: Remove use of build-static.
22053 * dlfcn/Makefile: Likewise.
22054 * elf/Makefile: Likewise.
22055 * math/Makefile: Likewise.
22056 * misc/Makefile: Likewise.
22057 * nptl/Makefile: Likewise.
22058 * sysdeps/mach/hurd/Makefile: Likewise.
22059
121766a9
UD
22060 * configure.in: PWD_P is not used anymore.
22061 * config.make.in: Remove PWD_P entry.
22062
51a1d39c 22063 * configure.in: Remove last remnants of RANLIB.
8720d066 22064 No need to check for signed size_t anymore.
215f4bdc
UD
22065 Don't set libc_commonpagesize and libc_relro_required here for Alpha
22066 and IA-64.
3857022a 22067 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
22068 * aclocal.m4: Likewise.
22069
d3ed7225
UD
22070 * wcsmbs/mbrtoc16.c: Implement using towc function.
22071 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
22072 * wcsmbs/wcsmbsload.c: Likewise.
22073 * iconv/gconv_simple.c: Likewise.
22074 * iconv/gconv_int.h: Likewise.
22075 * iconv/gconv_builtin.h: Likewise.
22076 * iconv/iconv_prog.c: Remove CHAR16 handling.
22077
22078 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
22079
22080 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
22081
a0da5fe1
UD
22082 * configure.in: Remove --with-elf and --enable-bounded options.
22083 Dont set base_machine for ia64. More non-ELF conditions removed.
22084 Remove testing and setting of leading underscore information.
22085 * config.make.in (build-bounded): Set to no.
22086 * config.h.in: Remove NO_UNDERSCORES entry.
22087 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
22088 them.
22089 * csu/start.c: Remove !NO_UNDERSCORE code.
22090 * locale/localeinfo.h: Likewise.
22091 * sysdeps/generic/machine-gmon.h: Likewise.
22092 * sysdeps/generic/sysdep.h: Likewise.
22093 * sysdeps/i386/sysdep.h: Likewise.
22094 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22095 * sysdeps/mach/sysdep.h: Likewise.
22096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22097 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22098 * sysdeps/sh/sysdep.h: Likewise.
22099 * sysdeps/sparc/sparc32/alloca.S: Likewise.
22100 * sysdeps/unix/i386/sysdep.S: Likewise.
22101 * sysdeps/unix/sparc/start.c: Likewise.
22102 * sysdeps/unix/sparc/sysdep.S: Likewise.
22103 * sysdeps/unix/sparc/sysdep.h: Likewise.
22104 * sysdeps/unix/start.c: Likewise.
22105 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22106 * sysdeps/x86_64/sysdep.h: Likewise.
22107
df78418a
UD
221082012-01-07 Ulrich Drepper <drepper@gmail.com>
22109
a784e502
UD
22110 [BZ #13553]
22111 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
22112 for non-gcc.
22113 * argp/argp-fmtstream.h: Use const instead __const.
22114 * argp/argp.h: Likewise.
22115 * assert/assert.h: Likewise.
22116 * bits/fenv.h: Likewise.
22117 * bits/sched.h: Likewise.
22118 * bits/sigset.h: Likewise.
22119 * bits/sigthread.h: Likewise.
22120 * catgets/nl_types.h: Likewise.
22121 * conform/data/pthread.h-data: Likewise.
22122 * crypt/crypt-private.h: Likewise.
22123 * crypt/crypt.h: Likewise.
22124 * crypt/crypt_util.c: Likewise.
22125 * ctype/ctype.h: Likewise.
22126 * debug/execinfo.h: Likewise.
22127 * debug/mbsnrtowcs_chk.c: Likewise.
22128 * debug/mbsrtowcs_chk.c: Likewise.
22129 * debug/wcsnrtombs_chk.c: Likewise.
22130 * debug/wcsrtombs_chk.c: Likewise.
22131 * debug/wcstombs_chk.c: Likewise.
22132 * dirent/dirent.h: Likewise.
22133 * dlfcn/dlfcn.h: Likewise.
22134 * elf/neededtest4.c: Likewise.
22135 * grp/grp.h: Likewise.
22136 * gshadow/gshadow.h: Likewise.
22137 * iconv/gconv.h: Likewise.
22138 * iconv/gconv_int.h: Likewise.
22139 * iconv/gconv_simple.c: Likewise.
22140 * iconv/iconv.h: Likewise.
22141 * iconv/loop.c: Likewise.
22142 * iconv/skeleton.c: Likewise.
22143 * include/aio.h: Likewise.
22144 * include/aliases.h: Likewise.
22145 * include/argz.h: Likewise.
22146 * include/arpa/inet.h: Likewise.
22147 * include/assert.h: Likewise.
22148 * include/dirent.h: Likewise.
22149 * include/dlfcn.h: Likewise.
22150 * include/execinfo.h: Likewise.
22151 * include/fcntl.h: Likewise.
22152 * include/fenv.h: Likewise.
22153 * include/glob.h: Likewise.
22154 * include/grp.h: Likewise.
22155 * include/libintl.h: Likewise.
22156 * include/mntent.h: Likewise.
22157 * include/netdb.h: Likewise.
22158 * include/pwd.h: Likewise.
22159 * include/rpc/netdb.h: Likewise.
22160 * include/sched.h: Likewise.
22161 * include/search.h: Likewise.
22162 * include/shadow.h: Likewise.
22163 * include/signal.h: Likewise.
22164 * include/stdio.h: Likewise.
22165 * include/stdlib.h: Likewise.
22166 * include/string.h: Likewise.
22167 * include/sys/socket.h: Likewise.
22168 * include/sys/stat.h: Likewise.
22169 * include/sys/statfs.h: Likewise.
22170 * include/sys/statvfs.h: Likewise.
22171 * include/sys/syslog.h: Likewise.
22172 * include/sys/time.h: Likewise.
22173 * include/sys/uio.h: Likewise.
22174 * include/time.h: Likewise.
22175 * include/unistd.h: Likewise.
22176 * include/utmp.h: Likewise.
22177 * include/wchar.h: Likewise.
22178 * include/wctype.h: Likewise.
22179 * inet/aliases.h: Likewise.
22180 * inet/arpa/inet.h: Likewise.
22181 * inet/netinet/ether.h: Likewise.
22182 * inet/netinet/in.h: Likewise.
22183 * intl/libintl.h: Likewise.
22184 * io/bits/fcntl2.h: Likewise.
22185 * io/fcntl.h: Likewise.
22186 * io/ftw.h: Likewise.
22187 * io/sys/poll.h: Likewise.
22188 * io/sys/stat.h: Likewise.
22189 * io/sys/statfs.h: Likewise.
22190 * io/sys/statvfs.h: Likewise.
22191 * io/utime.h: Likewise.
22192 * libio/bits/stdio.h: Likewise.
22193 * libio/bits/stdio2.h: Likewise.
22194 * libio/libio.h: Likewise.
22195 * libio/libioP.h: Likewise.
22196 * libio/stdio.h: Likewise.
22197 * locale/lc-ctype.c: Likewise.
22198 * locale/locale.h: Likewise.
22199 * login/utmp.h: Likewise.
22200 * malloc/arena.c: Likewise.
22201 * malloc/malloc.c: Likewise.
22202 * malloc/malloc.h: Likewise.
22203 * malloc/mcheck.c: Likewise.
22204 * malloc/mtrace.c: Likewise.
22205 * math/bits/mathcalls.h: Likewise.
22206 * math/fenv.h: Likewise.
22207 * math/math_private.h: Likewise.
22208 * misc/bits/error.h: Likewise.
22209 * misc/bits/syslog.h: Likewise.
22210 * misc/err.h: Likewise.
22211 * misc/error.h: Likewise.
22212 * misc/fstab.h: Likewise.
22213 * misc/mntent.h: Likewise.
22214 * misc/regexp.h: Likewise.
22215 * misc/search.h: Likewise.
22216 * misc/sgtty.h: Likewise.
22217 * misc/sys/mman.h: Likewise.
22218 * misc/sys/syslog.h: Likewise.
22219 * misc/sys/uio.h: Likewise.
22220 * misc/sys/xattr.h: Likewise.
22221 * misc/ttyent.h: Likewise.
22222 * nis/rpcsvc/ypclnt.h: Likewise.
22223 * nss/nss.h: Likewise.
22224 * posix/bits/unistd.h: Likewise.
22225 * posix/fnmatch.h: Likewise.
22226 * posix/glob.h: Likewise.
22227 * posix/sched.h: Likewise.
22228 * posix/spawn.h: Likewise.
22229 * posix/sys/wait.h: Likewise.
22230 * posix/unistd.h: Likewise.
22231 * posix/wordexp.h: Likewise.
22232 * pwd/pwd.h: Likewise.
22233 * resolv/netdb.h: Likewise.
22234 * resource/sys/resource.h: Likewise.
22235 * rt/aio.h: Likewise.
22236 * rt/bits/mqueue2.h: Likewise.
22237 * rt/mqueue.h: Likewise.
22238 * shadow/shadow.h: Likewise.
22239 * signal/signal.h: Likewise.
22240 * socket/send.c: Likewise.
22241 * socket/sendto.c: Likewise.
22242 * socket/sys/socket.h: Likewise.
22243 * stdio-common/printf.h: Likewise.
22244 * stdlib/bits/stdlib.h: Likewise.
22245 * stdlib/fmtmsg.h: Likewise.
22246 * stdlib/monetary.h: Likewise.
22247 * stdlib/stdlib.h: Likewise.
22248 * stdlib/ucontext.h: Likewise.
22249 * streams/stropts.h: Likewise.
22250 * string/argz.h: Likewise.
22251 * string/bits/string2.h: Likewise.
22252 * string/string.h: Likewise.
22253 * string/strings.h: Likewise.
22254 * sunrpc/rpc/auth.h: Likewise.
22255 * sunrpc/rpc/auth_des.h: Likewise.
22256 * sunrpc/rpc/clnt.h: Likewise.
22257 * sunrpc/rpc/netdb.h: Likewise.
22258 * sunrpc/rpc/pmap_clnt.h: Likewise.
22259 * sunrpc/rpc/xdr.h: Likewise.
22260 * sysdeps/generic/inttypes.h: Likewise.
22261 * sysdeps/generic/net/if.h: Likewise.
22262 * sysdeps/generic/sys/swap.h: Likewise.
22263 * sysdeps/gnu/net/if.h: Likewise.
22264 * sysdeps/gnu/utmpx.h: Likewise.
22265 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22266 * sysdeps/i386/i486/bits/string.h: Likewise.
22267 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22268 * sysdeps/s390/bits/string.h: Likewise.
22269 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22270 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22271 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22272 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22273 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22274 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22275 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22276 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22277 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22278 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22279 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22280 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22281 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22282 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22283 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22284 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22285 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22288 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22290 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22291 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22292 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22293 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22294 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22295 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22297 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22298 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22299 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22300 * sysvipc/sys/ipc.h: Likewise.
22301 * sysvipc/sys/msg.h: Likewise.
22302 * sysvipc/sys/sem.h: Likewise.
22303 * sysvipc/sys/shm.h: Likewise.
22304 * termios/termios.h: Likewise.
22305 * time/sys/time.h: Likewise.
22306 * time/time.h: Likewise.
22307 * wcsmbs/bits/wchar2.h: Likewise.
22308 * wcsmbs/uchar.h: Likewise.
22309 * wcsmbs/wchar.h: Likewise.
22310 * wctype/wctype.h: Likewise.
22311
0269750c
UD
22312 [BZ #13551]
22313 * Makeconfig: Remove all but ELF support including AIX support.
22314 * Makerules: Likewise.
22315 * config.h.in: Likewise.
22316 * config.make.in: Likewise.
22317 * configure: Likewise.
22318 * configure.in: Likewise.
22319 * csu/Makefile: Likewise.
22320 * csu/version.c: Likewise.
22321 * debug/Makefile: Likewise.
22322 * dlfcn/Makefile: Likewise.
22323 * elf/Makefile: Likewise.
22324 * extra-lib.mk: Likewise.
22325 * iconv/Makefile: Likewise.
22326 * include/libc-symbols.h: Likewise.
22327 * include/shlib-compat.h: Likewise.
22328 * resolv/Makefile: Likewise.
22329 * resolv/res_libc.c: Likewise.
22330 * rt/Makefile: Likewise.
22331 * sysdeps/i386/asm-syntax.h: Likewise.
22332 * sysdeps/i386/sysdep.h: Likewise.
22333 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22334 * sysdeps/mach/sysdep.h: Likewise.
22335 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22336 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22337 * sysdeps/s390/asm-syntax.h: Likewise.
22338 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22339 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22340 * sysdeps/sh/sysdep.h: Likewise.
22341 * sysdeps/unix/sparc/sysdep.h: Likewise.
22342 * sysdeps/wordsize-32/divdi3.c: Likewise.
22343 * sysdeps/x86_64/sysdep.h: Likewise.
22344
00bbd29b
UD
22345 * argp/Versions: Remove _argp_unlock_xxx.
22346
22347 [BZ #13559]
22348 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22349 * abilist/libBrokenLocale.abilist: Likewise.
22350 * abilist/libanl.abilist: Likewise.
22351 * abilist/libc.abilist: Likewise.
22352 * abilist/libcrypt.abilist: Likewise.
22353 * abilist/libdl.abilist: Likewise.
22354 * abilist/libm.abilist: Likewise.
22355 * abilist/libnsl.abilist: Likewise.
22356 * abilist/libpthread.abilist: Likewise.
22357 * abilist/libresolv.abilist: Likewise.
22358 * abilist/librt.abilist: Likewise.
22359 * abilist/libthread_db.abilist: Likewise.
22360 * abilist/libutil.abilist: Likewise.
22361 * abilist/libnss_db.abilist: New file.
22362
22363 * scripts/abilist.awk: Add support for indirect functions.
22364
a2693a0e
UD
22365 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22366
3f05895f
UD
22367 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22368
ecb6fb48
UD
22369 * shlib-versions: Remove entries for ports architectures.
22370
664f8cb9
UD
22371 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22372 files in ports.
22373 * elf/stackguard-macros.h: Remove support for IA-64.
22374 * elf/tst-auditmod1.c: Likewise.
22375 * sysdeps/generic/ldsodefs.h: Likewise.
22376
7ae81d88
UD
22377 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22378 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22379 configure files.
22380
bdeba135
UD
22381 [BZ #13552]
22382 * configure.in: Remove --enable-omitfp support.
22383 * FAQ.in: Adjust.
22384 * config.make.in: Likewise.
22385 * Makeconfig: Likewise.
22386 * manual/install.texi: Likewise.
22387
d75a0a62
UD
22388 In case anyone cares, the IA-64 architecture could move to ports.
22389 * sysdeps/ia64/*: Removed.
22390 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 22391 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 22392
dcc9756b
UD
22393 [BZ #13555]
22394 * configure.in: Remove entries for unsupported architectures.
22395
d3761ebc 22396 [BZ #13533]
9954432e
UD
22397 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22398 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22399 routines.
22400 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22401 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22402 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22403 fall back to using wcrtomb.
22404 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22405 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22406 renaming.
22407 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22408 * wcsmbs/tst-c16c32-1.c: New file.
22409
22410 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22411 local variable.
22412
c3a87236
UD
22413 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22414
28926a1b
UD
22415 * elf/tst-unique3.cc: Add explicit declaration of gets.
22416 * elf/tst-unique3lib.cc: Likewise.
22417 * elf/tst-unique3lib2.cc: Likewise.
22418 * elf/tst-unique4.cc: Likewise.
22419
df78418a
UD
22420 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22421
8ecd6b2a
JM
224222012-01-06 Joseph Myers <joseph@codesourcery.com>
22423
22424 [BZ #13566]
22425 * assert/assert.h (static_assert): Don't define for C++.
22426 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22427 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22428
9f115170
UD
224292012-01-03 Ulrich Drepper <drepper@gmail.com>
22430
5e0d0300
UD
22431 * iconv/loop.c (single loop): Fix assertion in storing of
22432 remaining bytes.
22433
9f115170
UD
22434 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22435
81fb02b0
UD
224362012-01-01 Ulrich Drepper <drepper@gmail.com>
22437
22438 * posix/getconf.c: Update copyright year.
22439 * nss/getent.c: Likewise.
a316c1f6 22440 * nss/makedb.c: Likewise.
81fb02b0
UD
22441 * iconv/iconvconfig.c: Likewise.
22442 * iconv/iconv_prog.c: Likewise.
22443 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22444 * elf/pldd.c: Likewise.
22445 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22446 * catgets/gencat.c: Likewise.
22447 * csu/version.c: Likewise.
22448 * elf/ldd.bash.in: Likewise.
22449 * elf/sprof.c (print_version): Likewise.
22450 * locale/programs/locale.c: Likewise.
22451 * locale/programs/localedef.c: Likewise.
a316c1f6 22452 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22453 * nscd/nscd.c (print_version): Likewise.
22454 * debug/xtrace.sh: Likewise.
22455 * malloc/memusage.sh: Likewise.
22456 * malloc/mtrace.pl: Likewise.
22457 * debug/catchsegv.sh: Likewise.
22458
2ba92745
JJ
224592011-12-30 Jakub Jelinek <jakub@redhat.com>
22460
22461 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22462 pure attribute.
22463
dadebdae
UD
224642011-12-24 Ulrich Drepper <drepper@gmail.com>
22465
d3761ebc 22466 [BZ #13533]
db6af3eb
UD
22467 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22468 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22469 transformations.
22470 * iconv/gconv_int.h: Likewise.
22471 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22472 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22473 from libc for GLIBC_2.16.
22474 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22475 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22476 * wcsmbs/uchar.h: Really define mbstate_t.
22477 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22478 * wcsmbs/c16rtomb.c: New file.
22479 * wcsmbs/mbrtoc16.c: New file.
22480 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22481 for C/POSIX locale.
22482 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22483 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22484
dadebdae
UD
22485 * wcsmbs/wchar.h: Add missing __restrict.
22486
67371b56
UD
224872011-12-23 Ulrich Drepper <drepper@gmail.com>
22488
74033a25
UD
22489 [BZ #13532]
22490 * time/Makefile (routines): Add timespec_get.
22491 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22492 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22493 timespec for ISO C11.
22494 * time/timespec_get.c: New file.
22495 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22496 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22497
380d7e87
UD
22498 [BZ #13531]
22499 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22500 * stdlib/stdlib.h: Declare aligned_alloc.
22501 * Versions.def: Add GLIBC_2.16 for libc.
22502 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22503
4e9e7a35
UD
22504 [BZ 13527]
22505 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22506 ISO C11.
22507
380d7e87 22508 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22509 code.
22510
03a71829
UD
22511 [BZ #13528]
22512 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22513
839e283e
UD
22514 [BZ #13529]
22515 * assert/assert.h (static_assert): Define.
22516
ce5294e2 22517 * version.h: Update for 2.16 development version.
90fa7312 22518
8d44e150 22519 [BZ #13526]
d7809905
UD
22520 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22521 _ISOC11_SOURCE.
22522
c0da14cd
UD
22523 * version.h (RELEASE): Bump for 2.15 release.
22524 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22525
530a3249
MP
22526 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22527 Patch by Marek Polacek <mpolacek@redhat.com>.
22528
67371b56
UD
22529 * bits/byteswap.h: Protect long long constants with __extension__.
22530 * sysdeps/i386/bits/byteswap.h: Likewise.
22531 * sysdeps/ia64/bits/byteswap.h: Likewise.
22532 * sysdeps/s390/bits/byteswap.h: Likewise.
22533 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22534
15db4de1
LD
225352011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22536
22537 [BZ #13540]
bbe315ea
LD
22538 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22539 destination buffer.
15db4de1
LD
22540 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22541
2b2596b1
MP
225422011-12-23 Marek Polacek <polacek@redhat.com>
22543
22544 * elf/dl-addr.c (determine_info): Add inline keyword.
22545 * elf/tst-auditmod4b.c (check_avx): Likewise.
22546 * elf/tst-auditmod6b.c (check_avx): Likewise.
22547 * elf/tst-auditmod6c.c (check_avx): Likewise.
22548 * elf/tst-auditmod7b.c (check_avx): Likewise.
22549
70c6c246
UD
225502011-12-23 Ulrich Drepper <drepper@gmail.com>
22551
22552 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22553 !__SSE_MATH__.
22554
c044cf14
LD
225552011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22556
15db4de1 22557 [BZ #13540]
c044cf14
LD
22558 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22559 processing for last bytes.
22560
6b13d9d9
BH
225612011-08-06 Bruno Haible <bruno@clisp.org>
22562
d455f537
BH
22563 [BZ #13061]
22564 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22565 U+0385, not to U+1FEE.
22566
6b13d9d9
BH
22567 [BZ #13062]
22568 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22569 entry for U+00A5 U+0301.
22570
db910efd
UD
225712011-12-22 Ulrich Drepper <drepper@gmail.com>
22572
27deeafc
UD
22573 [BZ #13166]
22574 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22575 buffer for the output is too small.
22576
aed9d171
UD
22577 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22578 optimization.
22579
db910efd
UD
22580 [BZ #13185]
22581 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22582 SSE flags if possible.
22583
2bd779ae
LD
225842011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22585
e7f9dac3 22586 [BZ #13540]
2bd779ae
LD
22587 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22588 processing for last bytes.
22589
154bfc16
JM
225902011-12-22 Joseph Myers <joseph@codesourcery.com>
22591
22592 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22593 (syscall-list-default-options, syscall-list-default-condition)
22594 (syscall-list-includes): Define.
22595 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22596 list of ABIs and options and #if conditions for each ABI. Do not
22597 handle common syscalls between ABIs specially.
22598 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22599 Remove.
22600 (syscall-list-variants, syscall-list-32bit-options)
22601 (syscall-list-32bit-condition, syscall-list-64bit-options)
22602 (syscall-list-64bit-condition): Define.
22603 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22604 (syscall-list-variants, syscall-list-32bit-options)
22605 (syscall-list-32bit-condition, syscall-list-64bit-options)
22606 (syscall-list-64bit-condition): Define.
22607 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22608 Remove.
22609 (syscall-list-variants, syscall-list-32bit-options)
22610 (syscall-list-32bit-condition, syscall-list-64bit-options)
22611 (syscall-list-64bit-condition): Define.
22612 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22613 Remove.
22614 (syscall-list-variants, syscall-list-32bit-options)
22615 (syscall-list-32bit-condition, syscall-list-64bit-options)
22616 (syscall-list-64bit-condition): Define.
22617
21eaf3a5
UD
226182011-12-22 Ulrich Drepper <drepper@gmail.com>
22619
16c6f992
UD
22620 * locale/iso-639.def: Add brx entry.
22621
41043168
UD
22622 [BZ #13328]
22623 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22624 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22625
21eaf3a5
UD
22626 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22627 __feraiseexcept_renamed.
22628
e3a851a2
UD
226292011-12-21 Ulrich Drepper <drepper@gmail.com>
22630
4920765e
UD
22631 [BZ #13538]
22632 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22633 EPOLLET with unsigned values.
22634 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22635 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22636
e3a851a2
UD
22637 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22638 to large cancellation.
22639 * math/s_cacoshf.c: Likewise.
22640 * math/s_cacoshl.c: Likewise.
22641
b27e24b8
RK
226422011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22643
22644 [BZ #13305]
aebefeee 22645 [BZ #12786]
b27e24b8
RK
22646 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22647 * math/s_cacoshf.c: Likewise.
22648 * math/s_cacoshl.c: Likewise.
22649
ee190f67
UD
226502011-12-21 Ulrich Drepper <drepper@gmail.com>
22651
22652 [BZ #13439]
22653 * iconv/gconv.h: Define __GCONV_SWAP.
22654 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22655 * iconvdata/utf-16.c: Likewise.
22656 * iconvdata/utf-32.c: Likewise.
22657
707f25df
AS
226582011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22659
22660 [BZ #13524]
22661 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22662 numerator after shifting it by one limb.
22663
d2daaa1e
RÁE
226642011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22665
22666 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22667 under [__USE_EXTERN_INLINES].
22668
a4647e72
UD
226692011-12-17 Ulrich Drepper <drepper@gmail.com>
22670
22671 [BZ #13446]
22672 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22673
f0b264f1
AZ
226742011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22675
22676 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22677 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22678 optimized code.
22679 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22680 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22681 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22682 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22683 for strncasecmp/strncasecmp_l compilation.
22684 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22685 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22686
8ef4f244
MP
226872011-12-08 Marek Polacek <mpolacek@redhat.com>
22688
22689 [BZ #13484]
22690 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22691 of __asm__.
22692
97ac2654
UD
226932011-12-17 Ulrich Drepper <drepper@gmail.com>
22694
22695 [BZ #13506]
22696 * time/tzfile.c (__tzfile_read): Check values from file header.
22697
91d2a845
WS
226982011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22699
22700 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22701 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22702 * powerpc/powerpc32/dl-start.S: Likewise.
22703 * powerpc/powerpc32/elf/start.S: Likewise.
22704 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22705 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22706 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22707 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22708 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22709 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22710 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22711 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22712 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22713 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22714 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22715 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22716 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22717 * powerpc/powerpc32/memset.S: Likewise.
22718 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22719 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22720 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22721 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22722 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22723 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22724 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22725 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22726 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22727 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22728 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22729 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22730 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22731
a1267ba1
AZ
227322011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22733
22734 * math/libm-test.inc: Added more nearbyint tests.
22735 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22736 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22738 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22739
ad8ac1bd
RL
227402011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22741
22742 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22743 FD_CLOEXEC.
22744
1d3e4b61
UD
227452011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22746
22747 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22748 Add wcscpy-ssse3 wcscpy-c.
22749 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22750 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22751 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22752 * sysdeps/x86_64/wcschr.S: New file.
22753 * sysdeps/x86_64/wcsrchr.S: New file.
22754 * string/test-strcmp.c: Remove checking of wcscmp function for
22755 wrong alignments.
22756 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22757 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22758 wcsrchr-sse2 wcsrchr-c.
22759 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22760 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22761 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22762 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22763 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22764 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22765 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22766 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22767 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22768 * wcsmbc/wcschr.c (WCSCHR): New macro.
22769
5b330a2d
UD
227702011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22771
22772 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22773 * wcsmbs/test-wcsrchr.c: New file.
22774 * string/test-strrchr.c: Add wcsrchr support.
22775 (WIDE): New macro.
22776 * wcsmbs/test-wcscpy.c: New file.
22777 * string/test-strcpy.c: Add wcscpy support.
22778 (WIDE): New macro.
26428b7c 22779
f039c043
UD
227802011-12-10 Ulrich Drepper <drepper@gmail.com>
22781
22782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22783 the inner loop.
22784
850fb039
AS
227852011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22786
22787 [BZ #13472]
22788 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22789
4efbd5cb
UD
227902011-12-04 Ulrich Drepper <drepper@gmail.com>
22791
52ff5dd0 22792 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22793 Minor optimizations.
52ff5dd0 22794
4efbd5cb
UD
22795 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22796 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22797 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22798
8a426e12
UD
227992011-12-03 Ulrich Drepper <drepper@gmail.com>
22800
aff2453d
UD
22801 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22802 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22803 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22804 for gcc to avoid warnings.
22805 * inet/Makefile (tests): Add tst-checks.
22806 * inet/tst-checks.c: New file.
22807
22808 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22809 warning.
22810
22811 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22812 __wmemcmp_sse2.
22813
22814 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22815 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22816
8a426e12
UD
22817 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22818
9bea3473
UD
228192011-12-02 Ulrich Drepper <drepper@gmail.com>
22820
3a965496
UD
22821 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22822 problem.
22823
9bea3473
UD
22824 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22825
f101631b
UD
228262011-11-29 Joseph Myers <joseph@codesourcery.com>
22827
22828 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22829 conditional on GCC version.
22830 (__arch_compare_and_exchange_val_8_acq)
22831 (__arch_compare_and_exchange_val_16_acq)
22832 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22833 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22834 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22835
a98275aa
UD
228362011-12-02 Joseph Myers <joseph@codesourcery.com>
22837
22838 * sysdeps/sh/backtrace.c: New file.
22839
d4cc29a2
AS
228402011-12-02 Andreas Schwab <schwab@redhat.com>
22841
22842 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22843 parenthesis.
22844
6257af2d
AS
228452011-12-01 Andreas Schwab <schwab@redhat.com>
22846
22847 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22848 falling back to utime.
22849
b5f44c1a
AS
228502011-11-30 Andreas Schwab <schwab@redhat.com>
22851
22852 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22853 expectations for float.
22854
f3a6cc0a
AS
228552011-11-29 Andreas Schwab <schwab@redhat.com>
22856
22857 * locale/weight.h (findidx): Add parameter len.
22858 * locale/weightwc.h (findidx): Likewise.
22859 * posix/fnmatch_loop.c (FCT): Adjust caller.
22860 * posix/regcomp.c (build_equiv_class): Likewise.
22861 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22862 * posix/regexec.c (check_node_accept_bytes): Likewise.
22863 * string/strcoll_l.c (STRCOLL): Likewise.
22864 * string/strxfrm_l.c (STRXFRM): Likewise.
22865
9d65ea3a
UD
228662011-11-17 Ulrich Drepper <drepper@gmail.com>
22867
22868 * Makefile.in: Remove CVSOPT handling.
22869 * configure.in: Remove use of AC_REVISION.
22870 * iconvdata/Makefile (distribute): No need to filter out CVS.
22871 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22872 handling.
22873
5583a086
AS
228742011-11-16 Andreas Schwab <schwab@redhat.com>
22875
22876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22877 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22878 [USE_AS_STRNCASECMP_L]: Likewise.
22879 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22880 NO_TLS_DIRECT_SEG_REFS.
22881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22882 Fix argument offsets for non-PIC.
22883 [USE_AS_STRNCASECMP_L]: Likewise.
22884 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22885 NO_TLS_DIRECT_SEG_REFS.
22886
d62a8200
UD
228872011-11-15 Ulrich Drepper <drepper@gmail.com>
22888
9d65ea3a 22889 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22890 O_CLOEXEC.
22891 * locale/loadlocale.c (_nl_load_locale): Likewise.
22892
09f93bd3
AS
228932011-11-15 Andreas Schwab <schwab@redhat.com>
22894
446514f9
AS
22895 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22896 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22897 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22898 (SYSCALL_GETTIME): Set errno on error.
22899
09f93bd3
AS
22900 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22901 count references to noai6ai_cached.
22902
312be3f9
UD
229032011-11-15 Ulrich Drepper <drepper@gmail.com>
22904
22905 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22906
22907 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22908 FD_CLOEXEC for /proc/self/maps.
22909
22910 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22911 FD_CLOEXEC for /proc/meminfo.
22912
22913 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22914 gai.conf.
22915
22916 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22917 FD_CLOEXEC for given file.
22918
22919 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22920
22921 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22922 FD_CLOEXEC for /etc/hosts.
22923 (_gethtent): Likewise.
22924
22925 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22926
22927 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22928 cancellation and set FD_CLOEXEC for /etc/netgroup.
22929
22930 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22931 reading /etc/publickey.
22932
22933 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22934 allow cancellation when reading /etc/group.
22935
22936 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22937 cancellation.
22938 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22939
22940 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22941 when using data file.
22942
22943 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22944
22945 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22946 (write_nis_obj): Use "c" and "e" in fopen.
22947
22948 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22949
22950 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22951
22952 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22953
22954 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22955
22956 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22957 locale.alias.
22958
22959 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22960
22961 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22962
22963 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22964
22965 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22966 file parsing and set FD_CLOEXEC.
22967
82af0fa8
UD
229682011-11-14 Ulrich Drepper <drepper@gmail.com>
22969
22970 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22971
a5fb313c
AS
229722011-11-14 Andreas Schwab <schwab@redhat.com>
22973
22974 * malloc/arena.c (arena_get2): Don't call reused_arena when
22975 _int_new_arena failed.
22976
6abf3465
UD
229772011-11-14 Ulrich Drepper <drepper@gmail.com>
22978
22979 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22980 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22981 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22982 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22983 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22984 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22985 to compile strcasecmp and strncasecmp.
22986 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22987 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22988
22989 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22990
76e3966e
UD
229912011-11-13 Ulrich Drepper <drepper@gmail.com>
22992
22993 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22994 locale-defines.sym to gen-as-const-headers.
22995 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22996 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22998 to compile strcasecmp and strncasecmp.
22999 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
23000 strcasecmp_l and strncasecmp_l.
23001 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
23002 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
23003 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
23004 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
23005 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
23006 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
23007 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
23008 * sysdeps/i386/i686/multiarch/strncase.S: New file.
23009 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
23010 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
23011 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
23012
ab26144e
UD
230132011-11-12 Ulrich Drepper <drepper@gmail.com>
23014
7edb22ef
UD
23015 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
23016 result of SYSDEP_GETTIME_CPU to retval.
23017 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
23018 parameter list to macro. Remove trailing semicolon. Adjust users.
23019
9694fc44
UD
23020 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
23021 variable.
23022
8ad89ef8
UD
23023 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
23024 mantissa words.
23025 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
23026
0c822ef9
UD
23027 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
23028 from unused variable.
23029
874e0564
UD
23030 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
23031 DWARF definitions.
23032 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
23033 for assembling.
23034
3a2edc79
UD
23035 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
23036 over namespaces.
23037
f3c2577f
UD
23038 * sunrpc/rpc_prot.c (rejected): Fix case value.
23039
294ce126
UD
23040 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
23041 unsigned long long int to avoid warnings in shift.
23042
5e2b63c6
UD
23043 * posix/regex_internal.c (re_string_reconstruct): Actually use result
23044 of use of trans.
23045 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
23046 variable tmp.
23047
e7f4b08e
UD
23048 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
23049 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
23050 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
23051
ab26144e
UD
23052 * nis/nis_table.c (nis_list): Use variable of correct type for
23053 result of __follow_path call.
23054
8a6d5255
AZ
230552011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23056
23057 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
23058 of math functions ceil, trunc, floor, round, and sqrt, when
23059 avaliable on the platform.
23060 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
23061 name clash.
23062 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23063 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
23064 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
23065
aaddc98c
MP
230662011-10-30 Marek Polacek <mpolacek@redhat.com>
23067
23068 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
23069 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
23070
95b7042b
RM
230712011-11-11 Roland McGrath <roland@hack.frob.com>
23072
23073 * include/unistd.h: Fix __readlink return type.
23074 Reported by Chris Metcalf <cmetcalf@tilera.com>.
23075
57769839
UD
230762011-11-11 Ulrich Drepper <drepper@gmail.com>
23077
23078 * stdlib/ucontext.h: Undo last change for makecontext.
23079
edc5984d
AS
230802011-11-11 Andreas Schwab <schwab@redhat.com>
23081
98591e58
AS
23082 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
23083
edc5984d
AS
23084 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
23085 * setjmp/setjmp.h: Mark functions as non-leaf.
23086 * setjmp/bits/setjmp2.h: Likewise.
23087 * stdlib/ucontext.h: Likewise.
23088
77cdc054
AS
230892011-11-10 Andreas Schwab <schwab@redhat.com>
23090
23091 * malloc/arena.c (_int_new_arena): Don't increment narenas.
23092 (reused_arena): Don't check arena limit.
23093 (arena_get2): Atomically check arena limit.
23094
fe72eebd
UD
230952011-11-08 Ulrich Drepper <drepper@gmail.com>
23096
5f078c32
UD
23097 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
23098 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
23099
fe72eebd
UD
23100 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
23101 instructions.
23102
ae1bc2fa
AS
231032011-11-07 Andreas Schwab <schwab@redhat.com>
23104
7583a88d
AS
23105 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
23106 handler when locking.
23107
ae1bc2fa
AS
23108 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23109 Fix size of allocated buffer.
23110
10fb0bfa
AS
231112011-11-04 Andreas Schwab <schwab@redhat.com>
23112
998832a4
AS
23113 [BZ #10103]
23114 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
23115 declarations for long double functions.
23116 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
23117
10fb0bfa
AS
23118 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
23119
3d7ba52b
AS
231202011-11-03 Andreas Schwab <schwab@redhat.com>
23121
a9ae54a1
AS
23122 * nscd/nscd.c (main): Don't start AVC thread until credentials are
23123 installed.
23124
3d7ba52b
AS
23125 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
23126 is disabled.
23127
bc8db248
ST
231282011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
23129
23130 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
23131
45b96dd6
AS
231322011-11-01 Andreas Schwab <schwab@linux-m68k.org>
23133
647776f6
AS
23134 * include/alloca.h (stackinfo_alloca_round): Define.
23135 (extend_alloca): Use it.
23136 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
23137 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
23138 here.
23139
d91a8b93
AS
23140 * scripts/check-local-headers.sh: Ignore libaudit.h.
23141
45b96dd6
AS
23142 * nscd/Makefile (extra-objs): Make recursively expanded.
23143
432d41ce
UD
231442011-11-01 Ulrich Drepper <drepper@gmail.com>
23145
34372fc6
UD
23146 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
23147 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23148
fadb59f8
UD
23149 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
23150 * posix/tst-rfc3484-2.c: Likewise.
23151 * posix/tst-rfc3484-3.c: Likewise.
23152
78239589
UD
23153 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23154 process_vm_writev.
23155 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
23156 process_vm_writev.
23157 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
23158 process_vm_writev from libc using GLIBC_2.15 version.
23159
432d41ce
UD
23160 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
23161
02f9c6cf
PP
231622011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
23163
23164 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
23165 stack usage.
23166
3a2c0242
UD
231672011-10-31 Ulrich Drepper <drepper@gmail.com>
23168
f4ec4833
UD
23169 [BZ #13367]
23170 * nss/getent.c (initgroups_keys): Show error message in case no group
23171 names are given.
23172
3a2c0242
UD
23173 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
23174 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
23175 __bump_nl_timestamp.
23176 * nscd/connections (nscd_init): When host database is served open
23177 netlink socket and request notification about configuration changes.
23178 (main_loop_poll): Track netlink file descriptor and bump timestamp
23179 in case data becomes available.
23180 (main_loop_epoll): Likewise.
23181 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
23182 (database_pers_head): Add extra_data fileds.
23183 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
23184 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23185 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23186 Adjust caller.
23187 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23188 in6ai data, call __free_in6ai.
23189 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23190 Add -DHAVE_NETLINK.
23191 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23192 interface information. Reuse previous data if netlink timestamp
23193 is not changed.
23194 (__bump_nl_timestamp): New function.
23195 (__free_in6ai): New function.
23196
636064eb
UD
231972011-10-30 Ulrich Drepper <drepper@gmail.com>
23198
23199 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23200 close_not_cancel_no_status here.
23201 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23202
9beb2334
UD
232032011-10-29 Ulrich Drepper <drepper@gmail.com>
23204
6ef76f3b
UD
23205 [BZ #13276]
23206 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23207 return value.
23208
0ffc4f3e 23209 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23210 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23211 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23212
cb95113e
UD
232132011-07-03 Andreas Jaeger <aj@suse.de>
23214
23215 [BZ #10709]
23216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23217 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23218 * math/libm-test.inc (sin_test): Add test case.
23219
a1b560ff
UD
232202011-10-29 Ulrich Drepper <drepper@gmail.com>
23221
c9aaface
UD
23222 [BZ #13337]
23223 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23224 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23225
d272e7f1
UD
23226 * elf/chroot_canon.c (chroot_canon): Cleanups.
23227
1bc33071
UD
23228 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23229
1760874d
TJ
23230 [BZ #13335]
23231 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23232 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23233
51d91b18
UD
23234 * string/test-strchr.c: Make usable for strchrnul testing.
23235 * string/test-strchrnul.c: New file.
23236 * string/Makefile (strop-tests): Add strchrnul.
23237
a1b560ff 23238 * po/it.po: Update from translation team.
b611fb81 23239 * po/es.po: Likewise.
a1b560ff 23240
a5b81e1f
UD
232412011-10-28 Ulrich Drepper <drepper@gmail.com>
23242
fd52bc6d
UD
23243 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23244 the three constants needed as parameters. Drop the others.
23245 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23246 __m128i_strloadu_tolower.
52e4b9eb
UD
23247 Create and initialize variable zero and use it in all the places
23248 where _mm_setzero_si128 was used.
fd52bc6d 23249
a5b81e1f
UD
23250 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23251 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23252 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23253 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23254 anymore.
23255 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23256 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23257 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23258 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23259 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23260 __mpranred, __mptan.
23261 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23262 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23263 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23264 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23265 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23266 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23267 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23268 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23269 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23270
b4343346
AS
232712011-10-28 Andreas Schwab <schwab@redhat.com>
23272
0c92d8a8
AS
23273 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23274 redefine if SHARED.
23275 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23276
b4343346
AS
23277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23278 wide char related routines to wcsmbs subdir.
23279
3871f58f
AS
232802011-10-27 Andreas Schwab <schwab@redhat.com>
23281
23282 [BZ #13344]
23283 * misc/sys/cdefs.h (__THROWNL): Define.
23284 * posix/unistd.h: Use __THREADNL instead of __THREAD
23285 for memory synchronization functions.
23286
94d44d9f
RM
232872011-10-26 Roland McGrath <roland@hack.frob.com>
23288
21b64b15 23289 [BZ #13349]
94d44d9f
RM
23290 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23291 doesn't exist.
23292 * manual/stdio.texi (Obstack Streams): Node removed.
23293
f6ce9294
AS
232942011-10-26 Andreas Schwab <schwab@redhat.com>
23295
80479147
AS
23296 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23297 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23298 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23299
f6ce9294
AS
23300 * math/math_private.h (math_force_eval): Allow non-addressable
23301 arguments.
23302 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23303
618280a1
UD
233042011-10-25 Ulrich Drepper <drepper@gmail.com>
23305
e0016b11
UD
23306 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23307 file is not needed.
23308
23309 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23310 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23311 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23312 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23313 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23314 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23315 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23316 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23317 Add AVX variants.
23318 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23319 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23320 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23321 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23322 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23323 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23324 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23325 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23326 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23327 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23328 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23329 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23330 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23331 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23332 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23333 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23334 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23335 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23336 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23337
23338 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23339 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23340
618280a1
UD
23341 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23342 place. Use VEX encoding when compiling for AVX.
23343
37822576
AS
233442011-10-25 Andreas Schwab <schwab@redhat.com>
23345
1f1e1947
AS
23346 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23347 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23348
37822576
AS
23349 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23350
31ea014d
UD
233512011-10-25 Ulrich Drepper <drepper@gmail.com>
23352
d7826aa1 23353 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23354 useless if() expression.
d7826aa1
UD
23355 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23356 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23357 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23358 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23359 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23360 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23361 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23362 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23363 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23364 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23365 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23366 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23367 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23368 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23369 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23370 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23371 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23372 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23373 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23374
31ea014d
UD
23375 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23376
16437fec
AS
233772011-10-25 Andreas Schwab <schwab@redhat.com>
23378
23379 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23380 condition.
23381 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23382
31d3cc00
UD
233832011-10-25 Ulrich Drepper <drepper@gmail.com>
23384
23385 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23386 .text section. Avoid duplicate constants.
23387 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23389 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23393 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23397 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23399 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23400 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23401 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23402 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23403 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23404 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23405 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23410 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23411 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23412 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23413 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23414 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23415 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23417 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23418 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23419 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23420 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23421 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23422 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23423 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23424 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23425 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23426 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23427 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23428 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23429 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23430 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23431 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23432
58985aa9
UD
234332011-10-24 Ulrich Drepper <drepper@gmail.com>
23434
202c9deb
UD
23435 * sysdeps/x86_64/dla.h: Move to ...
23436 * sysdeps/x86_64/fpu/dla.h: ...here.
23437 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23438 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23439
af968f62
UD
23440 * config.make.in: Add have-mfma4 entry.
23441 * configure.in: Substitute libc_cv_cc_fma4.
23442 * math/Makefile (dbl-only-routines): Add sincostab.
23443 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23444 Use __sincostab not sincos.
23445 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23446 name is a macro.
23447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23448 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23450 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23451 using __copysign.
23452 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23453 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23454 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23455 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23456 and __inv.
23457 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23458 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23459 __copysign.
23460 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23461 define aliases when function name is a macro.
23462 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23463 sysdeps/ieee754/dbl-64/sincos.tbl.
23464 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23465 fma4-enabled routines.
23466 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23467 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23468 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23469 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23470 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23471 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23472 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23473 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23474 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23475 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23476 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23477 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23478 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23479 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23481 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23482 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23483 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23484 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23485 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23486 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23487 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23488 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23489 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23490 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23491 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23492 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23493 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23494 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23495 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23496
58985aa9
UD
23497 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23498 rename.
23499 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23500 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23503 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23504 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23505 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23507
a201fbcf
AS
235082011-10-24 Andreas Schwab <schwab@redhat.com>
23509
23510 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23511
fc2ee42a
LD
235122011-10-23 Ulrich Drepper <drepper@gmail.com>
23513
bb3129bd
UD
23514 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23515
0275fff8
UD
23516 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23517 prediction.
23518 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23519
2fa2ae85
UD
23520 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23521 Remove unused variable magic_bits.
23522 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23523
fc2ee42a
LD
23524 * string/strnlen.c: Define and use STRNLEN macro.
23525 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23526 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23528 * wcsmbs/wcslen.c: Define and use WCSLEN.
23529 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23530 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23531 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23532 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23533 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23534 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23535 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23536
ce7dd29f
LD
235372011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23538
23539 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23540 strnlen-sse2-no-bsf.
23541 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23543 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23544 Add strnlen support.
23545 (USE_AS_STRNLEN): New macro.
23546 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23547 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23548 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23549 * sysdeps/x86_64/wcslen.S: New file.
23550
979c70a3
MZ
235512011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23552
23553 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23554 XMM-moves are used for copying on small sizes.
23555
2d09f82f
LD
235562011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23557
23558 * wcsmbs/Makefile (strop-tests): Add wcschr.
23559 * wcsmbs/test-wcschr.c: New file.
23560 * string/test-strchr.c: Update.
23561 Add wcschr support.
23562 (WIDE): New macro.
23563
619fccca
LD
235642011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23565
2d09f82f 23566 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23567 * wcsmbs/test-wcslen.c: New file.
23568 * string/test-strlen.c: Update.
23569 Add wcslen support.
23570 (WIDE): New macro.
23571
09f699ea
UD
235722011-10-23 Ulrich Drepper <drepper@gmail.com>
23573
23574 * po/it.po: Update from translation team.
23575
95584d3b
LD
235762011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23577
23578 * sysdeps/x86_64/wcscmp.S: Update.
23579 Fix wrong comparison semantics.
23580 wcscmp shall use signed comparison not unsigned.
23581 Don't use substraction to avoid overflow bug.
23582 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23583 * wcsmbc/wcscmp.c: Likewise.
23584 * string/test-strcmp.c: Likewise.
23585 Add new tests to check cases with negative values.
23586
c8b3296b
UD
235872011-10-23 Ulrich Drepper <drepper@gmail.com>
23588
23589 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23590 * sysdeps/x86_64/dla.h: ...here. New file.
23591 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23598 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23599 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23600
246ad57a
AS
236012011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23602
23603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23604 __ynl_finite aliases.
23605
a1a87169
UD
236062011-10-22 Ulrich Drepper <drepper@gmail.com>
23607
0d355eb7
UD
23608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23609
a1a87169
UD
23610 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23611 define DLA_FMA.
23612 [DLA_FMA] (EMULV): Use DLA_FMA.
23613 [DLA_FMA] (MUL12): Use EMULV.
23614 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23615 that are not needed.
23616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23621 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23622 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23623
ee2aafe0
AS
236242011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23625
23626 * math/s_nan.c: Undef __nan.
23627 * math/s_nanf.c: Undef __nanf.
23628 * math/s_nanl.c: Undef __nanl.
23629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23630 "math_private.h".
23631
bc62c2fb
UD
236322011-10-22 Ulrich Drepper <drepper@gmail.com>
23633
77425c63
UD
23634 * math/s_catan.c: Add branch predictions.
23635 * math/s_catanf.c: Likewise.
23636 * math/s_catanh.c: Likewise.
23637 * math/s_catanhf.c: Likewise.
23638 * math/s_catanhl.c: Likewise.
23639 * math/s_catanl.c: Likewise.
23640 * math/s_cexp.c: Likewise.
23641 * math/s_cexpf.c: Likewise.
23642 * math/s_cexpl.c: Likewise.
23643 * math/s_clog.c: Likewise.
23644 * math/s_clog10.c: Likewise.
23645 * math/s_clog10f.c: Likewise.
23646 * math/s_clog10l.c: Likewise.
23647 * math/s_clogf.c: Likewise.
23648 * math/s_clogl.c: Likewise.
23649 * math/s_csqrt.c: Likewise.
23650 * math/s_csqrtf.c: Likewise.
23651 * math/s_csqrtl.c: Likewise.
23652 * math/s_ctanf.c: Likewise.
23653 * math/s_ctanh.c: Likewise.
23654 * math/s_ctanhf.c: Likewise.
23655 * math/s_ctanhl.c: Likewise.
23656 * math/s_ctanl.c: Likewise.
23657
bc62c2fb
UD
23658 * math/math_private.h: Define __nan, __nanf, __nanl.
23659 * math/s_cacosh.c: Include <math_private.h>.
23660 * math/s_cacoshl.c: Likewise.
23661 * math/s_casinh.c: Likewise.
23662 * math/s_casinhf.c: Likewise.
23663 * math/s_casinhl.c: Likewise.
23664 * math/s_ccos.c: Rely entire on ccosh.
23665 * math/s_ccosf.c: Rely entire on ccoshf.
23666 * math/s_ccosl.c: Rely entirely on ccoshl.
23667 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23668 Remove tests for FE_INVALID.
23669 * math/s_ccoshf.c: Likewise.
23670 * math/s_ccoshl.c: Likewise.
23671 * math/s_csin.c: Likewise.
23672 * math/s_csinf.c: Likewise.
23673 * math/s_csinh.c Likewise.
23674 * math/s_csinhf.c: Likewise.
23675 * math/s_csinhl.c: Likewise.
23676 * math/s_csinl.c: Likewise.
23677 * math/s_ctan.c: Likewise.
23678 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23679 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23680 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23681
8ec250a4
UD
236822011-10-21 Ulrich Drepper <drepper@gmail.com>
23683
c196fed8
UD
23684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23685 compilation problems.
23686
8ec250a4
UD
23687 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23688 __builtin_expect.
23689
8d4f46c6
UD
236902011-10-20 Ulrich Drepper <drepper@gmail.com>
23691
ed72b654
UD
23692 * sysdeps/i386/configure.in: Test for -mfma4 option.
23693 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23694 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23695 COMMON_CPUID_INDEX_80000001.
23696 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23697 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23698 use it if FMA3 is not supported.
23699 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23700
8d4f46c6
UD
23701 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23702 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23703
d45c60c2
AS
237042011-10-20 Andreas Schwab <schwab@redhat.com>
23705
23706 [BZ #12892]
23707 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23708 it would create a cycle with a link time dependency.
23709
d9a4d2ab
UD
237102011-10-19 Ulrich Drepper <drepper@gmail.com>
23711
855d1560
UD
23712 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23713 instruction.
23714 * string/Makefile (strop-tests): Add rawmemchr.
23715 * string/test-rawmemchr.c: New file.
23716
d9a4d2ab
UD
23717 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23718 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23719 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23720 when compiling str{,n}casecmp and when AVX is available. Hook up
23721 new optimized code in initializers.
23722
8f3b1ffe
AS
237232011-10-19 Andreas Schwab <schwab@redhat.com>
23724
23725 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23726 __feraiseexcept instead of feraiseexcept.
23727
d38f1dba
UD
237282011-10-18 Ulrich Drepper <drepper@gmail.com>
23729
d9a8d0ab
UD
23730 * math/math_private.h: Define defaults for libc_fetestexcept and
23731 libc_feupdateenv.
23732 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23733 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23734 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23735 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23736 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23737 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23738 libc_fetestexcept and libc_feupdateenv.
23739
4855e3dd
UD
23740 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23741 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23742 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23743 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23744 libc_feholdexcept_setround.
23745
581d30e3
UD
23746 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23747 Add s_nearbyint-c and s_nearbyintf-c.
23748 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23749 nearbyintf inlines.
23750 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23751 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23752 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23753 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23754
d38f1dba
UD
23755 * math/math_private.h: Define defaults for libc_fegetround,
23756 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23757 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23758 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23760 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23761 standard functions.
23762 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23763 Remove comments and hacks for old compiler versions.
23764 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23765 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23766 libc_feholdexceptl.
23767
caa6c9d8
AS
237682011-10-18 Andreas Schwab <schwab@redhat.com>
23769
23770 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23771 (__feraiseexcept_renamed): Add __NTH.
23772 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23773 namespace violations.
23774
97c066e6
UD
237752011-10-17 Ulrich Drepper <drepper@gmail.com>
23776
99ce7b04
UD
23777 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23778
1004d182
UD
23779 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23780
228a984d
UD
23781 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23782 recently added interfaces.
23783 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23784
c8553a6a
UD
23785 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23786 about macro parameter expansion.
23787
ed22dcf6
UD
23788 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23789 __NO_MATH_INLINES is defined. Cleanups.
23790
23791 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23792 and __floorf is target has SSE4.1.
23793 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23794 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23795 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23796 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23797
b171c137
UD
23798 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23799 name.
23800 (floorf): Likewise.
23801
97c066e6
UD
23802 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23803
629f62ef
AS
238042011-10-17 Andreas Schwab <schwab@redhat.com>
23805
49a43d80
AS
23806 * misc/sys/cdefs.h: Fix last change.
23807
629f62ef
AS
23808 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23809 database lookup.
23810
e453f6cd
UD
238112011-10-16 Ulrich Drepper <drepper@gmail.com>
23812
aa78043a
UD
23813 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23814
ad0f5cad
UD
23815 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23816 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23817 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23818 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23819 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23820 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23821 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23822 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23823 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23824 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23825 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23826 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23827 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23828 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23829 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23830 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23831 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23832 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23833 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23834 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23835 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23836 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23837
23838 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23839 ceil, ceilf, floor, floorf.
23840
23841 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23842 Perform IRELATIVE relocations last.
23843
e453f6cd
UD
23844 * elf/do-rel.h: Add another parameter nrelative, replacing the
23845 local variable with the same name. Change name of the function
23846 to end in Rel or Rela (uppercase).
23847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23848 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23849 elf_dynamic_do_##reloc function.
23850
fd5bdc09
UD
238512011-10-15 Ulrich Drepper <drepper@gmail.com>
23852
79b195b5
UD
23853 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23854 is sufficient, at least on modern CPUs.
23855
d4a28569
UD
23856 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23857
b61099b5
UD
23858 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23859 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23860
bcf01e6d
UD
23861 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23862 __expl_finite.
23863 * math/bits/math-finite.h: Add entries for exp.
23864 * math/e_expl.c: Add __*_finite alias.
23865 * sysdeps/i386/fpu/e_exp.S: Likewise.
23866 * sysdeps/i386/fpu/e_expf.S: Likewise.
23867 * sysdeps/i386/fpu/e_expl.c: Likewise.
23868 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23869 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23870 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23872 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23873 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23874 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23875
ba1a0d59
UD
23876 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23877 is sufficient, at least on modern CPUs.
23878
fd5bdc09
UD
23879 * ctype/ctype-info.c (__ctype_init): Define.
23880 * include/ctype.h (__ctype_init): Declare.
23881 (__ctype_b_loc): The variable is always initialized.
23882 (__ctype_toupper_loc): Likewise.
23883 (__ctype_tolower_loc): Likewise.
23884 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23885 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23886
7872cfb0
AS
238872011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23888
b468825a
AS
23889 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23890
7872cfb0
AS
23891 * configure.in: Also look in $cxxmachine/include for C++ system
23892 headers.
23893
be13f7bf
LD
238942011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23895
23896 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23897 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23898 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23899 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23900 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23901 (USE_AS_WMEMCMP): New macro.
23902 Fixing indents.
23903 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23904 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23905 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23906 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23908 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23909 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23910 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23911 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23912 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23913 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23914 (USE_AS_WMEMCMP): New macro.
23915 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23916 * sysdeps/string/test-memcmp.c: Update.
23917 Fix simple_wmemcmp.
23918 Add new tests.
23919 * wcsmbs/wmemcmp.c: Update.
23920 (WMEMCMP): New macro.
23921 Fix overflow bug.
23922
556a2007
AJ
239232011-10-12 Andreas Jaeger <aj@suse.de>
23924
23925 [BZ #13268]
23926 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23927
538faaa7
UD
239282011-10-15 Ulrich Drepper <drepper@gmail.com>
23929
ab6737ff
UD
23930 * libio/iofwide.c (do_length): Avoid warning.
23931
538faaa7
UD
23932 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23933
396a21b1
UD
239342011-10-14 Ulrich Drepper <drepper@gmail.com>
23935
cdf2901f
UD
23936 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23937
38ad40ce
UD
23938 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23939 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23940 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23941 * sysdeps/i386/i686/fpu/e_log.S: New file.
23942 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23943 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23944
396a21b1
UD
23945 * ctype/ctype.h: Add support for inlined isXXX functions when
23946 compiling C++ code.
23947
6b1f68c9
AS
239482011-10-14 Andreas Schwab <schwab@redhat.com>
23949
349290c0
AS
23950 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23951
6b1f68c9
AS
23952 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23953
f2282d42
RM
239542011-10-13 Roland McGrath <roland@hack.frob.com>
23955
23956 [BZ #13291]
23957 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23958
5298ffa8
AS
239592011-10-13 Andreas Schwab <schwab@redhat.com>
23960
714fad23
AS
23961 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23962 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23963 feraiseexcept.
23964
81dcc7fb
AS
23965 * sysdeps/x86_64/memrchr.S: Check for zero size.
23966
5298ffa8
AS
23967 * string/stratcliff.c: Add memrchr tests.
23968
951fbcec
LD
239692011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23970
23971 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23972 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23973 rawmemchr-sse2 rawmemchr-sse2-bsf.
23974 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23975 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23976 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23977 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23978 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23979 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23980 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23981 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23982 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23983 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23984 * string/memrchr.c (MEMRCHR): New macro.
23985
0ac5ae23
UD
239862011-10-12 Ulrich Drepper <drepper@gmail.com>
23987
23988 Add integration with gcc's -ffinite-math-only and optimize wrapper
23989 functions in libm.
23990 * Versions.def: Define GLIBC_2.15 version for libm.
23991 * math/Makefile (headers): Add bits/math-finite.h.
23992 * math/bits/math-finite.h: New file.
23993 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23994 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23995 * math/e_acoshl.c: Add __*_finite alias.
23996 * math/e_acosl.c: Likewise.
23997 * math/e_asinl.c: Likewise.
23998 * math/e_atan2l.c: Likewise.
23999 * math/e_atanhl.c: Likewise.
24000 * math/e_coshl.c: Likewise.
24001 * math/e_exp10.c: Likewise.
24002 * math/e_exp10f.c: Likewise.
24003 * math/e_exp10l.c: Likewise.
24004 * math/e_exp2l.c: Likewise.
24005 * math/e_fmodl.c: Likewise.
24006 * math/e_gammal_r.c: Likewise.
24007 * math/e_hypotl.c: Likewise.
24008 * math/e_j0l.c: Likewise.
24009 * math/e_j1l.c: Likewise.
24010 * math/e_jnl.c: Likewise.
24011 * math/e_lgammal_r.c: Likewise.
24012 * math/e_log10l.c: Likewise.
24013 * math/e_log2l.c: Likewise.
24014 * math/e_logl.c: Likewise.
24015 * math/e_powl.c: Likewise.
24016 * math/e_sinhl.c: Likewise.
24017 * math/e_sqrtl.c: Likewise.
24018 * math/e_scalb.c: Completely rewritten and optimized.
24019 * math/e_scalbf.c: Likewise.
24020 * math/e_scalbl.c: Likewise.
24021 * math/w_acos.c: Likewise.
24022 * math/w_acosf.c: Likewise.
24023 * math/w_acosl.c: Likewise.
24024 * math/w_acosh.c: Likewise.
24025 * math/w_acoshf.c: Likewise.
24026 * math/w_acoshl.c: Likewise.
24027 * math/w_asin.c: Likewise.
24028 * math/w_asinf.c: Likewise.
24029 * math/w_asinl.c: Likewise.
24030 * math/w_atan2.c: Likewise.
24031 * math/w_atan2f.c: Likewise.
24032 * math/w_atan2l.c: Likewise.
24033 * math/w_atanh.c: Likewise.
24034 * math/w_atanhf.c: Likewise.
24035 * math/w_atanhl.c: Likewise.
24036 * math/w_exp10.c: Likewise.
24037 * math/w_exp10f.c: Likewise.
24038 * math/w_exp10l.c: Likewise.
24039 * math/w_fmod.c: Likewise.
24040 * math/w_fmodf.c: Likewise.
24041 * math/w_fmodl.c: Likewise.
24042 * math/w_j0.c: Likewise.
24043 * math/w_j0f.c: Likewise.
24044 * math/w_j0l.c: Likewise.
24045 * math/w_j1.c: Likewise.
24046 * math/w_j1f.c: Likewise.
24047 * math/w_j1l.c: Likewise.
24048 * math/w_jn.c: Likewise.
24049 * math/w_jnf.c: Likewise.
24050 * math/w_log.c: Likewise.
24051 * math/w_logf.c: Likewise.
24052 * math/w_logl.c: Likewise.
24053 * math/w_log10.c: Likewise.
24054 * math/w_log10f.c: Likewise.
24055 * math/w_log10l.c: Likewise.
24056 * math/w_log2.c: Likewise.
24057 * math/w_log2f.c: Likewise.
24058 * math/w_log2l.c: Likewise.
24059 * math/w_pow.c: Likewise.
24060 * math/w_powf.c: Likewise.
24061 * math/w_powl.c: Likewise.
24062 * math/w_remainder.c: Likewise.
24063 * math/w_remainderf.c: Likewise.
24064 * math/w_remainderl.c: Likewise.
24065 * math/w_scalb.c: Likewise.
24066 * math/w_scalbf.c: Likewise.
24067 * math/w_scalbl.c: Likewise.
24068 * math/w_sqrt.c: Likewise.
24069 * math/w_sqrtf.c: Likewise.
24070 * math/w_sqrtl.c: Likewise.
24071 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
24072 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
24073 used.
24074 * math/math_private.h: Declare __kernel_standard_f.
24075 * math/w_cosh.c: Remove cruft and optimize a bit.
24076 * math/w_coshf.c: Likewise.
24077 * math/w_coshl.c: Likewise.
24078 * math/w_exp2.c: Likewise.
24079 * math/w_exp2f.c: Likewise.
24080 * math/w_exp2l.c: Likewise.
24081 * math/w_hypot.c: Likewise.
24082 * math/w_hypotf.c: Likewise.
24083 * math/w_hypotl.c: Likewise.
24084 * math/w_lgamma.c: Likewise.
24085 * math/w_lgamma_r.c: Likewise.
24086 * math/w_lgammaf.c: Likewise.
24087 * math/w_lgammaf_r.c: Likewise.
24088 * math/w_lgammal.c: Likewise.
24089 * math/w_lgammal_r.c: Likewise.
24090 * math/w_sinh.c: Likewise.
24091 * math/w_sinhf.c: Likewise.
24092 * math/w_sinhl.c: Likewise.
24093 * math/w_tgamma.c: Likewise.
24094 * math/w_tgammaf.c: Likewise.
24095 * math/w_tgammal.c: Likewise.
24096 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24097 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24098 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
24099 Minor optimizations. Pretty printing. Remove cruft.
24100 * sysdeps/i386/fpu/e_acosf.S: Likewise.
24101 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24102 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24103 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24104 * sysdeps/i386/fpu/e_acosl.c: Likewise.
24105 * sysdeps/i386/fpu/e_asin.S: Likewise.
24106 * sysdeps/i386/fpu/e_asinf.S: Likewise.
24107 * sysdeps/i386/fpu/e_atan2.S: Likewise.
24108 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
24109 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
24110 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24111 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24112 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24113 * sysdeps/i386/fpu/e_exp10.S: Likewise.
24114 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
24115 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
24116 * sysdeps/i386/fpu/e_exp2.S: Likewise.
24117 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
24118 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
24119 * sysdeps/i386/fpu/e_fmod.S: Likewise.
24120 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
24121 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
24122 * sysdeps/i386/fpu/e_hypot.S: Likewise.
24123 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
24124 * sysdeps/i386/fpu/e_log.S: Likewise.
24125 * sysdeps/i386/fpu/e_log10.S: Likewise.
24126 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24127 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24128 * sysdeps/i386/fpu/e_log2.S: Likewise.
24129 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24130 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24131 * sysdeps/i386/fpu/e_logf.S: Likewise.
24132 * sysdeps/i386/fpu/e_logl.S: Likewise.
24133 * sysdeps/i386/fpu/e_pow.S: Likewise.
24134 * sysdeps/i386/fpu/e_powf.S: Likewise.
24135 * sysdeps/i386/fpu/e_powl.S: Likewise.
24136 * sysdeps/i386/fpu/e_remainder.S: Likewise.
24137 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
24138 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
24139 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24140 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24141 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24142 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
24143 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
24144 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
24145 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24146 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24148 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24150 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24151 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24152 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24153 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24154 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24155 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24156 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24157 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24158 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24159 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24161 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24162 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24165 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24166 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24167 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24168 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24169 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24170 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24171 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
24172 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24173 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
24174 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24175 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24176 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24177 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24178 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24179 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24180 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24181 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24182 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24183 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24184 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24185 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24186 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24228 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24230 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24231 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24236 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24237 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24238 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24239 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24240 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24241 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24242 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24243 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24244 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24245 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24246 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24247 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24248 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24249 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24250 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24251 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24252 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24253 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24254 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24255 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24256 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24257 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24258 (__isnanf): Likewise.
24259 (__isinf_ns): Likewise.
24260 (__isinf_nsf): Likewise.
24261 (__finite): Likewise.
24262 (__finitef): Likewise.
24263 (__ieee754_sqrt): Define as macro.
24264 (__ieee754_sqrtf): Define as macro.
24265 (__ieee754_sqrtl): Define as macro.
24266 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24267 inlined copy.
24268 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24269 __FINITE_MATH_ONLY__ consistent.
24270 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24271
12cc2fcd
AS
242722011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24273
a843a204
AS
24274 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24275 of rawmemchr.
24276
12cc2fcd
AS
24277 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24278
c853acd5
UD
242792011-10-09 Ulrich Drepper <drepper@gmail.com>
24280
24281 * po/ja.po: Update from translation team.
24282
c658d255
RM
242832011-10-08 Roland McGrath <roland@hack.frob.com>
24284
110946e4
RM
24285 * locale/programs/locarchive.c (prepare_address_space): New function.
24286 (create_archive, enlarge_archive, open_archive): Use it.
24287
50604220
RM
24288 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24289 inside [SHARED], where it is used.
24290
c658d255
RM
24291 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24292
24293 * nss/getent.c (netgroup_keys): Remove unused variable.
24294 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24295
6a621eb7
UD
242962011-10-08 Ulrich Drepper <drepper@gmail.com>
24297
7edb55ce
UD
24298 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24299 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24300 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24301 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24302 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24303 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24304 * math/Makefile (libm-calls): Add s_isinf_ns.
24305 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24306 * math/multc3.c: Likewise.
24307 * math/s_casin.c: Likewise.
24308 * math/s_casinf.c: Likewise.
24309 * math/s_casinl.c: Likewise.
24310 * math/s_ccos.c: Likewise.
24311 * math/s_ccosf.c: Likewise.
24312 * math/s_ccosl.c: Likewise.
24313 * math/s_ctan.c: Likewise.
24314 * math/s_ctanf.c: Likewise.
24315 * math/s_ctanh.c: Likewise.
24316 * math/s_ctanhf.c: Likewise.
24317 * math/s_ctanhl.c: Likewise.
24318 * math/s_ctanl.c: Likewise.
24319 * math/w_fmod.c: Likewise.
24320 * math/w_fmodf.c: Likewise.
24321 * math/w_fmodl.c: Likewise.
24322 * math/w_remainder.c: Likewise.
24323 * math/w_remainderf.c: Likewise.
24324 * math/w_remainderl.c: Likewise.
24325 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24326 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24327 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24328 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24329 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24330 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24331 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24332 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24333
187da0ae
UD
24334 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24335 of the number.
24336 * stdio-common/printf_fphex.c: Likewise.
24337 * stdio-common/printf_size.c: Likewise.
24338
9277c064
UD
24339 * math/e_exp10.c: Include math_private.h using <...> not "...".
24340 * math/e_exp10f.c: Likewise.
24341 * math/e_exp10l.c: Likewise.
24342 * math/e_exp2l.c: Likewise.
24343 * math/e_j0l.c: Likewise.
24344 * math/e_j1l.c: Likewise.
24345 * math/e_jnl.c: Likewise.
24346 * math/e_lgammal_r.c: Likewise.
24347 * math/e_rem_pio2l.c: Likewise.
24348 * math/e_scalb.c: Likewise.
24349 * math/e_scalbf.c: Likewise.
24350 * math/e_scalbl.c: Likewise.
24351 * math/k_cosl.c: Likewise.
24352 * math/k_sinl.c: Likewise.
24353 * math/k_tanl.c: Likewise.
24354 * math/s_cacoshf.c: Likewise.
24355 * math/s_catan.c: Likewise.
24356 * math/s_catanf.c: Likewise.
24357 * math/s_catanh.c: Likewise.
24358 * math/s_catanhf.c: Likewise.
24359 * math/s_catanhl.c: Likewise.
24360 * math/s_catanl.c: Likewise.
24361 * math/s_ccosh.c: Likewise.
24362 * math/s_ccoshf.c: Likewise.
24363 * math/s_ccoshl.c: Likewise.
24364 * math/s_cexp.c: Likewise.
24365 * math/s_cexpf.c: Likewise.
24366 * math/s_cexpl.c: Likewise.
24367 * math/s_clog.c: Likewise.
24368 * math/s_clog10.c: Likewise.
24369 * math/s_clog10f.c: Likewise.
24370 * math/s_clog10l.c: Likewise.
24371 * math/s_clogf.c: Likewise.
24372 * math/s_clogl.c: Likewise.
24373 * math/s_csin.c: Likewise.
24374 * math/s_csinf.c: Likewise.
24375 * math/s_csinh.c: Likewise.
24376 * math/s_csinhf.c: Likewise.
24377 * math/s_csinhl.c: Likewise.
24378 * math/s_csinl.c: Likewise.
24379 * math/s_csqrt.c: Likewise.
24380 * math/s_csqrtf.c: Likewise.
24381 * math/s_csqrtl.c: Likewise.
24382 * math/s_ctan.c: Likewise.
24383 * math/s_ctanf.c: Likewise.
24384 * math/s_ctanh.c: Likewise.
24385 * math/s_ctanhf.c: Likewise.
24386 * math/s_ctanhl.c: Likewise.
24387 * math/s_ctanl.c: Likewise.
24388 * math/s_ldexp.c: Likewise.
24389 * math/s_ldexpf.c: Likewise.
24390 * math/s_ldexpl.c: Likewise.
24391 * math/s_significand.c: Likewise.
24392 * math/s_significandf.c: Likewise.
24393 * math/s_significandl.c: Likewise.
24394 * math/w_acos.c: Likewise.
24395 * math/w_acosf.c: Likewise.
24396 * math/w_acosh.c: Likewise.
24397 * math/w_acoshf.c: Likewise.
24398 * math/w_acoshl.c: Likewise.
24399 * math/w_acosl.c: Likewise.
24400 * math/w_asin.c: Likewise.
24401 * math/w_asinf.c: Likewise.
24402 * math/w_asinl.c: Likewise.
24403 * math/w_atan2.c: Likewise.
24404 * math/w_atan2f.c: Likewise.
24405 * math/w_atan2l.c: Likewise.
24406 * math/w_atanh.c: Likewise.
24407 * math/w_atanhf.c: Likewise.
24408 * math/w_atanhl.c: Likewise.
24409 * math/w_cosh.c: Likewise.
24410 * math/w_coshf.c: Likewise.
24411 * math/w_coshl.c: Likewise.
24412 * math/w_dremf.c: Likewise.
24413 * math/w_exp10.c: Likewise.
24414 * math/w_exp10f.c: Likewise.
24415 * math/w_exp10l.c: Likewise.
24416 * math/w_exp2.c: Likewise.
24417 * math/w_exp2f.c: Likewise.
24418 * math/w_fmod.c: Likewise.
24419 * math/w_fmodf.c: Likewise.
24420 * math/w_fmodl.c: Likewise.
24421 * math/w_hypot.c: Likewise.
24422 * math/w_hypotf.c: Likewise.
24423 * math/w_hypotl.c: Likewise.
24424 * math/w_j0.c: Likewise.
24425 * math/w_j0f.c: Likewise.
24426 * math/w_j0l.c: Likewise.
24427 * math/w_j1.c: Likewise.
24428 * math/w_j1f.c: Likewise.
24429 * math/w_j1l.c: Likewise.
24430 * math/w_jn.c: Likewise.
24431 * math/w_jnf.c: Likewise.
24432 * math/w_jnl.c: Likewise.
24433 * math/w_lgamma.c: Likewise.
24434 * math/w_lgamma_r.c: Likewise.
24435 * math/w_lgammaf.c: Likewise.
24436 * math/w_lgammaf_r.c: Likewise.
24437 * math/w_lgammal.c: Likewise.
24438 * math/w_lgammal_r.c: Likewise.
24439 * math/w_log.c: Likewise.
24440 * math/w_log10.c: Likewise.
24441 * math/w_log10f.c: Likewise.
24442 * math/w_log10l.c: Likewise.
24443 * math/w_log2.c: Likewise.
24444 * math/w_log2f.c: Likewise.
24445 * math/w_log2l.c: Likewise.
24446 * math/w_logf.c: Likewise.
24447 * math/w_logl.c: Likewise.
24448 * math/w_pow.c: Likewise.
24449 * math/w_powf.c: Likewise.
24450 * math/w_powl.c: Likewise.
24451 * math/w_remainder.c: Likewise.
24452 * math/w_remainderf.c: Likewise.
24453 * math/w_remainderl.c: Likewise.
24454 * math/w_scalb.c: Likewise.
24455 * math/w_scalbf.c: Likewise.
24456 * math/w_scalbl.c: Likewise.
24457 * math/w_sinh.c: Likewise.
24458 * math/w_sinhf.c: Likewise.
24459 * math/w_sinhl.c: Likewise.
24460 * math/w_sqrt.c: Likewise.
24461 * math/w_sqrtf.c: Likewise.
24462 * math/w_sqrtl.c: Likewise.
24463 * math/w_tgamma.c: Likewise.
24464 * math/w_tgammaf.c: Likewise.
24465 * math/w_tgammal.c: Likewise.
24466
6a621eb7
UD
24467 * po/ja.po: Update from translation team.
24468
bf582445
AJ
244692011-09-29 Andreas Jaeger <aj@suse.de>
24470
f9efbf3a
AJ
24471 [BZ #13179]
24472 * sunrpc/netname.c (netname2host): Fix logic.
24473
bf582445
AJ
24474 [BZ #6779]
24475 [BZ #6783]
24476 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24477 correctly.
24478 * math/w_remainder.c (__remainder): Likewise.
24479 * math/w_remainderf.c (__remainderf): Likewise.
24480 * math/libm-test.inc (remainder_test): Add test cases.
24481
48693bea
AK
244822011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24483
24484 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24485 sdiv_qrnnd.
24486
42622229
LD
244872011-10-07 Ulrich Drepper <drepper@gmail.com>
24488
24489 * string/test-memcmp.c: Avoid unncessary #defines.
24490 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24491
093ecf92
LD
244922011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24493
24494 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24495 Use new sse2 version for core i3 - i7 as it's faster
24496 than sse42 version.
24497 (bit_Prefer_PMINUB_for_stringop): New.
24498 * sysdeps/x86_64/rawmemchr.S: Update.
24499 Replace with faster SSE2 version.
24500 * sysdeps/x86_64/memrchr.S: New file.
24501 * sysdeps/x86_64/memchr.S: Update.
24502 Replace with faster SSE2 version.
24503
fde56e5c
MP
245042011-09-12 Marek Polacek <mpolacek@redhat.com>
24505
24506 * elf/dl-load.c (lose): Add cast to avoid warning.
24507
21fd49a9
UD
245082011-10-07 Ulrich Drepper <drepper@gmail.com>
24509
5a06e643
UD
24510 * po/ca.po: Update from translation team.
24511
684ae515
UD
24512 * inet/getnetgrent_r.c: Hook up nscd.
24513 * nscd/Makefile (routines): Add nscd_netgroup.
24514 (nscd-modules): Add netgroupcache.
24515 (CFLAGS-netgroupcache.c): Define.
24516 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24517 (cache_search): Add const to second parameter.
24518 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24519 INNETGR.
24520 (dbs): Add netgrdb entry.
24521 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24522 (verify_persistent_db): Handle netgrdb.
24523 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24524 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24525 GETFDNETGR.
24526 (netgroup_response_header): Define.
24527 (innetgroup_response_header): Define.
24528 (datahead): Add netgroup_response_header and innetgroup_response_header
24529 elements.
24530 * nscd/nscd.conf: Add entries for netgroup cache.
24531 * nscd/nscd.h (dbtype): Add netgrdb.
24532 (_PATH_NSCD_NETGROUP_DB): Define.
24533 (netgroup_iov_disabled): Declare.
24534 (xmalloc, xcalloc, xrealloc): Move declarations here.
24535 (cache_search): Adjust prototype.
24536 Add netgroup-related prototypes.
24537 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24538 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24539 (__nscd_innetgr): Declare.
24540 * nscd/selinux.c (perms): Use access_vector_t as element type and
24541 add netgroup-related initializers.
24542 * nscd/netgroupcache.c: New file.
24543 * nscd/nscd_netgroup.c: New file.
24544 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24545 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24546 For four parameters use innetgr.
24547 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24548 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24549 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24550 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24551
21fd49a9
UD
24552 * nscd/connections.c (register_traced_file): Don't register file
24553 for disabled databases.
24554
054c0457
UD
245552011-10-06 Ulrich Drepper <drepper@gmail.com>
24556
32b63198
UD
24557 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24558
054c0457
UD
24559 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24560 from tree and freeing node.
24561
64031225
JO
245622011-09-25 Jiri Olsa <jolsa@redhat.com>
24563
24564 * nss/nsswitch.c (__nss_database_lookup): Handle
24565 nss_parse_service_list out of memory case.
24566
0490345c
JO
245672011-09-15 Jiri Olsa <jolsa@redhat.com>
24568
24569 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24570 out of memory case.
24571
3a62d00d
AS
245722011-10-04 Andreas Schwab <schwab@redhat.com>
24573
24574 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24575 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24576 pass it down.
24577 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24578 elf_machine_rela, elf_machine_lazy_rel.
24579 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24580 (ELF_DYNAMIC_DO_REL): Likewise.
24581 (ELF_DYNAMIC_DO_RELA): Likewise.
24582 (ELF_DYNAMIC_RELOCATE): Likewise.
24583 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24584 to ELF_DYNAMIC_DO_REL.
24585 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24586 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24587 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24588 elf_machine_rela.
24589 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24590 skip_ifunc, don't call ifunc function if non-zero.
24591 (elf_machine_rela): Likewise.
24592 (elf_machine_lazy_rel): Likewise.
24593 (elf_machine_lazy_rela): Likewise.
24594 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24595 (elf_machine_lazy_rel): Likewise.
24596 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24597 Likewise.
24598 (elf_machine_lazy_rel): Likewise.
24599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24600 Likewise.
24601 (elf_machine_lazy_rel): Likewise.
24602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24603 (elf_machine_lazy_rel): Likewise.
24604 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24605 (elf_machine_lazy_rel): Likewise.
24606 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24607 (elf_machine_lazy_rel): Likewise.
24608 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24609 (elf_machine_lazy_rel): Likewise.
24610 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24611 (elf_machine_lazy_rel): Likewise.
24612 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24613 (elf_machine_lazy_rel): Likewise.
24614
68577918
UD
246152011-09-28 Ulrich Drepper <drepper@gmail.com>
24616
24617 * nss/nss_files/files-init.c (_nss_files_init): Use static
24618 initialization for all the *_traced_file variables.
24619
68822d74
AS
246202011-09-28 Andreas Schwab <schwab@redhat.com>
24621
24622 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24623
2056100b
RM
246242011-09-27 Roland McGrath <roland@hack.frob.com>
24625
24626 [BZ #13226]
24627 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24628
32c76b63
AS
246292011-09-27 Andreas Schwab <schwab@redhat.com>
24630
24631 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24632 Reread the line before reparsing it.
24633
bf972c9d
AS
246342011-09-26 Andreas Schwab <schwab@redhat.com>
24635
24636 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24637
e057a1b5
JM
246382011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24639 Maxim Kuvyrkov <maxim@codesourcery.com>
24640 Joseph Myers <joseph@codesourcery.com>
24641
24642 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24643 if needed for __stack_chk_guard.
24644
bc7e1c36
RM
246452011-09-19 Roland McGrath <roland@hack.frob.com>
24646
ecb1482f
RM
24647 * sysdeps/posix/spawni.c (script_execute): Always define it.
24648 It will be optimized away if unused.
24649 (maybe_script_execute): New function.
24650 (__spawni): Call it.
24651
bc7e1c36
RM
24652 * Makerules: Don't include tls.make.
24653 (config-tls): Always set to thread.
24654 * tls.make.c: File removed.
24655
1c3b002b
MF
246562011-09-19 Mike Frysinger <vapier@gentoo.org>
24657
24658 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24659 * config.make.in (CPPFLAGS-config): New substituted variable.
24660
2840865d
UD
246612011-09-15 Ulrich Drepper <drepper@gmail.com>
24662
88738eb6
UD
24663 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24664
cbf645a6 24665 [BZ #13192]
2840865d
UD
24666 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24667 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24668
b402e91a
RM
246692011-09-15 Roland McGrath <roland@hack.frob.com>
24670
24671 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24672 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24674 (CALL_FAIL): Likewise.
24675 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24676 (CALL_FAIL): Macro removed.
24677 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24678
4c1a1f71
UD
246792011-09-15 Ulrich Drepper <drepper@gmail.com>
24680
24681 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24682 for __FINITE_MATH_ONLY__ == 1.
24683
edc121be
AS
246842011-09-15 Andreas Schwab <schwab@redhat.com>
24685
24686 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24687 __ieee754_sqrt instead of sqrt.
24688 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24689 __ieee754_sqrtf instead of sqrtf.
24690 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24691 __floorf instead of floorf.
24692 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24693 __floorf, __truncf instead of floorf, truncf.
24694
cd205654
UD
246952011-09-14 Ulrich Drepper <drepper@gmail.com>
24696
ee4d0315
UD
24697 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24698
cd205654
UD
24699 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24700 __extern_always_inline.
24701 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24702 32-bit.
24703
48b67d71
AS
247042011-09-14 Andreas Schwab <schwab@redhat.com>
24705
24706 * elf/rtld.c (dl_main): Also relocate in dependency order when
24707 doing symbol dependency testing.
24708
1ae12c75
AS
247092011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24710
24711 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24712 Always define `refsym'.
24713
995a80df
AS
247142011-09-13 Andreas Schwab <schwab@redhat.com>
24715
e529793b
AS
24716 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24717 (__FD_ELT): Renamed from __FDELT.
24718 * misc/bits/select2.h (__FD_ELT): Likewise.
24719 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24720 __FD_MASK instead of __FDELT, __FDMASK.
24721 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24722 Likewise.
24723 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24724 Likewise.
24725
52d4fef8
AS
24726 * elf/Makefile (gen-ldd): Fix pattern.
24727
995a80df
AS
24728 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24729 (init_tls): Likewise.
24730
8682f8b0
UD
247312011-09-12 Ulrich Drepper <drepper@gmail.com>
24732
24733 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24734
de82006d
AS
247352011-09-12 Andreas Schwab <schwab@redhat.com>
24736
a7c8e6a1
AS
24737 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24738 `struct cmsghdr *' instead of `void *'.
24739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24740 Likewise.
24741
0f31fe77
AS
247422011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24743
24744 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24745 if non-absolute.
24746 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24747 ldd_rewrite_script.
0f31fe77 24748
32b4c839
UD
247492011-09-11 Ulrich Drepper <drepper@gmail.com>
24750
83cd1420
UD
24751 * configure.in: Remove --with-tls option.
24752 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24753 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24754 out in case it is missing.
24755 * sysdeps/ia64/elf/configure.in: Likewise.
24756 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24757 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24758 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24759 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24760 * sysdeps/sh/elf/configure.in: Likewise.
24761 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24762 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24763 * sysdeps/x86_64/elf/configure.in: Likewise.
24764 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24765 * sysdeps/mach/hurd/tls.h: Likewise.
24766
633f745d
UD
24767 [BZ #13067]
24768 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24769
f318beb8
UD
24770 [BZ #13090]
24771 * configure.in: Fix use of AC_INIT.
24772
32b4c839
UD
24773 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24774
3ce1f295
UD
247752011-09-10 Ulrich Drepper <drepper@gmail.com>
24776
bb016596
UD
24777 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24778 __set_errno.
8e58439c
UD
24779 * malloc/hooks.c: Likewise.
24780
aebae053 24781 [BZ #11929]
02d46fc4
UD
24782 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24783 variables statically.
24784 (narenas): Initialize.
24785 (list_lock): Initialize.
bb016596
UD
24786 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24787 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24788 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24789 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24790 Add initializers to main_arena and mp_.
24791 (malloc_state): Remove pagesize member. Change all users to use
24792 GLRO(dl_pagesize).
24793
24794 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24795 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24796 is always initialized.
24797
22a89187
UD
24798 * malloc/malloc.c: Removed unused configurations and dead code.
24799 * malloc/arena.c: Likewise.
24800 * malloc/hooks.c: Likewise.
02d46fc4 24801 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24802
d063d164
UD
24803 * include/tls.h: Removed. USE___THREAD must always be defined.
24804 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24805 * elf/dl-libc.c: Likewise.
24806 * elf/dl-tsd.c: Likewise.
24807 * include/errno.h: Likewise.
24808 * include/netdb.h: Likewise.
24809 * include/resolv.h: Likewise.
24810 * inet/herrno-loc.c: Likewise.
24811 * inet/herrno.c: Likewise.
24812 * malloc/arena.c: Likewise.
24813 * malloc/hooks.c: Likewise.
24814 * malloc/malloc.c: Likewise.
24815 * resolv/res-state.c: Likewise.
24816 * resolv/res_libc.c: Likewise.
24817 * sysdeps/i386/dl-machine.h: Likewise.
24818 * sysdeps/ia64/dl-machine.h: Likewise.
24819 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24820 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24821 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24822 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24823 * sysdeps/sh/dl-machine.h: Likewise.
24824 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24825 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24826 * sysdeps/unix/i386/sysdep.S: Likewise.
24827 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24828 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24831 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24833 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24835 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24836 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24837 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24838 * sysdeps/x86_64/dl-machine.h: Likewise.
24839 * tls.make.c: Likewise.
24840
3ce1f295
UD
24841 * configure.in: Remove --with-__thread option. Make tests for
24842 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24843 tls_model attribute fail if no support is available. Remove
24844 USE_IN_LIBIO.
24845 * Makeconfig: Adjust for dropped configure option. All features are
24846 now mandatory.
24847 * Makerules: Likewise.
24848 * Versions.def: Likewise.
24849 * argp/argp-fmtstream.c: Likewise.
24850 * argp/argp-fmtstream.h: Likewise.
24851 * argp/argp-help.c: Likewise.
24852 * assert/assert.c: Likewise.
24853 * config.h.in: Likewise.
24854 * config.make.in: Likewise.
24855 * configure: Likewise.
24856 * configure.in: Likewise.
24857 * csu/Versions: Likewise.
24858 * csu/init.c: Likewise.
24859 * elf/tst-audit2.c: Likewise.
24860 * elf/tst-tls10.c: Likewise.
24861 * elf/tst-tls10.h: Likewise.
24862 * elf/tst-tls11.c: Likewise.
24863 * elf/tst-tls12.c: Likewise.
24864 * elf/tst-tls14.c: Likewise.
24865 * elf/tst-tlsmod11.c: Likewise.
24866 * elf/tst-tlsmod12.c: Likewise.
24867 * elf/tst-tlsmod13.c: Likewise.
24868 * elf/tst-tlsmod13a.c: Likewise.
24869 * elf/tst-tlsmod14a.c: Likewise.
24870 * elf/tst-tlsmod15b.c: Likewise.
24871 * elf/tst-tlsmod16a.c: Likewise.
24872 * elf/tst-tlsmod16b.c: Likewise.
24873 * elf/tst-tlsmod7.c: Likewise.
24874 * elf/tst-tlsmod8.c: Likewise.
24875 * elf/tst-tlsmod9.c: Likewise.
24876 * gmon/gmon.c: Likewise.
24877 * grp/fgetgrent_r.c: Likewise.
24878 * grp/putgrent.c: Likewise.
24879 * hurd/fopenport.c: Likewise.
24880 * include/libc-symbols.h: Likewise.
24881 * include/tls.h: Likewise.
24882 * intl/gettextP.h: Likewise.
24883 * intl/loadinfo.h: Likewise.
24884 * locale/global-locale.c: Likewise.
24885 * locale/localeinfo.h: Likewise.
24886 * mach/devstream.c: Likewise.
24887 * malloc/arena.c: Likewise.
24888 * malloc/set-freeres.c: Likewise.
24889 * misc/err.c: Likewise.
24890 * misc/getttyent.c: Likewise.
24891 * misc/mntent_r.c: Likewise.
24892 * posix/getopt.c: Likewise.
24893 * posix/wordexp.c: Likewise.
24894 * pwd/fgetpwent_r.c: Likewise.
24895 * resolv/Versions: Likewise.
24896 * resolv/res_hconf.c: Likewise.
24897 * shadow/fgetspent_r.c: Likewise.
24898 * shadow/putspent.c: Likewise.
24899 * stdio-common/printf_fphex.c: Likewise.
24900 * stdio-common/tmpfile.c: Likewise.
24901 * stdlib/abort.c: Likewise.
24902 * stdlib/fmtmsg.c: Likewise.
24903 * sunrpc/auth_unix.c: Likewise.
24904 * sunrpc/clnt_perr.c: Likewise.
24905 * sunrpc/clnt_tcp.c: Likewise.
24906 * sunrpc/clnt_udp.c: Likewise.
24907 * sunrpc/clnt_unix.c: Likewise.
24908 * sunrpc/openchild.c: Likewise.
24909 * sunrpc/svc_simple.c: Likewise.
24910 * sunrpc/svc_tcp.c: Likewise.
24911 * sunrpc/svc_udp.c: Likewise.
24912 * sunrpc/svc_unix.c: Likewise.
24913 * sunrpc/xdr.c: Likewise.
24914 * sunrpc/xdr_array.c: Likewise.
24915 * sunrpc/xdr_rec.c: Likewise.
24916 * sunrpc/xdr_ref.c: Likewise.
24917 * sunrpc/xdr_stdio.c: Likewise.
24918
1248c1c4
PB
249192011-09-09 Ulrich Drepper <drepper@gmail.com>
24920
24921 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24922
249232011-07-03 Andreas Jaeger <aj@suse.de>
24924
24925 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24926 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24927 regenerate with gen-libm-tests.pl.
24928
249292010-05-12 Petr Baudis <pasky@suse.cz>
24930
24931 [BZ #11589]
24932 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24933 around j0() zero points by switching to j1().
24934 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24935 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24936 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24937 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24938
f22e1074
UD
249392011-09-09 Ulrich Drepper <drepper@gmail.com>
24940
f19009c1
UD
24941 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24942 instead of 0.
24943 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24944 instead of 0.
f19009c1
UD
24945 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24946 Patch in part by Pavel Roskin <proski@gnu.org>.
24947
3f8cc204
UD
24948 [BZ #13138]
24949 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24950 realloc.
24951 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24952 Free memory block if necessary.
24953
f22e1074
UD
24954 [BZ #12847]
24955 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24956 be NULL. Don't lock in this case.
24957
0a2349f9
RM
249582011-09-09 Roland McGrath <roland@hack.frob.com>
24959
24960 * elf/elf.h (ELFOSABI_GNU): New macro.
24961 (ELFOSABI_LINUX): Define to that.
24962
f3cdd467
DZ
249632011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24964
24965 * string/strncat.c (strncat): Undef the symbol in case it has been
24966 defined in bits/string.h.
24967
74718d13
UD
249682011-09-09 Ulrich Drepper <drepper@gmail.com>
24969
633e9e0f
UD
24970 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24971
0a2349f9 24972 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24973 link map.
24974
f9924780
AJ
249752011-08-17 Andreas Jaeger <aj@suse.de>
24976
24977 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24978
7f5517aa
PP
249792011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24980 Ian Lance Taylor <iant@google.com>
24981
24982 * math/libm-test.inc (lround_test): New testcase.
24983 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24984
762011fe
UD
249852011-09-08 Ulrich Drepper <drepper@gmail.com>
24986
92963737
UD
24987 * Makefile: Remove support for automatic cvs check-ins.
24988 * Makerules: Likewise.
24989 * config.make.in: Likewise.
24990 * configure.in: Likewise.
24991 * intl/Makefile: Likewise.
24992 * locale/Makefile: Likewise.
24993 * po/Makefile: Likewise.
24994 * posix/Makefile: Likewise.
24995 * sysdeps/gnu/Makefile: Likewise.
24996 * sysdeps/mach/hurd/Makefile: Likewise.
24997 * sysdeps/sparc/sparc32/Makefile: Likewise.
24998
b0727fd8
JS
24999 [BZ #13118]
25000 * posix/Makefile (bug-regex32-ENV): Define.
25001 Patch by John Stanley <jpsinthemix@verizon.net>.
25002
a0f33f99
UD
25003 * misc/Makefile (headers): Add bits/select2.h.
25004 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
25005 * misc/bits/select2.h: New file.
25006 * include/bits/select2.h: New file.
25007 * debug/Makefile (routines): Add fdelt_chk.
25008 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
25009 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
25010 FD_ISSET.
25011 * debug/fdelt_chk.c: New file.
25012
762011fe
UD
25013 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
25014 * wcsmbs/test-wmemcmp.c: Likewise.
25015 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 25016 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
25017
250182011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25019
25020 * string/Makefile (strop-tests): Add memcmp.
25021 * string/test-wmemcmp.c: New file.
25022 * string/test-memcmp.c: Add wmemcmp support.
25023
7f513ec8
RM
250242011-09-08 Roland McGrath <roland@hack.frob.com>
25025
0442afb4
RM
25026 [BZ #13153]
25027 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
25028 2011-07-19 change.
25029
7f513ec8
RM
25030 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
25031 garbage value in a __mach_port_mod_refs call in the cases of the
25032 task-self and thread-self ports.
25033
a12b2239
ST
250342011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
25035
25036 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
25037
610f9ab4
AS
250382011-09-08 Andreas Schwab <schwab@redhat.com>
25039
7f513ec8 25040 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 25041
48882a1a
LD
250422011-09-07 Ulrich Drepper <drepper@gmail.com>
25043
b49865be
UD
25044 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
25045
fdc86bc9
UD
25046 * elf/dl-libc.c (dlerror_run): Pass back error code from
25047 dl_catch_error.
25048
c966526a
UD
25049 [BZ #13123]
25050 * elf/dl-load.c (lose): Free l_origin if it is valid.
25051
48882a1a
LD
25052 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
25053 names.
25054 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25055 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25058 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25059 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
25060
77a2a8b4
AZ
250612011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25062
25063 * sysdeps/powerpc/fpu/e_hypot.c: New file.
25064 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
25065 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
25066 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
25067 * sysdeps/powerpc/fpu/k_cosf.c: New file.
25068 * sysdeps/powerpc/fpu/k_sinf.c: New file.
25069 * sysdeps/powerpc/fpu/s_cosf.c: New file.
25070 * sysdeps/powerpc/fpu/s_sinf.c: New file.
25071 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
25072 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
25073
24f579d8
AM
250742011-08-15 Alan Modra <amodra@gmail.com>
25075
25076 [BZ #13092]
25077 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
25078 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
25079 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
25080 ppc_mcount to static-only-routines.
25081 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
25082 __mcount_internal.
25083 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
25084 __mcount_internal with usual JUMPTARGET. Remove useless nop.
25085
3d4837df
UD
250862011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
25087
25088 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
25089 for finite and infinity parameters.
25090
22700377
WS
250912011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
25092
25093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
25094 and add nop instructions for throughput optimization.
25095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25096
5025581e
WS
250972011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
25098
25099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
25100 aligned copy for power7 with vector-scalar instructions.
25101 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
25102
08a300c9
L
251032011-07-24 H.J. Lu <hongjiu.lu@intel.com>
25104
25105 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
25106 AVX check.
25107
59178ef9
AS
251082011-09-07 Andreas Schwab <schwab@redhat.com>
25109
25110 [BZ #13144]
25111 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
25112 last change.
25113
e38ba7ab
UD
251142011-09-07 Ulrich Drepper <drepper@gmail.com>
25115
25116 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25117 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
25118 syscall wrapper around clock_gettime in __vdso_clock_gettime.
25119 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
25120 clock_gettime.
25121
d53a73ac
UD
251222011-09-06 Ulrich Drepper <drepper@gmail.com>
25123
fc8bffcc
UD
25124 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
25125 Forgot to demangle the pointer.
25126
ceaa0c5d
UD
25127 * sysdeps/i386/sysdep.h: Define atom_text_section.
25128 * sysdeps/x86_64/sysdep.h: Likewise.
25129 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
25130 section with atom_text_section.
25131 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25133 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25134 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25135 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
25136
a77d3c17
UD
25137 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
25138 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
25139 already be defined. Change to take two parameters and don't assign
25140 result to variable. Adjust all users.
25141 Define INTERNAL_GETTIME if not already defined.
25142 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
25143 call.
25144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
25145 HAVE_CLOCK_GETTIME_VSYSCALL.
25146 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
25147
d53a73ac
UD
25148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
25149 gettimeofday vsyscall, just use time.
25150
a8f84144
AS
251512011-09-06 Andreas Schwab <schwab@redhat.com>
25152
25153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
25154 <errno.h>.
25155
ef606249
UD
251562011-09-06 Ulrich Drepper <drepper@gmail.com>
25157
25158 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
25159 syscall on x86-64.
25160 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
25161 syscall.
25162 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
25164 syscall if possible.
25165
6585cb60
UD
251662011-09-05 Ulrich Drepper <drepper@gmail.com>
25167
25168 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
25169 e_ident. Don't pass to find_mapsXX.
25170 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
25171
a5f524e4
LD
251722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25173
25174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25175 strchr-sse2-no-bsf strrchr-sse2-no-bsf
25176 * sysdeps/x86_64/multiarch/strchr.S: Update.
25177 Check bit_slow_BSF bit.
25178 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25179 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
25180 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
25181
554881ef
UD
251822011-09-05 Ulrich Drepper <drepper@gmail.com>
25183
d96de963
UD
25184 [BZ #13134]
25185 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25186 before glibc 2.15.
25187 (tryshell): Define.
25188 (__spawni): Change last parameter to be flag. Test
25189 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25190 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25191 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25192 * posix/spawni.c: Likewise.
25193 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25194 * posix/spawnp.c: Likewise. Change normal version to use
25195 SPAWN_XFLAGS_USE_PATH.
25196 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25197 SPAWN_XFLAGS_TRY_SHELL.
25198
d48e5868
UD
25199 [BZ #13150]
25200 * posix/glob.h: Remove gcc 1.x support.
25201
554881ef
UD
25202 [BZ #13068]
25203 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25204
693fb948
LD
252052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25206
25207 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25208 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25209 strrchr-sse2-bsf
25210 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25211 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25212 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25213 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25214 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25215 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25216
1b48c537
UD
252172011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25218
49d42c37
UD
25219 * sysdeps/x86_64/wcscmp.S: New file.
25220
1b48c537
UD
25221 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25222 wcscmp-c wcscmp-sse2
25223 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25224 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25225 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25226 * wcsmbs/wcscmp.c: Allow renaming.
25227
15c95c5d
DM
252282011-09-05 David S. Miller <davem@davemloft.net>
25229
25230 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25231 stack slot, rather than the struct return pointer slot.
25232 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25233 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25235 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25236
2f0ad8f3
UD
252372011-09-05 Ulrich Drepper <drepper@gmail.com>
25238
d88ae418
UD
25239 * po/ja.po: Update from translation team.
25240
2f0ad8f3
UD
25241 [BZ #13144]
25242 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25243 kernel in 64-bit binaries.
25244
5f4318d1
DM
252452011-09-01 David S. Miller <davem@davemloft.net>
25246
25247 * elf/elf.h (HWCAP_SPARC_*): Move to..
25248 * sysdeps/sparc/sysdep.h: this new file and add new values.
25249 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25250 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25251 _DL_HWCAP_COUNT to 24.
25252 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25253 entries.
25254 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25255 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25256 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25257 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25258 instead of magic constants.
25259 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25260
3ba57516
DM
252612011-08-31 David S. Miller <davem@davemloft.net>
25262
25263 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25265 Reimplement to do errno handling inline.
25266 (SYSCALL_ERROR_HANDLER): New macro.
25267 (__SYSCALL_STRING): Do not do errno handling in asm.
25268 (__CLONE_SYSCALL_STRING): Delete.
25269 (__INTERNAL_SYSCALL_STRING): Delete.
25270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25271 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25272 (PSEUDO): Reimplement to do errno handling inline.
25273 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25274 (SYSCALL_ERROR_HANDLER): New macro.
25275 (__SYSCALL_STRING): Do not do errno handling in asm.
25276 (__CLONE_SYSCALL_STRING): Delete.
25277 (__INTERNAL_SYSCALL_STRING): Delete.
25278 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25279 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25280 i386.
25281 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25282 (inline_syscall*): Add 'err' argument.
25283 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25284 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25285 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25286 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25287
25288 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25289 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25290
2bc17433
AS
252912011-08-30 Andreas Schwab <schwab@redhat.com>
25292
25293 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25294
fbeb5f4d
JO
252952011-08-29 Jiri Olsa <jolsa@redhat.com>
25296
25297 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25298 directive.
25299
ad69cc26
DM
253002011-08-24 David S. Miller <davem@davemloft.net>
25301
25302 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25303
39dd69df
AS
253042011-08-24 Andreas Schwab <schwab@redhat.com>
25305
25306 * elf/Makefile: Add rules to build and run unload8 test.
25307 * elf/unload8.c: New file.
25308 * elf/unload8mod1.c: New file.
25309 * elf/unload8mod1x.c: New file.
25310 * elf/unload8mod2.c: New file.
25311 * elf/unload8mod3.c: New file.
25312
25313 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25314 it wasn't used.
25315
2c0b250a
DM
253162011-08-23 David S. Miller <davem@davemloft.net>
25317
25318 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25319 subtract stack bias.
25320 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25321 %sp not %fp in calculations.
25322 (_JMPBUF_UNWINDS_ADJ): Likewise.
25323
22044b48
DM
25324 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25325 (aio_suspend): Call it to force an exception region around the
25326 AIO_MISC_WAIT() invocation.
25327
2cae4995
AS
253282011-08-23 Andreas Schwab <schwab@redhat.com>
25329
25330 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25331 backslash.
25332
873a772e
AJ
253332011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25334
25335 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25336 protection macro.
25337 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25338 and <dl-machine.h>.
25339 (Elf64_FuncDesc): Remove.
25340
25ad0df1
DM
253412011-08-22 David S. Miller <davem@davemloft.net>
25342
25343 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25344 sigaltstack check, add missing cfi directives.
25345 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25346 missing cfi directives, and sigaltstack handling.
25347
e888bcbe
AS
253482011-08-16 Andreas Schwab <schwab@redhat.com>
25349
25350 [BZ #11724]
25351 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25352 object is seen twice.
25353 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25354
25355 * elf/Makefile (distribute): Add tst-initorder2.c.
25356 (tests): Add tst-initorder2.
25357 (modules-names): Add tst-initorder2a tst-initorder2b
25358 tst-initorder2c tst-initorder2d. Add rules to build them.
25359 ($(objpfx)tst-initorder2.out): New rule.
25360 * elf/tst-initorder2.c: New file.
25361 * elf/tst-initorder2.exp: New file.
25362
87162f46
AS
253632011-08-22 Andreas Schwab <schwab@redhat.com>
25364
70538b7f
AS
25365 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25366
f55ffe58
AS
25367 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25368 dependencies back to end of function.
25369
87162f46
AS
25370 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25371 $(elfobjdir)/ld.so.
25372
91b392a4
UD
253732011-08-21 Ulrich Drepper <drepper@gmail.com>
25374
25375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25376 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25377 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25378 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25379 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25380 of __vdso_gettimeofday.
25381 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25382 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25383 attribute_hidden.
25384 (_libc_vdso_platform_setup): Remove initialization of
25385 __vdso_gettimeofday and __vdso_time.
25386
5c43483f
UD
253872011-08-20 Ulrich Drepper <drepper@gmail.com>
25388
775a77e7
UD
25389 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25390 and fgetc_unlocked.
25391 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25392 getc_unlocked.
89f447ed 25393
49c74ba9
UD
25394 * elf/dl-open.c (add_to_global): Report additions to the global scope
25395 for LD_DEBUG=scopes.
25396 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25397 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25398
5c43483f
UD
25399 [BZ #13114]
25400 * stdio-common/Makefile (tests): Add bug24.
25401 * stdio-common/bug24.c: New file.
25402
a101b025
AJ
254032011-08-19 Andreas Jaeger <aj@suse.de>
25404
25405 [BZ #13114]
25406 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25407 non-existant file when using close-on-exec mode.
25408
c88f1766
UD
254092011-08-20 Ulrich Drepper <drepper@gmail.com>
25410
0276a718
UD
25411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25412 the very first instruction.
25413
c88f1766
UD
25414 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25415 the CFI state in the end.
25416 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25417 inclusion of dl-trampoline.h.
25418 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25419
51ccffa0
AS
254202011-08-19 Andreas Schwab <schwab@redhat.com>
25421
94d7165f
AS
25422 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25423 expectations for long double.
25424
51ccffa0
AS
25425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25426 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25427
fd708658 254282011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25429
25430 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25431 artificual limit depends upon the system page size.
25432
44f0a71e
UD
254332011-08-17 Ulrich Drepper <drepper@gmail.com>
25434
25435 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25436 * resolv/Makefile: Define CFLAGS-libresolv.
25437
8de79a24
AS
254382011-08-17 Andreas Schwab <schwab@redhat.com>
25439
25440 * nss/makedb.c (compute_tables): Make variables used in nested
25441 function static.
25442
27724598
UD
254432011-08-17 Ulrich Drepper <drepper@gmail.com>
25444
c5305d88
UD
25445 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25446 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25447 if buffer was too small.
25448
27724598
UD
25449 * elf/pldd.c (main): Attach to all threads in the process.
25450 Rewrite /proc handling to use *at functions.
25451
076fe015
UD
254522011-08-16 Ulrich Drepper <drepper@gmail.com>
25453
174baab3
UD
25454 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25455 specifies first scope to show.
25456 (dl_open_worker): Update callers. Move printing scope of new
25457 object to before the relocation.
44f0a71e 25458 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25459 * sysdeps/generic/ldsodefs.h: Update declaration.
25460
076fe015
UD
25461 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25462 string for the scope number.
25463
a60df2c3
UD
254642011-08-14 Ulrich Drepper <drepper@gmail.com>
25465
25466 * nscd/servicescache.c (cache_addserv): Make sure written is always
25467 initialized.
25468
5e4287d1
RM
254692011-08-14 Roland McGrath <roland@hack.frob.com>
25470
85ae0589
RM
25471 * sysdeps/i386/i486/bits/atomic.h
25472 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25473 statement expression, so as to suppress "set but not used" warning.
25474 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25475
69f63097
RM
25476 * string/strncat.c (STRNCAT): Use prototype definition.
25477
675456ef
RM
25478 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25479 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25480 -Iprograms here.
25481 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25482 (localedef-modules): Add localedef.
25483 (locale-modules): Add locale.
25484
5e4287d1
RM
25485 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25486 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25487 to avoid a warning.
25488
9c96ff23
DM
254892011-08-14 David S. Miller <davem@davemloft.net>
25490
25491 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25492 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25493
f9ddf089
UD
254942011-08-13 Ulrich Drepper <drepper@gmail.com>
25495
44f0a71e 25496 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25497 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25498 * elf/rtld.c (dl_main): Set l_name of vDSO.
25499 Call _dl_show_scope when DL_DEBUG_SCOPES.
25500 (process_dl_debug): Recognize scopes flag and also set it for all.
25501 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25502 Declare _dl_show_scope.
25503
1dc27704
UD
25504 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25505 (do_dlopen): Pass caller_dlopen to dl_open.
25506 (__libc_dlopen_mode): Initialize caller_dlopen.
25507
f9ddf089
UD
25508 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25509 of libc. Make tolower call locale-independent. Optimize a bit by
25510 using isdigit instead of isalnum.
25511 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25512
9ac533d3
UD
255132011-08-12 Ulrich Drepper <drepper@gmail.com>
25514
25515 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25516 was a dependency or dynamically loaded.
25517
89edf2e9
UD
255182011-08-11 Ulrich Drepper <drepper@gmail.com>
25519
8e999d29
UD
25520 * intl/l10nflist.c: Allow architecture-specific pop function.
25521 * sysdeps/x86_64/l10nflist.c: New file.
25522
89edf2e9
UD
25523 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25524 classification.
25525
14d96785
AS
255262011-08-10 Andreas Schwab <schwab@redhat.com>
25527
25528 * include/dirent.h: Add libc_hidden_proto for scandirat and
25529 scandirat64. Don't declare __scandirat64.
25530 * dirent/scandirat.c: Add libc_hidden_def.
25531 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25532 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25533
6761ac04
DM
255342011-08-10 David S. Miller <davem@davemloft.net>
25535
25536 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25537 enum.
25538 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25540 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25541
c55fbd1e
UD
255422011-08-09 Ulrich Drepper <drepper@gmail.com>
25543
25544 * Versions.def [libc]: Add GLIBC_2.15.
25545 * dirent/Makefile (routines): Add scandirat and scandirat64.
25546 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25547 GLIBC_2.15.
25548 * dirent/dirent.h: Declare scandirat and scandirat64.
25549 * dirent/scandirat.c: New file.
25550 * dirent/scandirat64.c: New file.
25551 * sysdeps/wordsize-64/scandirat.c: New file.
25552 * sysdeps/wordsize-64/scandirat64.c: New file.
25553 * dirent/opendir.c: Define opendirat.
25554 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25555 using scandirat.
25556 * dirent/scandir64.c: Adjust for scandir.c change.
25557 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25558 __scandirat64, and __scandir_cancel_handler.
25559 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25560 additional parameter and use openat instead of open (outside of ld.so).
25561 Add new __opendir as wrapper around __opendirat.
25562 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25563 here without requiring old scandirat implementation.
25564
879165f2
UD
255652011-08-08 Ulrich Drepper <drepper@gmail.com>
25566
25567 * dirent/scandir.c (cancel_handler): Renamed to
25568 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25569 defined. Adjust users.
25570 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25571 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25572
cb7e923b
UD
255732011-08-04 Ulrich Drepper <drepper@gmail.com>
25574
16292edd
UD
25575 * string/test-string.h (IMPL): Use __STRING to expand name and then
25576 stringify it.
25577
cb7e923b
UD
25578 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25579 of cleanups.
25580
cff82933
LD
255812011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25582
25583 * string/Makefile: Update.
25584 (strop-tests): Append strncat.
25585 * string/test-wcscmp.c: New file.
25586 New comprehensive test for wcscmp.
25587 * string/test-strcmp.c: Update.
25588 (WIDE): New define.
25589
9be9bfcc
AS
255902011-07-22 Andreas Schwab <schwab@redhat.com>
25591
25592 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25593 line.
25594
2e96f1c7
AS
255952011-07-26 Andreas Schwab <schwab@redhat.com>
25596
25597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25598 encoding to ACE if AI_IDN.
25599
85188888
JJ
256002011-08-01 Jakub Jelinek <jakub@redhat.com>
25601
25602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25603 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25604
5fa16e9b
LD
256052011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25606
25607 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25608 Fix overflow bug in strncat.
25609 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25610
25611 * string/test-strncat.c: Update.
25612 Add new tests for checking overflow bugs.
25613
256142011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25615
25616 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25617 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25618 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25619 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25620 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25621 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25622 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25623 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25624 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25625
25626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25627 (USE_AS_STRCAT): Define.
25628 Add strcat and strncat support.
25629 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25630
8c1a459f
AS
256312011-07-25 Andreas Schwab <schwab@redhat.com>
25632
25633 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25634 __n bigger than INT_MAX+1.
25635 (__strncmp_g): Likewise.
25636
bba33c28
UD
256372011-07-23 Ulrich Drepper <drepper@gmail.com>
25638
798be72d
UD
25639 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25640 * libio/stido.h: Likewise.
25641
8accd4dc
UD
25642 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25643 (AF_NFC): Define.
25644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25645 (AF_NFC): Define.
25646
cbff0d96
UD
25647 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25648 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25649 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25650 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25652
9191c04a
UD
25653 [BZ #13021]
25654 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25655 installed.
25656
bba33c28
UD
25657 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25658 typo.
25659 (_dl_x86_64_save_sse): Likewise.
25660
90f139dd
UD
256612011-07-22 Ulrich Drepper <drepper@gmail.com>
25662
1aae088a
UD
25663 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25664 OSXSAVE.
25665 (_dl_x86_64_save_sse): Likewise.
25666
8e2045f5
UD
25667 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25668
90f139dd
UD
25669 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25670
1d002f25
AS
256712011-07-21 Andreas Schwab <schwab@redhat.com>
25672
25673 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25674 change.
25675 (_dl_x86_64_save_sse): Use correct AVX check.
25676
21137f89
UD
256772011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25678
25679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25680 bug in strncpy/strncat.
25681 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25682
a65c0b7a
UD
256832011-07-21 Ulrich Drepper <drepper@gmail.com>
25684
25685 * string/tester.c (test_strcat): Add tests for different alignments
25686 of source and destination.
25687 (test_strncat): Likewise.
25688
6986b98a
UD
256892011-07-20 Ulrich Drepper <drepper@gmail.com>
25690
90bb2039
UD
25691 [BZ #12852]
25692 * posix/glob.c (glob): Check passed in values before using them in
25693 expressions to avoid some overflows.
25694 (glob_in_dir): Likewise.
25695
5644ef54
UD
25696 [BZ #13007]
25697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25698 check for AVX enablement so that we don't crash with old kernels and
25699 new hardware.
25700 * elf/tst-audit4.c: Add same checks here.
25701 * elf/tst-audit6.c: Likewise.
25702
25703 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25704
bfc9dc9b
AS
257052011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25706
25707 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25708
702e64bb
UD
257092011-07-20 Ulrich Drepper <drepper@gmail.com>
25710
25711 * po/cs.po: Update from translation team.
25712 * po/bg.po: Likewise.
25713
295e904f
MP
257142011-07-12 Marek Polacek <mpolacek@redhat.com>
25715
25716 * misc/sys/cdefs.h: Add support for const attribute.
25717 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25718 to gnu_dev_{major,minor,makedev} functions.
25719
3ff94596
MP
257202011-07-20 Marek Polacek <mpolacek@redhat.com>
25721
25722 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25723
28b59fca
AS
257242011-07-20 Andreas Schwab <schwab@redhat.com>
25725
25726 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25727 strlen results.
25728
19df733e
AK
257292011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25730
25731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25732 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25733 register in order to avoid conflicts with the soft frame pointer
25734 being held in r11 when necessary.
25735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25736 (INTERNAL_VSYSCALL_NCS): Likewise.
25737
c8835729
MP
257382011-07-14 Marek Polacek <mpolacek@redhat.com>
25739
25740 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25741 * elf/dl-fini.c (_dl_fini): Adjust caller.
25742 * elf/dl-close.c (_dl_close_worker): Likewise.
25743 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25744
b902330c
MP
257452011-07-15 Marek Polacek <mpolacek@redhat.com>
25746
8991e135
MP
25747 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25748 "aux_cache->nlibs < 0".
25749
b902330c
MP
25750 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25751 in the reload-count case.
25752
99710781
LD
257532011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25754
25755 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25756 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25757 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25758 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25759 * sysdeps/x86_64/multiarch/strcat.S: New file.
25760 * sysdeps/x86_64/multiarch/strncat.S: New file.
25761 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25762 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25763 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25764 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25765 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25766 (USE_AS_STRCAT): Define.
25767 Add strcat and strncat support.
25768 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25769 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25770 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25771 * string/strncat.c: Update.
25772 (USE_AS_STRNCAT): Define.
25773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25774 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25775 and i7.
25776 * sysdeps/x86_64/multiarch/init-arch.h
25777 (bit_Prefer_PMINUB_for_stringop): New.
25778 (index_Prefer_PMINUB_for_stringop): Likewise.
25779 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25780 bit_Prefer_PMINUB_for_stringop.
25781
7dc6bd90
UD
257822011-07-19 Ulrich Drepper <drepper@gmail.com>
25783
25784 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25785 buffer64.
25786 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25787 of casting of buffer.
25788 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25789 buffer32 and buffer64.
25790 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25791 writes instead of casting of buffer.
25792 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25793 buffer32.
25794 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25795 casting of buffer.
25796
e0e72284
AS
257972011-07-19 Andreas Schwab <schwab@redhat.com>
25798
25799 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25800
feb1eb0b
UD
258012011-07-19 Ulrich Drepper <drepper@gmail.com>
25802
25803 * nscd/nscd.c (termination_handler): Don't do anything for a database
25804 if it has not yet been initialized.
25805
298711ff
UD
258062011-07-18 Ulrich Drepper <drepper@gmail.com>
25807
25808 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25809
258102011-07-15 Marek Polacek <mpolacek@redhat.com>
25811
25812 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25813
f9d68389
UD
258142011-07-18 Ulrich Drepper <drepper@gmail.com>
25815
25816 * po/nl.po: Update from translation team.
25817 * po/sv.po: Likewise.
25818
db290cf5
RM
258192011-07-16 Roland McGrath <roland@hack.frob.com>
25820
25821 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25822 now disallowed by GCC.
5c550700 25823
fd5e21c7
RM
25824 * configure.in (use-default-link): Default to yes if a test -shared
25825 link meets our qualifications.
25826 * configure: Regenerated.
25827
5c550700
RM
25828 * config.make.in (output-format): New variable.
25829 * configure.in: Check for ld --print-output-format support.
25830 * configure: Regenerated.
25831 * Makerules ($(common-objpfx)format.lds)
25832 [$(output-format) != unknown]: Just use $(output-format),
25833 instead of the linker-script munging.
25834
9fa2c032
RM
258352011-07-14 Roland McGrath <roland@hack.frob.com>
25836
a6928d51
RM
25837 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25838 of $(common-objpfx)shlib.lds.
25839 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25840
661607b3
RM
25841 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25842 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25843
9fa2c032
RM
25844 * configure.in (-z relro check): Adjust test code to add a large
25845 writable data section after it.
25846 * configure: Regenerated.
25847
defe9061
RM
258482011-07-11 Roland McGrath <roland@hack.frob.com>
25849
25850 * configure.in (-z relro check): Fix test code to make the variable
25851 truly const.
25852 * configure: Regenerated.
25853
319b9ad4
UD
258542011-07-11 Ulrich Drepper <drepper@gmail.com>
25855
25856 * nscd/nscd.h (struct traced_file): Define.
25857 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25858 elements. Add traced_files.
25859 (inotify_fd): Declare.
25860 (register_traced_file): Declare.
25861 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25862 (inotify_fd): Export.
25863 (resolv_conf_descr): Remove.
25864 (nscd_init): Move inotify descriptor creation to main.
25865 Don't register files for notification here.
25866 (register_traced_file): New function.
25867 (invalidate_cache): Don't use reset_res to determine whether to call
25868 res_init, go through the list of registered files.
25869 (main_loop_poll): The inotify descriptors are now stored in the
25870 structures for the traced files.
25871 (main_loop_epoll): Likewise
25872 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25873 to __nss_disable_nscd.
25874 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25875 for a database anymore. Check the records for all the registered
25876 files instead.
25877 * nss/Makefile (libnss_files-routines): Add files-init.
25878 (libnss_db-routines): Add db-init.
25879 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25880 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25881 * nss/nss_db/db-init.c: New file.
25882 * nss/nss_files/files-init.c: New file.
25883 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25884 __nss_lookup_function.
25885 (__nss_lookup_function): Call nss_load_library.
25886 (nss_load_all_libraries): New function.
25887 (__nss_disable_nscd): Take parameter with callback function for files
25888 to register. Set is_nscd. Load all the DSOs for the NSS modules
25889 used for the cached services.
25890 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25891 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25892 options for features to all the files in nscd.
25893
25894 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25895
23bee3e8
RM
258962011-07-10 Roland McGrath <roland@hack.frob.com>
25897
25898 * csu/elf-init.c (__libc_csu_init): Comment typo.
25899
46a5b7f0
UD
259002011-07-09 Ulrich Drepper <drepper@gmail.com>
25901
25902 * po/pl.po: Update from translation team.
25903 * po/ja.po: Likewise.
25904 * po/ru.po: Likewise.
25905 * po/ko.po: Likewise.
25906 * po/fr.po: Likewise.
25907
d30cf5bb
RM
259082011-07-09 Roland McGrath <roland@hack.frob.com>
25909
113ddea4
RM
25910 * configure.in (.ctors/.dtors header and trailer check):
25911 Use an empirical test on a built program.
25912 * configure: Regenerated.
25913
574920b4
RM
25914 * configure.in (-z relro check): Use an empirical test on a built DSO.
25915 Detect, but do not require, on ia64.
25916 * configure: Regenerated.
25917
d30cf5bb
RM
25918 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25919 Update tests that use readelf to use $READELF instead.
25920 * configure: Regenerated.
25921
8538fdb3
UD
259222011-07-08 Ulrich Drepper <drepper@gmail.com>
25923
25924 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25925 if the result is not used.
25926
04d08991
AJ
259272011-07-05 Andreas Jaeger <aj@suse.de>
25928
25929 [BZ#9696]
25930 * stdlib/tst-strtod.c: Add testcase.
25931
de283087
AD
259322011-07-07 Ulrich Drepper <drepper@gmail.com>
25933
4e5f31c8 25934 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25935 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25936 The latter has a higher limit. Take additional parameter to pass to
25937 the new function.
25938 (__pathconf): Pass file to __statfs_link_max.
25939 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25940 __statfs_link_max.
25941 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25942 __statfs_link_max.
25943
de283087
AD
25944 [BZ #12868]
25945 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25946 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25947 Handle Lustre.
25948 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25949 (__statfs_filesize_max): Likewise.
25950 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25951
c75fa153
AJ
259522011-07-05 Andreas Jaeger <aj@suse.de>
25953
25954 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25955
1a544854
UD
259562011-07-06 Marek Polacek <mpolacek@redhat.com>
25957
25958 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25959 `status' variable.
25960 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25961 Likewise.
25962
6f0eec67
UD
259632011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25964
25965 * Makefile (strop-tests): Add strncat.
25966 * string/test-strncat.c: New file.
25967
aae30307
UD
259682011-06-30 Marek Polacek <mpolacek@redhat.com>
25969
25970 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25971
c0cfb5eb
UD
259722011-06-21 Andreas Jaeger <aj@suse.de>
25973
25974 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25975 Copy rule from iconvdata/Makefile.
25976
01636b21
UD
259772011-07-06 Ulrich Drepper <drepper@gmail.com>
25978
25979 [BZ #12922]
25980 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25981 but no long options are defined, just return 'W'.
25982
9895c8bc
UD
259832011-06-22 Marek Polacek <mpolacek@redhat.com>
25984
25985 [BZ #9696]
25986 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25987
5d4cf042
UD
259882011-07-06 Ulrich Drepper <drepper@gmail.com>
25989
25990 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25991 netgroups to read.
960e5535 25992 (innetgr): Likewise.
5d4cf042 25993
751eb97e
RM
259942011-07-05 Roland McGrath <roland@hack.frob.com>
25995
25996 * config.make.in (install_root): Default to $(DESTDIR).
25997
f15f1e45
UD
259982011-07-05 Ulrich Drepper <drepper@gmail.com>
25999
26000 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
26001
4e34ac6a
RM
260022011-07-02 Roland McGrath <roland@hack.frob.com>
26003
5e9b6af4
RM
26004 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
26005
84f9ea0f
RM
26006 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
26007 containing directory rather than embedding absolute directory names.
26008
ea5ee9f7
RM
26009 * scripts/check-local-headers.sh: Rewritten using awk.
26010 Match by word, not by line. Print error messages for matches.
26011 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
26012
1b74661a
RM
26013 * Makerules [shlib-lds-flags empty]:
26014 ($(common-objpfx)libc_pic.opts): New target.
26015 ($(common-objpfx)libc_pic.os.clean): New target.
26016 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
26017
26018 * config.make.in (OBJCOPY): New variable.
26019 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
26020 * configure: Regenerated.
26021
f781ef40
RM
26022 * config.make.in (use-default-link): New variable.
26023 * configure.in (use_default_link): Grok --with-default-link to set it.
26024 * configure: Regenerated.
26025 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
26026 (shlib-lds, shlib-lds-flags): Define to empty.
26027
2d4fa81e
RM
26028 * Makerules (shlib-lds): New variable.
26029 (shlib-lds-flags): New variable.
26030 (build-shlib, build-moduile, build-module-asneeded): Use it.
26031 ($(common-objpfx)libc.so): Use $(shlib-lds).
26032 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
26033 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
26034
31fffa6b
RM
26035 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
26036 DT_FLAGS/DT_FLAGS_1 with zero flags.
26037
4e34ac6a
RM
26038 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
26039 linker script munging.
26040
fcfc776b
UD
260412011-07-02 Ulrich Drepper <drepper@gmail.com>
26042
26043 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
26044 as 128-bit value.
26045 * crypt/sha512.c (sha512_process_block): Perform total addition using
26046 128-bit if possible.
26047 (__sha512_finish_ctx): Likewise.
26048 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
26049 as 64-bit value.
26050 * crypt/sha256.c (SWAP64): Define.
26051 (sha256_process_block): Perform total addition using 64-bit if
26052 possible.
26053 (__sha256_finish_ctx): Likewise.
26054
99231d9a
UD
260552011-07-01 Ulrich Drepper <drepper@gmail.com>
26056
26057 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
26058 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26059 * nscd/hstcache.c (cache_addhst): Likewise.
26060 * nscd/grpcache.c (cache_addgr): Likewise.
26061 * nscd/aicache.c (addhstaiX): Likewise
26062 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
26063
445b4a53
TK
260642011-07-01 Thorsten Kukuk <kukuk@suse.de>
26065
26066 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
26067 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26068 * nscd/hstcache.c (cache_addhst): Likewise.
26069 * nscd/grpcache.c (cache_addgr): Likewise.
26070 * nscd/aicache.c (addhstaiX): Likewise
26071
6d4d8e8e
AS
260722011-07-01 Andreas Schwab <schwab@redhat.com>
26073
26074 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
26075 domain only when needed.
26076
89f654c5
AS
260772011-06-30 Andreas Schwab <schwab@redhat.com>
26078
26079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
26080 is always restored.
26081
cf3b23ff
UD
260822011-06-29 Ulrich Drepper <drepper@gmail.com>
26083
26084 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
26085 are re-adding the entry.
26086 * nscd/servicescache.c (cache_addserv): Likewise.
26087
751626f9
AJ
260882011-06-30 Aurelien Jarno <aurelien@aurel32.net>
26089
26090 * sysdeps/generic/dl-irel.h: fix protection against multiple
26091 inclusions.
26092 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
26093
9113ea1f
UD
260942011-06-28 Ulrich Drepper <drepper@gmail.com>
26095
5c0b8d90
UD
26096 [BZ #12935]
26097 * malloc/memusage.sh: Fix quoting in message.
26098 * debug/xtrace.sh: Likewise.
26099
9113ea1f
UD
26100 * configure.in: Remove support for --experimental-malloc option, make
26101 it the default.
26102 * config.make.in: Likewise.
26103 * malloc/Makefile: Likewise.
26104
a4172181
AS
261052011-06-27 Andreas Schwab <schwab@redhat.com>
26106
26107 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
26108 two-byte characters.
26109
78a7eee7
RM
261102011-06-27 Roland McGrath <roland@hack.frob.com>
26111
62bede13
RM
26112 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
26113 AC_CACHE_CHECK invocation.
26114 * configure: Regenerated.
26115
78a7eee7
RM
26116 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
26117
5ce33a62
UD
261182011-06-27 Ulrich Drepper <drepper@gmail.com>
26119
034807a9
UD
26120 [BZ #12350]
26121 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
26122 bit from old_res_options.
26123
4902da17
UD
26124 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
26125
5ce33a62
UD
26126 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
26127 value type for setfct.
26128
c2344f56
L
261292011-06-23 H.J. Lu <hongjiu.lu@intel.com>
26130
26131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26132 __gettimeofday instead of gettimeofday.
26133
68468076
UD
261342011-06-26 Ulrich Drepper <drepper@gmail.com>
26135
26136 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
26137
acb0d739
L
261382011-06-24 H.J. Lu <hongjiu.lu@intel.com>
26139
26140 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
26141
26142 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
26143 info.
26144
8912479f
L
261452011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26146
26147 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26148 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26149 strcpy-sse2-unaligned strncpy-sse2-unaligned
26150 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
26151 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
26152 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
26153 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
26154 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
26155 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
26156 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
26157 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
26158 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
26159 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
26160 (STRCPY): Support SSE2 and SSSE3 versions.
26161
d5495a11
UD
261622011-06-24 Ulrich Drepper <drepper@gmail.com>
26163
26164 [BZ #12874]
26165 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
26166 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
26167 kernels which artificially limit size of requests.
26168
0b1cbaae
L
261692011-06-22 H.J. Lu <hongjiu.lu@intel.com>
26170
26171 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26172 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
26173 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
26174 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
26175 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
26176 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
26177 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
26178 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
26179 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
26180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
26181 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
26182 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
26183 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
26184 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26185 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26186 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26187 Enable unaligned load optimization for Intel Core i3, i5 and i7
26188 processors.
26189 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26190 Define.
26191 (index_Fast_Unaligned_Load): Define.
26192 (HAS_FAST_UNALIGNED_LOAD): Define.
26193
07f494a0
MP
261942011-06-23 Marek Polacek <mpolacek@redhat.com>
26195
26196 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26197
fa3fc0fe
UD
261982011-06-22 Ulrich Drepper <drepper@gmail.com>
26199
26200 [BZ #12907]
26201 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26202 until it is clear that the information is realy needed.
26203 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26204
e12df166
AS
262052011-06-22 Andreas Schwab <schwab@redhat.com>
26206
26207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26208
852eb34d
UD
262092011-06-22 Ulrich Drepper <drepper@gmail.com>
26210
84e2a551
UD
26211 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26212 /sys/devices/system/cpu/online if it is usable.
26213
852eb34d
UD
26214 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26215 reading the information from the /proc filesystem to once a second.
26216
6e502e19
UD
262172011-06-21 Andreas Jaeger <aj@suse.de>
26218
26219 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26220 NULL after inclusion of kernel headers.
26221
75d39ff2
UD
262222011-06-21 Ulrich Drepper <drepper@gmail.com>
26223
51f9aa6a
UD
26224 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26225 calls to internal_setent.
26226
c0244a9d
UD
26227 [BZ #12885]
26228 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26229 addresses using gethostbyname4_r ignore IPv4 addresses.
26230
c5e3c2ae
UD
26231 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26232 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26233
75d39ff2
UD
26234 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26235
42675c6f
DM
262362011-06-20 David S. Miller <davem@davemloft.net>
26237
26238 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26239 inclusions.
26240 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26241
26242 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26243 (elf_irel): Use it.
26244 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26245 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26246 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26247 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26248 * sysdeps/x86_64/dl-irel.h: Likewise.
26249
26250 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26251 * elf/dl-sym.c: Likewise.
26252
57912a71
UD
262532011-06-15 Ulrich Drepper <drepper@gmail.com>
26254
26255 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26256 need to dereference resplen2.
26257
ee22793d
AS
262582011-06-14 Andreas Schwab <schwab@redhat.com>
26259
26260 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26261
a9e836b0
UD
262622011-06-15 Ulrich Drepper <drepper@gmail.com>
26263
77fb9117
UD
26264 * Makeconfig: Define vardbdir and inst_vardbdir.
26265 * nss/Makefile: Add rules to install db-Makefile.
26266
40c1b22c
UD
26267 * nss/nss_db/db-XXX.c: Cleanup.
26268
9f2da732
UD
26269 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26270 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26271 GLIBC_PRIVATE.
26272 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26273 * nss/makedb.c: Implement -g option to specify that value strings
26274 are generated and should not be added to table iterated over for
26275 get*ent calls.
26276 * nss/nss_db/db-initgroups.c: New file.
26277
82e9a1f7
UD
26278 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26279 interface.
26280
c41af17e
UD
26281 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26282 (internal_getgrouplist): Adjust to name change.
26283 Update use_initgroups_entry if this is not the first call.
26284 * nss/databases.def: Add initgroups entry.
26285
a9e836b0
UD
26286 * nss/makedb.c (compute_tables): Check result of multiple hash table
26287 sizes to minimize maximum chain length.
26288
2666d441
UD
262892011-06-14 Ulrich Drepper <drepper@gmail.com>
26290
26291 * Versions.def: Add entry for libnss_db.
26292 * shlib-versions: Likewise.
26293 * nss/Makefile: Add rules to build libnss_db.
26294 * nss/Versions: Add libnss_db information. Organize libnss_files
26295 entries better.
26296 * nss/db-Makefile: Add gshadow support. Change rules for the new
26297 makedb progra. Some minor improvements to generate smaller files.
26298 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26299 here from...
26300 * nss/makedb.c: ...here.
26301 Improve database format to be smaller and require less memory at
26302 runtime.
26303 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26304 db anymore.
26305 * nss/nss_db/db-netgrp.c: Likewise.
26306 * nss/nss_db/db-open.c: Likewise.
26307 * nss/nss_files/flies-XXX.x: Adjust comments.
26308 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26309 * nss/nss_files/files-grp.c: Likewise.
26310 * nss/nss_files/files-hosts.c: Likewise.
26311 * nss/nss_files/files-network.c: Likewise.
26312 * nss/nss_files/files-proto.c: Likewise.
26313 * nss/nss_files/files-pwd.c: Likewise.
26314 * nss/nss_files/files-rpc.c: Likewise.
26315 * nss/nss_files/files-service.c: Likewise.
26316 * nss/nss_files/files-sgrp.c: Likewise.
26317 * nss/nss_files/files-spwd.c: Likewise.
26318 * nss/nss_db/db-alias.c: Removed.
26319 * nss/nss_db/dummy-db.h: Removed.
26320
9ee76b5a
UD
263212011-06-02 Ulrich Drepper <drepper@gmail.com>
26322
26323 * nss/makedb.c: Rewritten to not use database library.
26324 * nss/Makefile: Update to build new makedb program.
26325
c71ca1f8
AJ
263262011-06-14 Andreas Jaeger <aj@suse.de>
26327
26328 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26329 memset declaration.
26330
3154bfb8
UD
263312011-06-10 Andreas Schwab <schwab@redhat.com>
26332
26333 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26334 tmpbuf.
26335
b350afab
RM
263362011-06-10 Roland McGrath <roland@hack.frob.com>
26337
decd4e50
RM
26338 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26339 * elf/Makefile ($(objpfx)ld.so): Likewise.
26340
5615eaf2
RM
26341 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26342 Don't list ld.so twice in dependencies.
26343
26344 * posix/bug-regex31.c: Include <stdlib.h>.
26345
26346 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26347
26348 * nis/nss_compat/compat-spwd.c
26349 (getspent_next_nss_netgr): Remove unused variable.
26350 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26351
26352 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26353 nonmembers" output to use the right array.
26354
26355 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26356
26357 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26358
26359 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26360 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26361 * catgets/gencat.c (read_input_file): Likewise.
26362 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26363
26364 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26365 variable definition inside #if's controlling its use.
26366
26367 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26368
26369 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26370
26371 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26372
26373 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26374 unreachable code.
26375
26376 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26377
b68e08db
RM
26378 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26379 * configure: Regenerated.
26380
b350afab
RM
26381 * Makerules: Revert last change.
26382 * elf/Makefile: Likewise.
26383
28368601
RM
263842011-06-09 Roland McGrath <roland@hack.frob.com>
26385
26386 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26387 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26388 (reloc-link): Likewise.
26389
11988f8f
UD
263902011-06-09 Ulrich Drepper <drepper@gmail.com>
26391
26392 * elf/Makefile: Add rules to build pldd.
26393 * elf/pldd.c: New file.
26394 * elf/pldd-xx.c: New file.
26395
e80fab37
UD
263962011-06-07 Ulrich Drepper <drepper@gmail.com>
26397
26398 * version.h: Update for 2.15 development version.
26399
9b849836
DM
264002011-06-07 David S. Miller <davem@davemloft.net>
26401
26402 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26403 ifuncs.
26404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26405 elf_machine_lazy_rel): Likewise.
26406 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26408 elf_machine_lazy_rel): Likewise.
26409 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26410 dl_hwcap via passed in argument.
26411 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26412 Likewise.
26413
5a31b283
AK
264142011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26415
26416 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26417
069e52f8
RM
264182011-06-06 Roland McGrath <roland@hack.frob.com>
26419
26420 [BZ #12849]
26421 * manual/fdl-1.1.texi: New file, verbatim from:
26422 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26423 * manual/lgpl-2.1.texi: New file, verbatim from:
26424 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26425 * manual/Makefile (licenses): New variable, list those new file names.
26426 (texis): Use it.
26427 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26428
26429 * manual/fdl.texi: File removed.
26430 * manual/lesser.texi: File removed.
26431 * manual/libc.texinfo (Copying, Documentation License):
26432 Use new @include file names, put @appendix directive before @include.
26433
f16846a5
JJ
264342011-06-04 Jakub Jelinek <jakub@redhat.com>
26435
26436 [BZ #12841]
26437 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26438 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26439 (mq_open): Add __NTH.
26440
3d29045b
L
264412011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26442
26443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26444 Assume Intel Core i3/i5/i7 processor if AVX is available.
26445
8c297311
UD
264462011-05-31 Ulrich Drepper <drepper@gmail.com>
26447
26448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26449 typo.
26450
c8fc0c91
UD
264512011-05-31 Andreas Schwab <schwab@redhat.com>
26452
26453 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26454 memory. Use alloca_account. Fix memory leak when retrying.
26455
5b27a807
UD
264562011-05-31 Ulrich Drepper <drepper@gmail.com>
26457
356f8bc6
UD
26458 * version.h (RELEASE): Bump for 2.14 release.
26459 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26460
5b27a807
UD
26461 * config.make.in (RANLIB): Remove entry.
26462
01f16ab0
UD
264632011-05-30 Ulrich Drepper <drepper@gmail.com>
26464
41fce8bd
UD
26465 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26466 (libc.pot): Work around missing support for .ksh extension in xgettext.
26467
4769ae77
UD
26468 [BZ #12684]
26469 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26470 if both request failed.
26471 (send_dg): In case of server errors clear resplen or *resplen2.
26472
6b1e7d19
UD
26473 [BZ #12454]
26474 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26475 when there are multiple maps.
26476 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26477 (_dl_fini): Remove test here.
26478
01f16ab0
UD
26479 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26480
b1ebd700
UD
264812011-05-29 Ulrich Drepper <drepper@gmail.com>
26482
7ae22829
UD
26483 [BZ #12350]
26484 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26485 bit from old_res_options.
26486 (gaih_inet): Likewise.
26487
553149f6 26488 [BZ #11099]
18a84741 26489 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26490 as signed.
26491
652ffab1
UD
26492 * resolv/res_init.c (res_setoptions): Make the code more compact.
26493
16985fd0
UD
26494 [BZ #11558]
26495 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26496 set RES_USEVC.
26497
0464f746
UD
26498 [BZ #11634]
26499 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26500
7d17596c
UD
26501 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26502
cf6bbbd7
UD
26503 [BZ #11781]
26504 * malloc/malloc.h: Declare malloc hook variables as volatile.
26505
13f1ab36
UD
26506 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26507 in last patch.
26508
b1ebd700
UD
26509 [BZ #11799]
26510 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26511 raise in the comment.
80e2212d
UD
26512 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26513 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26514 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26515
ce67228d
UD
265162011-05-28 Ulrich Drepper <drepper@gmail.com>
26517
8887a920
UD
26518 [BZ #12811]
26519 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26520 grow the buffers more if it already has to be sufficient.
26521 (build_wcs_upper_buffer): Likewise.
26522 * posix/regexec.c (check_matching): Likewise.
26523 (clean_state_log_if_needed): Likewise.
26524 (extend_buffers): Don't enlarge buffers beyond size of the input
26525 buffer.
26526 Patches mostly by Emil Wojak <emil@wojak.eu>.
26527 * posix/bug-regex32.c: New file.
26528 * posix/Makefile (tests): Add bug-regex32.
26529
4f031072
UD
26530 * locale/findlocale.c (_nl_find_locale): Return right away if
26531 _nl_explode_name failed.
26532 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26533
d0478f0c
UD
26534 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26535
de81b246
UD
26536 * debug/xtrace.sh: Unify messages.
26537 * malloc/memusage.sh: Likewise.
26538
c738465a
UD
26539 [BZ #12813]
26540 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26541 time symbol from vDSO. Substitute with vsyscall if not available.
26542 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26543 __vdso_time.
26544
f1f929d7
UD
26545 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26546 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26547 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26548 Add sendmmsg and internal_sendmmsg.
26549 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26550 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26551 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26552
ce67228d
UD
26553 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26554 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26555 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26556
e57420c6
UD
265572011-05-27 Ulrich Drepper <drepper@gmail.com>
26558
a8509ca5
UD
26559 [BZ #12813]
26560 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26561 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26562 available.
26563 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26564 __vdso_getcpu.
26565
e57420c6
UD
26566 [BZ #12814]
26567 * iconvdata/Makefile (tests): Add bug-iconv9.
26568 * iconvdata/bug-iconv9.c: New file.
26569
4d07db15
AS
265702011-05-27 Andreas Schwab <schwab@redhat.com>
26571
26572 [BZ #12814]
26573 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26574
ea486f69
JJ
265752011-05-25 Jakub Jelinek <jakub@redhat.com>
26576
26577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26578 (struct user_regs_struct): Change intcs field back to cs.
26579
6f038433
UD
265802011-05-25 Ulrich Drepper <drepper@gmail.com>
26581
26582 * po/ja.po: Update from translation team.
26583
67f86a25
UD
265842011-05-23 Ulrich Drepper <drepper@gmail.com>
26585
26586 [BZ #12795]
26587 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26588 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26589
def7fbd6
AS
265902011-05-20 Andreas Schwab <schwab@redhat.com>
26591
26592 * stdlib/longlong.h: Update from GCC.
26593
f50ef8f1
AS
265942011-05-23 Andreas Schwab <schwab@redhat.com>
26595
26596 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26597 parameter name.
26598 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26599 Add parameter name.
26600 (__sysconf): Pass it down.
26601
de7ce8f1
UD
266022011-05-22 Ulrich Drepper <drepper@gmail.com>
26603
f2962a71
UD
26604 [BZ #12671]
26605 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26606 some situations.
26607 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26608 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26609 add in in __libc_use_alloca calls. Adjust callers.
26610 (glob): Use malloc in some situations.
26611
de7ce8f1
UD
26612 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26613 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26614 pltexit.
26615
aec84f53
UD
266162011-05-21 Ulrich Drepper <drepper@gmail.com>
26617
05bb4a68
UD
26618 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26619 and CLOCK_BOOTTIME_ALARM.
26620
7ea72f99
UD
26621 [BZ #12782]
26622 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26623 is returned.
26624
7e4afad5
UD
26625 * string/_strerror.c (__strerror_r): Print negative errors as signed
26626 numbers.
26627
8e211fec
UD
26628 [BZ #12777]
26629 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26630 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26631 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26632
f7d82dc9
UD
26633 * configure.in: Fix typo in redirection and correct removal of test
26634 files in two cases.
26635
cc9e536d
UD
26636 [BZ #12788]
26637 * locale/setlocale.c (new_composite_name): Fix test to check for
26638 identical name of all categories.
26639
aec84f53
UD
26640 [BZ #12792]
26641 * libio/filedoalloc.c (local_isatty): New function.
26642 (_IO_file_doallocate): Use local_isatty.
26643 * stdio-common/perror.c (perror): In case a new stream is used
26644 forward the stream error.
26645 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26646 error flag.
26647
78e64fdc
RT
266482011-05-20 Ulrich Drepper <drepper@gmail.com>
26649
34a9094f
UD
26650 [BZ #11869]
26651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26652 alloca.
26653 * include/alloca.h (extend_alloca_account): Define.
26654
78e64fdc
RT
26655 [BZ #11857]
26656 * posix/regex.h: Fix comments with documentation of user-accessible
26657 fields after compilation and describe correct free'ing of pattern
26658 after re_compile_pattern.
26659 Patch by Reuben Thomas <rrt@sc3d.org>.
26660
457bddfc
RA
266612011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26662
26663 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26664 and -mno-altivec to prevent the compiler from using Altivec and/or
26665 VSX instructions when the corresponding registers are not available.
26666
a4527b51
AS
266672011-05-19 Andreas Schwab <schwab@redhat.com>
26668
26669 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26670
ed690b2f
UD
266712011-05-19 Ulrich Drepper <drepper@gmail.com>
26672
26673 * libio/freopen.c (freopen): Use __dup2, not dup2.
26674 * libio/freopen64.c (freopen64): Likewise.
26675
8db73634
L
266762011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26677
26678 [BZ #12775]
26679 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26680 * math/Makefile (tests): Add test-powl.
26681 (CFLAGS-test-powl.c): Define.
26682 * math/test-powl.c: New file.
26683
0a197a9d
L
266842011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26685
26686 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26687
ee30c380
UD
266882011-05-17 Ulrich Drepper <drepper@gmail.com>
26689
26690 [BZ #11837]
26691 * iconvdata/gb18030.c: Update to GB18020-2005.
26692
6ce75379
UD
266932011-05-16 Ulrich Drepper <drepper@gmail.com>
26694
a4b89fd8
AR
26695 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26696 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26697 Patch by Aharon Robbins <arnold@skeeve.com>.
26698
ea389b12
UD
26699 [BZ #11892]
26700 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26701 on the stack.
26702
68a3f91f
UD
26703 [BZ #11895]
26704 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26705 through underflows.
26706
15cc7dd1
UD
26707 [BZ #12766]
26708 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26709 point to strings before performing equality test for error_one_per_line
26710 mode.
26711
f3799213
UD
26712 [BZ #11697]
26713 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26714
d79a9c94
UD
26715 [BZ #11820]
26716 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26717 (struct user_fpregs_struct): Avoid __uint*_t types.
26718
56e5eb46
UD
26719 [BZ #6420]
26720 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26721 symbol info. Use it instead of calling _dl_addr locally.
26722 (lock_and_info): New function.
26723 (tr_freehook): Call lock_and_info and pass symbol info as additional
26724 parameter to tr_where.
26725 (tr_mallochook): Likewise.
26726 (tr_reallochook): Likewise.
26727 (tr_memalignhook): Likewise.
26728
6ce75379
UD
26729 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26730 used and couldn't be at all thread-safe.
26731
f8a3b5bf
UD
267322011-05-15 Ulrich Drepper <drepper@gmail.com>
26733
94b7cc37
UD
26734 * libio/freopen.c (freopen): Don't close old file descriptor
26735 before the new one is opened. Instead dup the new file descriptor
26736 to the old one after the new stream is created.
26737 * libio/freopen64.c (freopen64): Likewise.
26738 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26739 * libio/fileops.c (_IO_new_file_close_it): Handle new
26740 _IO_FLAGS2_NOCLOSE flag.
26741 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26742 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26743 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26744 _IO_FLAGS2_NOCLOSE flag.
26745 * include/unistd.h: Add hidden_proto for dup3.
26746 Define __have_dup3.
26747 * io/dup3.c: Define hidden symbol.
26748 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26749
bd25564e
UD
26750 [BZ #7101]
26751 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26752 when an incomplete long option is used.
26753 * posix/tst-getopt_long1.c: New file.
26754 * posix/Makefile (tests): Add tst-getopt_long1.
26755
c84cfef4
UD
26756 [BZ #10138]
26757 * scripts/config.guess: Update from autoconf-2.68.
26758 * scripts/config.sub: Likewise.
26759
3b85df27
UD
26760 [BZ #10157]
26761 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26762 tests into ...
26763 (has_cpuclock): ...this. New function.
26764 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26765 macro here based on has_cpuclock code.
26766
15a856b1
UD
26767 [BZ #10149]
26768 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26769 First byte (not low byte) is now always NUL.
26770 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26771
05f399e6
UD
26772 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26773 Use non-cancelable interfaces.
26774
10a52685 26775 [BZ #9809]
94ecc67d
UD
26776 * locale/iso-639.def: Add entry for Sorani.
26777
f8a3b5bf
UD
26778 [BZ #11901]
26779 * include/stdlib.h: Move include protection to the right place.
26780 Define abort_msg_s. Declare __abort_msg with it.
26781 * stdlib/abort.c (__abort_msg): Adjust type.
26782 * assert/assert.c (__assert_fail_base): New function. Majority
26783 of code from __assert_fail. Allocate memory for __abort_msg with
26784 mmap.
26785 (__assert_fail): Now call __assert_fail_base.
26786 * assert/assert-perr.c: Remove bulk of implementation. Use
26787 __assert_fail_base.
26788 * include/assert.hL Declare __assert_fail_base.
26789 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26790 mmap.
26791 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26792
1af4e298
UD
267932011-05-14 Ulrich Drepper <drepper@gmail.com>
26794
f8a3b5bf 26795 [BZ #11952]
d26dfc60
MG
26796 [BZ #12453]
26797 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26798 until all modules are registered in the DTV.
26799 * elf/Makefile: Add rules to build and run tst-tls19.
26800 * elf/tst-tls19.c: New file.
26801 * elf/tst-tls19mod1.c: New file.
26802 * elf/tst-tls19mod2.c: New file.
26803 * elf/tst-tls19mod3.c: New file.
26804 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26805
2fc54d6f
UD
26806 [BZ #12083]
26807 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26808 correctly.
26809
98d76b46
UD
26810 [BZ #12601]
26811 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26812 two-byte sequence errors.
26813 * iconvdata/Makefile (tests): Add bug-iconv8.
26814 * iconvdata/bug-iconv8.c: New file.
26815
da3c19ef
UD
26816 [BZ #12626]
26817 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26818 buf2 definition.
26819
ca408c15
UD
26820 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26821
d6f67f7d
UD
26822 [BZ #12432]
26823 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26824 (dummy_getcfa): New function.
26825 (init): Get _Unwind_GetCFA address, use dummy if not found.
26826 (backtrace_helper): In recursion check, also check whether CFA changes.
26827 (__backtrace): Completely initialize arg.
26828
1af4e298 26829 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26830 storing incomplete byte sequence in state object. Avoid testing for
26831 guaranteed too small input if we know there is enough data available.
1af4e298 26832
da62f81b
AS
268332011-05-11 Andreas Schwab <schwab@redhat.com>
26834
26835 * Makeconfig (+link-pie): Indent.
26836 * Rules (binaries-pie): Define if $(have-fpie) and
26837 $(build-shared).
26838 (binaries-shared): Also filter out $(binaries-pie).
26839 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26840 * nscd/Makefile (others-pie): Add nscd.
26841 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26842 ($(objpfx)nscd): Remove command override.
26843 * login/Makefile (others-pie): Add pt_chown.
26844 ($(objpfx)pt_chown): Remove command override.
26845 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26846 remove command overrides.
26847
fcabc0f8
UD
268482011-05-13 Ulrich Drepper <drepper@gmail.com>
26849
20030ae6
UD
26850 * libio/tst_putwc.c: Fix error messages.
26851
fcabc0f8
UD
26852 [BZ #12724]
26853 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26854 currently writing and seek to current position when not.
26855 * libio/Makefile (tests): Add bug-fclose1.
26856 * libio/bug-fclose1.c: New file.
26857
320a5dc0
PB
268582011-05-12 Ulrich Drepper <drepper@gmail.com>
26859
26860 [BZ #12511]
26861 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26862 don't set DF_1_NODELETE here.
26863 (do_lookup_x): When entering new entry test for copy relocation
26864 and if necessary set DF_1_NODELETE flag.
26865 * elf/tst-unique4.cc: New file.
26866 * elf/tst-unique4.h: New file.
26867 * elf/tst-unique4lib.cc: New file.
26868 * elf/Makefile: Add rules to build and run tst-unique4.
26869 Patch by Piotr Bury <pbury@goahead.com>.
26870
22836f52
UD
268712011-05-11 Ulrich Drepper <drepper@gmail.com>
26872
f574184a
UD
26873 [BZ #12052]
26874 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26875
e1fb097f
UD
26876 [BZ #12625]
26877 * misc/mntent_r.c (addmntent): Flush the stream after the output
26878
22836f52
UD
26879 [BZ #12393]
26880 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26881 (is_trusted_path_normalize): Skip initial colon. Append slash
26882 to empty buffer. Duplicate is_trusted_path code but allow
26883 constructed patch to be prefix.
26884 (is_dst): Allow $ORIGIN followed by /.
26885 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26886 Correct testing of result of is_trusted_path_normalize
26887 (decompose_rpath): Fix warning.
26888
7b3b0b2a
UD
268892011-05-10 Ulrich Drepper <drepper@gmail.com>
26890
26891 [BZ #11257]
26892 * grp/initgroups.c (internal_getgrouplist): When we found the service
26893 list through the initgroups entry in nsswitch.conf do not always
26894 continue on a successful lookup. Don't always use the
eac80ce2 26895 __nss_group_database value if it is set.
7b3b0b2a
UD
26896 * nss/nsswitch.conf (initgroups): Change action for successful db
26897 lookup to continue for compatibility.
26898
2a81eaa5
UD
268992011-05-09 Ulrich Drepper <drepper@gmail.com>
26900
be97a69e
UD
26901 [BZ #11532]
26902 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26903 and CP774 modules.
26904 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26905 and CP774 modules.
26906 * iconvdata/tst-tables.sh: Likewise.
26907 * iconvdata/cp770.c: New file.
26908 * iconvdata/cp771.c: New file.
26909 * iconvdata/cp772.c: New file.
26910 * iconvdata/cp773.c: New file.
26911 * iconvdata/cp774.c: New file.
26912 * iconvdata/testdata/CP770: New file.
26913 * iconvdata/testdata/CP770..UTF8: New file.
26914 * iconvdata/testdata/CP771: New file.
26915 * iconvdata/testdata/CP771..UTF8: New file.
26916 * iconvdata/testdata/CP772: New file.
26917 * iconvdata/testdata/CP772..UTF8: New file.
26918 * iconvdata/testdata/CP773: New file.
26919 * iconvdata/testdata/CP773..UTF8: New file.
26920 * iconvdata/testdata/CP774: New file.
26921 * iconvdata/testdata/CP774..UTF8: New file.
26922
26923 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26924 END CHARMAP line.
26925 * iconvdata/gen-8bit-gap.sh: Likewise.
26926 * iconvdata/gen-8bit.sh: Likewise.
26927
c1e9e399
UD
26928 * locale/iso-639.def: Add ary entry.
26929
24c55fb3 26930 [BZ #11258]
96b4b1b0
UD
26931 * locale/C-translit.h.in: Add U20A1 transliteration.
26932
bdc2f971
KB
26933 [BZ #12178]
26934 * locale/iso-639.def: Add wae entry.
26935 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26936
2952b117
UD
26937 [BZ #12545]
26938 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26939 for n.
26940
2a81eaa5
UD
26941 [BZ #12711]
26942 * locale/C-translit.h.in: Add entry for U20B9.
26943 Patch by pravin.d.s@gmail.com.
26944
28377d1b
UD
269452011-05-08 Ulrich Drepper <drepper@gmail.com>
26946
7fb90fb8
UD
26947 [BZ #12713]
26948 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26949 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26950 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26951 in rtld. Use *stat64.
7fb90fb8 26952 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26953 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26954 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26955 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26956 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26957 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26958 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26959 __fstatat64 macros.
7fb90fb8
UD
26960 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26961 * dirent/rewinddir.c: Add libc_hidden_def.
26962 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26963 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26964
28377d1b
UD
26965 * include/dirent.h (__alloc_dir): Add flags parameter.
26966 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26967 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26968 __alloc_dir.
26969 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26970 from fdopendir if O_CLOEXEC is already set.
26971
66bdbaa4
AM
269722011-03-15 Alan Modra <amodra@gmail.com>
26973
26974 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26975 l_tls_firstbyte_offset non-zero. Save padding offset in
26976 l_tls_firstbyte_offset for later use.
26977 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26978 freeing static tls block.
26979
95721191
JN
269802011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26981
26982 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26983 where #ifdef was intended. The intent is to prevent ARG_MAX from
26984 being defined by the kernel headers.
26985
f87dfb1f
UD
269862011-05-07 Ulrich Drepper <drepper@gmail.com>
26987
26988 [BZ #12734]
26989 * resolv/resolv.h: Define RES_NOTLDQUERY.
26990 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26991 no-tld-query and set RES_NOTLDQUERY.
26992 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26993 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26994 modern BIND to search name as TLD unless forbidden.
26995
47c3cd7a
UD
269962011-05-07 Petr Baudis <pasky@suse.cz>
26997 Ulrich Drepper <drepper@gmail.com>
26998
26999 [BZ #12393]
27000 * elf/dl-load.c (fillin_rpath): Move trusted path check...
27001 (is_trusted_path): ...to here.
c1e9ea35 27002 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 27003 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 27004 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 27005
8a35c912
PP
270062011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27007
27008 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
27009 __BEGIN/__END_DECLS.
27010
acd41f47
UD
270112011-05-06 Ulrich Drepper <drepper@gmail.com>
27012
27013 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
27014 NSS_STATUS_NOTFOUND if no record was found.
27015
597df647
AS
270162011-05-05 Andreas Schwab <schwab@redhat.com>
27017
27018 * sunrpc/Makefile (headers): Add rpc/netdb.h.
27019 (headers-not-in-tirpc): Remove rpc/netdb.h
27020 * resolv/netdb.h: Revert last change.
27021
b9af1301
PP
270222011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27023
27024 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
27025 circular dependency between libgcc.a and libc.a.
27026
4e34d5f5
AS
270272011-05-05 Andreas Schwab <schwab@redhat.com>
27028
27029 * resolv/netdb.h: Don't include <rpc/netdb.h>.
27030 * nis/Makefile: Don't install rpcsvc/*.
27031 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
27032 instead of <rpc/types.h>.
27033 (MAXHOSTNAMELEN): Define.
27034
00ee369c
AS
270352011-05-03 Andreas Schwab <schwab@redhat.com>
27036
27037 * elf/ldconfig.c (add_dir): Don't crash on empty path.
27038
0b592a30
MB
270392011-04-28 Maciej Babinski <mbabinski@google.com>
27040
27041 [BZ #12714]
27042 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
27043 gethostbyname4_r when IPv6 results are possible.
27044
6e04cbbe
UD
270452011-05-02 Ulrich Drepper <drepper@gmail.com>
27046
27047 [BZ #12723]
27048 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
27049 _PC_PIPE_BUF handling.
27050
e4ecafe0
BH
270512011-04-30 Bruno Haible <bruno@clisp.org>
27052
27053 [BZ #12717]
27054 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
27055 * resolv/netdb.h (getnameinfo): Change type of flags parameter
27056 to 'int'.
27057 * inet/getnameinfo.c (getnameinfo): Likewise.
27058
125ee683
UD
270592011-04-29 Ulrich Drepper <drepper@gmail.com>
27060
27061 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
27062 to groups setting in database lookup.
27063 * nss/nsswitch.conf: Add initgroups entry.
27064
b722481a
EB
270652011-04-22 Ulrich Drepper <drepper@gmail.com>
27066
27067 [BZ #12685]
27068 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
27069 mode string.
27070 Patch by Eric Blake <eblake@redhat.com>.
27071
4df46dbd
L
270722011-04-20 H.J. Lu <hongjiu.lu@intel.com>
27073
27074 * sunrpc/Makefile (need-export-routines): Add svc_run.
27075 (routines): Remove svc_run.
27076 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
27077 * sunrpc/clnt_perr.c (clnt_perrno): Export.
27078 * sunrpc/svc_run.c (svc_run): Likewise.
27079 * sunrpc/svc_udp.c (svcudp_create): Likewise.
27080
e84142d2
UD
270812011-04-21 Ulrich Drepper <drepper@gmail.com>
27082
27083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
27084 problem in reallocation in last patch.
27085
877175d8
UD
270862011-04-20 Ulrich Drepper <drepper@gmail.com>
27087
27088 * sunrpc/Makefile: Move inclusion of Rules.
27089
ab8eed78
UD
270902011-04-19 Ulrich Drepper <drepper@gmail.com>
27091
27092 * nss/nss_files/files-initgroups.c: New file.
27093 * nss/Makefile (libnss_files-routines): Add files-initgroups.
27094 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
27095 _nss_files_initgroups_dyn.
27096
e3d8f584
RS
270972011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
27098
27099 * elf/elf.h (R_ARM_IRELATIVE): Define.
27100
af190f45
UD
271012011-04-19 Ulrich Drepper <drepper@gmail.com>
27102
27103 * po/ru.po: Update from translation team.
27104
53cf59ef
UD
271052011-04-17 Ulrich Drepper <drepper@gmail.com>
27106
27107 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
27108 dependencies.
27109
4c559bcd
MF
271102011-02-06 Mike Frysinger <vapier@gentoo.org>
27111
27112 [BZ #12653]
27113 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
27114 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
27115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27116 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
27117 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
27118
4420675c
AS
271192011-03-28 Andreas Schwab <schwab@linux-m68k.org>
27120
27121 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
27122 differing bytes.
27123 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27124 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27125 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27126
75ea32ab
UD
271272011-04-17 Ulrich Drepper <drepper@gmail.com>
27128
27129 [BZ #12420]
27130 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
27131 storing it.
27132 * stdlib/bug-getcontext.c: New file.
27133 * stdlib/Makefile: Add rules to build and run bug-getcontext.
27134
27390476
AK
271352011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27136
27137 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
27138 instructions into .machine "z9-109".
27139 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
27140 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
27141
10442705
AK
271422011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27143
27144 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
27145 between environment variables and auxiliary vector.
27146
7b57bfe5
UD
271472011-04-16 Ulrich Drepper <drepper@gmail.com>
27148
27149 * Makefile: Add rules to build linkobj/libc.so.
27150 * include/libc-symbols.h: Define libc_hidden_nolink.
27151 * include/rpc/auth.h: Mark functions which are to be hidden.
27152 * include/rpc/auth_des.h: Likewise.
27153 * include/rpc/auth_unix.h: Likewise.
27154 * include/rpc/clnt.h: Likewise.
27155 * include/rpc/des_crypt.h: Likewise.
27156 * include/rpc/key_prot.h: Likewise.
27157 * include/rpc/pmap_clnt.h: Likewise.
27158 * include/rpc/pmap_prot.h: Likewise.
27159 * include/rpc/pmap_rmt.h: Likewise.
27160 * include/rpc/rpc_msg.h: Likewise.
27161 * include/rpc/svc.h: Likewise.
27162 * include/rpc/svc_auth.h: Likewise.
27163 * include/rpc/xdr.h: Likewise.
27164 * nis/Makefile: Link all DSOs against linkobj/libc.so.
27165 * nss/Makefile: Likewise.
27166 * sunrpc/Makefile: Don't install headers. Build library with normal
27167 entry points. Don't build rpcinfo. Link RPC tests appropriately.
27168 * sunrpc/auth_des.c: Hide exported symbols by default, export some
27169 for the compat linking library. Remove use of INTDEF/INTUSE.
27170 * sunrpc/auth_none.c: Likewise.
27171 * sunrpc/auth_unix.c: Likewise.
27172 * sunrpc/authdes_prot.c: Likewise.
27173 * sunrpc/authuxprot.c: Likewise.
27174 * sunrpc/clnt_gen.c: Likewise.
27175 * sunrpc/clnt_perr.c: Likewise.
27176 * sunrpc/clnt_raw.c: Likewise.
27177 * sunrpc/clnt_simp.c: Likewise.
27178 * sunrpc/clnt_tcp.c: Likewise.
27179 * sunrpc/clnt_udp.c: Likewise.
27180 * sunrpc/clnt_unix.c: Likewise.
27181 * sunrpc/des_crypt.c: Likewise.
27182 * sunrpc/des_soft.c: Likewise.
27183 * sunrpc/get_myaddr.c: Likewise.
27184 * sunrpc/key_call.c: Likewise.
27185 * sunrpc/key_prot.c: Likewise.
27186 * sunrpc/netname.c: Likewise.
27187 * sunrpc/pm_getmaps.c: Likewise.
27188 * sunrpc/pm_getport.c: Likewise.
27189 * sunrpc/pmap_clnt.c: Likewise.
27190 * sunrpc/pmap_prot.c: Likewise.
27191 * sunrpc/pmap_prot2.c: Likewise.
27192 * sunrpc/pmap_rmt.c: Likewise.
27193 * sunrpc/publickey.c: Likewise.
27194 * sunrpc/rpc_cmsg.c: Likewise.
27195 * sunrpc/rpc_common.c: Likewise.
27196 * sunrpc/rpc_dtable.c: Likewise.
27197 * sunrpc/rpc_prot.c: Likewise.
27198 * sunrpc/rpc_thread.c: Likewise.
27199 * sunrpc/rtime.c: Likewise.
27200 * sunrpc/svc.c: Likewise.
27201 * sunrpc/svc_auth.c: Likewise.
27202 * sunrpc/svc_authux.c: Likewise.
27203 * sunrpc/svc_raw.c: Likewise.
27204 * sunrpc/svc_run.c: Likewise.
27205 * sunrpc/svc_simple.c: Likewise.
27206 * sunrpc/svc_tcp.c: Likewise.
27207 * sunrpc/svc_udp.c: Likewise.
27208 * sunrpc/svc_unix.c: Likewise.
27209 * sunrpc/svcauth_des.c: Likewise.
27210 * sunrpc/xcrypt.c: Likewise.
27211 * sunrpc/xdr.c: Likewise.
27212 * sunrpc/xdr_array.c: Likewise.
27213 * sunrpc/xdr_float.c: Likewise.
27214 * sunrpc/xdr_intXX_t.c: Likewise.
27215 * sunrpc/xdr_mem.c: Likewise.
27216 * sunrpc/xdr_rec.c: Likewise.
27217 * sunrpc/xdr_ref.c: Likewise.
27218 * sunrpc/xdr_sizeof.c: Likewise.
27219 * sunrpc/xdr_stdio.c: Likewise.
27220
e6c61494
UD
272212011-04-10 Ulrich Drepper <drepper@gmail.com>
27222
27223 [BZ #12650]
27224 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27225 * sysdeps/ia64/dl-tls.h: Likewise.
27226 * sysdeps/powerpc/dl-tls.h: Likewise.
27227 * sysdeps/s390/dl-tls.h: Likewise.
27228 * sysdeps/sh/dl-tls.h: Likewise.
27229 * sysdeps/sparc/dl-tls.h: Likewise.
27230 * sysdeps/x86_64/dl-tls.h: Likewise.
27231 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27232
34fe483e
AS
272332011-03-14 Andreas Schwab <schwab@redhat.com>
27234
27235 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27236 rpath element also skip the following colon.
27237 (expand_dynamic_string_token): Add is_path parameter and pass
27238 down to DL_DST_REQUIRED and _dl_dst_substitute.
27239 (decompose_rpath): Call expand_dynamic_string_token with
27240 non-zero is_path. Ignore empty rpaths.
27241 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27242 with zero is_path.
27243
f12a32e6
AS
272442011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27245
27246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27247 Make cancelable.
27248
38a7d692
UD
272492011-04-09 Ulrich Drepper <drepper@gmail.com>
27250
27251 [BZ #12655]
27252 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27253 Patch by Filipe David Manana <fdmanana@apache.org>.
27254
e451d22b
AS
272552011-04-07 Andreas Schwab <schwab@redhat.com>
27256
27257 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27258 Maintain aligned stack.
27259 (CHECK_RSP): Remove unused macro.
27260
dedc7c7b
UD
272612011-04-03 Ulrich Drepper <drepper@gmail.com>
27262
27263 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27264 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27265
94521213
UD
272662011-04-02 Ulrich Drepper <drepper@gmail.com>
27267
27268 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27269
8cb700c0 27270 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27271
0354e355
L
272722011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27273
27274 [BZ #12518]
27275 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27276 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27277 * sysdeps/x86_64/memmove.c: New file.
27278 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27279 (memcpy): Renamed to ...
27280 (__new_memcpy): This.
27281 (memcpy): Provide GLIBC_2_14 memcpy.
27282 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27283 (memcpy): Provide GLIBC_2_2_5 memcpy.
27284
8593482f
UD
272852011-04-01 Ulrich Drepper <drepper@gmail.com>
27286
27287 [BZ #12631]
27288 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27289
81a5726b
AS
272902011-03-30 Andreas Schwab <schwab@redhat.com>
27291
27292 * misc/syncfs.c: New file.
27293 * misc/Makefile (routines): Add syncfs.
27294 * posix/unistd.h: Declare syncfs.
27295 * sysdeps/unix/syscalls.list: Add syncfs.
27296
00e5419f
AS
272972011-04-01 Andreas Schwab <schwab@redhat.com>
27298
27299 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27300 open_by_handle_at.
27301 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27302 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27306 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27307 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27308
748876bf
UD
273092011-04-01 Ulrich Drepper <drepper@gmail.com>
27310
658e451d
UD
27311 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27312 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27313 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27317 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27318
748876bf
UD
27319 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27320 sync_file_range.c with -fexceptions.
27321 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27322 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27323 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27324 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27325 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27326 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27327 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27328 sync_file_range as cancellation point
27329 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27330 now a wrapper around __call_sync_file_range with cancellation handling.
27331 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27332 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27333 function name to __call_sync_file_range.
27334 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27335 Add call_sync_file_range.
748876bf 27336
6e63d5e1
AS
273372011-04-01 Andreas Schwab <schwab@redhat.com>
27338
27339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27340 bits/timex.h.
6e63d5e1 27341
46998f74
UD
273422011-04-01 Ulrich Drepper <drepper@gmail.com>
27343
4c1423ed
UD
27344 * iconv/iconv.h: Fix typo in comment.
27345 * io/fcntl.h: Likewise.
27346 * libio/stdio.h: Likewise.
27347 * posix/spawn.h: Likewise.
27348 * posix/unistd.h: Likewise.
27349 * stdlib/stdlib.h: Likewise.
27350 * time/time.h: Likewise.
27351 * wcsmbs/wchar.h: Likewise.
27352
158648c0
UD
27353 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27354 open_by_handle): Add.
27355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27356 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27357 Augment a few comments.
27358 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27359 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27360 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27363 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27364 open_by_handle.
27365
46998f74
UD
27366 * io/fcntl.h (AT_EMPTY_PATH): Define.
27367
83fe108b
UD
273682011-03-30 Ulrich Drepper <drepper@gmail.com>
27369
27370 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27371 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27372 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27373 to...
27374 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27375 * Versions.def: Add GLIBC_2.14.
27376 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27377 Export.
83fe108b 27378
bb242059
UD
273792011-03-22 Ulrich Drepper <drepper@gmail.com>
27380
27381 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27382 round counter.
27383 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27384
c97a1282
L
273852011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27386
27387 [BZ #12597]
27388 * string/test-strncmp.c (do_page_test): New function.
27389 (check2): Likewise.
27390 (test_main): Call check2.
27391 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27392
2a115601
UD
273932011-03-20 Ulrich Drepper <drepper@gmail.com>
27394
27395 [BZ #12587]
27396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27397 Handle cache information in CPU leaf 4.
27398 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27399
8126d904
UD
274002011-03-18 Ulrich Drepper <drepper@gmail.com>
27401
042c49c6 27402 [BZ #12583]
8126d904
UD
27403 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27404 character representation.
27405 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27406
ccfe366e
RA
274072011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27408
27409 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27410 END(__isnan) to END(__isnanf) to match function entry point/label
27411 EALIGN(__isnanf,...).
27412
c6e13027
JJ
274132011-03-10 Jakub Jelinek <jakub@redhat.com>
27414
27415 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27416
33f85a3f
UD
274172011-03-10 Ulrich Drepper <drepper@gmail.com>
27418
028478fa
UD
27419 [BZ #12510]
27420 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27421 copy from the symbol referenced in the relocation to initialize the
27422 used variable.
27423 Patch by Piotr Bury <pbury@goahead.com>.
27424 * elf/Makefile: Add rules to build and tst-unique3.
27425 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27426 * elf/tst-unique3.cc: New file.
27427 * elf/tst-unique3.h: New file.
27428 * elf/tst-unique3lib.cc: New file.
27429 * elf/tst-unique3lib2.cc: New file.
27430
33f85a3f
UD
27431 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27432
03592fc7
MF
274332011-03-10 Mike Frysinger <vapier@gentoo.org>
27434
27435 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27436 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27437 to _start.
03592fc7 27438
6a5ee102
UD
274392011-03-06 Ulrich Drepper <drepper@gmail.com>
27440
27441 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27442 to-be-loaded object along a path to loader is ld.so.
27443
7e4ba49c
HJ
274442011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27445 Ulrich Drepper <drepper@gmail.com>
27446
27447 * sysdeps/x86_64/memset.S: After aligning destination, code
27448 branches to different locations depending on the value of
27449 misalignment, when multiarch is enabled. Fix this.
27450
274512011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27452
27453 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27454 Set _x86_64_preferred_memory_instruction for AMD processsors.
27455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27456 Set bit_Prefer_SSE_for_memop for AMD processors.
27457
13a804de
UD
274582011-03-04 Ulrich Drepper <drepper@gmail.com>
27459
27460 * libio/fmemopen.c (fmemopen): Optimize a bit.
27461
9d25c392
AS
274622011-03-03 Andreas Schwab <schwab@redhat.com>
27463
27464 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27465
a5543c6a
RM
274662011-03-03 Roland McGrath <roland@redhat.com>
27467
27468 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27469
012d35f7
DM
274702011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27471
7e4ba49c 27472 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27473 __bzero_ultra1 instead of __memset_ultra1.
27474
4bff6e01
AS
274752011-02-23 Andreas Schwab <schwab@redhat.com>
27476 Ulrich Drepper <drepper@gmail.com>
27477
27478 [BZ #12509]
27479 * include/link.h (struct link_map): Add l_orig_initfini.
27480 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27481 returning unsuccessfully.
27482 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27483 close of a file loaded at startup, restore the original l_initfini
27484 list.
27485 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27486 list, store the pointer.
27487 * elf/Makefile ($(objpfx)noload-mem): New rule.
27488 (noload-ENV): Define.
27489 (tests): Add $(objpfx)noload-mem.
27490 * elf/noload.c: Include <memcheck.h>.
27491 (main): Call mtrace. Close all opened handles.
27492
f2092faf
AS
274932011-02-17 Andreas Schwab <schwab@redhat.com>
27494
27495 [BZ #12454]
27496 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27497 dependencies are missing.
27498
6c8a2e88
ST
274992011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27500
f2092faf 27501 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27502 Hurd needs munmap.
27503 * sysdeps/mach/hurd/ifreq.h: New file.
27504
84a42118
PB
275052011-01-27 Petr Baudis <pasky@suse.cz>
27506 Ulrich Drepper <drepper@gmail.com>
27507
071f805e 27508 [BZ 12445]#
84a42118
PB
27509 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27510 to extend_alloca().
27511 * stdio-common/bug23.c: New file.
27512 * stdio-common/Makefile (tests): Add bug23.
27513
e23fe25b
AS
275142010-09-28 Andreas Schwab <schwab@redhat.com>
27515 Ulrich Drepper <drepper@gmail.com>
27516
27517 [BZ #12489]
27518 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27519 before performing relro protection. At old place add assertion
27520 to make sure nothing changed.
27521
d3f02e10
NS
275222011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27523 Glauber de Oliveira Costa <glommer@gmail.com>
27524
27525 * elf/elf.h: Add new ARM TLS relocs.
27526
d55fd7a5
RA
275272011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27528
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27530 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27531 cast from r3.
27532 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27533 'tests' variable.
27534 * sysdeps/wordsize-64/tst-writev.c: New file.
27535
2206397e
RA
275362011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27537
27538 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27539 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27540 insns in _dl_start to prevent a TOC reference before relocs are
27541 resolved.
27542
e9433893
UD
275432011-02-15 Ulrich Drepper <drepper@gmail.com>
27544
27545 [BZ #12469]
27546 * Makeconfig: Remove RANLIB definition.
27547 * Makerules: Don't use RANLIB.
27548 * aclocal.m4: Remove ranlib test.
27549 * configure.in: No need to check for ranlib.
27550 * elf/rtld-Rules: Don't use RANLIB.
27551
f75286c6
ST
275522011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27553
8e31c82d
ST
27554 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27555 protection macro.
27556 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27557 inclusion protection macro.
27558
f75286c6
ST
27559 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27560 SIGRTMIN and SIGRTMAX and print information in that case only when
27561 SIGRTMIN is defined.
27562
c1d0e639
JJ
275632011-02-11 Jakub Jelinek <jakub@redhat.com>
27564
27565 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27566 arginfo fn returning -1.
27567
27568 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27569 and thousands string is zero terminated.
27570
edf9294e
AS
275712011-02-03 Andreas Schwab <schwab@redhat.com>
27572
27573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27574 sysdeps/unix/sysv/linux/bits/socket.h.
27575
2b7e92df
ST
275762011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27577
edf9294e
AS
27578 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27579 (__CPU_COUNT): Remove old macros.
27580 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27581 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27582 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27583 (__sched_cpualloc, __sched_cpufree): Add declarations.
27584
a4c7ea7b
UD
275852011-02-05 Ulrich Drepper <drepper@gmail.com>
27586
27587 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27588 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27589 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27590 (readdhstai): Return value of addhstaiX call.
27591 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27592 (addgrbyX): Return value returned by cache_addgr.
27593 (readdgrbyname): Return value returned by addgrbyX.
27594 (readdgrbygid): Likewise.
27595 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27596 (addpwbyX): Return value returned by cache_addpw.
27597 (readdpwbyname): Return value returned by addhstbyX.
27598 (readdpwbyuid): Likewise.
27599 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27600 (addservbyX): Return value returned by cache_addserv.
27601 (readdservbyname): Return value returned by addservbyX:
27602 (readdservbyport): Likewise.
27603 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27604 (addhstbyX): Return value returned by cache_addhst.
27605 (readdhstbyname): Return value returned by addhstbyX.
27606 (readdhstbyaddr): Likewise.
27607 (readdhstbynamev6): Likewise.
27608 (readdhstbyaddrv6): Likewise.
27609 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27610 (readdinitgroups): Return value returned by addinitgroupsX.
27611 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27612 (prune_cache): Keep track of timeout value of re-added entries.
27613 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27614 * nscd/nscd.h: Adjust prototypes of readd* functions.
27615
a0bf67cc
RM
276162011-02-04 Roland McGrath <roland@redhat.com>
27617
27618 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27619 (nis_stats): Likewise.
27620 * nis/nis_modify.c (nis_modify): Likewise.
27621 * nis/nis_remove.c (nis_remove): Likewise.
27622 * nis/nis_add.c (nis_add): Likewise.
27623
27624 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27625
27626 * posix/fnmatch_loop.c: Add some consts.
27627
27628 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27629
435b95eb
L
276302011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27631
27632 [BZ #12460]
27633 * config.make.in (config-cflags-novzeroupper): Define.
27634 * configure.in: Substitute libc_cv_cc_novzeroupper.
27635 * elf/Makefile (AVX-CFLAGS): Define.
27636 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27637 (CFLAGS-tst-auditmod4a.c): Likewise.
27638 (CFLAGS-tst-auditmod4b.c): Likewise.
27639 (CFLAGS-tst-auditmod6b.c): Likewise.
27640 (CFLAGS-tst-auditmod6c.c): Likewise.
27641 (CFLAGS-tst-auditmod7b.c): Likewise.
27642 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27643
8517b15e
UD
276442011-02-02 Ulrich Drepper <drepper@gmail.com>
27645
27646 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27647 function to the callback.
27648 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27649
10a656fe
AS
276502011-02-02 Andreas Schwab <schwab@redhat.com>
27651
27652 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27653 of errno.
27654
968dad0a
UD
276552011-01-19 Ulrich Drepper <drepper@gmail.com>
27656
9f94d2ea 27657 [BZ #11724]
968dad0a
UD
27658 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27659 of constructors.
27660 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27661 of destructors.
27662 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27663
27664 [BZ #11724]
27665 * elf/Makefile: Add rules to build and run new test.
27666 * elf/tst-initorder.c: New file.
27667 * elf/tst-initorder.exp: New file.
27668 * elf/tst-initordera1.c: New file.
27669 * elf/tst-initordera2.c: New file.
27670 * elf/tst-initordera3.c: New file.
27671 * elf/tst-initordera4.c: New file.
27672 * elf/tst-initorderb1.c: New file.
27673 * elf/tst-initorderb2.c: New file.
27674 * elf/tst-order-a1.c: New file.
27675 * elf/tst-order-a2.c: New file.
27676 * elf/tst-order-a3.c: New file.
27677 * elf/tst-order-a4.c: New file.
27678 * elf/tst-order-b1.c: New file.
27679 * elf/tst-order-b2.c: New file.
27680 * elf/tst-order-main.c: New file.
27681 New test case by George Gensure <werkt0@gmail.com>.
27682
86e92359
UD
276832010-10-01 Andreas Schwab <schwab@redhat.com>
27684
27685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27686 decoding ACE if AI_CANONIDN.
27687
5d5732b0
UD
276882011-01-18 Ulrich Drepper <drepper@gmail.com>
27689
27690 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27691
a77e8cbc
UD
276922011-01-17 Ulrich Drepper <drepper@gmail.com>
27693
6392473f
UD
27694 * version.h (RELEASE): Bump for 2.13 release.
27695 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27696
620a0529
UD
27697 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27698
18ba70a5
UD
27699 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27700 MADV_NOHUGEPAGE.
32465c3e
UD
27701 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27703 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27705 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27706 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27707
c0dafcf1
UD
27708 * posix/getconf.c: Update copyright year.
27709 * catgets/gencat.c: Likewise.
27710 * csu/version.c: Likewise.
27711 * debug/catchsegv.sh: Likewise.
27712 * debug/xtrace.sh: Likewise.
27713 * elf/ldconfig.c: Likewise.
27714 * elf/ldd.bash.in: Likewise.
27715 * elf/sprof.c (print_version): Likewise.
27716 * iconv/iconv_prog.c: Likewise.
27717 * iconv/iconvconfig.c: Likewise.
27718 * locale/programs/locale.c: Likewise.
27719 * locale/programs/localedef.c: Likewise.
27720 * malloc/memusage.sh: Likewise.
27721 * malloc/mtrace.pl: Likewise.
27722 * nscd/nscd.c (print_version): Likewise.
27723 * nss/getent.c: Likewise.
27724
a77e8cbc
UD
27725 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27726 PF_CAIF, and PF_ALG.
27727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27728
77e8bddf
AS
277292011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27730
1f20b93a
AS
27731 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27732 (modules-names): Use them.
27733 (ifunc-test-modules, ifunc-pie-tests): Define.
27734 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27735 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27736 (test-extras): Likewise.
27737 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27738 $(compile-command.c).
27739 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27740 (all-built-dso): Define.
27741 (check-textrel.out, check-execstack.out): Depend on it.
27742
77e8bddf
AS
27743 * configure.in: Don't override --enable-multi-arch.
27744
bc425b33
UD
277452011-01-15 Ulrich Drepper <drepper@gmail.com>
27746
27747 [BZ #6812]
27748 * nscd/hstcache.c (tryagain): Define.
27749 (cache_addhst): Return tryagain not notfound for temporary errors.
27750 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27751 failed.
27752
794c3ad3
UD
277532011-01-14 Ulrich Drepper <drepper@gmail.com>
27754
70181fdd
UD
27755 [BZ #10563]
27756 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27757 to make the syscall.
27758 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27759
794c3ad3
UD
27760 [BZ #12378]
27761 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27762 and fall back to matching as normal character if the string ends before
27763 the matching ']' is found. This is what POSIX requires.
27764 * posix/testfnm.c: Adjust test result.
27765 * posix/globtest.sh: Adjust test result. Add new test.
27766 * posix/tst-fnmatch.input: Likewise.
27767 * posix/tst-fnmatch2.c: Add new test.
27768
68dc9497
AS
277692010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27770
27771 * elf/Makefile (check-execstack): Revert last change. Depend on
27772 check-execstack.h.
27773 (check-execstack.h): New target.
27774 (generated): Add check-execstack.h.
27775 * elf/check-execstack.c: Include "check-execstack.h".
27776 (main): Revert last change.
27777 (handle_file): Return zero if GNU_STACK is absent and
27778 DEFAULT_STACK_PERMS doesn't include PF_X.
27779
451f001b
UD
277802011-01-13 Ulrich Drepper <drepper@gmail.com>
27781
cfa28e56
UD
27782 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27783 in child fails because the descriptor is already closed.
8cf8ce17
UD
27784 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27785 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27786 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27787
1086d70d
UD
27788 [BZ #12397]
27789 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27790 syscall.
27791
451f001b
UD
27792 [BZ #10484]
27793 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27794 temporary buffer used to handle multi lookups locally.
a85b5cb4 27795 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27796
08769175
UD
277972011-01-12 Ulrich Drepper <drepper@gmail.com>
27798
27799 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27800 loader is ld.so.
27801
5e49c52e
UD
278022011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27803
27804 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27805 alignment for SSE2.
27806
60522a5f
UD
278072011-01-12 Ulrich Drepper <drepper@gmail.com>
27808
27809 [BZ #12394]
27810 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27811 characters. When rounding increased number of integer digits recompute
27812 number of groups.
27813 * stdio-common/tst-grouping.c: New file.
27814 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27815
f257bbd7
UD
278162011-01-09 Ulrich Drepper <drepper@gmail.com>
27817
27818 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27819 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27820
27821 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27822 void.
27823 * bits/select.h: Likewise.
27824
fa9c15cb
UD
278252011-01-08 Ulrich Drepper <drepper@gmail.com>
27826
27827 * po/ja.po: Update from translation team.
27828
16c2895f
DM
278292011-01-04 David S. Miller <davem@sunset.davemloft.net>
27830
27831 [BZ #11155]
27832 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27833 implementation just like for lxstat, fxstatat, et al.
27834
2543fef2
JM
278352010-12-27 Jim Meyering <meyering@redhat.com>
27836
27837 [BZ #12348]
27838 * posix/regexec.c (build_trtable): Return failure indication upon
27839 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27840
98727dbe
UD
278412010-12-25 Ulrich Drepper <drepper@gmail.com>
27842
5bd6dc5c
UD
27843 [BZ #12201]
27844 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27845 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27846 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27847 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27848
97983464
UD
27849 [BZ #12207]
27850 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27851
98727dbe
UD
27852 [BZ #12204]
27853 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27854 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27855
4a531bb0
L
278562010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27857
27858 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27859 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27860 script has SORT_BY_INIT_PRIORITY.
27861 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27862 NO_CTORS_DTORS_SECTIONS is defined.
27863 * elf/soinit.c: Likewise.
27864 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27865 NO_CTORS_DTORS_SECTIONS is defined.
27866 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27867 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27868 * sysdeps/sh/init-first.c: Likewise.
27869 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27870
07eb4b71
UD
278712010-12-24 Ulrich Drepper <drepper@gmail.com>
27872
27873 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27874 always use the slow path.
27875
30950a5f
RA
278762010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27877
27878 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27879 similar rule which adds the sysdep directories to the header search in
27880 order to pick up the correct platform stackinfo.h.
27881 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27882 perform test if it is, otherwise return successfully without testing.
27883 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27884 DEFAULT_STACK_PERMS define in stackinfo.h.
27885 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27886 defined in stackinfo.h.
27887 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27888 DEFAULT_STACK_PERMS defined in stackinfo.h.
27889 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27890 * sysdeps/ia64/stackinfo.h: Likewise.
27891 * sysdeps/s390/stackinfo.h: Likewise.
27892 * sysdeps/sh/stackinfo.h: Likewise.
27893 * sysdeps/sparc/stackinfo.h: Likewise.
27894 * sysdeps/x86_64/stackinfo.h: Likewise.
27895 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27896 PF_X for powerpc64. Retain PF_X for powerpc32.
27897
db753e2c
UD
278982010-12-19 Ulrich Drepper <drepper@gmail.com>
27899
14b697f7
UD
27900 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27901 accurately.
db753e2c
UD
27902 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27903 GETDENTS_64BIT_ALIGNED.
27904
28300719
UD
279052010-12-14 Ulrich Drepper <dreper@gmail.com>
27906
14b697f7 27907 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27908
4f197237
AS
279092010-12-10 Andreas Schwab <schwab@redhat.com>
27910
dbb0472f
AS
27911 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27912 _GNU_SOURCE.
27913
4f197237
AS
27914 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27915 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27916 Remove __restrict.
27917 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27918 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27919
fb88ac72
UD
279202010-12-09 Ulrich Drepper <drepper@gmail.com>
27921
27922 [BZ #11655]
27923 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27924 are initialized.
27925
42acbb92
JJ
279262010-12-09 Jakub Jelinek <jakub@redhat.com>
27927
27928 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27929
c038d98d
UD
279302010-12-03 Ulrich Drepper <drepper@gmail.com>
27931
27932 * po/it.po: Update from translation team.
27933
3a4a2499
L
279342010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27935
27936 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27937 unused codes.
27938
1e24cf6e
UD
279392010-11-30 Ulrich Drepper <drepper@gmail.com>
27940
27941 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27942
a7690819
AS
279432010-11-24 Andreas Schwab <schwab@redhat.com>
27944
27945 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27946 specially.
27947 (gaih_getanswer_slice): Likewise.
27948
3bf8d1b1
JJ
279492010-10-20 Jakub Jelinek <jakub@redhat.com>
27950
27951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27952
6db52fbb
PB
279532010-05-31 Petr Baudis <pasky@suse.cz>
27954
27955 [BZ #11149]
27956 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27957 silently even in the chroot mode.
27958
eaca7569
UD
279592010-11-22 Ulrich Drepper <drepper@gmail.com>
27960
27961 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27962 last patch a bit. Pretty printing
27963
3056dcdb
UD
279642010-05-31 Petr Baudis <pasky@suse.cz>
27965
27966 [BZ #10085]
27967 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27968 initialization of skip_initgroups_dyn.
27969
cf7c9078
UD
279702010-11-19 Ulrich Drepper <drepper@gmail.com>
27971
27972 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27973 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27974
a1fb5e3e
UD
279752010-11-16 Ulrich Drepper <drepper@gmail.com>
27976
27977 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27978
3540d66b
AS
279792010-11-11 Andreas Schwab <schwab@redhat.com>
27980
27981 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27982 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27983 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27984 ($(objpfx)tst-fnmatch-mem): New rule.
27985 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27986 * posix/tst-fnmatch.c (main): Call mtrace.
27987
13b69574
L
279882010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27989
27990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27991 Support Intel processor model 6 and model 0x2c.
27992
da93d214
LM
279932010-11-10 Luis Machado <luisgpm@br.ibm.com>
27994
27995 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27996 signed comparison.
27997
8ca52c6e
L
279982010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27999
28000 [BZ #12205]
28001 * string/test-strncasecmp.c (check_result): New function.
28002 (do_one_test): Use it.
28003 (check1): New function.
28004 (test_main): Use it.
28005 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
28006 Support strcasecmp and strncasecmp.
28007
69da074d
UD
280082010-11-08 Ulrich Drepper <drepper@gmail.com>
28009
28010 [BZ #12194]
28011 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
28012 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28013
ff02d528
L
280142010-11-07 H.J. Lu <hongjiu.lu@intel.com>
28015
28016 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
28017 IFUNC support.
28018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28019 memset-x86-64.
28020 * sysdeps/x86_64/multiarch/bzero.S: New file.
28021 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
28022 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
28023 * sysdeps/x86_64/multiarch/memset.S: New file.
28024 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
28025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28026 Set bit_Prefer_SSE_for_memop for Intel processors.
28027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
28028 Define.
28029 (index_Prefer_SSE_for_memop): Define.
28030 (HAS_PREFER_SSE_FOR_MEMOP): Define.
28031
344d0b54
LM
280322010-11-04 Luis Machado <luisgpm@br.ibm.com>
28033
28034 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
28035 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
28036
c0dde15b
UD
280372010-11-03 H.J. Lu <hongjiu.lu@intel.com>
28038
28039 [BZ #12191]
28040 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28041 (__x86_64_raw_data_cache_size_half): Likewise.
28042 (__x86_64_raw_shared_cache_size): Likewise.
28043 (__x86_64_raw_shared_cache_size_half): Likewise.
28044
28045 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
28046 (__x86_64_raw_data_cache_size_half): Likewise.
28047 (__x86_64_raw_shared_cache_size): Likewise.
28048 (__x86_64_raw_shared_cache_size_half): Likewise.
28049 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
28050 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
28051 and __x86_64_raw_shared_cache_size_half. Round
28052 __x86_64_data_cache_size_half, __x86_64_data_cache_size
28053 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
28054 to multiple of 256 bytes.
28055
0e516e0e
MS
280562010-11-03 Ulrich Drepper <drepper@gmail.com>
28057
28058 [BZ #12167]
28059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
28060 of inacessible symlinks. Verify result of symlink before returning it.
28061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28062 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
28063
0e012e87
ER
280642010-10-28 Erich Ritz <erichritz@gmail.com>
28065
28066 * math/math.h (isinf): Fix typo in comment.
28067
de0ff7bc
UD
280682010-11-01 Ulrich Drepper <drepper@gmail.com>
28069
28070 * po/da.po: Update from translation team.
28071
fa41c84d
UD
280722010-10-26 Ulrich Drepper <drepper@gmail.com>
28073
28074 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
28075 is added to the list.
28076
f0967738
AK
280772010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28078 Ulrich Drepper <drepper@gmail.com>
28079
28080 * elf/dl-object.c (_dl_new_object): Don't append the new object to
28081 the global list here. Move code to...
28082 (_dl_add_to_namespace_list): ...here. New function.
28083 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
28084 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
28085 * elf/dl-load.c (lose): Don't remove the element from the list.
28086 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
28087 (_dl_map_object): Likewise.
28088
280892010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
28090
28091 [BZ #12159]
28092 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
28093 into all bytes of SSE register.
28094 Patch by Richard Li <richardpku@gmail.com>.
28095
f0967738 280962010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
28097
28098 [BZ #12140]
28099 * malloc/malloc.c (_int_free): Fill correct number of bytes when
28100 perturbing.
28101
d0b9e94f
MB
281022010-10-20 Michael B. Brutman <brutman@us.ibm.com>
28103
28104 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
28105 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
28106 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
28107 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
28109 submachine.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
28111
8e9f92e9
AS
281122010-10-22 Andreas Schwab <schwab@redhat.com>
28113
28114 * include/dlfcn.h (__RTLD_SECURE): Define.
28115 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
28116 mode & __RTLD_SECURE instead.
28117 (open_path): Rename preloaded parameter to secure.
28118 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
28119 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
28120 * elf/dl-deps.c (openaux): Likewise.
28121 * elf/rtld.c (struct map_args): Remove is_preloaded.
28122 (map_doit): Don't use it.
28123 (dl_main): Likewise.
28124 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
28125 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
28126
bc96fbda
AS
281272010-09-09 Andreas Schwab <schwab@redhat.com>
28128
28129 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
28130 (sysd-rules-targets): Remove duplicates.
28131 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
28132 rtld-%.$o dependency.
28133
22cd1c9b
AS
281342010-10-18 Andreas Schwab <schwab@redhat.com>
28135
28136 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
28137 _dl_map_object do it.
28138
18edac48
UD
281392010-10-19 Ulrich Drepper <drepper@gmail.com>
28140
28141 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
28142 fast fma builtins, define the macros in the C99 standard.
28143 (FP_FAST_FMAF): Likewise.
28144 (FP_FAST_FMAL): Likewise.
28145 * sysdeps/x86_64/bits/mathdef.h: Likewise.
28146
28147 * bits/mathdef.h: Update copyright year.
28148 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28149
d2050124
MM
281502010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
28151
28152 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
28153 builtins, define the macros in the C99 standard.
28154 (FP_FAST_FMAF): Likewise.
28155 (FP_FAST_FMAL): Likewise.
28156 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
28157 multiply/add.
28158 (FP_FAST_FMAF): Likewise.
28159
475facd1
JJ
281602010-10-15 Jakub Jelinek <jakub@redhat.com>
28161
28162 [BZ #3268]
28163 * math/libm-test.inc (fma_test): Some new testcases.
28164 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
28165 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
28166 y and infinite z. Do multiplication by C already in long double.
28167 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
28168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
28169 y and infinite z. Do bitwise or of inexact bit into u.d.
28170 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
28171 * sysdeps/i386/fpu/s_fmaf.S: Removed.
28172 * sysdeps/i386/fpu/s_fma.S: Removed.
28173 * sysdeps/i386/fpu/s_fmal.S: Removed.
28174
7c08a05c
JJ
281752010-10-16 Jakub Jelinek <jakub@redhat.com>
28176
28177 [BZ #3268]
28178 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
28179 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
28180 computation is not scheduled after fetestexcept. Fix value
28181 of minimum denormal long double.
28182
f3f7372d
JJ
281832010-10-14 Jakub Jelinek <jakub@redhat.com>
28184
28185 [BZ #3268]
28186 * math/libm-test.inc (fma_test): Add some more tests.
28187 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28188 correctly.
28189
14d43591
AS
281902010-10-15 Andreas Schwab <schwab@redhat.com>
28191
28192 * scripts/data/localplt-s390-linux-gnu.data: New file.
28193 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28194
5e908464
JJ
281952010-10-13 Jakub Jelinek <jakub@redhat.com>
28196
28197 [BZ #3268]
28198 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28199 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28200 instead of dbl-64.
28201 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28202 inlines.
28203 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28204 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28205 if one of x and y is very large and the other is subnormal.
28206 * sysdeps/s390/fpu/s_fmaf.c: New file.
28207 * sysdeps/s390/fpu/s_fma.c: New file.
28208 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28209 * sysdeps/powerpc/fpu/s_fma.S: New file.
28210 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28211 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28212 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28213
282142010-10-12 Jakub Jelinek <jakub@redhat.com>
28215
28216 [BZ #3268]
28217 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28218 fma tests.
28219 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28220 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28221 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28222 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28223 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28224 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28225 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28226
b833d51f
UD
282272010-10-12 Ulrich Drepper <drepper@redhat.com>
28228
28229 [BZ #12078]
28230 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28231 * posix/bug-regex31.input: Add test case.
28232
1751705d
UD
282332010-10-11 Ulrich Drepper <drepper@gmail.com>
28234
e9b9cbf5
UD
28235 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28236 * posix/bug-regex31.input: New file.
28237
28238 [BZ #12078]
28239 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28240 (parse_sub_exp): Fix last change, use postorder.
28241
ef06edbe
UD
28242 * posix/bug-regex31.c: New file.
28243 * posix/Makefile: Add rules to build and run bug-regex31.
28244
a129c80d
UD
28245 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28246
28247 [BZ #12078]
28248 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28249
b76b818e
UD
28250 [BZ #12108]
28251 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28252 to have entries in sys_siglist.
28253
1751705d
UD
28254 [BZ #12093]
28255 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28256 be NULL.
28257
9ff8d36f
JJ
282582010-10-07 Jakub Jelinek <jakub@redhat.com>
28259
28260 [BZ #3268]
28261 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28262 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28263 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28264 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28265 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28266 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28267 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28268 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28269 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28270 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28271 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28272 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28273 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28274 * math/ftestexcept.c (fetestexcept): Likewise.
28275 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28276 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28277 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28278 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28279 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28280 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28281 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28282
af325969
UD
282832010-10-11 Ulrich Drepper <drepper@gmail.com>
28284
c579b202 28285 [BZ #12107]
af325969
UD
28286 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28287 newline.
28288
67a67b95
UD
282892010-10-06 Ulrich Drepper <drepper@gmail.com>
28290
28291 * string/bug-strstr1.c: New file.
28292 * string/Makefile: Add rules to build and run bug-strstr1.
28293
5fb308bc
EB
282942010-10-05 Eric Blake <eblake@redhat.com>
28295
28296 [BZ #12092]
28297 * string/str-two-way.h (two_way_long_needle): Always clear memory
28298 when skipping input due to the shift table.
28299
45db99c7
UD
283002010-10-03 Ulrich Drepper <drepper@gmail.com>
28301
3b111893
UD
28302 [BZ #12005]
28303 * malloc/mcheck.c: Handle large requests.
28304
45db99c7
UD
28305 [BZ #12077]
28306 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28307 for strncmp and strncasecmp.
28308 * string/stratcliff.c: Add tests for strcmp and strncmp.
28309 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28310
cf7a1eb8
NI
283112010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28312
28313 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28314 __set_fpscr.
28315
6484ba5e
AJ
283162010-09-30 Andreas Jaeger <aj@suse.de>
28317
28318 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28319 (CGROUP_SUPER_MAGIC): Define.
28320 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28321 Handle btrfs and cgroup file systems.
28322 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28323 Likewise.
28324
91c42559
LM
283252010-09-27 Luis Machado <luisgpm@br.ibm.com>
28326
28327 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28328 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28329
87a97932
AK
283302010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28331
28332 [BZ #12067]
28333 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28334 trying to locate the ELF header.
28335
c21cc9bc
AS
283362010-09-27 Andreas Schwab <schwab@redhat.com>
28337
28338 [BZ #11611]
28339 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28340 Mask out sign-bit copies when constructing f_fsid.
28341
315970f6
PB
283422010-09-24 Petr Baudis <pasky@suse.cz>
28343
28344 * debug/stack_chk_fail_local.c: Add missing licence exception.
28345 * debug/warning-nop.c: Likewise.
28346
1ac7a2c7
JM
283472010-09-15 Joseph Myers <joseph@codesourcery.com>
28348
28349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28350 implementing getdents64 using getdents syscall, set d_type if
28351 __ASSUME_GETDENTS32_D_TYPE.
28352
56801c50
AS
283532010-09-16 Andreas Schwab <schwab@redhat.com>
28354
28355 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28356 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28357
dda51327
UD
283582010-09-21 Ulrich Drepper <drepper@redhat.com>
28359
28360 [BZ #12037]
28361 * posix/unistd.h: Undo change of feature selection for ftruncate from
28362 2010-01-11.
28363
8ffcee4a
UD
283642010-09-20 Ulrich Drepper <drepper@redhat.com>
28365
a545ecd9 28366 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28367 detection.
28368
e24f0a8b
AS
283692010-09-20 Andreas Schwab <schwab@redhat.com>
28370
28371 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28372 fanotify_mark.
28373 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28374
7291c56f
AS
283752010-09-14 Andreas Schwab <schwab@redhat.com>
28376
28377 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28378 variables after CHECK_SP call.
28379 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28380
bc5fb037
AS
283812010-09-13 Andreas Schwab <schwab@redhat.com>
28382 Ulrich Drepper <drepper@redhat.com>
28383
28384 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28385 re-relocationg ld.so.
28386 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28387 _dl_init_paths call.
28388 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28389 here anymore.
28390
e66e7419
UD
283912010-09-14 Ulrich Drepper <drepper@redhat.com>
28392
28393 * resolv/res_init.c (__res_vinit): Count the default server we added.
28394
c044aa75
CLT
283952010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28396 Ulrich Drepper <drepper@redhat.com>
28397
28398 [BZ #11968]
28399 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28400 (____longjmp_chk): Use %ebx for saving value across system call.
28401 Add unwind info.
28402
32cf4069
AS
284032010-09-06 Andreas Schwab <schwab@redhat.com>
28404
28405 * manual/Makefile: Don't mix pattern rules with normal rules.
28406
817328ee
AS
284072010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28408
28409 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28410 operation.
28411 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28412 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28413 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28414 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28415 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28416 Likewise.
28417
29fddf61
UD
284182010-09-04 Ulrich Drepper <drepper@redhat.com>
28419
28420 [BZ #11979]
28421 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28422 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28423
0959ffc9
UD
284242010-09-02 Ulrich Drepper <drepper@redhat.com>
28425
28426 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28427 * sysdeps/x86_64/addmul_1.S: Likewise.
28428 * sysdeps/x86_64/lshift.S: Likewise.
28429 * sysdeps/x86_64/mul_1.S: Likewise.
28430 * sysdeps/x86_64/rshift.S: Likewise.
28431 * sysdeps/x86_64/sub_n.S: Likewise.
28432 * sysdeps/x86_64/submul_1.S: Likewise.
28433
ece29840
ST
284342010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28435
0959ffc9
UD
28436 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28437 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28438 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28439 * bits/sched.h [__need_schedparam]
ece29840 28440 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28441 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28442 (__defined_schedparam): Define to 1.
ece29840
ST
28443 (__sched_param): New structure, identical to sched_param.
28444 (__need_schedparam): Undefine.
28445
e53a31fe
MF
284462010-08-31 Mike Frysinger <vapier@gentoo.org>
28447
fdc0c10d
MF
28448 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28449 (epoll_create1): Declare.
28450
e53a31fe
MF
28451 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28452
a726d796
AS
284532010-08-31 Andreas Schwab <schwab@redhat.com>
28454
28455 [BZ #7066]
28456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28457 shifting retval into place.
28458
2f3e3dc7
UD
284592010-09-01 Ulrich Drepper <drepper@redhat.com>
28460
f2933da9
UD
28461 * nis/rpcsvc/nis.h: Update copyright notice.
28462 * nis/rpcsvc/nis.x: Likewise.
28463 * nis/rpcsvc/nis_callback.h: Likewise.
28464 * nis/rpcsvc/nis_callback.x: Likewise.
28465 * nis/rpcsvc/nis_object.x: Likewise.
28466 * nis/rpcsvc/nis_tags.h: Likewise.
28467 * nis/rpcsvc/yp.h: Likewise.
28468 * nis/rpcsvc/yp.x: Likewise.
28469 * nis/rpcsvc/ypupd.h: Likewise.
28470 * nis/yp_xdr.c: Likewise.
28471 * nis/ypupdate_xdr.c: Likewise.
28472
2f3e3dc7
UD
28473 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28474 mainly the body of pmap_getport. Add parameters to specify timeouts.
28475 (pmap_getport): Use __libc_rpc_getport.
28476 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28477 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28478 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28479
f3dcc2f9
AS
284802010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28481
28482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28483 fanotify_mark.
28484
6d34eb5b
RM
284852010-08-27 Roland McGrath <roland@redhat.com>
28486
28487 * sysdeps/i386/i686/multiarch/Makefile
28488 (CFLAGS-varshift.c): New variable.
28489
9ea3de11
UD
284902010-08-27 Ulrich Drepper <drepper@redhat.com>
28491
c96d23fc
UD
28492 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28493 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28494
9ea3de11
UD
28495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28496
28497 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28498
623aac7f
L
284992010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28500
28501 * sysdeps/x86_64/strlen.S: Unroll the loop.
28502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28503 strlen-sse2 strlen-sse2-bsf.
28504 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28505 __strlen_no_bsf if bit_Slow_BSF is set.
28506 (__strlen_sse42): Removed.
28507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28508 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28509
8b2b7715
RM
285102010-08-25 Roland McGrath <roland@redhat.com>
28511
28512 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28513 * sysdeps/x86_64/multiarch/varshift.c: New file.
28514 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28515 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28516 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28517 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28518
e73015f2
L
285192010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28520
28521 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28522 strlen-sse2 strlen-sse2-bsf.
28523 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28524 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28525 (__strlen_sse2): Removed.
28526 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28528 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28529 bit_Slow_BSF for Atom.
28530 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28531 (index_Slow_BSF): Define.
28532 (HAS_SLOW_BSF): Define.
28533
df24a73e
UD
285342010-08-25 Ulrich Drepper <drepper@redhat.com>
28535
28536 [BZ #10851]
28537 * resolv/res_init.c (__res_vinit): When no server address at all
28538 is given default to loopback.
28539
f2ac4868
RM
285402010-08-24 Roland McGrath <roland@redhat.com>
28541
09055553
RM
28542 * configure.in: Remove config-name.h generation.
28543 * configure: Regenerated.
28544 * config-name.in: File removed.
28545 * scripts/config-uname.sh: New file.
28546 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28547 ($(objdir)config-name.h): New target.
28548
f2ac4868
RM
28549 * sunrpc/rpc_parse.h: Avoid nested comment.
28550
73f27d5e
RH
285512010-08-24 Richard Henderson <rth@redhat.com>
28552 Ulrich Drepper <drepper@redhat.com>
28553 H.J. Lu <hongjiu.lu@intel.com>
28554
28555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28557 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28558 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28559 _mm_alignr_epi8 with _mm_loadu_si128.
28560 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28561 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28562 (__m128i_shift_right): Removed.
28563 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28564 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28565 * sysdeps/x86_64/multiarch/varshift.h: New file.
28566 * sysdeps/x86_64/multiarch/varshift.S: New file.
28567
84b9230c
MF
285682010-08-21 Mike Frysinger <vapier@gentoo.org>
28569
28570 * configure.in: Move assembler checks to before sysdep dir checking.
28571
9bbd0ddc
PB
285722010-08-20 Petr Baudis <pasky@suse.cz>
28573
28574 * LICENSES: Sync the sunrpc license.
28575
9da4bb31
UD
285762010-08-19 Ulrich Drepper <drepper@redhat.com>
28577
a7ab6ec8
UD
28578 * sunrpc/auth_des.c: Update copyright notice once again.
28579 * sunrpc/auth_none.c: Likewise.
28580 * sunrpc/auth_unix.c: Likewise.
28581 * sunrpc/authdes_prot.c: Likewise.
28582 * sunrpc/authuxprot.c: Likewise.
28583 * sunrpc/bindrsvprt.c: Likewise.
28584 * sunrpc/clnt_gen.c: Likewise.
28585 * sunrpc/clnt_perr.c: Likewise.
28586 * sunrpc/clnt_raw.c: Likewise.
28587 * sunrpc/clnt_simp.c: Likewise.
28588 * sunrpc/clnt_tcp.c: Likewise.
28589 * sunrpc/clnt_udp.c: Likewise.
28590 * sunrpc/clnt_unix.c: Likewise.
28591 * sunrpc/des_crypt.c: Likewise.
28592 * sunrpc/des_soft.c: Likewise.
28593 * sunrpc/get_myaddr.c: Likewise.
28594 * sunrpc/getrpcport.c: Likewise.
28595 * sunrpc/key_call.c: Likewise.
28596 * sunrpc/key_prot.c: Likewise.
28597 * sunrpc/openchild.c: Likewise.
28598 * sunrpc/pm_getmaps.c: Likewise.
28599 * sunrpc/pm_getport.c: Likewise.
28600 * sunrpc/pmap_clnt.c: Likewise.
28601 * sunrpc/pmap_prot.c: Likewise.
28602 * sunrpc/pmap_prot2.c: Likewise.
28603 * sunrpc/pmap_rmt.c: Likewise.
28604 * sunrpc/rpc/auth.h: Likewise.
28605 * sunrpc/rpc/auth_unix.h: Likewise.
28606 * sunrpc/rpc/clnt.h: Likewise.
28607 * sunrpc/rpc/des_crypt.h: Likewise.
28608 * sunrpc/rpc/key_prot.h: Likewise.
28609 * sunrpc/rpc/netdb.h: Likewise.
28610 * sunrpc/rpc/pmap_clnt.h: Likewise.
28611 * sunrpc/rpc/pmap_prot.h: Likewise.
28612 * sunrpc/rpc/pmap_rmt.h: Likewise.
28613 * sunrpc/rpc/rpc.h: Likewise.
28614 * sunrpc/rpc/rpc_des.h: Likewise.
28615 * sunrpc/rpc/rpc_msg.h: Likewise.
28616 * sunrpc/rpc/svc.h: Likewise.
28617 * sunrpc/rpc/svc_auth.h: Likewise.
28618 * sunrpc/rpc/types.h: Likewise.
28619 * sunrpc/rpc/xdr.h: Likewise.
28620 * sunrpc/rpc_clntout.c: Likewise.
28621 * sunrpc/rpc_cmsg.c: Likewise.
28622 * sunrpc/rpc_common.c: Likewise.
28623 * sunrpc/rpc_cout.c: Likewise.
28624 * sunrpc/rpc_dtable.c: Likewise.
28625 * sunrpc/rpc_hout.c: Likewise.
28626 * sunrpc/rpc_main.c: Likewise.
28627 * sunrpc/rpc_parse.c: Likewise.
28628 * sunrpc/rpc_parse.h: Likewise.
28629 * sunrpc/rpc_prot.c: Likewise.
28630 * sunrpc/rpc_sample.c: Likewise.
28631 * sunrpc/rpc_scan.c: Likewise.
28632 * sunrpc/rpc_scan.h: Likewise.
28633 * sunrpc/rpc_svcout.c: Likewise.
28634 * sunrpc/rpc_tblout.c: Likewise.
28635 * sunrpc/rpc_util.c: Likewise.
28636 * sunrpc/rpc_util.h: Likewise.
28637 * sunrpc/rpcinfo.c: Likewise.
28638 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28639 * sunrpc/rpcsvc/key_prot.x: Likewise.
28640 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28641 * sunrpc/rpcsvc/mount.x: Likewise.
28642 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28643 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28644 * sunrpc/rpcsvc/rex.x: Likewise.
28645 * sunrpc/rpcsvc/rstat.x: Likewise.
28646 * sunrpc/rpcsvc/rusers.x: Likewise.
28647 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28648 * sunrpc/rpcsvc/spray.x: Likewise.
28649 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28650 * sunrpc/rtime.c: Likewise.
28651 * sunrpc/svc.c: Likewise.
28652 * sunrpc/svc_auth.c: Likewise.
28653 * sunrpc/svc_authux.c: Likewise.
28654 * sunrpc/svc_raw.c: Likewise.
28655 * sunrpc/svc_run.c: Likewise.
28656 * sunrpc/svc_simple.c: Likewise.
28657 * sunrpc/svc_tcp.c: Likewise.
28658 * sunrpc/svc_udp.c: Likewise.
28659 * sunrpc/svc_unix.c: Likewise.
28660 * sunrpc/svcauth_des.c: Likewise.
28661 * sunrpc/xcrypt.c: Likewise.
28662 * sunrpc/xdr.c: Likewise.
28663 * sunrpc/xdr_array.c: Likewise.
28664 * sunrpc/xdr_float.c: Likewise.
28665 * sunrpc/xdr_mem.c: Likewise.
28666 * sunrpc/xdr_rec.c: Likewise.
28667 * sunrpc/xdr_ref.c: Likewise.
28668 * sunrpc/xdr_sizeof.c: Likewise.
28669 * sunrpc/xdr_stdio.c: Likewise.
28670
9da4bb31
UD
28671 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28672 handling.
28673
bdaa77bc
AS
286742010-08-19 Andreas Schwab <schwab@redhat.com>
28675
28676 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28677
fe2f79db
LM
286782010-08-19 Luis Machado <luisgpm@br.ibm.com>
28679
28680 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28681 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28682 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28683 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28684 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28685 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28686 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28687 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28688 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28689 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28690 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28691 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28692 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28693 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28694
b9b42ee0
AB
286952010-07-26 Anton Blanchard <anton@samba.org>
28696
28697 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28698 * malloc/arena.c (heap_trim): Likewise.
28699
1c06ba31
UD
287002010-08-16 Ulrich Drepper <drepper@redhat.com>
28701
28702 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28703 here. Not...
28704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28705 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28706
f8392f40
L
287072010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28708
28709 * sysdeps/i386/elf/Makefile: New file.
28710
3162f12e
AS
287112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28712
28713 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28714 from fanotify_init.
28715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28716 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28717
28c90b2c
UD
287182010-08-15 Ulrich Drepper <drepper@redhat.com>
28719
28720 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28721 of strncasecmp_l.
1feccb6c 28722 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28723
ca6bb004
UD
287242010-08-14 Ulrich Drepper <drepper@redhat.com>
28725
e9f82e0d
UD
28726 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28727 strncase_l-nonascii.
28728 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28729 Add strncase_l-ssse3.
28730 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28731 * sysdeps/x86_64/strcmp.S: Likewise.
28732 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28733 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28734 * sysdeps/x86_64/strncase.S: New file.
28735 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28736 * sysdeps/x86_64/strncase_l.S: New file.
28737 * string/Makefile (strop-tests): Add strncasecmp.
28738 * string/test-strncasecmp.c: New file.
28739
28740 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28741 warning.
28742
ca6bb004
UD
28743 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28744 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28745
052fa7b3
AS
287462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28747
28748 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28749
962dba78
UD
287502010-08-12 Ulrich Drepper <drepper@redhat.com>
28751
28752 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28753 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28754 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28755
bebff237
AM
287562010-05-01 Alan Modra <amodra@gmail.com>
28757
28758 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28759 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28760 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28761 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28762 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28763 tidying. Don't tail-call __sigjmp_save for static lib.
28764 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28765 save location.
28766 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28767 (CALL_MCOUNT): Add eh info, and nop after bl.
28768 (TAIL_CALL_SYSCALL_ERROR): New macro.
28769 (PSEUDO_RET): Use it.
28770 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28771 Correct save location of integer regs and cr.
28772 (_dl_profile_resolve): Correct cr save location. Delete nops
28773 after bl when SHARED. Reduce cfi size a little by better
28774 placement of cfi directives.
28775 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28776 make a stack frame. Instead use parm save area as a temp.
28777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28778 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28780 Don't make a stack frame for parent, use parm save area.
28781 Increase child stack frame to 112 bytes. Don't save unused reg,
28782 and adjust reg usage. Set up cfi on error recovery and
28783 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28785 (__makecontext): Add dummy nop after jump to exit.
28786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28787 Use correct parm save area and cr save, reduce stack frame.
28788 Correct cfi for possible PSEUDO_RET frame setup.
28789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28790 Branch to local label emitted by PSEUDO_RET rather than
28791 __syscall_error.
28792
02637374
AS
287932010-08-12 Andreas Schwab <schwab@redhat.com>
28794
28795 [BZ #11904]
28796 * locale/programs/locale.c (print_assignment): New function.
28797 (show_locale_vars): Use it.
28798
c3e2f19b
UD
287992010-08-11 Ulrich Drepper <drepper@redhat.com>
28800
3cdaa6ad
UD
28801 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28802 field.
28803 (struct statfs64): Likewise.
28804 (_STATFS_F_FLAGS): Define.
28805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28806 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28807 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28808 (ST_VALID): Define locally.
28809 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28810 __statvfs_getflags, use the provided value.
28811 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28812 __ASSUME_STATFS_F_FLAGS.
28813
754f7da3
UD
28814 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28815
10b3bedc
UD
28816 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28817 Add sys/fanotify.h.
28818 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28819 fanotify_mask for GLIBC_2.13.
28820 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28821 fanotify_init and fanotify_mark.
28822 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28823 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28824
c08fb0d7
UD
28825 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28826 Add prlimit.
28827 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28828 prlimit64 for GLIBC_2.13.
28829 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28830 prlimit64.
28831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28832 syscall.
28833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28834 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28835 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28836 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28837 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28838 add prlimit alias.
28839 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28840
15bac72b
UD
28841 [BZ #11903]
28842 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28843 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28844
c3e2f19b
UD
28845 * nss/Makefile: Add rules to build and run tst-nss-test1.
28846 * shlib-versions: Add entry for libnss_test1.
28847 * nss/nss_test1.c: New file.
28848 * nss/tst-nss-test1.c: New file.
28849
28850 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28851 (__nss_configure_lookup): Set appropriate entry in
28852 __nss_configure_lookup to true.
28853 * nss/nsswitch.h: Define enum with indeces of databases in
28854 databases and __nss_database_custom arrays. Declare
28855 __nss_database_custom.
28856 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28857 to avoid using nscd when custom rules are installed.
28858 * nss/getXXbyYY_r.c: Likewise.
28859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28860
28861 * nss/nss_files/files-parse.c: Whitespace fixes.
28862
f15ce4d8
UD
288632010-08-09 Ulrich Drepper <drepper@redhat.com>
28864
28865 [BZ #11883]
28866 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28867 * posix/fnmatch_loop.c: Likewise.
28868
d22e4cc9
AK
288692010-07-17 Andi Kleen <ak@linux.intel.com>
28870
28871 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28872 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28873 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28874 * Versions.def [GLIBC_2.13]: Add.
28875
805bc17d
UD
288762010-08-06 Ulrich Drepper <drepper@redhat.com>
28877
28878 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28879 Also fail if tpwd after pwuid call is NULL.
28880
5a42321d
ST
288812010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28882
28883 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28884 when converting to ms.
28885
fd3ebeda
ST
288862010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28887
28888 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28889 EOPNOTSUPP errors with ENOTTY.
28890 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28891 EOPNOTSUPP errors with ENOTTY.
28892
73507d3a
UD
288932010-07-31 Ulrich Drepper <drepper@redhat.com>
28894
28895 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28896 Add strcasecmp_l-ssse3.
28897 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28898 strcasecmp.
28899 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28900 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28901 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28902
fe36dd02
UD
289032010-07-30 Ulrich Drepper <drepper@redhat.com>
28904
66f6765a
UD
28905 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28906
42e08a54
UD
28907 * string/Makefile (strop-tests): Add strcasecmp.
28908 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28909 strcasecmp_l-nonascii.
28910 (gen-as-const-headers): Add locale-defines.sym.
28911 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28912 * sysdeps/x86_64/strcasecmp.S: New file.
28913 * sysdeps/x86_64/strcasecmp_l.S: New file.
28914 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28915 * sysdeps/x86_64/locale-defines.sym: New file.
28916 * string/test-strcasecmp.c: New file.
28917
fe36dd02
UD
28918 * string/test-strcasestr.c: Test both ends of the range of characters.
28919 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28920
48cbc0d6
RM
289212010-07-29 Roland McGrath <roland@redhat.com>
28922
76e6d6bc 28923 [BZ #11856]
48cbc0d6
RM
28924 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28925
880113d9
UD
289262010-07-27 Ulrich Drepper <drepper@redhat.com>
28927
28928 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28929 for ld.so.
28930
deb9cabb
AS
289312010-07-27 Andreas Schwab <schwab@redhat.com>
28932
28933 * manual/memory.texi (Malloc Tunable Parameters): Document
28934 M_PERTURB.
28935
1c7570ff
RM
289362010-07-26 Roland McGrath <roland@redhat.com>
28937
28938 [BZ #11840]
28939 * configure.in (-fgnu89-inline check): Set and substitute
28940 gnu89_inline, not libc_cv_gnu89_inline.
28941 * configure: Regenerated.
28942 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28943
24fb0f88
UD
289442010-07-26 Ulrich Drepper <drepper@redhat.com>
28945
28946 * string/test-strnlen.c: New file.
28947 * string/Makefile (strop-tests): Add strnlen.
28948 * string/tester.c (test_strnlen): Add a few more test cases.
28949 * string/tst-strlen.c: Better error reporting.
28950
28951 * sysdeps/x86_64/strnlen.S: New file.
28952
8e96b93a
UD
289532010-07-24 Ulrich Drepper <drepper@redhat.com>
28954
28955 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28956 lower-latency instructions.
28957
dbc676d4
UD
289582010-07-23 Ulrich Drepper <drepper@redhat.com>
28959
28960 * string/test-strcasestr.c: New file.
28961 * string/test-strstr.c: New file.
28962 * string/Makefile (strop-tests): Add strstr and strcasestr.
28963 * string/str-two-way.h: Don't undefine MAX.
28964 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28965
f6a31e0e
AS
289662010-07-21 Andreas Schwab <schwab@redhat.com>
28967
28968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28969 strcasestr-nonascii.
28970 (CFLAGS-strcasestr-nonascii.c): Define.
28971 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28972 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28973 Remove unused attribute.
28974
5dbc3b6c
RM
289752010-07-20 Roland McGrath <roland@redhat.com>
28976
28977 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28978 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28979 ld.so.cache was broken. With it, there is no way to disable dsocaps
28980 like LD_HWCAP_MASK can disable hwcaps.
28981
23d101d8
EPM
289822010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28983
28984 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28985
cc9f2e47
UD
289862010-07-16 Ulrich Drepper <drepper@redhat.com>
28987
28988 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28989 call in strcasestr.
28990 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28991 __strcasestr_sse42_nonascii.
28992 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28993 strcasestr-nonascii.c.
28994 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28995
77c1b069
LM
289962010-06-15 Luis Machado <luisgpm@br.ibm.com>
28997
28998 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28999 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
29000 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
29001 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
29002
440566c3
UD
290032010-07-09 Ulrich Drepper <drepper@redhat.com>
29004
29005 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
29006 fcntl.
29007
5be9d05d
AS
290082010-07-06 Andreas Schwab <schwab@redhat.com>
29009
c30b7ee2 29010 [BZ #11577]
5be9d05d
AS
29011 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
29012 dl_signal_cerror.
29013
8a492a67
UD
290142010-07-06 Ulrich Drepper <drepper@redhat.com>
29015
29016 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
29017 _PC_PIPE_BUF using F_GETPIPE_SZ.
29018
713df3d5
RM
290192010-07-05 Roland McGrath <roland@redhat.com>
29020
29021 * manual/arith.texi (Rounding Functions): Fix rint description
29022 implicit in round description.
29023
702e8f14
UD
290242010-07-02 Ulrich Drepper <drepper@redhat.com>
29025
29026 * elf/Makefile: Fix linking for a few tests to make recent linker
29027 happy.
29028
52ed8be9
AS
290292010-06-30 Andreas Schwab <schwab@redhat.com>
29030
29031 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29032 $(common-objpfx)libc_nonshared.a.
29033
f47c9a11
LM
290342010-06-21 Luis Machado <luisgpm@br.ibm.com>
29035
29036 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
29037 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
29038 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29039 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29040 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
29041 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
29042 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29043 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
29045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
29046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
29047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
29048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
29049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
29050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
29051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
29052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
29053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
29054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
29055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
29056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
29057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
29058 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
29059 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
29060 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
29061 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
29062 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
29063 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
29064 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
29065 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
29066 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
29067 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
29068 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
29069 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
29070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
29071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
29072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
29073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
29074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
29075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
29076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
29077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
29078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
29079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
29080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
29081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
29082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
29083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
29084
6fb8cbcb
L
290852010-06-25 H.J. Lu <hongjiu.lu@intel.com>
29086
29087 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
29088 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
29089 * string/memmove.c (memmove): Renamed to ...
29090 (MEMMOVE): ...this. Default to memmove.
29091 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
29092 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
29093 (END_CHK): Define.
29094 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29095 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
29096 mempcpy-ssse3-back memmove-ssse3-back.
29097 * sysdeps/x86_64/multiarch/bcopy.S: New file .
29098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
29099 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
29100 * sysdeps/x86_64/multiarch/memcpy.S: New file.
29101 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
29102 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
29103 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
29104 * sysdeps/x86_64/multiarch/memmove.c: New file.
29105 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
29106 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
29107 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
29108 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
29109 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
29110 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
29111 Define.
29112 (index_Fast_Copy_Backward): Define.
29113 (HAS_ARCH_FEATURE): Define.
29114 (HAS_FAST_REP_STRING): Define.
29115 (HAS_FAST_COPY_BACKWARD): Define.
29116
4e733bac 291172010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
29118
29119 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
29120 Restore proper fallback handling.
29121
63c4ed22
UD
291222010-06-19 Ulrich Drepper <drepper@redhat.com>
29123
ac2b484c
UD
29124 [BZ #11701]
29125 * posix/group_member.c (__group_member): Correct checking loop.
29126
63c4ed22
UD
29127 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
29128 OOM in getpwuid_r correctly. Return error number when the caller
29129 should return, otherwise -1.
29130 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
29131 call returning > 0 value.
29132 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
29133
765ade4b
AS
291342010-06-07 Andreas Schwab <schwab@redhat.com>
29135
29136 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
29137 libc_nonshared.a from targets in modules-names.
29138
80da2e09
KS
291392010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
29140
29141 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
29142 requires it.
29143
158db122
LM
291442010-06-10 Luis Machado <luisgpm@br.ibm.com>
29145
29146 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
29147 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
29148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
29149 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
29150
caa78cf8
AS
291512010-06-02 Andreas Schwab <schwab@redhat.com>
29152
29153 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
29154
b2ef2c01
UD
291552010-06-14 Ulrich Drepper <drepper@redhat.com>
29156
29157 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
29158 and F_GETPIPE_SZ.
29159 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29161 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29163 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29164 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
29165
fbd643b6
RM
291662010-06-14 Roland McGrath <roland@redhat.com>
29167
29168 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
29169
f32f2869
JJ
291702010-06-07 Jakub Jelinek <jakub@redhat.com>
29171
29172 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
29173 __REDIRECT followed by __THROW.
29174 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
29175 * posix/getopt.h (getopt): Likewise.
29176
2a50c078
EPM
291772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
29178
29179 * hurd/lookup-at.c (__file_name_lookup_at): Accept
29180 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
29181 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
29182 in AT_FLAGS.
29183 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
29184 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29185
eb5ad2eb
LM
291862010-05-28 Luis Machado <luisgpm@br.ibm.com>
29187
29188 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29189
3c88fe1e
L
291902010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29191
29192 [BZ #11640]
29193 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29194 Properly check family and model.
29195
d2f73151
TY
291962010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29197
29198 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29199
ebd2e13d
LM
292002010-05-24 Luis Machado <luisgpm@br.ibm.com>
29201
29202 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29203
b32b8b45
UD
292042010-05-21 Ulrich Drepper <drepper@redhat.com>
29205
29206 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29207 symbol reference.
29208
9acbe24d
AS
292092010-05-19 Andreas Schwab <schwab@redhat.com>
29210
29211 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29212 symbol reference.
29213
f0ccf6ea
AS
292142010-05-21 Andreas Schwab <schwab@redhat.com>
29215
3d04ff3a
AS
29216 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29217 and internal_recvmmsg.
29218 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29219 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29220 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29221 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29222
f0ccf6ea
AS
29223 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29224 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29225 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29226
5b08ac57
AS
292272010-05-20 Andreas Schwab <schwab@redhat.com>
29228
29229 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29230
4828935d
LM
292312010-05-17 Luis Machado <luisgpm@br.ibm.com>
29232
29233 POWER7 optimizations.
29234 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29235 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29236
373d545e
UD
292372010-05-19 Ulrich Drepper <drepper@redhat.com>
29238
29239 * version.h: Update for 2.13 development version.
29240
21a2b1ae
AS
292412010-05-12 Andrew Stubbs <ams@codesourcery.com>
29242
29243 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29244 exceptions. Return 0.
29245
3f7dcb2b
RM
292462010-05-07 Roland McGrath <roland@redhat.com>
29247
29248 * elf/ldconfig.c (main): Add a const.
29249
5f24d53a 292502010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29251
a160f8d8
UD
29252 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29253 (args_options): Add no-idn option.
29254 (ahosts_keys_int): Add idn_flags to ai_flags.
29255 (parse_option): Handle 'i' option to clear idn_flags.
29256
5f24d53a
UD
29257 * malloc/malloc.c (_int_free): Possible race in the most recently
29258 added check. Only act on the data if no current modification
29259 happened.
265bb1ce
UD
29260
29261See ChangeLog.17 for earlier changes.