]> sourceware.org Git - glibc.git/blame - ChangeLog
Convert TEST_ffI_f1 tests from code to data.
[glibc.git] / ChangeLog
CommitLineData
87aa21df
JM
12013-05-14 Joseph Myers <joseph@codesourcery.com>
2
8cfa635a
JM
3 * math/libm-test.inc (test_ffI_f1_data): New type.
4 (RUN_TEST_LOOP_ffI_f1): New macro.
5 (remquo_test_data): New variable.
6 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7
2bcb36b2
JM
8 * setjmp/tst-setjmp-fp.c: New file.
9 * setjmp/Makefile (tests): Add tst-setjmp-fp.
10 (link-libm): New variable.
11 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12
acbd839a
JM
13 * math/libm-test.inc (struct test_f_i_data): New type.
14 (RUN_TEST_LOOP_f_i): New macro.
15 (RUN_TEST_LOOP_f_i_tg): Likewise.
16 (fpclassify_test_data): New variable.
17 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18 (ilogb_test_data): New variable.
19 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20
e414d745
JM
21 * math/libm-test.inc (scalbln_test): Correct function name in END
22 call.
23
d9c2a0fd
JM
24 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25 (RUN_TEST_LOOP_fI_f1): New macro.
26 (frexp_test_data): New variable.
27 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28
9dc9095d
JM
29 * math/libm-test.inc (struct test_fF_f1_data): New type.
30 (RUN_TEST_LOOP_fF_f1): New macro.
31 (modf_test_data): New variable.
32 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
33
87aa21df
JM
34 * math/libm-test.inc (struct test_f_f1_data): New type.
35 (RUN_TEST_LOOP_f_f1): New macro.
36 (gamma_test_data): New variable.
37 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
38 (lgamma_test_data): New variable.
39 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
40
141af660
CD
412013-05-13 Carlos O'Donell <carlos@redhat.com>
42
43 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
45 (main): Comment "tls" pseudo-hwcap.
46
6d33265c
JM
472013-05-13 Joseph Myers <joseph@codesourcery.com>
48
68fc074c
JM
49 * math/libm-test.inc (struct test_fl_f_data): New type.
50 (RUN_TEST_LOOP_fl_f): New variable.
51 (scalbln_test_data): New variable.
52 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53
243216e1
JM
54 * math/libm-test.inc (struct test_fi_f_data): New type.
55 (RUN_TEST_LOOP_fi_f): New macro.
56 (ldexp_test_data): New variable.
57 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
58 (scalbn_test_data): New variable.
59 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60
6a1992e2
JM
61 * math/libm-test.inc (struct test_c_f_data): New type.
62 (RUN_TEST_LOOP_c_f): New macro.
63 (cabs_test_data): New variable.
64 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
65 (carg_test_data): New variable.
66 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67 (cimag_test_data): New variable.
68 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
69 (creal_test_data): New variable.
70 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
71
0e400df5
JM
72 * math/libm-test.inc (struct test_if_f_data): New type.
73 (RUN_TEST_LOOP_if_f): New macro.
74 (jn_test_data): New variable.
75 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
76 (yn_test_data): New variable.
77 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
78
6d33265c
JM
79 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
80
f98ece5f
AZ
812013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82
83 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
84 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
85
0f7d347b
SP
862013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
87
43fe811b
SP
88 * benchtests/Makefile (CPPFLAGS-nonlib): Add
89 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
90 (bench-deps): Add bench-timing.h.
91 * benchtests-bench-skeleton.c: Include bench-timing.h.
92 (main): Use TIMING_* macros instead of clock_gettime.
93 * benchtests/bench-timing.h: New file.
94
0f7d347b
SP
95 [BZ #14582]
96 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
97 Renamed from _LIB_VERSION.
98 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
99
601a3a5f
JM
1002013-05-12 Joseph Myers <joseph@codesourcery.com>
101
4f184d30
JM
102 * math/libm-test.inc (struct test_fff_f_data): New type.
103 (RUN_TEST_LOOP_fff_f): New macro.
104 (fma_test_data): New variable.
105 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
106 (fma_towardzero_test_data): New variable.
107 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
108 (fma_downward_test_data): New variable.
109 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
110 (fma_upward_test_data): New variable.
111 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
112
08198877
JM
113 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
114 (struct test_c_c_data): New type.
115 (RUN_TEST_LOOP_c_c): New macro.
116 (cacos_test_data): New variable.
117 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
118 (cacosh_test_data): New variable.
119 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
120 (casin_test_data): New variable.
121 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
122 (casinh_test_data): New variable.
123 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
124 (catan_test_data): New variable.
125 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
126 (catanh_test_data): New variable.
127 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
128 (ccos_test_data): New variable.
129 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
130 (ccosh_test_data): New variable.
131 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
132 (cexp_test_data): New variable.
133 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
134 (clog_test_data): New variable.
135 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
136 (clog10_test_data): New variable.
137 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
138 (conj_test_data): New variable.
139 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
140 (cproj_test_data): New variable.
141 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
142 (csin_test_data): New variable.
143 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
144 (csinh_test_data): New variable.
145 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
146 (csqrt_test_data): New variable.
147 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
148 (ctan_test_data): New variable.
149 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
150 (ctan_tonearest_test_data): New variable.
151 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
152 (ctan_towardzero_test_data): New variable.
153 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
154 (ctan_downward_test_data): New variable.
155 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
156 (ctan_upward_test_data): New variable.
157 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
158 (ctanh_test_data): New variable.
159 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
160 (ctanh_tonearest_test_data): New variable.
161 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
162 (ctanh_towardzero_test_data): New variable.
163 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
164 (ctanh_downward_test_data): New variable.
165 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
166 (ctanh_upward_test_data): New variable.
167 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
168 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
169 of BUILD_COMPLEX.
170
601a3a5f
JM
171 * math/libm-test.inc (struct test_ff_f_data): New type.
172 (struct test_ff_f_data_nexttoward): Likewise.
173 (RUN_TEST_LOOP_2_f): New macro.
174 (RUN_TEST_LOOP_ff_f): Likewise.
175 (atan2_test_data): New variable.
176 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
177 (copysign_test_data): New variable.
178 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
179 (fdim_test_data): New variable.
180 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
181 (fmax_test_data): New variable.
182 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
183 (fmin_test_data): New variable.
184 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
185 (fmod_test_data): New variable.
186 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
187 (hypot_test_data): New variable.
188 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
189 (nextafter_test_data): New variable.
190 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
191 (nexttoward_test_data): New variable.
192 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
193 (pow_test_data): New variable.
194 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
195 (pow_tonearest_test_data): New variable.
196 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
197 (pow_towardzero_test_data): New variable.
198 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
199 (pow_downward_test_data): New variable.
200 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
201 (pow_upward_test_data): New variable.
202 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
203 (remainder_test_data): New variable.
204 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
205 (scalb_test_data): New variable.
206 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
207 * sysdeps/i386/fpu/libm-test-ulps: Update.
208
74c57478
JM
2092013-05-11 Joseph Myers <joseph@codesourcery.com>
210
8329e4da
JM
211 * math/libm-test.inc (fma_test): Use max_value instead of local
212 variable fltmax.
213 (nextafter_test): Likewise.
214
74c57478
JM
215 * math/libm-test.inc (acos_towardzero_test_data): New variable.
216 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
217 (acos_downward_test_data): New variable.
218 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
219 (acos_upward_test_data): New variable.
220 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
221 (acosh_test_data): New variable.
222 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
223 (asin_test_data): New variable.
224 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
225 (asin_tonearest_test_data): New variable.
226 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
227 (asin_towardzero_test_data): New variable.
228 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
229 (asin_downward_test_data): New variable.
230 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
231 (asin_upward_test_data): New variable.
232 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
233 (asinh_test_data): New variable.
234 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
235 (atan_test_data): New variable.
236 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
237 (atanh_test_data): New variable.
238 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
239 (cbrt_test_data): New variable.
240 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
241 (ceil_test_data): New variable.
242 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
243 (cos_test_data): New variable.
244 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
245 (cos_tonearest_test_data): New variable.
246 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
247 (cos_towardzero_test_data): New variable.
248 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
249 (cos_downward_test_data): New variable.
250 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
251 (cos_upward_test_data): New variable.
252 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
253 (cosh_test_data): New variable.
254 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
255 (cosh_tonearest_test_data): New variable.
256 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
257 (cosh_towardzero_test_data): New variable.
258 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
259 (cosh_downward_test_data): New variable.
260 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
261 (cosh_upward_test_data): New variable.
262 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
263 (erf_test_data): New variable.
264 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
265 (erfc_test_data): New variable.
266 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
267 (exp_test_data): New variable.
268 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
269 (exp_tonearest_test_data): New variable.
270 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
271 (exp_towardzero_test_data): New variable.
272 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
273 (exp_downward_test_data): New variable.
274 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
275 (exp_upward_test_data): New variable.
276 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
277 (exp10_test_data): New variable.
278 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
279 (exp2_test_data): New variable.
280 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
281 (expm1_test_data): New variable.
282 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
283 (fabs_test_data): New variable.
284 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
285 (floor_test_data): New variable.
286 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
287 (j0_test_data): New variable.
288 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
289 (j1_test_data): New variable.
290 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
291 (log_test_data): New variable.
292 (log_test): Run tests with RUN_TEST_LOOP_f_f.
293 (log10_test_data): New variable.
294 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
295 (log1p_test_data): New variable.
296 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
297 (log2_test_data): New variable.
298 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
299 (logb_test_data): New variable.
300 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
301 (logb_downward_test_data): New variable.
302 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
303 (nearbyint_test_data): New variable.
304 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
305 (rint_test_data): New variable.
306 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
307 (rint_tonearest_test_data): New variable.
308 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
309 (rint_towardzero_test_data): New variable.
310 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
311 (rint_downward_test_data): New variable.
312 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
313 (rint_upward_test_data): New variable.
314 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
315 (round_test_data): New variable.
316 (round_test): Run tests with RUN_TEST_LOOP_f_f.
317 (sin_test_data): New variable.
318 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
319 (sin_tonearest_test_data): New variable.
320 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
321 (sin_towardzero_test_data): New variable.
322 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
323 (sin_downward_test_data): New variable.
324 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
325 (sin_upward_test_data): New variable.
326 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
327 (sinh_test_data): New variable.
328 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
329 (sinh_tonearest_test_data): New variable.
330 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
331 (sinh_towardzero_test_data): New variable.
332 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
333 (sinh_downward_test_data): New variable.
334 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
335 (sinh_upward_test_data): New variable.
336 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
337 (sqrt_test_data): New variable.
338 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
339 (tan_test_data): New variable.
340 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
341 (tan_tonearest_test_data): New variable.
342 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
343 (tan_towardzero_test_data): New variable.
344 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
345 (tan_downward_test_data): New variable.
346 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
347 (tan_upward_test_data): New variable.
348 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
349 (tanh_test_data): New variable.
350 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
351 (tgamma_test_data): New variable.
352 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
353 (trunc_test_data): New variable.
354 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
355 (y0_test_data): New variable.
356 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
357 (y1_test_data): New variable.
358 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
359 (significand_test_data): New variable.
360 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
361
7187d844
CG
3622013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
363
364 [BZ #12387]
365 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
366
f63fae73
PT
3672013-05-10 Pino Toscano <toscano.pino@tiscali.it>
368
369 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
370
8a67a4b3
AJ
3712013-05-10 Andreas Jaeger <aj@suse.de>
372
373 [BZ #15448]
374 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
375 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
376
51df539d
JM
3772013-05-10 Joseph Myers <joseph@codesourcery.com>
378
379 * math/gen-libm-test.pl (adjust_arg): New function.
380 (special_functions): Handle generating output in both functions
381 and arrays.
382 (parse_args): Likewise.
383 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
384 $in_func argument to parse_args.
385 * math/libm-test.inc (struct test_f_f_data): New type.
386 (IF_ROUND_INIT_): New macro.
387 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
388 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
389 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
390 (IF_ROUND_INIT_FE_UPWARD): Likewise.
391 (ROUND_RESTORE_): Likewise.
392 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
393 (ROUND_RESTORE_FE_TONEAREST): Likewise.
394 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
395 (ROUND_RESTORE_FE_UPWARD): Likewise.
396 (RUN_TEST_LOOP_f_f): New macro.
397 (acos_test_data): New variable.
398 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
399 (acos_tonearest_test_data): New variable.
400 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
401
5c637fe5
SP
4022013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
403
404 * benchtests/bench-skeleton.c (startup): Fix coding style.
405
ab2b9461
JM
4062013-05-10 Joseph Myers <joseph@codesourcery.com>
407
408 [BZ #6809]
409 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
410 negative infinity argument.
411 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
412 negative infinity argument.
413 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
414 negative infinity argument.
415 * math/libm-test.inc (tgamma_test): Expect errno to be set for
416 domain errors.
417
4c0fe6fe
FW
4182013-05-10 Florian Weimer <fweimer@redhat.com>
419
420 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
421 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
422 * iconv/iconv_prog.c (main): Likewise.
423 * locale/programs/charmap-dir.c (charmap_readdir)
424 (fopen_uncompressed): Likewise.
425 * locale/programs/locfile.c (siblings_uncached)
426 (write_locale_data): Use lstat64 instead of lstat.
427 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
428 stat.
429
a3375d29
AJ
4302013-05-10 Andreas Jaeger <aj@suse.de>
431
432 [BZ #15395]
433 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
434 localization.
435 Include <locale.h>.
436
36129722
CD
4372013-05-09 Carlos O'Donell <carlos@redhat.com>
438
439 * elf/dl-close.c (_dl_close_worker): Add comments.
440
faa7f811
JM
4412013-05-09 Joseph Myers <joseph@codesourcery.com>
442
ed41ffef
JM
443 [BZ #15359]
444 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
445 high part of pi/2.
446 (__ieee754_rem_pio2l): Update comments.
447
d0213cd0
JM
448 [BZ #15429]
449 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
450 high part of pi/2.
451 (__ieee754_rem_pio2l): Update comments.
452
0d3e777a
JM
453 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
454 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
455
24f56066
JM
456 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
457 M_PI_4l.
458
faa7f811
JM
459 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
460 (M_PI_34_LOG10El): Likewise.
461 (M_PI2_LOG10El): Likewise.
462 (M_PI4_LOG10El): Likewise.
463 (M_PI_LOG10El): Likewise.
464
e9a5e0fd
AZ
4652013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
466
467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
468
d8cd06db
JM
4692013-05-08 Joseph Myers <joseph@codesourcery.com>
470
a0d9f9d7
JM
471 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
472 (MINUS_ZERO_INIT): Likewise.
473 (PLUS_INFTY_INIT): Likewise.
474 (MINUS_INFTY_INIT): Likewise.
475 (QNAN_VALUE_INIT): Likewise.
476 (MAX_VALUE_INIT): Likewise.
477 (MIN_VALUE_INIT): Likewise.
478 (MIN_SUBNORM_VALUE_INIT): Likewise.
479 (plus_zero): Initialize with PLUS_ZERO_INIT.
480 (minus_zero): Initialize with MINUS_ZERO_INIT.
481 (plus_infty): Initialize with PLUS_INFTY_INIT.
482 (minus_infty): Initialize with MINUS_INFTY_INIT.
483 (qnan_value): Initialize with QNAN_VALUE_INIT.
484 (max_value): Initialize with MAX_VALUE_INIT.
485 (min_value): Initialize with MIN_VALUE_INIT.
486 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
487
ae08db3b
JM
488 * math/libm-test.inc (RUN_TEST_if_f): New macro.
489 (jn_test): Use TEST_if_f instead of TEST_ff_f.
490 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
491 (yn_test): Use TEST_if_f instead of TEST_ff_f.
492
f44bf14a
JM
493 * math/libm-test.inc (RUN_TEST_f_f): New macro.
494 (RUN_TEST_2_f): Likewise.
495 (RUN_TEST_ff_f): Likewise.
496 (RUN_TEST_fi_f): Likewise.
497 (RUN_TEST_fl_f): Likewise.
498 (RUN_TEST_fff_f): Likewise.
499 (RUN_TEST_c_f): Likewise.
500 (RUN_TEST_f_f1): Likewise.
501 (RUN_TEST_fF_f1): Likewise.
502 (RUN_TEST_fI_f1): Likewise.
503 (RUN_TEST_ffI_f1): Likewise.
504 (RUN_TEST_c_c): Likewise.
505 (RUN_TEST_cc_c): Likewise.
506 (RUN_TEST_f_i): Likewise.
507 (RUN_TEST_f_i_tg): Likewise.
508 (RUN_TEST_ff_i_tg): Likewise.
509 (RUN_TEST_f_b): Likewise.
510 (RUN_TEST_f_b_tg): Likewise.
511 (RUN_TEST_f_l): Likewise.
512 (RUN_TEST_f_L): Likewise.
513 (RUN_TEST_sincos): Likewise.
514 * math/gen-libm-test.pl (new_test): Take new argument to indicate
515 whether to show exceptions. Do not include ");\n" in return
516 value.
517 (special_functions): Output call to RUN_TEST_sincos instead of
518 check_float calls. Update calls to new_test.
519 (parse_args): Output call to single RUN_TEST_* macro instead of
520 check_* calls and other assignments. Update calls to new_test.
521
d8cd06db
JM
522 [BZ #2546]
523 [BZ #2560]
524 [BZ #5159]
525 [BZ #15426]
526 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
527 input to result for tgamma overflow.
528 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
529 (gamma_coeff): New variable.
530 (NCOEFF): New macro.
531 (gamma_positive): New function.
532 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
533 underflow here. Use gamma_positive instead of exp (lgamma) for
534 other arguments.
535 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
536 (gamma_coeff): New variable.
537 (NCOEFF): New macro.
538 (gammaf_positive): New function.
539 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
540 underflow here. Use gamma_positive instead of exp (lgamma) for
541 other arguments.
542 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
543 (gamma_coeff): New variable.
544 (NCOEFF): New macro.
545 (gammal_positive): New function.
546 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
547 underflow here. Use gamma_positive instead of exp (lgamma) for
548 other arguments.
549 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
550 (gamma_coeff): New variable.
551 (NCOEFF): New macro.
552 (gammal_positive): New function.
553 (__ieee754_gammal_r): Handle positive infinity, overflow and
554 underflow here. Handle NaN the same as positive infinity. Remove
555 check x < 0xffffffff for negative integers. Use gamma_positive
556 instead of exp (lgamma) for other arguments.
557 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
558 (gamma_coeff): New variable.
559 (NCOEFF): New macro.
560 (gammal_positive): New function.
561 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
562 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
563 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
564 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
565 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
566 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
567 * sysdeps/generic/math_private.h (__gamma_productf): New
568 prototype.
569 (__gamma_product): Likewise.
570 (__gamma_productl): Likewise.
571 * math/Makefile (libm-calls): Add gamma_product.
572 * math/libm-test.inc (tgamma_test): Add more tests.
573 * sysdeps/i386/fpu/libm-test-ulps: Update.
574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
575
bb7cf681
OB
5762013-05-08 Ondřej Bílka <neleai@seznam.cz>
577
578 * benchtests/bench-skeleton.c (main): Preheat CPU.
579
ba853947
AJ
5802013-05-07 Aurelien Jarno <aurelien@aurel32.net>
581
582 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
583
8347c74c
RM
5842013-05-07 Roland McGrath <roland@hack.frob.com>
585
586 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
587 and _dl_skip_args_internal.
588
e8dd4791
CD
5892013-05-07 Carlos O'Donell <carlos@redhat.com>
590
591 * manual/message.texi (Message Translation): Talk about users.
592 Message to key mapping impacts design.
593
c7405830
RM
5942013-05-06 Roland McGrath <roland@hack.frob.com>
595
a9173057
RM
596 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
597
976e2f03
RM
598 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
599
9723ffc5
RM
600 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
601 * sysdeps/wordsize-64/glob64.c: ... here.
602
962e6658
RM
603 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
604 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
605 New macros.
606
ee586a6d
RM
607 * debug/getlogin_r_chk.c: Moved to ...
608 * login/getlogin_r_chk.c: ... here.
609 * debug/Makefile (routines): Move getlogin_r_chk to ...
610 * login/Makefile (routines): ... here.
611 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
612 * login/Versions (libc: GLIBC_2.4): ... here.
613
355f9165
RM
614 * io/poll.c (__poll): Renamed from poll.
615 Add libc_hidden_def.
616 (poll): Define as weak alias.
617
bd9ffde6
RM
618 * debug/ptsname_r_chk.c: Moved to ...
619 * login/ptsname_r_chk.c: ... here.
620 * debug/Makefile (routines): Move ptsname_r_chk to ...
621 * login/Makefile (routines): ... here.
622 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
623 * login/Versions (libc: GLIBC_2.4): ... here.
624
8fb16a04
RM
625 * posix/getlogin.c: Moved to ...
626 * login/getlogin.c: ... here.
627 * posix/getlogin_r.c: Moved to ...
628 * login/getlogin_r.c: ... here.
629 * posix/getlogin_r.c: Moved to ...
630 * login/getlogin_r.c: ... here.
631 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
632 * login/Makefile (routines): ... here.
633 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
634 * login/Versions (libc: GLIBC_2.0): ... here.
635
b99b892f
RM
636 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
637 (setrlimit): Define as weak alias.
638
c7405830
RM
639 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
640 Call __ names for open, ftruncate, and close.
641 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
642 (truncate): Define as weak alias.
643
5bf96de5
JM
6442013-05-06 Joseph Myers <joseph@codesourcery.com>
645
9ea3513c
JM
646 * math/gen-libm-test.pl (parse_args): Initialize x before each
647 test of frexp, modf and remquo.
648
5bf96de5
JM
649 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
650 test signgam value.
651
16e616a7
AZ
6522013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
653
654 [BZ #15418]
655 [BZ #15419]
656 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
657 internal tests.
658 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
659
d5e82754
RM
6602013-05-06 Roland McGrath <roland@hack.frob.com>
661
662 * elf/dl-writev.h: New file.
663 * elf/dl-misc.c: Include it.
664 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
665 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
666
a7548d41
JM
6672013-05-04 Joseph Myers <joseph@codesourcery.com>
668
b7dab1e4
JM
669 * math/libm-test.inc (noXFails): Remove variable.
670 (noXPasses): Likewise.
671 (BUILD_COMPLEX_INT): Remove macro.
672 (print_screen): Remove xfail argument.
673 (print_screen_max_error): Likewise.
674 (update_stats): Likewise.
675 (print_max_error): Likewise. Update calls to other affected
676 functions.
677 (print_complex_max_error): Likewise.
678 (test_single_exception): Update calls to print_screen.
679 (test_single_errno): Likewise.
680 (check_float_internal): Remove xfail argument. Update calls to
681 other affected functions.
682 (check_float): Likewise.
683 (check_complex): Likewise.
684 (check_int): Likewise.
685 (check_long): Likewise.
686 (check_bool): Likewise.
687 (check_longlong): Likewise.
688 (main): Don't print noXFails and noXPasses.
689 * math/gen-libm-test.pl (top level): Don't mention expected
690 failure handling in comment.
691 (new_test): Don't handle expected failures.
692 (parse_args): Don't mention expected failure handling in comment.
693 (generate_testfile): Don't handle expected failures.
694 (parse_ulps): Likewise.
695 (print_ulps_file): Likewise.
696 (get_failure): Remove function.
697 (output_test): Don't handle expected failures.
698 * make/README.libm-test: Don't mention expected failure handling.
699
a7548d41
JM
700 * math/libm-test.inc (plus_zero): Make const. Add initializer.
701 (minus_zero): Likewise.
702 (plus_infty): Likewise.
703 (minus_infty): Likewise.
704 (qnan_value): Likewise.
705 (max_value): Likewise.
706 (min_value): Likewise.
707 (min_subnorm_value): Likewise.
708 (initialize): Do not initialize those variables dynamically.
709
60bfd54c
RM
7102013-05-03 Roland McGrath <roland@hack.frob.com>
711
cc0e6ed8
RM
712 * io/open.c (__open_2): Moved to ...
713 * io/open_2.c: ... this new file.
714 * io/open64.c (__open64_2): Moved to ...
715 * io/open64_2.c: ... this new file.
716 * io/openat.c (__openat_2): Moved to ...
717 * io/openat_2.c: ... this new file.
718 * io/openat64.c (__openat64_2): Moved to ...
719 * io/openat64_2.c: ... this new file.
720 * io/Makefile (routines): Add them.
721 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
722 * sysdeps/unix/sysv/linux/open_2.c: File removed.
723 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
724 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
725 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
726 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
727 (__openat64): Add hidden_ver.
728 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
729 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
730
60bfd54c
RM
731 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
732 Separately conditionalize setting of GLRO(dl_sysinfo) so
733 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
734 as well, but the actual setting is only under [NEED_DL_SYSINFO].
735
83e7640f
AZ
7362013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
737
738 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
739 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
740 definition.
741 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
742 * sysdeps/unix/sysv/linux/powerpc/init-first.c
743 (_libc_vdso_platform_setup): Add __vdso_time initialization.
744 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
745 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
746
d5dc2af3
JM
7472013-05-03 Joseph Myers <joseph@codesourcery.com>
748
c31a5b1e
JM
749 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
750 test signgam value.
751
d5dc2af3
JM
752 * math/libm-test.inc (hypot_test): Do not use
753 IGNORE_ZERO_INF_SIGN.
754
164fd39d
AJ
7552013-05-03 Andreas Jaeger <aj@suse.de>
756
757 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
758 Linux 3.9.
759 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
760 (PF_MAX): Adjust for VSOCK change.
761
8237f48c
AZ
7622013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
763
764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
765
9df02941
CD
7662013-05-02 Carlos O'Donell <carlos@redhat.com>
767
768 [BZ #15264]
769 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
770 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
771 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
772
d422395e
DM
7732013-05-02 David S. Miller <davem@davemloft.net>
774
775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
776
a07c5731
OB
7772013-05-01 Ondřej Bílka <neleai@seznam.cz>
778
779 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
780
1324e37f
RM
7812013-05-01 Roland McGrath <roland@hack.frob.com>
782
783 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
784
0695940b
RS
7852013-05-01 Richard Smith <richard@metafoo.co.uk>
786
bb5f27ad 787 [BZ #14952]
0695940b
RS
788 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
789 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
790 Use __attribute__ ((__gnu_inline__)).
791 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
792 Don't use __attribute__ ((__gnu_inline__)).
793
10de07f5
JM
7942013-05-01 Joseph Myers <joseph@codesourcery.com>
795
796 [BZ #15423]
797 * math/s_catan.c (__catan): Handle small real or imaginary part of
798 input specially to avoid spurious underflow.
799 * math/s_catanf.c (__catanf): Likewise.
800 * math/s_catanh.c (__catanh): Likewise.
801 * math/s_catanhf.c (__catanhf): Likewise.
802 * math/s_catanhl.c (__catanhl): Likewise.
803 * math/s_catanl.c (__catanl): Likewise.
804 * math/libm-test.inc (catan_test): Add more tests.
805 (catanh_test): Likewise.
806 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
808
cb4d5414
AZ
8092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
810
811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
812
caf84319
JM
8132013-04-30 Joseph Myers <joseph@codesourcery.com>
814
815 [BZ #15416]
816 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
817 accurately for denominator in atan2.
818 * math/s_catanf.c (__catanf): Likewise.
819 * math/s_catanh.c (__catanh): Likewise.
820 * math/s_catanhf.c (__catanhf): Likewise.
821 * math/s_catanhl.c (__catanhl): Likewise.
822 * math/s_catanl.c (__catanl): Likewise.
823 * math/libm-test.inc (catan_test): Add more tests.
824 (catanh_test): Likewise.
825 * sysdeps/i386/fpu/libm-test-ulps: Update.
826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
827
d569c6ee
SP
8282013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
829
6dbe713d
SP
830 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
831
f0ee064b
SP
832 * benchtests/Makefile (bench): Remove slow benchmarks.
833 * benchtests/atan-inputs: Add slow benchmark inputs.
834 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
835 (BENCH_FUNC): Accept variant offset.
836 (VARIANT): Define.
837 * benchtests/bench-skeleton.c (main): Run benchmark for each
838 variant.
839 * benchtests/cos-inputs: Add slow benchmark inputs.
840 * benchtests/exp-inputs: Likewise.
841 * benchtests/pow-inputs: Likewise.
842 * benchtests/sin-inputs: Likewise.
843 * benchtests/slowatan-inputs: Remove.
844 * benchtests/slowatan.c: Remove.
845 * benchtests/slowcos-inputs: Remove.
846 * benchtests/slowcos.c: Remove.
847 * benchtests/slowexp-inputs: Remove.
848 * benchtests/slowexp.c: Remove.
849 * benchtests/slowpow-inputs: Remove.
850 * benchtests/slowpow.c: Remove.
851 * benchtests/slowsin-inputs: Remove.
852 * benchtests/slowsin.c: Remove.
853 * benchtests/slowtan-inputs: Remove.
854 * benchtests/slowtan.c: Remove.
855 * benchtests/tan-inputs: Add slow benchmark inputs.
856 * scripts/bench.pl: Parse comments and directives.
857
d569c6ee
SP
858 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
859 in CPPFLAGS.
860 ($(objpfx)bench-%.c): Remove *-ITER.
861 * benchtests/bench-modf.c: Remove definition of ITER.
862 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
863 (main): Loop for DURATION seconds instead of fixed number of
864 iterations.
865 * scripts/bench.pl: Don't expect iterations in parameters.
866
a6a242fe
RM
8672013-04-29 Roland McGrath <roland@hack.frob.com>
868
869 * io/fchdir.c (__fchdir): Renamed from fchdir.
870 (fchdir): Define as weak alias.
871
f2da7793
JM
8722013-04-29 Joseph Myers <joseph@codesourcery.com>
873
874 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
875 (ERRNO_EDOM): Likewise.
876 (ERRNO_ERANGE): Likewise.
877 (noErrnoTests): New variable.
878 (init_max_error): Set errno to 0.
879 (test_single_errno): New function.
880 (test_errno): Likewise.
881 (check_float_internal): Call test_errno. Set errno to 0.
882 (check_complex): Refer to errno tests in comment.
883 (check_int): Call test_errno. Set errno to 0.
884 (check_long): Likewise.
885 (check_bool): Likewise.
886 (check_longlong): Likewise.
887 (cos_test): Use ERRNO_* flags for errno tests instead of
888 check_int.
889 (expm1_test): Likewise.
890 (fmod_test): Likewise.
891 (ilogb_test): Likewise.
892 (lgamma_test): Likewise.
893 (pow_test): Likewise.
894 (remainder_test): Likewise.
895 (sin_test): Likewise.
896 (tan_test): Likewise.
897 (yn_test): Likewise.
898 (initialize): Set errno to 0.
899 (main): Print number of errno tests.
900 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
901
b1a36ceb
AJ
9022013-04-29 Andreas Jaeger <aj@suse.de>
903
c3ed8088
AJ
904 [BZ #15084]
905 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
906 and RES_USEVC.
907
f1a24198
AJ
908 [BZ #15085]
909 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
910 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
911 unimplemented.
912
9ce3b2cb
AJ
913 [BZ #15380]
914 * stdlib/random.c (__initstate): Return NULL if
915 __initstate fails.
916
f1a24198 917 [BZ #15086]
b1a36ceb
AJ
918 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
919 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
920 RES_SNGLKUPREOP.
921
7e7b6f36
AZ
9222013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
923
924 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
925
4d14f449
JM
9262013-04-29 Joseph Myers <joseph@codesourcery.com>
927
928 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
929 of individual tests.
930 (casin_test): Likewise.
931 (casinh_test): Likewise.
932
5b4217d7
JM
9332013-04-27 Joseph Myers <joseph@codesourcery.com>
934
935 [BZ #15409]
936 * math/s_catan.c (__catan): Handle arguments with large real or
937 imaginary part separately without squaring.
938 * math/s_catanf.c (__catanf): Likewise.
939 * math/s_catanh.c (__catanh): Likewise.
940 * math/s_catanhf.c (__catanhf): Likewise.
941 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
942 and redefine.
943 (__catanhl): Handle arguments with large real or imaginary part
944 separately without squaring.
945 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
946 and redefine.
947 (__catanl): Handle arguments with large real or imaginary part
948 separately without squaring.
949 * math/libm-test.inc (catan_test): Add more tests.
950 (catanh_test): Likewise.
951 * sysdeps/i386/fpu/libm-test-ulps: Update.
952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
953
4220c3ef
AJ
9542013-04-27 Andreas Jaeger <aj@suse.de>
955
956 [BZ #15007]
957 * stdlib/stdlib.h: Update guards for qecvt.
958 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
959 <stdlib.h>.
960
4721b2d1
AM
9612013-04-27 Allan McRae <allan@archlinux.org>
962
963 * sysdeps/i386/fpu/libm-test-ulps: Update.
964
f0302940
JM
9652013-04-26 Joseph Myers <joseph@codesourcery.com>
966
9457fd95
JM
967 [BZ #15406]
968 * math/s_catan.c: Include <float.h>.
969 (__catan): Ensure underflow exception occurs for underflowed
970 result.
971 * math/s_catanf.c: Include <float.h>.
972 (__catanf): Ensure underflow exception occurs for underflowed
973 result.
974 * math/s_catanh.c: Include <float.h>.
975 (__catanh): Ensure underflow exception occurs for underflowed
976 result.
977 * math/s_catanhf.c: Include <float.h>.
978 (__catanhf): Ensure underflow exception occurs for underflowed
979 result.
980 * math/s_catanhl.c: Include <float.h>.
981 (__catanhl): Ensure underflow exception occurs for underflowed
982 result.
983 * math/s_catanl.c: Include <float.h>.
984 (__catanl): Ensure underflow exception occurs for underflowed
985 result.
986 * math/libm-test.inc (catan_test): Add more tests.
987 (catanh_test): Likewise.
988
f0302940
JM
989 [BZ #15405]
990 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
991 underflowed result.
992 * math/s_ccoshf.c (__ccoshf): Likewise.
993 * math/s_ccoshl.c (__ccoshl): Likewise.
994 * math/s_csin.c (__csin): Likewise.
995 * math/s_csinf.c (__csinf): Likewise.
996 * math/s_csinh.c (__csinh): Likewise.
997 * math/s_csinhf.c (__csinhf): Likewise.
998 * math/s_csinhl.c (__csinhl): Likewise.
999 * math/s_csinl.c (__csinl): Likewise.
1000 * math/libm-test.inc (ccos_test): Add more tests.
1001 (ccosh_test): Likewise.
1002 (csin_test): Likewise.
1003 (csinh_test): Likewise.
1004
aa630f59
AZ
10052013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1006
1007 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
1008 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
1009 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
1010 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
1011 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
1012 powerpc/power5+/fpu folders.
1013 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
1014
1015
1b835983
MT
10162013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
1017
1018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1019
73709b26
JM
10202013-04-25 Joseph Myers <joseph@codesourcery.com>
1021
1022 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
1023 additions to variable.
1024 [$(config-machine) = x86_64] (modules-names): Likewise.
1025 ($(objpfx)tst-audit3): Remove dependency.
1026 ($(objpfx)tst-audit3.out): Likewise.
1027 ($(objpfx)tst-audit4): Likewise.
1028 ($(objpfx)tst-audit4.out): Likewise.
1029 ($(objpfx)tst-audit5): Likewise.
1030 ($(objpfx)tst-audit5.out): Likewise.
1031 ($(objpfx)tst-audit6): Likewise.
1032 ($(objpfx)tst-audit6.out): Likewise.
1033 ($(objpfx)tst-audit7): Likewise.
1034 ($(objpfx)tst-audit7.out): Likewise.
1035 (tst-audit3-ENV): Remove variable.
1036 (tst-audit4-ENV): Likewise.
1037 (tst-audit5-ENV): Likewise.
1038 (tst-audit6-ENV): Likewise.
1039 (tst-audit7-ENV): Likewise.
1040 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1041 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1042 addition to variable.
1043 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1044 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1045 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1046 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1047 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1048 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1049 tst-audit3, tst-audit4 and tst-audit5.
1050 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1051 tst-audit6 and tst-audit7.
1052 [$(subdir) = elf] (modules-names): Add audit modules for those
1053 tests.
1054 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1055 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1056 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1057 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1058 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1059 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1060 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1061 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1062 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1063 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1064 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1065 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1066 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1067 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1068 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1069 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1070 Likewise.
1071 [$(subdir) = elf && $(config-cflags-avx) = yes]
1072 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1073 [$(subdir) = elf && $(config-cflags-avx) = yes]
1074 (CFLAGS-tst-auditmod4a.c): Likewise.
1075 [$(subdir) = elf && $(config-cflags-avx) = yes]
1076 (CFLAGS-tst-auditmod4b.c): Likewise.
1077 [$(subdir) = elf && $(config-cflags-avx) = yes]
1078 (CFLAGS-tst-auditmod6b.c): Likewise.
1079 [$(subdir) = elf && $(config-cflags-avx) = yes]
1080 (CFLAGS-tst-auditmod6c.c): Likewise.
1081 [$(subdir) = elf && $(config-cflags-avx) = yes]
1082 (CFLAGS-tst-auditmod7b.c): Likewise.
1083 * elf/tst-audit3.c: Move to ...
1084 * sysdeps/x86_64/tst-audit3.c: ... here.
1085 * elf/tst-audit4.c: Move to ...
1086 * sysdeps/x86_64/tst-audit4.c: ... here.
1087 * elf/tst-audit5.c: Move to ...
1088 * sysdeps/x86_64/tst-audit5.c: ... here.
1089 * elf/tst-audit6.c: Move to ...
1090 * sysdeps/x86_64/tst-audit6.c: ... here.
1091 * elf/tst-audit7.c: Move to ...
1092 * sysdeps/x86_64/tst-audit7.c: ... here.
1093 * elf/tst-auditmod3a.c: Move to ...
1094 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1095 * elf/tst-auditmod3b.c: Move to ...
1096 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1097 * elf/tst-auditmod4a.c: Move to ...
1098 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1099 * elf/tst-auditmod4b.c: Move to ...
1100 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1101 * elf/tst-auditmod5a.c: Move to ...
1102 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1103 * elf/tst-auditmod5b.c: Move to ...
1104 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1105 * elf/tst-auditmod6a.c: Move to ...
1106 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1107 * elf/tst-auditmod6b.c: Move to ...
1108 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1109 * elf/tst-auditmod6c.c: Move to ...
1110 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1111 * elf/tst-auditmod7a.c: Move to ...
1112 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1113 * elf/tst-auditmod7b.c: Move to ...
1114 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1115
1ef74943
PP
11162013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1117
1118 [BZ #15366]
1119 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1120 define unconditionally.
1121 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1122 define unconditionally.
1123 (INT8_C, INT16_C, etc.): Likewise.
1124
93fd48c5
MR
11252013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1126
ae9552cf
MR
1127 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1128 __ehdr_start with hidden visibility.
1129
93fd48c5
MR
1130 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1131
418601aa
CD
11322013-04-24 Carlos O'Donell <carlos@redhat.com>
1133
1134 * math/libm-test.inc (cos_test): Use accurate hex constants.
1135 (sincost_test): Likewise.
1136
2f38fbfe
JM
11372013-04-24 Joseph Myers <joseph@codesourcery.com>
1138
5e221800
JM
1139 * math/libm-test.inc (catan_test): Add more tests.
1140 (catanh_test): Likewise.
1141
77f143fd
JM
1142 * math/s_catanf.c (__catanf): Use suffixed floating-point
1143 constants.
1144 * math/s_catanhf.c (__catanhf): Likewise.
1145 * math/s_catanhl.c (__catanhl): Likewise.
1146 * math/s_catanl.c (__catanl): Likewise.
1147
2f38fbfe
JM
1148 [BZ #15394]
1149 * math/s_catan.c (__catan): Calculate imaginary part of result
1150 with log1p not log unless computing log of number close to 0.
1151 * math/s_catanf.c (__catanf): Likewise.
1152 * math/s_catanl.c (__catanl): Likewise.
1153 * math/s_catanh.c (__catanh): Calculate real part of result with
1154 log1p not log unless computing log of number close to 0.
1155 * math/s_catanhf.c (__catanhf): Likewise.
1156 * math/s_catanhl.c (__catanhl): Likewise.
1157 * math/libm-test.inc (catan_test): Add more tests.
1158 (catanh_test): Likewise.
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1161
45d69176
SP
11622013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1163
1164 * benchtests/Makefile: Mention files in which fast and slow
1165 paths of math functions are implemented.
1166
87f51853
RM
11672013-04-23 Roland McGrath <roland@hack.frob.com>
1168
1169 * sysdeps/posix/timespec_get.c: New file.
1170
3c026539
AZ
11712013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1174 POWER.
1175 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1176 for POWER.
1177 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1178 powerpc/power5/fpu folders.
1179 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1180 * benchtests/Makefile: Add modf testcase.
1181 * benchtests/bench-modf.c: New file: Benchmark test for mo
1182
ff491d14
SP
11832013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1184
1185 [BZ #14888]
1186 * time/Makefile (tests): Add tst-strptime-whitespace.
1187 * time/strptime_l.c (get_number): Use ISSPACE.
1188 (__strptime_internal): Likewise.
1189 * time/tst-strptime-whitespace.c: New test case.
1190
7ed3f4e8
AS
11912013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1192
1193 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1194 member.
1195 (_nss_files_init): Set it here.
1196
5c95f7b6
HC
11972013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1198
1199 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1200 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1201 unsigned.
1202
d34c9158
JBG
12032013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1204
1205 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1206
2169712d
SP
12072013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1208
1209 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1210 size just once.
1211
29c5de99
DM
12122013-04-21 David S. Miller <davem@davemloft.net>
1213
1214 * po/ru.po: Update Russion translation from translation project.
1215
ccdad15d
AC
12162013-04-17 Adam Conrad <adconrad@0c3.net>
1217
1218 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1219 and setfsgid.
1220
0f122b8d
CD
12212013-04-17 Carlos O'Donell <carlos@redhat.com>
1222
5c5b07da 1223 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1224 * configure: Regenerate.
5c5b07da 1225 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1226 Add example to error message.
1227 * sysdeps/i386/configure: Regenerate.
1228
037714dd
SP
12292013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1230
1231 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1232 slowtan.
1233 * benchtests/cos-inputs: New file.
1234 * benchtests/slowcos-inputs: New file.
1235 * benchtests/slowcos.c: New file.
1236 * benchtests/slowtan-inputs: New file.
1237 * benchtests/slowtan.c: New file.
1238 * benchtests/tan-inputs: New file.
1239
e913141d
RM
12402013-04-16 Roland McGrath <roland@hack.frob.com>
1241
1242 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1243 considered kosher.
1244
a2964074
SP
12452013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1246
4856bcd2
SP
1247 * benchtests/Makefile: Include cppflags-iterator.mk to add
1248 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1249
a2964074
SP
1250 * Makefile.in (bench-clean): New target.
1251 * benchtests/Makefile (bench-clean): Likewise.
1252
9fbf9aca
DH
12532013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1254
1255 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1256
207d1e2a
TS
12572013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1258
1259 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1260
306dfba9
AS
12612013-04-15 Andreas Schwab <schwab@suse.de>
1262
1263 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1264 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1265 * nscd/pwdcache.c (cache_addpw): Likewise.
1266 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1267 more than recsize.
1268
206a6699
SP
12692013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1270
1271 * benchtests/Makefile (bench): Write all output to
1272 bench-out.tmp together.
1273
0582f6b3
AS
12742013-04-15 Andreas Schwab <schwab@suse.de>
1275
1276 * nscd/nscd.c (main): Don't fork again after closing files.
1277
acb4325f
SP
12782013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1279
5cb26d0a
SP
1280 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1281
acb4325f
SP
1282 * benchtests/Rules (bench-deps): Collect dependencies into a
1283 single variable. Add Makefile to dependencies.
1284 ($(objpfx)bench-%.c): Depend on bench-deps.
1285
47792506
RM
12862013-04-12 Roland McGrath <roland@hack.frob.com>
1287 Xavier Roche <roche+kml2@exalead.com>
1288
1289 [BZ #15361]
1290 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1291 just that it's a file descriptor.
1292 * manual/llio.texi (Synchronizing AIO Operations): Update description
1293 for EBADF error from aio_fsync.
1294
8fc1bee5
SP
12952013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1296
1297 * Rules (bench): Move target definition...
1298 * benchtests/Makefile: ... here.
1299
aba5e333
CD
13002013-04-11 Carlos O'Donell <carlos@redhat.com>
1301
1302 * math/libm-test.inc (cos_test): Fix PI/2 test.
1303 (sincos_test): Likewise.
1304 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1305 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1306
273cdee8
AS
13072013-04-11 Andreas Schwab <schwab@suse.de>
1308
6ecec3b6
AS
1309 [BZ #13988]
1310 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1311 accept exponent character only when digits were seen.
1312 * stdio-common/Makefile (tests): Add bug26.
1313 * stdio-common/bug26.c: New file.
1314
273cdee8
AS
1315 [BZ #14293]
1316 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1317 non-freeable.
1318
8da491f5
SP
13192013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1320
01dc6df9
SP
1321 * Makeconfig (rtld-prefix): Define built linker prefix.
1322 * Rules (run-bench): Use it.
1323 * math/Makefile (run-regen-ulps): Likewise.
1324
8da491f5
SP
1325 * Rules (bench): Remove eval.
1326
abe7f530
SP
13272013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1328 Roland McGrath <roland@hack.frob.com>
1329 Ondrej Bilka <neleai@seznam.cz>
1330
1331 [BZ #15346]
1332 * time/getdate.c: Include ctype.h and alloca.h.
1333 (__getdate_r): Trim leading and trailing spaces of input.
1334 * time/tst-getdate.c (tests): Add tests with leading and
1335 trailing spaces.
1336
61c23e62
RM
13372013-04-08 Roland McGrath <roland@hack.frob.com>
1338
1339 [BZ #14280]
1340 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1341 when computing value.
1342
7208a313
CD
13432013-04-06 Carlos O'Donell <carlos@redhat.com>
1344
085b2d41
CD
1345 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1346 Use testrun.sh to run libm tests.
1347
7208a313
CD
1348 [BZ #15309]
1349 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1350
872c0acd
MM
13512013-04-06 Marko Myllynen <myllynen@redhat.com>
1352
1353 [BZ #15264]
1354 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1355
26510bdd
CD
13562013-04-06 Carlos O'Donell <carlos@redhat.com>
1357
1358 * Makefile.in (regen-ulps): New target.
1359 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1360 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1361 [ifneq (no,$(PERL)] (regen-ulps): New target.
1362 [ifeq (no,$(PERL)] (regen-ulps): New target.
1363 * math/libm-test.inc (ulps_file_name): Define.
1364 (output_dir): New variable.
1365 (options): Add "output-dir" option.
1366 (parse_opt): Handle 'o' case.
1367 (main): If output_dir is non-NULL use it as a prefix
1368 otherwise use "".
1369 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1370
a01f19c8
CD
13712013-04-06 Carlos O'Donell <carlos@redhat.com>
1372
1373 [BZ #10060, #10062]
1374 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1375 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1376 fail configure if __sync_val_compare_and_swap is not inlined.
1377 * sysdeps/i386/configure: Regenerate.
1378 * configure.in: Build for i686 when configured for i386.
1379 * configure: Regenerate.
1380 * README: Remove i386 reference.
1381
b7a329a5
CD
13822013-04-06 Carlos O'Donell <carlos@redhat.com>
1383
1384 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1386
bf0f50df
TS
13872013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1388
ee091edf
TS
1389 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1390 (lmsnanval): New variables.
1391 (F): Add conversion tests.
1392 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1393 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1394
a8b792d6
TS
1395 * stdio-common/tstdiomisc.c (F): Properly collect individual
1396 tests' results.
1397
a1cbf437
TS
1398 [BZ #14686, #15336]
1399 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1400 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1401 Instead, use input NaN values or generate a qNaN by arithmetic
1402 operation. Also fix bugs to comply with the standard.
1403 * math/libm-test.inc (remainder_test): Add more tests.
1404
8b43a0c9
TS
1405 [BZ #15335, #15342]
1406 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1407 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1408 input NaN values or generate a qNaN by arithmetic operation.
1409
d91da4ce
TS
1410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1411 unreachable code.
1412
bf0f50df
TS
1413 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1414 definitions.
1415
05e166c8
JM
14162013-04-03 Joseph Myers <joseph@codesourcery.com>
1417
1418 [BZ #14478]
1419 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1420 underflowed result.
1421 * math/s_cexpf.c (__cexpf): Likewise.
1422 * math/s_cexpl.c (__cexpl): Likewise.
1423 * math/libm-test.inc (cexp_test): Add more tests.
1424
1cef1b19
AS
14252013-04-03 Andreas Schwab <schwab@suse.de>
1426
1427 [BZ #15330]
1428 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1429 order arrays from heap if bigger than alloca cutoff.
1430
74d87055
TS
14312013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1432
1433 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1434 (SNAN_TESTS_double): Refer to GCC PR56831.
1435 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1436 GCC PR56828.
1437
d755bba4
SP
14382013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1439
90d5d5bb
SP
1440 * Rules (bench): Move bench.out after the run is complete.
1441
73e0cd5d
SP
1442 * Rules (bench): Echo currently running benchmark.
1443
64aabd4b
SP
1444 * benchtests/Makefile (bench): Add atan and slowatan.
1445 * benchtests/atan-inputs: New file.
1446 * benchtests/slowatan-inputs: New file.
1447 * benchtests/slowatan.c: New file.
1448
c871eccd
SP
1449 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1450 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1451 its value.
1452
d755bba4
SP
1453 [BZ #15305]
1454 * sysdeps/unix/sysv/linux/kernel-features.h
1455 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1456 __ASSUME_XFS_RESTRICTED_CHOWN.
1457 * sysdeps/unix/sysv/linux/pathconf.c
1458 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1459 Save and restore errno.
1460
52ce4860
JM
14612013-04-02 Joseph Myers <joseph@codesourcery.com>
1462
1463 [BZ #15327]
1464 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1465 arguments using __kernel_casinh.
1466 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1467 arguments using __kernel_casinhf.
1468 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1469 arguments using __kernel_casinhl.
1470 * math/libm-test.inc (cacosh_test): Add more tests.
1471 * sysdeps/i386/fpu/libm-test-ulps: Update.
1472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1473
81f311c2
SP
14742013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1475
e7906a47
SP
1476 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1477 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1478
92e3664b
SP
1479 * bench/Makefile (bench): Add sin and slowsin.
1480 * benchtests/sin-inputs: New file.
1481 * benchtests/slowsin-inputs: New file.
1482 * benchtests/slowsin.c: New file.
1483
81f311c2
SP
1484 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1485 (bench): Add slowexp and slowpow.
1486 (exp-ITER): Increase iterations.
1487 (pow-ITER): Likewise.
1488 * benchtests/exp-inputs: Change input.
1489 * benchtests/pow-inputs: Likewise.
1490 * benchtests/slowexp-inputs: New file.
1491 * benchtests/slowexp.c: New file.
1492 * benchtests/slowpow-inputs: New file.
1493 * benchtests/slowpow.c: New file.
1494
ab0f1aa9
AZ
14952013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1496
1497 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1498 instructions.
1499 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1500 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1501 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1502 * benchtests/Makefile: Add rint benchtest.
1503 * benchtests/rint-inputs: Input for rint benchtest.
1504
57267616
TS
15052013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1506
1507 * Versions.def (libm): Add GLIBC_2.18.
1508 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1509 hidden libm prototypes.
1510 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1511 * math/Makefile (libm-calls): Add s_issignaling.
1512 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1513 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1514 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1515 declaration.
1516 * math/math.h [__USE_GNU] (issignaling): New macro.
1517 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1518 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1520 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1521 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1523 * manual/arith.texi (issignaling): New section.
1524 * manual/libm-err-tab.pl (@all_functions): Update comment.
1525 * math/gen-libm-test.pl (parse_args): Apply special handling for
1526 issignaling.
1527 * math/libm-test.inc (print_float, issignaling_test): New
1528 functions.
1529 (check_float_internal): Add issignaling checks.
1530 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1531 default definition.
1532 * sysdeps/powerpc/math-tests.h: New file.
1533 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1534 tests.
1535 * math/test-snan.c (TEST_FUNC): Likewise.
1536
6142896d
DM
15372013-03-30 David S. Miller <davem@davemloft.net>
1538
1539 * po/de.po: Update from translation team.
1540
ccc8cadf
JM
15412013-03-30 Joseph Myers <joseph@codesourcery.com>
1542
1543 [BZ #10357]
1544 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1545 imaginary part less than 1.0 and real part less than 0.5
1546 specially.
1547 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1548 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1549 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1550 (cacos_test): Add more tests.
1551 (casin_test): Likewise.
1552 (casinh_test): Likewise.
1553 * sysdeps/i386/fpu/libm-test-ulps: Update.
1554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1555
0f6a8d4b
SP
15562013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1557
0d1029de
SP
1558 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1559 ONE with its value.
1560
c2d94018
SP
1561 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1562 (__pow_mp): Replace ONE and MONE with their values.
1563 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1564 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1565 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1566 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1567 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1568 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1569
27ec37f1
SP
1570 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1571
a64d7e0e
SP
1572 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1573 (__pow_mp): Replace ZERO and MZERO with their values.
1574 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1575 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1576 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1578 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1579 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1580 (__sqr): Likewise.
1581
d26dd3eb
SP
1582 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1583
0f6a8d4b
SP
1584 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1585
e57b0c61
RM
15862013-03-28 Roland McGrath <roland@hack.frob.com>
1587
1588 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1589 Declare with __attribute__ ((weak)).
1590 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1591 Call __call_tls_dtors only if it's not NULL.
1592
356b3480
RM
15932013-03-28 Roland McGrath <roland@hack.frob.com>
1594
288f7d79
RM
1595 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1596 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1597 magic __ehdr_start linker symbol if it's defined.
1598 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1599 them up here if it was already done.
1600
dc0a0263
RM
1601 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1602 (_dl_aux_init): Use const in cast when setting it.
1603 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1604 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1605 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1606
3d3436ae
RM
1607 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1608 Declare them here.
1609 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1610 * csu/libc-tls.c: Nor here.
1611 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1612
356b3480
RM
1613 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1614 (__libc_message): Never call vsyslog.
1615
b0f1246a
AM
16162013-03-28 Alan Modra <amodra@gmail.com>
1617
1618 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1619 Define as empty.
1620 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1621 Likewise.
1622
fbbe2b9a
AZ
16232013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624
1625 [BZ #15214]
1626 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1627 underflow.
1628 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1629
1728ab37
SP
16302013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1631
7a86be6e
SP
1632 [BZ #15304]
1633 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1634 Don't add gid passed as argument.
1635
1728ab37
SP
1636 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1637
3a7182a1
JM
16382013-03-27 Joseph Myers <joseph@codesourcery.com>
1639
1640 [BZ #15307]
1641 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1642 imaginary part between 1.0 and 1.5 and real part less than 0.5
1643 specially.
1644 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1645 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1646 * math/libm-test.inc (cacos_test): Add more tests.
1647 (casin_test): Likewise.
1648 (casinh_test): Likewise.
1649 * sysdeps/i386/fpu/libm-test-ulps: Update.
1650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1651
6f2e90e7
SP
16522013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1653
5739f705
SP
1654 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1655 constants.
1656 (norm): Likewise.
1657 (denorm): Likewise.
1658 (__dbl_mp): Likewise.
1659 (add_magnitudes): Likewise.
1660 (sub_magnitudes): Likewise.
1661 (__add): Likewise.
1662 (__sub): Likewise.
1663 (__mul): Likewise.
1664 (__sqr): Likewise.
1665 (__inv): Likewise.
1666 (__dvd): Likewise.
1667
e375e83d
SP
1668 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1669 commented code.
1670 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1671 (__dubcos): Likewise.
1672 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1673 (__ieee754_acos): Likewise.
1674 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1675 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1676 (__exp1): Likewise.
1677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1679 (log1): Likewise.
1680 (my_log2): Likewise.
1681 (checkint): Likewise.
1682 * sysdeps/ieee754/dbl-64/e_remainder.c
1683 (__ieee754_remainder): Likewise.
1684 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1685 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1686 (bsloww): Likewise.
1687 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1688
6f2e90e7
SP
1689 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1690 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1691 MANTISSA_STORE_T to store computations on mantissa. Use
1692 macros for rounding and division.
1693 (denorm): Likewise.
1694 (__dbl_mp): Likewise.
1695 (add_magnitudes): Likewise.
1696 (sub_magnitudes): Likewise.
1697 (__mul): Likewise.
1698 (__sqr): Likewise.
1699 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1700 powers of two in terms of TWOPOW macro.
1701 (mp_no): Make type of mantissa as MANTISSA_T.
1702 [!RADIXI]: Define RADIXI.
1703 [!TWO52]: Define TWO52.
1704 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1705
fce14d4e
AZ
17062013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707
1708 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1709 llroundl symbol when building for PPC32.
1710
9ad027fb
MW
17112013-03-24 Mark H Weaver <mhw@netris.org>
1712
1713 * manual/arith.texi (Normalization Functions): Fix prototypes for
1714 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1715
e42a38dd
AZ
17162013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1717
1718 [BZ #13889]
1719 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1720 high value to check if expl overflow.
1721 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1722 to check for underflow and overflow.
1723 * math/libm-test.inc: Add exp test.
1724
2e0fb521
DL
17252013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1726
1727 [BZ #11120]
1728 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1729 with NOT_IN_libc.
1730
b5784d95
AZ
17312013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1732
1733 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1734 symbol.
1735
5aa4a1a1
TS
17362013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1737
bdef0be7
TS
1738 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1739 wrap blocks consisting of several statements.
1740
5aa4a1a1
TS
1741 * sysdeps/generic/math-tests.h: New file.
1742 * sysdeps/i386/fpu/math-tests.h: Likewise.
1743 * math/test-snan.c: Include it.
1744 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1745
98c48fe5
JM
17462013-03-21 Joseph Myers <joseph@codesourcery.com>
1747
1748 [BZ #15285]
1749 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1750 (__ieee754_j0l): Do not improve calculations using cos of twice
1751 input for inputs above LDBL_MAX / 2.0L.
1752 (__ieee754_y0l): Likewise.
1753 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1754 (__ieee754_j1l): Do not improve calculations using cos of twice
1755 input for inputs above LDBL_MAX / 2.0L.
1756 (__ieee754_y1l): Likewise.
1757 * math/libm-test.inc (j0_test): Add another test.
1758 (j1_test): Likewise.
1759 (y0_test): Likewise.
1760 (y1_test): Likewise.
1761 * sysdeps/i386/fpu/libm-test-ulps: Update.
1762
3775a8bc
SP
17632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1764
1765 * Rules ($(objpfx)bench-%.c): Include code from a C source
1766 file.
1767
0a1b2ae6
JM
17682013-03-21 Joseph Myers <joseph@codesourcery.com>
1769
1770 [BZ #15287]
1771 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1772 imaginary part 1.0 and real part less than 0.5 specially.
1773 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1774 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1775 * math/libm-test.inc (cacos_test): Add more tests.
1776 (casin_test): Likewise.
1777 (casinh_test): Likewise.
1778 * sysdeps/i386/fpu/libm-test-ulps: Update.
1779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1780
b33d4ce4
SP
17812013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1782
1783 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1784 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1785
bef0b507
JM
17862013-03-20 Joseph Myers <joseph@codesourcery.com>
1787
1788 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1789 * config.make.in (config-cflags-sse4): Remove variable.
1790 (config-cflags-avx): Likewise.
1791 (config-cflags-sse2avx): Likewise.
1792 (config-cflags-novzeroupper): Likewise.
1793 (config-asflags-i686): Likewise.
1794 (have-mfma4): Likewise.
1795 (have-as-vis3): Likewise.
1796 (MIG): Likewise.
1797 * configure.in (MIG): Do not AC_SUBST.
1798 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1799 (libc_cv_cc_sse4): Do not AC_SUBST.
1800 (libc_cv_cc_avx): Likewise.
1801 (libc_cv_cc_sse2avx): Likewise.
1802 (libc_cv_cc_novzeroupper): Likewise.
1803 (libc_cv_cc_fma4): Likewise.
1804 (libc_cv_as_i686): Likewise.
1805 (libc_cv_sparc_as_vis3): Likewise.
1806 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1807 LIBC_CONFIG_VAR.
1808 (config-asflags-i686): Likewise.
1809 (config-cflags-avx): Likewise.
1810 (config-cflags-sse2avx): Likewise.
1811 (have-mfma4): Likewise.
1812 (config-cflags-novzeroupper): Likewise.
1813 * sysdeps/mach/configure.in (MIG): Likewise.
1814 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1815 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1816 LIBC_CONFIG_VAR.
1817 (config-cflags-avx): Likewise.
1818 (config-cflags-sse2avx): Likewise.
1819 (have-mfma4): Likewise.
1820 (config-cflags-novzeroupper): Likewise.
1821 * configure: Regenerated.
1822 * sysdeps/i386/configure: Likewise.
1823 * sysdeps/mach/configure: Likewise.
1824 * sysdeps/sparc/configure: Likewise.
1825 * sysdeps/x86_64/configure: Likewise.
1826
912cc4b3
RM
18272013-03-20 Roland McGrath <roland@hack.frob.com>
1828
1829 [BZ #14812]
1830 * locale/programs/localedef.c (options): Put N_ translation marker
1831 on argument names, not just descriptions.
1832
04eed2b0
MS
18332013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1834
1835 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1836
a065ceff
OB
18372013-03-20 Ondřej Bílka <neleai@seznam.cz>
1838
9bb2a810 1839 [BZ #14176]
a065ceff
OB
1840 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1841
a600e5ce
RM
18422013-03-19 Roland McGrath <roland@hack.frob.com>
1843
1844 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1845 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1846 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1847 [!BEFORE_ABORT] (before_abort): New function.
1848 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1849 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1850 (writev_for_fatal): New function.
1851 (WRITEV_FOR_FATAL): New macro; call that.
1852 (backtrace_and_maps): New function.
1853 (BEFORE_ABORT): New macro; call that.
1854 (struct str_list): Type removed.
1855 (__libc_message, __libc_fatal): Functions removed.
1856 Include <sysdeps/posix/libc_fatal.c> instead.
1857
6b18bea6
JM
18582013-03-19 Joseph Myers <joseph@codesourcery.com>
1859
1860 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1861 constants.
1862 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1863 double constants.
1864
aaa8cb4b
AS
18652013-03-19 Andreas Schwab <schwab@suse.de>
1866
44673770
AS
1867 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1868 * sysdeps/gnu/configure: Regenerate.
1869
aaa8cb4b
AS
1870 * configure.in: Substitute libc_cv_rtlddir.
1871 * configure: Regenerate.
1872 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1873 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1874 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1875 * elf/Makefile (install-others, CFLAGS-interp.c)
1876 (ldso_install, common-ldd-rewrite): Likewise.
1877 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1878 $(inst_slibdir)/$(rtld-installed-name).
1879 * scripts/rellns-sh: Add -p option.
1880 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1881 for source.
1882
d3cfc668
SP
18832013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1884
1885 * manual/nptl.texi: Renamed to ...
1886 * manual/threads.texi: ... this.
1887 * manual/Makefile (chapters): Update.
1888
0e2b9cdd
RM
18892013-03-18 Roland McGrath <roland@hack.frob.com>
1890
1891 [BZ #14812]
1892 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1893 on argument names, not just descriptions.
0e2b9cdd
RM
1894 * malloc/memusagestat.c (options): Likewise.
1895 * nss/getent.c (options): Likewise.
63270c24
RM
1896
18972013-03-18 Benno Schulenberg <bensberg@justemail.net>
1898
1899 [BZ #14812]
1900 * iconv/iconv_prog.c (options): Put N_ translation marker
1901 on argument names, not just descriptions.
1902 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1903
b2e1393c
OB
19042013-03-18 Ondrej Bilka <neleai@seznam.cz>
1905
1906 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1907 implementation which is faster on all x86_64 architectures.
1908 Tested on AMD, Intel Nehalem, SNB, IVB.
1909 * sysdeps/x86_64/strnlen.S: Likewise.
1910
1911 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1912 Remove all multiarch strlen and strnlen versions.
1913 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1914 Remove strlen and strnlen related parts.
1915
1916 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1917 Inline strlen part.
1918 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1919
1920 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1921 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1922 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1923 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1924 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1925 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1926
ec4ff04d
CD
19272013-03-17 Carlos O'Donell <carlos@redhat.com>
1928
1929 * manual/memory.texi (Malloc Tunable Parameters):
1930 Sort parameters alphabetically. Add comments for missing entries.
1931
cd18e90a
DM
19322013-03-17 David S. Miller <davem@davemloft.net>
1933
1934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1935
2a185d32
JM
19362013-03-16 Joseph Myers <joseph@codesourcery.com>
1937
d2f9799e
JM
1938 [BZ #15283]
1939 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1940 for arguments at most half maximum finite value.
1941 * math/libm-test.inc (j0_test): Add more tests.
1942 (j1_test): Likewise.
1943 (y0_test): Likewise.
1944 (y1_test): Likewise.
1945 * sysdeps/i386/fpu/libm-test-ulps: Update.
1946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1947
2a185d32
JM
1948 [BZ #14155]
1949 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1950 1 / x and functions P and Q for arguments above 0x1p256L.
1951 (__ieee754_y0l): Likewise.
1952 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1953 (__ieee754_y1l): Likewise.
1954 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1955 (j1_test): Likewise.
1956 (y0_test): Likewise.
1957 (y1_test): Likewise.
1958
6cbec759
TS
19592013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1960
1961 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1962 variable.
1963
bc16e260
RM
19642013-03-15 Roland McGrath <roland@hack.frob.com>
1965
aefc9b8c
RM
1966 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1967 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1968 zero since it's initialized to EXEC_PAGESIZE.
1969
bc16e260
RM
1970 * sysdeps/unix/sysv/linux/ldsodefs.h
1971 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1972 * sysdeps/generic/ldsodefs.h: ... here.
1973
a57da955
TS
19742013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1975
af00a34d
TS
1976 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1977
495ded2c
TS
1978 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1979 math/test-snan.c.
1980 * math/test-snan.c: Renamed from
1981 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1982 * math/Makefile (tests): Add test-snan.
1983 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1984 test-powerpc-snan.
1985
777b0332
TS
1986 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1987 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1988 functions.
1989 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1990 __builtin_nan family of functions.
1991 * math/libm-test.inc (initialize): Initialize qnan_value with
1992 __builtin_nan family of functions.
1993 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1994 Remove variables.
1995 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1996 Remove functions.
1997 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1998 storage class. Initialize qNaN_var and sNaN_var with
1999 __builtin_nan and __builtin_nans families of functions,
2000 respectively.
2001
64d063b8
TS
2002 * math/libm-test.inc (acosh_test): Also test with qNaN input.
2003 (sqrt_test): Remove duplicate test with qNaN input.
2004 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
2005 (round_test, signbit_test, significand_test): Note missing +/-Inf
2006 as well as qNaN tests.
2007
67e971f1
TS
2008 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
2009 qNaN_var. Fix a few strings, too.
2010 * math/libm-test.inc (nan_value): Rename to qnan_value.
2011 * math/gen-libm-test.pl (%beautify): Adjust to that.
2012 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
2013 * math/test-misc.c (main): Likewise.
2014 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
2015 to __qnan_bytes, and __qnan_union, respectively.
2016 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
2017 Likewise.
2018 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
2019 and lqnanval, respectively.
2020 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
2021 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
2022 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
2023 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
2024
64487e12
TS
2025 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2026 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2027 doubles.
2028
e015e27b
TS
2029 * math/test-misc.c (main): Fix copy'n'pastos.
2030 * misc/tst-efgcvt.c (special): Likewise.
2031
a57da955
TS
2032 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2033 Remove declarations.
2034
1e380345
SP
20352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2036
2037 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2038 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2039 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2040 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2041
ef26eece
AZ
20422013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2043
2044 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2045 macro to return vdso values correctly in IFUNC implementations.
2046 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2047 Optimization by using IFUNC.
2048
8cfdb7e0
SP
20492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2050 Richard Henderson <rth@redhat.com>
2051 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2052
2053 * Makefile.in (bench): New target.
2054 * NEWS: Mention the benchmark framework.
2055 * Rules (bench): Likewise.
2056 (binaries-bench): Generate binaries for functions to
2057 benchmark.
2058 * benchtests/Makefile: New makefile for benchmark tests.
2059 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2060 programs.
2061 * benchtests/exp-inputs: New input file for EXP function.
2062 * benchtests/pow-inputs: New input file for POW function.
2063 * scripts/bench.pl: New script to generate source files for
2064 benchmark programs.
2065
bcda9880
SP
20662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2067
d22ca8cd
SP
2068 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2069 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2070 computations on mantissa. Use macros for rounding and
2071 division.
2072 (denorm): Likewise.
2073 (__dbl_mp): Likewise.
2074 (add_magnitudes): Likewise.
2075 (sub_magnitudes): Likewise.
2076 (__mul): Likewise.
2077 (__sqr): Likewise.
2078 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2079 powers of two in terms of TWOPOW macro.
2080 (mp_no): Make type of mantissa as MANTISSA_T.
2081 [!RADIXI]: Define RADIXI.
2082 [!TWO52]: Define TWO52.
2083 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2084
bcda9880
SP
2085 * manual/nptl.texi (cindex): Modify threads to pthreads.
2086
06d5adfb
JM
20872013-03-15 Joseph Myers <joseph@codesourcery.com>
2088
2089 * sysdeps/x86_64/preconfigure: Regenerated.
2090
41c7328e
JM
20912013-03-14 Joseph Myers <joseph@codesourcery.com>
2092
2093 [BZ #14155]
2094 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2095 0x1p28 and above.
2096 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2097 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2098 0x1p28 and above.
2099 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2100 * math/libm-test.inc (j0_test): Do not allow one spurious
2101 underflow exception.
2102 (y1_test): Likewise.
2103
e25cfa60
SP
21042013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2105
0409959c
SP
2106 * manual/Makefile (chapters): Add nptl.
2107 * manual/debug.texi (Debugging Support): Add link to Threads
2108 chapter.
2109 * manual/nptl.texi: New file.
2110
e25cfa60
SP
2111 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2112
58a1335e
PB
21132013-03-14 Petr Baudis <pasky@ucw.cz>
2114
2115 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2116 for non-NULL pointer before the memory validity test. Pointed
2117 out by Holger Brunck <holger.brunck@keymile.com>.
2118
9dc7c64f
AS
21192013-03-13 Andreas Schwab <schwab@suse.de>
2120
2121 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2122 instead of .os.
2123
54206aa6
JM
21242013-03-13 Joseph Myers <joseph@codesourcery.com>
2125
2126 * timezone/zic.c: Update from tzcode 2013b.
2127
e98cdb38
CD
21282013-03-12 Carlos O'Donell <carlos@redhat.com>
2129
2130 * manual/install.texi (Configuring and compiling):
2131 Mention i686 and i586.
2132 * INSTALL: Regenerate.
2133
9967e003
RM
21342013-03-12 Roland McGrath <roland@hack.frob.com>
2135
2136 * sysdeps/init_array/elf-init.c: New file.
2137 * csu/elf-init.c
2138 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2139 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2140
2141 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2142 __gmon_start__ as global, but as static with a .preinit_array pointer.
2143 * sysdeps/init_array/gmon-start.c: New file. Use that.
2144 * sysdeps/init_array/crti.S: New file, empty except for comments.
2145 * sysdeps/init_array/crtn.S: Likewise.
2146
e6b5a293 21472013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2148
2149 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2150 definining bcopy.
80f844c9
OB
2151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2152 Remove Prefer_SSE_for_memop.
2153 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2154 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2155 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2156 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2157 memset-x86-64.
80f844c9 2158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2159 Remove bzero, memset ifunc support.
80f844c9
OB
2160 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2161 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2162 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2163 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2164
fb6b0fcb
AS
21652013-03-11 Andreas Schwab <schwab@suse.de>
2166
2167 [BZ #15234]
2168 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2169 by SHLIB_COMPAT.
2170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2171 (GLIBC_2.16): Remove pthread_atfork.
2172
3e6bd4b1
PP
21732013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2174
2175 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2176 (ptestcases.h): Likewise.
2177
222d7f00
RM
21782013-03-08 Roland McGrath <roland@hack.frob.com>
2179
2180 * Makeconfig ($(common-objpfx)config.status): Depend on
2181 sysdeps/*/preconfigure{,.in} too.
2182
1ba4f030
JM
21832013-03-08 Joseph Myers <joseph@codesourcery.com>
2184
a222d91a
JM
2185 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2186 (__free_hook): Use void * instead of __malloc_ptr_t.
2187 (__malloc_hook): Likewise.
2188 (__realloc_hook): Likewise.
2189 (__memalign_hook): Likewise.
2190 (__after_morecore_hook): Likewise.
2191 * malloc/arena.c (save_malloc_hook): Likewise.
2192 (save_free_hook): Likewise.
2193 * malloc/hooks.c (malloc_hook_ini): Likewise.
2194 (realloc_hook_ini): Likewise.
2195 (memalign_hook_ini): Likewise.
2196 * malloc/malloc.c (malloc_hook_ini): Likewise.
2197 (realloc_hook_ini): Likewise.
2198 (memalign_hook_ini): Likewise.
2199 (__free_hook): Likewise.
2200 (__malloc_hook): Likewise.
2201 (__realloc_hook): Likewise.
2202 (__memalign_hook): Likewise.
2203 (__libc_malloc): Likewise.
2204 (__libc_free): Likewise.
2205 (__libc_realloc): Likewise.
2206 (__libc_memalign): Likewise.
2207 (__libc_valloc): Likewise.
2208 (__libc_pvalloc): Likewise.
2209 (__libc_calloc): Likewise.
2210 (__posix_memalign): Likewise.
2211 * malloc/morecore.c (__sbrk): Likewise.
2212 (__default_morecore): Likewise.
2213
5cc45e10
JM
2214 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2215
dd54b864
JM
2216 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2217 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2218 __malloc_ptrdiff_t.
2219
1ba4f030
JM
2220 * malloc/malloc.h (__malloc_size_t): Remove macro.
2221 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2222 __malloc_size_t.
2223 (old_memalign_hook): Likewise.
2224 (old_realloc_hook): Likewise.
2225 (struct hdr): Likewise.
2226 (flood): Likewise.
2227 (mallochook): Likewise.
2228 (memalignhook): Likewise.
2229 (reallochook): Likewise.
2230 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2231 (tr_old_realloc_hook): Likewise.
2232 (tr_old_memalign_hook): Likewise.
2233 (tr_mallochook): Likewise.
2234 (tr_reallochook): Likewise.
2235 (tr_memalignhook): Likewise.
2236
edf66e57
AZ
22372013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2238
2239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2240 default_ldbl_pack and using as default implementation.
2241 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2242 implementation.
2243 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2244 redundant definition.
2245 (ldbl_insert_mantissa): Likewise.
2246 (ldbl_canonicalize): Likewise.
2247 (ldbl_nearbyint): Likewise.
2248 (ldbl_pack): Rename to ldbl_pack_ppc.
2249 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2250 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2251 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2252
6d9145d8
SP
22532013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2254
2255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2256 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2257 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2258 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2260 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2261 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2262 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2263
4dd4e157
AJ
22642013-03-07 Andreas Jaeger <aj@suse.de>
2265
2266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2267 bits/mman-linux.h.
2268
adbb8027
SP
22692013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2270
ce544b5b
SP
2271 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2272 Include mpa.h and declare __MPEXP.
2273 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2274 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2275 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2276 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2277 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2278 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2279 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2280
4cc149fd
SP
2281 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2282 (__slowpow): Use long double EXPL and LOGL functions to
2283 compute POW.
2284 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2285 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2286 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2287 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2288 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2289 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2290
e6ebd4a7
SP
2291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2292 intermediate variable to calculate exponent.
2293 (__sqr): Likewise.
2294 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2295 Likewise.
2296 (__sqr): Likewise.
2297
82a9811d
SP
2298 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2299 [!NO__SQR]: Define __sqr.
2300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2301 and NO__SQR. Remove all code except __mul and __sqr. Include
2302 sysdeps/ieee754/dbl-64/mpa.c.
2303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2304
adbb8027
SP
2305 [BZ #12723]
2306 * posix/Makefile (tests): Add tst-pathconf.
2307 * posix/tst-pathconf.c: New test case.
2308 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2309 _PC_PIPE_BUF.
2310 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2311
39120df9
PF
23122013-03-06 Patsy Franklin <pfrankli@redhat.com>
2313
2314 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2315
67525cb8
AJ
23162013-03-06 Andreas Jaeger <aj@suse.de>
2317
664a9ce4
AJ
2318 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2319 definition via __MAP_ANONYMOUS.
2320
8e39047d
AJ
2321 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2322 it's not part of Linux headers.
2323
67525cb8
AJ
2324 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2325 (MAP_HUGE_MASK): Define.
2326
2327 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2328 Define.
2329 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2330 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2331 Define.
2332 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2333 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2334 Define.
2335 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2336 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2337 Define.
2338 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2339
2340 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2341 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2342 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2343 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2344 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2345 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2346
2347 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2348 Handle f2fs.
2349
2350 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2351 Handle f2fs and efivarfs.
2352
2353 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2354 f2fs.
2355
2356 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2357 (EFIVARFS_MAGIC): Add.
2358 (F2FS_LINK_MAX): Add.
2359
e1b42695
PP
23602013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2361
2362 * stdio-common/vfprintf.c: Replace __builtin_expect with
2363 __glibc_unlikely.
2364
2d67d91a
JM
23652013-03-06 Joseph Myers <joseph@codesourcery.com>
2366
2367 [BZ #13550]
2368 * sysdeps/generic/bp-sym.h: Remove file.
2369 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2370 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2371 <bp-sym.h> and <bp-asm.h>.
2372 (__longjmp): Don't use BP_SYM.
2373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2374 and <bp-asm.h>.
2375 (memcpy): Don't use BP_SYM.
2376 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2377 <bp-sym.h> and <bp-asm.h>.
2378 (memcpy): Don't use BP_SYM.
2379 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2380 <bp-asm.h>.
2381 (memcpy): Don't use BP_SYM.
2382 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2383 <bp-asm.h>.
2384 (memset): Don't use BP_SYM.
2385 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2386 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2387 (__bzero): Don't use BP_SYM.
2388 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2389 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2390 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2391 <bp-sym.h> and <bp-asm.h>.
2392 (memcmp): Don't use BP_SYM. Remove comment about bounded
2393 pointers.
2394 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2395 <bp-sym.h> and <bp-asm.h>.
2396 (memcpy): Don't use BP_SYM.
2397 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2398 <bp-sym.h> and <bp-asm.h>.
2399 (memset): Don't use BP_SYM.
2400 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2401 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2402 (__bzero): Don't use BP_SYM.
2403 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2404 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2405 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2406 <bp-sym.h> and <bp-asm.h>.
2407 (strncmp): Don't use BP_SYM. Remove comment about bounded
2408 pointers.
2409 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2410 <bp-sym.h> and <bp-asm.h>.
2411 (memcpy): Don't use BP_SYM.
2412 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2413 <bp-sym.h> and <bp-asm.h>.
2414 (memset): Don't use BP_SYM.
2415 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2416 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2417 (__bzero): Don't use BP_SYM.
2418 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2419 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2420 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2421 <bp-sym.h> and <bp-asm.h>.
2422 (__memchr): Don't use BP_SYM.
2423 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2424 <bp-sym.h> and <bp-asm.h>.
2425 (memcmp): Don't use BP_SYM. Remove comment about bounded
2426 pointers.
2427 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2428 <bp-sym.h> and <bp-asm.h>.
2429 (memcpy): Don't use BP_SYM.
2430 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2431 <bp-sym.h> and <bp-asm.h>.
2432 (__mempcpy): Don't use BP_SYM.
2433 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2434 <bp-sym.h> and <bp-asm.h>.
2435 (__memrchr): Don't use BP_SYM.
2436 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2437 <bp-sym.h> and <bp-asm.h>.
2438 (memset): Don't use BP_SYM.
2439 (__bzero): Likewise.
2440 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2441 <bp-sym.h> and <bp-asm.h>.
2442 (__rawmemchr): Don't use BP_SYM.
2443 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2444 <bp-sym.h> and <bp-asm.h>.
2445 (__STRCMP): Don't use BP_SYM.
2446 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2447 <bp-sym.h> and <bp-asm.h>.
2448 (strchr): Don't use BP_SYM.
2449 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2450 <bp-sym.h> and <bp-asm.h>.
2451 (__strchrnul): Don't use BP_SYM.
2452 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2453 <bp-sym.h> and <bp-asm.h>.
2454 (strlen): Don't use BP_SYM.
2455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2456 <bp-sym.h> and <bp-asm.h>.
2457 (strncmp): Don't use BP_SYM. Remove comment about bounded
2458 pointers.
2459 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2460 <bp-sym.h> and <bp-asm.h>.
2461 (__strnlen): Don't use BP_SYM.
2462 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2463 <bp-sym.h> and <bp-asm.h>.
2464 (__GI__setjmp): Don't use BP_SYM.
2465 (_setjmp): Likewise.
2466 (__sigsetjmp): Likewise.
2467 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2468 (L(start_addresses)): Don't use BP_SYM.
2469 (_start): Likewise.
2470 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2471 <bp-asm.h>.
2472 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2473 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2474 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2475 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2476 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2477 <bp-asm.h>.
2478 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2479 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2480 about bounded pointers.
2481 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2482 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2483 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2484 <bp-asm.h>.
2485 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2486 about bounded pointers. Remove GKM FIXME comments.
2487 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2488 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2489 <bp-asm.h>.
2490 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2491 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2492 Remove GKM FIXME comments.
2493 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2494 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2495 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2496 <bp-asm.h>.
2497 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2498 about bounded pointers. Remove GKM FIXME comment.
2499 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2500 and <bp-asm.h>.
2501 (strncmp): Don't use BP_SYM. Remove comment about bounded
2502 pointers.
2503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2504 <bp-sym.h> and <bp-asm.h>.
2505 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2507 <bp-sym.h> and <bp-asm.h>.
2508 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2509 comment.
2510
cdcf361f
PP
25112013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2512
2513 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2514 call free(NULL).
2515
3c4a2b15
DM
25162013-03-05 David S. Miller <davem@davemloft.net>
2517
2518 * po/es.po: Update from translation team.
2519
cdcf361f 25202013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2521
2522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2523 <bits/mman-linux.h>.
2524 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2525 is fine.
2526 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2527 <bits/mman-linux.h> to end of file.
2528 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2529 is fine.
2530 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2531 <bits/mman-linux.h> to end of file.
2532 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2533 is fine.
2534 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2535 <bits/mman-linux.h> to end of file.
2536
2537 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2538 (MCL_CURRENT, MCL_FUTURE): Define here.
2539
5f67c04f
AK
25402013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2541
8a4473cc 2542 [BZ #15232]
5f67c04f
AK
2543 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2544 attribute_hidden.
2545 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2546
c3e94a95
AK
25472013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2548
2549 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2550 fourth parameter needed for rt_sigprocmask syscall.
2551 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2552 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2553 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2554 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2555 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2556 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2557
cfb6382a
JM
25582013-03-04 Joseph Myers <joseph@codesourcery.com>
2559
2560 [BZ #13550]
2561 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2562 comment about bounded pointers.
2563 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2564 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2565
539d8e01
AJ
25662013-03-04 Andreas Jaeger <aj@suse.de>
2567
2568 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2569 common definitions.
2570
2571 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2572 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2573 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2574 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2576 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2577
2e167a70 25782013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2579
2580 [BZ #15055]
2581 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2582 __ieee754_sqrl instead of __sqrl.
2583
68508633
JM
25842013-03-01 Joseph Myers <joseph@codesourcery.com>
2585
2586 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2587 * sysdeps/powerpc/fpu_control.h: ... here.
2588 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2589 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2590 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2591 * sysdeps/powerpc/bits/mathinline.h: ... here.
2592
7775448e
RM
25932013-03-01 Roland McGrath <roland@hack.frob.com>
2594
2595 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2596 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2597 to just [NEED_DL_SYSINFO_DSO].
2598 * elf/dl-support.c: Likewise.
2599 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2600 * elf/rtld.c (dl_main): Likewise.
2601 * elf/setup-vdso.h (setup_vdso): Likewise.
2602 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2603 * sysdeps/unix/sysv/linux/dl-sysdep.c
2604 (_dl_discover_osversion): Likewise.
2605
4e9b5995
CD
26062013-03-01 Carlos O'Donell <carlos@redhat.com>
2607
2608 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2609 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2610
e23872c8
SP
26112013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2612
e5c74c63
SP
2613 * NEWS: Mention libm performance improvements and non-x86 PI
2614 futex support.
2615
e23872c8
SP
2616 * csu/libc-start.c (__pthread_initialize_minimal): Change
2617 function arguments.
2618 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2619
b5510883
JM
26202013-02-28 Joseph Myers <joseph@codesourcery.com>
2621
2622 [BZ #13550]
2623 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2624 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2625 <bp-sym.h> and <bp-asm.h>.
2626 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2627 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2628 and <bp-asm.h>.
2629 (memcpy): Don't use BP_SYM.
2630 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2631 <bp-asm.h>.
2632 (__mpn_add_n): Don't use BP_SYM.
2633 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2634 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2635 and <bp-asm.h>.
2636 (__mpn_addmul_1): Don't use BP_SYM.
2637 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2638 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2639 <bp-sym.h>.
2640 (_setjmp): Don't use BP_SYM.
2641 (__novmx_setjmp): Likewise.
2642 (__GI__setjmp): Likewise.
2643 (__vmx_setjmp): Likewise.
2644 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2645 <bp-sym.h>.
2646 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2647 (__bzero): Don't use BP_SYM.
2648 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2649 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2650 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2651 <bp-sym.h> and <bp-asm.h>.
2652 (memcpy): Don't use BP_SYM.
2653 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2654 <bp-sym.h> and <bp-asm.h>.
2655 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2656 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2657 <bp-sym.h> and <bp-asm.h>.
2658 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2659 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2660 <bp-asm.h>.
2661 (__mpn_lshift): Don't use BP_SYM.
2662 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2663 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2664 <bp-asm.h>.
2665 (memset): Don't use BP_SYM.
2666 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2667 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2668 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2669 <bp-asm.h>.
2670 (__mpn_mul_1): Don't use BP_SYM.
2671 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2672 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2673 <bp-sym.h> and <bp-asm.h>.
2674 (memcmp): Don't use BP_SYM.
2675 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2676 <bp-sym.h> and <bp-asm.h>.
2677 (memcpy): Don't use BP_SYM.
2678 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2679 <bp-sym.h> and <bp-asm.h>.
2680 (memset): Don't use BP_SYM.
2681 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2682 <bp-sym.h> and <bp-asm.h>.
2683 (strncmp): Don't use BP_SYM.
2684 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2685 <bp-sym.h> and <bp-asm.h>.
2686 (memcpy): Don't use BP_SYM.
2687 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2688 <bp-sym.h> and <bp-asm.h>.
2689 (memset): Don't use BP_SYM.
2690 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2691 <bp-sym.h> and <bp-asm.h>.
2692 (__memchr): Don't use BP_SYM.
2693 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2694 <bp-sym.h> and <bp-asm.h>.
2695 (memcmp): Don't use BP_SYM.
2696 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2697 <bp-sym.h> and <bp-asm.h>.
2698 (memcpy): Don't use BP_SYM.
2699 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2700 <bp-sym.h> and <bp-asm.h>.
2701 (__mempcpy): Don't use BP_SYM.
2702 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2703 <bp-sym.h> and <bp-asm.h>.
2704 (__memrchr): Don't use BP_SYM.
2705 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2706 <bp-sym.h> and <bp-asm.h>.
2707 (memset): Don't use BP_SYM.
2708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2709 <bp-sym.h> and <bp-asm.h>.
2710 (__rawmemchr): Don't use BP_SYM.
2711 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2712 <bp-sym.h> and <bp-asm.h>.
2713 (__STRCMP): Don't use BP_SYM.
2714 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2715 <bp-sym.h> and <bp-asm.h>.
2716 (strchr): Don't use BP_SYM.
2717 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2718 <bp-sym.h> and <bp-asm.h>.
2719 (__strchrnul): Don't use BP_SYM.
2720 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2721 <bp-sym.h> and <bp-asm.h>.
2722 (strlen): Don't use BP_SYM.
2723 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2724 <bp-sym.h> and <bp-asm.h>.
2725 (strncmp): Don't use BP_SYM.
2726 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2727 <bp-sym.h> and <bp-asm.h>.
2728 (__strnlen): Don't use BP_SYM.
2729 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2730 <bp-asm.h>.
2731 (__mpn_rshift): Don't use BP_SYM.
2732 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2733 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2734 <bp-sym.h> and <bp-asm.h>.
2735 (__sigsetjmp): Don't use BP_SYM.
2736 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2737 (L(start_addresses)): Don't use BP_SYM.
2738 (_start): Likewise.
2739 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2740 <bp-asm.h>.
2741 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2742 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2743 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2744 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2745 <bp-asm.h>.
2746 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2747 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2748 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2749 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2750 <bp-asm.h>.
2751 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2752 comments.
2753 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2754 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2755 <bp-asm.h>.
2756 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2757 FIXME comments.
2758 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2759 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2760 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2761 <bp-asm.h>.
2762 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2763 comment.
2764 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2765 and <bp-asm.h>.
2766 (strncmp): Don't use BP_SYM,
2767 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2768 <bp-asm.h>.
2769 (__mpn_sub_n): Don't use BP_SYM.
2770 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2771 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2772 and <bp-asm.h>.
2773 (__mpn_submul_1): Don't use BP_SYM.
2774 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2776 <bp-sym.h> and <bp-asm.h>.
2777 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2779 <bp-sym.h> and <bp-asm.h>.
2780 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2781 comment.
2782
8d19fe64
SP
27832013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2784
2785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2786 Use ZK to minimize writes to Z.
2787 (sub_magnitudes): Simplify code a bit.
2788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2789 Use ZK to minimize writes to Z.
2790 (sub_magnitudes): Simplify code a bit.
2791
85bd816a
RM
27922013-02-27 Roland McGrath <roland@hack.frob.com>
2793
2794 * csu/gmon-start.c: Add special exception to license text.
2795
b5977bf2
RH
27962013-02-27 Richard Henderson <rth@redhat.com>
2797
2798 * scripts/config.guess: Update from config.git.
2799 * scripts/config.sub: Likewise.
2800
11d6e2f2
SP
28012013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2802
09c14ed2
SP
2803 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2804
a688864e
SP
2805 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2806
6295157a
SP
2807 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2808
b8de2202
SP
2809 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2810
11d6e2f2
SP
2811 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2812
7e80ddb8
RM
28132013-02-26 Roland McGrath <roland@hack.frob.com>
2814
2815 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2816 [$(build-shared = yes].
7e80ddb8 2817
7da6d9ed
SP
28182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2819
45f05884
SP
2820 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2821 (__mul): Reduce iterations for calculating mantissa.
2822
2236d359
SP
2823 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2824 MPTWO.
2825 (__mpranred): Likewise.
2826
7da6d9ed
SP
2827 [BZ #15160]
2828 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2829 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2830
b7688c42
PE
28312013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2832
2833 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2834 Define __attribute__.
2835
53a5c423
SP
28362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2837
2838 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2839 unused.
2840 * posix/regex_internal.h (__attribute): Remove.
2841 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2842 (re_string_context_at): Likewise.
2843 (bitset_not): Use __attribute__ and mark function as possibly
2844 unused.
2845 (bitset_merge): Likewise.
2846 (bitset_mask): Likewise.
2847 (re_string_char_size_at): Likewise.
2848 (re_string_wchar_at): Likewise.
2849 (re_string_elem_size_at): Likewise.
2850
60f5a8b5
SP
28512013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2852
2a983a2e
SP
2853 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2854 code.
2855 (cc32): Likewise.
2856
e69804d1
SP
2857 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2858 (__acr): Likewise.
2859 (__cpy): Likewise.
2860 (norm): Likewise.
2861 (denorm): Likewise.
2862 (__dbl_mp): Likewise.
2863 (add_magnitudes): Likewise.
2864 (sub_magnitudes): Likewise.
2865 (__mul): Likewise.
2866 (__inv): Likewise.
2867
2f22a1e8
SP
2868 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2869 style.
2870
8930ddc7
SP
2871 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2872 style.
2873
dc60cb11
SP
2874 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2875 code.
2876
60f5a8b5
SP
2877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2878 up changes with default code.
2879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2880 Likewise.
2881
b4d1fd33
AM
28822013-02-24 Allan McRae <allan@archlinux.org>
2883
faf6f8bc
AM
2884 * manual/socket.texi (The Internet Namespace): Order menu items
2885 to match that in the file.
2886
b4d1fd33
AM
2887 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2888 node listing of the info page menu.
2889
2366713d
JM
28902013-02-21 Joseph Myers <joseph@codesourcery.com>
2891
2892 [BZ #13550]
2893 * sysdeps/i386/bp-asm.h: Remove file.
2894 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2895 (PARMS): Do not use macros from bp-asm.h.
2896 (S1): Likewise.
2897 (S2): Likewise.
2898 (SIZE): Likewise.
2899 (__mpn_add_n): Do not use BP_SYM
2900 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2901 "bp-asm.h".
2902 (PARMS): Do not use macros from bp-asm.h.
2903 (S1): Likewise.
2904 (SIZE): Likewise.
2905 (__mpn_addmul_1): Do not use BP_SYM
2906 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2907 "bp-asm.h".
2908 (PARMS): Do not use macros from bp-asm.h.
2909 (SIGMSK): Likewise.
2910 (_setjmp): Likewise. Do not use BP_SYM.
2911 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2912 "bp-asm.h".
2913 (PARMS): Do not use macros from bp-asm.h.
2914 (SIGMSK): Likewise.
2915 (setjmp): Likewise. Do not use BP_SYM.
2916 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2917 "bp-asm.h".
2918 (PARMS): Do not use macros from bp-asm.h.
2919 (__frexp): Do not use BP_SYM.
2920 (frexp): Likewise.
2921 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2922 "bp-asm.h".
2923 (PARMS): Do not use macros from bp-asm.h.
2924 (__frexpf): Do not use BP_SYM.
2925 (frexpf): Likewise.
2926 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2927 "bp-asm.h".
2928 (PARMS): Do not use macros from bp-asm.h.
2929 (__frexpl): Do not use BP_SYM.
2930 (frexpl): Likewise.
2931 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2932 "bp-asm.h".
2933 (PARMS): Do not use macros from bp-asm.h.
2934 (__remquo): Do not use BP_SYM.
2935 (remquo): Likewise.
2936 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2937 "bp-asm.h".
2938 (PARMS): Do not use macros from bp-asm.h.
2939 (__remquof): Do not use BP_SYM.
2940 (remquof): Likewise.
2941 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2942 "bp-asm.h".
2943 (PARMS): Do not use macros from bp-asm.h.
2944 (__remquol): Do not use BP_SYM.
2945 (remquol): Likewise.
2946 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2947 "bp-asm.h".
2948 (PARMS): Do not use macros from bp-asm.h.
2949 (DEST): Likewise.
2950 (SRC): Likewise.
2951 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2952 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2953 "bp-asm.h".
2954 (PARMS): Do not use macros from bp-asm.h.
2955 (strlen): Do not use BP_SYM.
2956 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2957 "bp-asm.h".
2958 (PARMS): Do not use macros from bp-asm.h.
2959 (S1): Likewise.
2960 (S2): Likewise.
2961 (SIZE): Likewise.
2962 (__mpn_add_n): Do not use BP_SYM.
2963 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2964 "bp-asm.h".
2965 (PARMS): Do not use macros from bp-asm.h.
2966 (S1): Likewise.
2967 (SIZE): Likewise.
2968 (__mpn_addmul_1): Do not use BP_SYM.
2969 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2970 weak_alias.
2971 (bzero): Likewise.
2972 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2973 "bp-asm.h".
2974 (PARMS): Do not use macros from bp-asm.h.
2975 (S): Likewise.
2976 (SIZE): Likewise.
2977 (__mpn_lshift): Do not use BP_SYM.
2978 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2979 "bp-asm.h".
2980 (PARMS): Do not use macros from bp-asm.h.
2981 (DEST): Likewise.
2982 (SRC): Likewise.
2983 (LEN): Likewise.
2984 (memcpy): Likewise. Do not use BP_SYM.
2985 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2986 libc_hidden_def and weak_alias.
2987 (mempcpy): Do not use BP_SYM in weak_alias.
2988 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2989 "bp-asm.h".
2990 (PARMS): Do not use macros from bp-asm.h.
2991 (DEST): Likewise.
2992 (LEN): Likewise.
2993 [!BZERO_P] (CHR): Likewise.
2994 (memset): Likewise. Do not use BP_SYM.
2995 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2996 "bp-asm.h".
2997 (PARMS): Do not use macros from bp-asm.h.
2998 (S1): Likewise.
2999 (SIZE): Likewise.
3000 (__mpn_mul_1): Do not use BP_SYM.
3001 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
3002 "bp-asm.h".
3003 (PARMS): Do not use macros from bp-asm.h.
3004 (S): Likewise.
3005 (SIZE): Likewise.
3006 (__mpn_rshift): Do not use BP_SYM.
3007 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
3008 "bp-asm.h".
3009 (PARMS): Do not use macros from bp-asm.h.
3010 (STR): Likewise.
3011 (CHR): Likewise.
3012 (strchr): Likewise. Do not use BP_SYM.
3013 (index): Do not use BP_SYM in weak_alias.
3014 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
3015 "bp-asm.h".
3016 (PARMS): Do not use macros from bp-asm.h.
3017 (DEST): Likewise.
3018 (SRC): Likewise.
3019 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
3020 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
3021 "bp-asm.h".
3022 (PARMS): Do not use macros from bp-asm.h.
3023 (strlen): Do not use BP_SYM.
3024 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
3025 "bp-asm.h".
3026 (PARMS): Do not use macros from bp-asm.h.
3027 (S1): Likewise.
3028 (S2): Likewise.
3029 (SIZE): Likewise.
3030 (__mpn_sub_n): Do not use BP_SYM.
3031 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3032 "bp-asm.h".
3033 (PARMS): Do not use macros from bp-asm.h.
3034 (S1): Likewise.
3035 (SIZE): Likewise.
3036 (__mpn_submul_1): Do not use BP_SYM.
3037 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3038 "bp-asm.h".
3039 (PARMS): Do not use macros from bp-asm.h.
3040 (S1): Likewise.
3041 (S2): Likewise.
3042 (SIZE): Likewise.
3043 (__mpn_add_n): Do not use BP_SYM.
3044 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3045 weak_alias.
3046 (bzero): Likewise.
3047 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3048 "bp-asm.h".
3049 (PARMS): Do not use macros from bp-asm.h.
3050 (BLK2): Likewise.
3051 (LEN): Likewise.
3052 (memcmp): Do not use BP_SYM.
3053 (bcmp): Do not use BP_SYM in weak_alias.
3054 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3055 "bp-asm.h".
3056 (PARMS): Do not use macros from bp-asm.h.
3057 (DEST): Likewise.
3058 (SRC): Likewise.
3059 (LEN): Likewise.
3060 (memcpy): Likewise. Do not use BP_SYM.
3061 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3062 "bp-asm.h".
3063 (PARMS): Do not use macros from bp-asm.h.
3064 (DEST): Likewise.
3065 (SRC): Likewise.
3066 (LEN): Likewise.
3067 (memmove): Likewise. Do not use BP_SYM.
3068 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3069 "bp-asm.h".
3070 (PARMS): Do not use macros from bp-asm.h.
3071 (DEST): Likewise.
3072 (SRC): Likewise.
3073 (LEN): Likewise.
3074 (__mempcpy): Likewise. Do not use BP_SYM.
3075 (mempcpy): Do not use BP_SYM in weak_alias.
3076 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3077 "bp-asm.h".
3078 (PARMS): Do not use macros from bp-asm.h.
3079 (DEST): Likewise.
3080 (LEN): Likewise.
3081 [!BZERO_P] (CHR): Likewise.
3082 (memset): Likewise. Do not use BP_SYM.
3083 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3084 "bp-asm.h".
3085 (PARMS): Do not use macros from bp-asm.h.
3086 (STR2): Likewise.
3087 (strcmp): Do not use BP_SYM.
3088 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3089 "bp-asm.h".
3090 (PARMS): Do not use macros from bp-asm.h.
3091 (STR): Likewise.
3092 (DELIM): Likewise.
3093 [USE_AS_STRTOK_R] (SAVE): Likewise.
3094 (FUNCTION): Likewise. Do not use BP_SYM.
3095 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3096 aliases.
3097 (strtok_r): Likewise.
3098 (__GI___strtok_r): Likewise.
3099 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3100 (PARMS): Do not use macros from bp-asm.h.
3101 (S): Likewise.
3102 (SIZE): Likewise.
3103 (__mpn_lshift): Do not use BP_SYM.
3104 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3105 (PARMS): Do not use macros from bp-asm.h.
3106 (STR): Likewise.
3107 (CHR): Likewise.
3108 (__memchr): Do not use BP_SYM.
3109 (memchr): Do not use BP_SYM in weak_alias.
3110 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3111 (PARMS): Do not use macros from bp-asm.h.
3112 (BLK2): Likewise.
3113 (LEN): Likewise.
3114 (memcmp): Do not use BP_SYM.
3115 (bcmp): Do not use BP_SYM in weak_alias.
3116 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3117 (PARMS): Do not use macros from bp-asm.h.
3118 (S1): Likewise.
3119 (SIZE): Likewise.
3120 (__mpn_mul_1): Do not use BP_SYM.
3121 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3122 "bp-asm.h".
3123 (PARMS): Do not use macros from bp-asm.h.
3124 (STR): Likewise.
3125 (CHR): Likewise.
3126 (__rawmemchr): Do not use BP_SYM.
3127 (rawmemchr): Do not use BP_SYM in weak_alias.
3128 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3129 (PARMS): Do not use macros from bp-asm.h.
3130 (S): Likewise.
3131 (SIZE): Likewise.
3132 (__mpn_rshift): Do not use BP_SYM.
3133 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3134 (PARMS): Do not use macros from bp-asm.h.
3135 (SIGMSK): Likewise.
3136 (__sigsetjmp): Likewise. Do not use BP_SYM.
3137 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3138 (_start): Do not use BP_SYM.
3139 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3140 (PARMS): Do not use macros from bp-asm.h.
3141 (DEST): Likewise.
3142 (SRC): Likewise.
3143 (__stpcpy): Likewise. Do not use BP_SYM.
3144 (stpcpy): Do not use BP_SYM in weak_alias.
3145 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3146 "bp-asm.h".
3147 (PARMS): Do not use macros from bp-asm.h.
3148 (DEST): Likewise.
3149 (SRC): Likewise.
3150 (LEN): Likewise.
3151 (__stpncpy): Likewise. Do not use BP_SYM.
3152 (stpncpy): Do not use BP_SYM in weak_alias.
3153 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3154 (PARMS): Do not use macros from bp-asm.h.
3155 (STR): Likewise.
3156 (CHR): Likewise.
3157 (strchr): Likewise. Do not use BP_SYM.
3158 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3159 "bp-asm.h".
3160 (PARMS): Do not use macros from bp-asm.h.
3161 (STR): Likewise.
3162 (CHR): Likewise.
3163 (__strchrnul): Likewise. Do not use BP_SYM.
3164 (strchrnul): Do not use BP_SYM in weak_alias.
3165 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3166 "bp-asm.h".
3167 (PARMS): Do not use macros from bp-asm.h.
3168 (STOP): Likewise.
3169 (strcspn): Do not use BP_SYM.
3170 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3171 "bp-asm.h".
3172 (PARMS): Do not use macros from bp-asm.h.
3173 (STR): Likewise.
3174 (STOP): Likewise.
3175 (strpbrk): Likewise. Do not use BP_SYM.
3176 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3177 "bp-asm.h".
3178 (PARMS): Do not use macros from bp-asm.h.
3179 (STR): Likewise.
3180 (CHR): Likewise.
3181 (strrchr): Likewise. Do not use BP_SYM.
3182 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3183 (PARMS): Do not use macros from bp-asm.h.
3184 (SKIP): Likewise.
3185 (strspn): Do not use BP_SYM.
3186 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3187 (PARMS): Do not use macros from bp-asm.h.
3188 (STR): Likewise.
3189 (DELIM): Likewise.
3190 (SAVE): Likewise.
3191 (FUNCTION): Likewise. Do not use BP_SYM.
3192 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3193 aliases.
3194 (strtok_r): Likewise.
3195 (__GI___strtok_r): Likewise.
3196 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3197 (PARMS): Do not use macros from bp-asm.h.
3198 (S1): Likewise.
3199 (S2): Likewise.
3200 (SIZE): Likewise.
3201 (__mpn_sub_n): Do not use BP_SYM.
3202 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3203 "bp-asm.h".
3204 (PARMS): Do not use macros from bp-asm.h.
3205 (S1): Likewise.
3206 (SIZE): Likewise.
3207 (__mpn_submul_1): Do not use BP_SYM.
3208 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3209 <bp-sym.h>.
3210 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3211 and <bp-asm.h>.
3212 (PARMS): Do not use macros from bp-asm.h.
3213 (FLAGS): Likewise.
3214 (PTID): Likewise.
3215 (TLS): Likewise.
3216 (CTID): Likewise.
3217 (__clone): Do not use BP_SYM.
3218 (clone): Do not use BP_SYM in weak_alias.
3219 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3220 and <bp-asm.h>.
3221 (PARMS): Do not use macros from bp-asm.h.
3222 (LEN): Likewise.
3223 (__mmap64): Do not use BP_SYM.
3224 (mmap64): Do not use BP_SYM in weak_alias.
3225 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3226 <bp-sym.h> and <bp-asm.h>.
3227 (PARMS): Do not use macros from bp-asm.h.
3228 (__posix_fadvise64_l64): Do not use BP_SYM.
3229 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3230 (PARMS): Do not use macros from bp-asm.h.
3231 (NSOPS): Likewise.
3232 (semtimedop): Do not use BP_SYM.
3233 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3234 and <bp-asm.h>.
3235
582a3cff
AM
32362013-02-21 Allan McRae <allan@archlinux.org>
3237
3238 * manual/message.texi (Charset conversion in gettext):
3239 Move @end statement to beginning of line.
3240
bab8a695
SP
32412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3242
80945231
SP
3243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3244 static.
3245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3246 Likewise.
3247
bab8a695
SP
3248 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3249 (denorm): Likewise.
3250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3252
e21d7aa7
AK
32532013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3254
3255 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3256 tail-call to the resolved function if pltexit isn't needed.
3257
4c7a4263
SP
32582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3259
3260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3261 or Y being zero as being unlikely.
3262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3263 Likewise.
3264
41f49342
CD
32652013-02-20 Carlos O'Donell <carlos@redhat.com>
3266
3267 * manual/nss.texi (System Databases and Name Service Switch):
3268 Remove frobnicate @pxref.
3269
50022a93
TS
32702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3271
3272 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3273 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3274
08cbd996
PM
32752013-02-20 Petr Machata <pmachata@redhat.com>
3276
3277 * elf/elf.h (R_ARM_TARGET1): New macro.
3278 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3279 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3280 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3281 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3282 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3283 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3284 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3285 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3286 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3287 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3288 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3289 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3290 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3291 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3292 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3293 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3294 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3295 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3296 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3297 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3298 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3299 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3300 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3301 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3302 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3303 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3304 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3305 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3306 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3307 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3308 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3309 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3310 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3311 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3312 (R_ARM_THM_GOT_BREL12): Likewise.
3313 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3314 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3315 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3316 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3317 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3318 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3319 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3320 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3321 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3322
c7b275d6
TS
33232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3324
3325 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3326 __attribute_used__ to __attribute__ ((unused)).
3327
20cd7fb3
SP
33282013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3329
3330 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3331 powerpc mpa.c.
3332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3333 comment formatting.
3334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3335
92945b52
JM
33362013-02-19 Joseph Myers <joseph@codesourcery.com>
3337
3338 [BZ #13550]
3339 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3340 Remove macro.
3341 (ENTER): Remove both macro definitions.
3342 (LEAVE): Likewise.
3343 (CHECK_BOUNDS_LOW): Likewise.
3344 (CHECK_BOUNDS_HIGH): Likewise.
3345 (CHECK_BOUNDS_BOTH): Likewise.
3346 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3347 (RETURN_BOUNDED_POINTER): Likewise.
3348 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3349 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3350 (POP_ERRNO_LOCATION_RETURN): Likewise.
3351 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3352 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3353 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3354 macros.
3355 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3356 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3357 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3358 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3359 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3360 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3361 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3362 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3363 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3364 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3365 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3366 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3367 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3368 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3369 removed macros.
3370 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3371 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3372 macros.
3373 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3374 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3375 * sysdeps/i386/i586/memset.S (memset): Likewise.
3376 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3377 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3378 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3379 macros.
3380 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3381 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3382 Change uses of L(2) to L(out).
3383 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3384 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3385 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3386 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3387 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3388 removed macros.
3389 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3390 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3391 macros.
3392 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3393 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3394 (RETURN): Do not use macro LEAVE.
3395 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3396 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3397 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3398 * sysdeps/i386/i686/memset.S (memset): Likewise.
3399 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3400 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3401 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3402 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3403 Likewise.
3404 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3405 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3406 L(1_2) and L(1_3) into L(1).
3407 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3408 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3409 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3410 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3411 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3412 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3413 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3414 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3415 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3416 macros.
3417 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3418 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3419 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3420 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3421 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3422 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3423 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3424 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3425 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3426 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3427 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3428 * sysdeps/i386/strspn.S (strspn): Likewise.
3429 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3430 conditional code.
3431 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3432 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3433 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3434 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3435 L(1_3) into L(1_1).
3436 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3437 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3438 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3439 macros.
3440 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3441
2389741a
JJ
34422013-02-19 Jakub Jelinek <jakub@redhat.com>
3443
3444 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3445 macro.
3446
2016b3cd
SP
34472013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3448
e4f22324
SP
3449 * math/atest-exp.c (exp_mpn): Remove ROUND.
3450 * math/atest-exp2.c (exp_mpn): Likewise.
3451 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3452
2016b3cd
SP
3453 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3454 * stdlib/tst-tls-atexit-lib.c: Likewise.
3455 * stdlib/tst-tls-atexit.c: Likewise.
3456
4be9b544
MF
34572013-02-18 Mike Frysinger <vapier@gentoo.org>
3458
3459 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3460 and __attribute_alloc_size__.
3461
2f62b9ee
MF
34622013-02-18 Mike Frysinger <vapier@gentoo.org>
3463
3464 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3465 __attribute_alloc_size__.
3466 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3467 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3468
6ff444c4
MF
34692013-02-18 Mike Frysinger <vapier@gentoo.org>
3470
3471 * include/programs/xmalloc.h: New file.
3472 * catgets/gencat.c: Include it.
3473 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3474 * elf/pldd.c: Likewise.
3475 * iconv/iconv_charmap.c: Likewise.
3476 * iconv/iconvconfig.c: Likewise.
3477 * iconv/strtab.c: Likewise.
3478 * locale/programs/locale.c: Likewise.
3479 * locale/programs/localedef.h: Likewise.
3480 * locale/programs/simple-hash.c: Likewise.
3481 * nscd/nscd.h: Likewise.
3482 * nss/makedb.c: Likewise.
3483 * sysdeps/generic/ldconfig.h: Likewise.
3484
be179c8a
SP
34852013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3486
ba384f6e
SP
3487 * Versions.def: Add GLIBC_2.18.
3488 * include/link.h (struct link_map): New member l_tls_dtor_count.
3489 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3490 (__call_tls_dtors): Likewise.
3491 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3492 __cxa_thread_atexit_impl.
3493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3494 Likewise.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3496 Likewise.
3497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3498 Likewise.
3499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3500 Likewise.
3501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3503 Likewise.
3504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3505 Likewise.
3506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3508 Likewise.
3509 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3510 (tests): Add test case tst-tls-atexit.
3511 (modules-names): Add shared library for tst-tls-atexit.
3512 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3513 (GLIBC_PRIVATE): Add __call_tls_dtors.
3514 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3515 for libstdc++.
3516 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3517 * stdlib/tst-tls-atexit.c: New test case.
3518 * stdlib/tst-tls-atexit-lib.c: New test case.
3519
ffaa74cf 3520 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3521
be179c8a
SP
3522 * elf/Versions (ld): Add _dl_find_dso_for_object.
3523 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3524 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3525 (dl_open_worker): Use _dl_find_dso_for_object.
3526 * elf/dl-sym.c (do_sym): Likewise.
3527 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3528
f78b5caa
AK
35292013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3530
3531 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3532 Syntactic changes only.
3533 (_dl_runtime_profile): Do a tail-call to the resolved function.
3534
29691210
JM
35352013-02-17 Joseph Myers <joseph@codesourcery.com>
3536
3537 [BZ #13550]
3538 * sysdeps/x86_64/bp-asm.h: Remove file.
3539 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3540 <bp-sym.h> and <bp-asm.h>.
3541 (__clone): Do not use BP_SYM.
3542 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3543 <bp-sym.h> and <bp-asm.h>.
3544 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3545 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3546 "bp-asm.h".
3547 (_setjmp): Do not use BP_SYM.
3548 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3549 "bp-asm.h".
3550 (setjmp): Do not use BP_SYM.
3551 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3552 libc_hidden_def.
3553 (mempcpy): Do not use BP_SYM in weak_alias.
3554 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3555 "bp-asm.h".
3556 (strchr): Do not use BP_SYM.
3557 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3558 "bp-asm.h".
3559 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3560 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3561 (_start): Do not use BP_SYM.
3562 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3563 "bp-asm.h".
3564 (strcat): Do not use BP_SYM.
3565 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3566 "bp-asm.h".
3567 (STRCMP): Do not use BP_SYM.
3568 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3569 "bp-asm.h".
3570 (STRCPY): Do not use BP_SYM.
3571 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3572 "bp-asm.h".
3573 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3574 "bp-asm.h".
3575 (FUNCTION): Do not use BP_SYM.
3576 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3577 weak_alias.
3578 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3579
f238fd19
AJ
35802013-02-17 Andreas Jaeger <aj@suse.de>
3581
3582 * time/Versions: Sort entries.
3583 * string/Versions: Likewise.
3584 * resolv/Versions: Likewise.
3585 * posix/Versions: Likewise.
3586 * iconv/Versions: Likewise.
3587 * elf/Versions: Likewise.
3588 * wcsmbs/Versions: Likewise.
3589
bd07f23c 35902013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3591
22af19f9
SP
3592 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3593 loop termination condition.
3594
4709fe76
SP
3595 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3596 variable to calculate EZ.
3597 (__sqr): Likewise.
2d0e0f29
SP
3598
3599 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3600 the lower precision input.
3601
daaa7713
JM
36022013-02-15 Joseph Myers <joseph@codesourcery.com>
3603
3604 [BZ #13550]
3605 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3606 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3607 (run-via-rtld-prefix): Do not handle %-bp tests.
3608 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3609 (all-object-suffixes): Remove .ob.
3610 (bppfx): Remove variable.
3611 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3612 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3613 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3614 [$(build-bounded) = yes] (libtype.ob): Likewise.
3615 * Makerules (elide-routines.ob): Remove variable.
3616 (do-tests-clean): Do not handle *-bp.out.
3617 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3618 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3619 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3620 (tests): Do not include $(tests-bp.out).
3621 (xtests): Do not include $(xtests-bp.out).
3622 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3623 [$(build-bounded) = yes] ($(addprefix
3624 $(objpfx),$(binaries-bounded))): Remove rule.
3625 ($(objpfx)%-bp.out): Remove rule.
3626 * config.make.in (build-bounded): Remove variable.
3627 * crypt/Makefile [$(build-bounded) = yes]
3628 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3629 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3630 append to variable.
3631 [$(build-bounded) = yes] (install-lib): Likewise.
3632 [$(build-bounded) = yes] (generated): Likewise.
3633 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3634 Remove rule.
3635 * intl/Makefile [$(build-bounded) = yes]
3636 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3637 * math/Makefile [$(build-bounded) = yes]
3638 ($(tests:%=$(objpfx)%-bp): Likewise.
3639 * misc/Makefile [$(build-bounded) = yes]
3640 ($(objpfx)tst-tsearch-bp): Likewise.
3641 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3642 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3643 Remove dependency.
3644 * string/Makefile (o-objects.ob): Remove variable.
3645 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3646 (CFLAGS-.ob): Remove variable.
3647 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3648 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3649 both definitions of variable.
3650 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3651 (ASFLAGS-.ob): Remove variable.
3652
e97ed6dd
JM
36532013-02-14 Joseph Myers <joseph@codesourcery.com>
3654
2bdd4ca6
JM
3655 [BZ #13550]
3656 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3657 Remove __BOUNDED_POINTERS__ from condition.
3658 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3659 * string/bits/string2.h [!__NO_STRING_INLINES &&
3660 !__BOUNDED_POINTERS__]: Likewise.
3661 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3662 Likewise.
3663 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3664 Remove conditional code.
3665 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3666 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3667 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3668 condition.
3669
e97ed6dd
JM
3670 [BZ #13550]
3671 * csu/libc-start.c: Do not include <bp-sym.h>.
3672 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3673 * elf/dl-open.c: Do not include <bp-sym.h>.
3674 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3675 * math/fegetenv.c: Do not include <bp-sym.h>.
3676 (fegetenv): Do not use BP_SYM in versioned symbols.
3677 * nptl/sysdeps/pthread/bits/libc-lockP.h
3678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3679 <bp-sym.h>.
3680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3681 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3683 (__pthread_mutex_destroy): Likewise.
3684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3685 (__pthread_mutex_lock): Likewise.
3686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3687 (__pthread_mutex_trylock): Likewise.
3688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3689 (__pthread_mutex_unlock): Likewise.
3690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3691 (__pthread_mutexattr_init): Likewise.
3692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3693 (__pthread_mutexattr_destroy): Likewise.
3694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3695 (__pthread_mutexattr_settype): Likewise.
3696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3697 (__pthread_rwlock_init): Likewise.
3698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3699 (__pthread_rwlock_destroy): Likewise.
3700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3701 (__pthread_rwlock_rdlock): Likewise.
3702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3703 (__pthread_rwlock_tryrdlock): Likewise.
3704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3705 (__pthread_rwlock_wrlock): Likewise.
3706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3707 (__pthread_rwlock_trywrlock): Likewise.
3708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3709 (__pthread_rwlock_unlock): Likewise.
3710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3711 (__pthread_key_create): Likewise.
3712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3713 (__pthread_setspecific): Likewise.
3714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3715 (__pthread_getspecific): Likewise.
3716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3717 Likewise.
3718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3719 (_pthread_cleanup_push_defer): Likewise.
3720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3721 (_pthread_cleanup_pop_restore): Likewise.
3722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3723 (pthread_setcancelstate): Likewise.
3724 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3725 <bp-sym.h>.
3726 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3727 (memchr): Do not use BP_SYM in weak_alias.
3728 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3729 (fegetenv): Do not use BP_SYM in versioned symbols.
3730 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3731 (fesetenv): Do not use BP_SYM in versioned symbols.
3732 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3733 (feupdateenv): Do not use BP_SYM in versioned symbols.
3734 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3735 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3736 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3737 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3738 (open64): Do not use BP_SYM in weak_alias.
3739 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3740 (fegetenv): Do not use BP_SYM in versioned symbols.
3741 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3742 (fesetenv): Do not use BP_SYM in versioned symbols.
3743 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3744 (feupdateenv): Do not use BP_SYM in versioned symbols.
3745 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3746 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3747 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3748 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3749 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3750 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3751 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3752 <bp-sym.h>.
3753 (__libc_start_main): Do not use BP_SYM.
3754
d6752ccd
SP
37552013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3756
cb57ce60
SP
3757 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3758 redundant return line.
3759 (norm): Likewise.
3760 (denorm): Likewise.
3761 (dbl_mp): Likewise.
3762 (sub_magnitudes): Likewise.
3763 (__add): Likewise.
3764 (__sub): Likewise.
3765 (__mul): Likewise.
3766 (__inv): Likewise.
3767 (__dvd): Likewise.
3768 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3769 (norm): Likewise.
3770 (denorm): Likewise.
3771 (dbl_mp): Likewise.
3772 (sub_magnitudes): Likewise.
3773 (__add): Likewise.
3774 (__sub): Likewise.
3775 (__mul): Likewise.
3776 (__inv): Likewise.
3777 (__dvd): Likewise.
3778
f414520d
SP
3779 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3780 instead of __mul.
3781 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3782 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3783 (cc32): Likewise.
3784
d6752ccd
SP
3785 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3786 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3787 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3788 of __mul for squares.
3789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3790 function
3791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3792 Likewise.
3793 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3794 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3795
70d9946a
JM
37962013-02-13 Joseph Myers <joseph@codesourcery.com>
3797
3798 [BZ #13550]
3799 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3800 code.
3801 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3802 prototype or function definition. Rename ubp_* variables and
3803 parameters. Remove argv definitions conditional on
3804 [__BOUNDED_POINTERS__].
3805 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3806 * elf/dl-runtime.c (_dl_fixup): Likewise.
3807 * include/set-hooks.h (RUN_HOOK): Likewise.
3808 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3809 definition.
3810 * string/strcpy.c (strcpy): Do not use __unbounded.
3811 * sysdeps/generic/frame.h (struct layout): Likewise.
3812 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3813 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3814 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3815 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3816 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3817 (__backtrace): Likewise.
3818 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3819 use __ptrvalue.
3820 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3821 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3822 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3823 Likewise.
3824 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3825 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3826 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3827 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3828 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3829 Do not use __unbounded.
3830 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3831 Rename __unboundedrlimits parameter to rlimits in prototype.
3832 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3833 Do not use __unbounded.
3834 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3835 not use __ptrvalue.
3836 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3837 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3838 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3839 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3840 __ptrvalue or __unbounded.
3841 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3842 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3843 use __unbounded.
3844 (__new_msgctl): Do not use __ptrvalue.
3845 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3846 __unbounded.
3847 (__libc_msgrcv): Do not use __ptrvalue.
3848 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3849 startup_info): Do not use __unbounded.
3850 (__libc_start_main): Likewise. Rename ubp_* variables and
3851 parameters. Remove argv definitions conditional on
3852 [__BOUNDED_POINTERS__].
3853 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3854 __ptrvalue.
3855 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3856 use __unbounded.
3857 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3858 or __ptrvalue.
3859 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3860 use __unbounded.
3861 (__new_shmctl): Do not use __ptrvalue.
3862 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3863 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3864 Likewise.
3865 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3866 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3867 (__libc_sigaction): Likewise.
3868 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3870 Likewise.
3871 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3872
cc7834d6
OB
38732013-02-13 Ondřej Bílka <neleai@seznam.cz>
3874
ffb1ec7b 3875 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3876
3877 * string/mempcpy.c: Implement by calling memcpy.
3878
bdf02814
SP
38792013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3880
c2af38aa
SP
3881 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3882
4e92d59e
SP
3883 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3884 evaluation.
3885
909279a5
SP
3886 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3887 values in the mantissa.
3888
bdf02814
SP
3889 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3890 minimize writes to Z.
3891 (sub_magnitudes): Simplify code a bit.
3892
cd525923
RM
38932013-02-12 Roland McGrath <roland@hack.frob.com>
3894
3895 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3896 from the message. The linker prefixes all warnings with that already.
3897
7e2f0d2d
AS
38982013-02-12 Andreas Schwab <schwab@suse.de>
3899
a445af0b
AS
3900 [BZ #15078]
3901 * posix/regexec.c (extend_buffers): Add parameter min_len.
3902 (check_matching): Pass minimum needed length.
3903 (clean_state_log_if_needed): Likewise.
3904 (get_subexp): Likewise.
3905 * posix/Makefile (tests): Add bug-regex34.
3906 (bug-regex34-ENV): Define.
3907 * posix/bug-regex34.c: New file.
3908
7e2f0d2d
AS
3909 [BZ #11561]
3910 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3911 elements compare against the byte sequence of it, not its name.
3912 * posix/Makefile (tests): Add bug-regex35.
3913 (bug-regex35-ENV): Define.
3914 * posix/bug-regex35.c: New file.
3915
a175b684
TV
39162013-02-11 Tom de Vries <tom@codesourcery.com>
3917
3918 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3919 comment.
3920 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3921 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3922 (CHECK_EOL): Add undef.
3923
310998fe 39242013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3925
3926 * bits/stdlib-bsearch.h: New file.
3927 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3928 * stdlib/stdlib.h: Likewise.
41eda41d 3929
8ded91fb
RM
39302013-02-11 Roland McGrath <roland@hack.frob.com>
3931
3932 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3933 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3934 declaration.
3935 * manual/search.texi (Array Search Function): Add missing const in
3936 lfind prototype.
3937 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3938 declaration to use rlim_t.
3939 (Basic Scheduling Functions): Remove erroneous const from
3940 sched_getparam prototype. Remove erroneous * from
3941 sched_get_priority_max and sched_get_priority_min prototypes.
3942 (Resource Usage): Fix summary @comment on vtimes to refer to
3943 sys/vtimes.h rather than vtimes.h.
3944 Add missing *s in vtimes prototype.
3945 (Limits on Resources): Fix ulimit prototype to return long int.
3946 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3947 prototypes to use long int rather than double.
3948 (BSD Random): Fix initstate and setstate to use char *, not void *.
3949 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3950 prototype to make second argument 'struct aiocb64 *const[]'.
3951 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3952 (Status of AIO Operations): Remove erroneous const in aio_return and
3953 aio_return64 prototypes.
3954 (Synchronizing I/O): Fix sync prototype to return void.
3955 * manual/startup.texi (Suboptions): Remove an erroneous const in
3956 getsubopt prototype.
3957 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3958 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3959 use size_t rather than int.
3960 (Scanning All Users): Likewise for getpwent_r.
3961 (Setting Groups): Add missing const to setgroups prototype.
3962 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3963 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3964 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3965 'const void *' rather than 'const char *'.
3966 (Host Address Functions): Likewise for inet_ntop.
3967 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3968 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3969 ssize_t for return value.
3970 (Sending Data): Likewise for send, sendto, sendmsg.
3971 (Socket Option Functions): Add a missing const in setsockopt prototype.
3972 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3973 use wchar_t for the argument.
3974 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3975 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3976 take no arguments.
3977 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3978 double/float/long double for second argument.
3979 Fix return types of significand, significandf, significandl.
3980 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3981 argument in fchmod prototype.
3982 (File Owner): Use uid_t and gid_t in fchown prototype.
3983 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3984 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3985 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3986 use 'const struct dirent **' as argument types to CMP function pointer
3987 argument.
3988 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3989 (File Times): Fix summary magic @comment for struct utimbuf and utime
3990 to refer to utime.h, not time.h.
3991 * manual/string.texi (Argz Functions): Add missing const in
3992 argz_extract and argz_next prototypes.
3993 (Finding Tokens in a String): Likewise for basename.
3994 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3995 (Copying and Concatenation): Fix typo in wmemmove prototype.
3996 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3997 (Signal Stack): Remove erroneous const in sigstack prototype.
3998 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3999 prototype.
4000 (Simple Calendar Time): Likewise for stime.
4001 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
4002 prototype.
4003 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
4004 say sys/sysctl.h instead.
4005 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
4006 and vsyslog prototypes.
4007
fe77fe6d
TV
40082013-02-11 Tom de Vries <tom@codesourcery.com>
4009
4010 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
4011 Remove.
4012
3a09b620
RM
40132013-02-11 Roland McGrath <roland@hack.frob.com>
4014
4015 * misc/sys/mman.h: Fix typo in mremap comment.
4016
550a0b89
RM
40172013-02-08 Roland McGrath <roland@hack.frob.com>
4018
4019 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
4020 the '\0' terminator.
4021
a2da1673
JM
40222013-02-08 Joseph Myers <joseph@codesourcery.com>
4023
4024 [BZ #13550]
4025 * debug/segfault.c: Don't include <bp-checks.h>.
4026 * sysdeps/generic/bp-checks.h: Remove file.
4027 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4028 (__GETDENTS): Don't use CHECK_N.
4029 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4030 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4031 (__getgroups): Don't use CHECK_N.
4032 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4033 (setgroups): Don't use CHECK_N.
4034 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4035 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4036 (__libc_msgrcv): Don't use CHECK_N.
4037 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4038 (__libc_msgsnd): Don't use CHECK_N.
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4040 <bp-checks.h>.
4041 (__libc_pread): Don't use CHECK_N.
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4043 include <bp-checks.h>.
4044 (__libc_pread64): Don't use CHECK_N.
4045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4046 include <bp-checks.h>.
4047 (__libc_pwrite): Don't use CHECK_N.
4048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4049 include <bp-checks.h>.
4050 (__libc_pwrite64): Don't use CHECK_N.
4051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4052 <bp-checks.h>.
4053 (__libc_pread): Don't use CHECK_N.
4054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4055 include <bp-checks.h>.
4056 (__libc_pread64): Don't use CHECK_N.
4057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4058 include <bp-checks.h>.
4059 (__libc_pwrite): Don't use CHECK_N.
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4061 include <bp-checks.h>.
4062 (__libc_pwrite64): Don't use CHECK_N.
4063 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4064 (do_pread): Don't use CHECK_N.
4065 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4066 (do_pread64): Don't use CHECK_N.
4067 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4068 (do_pwrite): Don't use CHECK_N.
4069 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4070 (do_pwrite64): Don't use CHECK_N.
4071 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4072 (__libc_readv): Don't use CHECK_N.
4073 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4074 (semop): Don't use CHECK_N.
4075 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4076 <bp-checks.h>.
4077 (semtimedop): Don't use CHECK_N.
4078 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4079 (__libc_pread): Don't use CHECK_N.
4080 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4081 <bp-checks.h>.
4082 (__libc_pread64): Don't use CHECK_N.
4083 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4084 <bp-checks.h>.
4085 (__libc_pwrite): Don't use CHECK_N.
4086 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4087 <bp-checks.h>.
4088 (__libc_pwrite64): Don't use CHECK_N.
4089 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4090 <bp-checks.h>.
4091 (__libc_msgrcv): Don't use CHECK_N.
4092 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4093 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4094 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4095 (__libc_writev): Don't use CHECK_N.
4096
b84660a8
RM
40972013-02-08 Roland McGrath <roland@hack.frob.com>
4098
7f3e75f8
RM
4099 * string/strcpy.c: Removed unused variable.
4100
b84660a8
RM
4101 * Makeconfig (+sysdep-includes): Define with := rather than =.
4102 Use an existing include/ subdir of each sysdeps dir before it.
4103
471514d3
CD
41042013-02-08 Carlos O'Donell <carlos@redhat.com>
4105
4106 * nscd/connection.c (register_traced_file): Comment function.
4107 [HAVE_INOTIFY] (union __inev): Define.
4108 [HAVE_INOTIFY] (inotify_check_files): New function.
4109 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4110 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4111 clear_db_cache.
4112 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4113
b2d3c3be
CD
41142013-02-08 Carlos O'Donell <carlos@redhat.com>
4115
4116 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4117 loaded if not already and that a failure is permanent.
4118
b39949d2
CD
41192013-02-08 Carlos O'Donell <carlos@redhat.com>
4120
ddacd1db 4121 [BZ #15006]
b39949d2
CD
4122 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4123 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4124
b2c9eff4
JM
41252013-02-08 Joseph Myers <joseph@codesourcery.com>
4126
f3aae3f3
JM
4127 [BZ #13550]
4128 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4129 (CHECK_1_NULL_OK): Likewise.
4130 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4131 (__fxstat): Do not use CHECK_1.
4132 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4133 <bp-checks.h>.
4134 (___fxstat64): Do not use CHECK_1.
4135 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4136 <bp-checks.h>.
4137 (__fxstatat): Do not use CHECK_1.
4138 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4139 <bp-checks.h>.
4140 (__fxstatat64): Do not use CHECK_1.
4141 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4142 <bp-checks.h>.
4143 (__fxstat): Do not use CHECK_1.
4144 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4145 <bp-checks.h>.
4146 (__fxstatat): Do not use CHECK_1.
4147 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4148 <bp-checks.h>.
4149 (__getresgid): Do not use CHECK_1.
4150 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4151 <bp-checks.h>.
4152 (__getresuid): Do not use CHECK_1.
4153 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4154 <bp-checks.h>.
4155 (__lxstat): Do not use CHECK_1.
4156 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4157 <bp-checks.h>.
4158 (__old_msgctl): Do not use CHECK_1.
4159 (__new_msgctl): Likewise.
4160 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4161 <bp-checks.h>.
4162 (__new_setrlimit): Do not use CHECK_1.
4163 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4164 <bp-checks.h>.
4165 (__old_shmctl): Do not use CHECK_1.
4166 (__new_shmctl): Likewise.
4167 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4168 <bp-checks.h>.
4169 (__xstat): Do not use CHECK_1.
4170 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4171 (__lxstat): Do not use CHECK_1.
4172 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4173 <bp-checks.h>.
4174 (___lxstat64): Do not use CHECK_1.
4175 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4176 (__old_msgctl): Do not use CHECK_1.
4177 (__new_msgctl): Likewise.
4178 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4179 <bp-checks.h>.
4180 (__gettimeofday): Do not use CHECK_1.
4181 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4182 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4183 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4184 <bp-checks.h>.
4185 (__gettimeofday): Do not use CHECK_1.
4186 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4187 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4188 (__new_shmctl): Do not use CHECK_1.
4189 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4190 <bp-checks.h>.
4191 (do_sigtimedwait): Do not use CHECK_1.
4192 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4193 <bp-checks.h>.
4194 (do_sigwaitinfo): Do not use CHECK_1.
4195 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4196 <bp-checks.h>.
4197 (msgctl): Do not use CHECK_1.
4198 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4199 <bp-checks.h>.
4200 (shmctl): Do not use CHECK_1.
4201 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4202 (ustat): Do not use CHECK_1.
4203 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4204 <bp-checks.h>.
4205 (__fxstat): Do not use CHECK_1.
4206 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4207 <bp-checks.h>.
4208 (__fxstatat): Do not use CHECK_1.
4209 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4210 <bp-checks.h>.
4211 (__lxstat): Do not use CHECK_1.
4212 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4213 <bp-checks.h>.
4214 (__xstat): Do not use CHECK_1.
4215 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4216 (__xstat): Do not use CHECK_1.
4217 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4218 (___xstat64): Do not use CHECK_1.
4219
b2c9eff4
JM
4220 [BZ #13550]
4221 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4222 definitions.
4223 (CHECK_BOUNDS_HIGH): Likewise.
4224 * string/strcpy.c: Do not include <bp-checks.h>.
4225 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4226
f1d70dad
RM
42272013-02-07 Roland McGrath <roland@hack.frob.com>
4228
4229 * nscd/nscd-client.h (__nscd_drop_map_ref):
4230 Add __attribute__ ((unused)).
4231 * nis/nss-nisplus.h (niserr2nss): Likewise.
4232
4233 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4234 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4235
4236 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4237 Remove inline keyword.
4238 * include/rounding-mode.h (round_away): Likewise.
4239 * libio/wfileops.c (adjust_wide_data): Likewise.
4240 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4241 (__m128i_strloadu_tolower): Likewise.
4242 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4243 (__m128i_strloadu_tolower): Likewise.
4244 * time/mktime.c (ydhms_diff): Likewise.
4245 * locale/elem-hash.h (elem_hash): Likewise.
4246 * locale/setlocale.c (setdata): Likewise.
4247 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4248 (re_string_wchar_at): Likewise.
4249 (bitset_not, bitset_merge, bitset_mask): Likewise.
4250 [!(__GNUC__ > 3)] (inline): Remove macro.
4251 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4252 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4253 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4254 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4255 * string/memcmp.c (memcmp_bytes): Likewise.
4256 * locale/programs/locarchive.c (compute_hashval): Likewise.
4257 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4258 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4259 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4260 * nss/getent.c (print_rpc, print_protocols): Likewise.
4261 (print_passwd, print_group, print_aliases): Likewise.
4262 * nis/nss-nisplus.h (niserr2nss): Likewise.
4263 * nscd/connections.c (restart_p): Likewise.
4264 Change return type to bool.
4265
eab55bfb
RM
42662013-02-05 Roland McGrath <roland@hack.frob.com>
4267
7bd642f5
RM
4268 * Makeconfig (all-Depend-files): Add existing
4269 $(sorted-subdirs:=/Depend) files.
4270 (all-subdirs): Remove nss.
4271 * sysdeps/unix/inet/Subdirs: Add it here instead.
4272 * hesiod/Depend: New file.
4273
573c29b2
RM
4274 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4275 instead of calling alloca.
4276
b2e25af0
RM
4277 * io/lseek.c (__lseek): Rename to __libc_lseek.
4278 Define __lseek as an alias.
4279
eab55bfb
RM
4280 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4281
9a0d1941
CD
42822013-02-04 Carlos O'Donell <carlos@redhat.com>
4283
4284 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4285 else clause and remove check for non-standard endianness.
4286
b83bbec4
DM
42872013-02-04 David S. Miller <davem@davemloft.net>
4288
4289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4290
6277fdab
JM
42912013-02-04 Joseph Myers <joseph@codesourcery.com>
4292
4293 [BZ #13550]
4294 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4295 (__ubp_memchr): Remove prototype.
4296 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4297 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4298 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4299 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4300 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4301 Remove alias.
4302 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4303 (__ubp_memchr): Likewise.
4304 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4305 (__ubp_memchr): Likewise.
4306 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4307 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4308 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4309 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4310 CHECK_STRING.
4311 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4312 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4313 (__getcwd): Do not use CHECK_STRING.
4314 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4315 <bp-checks.h>.
4316 (__real_chown): Do not use CHECK_STRING.
4317 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4318 <bp-checks.h>.
4319 (fchownat): Do not use CHECK_STRING.
4320 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4321 CHECK_STRING.
4322 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4323 <bp-checks.h>.
4324 (__lchown): Do not use CHECK_STRING.
4325 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4326 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4327 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4328 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4330 include <bp-checks.h>.
4331 (truncate64): Do not use CHECK_STRING.
4332 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4333 <bp-checks.h>.
4334 (__real_chown): Do not use CHECK_STRING.
4335 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4336 <bp-checks.h>.
4337 (__lchown): Do not use CHECK_STRING.
4338 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4339 <bp-checks.h>.
4340 (__chown): Do not use CHECK_STRING.
4341 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4342 <bp-checks.h>.
4343 (truncate64): Do not use CHECK_STRING.
4344 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4345 Likewise.
4346 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4347 (__xmknod): Do not use CHECK_STRING.
4348 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4349 <bp-checks.h>.
4350 (__xmknodat): Do not use CHECK_STRING.
4351 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4352 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4353
903ae060
AS
43542013-02-04 Andreas Schwab <schwab@suse.de>
4355
4356 [BZ #14142]
4357 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4358 * include/netdb.h: Likewise for h_errno.
4359 * elf/tst-stackguard1.c: Include <tls.h>.
4360
542f9466
JK
43612013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4362
4363 * elf/link.h (struct link_map): Extend the l_addr comment.
4364 * include/link.h (struct link_map): Likewise.
4365
e782a927
JM
43662013-02-01 Joseph Myers <joseph@codesourcery.com>
4367
4368 [BZ #13550]
4369 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4370 (BOUNDED_1): Remove macro.
4371 * debug/backtrace.c: Don't include <bp-checks.h>.
4372 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4373 (__backtrace): Likewise.
4374 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4375 <bp-checks.h>.
4376 (__backtrace): Don't use BOUNDED_1.
4377 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4378 <bp-checks.h>.
4379 (__backtrace): Don't use BOUNDED_1.
4380 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4381 (__backtrace): Don't use BOUNDED_1.
4382 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4383 (shmat): Don't use BOUNDED_N.
4384
8cf28c5e
JM
43852013-01-31 Joseph Myers <joseph@codesourcery.com>
4386
3a7ac8a0
JM
4387 [BZ #13550]
4388 * sysdeps/generic/bp-start.h: Remove file.
4389 * csu/libc-start.c: Don't include <bp-start.h>.
4390 (LIBC_START_MAIN): Set up __environ directly instead of using
4391 INIT_ARGV_and_ENVIRON.
4392 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4393 <bp-start.h>.
4394
f3499f95
JM
4395 [BZ #13550]
4396 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4397 definitions.
4398 (CHECK_FCNTL): Likewise.
4399 (CHECK_N_PAGES): Likewise.
4400
32a45bea
JM
4401 [BZ #13550]
4402 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4403 definitions.
4404 (CHECK_SIGSET_NULL_OK): Likewise.
4405 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4406 <bp-checks.h>.
4407 (sigpending): Don't use CHECK_SIGSET.
4408 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4409 <bp-checks.h>.
4410 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4411 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4412 <bp-checks.h>.
4413 (do_sigsuspend): Don't use CHECK_SIGSET.
4414 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4415 use CHECK_SIGSET.
4416 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4417 (do_sigwait): Don't use CHECK_SIGSET.
4418 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4419 use CHECK_SIGSET.
4420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4421 include <bp-checks.h>.
4422 (sigpending): Don't use CHECK_SIGSET.
4423 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4424 include <bp-checks.h>.
4425 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4426 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4427 <bp-checks.h>.
4428 (sigpending): Don't use CHECK_SIGSET.
4429 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4430 <bp-checks.h>.
4431 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4432
2e8a5c8c
JM
4433 [BZ #13550]
4434 * sysdeps/generic/bp-semctl.h: Remove file.
4435 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4436 <bp-checks.h> and <bp-semctl.h>.
4437 (__old_semctl): Don't use CHECK_SEMCTL.
4438 (__new_semctl): Likewise.
4439 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4440 and <bp-semctl.h>.
4441 (__old_semctl): Don't use CHECK_SEMCTL.
4442 (__new_semctl): Likewise.
4443 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4444 <bp-checks.h> and <bp-semctl.h>.
4445 (__old_semctl): Don't use CHECK_SEMCTL.
4446 (__new_semctl): Likewise.
4447 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4448 <bp-checks.h> and <bp-semctl.h>.
4449 (semctl): Don't use CHECK_SEMCTL.
4450
c2d54929
JM
4451 [BZ #13550]
4452 * Makerules (elide-bp-thunks): Remove variable.
4453 (elide-routines.oS): Don't use $(elide-bp-thunks).
4454 (elide-routines.os): Likewise.
4455 (elide-routines.o): Likewise.
4456 (elide-routines.op): Likewise.
4457 (elide-routines.og): Likewise.
4458 (objects): Don't use $(bp-thunks).
4459 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4460 include.
4461 (common-generated): Do not add s-proto-bp.d.
4462 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4463 (int): Likewise.
4464 (typ): Likewise.
4465 Do not generate makefile rules for bounded-pointer thunks.
4466 * sysdeps/generic/bp-thunks.h: Remove file.
4467 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4468 * sysdeps/unix/s-proto-bp.S: Likewise.
4469
8cf28c5e
JM
4470 [BZ #15062]
4471 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4472 parts of result separately when argument is not close to line from
4473 -i to i and one part of argument is small.
4474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4476 * math/libm-test.inc (cacos_test): Add more tests.
4477 (casin_test): Likewise.
4478 (casinh_test): Likewise.
4479 * sysdeps/i386/fpu/libm-test-ulps: Update.
4480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4481
c4e33b8d
DM
44822013-01-31 David S. Miller <davem@davemloft.net>
4483
4484 * po/de.po: Update from translation team.
4485
3b60b421
MK
44862013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4487
4488 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4489
bb931195
TS
44902013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4491
b5a5da23
TS
4492 * configure.in (_AC_PROG_CC_C89): New definition.
4493 * configure: Regenerate.
4494
bb931195
TS
4495 * configure.in (AC_PROG_CPP): New definition.
4496 * configure: Regenerate.
4497
8c53a12c
JM
44982013-01-23 Joseph Myers <joseph@codesourcery.com>
4499
4500 * debug/tst-backtrace.h: New file.
4501 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4502 (ret): Remove variable.
4503 (x): Likewise.
4504 (FAIL): Remove macro.
4505 (NO_INLINE): Likewise.
4506 (fn1): Use match function instead of strstr.
4507 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4508 (ret): Remove variable.
4509 (x): Likewise.
4510 (FAIL): Remove macro.
4511 (NO_INLINE): Likewise.
4512 (fn): Use match function instead of strstr.
4513 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4514 (ret): Remove variable.
4515 (x): Likewise.
4516 (FAIL): Remove macro.
4517 (NO_INLINE): Likewise.
4518 (handle_signal): Use match function instead of strstr.
4519 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4520 (ret): Remove variable.
4521 (x): Likewise.
4522 (FAIL): Remove macro.
4523 (NO_INLINE): Likewise.
4524 (handle_signal): Use match function instead of strstr.
4525
4858fa2a
RM
45262013-01-23 Roland McGrath <roland@hack.frob.com>
4527
4528 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4529
bae8e7f5
DM
45302013-01-23 David S. Miller <davem@davemloft.net>
4531
4532 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4533 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4534 argument of CAS if possible.
4535 * sysdeps/sparc/sparc64/bits/atomic.h
4536 (__arch_compare_and_exchange_val_32_acq): Likewise.
4537 (__arch_compare_and_exchange_val_64_acq): Likewise.
4538
9cbbc4ae
PT
45392013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4540
4541 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4542 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4543 Include <limits.h>.
67b3f58c 4544 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4545
5655a0b5
AC
45462013-01-23 Adam Conrad <adconrad@0c3.net>
4547
4548 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4549 (LDFLAGS-tst-array5): Likewise.
4550
052aff95
JM
45512013-01-23 Joseph Myers <joseph@codesourcery.com>
4552
4553 [BZ #15036]
4554 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4555 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4556 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4557 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4558
7c1e01aa
DM
45592013-01-21 David S. Miller <davem@davemloft.net>
4560
4561 * sysdeps/sparc/backtrace.c: New file.
4562 * sysdeps/sparc/sparc32/backtrace.h: New file.
4563 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4564 * sysdeps/sparc/sparc64/backtrace.h: New file.
4565 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4566 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4567 -funwind-tables.
4568
ab087e0a
AS
45692013-01-21 Andreas Schwab <schwab@suse.de>
4570
4571 [BZ #15020]
4572 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4573 closed its stdout.
4574
ed689c2f
AS
45752013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4576
4577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4578 "mpa2.h".
4579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4580
31d470ac
JM
45812013-01-18 Joseph Myers <joseph@codesourcery.com>
4582 Mark Mitchell <mark@codesourcery.com>
4583 Tom de Vries <tom@codesourcery.com>
4584 Paul Pluzhnikov <ppluzhnikov@google.com>
4585
4586 * debug/tst-backtrace2.c: New file.
4587 * debug/tst-backtrace3.c: Likewise.
4588 * debug/tst-backtrace4.c: Likewise.
4589 * debug/tst-backtrace5.c: Likewise.
4590 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4591 (CFLAGS-tst-backtrace3.c): Likewise.
4592 (CFLAGS-tst-backtrace4.c): Likewise.
4593 (CFLAGS-tst-backtrace5.c): Likewise.
4594 (LDFLAGS-tst-backtrace2): Likewise.
4595 (LDFLAGS-tst-backtrace3): Likewise.
4596 (LDFLAGS-tst-backtrace4): Likewise.
4597 (LDFLAGS-tst-backtrace5): Likewise.
4598 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4599 tst-backtrace4 and tst-backtrace5.
4600
90567f30 46012013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4602 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4603
4604 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4605 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4606 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4607 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4609 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4610 "+r" and remove output regs list as redundant. Add explicit inline
4611 asm to specify register of return val to work around compiler codegen
4612 bug. Remove (int) cast on return value. Add return type parameter to
4613 use in macro so that this macro does not truncate return value for
4614 64-bit values.
4615 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4616 pass to INTERNAL_VSYSCALL_NCS.
4617 (INLINE_VSYSCALL): Add 'long int' as return type to
4618 INTERNAL_VSYSCALL_NCS macro invocation.
4619 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4620 INTERNAL_VSYSCALL_NCS macro invocation.
4621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4622
d3b9ea61
SP
46232013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4624
0b57daeb
SP
4625 [BZ #14496]
4626 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4627 Fix application of SIMD FP exception mask.
4628
caa99d06
SP
4629 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4630 mp_no from a power of two.
4631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4632 __mpexp_twomm1. Use __pow_mp.
4633
d3b9ea61
SP
4634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4635 multiplication.
4636
1dbaee3c
DM
46372013-01-17 David S. Miller <davem@davemloft.net>
4638
4639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4640
728d7b43
JM
46412013-01-17 Joseph Myers <joseph@codesourcery.com>
4642
4643 [BZ #15023]
4644 * include/complex.h: Condition contents on [!_COMPLEX_H].
4645 (__kernel_casinhf): New prototype.
4646 (__kernel_casinh): Likewise.
4647 (__kernel_casinhl): Likewise.
4648 * math/Makefile (libm_calls): Add k_casinh.
4649 * math/k_casinh.c: New file.
4650 * math/k_casinhf.c: Likewise.
4651 * math/k_casinhl.c: Likewise.
4652 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4653 finite nonzero arguments.
4654 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4655 finite nonzero arguments.
4656 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4657 finite nonzero arguments.
4658 * math/s_casinh.c: Do not include <float.h>.
4659 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4660 * math/s_casinhf.c: Do not include <float.h>.
4661 (__casinhf): Move code for finite nonzero arguments to
4662 k_casinhf.c.
4663 * math/s_casinhl.c: Do not include <float.h>.
4664 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4665 redefine.
4666 (__casinhl): Move code for finite nonzero arguments to
4667 k_casinhl.c.
4668 * math/libm-test.inc (cacos_test): Add more tests.
4669 * sysdeps/i386/fpu/libm-test-ulps: Update.
4670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4671
2a26ef3a
PT
46722013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4673
4674 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4675 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4676 [!HAVE_MREMAP]: Remove [defined linux] case.
4677 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4678
a897655d
SP
46792013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4680
4681 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4682
881ebe89 46832013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4684
4685 * elf/elf.h (R_386_SIZE32): New relocation.
4686 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4687 R_386_SIZE32.
4688 (elf_machine_rela): Likewise.
4689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4690 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4691
59981e9b
JM
46922013-01-17 Joseph Myers <joseph@codesourcery.com>
4693
4694 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4695 (FP_FAST_FMA): Do not define.
4696 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4697 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4698 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4699 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4700 !_SOFT_FLOAT]: Likewise.
4701 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4702 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4703 value.
4704 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4705 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4706 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4707 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4708 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4709 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4710 file.
4711
cfa8054f
AS
47122013-01-16 Andreas Schwab <schwab@suse.de>
4713
4714 [BZ #14327]
4715 * include/stdlib.h (__mktemp): Add declaration.
4716 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4717 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4718
dd930cc5
SP
47192013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4720
881ebe89
SP
4721 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4722 definitions.
4723 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4724 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4725 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4726 definitions here.
4727 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4728 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4729 definitions.
4730 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4731 and ONE.
4732 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4733 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4734 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4735 definitions.
4736 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4737 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4738 definitions.
4739 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4740
dd930cc5
SP
4741 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4742
c19a9f89
DM
47432013-01-15 David S. Miller <davem@davemloft.net>
4744
1aa61767
DM
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4746 trunc{,f} to libm-sysdep_routes.
4747 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4749 file.
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4752 file.
4753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4754 file.
4755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4759 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4760 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4761 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4762 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4763
c42d5e98
DM
4764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4765 nearbyint{,f} to libm-sysdep_routes.
4766 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4768 New file.
4769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4770 file.
4771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4772 New file.
4773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4774 file.
4775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4777 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4778 file.
4779 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4780 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4781 file.
4782 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4783 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4784 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4785
c19a9f89
DM
4786 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4787 libc_feholdexcept and libc_fesetenv.
4788
357679d2
MF
47892013-01-15 Mike Frysinger <vapier@gentoo.org>
4790
4791 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4792
65a82e3d
DM
47932013-01-14 David S. Miller <davem@davemloft.net>
4794
8b954ab9
DM
4795 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4796 (SPARC_ASM_VIS2_IFUNC): Likewise.
4797 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4799 use of 'siam' instruction.
4800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4801 Likewise.
4802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4803 Likewise.
4804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4805 Likewise.
4806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4811 file.
4812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4813 file.
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4815 file.
4816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4817 file.
4818 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4823 new VIS2 routines.
4824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4827 Likewise.
4828 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4833 routines to libm-sysdep_routines.
4834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4835
65a82e3d
DM
4836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4837 fdim/fdimf to libm-sysdep_routines.
4838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4839 file.
4840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4842 file.
4843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4846 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4847 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4848 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4849 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4850
e34ab705
SP
48512013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4852
2a91b573
SP
4853 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4854 to optimize copies.
4855
1066a534
SP
4856 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4859
e34ab705
SP
4860 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4861 local variable MPTWO.
4862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4863 Likewise.
4864
aba5e596
MF
48652013-01-13 Mike Frysinger <vapier@gentoo.org>
4866
4867 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4868 GLOB_NOESCAPE.
4869
e557e9e5
MF
48702013-01-13 Mike Frysinger <vapier@gentoo.org>
4871
4872 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4873
0428cec9
MF
48742013-01-13 Mike Frysinger <vapier@gentoo.org>
4875
4876 * manual/pattern.texi (glob_t): Document gl_flags.
4877 (glob64_t): Likewise.
4878
8794a964
DM
48792013-01-11 David S. Miller <davem@davemloft.net>
4880
66438c3f
RM
4881 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4882 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4883 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4884 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4885 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4886 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4887 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4888 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4889 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4890 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4891 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4892 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4893 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4894
4ae4244d
DM
4895 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4896 sparc V9 rather than using V8 code.
4897 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4898 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4899
8794a964
DM
4900 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4901 Move to...
4902 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4903 Here.
4904
6270516e
RM
49052013-01-11 Roland McGrath <roland@hack.frob.com>
4906
4907 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4908 not in the main loop.
4909 * configure: Regenerated.
4910
6a57d931
JM
49112013-01-11 Joseph Myers <joseph@codesourcery.com>
4912
4913 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4914 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4915 to just #else.
4916 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4917 [!__GLIBC_HAVE_LONG_LONG] case.
4918 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4919 condition to just #else.
4920 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4921 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4922 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4923 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4924 unconditional.
4925 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4926 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4927 #elif condition to just #else.
4928 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4929 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4930 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4931 #elif condition to just #else.
4932
0e8529e9
SE
49332013-01-11 Steve Ellcey <sellcey@mips.com>
4934
4935 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4936 (EF_MIPS_ARCH_64): Fix value.
4937 (EF_MIPS_ARCH_32R2): New.
4938 (EF_MIPS_ARCH_64R2): New.
4939
740b3dbe
L
49402013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4941
4942 * Makeconfig (+link-pie-before-libc): New.
4943 (+link-pie-after-libc): Likewise.
4944 (+link-pie-tests): Likewise.
4945 (+link-pie): Rewritten.
4946 (link-before-libc): Remove $(config-LDFLAGS).
4947 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4948 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4949 (config-LDFLAGS): Renamed to ...
4950 (rtld-LDFLAGS): This.
4951 (rtld-tests-LDFLAGS): New macro.
4952 (link-libc-rpath-link): Likewise.
4953 (link-libc-tests-rpath-link): Likewise.
4954 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4955 (link-libc): Prepand $(link-libc-rpath-link).
4956 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4957 (test-program-prefix): New macro.
4958 (test-via-rtld-prefix): Likewise.
4959 (test-program-cmd): Likewise.
4960 (host-test-program-cmd): Likewise.
4961 * Makefile ($(common-objpfx)testrun.sh): Replace
4962 $(run-program-prefix) with $(test-program-prefix).
4963 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4964 $(rtld-LDFLAGS).
4965 ($(common-objpfx)shlib.lds): Likewise.
4966 (build-module-helper): Likewise.
4967 ($(common-objpfx)format.lds): Likewise.
4968 * Rules (binaries-pie-tests): New.
4969 (binaries-pie-notests): Likewise.
4970 (binaries-pie): Rewritten.
4971 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4972 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4973 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4974 (make-test-out): Replace $(host-built-program-cmd) with
4975 $(host-test-program-cmd).
4976 * config.make.in (build-hardcoded-path-in-tests): New variable.
4977 * configure.in (--enable-hardcoded-path-in-tests): New configure
4978 option.
4979 (hardcoded_path_in_tests): New AC_SUBST.
4980 * configure: Regenerated.
4981 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4982 $(built-program-cmd) with $(test-program-cmd).
4983 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4984 (test_program_cmd): This.
4985 * elf/Makefile ($(objpfx)order.out): Run test with
4986 $(test-program-prefix).
4987 ($(objpfx)order2.out): Likewise.
4988 ($(objpfx)tst-initorder.out): Likewise.
4989 ($(objpfx)tst-initorder2.out): Likewise.
4990 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4991 $(test-program-cmd).
4992 ($(objpfx)tst-array1-static.out): Likewise.
4993 ($(objpfx)tst-array2.out): Likewise.
4994 ($(objpfx)tst-array3.out): Likewise.
4995 ($(objpfx)tst-array4.out): Likewise.
4996 ($(objpfx)tst-array5.out): Likewise.
4997 ($(objpfx)tst-array5-static.out): Likewise.
4998 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4999 $(test-program-cmd).
5000 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
5001 $(run-program-prefix) with $(test-program-prefix).
5002 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
5003 (test_program_prefix): This.
5004 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
5005 $(run-program-prefix) with $(test-program-prefix).
5006 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
5007 (test_program_prefix): This.
5008 * iconvdata/tst-tables.sh: Likewise.
5009 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
5010 $(run-program-prefix) with $(test-program-prefix).
5011 ($(objpfx)tst-translit.out): Likewise.
5012 ($(objpfx)tst-gettext2.out): Likewise.
5013 ($(objpfx)tst-gettext4.out): Likewise.
5014 ($(objpfx)tst-gettext6.out): Likewise.
5015 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
5016 (test_program_prefix): This.
5017 * intl/tst-gettext2.sh: Likewise.
5018 * intl/tst-gettext4.sh Likewise.
5019 * intl/tst-gettext6.sh: Likewise.
5020 * intl/tst-translit.sh: Likewise.
5021 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
5022 with $(test-program-cmd).
5023 * libio/Makefile ($(objpfx)test-freopen.out): Replace
5024 $(run-program-prefix) with $(test-program-prefix).
5025 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5026 (test_program_prefix): This.
5027 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5028 $(run-program-prefix) with $(test-program-prefix).
5029 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5030 (test_program_prefix): This.
5031 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5032 * posix/Makefile ($(objpfx)globtest.out): Replace
5033 $(run-via-rtld-prefix) and $(test-wrapper) with
5034 $(test-program-prefix) and $(test-via-rtld-prefix).
5035 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5036 $(test-program-prefix).
5037 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5038 $(host-test-program-cmd).
5039 (tst-spawn-ARGS): Likewise.
5040 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5041 $(test-program-prefix).
5042 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5043 (test_via_rtld_prefix): This.
5044 (test_wrapper): Renamed to ...
5045 (test_program_prefix): This.
5046 (run_program_prefix): Replaced by test_program_prefix.
5047 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5048 (test_program_prefix): This.
5049 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5050 with $(host-test-program-cmd).
5051 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5052 $(run-program-prefix) with $(test-program-prefix).
5053 ($(objpfx)tst-printf.out): Likewise.
5054 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5055 $(test-program-cmd).
5056 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5057 (test_program_prefix): This.
5058 * stdio-common/tst-unbputc.sh: Likewise.
5059 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5060 $(run-program-prefix) with $(test-program-prefix).
5061 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5062 (test_program_prefix): This.
5063 * string/Makefile ($(objpfx)tst-svc.out): Replace
5064 $(built-program-cmd) with $(test-program-cmd).
5065
c6fe55cf
AJ
50662013-01-11 Andreas Jaeger <aj@suse.de>
5067
5068 [BZ #15003]
5069 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5070 value. Sync with Linux 3.7.
5071
9e6919c8
DM
50722013-01-10 David S. Miller <davem@davemloft.net>
5073
5074 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5075 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5076 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5077
1c9f1a02
RM
50782013-01-10 Roland McGrath <roland@hack.frob.com>
5079
5080 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5081 never set.
5082 * configure: Regenerated.
5083
b9de2dde
DM
50842013-01-10 David S. Miller <davem@davemloft.net>
5085
5086 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5087 sparc V9 rather than using V8 code.
5088 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5089 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5090
e7f68ef4
RM
50912013-01-10 Roland McGrath <roland@hack.frob.com>
5092
5093 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5094 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5095 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5096 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5097 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5098 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5099 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5100 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5101 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5102 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5103 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5104 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5105 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5106 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5107 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5108 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5109 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5110 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5111 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5112 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5113 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5114 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5115 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5116 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5117 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5118 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5119 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5120
5a47cc9c
DM
51212013-01-10 David S. Miller <davem@davemloft.net>
5122
5123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5124
4cf8f209
L
51252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5126
5127 * posix/Makefile (tests-static): New variable.
5128 (tests): Add $(tests-static).
5129 (tst-exec-static-ARGS): New variable.
5130 (tst-spawn-static-ARGS): Likewise.
5131 * posix/tst-exec-static.c: New file.
5132 * posix/tst-spawn-static.c: Likewise.
5133 * posix/tst-exec.c: Support run directly.
5134 * posix/tst-spawn.c: Likewise.
5135
fed0faa1
JM
51362013-01-10 Joseph Myers <joseph@codesourcery.com>
5137
828beb13
JM
5138 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5139 long.
5140 * math/bits/mathcalls.h (llrint): Likewise.
5141 (llround): Likewise.
5142 * stdlib/stdlib.h (struct drand48_data): Likewise.
5143 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5144 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5145 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5146 Likewise.
5147 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5148 Likewise.
5149 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5150 (elf_greg_t): Likewise.
5151 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5152 (__jmp_buf): Likewise.
5153 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5154 definitions.
5155 (llrint): Likewise, for all definitions.
5156 (llrintl): Likewise.
5157
fed0faa1
JM
5158 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5159 Remove [__GNUC__] condition.
5160 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5161 condition to just [__USE_ISOC99].
5162 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5163
1a20cb20
L
51642013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5165
5166 [BZ #14200]
5167 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5168 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5169 defined.
5170 (_POSIX_V6_ILP32_OFF32): Likewise.
5171 (_XBS5_ILP32_OFF32): Likewise.
5172 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5173 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5174
751b85f7
SP
51752013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5176
7490eb81
SP
5177 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5178
751b85f7
SP
5179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5180 doubles __mpexp_twomm1. Adjust usage.
5181 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5182 Remove.
5183
988197f0
AS
51842013-01-10 Andreas Schwab <schwab@suse.de>
5185
5186 [BZ #14964]
5187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5188 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5189
e83d7298
DM
51902013-01-09 David S. Miller <davem@davemloft.net>
5191
034ed64b 5192 [BZ #15003]
e83d7298
DM
5193 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5194 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5195 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5196 TCP_FASTOPEN): Define.
5197 (tcp_repair_opt): New structure.
5198 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5199 enum values.
5200 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5201 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5202 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5203 (tcp_cookie_transactions): New structure.
5204
d5e0b9bd
AB
52052013-01-09 Anton Blanchard <anton@samba.org>
5206
5207 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5208 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5209 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5210 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5211
0c07e3ea
JM
52122013-01-09 Joseph Myers <joseph@codesourcery.com>
5213
5214 * include/features.h (__USE_ANSI): Remove.
5215
232f7002
RM
52162013-01-09 Roland McGrath <roland@hack.frob.com>
5217
ad98e30c
RM
5218 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5219
232f7002
RM
5220 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5221
950c99ca
SP
52222013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5223
b5792741
SP
5224 * sysdeps/s390/fpu/libm-test-ulps: Update.
5225
47cf2278
SP
5226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5227
950c99ca
SP
5228 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5229 (__acr): Likewise.
5230 (__cpy): Likewise.
5231 (norm): Likewise.
5232 (denorm): Likewise.
5233 (__mp_dbl): Likewise.
5234 (__dbl_mp): Likewise.
5235 (add_magnitudes): Likewise.
5236 (sub_magnitudes): Likewise.
5237 (__add): Likewise.
5238 (__sub): Likewise.
5239 (__mul): Likewise.
5240 (__inv): Likewise.
5241 (__dvd): Likewise.
5242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5243 (__acr): Likewise.
5244 (__cpy): Likewise.
5245 (norm): Likewise.
5246 (denorm): Likewise.
5247 (__mp_dbl): Likewise.
5248 (__dbl_mp): Likewise.
5249 (add_magnitudes): Likewise.
5250 (sub_magnitudes): Likewise.
5251 (__add): Likewise.
5252 (__sub): Likewise.
5253 (__mul): Likewise.
5254 (__inv): Likewise.
5255 (__dvd): Likewise.
5256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5257 (__acr): Likewise.
5258 (__cpy): Likewise.
5259 (norm): Likewise.
5260 (denorm): Likewise.
5261 (__mp_dbl): Likewise.
5262 (__dbl_mp): Likewise.
5263 (add_magnitudes): Likewise.
5264 (sub_magnitudes): Likewise.
5265 (__add): Likewise.
5266 (__sub): Likewise.
5267 (__mul): Likewise.
5268 (__inv): Likewise.
5269 (__dvd): Likewise.
5270
eede9df9
JM
52712013-01-08 Joseph Myers <joseph@codesourcery.com>
5272
5273 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5274 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5275 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5276 2 && __USE_EXTERN_INLINES]: Likewise.
5277
c40ea3d9
AJ
52782013-01-08 Andreas Jaeger <aj@suse.de>
5279
5280 [BZ# 14985]
5281 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5282 Remove.
5283 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5284 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5285
2ccdea26
AB
52862013-01-07 Anton Blanchard <anton@samba.org>
5287
5288 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5289 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5290 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5291 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5292 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5293 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5294 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5295 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5296 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5297 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5298 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5300 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5301 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5303 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5304 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5305 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5306 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5307 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5309 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5310 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5311 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5312 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5313 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5314 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5315 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5316 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5317 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5318 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5320 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5321 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5322 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5323 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5324 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5325 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5326 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5327 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5328 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5329 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5330 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5331
a9708fed
JM
53322013-01-07 Joseph Myers <joseph@codesourcery.com>
5333
375607b9
JM
5334 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5335 (__MALLOC_PMT): Likewise.
5336 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5337 [__GNUC__], only on [_LIBC].
5338 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5339 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5340 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5341 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5342 forward declaration.
5343 (realloc_hook_ini): Likewise.
5344 (memalign_hook_ini): Likewise.
5345 (__libc_memalign): Do not use __MALLOC_PMT in variable
5346 declaration.
5347 (__libc_valloc): Likewise.
5348 (__libc_pvalloc): Likewise.
5349 (__libc_calloc): Likewise.
5350 (__posix_memalign): Likewise.
5351
a9708fed
JM
5352 [BZ #14996]
5353 * math/s_casinh.c: Include <float.h>.
5354 (__casinh): Do not do computation with squaring and square root
5355 for large arguments.
5356 * math/s_casinhf.c: Include <float.h>.
5357 (__casinhf): Do not do computation with squaring and square root
5358 for large arguments.
5359 * math/s_casinhl.c: Include <float.h>.
5360 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5361 (__casinhl): Do not do computation with squaring and square root
5362 for large arguments.
5363 * math/libm-test.inc (casin_test): Add more tests.
5364 (casinh_test): Likewise.
5365 * sysdeps/i386/fpu/libm-test-ulps: Update.
5366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5367
afec409a
L
53682013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5369
5370 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5371 (__x86_64_raw_data_cache_size): Likewise.
5372 (__x86_64_data_cache_size_half): Likewise.
5373 (__x86_64_raw_data_cache_size_half): Likewise.
5374 (__x86_64_shared_cache_size): Likewise.
5375 (__x86_64_raw_shared_cache_size): Likewise.
5376 (__x86_64_shared_cache_size_half): Likewise.
5377 (__x86_64_raw_shared_cache_size_half): Likewise.
5378 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5379 to ...
5380 (__x86_data_cache_size): This.
5381 (__x86_64_raw_data_cache_size): Renamed to ...
5382 (__x86_raw_data_cache_size): This.
5383 (__x86_64_data_cache_size_half): Renamed to ...
5384 (__x86_data_cache_size_half): This.
5385 (__x86_64_raw_data_cache_size_half): Renamed to ...
5386 (__x86_raw_data_cache_size_half): This.
5387 (__x86_64_shared_cache_size): Renamed to ...
5388 (__x86_shared_cache_size): This.
5389 (__x86_64_raw_shared_cache_size): Renamed to ...
5390 (__x86_raw_shared_cache_size): This.
5391 (__x86_64_shared_cache_size_half): Renamed to ...
5392 (__x86_shared_cache_size_half): This.
5393 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5394 (__x86_raw_shared_cache_size_half): This.
5395 * sysdeps/x86_64/memcpy.S: Updated.
5396 * sysdeps/x86_64/memset.S: Likewise.
5397 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5398 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5399 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5400
0b3986d0
DM
54012013-01-04 David S. Miller <davem@davemloft.net>
5402
5403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5404
e47686e9
AS
54052013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5406
d643bac1
AS
5407 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5408 1 to avoid redefinition warning.
5409 (__USE_GNU): Don't define.
5410 (init_signaling_nan): Protoize.
5411
e47686e9
AS
5412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5413
b18decba
SP
54142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5415
fffb407f
SP
5416 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5418 (__cpymn): Likewise.
5419 (norm): Remove commented code.
5420 (denorm): Likewise.
5421 (__mp_dbl): Likewise.
5422 (__inv): Likewise.
5423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5424 (__cpymn): Likewise.
5425 (norm): Remove commented code.
5426 (denorm): Likewise.
5427 (__mp_dbl): Likewise.
5428 (__inv): Likewise.
5429
b18decba
SP
5430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5431 mp_no value for 1.0 and 2.0.
5432 (norm): Use RADIXI instead of radixi.d.
5433 (denorm): Likewise.
5434 (__mul): Use 0.0 instead of zero.d.
5435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5436 mp_no value for 1.0 and 2.0.
5437 (norm): Use RADIXI instead of radixi.d.
5438 (denorm): Likewise.
5439 (__mul): Use 0.0 instead of zero.d.
5440
cdc1c96f
JM
54412013-01-04 Joseph Myers <joseph@codesourcery.com>
5442
5443 [BZ #14994]
5444 * math/s_casinh.c (__casinh): Reduce finite argument to first
5445 quadrant then set signs of results at the end.
5446 * math/s_casinhf.c (__casinhf): Likewise.
5447 * math/s_casinhl.c (__casinhl): Likewise.
5448 * math/libm-test.inc (casin_test): Add more tests.
5449 (casinh_test): Likewise.
5450 * sysdeps/i386/fpu/libm-test-ulps: Update.
5451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5452
302913e1
SP
54532013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5454
6420d207
SP
5455 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5456
a9e48ab4
SP
5457 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5458
b7837264
SP
5459 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5460 declarations.
5461 (denorm): Likewise.
5462 (__mp_dbl): Likewise.
5463 (__inv): Likewise.
5464
f8af25d2
SP
5465 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5466 and adjust the header comment.
5467
302913e1
SP
5468 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5469 variable name from declaration.
5470
5d7dd1ca
L
54712013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5472
5473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5474 Initialize COMMON_CPUID_INDEX_7 element.
5475 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5476 (CPUID_RTM): Likewise.
5477 (HAS_RTM): Likewise.
5478 (COMMON_CPUID_INDEX_7): New enum.
5479
2f5f40f4
AS
54802013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5481
5482 [BZ #14981]
5483 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5484 size is zero, record memory as freed.
5485
4056f4a0
AJ
54862013-01-03 Andreas Jaeger <aj@suse.de>
5487
5488 * po/ia.po: Add new Interlingua translation.
5489
ab15736f 54902012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5491
5492 * locale/programs/localedef.c: Fix description of '--posix' flag.
5493
568035b7
JM
54942013-01-02 Joseph Myers <joseph@codesourcery.com>
5495
e6898b8d
JM
5496 * NEWS: Update dates in second copyright notice.
5497 * README: Update copyright dates in example.
5498 * manual/libc.texinfo: Update copyright dates.
5499 * scripts/test-installation.pl: Update copyright date in --version
5500 output.
5501
0e2f9562
JM
5502 * hurd/ctty-input.c: Fix copyright notice formatting.
5503 * hurd/ctty-output.c: Likewise.
5504 * hurd/dtable.c: Likewise.
5505 * hurd/hurd-raise.c: Likewise.
5506 * hurd/hurdprio.c: Likewise.
5507 * hurd/msgportdemux.c: Likewise.
5508 * misc/sys/file.h: Likewise.
5509 * misc/sys/ioctl.h: Likewise.
5510 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5511 * sysdeps/mach/hurd/chdir.c: Likewise.
5512 * sysdeps/mach/hurd/fchdir.c: Likewise.
5513 * sysdeps/mach/hurd/rename.c: Likewise.
5514 * sysdeps/mach/hurd/rmdir.c: Likewise.
5515 * sysdeps/mach/hurd/seekdir.c: Likewise.
5516 * sysdeps/mach/hurd/setsid.c: Likewise.
5517 * sysdeps/posix/wait3.c: Likewise.
5518
568035b7
JM
5519 * All files with FSF copyright notices: Update copyright dates
5520 using scripts/update-copyrights.
5521 * intl/plural.c: Regenerated.
5522 * locale/programs/charmap-kw.h: Likewise.
5523 * locale/programs/locfile-kw.h: Likewise.
5524
da08f647
SP
55252013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5526
0f5477af
SP
5527 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5528 four values.
5529
44e0d4c2
SP
5530 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5531 calculation loop and add branch prediction.
5532
4d55b4e5
SP
5533 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5534 check access beyond bounds of m1np.
5535
da08f647
SP
5536 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5537 MPTWO.
5538 (__inv): Remove local variable MPTWO to use the global
5539 constant.
5540 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5541 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5542 variable MPTWO.
5543 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5544 MP3HALFS static const.
5545
8e051029
DM
55462013-01-01 David S. Miller <davem@davemloft.net>
5547
5548 * po/ca.po: Update from translation team.
5549
f4cf5f2d
JM
55502013-01-01 Joseph Myers <joseph@codesourcery.com>
5551
5552 * scripts/update-copyrights: New file.
5553 * Makeconfig: Reformat copyright notice.
5554 * ctype/ctype.h: Likewise.
5555 * debug/swprintf_chk.c: Likewise.
5556 * elf/dl-cache.c: Likewise.
5557 * elf/dl-debug.c: Likewise.
5558 * elf/dl-object.c: Likewise.
5559 * grp/initgroups.c: Likewise.
5560 * hurd/Makefile: Likewise.
5561 * hurd/hurd/signal.h: Likewise.
5562 * hurd/hurdfault.c: Likewise.
5563 * hurd/hurdioctl.c: Likewise.
5564 * hurd/hurdlookup.c: Likewise.
5565 * hurd/intr-msg.c: Likewise.
5566 * iconv/gconv_open.c: Likewise.
5567 * libio/swprintf.c: Likewise.
5568 * locale/lc-ctype.c: Likewise.
5569 * locale/nl_langinfo.c: Likewise.
5570 * mach/Machrules: Likewise.
5571 * mach/Makefile: Likewise.
5572 * malloc/obstack.h: Likewise.
5573 * manual/Makefile: Likewise.
5574 * manual/tsort.awk: Likewise.
5575 * misc/bits/stab.def: Likewise.
5576 * nis/nis_print_group_entry.c: Likewise.
5577 * nis/nis_table.c: Likewise.
5578 * nis/nss_compat/compat-pwd.c: Likewise.
5579 * nis/nss_compat/compat-spwd.c: Likewise.
5580 * po/Makefile: Likewise.
5581 * posix/fnmatch.c: Likewise.
5582 * posix/regex.h: Likewise.
5583 * resolv/Makefile: Likewise.
5584 * resolv/nss_dns/dns-network.c: Likewise.
5585 * resolv/res_hconf.c: Likewise.
5586 * scripts/gen-sorted.awk: Likewise.
5587 * soft-fp/soft-fp.h: Likewise.
5588 * stdio-common/printf.h: Likewise.
5589 * stdlib/monetary.h: Likewise.
5590 * stdlib/random.c: Likewise.
5591 * stdlib/random_r.c: Likewise.
5592 * sysdeps/generic/Makefile: Likewise.
5593 * sysdeps/gnu/Makefile: Likewise.
5594 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5596 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5597 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5598 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5601 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5607 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5608 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5609 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5610 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5613 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5614 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5615 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5616 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5617 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5618 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5619 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5622 * sysdeps/mach/hurd/errnos.awk: Likewise.
5623 * sysdeps/mach/hurd/fork.c: Likewise.
5624 * sysdeps/mach/hurd/getcwd.c: Likewise.
5625 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5626 * sysdeps/mach/hurd/mmap.c: Likewise.
5627 * sysdeps/mach/hurd/utimes.c: Likewise.
5628 * sysdeps/mach/hurd/xmknod.c: Likewise.
5629 * sysdeps/posix/profil.c: Likewise.
5630 * sysdeps/posix/readdir_r.c: Likewise.
5631 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5632 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5633 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5634 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5635 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5636 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5637 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5638 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5639 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5640 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5641 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5642 * sysdeps/pthread/lio_listio.c: Likewise.
5643 * sysdeps/sparc/dl-procinfo.h: Likewise.
5644 * sysdeps/unix/i386/sysdep.S: Likewise.
5645 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5646 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5647 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5648 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5650 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5651 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5652 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5653 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5654 * sysdeps/wordsize-32/divdi3.c: Likewise.
5655 * time/sys/time.h: Likewise.
5656 * wcsmbs/Makefile: Likewise.
5657
0549fbba
DM
56582013-01-01 David S. Miller <davem@davemloft.net>
5659
a141f1a7
DM
5660 * po/fr.po: Update from translation team.
5661
0549fbba
DM
5662 * catgets/gencat.c: Update copyright year.
5663 * csu/version.c: Likewise.
5664 * debug/catchsegv.sh: Likewise.
5665 * debug/pcprofiledump.c: Likewise.
5666 * debug/xtrace.sh: Likewise.
5667 * elf/ldconfig.c: Likewise.
5668 * elf/ldd.bash.in: Likewise.
5669 * elf/pldd.c: Likewise.
5670 * elf/sotruss.ksh: Likewise.
5671 * elf/sprof.c: Likewise.
5672 * iconv/iconv_prog.c: Likewise.
5673 * iconv/iconvconfig.c: Likewise.
5674 * locale/programs/locale.c: Likewise.
5675 * locale/programs/localedef.c: Likewise.
5676 * login/programs/pt_chown.c: Likewise.
5677 * malloc/memusage.sh: Likewise.
5678 * malloc/memusagestat.c: Likewise.
5679 * malloc/mtrace.pl: Likewise.
5680 * nscd/nscd.c: Likewise.
5681 * nss/getent.c: Likewise.
5682 * nss/makedb.c: Likewise.
5683 * posix/getconf.c: Likewise.
5684
18ea052c
SP
56852012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5686
5687 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5688 numbers.
5689
9c89fca6
MF
56902012-12-30 Mike Frysinger <vapier@gentoo.org>
5691
5692 * math/bits/mathcalls.h (modf): Use __nonnull.
5693
085ec079
SP
56942012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5695
5696 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5697 (split): Use macro CN instead of the bare value.
5698 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5699 could be used.
5700 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5701 instead of the bare value.
5702 (power1): Likewise.
5703
6d9f97e1
SP
57042012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5705
d63f73be
SP
5706 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5707 __ATAN_TWOM.
5708 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5709
6d9f97e1
SP
5710 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5711 their values.
5712 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5713 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5714 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5715 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5716
4c4febf5
AJ
57172012-12-28 Andreas Jaeger <aj@suse.de>
5718
af5843ef
AJ
5719 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5720 values are from Linux 3.7.
5721
4c4febf5
AJ
5722 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5723 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5724
99136f82
SP
57252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5726
2f216c3c 5727 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5728 TRUE case.
5729
99136f82
SP
5730 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5731 (norm): Likewise.
5732 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5733 variables with preprocessor constants.
5734 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5735 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5736 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5737
7fffbdff
BH
57382012-12-27 Bruno Haible <bruno@clisp.org>
5739
5740 [BZ #14317]
5741 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5742 only if needed.
5743
b76eb5f0
SP
57442012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5745
31a7fe5c
SP
5746 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5747 and use variable directly.
5748 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5749
b76eb5f0
SP
5750 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5751 MPONE.
5752 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5754 variable MPONE.
5755 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5756 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5757 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5758 include directive. Remove local variable MPONE.
5759 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5760 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5761 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5762
2c8bfe7d
DM
57632012-12-25 David S. Miller <davem@davemloft.net>
5764
5765 * version.h (RELEASE): Set to "development".
5766 (VERSION): Set to "2.17.90".
5767 * NEWS: Add 2.18 section.
5768
147d03b0
DM
57692012-12-21 David S. Miller <davem@davemloft.net>
5770
5771 * po/hr.po: Update from translation team.
5772
a8ebb2b9
AK
57732012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5774
5775 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5776
95b4f1b6
SE
57772012-12-19 Steve Ellcey <sellcey@mips.com>
5778
b2d94007 5779 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5780
cedb2a90
MS
57812012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5782
5783 * manual/contrib.texi (Contributors): Spelling correction.
5784
bbf527d6
DM
57852012-12-15 David S. Miller <davem@davemloft.net>
5786
5787 * po/ru.po: Update from translation team.
5788
bc38c906
DM
57892012-12-13 David S. Miller <davem@davemloft.net>
5790
85429b1a
DM
5791 * NEWS: Mention IFUNC testsuite enhancements.
5792
d283e353
DM
5793 * po/pl.po: Update from translation team.
5794 * po/bg.po: Likewise.
5795
bc38c906
DM
5796 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5797 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5798
a181b0d7
DM
57992012-12-11 David S. Miller <davem@davemloft.net>
5800
4641d57e
DM
5801 * po/sv.po: Update from translation team.
5802
f7bc6495
DM
5803 * po/vi.po: Update from translation team.
5804
6fc9048f
DM
5805 * po/cs.po: Update from translation team.
5806
a181b0d7
DM
5807 * po/de.po: Update from translation team.
5808 * po/eo.po: Likewise.
5809 * po/nl.po: Likewise.
5810
f70bfe80
SP
58112012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5812
3c8b4190
SP
5813 [BZ #14246]
5814 * manual/argp.texi (Argp Helper Functions): Move node to follow
5815 Argp Parsing State.
5816
f70bfe80
SP
5817 [BZ #14872]
5818 * manual/conf.texi (Limits on File System Capacity): Mention if
5819 terminating null is included in the max size.
5820
188f0adf
AJ
58212012-12-10 Andreas Jaeger <aj@suse.de>
5822
5823 * po/cs.po: Update from translation team.
5824
56e7d3ad
SP
58252012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5826
5827 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5828 void pointer and cast to uintptr_t.
5829 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5830 path.
5831 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5832 * sysdeps/s390/s390-64/memset.S: Likewise.
5833
76f2d2ea 58342012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5835
5836 [BZ #14833]
5837 * menual/message.texi (Message Translation): Fix typos.
5838 (Helper programs for gettext): Likewise.
5839
67cbf9a2
AS
58402012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5841
5842 [BZ #14898]
5843 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5844 Change to -1.
5845
682d0e9a
DM
58462012-12-07 David S. Miller <davem@davemloft.net>
5847
5848 * po/libc.pot: Update.
5849
573cd484
RH
58502012-12-07 Richard Henderson <rth@redhat.com>
5851
7e9da188 5852 [BZ #10114]
573cd484
RH
5853 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5854 normal/normal case to before the switch.
5855 (_FP_DIV): Likewise.
5856
e933a943
MF
58572012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5858 Mike Frysinger <vapier@gentoo.org>
5859
5860 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5861 check for __NR_fadvise64_64.
5862
82123268
CM
58632012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5864
5865 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5866 0, not just to plain "0" as a statement.
5867 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5868 with cw.
5869
d9814526
JM
58702012-12-06 Joseph Myers <joseph@codesourcery.com>
5871
5872 * NEWS: Use sourceware.org in Bugzilla URL.
5873
7728c574
SP
58742012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5875
f16946dd
SP
5876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5877 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5878
5704bbcb
SP
5879 * stdio-common/tst-put-error.c (do_test): Add newline to the
5880 padded test to ensure flush.
5881
17aa0516
JL
58822012-12-05 Jeff Law <law@redhat.com>
5883
5884 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5885
363313b5
JM
58862012-12-05 Joseph Myers <joseph@codesourcery.com>
5887
effbd42a
JM
5888 * README: Don't refer to ports add-on as distributed separately.
5889 Mention AArch64 in list of systems supported in the ports add-on.
5890
87600365
JM
5891 * LICENSES: Add more non-FSF copyright and license notices.
5892
a0d7066a
JM
5893 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5894 ((unused)).
5895
66ca5a5b
JM
5896 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5897
363313b5
JM
5898 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5899 10000 as width of padded output.
5900
b37984ad
JM
59012012-12-04 Joseph Myers <joseph@codesourcery.com>
5902
9003570a
JM
5903 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5904
b37984ad
JM
5905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5906 variable LX with __attribute__ ((unused)).
5907 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5908 Likewise.
5909 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5910 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5911 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5912 with __attribute__ ((unused)).
5913
c8df52ec
DM
59142012-12-04 David S. Miller <davem@abraco.davemloft.net>
5915
5916 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5917
b3b099af
JM
59182012-12-04 Joseph Myers <joseph@codesourcery.com>
5919
c33aa6e3
JM
5920 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5921 (CFLAGS-nldbl-acos.c): New variable.
5922 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5927 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5928 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5929 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5930 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5931 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5932 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5933 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5934 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5935 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5936 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5937 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5938 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5939 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5940 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5941 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5942 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5943 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5944 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5945 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5946 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5947 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5948 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5949 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5965 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5966 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5967 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5968 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5969 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5970 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5971 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5972 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5973 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5974 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5975 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5976 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5977 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5978 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5979 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5980 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5981 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5982 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5983 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5984 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5985 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5986 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5987 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5988 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5989 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5990 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5991 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5992 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5993 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5994 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5995 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5996 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5997 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5998 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5999 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
6000 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
6001 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
6002 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
6003 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
6004 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
6005 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
6006 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
6007 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
6008 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
6009 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
6010 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
6011 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
6012 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
6013 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
6014 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
6015 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
6016 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
6017 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
6018 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
6019
20f0018d
JM
6020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6021 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
6022
b3b099af
JM
6023 [BZ #14914]
6024 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
6025 whole low double instead of just low 47 bits when splitting values
6026 into two parts.
6027
029264d1
AM
60282012-12-03 Allan McRae <allan@archlinux.org>
6029
6030 * manual/stdio.texi (Predefined Printf Handlers): Remove
6031 @hsep and @vsep usage.
6032
c9d6789e
MF
60332012-12-03 Mike Frysinger <vapier@gentoo.org>
6034
6035 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6036 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6037
4b7634a5
JL
60382012-12-03 Jeff Law <law@redhat.com>
6039
6040 * time/sys/time.h (settimeofday): Do not mark TV argument
6041 as __nonnull.
6042
eb6cbd24
MF
60432012-12-01 Mike Frysinger <vapier@gentoo.org>
6044
6045 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6046 when currently writing and seek to current position when not.
6047 * libio/Makefile (tests): Remove bug-fclose1.
6048 * libio/bug-fclose1.c: Delete.
6049
f638872a
JM
60502012-12-01 Joseph Myers <joseph@codesourcery.com>
6051
6052 * manual/arith.texi (feenableexcept): Fix typo.
6053 (fedisableexcept): Likewise.
6054
48085d14
RM
60552012-11-30 Roland McGrath <roland@hack.frob.com>
6056
6057 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6058 second, differently-typed declaration, rather than a cast.
6059
1a538b9f
SP
60602012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6061
6062 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6063 * include/rpc/svc.h: ... here.
6064
d07f2ff1 60652012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6066
6067 [BZ #13013]
6068 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6069 depending n and resplen2 to catch cases where answer
6070 equals answerp2.
6071
c93ec1f0
CD
60722012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6073
6074 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6075 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6076
37db69de
MF
60772012-11-29 Mike Frysinger <vapier@gentoo.org>
6078
6079 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6080
e10c4e4f
RM
60812012-11-29 Roland McGrath <roland@hack.frob.com>
6082
6083 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6084
2af1b328
JL
60852012-11-28 Jeff Law <law@redhat.com>
6086
6087 [BZ #13761]
6088 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6089 dataset_temporary. Track alloca usage into alloca_used.
6090 If dataset is large allocate and release it via malloc/free.
6091
111db5b1
FW
60922012-06-04 Florian Weimer <fweimer@redhat.com>
6093
f06cc227 6094 [BZ #14197]
111db5b1
FW
6095 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6096
dd694abd
DM
60972012-11-28 David S. Miller <davem@davemloft.net>
6098
6099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6100
9984dd01
JM
61012012-11-28 Joseph Myers <joseph@codesourcery.com>
6102
6103 [BZ #14803]
6104 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6105 of pi/2 rounded to nearest to 64 bits.
6106 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6107 nearest to 64 bits.
6108 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6109 bits.
6110
14bc93a9
JL
61112012-11-28 Jeff Law <law@redhat.com>
6112 Martin Osvald <mosvald@redhat.com>
6113
6114 [BZ #14889]
6115 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6116 * sunrpc/svc.c: Include time.h.
6117 (__svc_accept_failed): New function.
6118 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6119 any reason other than EINTR, call __svc_accept_failed.
6120 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6121 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6122
e3c6aa3a
AS
61232012-11-28 Andreas Schwab <schwab@suse.de>
6124
6125 * scripts/abilist.awk: Also handle indirect functions in .opd
6126 section.
6127
1bead169
JM
61282012-11-28 Joseph Myers <joseph@codesourcery.com>
6129
6130 [BZ #13881]
6131 * sysdeps/x86/fpu/powl_helper.c: New file.
6132 * sysdeps/x86/fpu/Makefile: Likewise.
6133 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6134 (p3): New object.
6135 (__ieee754_powl): Use __powl_helper for finite arguments except
6136 integer exponents below 8.
6137 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6138 (p3): New object.
6139 (__ieee754_powl): Use __powl_helper for finite arguments except
6140 integer exponents below 8.
6141 * math/libm-test.inc (pow_test): Add more tests and enable some
6142 previously disabled tests.
6143 * sysdeps/i386/fpu/libm-test-ulps: Update.
6144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6145
0817d63d
SP
61462012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6147 Carlos O'Donell <carlos_odonell@mentor.com>
6148
6149 * nss/makedb.c (is_prime): Assert that input is odd and greater
6150 than 4. Note that fact in a comment too.
6151 (next_prime): Add 4 to input.
6152
de2fd463
SP
61532012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6154
6155 [BZ #11741]
6156 * libio/Makefile (tests): Add test case tst-fwrite-error.
6157 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6158 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6159 * libio/tst-fwrite-error.c: New test case.
6160
c515fb51
L
61612012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6162
6163 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6164 before casting to void *.
6165 * include/libc-internal.h (__pointer_type): New macro.
6166 (__integer_if_pointer_type_sub): Likewise.
6167 (__integer_if_pointer_type): Likewise.
6168 (cast_to_integer): Likewise.
6169 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6170 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6171 before casting to atomic64_t.
6172 (atomic_exchange_acq): Likewise.
6173 (__arch_exchange_and_add_body): Likewise.
6174 (__arch_add_body): Likewise.
6175 (atomic_add_negative): Likewise.
6176 (atomic_add_zero): Likewise.
6177
4cf77aa9
JM
61782012-11-26 Joseph Myers <joseph@codesourcery.com>
6179
6180 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6181 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6182 (add_fdes): Likewise.
6183 (linear_search_fdes): Likewise.
6184 (binary_search_unencoded_fdes): Likewise.
6185
d260b3b4
AS
61862012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6187
6188 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6189
67060746
AC
61902012-11-24 Adam Conrad <adconrad@0c3.net>
6191
6192 * configure.in: Autodetect C++ header directories.
6193 * configure: Regenerated.
6194
800938a1
MF
61952012-11-23 Mike Frysinger <vapier@gentoo.org>
6196
6197 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6198
4e6e34e6
AS
61992012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6200
6201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6202
7c7feb47
JM
62032012-11-22 Joseph Myers <joseph@codesourcery.com>
6204
7184dcdf
JM
6205 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6206 LDBL_MANT_DIG == 106]: Disable some tests.
6207 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6208 Likewise.
6209 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6210 Likewise.
6211
0a42601f
JM
6212 [BZ #14871]
6213 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6214 input for small inputs. Return +/- pi/2 for large inputs.
6215 * math/libm-test.inc (atan_test): Add more tests.
6216
79c9b9fe
JM
6217 * sysdeps/generic/unwind-dw2-fde-glibc.c
6218 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6219 __attribute__ ((unused)).
6220
c60d3bf2
JM
6221 [BZ #14645]
6222 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6223 x * y if x and y are nonzero and z is zero.
6224
ef1e0867
JM
6225 [BZ #14811]
6226 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6227 nonzero exponents with absolute value below 0x1p-117 to +/-
6228 0x1p-117.
6229
1468ded3
JM
6230 [BZ #14869]
6231 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6232 up arguments below 2**-450, not just those below 2**-500.
6233 * math/libm-test.inc (hypot_test): Add another test.
6234
8e27e3cc
JM
6235 [BZ #14868]
6236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6237 Return a+b for ratio over 2**120, not 2**60.
6238 * math/libm-test.inc (hypot_test): Add another test.
6239
c9c0279b
JM
6240 * math/libm-test.inc (clog_test): Use
6241 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6242 (clog10_test): Likewise.
6243
7c7feb47
JM
6244 [BZ #6778]
6245 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6246
fff1530e
AS
62472012-11-22 Andreas Schwab <schwab@suse.de>
6248
6249 * sysdeps/i386/fpu/libm-test-ulps: Update.
6250
94558d30
PT
62512012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6252
6253 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6254 printf output with newline.
6255
7e1be741
L
62562012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6257
6bfea974
L
6258 [BZ #14865]
6259 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6260 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6261 -z nodlopen, -z initfirst and -z execstack support.
6262 * configure: Regenerated.
6263
7e1be741
L
6264 * elf/elf.h (DF_1_NODIRECT): New macro.
6265 (DF_1_IGNMULDEF): Likewise.
6266 (DF_1_NOKSYMS): Likewise.
6267 (DF_1_NOHDR): Likewise.
6268 (DF_1_EDITED): Likewise.
6269 (DF_1_NORELOC): Likewise.
6270 (DF_1_SYMINTPOSE): Likewise.
6271 (DF_1_GLOBAUDIT): Likewise.
6272 (DF_1_SINGLETON): Likewise.
6273 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6274 DT_1_SUPPORTED_MASK bits.
6275 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6276
105ce2ce
CD
62772012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6278
6279 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6280
123be9de
TS
62812012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6282
d072f3f7
TS
6283 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6284 macro.
6285
123be9de
TS
6286 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6287 (sendmmsg): Move declarations...
6288 * socket/sys/socket.h: ... here.
6289 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6290 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6291 include it from...
6292 * socket/recvmmsg.c: ... this new file.
6293 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6294 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6295 definition of __sendmmsg hidden.
6296 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6297 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6298 Move ENOSYS stub into and include it from...
6299 * socket/sendmmsg.c: ... this new file.
6300 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6301 (sysdep_routines): Move recvmmsg and sendmmsg...
6302 * socket/Makefile (routines): ... here.
6303 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6304 (GLIBC_PRIVATE): Add __sendmmsg.
6305 * include/sys/socket.h (__sendmmsg): Add declarations.
6306 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6307 sendmmsg.
6308
cf9a5d18
JM
63092012-11-20 Joseph Myers <joseph@codesourcery.com>
6310
6311 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6312 variable I1 with __attribute__ ((unused)).
6313 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6314
ecd4caf9
JM
63152012-11-19 Joseph Myers <joseph@codesourcery.com>
6316
be14d48f
JM
6317 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6318 DUMMY variables with __attribute__ ((unused)).
6319
ecd4caf9
JM
6320 * bits/byteswap.h: Include <bits/types.h>.
6321 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6322
986cab95
PT
63232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6324
6325 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6326 string_t. Do not manually set errno.
6327 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6328 length with __strnlen. Make sure to both set errno and return it on
6329 failure.
6330
6d33cc9d
DM
63312012-11-19 David S. Miller <davem@davemloft.net>
6332
6333 With help from Joseph Myers.
6334 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6335 very large arguments properly.
6336 * math/libm-test.inc (atan_test): New tests.
6337 (atan2_test): New tests.
6338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6340
ee663277
JM
63412012-11-19 Joseph Myers <joseph@codesourcery.com>
6342
877f2d8e
JM
6343 [BZ #14856]
6344 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6345 Define to 3.
6346
116fc08a
JM
6347 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6348 [POSIX] (EADDRNOTAVAIL): Likewise.
6349 [POSIX] (EAFNOSUPPORT): Likewise.
6350 [POSIX] (EALREADY): Likewise.
6351 [POSIX] (ECONNABORTED): Likewise.
6352 [POSIX] (ECONNREFUSED): Likewise.
6353 [POSIX] (ECONNRESET): Likewise.
6354 [POSIX] (EDESTADDRREQ): Likewise.
6355 [POSIX] (EDQUOT): Likewise.
6356 [POSIX] (EHOSTUNREACH): Likewise.
6357 [POSIX] (EIDRM): Likewise.
6358 [POSIX] (EISCONN): Likewise.
6359 [POSIX] (ELOOP): Likewise.
6360 [POSIX] (EMULTIHOP): Likewise.
6361 [POSIX] (ENETDOWN): Likewise.
6362 [POSIX] (ENETUNREACH): Likewise.
6363 [POSIX] (ENOBUFS): Likewise.
6364 [POSIX] (ENODATA): Likewise.
6365 [POSIX] (ENOLINK): Likewise.
6366 [POSIX] (ENOMSG): Likewise.
6367 [POSIX] (ENOPROTOOPT): Likewise.
6368 [POSIX] (ENOSR): Likewise.
6369 [POSIX] (ENOSTR): Likewise.
6370 [POSIX] (ENOTCONN): Likewise.
6371 [POSIX] (ENOTSOCK): Likewise.
6372 [POSIX] (EOPNOTSUPP): Likewise.
6373 [POSIX] (EOVERFLOW): Likewise.
6374 [POSIX] (EPROTO): Likewise.
6375 [POSIX] (EPROTONOSUPPORT): Likewise.
6376 [POSIX] (EPROTOTYPE): Likewise.
6377 [POSIX] (ESTALE): Likewise.
6378 [POSIX] (ETIME): Likewise.
6379 [POSIX] (ETXTBSY): Likewise.
6380 [POSIX] (EWOULDBLOCK): Likewise.
6381 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6382 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6383 [POSIX] (SEEK_CUR): Likewise.
6384 [POSIX] (SEEK_END): Likewise.
6385 [POSIX || UNIX98] (mode_t): Do not require.
6386 [POSIX] (off_t): Likewise.
6387 [POSIX] (pid_t): Likewise.
6388 [POSIX] (sys/stat.h): Do not allow header.
6389 [POSIX] (unistd.h): Likewise.
6390 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6391 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6392 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6393 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6394 require.
6395 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6396 sigevent): Specify elements.
6397 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6398 entry.
6399 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6400 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6401
a483863f
JM
6402 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6403 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6404 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6405 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6406 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6407 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6408 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6409 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6410 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6411 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6412 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6413 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6414 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6415 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6416 Likewise.
6417 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6418 Likewise.
6419 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6420 Likewise.
6421 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6422 Likewise.
6423 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6424 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6425 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6426 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6427 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6428 Specify lower bound on value.
6429 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6430 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6431 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6432 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6433 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6435 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6436 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6437 value.
6438 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6439 as optional.
6440 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6445 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6446 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6447 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6448 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6452 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6453 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6454 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6455 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6456 entry.
6457 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6458 optional.
6459 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6460 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6461 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6462 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6463 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6464 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6465 Likewise.
6466 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6467 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6468 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6469 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6470 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6471 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6472 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6473 as optional.
6474 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6475 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6476 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6477 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6478 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6479 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6480 specify as optional.
6481 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6482 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6483 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6484 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6485 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6486 [XPG3] (NL_LANGMAX): Likewise.
6487 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6488 [POSIX || XPG3] (NL_NMAX): Likewise.
6489 [POSIX || XPG3] (NL_SETMAX): Likewise.
6490 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6491 [XPG3] (NZERO): Likewise.
6492 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6493 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6494 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6495 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6496 (REG_ERANGE): Expect.
6497 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6498 optional-constant.
6499 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6500 Use (void) in prototype.
6501 [POSIX] (*_t): Allow.
6502 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6503 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6504 (WRDE_BADVAL): Expect.
6505
5ba924e3
JM
6506 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6507 expect.
6508 [XPG3 || XPG4] (O_RSYNC): Likewise.
6509 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6510 Likewise.
6511 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6512 [XPG3 || XPG4] (sigqueue): Likewise.
6513 [XPG3 || XPG4] (sigtimedwait): Likewise.
6514 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6515 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6516 [XPG3 || XPG4] (vsnprintf): Likewise.
6517 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6518 Likewise.
6519 [XPG3 || XPG4] (blksize_t): Likewise.
6520 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6521 Likewise.
6522 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6523 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6524 [XPG3 || XPG4] (struct itimerspec): Likewise.
6525 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6526 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6527 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6528 [XPG3 || XPG4] (clockid_t): Likewise.
6529 [XPG3 || XPG4] (timer_t): Likewise.
6530 [XPG3 || XPG4] (clock_getres): Likewise.
6531 [XPG3 || XPG4] (clock_gettime): Likewise.
6532 [XPG3 || XPG4] (clock_settime): Likewise.
6533 [XPG3 || XPG4] (nanosleep): Likewise.
6534 [XPG3 || XPG4] (timer_create): Likewise.
6535 [XPG3 || XPG4] (timer_delete): Likewise.
6536 [XPG3 || XPG4] (timer_gettime): Likewise.
6537 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6538 [XPG3 || XPG4] (timer_settime): Likewise.
6539 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6540 [XPG3 || XPG4] (getlogin_r): Likewise.
6541 [XPG3 || XPG4] (pread): Likewise.
6542 [XPG3 || XPG4] (pthread_atfork): Likewise.
6543 [XPG3 || XPG4] (pwrite): Likewise.
6544
ee663277
JM
6545 [BZ #14835]
6546 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6547 <bits/siginfo.h>.
6548
942caa16
PT
65492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6550
e19af380
PT
6551 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6552 finalizing MALLSTREAM.
6553
942caa16
PT
6554 * sysdeps/mach/hurd/syncfs.c: New file.
6555
cfde9b46
SP
65562012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6557
6558 [BZ #14719]
6559 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6560 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6561 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6562 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6563 (_nss_dns_gethostbyname4_r): Likewise.
6564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6565 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6566
f6da27e5
PH
65672012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6568
6569 [BZ #13763]
6570 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6571
6665d4a2
SM
65722012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6573
1f51ee92
SM
6574 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6575 * elf/cache.c (print_entry): Print ",AArch64" for
6576 FLAG_AARCH64_LIB64
6577
6665d4a2
SM
6578 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6579 * elf/cache.c (print_entry): Print ",hard-float" for
6580 FLAG_ARM_LIBHF.
6581
05b227bd
DM
65822012-11-18 David S. Miller <davem@davemloft.net>
6583
6584 With help from Joseph Myers.
6585 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6586 cutoff to 2**-13.
6587 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6588 cutoff to 2**-25.
6589 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6590 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6591 small.
6592 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6593 * math/libm-test.inc (y0_test): New tests.
6594 (y1_test): New tests.
6595 * sysdeps/i386/fpu/libm-test-ulps: Update.
6596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6598
786b0b67
AS
65992012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6600
6601 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6602 64-bit targets.
6603 * configure: Regenerated.
6604
8e18b86d
DM
66052012-11-17 David S. Miller <davem@davemloft.net>
6606
6607 [BZ #14811]
6608 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6609 nonzero exponents with absolute value below 0x1p-128 to +/-
6610 0x1p-128.
6611
531f1ae0
JM
66122012-11-17 Joseph Myers <joseph@codesourcery.com>
6613
12df29e2
JM
6614 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6615
150dc1a0
JM
6616 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6617
531f1ae0
JM
6618 * posix/getconf-speclist.c: New file.
6619 * posix/posix-envs.def: Likewise.
6620 * posix/confstr.c (START_ENV_GROUP): New macro.
6621 (END_ENV_GROUP): Likewise.
6622 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6623 (KNOWN_PRESENT_ENV_STRING): Likewise.
6624 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6625 (UNKNOWN_ENVIRONMENT): Likewise.
6626 (confstr): Include posix-envs.def instead of handling
6627 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6628 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6629 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6630 (END_ENV_GROUP): Likewise.
6631 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6632 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6633 (UNKNOWN_ENVIRONMENT): Likewise.
6634 (__sysconf): Include posix-envs.def instead of handling associated
6635 cases directly here.
6636 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6637 preprocessing getconf-speclist.c rather than running getconf or
6638 generating empty file.
6639
a93f9cbc
PT
66402012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6641
6642 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6643
d64d9f87
AL
66442012-11-16 Andrej Lajovic <natrij@gmail.com>
6645
6646 [BZ #14672]
6647 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6648
447885eb
DM
66492012-11-16 David S. Miller <davem@davemloft.net>
6650
6651 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6652 smaller than LDBL_EPSILON/2.0L, just return xm1.
6653
bcbf9830
L
66542012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6655
6656 * elf/tst-array1.c (init): Set constructor priority to 1000.
6657 (fini): Set destructor priority to 1000.
6658 * elf/tst-array2dep.c: Likewise.
6659
2b766585
SP
66602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6661
6662 [BZ #11741]
6663 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6664 (_IO_new_file_xsputn): Also return EOF if none of the input
6665 data was written when overflow failed.
6666 * libio/iopadn.c (_IO_padn): Likewise.
6667 * libio/iowpadn.c (_IO_wpadn): Likewise.
6668 * stdio-common/tst-put-error.c: Add copyright notice.
6669 (do_test): Add case for printing padded string.
6670 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6671 _IO_padn returned error.
6672 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6673 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6674 return EOF.
6675
b1848fde
SP
66762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6677
6678 * libio/libioP.h: Add comment note that the references to C++
6679 bits are now obsolete.
6680
2fd89785
MS
66812012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6682
6683 * math/libm-test.inc (check_complex): Use asprintf.
6684
e3ea5409
JM
66852012-11-14 Joseph Myers <joseph@codesourcery.com>
6686
6687 * debug/pcprofiledump.c (print_version): Update copyright year.
6688 * malloc/memusagestat.c (print_version): Likewise.
6689
2e64d265
L
66902012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6691
6692 [BZ #14831]
6693 * elf/Makefile (tests): Add tst-audit8.
6694 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6695 ($(objpfx)tst-audit8.out): New target.
6696 (tst-audit8-ENV): New variable.
6697 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6698 audit if l_reloc_result is NULL.
6699 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6700 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6701 * elf/tst-audit8.c: New file.
6702
c485e4d2
MS
67032012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6704
6705 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6706 * misc/Makefile (CFLAGS-select.c): Define.
6707 * posix/Makefile (CFLAGS-pause.c): Define.
6708
3a0d900a
DM
67092012-11-13 David S. Miller <davem@davemloft.net>
6710
6711 * crypt/Makefile: Move test targets after toplevel Rules
6712 inclusion. Grab any necessary sysdep routines when linking.
6713 * crypt/md5.c (md5_process_block): Remove define, we will always
6714 name it __md5_process_block.
6715 (md5_finish_ctx): Update md5_process_block call.
6716 (md5_stream): Likewise.
6717 (md5_process_bytes): Likewise.
6718 (md5_process_block): Rename to __md5_process_block and move to ...
6719 * crypt/md5-block.c: ... here.
6720 * crypt/sha256.c (sha256_process_block): Move to ...
6721 * crypt/sha256-block.c: ... here.
6722 * crypt/sha512.c (sha512_process_block): Move to ...
6723 * crypt/sha512-block.c: ... here.
6724 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6725 path.
6726 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6727 * sysdeps/sparc/sparc64/multiarch/Makefile
6728 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6729 crypt subdir.
6730 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6731 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6732 multiarch changes.
6733 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6734 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6735 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6736 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6737 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6738 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6739 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6740 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6741 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6742 file.
6743 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6744 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6745 file.
6746 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6747
8ca89318
JM
67482012-11-13 Joseph Myers <joseph@codesourcery.com>
6749
e27d476a
JM
6750 * timezone/tzselect.ksh: Update from tzcode git revision
6751 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6752 * timezone/zdump.c: Likewise.
6753 * timezone/zic.c: Likewise.
6754 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6755 in TZVERSION setting, not $(PKGVERSION).
6756 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6757 REPORT_BUGS_TO settings.
6758
8ca89318
JM
6759 [BZ #14838]
6760 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6761 macro.
6762
47594329
MS
67632012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6764
6765 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6766 detection to immediately after _FP_ROUND().
6767 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6768 bits are 0.
6769
640ac3f1
DM
67702012-11-11 David S. Miller <davem@davemloft.net>
6771
6772 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6773 inttypes.h
6774 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6775 __close rather than their public counterparts.
6776
3d2577bb
JM
67772012-11-10 Joseph Myers <joseph@codesourcery.com>
6778
6779 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6780 file.
6781 [UNIX98] (sem_timedwait): Do not expect.
6782 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6783 [XPG4 || UNIX98] (sockatmark): Do not expect.
6784 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6785 (clock_getcpuclockid): Do not expect.
6786 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6787 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6788 Do not expect.
6789 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6790 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6791 [UNIX98] (vwscanf): Likewise.
6792 [UNIX98] (vswscanf): Likewise.
6793
fb1ae1ee
JM
67942012-11-09 Joseph Myers <joseph@codesourcery.com>
6795
9ec6f8bd
JM
6796 * timezone/version.h: Remove file.
6797 * timezone/README: Do not refer to version.h.
6798 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6799 $(objpfx)version.h.
6800 ($(objpfx)zdump.o): Likewise.
c3f81911 6801 ($(objpfx)version.h): New target.
9ec6f8bd 6802
0aa8f8a1
JM
6803 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6804 2012i.
6805 * timezone/README: Don't mention modification to tzselect.ksh.
6806 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6807 work on unmodified tzselect.ksh. Substitute version numbers in
6808 tzselect.ksh.
6809
4e87147f
JM
6810 * Makefile (format-me): Remove.
6811 (INSTALL): Adjust indentation. Use commands directly instead of
6812 using $(format-me).
6813
8b748aed
JM
6814 * aclocal.m4 (ACX_PKGVERSION): New macro.
6815 (ACX_BUGURL): Likewise.
6816 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6817 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6818 (REPORT_BUGS_TO): Likewise.
6819 * configure: Regenerated.
6820 * config.h.in (PKGVERSION): New macro.
6821 (REPORT_BUGS_TO): Likewise.
6822 * config.make.in (PKGVERSION): New variable.
6823 (PKGVERSION_TEXI): Likewise.
6824 (REPORT_BUGS_TO): Likewise.
6825 (REPORT_BUGS_TEXI): Likewise.
6826 * Makefile (format-me): Use -I$(common-objpfx)manual.
6827 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6828 ($(common-objpfx)manual/%): New target.
6829 (manual/%): Remove target.
6830 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6831 (print_version): Use PKGVERSION.
6832 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6833 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6834 and REPORT_BUGS_TO.
6835 ($(objpfx)xtrace): Likewise.
6836 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6837 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6838 (print_version): Use PKGVERSION.
6839 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6840 (do_version): Use PKGVERSION.
6841 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6842 REPORT_BUGS_TO.
6843 (common-ldd-rewrite): Likewise.
6844 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6845 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6846 (print_version): Use PKGVERSION.
6847 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6848 * elf/pldd.c (argp_program_bug_address): Remove variable.
6849 (more_help): New function.
6850 (argp): Use more_help.
6851 (print_version): Use PKGVERSION.
6852 * elf/sln.c (main): Use PKGVERSION.
6853 (usage): Use REPORT_BUGS_TO.
6854 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6855 (top level): Use PKGVERSION.
6856 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6857 (print_version): Use PKGVERSION.
6858 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6859 (print_version): Use PKGVERSION.
6860 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6861 (print_version): Use PKGVERSION.
6862 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6863 (print_version): Use PKGVERSION.
6864 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6865 (print_version): Use PKGVERSION.
6866 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6867 (print_version): Use PKGVERSION.
6868 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6869 and BUGURL.
6870 ($(objpfx)memusage): Likewise.
6871 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6872 (do_version): Use PKGVERSION.
6873 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6874 (print_version): Use PKGVERSION.
6875 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6876 ($PKGVERSION): New variable.
6877 ($REPORT_BUGS_TO): Likewise.
6878 (usage): Use $REPORT_BUGS_TO.
6879 (top level): Use $PKGVERSION.
6880 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6881 ($(objpfx)pkgvers.texi): New rule.
6882 ($(objpfx)stamp-pkgvers): Likewise.
6883 * manual/install.texi: Include pkgvers.texi.
6884 (--with-pkgversion): Document new configure option.
6885 (--with-bugurl): Likewise.
6886 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6887 than necessarily for this particular distribution. Use
6888 REPORT_BUGS_TO for where to report bugs.
6889 * INSTALL: Regenerated.
6890 * manual/libc.texinfo: Include pkgvers.texi.
6891 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6892 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6893 (print_version): Use PKGVERSION.
6894 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6895 (print_version): Use PKGVERSION.
6896 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6897 (print_version): Use PKGVERSION.
6898 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6899 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6900 macro.
6901 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6902 (print_version): Use PKGVERSION.
6903 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6904 (print_version): Use PKGVERSION.
6905 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6906 and PKGVERSION.
6907
92e4b6a9
JM
6908 * timezone/checktab.awk: Update from tzcode 2012i.
6909 * timezone/ialloc.c: Likewise.
6910 * timezone/private.h: Likewise.
6911 * timezone/scheck.c: Likewise.
6912 * timezone/tzfile.h: Likewise.
6913 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6914 (TZVERSION): Hardcode tzcode version number.
6915 * timezone/zdump.c: Update from tzcode 2012i.
6916 * timezone/zic.c: Likewise.
6917 * timezone/version.h: New file.
6918 * timezone/README: Describe version.h. Update upstream location.
6919
9bde902c
JM
6920 [BZ #14824]
6921 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6922 (mktemp): Enable declaration.
6923 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6927 Likewise.
6928 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6929 Likewise.
6930 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6931 Likewise.
6932 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6933 Likewise.
6934 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6935 Likewise.
6936 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6937 Likewise.
6938
fb1ae1ee
JM
6939 [BZ #14821]
6940 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6941 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6942 for copies of such integer values.
6943 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6944 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6945
2c1adbcb
AJ
69462012-11-09 Andreas Jaeger <aj@suse.de>
6947
6948 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6949 definitions and declarations that are provided by
6950 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6951
d0f8457e
AK
69522012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6953
3a235abb 6954 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6955 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6956 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6957 definition.
6958
57241e26
MS
69592012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6960
6961 * elf/elf.h: Update comment before AArch64 relocations.
6962
60e8270d
DM
69632012-11-07 David S. Miller <davem@davemloft.net>
6964
6965 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6966 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6967 (__start_context): Declare.
6968 (__makecontext_ret): Delete.
6969 (__makecontext): Hook up __start_context instead of
6970 __makecontext_ret.
6971 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6972 (sysdep_routines): Add __start_context when in stdlib.
6973
0fbb0fbc
JM
69742012-11-07 Joseph Myers <joseph@codesourcery.com>
6975
6976 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6977 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6978 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6979 hardcoded "nm".
6980 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6981 (READELF): New variable. Use it instead of hardcoded "readelf".
6982
eb48db7e
L
69832012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6984
6985 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6986 * sysdeps/x86/Makefile: Here.
6987 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6988 * sysdeps/x86/tst-xmmymm.sh: This.
6989
05bcf62a
JM
69902012-11-07 Joseph Myers <joseph@codesourcery.com>
6991
c4b6cf53
JM
6992 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6993 expectations.
6994 [UNIX98] (pthread_barrier_t): Do not expect.
6995 [UNIX98] (pthread_barrierattr_t): Likewise.
6996 [UNIX98] (pthread_spinlock_t): Likewise.
6997 [UNIX98] (pthread_barrier_destroy): Likewise.
6998 [UNIX98] (pthread_barrier_init): Likewise.
6999 [UNIX98] (pthread_barrier_wait): Likewise.
7000 [UNIX98] (pthread_barrierattr_destroy): Likewise.
7001 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
7002 [UNIX98] (pthread_barrierattr_init): Likewise.
7003 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
7004 [UNIX98] (pthread_getcpuclockid): Likewise.
7005 [UNIX98] (pthread_mutex_timedlock): Likewise.
7006 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
7007 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
7008 [UNIX98] (pthread_sigmask): Likewise.
7009 [UNIX98] (pthread_spin_destroy): Likewise.
7010 [UNIX98] (pthread_spin_init): Likewise.
7011 [UNIX98] (pthread_spin_lock): Likewise.
7012 [UNIX98] (pthread_spin_trylock): Likewise.
7013 [UNIX98] (pthread_spin_unlock): Likewise.
7014 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
7015 Do not expect.
7016 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
7017 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
7018 [XPG3 || XPG4] (pthread_cond_t): Likewise.
7019 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
7020 [XPG3 || XPG4] (pthread_key_t): Likewise.
7021 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
7022 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
7023 [XPG3 || XPG4] (pthread_once_t): Likewise.
7024 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
7025 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7026 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7027 [XPG3 || XPG4] (pthread_t): Likewise.
7028
cbe6e120
JM
7029 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7030 not expect.
7031 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7032
1b126443
JM
7033 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7034 Change function return type to int.
7035
b961a573
JM
7036 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7037 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7038 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7039 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7040 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7041 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7042 [!POSIX] (posix_madvise): Likewise.
7043 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7044 && !UNIX98].
7045 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7046 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7047 (mode_t): Likewise.
7048 (posix_mem_offset): Likewise.
7049 (posix_typed_mem_get_info): Likewise.
7050 (posix_typed_mem_open): Likewise.
7051
9e188909
JM
7052 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7053 Change condition to [XOPEN2K8].
7054
05bcf62a
JM
7055 * conform/conformtest.pl: Preprocess allow-header data with -x c
7056 instead of from stdin.
7057 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7058 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7059 [C99-based standards] (cerfc): Likewise.
7060 [C99-based standards] (cexp2): Likewise.
7061 [C99-based standards] (cexpm1): Likewise.
7062 [C99-based standards] (clog10): Likewise.
7063 [C99-based standards] (clog1p): Likewise.
7064 [C99-based standards] (clog2): Likewise.
7065 [C99-based standards] (clgamma): Likewise.
7066 [C99-based standards] (ctgamma): Likewise.
7067 [C99-based standards] (cerff): Likewise.
7068 [C99-based standards] (cerfcf): Likewise.
7069 [C99-based standards] (cexp2f): Likewise.
7070 [C99-based standards] (cexpm1f): Likewise.
7071 [C99-based standards] (clog10f): Likewise.
7072 [C99-based standards] (clog1pf): Likewise.
7073 [C99-based standards] (clog2f): Likewise.
7074 [C99-based standards] (clgammaf): Likewise.
7075 [C99-based standards] (ctgammaf): Likewise.
7076 [C99-based standards] (cerfl): Likewise.
7077 [C99-based standards] (cerfcl): Likewise.
7078 [C99-based standards] (cexp2l): Likewise.
7079 [C99-based standards] (cexpm1l): Likewise.
7080 [C99-based standards] (clog10l): Likewise.
7081 [C99-based standards] (clog1pl): Likewise.
7082 [C99-based standards] (clog2l): Likewise.
7083 [C99-based standards] (clgammal): Likewise.
7084 [C99-based standards] (ctgammal): Likewise.
7085 * conform/data/inttypes.h-data [C99-based standards]: Include
7086 stdint.h-data. Remove all expectations for stdint.h contents.
7087 [C99-based standards] (PRI*): Do not allow.
7088 [C99-based standards] (SCN*): Likewise.
7089 [C99-based standards] (*_t): Likewise.
7090 [C99-based-standards] (PRId8): Expect macro.
7091 [C99-based-standards] (PRIi8): Likewise.
7092 [C99-based-standards] (PRIo8): Likewise.
7093 [C99-based-standards] (PRIu8): Likewise.
7094 [C99-based-standards] (PRIx8): Likewise.
7095 [C99-based-standards] (PRIX8): Likewise.
7096 [C99-based-standards] (SCNd8): Likewise.
7097 [C99-based-standards] (SCNi8): Likewise.
7098 [C99-based-standards] (SCNo8): Likewise.
7099 [C99-based-standards] (SCNu8): Likewise.
7100 [C99-based-standards] (SCNx8): Likewise.
7101 [C99-based-standards] (PRIdLEAST8): Likewise.
7102 [C99-based-standards] (PRIiLEAST8): Likewise.
7103 [C99-based-standards] (PRIoLEAST8): Likewise.
7104 [C99-based-standards] (PRIuLEAST8): Likewise.
7105 [C99-based-standards] (PRIxLEAST8): Likewise.
7106 [C99-based-standards] (PRIXLEAST8): Likewise.
7107 [C99-based-standards] (SCNdLEAST8): Likewise.
7108 [C99-based-standards] (SCNiLEAST8): Likewise.
7109 [C99-based-standards] (SCNoLEAST8): Likewise.
7110 [C99-based-standards] (SCNuLEAST8): Likewise.
7111 [C99-based-standards] (SCNxLEAST8): Likewise.
7112 [C99-based-standards] (PRIdFAST8): Likewise.
7113 [C99-based-standards] (PRIiFAST8): Likewise.
7114 [C99-based-standards] (PRIoFAST8): Likewise.
7115 [C99-based-standards] (PRIuFAST8): Likewise.
7116 [C99-based-standards] (PRIxFAST8): Likewise.
7117 [C99-based-standards] (PRIXFAST8): Likewise.
7118 [C99-based-standards] (SCNdFAST8): Likewise.
7119 [C99-based-standards] (SCNiFAST8): Likewise.
7120 [C99-based-standards] (SCNoFAST8): Likewise.
7121 [C99-based-standards] (SCNuFAST8): Likewise.
7122 [C99-based-standards] (SCNxFAST8): Likewise.
7123 [C99-based-standards] (PRId16): Likewise.
7124 [C99-based-standards] (PRIi16): Likewise.
7125 [C99-based-standards] (PRIo16): Likewise.
7126 [C99-based-standards] (PRIu16): Likewise.
7127 [C99-based-standards] (PRIx16): Likewise.
7128 [C99-based-standards] (PRIX16): Likewise.
7129 [C99-based-standards] (SCNd16): Likewise.
7130 [C99-based-standards] (SCNi16): Likewise.
7131 [C99-based-standards] (SCNo16): Likewise.
7132 [C99-based-standards] (SCNu16): Likewise.
7133 [C99-based-standards] (SCNx16): Likewise.
7134 [C99-based-standards] (PRIdLEAST16): Likewise.
7135 [C99-based-standards] (PRIiLEAST16): Likewise.
7136 [C99-based-standards] (PRIoLEAST16): Likewise.
7137 [C99-based-standards] (PRIuLEAST16): Likewise.
7138 [C99-based-standards] (PRIxLEAST16): Likewise.
7139 [C99-based-standards] (PRIXLEAST16): Likewise.
7140 [C99-based-standards] (SCNdLEAST16): Likewise.
7141 [C99-based-standards] (SCNiLEAST16): Likewise.
7142 [C99-based-standards] (SCNoLEAST16): Likewise.
7143 [C99-based-standards] (SCNuLEAST16): Likewise.
7144 [C99-based-standards] (SCNxLEAST16): Likewise.
7145 [C99-based-standards] (PRIdFAST16): Likewise.
7146 [C99-based-standards] (PRIiFAST16): Likewise.
7147 [C99-based-standards] (PRIoFAST16): Likewise.
7148 [C99-based-standards] (PRIuFAST16): Likewise.
7149 [C99-based-standards] (PRIxFAST16): Likewise.
7150 [C99-based-standards] (PRIXFAST16): Likewise.
7151 [C99-based-standards] (SCNdFAST16): Likewise.
7152 [C99-based-standards] (SCNiFAST16): Likewise.
7153 [C99-based-standards] (SCNoFAST16): Likewise.
7154 [C99-based-standards] (SCNuFAST16): Likewise.
7155 [C99-based-standards] (SCNxFAST16): Likewise.
7156 [C99-based-standards] (PRId32): Likewise.
7157 [C99-based-standards] (PRIi32): Likewise.
7158 [C99-based-standards] (PRIo32): Likewise.
7159 [C99-based-standards] (PRIu32): Likewise.
7160 [C99-based-standards] (PRIx32): Likewise.
7161 [C99-based-standards] (PRIX32): Likewise.
7162 [C99-based-standards] (SCNd32): Likewise.
7163 [C99-based-standards] (SCNi32): Likewise.
7164 [C99-based-standards] (SCNo32): Likewise.
7165 [C99-based-standards] (SCNu32): Likewise.
7166 [C99-based-standards] (SCNx32): Likewise.
7167 [C99-based-standards] (PRIdLEAST32): Likewise.
7168 [C99-based-standards] (PRIiLEAST32): Likewise.
7169 [C99-based-standards] (PRIoLEAST32): Likewise.
7170 [C99-based-standards] (PRIuLEAST32): Likewise.
7171 [C99-based-standards] (PRIxLEAST32): Likewise.
7172 [C99-based-standards] (PRIXLEAST32): Likewise.
7173 [C99-based-standards] (SCNdLEAST32): Likewise.
7174 [C99-based-standards] (SCNiLEAST32): Likewise.
7175 [C99-based-standards] (SCNoLEAST32): Likewise.
7176 [C99-based-standards] (SCNuLEAST32): Likewise.
7177 [C99-based-standards] (SCNxLEAST32): Likewise.
7178 [C99-based-standards] (PRIdFAST32): Likewise.
7179 [C99-based-standards] (PRIiFAST32): Likewise.
7180 [C99-based-standards] (PRIoFAST32): Likewise.
7181 [C99-based-standards] (PRIuFAST32): Likewise.
7182 [C99-based-standards] (PRIxFAST32): Likewise.
7183 [C99-based-standards] (PRIXFAST32): Likewise.
7184 [C99-based-standards] (SCNdFAST32): Likewise.
7185 [C99-based-standards] (SCNiFAST32): Likewise.
7186 [C99-based-standards] (SCNoFAST32): Likewise.
7187 [C99-based-standards] (SCNuFAST32): Likewise.
7188 [C99-based-standards] (SCNxFAST32): Likewise.
7189 [C99-based-standards] (PRId64): Likewise.
7190 [C99-based-standards] (PRIi64): Likewise.
7191 [C99-based-standards] (PRIo64): Likewise.
7192 [C99-based-standards] (PRIu64): Likewise.
7193 [C99-based-standards] (PRIx64): Likewise.
7194 [C99-based-standards] (PRIX64): Likewise.
7195 [C99-based-standards] (SCNd64): Likewise.
7196 [C99-based-standards] (SCNi64): Likewise.
7197 [C99-based-standards] (SCNo64): Likewise.
7198 [C99-based-standards] (SCNu64): Likewise.
7199 [C99-based-standards] (SCNx64): Likewise.
7200 [C99-based-standards] (PRIdLEAST64): Likewise.
7201 [C99-based-standards] (PRIiLEAST64): Likewise.
7202 [C99-based-standards] (PRIoLEAST64): Likewise.
7203 [C99-based-standards] (PRIuLEAST64): Likewise.
7204 [C99-based-standards] (PRIxLEAST64): Likewise.
7205 [C99-based-standards] (PRIXLEAST64): Likewise.
7206 [C99-based-standards] (SCNdLEAST64): Likewise.
7207 [C99-based-standards] (SCNiLEAST64): Likewise.
7208 [C99-based-standards] (SCNoLEAST64): Likewise.
7209 [C99-based-standards] (SCNuLEAST64): Likewise.
7210 [C99-based-standards] (SCNxLEAST64): Likewise.
7211 [C99-based-standards] (PRIdFAST64): Likewise.
7212 [C99-based-standards] (PRIiFAST64): Likewise.
7213 [C99-based-standards] (PRIoFAST64): Likewise.
7214 [C99-based-standards] (PRIuFAST64): Likewise.
7215 [C99-based-standards] (PRIxFAST64): Likewise.
7216 [C99-based-standards] (PRIXFAST64): Likewise.
7217 [C99-based-standards] (SCNdFAST64): Likewise.
7218 [C99-based-standards] (SCNiFAST64): Likewise.
7219 [C99-based-standards] (SCNoFAST64): Likewise.
7220 [C99-based-standards] (SCNuFAST64): Likewise.
7221 [C99-based-standards] (SCNxFAST64): Likewise.
7222 [C99-based-standards] (PRIdMAX): Likewise.
7223 [C99-based-standards] (PRIiMAX): Likewise.
7224 [C99-based-standards] (PRIoMAX): Likewise.
7225 [C99-based-standards] (PRIuMAX): Likewise.
7226 [C99-based-standards] (PRIxMAX): Likewise.
7227 [C99-based-standards] (PRIXMAX): Likewise.
7228 [C99-based-standards] (SCNdMAX): Likewise.
7229 [C99-based-standards] (SCNiMAX): Likewise.
7230 [C99-based-standards] (SCNoMAX): Likewise.
7231 [C99-based-standards] (SCNuMAX): Likewise.
7232 [C99-based-standards] (SCNxMAX): Likewise.
7233 [C99-based-standards] (PRIdPTR): Likewise.
7234 [C99-based-standards] (PRIiPTR): Likewise.
7235 [C99-based-standards] (PRIoPTR): Likewise.
7236 [C99-based-standards] (PRIuPTR): Likewise.
7237 [C99-based-standards] (PRIxPTR): Likewise.
7238 [C99-based-standards] (PRIXPTR): Likewise.
7239 [C99-based-standards] (SCNdPTR): Likewise.
7240 [C99-based-standards] (SCNiPTR): Likewise.
7241 [C99-based-standards] (SCNoPTR): Likewise.
7242 [C99-based-standards] (SCNuPTR): Likewise.
7243 [C99-based-standards] (SCNxPTR): Likewise.
7244 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7245 allow.
7246 * conform/data/stdint.h-data: Update comments to clarify
7247 requirements.
7248 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7249 type.
7250 [C99-based standards] (INT8_MAX): Likewise.
7251 [C99-based standards] (INT16_MIN): Likewise.
7252 [C99-based standards] (INT16_MAX): Likewise.
7253 [C99-based standards] (INT32_MIN): Likewise.
7254 [C99-based standards] (INT32_MAX): Likewise.
7255 [C99-based standards] (INT64_MIN): Likewise.
7256 [C99-based standards] (INT64_MAX): Likewise.
7257 [C99-based standards] (UINT8_MAX): Likewise.
7258 [C99-based standards] (UINT16_MAX): Likewise.
7259 [C99-based standards] (UINT32_MAX): Likewise.
7260 [C99-based standards] (UINT64_MAX): Likewise.
7261 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7262 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7263 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7264 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7265 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7266 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7267 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7268 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7269 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7270 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7271 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7272 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7273 [C99-based standards] (INT_FAST8_MIN): Likewise.
7274 [C99-based standards] (INT_FAST8_MAX): Likewise.
7275 [C99-based standards] (INT_FAST16_MIN): Likewise.
7276 [C99-based standards] (INT_FAST16_MAX): Likewise.
7277 [C99-based standards] (INT_FAST32_MIN): Likewise.
7278 [C99-based standards] (INT_FAST32_MAX): Likewise.
7279 [C99-based standards] (INT_FAST64_MIN): Likewise.
7280 [C99-based standards] (INT_FAST64_MAX): Likewise.
7281 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7282 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7283 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7284 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7285 [C99-based standards] (INTPTR_MIN): Likewise.
7286 [C99-based standards] (INTPTR_MAX): Likewise.
7287 [C99-based standards] (UINTPTR_MAX): Likewise.
7288 [C99-based standards] (INTMAX_MIN): Likewise.
7289 [C99-based standards] (INTMAX_MAX): Likewise.
7290 [C99-based standards] (UINTMAX_MAX): Likewise.
7291 [C99-based standards] (PTRDIFF_MIN): Likewise.
7292 [C99-based standards] (PTRDIFF_MAX): Likewise.
7293 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7294 [C99-based standards] (SIZE_MAX): Likewise.
7295 [C99-based standards] (WCHAR_MAX): Likewise.
7296 [C99-based standards] (WINT_MAX): Likewise.
7297 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7298 constraint on value.
7299 [C99-based standards] (WCHAR_MIN): Likewise.
7300 [C99-based standards] (WINT_MIN): Likewise.
7301 [C99-based standards] (*_t): Allow.
7302 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7303 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7304 Include math.h-data and complex.h-data. Remove all expectations
7305 of math.h and complex.h contents.
7306 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7307 at end of line.
7308 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7309 (struct tm): Expect tag.
7310 [C99-based-standards] (wcstof): Expect function.
7311 [C99-based-standards] (wcstold): Likewise.
7312 [C99-based-standards] (wcstoll): Likewise.
7313 [C99-based-standards] (wcstoull): Likewise.
7314 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7315 macro-int-constant. Specify type.
7316 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7317 constraint on value.
7318 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7319 Specify type.
7320 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7321 Specify value.
7322 [ISO C standards]: Do not allow headers.
7323 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7324 wcs[abcdefghijklmnopqrstuvwxyz]*.
7325 [ISO C standards] (*_t): Do not allow.
7326 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7327 Expect function.
7328 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7329 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7330 Specify type.
7331 [ISO C standards]: Do not allow headers.
7332 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7333 is[abcdefghijklmnopqrstuvwxyz]*.
7334 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7335 to[abcdefghijklmnopqrstuvwxyz]*.
7336 [ISO C standards] (*_t): Do not allow.
7337 * conform/data/stdalign.h-data: New file.
7338 * conform/data/stdbool.h-data: Likewise.
7339 * conform/data/stdnoreturn.h-data: Likewise.
7340
7514feb8
RM
73412012-11-07 Roland McGrath <roland@hack.frob.com>
7342
7343 [BZ #14815]
7344 * manual/filesys.texi (Directory Entries): Typo fix.
7345 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7346
19b2ecfc
MS
73472012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7348
7349 * elf/elf.h (EM_AARCH64): New macro.
7350 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7351 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7352 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7353 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7354 (R_AARCH64_TLSDESC): Likewise.
7355 (NT_ARM_TLS): Likewise.
7356 (NT_ARM_HW_BREAK): Likewise.
7357 (NT_ARM_HW_WATCH): Likewise.
7358
60e235ee
JM
73592012-11-07 Joseph Myers <joseph@codesourcery.com>
7360
7361 [BZ #14811]
7362 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7363 (__ieee754_powl): Saturate nonzero exponents with absolute value
7364 below 0x1p-79 to +/- 0x1p-79.
7365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7366 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7367 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7368 nonzero exponents with absolute value below 0x1p-32 to +/-
7369 0x1p-32.
7370 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7371 (__ieee754_powl): Saturate nonzero exponents with absolute value
7372 below 0x1p-79 to +/- 0x1p-79.
7373 * math/libm-test.inc (pow_test): Add more tests.
7374
0ab234b7
AK
73752012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7376
7377 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7378 _dl_s390_cap_flags with kernel. Increase string length.
7379 (_dl_s390_platforms): Add z196 and zEC12.
7380
45832f74
JM
73812012-11-07 Joseph Myers <joseph@codesourcery.com>
7382
7383 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7384 Change XOPEN21K to XOPEN2K.
7385
19218757
MK
73862012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7387
7388 * string/memmove.c: Use memcpy when possible.
7389
c5f45721
AJ
73902012-11-06 Andreas Jaeger <aj@suse.de>
7391
7392 * po/eo.po: Update from translation team.
7393
82477c28
JM
73942012-11-06 Joseph Myers <joseph@codesourcery.com>
7395
7396 [BZ #14793]
7397 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7398 exponent and small x and y exponents, scale x or y up. Increase
7399 by 2 the exponent used in scaling up.
7400 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7401 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7402 * math/libm-test.inc (fma_test): Add more tests.
7403 (fma_test_towardzero): Likewise.
7404 (fma_test_downward): Likewise.
7405 (fma_test_upward): Likewise.
7406
99252c8c
JM
74072012-11-05 Joseph Myers <joseph@codesourcery.com>
7408
acfa885f
JM
7409 [BZ #14805]
7410 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7411 fenv_t *.
7412
99252c8c
JM
7413 [BZ #14801]
7414 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7415 namespace for names of struct fields.
7416 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7417 fenv_t fields.
7418 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7419 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7420
d6d98dea
ST
74212012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7422
7423 [BZ #3665]
7424 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7425
e10bb107
TS
74262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7427
7428 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7429 PTR_DEMANGLE.
7430
7431 [BZ #5246]
7432 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7433 PTR_DEMANGLE.
7434
a0c2940d
JM
74352012-11-04 Joseph Myers <joseph@codesourcery.com>
7436
7437 [BZ #14797]
7438 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7439 definitely overflow as x * y not x * y + z.
7440 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7441 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7442 * math/libm-test.inc (fma_test): Add more tests.
7443 (fma_test_towardzero): Likewise.
7444 (fma_test_downward): Likewise.
7445 (fma_test_upward): Likewise.
7446
b830319d
TS
74472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7448
7449 [BZ #157]
7450
7451 * include/stub-tag.h: Remove file.
7452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7453 '#include' of it.
7454 * manual/maint.texi (Porting): Don't reference it.
7455 * Makerules ($(objpfx)stubs): Likewise.
7456 * dirent/closedir.c: Don't include <stub-tag.h>.
7457 * dirent/dirfd.c: Likewise.
7458 * dirent/fdopendir.c: Likewise.
7459 * dirent/getdents.c: Likewise.
7460 * dirent/getdents64.c: Likewise.
7461 * dirent/opendir.c: Likewise.
7462 * dirent/readdir.c: Likewise.
7463 * dirent/readdir64.c: Likewise.
7464 * dirent/readdir64_r.c: Likewise.
7465 * dirent/readdir_r.c: Likewise.
7466 * dirent/rewinddir.c: Likewise.
7467 * dirent/seekdir.c: Likewise.
7468 * dirent/telldir.c: Likewise.
7469 * gmon/profil.c: Likewise.
7470 * grp/setgroups.c: Likewise.
7471 * inet/if_index.c: Likewise.
7472 * io/access.c: Likewise.
7473 * io/chdir.c: Likewise.
7474 * io/chmod.c: Likewise.
7475 * io/chown.c: Likewise.
7476 * io/close.c: Likewise.
7477 * io/dup.c: Likewise.
7478 * io/dup2.c: Likewise.
7479 * io/dup3.c: Likewise.
7480 * io/euidaccess.c: Likewise.
7481 * io/faccessat.c: Likewise.
7482 * io/fchdir.c: Likewise.
7483 * io/fchmod.c: Likewise.
7484 * io/fchmodat.c: Likewise.
7485 * io/fchown.c: Likewise.
7486 * io/fchownat.c: Likewise.
7487 * io/fcntl.c: Likewise.
7488 * io/flock.c: Likewise.
7489 * io/fstatfs.c: Likewise.
7490 * io/fstatfs64.c: Likewise.
7491 * io/fstatvfs.c: Likewise.
7492 * io/fstatvfs64.c: Likewise.
7493 * io/futimens.c: Likewise.
7494 * io/fxstat.c: Likewise.
7495 * io/fxstat64.c: Likewise.
7496 * io/fxstatat.c: Likewise.
7497 * io/fxstatat64.c: Likewise.
7498 * io/getcwd.c: Likewise.
7499 * io/isatty.c: Likewise.
7500 * io/lchmod.c: Likewise.
7501 * io/lchown.c: Likewise.
7502 * io/link.c: Likewise.
7503 * io/linkat.c: Likewise.
7504 * io/lseek.c: Likewise.
7505 * io/lseek64.c: Likewise.
7506 * io/lxstat64.c: Likewise.
7507 * io/mkdir.c: Likewise.
7508 * io/mkdirat.c: Likewise.
7509 * io/mkfifo.c: Likewise.
7510 * io/mkfifoat.c: Likewise.
7511 * io/open.c: Likewise.
7512 * io/open64.c: Likewise.
7513 * io/openat.c: Likewise.
7514 * io/openat64.c: Likewise.
7515 * io/pipe.c: Likewise.
7516 * io/pipe2.c: Likewise.
7517 * io/poll.c: Likewise.
7518 * io/posix_fadvise.c: Likewise.
7519 * io/posix_fadvise64.c: Likewise.
7520 * io/posix_fallocate.c: Likewise.
7521 * io/posix_fallocate64.c: Likewise.
7522 * io/read.c: Likewise.
7523 * io/readlink.c: Likewise.
7524 * io/readlinkat.c: Likewise.
7525 * io/rmdir.c: Likewise.
7526 * io/sendfile.c: Likewise.
7527 * io/sendfile64.c: Likewise.
7528 * io/statfs.c: Likewise.
7529 * io/statfs64.c: Likewise.
7530 * io/statvfs.c: Likewise.
7531 * io/statvfs64.c: Likewise.
7532 * io/symlink.c: Likewise.
7533 * io/symlinkat.c: Likewise.
7534 * io/ttyname.c: Likewise.
7535 * io/ttyname_r.c: Likewise.
7536 * io/umask.c: Likewise.
7537 * io/unlink.c: Likewise.
7538 * io/unlinkat.c: Likewise.
7539 * io/utime.c: Likewise.
7540 * io/utimensat.c: Likewise.
7541 * io/write.c: Likewise.
7542 * io/xmknod.c: Likewise.
7543 * io/xmknodat.c: Likewise.
7544 * io/xstat.c: Likewise.
7545 * io/xstat64.c: Likewise.
7546 * login/getpt.c: Likewise.
7547 * login/grantpt.c: Likewise.
7548 * login/unlockpt.c: Likewise.
7549 * math/e_acoshl.c: Likewise.
7550 * math/e_acosl.c: Likewise.
7551 * math/e_asinl.c: Likewise.
7552 * math/e_atan2l.c: Likewise.
7553 * math/e_atanhl.c: Likewise.
7554 * math/e_coshl.c: Likewise.
7555 * math/e_expl.c: Likewise.
7556 * math/e_fmodl.c: Likewise.
7557 * math/e_gammal_r.c: Likewise.
7558 * math/e_hypotl.c: Likewise.
7559 * math/e_j0l.c: Likewise.
7560 * math/e_j1l.c: Likewise.
7561 * math/e_jnl.c: Likewise.
7562 * math/e_lgammal_r.c: Likewise.
7563 * math/e_log10l.c: Likewise.
7564 * math/e_log2l.c: Likewise.
7565 * math/e_logl.c: Likewise.
7566 * math/e_powl.c: Likewise.
7567 * math/e_rem_pio2l.c: Likewise.
7568 * math/e_sinhl.c: Likewise.
7569 * math/e_sqrtl.c: Likewise.
7570 * math/fclrexcpt.c: Likewise.
7571 * math/fedisblxcpt.c: Likewise.
7572 * math/feenablxcpt.c: Likewise.
7573 * math/fegetenv.c: Likewise.
7574 * math/fegetexcept.c: Likewise.
7575 * math/fegetround.c: Likewise.
7576 * math/feholdexcpt.c: Likewise.
7577 * math/fesetenv.c: Likewise.
7578 * math/fesetround.c: Likewise.
7579 * math/feupdateenv.c: Likewise.
7580 * math/fgetexcptflg.c: Likewise.
7581 * math/fraiseexcpt.c: Likewise.
7582 * math/fsetexcptflg.c: Likewise.
7583 * math/ftestexcept.c: Likewise.
7584 * math/k_cosl.c: Likewise.
7585 * math/k_rem_pio2l.c: Likewise.
7586 * math/k_sinl.c: Likewise.
7587 * math/k_tanl.c: Likewise.
7588 * math/s_asinhl.c: Likewise.
7589 * math/s_atanl.c: Likewise.
7590 * math/s_cbrtl.c: Likewise.
7591 * math/s_erfl.c: Likewise.
7592 * math/s_expm1l.c: Likewise.
7593 * math/s_log1pl.c: Likewise.
7594 * math/s_tanhl.c: Likewise.
7595 * misc/acct.c: Likewise.
7596 * misc/brk.c: Likewise.
7597 * misc/chflags.c: Likewise.
7598 * misc/chroot.c: Likewise.
7599 * misc/fchflags.c: Likewise.
7600 * misc/fgetxattr.c: Likewise.
7601 * misc/flistxattr.c: Likewise.
7602 * misc/fremovexattr.c: Likewise.
7603 * misc/fsetxattr.c: Likewise.
7604 * misc/fsync.c: Likewise.
7605 * misc/ftruncate.c: Likewise.
7606 * misc/futimes.c: Likewise.
7607 * misc/futimesat.c: Likewise.
7608 * misc/getdomain.c: Likewise.
7609 * misc/getdtsz.c: Likewise.
7610 * misc/gethostid.c: Likewise.
7611 * misc/gethostname.c: Likewise.
7612 * misc/getloadavg.c: Likewise.
7613 * misc/getpagesize.c: Likewise.
7614 * misc/getsysstats.c: Likewise.
7615 * misc/getxattr.c: Likewise.
7616 * misc/gtty.c: Likewise.
7617 * misc/ioctl.c: Likewise.
7618 * misc/lgetxattr.c: Likewise.
7619 * misc/listxattr.c: Likewise.
7620 * misc/llistxattr.c: Likewise.
7621 * misc/lremovexattr.c: Likewise.
7622 * misc/lsetxattr.c: Likewise.
7623 * misc/lutimes.c: Likewise.
7624 * misc/madvise.c: Likewise.
7625 * misc/mincore.c: Likewise.
7626 * misc/mlock.c: Likewise.
7627 * misc/mlockall.c: Likewise.
7628 * misc/mmap.c: Likewise.
7629 * misc/mprotect.c: Likewise.
7630 * misc/msync.c: Likewise.
7631 * misc/munlock.c: Likewise.
7632 * misc/munlockall.c: Likewise.
7633 * misc/munmap.c: Likewise.
7634 * misc/preadv.c: Likewise.
7635 * misc/preadv64.c: Likewise.
7636 * misc/ptrace.c: Likewise.
7637 * misc/pwritev.c: Likewise.
7638 * misc/pwritev64.c: Likewise.
7639 * misc/readv.c: Likewise.
7640 * misc/reboot.c: Likewise.
7641 * misc/remap_file_pages.c: Likewise.
7642 * misc/removexattr.c: Likewise.
7643 * misc/revoke.c: Likewise.
7644 * misc/select.c: Likewise.
7645 * misc/setdomain.c: Likewise.
7646 * misc/setegid.c: Likewise.
7647 * misc/seteuid.c: Likewise.
7648 * misc/sethostid.c: Likewise.
7649 * misc/sethostname.c: Likewise.
7650 * misc/setregid.c: Likewise.
7651 * misc/setreuid.c: Likewise.
7652 * misc/setxattr.c: Likewise.
7653 * misc/sstk.c: Likewise.
7654 * misc/stty.c: Likewise.
7655 * misc/swapoff.c: Likewise.
7656 * misc/swapon.c: Likewise.
7657 * misc/sync.c: Likewise.
7658 * misc/syncfs.c: Likewise.
7659 * misc/syscall.c: Likewise.
7660 * misc/truncate.c: Likewise.
7661 * misc/ualarm.c: Likewise.
7662 * misc/usleep.c: Likewise.
7663 * misc/ustat.c: Likewise.
7664 * misc/utimes.c: Likewise.
7665 * misc/vhangup.c: Likewise.
7666 * misc/writev.c: Likewise.
7667 * posix/_exit.c: Likewise.
7668 * posix/alarm.c: Likewise.
7669 * posix/execve.c: Likewise.
7670 * posix/fexecve.c: Likewise.
7671 * posix/fork.c: Likewise.
7672 * posix/fpathconf.c: Likewise.
7673 * posix/getaddrinfo.c: Likewise.
7674 * posix/getegid.c: Likewise.
7675 * posix/geteuid.c: Likewise.
7676 * posix/getgid.c: Likewise.
7677 * posix/getgroups.c: Likewise.
7678 * posix/getlogin.c: Likewise.
7679 * posix/getlogin_r.c: Likewise.
7680 * posix/getpgid.c: Likewise.
7681 * posix/getpid.c: Likewise.
7682 * posix/getppid.c: Likewise.
7683 * posix/getresgid.c: Likewise.
7684 * posix/getresuid.c: Likewise.
7685 * posix/getsid.c: Likewise.
7686 * posix/getuid.c: Likewise.
7687 * posix/glob64.c: Likewise.
7688 * posix/nanosleep.c: Likewise.
7689 * posix/pathconf.c: Likewise.
7690 * posix/pause.c: Likewise.
7691 * posix/posix_madvise.c: Likewise.
7692 * posix/pread.c: Likewise.
7693 * posix/pread64.c: Likewise.
7694 * posix/pwrite.c: Likewise.
7695 * posix/pwrite64.c: Likewise.
7696 * posix/sched_getaffinity.c: Likewise.
7697 * posix/sched_getp.c: Likewise.
7698 * posix/sched_gets.c: Likewise.
7699 * posix/sched_primax.c: Likewise.
7700 * posix/sched_primin.c: Likewise.
7701 * posix/sched_rr_gi.c: Likewise.
7702 * posix/sched_setaffinity.c: Likewise.
7703 * posix/sched_setp.c: Likewise.
7704 * posix/sched_sets.c: Likewise.
7705 * posix/sched_yield.c: Likewise.
7706 * posix/setgid.c: Likewise.
7707 * posix/setlogin.c: Likewise.
7708 * posix/setpgid.c: Likewise.
7709 * posix/setresgid.c: Likewise.
7710 * posix/setresuid.c: Likewise.
7711 * posix/setsid.c: Likewise.
7712 * posix/setuid.c: Likewise.
7713 * posix/sleep.c: Likewise.
7714 * posix/spawni.c: Likewise.
7715 * posix/sysconf.c: Likewise.
7716 * posix/times.c: Likewise.
7717 * posix/wait.c: Likewise.
7718 * posix/wait3.c: Likewise.
7719 * posix/wait4.c: Likewise.
7720 * posix/waitpid.c: Likewise.
7721 * resolv/gai_sigqueue.c: Likewise.
7722 * resource/getpriority.c: Likewise.
7723 * resource/getrlimit.c: Likewise.
7724 * resource/getrusage.c: Likewise.
7725 * resource/nice.c: Likewise.
7726 * resource/setpriority.c: Likewise.
7727 * resource/setrlimit.c: Likewise.
7728 * resource/ulimit.c: Likewise.
7729 * rt/aio_cancel.c: Likewise.
7730 * rt/aio_fsync.c: Likewise.
7731 * rt/aio_read.c: Likewise.
7732 * rt/aio_sigqueue.c: Likewise.
7733 * rt/aio_suspend.c: Likewise.
7734 * rt/aio_write.c: Likewise.
7735 * rt/clock_getres.c: Likewise.
7736 * rt/clock_gettime.c: Likewise.
7737 * rt/clock_nanosleep.c: Likewise.
7738 * rt/clock_settime.c: Likewise.
7739 * rt/lio_listio.c: Likewise.
7740 * rt/mq_close.c: Likewise.
7741 * rt/mq_getattr.c: Likewise.
7742 * rt/mq_notify.c: Likewise.
7743 * rt/mq_open.c: Likewise.
7744 * rt/mq_receive.c: Likewise.
7745 * rt/mq_send.c: Likewise.
7746 * rt/mq_setattr.c: Likewise.
7747 * rt/mq_timedreceive.c: Likewise.
7748 * rt/mq_timedsend.c: Likewise.
7749 * rt/mq_unlink.c: Likewise.
7750 * rt/shm_open.c: Likewise.
7751 * rt/shm_unlink.c: Likewise.
7752 * rt/timer_create.c: Likewise.
7753 * rt/timer_delete.c: Likewise.
7754 * rt/timer_getoverr.c: Likewise.
7755 * rt/timer_gettime.c: Likewise.
7756 * rt/timer_settime.c: Likewise.
7757 * setjmp/__longjmp.c: Likewise.
7758 * setjmp/setjmp.c: Likewise.
7759 * signal/kill.c: Likewise.
7760 * signal/killpg.c: Likewise.
7761 * signal/raise.c: Likewise.
7762 * signal/sigaction.c: Likewise.
7763 * signal/sigaltstack.c: Likewise.
7764 * signal/sigblock.c: Likewise.
7765 * signal/sigignore.c: Likewise.
7766 * signal/sigintr.c: Likewise.
7767 * signal/signal.c: Likewise.
7768 * signal/sigpause.c: Likewise.
7769 * signal/sigpending.c: Likewise.
7770 * signal/sigqueue.c: Likewise.
7771 * signal/sigreturn.c: Likewise.
7772 * signal/sigset.c: Likewise.
7773 * signal/sigsetmask.c: Likewise.
7774 * signal/sigstack.c: Likewise.
7775 * signal/sigsuspend.c: Likewise.
7776 * signal/sigtimedwait.c: Likewise.
7777 * signal/sigvec.c: Likewise.
7778 * signal/sigwait.c: Likewise.
7779 * signal/sigwaitinfo.c: Likewise.
7780 * signal/sysv_signal.c: Likewise.
7781 * socket/accept.c: Likewise.
7782 * socket/accept4.c: Likewise.
7783 * socket/bind.c: Likewise.
7784 * socket/connect.c: Likewise.
7785 * socket/getpeername.c: Likewise.
7786 * socket/getsockname.c: Likewise.
7787 * socket/getsockopt.c: Likewise.
7788 * socket/isfdtype.c: Likewise.
7789 * socket/listen.c: Likewise.
7790 * socket/recv.c: Likewise.
7791 * socket/recvfrom.c: Likewise.
7792 * socket/recvmsg.c: Likewise.
7793 * socket/send.c: Likewise.
7794 * socket/sendmsg.c: Likewise.
7795 * socket/sendto.c: Likewise.
7796 * socket/setsockopt.c: Likewise.
7797 * socket/shutdown.c: Likewise.
7798 * socket/sockatmark.c: Likewise.
7799 * socket/socket.c: Likewise.
7800 * socket/socketpair.c: Likewise.
7801 * stdio-common/ctermid.c: Likewise.
7802 * stdio-common/cuserid.c: Likewise.
7803 * stdio-common/remove.c: Likewise.
7804 * stdio-common/rename.c: Likewise.
7805 * stdio-common/renameat.c: Likewise.
7806 * stdio-common/tempname.c: Likewise.
7807 * stdlib/getcontext.c: Likewise.
7808 * stdlib/makecontext.c: Likewise.
7809 * stdlib/setcontext.c: Likewise.
7810 * stdlib/swapcontext.c: Likewise.
7811 * stdlib/system.c: Likewise.
7812 * streams/fattach.c: Likewise.
7813 * streams/fdetach.c: Likewise.
7814 * streams/getmsg.c: Likewise.
7815 * streams/getpmsg.c: Likewise.
7816 * streams/putmsg.c: Likewise.
7817 * streams/putpmsg.c: Likewise.
7818 * sysdeps/unix/bsd/getpt.c: Likewise.
7819 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7820 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7821 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7823 Likewise.
7824 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7825 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7826 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7827 * sysvipc/msgctl.c: Likewise.
7828 * sysvipc/msgget.c: Likewise.
7829 * sysvipc/msgrcv.c: Likewise.
7830 * sysvipc/msgsnd.c: Likewise.
7831 * sysvipc/semctl.c: Likewise.
7832 * sysvipc/semget.c: Likewise.
7833 * sysvipc/semop.c: Likewise.
7834 * sysvipc/semtimedop.c: Likewise.
7835 * sysvipc/shmat.c: Likewise.
7836 * sysvipc/shmctl.c: Likewise.
7837 * sysvipc/shmdt.c: Likewise.
7838 * sysvipc/shmget.c: Likewise.
7839 * termios/tcdrain.c: Likewise.
7840 * termios/tcflow.c: Likewise.
7841 * termios/tcflush.c: Likewise.
7842 * termios/tcgetattr.c: Likewise.
7843 * termios/tcgetpgrp.c: Likewise.
7844 * termios/tcsendbrk.c: Likewise.
7845 * termios/tcsetattr.c: Likewise.
7846 * termios/tcsetpgrp.c: Likewise.
7847 * time/adjtime.c: Likewise.
7848 * time/clock.c: Likewise.
7849 * time/getitimer.c: Likewise.
7850 * time/gettimeofday.c: Likewise.
7851 * time/setitimer.c: Likewise.
7852 * time/settimeofday.c: Likewise.
7853 * time/stime.c: Likewise.
7854 * time/time.c: Likewise.
7855
78562012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7857
a20492cf
PT
7858 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7859 /usr/old/bin.
7860
72e182e3
PT
7861 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7862 instead of spaces.
7863 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7864
fbeafede
JM
78652012-11-03 Joseph Myers <joseph@codesourcery.com>
7866
5b5b04d6
JM
7867 [BZ #14796]
7868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7869 FE_TONEAREST before applying Dekker multiplication and Knuth
7870 addition. Clear inexact exceptions and check for exact zero
7871 results afterwards.
7872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7873 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7874 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7875 * math/libm-test.inc (fma_test): Add more tests.
7876 (fma_test_towardzero): Likewise.
7877 (fma_test_downward): Likewise.
7878 (fma_test_upward): Likewise.
7879 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7880 function.
7881 (libc_fesetround): New macro.
7882 (libc_fesetroundf): Likewise.
7883 (libc_fesetroundl): Likewise.
7884 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7885 function.
7886 (libc_fesetround_387): Likewise.
7887 (libc_fesetroundf): New macro.
7888 (libc_fesetround): Likewise.
7889 (libc_fesetroundl): Likewise.
7890 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7891 function.
7892 (libc_fesetroundf): New macro.
7893 (libc_fesetround): Likewise.
7894 (libc_fesetroundl): Likewise.
7895 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7896 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7897 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7898 libm_hidden_ver.
7899 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7900 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7901 libm_hidden_def.
7902 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7903 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7904 libm_hidden_ver.
7905 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7906 libm_hidden_def.
7907
fbeafede
JM
7908 [BZ #3439]
7909 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7910 integer constant usable in #if and use that to give value to enum
7911 constant.
7912 (FE_DIVBYZERO): Likewise.
7913 (FE_UNDERFLOW): Likewise.
7914 (FE_OVERFLOW): Likewise.
7915 (FE_INVALID): Likewise.
7916 (FE_INVALID_SNAN): Likewise.
7917 (FE_INVALID_ISI): Likewise.
7918 (FE_INVALID_IDI): Likewise.
7919 (FE_INVALID_ZDZ): Likewise.
7920 (FE_INVALID_IMZ): Likewise.
7921 (FE_INVALID_COMPARE): Likewise.
7922 (FE_INVALID_SOFTWARE): Likewise.
7923 (FE_INVALID_SQRT): Likewise.
7924 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7925 (FE_TONEAREST): Likewise.
7926 (FE_TOWARDZERO): Likewise.
7927 (FE_UPWARD): Likewise.
7928 (FE_DOWNWARD): Likewise.
7929 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7930 (FE_DIVBYZERO): Likewise.
7931 (FE_OVERFLOW): Likewise.
7932 (FE_UNDERFLOW): Likewise.
7933 (FE_INEXACT): Likewise.
7934 (FE_TONEAREST): Likewise.
7935 (FE_DOWNWARD): Likewise.
7936 (FE_UPWARD): Likewise.
7937 (FE_TOWARDZERO): Likewise.
7938 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7939 (FE_UNDERFLOW): Likewise.
7940 (FE_OVERFLOW): Likewise.
7941 (FE_DIVBYZERO): Likewise.
7942 (FE_INVALID): Likewise.
7943 (FE_TONEAREST): Likewise.
7944 (FE_TOWARDZERO): Likewise.
7945 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7946 (FE_OVERFLOW): Likewise.
7947 (FE_UNDERFLOW): Likewise.
7948 (FE_DIVBYZERO): Likewise.
7949 (FE_INEXACT): Likewise.
7950 (FE_TONEAREST): Likewise.
7951 (FE_TOWARDZERO): Likewise.
7952 (FE_UPWARD): Likewise.
7953 (FE_DOWNWARD): Likewise.
7954 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7955 (FE_DIVBYZERO): Likewise.
7956 (FE_OVERFLOW): Likewise.
7957 (FE_UNDERFLOW): Likewise.
7958 (FE_INEXACT): Likewise.
7959 (FE_TONEAREST): Likewise.
7960 (FE_DOWNWARD): Likewise.
7961 (FE_UPWARD): Likewise.
7962 (FE_TOWARDZERO): Likewise.
7963
105ca950
CM
79642012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7965
7966 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7967
a542b389
AS
79682012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7969
7970 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7971 commands. Quote $PWD.
7972 (blacklist_exports): Don't use remove_newlines. Replace "declare
7973 -x" by "export".
7974 (remove_newlines): Remove.
7975
f62c8abc
L
79762012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7977
7978 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7979 * stdlib/stdlib.h (atof): Moved to ...
7980 * include/bits/stdlib-float.h: Here. New file.
7981 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7982 * stdlib/bits/stdlib-float.h: New file.
7983 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7984 -mno-sse -mno-mmx.
7985 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7986 <xmmintrin.h>.
7987
0155d5b2
JM
79882012-11-02 Joseph Myers <joseph@codesourcery.com>
7989
a68d0680
JM
7990 * conform/conformtest.pl (@headers): Add fenv.h.
7991 * conform/data/fenv.h-data: New file.
7992 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7993 include of <math/fenv.h>.
7994
caf7f573
JM
7995 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7996 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7997 && !UNIX98]. Enables tests for XOPEN2K8.
7998 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7999 POSIX2008]: Likewise.
8000
6c073ad6
JM
8001 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
8002 (struct rusage): Do not expect type or its members.
8003
0155d5b2
JM
8004 [BZ #3439]
8005 * math/math.h (FP_NAN): Define macro to integer constant usable in
8006 #if and use that to give value to enum constant.
8007 (FP_INFINITE): Likewise.
8008 (FP_ZERO): Likewise.
8009 (FP_SUBNORMAL): Likewise.
8010 (FP_NORMAL): Likewise.
8011
b5dcacb4
AS
80122012-11-02 Andreas Schwab <schwab@linux-m68k.org>
8013
8014 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
8015 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
8016 arguments.
8017
f7934be8
RM
80182012-11-02 Roland McGrath <roland@hack.frob.com>
8019
8020 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
8021 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
8022 autoconf-time if not.
8023 * configure.in: Remove AC_PREREQ.
8024
d7d08bde
TMQMF
80252012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8026
8027 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8028 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8029 of the internal implementation.
8030
dcdae19a
JM
80312012-11-02 Joseph Myers <joseph@codesourcery.com>
8032
8033 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8034 except include of <misc/sys/syslog.h>.
8035
d6cffd3e
AS
80362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8037
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8039 function returns with a NULL context exit with zero.
8040
b3563932
TMQMF
80412012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8042
8043 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8044
b288a93d
L
80452012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8046
8047 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8048 (run_program_cmd): This.
8049 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8050 (tst_langinfo): New variable. Use it.
8051
a2421a68
SAS
80522012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8053
8054 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8055 floating point opcodes.
8056
6f796e1b
TS
80572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8058
7402596b
TS
8059 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8060 variable.
8061
d0d4f868
TS
8062 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8063
6f796e1b
TS
8064 * sysdeps/mach/hurd/powerpc: Remove directory.
8065 * sysdeps/mach/powerpc: Likewise.
8066
4da224a2
AS
80672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8068
8069 * scripts/check-local-headers.sh: Ignore c++ headers.
8070
341dd673
TS
80712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8072
8073 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8074 __libc_cleanup_region_start argument.
8075
473611b2
JM
80762012-11-01 Joseph Myers <joseph@codesourcery.com>
8077
8078 [BZ #14784]
8079 [BZ #14785]
8080 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8081 x * y using scaling, not as x * y + z.
8082 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8083 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8084 * math/libm-test.inc (fma_test): Add more tests.
8085 (fma_test_towardzero): Likewise.
8086 (fma_test_downward): Likewise.
8087 (fma_test_upward): Likewise.
8088
4078da3d
TS
80892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8090
8091 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8092
903252aa
JM
80932012-10-31 Joseph Myers <joseph@codesourcery.com>
8094
8095 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8096 New variable.
8097
cbc818d0
TS
80982012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8099
8100 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8101
5a03cb1e
AS
81022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8103
8104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8105 Fix sort order.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8107 Likewise.
8108
90aff2ff
TMQMF
81092012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8110
8111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8112 Fix the order of the list for glibc 2.17.
8113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8114 Likewise.
8115
1818fcb7
AS
81162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8117
8118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8119
ef82f4da
JM
81202012-10-31 Joseph Myers <joseph@codesourcery.com>
8121
16a0e2ec
JM
8122 [BZ #14610]
8123 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8124 for low part of x being zero before using __atanl (y).
8125 * math/libm-test.inc (atan2_test): Add another test.
8126
0eb69512
JM
8127 * manual/install.texi (Configuring and compiling): Document
8128 general use of test-wrapper and test-wrapper-env.
8129 * INSTALL: Regenerated.
8130
ef82f4da
JM
8131 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8132 (__fma): Do not extract and scale down low bits on after-rounding
8133 systems when result rounded to normal precision would have normal
8134 exponent.
8135 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8136 (__fmal): Do not extract and scale down low bits on after-rounding
8137 systems when result rounded to normal precision would have normal
8138 exponent.
8139 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8140 (__fmal): Do not extract and scale down low bits on after-rounding
8141 systems when result rounded to normal precision would have normal
8142 exponent.
8143 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8144 macro.
8145 (fma_test): Add more tests.
8146 (fma_test_towardzero): Likewise.
8147 (fma_test_downward): Likewise.
8148 (fma_test_upward): Likewise.
8149
954ef0d9
L
81502012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8151
8152 * sysdeps/i386/tininess.h: Renamed to ...
8153 * sysdeps/x86/tininess.h: This.
8154 * sysdeps/x86_64/tininess.h: Removed.
8155
df61ffb2
JM
81562012-10-30 Joseph Myers <joseph@codesourcery.com>
8157
8158 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8159 input. Use $(build-program-cmd).
8160 ($(objpfx)tst-array1-static.out): Likewise.
8161 ($(objpfx)tst-array2.out): Likewise.
8162 ($(objpfx)tst-array3.out): Likewise.
8163 ($(objpfx)tst-array4.out): Likewise.
8164 ($(objpfx)tst-array5.out): Likewise.
8165 ($(objpfx)tst-array5-static.out): Likewise.
8166
01767843
CM
81672012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8168
47cc1490
CM
8169 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8170 if defined.
8171
01767843
CM
8172 * nss/nsswitch.h (nss_interface_function): Provide new
8173 macro for use with NSS functions.
8174 * grp/initgroups.c: Use new macro.
8175 * nss/getXXbyYY.c: Likewise.
8176 * nss/getXXbyYY_r.c: Likewise.
8177 * nss/getXXent.c: Likewise.
8178 * nss/getXXent_r.c: Likewise.
8179 * sysdeps/posix/getaddrinfo.c: Likewise.
8180
8321aa97
AJ
81812012-10-30 Andreas Jaeger <aj@suse.de>
8182
8183 * po/ru.po: Update Russion translation from translation project.
8184
2a27fd6d
JM
81852012-10-30 Joseph Myers <joseph@codesourcery.com>
8186
8627a232
JM
8187 [BZ #14152]
8188 [BZ #14783]
8189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8190 result and shift together with sticky bit instead of replicating
8191 round-to-nearest rounding.
8192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8193 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8194 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8195 missing underflow exceptions.
8196 (fma_test_towardzero): Add more tests.
8197 (fma_test_downward): Likewise.
8198 (fma_test_upward): Likewise.
8199
2a27fd6d
JM
8200 [BZ #14047]
8201 * sysdeps/generic/tininess.h: New file.
8202 * sysdeps/i386/tininess.h: Likewise.
8203 * sysdeps/sh/tininess.h: Likewise.
8204 * sysdeps/x86_64/tininess.h: Likewise.
8205 * stdlib/tst-strtod-underflow.c: Likewise.
8206 * stdlib/tst-tininess.c: Likewise.
8207 * stdlib/strtod_l.c: Include <tininess.h>.
8208 (round_and_return): Do not set errno for exact underflow cases.
8209 Force an underflow exception when setting errno for underflow.
8210 Determine underflow based on rounding to normal precision if
8211 TININESS_AFTER_ROUNDING.
8212 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8213 ERANGE for exact underflow cases.
8214 * stdlib/Makefile (tests): Add tst-tininess and
8215 tst-strtod-underflow.
8216 ($(objpfx)tst-tininess): Use $(link-libm).
8217 ($(objpfx)tst-strtod-underflow): Likewise.
8218
e7170363
AJ
82192012-10-30 Andreas Jaeger <aj@suse.de>
8220
e5088dc6
AJ
8221 [BZ#14767]
8222 * elf/Makefile (tests): Remove conditional for have-initfini-array
8223 since this is now always required and the variable does not exist
8224 anymore.
8225 (tests-static): Likewise.
8226 (modules-names): Likewise.
8227
e7170363 8228 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8229
8230 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8231 merged with constructor/destructor.
8232 (init_array): Likewise.
8233 * elf/tst-array2dep.c (fini_array): Likewise.
8234 (init_array): Likewise.
8235
60457d8a
MF
82362012-10-29 Mike Frysinger <vapier@gentoo.org>
8237
8238 * manual/message.texi: Delete @cartouche tags.
8239
8bece752
PT
82402012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8241
94ce799f
PT
8242 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8243 EOPNOTSUPP.
8244 * sysdeps/mach/hurd/fsync.c: Likewise.
8245
8bece752
PT
8246 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8247 [_POSIX_REALTIME_SIGNALS]: Change condition to
8248 [_POSIX_REALTIME_SIGNALS > 0].
8249
86ebe6b1
AJ
82502012-10-27 Andreas Jaeger <aj@suse.de>
8251
8252 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8253 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8255 [__WORDSIZE != 64]: Likewise.
8256
54399c08
L
82572012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * iconvdata/tst-table.sh: Remove ${SHELL}.
8260 * iconvdata/tst-tables.sh: Likewise.
8261
e2211bed
DM
82622012-10-25 David S. Miller <davem@davemloft.net>
8263
8264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8265 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8266 of strtoull.
8267
f303f97c
DM
8268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8269 ifunc-impl-list.c
8270 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8271 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8272 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8273 file.
8274
1e9d84cd
RM
82752012-10-25 Roland McGrath <roland@hack.frob.com>
8276
8277 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8278 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8279 __getdirentries.
8280
df381762
JM
82812012-10-25 Joseph Myers <joseph@codesourcery.com>
8282 Jim Blandy <jimb@codesourcery.com>
8283
8284 * scripts/cross-test-ssh.sh: New file.
8285 * manual/install.texi (Configuring and compiling): Document use of
8286 cross-test-ssh.sh.
8287 * INSTALL: Regenerated.
8288
bff64913
PT
82892012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8290
8291 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8292 EOPNOTSUPP.
8293
25fe8932
JM
82942012-10-25 Joseph Myers <joseph@codesourcery.com>
8295
8296 * Makeconfig (run-program-prefix): Fix comment.
8297
cc1290d0
JM
82982012-10-24 Joseph Myers <joseph@codesourcery.com>
8299 Jim Blandy <jimb@codesourcery.com>
8300
8301 * Makeconfig (test-wrapper): New variable,
8302 (test-wrapper-env): Likewise.
8303 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8304 (run-built-tests): Define to yes.
8305 (run-program-prefix): Use $(test-wrapper).
8306 (built-program-cmd): Likewise.
8307 * Rules (make-test-out): Use $(test-wrapper-env) and
8308 $(host-built-program-cmd).
8309 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8310 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8311 tst-pathopt.sh.
8312 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8313 $(test-wrapper-env) to tst-rtld-load-self.sh.
8314 ($(objpfx)order2.out): Use $(test-wrapper).
8315 ($(objpfx)tst-initorder.out): Likewise.
8316 ($(objpfx)tst-initorder2.out): Likewise.
8317 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8318 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8319 (test_wrapper_env): New variable. Use it to run ld.so.
8320 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8321 Use it to run ld.so.
8322 (test_wrapper_env): Likewise.
8323 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8324 $(test-wrapper) to run-iconv-test.sh.
8325 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8326 (ICONV): Use $test_wrapper.
8327 * posix/Makefile ($(objpfx)globtest.out): Pass
8328 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8329 globtest.sh, not $(run-program-prefix).
8330 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8331 (test_wrapper): Likewise.
8332 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8333 set together with run_via_rtld_prefix.
8334 (run_program_prefix): Define in terms of test_wrapper and
8335 run_via_rtld_prefix.
8336
6e6249d0
RM
83372012-10-24 Roland McGrath <roland@hack.frob.com>
8338
8339 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8340 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8341 Targets removed.
8342
8343 [BZ #14743]
8344 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8345 Declare __clock_getres, __clock_gettime, __clock_settime,
8346 __clock_nanosleep, and __clock_getcpuclockid.
8347 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8348 Remove librt_hidden_def (clock_gettime).
8349 * sysdeps/unix/clock_gettime.c: Likewise.
8350 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8351 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8352 * rt/clock_getres.c: Define __clock_getres as an alias.
8353 * sysdeps/posix/clock_getres.c: Likewise.
8354 * rt/clock_settime.c: Define __clock_settime as an alias.
8355 * sysdeps/unix/clock_settime.c: Likewise.
8356 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8357 * sysdeps/unix/clock_nanosleep.c: Likewise.
8358 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8359 * rt/clock-compat.c: New file.
8360 * rt/Makefile (librt-routines): Add clock-compat and move
8361 $(clock-routines) to ...
8362 (routines): ... here, new variable.
8363 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8364 Don't add get_clockfreq here.
8365 * rt/Versions (libc: GLIBC_2.17): New version set.
8366 Add clock_* symbols here.
8367 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8369 (GLIBC_2.17): Add clock_* symbols.
8370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8374 Likewise.
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8376 Likewise.
8377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8381 * NEWS: Mention the move.
8382
8383 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8384 Use __open, __read, __close rather than their public counterparts.
8385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8386 (__get_clockfreq_via_cpuinfo): Likewise.
8387 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8388 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8389
8390 * config.h.in (HAVE_IFUNC): New #undef.
8391 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8392 was successful.
8393 * configure: Regenerated.
8394
0cae3f4b
MF
83952012-10-24 Mike Frysinger <vapier@gentoo.org>
8396
8397 * configure.in: Move READELF check to start of file.
8398 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8399 libc_cv_asm_gnu_indirect_function in the process.
8400 * configure: Regenerated.
8401
8175a253
MF
84022012-10-24 Mike Frysinger <vapier@gentoo.org>
8403
8404 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8405 send the output to /dev/null.
8406 (libc_cv_cc_with_libunwind): Likewise.
8407 (libc_cv_as_noexecstack): Likewise.
8408 * configure: Regenerate.
8409
0708a7d1
JM
84102012-10-24 Joseph Myers <joseph@codesourcery.com>
8411
10b40d85
JM
8412 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8413
0708a7d1
JM
8414 * posix/globtest.sh (TMPDIR): Do not set.
8415 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8416 (testout): Likewise.
8417
9fddec1a
AJ
84182012-10-24 Andreas Jaeger <aj@suse.de>
8419
3a8db22f
AJ
8420 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8421 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8422 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8423 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8424 posix_fadvise64, posix_fallocate64.
8425
9fddec1a
AJ
8426 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8427 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8428 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8429 Likewise.
8430 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8431 Likewise.
8432 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8433
8434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8435 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8436 <bits/fcntl-linux.h>.
8437 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8438
8439 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8440 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8441 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8442 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8443 [__WORDSIZE != 64]: Likewise.
8444
ebfd1bbd
JM
84452012-10-23 Joseph Myers <joseph@codesourcery.com>
8446
03ac099f
JM
8447 * Makeconfig (run-built-tests): New variable.
8448 * Rules [$(cross-compiling) = yes]: Change condition to
8449 [$(run-built-tests) = no].
8450 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8451 to [$(run-built-tests) = yes].
8452 * elf/Makefile [$(cross-compiling) = no]: Likewise
8453 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8454 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8455 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8456 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8457 * io/Makefile [$(cross-compiling) = no]: Likewise.
8458 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8459 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8460 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8461 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8462 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8463 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8464 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8465 * string/Makefile [$(cross-compiling) = no]: Likewise.
8466
ebfd1bbd
JM
8467 * posix/Makefile ($(objpfx)globtest.out): Pass
8468 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8469 $(rtld-installed-name).
8470 * posix/globtest.sh (elf_objpfx): Remove variable.
8471 (rtld_installed_name): Likewise.
8472 (library_path): Likewise.
8473 (run_program_prefix): New variable. Use for running globtest
8474 binary.
8475
166bca24
JB
84762012-10-23 Jim Blandy <jimb@codesourcery.com>
8477 Joseph Myers <joseph@codesourcery.com>
8478
8479 * Makeconfig (host-built-program-cmd): New variable.
8480 * elf/Makefile (tst-stackguard1-ARGS): Use
8481 $(host-built-program-cmd).
8482 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8483 (tst-spawn-ARGS): Likewise.
8484 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8485
88866099
JM
84862012-10-23 Joseph Myers <joseph@codesourcery.com>
8487 Jim Blandy <jimb@codesourcery.com>
8488
8489 * Makeconfig (run-via-rtld-prefix): New variable.
8490 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8491 (built-program-cmd): Likewise.
8492
b4b4c296
AJ
84932012-10-22 Andreas Jaeger <aj@suse.de>
8494
8495 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8496 __O_RSYNC if it exists, otherwise to O_SYNC.
8497
6fb54a22
JB
84982012-10-22 Jim Blandy <jimb@codesourcery.com>
8499 Joseph Myers <joseph@codesourcery.com>
8500
8501 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8502 /dev/null.
8503 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8504 from /dev/null
8505 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8506 /dev/null.
8507
481b90b9
AJ
85082012-10-22 Andreas Jaeger <aj@suse.de>
8509
2a0e2669
AJ
8510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8511 Define always.
8512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8513
76e38f9a
AJ
8514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8515 bits/fcntl-linux.h.
8516
7cd37b43
AJ
8517 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8518 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8519
481b90b9
AJ
8520 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8521 to __O_LARGEFILE.
8522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8523 to __O_LARGEFILE.
8524
aba75984
JB
85252012-10-21 Jim Blandy <jimb@codesourcery.com>
8526 Joseph Myers <joseph@codesourcery.com>
8527
8528 * config.make.in (NM): New variable.
8529
88d4247f
AJ
85302012-10-21 Andreas Jaeger <aj@suse.de>
8531
8532 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8533 definitions and declarations that are provided by
8534 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8535
f2eed205
L
85362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8537
8538 [BZ #14683]
8539 * elf/Makefile (tests-static): Add tst-leaks1-static.
8540 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8541 ($(objpfx)tst-leaks1-static): New rule.
8542 ($(objpfx)tst-leaks1-static-mem): Likewise.
8543 (tst-leaks1-static-ENV): New macro.
8544 * elf/dl-open.c (dl_open_worker): Check the main application
8545 only if SHARED is defined.
8546 * elf/tst-leaks1-static.c: New file.
8547
335e6931
AJ
85482012-10-20 Andreas Jaeger <aj@suse.de>
8549
8550 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8551 generic values for Linux.
8552 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8553 and declarations that are provided by <bits/fcntl-linux.h> and
8554 include <bits/fcntl-linux.h>.
8555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8557
ac5c94d3
RM
85582012-10-20 Roland McGrath <roland@hack.frob.com>
8559
8560 * io/fcntl.h: Move include of <bits/types.h> to the top and
8561 include it unconditionally.
8562
de54b33a
L
85632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8564
228cfb01
L
8565 * wcsmbs/Makefile (tests-ifunc): New variable.
8566 (tests): Add $(tests-ifunc).
8567 * wcsmbs/test-wcschr-ifunc.c: New file.
8568 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8569 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8570 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8571 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8572 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8573
69f07e5f
L
8574 * string/Makefile (tests-ifunc): New variable.
8575 (tests): Add $(tests-ifunc).
8576 * string/test-memccpy.c (TEST_NAME): New macro.
8577 * string/test-memchr.c (TEST_NAME): Likewise.
8578 * string/test-memcmp.c (TEST_NAME): Likewise.
8579 * string/test-memcpy.c (TEST_NAME): Likewise.
8580 * string/test-memmem.c (TEST_NAME): Likewise.
8581 * string/test-memmove.c (TEST_NAME): Likewise.
8582 * string/test-memset.c (TEST_NAME): Likewise.
8583 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8584 * string/test-stpcpy.c (TEST_NAME): Likewise.
8585 * string/test-stpncpy.c (TEST_NAME): Likewise.
8586 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8587 * string/test-strcasestr.c (TEST_NAME): Likewise.
8588 * string/test-strcat.c (TEST_NAME): Likewise.
8589 * string/test-strchr.c (TEST_NAME): Likewise.
8590 * string/test-strcmp.c(TEST_NAME): Likewise.
8591 * string/test-strcpy.c (TEST_NAME): Likewise.
8592 * string/test-strcspn.c (TEST_NAME): Likewise.
8593 * string/test-strlen.c (TEST_NAME): Likewise.
8594 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8595 * string/test-strncmp.c (TEST_NAME): Likewise.
8596 * string/test-strncpy.c (TEST_NAME): Likewise.
8597 * string/test-strnlen.c (TEST_NAME): Likewise.
8598 * string/test-strpbrk.c (TEST_NAME): Likewise.
8599 * string/test-strrchr.c (TEST_NAME): Likewise.
8600 * string/test-strspn.c (TEST_NAME): Likewise.
8601 * string/test-strstr.c (TEST_NAME): Likewise.
8602 * string/test-bcopy-ifunc.c: New file.
8603 * string/test-bzero-ifunc.c: Likewise.
8604 * string/test-memccpy-ifunc.c: Likewise.
8605 * string/test-memchr-ifunc.c: Likewise.
8606 * string/test-memcmp-ifunc.c: Likewise.
8607 * string/test-memcpy-ifunc.c: Likewise.
8608 * string/test-memmem-ifunc.c: Likewise.
8609 * string/test-memmove-ifunc.c: Likewise.
8610 * string/test-mempcpy-ifunc.c: Likewise.
8611 * string/test-memset-ifunc.c: Likewise.
8612 * string/test-rawmemchr-ifunc.c: Likewise.
8613 * string/test-stpcpy-ifunc.c: Likewise.
8614 * string/test-stpncpy-ifunc.c: Likewise.
8615 * string/test-strcasecmp-ifunc.c: Likewise.
8616 * string/test-strcasestr-ifunc.c: Likewise.
8617 * string/test-strcat-ifunc.c: Likewise.
8618 * string/test-strchr-ifunc.c: Likewise.
8619 * string/test-strchrnul-ifunc.c: Likewise.
8620 * string/test-strcmp-ifunc.c: Likewise.
8621 * string/test-strcpy-ifunc.c: Likewise.
8622 * string/test-strcspn-ifunc.c: Likewise.
8623 * string/test-strlen-ifunc.c: Likewise.
8624 * string/test-strncasecmp-ifunc.c: Likewise.
8625 * string/test-strncat-ifunc.c: Likewise.
8626 * string/test-strncmp-ifunc.c: Likewise.
8627 * string/test-strncpy-ifunc.c: Likewise.
8628 * string/test-strnlen-ifunc.c: Likewise.
8629 * string/test-strpbrk-ifunc.c: Likewise.
8630 * string/test-strrchr-ifunc.c: Likewise.
8631 * string/test-strspn-ifunc.c: Likewise.
8632 * string/test-strstr-ifunc.c: Likewise.
8633
de54b33a
L
8634 * debug/Makefile (tests-ifunc): New variable.
8635 (tests): Add $(tests-ifunc).
8636 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8637 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8638 * debug/test-stpcpy_chk-ifunc.c: New file.
8639 * debug/test-strcpy_chk-ifunc.c: Likewise.
8640
88481c16
SP
86412012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8642
8643 [BZ #13601]
8644 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8645 header is not read in.
8646
135948bd
JM
86472012-10-19 Joseph Myers <joseph@codesourcery.com>
8648
89f1c388
JM
8649 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8650 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8651 directly. Pass built executable to script as
8652 $(built-program-cmd).
8653 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8654 $testprogram without using LD_LIBRARY_PATH and $ldso.
8655
e40a0d21
JM
8656 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8657 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8658 $(rtld-installed-name).
8659 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8660 (rtld_installed_name): Likewise.
8661 (library_path): Likewise.
8662 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8663 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8664 $(run-program-prefix) to tst-tables.sh.
8665 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8666 it to run tst-table-from and tst-table-to.
8667 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8668 Pass it to tst-table.sh.
8669 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8670 $(run-program-prefix) to tst-gettext.sh.
8671 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8672 tst-translit.sh.
8673 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8674 tst-gettext2.sh.
8675 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8676 to run tst-gettext.
8677 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8678 to run tst-gettext2.
8679 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8680 to run tst-translit.
8681 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8682 $(run-program-prefix) to tst-mtrace.sh.
8683 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8684 to run tst-mtrace.
8685 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8686 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8687 $(rtld-installed-name).
8688 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8689 (rtld_installed_name): Likewise.
8690 (run_program_prefix): New variable. Use it to run wordexp-test.
8691
728e272a
JM
8692 * Makeconfig (ARCH): Remove all definitions.
8693 (machine): Likewise.
8694 [ARCH]: Remove conditional code.
8695 [!objdir]: Give error.
8696 [!objdir] (objpfx): Remove.
8697 [!objdir] (common-objpfx): Likewise.
8698 [!objdir] (common-objdir): Likewise.
8699 * configure.in (config_makefile): Remove. Hardcode Makefile in
8700 AC_CONFIG_FILES call.
8701 * configure: Regenerated.
8702
d528cdcf
JM
8703 [BZ #13888]
8704 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8705 or TMPDIR.
8706 (testout): Likewise.
8707
135948bd
JM
8708 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8709 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8710 $(rtld-installed-name).
8711 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8712 (rtld_installed_name): Likwise.
8713 (runit): Remove function.
8714 (run_getconf): New variable, Use it for running getconf binary.
8715
38c78296
L
87162012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8717
8718 [BZ #14716]
8719 * string/test-memmem.c (check_result): New function.
8720 (do_one_test): Use it.
8721 (check1): New function.
8722 (test_main): Use it.
8723
d077f65f
MT
87242012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8725
8726 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8727
ced52c71
JM
87282012-10-18 Joseph Myers <joseph@codesourcery.com>
8729
8730 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8731 (_G_LSEEK64): Likewise.
8732 (_G_MMAP64): Likewise.
8733 (_G_FSTAT64): Likewise.
8734 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8735 (_G_LSEEK64): Likewise.
8736 (_G_MMAP64): Likewise.
8737 (_G_FSTAT64): Likewise.
8738 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8739 unconditional. Call __mmap64 directly.
8740 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8741 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8742 __lseek64 directly.
8743 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8744 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8745 __mmap64 directly.
8746 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8747 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8748 __lseek64 directly.
8749 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8750 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8751 __lseek64 directly.
8752 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8753 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8754 __lseek64 directly.
8755 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8756 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8757 __fxstat64 directly.
8758 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8759 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8760 unconditional.
8761 (freopen64) [!_G_OPEN64]: Remove conditional code.
8762 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8763 unconditional.
8764 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8765 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8766 unconditional.
8767 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8768 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8769 unconditional.
8770 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8771 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8772 unconditional.
8773 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8774 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8775 unconditional.
8776 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8777 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8778 unconditional.
8779 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8780 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8781 unconditional.
8782 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8783
b741de23
SP
87842012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8785
8786 [BZ #12140]
8787 * manual/memory.texi (Malloc Tunable Parameters): Add note
8788 about free list pointers overwriting some perturb bytes.
8789 Wording suggested by Roland McGrath.
8790
f9b9d9c9
JM
87912012-10-17 Joseph Myers <joseph@codesourcery.com>
8792
8793 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8794 (lgamma_test): Likewise.
8795 (tgamma_test): Likewise.
8796
172a631a
FW
87972012-10-16 Florian Weimer <fweimer@redhat.com>
8798
8799 [BZ #14700]
8800 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8801 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8802
e9f37252
MK
88032012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8804
8805 * NEWS: Mention BZ #14716.
8806 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8807 when removing AVAILABLE1_USES_J macro.
8808
d394eb74
L
88092012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8810
8811 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8812 (__bswap_64): __uint64_t for unsigned 64-bit int.
8813
ca38dc17
AS
88142012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8815
8816 * include/string.h (memmem): Declare libc hidden alias.
8817 * string/memmem.c (memmem): Define libc hidden alias.
8818 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8819 __read, __close instead of open, read, close.
8820
9a387d1f
L
88212012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8822
ac49ecaf
L
8823 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8824 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8825 global and hidden.
8826 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8827 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8828 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8829 Likewise.
8830 (__rawmemchr_sse2): Likewise.
8831 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8832 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8833 (__strchr_sse2): Likewise.
8834 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8835 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8836 (__strcasecmp_sse2): Likewise.
8837 (__strncasecmp_sse2): Likewise.
8838 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8839 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8840 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8841 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8842 (__strrchr_sse2): Likewise.
8843 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8844 ifunc-impl-list.c.
8845 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8846 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8847 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8848 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8849 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8850 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8851 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8852 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8853 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8854 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8855 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8856 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8857 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8858 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8859 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8860 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8861 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8862 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8863 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8864 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8865 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8866 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8867 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8868 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8869 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8870 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8871 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8872 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8873 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8874 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8875
b090e8ea
L
8876 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8877 global and hidden.
8878 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8879 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8880 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8881 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8882 Likewise.
8883 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8884 Likewise.
8885 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8886 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8887 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8888 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8889 ifunc-impl-list.c.
8890 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8892 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8893 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8894 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8895 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8896 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8897 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8898 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8899 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8900 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8901 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8902 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8903 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8904 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8905 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8906 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8907 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8908 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8909 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8910 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8911 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8912 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8913 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8914 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8915 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8916 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8917 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8918 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8919 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8920 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8921 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8922 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8923 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8924 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8925 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8926 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8927 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8928 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8929 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8930 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8931
11dd4af6
L
8932 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8933 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8934 * include/ifunc-impl-list.h: New file.
8935 * misc/ifunc-impl-list.c: Likewise.
8936 * misc/Makefile (routines): Add ifunc-impl-list.
8937 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8938 * string/test-string.h: Include <ifunc-impl-list.h>.
8939 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8940 impl_array): New variables.
8941 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8942 are defined.
8943 (test_init): Call __libc_ifunc_impl_list to initialize
8944 func_list if TEST_IFUNC and TEST_NAME are defined.
8945
9a387d1f
L
8946 * string/Makefile (strop-tests): Add bcopy and bzero.
8947 * string/test-bcopy.c: New file.
8948 * string/test-bzero.c: Likewise.
8949 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8950 defined.
8951 * string/test-memset.c: Support bzero test if TEST_BZERO is
8952 defined.
8953 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8954 __libc_memmove.
8955 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8956 __libc_memset.
8957 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8958 of memset.
8959
472371b9
JM
89602012-10-10 Joseph Myers <joseph@codesourcery.com>
8961
1e4a9536
JM
8962 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8963 * configure: Regenerated.
8964
d173d12e
JM
8965 * Makeconfig (+link-static-before-libc): Don't include
8966 $(link-static-libc).
8967
472371b9
JM
8968 * libio/libio.h (_IO_pos_t): Remove.
8969
89a3ad0b
AO
89702012-10-10 Alexandre Oliva <aoliva@redhat.com>
8971
8972 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8973 McGrath.
8974
e7451425
AO
89752012-10-10 Alexandre Oliva <aoliva@redhat.com>
8976
8977 * crypt/crypt-entry.c: Include fips-private.h.
8978 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8979 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8980 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8981 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8982
4ba74a35
AO
89832012-10-10 Alexandre Oliva <aoliva@redhat.com>
8984
8985 * crypt/crypt-private.h: Include stdbool.h.
8986 (_ufc_setup_salt_r): Return bool.
8987 * crypt/crypt-entry.c: Include errno.h.
8988 (__crypt_r): Return NULL with EINVAL for bad salt.
8989 * crypt/crypt_util.c (bad_for_salt): New.
8990 (_ufc_setup_salt_r): Check that salt is long enough and within
8991 the specified alphabet.
8992 * crypt/badsalttest.c: New file.
8993 * crypt/Makefile (tests): Add it.
8994 ($(objpfx)badsalttest): New.
8995
f96f1242
MK
89962012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8997
8998 * NEWS: Add entry for BZ #14602.
8999
0e8e0c1c
JM
90002012-10-09 Joseph Myers <joseph@codesourcery.com>
9001
9002 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
9003 type-generic.
9004 * math/libm-test.inc: Update comment listing what functions and
9005 macros are tested.
9006 (isgreater_test): New function.
9007 (isgreaterequal_test): Likewise.
9008 (isless_test): Likewise.
9009 (islessequal_test): Likewise.
9010 (islessgreater_test): Likewise.
9011 (isunordered_test): Likewise.
9012 (main): Call the new functions.
9013
273edc5e
RM
90142012-10-09 Roland McGrath <roland@hack.frob.com>
9015
b8493de0
RM
9016 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
9017 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
9018 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
9019 * sysdeps/i386/configure: Regenerated.
9020 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
9021 * sysdeps/mach/configure: Regenerated.
9022 * sysdeps/mach/hurd/configure: Regenerated.
9023 * sysdeps/powerpc/configure: Regenerated.
9024 * sysdeps/powerpc/powerpc32/configure: Regenerated.
9025 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9026 * sysdeps/s390/s390-32/configure: Regenerated.
9027 * sysdeps/s390/s390-64/configure: Regenerated.
9028 * sysdeps/sh/configure: Regenerated.
9029 * sysdeps/sparc/configure: Regenerated.
9030 * sysdeps/unix/sysv/linux/configure: Regenerated.
9031 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9032 * sysdeps/x86_64/configure: Regenerated.
9033
273edc5e
RM
9034 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9035 defined. Don't check if MAP is NULL.
9036
c8450f70
JM
90372012-10-09 Joseph Myers <joseph@codesourcery.com>
9038
9039 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9040 (_G_stat64): Likewise.
9041 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9042 (_G_stat64): Likewise.
9043 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9044 instead of struct _G_stat64.
9045 * libio/fileops.c (mmap_remap_check): Likewise.
9046 (decide_maybe_mmap): Likewise.
9047 (_IO_new_file_seekoff): Likewise.
9048 (_IO_file_stat): Likewise.
9049 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9050 _G_off64_t.
9051 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9052 instead of struct _G_stat64.
9053 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9054
57e605ba
MK
90552012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9056
9057 [BZ #14602]
9058 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9059 Replace with ...
9060 (CHECK_EOL): New macro.
9061 (two_way_short_needle): Check beginning of haystack for EOL. Use
9062 CHECK_EOL.
9063 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9064 Replace with CHECK_EOL.
9065 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9066 Replace with CHECK_EOL.
9067
ef1bb361
JM
90682012-10-08 Joseph Myers <joseph@codesourcery.com>
9069
9070 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9071 type-generic.
9072 * math/libm-test.inc: Update comment listing what functions and
9073 macros are tested.
9074 (finite_test): New function.
9075 (isinf_test): Likewise.
9076 (isnan_test): Likewise.
9077 (fpclassify_test): Test subnormal input.
9078 (isfinite_test): Likewise.
9079 (isnormal_test): Likewise.
9080 (main): Call the new functions.
9081
55f11534
JN
90822012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9083
9084 [BZ #14660]
9085 * Makerules (%.dynsym): Force C locale when running
9086 $(OBJDUMP) --dynamic-syms.
9087
1ab29350
AS
90882012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9089
9090 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9091 <stdint.h>.
9092
f1ecb7ef
DM
90932012-10-06 David S. Miller <davem@davemloft.net>
9094
9095 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9096 upper 32-bits of the length value in %o2 since we use branch-on-register
9097 tests which consider the entire 64-bit register.
9098
5d41d91a
L
90992012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9100
9101 * string/test-strstr.c (check2): Add a test for page boundary.
9102
3baddb72
DM
91032012-10-05 David S. Miller <davem@davemloft.net>
9104
9105 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9106 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9107 file.
9108 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9109 sysdep_routines.
9110 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9111 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9112 and bzero when HWCAP_SPARC_CRYPTO is present.
9113
9cee5585
L
91142012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9115
d7e0dab9
L
9116 [BZ #14602]
9117 * string/test-strstr.c (check2): New function.
9118 (test_main): Call check2.
9119
03759f47
L
9120 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9121 and bug-strchr1.
9122 * string/bug-strcasestr1.c (do_test): Moved to ...
9123 * string/test-strcasestr.c (check1): Here. New function.
9124 (do_one_test): Break out result checking code into ...
9125 (check_result): This. New function.
9126 (do_one_test): Call check_result.
9127 (test_main): Call check1.
9128 * string/bug-strchr1.c (do_test): Moved to ...
9129 * string/test-strchr.c (check1): Here. New function.
9130 (do_one_test): Break out result checking code into ...
9131 (check_result): This. New function.
9132 (do_one_test): Call check_result.
9133 (test_main): Call check1.
9134 * string/bug-strstr1.c (main): Moved to ...
046f153e 9135 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9136 (do_one_test): Break out result checking code into ...
9137 (check_result): This. New function.
9138 (do_one_test): Call check_result.
9139 (test_main): Call check1.
9140 * string/bug-strcasestr1.c: Removed.
9141 * string/bug-strchr1.c: Likewise.
9142 * string/bug-strstr1.c: Likewise.
9143
53cea63e
L
9144 * elf/Makefile (dl-routines): Add hwcaps.
9145 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9146 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9147 (_dl_important_hwcaps): Moved to ...
9148 * elf/dl-hwcaps.c: Here. New file.
9149 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9150
9cee5585 9151 [BZ #14557]
bb859b06
L
9152 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9153 if IS_IN_rtld isn't defined.
9154
9cee5585
L
9155 * elf/dl-support.c (_dl_sysinfo_map): New.
9156 Include "get-dynamic-info.h" and "setup-vdso.h".
9157 (_dl_non_dynamic_init): Call setup_vdso.
9158 * elf/dynamic-link.h: Don't include <assert.h>.
9159 (elf_get_dynamic_info): Moved to ...
9160 * elf/get-dynamic-info.h: Here. New file.
9161 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9162 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9163 * elf/setup-vdso.h: Here. New file.
9164 * elf/rtld.c: Include "setup-vdso.h".
9165 (dl_main): Call setup_vdso.
9166
23c31b76
JM
91672012-10-05 Joseph Myers <joseph@codesourcery.com>
9168
28234b07
JM
9169 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9170 creal in comment listing functions tested. List finite, isinf,
9171 isnan, isless, islessequal, isgreater, isgreaterequal,
9172 islessgreater, isunordered, lgamma_r and pow10 as functions and
9173 macros not tested. Mention which functions not tested are aliases
9174 for other functions. Fix typo. Note that signs of NaNs are not
9175 tested.
9176
23c31b76
JM
9177 * scripts/config.guess: Update from config.git.
9178 * scripts/config.sub: Likewise.
9179
9043e228
RM
91802012-10-04 Roland McGrath <roland@hack.frob.com>
9181
9182 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9183 * misc/madvise.c (madvise): Renamed to __madvise.
9184 Make madvise a weak alias.
9185 * include/sys/mman.h: Declare __madvise.
9186 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9187 * sysdeps/unix/syscalls.list
9188 (madvise): Make __madvise the strong name, and madvise a weak alias.
9189 * sysdeps/unix/sysv/linux/syscalls.list
9190 (madvise, mmap): Remove redundant entries.
9191 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9192 * malloc/malloc.c (mtrim): Likewise.
9193 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9194
f57f8055
RM
91952012-10-03 Roland McGrath <roland@hack.frob.com>
9196
9197 * sysdeps/mach/hurd/dl-cache.c: File removed.
9198 * config.h.in (USE_LDCONFIG): New #undef.
9199 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9200 * configure: Regenerated.
9201 * elf/Makefile (dl-routines): Add dl-cache only under
9202 [$(use-ldconfig) = yes].
9203 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9204 cache on [USE_LDCONFIG].
9205 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9206 [USE_LDCONFIG].
9207 * elf/rtld.c (dl_main): Likewise.
9208
5bb0c10a
PT
92092012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9210
9211 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9212 _SC_LEVEL4_CACHE_LINESIZE.
9213
010188c6
RM
92142012-10-03 Roland McGrath <roland@hack.frob.com>
9215
9216 * sysdeps/unix/bsd/confstr.h: File removed.
9217
b6c5ec07
AO
92182012-10-02 Alexandre Oliva <aoliva@redhat.com>
9219
9220 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9221 sys/sdt-config.h.
9222
408223d4
RM
92232012-10-02 Roland McGrath <roland@hack.frob.com>
9224
9225 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9226 Make 'mapoff' field ElfW(Off) rather than off_t.
9227
bb9510dc
DL
92282012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9229
fc997c6e
DL
9230 * nscd/Makefile: Remove nscd-cflags and all its users.
9231 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9232 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9233
bb9510dc
DL
9234 [BZ #10631]
9235 * malloc.c (malloc_printerr): Clarify error message.
9236
05699367
L
92372012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9238
9239 [BZ #14648]
9240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9241 Set bit_FMA_Usable if FMA is supported.
9242 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9243 macro.
9244 (bit_FMA4_Usable): Updated.
9245 (index_FMA_Usable): New macro.
9246 (CPUID_FMA): Likewise
9247 (HAS_FMA): Defined with bit_FMA_Usable.
9248
51367701
RM
92492012-10-01 Roland McGrath <roland@hack.frob.com>
9250
9251 * bits/types.h (__swblk_t): Type removed.
9252 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9253 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9254 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9255 (__SWBLK_T_TYPE): Likewise.
9256 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9257 (__SWBLK_T_TYPE): Likewise.
9258 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9259 (__SWBLK_T_TYPE): Likewise.
9260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9261 (__SWBLK_T_TYPE): Likewise.
9262
4d57bf63 92632012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9264 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9265
9266 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9267 (xdr_mapname): Use YPMAXMAP as maxsize.
9268 (xdr_peername): Use YPMAXPEER as maxsize.
9269 (xdr_keydat): Use YPAXRECORD as maxsize.
9270 (xdr_valdat): Use YPMAXRECORD as maxsize.
9271
93c65d43
RM
92722012-10-01 Roland McGrath <roland@hack.frob.com>
9273
497a03d6
RM
9274 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9275
93c65d43
RM
9276 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9277 * csu/init-first.c: ... here.
9278 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9279 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9280 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9281 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9282 * sysdeps/i386/init-first.c: File removed.
9283 * sysdeps/sh/init-first.c: File removed.
9284
bec749fd
JM
92852012-10-01 Joseph Myers <joseph@codesourcery.com>
9286
9287 [BZ #14645]
9288 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9289 if x * y might underflow to zero and z is zero.
9290 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9291 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9292 * math/libm-test.inc (min_subnorm_value): New variable.
9293 (fma_test): Add more tests.
9294 (fma_test_towardzero): Likewise.
9295 (fma_test_downward): Likewise
9296 (fma_test_upward): Likewise.
9297 (initialize): Set min_subnorm_value.
9298
8ec5b013
JM
92992012-09-29 Joseph Myers <joseph@codesourcery.com>
9300
9301 [BZ #14638]
9302 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9303 0 + 0.
9304 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9305 mode for addition resulting in exact zero.
9306 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9307 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9308 exact 0 + 0.
9309 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9310 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9311 * math/libm-test.inc (fma_test): Add more tests.
9312 (fma_test_towardzero): New function.
9313 (fma_test_downward): Likewise.
9314 (fma_test_upward): Likewise.
9315 (main): Call the new functions.
9316
b1fa802e
DM
93172012-09-28 David S. Miller <davem@davemloft.net>
9318
9319 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9320
d3b9fd9e
RM
93212012-09-28 Roland McGrath <roland@hack.frob.com>
9322
ea4d37b3
RM
9323 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9324 instead of SIGALRM.
9325
ac51c949
RM
9326 * sysdeps/gnu/_G_config.h: Moved to ...
9327 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9328 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9329 * sysdeps/generic/_G_config.h: ... here.
9330
28c195f7
RM
9331 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9332
848917f9
RM
9333 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9334
6bacf05b
RM
9335 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9336 Conditionalize target on [libnss_test1.so-version].
9337
91363dbb
RM
9338 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9339
cc87f7d8
RM
9340 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9341 (elfobjdir): Move out of conditionals.
9342
b1c608fe
RM
9343 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9344 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9345 (__nss_lookup_function): Conditionalize label remove_from_tree on
9346 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9347
1d9a6d96
DM
93482012-09-28 David S. Miller <davem@davemloft.net>
9349
9350 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9351 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9352 file.
9353 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9354 sysdep_routines.
9355 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9356 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9357 when HWCAP_SPARC_CRYPTO is present.
9358
72581615
PT
93592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9360
9361 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9362
715a900c
JL
93632012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9364
9365 [BZ #6530]
9366 * stdio-common/vfprintf.c (process_string_arg): Revert
9367 2000-07-22 change.
9368
93692011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9370
9371 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9372 for testcase.
9373 * stdio-common/tst-sprintf.c: Include <locale.h>
9374 (main): Test sprintf's handling of incomplete multibyte
9375 characters.
9376
9bac1d86
L
93772012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9378
9379 * elf/dl-runtime.c (VERSYMIDX): Removed.
9380 * elf/dl-version.c (VERSYMIDX): Likewise.
9381 * elf/do-rel.h (VERSYMIDX): Likewise.
9382 (VALIDX): Likewise.
9383 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9384 * elf/rtld.c (VALIDX): Likewise.
9385 (ADDRIDX): Likewise.
9bac1d86
L
9386 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9387 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9388 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9389 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9390 (VALIDX): Likewise.
9391 (ADDRIDX): Likewise.
9bac1d86 9392
b31606c0
PT
93932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9394
9395 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9396
11541177
JL
93972012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9398
9399 [BZ #11438]
9400 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9401 to global scope.
9402 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9403 addresses are in the same scope as 192.0.2/24.
9404 * posix/gai.conf: Document new scope table defaults.
9405
adb26fae
SP
94062012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9407
9408 [BZ #5298]
9409 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9410 for ftell. Compute offsets from write pointers instead.
9411 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9412
4573c6b0
SP
94132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9414
9415 [BZ #14543]
9416 * libio/Makefile (tests): New test case tst-fseek.
9417 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9418 combination works in wide mode.
9419 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9420 state when the external buffer state changes.
9421
aa9bbfe6
DM
94222012-09-27 David S. Miller <davem@davemloft.net>
9423
9424 [BZ #14376]
9425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9426 pass reloc->r_addend in as the 'high' argument to
9427 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9428
784421e7
DM
9429 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9430
c39bc8b8
PT
94312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9432
9433 * rt/tst-aio2.c: Include <pthread.h>.
9434 * rt/tst-aio3.c: Likewise.
9435
1ccc2399
SE
94362012-09-27 Steve Ellcey <sellcey@mips.com>
9437
9438 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9439
31ed4153
L
94402012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9441
25f5f885
L
9442 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9443 contents on [SHARED].
31ed4153 9444
b7bfe116
MP
94452012-09-26 Marek Polacek <polacek@redhat.com>
9446
9447 [BZ #14530]
9448 [BZ #13741]
9449 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9450 for C++ and GCC <4.3 as well as for non GCC compilers.
9451
43c4edba
MT
94522012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9453
9454 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9455
6a1bf82f
RM
94562012-09-25 Roland McGrath <roland@hack.frob.com>
9457
9458 * Makefile.in (all, install): Declare with .PHONY.
9459 Reported by Michael Hope <michael.hope@linaro.org>.
9460
8ad11b9a
TMQMF
94612012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9462
9463 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9464 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9465 system header.
9466 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9467 Likewise.
9468 (sydep_routines): Add the new and the internal functions.
9469 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9470 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9472 (GLIBC_2.17): Add the new function.
9473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9474 (GLIBC_2.17): Likewise.
9475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9476 (GLIBC_2.17): Likewise.
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9478 (GLIBC_2.17): Likewise.
9479 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9480
7e2fca8d
AM
94812012-09-25 Alan Modra <amodra@gmail.com>
9482
9483 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9484 Add release barrier before setting once_control to say
9485 initialisation is done. Add hints on lwarx. Use macro in
9486 place of isync.
9487 (clear_once_control): Add release barrier.
9488
b87c4b24
JM
94892012-09-25 Joseph Myers <joseph@codesourcery.com>
9490
d032e0d2
JM
9491 [BZ #13629]
9492 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9493 specially.
9494 * math/s_clog10.c (__clog10): Likewise.
9495 * math/s_clog10f.c (__clog10f): Likewise.
9496 * math/s_clog10l.c (__clog10l): Likewise.
9497 * math/s_clogf.c (__clogf): Likewise.
9498 * math/s_clogl.c (__clogl): Likewise.
9499 * math/Makefile (libm-calls): Add x2y2m1.
9500 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9501 (__x2y2m1): Likewise.
9502 (__x2y2m1l): Likewise.
9503 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9504 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9507 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9508 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9509 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9510 * sysdeps/i386/fpu/libm-test-ulps: Update.
9511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9512
b87c4b24
JM
9513 [BZ #14621]
9514 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9515 int as type of variable DEPTH.
9516 (glob): Use size_t instead of int as type of variables NEWCOUNT
9517 and OLD_PATHC.
9518
6d3bf199
LD
95192012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9520
22bf5c17
LD
9521 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9522 Add s_sincosf-sse2.
9523 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9524 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9525 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9526 macros for using routine as __sincosf_ia32.
9527 Use macro for function declaration and weak_alias.
9528 * sysdeps/i386/fpu/libm-test-ulps: Update.
9529
9530 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9532
9533 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9534 subnormal argument.
9535 * math/s_cexpf.c (__cexpf): Likewise.
9536 * math/s_csinf.c (__csinf): Likewise.
9537 * math/s_csinhf.c (__csinhf): Likewise.
9538 * math/s_ctanf.c (__ctanf): Likewise.
9539 * math/s_ctanhf.c (__ctanhf): Likewise.
9540 * math/s_ccosh.c (__ccoshf): Likewise.
9541 * math/s_cexp.c (__cexpl): Likewise.
9542 * math/s_csin.c (__csin): Likewise.
9543 * math/s_csinh.c (__csinh): Likewise.
9544 * math/s_ctan.c (__ctan): Likewise.
9545 * math/s_ctanh.c (ctanh): Likewise.
9546 * math/s_ccoshl.c (__ccoshl): Likewise.
9547 * math/s_cexpl.c (__cexpl): Likewise.
9548 * math/s_csinl.c (__csinl): Likewise.
9549 * math/s_csinhl.c (__csinhl): Likewise.
9550 * math/s_ctanl.c (__ctanl): Likewise.
9551 * math/s_ctanhl.c (__ctanhl): Likewise.
9552
203e5603
JM
95532012-09-25 Joseph Myers <joseph@codesourcery.com>
9554
9555 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9556 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9557 (_IO_off_t): Define to __off_t, not _G_off_t.
9558 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9559 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9560 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9561 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9562 type of __dummy and __dummy2 fields.
9563 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9564 (_G_ssize_t): Likewise.
9565 (_G_off_t): Likewise.
9566 (_G_pid_t): Likewise.
9567 (_G_uid_t): Likewise.
9568 (_G_wchar_t): Likewise.
9569 (_G_wint_t): Likewise.
9570 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9571 (_G_ssize_t): Likewise.
9572 (_G_off_t): Likewise.
9573 (_G_pid_t): Likewise.
9574 (_G_uid_t): Likewise.
9575 (_G_wchar_t): Likewise.
9576 (_G_wint_t): Likewise.
9577 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9578 (_G_ssize_t): Likewise.
9579 (_G_off_t): Likewise.
9580 (_G_pid_t): Likewise.
9581 (_G_uid_t): Likewise.
9582 (_G_wchar_t): Likewise.
9583 (_G_wint_t): Likewise.
9584
9fab36eb
SP
95852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9586
9587 * malloc/arena.c: Include malloc-sysdep.h.
9588 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9589 is sufficient to shrink the heap or an unmap is needed.
9590 * sysdeps/generic/malloc-sysdep.h: New file. Define
9591 new function check_may_shrink_heap.
9592 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9593 new function check_may_shrink_heap.
9594
2b4f00d1
SP
95952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9596
9597 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9598 comments.
9599
9a9028b1
DL
96002012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9601
57c69bef
DL
9602 * catgets/test-gencat.sh: Add "set -e".
9603 * elf/tst-pathopt.sh: Likewise.
9604 * grp/tst_fgetgrent.sh: Likewise.
9605 * iconvdata/run-iconv-test.sh: Likewise.
9606 * intl/tst-gettext.sh: Likewise.
9607 * intl/tst-gettext2.sh: Likewise.
9608 * intl/tst-gettext4.sh: Likewise.
9609 * intl/tst-gettext6.sh: Likewise.
9610 * intl/tst-translit.sh: Likewise.
9611 * io/ftwtest-sh: Likewise.
9612 * libio/test-freopen.sh: Likewise.
9613 * malloc/tst-mtrace.sh: Likewise.
9614 * posix/globtest.sh: Likewise.
9615 * posix/tst-getconf.sh: Likewise.
9616 * posix/wordexp-tst.sh: Likewise.
9617 * stdio-common/tst-printf.sh: Likewise.
9618 * stdio-common/tst-unbputc.sh: Likewise.
9619 * stdlib/tst-fmtmsg.sh: Likewise.
9620 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9621 * catgets/Makefile: Do not specify -e option when running
9622 testsuite shell scripts.
9623 * elf/Makefile: Likewise.
9624 * grp/Makefile: Likewise.
9625 * iconvdata/Makefile: Likewise.
9626 * intl/Makefile: Likewise.
9627 * io/Makefile: Likewise.
9628 * libio/Makefile: Likewise.
9629 * malloc/Makefile: Likewise.
9630 * posix/Makefile: Likewise.
9631 * stdio-common/Makefile: Likewise.
9632 * stdlib/Makefile: Likewise.
9633 * sysdeps/x86_64/Makefile: Likewise.
9634
9a9028b1
DL
9635 * io/ftwtest-sh: Add copyright header.
9636 * posix/globtest.sh: Likewise.
9637 * posix/tst-getconf.sh: Likewise.
9638 * posix/wordexp-tst.sh: Likewise.
9639 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9640
ced6f16e
L
96412012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9642
94b32c39
L
9643 [BZ #13679]
9644 * Makeconfig (+link): Defined as $(+link-static) if
9645 $(build-shared) isn't yes.
9646 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9647 isn't yes.
9648 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9649
189e935b
L
9650 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9651
ced6f16e
L
9652 [BZ #14562]
9653 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9654 new chunk size with MALLOC_ALIGN_MASK.
9655
a9f8e53a
JM
96562012-09-24 Joseph Myers <joseph@codesourcery.com>
9657
9658 [BZ #5044]
9659 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9660 <rounding-mode.h>.
9661 (__printf_fphex): Determine rounding using get_rounding_mode and
9662 round_away.
9663 * stdio-common/tst-printf-round.c (struct hex_test): New
9664 structure.
9665 (hex_tests): New variable.
9666 (test_hex_in_one_mode): New function.
9667 (do_test): Also run tests for hex float output.
9668
43153109
JM
96692012-09-21 Joseph Myers <joseph@codesourcery.com>
9670
9671 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9672 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9673 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9674 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9675 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9676 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9677 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9678 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9679
8a26625d
JM
96802012-09-20 Joseph Myers <joseph@codesourcery.com>
9681
9682 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9683 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9684 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9685 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9686
f3fd569c
DL
96872012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9688
9689 [BZ #14579]
9690 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9691 mode only.
9692 * elf/tst-rtld-load-self.sh: New test.
9693 * elf/Makefile: Run it.
9694
63bbedd4
JM
96952012-09-18 Joseph Myers <joseph@codesourcery.com>
9696
9697 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9698 (tst-writev-ENV): Remove.
9699 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9700
626f8b6a
CM
97012012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9702
9703 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9704
b7aaa4d6
JM
97052012-09-17 Joseph Myers <joseph@codesourcery.com>
9706
9707 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9708 unconditional.
9709 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9710 Likewise.
9711 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9712 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9713 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9714 Likewise.
9715
65513990
L
97162012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9717
9718 [BZ #14587]
9719 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9720 * config.make.in (have-cpp-asm-debuginfo): Removed.
9721 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9722 * configure: Regenerated.
9723
784761be
JM
97242012-09-14 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #5044]
9727 * stdio-common/printf_fp.c: Include <stdbool.h> and
9728 <rounding-mode.h>.
9729 (___printf_fp): Determine rounding using get_rounding_mode and
9730 round_away.
9731 * stdio-common/tst-printf-round.c: New file.
9732 * stdio-common/Makefile (tests): Add tst-printf-round.
9733 (link-libm): New variable.
9734 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9735
9503345f
L
97362012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9737
9738 [BZ #14576]
9739 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9740 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9741 Likewise.
9742 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9743 Likewise.
9744
ad35fc00
JM
97452012-09-13 Joseph Myers <joseph@codesourcery.com>
9746
9747 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9748 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9749 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9750 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9751
6c9b0f68
JM
97522012-09-12 Joseph Myers <joseph@codesourcery.com>
9753
9754 [BZ #14518]
9755 * include/rounding-mode.h: New file.
9756 * sysdeps/generic/get-rounding-mode.h: Likewise.
9757 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9758 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9759 (MAX_VALUE): New macro.
9760 (MIN_VALUE): Likewise.
9761 (overflow_value): New function.
9762 (underflow_value): Likewise.
9763 (round_and_return): Use overflow_value and underflow_value to
9764 determine return values in overflow and underflow cases. Use
9765 round_away to determine rounding depending on rounding mode.
9766 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9767 determine return values in overflow and underflow cases.
9768 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9769 (struct test_results): New structure.
9770 (struct test): Use struct test_results to store expected results
9771 for all rounding modes.
9772 (TEST): Include expected results for all rounding modes.
9773 (test_in_one_mode): New function.
9774 (do_test): Use test_in_one_mode to compute and check results.
9775 Check results for all rounding modes.
9776 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9777 $(link-libm).
9778
19fcedd5
AM
97792012-12-09 Allan McRae <allan@archlinux.org>
9780
1e9d84cd 9781 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9782
8bbfd2f1
JM
97832012-09-11 Joseph Myers <joseph@codesourcery.com>
9784
9785 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9786 (_G_int32_t): Likewise.
9787 (_G_uint16_t): Likewise.
9788 (_G_uint32_t): Likewise.
9789 (_G_HAVE_BOOL): Likewise.
9790 (_G_HAVE_ATEXIT): Likewise.
9791 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9792 (_G_HAVE_IO_FILE_OPEN): Likewise.
9793 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9794 (_G_int32_t): Likewise.
9795 (_G_uint16_t): Likewise.
9796 (_G_uint32_t): Likewise.
9797 (_G_HAVE_BOOL): Likewise.
9798 (_G_HAVE_ATEXIT): Likewise.
9799 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9800 (_G_HAVE_IO_FILE_OPEN): Likewise.
9801 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9802 (_G_int32_t): Likewise.
9803 (_G_uint16_t): Likewise.
9804 (_G_uint32_t): Likewise.
9805 (_G_HAVE_BOOL): Likewise.
9806 (_G_HAVE_ATEXIT): Likewise.
9807 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9808 (_G_HAVE_IO_FILE_OPEN): Likewise.
9809
b1dc5912
L
98102012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9811
9812 * csu/libc-tls.c: Update copyright years.
9813
0e886ef9
JM
98142012-09-10 Joseph Myers <joseph@codesourcery.com>
9815
28361c5e
JM
9816 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9817 [!_G_USING_THUNKS]: Remove conditional code.
9818 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9819 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9820
0e886ef9
JM
9821 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9822 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9823 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9824 (_G_VTABLE_LABEL_PREFIX): Likewise.
9825 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9826 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9827 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9828 (_G_VTABLE_LABEL_PREFIX): Likewise.
9829 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9830 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9831 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9832 (_G_VTABLE_LABEL_PREFIX): Likewise.
9833 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9834
bcba7aa2
L
98352012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9836
9837 * libio/Makefile: Include ../Makeconfig before tests.
9838 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9839 only if $(build-shared) is yes.
9840
06585ee8
L
9841 * iconv/gconv_db.c: Update copyright years.
9842
80ccd52c
LD
98432012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9844
9845 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9846 unwind info if defined PIC. Fix special cases description.
9847 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9848
9849 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9850 DP_HI_MASK entry.
9851 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9852
691bc9c1
L
98532012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9854
3d9b46b3
L
9855 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9856
de2139a9
L
9857 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9858 is NULL.
9859
5ca78dd0
L
9860 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9861 (LDLIBS-tst-chk4): This.
9862 (LDFLAGS-tst-chk5): Renamed to ...
9863 (LDLIBS-tst-chk5): This.
9864 (LDFLAGS-tst-chk6): Renamed to ...
9865 (LDLIBS-tst-chk6): This.
9866 (LDFLAGS-tst-lfschk4): Renamed to ...
9867 (LDLIBS-tst-lfschk4): This.
9868 (LDFLAGS-tst-lfschk5): Renamed to ...
9869 (LDLIBS-tst-lfschk5): This.
9870 (LDFLAGS-tst-lfschk6): Renamed to ...
9871 (LDLIBS-tst-lfschk6): This.
9872
691bc9c1
L
9873 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9874 on $(common-objpfx)soversions.mk.
9875
65cafb1c
JM
98762012-09-07 Joseph Myers <joseph@codesourcery.com>
9877
9878 [BZ #10014]
9879 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9880 example host name.
9881
c78ab094
SP
98822012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9883
9884 * malloc/arena.c (arena_get_retry): New function that gets
9885 another arena for the caller to try its request on.
9886 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9887 current arena cannot fulfill the request.
9888 (__libc_memalign): Likewise.
9889 (__libc_memalign): Likewise.
9890 (__libc_pvalloc): Likewise.
9891 (__libc_calloc): Likewise.
9892
01f49f59
JT
98932012-09-05 John Tobey <john.tobey@gmail.com>
9894
9895 [BZ #13542]
9896 * manual/arith.texi (Operations on Complex): Fix description
9897 of carg branch cut.
9898
4c23fed5
JM
98992012-09-06 Joseph Myers <joseph@codesourcery.com>
9900
1d3c8572
JM
9901 [BZ #10014]
9902 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9903 host name.
9904
4c23fed5
JM
9905 [BZ #10038]
9906 * manual/memory.texi (Memory): Make order of menu items match
9907 order of sections.
9908
04570aaa
L
99092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9910
9911 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9912 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9913 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9914
b80af2f4
L
99152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9916
9917 * csu/libc-tls.c (static_dtv): Renamed to ...
9918 (_dl_static_dtv): This. Make it global.
9919 (_dl_initial_dtv): Removed.
9920 (__libc_setup_tls): Updated.
9921 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9922 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9923 DL_INITIAL_DTV.
9924
2abe9f15
PM
99252012-09-06 Petr Machata <pmachata@redhat.com>
9926
9927 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9928 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9929 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9930 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9931
0948c3af
L
99322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9933
9934 [BZ #14545]
9935 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9936 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9937 freeing dtv[-1].
9938
a5055ad1
L
99392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9940
9941 [BZ #14544]
9942 * Makeconfig (link-static-before-libc): Replace $(+prector)
9943 with $(+prectorT).
9944 (link-static-after-libc): Replace $(+postctor) with
9945 $(+postctorT).
9946 (link-bounded): Replace $(+prector)/$(+postctor) with
9947 $(+prectorT)/$(+postctorT).
9948 (+prectorT): New macro.
9949 (+postctorT): Likewise.
9950
ed8c2ecd
JM
99512012-09-06 Joseph Myers <joseph@codesourcery.com>
9952
9953 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9954 (round_str): Handle values above the maximum for IBM long double
9955 as inexact.
9956 * stdlib/tst-strtod-round.c (tests): Regenerated.
9957
14c996c8
AK
99582012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9959
9960 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9961 assembler flag.
9962 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9963 zarch_nohighgprs around the zarch optimized routines.
9964 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9965 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9966 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9967 for zarch.
9968
430d6ce6
DM
99692012-09-05 David S. Miller <davem@davemloft.net>
9970
9971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9972
ff04dda4
DM
9973 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9974 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9975 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9976 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9977 entries.
9978
24d4e01b
AO
99792012-09-05 Alexandre Oliva <aoliva@redhat.com>
9980
9981 * malloc/arena.c: Fold copyright years.
9982 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9983
61d58174
AO
99842012-09-05 Alexandre Oliva <aoliva@redhat.com>
9985
9986 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9987
20196a5e
AO
99882012-09-05 Alexandre Oliva <aoliva@redhat.com>
9989
9990 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9991
5c447383
AO
99922012-09-05 Alexandre Oliva <aoliva@redhat.com>
9993
9994 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9995 change internal state upon failure.
9996
fad64255
AO
99972012-09-05 Alexandre Oliva <aoliva@redhat.com>
9998
9999 * malloc/mcheck.c (mcheck_check_all): Fix typo.
10000 * malloc/memusage.c (mmap): Likewise.
10001 (mmap64, mremap): Likewise. Adjust name in comment.
10002
1ffb8c90
SP
100032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10004
10005 * libio/fileops.c: Fix typos in comments.
10006 * libio/oldfileops.c: Likewise.
10007 * libio/wfileops.c: Likewise.
10008
6ef9cc37
SP
100092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10010
10011 [BZ #1349]
10012 * malloc/Makefile (tests): Add tst-malloc-usable test case.
10013 (tst-malloc-usable-ENV): Set environment for test case.
10014 * malloc/hooks.c (malloc_check_get_size): New function to get
10015 requested size.
10016 * malloc/malloc.c (musable): Use malloc_check_get_size.
10017 * malloc/tst-malloc-usable.c: New test case.
10018
4d038ae3
AS
100192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10020
10021 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
10022
c4e85184
AM
100232012-09-05 Allan McRae <allan@archlinux.org>
10024
b9dafc56 10025 [BZ #13966]
c4e85184
AM
10026 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10027 determine header location.
10028 * configure: Regenerated.
10029
e1343020
AS
100302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10031
10032 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10033 float format.
10034 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10035 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10036 format.
e1343020
AS
10037 (test): Regenerate.
10038
0a9f1987
DM
100392012-09-04 David S. Miller <davem@davemloft.net>
10040
10041 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10042 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10043 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10044
29237804
FW
100452012-09-04 Florian Weimer <fweimer@redhat.com>
10046
10047 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10048 failures.
10049
edb3cb88
FW
10050 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10051
60160d83
JM
100522012-09-04 Joseph Myers <joseph@codesourcery.com>
10053
10054 [BZ #9914]
10055 * libio/iogetdelim.c: Include <limits.h>.
10056 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10057 + len + 1 would overflow.
10058
bcd6c8dc
AJ
100592012-09-03 Andreas Jaeger <aj@suse.de>
10060
10061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10062 * sysdeps/i386/fpu/libm-test-ulps: Update.
10063
4ffffbd2
LD
100642012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10065
10066 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10067 Add s_sinf-sse2, s_conf-sse2.
10068
10069 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10070 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10071 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10072 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10073
10074 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10075 for using routine as __sinf_ia32.
10076 Use macro for function declaration and weak_alias.
10077 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10078 for using routine as __cosf_ia32.
10079 Use macro for function declaration and weak_alias.
10080
10081 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10082 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10083
10084 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10085 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10087
10088 * math/libm-test.inc (cos_test): Add more test cases.
10089 (sin_test): Likewise.
10090 (sincos_test): Likewise.
10091
511fa286
AK
100922012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10093
10094 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10095 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10096 hidden.
10097 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10098
5f30cfec
L
100992012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10100
10101 [BZ #14538]
10102 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10103 first element of the GOT.
10104 (elf_machine_load_address): Return the difference between
10105 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10106
0786794f
AM
101072012-09-01 Allan McRae <allan@archlinux.org>
10108
5f30cfec
L
10109 [BZ #13412]
10110 * configure.in (AWK): Require gawk version 3.0 or later.
10111 * configure: Regenerated.
0786794f 10112
26889eac
JM
101132012-09-01 Joseph Myers <joseph@codesourcery.com>
10114
10115 * sysdeps/unix/sysv/linux/kernel-features.h
10116 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10117 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10118 [__NR_clock_getres]: Make code unconditional.
10119 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10120 (clock_getcpuclockid): Remove code left unreachable by removal of
10121 conditionals.
10122 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10123 code unconditional.
10124 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10125 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10126 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10127 Make code unconditional.
10128 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10129 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10130 * sysdeps/unix/sysv/linux/clock_settime.c
10131 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10132 conditional code.
10133 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10134 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10135
d22e28b0
L
101362012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10137
10138 [BZ #14476]
10139 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10140 scripts/test-installation.pl.
10141
10142 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10143 and $ld_so_version if it is set.
10144
050af9c4
SP
101452012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10146
10147 [BZ #14516]
10148 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10149 failure if reading from procfs failed.
10150 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10151
ad845c0b
JM
101522012-08-27 Joseph Myers <joseph@codesourcery.com>
10153
10154 * sysdeps/unix/sysv/linux/kernel-features.h
10155 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10156 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10157 Remove conditional code.
10158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10159 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10160 Remove conditional code.
10161 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10162 * sysdeps/unix/sysv/linux/i386/fxstat.c
10163 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10164 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10165 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10166 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10167 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10168 * sysdeps/unix/sysv/linux/i386/lxstat.c
10169 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10170 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10171 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10172 Remove conditional code.
10173 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10174 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10175 Remove conditional code.
10176 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10177 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10178 <kernel-features.h>.
10179 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10180 Remove.
10181 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10182 Remove conditional code.
10183 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10184 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10185 Remove conditional.
10186
5dbf56af
MF
101872012-08-27 Mike Frysinger <vapier@gentoo.org>
10188
10189 [BZ #5400]
10190 * NEWS: Add fixed bug number.
10191
d6e70f43
JM
101922012-08-27 Joseph Myers <joseph@codesourcery.com>
10193
7efb4737
JM
10194 [BZ #14519]
10195 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10196 underflowing exponent in case of negative sign.
10197 * stdlib/tst-strtod-round-data: Add more tests.
10198 * stdlib/tst-strtod-round.c (tests): Regenerated.
10199
af92131a
JM
10200 [BZ #3479]
10201 * stdlib/strtod_l.c (NDIG): Remove.
10202 (HEXNDIG): Likewise.
10203 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10204 smallest representable value.
10205 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10206 lie within an exact representation of 1/2 ulp of the result.
10207 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10208 unconditionally.
10209 (TENS_P9_IDX): Define unconditionally.
10210 (TENS_P9_SIZE): Likewise.
10211 (TENS_P10_IDX): Likewise.
10212 (TENS_P10_SIZE): Likewise.
10213 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10214 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10215 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10216 entries for 10^2^13 and 10^2^14.
10217 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10218 (TENS_P13_IDX): Define.
10219 (TENS_P13_SIZE): Likewise.
10220 (TENS_P14_IDX): Likewise.
10221 (TENS_P14_SIZE): Likewise.
10222 (_fpioconst_pow10): Change array size to
10223 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10224 unconditional.
10225 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10226 1024]: Add entries for 10^2^13 and 10^2^14.
10227 [LAST_POW10 > _LAST_POW10]: Remove #error.
10228 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10229 (_fpioconst_pow10): Change array size to
10230 FPIOCONST_POW10_ARRAY_SIZE.
10231 * stdlib/gen-fpioconst.c: New file.
10232 * stdlib/gen-tst-strtod-round.c: Likewise.
10233 * stdlib/tst-strtod-round-data: Likewise.
10234 * stdlib/tst-strtod-round.c: Likewise.
10235 * stdlib/Makefile (tests): Add tst-strtod-round.
10236
d6e70f43
JM
10237 [BZ #14459]
10238 * stdlib/strtod_l.c: Include <stdint.h>.
10239 (NDEBUG): Do not define.
10240 (round_and_return): Change EXPONENT parameter to type intmax_t.
10241 Rearrange calculations to avoid internal overflow possibilities.
10242 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10243 Rearrange calculations to avoid internal overflow possibilities.
10244 Assert that number fits inside MPNSIZE limbs.
10245 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10246 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10247 calculations and add assertions to avoid internal overflow
10248 possibilities. Add casts to avoid signed/unsigned operations.
10249 * stdlib/tst-strtod-overflow.c: New file.
10250 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10251
1f529f7d
MP
102522012-08-25 Marek Polacek <polacek@redhat.com>
10253
10254 * time/time.h: Fix some typos in comments.
10255
59a629f1
RM
102562012-08-23 Roland McGrath <roland@hack.frob.com>
10257
10258 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10259 * posix/tst-rfc3484-2.c: Likewise.
10260 * posix/tst-rfc3484-3.c: Likewise.
10261
d3bafbc9
SM
102622012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10263
10264 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10265 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10266
4efcc022
JM
102672012-08-23 Joseph Myers <joseph@codesourcery.com>
10268
10269 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10270 #include of fxstatat64.c.
10271
3cc3ef96
RM
102722012-08-22 Roland McGrath <roland@hack.frob.com>
10273
f04e2132
RM
10274 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10275 * shadow/getspent_r.c: Likewise.
10276 * shadow/getspnam.c: Likewise.
10277 * shadow/getspnam_r.c: Likewise.
10278 * gshadow/getsgent.c: Likewise.
10279 * gshadow/getsgent_r.c: Likewise.
10280 * gshadow/getsgnam.c: Likewise.
10281 * gshadow/getsgnam_r.c: Likewise.
10282 * inet/getnetbyad.c: Likewise.
10283 * inet/getnetbyad_r.c: Likewise.
10284 * inet/getnetbynm.c: Likewise.
10285 * inet/getnetbynm_r.c: Likewise.
10286 * inet/getnetent.c: Likewise.
10287 * inet/getnetent_r.c: Likewise.
10288 * inet/getproto.c: Likewise.
10289 * inet/getproto_r.c: Likewise.
10290 * inet/getprtent.c: Likewise.
10291 * inet/getprtent_r.c: Likewise.
10292 * inet/getprtname.c: Likewise.
10293 * inet/getprtname_r.c: Likewise.
10294 * inet/getrpcbyname.c: Likewise.
10295 * inet/getrpcbyname_r.c: Likewise.
10296 * inet/getrpcbynumber.c: Likewise.
10297 * inet/getrpcbynumber_r.c: Likewise.
10298 * inet/getrpcent.c: Likewise.
10299 * inet/getrpcent_r.c: Likewise.
10300 * inet/getaliasent.c: Likewise.
10301 * inet/getaliasent_r.c: Likewise.
10302 * inet/getaliasname.c: Likewise.
10303 * inet/getaliasname_r.c: Likewise.
10304 * nscd/getgrgid_r.c: Likewise.
10305 * nscd/getgrnam_r.c: Likewise.
10306 * nscd/gethstbyad_r.c: Likewise.
10307 * nscd/gethstbynm3_r.c: Likewise.
10308 * nscd/getpwnam_r.c: Likewise.
10309 * nscd/getpwuid_r.c: Likewise.
10310 * nscd/getsrvbynm_r.c: Likewise.
10311 * nscd/getsrvbypt_r.c: Likewise.
10312 * nscd/gai.c: Likewise.
10313
c53d909c
RM
10314 * configure.in (build_nscd): New substituted variable, set
10315 by --disable-build-nscd and defaults to $use_nscd.
10316 * configure: Regenerated.
10317 * config.make.in (build-nscd): New substituted variable.
10318 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10319 Change conditional to require [$(build-nscd) = yes] as well.
10320 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10321
3cc3ef96
RM
10322 [BZ# 13696]
10323 * configure.in (use_nscd): New substituted variable, set by
10324 --disable-nscd. If enabled, define USE_NSCD.
10325 * configure: Regenerated.
10326 * config.h.in: Add USE_NSCD.
10327 * config.make.in (use-nscd): New substituted variable.
10328 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10329 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10330 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10331 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10332 (CFLAGS-getgrnam_r.c): Likewise.
10333 (CFLAGS-initgroups.c): Likewise.
10334 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10335 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10336 Variables removed.
10337 * inet/getnetgrent_r.c
10338 (nscd_setnetgrent): New function, broken out of ...
10339 (setnetgrent): ... here. Call it.
10340 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10341 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10342 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10343 * nscd/Makefile (routines, aux): Move definitions after include of
10344 Makeconfig. Conditionalize on [$(use-nscd) != no].
10345 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10346 Conditionalize on [USE_NSCD].
10347 (is_nscd, nscd_init_cb): Likewise.
10348 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10349 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10350 * nss/nss_db/db-init.c: Likewise.
10351 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10352 [USE_NSCD].
10353 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10354 (make_request): Use it.
10355 (cache_valid_p): New function.
10356 (__check_pf): Use it.
10357 * NEWS: Add item for --disable-nscd.
10358
07e51550
DL
103592012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10360
10361 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10362 to support sed >= 4.2.1-20-ga9bf076.
10363 * configure: Regenerated.
10364
35a5b08b
RM
103652012-08-22 Roland McGrath <roland@hack.frob.com>
10366
10367 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10368 Conditionalize whole body on [IREL].
10369
8479f23a
JL
103702012-08-22 Jeff Law <law@redhat.com>
10371
10372 [BZ #14505]
10373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10374 if the family is PF_UNSPEC.
10375
48da0b21
MF
103762012-08-22 Mike Frysinger <vapier@gentoo.org>
10377
10378 * Makerules (lib-version): Rename from V.
10379 (install-lib-nosubdir): Change V to lib-version.
10380
15d0da8c
WS
103812012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10382
10383 [BZ #14252]
10384 * powerpc32/power6/wcschr.c: New file.
10385 * powerpc32/power6/wcscpy.c: New file.
10386 * powerpc32/power6/wcsrchr.c: New file.
10387 * powerpc64/power6/wcschr.c: New file.
10388 * powerpc64/power6/wcscpy.c: New file.
10389 * powerpc64/power6/wcsrchr.c: New file.
10390
bcca0895
MK
103912012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10392
10393 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10394 (two_way_short_needle): Use it.
5a4aaa33
RM
10395 * string/strstr.c (AVAILABLE1_USES_J): Define.
10396 * string/strcasestr.c: Likewise.
99677e57
MK
10397
10398 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10399 array references.
10400 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10401
400726de
MK
10402 [BZ #11607]
10403 * NEWS: Add an entry.
10404 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10405 define their defaults.
10406 (two_way_short_needle): Detect end-of-string on-the-fly.
10407 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10408 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10409 * string/bug-strcasestr1.c: New test.
10410 * string/Makefile: Run it.
10411
20a71f2c
MK
104122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10413
10414 [BZ #11607]
10415 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10416 the first character.
10417
21ad0558
RM
104182012-08-21 Roland McGrath <roland@hack.frob.com>
10419
10420 * csu/elf-init.c (__libc_csu_irel): Function removed.
10421 * csu/libc-start.c (apply_irel): New function.
10422 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10423
0e1d9911
JM
104242012-08-21 Joseph Myers <joseph@codesourcery.com>
10425
10426 * sysdeps/unix/sysv/linux/kernel-features.h
10427 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10428 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10429 <kernel-features.h>.
10430 [__NR_fadvise64_64]: Make code unconditional.
10431 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10432 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10433 !__NR_fadvise64_64)]: Likewise.
10434 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10435 !__NR_fadvise64_64))]: Likewise.
10436 [__NR_fadvise64]: Make code unconditional.
10437 [!__NR_fadvise64]: Remove conditional code.
10438 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10439 <kernel-features.h>.
10440 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10441 unconditional.
10442 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10443 conditional code.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10445 not include <kernel-features.h>.
10446 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10447 unconditional.
10448 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10449 conditional code.
10450 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10451 include <kernel-features.h>.
10452 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10453 unconditional.
10454 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10455 conditional code.
10456
14a50c9d
WS
104572012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10458
10459 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10460 slight instruction rearrangements per scrollpipe analysis.
10461 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10462
c0f4faf0
RM
104632012-08-20 Roland McGrath <roland@hack.frob.com>
10464
696da859
RM
10465 * manual/syslog.texi (syslog; vsyslog, closelog):
10466 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10467 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10468
c0f4faf0
RM
10469 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10470 DSOCAPS to match condition on defining it.
10471
348363b2
JM
104722012-08-20 Joseph Myers <joseph@codesourcery.com>
10473
a35cbf28
JM
10474 * sysdeps/unix/sysv/linux/kernel-features.h
10475 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10477 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10478 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10480 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10481 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10483 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10484 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10485
445f7ecd
JM
10486 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10487 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10488
348363b2
JM
10489 * sysdeps/unix/sysv/linux/kernel-features.h
10490 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10491 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10492 unconditional.
10493 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10494 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10495 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10496 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10497 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10498 Make code unconditional.
10499 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10500 (__mmap64) [!__NR_mmap2]: Likewise.
10501 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10502 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10503 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10504 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10505 [__NR_mmap2]: Make code unconditional.
10506 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10507 (__mmap64) [!__NR_mmap2]: Likewise.
10508
bc5bc0e5
AK
105092012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10510
10511 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10512
88d506de
AJ
105132012-08-18 Andreas Jaeger <aj@suse.de>
10514
10515 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10516
493387d2
MF
105172012-08-18 Mike Frysinger <vapier@gentoo.org>
10518
10519 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10520 * include/unistd.h (__have_sock_cloexec): Likewise.
10521 (__have_pipe2): Likewise.
10522 (__have_dup3): Likewise.
10523
a277af22
MF
105242012-08-18 Mike Frysinger <vapier@gentoo.org>
10525
10526 [BZ #9685]
10527 * include/unistd.h (__have_pipe2): Change define into an extern int.
10528 (__have_dup3): Likewise.
10529 * socket/have_sock_cloexec.c: Include fcntl.h.
10530 (__have_pipe2): New variable.
10531 (__have_dup3): Likewise.
10532
fdab8fd3
MF
105332012-08-17 Mike Frysinger <vapier@gentoo.org>
10534
10535 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10536
31035e80
MP
105372012-08-17 Marek Polacek <polacek@redhat.com>
10538
10539 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10540 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10541
3bd9e993
RM
105422012-08-17 Roland McGrath <roland@hack.frob.com>
10543
c91c505f
RM
10544 * configure.in: Add AC_SUBST for sysheaders.
10545 * configure: Regenerated.
10546 * config.make.in (sysheaders): New substituted variable.
10547
7c6f9d53
RM
10548 * sysdeps/unix/mkfifo.c: Moved ...
10549 * sysdeps/posix/mkfifo.c: ... here.
10550 * sysdeps/unix/mkfifoat.c: Moved ...
10551 * sysdeps/posix/mkfifoat.c: ... here.
10552
10553 * sysdeps/unix/utime.c: Moved ...
10554 * sysdeps/posix/utime.c: ... here.
10555
10556 * sysdeps/unix/time.c: Moved ...
10557 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10558 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10559 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10560
10561 * sysdeps/unix/nice.c: Moved ...
10562 * sysdeps/posix/nice.c: ... here.
10563
10564 * sysdeps/unix/alarm.c: Moved ...
10565 * sysdeps/posix/alarm.c: ... here.
10566
3bd9e993
RM
10567 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10568
d1f09384
JL
105692012-08-17 Jeff Law <law@redhat.com>
10570
10571 * intl/Makefile (codeset_mo): New variable.
10572 ($(codeset_mo)): New target.
10573 (tst-codeset.out): Depend on that. Remove explicit rule.
10574 (tst-gettext3.out, tst-gettext5.out): Likewise.
10575 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10576 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10577 * intl/tst-codeset.sh: Remove.
10578 * intl/tst-gettext3.sh: Likewise.
10579 * intl/tst-gettext5.sh: Likewise.
10580
2ae1ae5c
RM
105812012-08-17 Roland McGrath <roland@hack.frob.com>
10582
c31fdb83
RM
10583 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10584 * sysdeps/unix/syscalls.list: ... here.
10585
a0844057
RM
10586 * sysdeps/posix/getaddrinfo.c
10587 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10588 (gaiconf_init, gaiconf_reload): Use them.
10589 [!_STATBUF_ST_NSEC]
10590 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10591 Define using time_t rather than struct timespec.
10592
750c1f2a
RM
10593 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10594 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10595 Macros removed.
10596 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10597 [!NO_THREADS].
10598 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10599 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10600 Likewise.
10601
2ae1ae5c
RM
10602 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10603 __libc_cleanup_push argument.
10604
e66a42f5
RM
10605 * bits/param.h: New file.
10606 * misc/sys/param.h: New file.
10607 * include/sys/param.h: New file.
10608 * misc/Makefile (headers): Add bits/param.h.
10609 * sysdeps/generic/sys/param.h: File removed.
10610 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10611 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10612 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10613 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10614
b7c08a66
RM
10615 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10616 last change.
10617
b2e1c562
RM
10618 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10619 [_IO_MTSAFE_IO].
10620 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10621 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10622 New macros.
10623
c75ccd4c
RM
10624 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10625 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10626 rather than -D_IO_MTSAFE_IO conditionally.
10627 * stdio-common/Makefile (CPPFLAGS): Likewise.
10628 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10629 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10630 Use $(libio-mtsafe).
10631 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10632 of -D_IO_MTSAFE_IO.
10633 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10634 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10635 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10636 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10637 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10638 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10639 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10640 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10641 (CFLAGS-fread_u_chk.c): Likewise.
10642 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10643 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10644 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10645 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10646 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10647 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10648 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10649 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10650 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10651
10652 * libio/Makefile: Test [$(libc-reentrant) = yes]
10653 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10654
10655 * Makeconfig
10656 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10657 * sysdeps/pthread/configure: File removed.
10658 * sysdeps/pthread/Makeconfig: New file.
10659 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10660 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10661
d9195db8
GB
106622012-08-16 Gary Benson <gbenson@redhat.com>
10663
10664 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10665 unmapping the first object in a namespace.
10666
86466cd9
RM
106672012-08-16 Roland McGrath <roland@hack.frob.com>
10668
10669 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10670 (__internal_setnetgrent): ... this. Add internal_function to
10671 definition. Add libc_hidden_def.
10672 (setnetgrent): Update caller.
10673 (internal_endnetgrent): Renamed to ...
10674 (__internal_endnetgrent): ... this. Add internal_function to
10675 definition. Add libc_hidden_def.
10676 (endnetgrent): Update caller.
10677 (internal_getnetgrent_r): Renamed to ...
10678 (__internal_getnetgrent_r): ... this. Add internal_function to
10679 definition. Add libc_hidden_def.
10680 (__getnetgrent_r): Update caller.
10681 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10682
c3c8283c
JM
106832012-08-16 Joseph Myers <joseph@codesourcery.com>
10684
10685 * stdlib/longlong.h: Update from GCC.
10686
db1ee0a8
RM
106872012-08-16 Roland McGrath <roland@hack.frob.com>
10688
10689 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10690 on _QL, which is set by umul_ppmm but never used.
10691 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10692 variables, which are set by GMP macros but never used.
10693 * stdio-common/_itowa.c (_itowa): Likewise.
10694 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10695 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10696
30f69637
CD
106972012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10698
10699 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10700 struct La_sh_regs is not constant.
10701 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10702 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10703 and struct La_sparc64_regs are not constant.
10704
93a78ac4
JM
107052012-08-16 Joseph Myers <joseph@codesourcery.com>
10706
10707 * sysdeps/unix/sysv/linux/kernel-features.h
10708 (__ASSUME_POSIX_TIMERS): Remove.
10709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10710 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10711 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10712 Make code unconditional.
10713 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10714 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10715 Make code unconditional.
10716 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10717 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10718 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10719 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10720 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10721 Make code unconditional.
10722 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10723 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10724 (__libc_missing_posix_timers): Remove.
10725
dd924cd7
RM
107262012-08-15 Roland McGrath <roland@hack.frob.com>
10727
4b4f2771
RM
10728 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10729 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10730
601c888b
RM
10731 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10732
176790a7
RM
10733 * elf/dl-sym.c: Include <stdlib.h>.
10734
329bc018
RM
10735 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10736 constants, which avoids warnings in 32-bit builds.
10737
e04e272d
RM
10738 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10739 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10740
952bf94a
RM
10741 * misc/lseek.c: File moved to ...
10742 * io/lseek.c: ... here.
10743
7c99b50a
RM
10744 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10745
dd924cd7
RM
10746 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10747 shifting LEN more than 31 bits at once.
10748
b3f479a8
LD
107492012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10750
10751 [BZ #14195]
8c4ae0d4
RM
10752 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10753 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10754 * string/test-strncasecmp.c (check1): Renamed to...
10755 (bz12205): ...this.
10756 (bz14195): Add new testcase for two empty input strings and N > 0.
10757 (test_main): Call new testcase, adapt for renamed function.
10758
9c55864e
AJ
107592012-08-15 Andreas Jaeger <aj@suse.de>
10760
10761 [BZ #14090]
10762 * crypt/md5test2.c: New test, based on test supplied by Serge
10763 Belyshev <belyshev@depni.sinp.msu.ru>.
10764 * crypt/Makefile (xtests): Add md5test-giant..
10765 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10766
02dcb6c5
PE
107672012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10768
10769 [BZ #14090]
10770 * crypt/md5.c (md5_process_block): Don't assume the buffer
10771 length is less than 2**32.
10772 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10773 length is less than 2**64.
10774
a3f95dcc
RM
107752012-08-15 Roland McGrath <roland@hack.frob.com>
10776
be75d758
RM
10777 * string/str-two-way.h: Include <sys/param.h>.
10778 (MAX): Macro removed.
10779
7312ca90
RM
10780 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10781 Move #define and #undef of memmove to just before and after
10782 including <string.h>.
10783
9a0a5486
RM
10784 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10785 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10786 and after including <string.h>. Move declarations of
10787 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10788 to before #include "string/memmove.c".
10789
67cc348d
RM
10790 * include/dirent.h: Declare __getdirentries.
10791
a3f95dcc
RM
10792 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10793 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10794
ca98e171
MF
107952012-08-14 Mike Frysinger <vapier@gentoo.org>
10796
10797 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10798 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10799 * sysdeps/i386/configure: Regenerated.
10800 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10801 STABS_CURRENT_FILE, and STABS_FUN.
10802 (END): Remove call to STABS_FUN_END.
10803 (STABS_CURRENT_FILE1): Delete.
10804 (STABS_CURRENT_FILE): Likewise.
10805 (STABS_FUN): Likewise.
10806 (STABS_FUN_END): Likewise.
10807 (STABS_FUN2): Likewise.
10808 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10809 * sysdeps/x86_64/configure: Regenerated.
10810
5908bf46
RM
108112012-08-14 Roland McGrath <roland@hack.frob.com>
10812
10813 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10814 * elf/dl-lookup.c: Likewise.
5908bf46 10815
f2c05b9e
JM
108162012-08-14 Joseph Myers <joseph@codesourcery.com>
10817
10818 * sysdeps/unix/sysv/linux/kernel-features.h
10819 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10820 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10821 unconditionally.
10822 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10823 unconditionally.
10824 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10825 condition on __ASSUME_CLONE_THREAD_FLAGS.
10826
e11f5155
AJ
108272012-08-14 Andreas Jaeger <aj@suse.de>
10828
10829 * sysdeps/i386/fpu/libm-test-ulps: Update.
10830
51a9ba86
MK
108312012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10832
2fdd4f78
AJ
10833 * include/atomic.h (atomic_exchange_and_add): Split into ...
10834 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10835 New atomic macros.
51a9ba86 10836
ba6cba9e
MT
108372012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10838
10839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10840
42443a47
JL
108412012-08-13 Jeff Law <law@redhat.com>
10842
10843 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10844 null byte in the output string.
10845
121dce05
JM
108462012-08-10 Joseph Myers <joseph@codesourcery.com>
10847
10848 * sysdeps/unix/sysv/linux/kernel-features.h
10849 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10850 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10851 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10853 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10854 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10855 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10856
bf51f568
JL
108572012-08-09 Jeff Law <law@redhat.com>
10858
10859 [BZ #13939]
10860 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10861 When avoid_arena is set, don't retry in the that arena. Pick the
10862 next one, whatever it might be.
10863 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10864 (arena_lock): Pass in new parameter to arena_get2.
10865 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10866 arena_get2.
10867 (__libc_malloc): Unify retrying after main arena failure with
10868 __libc_memalign version.
10869 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10870
f85fa270
L
108712012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10872
10873 [BZ #14166]
10874 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10875 to __redirect_strstr.
10876 (__strstr_sse42): Use typeof __redirect_strstr.
10877 (__strstr_ia32): Likewise.
10878 (__libc_strstr): New prototype.
10879 (strstr): Renamed to ...
10880 (__libc_strstr): This.
10881 (strstr): New strong alias of __libc_strstr.
10882 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10883 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10884 __redirect_time.
10885 Include <time.h>.
10886 (__libc_time): New prototype.
10887 (time_ifunc): Replace time with __libc_time.
10888 (time): New strong alias and hidden definition of __libc_time.
10889 (__GI_time): Remove strong alias.
10890 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10891 Include <stddef.h>.
10892 (memmove): Redefined to __redirect_memmove.
10893 (__memmove_sse2): Use typeof __redirect_memmove.
10894 (__memmove_ssse3): Likewise.
10895 (__memmove_ssse3_back): Likewise.
10896 (__libc_memmove): New prototype.
10897 (memmove): Renamed to ...
10898 (__libc_memmove): This.
10899 (memmove): New strong alias of __libc_memmove.
10900
33b4a91e
MS
109012012-08-08 Mark Salter <msalter@redhat.com>
10902
10903 * elf/elf.h
10904 (R_MN10300_TLS_GD): Define.
10905 (R_MN10300_TLS_LD): Likewise.
10906 (R_MN10300_TLS_LDO): Likewise.
10907 (R_MN10300_TLS_GOTIE): Likewise.
10908 (R_MN10300_TLS_IE): Likewise.
10909 (R_MN10300_TLS_LE): Likewise.
10910 (R_MN10300_TLS_DTPMOD): Likewise.
10911 (R_MN10300_TLS_DTPOFF): Likewise.
10912 (R_MN10300_TLS_TPOFF): Likewise.
10913 (R_MN10300_SYM_DIFF): Likewise.
10914 (R_MN10300_ALIGN): Likewise.
10915 (R_MN10300_NUM): Update.
10916
b36137f1
JM
109172012-08-08 Joseph Myers <joseph@codesourcery.com>
10918
10919 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10920 Remove.
10921
cdd915fd
RM
109222012-08-08 Roland McGrath <roland@hack.frob.com>
10923
a2433aac
RM
10924 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10925
cdd915fd
RM
10926 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10927 sysdeps/unix -> sysdeps/posix move.
10928 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10929
bf9b740a
AM
109302012-08-07 Allan McRae <allan@archlinux.org>
10931
10932 [BZ #14303]
10933 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10934 (SUNOS_CPP): Likewise.
10935 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10936 not found.
10937 (open_input): Call CPP using execvp.
10938
93df14ee
JM
109392012-08-07 Joseph Myers <joseph@codesourcery.com>
10940
10941 * sysdeps/unix/sysv/linux/kernel-features.h
10942 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10943 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10944 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10945 (__ASSUME_WAITID_SYSCALL): Likewise.
10946 * sysdeps/unix/sysv/linux/dl-execstack.c
10947 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10948 code unconditional.
10949 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10950 conditional code.
10951 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10952 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10953 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10954 code.
10955 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10956 unconditional.
10957 [__ASSUME_WAITID_SYSCALL]: Likewise.
10958 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10959
d34689de
RM
109602012-08-07 Roland McGrath <roland@hack.frob.com>
10961
a281decc
RM
10962 * sysdeps/unix/closedir.c: Renamed to ...
10963 * sysdeps/posix/closedir.c: ... here.
10964 * sysdeps/unix/dirfd.c: Renamed to ...
10965 * sysdeps/posix/dirfd.c: ... here.
10966 * sysdeps/unix/dirstream.h: Renamed to ...
10967 * sysdeps/posix/dirstream.h: ... here.
10968 * sysdeps/unix/fdopendir.c: Renamed to ...
10969 * sysdeps/posix/fdopendir.c: ... here.
10970 * sysdeps/unix/opendir.c: Renamed to ...
10971 * sysdeps/posix/opendir.c: ... here.
10972 * sysdeps/unix/readdir.c: Renamed to ...
10973 * sysdeps/posix/readdir.c: ... here.
10974 * sysdeps/unix/readdir_r.c: Renamed to ...
10975 * sysdeps/posix/readdir_r.c: ... here.
10976 * sysdeps/unix/rewinddir.c: Renamed to ...
10977 * sysdeps/posix/rewinddir.c: ... here.
10978 * sysdeps/unix/seekdir.c: Renamed to ...
10979 * sysdeps/posix/seekdir.c: ... here.
10980 * sysdeps/unix/telldir.c: Renamed to ...
10981 * sysdeps/posix/telldir.c: ... here.
10982 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10983 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10984 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10985 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10986
22895b47
RM
10987 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10988 * bits/fcntl.h: ... here.
10989
707a53b6
RM
10990 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10991 not 0.
10992 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10993 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10994 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10995 (struct flock): Move l_start, l_len to the beginning.
10996 Use __pid_t for l_pid.
10997 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10998 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10999 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
11000 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
11001 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
11002 [__USE_LARGEFILE64] (struct flock64): New type.
11003 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
11004
f0bd3e25
RM
11005 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
11006 * bits/dirent.h: ... here.
11007
d34689de
RM
11008 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
11009 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
11010
6dad2c06
JM
110112012-08-07 Joseph Myers <joseph@codesourcery.com>
11012
11013 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11014 Change from 2.6.0 to 2.6.16.
11015 * sysdeps/unix/sysv/linux/configure: Regenerated.
11016 * sysdeps/unix/sysv/linux/kernel-features.h
11017 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
11018 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
11019 version.
11020 (__ASSUME_UTIMES): Likewise.
11021 (__ASSUME_CLONE_STOPPED): Remove.
11022 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
11023 architectures, not kernel version.
11024 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
11025 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11026 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11027 (__ASSUME_WAITID_SYSCALL): Likewise.
11028 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11029 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11030 * README: State 2.6.16 as minimum Linux kernel version. Do not
11031 refer to older versions.
11032
03af9520
RM
110332012-08-06 Roland McGrath <roland@hack.frob.com>
11034
8e49df1d
RM
11035 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11036 Define alphasort64 as an alias.
11037 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11038 Define versionsort64 as an alias.
11039 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11040 Define scandir64 as an alias.
11041 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11042 Define scandirat64 as an alias.
11043 * dirent/alphasort64.c (alphasort64):
11044 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11045 * dirent/versionsort64.c: Likewise.
11046 * dirent/scandir64.c: Likewise.
11047 * dirent/scandirat64.c: Likewise.
11048 * sysdeps/wordsize-64/alphasort.c: File removed.
11049 * sysdeps/wordsize-64/alphasort64.c: File removed.
11050 * sysdeps/wordsize-64/scandir.c: File removed.
11051 * sysdeps/wordsize-64/scandir64.c: File removed.
11052 * sysdeps/wordsize-64/scandirat.c: File removed.
11053 * sysdeps/wordsize-64/scandirat64.c: File removed.
11054 * sysdeps/wordsize-64/versionsort.c: File removed.
11055 * sysdeps/wordsize-64/versionsort64.c: File removed.
11056 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11057 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11059 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11060 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11061 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11062 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11063 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11064
11065 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11067 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11069 [defined __arch64__ || defined __sparcv9]
11070 (__INO_T_MATCHES_INO64_T): New macro.
11071 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11072 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11073 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11074 * sysdeps/unix/sysv/linux/bits/dirent.h
11075 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11076 (_DIRENT_MATCHES_DIRENT64): New macro.
11077
03af9520
RM
11078 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11079 Define lockf64 as an alias.
11080 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11081 Define fseeko64 as an alias.
11082 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11083 Define ftello64 as an alias.
11084 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11085 Define _IO_fgetpos64 and fgetpos64 as aliases.
11086 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11087 Define _IO_fsetpos64 and fsetpos64 as aliases.
11088 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11089 Conditionalize body on this.
11090 * libio/fseeko64.c: Likewise.
11091 * libio/ftello64.c: Likewise.
11092 * libio/iofgetpos64.c: Likewise.
11093 * libio/iofsetpos64.c: Likewise.
11094 * sysdeps/wordsize-64/lockf.c: File removed.
11095 * sysdeps/wordsize-64/lockf64.c: File removed.
11096 * sysdeps/wordsize-64/fseeko.c: File removed.
11097 * sysdeps/wordsize-64/fseeko64.c: File removed.
11098 * sysdeps/wordsize-64/ftello.c: File removed.
11099 * sysdeps/wordsize-64/ftello64.c: File removed.
11100 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11101 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11102 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11103 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11104 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11105 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11106 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11107 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11108 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11109 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11110 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11111 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11112 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11113 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11114
11115 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11117 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11119 [defined __arch64__ || defined __sparcv9]
11120 (__OFF_T_MATCHES_OFF64_T): New macro.
11121 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11122 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11124 (__OFF_T_MATCHES_OFF64_T): New macro.
11125
c5757acd
L
111262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11127
11128 * stdlib/secure-getenv.c (__secure_getenv): Replace
11129 GLIBC_2_16 with GLIBC_2_17.
11130
3a31811e
L
111312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11132
11133 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11134 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11135
faa2bccb
DM
111362012-08-03 David S. Miller <davem@davemloft.net>
11137
11138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11139
85fe1997
JM
111402012-08-03 Joseph Myers <joseph@codesourcery.com>
11141
11142 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11143 Remove.
11144 (__ASSUME_CORRECT_SI_PID): Likewise.
11145 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11146 (__ASSUME_TMPFS_NAME): Likewise.
11147 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11148 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11149 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11150 (HAVE_AUX_SECURE): Make definition unconditional.
11151 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11152 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11153
4f75b7a0
RM
111542012-08-03 Roland McGrath <roland@hack.frob.com>
11155
11156 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11157 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11158 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11159 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11160 __eloop_threshold instead of SYMLOOP_MAX.
11161
11162 * sysdeps/generic/eloop-threshold.h: New file.
11163 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11164 of MAXSYMLINKS.
11165 * elf/chroot_canon.c (chroot_canon): Likewise.
11166
7aab07e4
JM
111672012-08-03 Joseph Myers <joseph@codesourcery.com>
11168
11169 [BZ #13717]
11170 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11171 Change to 2.6.0 everywhere.
11172 * sysdeps/unix/sysv/linux/configure: Regenerated.
11173 * sysdeps/unix/sysv/linux/kernel-features.h
11174 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11175 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11176 kernel versions.
11177 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11178 (__ASSUME_FUTEX_REQUEUE): Remove.
11179 (__ASSUME_STATFS64): Define unconditionally.
11180 (__ASSUME_AT_SECURE): Likewise.
11181 (__ASSUME_CORRECT_SI_PID): Likewise.
11182 (__ASSUME_TGKILL): Define without depending on kernel version for
11183 i386.
11184 (__ASSUME_UTIMES): Likewise.
11185 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11186 kernel version.
11187 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11188 (__ASSUME_TMPFS_NAME): Likewise.
11189 * README: Update reference to Linux kernel versions.
11190
b67e9372
MP
111912012-08-02 Marek Polacek <polacek@redhat.com>
11192
1f529f7d 11193 [BZ# 14150]
b67e9372
MP
11194 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11195 libc_cv_asm_type_prefix with %.
11196 * configure: Regenerated.
d2441631
RM
11197 * include/libc-symbols.h: Remove comment about
11198 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
11199 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11200 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11201 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11202 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11203 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11204 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11205 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11206 * elf/tst-unique2mod1.c: Likewise.
11207 * elf/tst-unique1mod2.c: Likewise.
11208 * elf/tst-unique1mod1.c: Likewise.
11209 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11210 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11211 Replace ASM_TYPE_DIRECTIVE with .type.
11212 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11213 * sysdeps/i386/sysdep.h: Likewise.
11214 * sysdeps/x86_64/sysdep.h: Likewise.
11215 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11217 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11218 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11219 * sysdeps/powerpc/powerpc32/sysdep.h:
11220 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11221 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11222 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11223 * sysdeps/i386/fpu/e_powf.S: Likewise.
11224 * sysdeps/i386/fpu/e_expl.S: Likewise.
11225 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11226 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11227 * sysdeps/i386/fpu/e_pow.S: Likewise.
11228 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11229 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11230 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11231 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11232 * sysdeps/i386/fpu/e_log2.S: Likewise.
11233 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11234 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11235 * sysdeps/i386/fpu/e_powl.S: Likewise.
11236 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11237 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11238 * sysdeps/i386/fpu/e_logl.S: Likewise.
11239 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11240 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11241 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11242 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11243 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11244 * sysdeps/i386/fpu/e_log.S: Likewise.
11245 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11246 * sysdeps/i386/fpu/e_logf.S: Likewise.
11247 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11248 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11249 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11250 * sysdeps/i386/fpu/e_log10.S: Likewise.
11251 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11252 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11253 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11254 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11255 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11256 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11257 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11258 * sysdeps/i386/i686/strtok.S: Likewise.
11259 * sysdeps/i386/i386-mcount.S: Likewise.
11260 * sysdeps/i386/strtok.S: Likewise.
11261 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11262 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11264 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11265 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11266 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11267 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11268 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11269 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11270 * sysdeps/x86_64/_mcount.S: Likewise.
11271 * sysdeps/x86_64/strtok.S: Likewise.
11272 * sysdeps/sh/_mcount.S: Likewise.
11273
2747bf9a
RM
112742012-08-01 Roland McGrath <roland@hack.frob.com>
11275
11276 * libio/iofopen.c: Include <fcntl.h>.
11277 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11278 (_IO_fopen64, fopen64): Define as aliases.
11279 * libio/iofopen64.c: Include <fcntl.h>.
11280 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11281 Conditionalize body on this.
11282 * sysdeps/wordsize-64/iofopen.c: File removed.
11283 * sysdeps/wordsize-64/iofopen64.c: File removed.
11284
3fb791b8
MP
112852012-08-01 Marek Polacek <polacek@redhat.com>
11286
11287 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11288 Use dlfcn directly instead of a variable.
11289 (binfmt-subdir): Do not define.
11290 (dlfcn): Likewise.
11291
a9f1039f
JM
112922012-08-01 Joseph Myers <joseph@codesourcery.com>
11293
23bddc06
JM
11294 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11295 Remove all definitions.
11296 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11297 <kernel-features.h>.
11298 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11299 (miss_F_GETOWN_EX): Remove all definitions.
11300 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11301 macro definition.
11302 [!__ASSUME_FCNTL64]: Remove conditional code.
11303 [__ASSUME_FCNTL64]: Make code unconditional.
11304 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11305 <kernel-features.h>.
11306 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11307 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11308 (lockf64) [__NR_fcntl64]: Make code unconditional.
11309 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11310
a9f1039f
JM
11311 * sysdeps/unix/sysv/linux/kernel-features.h
11312 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11313 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11314 Make code unconditional.
11315 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11316 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11318 [__NR_vfork]: Make code unconditional.
11319 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11320 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11322 [__NR_vfork]: Make code unconditional.
11323 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11324 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11325
09c0ee5f
RM
113262012-08-01 Roland McGrath <roland@hack.frob.com>
11327
48aec5b9
RM
11328 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11329 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11330
cd97c966
RM
11331 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11332 Define mkstemp64 as an alias.
3f55550c
RM
11333 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11334 Define mkstemps64 as an alias.
cd97c966
RM
11335 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11336 Define mkostemp64 as an alias.
b8625cfc
RM
11337 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11338 Define mkostemps64 as an alias.
cd97c966
RM
11339 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11340 Conditionalize body on this.
11341 * misc/mkostemp64.c: Likewise.
b8625cfc 11342 * misc/mkostemps64.c: Likewise.
3f55550c 11343 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11344 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11345 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11346 * sysdeps/wordsize-64/mkostemp.c: File removed.
11347 * sysdeps/wordsize-64/mkstemp.c: File removed.
11348 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11349 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11350 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11351 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11352
09c0ee5f
RM
11353 [BZ #14138]
11354 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11355 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11356 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11357 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11358
11359 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11360 compat_symbol macros from <shlib-compat.h> rather than the underlying
11361 default_symbol_version and symbol_version macros, so that DEFAULT
11362 lines in shlib-versions are respected.
11363 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11364
7e66ee51
FW
113652012-08-01 Florian Weimer <fweimer@redhat.com>
11366
11367 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11368 Declare with warn_unused_result.
11369 (setgid, setregid, setegid, setresgid): Likewise.
11370 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11371 Likewise.
11372 * WUR-REPORT: Remove set*id functions.
11373
d2a54255
PT
113742012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11375
11376 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11377
7ecdb005
RM
113782012-07-31 Roland McGrath <roland@hack.frob.com>
11379
b4180a5e 11380 [BZ #10191]
789bd351
RM
11381 * include/sys/socket.h (__libc_accept, __libc_accept4):
11382 Add attribute_hidden.
11383 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11384
40ce302d
RM
11385 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11386 use of PTR_MANGLE.
11387 * inet/getnetgrent_r.c (setup): Likewise.
11388
7ecdb005
RM
11389 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11390
e2eabb2c
DM
113912012-07-31 David S. Miller <davem@davemloft.net>
11392
11393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11394
d0419dbf
JM
113952012-07-31 Joseph Myers <joseph@codesourcery.com>
11396
11397 [BZ #13629]
11398 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11399 value between 1.0 and 2.0 and smaller part has absolute value less
11400 than 1.0.
11401 * math/s_clog10.c (__clog10): Likewise.
11402 * math/s_clog10f.c (__clog10f): Likewise.
11403 * math/s_clog10l.c (__clog10l): Likewise.
11404 * math/s_clogf.c (__clogf): Likewise.
11405 * math/s_clogl.c (__clogl): Likewise.
11406 * math/libm-test.inc (clog_test): Add more tests.
11407 (clog10_test): Likewise.
11408 * sysdeps/i386/fpu/libm-test-ulps: Update.
11409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11410
2bc13872
FW
114112012-07-31 Florian Weimer <fweimer@redhat.com>
11412
11413 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11414 Exit with zero in case no suitable GID is found, and write a
11415 message to standard error.
11416
bea9b193
RM
114172012-07-30 Roland McGrath <roland@hack.frob.com>
11418
11419 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11420 rather than to 1.
11421 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11422 (MAXPATHLEN): Removed.
11423 (NOGROUP, NODEV): New macros.
11424 (setbit, clrbit, isset, isclr): New macros.
11425 (howmany, roundup, powerof2): New macros.
11426 (DEV_BSIZE): New macro.
11427
11428 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11429 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11430
11431 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11432 definition on [!__NO_LONG_DOUBLE_MATH].
11433
11434 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11435 PTR_MANGLE and PTR_DEMANGLE.
11436
11437 * socket/accept4.c (accept4): Rename to __libc_accept4.
11438 Define accept4 as a weak alias.
11439
11440 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11441 on [_DIRENT_HAVE_D_TYPE].
11442 * io/ftw.c (ftw_dir): Likewise.
11443
11444 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11445
11446 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11447
11448 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11449 Use the BSD numbers rather than the arbitrary ones we had.
11450 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11451 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11452 (SIGXCPU, SIGXFSZ): New macros.
11453 (_NSIG): Now 32.
11454
11455 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11456 initializer on [_LIBC_REENTRANT].
11457
11458 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11459 definitions inside [_POSIX_MAPPED_FILES].
11460
11461 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11462
11463 * dirent/opendir.c: Include <fcntl.h>.
11464
11465 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11466 (__libc_getspecific): Likewise.
11467 (__libc_key_create): Likewise.
11468
11469 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11470 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11471 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11472 (tmpfile64): Define as alias.
11473 * sysdeps/wordsize-64/tmpfile.c: File removed.
11474 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11475 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11476 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11477
11478 * stdio-common/vfscanf.c: Include <stdbool.h>.
11479 * nss/makedb.c: Likewise.
11480 * stdio-common/_i18n_number.h: Likewise.
11481 * argp/argp-help.c: Likewise.
11482 * posix/wordexp.c: Likewise.
11483 * sysdeps/posix/spawni.c: Likewise.
11484 * nss/nss_files/files-initgroups.c: Likewise.
11485 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11486 * nss/nss_files/files-initgroups.c: Likewise.
11487 * nss/nss_db/db-netgrp.c: Likewise.
11488 * nss/nss_db/db-initgroups.c: Likewise.
11489 * io/fchmodat.c: Include <sys/stat.h>.
11490
11491 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11492 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11493
11494 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11495 [HAVE_MMAP].
11496
11497 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11498 Add multiple inclusion protection.
11499
e5abc686
DM
115002012-07-27 David S. Miller <davem@davemloft.net>
11501
11502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11503
815e6fa3
GB
115042012-07-27 Gary Benson <gbenson@redhat.com>
11505
11506 [BZ #14298]
11507 * elf/rtld.c: Include <stap-probe.h>.
11508 (dl_main): Added static probes "init_start" and "init_complete".
11509 * elf/dl-load.c: Include <stap-probe.h>.
11510 (lose): Take new parameter "nsid".
11511 Added static probe "map_failed".
11512 (_dl_map_object_from_fd): Pass namespace id to lose.
11513 Added static probe "map_start".
11514 (open_verify): Pass namespace id to lose.
11515 * elf/dl-open.c: Include <stap-probe.h>.
11516 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11517 and "reloc_complete".
11518 * elf/dl-close.c: Include <stap-probe.h>.
11519 (_dl_close_worker): Added static probes "unmap_start" and
11520 "unmap_complete".
11521 * elf/rtld-debugger-interface.txt: New file documenting the above.
11522
9f98c16c
RM
115232012-07-26 Roland McGrath <roland@hack.frob.com>
11524
11525 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11526 rather than a string variable.
11527 * sunrpc/rpc_main.c (h_output): Likewise.
11528 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11529
f3c22df3
PT
115302012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11531
11532 * inet/check_native.c: New file.
11533
3129cfc6
JM
115342012-07-26 Joseph Myers <joseph@codesourcery.com>
11535
da865e95
JM
11536 [BZ #13629]
11537 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11538 if larger part has absolute value 1.0.
11539 * math/s_clog10.c (__clog10): Likewise.
11540 * math/s_clog10f.c (__clog10f): Likewise.
11541 * math/s_clog10l.c (__clog10l): Likewise.
11542 * math/s_clogf.c (__clogf): Likewise.
11543 * math/s_clogl.c (__clogl): Likewise.
11544 * math/libm-test.inc (clog_test): Add more tests.
11545 (clog10_test): Likewise.
11546 * sysdeps/i386/fpu/libm-test-ulps: Update.
11547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11548
3129cfc6
JM
11549 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11550 (pltexit): Likewise.
11551 (La_regs): Likewise.
11552 (La_retval): Likewise.
11553 (int_retval): Likewise.
11554 Update #error for removed macros to refer only to definitions in
11555 tst-audit.h.
11556 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11557 macro.
11558 (pltexit): Likewise.
11559 (La_regs): Likewise.
11560 (La_retval): Likewise.
11561 (int_retval): Likewise.
11562 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11563 macro.
11564 (pltexit): Likewise.
11565 (La_regs): Likewise.
11566 (La_retval): Likewise.
11567 (int_retval): Likewise.
11568 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11569 macro.
11570 (pltexit): Likewise.
11571 (La_regs): Likewise.
11572 (La_retval): Likewise.
11573 (int_retval): Likewise.
11574 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11575 macro.
11576 (pltexit): Likewise.
11577 (La_regs): Likewise.
11578 (La_retval): Likewise.
11579 (int_retval): Likewise.
11580 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11581 macro.
11582 (pltexit): Likewise.
11583 (La_regs): Likewise.
11584 (La_retval): Likewise.
11585 (int_retval): Likewise.
11586 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11587 macro.
11588 (pltexit): Likewise.
11589 (La_regs): Likewise.
11590 (La_retval): Likewise.
11591 (int_retval): Likewise.
11592 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11593 macro definitions in tst-audit.h.
11594 * sysdeps/i386/tst-audit.h: New file.
11595 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11596 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11597 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11598 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11599 * sysdeps/sh/tst-audit.h: Likewise.
11600 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11601 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11602 * sysdeps/x86_64/tst-audit.h: Likewise.
11603
bfc07087
AJ
116042012-07-26 Andreas Jaeger <aj@suse.de>
11605
b1b2aaf8
AJ
11606 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11607 ptrace.
11608
11609 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11610 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11611 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11612 PTRACE_O_MASK.
11613 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11614 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11615 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11616
bfc07087
AJ
11617 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11618 value.
11619
11620 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11621 _sigsys.
11622 (si_call_addr, si_syscall, si_arch): Define new macro.
11623 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11624 _sigsys.
11625 (si_call_addr, si_syscall, si_arch): Define new marcro.
11626 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11627 _sigsys.
11628 (si_call_addr, si_syscall, si_arch): Define new macro.
11629 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11630 _sigsys.
11631 (si_call_addr, si_syscall, si_arch): Define new macro.
11632
89b4b02f
JM
116332012-07-25 Joseph Myers <joseph@codesourcery.com>
11634
11635 [BZ #13717]
11636 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11637 Change to 2.4.21 where previously 2.4.1.
11638 * sysdeps/unix/sysv/linux/configure: Regenerated.
11639 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11640 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11641 Linux kernel version.
11642 (__ASSUME_STD_AUXV): Remove.
11643 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11644 kernel version.
11645 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11646 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11647 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11648 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11649 (__ASSUME_NETLINK_SUPPORT): Likewise.
11650 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11651 (__no_netlink_support): Remove conditional definition.
11652 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11653 Remove.
11654 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11655 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11656 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11657 (if_nameindex_ioctl): Remove.
11658 (if_nameindex_netlink): Do not handle __no_netlink_support.
11659 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11660 code.
11661 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11662 Remove conditional code.
11663 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11664 code.
11665 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11666 unconditional.
11667 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11668 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11669 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11670 Remove.
11671 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11672 [!__ASSUME_STD_AUXV]: Remove conditional code.
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11674 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11675 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11677 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11678 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11679 code.
11680 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11682 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11683 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11684 conditional code.
11685 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11687 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11688 code.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11690 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11691 conditional code.
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11693 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11694 code unconditional.
11695 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11696 conditional code.
11697 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11698 unconditional.
11699 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11700 conditional code.
11701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11702 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11703 unconditional.
11704 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11705 conditional code.
11706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11707 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11708 code unconditional.
11709 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11710 conditional code.
11711 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11712 unconditional.
11713 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11714 conditional code.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11716 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11717 code unconditional.
11718 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11719 conditional code.
11720 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11721 unconditional.
11722 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11723 conditional code.
11724
842a39cd
AS
117252012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11726
11727 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11728 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11729 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11730 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11731 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11732 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11733 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11734 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11735 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11736 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11737 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11738 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11739 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11740 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11741 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11742 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11743 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11745 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11747 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11748 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11749 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11750
84b3fd84
FW
117512012-07-25 Florian Weimer <fweimer@redhat.com>
11752
11753 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11754 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11755 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11756 Introduce __libc_secure_getenv.
0c7936d5
FW
11757 * stdlib/Versions (2.17): Add secure_getenv
11758 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11759 * stdlib/secure-getenv.c: Rename __secure_getenv to
11760 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11761 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11762 * stdlib/tst-secure-getenv.c: New.
11763 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11764 * manual/startup.texi (Environment Access): Document
11765 secure_getenv.
84b3fd84
FW
11766 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11767 __libc_secure_getenv.
11768 * inet/ruserpass.c (ruserpass): Likewise.
11769 * malloc/mtrace.c (mtrace): Likewise.
11770 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11771 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11772 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11773 * sysdeps/posix/tempname.c: Likewise. Evaluate
11774 HAVE_SECURE_GETENV.
11775 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11776 __secure_getenv to __libc_secure_getenv.
84b3fd84 11777 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11779 Likewise.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11781 Likewise.
11782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11784 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11789
56e49b71
JM
117902012-07-25 Joseph Myers <joseph@codesourcery.com>
11791
11792 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11793 (struct La_i86_retval): Likewise.
11794 (struct La_x86_64_regs): Likewise.
11795 (struct La_x86_64_retval): Likewise.
11796 (struct La_x32_regs): Likewise.
11797 (struct La_x32_retval): Likewise.
11798 (struct La_ppc32_regs): Likewise.
11799 (struct La_ppc32_retval): Likewise.
11800 (struct La_ppc64_regs): Likewise.
11801 (struct La_ppc64_retval): Likewise.
11802 (struct La_sh_regs): Likewise.
11803 (struct La_sh_retval): Likewise.
11804 (struct La_s390_32_regs): Likewise.
11805 (struct La_s390_32_retval): Likewise.
11806 (struct La_s390_64_regs): Likewise.
11807 (struct La_s390_64_retval): Likewise.
11808 (struct La_sparc32_regs): Likewise.
11809 (struct La_sparc32_retval): Likewise.
11810 (struct La_sparc64_regs): Likewise.
11811 (struct La_sparc64_retval): Likewise.
11812 (struct audit_ifaces): Remove architecture-specific pltenter and
11813 pltexit members.
11814 * sysdeps/i386/ldsodefs.h: New file.
11815 * sysdeps/powerpc/ldsodefs.h: Likewise.
11816 * sysdeps/s390/ldsodefs.h: Likewise.
11817 * sysdeps/sh/ldsodefs.h: Likewise.
11818 * sysdeps/sparc/ldsodefs.h: Likewise.
11819 * sysdeps/x86_64/ldsodefs.h: Likewise.
11820
354691b7
MP
118212012-07-25 Marek Polacek <polacek@redhat.com>
11822
11823 [BZ #6808]
11824 * math/libm-test.inc (yn_test): Add another test.
11825 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11826 to ERANGE when the result is +-Inf.
11827 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11828 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11829 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11830 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11831
bf9e2071
JM
118322012-07-24 Joseph Myers <joseph@codesourcery.com>
11833
11834 * conform/data/time.h-data (NULL): Use macro-constant. Require
11835 equal to 0.
11836 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11837 clock_t.
11838 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11839
57633811
TS
118402012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11841
11842 * configure.in <sysdeps resolving>: Correct printing
11843 Implies_before.
11844 * configure: Regenerate.
11845
c23c33b0
TS
118462012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11847
11848 * math/w_ilogb.c: Include <limits.h>.
11849 * math/w_ilogbl.c: Likewise.
11850
b5982523
JM
118512012-07-20 Joseph Myers <joseph@codesourcery.com>
11852
11853 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11854 va_copy. Document allowing for unavailable va_copy only as
11855 pre-C99 compatibility.
11856 * manual/string.texi (Copying and Concatenation): Use va_copy
11857 instead of __va_copy in concat example.
11858
ac4ea442
PT
118592012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11860
11861 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11862 (__sendto): Use create_address_port. Initialize APORT and deallocate
11863 it if not null.
11864
f98eafbd
PT
11865 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11866 with O_NOLINK passed to __file_name_lookup.
11867
898c7aab
PT
11868 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11869 with O_NOLINK passed to __file_name_lookup.
11870
0ced335a
PT
11871 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11872 negative N or less than NGIDS.
11873
b3404dbd
PT
11874 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11875 type to string_t. Set ERANGE as errno and return it if NAME is not big
11876 enough. Use memcpy instead of strncpy.
11877
0f48659e
JM
118782012-07-20 Joseph Myers <joseph@codesourcery.com>
11879
11880 * elf/Makefile (check-data): Remove.
11881 (localplt.data): New vpath directive.
11882 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11883 instead of $(check-data).
11884 * scripts/data/localplt-generic.data: Move to ...
11885 * sysdeps/generic/localplt.data: ... here.
11886 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11887 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11888 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11890 ... here.
11891 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11893 ... here.
11894 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11896 ... here.
11897 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11899 ... here.
11900 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11902 ... here.
11903 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11905 ... here.
11906
d37cbdaa
AZ
119072012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11908
11909 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11910 PPC32 and PPC64 files.
11911 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11912 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11913
46f85fc2
AK
119142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11915
11916 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11917 __makecontext_ret to ...
11918 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11919 ... here and call exit if uc_link is NULL. New file.
11920 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11921 __makecontext_ret.S.
11922 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11923 __makecontext_ret to ...
11924 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11925 ... here and call exit if uc_link is NULL. New file.
11926 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11927 __makecontext_ret.S.
11928
08f43f9b
AK
119292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11930
11931 * elf/elf.h (R_390_IRELATIVE): New definition.
11932 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11933 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11934 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11935 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11936 (elf_machine_lazy_rel): Likewise.
11937 * sysdeps/s390/dl-irel.h: New file.
11938 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11939 * sysdeps/s390/s390-64/memset.S: New asm code.
11940 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11941 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11942 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11943 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11944 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11945 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11946 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11947 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11948 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11949 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11950 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11951 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11952 * sysdeps/s390/s390-32/memset.S: New asm code.
11953 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11954
3b05db33
MP
119552012-07-17 Marek Polacek <polacek@redhat.com>
11956
11957 [BZ #14349]
11958 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11959 * sysdeps/s390/s390-64/configure.in: Likewise.
11960 * sysdeps/sparc/configure.in: Likewise.
11961 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11962 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11963 * sysdeps/i386/configure.in: Likewise.
11964 * sysdeps/x86_64/configure.in: Likewise.
11965 * sysdeps/sh/configure.in: Likewise.
11966 * sysdeps/s390/s390-32/configure: Regenerated.
11967 * sysdeps/s390/s390-64/configure: Likewise.
11968 * sysdeps/x86_64/configure: Likewise.
11969 * sysdeps/sh/configure: Likewise.
11970 * sysdeps/powerpc/powerpc64/configure: Likewise.
11971 * sysdeps/powerpc/powerpc32/configure: Likewise.
11972 * sysdeps/sparc/configure: Likwise.
11973 * sysdeps/i386/configure: Likewise.
11974
a66877c6
MP
11975 * elf/dl-open.c: Comment fixes.
11976
cfc82fd8
JM
119772012-07-17 Joseph Myers <joseph@codesourcery.com>
11978
bd29910a
JM
11979 * Makefile [CXX] (check-data): Remove.
11980 [CXX] (c++-types.data): New vpath directive.
11981 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11982 vpath. Do not allow for C++ type data being missing.
11983 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11984 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11985 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11986 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11987 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11988 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11989 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11991 ... here.
11992 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11994 ... here.
11995 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11997 ... here.
11998 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11999 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
12000 ... here.
12001 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
12002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
12003 ... here.
12004 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
12005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
12006 ... here.
12007 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
12008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
12009 ... here.
12010 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
12011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
12012
cfc82fd8
JM
12013 * elf/tls-macros.h (TLS_LE): Move architecture-specific
12014 definitions to architecture-specific files.
12015 (TLS_IE): Likewise.
12016 (TLS_LD): Likewise.
12017 (TLS_GD): Likewise.
12018 * sysdeps/i386/tls-macros.h: New file.
12019 * sysdeps/powerpc/tls-macros.h: Likewise.
12020 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12021 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12022 * sysdeps/sh/tls-macros.h: Likewise.
12023 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
12024 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
12025 * sysdeps/x86_64/tls-macros.h: Likewise.
12026
f7db3170
TS
120272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12028
07cbfc23
TS
12029 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12030 zero value for regular exit case.
12031
f7db3170
TS
12032 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12033 (__start_context): Preserve zero value for regular exit case.
12034
dc97c227
TS
120352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12036 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12037
12038 * manual/setjmp.texi (setcontext): Clarify normal process
12039 termination when uc_link is the null pointer.
12040 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12041 exit call.
12042
d0cd7d02
AS
120432012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12044
12045 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12046 preprocessor. Test for each exception mask separately.
12047
dd318934
AJ
120482012-07-16 Andreas Jaeger <aj@suse.de>
12049
12050 * po/ru.po: Update from translation team.
12051
8048311a
JM
120522012-07-15 Joseph Myers <joseph@codesourcery.com>
12053
12054 * conform/data/string.h-data (NULL): Use macro-constant. Require
12055 equal to 0.
12056 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12057 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12058 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12059 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12060 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12061
b637d46e
AJ
120622012-07-13 Andreas Jaeger <aj@suse.de>
12063
12064 * po/fr.po: Update from translation team.
12065
541428fe
MP
120662012-07-12 Marek Polacek <polacek@redhat.com>
12067
12068 [BZ #14173]
12069 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12070 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12071 loop condition.
12072
ec332e94
JM
120732012-07-12 Joseph Myers <joseph@codesourcery.com>
12074
12075 [BZ #13717]
12076 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12077 Change to 2.4.1 where previously 2.4.0.
12078 * sysdeps/unix/sysv/linux/configure: Regenerated.
12079 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12080 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12081 version.
12082 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12083 (__ASSUME_AT_CLKTCK): Remove.
12084 (__ASSUME_AT_PAGESIZE): Likewise.
12085 (__ASSUME_AT_XID): Likewise.
12086 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12087 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12088 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12089 unconditionally.
12090 (HAVE_AUX_PAGESIZE): Likewise.
12091 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12092 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12093 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12094
7b6e99be
JB
120952012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12096
12097 [BZ #14307]
12098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12099 the temporary buffer used to invoke __gethostbyname2_r,
12100 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12101 host_data / struct gaih_addrtuple.
12102 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12103 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12104 header file nss/nsswitch.h.
12105 * nss/nsswitch.h (global scope): Add definition of implementation
12106 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12107 resolv/nss_dns/dns-host.c).
12108
608404eb
AJ
121092012-07-11 Andreas Jaeger <aj@suse.de>
12110
12111 * po/fr.po: Update from translation team.
12112
71220aca
AJ
12113 * po/sv.po: Update from translation team
12114 * po/fr.po: Another update from translation team.
12115
28cfe843
AZ
121162012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12117
12118 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12119 for subnormals or multiply small sinh result by itself.
12120 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12122
6b90f981
DM
121232012-07-11 David S. Miller <davem@davemloft.net>
12124
12125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12126
c6825772
AS
121272012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12128
12129 [BZ #14347]
12130 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12131 (INTERNAL_MARK): Shift it here.
12132
7b8e0d49
MP
121332012-07-10 Marek Polacek <polacek@redhat.com>
12134
12135 [BZ #14151]
12136 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12137 libc_cv_asm_global_directive with .globl.
12138 * configure: Regenerated.
12139 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12140 with .globl.
12141 * sysdeps/i386/configure: Regenerated.
12142 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12143 with .globl.
12144 * sysdeps/x86_64/configure: Regenerated.
12145 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12146 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12147 * elf/tst-unique2mod2.c: Likewise.
12148 * elf/tst-unique2mod1.c: Likewise.
12149 * elf/tst-unique1mod2.c: Likewise.
12150 * elf/tst-unique1mod1.c: Likewise.
12151 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12152 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12153 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12154 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12155 * sysdeps/mach/sysdep.h: Likewise.
12156 * sysdeps/i386/sysdep.h: Likewise.
12157 * sysdeps/i386/i386-mcount.S: Likewise.
12158 * sysdeps/x86_64/_mcount.S: Likewise.
12159 * sysdeps/x86_64/sysdep.h: Likewise.
12160 * sysdeps/sh/_mcount.S: Likewise.
12161 * sysdeps/sh/sysdep.h: Likewise.
12162 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12163 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12164 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12165 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12166 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12167 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12168 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12169 * locale/localeinfo.h: Likewise.
12170 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12171 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12172
6c55cda3
RM
121732012-07-09 Roland McGrath <roland@hack.frob.com>
12174
12175 [BZ #14336]
12176 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12177 system".
12178 * manual/message.texi (The Uniforum approach): Likewise.
12179 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12180 (glibc iconv Implementation): Likewise.
12181
638a572e
JM
121822012-07-09 Joseph Myers <joseph@codesourcery.com>
12183
12184 [BZ #14337]
12185 * math/s_clog.c (__clog): Avoid scaling a value down where that
12186 could result in underflow.
12187 * math/s_clog10.c (__clog10): Likewise.
12188 * math/s_clog10f.c (__clog10f): Likewise.
12189 * math/s_clog10l.c (__clog10l): Likewise.
12190 * math/s_clogf.c (__clogf): Likewise.
12191 * math/s_clogl.c (__clogl): Likewise.
12192 * math/libm-test.inc (clog_test): Add more tests.
12193 (clog10_test): Likewise.
12194 * sysdeps/i386/fpu/libm-test-ulps: Update.
12195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12196
261f4859
AS
121972012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12198
0abaf3e4
AS
12199 [BZ #14283]
12200 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12201 by 7 not 8 to examine high bit of fractional part.
12202
261f4859
AS
12203 [BZ #14042]
12204 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12205 for call to __mcount_internal.
12206 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12207 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12208 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12209
f17ac40d
JM
122102012-07-06 Joseph Myers <joseph@codesourcery.com>
12211
9ad63c23
JM
12212 [BZ #14154]
12213 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12214 approximation for values within 0x1p-13f of an odd multiple of
12215 pi/4.
12216 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12217 exception. Add more tests.
12218 * sysdeps/i386/fpu/libm-test-ulps: Update.
12219
f17ac40d
JM
12220 [BZ #6778]
12221 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12222 inputs and return -1 for them. Do not check for +Inf in case not
12223 reachable for +Inf.
12224 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12225 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12226 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12227 and return -1 for them. Do not check for +Inf in case not
12228 reachable for +Inf.
12229 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12230 define.
12231 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12232 and return -1 for them. Do not check for +Inf in case not
12233 reachable for +Inf.
12234 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12235 spurious underflow.
12236 * sysdeps/i386/fpu/libm-test-ulps: Update.
12237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12238
fb21f89b
MF
122392012-07-06 Mike Frysinger <vapier@gentoo.org>
12240
12241 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12242
cdfe2c5e
JM
122432012-07-05 Joseph Myers <joseph@codesourcery.com>
12244
12245 [BZ #14157]
12246 [BZ #14331]
12247 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12248 could result in spurious underflow. Scale down values above
12249 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12250 * math/s_csqrtf.c (__csqrtf): Likewise.
12251 * math/s_csqrtl.c (__csqrtl): Likewise.
12252 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12253 spurious underflow.
12254 * sysdeps/i386/fpu/libm-test-ulps: Update.
12255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12256
70d35b67
AS
122572012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12258
704bc459
AS
12259 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12260 xopen-msg.sed.
12261 * catgets/xopen-msg.awk: New file.
12262 * catgets/xopen-msg.sed: Removed.
12263
70d35b67
AS
12264 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12265 po2text.sed.
12266 * intl/po2test.awk: New file.
12267 * intl/po2test.sed: Removed.
12268
ca61cf32
JM
122692012-07-04 Joseph Myers <joseph@codesourcery.com>
12270
12271 [BZ #14328]
12272 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12273 or multiply small sinh result by itself.
12274 * math/s_ctanf.c (__ctanf): Likewise.
12275 * math/s_ctanh.c (__ctanh): Likewise.
12276 * math/s_ctanhf.c (__ctanhf): Likewise.
12277 * math/s_ctanhl.c (__ctanhl): Likewise.
12278 * math/s_ctanl.c (__ctanl): Likewise.
12279 * math/libm-test.inc (ctan_test_tonearest): New function.
12280 (ctan_test_towardzero): Likewise.
12281 (ctan_test_downward): Likewise.
12282 (ctan_test_upward): Likewise.
12283 (ctanh_test_tonearest): Likewise.
12284 (ctanh_test_towardzero): Likewise.
12285 (ctanh_test_downward): Likewise.
12286 (ctanh_test_upward): Likewise.
12287 (main): Call these new functions.
12288 * sysdeps/i386/fpu/libm-test-ulps: Update.
12289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12290
ca48a46a
MF
122912012-07-03 Mike Frysinger <vapier@gentoo.org>
12292
12293 * .gitignore: Delete /ports entry.
12294
9d63d37d
AJ
122952012-07-03 Andreas Jaeger <aj@suse.de>
12296
12297 * po/bg.po: Update from translation team.
12298 * po/cs.po: Likewise.
12299 * po/de.po: Likewise.
12300 * po/hr.po: Likewise.
12301 * po/nl.pl: Likewise.
12302 * po/pl.po: Likewise.
12303 * po/vi.po: Likewise.
12304
370ca3d2
JM
123052012-07-03 Joseph Myers <joseph@codesourcery.com>
12306
95f5a9a8
JM
12307 * Makeconfig [!+link] (+link-before-libc): New variable.
12308 [!+link] (+link-after-libc): Likewise.
12309 [!+link] (+link-tests): Likewise.
12310 [!+link] (+link): Define in terms of $(+link-before-libc) and
12311 $(+link-after-libc).
12312 [!+link-static] (+link-static-before-libc): New variable.
12313 [!+link-static] (+link-static-after-libc): Likewise.
12314 [!+link-static] (+link-static-tests): Likewise.
12315 [!+link-static] (+link-static): Define in terms of
12316 $(+link-static-before-libc) and $(+link-static-after-libc).
12317 [build-shared] (link-libc-before-gnulib): New variable.
12318 [build-shared] (link-libc-tests): Likewise.
12319 [build-shared] (link-libc): Define in terms of
12320 $(link-libc-before-gnulib).
12321 [!build-shared] (link-libc-tests): New variable.
12322 (link-libc-static-tests): New variable.
12323 [!gnulib] (gnulib-arch): New variable.
12324 [!gnulib] (gnulib-tests): Likewise.
12325 [!gnulib] (static-gnulib-arch): Likewise.
12326 [!gnulib] (static-gnulib-tests): Likewise.
12327 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12328 Define with "=" instead of ":=".
12329 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12330 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12331 * Rules (binaries-all-notests): New variable.
12332 (binaries-all-tests): Likewise.
12333 (binaries-static-notests): Likewise.
12334 (binaries-static-tests): Likewise.
12335 (binaries-all): Define using $(binaries-all-notests) and
12336 $(binaries-all-tests).
12337 (binaries-static): Define using $(binaries-static-notests) and
12338 $(binaries-static-tests).
12339 (binaries-shared-tests): New variable.
12340 (binaries-shared-notests): Likewise.
12341 (binaries-shared): Remove variable.
12342 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12343 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12344 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12345 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12346 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12347 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12348 * elf/Makefile (sln-modules): New variable.
12349 (extra-objs): Add $(sln-modules:=.o).
12350 (ldconfig-modules): Add static-stubs.
12351 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12352 * elf/static-stubs.c: New file.
12353
7a845b2c
JM
12354 [BZ #14283]
12355 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12356 by 7 not 8 to examine high bit of fractional part. Use volatile
12357 variables when splitting into final array of floats if
12358 __FLT_EVAL_METHOD__ != 0.
12359 * math/libm-test.inc (cos_test): Add another test.
12360 (sin_test): Likewise.
12361 * sysdeps/i386/fpu/libm-test-ulps: Update.
12362
e2283f38
JM
12363 [BZ #14273]
12364 * math/libm-test.inc (cosh_test): Add more tests.
12365
370ca3d2
JM
12366 * version.h (RELEASE): Set to "development".
12367 (VERSION): Set to "2.16.90".
12368
ee9247c3
CD
123692012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12370
12371 * NEWS: Update copyright. Remove last-updated date.
12372 Mention math library bug fixes and timezone data changes.
12373 * README: Mention GNU/Hurd, x32, and HPPA support status.
12374
4648c381
TS
123752012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12376
12377 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12378
aac78a43
AJ
123792012-06-27 Andreas Jaeger <aj@suse.de>
12380
12381 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12382
ed3dbfad
AJ
123832012-06-25 Andreas Jaeger <aj@suse.de>
12384
12385 * sysdeps/s390/fpu/libm-test-ulps: Update.
12386
4d0ee855
AS
123872012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12388 Thomas Schwinge <thomas@codesourcery.com>
12389
12390 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12391 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12393 fanotify_mark.
12394
af1bce34
TS
123952012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12396
a9fa33ba
TS
12397 * sysdeps/mach/start.c: Remove file.
12398 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12399 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12400 * sysdeps/sh/init-first.c: Likewise.
12401
58f902b8
TS
12402 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12403 registers for frame unwinding purposes, add CFI directives.
12404 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12405 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12406 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12407 Likewise.
12408
1518f58b
TS
12409 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12410 __fortify_fail returning.
12411 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12412
db9b5059
TS
12413 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12414 sysdeps/sh/____longjmp_chk.S.
12415 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12416 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12417 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12418 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12419
967705fe
TS
12420 * sysdeps/sh/abort-instr.h: New file.
12421 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12422 process in case exit returns.
12423
a9def8c4
TS
12424 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12425 initialize the GOT register before use.
12426
2a649725
TS
12427 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12428 calculation of ARGC > 4.
12429
af1bce34
TS
12430 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12431 meaningful names to some local labels.
12432
d230f50a
KK
124332012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12434 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12435
12436 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12437 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12438 (__arch_compare_and_exchange_val_16_acq): Likewise.
12439 (__arch_compare_and_exchange_val_32_acq): Likewise.
12440 (atomic_exchange_and_add): Fix gUSA sequence.
12441 (atomic_add): Likewise.
12442 (atomic_add_negative): Likewise.
12443 (atomic_add_zero): Likewise.
12444 (atomic_bit_test_set): Likewise.
12445
0479b305
AS
124462012-06-22 Andreas Schwab <schwab@redhat.com>
12447
12448 [BZ #13579]
12449 * include/link.h (struct link_map): Add l_free_initfini.
12450 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12451 l_initfini.
12452 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12453 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12454 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12455 set.
12456
0e3933b9
CD
124572012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12458
12459 * configure.in: Use AC_LANG_SOURCE.
12460 * configure: Regenerate.
12461
4248b1b1
RM
124622012-06-22 Roland McGrath <roland@hack.frob.com>
12463
12464 * configure.in (libc_cv_localstatedir): New substituted variable.
12465 * configure: Regenerated.
12466 * config.make.in (localstatedir): New variable, substituted from
12467 libc_cv_localstatedir.
12468 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12469 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12470 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12471 * sysdeps/gnu/configure: Regenerated.
12472
006dd861
JL
124732012-06-21 Jeff Law <law@redhat.com>
12474
12475 [BZ #14277]
12476 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12477 free. Simplify list management for _LIBC case.
12478
79662d42
JM
124792012-06-21 Joseph Myers <joseph@codesourcery.com>
12480
b7abb4bf
JM
12481 [BZ #14273]
12482 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12483 Clear sign bit of 64-bit integer value before comparing against
12484 overflow value.
12485
79662d42
JM
12486 * sysdeps/mach/configure: Regenerated.
12487
1f150908
L
124882012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12489
12490 [BZ #14278]
12491 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12492
28363bbf
JL
124932012-06-21 Jeff Law <law@redhat.com>
12494
12495 [BZ #13882]
12496 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12497 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12498 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12499 * elf/dl-open.c (dl_open_worker): Likewise.
12500
09615db4
CD
125012012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12502
12503 * scripts/list-sources.sh: Scan PORTS for translations.
12504 * po/libc.pot: Regenerated.
12505
2174c6dd
AJ
125062012-06-21 Andreas Jaeger <aj@suse.de>
12507
12508 [BZ #12194]
12509 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12510 warning.
12511 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12512 * bits/byteswap-16.h (__bswap_16): Likewise.
12513 * bits/byteswap.h (__bswap_constant_16): Likewise.
12514
3ee947b1
L
125152012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 [BZ #14117]
a2f34833
L
12518 * sysdeps/i386/fpu_control.h: Removed.
12519 * sysdeps/x86_64/fpu_control.h: Moved to ...
12520 * sysdeps/x86/fpu_control.h: Here.
12521
3ee947b1
L
12522 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12523 (_FPU_SETCW): Likewise.
12524
ed1825f8
L
125252012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12526
25f1282a
L
12527 [BZ #14117]
12528 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12529 * sysdeps/x86/fpu/bits/mathinline.h: This.
12530 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12531
ed1825f8
L
12532 [BZ #14050]
12533 [BZ #14117]
12534 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12535 functions if __x86_64__ is defined.
12536
36d54b74
CLT
125372012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12538
12539 * string/endian.h: Add !__ASSEMBLER__ condition for including
12540 conversion interfaces.
12541
10285c21
JM
125422012-06-15 Joseph Myers <joseph@codesourcery.com>
12543
12544 [BZ #14241]
12545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12546 of ABS(x) in calculating zero to negative powers other than odd
12547 integers.
12548 * math/libm-test.inc (pow_test): Add more tests.
12549
06c5abbd
AJ
125502012-06-15 Andreas Jaeger <aj@suse.de>
12551
12552 * manual/contrib.texi (Contributors): Update entry of Liubov
12553 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12554 Machado Filho.
12555
a3aeac40
CH
125562012-06-15 Cyril Hrubis <metan@ucw.cz>
12557
12558 * string/string.h: Add __wur to GNU version of strerror_r.
12559
49bdf4c1
L
125602012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12561
12562 [BZ #14229]
12563 * string/Makefile (tests): Add tst-strtok_r.
12564 * string/tst-strtok_r.c: New file.
12565 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12566 RAX_LP/RDX_LP on SAVE_PTR.
12567
834f9b8d
RM
125682012-06-14 Roland McGrath <roland@hack.frob.com>
12569
12570 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12571
75fa1921
JM
125722012-06-14 Joseph Myers <joseph@codesourcery.com>
12573
12574 * libm_test.inc (csqrt_test): Allow more spurious underflow
12575 exceptions.
12576 (j0_test): Likewise.
12577 (j1_test): Likewise.
12578 (y0_test): Likewise.
12579 (y1_test): Likewise.
12580
771766df
CD
125812012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12582
12583 * po/Makefile (libc.pot): Use UTF-8 charset.
12584
ceb9e56b
PP
125852012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12586
12587 [BZ #14210]
12588 Suppress sign-conversion warning from FD_SET.
12589 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12590 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12591 not unsigned long int.
12592 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12593
ddb28975
L
125942012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12595
12596 [BZ #14050]
12597 [BZ #14117]
12598 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12599 __extern_always_inline instead of __extern_inline.
12600 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12601 (__signbit): Likewise.
12602 (__signbitl): Support C++ namespace.
12603 (lrintf): New inline function.
12604 (lrint): Likewise.
12605 (llrintf): Likewise.
12606 (llrint): Likewise.
12607 (fmaxf): Likewise.
12608 (fmax): Likewise.
12609 (fminf): Likewise.
12610 (fmin): Likewise.
12611 (rint): Likewise.
12612 (rintf): Likewise.
12613 (ceil): Likewise.
12614 (ceilf): Likewise.
12615 (floor): Likewise.
12616 (floorf): Likewise.
12617 (nearbyint): Likewise.
12618 (nearbyintf): Likewise.
12619
d7b4fb26
TS
126202012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12621
12622 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12623 non-default versions.
12624
eb55f5c2
RM
126252012-06-11 Roland McGrath <roland@hack.frob.com>
12626
12627 [BZ #14218]
12628 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12629
366af02c
TS
126302012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12631
99ff6e5c
TS
12632 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12633 (FE_UPWARD, FE_DOWNWARD): Don't define.
12634 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12635 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12636
366af02c
TS
12637 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12638 reading it.
12639 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12640 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12641
793ea851
KK
126422012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12643
12644 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12646 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12647 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12648
a728a38f
L
126492012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12650
12651 [BZ #14117]
c08010c7
L
12652 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12653 * sysdeps/i386/fpu/Implies: New file.
12654 * sysdeps/x86_64/fpu/Implies: Likewise.
12655 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12656 * sysdeps/x86/fpu/bits/fenv.h: This.
12657
a728a38f
L
12658 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12659 __SSE_MATH__.
12660
6e230d11
SP
126612012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12662
12663 [BZ #14134]
12664 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12665 character 0xffff that matches the last element of the
12666 conversion table.
12667
1b671feb
AZ
126682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12669
12670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12671 fmodl commit.
12672
6043738b
AZ
126732012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12674
12675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12676 values higher than 25.6283.
12677
34ae0b32
AZ
126782012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12679
12680 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12681 subnormal exponent extraction and add some __builtin_expect.
12682 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12683 Fix for subnormal mantissa calculation.
12684
1214ec8f
MF
126852012-06-04 Mike Frysinger <vapier@gentoo.org>
12686
12687 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12688 cpu2 is -1 and errno is not ENOSYS.
12689
f3d1f93c
L
126902012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12691
12692 [BZ #14117]
0e4a3cd7
L
12693 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12694 * sysdeps/x86/bits/string.h: This.
12695 * sysdeps/x86_64/bits/string.h: Removed.
12696
6704c645
L
12697 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12698 if not compiling for x86-64, but compiling for >= i486.
12699
48495318
L
12700 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12701 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12702
14adcbfc
L
12703 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12704 New macro from Linux kernel 3.4.0.
12705 (FP_XSTATE_MAGIC2): Likewise.
12706 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12707 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12708 (struct _fpx_sw_bytes): New struct.
12709 (struct _xsave_hdr): Likewise.
12710 (struct _ymmh_state): Likewise.
12711 (struct _xstate): Likewise.
12712
68e408ab
L
12713 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12714 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12715 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12716 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12717 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12718 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12719
f3d1f93c
L
12720 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12721 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12722 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12723 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12724 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12725 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12726
d9dc34cd
TMQMF
127272012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12728
12729 [BZ #13743]
12730 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12731 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12732 (sysdep_headers): Include sys/platform/ppc.h.
12733 * sysdeps/powerpc/test-gettimebase.c: Test for
12734 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12735 * manual/Makefile (appendices): Include platform.texi.
12736 * manual/contrib.texi (Contributors): Update @node pointers.
12737 * manual/maint.texi (Maintenance): Likewise.
12738 (Platform): New node.
12739 * manual/platform.texi: New file. Document the new features.
12740
4af3879c
SP
127412012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12742 Jakub Jelinek <jakub@redhat.com>
12743
12744 [BZ #14188]
12745 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12746 where __builtin_expect is unavailable.
12747
2fd6ff13
DM
127482012-06-03 David S. Miller <davem@davemloft.net>
12749
12750 * stdlib/longlong.h: Updated from GCC.
12751
173f7220
AS
127522012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12753
12754 [BZ #14042]
12755 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12756 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12757 __mcount_internal.
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12759 (GLIBC_2.16): Likewise.
12760
f34a1c6f
L
127612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12762
12763 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12764
88a4576f
JM
127652012-06-01 Joseph Myers <joseph@codesourcery.com>
12766
ea32bcdd
JM
12767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12768 (default-abi): New variable.
12769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12770 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12771 variable.
12772 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12773 Likewise.
12774 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12775 Likewise.
12776 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12777 Likewise.
12778
88a4576f
JM
12779 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12780 definition. Document in comment.
12781
402fe938
DM
127822012-06-01 David S. Miller <davem@davemloft.net>
12783
12784 * stdlib/longlong.h: Updated from GCC.
12785
3553723f
L
127862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12787
12788 [BZ #14117]
3bd872c4
L
12789 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12790 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12791 sys/debugreg.h sys/io.h here.
12792 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12793 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12794 sys/io.h.
12795 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12796 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12797 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12798 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12799 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12800 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12801
3553723f
L
12802 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12803 Define only if __x86_64__ is defined.
12804
4842e4fe
JM
128052012-06-01 Joseph Myers <joseph@codesourcery.com>
12806
c5bfe3d5
JM
12807 [BZ #14048]
12808 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12809 Use int64_t for variable i.
12810 * math/libm-test.inc (fmod_test): Add more tests.
12811
4842e4fe
JM
12812 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12813 z computation is not scheduled after fetestexcept.
12814 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12815 Use math_force_eval instead of asm to ensure calculation scheduled
12816 before exception test.
12817 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12818 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12819
efb73488
AJ
128202012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12821
12822 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12823 computation is not scheduled after fetestexcept.
12824
29bcce7c
L
128252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12826
12827 [BZ #14117]
12828 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12829 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12830
73a68f94
AZ
128312012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12832
12833 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12834 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12835
67b6df78
L
128362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12837
edf2933a 12838 [BZ #14117]
ebc64a18
L
12839 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12840 <bits/wordsize.h>.
12841 (__WCHAR_MIN): Support __WORDSIZE == 64.
12842 (__WCHAR_MAX): Likewise.
12843
edf2933a
L
12844 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12845 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12846
57c6cf40
L
12847 [BZ #14183]
12848 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12849 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12850
67b6df78 12851 [BZ #14117]
8eb6281e
L
12852 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12853 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12854
aac639f4
L
12855 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12856 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12857
67b6df78
L
12858 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12859 Defined to 1 if __x86_64__ isn't defined.
12860 (_STAT_VER_LINUX_OLD): New.
12861 (st_atime): Remove duplicate.
12862 (st_mtime): Likewise.
12863 (st_ctime): Likewise.
12864
1c2cfe81
DM
128652012-05-31 David S. Miller <davem@davemloft.net>
12866
12867 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12868 entries.
12869
5be8418c
AS
128702012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12871
e7725326
AS
12872 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12873 gen-libm-test.pl.
12874
5be8418c
AS
12875 [BZ #14132]
12876 * elf/dl-reloc.c: Include <_itoa.h>.
12877 (_dl_reloc_bad_type): Remove use of INTUSE.
12878 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12879 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12880 * stdio-common/psiginfo.c (psiginfo): Likewise.
12881 * stdio-common/psignal.c (psignal): Likewise.
12882 * string/strsignal.c (strsignal): Likewise.
12883 * include/signal.h (_sys_siglist): Declare hidden proto.
12884 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12885 INTVARDEF with libc_hidden_data_def.
12886 * stdio-common/itoa-udigits.c: Likewise.
12887 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12888 (_itoa_lower_digits_internal): Remove declaration.
12889 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12890 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12891 (_sys_sigabbrev_internal): Remove aliases.
12892 (_sys_siglist): Define hidden alias.
12893
507352f1
MT
128942012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12895
12896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12897 bits/sysctl.h.
12898
42bbb1c3
L
128992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12900
12901 [BZ #14117]
6bd784b6
L
12902 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12903 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12904
8bca20f0
L
12905 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12906 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12907 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12908 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12909 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12910 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12911
f9e890a9
L
12912 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12913 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12914 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12915
471101a1
L
12916 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12917 with __addr.
12918 (insw): Likewise.
12919 (insl): Likewise.
12920 (outsb): Likewise.
12921 (outsw): Likewise.
12922 (outsl): Likewise.
12923
6451c862
L
12924 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12925 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12926 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12927
a254b8c9
L
12928 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12929 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12930 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12931 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12932 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12933 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12934
b8dfdd92
L
12935 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12936 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12937
578cd270
L
12938 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12939 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12940
de662f5f
L
12941 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12942 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12943 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12944
25653439
L
12945 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12946 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12947 to ...
12948 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12949
6bad24a0
L
12950 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12951 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12952 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12953
42bbb1c3
L
12954 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12955 for x86-64.
12956 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12957
2d10d547
JM
129582012-05-31 Joseph Myers <joseph@codesourcery.com>
12959
12960 * math/math.h (M_El): Use two more decimal places.
12961 (M_LOG2El): Likewise.
12962 (M_LOG10El): Likewise.
12963 (M_LN2l): Likewise.
12964 (M_LN10l): Likewise.
12965 (M_PIl): Likewise.
12966 (M_PI_2l): Likewise.
12967 (M_PI_4l): Likewise.
12968 (M_1_PIl): Likewise.
12969 (M_2_PIl): Likewise.
12970 (M_2_SQRTPIl): Likewise.
12971 (M_SQRT2l): Likewise.
12972 (M_SQRT1_2l): Likewise.
12973
f230c29b
DM
129742012-05-31 David S. Miller <davem@davemloft.net>
12975
12976 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12977 values between float registers.
12978 * sysdeps/sparc/sparc64/memset.S: Likewise.
12979 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12980
fed806c3
MF
129812012-05-31 Mike Frysinger <vapier@gentoo.org>
12982
12983 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12984 -D_FORTIFY_SOURCE=1.
12985 (CPPFLAGS-tst-longjmp_chk.c): Define.
12986 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12987 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12988 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12989 CFLAGS-tst-wchar-h.c.
12990
30917259
MP
129912012-05-31 Marek Polacek <polacek@redhat.com>
12992
12993 [BZ #14132]
12994 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12995 __endmntent_internal): Remove declaration.
12996 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12997 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12998 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12999
1c58d5dc
DM
130002012-05-30 David S. Miller <davem@davemloft.net>
13001
13002 * sysdeps/sparc/sparc32/soft-fp/q_util.c
13003 (___Q_simulate_exceptions): Use real FP ops rather than writing
13004 into the %fsr.
13005 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
13006 Likewise.
13007
7dc00e0d
L
130082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13009
13010 [BZ #14117]
0bd53985
L
13011 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
13012 * sysdeps/x86/bits/xtitypes.h: This.
13013
3a257e66
L
13014 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
13015 * sysdeps/x86/bits/wordsize.h: This.
13016
62f62904
L
13017 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
13018 * sysdeps/x86/bits/huge_vall.h: This.
13019
404fe9d9
L
13020 * sysdeps/i386/bits/select.h: Removed.
13021 * sysdeps/x86_64/bits/select.h: Renamed to ...
13022 * sysdeps/x86/bits/select.h: This.
13023
d48d0446
L
13024 * sysdeps/i386/bits/setjmp.h: Removed.
13025 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13026 * sysdeps/x86/bits/setjmp.h: This.
13027
7dc00e0d
L
13028 * sysdeps/i386/bits/mathdef.h: Removed.
13029 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13030 * sysdeps/x86/bits/mathdef.h: This.
13031
03277f8f
AS
130322012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13033
13034 [BZ #14132]
13035 * include/sys/socket.h (__connect_internal)
13036 (__libc_sa_len_internal): Remove declaration.
13037 (__connect, __libc_sa_len): Declare hidden_proto.
13038 (SA_LEN): Remove use of INTUSE.
13039 * socket/connect.c: Add libc_hidden_def.
13040 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13041 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13042 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13043 alias.
13044 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13045 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13046 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13047 of adding _internal alias.
13048
13764867
L
130492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13050
13051 [BZ #14117]
6bd97696
L
13052 * sysdeps/i386/bits/link.h: Removed.
13053 * sysdeps/i386/bits/linkmap.h: Likewise.
13054 * sysdeps/x86_64/bits/link.h: Renamed to ...
13055 * sysdeps/x86/bits/link.h: This.
13056 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13057 * sysdeps/x86/bits/linkmap.h: This.
13058
f726f0bb
L
13059 * sysdeps/i386/bits/endian.h: Removed.
13060 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13061 * sysdeps/x86/bits/endian.h: This.
13062
13764867
L
13063 * sysdeps/i386/bits/byteswap.h: Removed.
13064 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13065 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13066 * sysdeps/x86/bits/byteswap.h: This.
13067 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13068 * sysdeps/x86/bits/byteswap-16.h: This.
13069 * sysdeps/i386/Implies: Add x86.
13070 * sysdeps/x86_64/Implies: Likewise.
13071
ae251b0b
DM
130722012-05-30 David S. Miller <davem@davemloft.net>
13073
13074 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13075 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13076 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13077 (FP_TRAPPING_EXCEPTIONS): Define.
13078 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13079 (FP_TRAPPING_EXCEPTIONS): Define.
13080 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13081 subnormals only when inexact has been signalled or underflow
13082 exceptions are enabled.
13083 (_FP_PACK_CANONICAL): Likewise.
13084
d5c90867
L
130852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13086
13087 [BZ #14183]
13088 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13089 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13090
63f1549e
RH
130912012-05-30 Richard Henderson <rth@twiddle.net>
13092
8d8f2279
RH
13093 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13094 with #ifndef NOT_IN_libc.
13095
63f1549e
RH
13096 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13097 marked to avoid plt entry.
13098
0ab0291b
L
130992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13100
13101 [BZ #14112]
13102 * Makeconfig (default-abi): New macro.
13103 (abi-includes): Likewise.
13104 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13105 $(abi-$(default-abi)-lib-soname) for soname if defined.
13106 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13107 abi-variants.
13108 * Makefile (installed-stubs): Likewise.
13109 * include/stubs-biarch.h: Removed.
13110 * scripts/lib-names.awk: Only handle one library at a time.
13111 * scripts/soversions.awk: Remove WORDSIZE support.
13112 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13113 entries.
13114 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13115 Removed.
13116 (syscall-list-default-condition): Likewise.
13117 (syscall-list-default-condition): Likewise.
13118 (syscall-list-includes): Likewise.
13119 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13120 syscall-list-* with abi-*. Handle undefined abi-variants.
13121 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13122 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13123 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13124 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13125 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13126 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13127 Removed.
13128 (syscall-list-32-options): Likewise.
13129 (syscall-list-32-condition): Likewise.
13130 (syscall-list-64-options): Likewise.
13131 (syscall-list-64-condition): Likewise.
13132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13133 macro.
13134 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13135 Renamed to ...
13136 (abi-*): This.
13137 (abi-64-ld-soname): New macro.
13138 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13140 Renamed to ...
13141 (abi-*): This.
13142 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13143 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13144
4da0431d
JM
131452012-05-30 Joseph Myers <joseph@codesourcery.com>
13146
3a85279c
JM
13147 * sysdeps/unix/sysv/linux/kernel-features.h
13148 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13149 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13150 include <kernel-features.h>.
13151 [!__NR_ftruncate64]: Remove conditional code.
13152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13153 [__NR_ftruncate64]: Make code unconditional.
13154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13155 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13156 include <kernel-features.h>.
13157 [!__NR_ftruncate64]: Remove conditional code.
13158 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13159 [__NR_ftruncate64]: Make code unconditional.
13160 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13162 include <kernel-features.h>.
13163 [!__NR_ftruncate64]: Remove conditional code.
13164 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13165 [__NR_ftruncate64]: Make code unconditional.
13166 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13168 include <kernel-features.h>.
13169 [!__NR_ftruncate64]: Remove conditional code.
13170 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13171 [__NR_ftruncate64]: Make code unconditional.
13172 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13173
4da0431d
JM
13174 * configure.in (libc_cv_fpie): Weaken to a compile test using
13175 LIBC_TRY_CC_OPTION.
13176 * configure: Regenerated.
13177
11ef492c
AK
131782012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13179
13180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13184 Refreshed.
13185 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13191 Refreshed.
13192
d66ef399
DM
131932012-05-27 David S. Miller <davem@davemloft.net>
13194
13195 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13196 (___Q_zero): New.
13197 (__Q_simulate_exceptions): Return void. Change to simulate
13198 exceptions by writing into the %fsr.
13199 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13200 (__Qp_handle_exceptions): Likewise.
13201 (numbers): Delete.
13202 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13203 __Qp_handle_exceptions.
13204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13205 __Qp_handle_exceptions.
13206 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13207 as unused and give dummy FP_RND_NEAREST initializer.
13208 (FP_INHIBIT_RESULTS): Define.
13209 (___Q_simulate_exceptions): Update declaration.
13210 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13211 formatting.
13212 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13213 as unused and give dummy FP_RND_NEAREST initializer.
13214 (__Qp_handle_exceptions): Update declaration.
13215 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13216 formatting.
13217
04fb54b5
TS
132182012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13219
13220 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13221 the temporary FPU control word.
13222 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13223 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13224 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13225 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13226 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13227 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13228 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13229 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13230 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13231 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13233
3f99608f
KK
132342012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13235
13236 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13237 fields.
13238
65a4de4e
CLT
132392012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13240
13241 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13242 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13243 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13244 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13245 Likewise.
13246 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13247 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13248 Likewise.
13249
15749d40
UD
132502012-05-27 Ulrich Drepper <drepper@gmail.com>
13251
13252 * po/h.po: Update from translation team.
13253
25dbcb27
AS
132542012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13255
3d3f8e55
AS
13256 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13257
25dbcb27
AS
13258 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13259 handling of denormals.
13260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13261 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13262 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13263 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13264 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13265 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13267 Likewise.
13268
7ad47a80 132692012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13270
13271 [BZ #14152]
13272 * math/libm-test.inc (fma_test): Don't always expect underflow
13273 exception.
13274
9c6ea9fa
SP
132752012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13276
13277 [BZ #12416]
13278 * elf/tst-execstack.c: Include stackinfo.h.
13279 (do_test): Adjust test case to ensure that pthread_getattr_np
13280 behaviour remains the same after marking stack executable.
13281
a8239222
JM
132822012-05-25 Joseph Myers <joseph@codesourcery.com>
13283
13284 * sysdeps/unix/sysv/linux/kernel-features.h
13285 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13286 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13287 kernel-features.h.
13288 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13289 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13290 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13291 kernel-features.h.
13292 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13293 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13294
918b5606
L
132952012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13296
13297 * configure.in: Define the default includes to being none.
13298 * configure: Regenerated.
13299
3a097cc7
RM
133002012-05-25 Roland McGrath <roland@hack.frob.com>
13301
8422c9a5
RM
13302 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13303 * sysdeps/x86_64/setjmp.S: Likewise.
13304 * sysdeps/i386/bsd-setjmp.S: Likewise.
13305 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13306 * sysdeps/i386/setjmp.S: Likewise.
13307 * sysdeps/i386/__longjmp.S: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13309 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13310
3a097cc7
RM
13311 * include/stap-probe.h: New file.
13312 * configure.in: Handle --enable-systemtap.
13313 * configure: Regenerated.
13314 * config.h.in (USE_STAP_PROBE): New #undef.
13315 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13316 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13317 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13318
21708942
JM
133192012-05-25 Joseph Myers <joseph@codesourcery.com>
13320
13321 [BZ #13717]
13322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13323 to 2.4.0 where earlier.
13324 * sysdeps/unix/sysv/linux/configure: Regenerated.
13325 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13326 <kernel-features.h>.
13327 [__ASSUME_32BITUIDS]: Make code unconditional.
13328 [!__ASSUME_32BITUIDS]: Remove conditional code.
13329 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13330 <kernel-features.h>.
13331 [__ASSUME_32BITUIDS]: Make code unconditional.
13332 [!__ASSUME_32BITUIDS]: Remove conditional code.
13333 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13334 [__ASSUME_32BITUIDS]: Make code unconditional.
13335 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13336 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13337 <kernel-features.h>.
13338 [__ASSUME_32BITUIDS]: Make code unconditional.
13339 [!__ASSUME_32BITUIDS]: Remove conditional code.
13340 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13341 <kernel-features.h>.
13342 [__ASSUME_32BITUIDS]: Make code unconditional.
13343 [!__ASSUME_32BITUIDS]: Remove conditional code.
13344 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13345 <kernel-features.h>.
13346 [__ASSUME_32BITUIDS]: Make code unconditional.
13347 [!__ASSUME_32BITUIDS]: Remove conditional code.
13348 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13349 <kernel-features.h>.
13350 [__ASSUME_32BITUIDS]: Make code unconditional.
13351 [!__ASSUME_32BITUIDS]: Remove conditional code.
13352 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13353 <kernel-features.h>.
13354 [__ASSUME_32BITUIDS]: Make code unconditional.
13355 [!__ASSUME_32BITUIDS]: Remove conditional code.
13356 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13357 <kernel-features.h>.
13358 [__ASSUME_32BITUIDS]: Make code unconditional.
13359 [!__ASSUME_32BITUIDS]: Remove conditional code.
13360 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13361 <kernel-features.h>.
13362 [__ASSUME_32BITUIDS]: Make code unconditional.
13363 [!__ASSUME_32BITUIDS]: Remove conditional code.
13364 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13365 <kernel-features.h>.
13366 [__ASSUME_32BITUIDS]: Make code unconditional.
13367 [!__ASSUME_32BITUIDS]: Remove conditional code.
13368 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13369 <kernel-features.h>.
13370 [__ASSUME_32BITUIDS]: Make code unconditional.
13371 [!__ASSUME_32BITUIDS]: Remove conditional code.
13372 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13373 <kernel-features.h>.
13374 [__ASSUME_32BITUIDS]: Make code unconditional.
13375 [!__ASSUME_32BITUIDS]: Remove conditional code.
13376 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13377 <kernel-features.h>.
13378 [__NR_setresgid] (__setresgid): Do not declare.
13379 [__ASSUME_32BITUIDS]: Make code unconditional.
13380 [!__ASSUME_32BITUIDS]: Remove conditional code.
13381 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13382 <kernel-features.h>.
13383 [__NR_setresuid] (__setresuid): Do not declare.
13384 [__ASSUME_32BITUIDS]: Make code unconditional.
13385 [!__ASSUME_32BITUIDS]: Remove conditional code.
13386 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
13387 <kernel-features.h>.
13388 [__ASSUME_32BITUIDS]: Make code unconditional.
13389 [!__ASSUME_32BITUIDS]: Remove conditional code.
13390 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
13391 <kernel-features.h>.
13392 [__ASSUME_32BITUIDS]: Make code unconditional.
13393 [!__ASSUME_32BITUIDS]: Remove conditional code.
13394 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
13395 <kernel-features.h>.
13396 [__ASSUME_32BITUIDS]: Make code unconditional.
13397 [!__ASSUME_32BITUIDS]: Remove conditional code.
13398 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
13399 <kernel-features.h>.
13400 [__ASSUME_32BITUIDS]: Make code unconditional.
13401 [!__ASSUME_32BITUIDS]: Remove conditional code.
13402 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
13403 <kernel-features.h>.
13404 [__ASSUME_32BITUIDS]: Make code unconditional.
13405 [!__ASSUME_32BITUIDS]: Remove conditional code.
13406 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13407 <kernel-features.h>.
13408 [__ASSUME_32BITUIDS]: Make code unconditional.
13409 [!__ASSUME_32BITUIDS]: Remove conditional code.
13410 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13411 <kernel-features.h>.
13412 [__ASSUME_32BITUIDS]: Make code unconditional.
13413 [!__ASSUME_32BITUIDS]: Remove conditional code.
13414 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13415 <kernel-features.h>.
13416 [__ASSUME_32BITUIDS]: Make code unconditional.
13417 [!__ASSUME_32BITUIDS]: Remove conditional code.
13418 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13419 <kernel-features.h>.
13420 [__ASSUME_32BITUIDS]: Make code unconditional.
13421 [!__ASSUME_32BITUIDS]: Remove conditional code.
13422 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13423 <kernel-features.h>.
13424 [__ASSUME_32BITUIDS]: Make code unconditional.
13425 [!__ASSUME_32BITUIDS]: Remove conditional code.
13426 * sysdeps/unix/sysv/linux/kernel-features.h
13427 (__ASSUME_SETRESUID_SYSCALL): Remove.
13428 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13429 (__ASSUME_32BITUIDS): Likewise.
13430 (__ASSUME_LDT_WORKS): Likewise.
13431 (__ASSUME_O_DIRECTORY): Likewise.
13432 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13433 architecture but not kernel version.
13434 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13435 (__ASSUME_MMAP2_SYSCALL): Likewise.
13436 (__ASSUME_STAT64_SYSCALL): Likewise.
13437 (__ASSUME_IPC64): Likewise.
13438 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13439 <kernel-features.h>.
13440 [__ASSUME_32BITUIDS]: Make code unconditional.
13441 [!__ASSUME_32BITUIDS]: Remove conditional code.
13442 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13443 <kernel-features.h>.
13444 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13445 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13446 132096]: Remove conditional code.
13447 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13448 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13449 <kernel-features.h>.
13450 [__ASSUME_32BITUIDS]: Make code unconditional.
13451 [!__ASSUME_32BITUIDS]: Remove conditional code.
13452 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13453 <kernel-features.h>.
13454 [__ASSUME_32BITUIDS]: Make code unconditional.
13455 [!__ASSUME_32BITUIDS]: Remove conditional code.
13456 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13457 <kernel-features.h>.
13458 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13459 unconditional.
13460 (__setresgid): Do not declare.
13461 [__ASSUME_32BITUIDS]: Make code unconditional.
13462 [!__ASSUME_32BITUIDS]: Remove conditional code.
13463 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13464 <kernel-features.h>.
13465 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13466 unconditional.
13467 (__setresuid): Do not declare.
13468 [__ASSUME_32BITUIDS]: Make code unconditional.
13469 [!__ASSUME_32BITUIDS]: Remove conditional code.
13470 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13471 <kernel-features.h>.
13472 [__ASSUME_32BITUIDS]: Make code unconditional.
13473 [!__ASSUME_32BITUIDS]: Remove conditional code.
13474 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13475 <kernel-features.h>.
13476 [__ASSUME_32BITUIDS]: Make code unconditional.
13477 [!__ASSUME_32BITUIDS]: Remove conditional code.
13478
a386f1cc
RH
134792012-05-25 Richard Henderson <rth@twiddle.net>
13480
13481 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13482 dl_hwcap to ifunc resolver.
13483 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13484 elf_ifunc_invoke.
13485 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13486 dl_hwcap to ifunc resolver.
13487 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13488
b6550497
JM
134892012-05-24 Joseph Myers <joseph@codesourcery.com>
13490
13491 [BZ #14153]
13492 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13493 for |x| <= 2**-26, not 2**-57.
13494 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13495 exception.
13496
b0bc23a1
JL
134972012-05-24 Jeff Law <law@redhat.com>
13498
13499 * stdio-common/Makefile (tests): Add bug25.
13500 * stdio-common/bug25.c: New test.
13501
347c92e9
L
135022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13503
13504 [BZ #13576]
13505 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13506 multiple of MALLOC_ALIGNMENT in size.
13507 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13508
6bcc8b3f
JM
135092012-05-24 Joseph Myers <joseph@codesourcery.com>
13510
13511 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13512 Require >= 256.
13513 (FILENAME_MAX): Use macro-int-constant.
13514 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13515 (_IOFBF): Use macro-int-constant.
13516 (_IOLBF): Likewise.
13517 (_IONBF): Likewise.
13518 (SEEK_CUR): Likewise.
13519 (SEEK_END): Likewise.
13520 (SEEK_SET): Likewise.
13521 (TMP_MAX): Likewise.
13522 (EOF): Use macro-int-constant. Require < 0.
13523 (NULL): Use macro-constant. Require == 0.
13524 (stdin): Require type to be FILE *.
13525 (stdout): Likewise.
13526 (stderr): Likewise.
13527 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13528 macro-int-constant.
13529 (EXIT_SUCCESS): Likewise.
13530 (NULL): Use macro-constant. Require == 0.
13531 (RAND_MAX): Use macro-int-constant.
13532 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13533 [C99-based standards] (strtof): Require function.
13534 [C99-based standards] (strtold): Likewise.
13535 [C99-based standards] (strtoll): Likewise.
13536 [C99-based standards] (strtoull): Likewise.
13537 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13538 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13539 [ISO || ISO99 || ISO11] (math.h): Likewise.
13540 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13541 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13542 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13543
d18ea0c5
AS
135442012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13545
13546 [BZ #14132]
56d25bb8
AS
13547 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13548 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13549 * intl/dgettext.c (DCGETTEXT): Likewise.
13550 * intl/gettext.c (DCGETTEXT): Likewise.
13551 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13552 * posix/regex_internal.h (gettext): Likewise.
13553 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13554 Remove declaration.
13555 * include/argz.h (__argz_count_internal)
13556 (__argz_stringify_internal): Remove declaration.
13557 (__argz_count, __argz_stringify): Declare hidden proto.
13558 * intl/dcgettext.c: Remove use of INTDEF.
13559 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13560 * string/argz-stringify.c: Likewise.
13561 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13562 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13563 Declare hidden proto.
d18ea0c5
AS
13564 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13565 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13566 Declare hidden proto.
13567 * include/stdio.h (__asprintf_internal): Don't declare.
13568 (__asprintf): Don't define as macro. Declare hidden proto.
13569 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13570 (__fsetlocking): Declare hidden proto.
13571 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13572 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13573 hidden proto.
13574 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13575 (_IO_setlinebuf): Remove use of INTUSE.
13576 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13577 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13578 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13579 Remove declaration.
13580 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13581 (_IO_do_flush): Remove use of INTUSE.
13582 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13583 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13584 (_IO_adjust_column, _IO_least_wmarker)
13585 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13586 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13587 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13588 (_IO_default_doallocate, _IO_wdefault_doallocate)
13589 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13590 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13591 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13592 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13593 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13594 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13595 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13596 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13597 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13598 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13599 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13600 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13601 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13602 proto.
13603 (_IO_flush_all_internal, _IO_adjust_column_internal)
13604 (_IO_default_uflow_internal, _IO_default_finish_internal)
13605 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13606 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13607 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13608 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13609 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13610 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13611 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13612 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13613 (_IO_file_close_internal, _IO_file_close_it_internal)
13614 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13615 (_IO_file_init_internal, _IO_file_attach_internal)
13616 (_IO_file_fopen_internal, _IO_file_read_internal)
13617 (_IO_file_sync_internal, _IO_file_seek_internal)
13618 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13619 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13620 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13621 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13622 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13623 (_IO_list_all_internal, _IO_link_in_internal)
13624 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13625 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13626 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13627 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13628 (_IO_do_write_internal, _IO_padn_internal)
13629 (_IO_getline_info_internal, _IO_getline_internal)
13630 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13631 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13632 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13633 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13634 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13635 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13636 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13637 with libc_hidden_ver, remove use of INTUSE.
13638 * libio/genops.c: Likewise.
13639 * libio/freopen.c: Likewise.
13640 * libio/freopen64.c: Likewise.
13641 * libio/iofclose.c: Likewise.
13642 * libio/iofdopen.c: Likewise.
13643 * libio/iofflush.c: Likewise.
13644 * libio/iofflush_u.c: Likewise.
13645 * libio/iofgets.c: Likewise.
13646 * libio/iofgets_u.c: Likewise.
13647 * libio/iofopen.c: Likewise.
13648 * libio/iofopncook.c: Likewise.
13649 * libio/iofread.c: Likewise.
13650 * libio/iofread_u.c: Likewise.
13651 * libio/ioftell.c: Likewise.
13652 * libio/iofwrite.c: Likewise.
13653 * libio/iogetline.c: Likewise.
13654 * libio/iogets.c: Likewise.
13655 * libio/iogetwline.c: Likewise.
13656 * libio/iopadn.c: Likewise.
13657 * libio/iopopen.c: Likewise.
13658 * libio/ioseekoff.c: Likewise.
13659 * libio/ioseekpos.c: Likewise.
13660 * libio/iosetbuffer.c: Likewise.
13661 * libio/iosetvbuf.c: Likewise.
13662 * libio/ioungetc.c: Likewise.
13663 * libio/ioungetwc.c: Likewise.
13664 * libio/iovdprintf.c: Likewise.
13665 * libio/iovsprintf.c: Likewise.
13666 * libio/iovsscanf.c: Likewise.
13667 * libio/memstream.c: Likewise.
13668 * libio/obprintf.c: Likewise.
13669 * libio/oldfileops.c: Likewise.
13670 * libio/oldiofclose.c: Likewise.
13671 * libio/oldiofdopen.c: Likewise.
13672 * libio/oldiofopen.c: Likewise.
13673 * libio/oldiopopen.c: Likewise.
13674 * libio/oldstdfiles.c: Likewise.
13675 * libio/putc.c: Likewise.
13676 * libio/setbuf.c: Likewise.
13677 * libio/setlinebuf.c: Likewise.
13678 * libio/stdfiles.c: Likewise.
13679 * libio/strops.c: Likewise.
13680 * libio/vasprintf.c: Likewise.
13681 * libio/vscanf.c: Likewise.
13682 * libio/vsnprintf.c: Likewise.
13683 * libio/vswprintf.c: Likewise.
13684 * libio/wfiledoalloc.c: Likewise.
13685 * libio/wfileops.c: Likewise.
13686 * libio/wgenops.c: Likewise.
13687 * libio/wmemstream.c: Likewise.
13688 * libio/wstrops.c: Likewise.
13689 * libio/__fpurge.c: Likewise.
13690 * libio/__fsetlocking.c: Likewise.
13691 * assert/assert.c: Likewise.
13692 * debug/fgets_chk.c: Likewise.
13693 * debug/fgets_u_chk.c: Likewise.
13694 * debug/fread_chk.c: Likewise.
13695 * debug/fread_u_chk.c: Likewise.
13696 * debug/gets_chk.c: Likewise.
13697 * debug/obprintf_chk.c: Likewise.
13698 * debug/vasprintf_chk.c: Likewise.
13699 * debug/vdprintf_chk.c: Likewise.
13700 * debug/vsnprintf_chk.c: Likewise.
13701 * debug/vsprintf_chk.c: Likewise.
13702 * malloc/mtrace.c: Likewise.
13703 * misc/error.c: Likewise.
13704 * misc/syslog.c: Likewise.
13705 * stdio-common/asprintf.c: Likewise.
13706 * stdio-common/fxprintf.c: Likewise.
13707 * stdio-common/getw.c: Likewise.
13708 * stdio-common/isoc99_fscanf.c: Likewise.
13709 * stdio-common/isoc99_scanf.c: Likewise.
13710 * stdio-common/isoc99_vfscanf.c: Likewise.
13711 * stdio-common/isoc99_vscanf.c: Likewise.
13712 * stdio-common/isoc99_vsscanf.c: Likewise.
13713 * stdio-common/printf-prs.c: Likewise.
13714 * stdio-common/printf_fp.c: Likewise.
13715 * stdio-common/printf_fphex.c: Likewise.
13716 * stdio-common/printf_size.c: Likewise.
13717 * stdio-common/putw.c: Likewise.
13718 * stdio-common/scanf.c: Likewise.
13719 * stdio-common/sprintf.c: Likewise.
13720 * stdio-common/tmpfile.c: Likewise.
13721 * stdio-common/vfprintf.c: Likewise.
13722 * stdio-common/vfscanf.c: Likewise.
13723 * stdlib/strfmon_l.c: Likewise.
13724 * sunrpc/openchild.c: Likewise.
13725 * sunrpc/xdr_stdio.c: Likewise.
13726 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13727 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13728
d6c33fda
RM
137292012-05-24 Roland McGrath <roland@hack.frob.com>
13730
c1487492
RM
13731 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13732
13733 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13734 in the third column, to generate for the shared library an IFUNC
13735 that uses _dl_vdso_vsym.
13736 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13737 * Makeconfig (object-suffixes-noshared): New variable.
13738
13739 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13740 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13741 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13742 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13743
d6c33fda
RM
13744 [BZ #14132]
13745 * include/sys/time.h (__gettimeofday): Remove macro.
13746 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13747 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13748 Remove INTDEF.
13749 (__gettimeofday): Add libc_hidden_def.
13750 (gettimeofday): Add libc_hidden_weak.
13751 * sysdeps/mach/gettimeofday.c: Likewise.
13752 * sysdeps/posix/gettimeofday.c: Likewise.
13753 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13754 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13755 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13756 (__gettimeofday_internal): Remove strong_alias.
13757 (__gettimeofday): Add libc_hidden_def.
13758 (gettimeofday): Add libc_hidden_weak.
13759 * sysdeps/unix/syscalls.list (gettimeofday):
13760 Remove __gettimeofday_internal alias.
13761
b5a2bbe6
L
137622012-05-24 Daniel Jacobowitz <drow@false.org>
13763 H.J. Lu <hongjiu.lu@intel.com>
13764
13765 [BZ #12495]
13766 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13767 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13768 (largebin_index_32_big): New.
13769 (largebin_index): Use it for 16-byte alignment.
13770 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13771 correction with front_misalign.
13772
cfba4fda
L
137732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13774
7f907421
L
13775 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13777 Likewise.
13778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13779 Likewise.
13780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13781 Likewise.
13782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13783 Likewise.
13784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13785 Likewise.
13786 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13787 Likewise.
13788 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13789 Likewise.
13790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13791 Likewise.
13792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13793 Likewise.
13794 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13795 Likewise.
13796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13797 Likewise.
13798 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13799 Likewise.
13800
cfba4fda
L
13801 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13802 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13803
80bad0cc
JM
138042012-05-24 Joseph Myers <joseph@codesourcery.com>
13805
7a25eb06
JM
13806 [BZ #10846]
13807 [BZ #14036]
13808 * math/libm-test.inc (exp_test): Add test from bug 14036.
13809 (pow_test): Add test from bug 10846.
13810
795405f9
JM
13811 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13812 and other flags.
13813 (special_function): Do not include flags in test name.
13814 (parse_args): Likewise.
13815 * sysdeps/i386/fpu/libm-test-ulps: Update.
13816 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13817 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13818 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13820
80bad0cc
JM
13821 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13822 exceptions.
13823 * math/libm-test.inc ("Philosophy"): Update comment about
13824 exception testing.
13825 (UNDERFLOW_EXCEPTION): New macro.
13826 (UNDERFLOW_EXCEPTION_OK): Likewise.
13827 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13828 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13829 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13830 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13831 (INVALID_EXCEPTION_OK): Update value.
13832 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13833 (OVERFLOW_EXCEPTION_OK): Likewise.
13834 (IGNORE_ZERO_INF_SIGN): Likewise.
13835 (test_exceptions): Handle underflow exceptions.
13836 (acos_test): Update for underflow exception expectations.
13837 (cexp_test): Likewise.
13838 (clog_test): Likewise.
13839 (clog10_test): Likewise.
13840 (csqrt_test): Likewise.
13841 (ctan_test): Likewise.
13842 (ctanh_test): Likewise.
13843 (exp_test): Likewise.
13844 (exp10_test): Likewise.
13845 (exp2_test): Likewise.
13846 (expm1_test): Likewise.
13847 (fma_test): Likewise.
13848 (j0_test): Likewise.
13849 (jn_test): Likewise.
13850 (nexttoward_test): Likewise.
13851 (pow_test): Likewise.
13852 (scalbn_test): Likewise.
13853 (scalbln_test): Likewise.
13854 (tan_test): Likewise.
13855 (y1_test): Likewise.
13856 * sysdeps/i386/fpu/libm-test-ulps: Update.
13857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13858
9e0e3d0b
DM
138592012-05-23 David S. Miller <davem@davemloft.net>
13860
13861 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13862 (__libc_sigaction): Remove unused local variables.
13863
ccd0a08f
L
138642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13865
13866 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13867
62bdf9a6
PE
138682012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13869
f8591f80
PE
13870 mktime: avoid signed integer overflow
13871 * time/mktime.c (__mktime_internal): Do not mishandle the case
13872 where diff == INT_MIN.
13873
94c7d826
PE
13874 mktime: simplify computation of average
13875 * time/mktime.c (ranged_convert): Use new time_t_avg function
13876 instead of rolling our own (probably-slower) code.
13877
ce73d683
PE
13878 mktime: do not assume signed right shift propagates sign bit
13879 * time/mktime.c (isdst_differ): New static function.
13880 (__mktime_internal): No need to normalize tm_isdst now.
13881 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13882 tm_isdst values.
13883
72a22e59
PE
13884 mktime: merge another wrapv change from gnulib
13885 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13886 from some compilers.
13887
68605433
PE
13888 mktime: remove incorrect attempt at unusual arithmetics
13889 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13890 The code didn't really work on such machines anyway.
13891 (TYPE_MINIMUM): Assume two's complement.
13892 (twos_complement_arithmetic): Verify that long_int and time_t
13893 are two's complement (or unsigned, in the latter case).
13894
03cf7fe3
PE
13895 mktime: check signed shifts on long_int and time_t, too
13896 * time/mktime.c (SHR): Check that shifts work as desired
13897 on the types long_int and time_t too, as SHR is used on
13898 such types.
13899
f04dfbc2
PE
13900 mktime: do not assume 'long' is wide enough
13901 * time/mktime.c (verify): Move decl up.
13902 (long_int): New type.
13903 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13904 to remove assumption in the code that 'long' is wide enough to
13905 store year values. This assumption is not true on x32 and on
13906 some non-glibc platforms.
13907
62bdf9a6
PE
13908 mktime: merge wrapv change from gnulib
13909 * time/mktime.c (WRAPV): New macro.
13910 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13911 (guess_time_tm, __mktime_internal): Do not assume that signed
13912 integer overflow wraps around; modern compilers generate code
13913 where this assumption is no longer valid.
13914
5e292e4f
L
139152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13916
13917 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13918 Replace "jmp L(pseudo_end)" with "ret".
13919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13920 Likewise.
13921
8caf8c87
AJ
139222012-05-23 Andreas Jaeger <aj@suse.de>
13923
13924 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13925 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13926
1a09dc56
AJ
139272012-05-23 Andreas Jaeger <aj@suse.de>
13928 Maximilian Attems <max@stro.at>
13929
13930 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13931 New macros.
13932
1c87aba0
L
139332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13934
13935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13936 code so that pseudo_end is just ret and the stack pointer is
13937 correct also for static library in error case.
13938
40e45bd5
JM
139392012-05-23 Joseph Myers <joseph@codesourcery.com>
13940
c2670533
JM
13941 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13942 move to syscalls.list.
13943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13947
40e45bd5
JM
13948 * manual/install.texi (Running make install): Do not mention Linux
13949 kernel version for which pt_chown is not needed.
13950 (Linux): Do not mention problems with nscd with 2.0 kernels.
13951 * INSTALL: Regenerated.
13952
be08eda5
AJ
139532012-05-23 Andreas Jaeger <aj@suse.de>
13954
13955 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13956 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13957 macro.
13958 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13959 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13960 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13961 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13962 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13963 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13964 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13965 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13966 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13967 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13968 * sysdeps/unix/sysv/linux/bits/in.h
13969 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13970
a6a056bb
RM
139712012-05-22 Roland McGrath <roland@hack.frob.com>
13972
13973 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13974 (PREPARE_VERSION): Just use assert instead, it will be elided
13975 under [NDEBUG] anyway.
13976
c9009328
L
139772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13978
13979 * sysdeps/unix/sysv/linux/Makefile: Include
13980 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13981 (sysdep_routines): Remove sysctl.
c9009328
L
13982 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13983 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13984 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13985 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13986 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13987
73338355
AJ
139882012-05-22 Andreas Jaeger <aj@suse.de>
13989
13990 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13991 that pseudo_end is just ret and the stack pointer is correct also
13992 for static library in error case.
13993
d44638b0
PP
139942012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13995
13996 [BZ #14122]
13997 * nss/nsswitch.c (defconfig_entries): New variable.
13998 (__nss_database_lookup): Don't leak defconfig entries.
13999 (nss_parse_service_list): Don't leak on error paths.
14000 (free_database_entries): New function.
14001 (free_defconfig): New function.
14002 (free_mem): Move common code to free_database_entries.
14003
31a39bd8
L
140042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14005
da0331a8
L
14006 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
14007 Add arch_prctl.
14008 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
14009
31a39bd8
L
14010 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14011 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
14012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
14013 New macro.
14014 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14015 (INTERNAL_SYSCALL_TYPES): Likewise.
14016 (LOAD_ARGS_TYPES_[1-6]): Likewise.
14017 (LOAD_REGS_TYPES_[1-6]): Likewise.
14018 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
14019 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
14020
45470df3
AZ
140212012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14022
14023 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
14024 copysignl for GLIBC_2_0.
14025 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14026 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14028 logbl for GLIBC_2_0.
14029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14030 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14031
98a61bcb
L
140322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14033
a4f6e481
L
14034 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14035 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14036
f63d5db6
L
14037 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14038 Use "neg %eax".
14039
98a61bcb
L
14040 * time/mktime.c: Update copyright years.
14041
95770f14
PE
140422012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14043
6226efbd
PE
14044 mktime: merge comment-quoting-style change from gnulib
14045 * time/mktime.c: Quote 'like this' in comments.
14046 The GNU coding standards suggest that we no longer quote `like this',
14047 as "`" and "'" are typically rendered asymmetrically nowadays.
14048 The typical gnulib style is to quote 'like this' when quoting
14049 code, and "like this" when quoting English.
14050
b99e4f78
PE
14051 * time/mktime.c (compile-command): Add "-I.".
14052
643e01e6
PE
14053 mktime: merge mktime-internal.h change from gnulib
14054 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14055
2554247d
PE
14056 mktime: merge time_r change from gnulib
14057 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14058
826dd0ab
PE
14059 mktime: merge DEBUG change from gnulib
14060 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14061 case system <time.h> has a #define.
14062
bd83aabe
PE
14063 mktime: merge <sys/types.h> change from gnulib
14064 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14065 since <time.t> is now guaranteed to define time_t.
14066
95770f14
PE
14067 mktime: merge HAVE_CONFIG_H change from gnulib
14068 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14069
5e1a27a9
L
140702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14071
0e44a77e
L
14072 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14073 Use "neg %eax".
14074
5e1a27a9
L
14075 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14076 __rlim_t cast.
14077 (struct rusage): Use anonymous union to pad each field to
14078 __syscall_slong_t.
14079
46259bec
DM
140802012-05-21 David S. Miller <davem@davemloft.net>
14081
14082 * Makefules (o-iterator): Remove .s cases.
14083 (compile-command.s): Delete.
14084 (COMPILE.s): Delete.
14085 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14086
59f0c22e
JM
140872012-05-21 Joseph Myers <joseph@codesourcery.com>
14088
14089 * configure.in (libc_cv_predef_stack_protector): Only consider
14090 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14091 * configure: Regenerated.
14092
20c07380
L
140932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14094
bbb3154b
L
14095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14096 New macro. Use R*LP on int and pointer.
14097 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14098 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14099 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14100 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14101
20c07380
L
14102 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14103 [__WORDSIZE_TIME64_COMPAT32] instead of
14104 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14105 (struct utmp): Likewise.
14106 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14107 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14108 Renamed to ...
14109 (__WORDSIZE_TIME64_COMPAT32): This.
14110 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14111 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14112 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14113 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14114 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14115 (__WORDSIZE_TIME64_COMPAT32): New macro.
14116
d8d1017e
AJ
141172012-05-21 Andreas Jaeger <aj@suse.de>
14118
14119 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14120 only if [SHARED]. Add prototype for __wcschr_ia32.
14121
6c7fb145
RM
141222012-05-21 Roland McGrath <roland@hack.frob.com>
14123
14124 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14125 of %rbp unmolested in the jmp_buf while mangling the low bits.
14126 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14127 unmolested high bits of %rbp while demangling the low bits.
14128 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14129
66274218
AJ
141302012-05-21 Andreas Jaeger <aj@suse.de>
14131
07c58f8f
AJ
14132 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14133 * sunrpc/svc_simple.c: Use it for registerrpc.
14134 * sunrpc/xcrypt.c: Use it for passwd2des.
14135
66274218
AJ
14136 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14137
61f65140
L
141382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14139
14140 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14141 Don't define if [__SYSCALL_WORDSIZE != 32].
14142 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14143 New macro.
14144
5fefb436
AJ
141452012-05-21 Bruno Haible <bruno@clisp.org>
14146 Andreas Jaeger <aj@suse.de>
14147
14148 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14149 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14150 inptr and inend for must_buffer_ch.
14151 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14152 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14153 * stdio-common/Makefile (tests): Remove bug15.
14154 (bug15-ENV): Remove macro.
14155 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14156 anymore.
14157
d8e272ab
AJ
141582012-05-19 Andreas Jaeger <aj@suse.de>
14159 Roland McGrath <roland@hack.frob.com>
14160
14161 * manual/contrib.texi: Completely rewritten. It contains now an
14162 alphabetical list of contributors and their contributions.
14163
4a56a162
RH
141642012-05-21 Richard Henderson <rth@twiddle.net>
14165
14166 * misc/getauxval.c (__getauxval): Use unsigned long int.
14167 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14168 (getauxval): Use unsigned long int.
14169
d024d23c
L
141702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14171
14172 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14173
cbc00a03
RM
141742012-05-21 Roland McGrath <roland@hack.frob.com>
14175
14176 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14177 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14178 __alignof__ (long double).
14179
478143fa
AZ
141802012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14181
14182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14183
c7683a6d
RH
141842012-05-20 Richard Henderson <rth@twiddle.net>
14185
14186 * misc/getauxval.c: New file.
14187 * misc/sys/auxv.h: New file.
14188 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14189 (routines): Add getauxval.
14190 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14191 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14192 * elf/dl-sysdep.c (_dl_auxv): Remove.
14193 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14194 * elf/dl-support.c (_dl_auxv): New variable.
14195 (_dl_aux_init): Initialize it.
14196 * manual/startup.texi (Auxiliary Vector): New node.
14197 * sysdeps/generic/bits/hwcap.h: New file.
14198 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14199 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14200 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14201 * sysdeps/sparc/sysdep.h: ... here. Include it.
14202 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14203 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
14204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14205 Update.
c7683a6d
RH
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14209 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14214
a6f1845d
AZ
142152012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14216
14217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14218
cbcbe830
DM
142192012-05-19 David S. Miller <davem@davemloft.net>
14220
14221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14222
e0b16cc2
JM
142232012-05-19 Joseph Myers <joseph@codesourcery.com>
14224
14225 [BZ #14123]
14226 * math/s_ccosh.c: Include <float.h>
14227 (__ccosh): Avoid internal overflow calculating sinh and cosh
14228 values before multiplying by sin and cos values.
14229 * math/s_ccoshf.c: Likewise.
14230 * math/s_ccoshl.c: Likewise.
14231 * math/s_csin.c: Likewise.
14232 * math/s_csinf.c: Likewise.
14233 * math/s_csinl.c: Likewise.
14234 * math/s_csinh.c: Likewise.
14235 * math/s_csinhf.c: Likewise.
14236 * math/s_csinhl.c: Likewise.
14237 * math/libm-test.inc (ccos_test): Add more tests.
14238 (ccosh_test): Likewise.
14239 (csin_test): Likewise.
14240 (csinh_test): Likewise.
14241 * sysdeps/i386/fpu/libm-test-ulps: Update.
14242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14243
6ad13e08
L
142442012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14245
f66f0ce8
L
14246 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14247 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14248
6ad13e08
L
14249 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14250
b1d072a7
JM
142512012-05-19 Joseph Myers <joseph@codesourcery.com>
14252
14253 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14254 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14255 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14256 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14257 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14258 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14259 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14260 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14261 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14262 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14263 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14264 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14265 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14266 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14267 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14268 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14269 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14270 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14271 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14272 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14273 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14274 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14275 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14276 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14277 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14278 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14279 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14280 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14281 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14282 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14283 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14284
9eae47cb
AJ
142852012-05-18 Andreas Jaeger <aj@suse.de>
14286
14287 * csu/.gitignore: Delete.
14288
bb07f69f
L
142892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14290
14291 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14292 (timex): Use __syscall_slong_t.
14293
e6bdb741
AJ
142942012-05-18 Andreas Jaeger <aj@suse.de>
14295 Carlos O'Donell <carlos_odonell@mentor.com>
14296
14297 * manual/install.texi (Configuring and compiling): Update
14298 description about files modified in the source directory.
d6c33fda 14299 * INSTALL: Regenerated.
e6bdb741 14300
1b74487e
L
143012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14302
14303 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14304 value. Use "or" to set return value to -1.
14305 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14306 negate return value.
14307
a88b64b9
TMQMF
143082012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14309
14310 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14311 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14312 failure if the compiler has Graphite support disabled.
14313 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14314 Likewise.
14315 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14316 CFLAGS-memmove.c): Likewise.
14317 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14318 Likewise.
14319
3707636e
L
143202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14321
610b8622
L
14322 * sysdeps/x86_64/x32/_itoa.h: New file.
14323
7cd195df
L
14324 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14325 getdents system call only if kernel and user dirents have the
14326 same d_ino and d_off.
14327
94b07d20
L
14328 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14329 LLONG_MAX != LONG_MAX.
14330 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14331 (_fitoa_word): Likewise.
14332
18298070
L
14333 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14334 years.
14335 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14336 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14337 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14338
553c7ea4
L
14339 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14340 include <bits/wordsize.h>. Check __x86_64__ instead of
14341 __WORDSIZE.
14342 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14343 if __x86_64__ is defined. Use anonymous union on fpstate.
14344
3707636e
L
14345 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14346 anonymous union.
14347
b53ef01a
AS
143482012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14349
37fb1dc0
AS
14350 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14351 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14352 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14353 Refer to _rtld_local_ro instead of _rtld_global_ro.
14354 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14355 Likewise.
14356 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14357 Likewise.
14358 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14359 Likewise.
14360 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14361 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14362 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14363
b53ef01a
AS
14364 * sysdeps/powerpc/powerpc32/dl-machine.c
14365 (__elf_machine_runtime_setup) [PROF]: Don't reference
14366 _dl_prof_resolve.
14367
7a185db2
AJ
143682012-05-18 Andreas Jaeger <aj@suse.de>
14369
14370 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14371 function only available for GCCs before 3.4 since GCC 3.4
14372 introduced a builtin.
14373 (lrint): Likewise.
14374 (llrintf): Likewise.
14375 (llrint): Likewise.
14376 (fmaxf): Likewise.
14377 (fmax): Likewise.
14378 (fminf): Likewise.
14379 (fmin): Likewise.
14380 (rint): Likewise.
14381 (rintf): Likewise.
14382 (nearbyint): Likewise.
14383 (nearbyintf): Likewise.
14384 (ceil): Likewise.
14385 (ceilf): Likewise.
14386 (floor): Likewise.
14387 (floorf): Likewise.
14388
3e5aef87
L
143892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14390
428bd707
L
14391 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14392 on both fields and cast pointer to __syscall_ulong_t.
14393
3e5aef87
L
14394 * bits/types.h (__fsword_t): New type.
14395 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14396 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14398 (__FSWORD_T_TYPE): Likewise.
14399 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14400 (__FSWORD_T_TYPE): Likewise.
14401 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14402 (__FSWORD_T_TYPE): Likewise.
14403 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14404 (__FSWORD_T_TYPE): Likewise.
14405 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14406 __SWORD_TYPE with __fsword_t.
14407 (statfs64): Likewise.
14408
1ba7c3dc
DM
144092012-05-17 David S. Miller <davem@davemloft.net>
14410
14411 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14412
59910343
AJ
144132012-05-17 Andreas Jaeger <aj@suse.de>
14414
14415 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14416 warning.
14417
2e4c1e9e
L
144182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14419
14420 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14421
de7f5ce7
AJ
144222012-05-17 Andreas Jaeger <aj@suse.de>
14423
14424 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14425 when it is used.
14426
286abc3d
CM
144272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14428
14429 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14430
477cc68e
L
144312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14432
14433 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14434 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14435
1a0994f5
CD
144362012-05-17 Andreas Jaeger <aj@suse.de>
14437 Carlos O'Donell <carlos_odonell@mentor.com>
14438
14439 [BZ #14059]
14440 * sysdeps/x86_64/multiarch/init-arch.h
14441 (bit_YMM_Usable): Rename to...
14442 (bit_AVX_Usable): ... this.
14443 (bit_FMA4_Usable): New macro.
14444 (bit_XMM_state): New macro.
14445 (bit_YMM_state): New macro.
14446 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14447 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14448 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14449 (CPUID_OSXSAVE): New macro.
14450 (CPUID_AVX): New macro.
14451 (CPUID_FMA4): New macro.
14452 (index_YMM_Usable): Rename to...
14453 (index_AVX_Usable): ... this.
14454 (HAS_AVX): Use HAS_ARCH_FEATURE.
14455 (HAS_FMA4): Likewise.
14456 (HAS_YMM_USABLE): Remove.
14457 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14458 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14459 are present.
14460 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14461 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14462 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14463 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14464 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14465
0af797de
CM
144662012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14467
14468 * math/libm-test.c: Support platforms without multiple rounding modes.
14469 * math/bug-nextafter.c: Support platforms without FP exceptions.
14470 * math/bug-nexttoward.c: Likewise.
14471 * math/test-fenv.c: Likewise.
14472 * math/test-misc.c: Likewise.
14473 * stdlib/bug-getcontext.c: Likewise.
14474
e39745ff
AJ
144752012-05-17 Andreas Jaeger <aj@suse.de>
14476
14477 * manual/examples/search.c (critter_cmp): Change signature to
14478 avoid warnings.
14479 * manual/string.texi (Collation Functions): Likewise.
14480
48970aba
L
144812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14482
14483 * bits/types.h: Fold copyright years.
14484 * bits/typesizes.h: Likewise.
14485 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14489 * time/time.h: Likewise.
14490
bedee953
PP
144912012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14492
14493 [BZ #208]
14494 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14495 in instead of returning them. Return void.
14496 (__libc_mallinfo): Accumulate over all arenas.
14497 (__malloc_stats): Adjust for change in int_mallinfo interface.
14498
61653dfb
RM
144992012-05-16 Roland McGrath <roland@hack.frob.com>
14500
30b99d79
RM
14501 [BZ #10375]
14502 * configure.in (NM): Add AC_CHECK_TOOL for it.
14503 (libc_extra_cflags): New substituted variable.
14504 Check for -fstack-protector being used implicitly.
14505 * configure: Regenerated.
14506 * config.make.in (config-extra-cflags): New variable,
14507 gets @libc_extra_cflags@.
14508 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14509
61653dfb
RM
14510 [BZ #10375]
14511 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14512 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14513 * configure: Regenerated.
14514 * config.make.in (CPPUNDEFS): New substituted variable.
14515 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14516 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14517 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14518
661768bb
L
145192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14520
14521 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14522 (mq_attr): Use __syscall_slong_t.
14523
d4261567
L
145242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14525
14526 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14527 Check __x86_64__ instead of __WORDSIZE.
14528 (_STAT_VER_LINUX): Likewise.
14529 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14530 __syscall_ulong_t and __syscall_slong_t.
14531 (stat64): Likewise.
14532
cf3ff365
L
145332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14534
14535 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14536
76cf3e4d
L
145372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14538
14539 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14540
a637753a
L
145412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14542
14543 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14544 __syscall_ulong_t.
14545
d5e05119
L
14546 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14547 include <bits/wordsize.h>. Check __x86_64__ instead of
14548 __WORDSIZE.
14549 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14550 defined.
14551 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14552
f62ee380
L
14553 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14554 include <bits/wordsize.h>. Check __x86_64__ instead of
14555 __WORDSIZE.
14556 (user_regs_struct): Use "__extension__ unsigned long long"
14557 instead of "unsigned long" if __x86_64__ is defined.
14558 (user): Likewise. Pad after pointer field if __ILP32__ is
14559 defined.
14560
4e124ced
JM
145612012-05-16 Joseph Myers <joseph@codesourcery.com>
14562
6a3951a0
JM
14563 * configure.in (makeinfo): Require version 4.5 or later. Allow
14564 versions 5 to 9.
14565 * configure: Regenerated.
14566 * manual/install.texi (texinfo): Increase version requirement to
14567 4.5 or later.
14568 * INSTALL: Regenerated.
14569
4e124ced
JM
14570 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14571
953ca31a
L
145722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14573
14574 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14575
617aca05
L
14576 * sysdeps/x86_64/x32/ffs.c: New file.
14577
5762f7ae
L
14578 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14579 __syscall_ulong_t.
14580 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14581 defined. Use __syscall_ulong_t.
14582 (shminfo): Use __syscall_ulong_t.
14583 (shm_info): Likewise.
14584
a26b6856
L
14585 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14586 __syscall_ulong_t.
14587
cb2b9ef7
L
14588 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14589 <bits/wordsize.h>.
14590 (msgqnum_t): Use __syscall_ulong_t.
14591 (msglen_t): Likewise.
14592 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14593 __syscall_ulong_t.
14594
34683bb0
L
14595 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14596 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14597
84a68786
L
14598 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14599
48baa5f1
L
14600 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14601 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14602
180be88b
L
14603 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14604 __syscall_slong_t.
14605
5e90c8ad
L
14606 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14607 include <bits/wordsize.h>. Check __x86_64__ instead of
14608 __WORDSIZE.
14609
23dfb58b
L
14610 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14611 "unsigned long long int" if __x86_64__ is defined.
14612 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14613
ce5d54b0
L
14614 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14615 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14616 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14617
13dc9eac
L
14618 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14619 <stdint.h>.
14620 (GET_PC): Cast to uintptr_t first.
14621 (GET_FRAME): Likewise.
14622 (GET_STACK): Likewise.
14623
a7895d15
L
14624 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14625 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14626 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14627 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14629 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14632 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14633 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14634 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14635 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14637 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14638 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14639 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14640 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14641 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14642 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14643 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14644 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14645 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14647 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14651 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14652 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14653
656416c9
AS
146542012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14655
5bd66283
AS
14656 * Makerules (+depfiles): Also collect depfiles from .oS in
14657 $(extra-objs).
14658 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14659 .oS, $(libnldbl-routines)).
14660
656416c9
AS
14661 * Makerules (native-compile-mkdep-flags): Define.
14662 * sunrpc/Makefile (extra-objs): Add $(addprefix
14663 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14664 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14665 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14666 calling $(make-target-directory).
14667
a46f2169
L
146682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14669
14670 * bits/types.h (__snseconds_t): Removed.
14671 * time/time.h (struct timespec): Replace __snseconds_t with
14672 __syscall_slong_t.
14673 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14674 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14675 Likewise.
14676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14677 (__SNSECONDS_T_TYPE): Likewise.
14678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14679 (__SNSECONDS_T_TYPE): Likewise.
14680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14681 (__SNSECONDS_T_TYPE): Likewise.
14682
6af6528b
L
146832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14684
14685 * sysdeps/mach/hurd/bits/typesizes.h
14686 (__SYSCALL_SLONG_TYPE): New macro.
14687 (__SYSCALL_ULONG_TYPE): Likewise.
14688
de986b56
L
146892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14690
14691 * bits/types.h (__syscall_slong_t): New type.
14692 (__syscall_ulong_t): Likewise.
14693
14694 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14695 (__SYSCALL_ULONG_TYPE): Likewise.
14696 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14697 (__SYSCALL_SLONG_TYPE): Likewise.
14698 (__SYSCALL_ULONG_TYPE): Likewise.
14699 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14700 (__SYSCALL_SLONG_TYPE): Likewise.
14701 (__SYSCALL_ULONG_TYPE): Likewise.
14702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14703 (__SYSCALL_SLONG_TYPE): Likewise.
14704 (__SYSCALL_ULONG_TYPE): Likewise.
14705
85736dc7
L
147062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14707
14708 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14709 Add sigaltstack-offsets.sym.
14710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14711 <sigaltstack-offsets.h>.
14712 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14713 longjmp_msg pointer.
14714 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14715 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14716 signal stack.
14717 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14718
cc03b296
JM
147192012-05-15 Joseph Myers <joseph@codesourcery.com>
14720
a9538892
JM
14721 * elf/stackguard-macros.h: Remove file.
14722 * sysdeps/generic/stackguard-macros.h: New file.
14723 * sysdeps/i386/stackguard-macros.h: Likewise.
14724 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14725 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14726 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14727 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14728 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14729 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14730 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14731 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14732 <elf/stackguard-macros.h>.
14733
cc03b296
JM
14734 [BZ #14109]
14735 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14736 __aligned__ in attribute.
14737 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14738 (gregset_t): Likewise.
14739
93171016
L
147402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14741
14742 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14743 * sysdeps/x86_64/64/Implies-after: Here. New file.
14744 * sysdeps/x86_64/x32/Implies-after: New file.
14745
d86813a0
L
147462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14747
14748 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14749 and access return value for _dl_profile_fixup. Use R10_LP to
14750 load frame size.
14751
2953ec75
L
147522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14753
14754 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14755
3b550e9e
L
147562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14757
14758 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14759 * sysdeps/x86_64/x32/sysdep.h: New file.
14760
eda41706
L
147612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14762
14763 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14764 * sysdeps/x86_64/setjmp.S: Likewise.
14765
9ea01d93
AZ
147662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14767
14768 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14770 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14771 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14772 remove unused global constant.
14773
02a91938
CM
147742012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14775
14776 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14777 include of <not-cancel.h>.
14778
6540185f
RM
147792012-05-15 Roland McGrath <roland@hack.frob.com>
14780
14781 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14782
509072a0
AJ
147832012-05-15 Jeff Law <law@redhat.com>
14784 Andreas Jaeger <aj@suse.de>
14785
14786 [BZ #13594]
14787 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14788 out from...
14789 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14790 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14791 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14792 code changing __hst_map_handle.map.
14793
ba75122d
RM
147942012-05-15 Roland McGrath <roland@hack.frob.com>
14795
14796 * configure.in (sysnames): Look for Implies-before and Implies-after
14797 files.
14798 * configure: Regenerated.
14799
890d8bd8
L
148002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14801
14802 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14803 8-byte data alignment with LP_SIZE alignment.
14804
f6ee6623
L
148052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14806
14807 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14808 into R10_LP.
14809
ea2626f6
L
148102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14811
14812 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14813
085f715e
L
148142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14815
14816 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14817 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14818 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14819 Likewise.
14820 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14821
be8498fc
L
148222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14823
14824 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14825 (stackinfo_sub_sp): Likewise.
14826
70bc83b9
L
148272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14828
14829 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14830 RAX_LP.
14831
9bc0b730
L
148322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14833
14834 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14835 into R*_LP.
14836
6d2850e7
L
148372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14838
14839 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14840 sizes into R*_LP.
14841
3cb84561
L
148422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14843
14844 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14845
54e2ed81
L
148462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14847
14848 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14849 into R11_LP and load __x86_64_shared_cache_size_half into
14850 R8_LP.
14851
8a17f349
L
148522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14853
14854 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14855 R8_LP.
14856
777b1eea
AZ
148572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14858
14859 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14860 logb for POWER7.
14861 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14862 logbf for POWER7.
14863 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14864 logbl for POWER7.
14865 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14866 powerpc32/power7/fpu/s_logb.c via #include.
14867 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14868 powerpc32/power7/fpu/s_logbf.c via #include.
14869 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14870 powerpc32/power7/fpu/s_logbl.c via #include.
14871
d20d4ac2
JM
148722012-05-15 Joseph Myers <joseph@codesourcery.com>
14873
14874 * README.libm: Remove file.
14875
6cdef1ab
L
148762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14877
14878 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14879 count for x32. Use R*_LP and omit operand-size suffix.
14880
0b254d8f
L
148812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14882
14883 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14884 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14885 * sysdeps/x86_64/x32/shlib-versions: New file.
14886
ceb809dc
RM
148872012-05-14 Roland McGrath <roland@hack.frob.com>
14888
14889 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14890 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14891 Use _dl_fatal_printf instead.
14892
37f1abd4
JM
148932012-05-14 Joseph Myers <joseph@codesourcery.com>
14894
14895 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14896 set if not set by the user. Do not allow for being unset.
14897 * sysdeps/unix/sysv/linux/configure: Regenerated.
14898
11de3a33
L
148992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14900
14901 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14902 the `q' suffix from lea and replace .quad with ASM_ADDR.
14903
e02f153a
L
149042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14905
14906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14907 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14908 instead of $17.
14909 (PTR_DEMANGLE): Likewise.
14910
520ae0fd
L
149112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14912
14913 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14914 (LP_OP): Likewise.
14915 (ASM_ADDR): Likewise.
14916 (RAX_LP): Likewise.
14917 (RBP_LP): Likewise.
14918 (RBX_LP): Likewise.
14919 (RCX_LP): Likewise.
14920 (RDI_LP): Likewise.
14921 (RSI_LP): Likewise.
14922 (RSP_LP): Likewise.
14923 (R8_LP): Likewise.
14924 (R9_LP): Likewise.
14925 (R10_LP): Likewise.
14926 (R10_LP): Likewise.
14927 (R11_LP): Likewise.
14928 (R12_LP): Likewise.
14929 (R13_LP): Likewise.
14930 (R14_LP): Likewise.
14931 (R15_LP): Likewise.
14932
b985be81
L
149332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14934
14935 * sysdeps/x86_64/x32/dl-machine.h: New file.
14936
6a4888ff
AJ
149372012-05-14 Andreas Jaeger <aj@suse.de>
14938
14939 * manual/Makefile (subdir): Remove export of subdir.
14940 (all): Remove target.
14941 (.PHONY): Remove all from list.
14942 (mkinstalldirs): Remove.
14943 (.PHONY): Remove installdirs from list.
14944 ($(inst_infodir)/libc.info): Use make-target-directory.
14945 (installdirs): Remove.
14946 (subdir_%): Remove.
14947 (glibc-targets): Remove.
14948 (lib): Remove.
14949 (stubs): Remove.
14950 ($(objpfx)stubs ../po/manual.pot): Remove.
14951 ($(objpfx)stamp%): Remove.
14952 (make-target-directory): Remove.
14953 (subdir_install): Remove.
14954 (routines): Remove.
14955 (aux): Remove.
14956 (sources): Remove.
14957 (objects): Remove.
14958 (headers): Remove.
14959
14960 [BZ #13750]
14961 * manual/.gitignore: Remove, it's not needed anymore.
14962 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14963 all files in it.
14964 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14965 directory.
14966 (texis): Renamed to $(objpfx)texis.
14967 (texis-path): New, contains path to generated files.
14968 (chapters.%): Use texis-path for complete path, add extra argument
14969 libc-texinfo.sh.
14970 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14971 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14972 (summary,texi, stamp-summary): Use complete path of
14973 files. Generate files in build dir.
14974 (dir-add.texi): Build in build dir.
14975 (libm-err.texi,stamp-libm-err): Likewise.
14976 (version.texi, stamp-version): Likewise.
14977 (.%c.texi): Likewise.
14978 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14979 (mostlyclean): Remove target.
14980 (realclean): Remove target.
14981 (generated): Add new variable with contents from mostlyclean and
14982 realclean, remove entries duplicated in common-mostlyclean, add
14983 stamp-libm-err and stamp-version.
14984 (generated-dirs): Add libc directory.
14985 ($(inst_infodir)/libc.info): Install files from build dir.
14986
14987 * manual/install.texi (Configuring and compiling): Adjust since
14988 the info files are not part of the tar ball anymore.
14989
7ac77294
AJ
149902012-05-14 Andreas Jaeger <aj@suse.de>
14991
14992 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14993 variable.
14994
ffb7875d
JM
149952012-05-14 Joseph Myers <joseph@codesourcery.com>
14996
14997 [BZ #13717]
14998 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14999 to 2.2.0 where earlier.
15000 * sysdeps/unix/sysv/linux/configure: Regenerated.
15001 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
15002 Remove conditional code.
15003 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
15004 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
15005 Remove conditional code.
15006 [!__NR_lchown]: Likewise.
15007 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15008 [__NR_lchown]: Likewise.
15009 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
15010 comment referencing __ASSUME_LCHOWN_SYSCALL.
15011 * sysdeps/unix/sysv/linux/i386/sigaction.c
15012 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15013 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15014 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
15015 Remove conditional code.
15016 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
15017 (__protocol_available): Remove #if 0 code.
15018 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
15019 conditional code.
15020 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
15021 * sysdeps/unix/sysv/linux/kernel-features.h
15022 (__ASSUME_GETCWD_SYSCALL): Don't define.
15023 (__ASSUME_REALTIME_SIGNALS): Likewise.
15024 (__ASSUME_PREAD_SYSCALL): Likewise.
15025 (__ASSUME_PWRITE_SYSCALL): Likewise.
15026 (__ASSUME_POLL_SYSCALL): Likewise.
15027 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15028 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15029 non-SPARC.
15030 (__ASSUME_SIOCGIFNAME): Don't define.
15031 (__ASSUME_MSG_NOSIGNAL): Likewise.
15032 (__ASSUME_SENDFILE): Define unconditionally.
15033 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15034 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15035 conditional code.
15036 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15037 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15038 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15039 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15040 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15041 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15042 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15044 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15045 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15047 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15048 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15050 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15053 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15056 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15059 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15062 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15067 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15068 Remove conditional code.
15069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15070 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15071 Remove conditional code.
15072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15073 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15074 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15075 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15076 Remove conditional code.
15077 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15078 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15079 Remove conditional code.
15080 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15081 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15082 Remove conditional code.
15083 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15084 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15085 Remove conditional code.
15086 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15087 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15088 Remove conditional code.
15089 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15090 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15091 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15092 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15093 * sysdeps/unix/sysv/linux/sigaction.c
15094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15096 * sysdeps/unix/sysv/linux/sigpending.c
15097 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15098 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15099 * sysdeps/unix/sysv/linux/sigprocmask.c
15100 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15101 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15102 * sysdeps/unix/sysv/linux/sigsuspend.c
15103 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15104 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15105 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15106 (__libc_missing_rt_sigs): Remove.
15107 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15108 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15109 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15110 Remove conditional code.
15111 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15112 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15113 return 1.
15114 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15115 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15116 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15117 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15118
1bfb7291
AJ
151192012-05-14 Andreas Jaeger <aj@suse.de>
15120
caae5a81
AJ
15121 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15122 it's not used in glibc.
15123 (__coshm1): Likewise.
15124 (__acosh1p): Likewise.
15125 (__sgn): Likewise.
15126
1bfb7291
AJ
15127 * manual/string.texi (Copying and Concatenation): Add missing
15128 variable in concat example.
15129 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15130
c044d724
L
151312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15132
144c5467 15133 [BZ #14103]
c044d724
L
15134 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15135 __builtin_clzl with __builtin_clzll.
15136
2523c62b
L
151372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15138
15139 [BZ #14104]
15140 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15141 libc_freeres_ptr.
15142
d7bb4c42
LD
151432012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15144
15145 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15146 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15147 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15148 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15149
9dc4e1fb
MF
151502012-05-14 Mike Frysinger <vapier@gentoo.org>
15151
15152 * NEWS: Update ia64 info.
15153
c7df0112
AS
151542012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15155
15156 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15157 used as bcopy.
15158
dc70356c
TS
151592012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15160
15161 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15162 * sysdeps/unix/syscalls.list (dup3): Likewise.
15163 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15164 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15165
9fb1a21f
L
151662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15167
15168 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15169 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15170
4822a2a5
L
151712012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15172
15173 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15174 thread pointer.
15175 (TLS_IE): Use mov/add instead of movq/addq to load thread
15176 pointer.
15177 (TLS_GD_PREFIX): New.
15178 (TLS_GD): Use it.
15179
842b81d6
DM
151802012-05-11 David S. Miller <davem@davemloft.net>
15181
15182 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15183 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15184 (_FPU_SETCW): Likewise.
15185
1cf463cd
L
151862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15187
15188 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15189 is 32-byte aligned.
15190
60cc4a18
AS
151912012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15192
15193 [BZ #11837]
15194 * iconvdata/gb18030.c: Update tables.
15195 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15196 characters specially.
15197 (BODY for TO_LOOP): Add encoding of missing ranges.
15198
febb44a4
TS
151992012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15200
15201 [BZ #13673]
15202 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15203 * sysdeps/mach/hurd/dup3.c: Likewise.
15204 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15205 * sysdeps/powerpc/memmove.c:: Likewise.
15206
0a10fb9e
L
152072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15208
15209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15210 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15211
df8a552f
L
152122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15213
15214 * elf/elf.h (R_X86_64_RELATIVE64): New.
15215 (R_X86_64_NUM): Updated.
15216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15217 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15218 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15219 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15220 tst-quad1pie tst-quad2pie
15221 (modules-names): Add tst-quadmod1 tst-quadmod2.
15222 ($(objpfx)tst-quad1): New dependency.
15223 ($(objpfx)tst-quad2): Likewise.
15224 ($(objpfx)tst-quad1pie): Likewise.
15225 ($(objpfx)tst-quad2pie): Likewise.
15226 * sysdeps/x86_64/tst-quad1.c: New file.
15227 * sysdeps/x86_64/tst-quad1pie.c: New file.
15228 * sysdeps/x86_64/tst-quad2.c: Likewise.
15229 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15230 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15231 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15232 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15233 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15234
f34d6f84
ST
152352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15236
f42d41d1
ST
15237 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15238 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15239 * streams/stropts.h (t_scalar_t): Define type.
15240
3c3571fc
ST
15241 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15242 (_PATH_PRESERVE): Set to "/var/lib".
15243 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15244
61f06bd3
ST
15245 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15246 instead of int.
15247
918d4d71
ST
15248 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15249 if __dir_mkfile succeeded.
15250
f34d6f84
ST
15251 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15252 checking for _hurd_dtablesize. Unlock it right after having
15253 finished _hurd_dtable allocation.
15254
10589b4a
TS
152552012-05-10 Thomas Schwinge <thomas@schwinge.name>
15256
674cdbc7
TS
15257 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15258 * sysdeps/mach/hurd/configure: Regenerated.
15259 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15260 special-casing to...
15261 * sysdeps/gnu/configure.in: ... this new file.
15262 * sysdeps/unix/sysv/linux/configure: Regenerated.
15263 * sysdeps/gnu/configure: New generated file.
15264
8e41b99f
TS
15265 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15266 for Linux: use nsec instead of usec, as well as:
15267 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15268 members of type struct timespec.
15269 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15270 New macros.
15271 (struct stat64): Likewise.
15272 (_STATBUF_ST_NSEC): New macro.
15273 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15274
10589b4a
TS
15275 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15276 __strtoul_internal rather than strtoul.
15277
63643c85
PT
152782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15279
15280 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15281 and reject them.
15282
3faebe6a
ST
152832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15284
15285 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15286 which preserves existing values.
15287 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15288
c6474b07
PT
152892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15290
15291 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15292 TIMEOUT values. Return EINVAL for NFDS values either negative or
15293 greater than FD_SETSIZE.
15294
1043890b
ST
152952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15296
15297 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15298 allocated, call __vm_protect to finish enabling the existing space, and
15299 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15300 allocate the remainder.
15301
37ed8b9b
PT
153022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15303
15304 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15305 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15306
db653660
ST
153072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15308
37ed8b9b
PT
15309 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15310 sysdeps/mach/hurd/readlink.c.
b29d4053 15311
db653660
ST
15312 * posix/tst-sysconf.c (posix_options): Only use
15313 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15314 _POSIX_SYNCHRONIZED_IO when they are defined
15315 * sysdeps/mach/hurd/bits/posix_opt.h:
15316 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15317 (_XOPEN_REALTIME): Undefine macro.
15318 (_XOPEN_REALTIME_THREADS): Undefine macro.
15319 (_XOPEN_SHM): Undefine macro.
15320 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15321 macro to -1.
15322 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15323 macro to -1.
15324 (_POSIX_ASYNC_IO): Undefine macro.
15325 (_POSIX_PRIORITIZED_IO): Undefine macro.
15326 (_POSIX_SPIN_LOCKS): Define macro to -1.
15327
ee16e894
ST
15328 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15329 SA_NODEFER, SA_RESETHAND.
15330 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15331 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15332 F_DUPFD_CLOEXEC.
15333
6103ae3b
TS
153342012-05-10 Thomas Schwinge <thomas@schwinge.name>
15335
15336 * elf/Makefile (pldd-modules): Define unconditionally.
15337
80b4e5f3
TS
153382012-05-10 Thomas Schwinge <thomas@schwinge.name>
15339
15340 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15341
edadcbd6
ST
153422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15343
15344 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15345 Return ENOENT when name is empty.
15346 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15347
80694780
TS
153482012-05-10 Thomas Schwinge <thomas@schwinge.name>
15349
1792c087
TS
15350 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15351
80694780
TS
15352 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15353
6b645f0d
ST
153542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15355
80694780
TS
15356 Fix mlock in all cases except non-readable pages.
15357 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15358 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15359
6b645f0d
ST
15360 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15361 (__mkdir): When path is `/', just fail with EEXIST.
15362 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15363
e468f8a3
TS
153642012-05-10 Thomas Schwinge <thomas@schwinge.name>
15365
15366 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15367 <sys/uio.h> (for writev).
15368 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15369 and <sys/param.h> (for MIN).
15370
a4186cff
PT
153712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15372
15373 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15374 REQUESTED_TIME. Properly set the remaining time and return EINTR
15375 if interrupted.
15376
510bbf14
TS
153772012-05-10 Thomas Schwinge <thomas@schwinge.name>
15378
15379 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15380 Depend on against $(link-rpcuserlibs).
15381
5d5722e8
ST
153822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15383
a4186cff
PT
15384 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15385 (__libc_stack_end): Do not use attribute_relro.
15386 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15387 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15388 to libthread-provided value.
a4186cff
PT
15389 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15390 attribute_relro.
5d5722e8 15391
37233df9
TS
153922012-05-10 Thomas Schwinge <thomas@schwinge.name>
15393
be971a2b
TS
15394 [BZ #3748]
15395 * bits/libc-lock.h (__libc_once_get): New macro.
15396 * sysdeps/mach/bits/libc-lock.h: Likewise.
15397 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15398 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15399 instead of using implementation details.
15400
37233df9
TS
15401 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15402 * libio/freopen.c: Likewise.
15403 * libio/freopen64.c: Likewise.
15404 * misc/syslog.c: Likewise.
15405 * nscd/connections.c: Likewise.
15406 * nscd/netgroupcache.c: Likewise.
15407 * sysdeps/posix/getcwd.c: Likewise.
15408
38de94a5
RM
154092012-05-10 Roland McGrath <roland@hack.frob.com>
15410
15411 * math/w_ilogbf.c: Add #include <limits.h>.
15412
67530489
ST
154132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15414
a4186cff 15415 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15416 path instead of returning without unlocking.
15417
67530489
ST
15418 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15419 immediate-write ioctls.
15420 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15421
5aa3a74a
TS
154222012-05-10 Thomas Schwinge <thomas@schwinge.name>
15423
18bad2ae
TS
15424 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15425 __builtin_frame_address instead of making assumptions about the
15426 location of the return address relative to DATA. Force early load of
15427 the return address.
15428 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15429 __builtin_frame_address.
15430
5aa3a74a
TS
15431 dup3 for GNU Hurd.
15432 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15433 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15434 implement dup3 and do some further code clean-ups.
15435 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15436 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15437
ecd0de9a
ST
154382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15439
cd9fa985
ST
15440 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15441
a4186cff
PT
15442 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15443 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15444 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15445 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15446 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15447 d->port.lock.
802ca5a5 15448
a4186cff
PT
15449 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15450 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15451 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15452
bcf55240
TS
154532012-05-10 Thomas Schwinge <thomas@schwinge.name>
15454
6960eb42
TS
15455 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15456 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15457 definitions.
15458
eb43375f
TS
15459 accept4 for GNU Hurd.
15460 * include/sys/socket.h (__libc_accept4): New prototype.
15461 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15462 to implement __libc_accept4.
15463 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15464 __libc_accept4.
15465 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15466
bcf55240
TS
15467 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15468 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15469 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15470 signal-defines.sym.
15471
6178c55b
ST
154722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15473
a4186cff 15474 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15475
6f080c2f
TS
154762012-05-10 Thomas Schwinge <thomas@schwinge.name>
15477
15478 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15479 assertion on O_CLOEXEC flag.
15480 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15481 * hurd/intern-fd.c: Likewise.
15482 * hurd/port2fd.c: Likewise.
15483
bcfe3a54
ST
154842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15485
15486 [BZ #3906]
15487 * bits/in.h (IPV6_PKTINFO): Define new macro.
15488 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15489
89c9aa49
AZ
154902012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15491
15492 [BZ #13954]
15493 [BZ #13955]
15494 [BZ #13956]
15495 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15497 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15498 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15500 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15501 * math/libm-test.inc (logb_test) : Additional logb tests.
15502
021db4be
AJ
155032012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15504 Andreas Jaeger <aj@suse.de>
15505
15506 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15507 * configure: Regenerated.
15508 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15509 * config.make.in (link-obsolete-rpc): New substituted variable.
15510 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15511 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15512 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15513 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15514 so that libc.a contains the symbols.
15515 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15516 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15517 * sunrpc/auth_none.c: Likewise.
15518 * sunrpc/auth_unix.c: Likewise.
15519 * sunrpc/authdes_prot.c: Likewise.
15520 * sunrpc/authuxprot.c: Likewise.
15521 * sunrpc/clnt_gen.c: Likewise.
15522 * sunrpc/clnt_perr.c: Likewise.
15523 * sunrpc/clnt_raw.c: Likewise.
15524 * sunrpc/clnt_simp.c: Likewise.
15525 * sunrpc/clnt_tcp.c: Likewise.
15526 * sunrpc/clnt_udp.c: Likewise.
15527 * sunrpc/clnt_unix.c: Likewise.
15528 * sunrpc/des_crypt.c: Likewise.
15529 * sunrpc/des_soft.c: Likewise.
15530 * sunrpc/get_myaddr.c: Likewise.
15531 * sunrpc/key_call.c: Likewise.
15532 * sunrpc/key_prot.c: Likewise.
15533 * sunrpc/netname.c: Likewise.
15534 * sunrpc/pm_getmaps.c: Likewise.
15535 * sunrpc/pm_getport.c: Likewise.
15536 * sunrpc/pmap_clnt.c: Likewise.
15537 * sunrpc/pmap_prot.c: Likewise.
15538 * sunrpc/pmap_prot2.c: Likewise.
15539 * sunrpc/pmap_rmt.c: Likewise.
15540 * sunrpc/publickey.c: Likewise.
15541 * sunrpc/rpc_cmsg.c: Likewise.
15542 * sunrpc/rpc_common.c: Likewise.
15543 * sunrpc/rpc_dtable.c: Likewise.
15544 * sunrpc/rpc_prot.c: Likewise.
15545 * sunrpc/rpc_thread.c: Likewise.
15546 * sunrpc/rtime.c: Likewise.
15547 * sunrpc/svc.c: Likewise.
15548 * sunrpc/svc_auth.c: Likewise.
15549 * sunrpc/svc_raw.c: Likewise.
15550 * sunrpc/svc_run.c: Likewise.
15551 * sunrpc/svc_tcp.c: Likewise.
15552 * sunrpc/svc_udp.c: Likewise.
15553 * sunrpc/svc_unix.c: Likewise.
15554 * sunrpc/svcauth_des.c: Likewise.
15555 * sunrpc/xcrypt.c: Likewise.
15556 * sunrpc/xdr.c: Likewise.
15557 * sunrpc/xdr_array.c: Likewise.
15558 * sunrpc/xdr_float.c: Likewise.
15559 * sunrpc/xdr_intXX_t.c: Likewise.
15560 * sunrpc/xdr_mem.c: Likewise.
15561 * sunrpc/xdr_rec.c: Likewise.
15562 * sunrpc/xdr_ref.c: Likewise.
15563 * sunrpc/xdr_sizeof.c: Likewise.
15564 * sunrpc/xdr_stdio.c: Likewise.
15565
b5c086a2
RM
155662012-05-10 Roland McGrath <roland@hack.frob.com>
15567
15568 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15569 change. Update copyright years.
15570
6d74dd09
JM
155712012-05-10 Joseph Myers <joseph@codesourcery.com>
15572
15573 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15574
28e72501
MK
155752012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15576 Joseph Myers <joseph@codesourcery.com>
15577 Paul Pluzhnikov <ppluzhnikov@google.com>
15578
15579 [BZ #14012]
15580 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15581 requiring rpcgen.
15582 [cross-compiling] (extra-libs): Likewise.
15583 [cross-compiling] (extra-libs-others): Likewise.
15584 [cross-compiling] (librpcsvc-routines): Likewise.
15585 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15586 [cross-compiling] (omit-deps): Likewise.
15587 (sunrpc-CPPFLAGS): New variable.
15588 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15589 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15590 (cross-rpcgen-objs): New variable.
15591 (extra-objs): Append $(cross-rpcgen-objs).
15592 ($(cross-rpcgen-objs)): New rule.
15593 ($(objpfx)cross-rpcgen): Likewise.
15594 (rpcgen-cmd): Define to use $(built-program-file). Expand
15595 comment.
15596 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15597 ($(objpfx)x%.stmp): Likewise.
15598 * sunrpc/proto.h [IS_IN_build] (_): Define.
15599 [IS_IN_build] (_libc_intl_domainname): Likewise.
15600
c8c59454
L
156012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15602
15603 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15604 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15605 and R_X86_64_TPOFF64.
15606
6f27cd16
JM
156072012-05-10 Joseph Myers <joseph@codesourcery.com>
15608
15609 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15610 sysdeps/unix/sysv/syscalls.list.
15611 (stime): Likewise.
15612 (utime): Likewise.
15613 * sysdeps/unix/sysv/syscalls.list: Remove file.
15614
02467e1c
PE
156152012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15616
15617 [BZ #3440]
15618 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15619 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15620 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15621 (__LC_IDENTIFICATION): Make these macros useful in #if
15622 expressions, as required by C99.
15623
da392631
AS
156242012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15625
15626 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15627 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15628 after this.
15629
8115f29b
L
156302012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15631
15632 * stdlib/longlong.h: Updated from GCC.
15633
bdd74070
AJ
156342012-05-09 Andreas Jaeger <aj@suse.de>
15635
edfe0dbe
AJ
15636 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15637 default is first entry.
15638 (run_mode): Set type.
15639 (main): Remove informal message about syslog.
15640 (options): Fix typo.
15641
bcfe3a54
ST
15642 [BZ #14053]
15643 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15644 to asm.
bcfe3a54
ST
15645 (lrint): Likewise.
15646 (llrintf): Likewise.
15647 (llrint): Likewise.
15648 (rint): Likewise.
15649 (rintf): Likewise.
15650 (nearbyint): Likewise.
15651 (nearbyintf): Likewise.
bdd74070 15652
91d8d69e
AJ
156532012-05-09 Andreas Jaeger <aj@suse.de>
15654 Pedro Alves <palves@redhat.com>
15655
15656 * nscd/nscd.c (run_mode): Use enum.
15657 (main): Cleanup coding style issue.
15658
bb90b80b
AJ
156592012-05-09 Alexandre Oliva <aoliva@redhat.com>
15660 Andreas Jaeger <aj@suse.de>
15661
bcfe3a54
ST
15662 * nscd/nscd.c (go_background): Replaced with...
15663 (run_mode): ... this.
bb90b80b 15664 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15665 (options): Add -F --foreground.
15666 (main): Implement it.
15667 (parse_opt): Parse it.
bb90b80b 15668
1a4b75a1
AJ
156692012-05-09 Andreas Jaeger <aj@suse.de>
15670
15671 [BZ #14083]
15672 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15673 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15674 -Wconversion warning.
15675 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15676 Likewise.
15677
b1cc2472
JM
156782012-05-09 Joseph Myers <joseph@codesourcery.com>
15679
15680 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15681 == 0.
15682 (LC_ALL): Use macro-int-constant.
15683 (LC_COLLATE): Likewise.
15684 (LC_CTYPE): Likewise.
15685 (LC_MESSAGES): Likewise.
15686 (LC_MONETARY): Likewise.
15687 (LC_NUMERIC): Likewise.
15688 (LC_TIME): Likewise.
15689 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15690 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15691 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15692 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15693 Specify type.
15694 [C99-based standards] (float_t): Expect type.
15695 [C99-based standards] (double_t): Expect type.
15696 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15697 type.
15698 [C99-based standards] (HUGE_VALL): Likewise.
15699 [C99-based standards] (INFINITY): Likewise.
15700 [C99-based standards] (NAN): Likewise.
15701 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15702 [C99-based standards] (FP_NAN): Likewise.
15703 [C99-based standards] (FP_NORMAL): Likewise.
15704 [C99-based standards] (FP_SUBNORMAL): Likewise.
15705 [C99-based standards] (FP_ZERO): Likewise.
15706 [C99-based standards] (FP_FAST_FMA): Use
15707 optional-macro-int-constant. Specify type. Require == 1.
15708 [C99-based standards] (FP_FAST_FMAF): Likewise.
15709 [C99-based standards] (FP_FAST_FMAL): Likewise.
15710 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15711 [C99-based standards] (FP_ILOGBNAN): Likewise.
15712 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15713 Specify type.
15714 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15715 [C99-based standards] (math_errhandling): Specify type.
15716 [ISO99 || ISO11] (signgam): Do not allow.
15717 [non-C99-based standards] (copysignf): Do not allow.
15718 [non-C99-based standards] (exp2f): Likewise.
15719 [non-C99-based standards] (log2f): Likewise.
15720 [non-C99-based standards] (modff): Allow.
15721 [non-C99-based standards] (erff): Do not allow.
15722 [non-C99-based standards] (erfcf): Likewise.
15723 [non-C99-based standards] (gammaf): Likewise.
15724 [non-C99-based standards] (hypotf): Likewise.
15725 [non-C99-based standards] (j0f): Likewise.
15726 [non-C99-based standards] (j1f): Likewise.
15727 [non-C99-based standards] (jnf): Likewise.
15728 [non-C99-based standards] (lgammaf): Likewise.
15729 [non-C99-based standards] (tgammaf): Likewise.
15730 [non-C99-based standards] (y0f): Likewise.
15731 [non-C99-based standards] (y1f): Likewise.
15732 [non-C99-based standards] (ynf): Likewise.
15733 [non-C99-based standards] (isnanf): Likewise.
15734 [non-C99-based standards] (acoshf): Likewise.
15735 [non-C99-based standards] (asinhf): Likewise.
15736 [non-C99-based standards] (atanhf): Likewise.
15737 [non-C99-based standards] (cbrtf): Likewise.
15738 [non-C99-based standards] (expm1f): Likewise.
15739 [non-C99-based standards] (ilogbf): Likewise.
15740 [non-C99-based standards] (log1pf): Likewise.
15741 [non-C99-based standards] (logbf): Likewise.
15742 [non-C99-based standards] (nextafterf): Likewise.
15743 [non-C99-based standards] (remainderf): Likewise.
15744 [non-C99-based standards] (rintf): Likewise.
15745 [non-C99-based standards] (scalbf): Likewise.
15746 [non-C99-based standards] (copysignl): Likewise.
15747 [non-C99-based standards] (exp2l): Likewise.
15748 [non-C99-based standards] (log2l): Likewise.
15749 [non-C99-based standards] (modfl): Allow.
15750 [non-C99-based standards] (erfl): Do not allow.
15751 [non-C99-based standards] (erfcl): Likewise.
15752 [non-C99-based standards] (gammal): Likewise.
15753 [non-C99-based standards] (hypotl): Likewise.
15754 [non-C99-based standards] (j0l): Likewise.
15755 [non-C99-based standards] (j1l): Likewise.
15756 [non-C99-based standards] (jnl): Likewise.
15757 [non-C99-based standards] (lgammal): Likewise.
15758 [non-C99-based standards] (tgammal): Likewise.
15759 [non-C99-based standards] (y0l): Likewise.
15760 [non-C99-based standards] (y1l): Likewise.
15761 [non-C99-based standards] (ynl): Likewise.
15762 [non-C99-based standards] (isnanl): Likewise.
15763 [non-C99-based standards] (acoshl): Likewise.
15764 [non-C99-based standards] (asinhl): Likewise.
15765 [non-C99-based standards] (atanhl): Likewise.
15766 [non-C99-based standards] (cbrtl): Likewise.
15767 [non-C99-based standards] (expm1l): Likewise.
15768 [non-C99-based standards] (ilogbl): Likewise.
15769 [non-C99-based standards] (log1pl): Likewise.
15770 [non-C99-based standards] (logbl): Likewise.
15771 [non-C99-based standards] (nextafterl): Likewise.
15772 [non-C99-based standards] (remainderl): Likewise.
15773 [non-C99-based standards] (rintl): Likewise.
15774 [non-C99-based standards] (scalbl): Likewise.
15775 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15776 [non-C99-based standards] (FP_*): Do not allow.
15777 [C99-based standards] (FP_*): Change to
15778 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15779 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15780 allow.
15781 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15782 (SIG_ERR): Likewise.
15783 [X/Open-based standards] (SIG_HOLD): Likewise.
15784 (SIG_IGN): Likewise.
15785 (SIGABRT): Use macro-int-constant. Specify type. Require
15786 positive value.
15787 (SIGFPE): Likewise.
15788 (SIGILL): Likewise.
15789 (SIGINT): Likewise.
15790 (SIGSEGV): Likewise.
15791 (SIGTER): Likewise.
15792 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15793 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15794 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15795 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15796 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15797 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15798 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15799 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15800 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15801 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15802 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15803 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15804 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15805 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15806 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15807 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15809 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15810 [X/Open-based standards] (SIGTRAP): Likewise.
15811 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15812 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15813 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15814 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15815 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15816 allow.
15817
b9f1922d
IW
158182012-05-08 Ian Wienand <ianw@vmware.com>
15819
15820 [BZ #14080]
15821 * time/tzset.c (__tzset_parse_tz): Update default rules for
15822 daylight time changes in the Energy Policy Act of 2005.
15823
1db86e88
AJ
158242012-05-09 Andreas Jaeger <aj@suse.de>
15825
15826 [BZ #13983]
15827 * elf/ldconfig.c (parse_conf): Change string to make clear that
15828 ldconfig only issued a warning if ld.so.conf does not exist.
15829
dee4a4e3
DM
158302012-05-08 David S. Miller <davem@davemloft.net>
15831
ee0db190
DM
15832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15833 movxtod instead of popping the value on the stack.
15834
dee4a4e3
DM
15835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15836
6a43ec98
CD
158372012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15838
15839 * config.h.in: Add HAVE_ARM_PCS_VFP.
15840
05c2c961
RMG
158412012-05-08 Roland Mc Grath <roland@hack.frob.com>
15842
bcfe3a54
ST
15843 [BZ #13979]
15844 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15845 checking but the checks are disabled for any reason.
05c2c961 15846
4b30f61a
L
158472012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15848
15849 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15850 and ELF64_R_TYPE with ELFW(R_TYPE).
15851
eee2bc67
JM
158522012-05-08 Joseph Myers <joseph@codesourcery.com>
15853
7ea5391a
JM
15854 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15855 (ulimit): Likewise.
15856
eee2bc67
JM
15857 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15858 (settimeofday): Likewise.
15859
abb66a67
MF
158602012-05-08 Mike Frysinger <vapier@gentoo.org>
15861
15862 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15863 a struct th_u2 inside the union, and move tu_block/tu_code into
15864 a new th_u3 union of tu_block/tu_code inside of that. Move
15865 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15866 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15867 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15868 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15869 (th_stuff): Change to th_u1.tu_stuff.
15870 (th_data): Define.
15871 (th_msg): Change to th_u1.th_u2.tu_data.
15872
7f18b530
DM
158732012-05-07 David S. Miller <davem@davemloft.net>
15874
05760585
DM
15875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15876
7f18b530
DM
15877 [BZ #14074]
15878 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15879 (SETUP_PIC_REG): Use it.
15880 (SETUP_PIC_REG_LEAF): Use it.
15881
495fd99f
JM
158822012-05-07 Joseph Myers <joseph@codesourcery.com>
15883
15884 [BZ #13885]
15885 [BZ #13923]
15886 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15887 USE_AS_EXPM1L.
15888 (EXPL_FINITE): Likewise.
15889 (FLDLOG): Likewise.
15890 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15891 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15892 e_expl.S.
15893 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15894 USE_AS_EXPM1L.
15895 (EXPL_FINITE): Likewise.
15896 (FLDLOG): Likewise.
15897 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15898 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15899 e_expl.S.
15900 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15901 test of -max_value argument for long double.
15902 * sysdeps/i386/fpu/libm-test-ulps: Update.
15903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15904
6693d694
DM
159052012-05-06 David S. Miller <davem@davemloft.net>
15906
15907 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15908 quad soft-float symbols whose references which are compiler
15909 generated.
15910 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15911
6c23e11c
JM
159122012-05-06 Joseph Myers <joseph@codesourcery.com>
15913
d8b82cad
JM
15914 [BZ #13884]
15915 [BZ #13914]
15916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15917 USE_AS_EXP10L.
15918 (EXPL_FINITE): Likewise.
15919 (FLDLOG): Likewise.
15920 (c0): Likewise.
15921 (c1): Likewise.
15922 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15923 Adjust comments for base varying.
15924 (__expl_finite): Change alias to EXPL_FINITE.
15925 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15926 e_expl.S.
15927 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15928 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15929 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15930 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15931 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15932 USE_AS_EXP10L.
15933 (EXPL_FINITE): Likewise.
15934 (FLDLOG): Likewise.
15935 (c0): Likewise.
15936 (c1): Likewise.
15937 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15938 Adjust comments for base varying.
15939 (__expl_finite): Change alias to EXPL_FINITE.
15940 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15941 tests for bugs.
15942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15943
6c23e11c
JM
15944 [BZ #14064]
15945 * math/libm-test.inc (check_float_internal): Correct ulp
15946 calculation for subnormal expected results.
15947
29ba805c
AJ
159482012-05-06 Andreas Jaeger <aj@suse.de>
15949
15950 * Makeconfig (+math-flags): New, set to -frounding-math.
15951 (+cflags): Add +math-flags so that all of glibc gets compiled with
15952 it.
15953
15954 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15955
7b17aeda
JM
159562012-05-05 Joseph Myers <joseph@codesourcery.com>
15957
5779f134
JM
15958 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15959 Disable one test.
15960
41498f4d
JM
15961 [BZ #13787]
15962 [BZ #13922]
15963 [BZ #14036]
15964 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15965 (__ieee754_expl): Allow for and saturate large arguments.
15966 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15967 (u_threshold): Likewise.
15968 (__exp): Call __ieee754_exp before checking for overflow and
15969 underflow.
15970 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15971 (u_threshold): Likewise.
15972 (__expf): Call __ieee754_expf before checking for overflow and
15973 underflow.
15974 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15975 (u_threshold): Likewise.
15976 (__expl): Call __ieee754_expl before checking for overflow and
15977 underflow.
15978 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15979 (__ieee754_expl): Allow for and saturate large arguments.
15980 * math/libm-test.inc (exp_test): Add another test. Do not allow
15981 missing overflow exception on overflow.
15982 (expm1_test): Do not allow missing overflow exception on overflow.
15983
6698b8bf
JM
15984 * sysdeps/i386/fpu/e_expl.c: Move to ...
15985 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15986 rather than using inline asm.
15987 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15988 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15989 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15990
7b17aeda
JM
15991 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15992 (nice): Likewise.
15993 (poll): Likewise.
15994 (signal): Likewise.
15995 (time): Likewise.
15996 (times): Likewise.
15997
f7c85819
JM
159982012-05-04 Joseph Myers <joseph@codesourcery.com>
15999
16000 * sysdeps/unix/syscalls.list (adjtime): Add entry from
16001 sysdeps/unix/common/syscalls.list.
16002 (fchmod): Likewise.
16003 (fchown): Likewise.
16004 (ftruncate): Likewise.
16005 (getrusage): Likewise.
16006 (gettimeofday): Likewise.
16007 (setpgid): Likewise.
16008 (setregid): Likewise.
16009 (setreuid): Likewise.
16010 (sigaction): Likewise.
16011 (truncate): Likewise.
16012 (vhangup): Likewise.
16013 * sysdeps/unix/common/syscalls.list: Remove file.
16014 * sysdeps/unix/bsd/Implies: Don't include unix/common.
16015 * sysdeps/unix/sysv/linux/Implies: Likewise.
16016
336270d0
L
160172012-05-04 H.J. Lu <hongjiu.lu@intel.com>
16018
16019 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
16020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
16021 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
16022 Moved to ...
16023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16024 Here.
16025 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16026 to ...
16027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16028 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16029 to ...
16030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16031 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16032 to ...
16033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16034 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16035 to ...
16036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16037 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16038 to ...
16039 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16040 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16041 to ...
16042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16043 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16044 to ...
16045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16046 Here.
16047 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16048 to ...
16049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16050 Here.
16051 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16052 to ...
16053 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16054 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16055 Moved to ...
16056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16057 Here.
16058 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16059 to ...
16060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16061
d128e450
JM
160622012-05-04 Joseph Myers <joseph@codesourcery.com>
16063
fa8ee516
JM
16064 * sysdeps/unix/common/bits/dirent.h: Remove file.
16065 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16066
d128e450
JM
16067 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16068 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16069 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16070 * sysdeps/unix/bsd/isatty.c: Likewise.
16071 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16072 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16073 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16074
ff8faaf0 160752012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16076
62881be4 16077 [BZ #13563]
31dc8730
AZ
16078 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16079 long double comparison inaccuracies.
16080 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16082
6fef930c
AS
160832012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16084
16085 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16086 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16087
8f203e6c
JM
160882012-05-04 Joseph Myers <joseph@codesourcery.com>
16089
16090 [BZ #14049]
16091 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16092 nonzero digits before rounding a hex value.
16093 * stdlib/tst-strtod.c (tests): Add another test.
16094
5197d9c2
AK
160952012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16096
16097 * sysdeps/s390/fpu/libm-test-ulps: Update.
16098
f0c1dedf
AJ
160992012-05-03 Andreas Jaeger <aj@suse.de>
16100
16101 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16102 does not get optimized out.
16103 (malloc_opt_barrier): New.
16104
a65ef2ae 161052012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16106 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16107
2b942cb7 16108 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16109 intermediate file deletion.
2b942cb7 16110 (generated): Add .symlist files.
a65ef2ae 16111
54b71e02
JM
161122012-05-03 Joseph Myers <joseph@codesourcery.com>
16113
16114 [BZ #13775]
16115 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16116 Redirect under this condition.
16117 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16118 [__USE_GNU] (__dprintf_chk): Not under this condition.
16119 [__USE_GNU] (__vdprintf_chk): Likewise.
16120 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16121 under this condition.
16122 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16123 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16124 [__USE_XOPEN2K8] (vdprintf): Likewise.
16125 [__USE_GNU] (__dprintf_chk): Not under this condition.
16126 [__USE_GNU] (__vdprintf_chk): Likewise.
16127 [__USE_GNU] (dprintf): Likewise.
16128 [__USE_GNU] (vdprintf): Likewise.
16129
d3dfcc41
RM
161302012-05-03 Roland McGrath <roland@hack.frob.com>
16131
16132 * elf/Makefile (common-generated): Set this instead of generated for
16133 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16134 $(all-built-dso)-derived lists.
16135
7ac30cc5
AJ
161362012-05-03 Andreas Jaeger <aj@suse.de>
16137
0c51e550
AJ
16138 * sysdeps/i386/fpu/libm-test-ulps: Update.
16139
7ac30cc5
AJ
16140 * FAQ: Removed.
16141 * FAQ.in: Likewise.
16142 * scripts/gen-FAQ.pl: Likewise.
16143 * manual/install.texi (Installation): Point to online location of
16144 FAQ.
16145 * Makefile (files-for-dist): Remove FAQ.
16146 (FAQ): Remove.
16147
d4c2917f
AM
161482012-05-02 Allan McRae <allan@archlinux.org>
16149
16150 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16151 (LDFLAGS-reldepmod5.so): Likewise.
16152 (LDFLAGS-reldep6mod1.so): Likewise.
16153 (LDFLAGS-reldep6mod4.so): Likewise.
16154 (LDFLAGS-reldep8mod3.so): Likewise.
16155 (LDFLAGS-unload4mod1.so): Likewise.
16156 (LDFLAGS-unload4mod2.so): Likewise.
16157 (LDFLAGS-tst-initorder): Likewise.
16158 (LDFLAGS-tst-initordera2.so): Likewise.
16159 (LDFLAGS-tst-initordera3.so): Likewise.
16160 (LDFLAGS-tst-initordera4.so): Likewise.
16161 (LDFLAGS-tst-initorderb2.so): Likewise.
16162 (LDFLAGS-noload): Likewise.
16163 (LDFLAGS-next): Likewise.
16164 (LDFLAGS-order2mod1.so): Likewise.
16165 (LDFLAGS-order2mod2.so): Likewise.
16166 (LDFLAGS-tst-initorder2): Likewise.
16167 (LDFLAGS-tst-initorder2a.so): Likewise.
16168 (LDFLAGS-tst-initorder2b.so): Likewise.
16169 (LDFLAGS-tst-initorder2c.so): Likewise.
16170 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16171
d77f993f
DM
161722012-05-02 David S. Miller <davem@davemloft.net>
16173
16174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16175
171a70b4
PP
161762012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16177
16178 [BZ #14055]
16179 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16180
0be196ad
AJ
161812012-05-02 Andreas Jaeger <aj@suse.de>
16182
16183 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16184 since we manipulate rounding mode.
16185 (CPPFLAGS-test-idouble.c): Likewise.
16186 (CPPFLAGS-test-ifloat.c): Likewise.
16187 (CFLAGS-test-ldouble.c): Likewise.
16188 (CFLAGS-test-double.c): Likewise.
16189 (CFLAGS-test-float.c): Likewise.
16190 (CFLAGS-test-misc.c): Likewise.
16191 (CFLAGS-test-test-fenv.c): Likewise.
16192
4f9d04aa
AZ
161932012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16194
2b942cb7
RM
16195 [BZ #2550]
16196 [BZ #2570]
16197 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16198 comparisons to determine direction to adjust input.
4f9d04aa 16199
82a79e7d
RM
162002012-05-01 Roland McGrath <roland@hack.frob.com>
16201
f5a01ca9
RM
16202 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16203 output to the target.
16204
90fe4186
RM
16205 * scripts/localplt.awk: New file.
16206 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16207 (check-localplt-CFLAGS): Variable removed.
16208 ($(all-built-dso:=.jmprel)): New static pattern rule.
16209 (generated): Add those targets.
16210 (localplt-built-dso): New variable.
16211 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16212
16213 * elf/check-localplt.c: File removed.
16214
82397ed6
RM
16215 * scripts/check-execstack.awk: New file.
16216 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16217 (check-execstack-CFLAGS): Variable removed.
16218 ($(objpfx)check-execstack.h): Target removed.
16219 ($(objpfx)execstack-default): New target.
16220 (generated): Add that instead of check-execstack.h.
16221 ($(all-built-dso:=.phdr)): New static pattern rule.
16222 (generated): Add those targets.
16223 * elf/check-execstack.c: File removed.
16224
82a79e7d
RM
16225 * scripts/check-textrel.awk: New file.
16226 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16227 (check-textrel-CFLAGS): Variable removed.
16228 (all-built-dso): Use := to define.o
16229 ($(all-built-dso:=.dyn)): New static pattern rule.
16230 (generated): Add those targets.
16231 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16232 * config.make.in (READELF): New substituted variable.
16233 * elf/check-textrel.c: File removed.
16234
62fde54f 162352012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16236
615605c9
JM
16237 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16238 allow.
16239 * conform/data/ctype.h-data [C99-based standards] (isblank):
16240 Expect function.
16241 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16242 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16244 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16245 Specify type. Require positive value.
16246 (EILSEQ): Likewise.
16247 (ERANGE): Likewise.
16248 [ISO || POSIX] (EILSEQ): Do not expect.
16249 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16250 Specify type. Require positive value.
16251 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16257 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16259 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16260 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16267 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16268 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16269 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16270 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16271 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16276 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16277 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16278 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16287 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16288 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16289 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16290 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16296 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16297 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16299 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16300 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16301 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16302 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16303 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16304 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16305 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16306 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16307 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16308 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16309 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16310 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16311 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16312 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16313 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16314 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16315 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16316 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16317 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16318 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16319 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16320 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16321 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16322 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16323 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16324 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16325 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16326 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16327 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16328 Require >= 2.
16329 (FLT_ROUNDS): Expect as macro, not constant.
16330 (FLT_MANT_DIG): Use macro-int-constant.
16331 (DBL_MANT_DIG): Likewise.
16332 (LDBL_MANT_DIG): Likewise.
16333 (FLT_DIG): Likewise.
16334 (DBL_DIG): Likewise.
16335 (LDBL_DIG): Likewise.
16336 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16337 (DBL_MIN_EXP): Likewise.
16338 (LDBL_MIN_EXP): Likewise.
16339 (FLT_MAX_EXP): Use macro-int-constant.
16340 (DBL_MAX_EXP): Likewise.
16341 (LDBL_MAX_EXP): Likewise.
16342 (FLT_MAX_10_EXP): Likewise.
16343 (DBL_MAX_10_EXP): Likewise.
16344 (LDBL_MAX_10_EXP): Likewise.
16345 (FLT_MAX): Use macro-constant.
16346 (DBL_MAX): Likewise.
16347 (LDBL_MAX): Likewise.
16348 (FLT_EPSILON): Use macro-constant. Give upper bound.
16349 (DBL_EPSILON): Likewise.
16350 (LDBL_EPSILON): Likewise.
16351 (FLT_MIN): Likewise.
16352 (DBL_MIN): Likewise.
16353 (LDBL_MIN): Likewise.
16354 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16355 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16356 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16357 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16358 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16359 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16360 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16361 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16362 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16363 [ISO11] (FLT_TRUE_MIN): Likewise.
16364 [ISO11] (LDBL_TRUE_MIN): Likewise.
16365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16366 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16367 (SCHAR_MIN): Use macro-int-constant. Specify type.
16368 (SCHAR_MAX): Likewise.
16369 (UCHAR_MAX): Likewise.
16370 (CHAR_MIN): Likewise.
16371 (CHAR_MAX): Likewise.
16372 (MB_LEN_MAX): Use macro-int-constant.
16373 (SHRT_MIN): Use macro-int-constant. Specify type.
16374 (SHRT_MAX): Likewise.
16375 (USHRT_MAX): Likewise.
16376 (INT_MAX): Likewise.
16377 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16378 bound negative.
16379 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16380 bound with "U".
16381 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16382 bound with "L".
16383 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16384 bound negative. Suffix upper bound with "L".
16385 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16386 bound with "UL".
16387 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16388 Specify type.
16389 [C99-based standards] (LLONG_MAX): Likewise.
16390 [C99-based standards] (ULLONG_MAX): Likewise.
16391 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16392 == 0.
16393 [ISO11] (max_align_t): Require type.
16394 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16395
c9140a62
JM
16396 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16397 from $CFLAGS, without defining away __attribute__ calls.
16398 (checknamespace): Use $CFLAGS_namespace.
16399
9af0bf29
JM
16400 * conform/conformtest.pl (@keywords): Only include C99 keywords
16401 for standards based on C99 or C11.
16402
343222a2
JM
16403 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16404 Disable tests.
16405 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16406 UNIX98]: Likewise.
16407
661f8cf0
JM
16408 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16409 usability of symbols in #if.
16410
ee74b9cb
JM
16411 * conform/conformtest.pl: If macro or constant types start
16412 "promoted:", expect the symbol to be of the following type
16413 promoted by the integer promotions.
62fde54f 16414
aafc49b3
JM
16415 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16416 in one place. Also handle "macro-constant".
16417
fefdf574
JM
16418 * conform/conformtest.pl: Only accept expected macro values with
16419 "==". Parse all "macro" lines in one place.
16420 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16421
f2d922fe
JM
16422 * conform/conformtest.pl: Handle braced types on "constant" lines
16423 instead of handling "typed-constant".
16424 * conform/data/signal.h-data: Use "constant" instead of
16425 "typed-constant".
16426
d22956c9
JM
16427 * conform/conformtest.pl: Handle "optional-" at start of lines in
16428 one place rather than duplicating several cases. Handle each
16429 format of "macro" line with initial "optional-".
16430
028e2e38
JM
16431 * conform/conformtest.pl: Only accept expected constant or
16432 optional-constant values with "==". Parse all "constant" lines in
16433 one place. Parse all "optional-constant" lines in one place.
16434 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16435 * conform/data/fmtmsg.h-data: Likewise.
16436 * conform/data/netinet/in.h-data: Likewise.
16437 * conform/data/tar.h-data: Likewise.
16438 * conform/data/limits.h-data: Use "==" form on "constant" and
16439 "optional-constant" lines.
16440
1b8f2850
JM
16441 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16442 Use -std=c99 for XOPEN2K.
16443 (@knownproblems): Remove.
16444 (newtoken): Don't check %isknown.
16445
a05a144b
JM
16446 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16447 Do not expect macro.
16448 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16449 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16450 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16451 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16452 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16453 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16454 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16455 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16456 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16457 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16458 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16459 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16460 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16461 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16463 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16464 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16467 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16468 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16469 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16470 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16471 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16472 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16473 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16474 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16475 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16476 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16478 [XPG3] (acosh): Likewise.
16479 [XPG3] (asinh): Likewise.
16480 [XPG3] (atanh): Likewise.
16481 [XPG3] (cbrt): Likewise.
16482 [XPG3] (expm1): Likewise.
16483 [XPG3] (ilogb): Likewise.
16484 [XPG3] (log1p): Likewise.
16485 [XPG3] (logb): Likewise.
16486 [XPG3] (nextafter): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16489 [XPG3] (remainder): Likewise.
16490 [XPG3] (rint): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16498 [UNIX98 || XOPEN2K] (scalb): Expect.
16499 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16500 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16585 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16586 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16587 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16588 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16589 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16590 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16591 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16592 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16604 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16605 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16606 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16607 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16608 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16609 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16610 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16611 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16612 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16613 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16614 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16615 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16616 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16617 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16618 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16619 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16620 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16621 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16622 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16623 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16624 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16625 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16626 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16627 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16628 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16629 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16630 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16631 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16632 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16633 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16634 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16635 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16636
73c5ebe3
JM
16637 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16638 _XOPEN_SOURCE_EXTENDED for XPG4.
16639
39c33b6c
JM
16640 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16641
62fde54f
JM
16642 * Makeconfig (localtime): Remove variable.
16643 (inst_localtime-file): Likewise.
16644
0741d64c
AS
166452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16646
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16648 Update.
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16650 Update.
16651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16652 Update.
16653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16654 Update.
16655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16656 Update.
16657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16658 Update.
16659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16660 Update.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16662 Update.
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16664 Update.
16665
7cb029ee
JM
166662012-05-01 Joseph Myers <joseph@codesourcery.com>
16667
16668 [BZ #2550]
16669 [BZ #2570]
16670 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16671 comparisons to determine direction to adjust input.
16672 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16673 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16675 Likewise.
16676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16677 Likewise.
16678 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16679 Likewise.
16680 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16681 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16682 Likewise.
16683 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16684 Likewise.
16685 * math/libm-test.inc (nexttoward_test): Add more tests.
16686
412bd966
AS
166872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16688
16689 [BZ #14040]
16690 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16691 in version GLIBC_2.1, not GLIBC_2.0.
16692 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16693 Likewise.
16694
9568c0c2
JM
166952012-04-30 Joseph Myers <joseph@codesourcery.com>
16696
adfbc8ac
JM
16697 [BZ #13942]
16698 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16699 (1 - x) * (1 + x).
16700 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16701 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16702 * math/libm-test.inc (acos_test): Add more tests.
16703 (asin_test): Likewise.
16704 * sysdeps/i386/fpu/libm-test-ulps: Update.
16705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16706
5ba3cc69
JM
16707 [BZ #14034]
16708 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16709 of square root.
16710 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16711 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16712 * math/libm-test.inc (acos_test_tonearest): New function.
16713 (acos_test_towardzero): Likewise.
16714 (acos_test_downward): Likewise.
16715 (acos_test_upward): Likewise.
16716 (asin_test_tonearest): Likewise.
16717 (asin_test_towardzero): Likewise.
16718 (asin_test_downward): Likewise.
16719 (asin_test_upward): Likewise.
16720 (main): Call the new functions.
16721 * sysdeps/i386/fpu/libm-test-ulps: Update.
16722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16723
9568c0c2
JM
16724 [BZ #13884]
16725 [BZ #13924]
16726 * math/e_exp10.c: Include <float.h>.
16727 (__ieee754_exp10): Handle underflow here rather than multiplying
16728 large negative argument by M_LN10.
16729 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16730 of __ieee754_expf.
16731 * math/e_exp10l.c: Include <float.h>.
16732 (__ieee754_exp10l): Handle underflow here rather than multiplying
16733 large negative argument by M_LN10l.
16734 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16735 spurious overflow exception on underflow.
16736
5ac3ea17
MP
167372012-04-29 Marek Polacek <polacek@redhat.com>
16738
16739 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16740 (__fortify_function): New macro.
16741 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16742 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16743 __extern_always_inline.
16744 * libio/bits/stdio2.h: Likewise.
16745 * libio/bits/stdio.h: Likewise.
16746 * string/string.h: Likewise.
16747 * string/bits/string3.h: Likewise.
16748 * include/stdio.h: Likewise.
16749 * stdlib/bits/stdlib.h: Likewise.
16750 * stdlib/stdlib.h: Likewise.
16751 * rt/bits/mqueue2.h: Likewise.
16752 * rt/mqueue.h: Likewise.
16753 * posix/bits/unistd.h: Likewise.
16754 * posix/unistd.h: Likewise.
16755 * io/bits/poll2.h: Likewise.
16756 * io/bits/fcntl2.h: Likewise.
16757 * io/fcntl.h: Likewise.
16758 * io/sys/poll.h: Likewise.
16759 * misc/bits/syslog.h: Likewise.
16760 * misc/bits/syslog-ldbl.h: Likewise.
16761 * misc/sys/syslog.h: Likewise.
16762 * socket/bits/socket2.h: Likewise.
16763 * socket/sys/socket.h: Likewise.
16764 * debug/tst-chk1.c: Likewise.
16765 * wcsmbs/bits/wchar2.h: Likewise.
16766 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16767 * wcsmbs/wchar.h: Likewise.
16768
ecf0ebfb
AJ
167692012-04-29 Andreas Jaeger <aj@suse.de>
16770
16771 * Makerules (tests): Remove enable-check-abi protection.
16772 (check-abi-warn): Remove.
16773 (check-abi-%): Remove check-abi-warn usage.
16774
16775 * configure.in: Remove check-abi configure option.
16776 * configure: Regenerated.
16777 * config.make.in (enable-check-abi): Remove.
16778
6d5c57fa
AS
167792012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16780
24c5d07e 16781 [BZ #14033]
ded5180a
AS
16782 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16783 double functions to double *_finite functions.
16784
7e0d315d
AS
16785 [BZ #13941]
16786 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16787 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16788 LDBL_MIN_EXP.
16789 * stdio-common/Makefile (tests): Add tst-sprintf3.
16790 * stdio-common/tst-sprintf3.c: New file.
16791
6d5c57fa
AS
16792 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16793 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16794
0749ff8b
JM
167952012-04-28 Joseph Myers <joseph@codesourcery.com>
16796
16797 * conform/conformtest.pl: Remove duplicate typed-constant
16798 handling.
16799
8dbd5d7b
DM
168002012-04-28 David S. Miller <davem@davemloft.net>
16801
16802 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16803 (check-abi-%): Remove AWK script prerequisite and explicit
16804 abilist directory.
16805 (check-abi): Rewrite to just diff the symlist with the abilist.
16806 (config-tls, config-abi-config): Delete, no longer used.
16807 (update-abi-%): Remove AWK script and explicit abilist directory.
16808 (update-abi): Rewrite to simply compare and conditionally copy the
16809 symlist and the sysdep abilist file. Remove update-abi-config
16810 checks.
16811 * abilist/ld.abilist: Remove.
16812 * abilist/libBrokenLocale.abilist: Remove.
16813 * abilist/libanl.abilist: Remove.
16814 * abilist/libcrypt.abilist: Remove.
16815 * abilist/libdl.abilist: Remove.
16816 * abilist/librt.abilist: Remove.
16817 * abilist/libthread_db.abilist: Remove.
16818 * abilist/libutil.abilist: Remove.
16819 * scripts/extract-abilist.awk: Remove.
16820 * scripts/merge-abilist.awk: Remove.
16821 * sysdeps/generic/libcidn.abilist: New file.
16822 * sysdeps/generic/libnss_compat.abilist: New file.
16823 * sysdeps/generic/libnss_db.abilist: New file.
16824 * sysdeps/generic/libnss_dns.abilist: New file.
16825 * sysdeps/generic/libnss_files.abilist: New file.
16826 * sysdeps/generic/libnss_hesiod.abilist: New file.
16827 * sysdeps/generic/libnss_nis.abilist: New file.
16828 * sysdeps/generic/libnss_nisplus.abilist: New file.
16829 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16830 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16831 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16832 file.
16833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16834 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16835 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16836 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16837 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16838 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16839 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16840 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16841 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16842 file.
16843 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16844 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16845 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16846 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16847 file.
16848 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16849 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16850 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16851 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16852 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16853 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16854 file.
16855 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16856 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16857 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16858 file.
16859 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16861 New file.
16862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16863 New file.
16864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16865 New file.
16866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16867 New file.
16868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16869 New file.
16870 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16871 New file.
16872 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16873 New file.
16874 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16875 New file.
16876 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16877 New file.
16878 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16879 New file.
16880 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16881 New file.
16882 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16883 New file.
16884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16885 New file.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16887 file.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16889 New file.
16890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16891 New file.
16892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16893 file.
16894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16895 New file.
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16897 New file.
16898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16899 file.
16900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16901 New file.
16902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16903 New file.
16904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16905 New file.
16906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16907 New file.
16908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16909 New file.
16910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16911 New file.
16912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16914 file.
16915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16916 New file.
16917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16918 file.
16919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16920 file.
16921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16922 file.
16923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16924 file.
16925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16926 file.
16927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16928 New file.
16929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16930 file.
16931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16932 file.
16933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16934 New file.
16935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16936 file.
16937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16939 file.
16940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16941 New file.
16942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16943 file.
16944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16945 file.
16946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16947 file.
16948 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16949 file.
16950 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16951 file.
16952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16953 New file.
16954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16955 file.
16956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16957 file.
16958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16959 New file.
16960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16961 file.
16962 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16963 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16964 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16965 file.
16966 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16967 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16968 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16969 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16970 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16971 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16972 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16973 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16974 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16975 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16978 file.
16979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16980 New file.
16981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16982 file.
16983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16984 file.
16985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16986 file.
16987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16988 file.
16989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16990 file.
16991 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16992 New file.
16993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16994 New file.
16995 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16996 file.
16997 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16998 New file.
16999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
17000 file.
17001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
17002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
17003 file.
17004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17005 New file.
17006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
17007 file.
17008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
17009 file.
17010 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
17011 file.
17012 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
17013 file.
17014 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
17015 file.
17016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17017 New file.
17018 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17019 New file.
17020 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
17021 file.
17022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17023 New file.
17024 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
17025 file.
17026
41d73a1b
JM
170272012-04-28 Joseph Myers <joseph@codesourcery.com>
17028
17029 * conform/conformtest.pl: Fix typo in handling typed-constant from
17030 allow-header.
17031
28aeeda4
JM
170322012-04-27 Joseph Myers <joseph@codesourcery.com>
17033
adae8f5e
JM
17034 * README: Cut down references to pre-2.6 Linux kernels and
17035 Linuxthreads. Update lists of configurations in libc and ports
17036 and sort alphabetically. Say "or newer" with Linux kernel version
17037 requirements.
17038
28aeeda4
JM
17039 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17040
a462cb63
RA
170412012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17042
17043 [BZ #887]
17044 * math/libm-test.inc (logb_test_downward): New test to expose
17045 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17046 rounding mode.
17047
6ad3493e
JM
170482012-04-27 Joseph Myers <joseph@codesourcery.com>
17049
17050 [BZ #14027]
17051 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17052 to be done.
17053 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17054 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17055
2ce4f015
JM
170562012-04-26 Joseph Myers <joseph@codesourcery.com>
17057
5aeb141a
JM
17058 * sysdeps/unix/i386/brk.S: Remove file.
17059 * sysdeps/unix/i386/dl-brk.S: Likewise.
17060 * sysdeps/unix/i386/pipe.S: Likewise.
17061 * sysdeps/unix/i386/sigreturn.S: Likewise.
17062 * sysdeps/unix/i386/syscall.S: Likewise.
17063 * sysdeps/unix/i386/vfork.S: Likewise.
17064 * sysdeps/unix/i386/wait.S: Likewise.
17065
7143acae
JM
17066 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17067 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17068
2ce4f015
JM
17069 * configure.in (arm*-none*): Do not allow without
17070 --enable-hacker-mode.
17071 (netbsd*): Remove case setting base_os.
17072 (386bsd*): Likewise.
17073 (freebsd*): Likewise.
17074 (bsdi*): Likewise.
17075 (osf*): Likewise.
17076 (sunos*): Likewise.
17077 (ultrix*): Likewise.
17078 (newsos*): Likewise.
17079 (dynix*): Likewise.
17080 (*bsd*): Likewise.
17081 (sysv*): Likewise.
17082 (isc*): Likewise.
17083 (esix*): Likewise.
17084 (sco*): Likewise.
17085 (minix*): Likewise.
17086 (irix4*): Likewise.
17087 (irix6*): Likewise.
17088 (solaris[2-9]*): Likewise.
17089 (none): Likewise.
17090 * configure: Regenerated.
17091
0ac229c8
AZ
170922012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17093
17094 [BZ #11521]
17095 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17096 overflow or cancellation in calculating denominator.
17097 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17098 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17099 down expression to avoid unexpected rounding in newer GCCs.
17100 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17101
33f244f4
DM
171022012-04-26 David S. Miller <davem@davemloft.net>
17103
17104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17105 long-double compat symbols.
17106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17119
cfa1f3e8
DM
171202012-04-25 David S. Miller <davem@davemloft.net>
17121
17122 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17123 HWCAP_* values only after the memory barriers have been defined.
17124 (atomic_full_barrier): Define.
17125 (atomic_read_barrier): Define.
17126 (atomic_write_barrier): Define.
17127
6e236b92
SP
171282012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17129
17130 * shlib-versions: Add libgcc_s version information.
17131 * sysdeps/generic/libgcc_s.h: Remove.
17132 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17133 libgcc_s.h.
17134 * sysdeps/gnu/unwind-resume.c: Likewise.
17135 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17136
aab39a09
DM
171372012-04-25 David S. Miller <davem@davemloft.net>
17138
17139 * sysdeps/unix/sparc/brk.S: Delete.
17140 * sysdeps/unix/sparc/dl-brk.S: Delete.
17141 * sysdeps/unix/sparc/pipe.S: Delete.
17142 * sysdeps/unix/sparc/sysdep.S: Delete.
17143 * sysdeps/unix/sparc/sysdep.h: Delete.
17144 * sysdeps/unix/sparc/vfork.S: Delete.
17145 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17146 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17147 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17148 ret_ERRVAL, r0, r1, MOVE): Define.
17149 (JUMPTARGET): Remove.
17150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17151 sysdeps/unix/sparc/sysdep.h
17152 (ENTRY, END): Remove.
17153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17154
a3cc4f48
JM
171552012-04-25 Joseph Myers <joseph@codesourcery.com>
17156
2ed8cda2
JM
17157 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17158 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17159 -DIS_IN_build.
17160
35d76d59
JM
17161 * timezone/README: Update upstream location and email address for
17162 tzcode and tzdata.
17163 * timezone/zdump.c: Update from tzcode 2012b.
17164 * timezone/zic.c: Likewise.
17165
a3cc4f48
JM
17166 * configure.in (libc_cv_as_needed): Remove test.
17167 * configure: Regenerated.
17168 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17169 conditional definition.
17170 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17171 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17172 * config.make.in (have-as-needed): Remove variable.
17173
ceab42c3
SP
171742012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17175 Paul Pluzhnikov <ppluzhnikov@google.com>
17176
17177 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17178 strings correctly.
17179
3ce2865f
CLT
171802012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17181
17182 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17183 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17184 * sysdeps/sh/strlen.S: Likewise.
17185
f37e0d68
JM
171862012-04-24 Joseph Myers <joseph@codesourcery.com>
17187
ae186e9a
JM
17188 * sysdeps/unix/fork.S: Remove file.
17189 * sysdeps/unix/i386/fork.S: Likewise.
17190 * sysdeps/unix/sparc/fork.S: Likewise.
17191
b96914af
JM
17192 * sysdeps/unix/system.c: Remove file.
17193 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17194
f37e0d68
JM
17195 * sysdeps/unix/getegid.S: Remove file.
17196 * sysdeps/unix/geteuid.S: Likewise.
17197
87ef29ca
RM
171982012-04-24 Roland McGrath <roland@hack.frob.com>
17199
83bcd236
RM
17200 * scripts/check-localplt.awk: New file.
17201 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17202 of diff.
17203 * scripts/data/localplt-generic.data: Add a comment.
17204
87ef29ca
RM
17205 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17206 NODE when __dir_mkfile failed.
17207 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17208 Reported by Ludovic Courtès <ludo@gnu.org>.
17209
e5a6e567
AJ
172102012-04-24 Andreas Jaeger <aj@suse.de>
17211
17212 * Makerules (common-clean): Also remove gen-as-const-headers
17213 files.
17214
c1820385
JM
172152012-04-24 Joseph Myers <joseph@codesourcery.com>
17216
17217 * Makerules (native-compile): Do not change working directory for
17218 build. Use $(OUTPUT_OPTION) in command.
17219 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17220
94e02fc4
AZ
172212012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17222
17223 [BZ #13886]
17224 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17225 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17226 * math/libm-test.inc (floor_test): Add more tests.
17227 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17228
3a533ca3
JM
172292012-04-24 Joseph Myers <joseph@codesourcery.com>
17230
940ab4b3
JM
17231 * sysdeps/unix/getdents.c: Remove file.
17232 * sysdeps/unix/sysv/getdents.c: Likewise.
17233 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17234
90e037bd
JM
17235 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17236 sysdeps/unix/mman/syscalls.list.
17237 (mmap): Likewise.
17238 (mprotect): Likewise.
17239 (msync): Likewise.
17240 (munmap): Likewise.
17241 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17242 * sysdeps/unix/mman/syscalls.list: Remove.
17243 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17244
3a533ca3
JM
17245 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17246 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17247 * configure: Regenerated.
17248 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17249 $(libgcc_s_suffix).
17250 * config.make.in (libgcc_s_suffix): Remove variable.
17251
1ad743de
JM
172522012-04-23 Joseph Myers <joseph@codesourcery.com>
17253
4ad451e2
JM
17254 * sysdeps/unix/sysv/gethostname.c: Move to ...
17255 * sysdeps/posix/gethostname.c: ... here.
17256
5e37ce39
JM
17257 * sysdeps/unix/execve.S: Remove file.
17258
1ad743de
JM
17259 * sysdeps/unix/_exit.S: Remove file.
17260
4e681b5b
AJ
172612012-04-23 Andreas Jaeger <aj@suse.de>
17262
17263 [BZ #13739]
17264 * manual/Makefile: Remove make dist support, there's no
17265 need for a stand-alone documentation tar ball.
17266 (TEXI2DVI): Define always, it's not in Makeconfig.
17267 (dist): Removed.
17268 (tar-it): Removed.
17269 (edition): Removed.
17270 (glibc-doc-$(edition).tar): Removed
17271 (%.Z): Removed.
17272 (%.gz): Removed.
17273 (%.uu): Removed.
17274 (ETAGS): Remove, it's in Makeconfig.
17275 (move-if-change): Remove, it's in Makeconfig.
17276
38686a03 172772012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17278
17279 [BZ #13970]
17280 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17281 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17282 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17283 (strtod_l, strtof_l, strtold_l): Remove __wur.
17284 It is not necessarily an error to ignore strtol's return value.
17285 One can reliably look at the stored endptr to decide whether
17286 the number had valid syntax.
17287
7c0616fa
AJ
172882012-04-21 Andreas Jaeger <aj@suse.de>
17289
803cb6b7 17290 [BZ #13739]
7c0616fa
AJ
17291 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17292
b0fe253f
JM
172932012-04-21 Joseph Myers <joseph@codesourcery.com>
17294
17295 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17296 * sysdeps/unix/sysv/Versions: Remove file.
17297
8280f22d
MT
172982012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17299
17300 [BZ #13927]
17301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17302
75ce411f 173032012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17304
17305 [BZ #7064]
17306 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17307 version from __vm86.
17308
097d59fa
JM
173092012-04-20 Joseph Myers <joseph@codesourcery.com>
17310
a90f3bcb
JM
17311 * sysdeps/unix/common/lxstat.c: Remove file.
17312 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17313
edc7ea78
JM
17314 * sysdeps/unix/sysv/Makefile: Remove file.
17315
cb78c221
JM
17316 * sysdeps/unix/sysv/direct.h: Remove file.
17317
efa6a45f
JM
17318 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17319 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17320 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17321 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17322 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17323 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17324 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17325
9c9f2d0c
JM
17326 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17327
4541c83b
JM
17328 * sysdeps/unix/xmknod.c: Remove file.
17329 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17330
f5d153a0
JM
17331 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17332
aa746595
JM
17333 * sysdeps/unix/sysv/i386/time.S: Remove file.
17334
cce5905e
JM
17335 * sysdeps/unix/fxstat.c: Remove file.
17336 * sysdeps/unix/xstat.c: Likewise.
17337 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17338
37fa3841
JM
17339 * sysdeps/unix/sysv/sigaction.c: Remove file.
17340
ff1962a3
JM
17341 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17342 (sysdep_headers): Remove variable.
17343 [termio.h not in sysdep_headers] (generated): Likewise.
17344 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17345 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17346 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17347 * sysdeps/unix/sysv/tcflow.c: Likewise.
17348 * sysdeps/unix/sysv/tcflush.c: Likewise.
17349 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17350 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17351 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17352 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17353 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17354
e7740d31
JM
17355 * sysdeps/unix/siglist.c: Remove file.
17356
ee06f18b
JM
17357 * sysdeps/unix/getppid.S: Remove file.
17358
097d59fa
JM
17359 * sysdeps/unix/mkdir.c: Remove file.
17360 * sysdeps/unix/rmdir.c: Likewise.
17361
ff3d51ec
AS
173622012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17363
17364 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17365 ERR_MAX value.
17366 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17367 errlist-compat value.
17368
50f81fd7
DM
173692012-04-18 David S. Miller <davem@davemloft.net>
17370
17371 * sysdeps/generic/memcopy.h (reg_char): Delete.
17372 * debug/strcat_chk.c: Use char, not reg_char.
17373 * debug/strcpy_chk.c: Likewise.
17374 * debug/strncat_chk.c: Likewise.
17375 * debug/strncpy_chk.c: Likewise.
17376 * string/memchr.c: Likewise.
17377 * string/memrchr.c: Likewise.
17378 * string/rawmemchr.c: Likewise.
17379 * string/strcat.c: Likewise.
17380 * string/strchr.c: Likewise.
17381 * string/strchrnul.c: Likewise.
17382 * string/strcmp.c: Likewise.
17383 * string/strcpy.c: Likewise.
17384 * string/strncat.c: Likewise.
17385 * string/strncmp.c: Likewise.
17386 * string/strncpy.c: Likewise.
17387
8ff41c46
WS
173882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17389
17390 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17391 __builtin_memcopy is called when src and dest ranges are known to not
17392 overlap.
17393
6b652f46
WS
173942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17395
17396 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17397 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17398 fwd_align_merge macro call.
17399 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17400 bwd_align_merge macro call.
17401 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17402
b282631e
WS
174032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17404
17405 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17406 bwd_align_merge macros.
17407 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17408 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17409 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17410
95aa737c
DM
174112012-04-18 David S. Miller <davem@davemloft.net>
17412
17413 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17414
7a99a614
AJ
174152012-04-18 Andreas Jaeger <aj@suse.de>
17416
17417 [BZ# 6794]
17418 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17419 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17420 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17421
17422 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17423 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17424 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17425
17426 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17427 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17428 Adjust for changed ldbl-128 files.
17429
17430 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17431 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17432 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17433
e5270c23
DM
174342012-04-17 David S. Miller <davem@davemloft.net>
17435
17436 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17437
fb5e92c9
AS
174382012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17439
17440 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17441 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17442 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17443 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17444 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17445 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17446
76da7265
AZ
174472012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17448
17449 [BZ #6794]
17450 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17451 * math/libm-test.inc: Add ilogb errno and exception tests.
17452 * math/w_ilogb.c: New file: ilogb wrapper.
17453 * math/w_ilogbf.c: New file: ilogbf wrapper.
17454 * math/w_ilogbl.c: New file: ilogbl wrapper.
17455 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17456 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17457 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17458 exception being thrown with 0.0 as argument.
17459 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17460 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17461 exception being thrown with 0.0 as argument.
17462 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17463 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17464 exception being thrown with 0.0 as argument.
17465 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17466 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17467 exception being thrown with 0.0 as argument.
17468 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17469 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17470 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17471 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17472 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17473 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17474 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17475 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17476 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17477
0396e69d
PB
174782012-04-17 Petr Baudis <pasky@ucw.cz>
17479
17480 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17481 with altivec.
17482
750b5926
MP
174832012-04-16 Marek Polacek <polacek@redhat.com>
17484
17485 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17486
751728a1
MP
174872012-04-16 Marek Polacek <polacek@redhat.com>
17488
17489 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17490 operands of fdivp instruction.
17491
34a27407
L
174922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17493
17494 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17495 * elf/tst-auditmod3b.c: Likewise.
17496 * elf/tst-auditmod4b.c: Likewise.
17497 * elf/tst-auditmod5b.c: Likewise.
17498 * elf/tst-auditmod6b.c: Likewise.
17499 * elf/tst-auditmod6c.c: Likewise.
17500 * elf/tst-auditmod7b.c: Likewise.
17501 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17502 * sysdeps/x86_64/preconfigure.in: Likewise.
17503 * sysdeps/x86_64/preconfigure: Regenerated.
17504
7e73e17d
L
175052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17506
17507 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17508 __ILP32__.
17509
c7a6ab72
AB
175102012-04-13 Antoine Balestrat <merkil33@gmail.com>
17511
17512 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17513 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17514
a9e8e0e0
CL
175152012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17516
17517 [BZ #13973]
17518 * locale/iso-639.def: Fix gl language name. Spotted by
17519 Yaron Shahrabani.
17520
ec98af7d
RM
175212012-04-12 Roland McGrath <roland@hack.frob.com>
17522
17523 [BZ #2074]
17524 * libio/libio.h (__io_write_fn): Update comment.
17525
247c3ede
PB
175262012-04-12 Petr Baudis <pasky@ucw.cz>
17527
17528 [BZ #2074]
17529 * stdio.texi (Hook Functions): The user provided writer function
17530 is not allowed to return -1.
17531
55939d6d
DM
175322012-04-11 David S. Miller <davem@davemloft.net>
17533
17534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17535
90020f5a
MF
175362012-04-11 Mike Frysinger <vapier@gentoo.org>
17537
17538 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17539 Add a leading slash to rtkaio.
17540
288f9098
JM
175412012-04-11 Jim Meyering <meyering@redhat.com>
17542
90020f5a
MF
17543 [BZ #11959]
17544 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17545 It is not necessarily an error to ignore fwrite's return
17546 value. One can reliably use ferror to test for errors after
17547 the fact.
288f9098 17548
4be2b570
L
175492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17550
17551 * bits/types.h (__snseconds_t): New type.
17552 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17553
17554 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17555 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17556 (__SNSECONDS_T_TYPE): Likewise.
17557 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17558 (__SNSECONDS_T_TYPE): Likewise.
17559 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17560 (__SNSECONDS_T_TYPE): Likewise.
17561
288f9098 175622012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17563
17564 [BZ #2636]
17565 * manual/time.texi (Processor Time): Return type of times is
17566 elapsed real time since an arbitrary point in the past.
17567 (CPU Time): Move CLK_TCK from here...
17568 (Processor Time): ...to here. Correct description.
17569 * manual/conf.texi (Constants for Sysconf): Correct description of
17570 _SC_CLK_TCK.
17571
d7dd4413
DM
175722012-04-10 David S. Miller <davem@davemloft.net>
17573
17574 [BZ #13967]
17575 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17576 where the is a gap between DT_REL(A) and DT_JMPREL.
17577
b46068fc
L
175782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17581 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17582 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17583
73d65cc3
SP
175842012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17585
17586 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17587 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17588 (dl_main): Handle --inhibit-cache.
17589 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17590 _dl_inhibit_cache.
17591 * elf/dl-load.c (_dl_map_object): Use it.
17592 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17593
bcc8d661
JM
175942012-04-09 Joseph Myers <joseph@codesourcery.com>
17595
8f9a2fae
JM
17596 [BZ #13872]
17597 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17598 (__ieee754_powl): Saturate large exponents rather than testing for
17599 overflow of y*log2(x).
17600 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17601 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17602 exceptions.
17603
bcc8d661
JM
17604 [BZ #11521]
17605 * math/s_ctan.c: Include <float.h>.
17606 (__ctan): Avoid internal overflow or cancellation in calculating
17607 denominator.
17608 * math/s_ctanf.c: Likewise.
17609 * math/s_ctanl.c: Likewise.
17610 * math/s_ctanh.c: Likewise.
17611 * math/s_ctanhf.c: Likewise.
17612 * math/s_ctanhl.c: Likewise.
17613 * math/libm-test.inc (ctan_test): Add more tests.
17614 (ctanh_test): Likewise.
17615 * sysdeps/i386/fpu/libm-test-ulps: Update.
17616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17617
823fbbb4
AJ
176182012-04-09 Andreas Jaeger <aj@suse.de>
17619
03879793
AJ
17620 [BZ #6894]
17621 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17622 is an optional BSD extension.
17623
823fbbb4
AJ
17624 [BZ #10254]
17625 * manual/stdio.texi (Opening Streams): Document additional fopen
17626 parameters.
17627
8de131cb
RM
176282012-04-09 Roland McGrath <roland@hack.frob.com>
17629
17630 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17631 %eax without telling the compiler.
17632
c0ed9d7d
CD
176332012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17634
17635 [BZ # 13963]
17636 * manual/install.texi: Use sourceware.org.
17637
c483f6b4
JM
176382012-04-09 Joseph Myers <joseph@codesourcery.com>
17639
d7dd9453
JM
17640 [BZ #13873]
17641 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17642 (__ieee754_pow): Generate overflow and underflow using huge*huge
17643 and tiny*tiny rather than just returning constant infinity or zero
17644 for large exponents.
17645 * math/libm-test.inc (pow_test): Require overflow exceptions for
17646 applicable cases of large exponents.
17647
c483f6b4
JM
17648 [BZ #706]
17649 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17650 (__ieee754_pow): Use iterative multiplication algorithm only for
17651 integer exponents with absolute value below 1024. Check for odd
17652 integer exponents when using algorithm for real exponents.
17653 * math/libm-test.inc (pow_test): Add more tests.
17654 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17655
d2de7579
JM
176562012-04-08 Joseph Myers <joseph@codesourcery.com>
17657
17658 [BZ #13705]
17659 * math/libm-test.inc (exp_test): Do not allow overflow exception
17660 on underflow test.
17661
f77f1232
AJ
176622012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17663
17664 [BZ #13705]
17665 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17666 instead of __kernel_standard_f.
17667
3884932b
MF
176682012-04-08 Mike Frysinger <vapier@gentoo.org>
17669
17670 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17671 * sysdeps/x86_64/memset_chk.S: Likewise.
17672
54472e9c
AJ
176732012-04-08 Andreas Jaeger <aj@suse.de>
17674
6ab0fbfc
AJ
17675 [BZ #10153]
17676 * manual/startup.texi (Environment Access): Describe return value
17677 for putenv and setenv.
17678
61efba8c
AJ
17679 [BZ #6895]
17680 * manual/filesys.texi (Directory Entries): Add description for
17681 DT_LNK.
17682
95c3f29a
AJ
17683 [BZ #6890]
17684 * manual/filesys.texi (Directory Entries): Clarify that it's file
17685 system not operating system in the description of DT_UNKNOWN.
17686
54472e9c
AJ
17687 [BZ #6578]
17688 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17689
624254b1
SC
176902012-04-08 Stephen Compall <s11@member.fsf.org>
17691
17692 [BZ #6649]
17693 * manual/llio.texi (Opening and Closing Files): Add cross
17694 reference to explain mode argument.
17695
1e4920e0
MF
176962012-04-07 Mike Frysinger <vapier@gentoo.org>
17697
17698 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17699 * sysdeps/x86_64/memset_chk.S: Likewise.
17700
5ed848f3
DM
177012012-04-07 David S. Miller <davem@davemloft.net>
17702
17703 * elf/elf.h (R_SPARC_WDISP10): Define.
17704 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17705 R_SPARC_SIZE32.
17706 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17707 R_SPARC_SIZE64 and R_SPARC_H34.
17708
96154cd8
CD
177092012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17710
17711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17712 conditions and remove no longer applicable assertion.
17713
9904dc47
L
177142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17715
17716 * bits/byteswap.h: Include <features.h>.
17717 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17718 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17719
f8887d0a
L
177202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17721
17722 * bits/byteswap.h (__bswap_16): Removed.
17723 Include <bits/byteswap-16.h> to get __bswap_16.
17724 * sysdeps/i386/bits/byteswap.h: Likewise.
17725 * sysdeps/s390/bits/byteswap.h: Likewise.
17726 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17727 * bits/byteswap-16.h: New file.
17728 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17729 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17730 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17731 * string/Makefile (headers): Add bits/byteswap-16.h.
17732
62470f60
PP
177332012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17734
17735 [BZ #13895]
17736 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17737 extra indirection.
17738 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17739 * nss/tst-nss-static.c: New.
17740
4dad7bab
RM
177412012-04-06 Robert Millan <rmh@gnu.org>
17742
17743 [BZ #6486]
17744 * manual/llio.texi (File Position Primitive): lseek
17745 refers to WHENCE when it really means OFFSET.
17746
e9142a17
AJ
177472012-04-06 Andreas Jaeger <aj@suse.de>
17748
2c040eff
AJ
17749 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17750 strncmp declarations.
17751
e9142a17
AJ
17752 * abilist/libc.abilist: Add __poll and __ppoll.
17753
ff9f1c5f
DM
177542012-04-05 David S. Miller <davem@davemloft.net>
17755
dcd2ae90
DM
17756 * scripts/check-local-headers.sh: Accept a host triplet in the
17757 path matched by the exclude regexp.
17758
993eb054
DM
17759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17760 definition.
17761 * sysdeps/powerpc/powerpc32/dl-machine.h
17762 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17763 * sysdeps/s390/s390-32/dl-machine.h
17764 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17765 * sysdeps/sparc/sparc32/dl-machine.h
17766 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17767 * sysdeps/sparc/sparc64/dl-machine.h
17768 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17769
ff9f1c5f
DM
17770 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17771 lazy binding.
48e2e132 17772 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17773 undefined symbol errors.
17774
48e2e132 17775 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17776 DT_NEEDED entries.
17777
e80d6f94
MM
177782012-04-05 Michael Matz <matz@suse.de>
17779
17780 [BZ #13592]
17781 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17782
349fa79f
AJ
177832012-04-05 Andreas Jaeger <aj@suse.de>
17784
17785 [BZ #13908]
17786 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17787 comment.
17788
f402708f
KK
177892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17790
17791 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17792 which ROUND is no valid rounding mode.
17793
2ecccfc9
KK
177942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17795
17796 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17797 read again.
17798 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17799
8a53f50f
KK
178002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17801
17802 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17803 an exception using FPU order intentionally.
17804
178052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17806
17807 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17808 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17809 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17810 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17811
d653abb7
SJ
178122012-04-05 Simon Josefsson <simon@josefsson.org>
17813
17814 [BZ #12340]
17815 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17816 EINVAL when BUFLEN is too smal.
17817
c3b1bf7d
TS
178182012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17819
17820 [BZ #13553]
17821 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17822 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17823
b1aa60f3
AJ
178242012-04-03 Andreas Jaeger <aj@suse.de>
17825
c3b1bf7d 17826 [BZ #13938]
67f60a26
AJ
17827 * manual/setjmp.texi (System V contexts): Fix sentence.
17828
b1aa60f3
AJ
17829 [BZ #13926]
17830 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17831 New macro for this case.
17832 [!__GNUC__] (__bswap_64): New inline function for this case.
17833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17834 * bits/byteswap.h: Likewise.
17835 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17836 ull, guard with __GLIBC_HAVE_LONG_LONG.
17837
17838 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17839 __GLIBC_HAVE_LONG_LONG.
17840
17841 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17842 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17843
39c59c35
TMQMF
178442012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17845
17846 [BZ #13691]
17847 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17848 inptr and inend, rather than using last_ch.
17849
135ffda8
DM
178502012-04-02 David S. Miller <davem@davemloft.net>
17851
17852 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17853 * stdio-common/printf-parse.h (read_int): Change return type to
17854 'int', return -1 on INT_MAX overflow.
17855 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17856 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17857 overflows INT_MAX. Check for overflow of in-format-string precision
17858 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17859 SIZE_MAX not INT_MAX for integer overflow test.
17860 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17861 skip the construct in the format string but do not record anything.
17862 * stdio-common/bug22.c: Adjust to test both width/prevision
17863 INT_MAX overflow as well as total length INT_MAX overflow. Check
17864 explicitly for proper errno values.
17865
228c019e
TS
178662012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17867
302cadd3
TS
17868 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17869 CHAR_MAX.
17870 * string/test-strcmp.c [! WIDE]: Likewise.
17871 * time/tst-mktime2.c: Likewise for INT_MAX.
17872 * string/test-string.h: #include <sys/param.h> for MIN.
17873
228c019e
TS
17874 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17875 * sysdeps/i386/init-first.c (init): Likewise.
17876 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17877 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17878 * sysdeps/sh/init-first.c (init): Likewise.
17879
cfa633f5
UD
178802012-04-01 Ulrich Drepper <drepper@gmail.com>
17881
17882 * po/ru.po: Update from translation team.
d1635ef8 17883 * po/vi.po: Likewise.
cfa633f5 17884
6cd0a5ea
SP
178852012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17886
17887 * resolv/nss_dns/dns-host.c: Merge copyright years.
17888
4b43400f
LD
178892012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17890
17891 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17892 Optimize memcpy with prefetch if
17893 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17894 src, dst pointers have unequal 16 byte alignments.
17895
48c41d04
SP
178962012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17897
17898 [BZ #13928]
17899 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17900 from a CNAME entry and return the minimum ttl for the query.
17901 (gaih_getanswer_slice): Likewise.
17902
b8dc394d
JL
179032012-03-30 Jeff Law <law@redhat.com>
17904
17905 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17906 due to long keys.
17907 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17908 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17909
2f5a5ed0
JL
17910 * resolv/nss_dns/dns-host.c: Update copyright year.
17911
1d39e359
UD
179122012-03-30 Ulrich Drepper <drepper@gmail.com>
17913
c030f70c 17914 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17915 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17916
1d39e359
UD
17917 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17918 comments for sendmmsg.
17919
179202012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17921
17922 [BZ #13691]
17923 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17924 with only 1 character between 0x0041 and 0x01b0.
17925 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17926 * wcsmbs/tst-mbsnrtowcs.c: New file.
17927
20fde227
DM
179282012-03-29 David S. Miller <davem@davemloft.net>
17929
17930 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17931 small copies by hand.
17932
984a4237
JL
179332012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17934
17935 [BZ #13761]
17936 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17937 _nss_compat_initgroups_dyn): Fall back to malloc/free
17938 for large group memberships.
17939
18c9d62b
DM
179402012-03-28 David S. Miller <davem@davemloft.net>
17941
88d85d4f
DM
17942 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17943 that branches into memcpy.
17944 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17945 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17947 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17948 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17949 bits.
17950 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17951 implementation too.
17952 * sysdeps/sparc/mempcpy.S: New file.
17953
e5aa83e1
DM
17954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17955 the IFUNC routine in the libc case.
17956 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17957
88570753
DM
17958 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17959 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17960 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17961 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17962 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17963 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17964 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17965 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17966
249d7567
DM
17967 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17968 loop to 256 bytes instead of 64 bytes and fix test signedness.
17969
18c9d62b
DM
17970 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17971 * sysdeps/sparc/sparc32/Makefile: rather than here...
17972 * sysdeps/sparc/sparc64/Makefile: and here.
17973
05f3d1f6
UD
179742012-03-28 Ulrich Drepper <drepper@gmail.com>
17975
17976 * malloc/mallocbug.c: Avoid warnings about unused variables.
17977
86ae07a8
JL
179782012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17979
17980 [BZ #13760]
17981 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17982 in the right place. Discard and retry query if response is
17983 larger than input buffer size.
17984
41bf21a1
JM
179852012-03-28 Joseph Myers <joseph@codesourcery.com>
17986
d6270972
JM
17987 [BZ #369]
17988 [BZ #2678]
17989 [BZ #3866]
17990 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17991 x for large integer exponent.
17992 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17993 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17994 sign of result as needed afterwards.
17995 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17996 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17997 result for underflowing pow the same as for overflow.
17998 (__kernel_standard_l): Handle powl overflow and underflow here
17999 rather than calling __kernel_standard.
18000 * math/libm-test.inc (pow_test): Add more tests.
18001
414fca03 18002 [BZ #3868]
41bf21a1
JM
18003 [BZ #13879]
18004 [BZ #13910]
18005 [BZ #13911]
18006 [BZ #13912]
18007 [BZ #13913]
18008 [BZ #13915]
18009 [BZ #13916]
18010 [BZ #13917]
18011 [BZ #13918]
18012 [BZ #13919]
18013 [BZ #13920]
18014 [BZ #13921]
18015 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
18016 * sysdeps/ieee754/k_standard.c: Include <float.h>.
18017 (__kernel_standard_l): New function.
18018 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
18019 __kernel_standard.
18020 * math/w_acosl.c (__acosl): Likewise.
18021 * math/w_asinl.c (__asinl): Likewise.
18022 * math/w_atan2l.c (__atan2l): Likewise.
18023 * math/w_atanhl.c (__atanhl): Likewise.
18024 * math/w_coshl.c (__coshl): Likewise.
18025 * math/w_exp10l.c (__exp10l): Likewise.
18026 * math/w_exp2l.c (__exp2l): Likewise.
18027 * math/w_fmodl.c (__fmodl): Likewise.
18028 * math/w_hypotl.c (__hypotl): Likewise.
18029 * math/w_j0l.c (__j0l, __y0l): Likewise.
18030 * math/w_j1l.c (__j1l, __y1l): Likewise.
18031 * math/w_jnl.c (__jnl, __ynl): Likewise.
18032 * math/w_lgammal.c (__lgammal): Likewise.
18033 * math/w_log10l.c (__log10l): Likewise.
18034 * math/w_log2l.c (__log2l): Likewise.
18035 * math/w_logl.c (__logl): Likewise.
18036 * math/w_powl.c (__powl): Likewise.
18037 * math/w_remainderl.c (__remainderl): Likewise.
18038 * math/w_scalbl.c (sysv_scalbl): Likewise.
18039 * math/w_sinhl.c (__sinhl): Likewise.
18040 * math/w_sqrtl.c (__sqrtl): Likewise.
18041 * math/w_tgammal.c (__tgammal): Likewise.
18042 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18043 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18044 * math/libm-test.inc (acos_test): Add more tests.
18045 (acosh_test): Likewise.
18046 (asin_test): Likewise.
18047 (atanh_test): Likewise.
18048 (exp_test): Likewise.
18049 (exp10_test): Likewise.
18050 (exp2_test): Likewise.
18051 (expm1_test): Likewise.
18052 (lgamma_test): Likewise.
18053 (log_test): Likewise.
18054 (log10_test): Likewise.
18055 (log1p_test): Likewise.
18056 (log2_test): Likewise.
18057 (pow_test): Do not allow some spurious overflow exceptions.
18058 (sqrt_test): Add more tests.
18059 (tgamma_test): Likewise.
18060 (y0_test): Likewise.
18061 (y1_test): Likewise.
18062 (yn_test): Likewise.
18063
dd62fda6
AB
180642012-03-27 Anton Blanchard <anton@samba.org>
18065
18066 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18067 MAP_HUGETLB.
18068 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18069 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18070 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18071
1e3cdfda
AJ
180722012-03-27 David S. Miller <davem@davemloft.net>
18073
b855ab85
DM
18074 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18075
1e3cdfda
AJ
18076 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18077 have-as-vis3 check.
18078
180792012-03-27 Andreas Jaeger <aj@suse.de>
18080
18081 * sysdeps/x86_64/elf/configure.in: Moved to ...
18082 * sysdeps/x86_64/configure.in: ... here.
18083 * sysdeps/x86_64/elf/start.S: Moved to ...
18084 * sysdeps/x86_64/start.S: ... here.
18085 * sysdeps/x86_64/elf/configure: Delete.
18086
18087 * sysdeps/x86_64/configure.in: Merge contents from
18088 sysdeps/i386/configure.in (without i686 check).
18089
18090 * sysdeps/i386/elf/Versions: Merge into ...
18091 * sysdeps/i386/Versions: ... this.
18092 * sysdeps/i386/elf/Versions: Delete file.
18093 * sysdeps/i386/elf/start.S: Moved to ...
18094 * sysdeps/i386/start.S: ...here.
18095 * sysdeps/i386/elf/configure.in: Merge into...
18096 * sysdeps/i386/configure.in: ...here.
18097 * sysdeps/i386/elf/configure.in: Delete file.
18098 * sysdeps/i386/elf/configure: Delete file.
18099
18100 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18101 * debug/backtracesyms.c: ... here.
18102 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18103 * debug/backtracesymsfd.c: ... here.
18104 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18105 * sysdeps/generic/ifunc-sel.h: ... here.
18106
18107 * sysdeps/unix/i386/start.c: Delete file.
18108 * sysdeps/unix/sparc/start.c: Delete file.
18109 * sysdeps/unix/start.c: Delete file.
18110
18111 * sysdeps/sh/elf/configure.in: Moved to ...
18112 * sysdeps/sh/configure.in: ... here.
18113 * sysdeps/sh/elf/start.S: Moved to ...
18114 * sysdeps/sh/start.S: ... here.
18115 * sysdeps/sh/elf/configure: Delete file.
18116
18117 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18118 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18119 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18120 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18121 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18122 * sysdeps/powerpc/powerpc64/start.S: here.
18123 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18124 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18125 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18126 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18127 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18128
18129 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18130 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18131 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18132 * sysdeps/powerpc/powerpc32/start.S: ... here.
18133 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18134 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18135 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18136
18137 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18138 * sysdeps/powerpc/ifunc-sel.h: ... here.
18139 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18140 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18141
18142 * sysdeps/sparc/elf/configure.in: Moved to ...
18143 * sysdeps/sparc/configure.in: ... here.
18144 * sysdeps/sparc/elf/configure: Delete file.
18145 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18146 * sysdeps/sparc/sparc32/start.S: ... here.
18147 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18148 * sysdeps/sparc/sparc64/start.S: ... here.
18149 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18150 * sysdeps/sparc/sparc32/Makefile: ... this.
18151 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18152 * sysdeps/sparc/sparc64/Makefile: ... this.
18153
18154 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18155 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18156 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18157 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18158 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18159 * sysdeps/s390/s390-32/setjmp.S: ... here.
18160 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18161 * sysdeps/s390/s390-32/configure.in: ... here.
18162 * sysdeps/s390/s390-32/elf/configure: Delete file.
18163 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18164 * sysdeps/s390/s390-32/start.S: ... here.
18165
18166 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18167 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18168 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18169 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18170 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18171 * sysdeps/s390/s390-64/setjmp.S: ... here.
18172 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18173 * sysdeps/s390/s390-64/configure.in: ... here
18174 * sysdeps/s390/s390-64/elf/configure: Delete file.
18175 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18176 * sysdeps/s390/s390-64/start.S: ... here.
18177 * sysdeps/s390/s390-64/elf/configure: Delete.
18178
18179 * configure.in: Remove support for elf directories in sysdeps.
18180
18181 * configure: Regenerated.
18182 * sysdeps/i386/configure: Regenerated.
18183 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18184 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18185 * sysdeps/s390/s390-32/configure: Regenerated.
18186 * sysdeps/s390/s390-64/configure: Regenerated.
18187 * sysdeps/sh/configure: Regenerated.
18188 * sysdeps/sparc/configure: Regenerated.
18189 * sysdeps/x86_64/configure: Regenerated.
18190
a3f61311
AS
181912012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18192
c876e002
AS
18193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18194
a3f61311
AS
18195 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18196 denormal result into account.
18197
ac4c54f0
RM
181982012-03-25 Roland McGrath <roland@hack.frob.com>
18199
18200 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18201 Reported by Allan McRae <allan@archlinux.org>.
18202
6a9b9c02
JL
182032012-03-23 Jeff Law <law@redhat.com>
18204
18205 * nss/getnssent.c (__nss_getent): Fix typo.
18206
4c42a0c1
DM
182072012-03-23 David S. Miller <davem@davemloft.net>
18208
18209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18210
1532c7ac
L
182112012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18212
18213 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18214 to pad to uint64_t for each field.
18215 (dl_tls_index): Replace unsigned long with uint64_t.
18216
3ff42526
PP
182172012-03-23 Daniel Jacobowitz <dmj@google.com>
18218 Paul Pluzhnikov <ppluzhnikov@google.com>
18219
18220 [BZ #6528]
18221 * grp/Makefile (otherlibs): Don't set it.
18222 * inet/Makefile (otherlibs): Likewise.
18223 * login/Makefile (otherlibs): Likewise.
18224 * nscd/Makefile (otherlibs): Likewise.
18225 * posix/Makefile (otherlibs): Likewise.
18226 * pwd/Makefile (otherlibs): Likewise.
18227 * rt/Makefile (otherlibs): Likewise.
18228 * sunrpc/Makefile (otherlibs): Likewise.
18229 * nss/Makefile (otherlibs): Likewise.
18230 Add libnss_files to routines and static-only-routines.
18231 ($(objpfx)getent): Remove rule.
18232 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18233 static-only-routines.
18234
7c69cd14
JM
182352012-03-22 Joseph Myers <joseph@codesourcery.com>
18236
18237 [BZ #13892]
18238 * math/s_cexp.c: Include <float.h>.
18239 (__cexp): Handle exp result overflowing not necessarily
18240 overflowing both real and imaginary parts of result.
18241 * math/s_cexpf.c: Likewise.
18242 * math/s_cexpl.c: Likewise.
18243 * math/libm-test.inc (cexp_test): Add more tests.
18244 * sysdeps/i386/fpu/libm-test-ulps: Update.
18245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18246
81b035fe
L
182472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18248
18249 * include/link.h (ELFW): New macro.
18250 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18251 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18252
1da7940c
L
182532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18254
18255 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18256 with uint64_t.
18257
b749dbb9
L
182582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18259
18260 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18261 declaration.
18262 (struct La_x32_retval): Likewise.
18263
2ff87f3f
L
182642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18265
18266 * sysdeps/x86_64/preconfigure.in: New file.
18267 * sysdeps/x86_64/preconfigure: New generated file.
18268
c0df8e69
JM
182692012-03-22 Joseph Myers <joseph@codesourcery.com>
18270
48e44791
JM
18271 [BZ #13824]
18272 * math/e_exp2l.c: Include <float.h>.
18273 (__ieee754_exp2l): Handle overflow and underflow cases
18274 separately. Only pass fractional part of argument to
18275 __ieee754_expl.
18276 * math/libm-test.inc (exp2_test): Add more tests.
18277
c0df8e69
JM
18278 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18279 negating x to take absolute value.
18280 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18281 Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18284 Likewise.
18285 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18286 computing low part if x was negated.
18287 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18288
c8e43ba7
L
182892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18290
18291 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18292 la_x32_gnu_pltexit.
18293 (pltexit): Cast int_retval to ptrdiff_t.
18294 * elf/tst-auditmod3b.c: Likewise.
18295 * elf/tst-auditmod4b.c: Likewise.
18296 * elf/tst-auditmod5b.c: Likewise.
18297 * elf/tst-auditmod6b.c: Likewise.
18298 * elf/tst-auditmod6c.c: Likewise.
18299 * elf/tst-auditmod7b.c: Likewise.
18300
18301 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18302 and x32_gnu_pltexit.
18303
18304 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18305 __ELF_NATIVE_CLASS.
18306 (La_x32_regs): New macro.
18307 (La_x32_retval): Likewise.
18308 (la_x32_gnu_pltenter): New function prototype.
18309 (la_x32_gnu_pltexit): Likewise.
18310
7998fa78
AS
183112012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18312
dcb33988
AS
18313 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18314 exponent.
18315
233fc563
AS
18316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18317
7998fa78
AS
18318 * configure.in (libc_cv_cc_nofma): Check for option to disable
18319 generation of FMA instructions.
18320 * configure: Regenerate.
18321 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18322 * sysdeps/ieee754/dbl-64/Makefile: New file.
18323 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18324 Remove brandred-fma4.
18325 (CFLAGS-brandred-fma4.c): Remove.
18326 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18327 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18328 define.
18329 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18330 define.
18331
8e95c99a
L
183322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18333
18334 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18335 LLONG_MAX != LONG_MAX.
18336 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18337 (_fitoa_word): Likewise.
18338 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18339 LLONG_MAX != LONG_MAX.
18340 * stdio-common/_itowa.h: Include <_itoa.h>.
18341 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18342 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18343 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18344 only if not defined.
18345 (_ITOA_WORD_TYPE): Likewise.
18346 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18347 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18348
6f4db457
DM
183492012-03-21 David S. Miller <davem@davemloft.net>
18350
18351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18352
7785fe5a
L
183532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18354
18355 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18356 of x86_64 when setting libc_cv_slibdir, libdir and
18357 libc_cv_localedir.
18358 * sysdeps/unix/sysv/linux/configure: Regenerated.
18359
4535cd55
JM
183602012-03-21 Joseph Myers <joseph@codesourcery.com>
18361
18362 * manual/lang.texi (Old Varargs): Remove section.
18363 (How Variadic): Update menu.
18364 (va_start): Do not mention varargs.h.
18365
17228132
TS
183662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18367 Joseph Myers <joseph@codesourcery.com>
18368
18369 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18370 link test.
18371 * configure: Regenerated.
18372
8149f976
TS
183732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18374
05f3d1f6
UD
18375 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18376 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18377 conformtest.pl
8149f976 18378
1a4ac776
JM
183792012-03-21 Joseph Myers <joseph@codesourcery.com>
18380
be22ce65
JM
18381 * NOTES: Remove.
18382 * Makefile (files-for-dist): Remove NOTES.
18383 (NOTES): Remove rule.
18384 * README: Don't refer to NOTES.
18385 * manual/creature.texi: Don't include macros.texi.
18386 * manual/intro.texi (creature.texi): Remove comment referring to
18387 NOTES.
18388
40b601fb
JM
18389 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18390 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18391 * configure: Regenerated.
18392 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18393 LIBC_TRY_CC_OPTION.
18394 (libc_cv_as_i686): Likewise.
18395 (libc_cv_cc_avx): Likewise.
18396 (libc_cv_cc_sse2avx): Likewise.
18397 (libc_cv_cc_fma4): Likewise.
18398 (libc_cv_cc_novzeroupper): Likewise.
18399 * sysdeps/i386/configure: Regenerated.
18400
1a4ac776
JM
18401 [BZ #13883]
18402 * sysdeps/i386/fpu/s_cexp.S: Remove.
18403 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18404 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18405 * math/libm-test.inc (cexp_test): Add more tests.
18406 * sysdeps/i386/fpu/libm-test-ulps: Update.
18407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18408
a458e7fe
AM
184092012-03-21 Allan McRae <allan@archlinux.org>
18410
18411 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18412
0cb7efc5
JM
184132012-03-21 Joseph Myers <joseph@codesourcery.com>
18414
18415 [BZ #13871]
18416 * math/w_exp2.c: Do not include <float.h>.
18417 (o_threshold, u_threshold): Remove.
18418 (__exp2): Calculate result before checking finiteness and calling
18419 __kernel_standard.
18420 * math/w_exp2f.c: Likewise.
18421 * math/w_exp2l.c: Likewise.
18422 * math/libm-test.inc (exp2_test): Require overflow exception for
18423 1e6 input.
2460d3aa
JM
18424
18425 [BZ #3866]
18426 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18427 range of signed 64-bit integers before using fistpll. Remove
18428 checks for whether integers fit in mantissa bits.
18429 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18430 the range of signed 32-bit integers before using fistpl. Remove
18431 checks for whether integers fit in mantissa bits.
18432 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18433 (__ieee754_powl): Test for y outside the range of signed 64-bit
18434 integers before using fistpll. Reduce 64-bit values to 63-bit
18435 ones as needed.
18436 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18437 divide-by-zero is raised for zero to large negative powers.
18438 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18439 (__ieee754_powl): Test for y outside the range of signed 64-bit
18440 integers before using fistpll. Reduce 64-bit values to 63-bit
18441 ones as needed.
18442 * math/libm-test.inc (pow_test): Add more tests.
18443
eb96ffb0
L
184442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18445
18446 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18447 <stdio-common/_itoa.h>.
18448 * debug/segfault.c: Likewise.
18449 * elf/dl-cache.c: Likewise.
18450 * elf/dl-minimal.c: Likewise.
18451 * elf/dl-misc.c: Likewise.
18452 * elf/dl-sysdep.c: Likewise.
18453 * elf/dl-version.c: Likewise.
18454 * elf/rtld.c: Likewise.
18455 * hurd/hurdsock.c: Likewise.
18456 * hurd/lookup-retry.c: Likewise.
18457 * malloc/malloc.c: Likewise.
18458 * malloc/mtrace.c: Likewise.
18459 * nscd/nscd_getgr_r.c: Likewise.
18460 * nscd/nscd_getpw_r.c: Likewise.
18461 * nscd/nscd_getserv_r.c: Likewise.
18462 * posix/getopt_init.c: Likewise.
18463 * posix/wordexp.c: Likewise.
18464 * stdio-common/_itoa.c: Likewise.
18465 * stdio-common/printf_fphex.c: Likewise.
18466 * stdio-common/vfprintf.c: Likewise.
18467 * string/_strerror.c: Likewise.
18468 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18469 * sysdeps/i386/i686/hp-timing.h: Likewise.
18470 * sysdeps/mach/_strerror.c: Likewise.
18471 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18472 * sysdeps/mach/hurd/sethostid.c: Likewise.
18473 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18474 * sysdeps/mach/xpg-strerror.c: Likewise.
18475 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18476 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18477 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18478 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18479 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18480 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18481 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18482 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18483 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18484 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18485 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18486 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18487 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18488 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18489 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18490 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18491 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18492 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18493 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18494 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18495 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18496
18497 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18498
18499 * stdio-common/_itoa.h: Moved to ...
18500 * sysdeps/generic/_itoa.h: Here.
18501
18502 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18503
18504 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18505 instead of "_itoa.h" and "_itowa.h".
18506 * stdio-common/vfprintf.: Likewise.
18507
d1af992d
L
185082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18509
18510 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18511 <bits/wordsize.h>.
18512 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18513 (__signbit): Likwise.
18514 (llrintf): Likwise.
18515 (llrint): Likwise.
18516
114883e0
L
185172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18518
18519 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18520 __WORDSIZE != 64.
18521
c135cc1b
JM
185222012-03-20 Joseph Myers <joseph@codesourcery.com>
18523
18524 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18525 OVERFLOW_EXCEPTION_OK.
18526 * math/libm-test.inc ("Philosophy"): Update comment about
18527 exception testing.
18528 (OVERFLOW_EXCEPTION): Define.
18529 (OVERFLOW_EXCEPTION_OK): Likewise.
18530 (INVALID_EXCEPTION_OK): Renumber.
18531 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18532 (IGNORE_ZERO_INF_SIGN): Likewise.
18533 (test_exceptions): Handle FE_OVERFLOW.
18534 (exp10_test): Expect overflow exceptions.
18535 (exp2_test): Likewise.
18536 (expm1_test): Likewise.
18537 (nextafter_test): Likewise.
18538 (pow_test): Likewise.
18539 (scalbn_test): Likewise.
18540 (scalbln_test): Likewise.
18541
95443d88
L
185422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18543
18544 * sysdeps/x86_64/bits/atomic.h
18545 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18546 64bit integer.
18547 (atomic_exchange_acq): Likewise.
18548 (__arch_exchange_and_add_body): Likewise.
18549 (__arch_add_body): Likewise.
18550 (atomic_add_negative): Likewise.
18551 (atomic_add_zero): Likewise.
18552
490df6c4
L
185532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18554
c2722551 18555 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18556 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18557
5e52b189
L
185582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18559
18560 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18561 Check __x86_64__ instead of __WORDSIZE.
18562
a9879d4c
L
185632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18564
18565 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18566
5df98260
DM
185672012-03-19 David S. Miller <davem@davemloft.net>
18568
e1497744
DM
18569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18570
5df98260
DM
18571 * sysdeps/sparc/fpu/fenv_private.h: New file.
18572 * sysdeps/sparc/fpu/math_private.h: Use it.
18573 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18574 Remove.
18575 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18576 (libc_feholdexcept_setroundl): Remove.
18577 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18578 Remove.
18579 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18580 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18581
b4c35121
L
185822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18583
18584 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18585 int64_t instead of long int.
18586 (INSERT_WORDS64): Likwise.
18587
56965fd7
L
185882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18589
18590 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18591 _Unwind_GetCFA return to _Unwind_Ptr first.
18592
83d1aec8
JM
185932012-03-19 Joseph Myers <joseph@codesourcery.com>
18594
1897ad44
JM
18595 [BZ #13629]
18596 * math/s_clog.c: Include <float.h>.
18597 (__clog): Scale large or subnormal inputs.
18598 * math/s_clogf.c: Likewise.
18599 * math/s_clogl.c: Likewise.
18600 * math/s_clog10.c: Include <float.h>.
18601 (M_LOG10_2): Define.
18602 (__clog10): Scale large or subnormal inputs.
18603 * math/s_clog10f.c: Likewise.
18604 * math/s_clog10l.c: Likewise.
18605 * math/libm-test.inc (clog_test): Add more tests.
18606 (clog10_test): Likewise.
18607 * sysdeps/i386/fpu/libm-test-ulps: Update.
18608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18609
7726d6a9
JM
18610 [BZ #11451]
18611 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18612 x and y.
18613 * math/libm-test.inc (atan2_test): Add another test.
18614
83d1aec8
JM
18615 * Makerules (common-objdir-compile): Remove.
18616 * sysdeps/unix/Makefile (config-generated): Do not add
18617 $(unix-generated) to variable.
18618 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18619 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18620 Remove rule.
18621 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18622 Likewise.
18623 [generic bits/local_lim.h] (before-compile): Do not append to
18624 variable.
18625 [generic bits/local_lim.h] (common-generated): Likewise.
18626 [generic sys/param.h] (before-compile): Do not append to variable.
18627 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18628 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18629 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18630 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18631 include.
18632 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18633 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18634 [generic sys/param.h] ($(addprefix
18635 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18636 [generic sys/param.h] (common-generated): Do not append to
18637 variable.
18638 [generic sys/param.h] (sysdep_headers): Likewise.
18639 [generic bits/errno.h] (before-compile): Do not append to
18640 variable.
18641 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18642 rule.
18643 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18644 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18645 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18646 [generic bits/errno.h] (common-generated): Do not append to
18647 variable.
18648 [generic bits/ioctls.h] (before-compile): Do not append to
18649 variable.
18650 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18651 rule.
18652 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18653 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18654 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18655 rule.
18656 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18657 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18658 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18659 [generic bits/ioctls.h] (common-generated): Do not append to
18660 variable.
18661 [generic sys/syscall.h] (syscall.h): Remove variable.
18662 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18663 rule.
18664 [generic sys/syscall.h] (before-compile): Do not append to
18665 variable.
18666 [generic sys/syscall.h] (common-generated): Likewise.
18667 * sysdeps/unix/errnos-tmpl.c: Remove file.
18668 * sysdeps/unix/errnos.awk: Likewise.
18669 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18670 * sysdeps/unix/ioctls.awk: Likewise.
18671 * sysdeps/unix/mk-local_lim.c: Likewise.
18672 * sysdeps/unix/snarf-ioctls: Likewise.
18673
4851a949
RH
186742012-03-19 Richard Henderson <rth@twiddle.net>
18675
bd37f2ee
RH
18676 * sysdeps/i386/fpu/fenv_private.h: New file.
18677 * sysdeps/i386/fpu/math_private.h: Use it.
18678 (math_opt_barrier, math_force_eval): Remove.
18679 (libc_feholdexcept_setround_53bit): Remove.
18680 (libc_feupdateenv_53bit): Remove.
18681 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18682 (math_opt_barrier, math_force_eval): Remove.
18683 (libc_feholdexcept): Remove.
18684 (libc_feholdexcept_setround): Remove.
18685 (libc_fetestexcept, libc_fesetenv): Remove.
18686 (libc_feupdateenv_test): Remove.
18687 (libc_feupdateenv, libc_feholdsetround): Remove.
18688 (libc_feresetround): Remove.
18689
d0adc922
RH
18690 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18691 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18692
0fe0f1f8
RH
18693 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18694 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18695 (libc_feupdateenv_testl): New.
18696 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18697 (libc_feupdateenv_testf): New.
18698 (libc_feupdateenv): Use libc_feupdateenv_test.
18699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18700 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18701
eb92c487
RH
18702 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18703 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18704 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18705 (libc_feresetround_noex): New.
18706 (libc_feresetround_noexf): New.
18707 (libc_feresetround_noexl): New.
18708 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18709 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18710 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18711 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18712 SET_RESTORE_ROUND.
18713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18714 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18715 (__cos): Likewise.
18716 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18717 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18718 SET_RESTORE_ROUND_NOEX.
18719 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18720 SET_RESTORE_ROUND_NOEXF.
18721 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18722 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18723 (libc_feholdsetroundf): New.
18724 (libc_feresetround, libc_feresetroundf): New.
18725
7d2e8012
RH
18726 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18727 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18728 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18729
b4dabbb4
RH
18730 * sysdeps/generic/math_private.h: Include <fenv.h>.
18731 (default_libc_feholdexcept): New.
18732 (default_libc_feholdexcept_setround): New.
18733 (default_libc_fesetenv, default_libc_feupdateenv): New.
18734 (libc_feholdexcept): Only define if undefined.
18735 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18736 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18737 (libc_feholdexcept_setroundl): Likewise.
18738 (libc_feholdexcept_setround_53bit): Likewise.
18739 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18740 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18741 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18742 (libc_feupdateenv_53bit): Likewise.
18743 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18744 (libc_feholdexcept): Convert from macro to inline function.
18745 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18746 (libc_fesetenv, libc_feupdateenv): Likewise.
18747
4851a949
RH
18748 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18749 not previously defined.
18750 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18751 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18752 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18753 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18754 * sysdeps/ieee754/flt-32/math_private.h: New file.
18755 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18756 math_private.h below SET_FLOAT_WORD.
18757 (__isnan, __isinf_ns, __finite): Remove.
18758 (__isnanf, __isinf_nsf, __finitef): Remove.
18759
e79d442e
AS
187602012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18761
18762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18763
90b80344
DM
187642012-03-17 David S. Miller <davem@davemloft.net>
18765
18766 [BZ #6471]
18767 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18768 for 2.16.
18769
edc21804
DM
187702012-03-16 David S. Miller <davem@davemloft.net>
18771
77e927af
DM
18772 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18773 warnings.
18774
374976dd
DM
18775 [BZ #6471]
18776 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18777 properly.
18778 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18779 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18780 sysdep_routines when subdir is sysvipc.
18781 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18782 __getshmlba helper.
18783
edc21804
DM
18784 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18785
473c3ef3
L
187862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18787
18788 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18789 [__LP64__].
18790
eb0f39b6
L
187912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18792
18793 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18794 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18795 (__lround): Renamed to ...
18796 (__llround): This. Replace long int with long long int.
18797 Define lround functions as aliases of llround functions.
18798 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18799
6b6cd74b
L
188002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18801
18802 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18803 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18804 adresses to uintptr_t. Replace "long int" and "unsigned long
18805 int" with "greg_t" on va_arg.
18806
f1a77b01
L
188072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18808
18809 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18810 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18811
18812 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18813 Move e_machine check before EI_CLASS check. Handle x32
18814 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18815 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18816 SKIP_EM_IA_64 and include
18817 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18818
18819 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18820 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18821 (add_system_dir): New macro.
18822
18823 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18824 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18825
11b90b9f
JM
188262012-03-16 Joseph Myers <joseph@codesourcery.com>
18827
c36e1d23
JM
18828 [BZ #2551]
18829 [BZ #2552]
18830 [BZ #2553]
18831 [BZ #2554]
18832 [BZ #2562]
18833 [BZ #2563]
18834 [BZ #2565]
18835 [BZ #2566]
18836 [BZ #2576]
18837 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18838 (y0): Likewise.
18839 * math/w_j0f.c (j0f): Likewise.
18840 (y0f): Likewise.
18841 * math/w_j0l.c (__j0l): Likewise.
18842 (__y0l): Likewise.
18843 * math/w_j1.c (j1): Likewise.
18844 (y1): Likewise.
18845 * math/w_j1f.c (j1f): Likewise.
18846 (y1f): Likewise.
18847 * math/w_j1l.c (__j1l): Likewise.
18848 (__y1l): Likewise.
18849 * math/w_jn.c (jn): Likewise.
18850 (yn): Likewise.
18851 * math/w_jnf.c (jnf): Likewise.
18852 (ynf): Likewise.
18853 * math/w_jnl.c (__jnl): Likewise.
18854 (__ynl): Likewise.
18855 * math/libm-test.inc (j0_test): Add more tests.
18856 (j1_test): Likewise.
18857 (jn_test): Likewise. Add trailing semicolon to existing test.
18858 (y0_test): Likewise.
18859 (y1_test): Likewise.
18860 * sysdeps/i386/fpu/libm-test-ulps: Update.
18861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18862
11b90b9f
JM
18863 [BZ #13851]
18864 [BZ #13854]
18865 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18866 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18867 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18868 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18869 (__tanl): Set errno for infinite argument.
18870 * sysdeps/i386/fpu/mptan.c: Remove.
18871 * sysdeps/i386/fpu/s_tan.S: Likewise.
18872 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18873 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18874 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18875 * math/libm-test.inc (tan_test): Add more tests and enable more
18876 tests for double and long double.
18877 * sysdeps/i386/fpu/libm-test-ulps: Update.
18878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18879
6a1bd2a1
JK
188802012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18881
18882 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18883 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18884
10a803e0
RM
188852012-03-16 Roland McGrath <roland@hack.frob.com>
18886
18887 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18888 * configure.in: Use it for both main tree and add-ons.
18889 * configure: Regenerated.
18890
f196c7f7
L
188912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18892
18893 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18894
8848d99d
JM
188952012-03-16 Joseph Myers <joseph@codesourcery.com>
18896
96cbe7f4
JM
18897 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18898 in comment.
18899
8848d99d
JM
18900 [BZ #13851]
18901 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18902 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18903 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18904 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18905 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18906 infinite argument.
18907 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18908 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18909 != 0 for prec == 2.
18910 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18911 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18912 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18913 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18914 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18915 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18916 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18917 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18918 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18919 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18920 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18921 * math/libm-test.inc (cos_test): Add more tests and enable more
18922 tests for long double.
18923 (sin_test): Likewise.
18924 (sincos_test): Likewise.
18925 * sysdeps/i386/fpu/libm-test-ulps: Update.
18926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18927
dd7f4703
DM
189282012-03-16 David S. Miller <davem@davemloft.net>
18929
18930 * sysdeps/sparc/fpu/math_private.h: New file.
18931
006f1daa
DM
189322012-03-15 David S. Miller <davem@davemloft.net>
18933
c0c83bc8
DM
18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18935 file.
e6a62e18 18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18938 file.
e6a62e18
DM
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18940 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18945 sysdep routines.
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18947
88cb87d9
DM
18948 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18949 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18950
006f1daa 18951 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18953 sparc-ifunc.h
006f1daa 18954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18956 Likewise.
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18958 Likewise.
006f1daa
DM
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18963 Likewise.
006f1daa
DM
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18969 Likewise.
18970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18971 Likewise.
006f1daa
DM
18972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18976 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18978 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18980 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18996
11e0098e
AS
189972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18998
18999 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
19000 scaling.
19001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19002
e85b09d0
AJ
190032012-03-15 Andreas Jaeger <aj@suse.de>
19004
19005 [BZ #13852]
19006 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
19007 ieee754/flt-32 implementation for sin, cos and sincos.
19008 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
19009 * sysdeps/i386/fpu/s_cosf.S: Likewise.
19010 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
19011 * sysdeps/i386/fpu/s_sinf.S: Likewise.
19012 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
19013 ieee754/flt-32 implementation for tan.
19014
19015 * math/libm-test.inc (cos_test): Enable some large input tests for
19016 float as well
19017 (sin_test): Likewise.
19018 (sincos_test): Likewise.
19019 (tan_test): Add tests for large input.
19020
19021 * sysdeps/i386/fpu/libm-test-ulps: Update.
19022
81c64153
AJ
190232012-03-15 Andreas Jaeger <aj@suse.de>
19024
19025 [BZ #13658]
19026 * math/libm-test.inc (cos_test): Add more test cases.
19027 (sin_test): Likewise.
19028 (sincos_test): Likewise.
19029
7bbfa5c6
AJ
190302012-03-15 Andreas Jaeger <aj@suse.de>
19031
19032 [BZ #13837]
19033 * math/libm-test.inc (cos_test): Add a test case for large input
19034 value.
19035 (sin_test): Likewise.
19036 (sincos_test): Likewise.
19037
190382012-03-15 Andreas Jaeger <aj@suse.de>,
19039 Joseph Myers <joseph@codesourcery.com>
19040
19041 [BZ #13658]
0671f479 19042 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19043 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19044 * sysdeps/i386/fpu/branred.c: Likewise.
19045 * sysdeps/i386/fpu/dosincos.c: Likewise.
19046 * sysdeps/i386/fpu/mpa.c: Likewise.
19047 * sysdeps/i386/fpu/s_cos.S: Likewise.
19048 * sysdeps/i386/fpu/s_sin.S: Likewise.
19049 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19050 * sysdeps/i386/fpu/sincos32.c: Likewise.
19051
19052 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19053 Define.
19054 (libc_feupdateenv_53bit): Define.
19055 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19056 Define.
19057 (libc_feupdateenv_53bit): Define.
19058
19059 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19060 53 bit (without extend i386 double precision).
19061
19062 * math/libm-test.inc (sincos_test): Add tests for large input.
19063 (sin): Likewise.
19064 (cos): Likewise.
19065
19066 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19067
9cad04ea
AS
190682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19069
19070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19071
f7062b9a
DM
190722012-03-15 David S. Miller <davem@davemloft.net>
19073
19074 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19075 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19076 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19077 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19090 file.
f7062b9a 19091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19093 file.
f7062b9a 19094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19096 file.
f7062b9a 19097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19099 file.
f7062b9a
DM
19100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19101 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19102 fmin/fmax sysdep routines.
19103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19104
7bd951ff
DM
191052012-03-14 David S. Miller <davem@davemloft.net>
19106
559398ab
DM
19107 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19132 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19135 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19136 routines.
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19138 file.
559398ab 19139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19141 file.
559398ab 19142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19144 file.
559398ab 19145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19147 file.
559398ab 19148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19150 file.
559398ab 19151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19153 file.
19154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19155 file.
19156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19157 file.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19159 file.
19160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19161 New file.
19162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19163 file.
19164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19165 file.
559398ab 19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19168 file.
559398ab 19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19171 file.
559398ab 19172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19174 file.
559398ab 19175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19177 VIS3 routines.
559398ab
DM
19178
19179 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19180 New file.
19181
5a1c1e32
DM
19182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19183
eae47a36
DM
19184 * sysdeps/sparc/configure.in: New file.
19185 * sysdeps/sparc/configure: Generate.
19186 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19187 * configure: Regenerate.
19188 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19189 * config.make.in (have-as-vis3): New.
19190 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19191 available use -Av9d instead of -Av9a.
19192 * sysdeps/sparc/sparc64/Makefile: Likewise.
19193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19195 New file.
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19197 file.
19198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19199 New file.
19200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19201 file.
eae47a36
DM
19202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19203 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19207
c0c83bc8
DM
19208 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19209 fzeros/fnegs to load 0x80000000 into a float register instead of
19210 using the stack.
7bd951ff
DM
19211 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19212
bd951ccb
JM
192132012-03-14 Joseph Myers <joseph@codesourcery.com>
19214
19215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19216 bits/syscall.h.
19217 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19218 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19219 ($(inst_includedir)/bits/syscall.h): Remove rule.
19220 ($(objpfx)bits/syscall.d): Include instead of
19221 $(objpfx)syscall-list.d.
19222 (generated): Change syscall-list.h and syscall-list.d to
19223 bits/syscall.h and bits/syscall.d.
19224
bb4e6db2
RM
192252012-03-14 Roland McGrath <roland@hack.frob.com>
19226
19227 [BZ #13846]
19228 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19229
aa4a2ae1
JM
192302012-03-14 Joseph Myers <joseph@codesourcery.com>
19231
e456826d
JM
19232 [BZ #13841]
19233 * math/s_csqrt.c: Include <float.h>.
19234 (__csqrt): Scale large or subnormal inputs.
19235 * math/s_csqrtf.c: Likewise.
19236 * math/s_csqrtl.c: Likewise.
19237 * math/libm-test.inc (csqrt_test): Add more tests.
19238 * sysdeps/i386/fpu/libm-test-ulps: Update.
19239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19240
aa4a2ae1
JM
19241 [BZ #13840]
19242 * math/libm-test.inc (hypot_test): Add more tests.
19243
7c10fd35
DM
192442012-03-13 David S. Miller <davem@davemloft.net>
19245
19246 [BZ #13840]
19247 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19248 double-precision for the calculation instead of scaling.
19249
f453b98b
JM
192502012-03-13 Joseph Myers <joseph@codesourcery.com>
19251
19252 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19253 manipulate bits before adding and subtracting TWO52[sx].
19254 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19255 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19256 Likewise.
19257 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19258
09a3453f
DM
192592012-03-13 David S. Miller <davem@davemloft.net>
19260
8e59da90
DM
19261 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19262 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19263 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19264 rtld-global-offsets.h
19265 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19266
2a8ab7f2
DM
19267 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19268 large parameters.
19269
10f62770
DM
19270 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19271
5f0bdb18
DM
19272 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19273 'err' in the ifdef scope in which it is actually used.
19274
09a3453f
DM
19275 * nss/nss_db/db-init.c: Include string.h
19276
b4b2eb5e
DM
192772012-03-12 David S. Miller <davem@davemloft.net>
19278
98bb2f1c
DM
19279 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19280 masking out of the most significant byte of random value used.
19281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19282 Fix coding style in previous change.
19283
b4b2eb5e
DM
19284 * sysdeps/unix/sysv/linux/kernel-features.h
19285 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19286 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19287 expression.
19288 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19289 later.
19290
6e226b09
DM
192912012-03-11 David S. Miller <davem@davemloft.net>
19292
a1bcbd40
DM
19293 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19294 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19295 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19296 for 'resultvar' otherwise things get truncated on 64-bit.
19297
cb9d6174
DM
19298 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19299 Fix masking out of the most significant byte of random value used.
19300
6e226b09
DM
19301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19302
058c132d
AS
193032012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19304
19305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19306
2d2cd515
DM
193072012-03-09 David S. Miller <davem@davemloft.net>
19308
19309 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19310 variables with appropriate CPP guards.
19311 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19312 frame pointer, not the stack pointer. Correct layout comments. Fix test
19313 on resulting framesize and the management of the outregs buffer for pltexit.
19314 Preserve floating point return values across _dl_call_pltexit call.
19315 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19316 framesize and the management of the outregs buffer for pltexit.
19317 Preserve floating point return values across _dl_call_pltexit
19318 call.
19319 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19320 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19321 (print_exit): Fix format string for return register value.
19322
9a07f9d0
JM
193232012-03-10 Joseph Myers <joseph@codesourcery.com>
19324
19325 * sunrpc/Makefile (others): Add rpcgen.
19326 ($(objpfx)rpcgen): Remove special build rule and dependency on
19327 libc.
19328 * sunrpc/rpcgen.c: New file.
19329
547b5e30
PE
193302012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19331
c524201a
PE
19332 [BZ #13673]
19333 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19334 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19335 * sysdeps/i386/crti.S: Likewise.
19336 * sysdeps/i386/crtn.S: Likewise.
19337 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19338 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19339 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19340 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19341 * sysdeps/sh/crti.S: Likewise.
19342 * sysdeps/sh/crtn.S: Likewise.
19343 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19344
7b6235f2
PE
19345 [BZ #13673]
19346 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19347 with URL.
19348 * locale/programs/locfile-kw.gperf: Likewise.
19349 * locale/programs/charmap-kw.h: Regenerated.
19350 * locale/programs/locfile-kw.h: Likewise.
19351
547b5e30
PE
19352 [BZ #13673]
19353 * intl/plural.y: Replace FSF snail mail address with URL.
19354 * intl/plural.c: Regenerated.
19355
5f0a5dae
RH
193562012-03-09 Richard Henderson <rth@twiddle.net>
19357
19358 * include/math_private.h: Remove file.
19359 * math/math_private.h: Move file ...
19360 * sysdeps/generic/math_private.h: ... here.
19361
b8c03620
RH
19362 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19363 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19364 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19365
4e234f5d 19366 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19367 and <math_private.h>.
19368 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19369 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19370 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19371 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19372 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19432 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19433 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19434 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19435 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19436 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19437 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19438 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19439 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19440 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19441 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19442 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19443 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19444 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19445 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19446 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19447 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19448 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19449 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19451 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19452 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19453 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19454 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19455 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19456 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19459 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19460 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19461 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19462 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19463 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19464 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19465 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19466 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19467 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19468 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19469 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19470 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19471 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19472 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19473 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19474 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19475 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19476 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19477 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19478 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19479 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19480 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19481 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19482 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19484 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19485 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19486 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19487 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19488 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19489 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19490 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19491 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19492 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19493 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19494 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19495 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19496 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19497 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19498 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19499 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19500 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19501 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19502 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19503 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19504 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19505 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19506 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19507 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19508 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19509 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19510 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19511 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19512 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19513 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19514 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19515 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19516 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19517 * sysdeps/ieee754/k_standard.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19607 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19609 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19611 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19612 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19614 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19619 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19621 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19622 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19627 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19628 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19630 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19631 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19632 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19633 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19636 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19637 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19638 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19640 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19641 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19645 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19650 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19652 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19653 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19654 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19655 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19656 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19657 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19658 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19659 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19660 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19661 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19662 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19663 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19664 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19666 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19667 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19668 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19669 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19671 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19672 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19673 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19674 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19675 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19676 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19677 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19678 * sysdeps/ieee754/s_lib_version.c: Likewise.
19679 * sysdeps/ieee754/s_matherr.c: Likewise.
19680 * sysdeps/ieee754/s_signgam.c: Likewise.
19681 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19683 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19684 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19685 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19686 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19687 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19688 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19689 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19690 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19691 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19692 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19693 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19694 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19695 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19696 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19697 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19698 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19699 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19700 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19701 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19702
1991fa03
JM
197032012-03-09 Joseph Myers <joseph@codesourcery.com>
19704
19705 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19706 * sunrpc/rpc_main.c: Likewise.
19707 * sunrpc/rpc_svcout.c: Likewise.
19708
60d6f5a6
DM
197092012-03-09 David S. Miller <davem@davemloft.net>
19710
19711 * include/math_private.h: New file.
19712
4962050e
JM
197132012-03-09 Joseph Myers <joseph@codesourcery.com>
19714
02a6f887
JM
19715 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19716 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19717 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19718 from <bits/socket_type.h>.
19719 (enum __socket_type): Don't define here.
19720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19722 bits/socket_type.h.
19723
c6e013c1
JM
19724 [BZ #13566]
19725 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19726 checking __USE_GNU.
19727
4962050e
JM
19728 * Makerules ($(inst_includedir)/%.h): New rule.
19729 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19730 (install-others): Remove variable setting.
19731 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19732
38842f45
RH
197332012-03-08 Richard Henderson <rth@twiddle.net>
19734
67bb6da6
RH
19735 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19736 from macro to inline function; merge with the
19737 !__LIBC_INTERNAL_MATH_INLINES version.
19738 (__ieee754_sqrtf): Likewise.
19739
15194b4b
RH
19740 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19741 to inline function.
19742 (__rintf, __floor, __floorf): Likewise.
19743
64e21ede
RH
19744 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19745 macro to inline function.
19746 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19747
38842f45
RH
19748 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19749 not <math/math_private.h>.
19750
c64bf5fe
DM
197512012-03-08 David S. Miller <davem@davemloft.net>
19752
19753 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19754 copyright year.
19755 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19756
82d86f28
TS
197572012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19758
19759 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19760 normalization.
19761 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19762 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19763
aea5d727
UD
197642012-03-08 Ulrich Drepper <drepper@gmail.com>
19765
19766 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19767 be defined individually, they must be defined as a block. Define
19768 S for printing a string instead of hidint the different by using a
19769 macro for adding the 'l'.
19770 * stdio-common/tst-fphex-wide.c: Adjust.
19771
70bca0a3
MP
197722012-03-07 Marek Polacek <polacek@redhat.com>
19773
19774 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19775
65b81130
MP
197762012-03-08 Marek Polacek <polacek@redhat.com>
19777
19778 [BZ #13806]
19779 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19780 * stdio-common/tst-fphex.c: Define a few macros to make the
19781 test reusable. Use them.
19782 * stdio-common/tst-fphex-wide.c: New file.
19783
07037eeb
JM
197842012-03-08 Joseph Myers <joseph@codesourcery.com>
19785
a7a93d50
JM
19786 [BZ #6911]
19787 * manual/macros.texi (gnusystems): New macro.
19788 (nongnusystems): Likewise.
19789 (gnulinuxhurdsystems): Likewise.
19790 (gnuhurdsystems): Likewise..
19791 (gnulinuxsystems): Likewise.
19792 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19793 variants of the GNU system, not "GNU system".
19794 * manual/conf.texi: Likewise.
19795 * manual/errno.texi: Likewise. Update example of errno macro
19796 expansion.
19797 * manual/filesys.texi: Likewise.
19798 (getumask): Document as specific to GNU/Hurd.
19799 * manual/install.texi: Likewise. Reword some references to
19800 GNU/Linux.
19801 * manual/intro.texi: Likewise.
19802 * manual/io.texi: Likewise.
19803 (File Name Portability): Detail which constraints are inapplicable
19804 to all GNU systems and which are only inapplicable to GNU/Hurd.
19805 * manual/job.texi: Likewise.
19806 * manual/llio.texi: Likewise.
19807 (O_NOCTTY): Document as present on GNU/Linux.
19808 * manual/maint.texi: Likewise.
19809 * manual/memory.texi: Likewise.
19810 * manual/pattern.texi: Likewise.
19811 * manual/pipe.texi: Likewise.
19812 * manual/process.texi: Likewise.
19813 * manual/resource.texi: Likewise.
19814 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19815 child on GNU/Hurd.
19816 * manual/setjmp.texi: Likewise.
19817 * manual/signal.texi: Likewise.
19818 * manual/startup.texi: Likewise.
19819 * manual/stdio.texi: Likewise.
19820 * manual/terminal.texi: Likewise.
19821 (ONLCR): Document as POSIX.
19822 (OXTABS): Document availability on GNU/Linux as XTABS.
19823 (ONOEOT): Document availability separately from other bits.
19824 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19825 * manual/time.texi: Likewise.
19826 * manual/users.texi: Likewise.
19827 * INSTALL: Regenerated.
19828 * sysdeps/gnu/errlist.c: Regenerated.
19829
07037eeb
JM
19830 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19831 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19832 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19833 puts.
19834 * configure: Regenerated.
19835
d1d3431a
JM
198362012-03-07 Joseph Myers <joseph@codesourcery.com>
19837
af6a1e37
JM
19838 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19839 default includes instead of AC_HEADER_CHECK.
19840 * sysdeps/i386/configure: Regenerated.
19841
d1d3431a
JM
19842 [BZ #10716]
19843 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19844 * math/s_cacoshf.c (__cacoshf): Likewise.
19845 * math/s_cacoshl.c (__cacoshl): Likewise.
19846 * math/s_casinh.c (__casinh): Set signs of result from argument.
19847 * math/s_casinhf.c (__casinhf): Likewise.
19848 * math/s_casinhl.c (__casinhl): Likewise.
19849 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19850 (casinh_test): Add more tests.
19851 * sysdeps/i386/fpu/libm-test-ulps: Update.
19852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19853
482ff4da
UD
198542012-03-07 Ulrich Drepper <drepper@gmail.com>
19855
872fda05
UD
19856 * po/zh_TW.po: Update from translation team.
19857
a4300c7a
UD
19858 * login/Makefile (distribute): Remove variable.
19859 * catgets/Makefile: Likewise.
19860 * mach/Makefile: Likewise.
19861 * malloc/Makefile: Likewise.
19862 * misc/Makefile: Likewise.
19863 * iconv/Makefile: Likewise.
19864 * nscd/Makefile: Likewise.
19865 * hurd/Makefile: Likewise.
19866 * manual/Makefile: Likewise.
19867 * locale/Makefile: Likewise.
19868 * intl/Makefile: Likewise.
19869 * conform/Makefile: Likewise.
19870 * nss/Makefile: Likewise.
19871 * time/Makefile: Likewise.
19872 * soft-fp/Makefile: Likewise.
19873 * dirent/Makefile: Likewise.
19874 * gmon/Makefile: Likewise.
19875 * po/Makefile: Likewise.
19876 * rt/Makefile: Likewise.
19877 * socket/Makefile: Likewise.
19878 * math/Makefile: Likewise.
19879 * signal/Makefile: Likewise.
19880 * debug/Makefile: Likewise.
19881 * elf/Makefile: Likewise.
19882 * timezone/Makefile: Likewise.
19883 * stdlib/Makefile: Likewise.
19884 * iconvdata/Makefile: Likewise.
19885 * sunrpc/Makefile: Likewise.
19886 * io/Makefile: Likewise.
19887 * argp/Makefile: Likewise.
19888 * inet/Makefile: Likewise.
19889 * hesiod/Makefile: Likewise.
19890 * grp/Makefile: Likewise.
19891 * csu/Makefile: Likewise.
19892 * wctype/Makefile: Likewise.
19893 * crypt/Makefile: Likewise.
19894 * libio/Makefile: Likewise.
19895 * string/Makefile: Likewise.
19896 * nis/Makefile: Likewise.
19897 * resolv/Makefile: Likewise.
19898 * stdio-common/Makefile: Likewise.
19899 * wcsmbs/Makefile: Likewise.
19900 * dlfcn/Makefile: Likewise.
19901 * posix/Makefile: Likewise.
19902
3b7c4e74 19903 [BZ #6959]
482ff4da
UD
19904 * timezone/Makefile: Don't install timezone files, just the programs
19905 and scripts.
19906
f72ed77d
UD
199072012-03-06 Ulrich Drepper <drepper@gmail.com>
19908
a000466f
UD
19909 * nss/databases.def: Add missing gshadow entry.
19910
f72ed77d
UD
19911 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19912
a53b7a4e
MP
199132012-03-06 Marek Polacek <polacek@redhat.com>
19914
19915 [BZ #13726]
19916 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19917 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19918 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19919 * stdio-common/tst-long-dbl-fphex.c: New file.
19920
e9258400
DM
199212012-03-06 David S. Miller <davem@davemloft.net>
19922
19923 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19924 (set_obp_int): New function.
19925 (get_obp_int): New function.
19926 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19927 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19928 Avoid unused variable warnings on 'val' and use builtin_expect.
19929 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19930 __builtin_expect.
e9258400
DM
19931 (INLINE_CLONE_SYSCALL): Likewise.
19932
3bd2c723
DM
199332012-03-05 David S. Miller <davem@davemloft.net>
19934
19935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19936
bbb78d03
AS
199372012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19938
884c5db4
AS
19939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19940
bbb78d03
AS
19941 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19942 only for |x| >= 40.
19943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19944
1c9f702a 199452012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19946
19947 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19948 Replace gettimeofday with __vdso_gettimeofday.
19949
7be16f82
RM
19950 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19951 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19952 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19953
19954 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19955 time with __vdso_time.
19956
ed58a00f
JM
199572012-03-05 Joseph Myers <joseph@codesourcery.com>
19958
19959 * manual/lang.texi (size_t): Note types to which size_t may be
19960 equivalent with the GNU C Library, but do not describe when
19961 differences between them are significant.
19962
30ee4ced
AJ
199632012-03-05 Andreas Jaeger <aj@suse.de>
19964
19965 * sysdeps/i386/fpu/libm-test-ulps: Update.
19966
b7cd39e8
JM
199672012-03-05 Joseph Myers <joseph@codesourcery.com>
19968
19969 [BZ #3976]
19970 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19971 (__ieee754_pow): Save and restore rounding mode and use
19972 round-to-nearest for main computations.
19973 * math/libm-test.inc (pow_test_tonearest): New function.
19974 (pow_test_towardzero): Likewise.
19975 (pow_test_downward): Likewise.
19976 (pow_test_upward): Likewise.
19977 (main): Call the new functions.
19978 * sysdeps/i386/fpu/libm-test-ulps: Update.
19979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19980
19981 [BZ #3976]
19982 * math/libm-test.inc (cosh_test_tonearest): New function.
19983 (cosh_test_towardzero): Likewise.
19984 (cosh_test_downward): Likewise.
19985 (cosh_test_upward): Likewise.
19986 (sinh_test_tonearest): Likewise.
19987 (sinh_test_towardzero): Likewise.
19988 (sinh_test_downward): Likewise.
19989 (sinh_test_upward): Likewise.
19990 (main): Call the new functions.
19991 * sysdeps/i386/fpu/libm-test-ulps: Update.
19992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19993
6c6a98c9
TV
199942012-03-05 Tom de Vries <tom@codesourcery.com>
19995
19996 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19997 default stack guard is set in last bytes.
19998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19999
21bb2d2e 200002012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 20001
21bb2d2e 20002 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 20003
21bb2d2e
AJ
20004 [BZ #13656]
20005 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
20006 possibly allocate from heap instead of stack.
20007 * stdio-common/bug-vfprintf-nargs.c: New file.
20008 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 20009
c6922934
AS
200102012-03-03 Andreas Schwab <schwab@linux-m68k.org>
20011
20012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20013
bc957d53
MP
200142012-03-03 Marek Polacek <polacek@redhat.com>
20015
20016 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
20017 * math/math_private.h: Likewise.
20018 * stdlib/tst-strtod.c: Likewise.
20019 * sysdeps/i386/i486/bits/atomic.h: Likewise.
20020 * sysdeps/x86_64/bits/atomic.h: Likewise.
20021
6358490d
DM
200222012-03-02 David S. Miller <davem@davemloft.net>
20023
20024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
20025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20028 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20029 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20030 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20031 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20032
01ae168d
RM
200332012-03-02 Roland McGrath <roland@hack.frob.com>
20034
d9a17c07
RM
20035 [BZ #13792]
20036 * manual/examples/README: New file, says the example source files
20037 can be used under GPL>=2.
20038 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20039 line containing just "*/".
20040 * manual/examples/add.c: Add copyright header (GPL>=2).
20041 * manual/examples/argp-ex1.c: Likewise.
20042 * manual/examples/argp-ex2.c: Likewise.
20043 * manual/examples/argp-ex3.c: Likewise.
20044 * manual/examples/argp-ex4.c: Likewise.
20045 * manual/examples/atexit.c: Likewise.
20046 * manual/examples/db.c: Likewise.
20047 * manual/examples/dir.c: Likewise.
20048 * manual/examples/dir2.c: Likewise.
20049 * manual/examples/execinfo.c: Likewise.
20050 * manual/examples/filecli.c: Likewise.
20051 * manual/examples/filesrv.c: Likewise.
20052 * manual/examples/fmtmsgexpl.c: Likewise.
20053 * manual/examples/genpass.c: Likewise.
20054 * manual/examples/inetcli.c: Likewise.
20055 * manual/examples/inetsrv.c: Likewise.
20056 * manual/examples/isockad.c: Likewise.
20057 * manual/examples/longopt.c: Likewise.
20058 * manual/examples/memopen.c: Likewise.
20059 * manual/examples/memstrm.c: Likewise.
20060 * manual/examples/mkfsock.c: Likewise.
20061 * manual/examples/mkisock.c: Likewise.
20062 * manual/examples/mygetpass.c: Likewise.
20063 * manual/examples/pipe.c: Likewise.
20064 * manual/examples/popen.c: Likewise.
20065 * manual/examples/rprintf.c: Likewise.
20066 * manual/examples/search.c: Likewise.
20067 * manual/examples/select.c: Likewise.
20068 * manual/examples/setjmp.c: Likewise.
20069 * manual/examples/sigh1.c: Likewise.
20070 * manual/examples/sigusr.c: Likewise.
20071 * manual/examples/stpcpy.c: Likewise.
20072 * manual/examples/strdupa.c: Likewise.
20073 * manual/examples/strftim.c: Likewise.
20074 * manual/examples/strncat.c: Likewise.
20075 * manual/examples/subopt.c: Likewise.
20076 * manual/examples/swapcontext.c: Likewise.
20077 * manual/examples/termios.c: Likewise.
20078 * manual/examples/testopt.c: Likewise.
20079 * manual/examples/testpass.c: Likewise.
20080 * manual/examples/timeval_subtract.c: Likewise.
20081
01ae168d
RM
20082 [BZ #13792]
20083 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20084 function to ...
20085 * manual/timeval_subtract.c.texi: ... here, new file.
20086
49efa33d
DM
200872012-03-02 David S. Miller <davem@davemloft.net>
20088
20089 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20090
28afd92d
JM
200912012-03-02 Joseph Myers <joseph@codesourcery.com>
20092
804360ed
JM
20093 [BZ #3976]
20094 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20095 (__sin): Save and restore rounding mode and use round-to-nearest
20096 for all computations.
20097 (__cos): Save and restore rounding mode and use round-to-nearest
20098 for all computations.
20099 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20100 <fenv.h>.
20101 (tan): Save and restore rounding mode and use round-to-nearest for
20102 all computations.
20103 * math/libm-test.inc (cos_test_tonearest): New function.
20104 (cos_test_towardzero): Likewise.
20105 (cos_test_downward): Likewise.
20106 (cos_test_upward): Likewise.
20107 (sin_test_tonearest): Likewise.
20108 (sin_test_towardzero): Likewise.
20109 (sin_test_downward): Likewise.
20110 (sin_test_upward): Likewise.
20111 (tan_test_tonearest): Likewise.
20112 (tan_test_towardzero): Likewise.
20113 (tan_test_downward): Likewise.
20114 (tan_test_upward): Likewise.
20115 (main): Call the new functions.
20116 * sysdeps/i386/fpu/libm-test-ulps: Update.
20117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20118
a6d06d7b
JM
20119 [BZ #10135]
20120 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20121 small n, then large n, before computing and testing k+n.
20122 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20124 Likewise.
20125 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20126 Likewise.
20127 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20128 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20129 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20130 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20131 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20132 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20133 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20134 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20135 * math/libm-test.inc (scalbn_test): Add more tests.
20136 (scalbln_test): Likewise.
20137
07e12bb3
JM
20138 * manual/filesys.texi (mode_t): Describe constraints on size and
20139 signedness, not exact equivalence to a particular type.
20140 (ino_t): Likewise.
20141 (ino64_t): Likewise.
20142 (dev_t): Likewise.
20143 (nlink_t): Likewise.
20144 (blkcnt_t): Likewise.
20145 (blkcnt64_t): Likewise.
20146 * manual/llio.texi (off_t): Likewise.
20147
28afd92d
JM
20148 [BZ #3976]
20149 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20150 (__ieee754_exp): Save and restore rounding mode and use
20151 round-to-nearest for all computations.
20152 * math/libm-test.inc (exp_test_tonearest): New function.
20153 (exp_test_towardzero): Likewise.
20154 (exp_test_downward): Likewise.
20155 (exp_test_upward): Likewise.
20156 (main): Call the new functions.
20157 * sysdeps/i386/fpu/libm-test-ulps: Update.
20158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20159
b1eeb65d
CD
201602012-03-01 Chris Demetriou <cgd@google.com>
20161
20162 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20163 have predictable order.
20164
53362a4b
DM
201652012-03-01 David S. Miller <davem@davemloft.net>
20166
3c969083
DM
20167 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20168
759707de
DM
20169 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20170 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20171 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20172 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20173
dfdb8ff2
DM
20174 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20175 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20176 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20178 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20179 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20180 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20181 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20182 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20183
ead89f96
DM
20184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20185
7f66bd07
DM
20186 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20187 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20188 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20189
53362a4b
DM
20190 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20191 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20192 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20193 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20194 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20195 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20196 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20197 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20198 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20199 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20200 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20201 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20203 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20204 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20206 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20207 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20208 * sysdeps/sparc/elf/configure: Regenerated.
20209
7b1902cb
JM
202102012-03-01 Joseph Myers <joseph@codesourcery.com>
20211
bec039bc
JM
20212 * configure.in (AS, LD): Require binutils 2.20 or later.
20213 * configure: Regenerated.
20214 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20215 as required minimum version.
20216 * INSTALL: Regenerated.
20217
7b1902cb
JM
20218 [BZ #2541]
20219 [BZ #4108]
20220 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20221 before squaring exponent.
20222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20223 bottom long double and 27 bits of top long double before squaring
20224 exponent.
20225 * math/libm-test.inc (erfc_test): Add more tests.
20226 * sysdeps/i386/fpu/libm-test-ulps: Update.
20227 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20229
f775c276
KT
202302012-03-01 Kai Tietz <ktietz@redhat.com>
20231
20232 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20233 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20234 containing bit-fields.
20235 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20236 * soft-fp/single.h (_FP_UNION_S): Likewise.
20237 * soft-fp/double.h (_FP_UNION_D): Likewise.
20238
5b8a4d4a
JM
202392012-02-29 Joseph Myers <joseph@codesourcery.com>
20240
0bab47b6
JM
20241 [BZ #13786]
20242 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20243 not include ../strcmp.S.
20244 [USE_AS_STRNCASECMP_L]: Likewise.
20245 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20246 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20247 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20248 (__strncasecmp_l_ia32): Define as alias to
20249 __strncasecmp_l_nonascii.
20250
0fcad3e2
JM
20251 [BZ #5794]
20252 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20253 * sysdeps/i386/fpu/libm-test-ulps: Update.
20254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20255
5b8a4d4a
JM
20256 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20258
8fdceb2e
JL
202592012-02-29 Jeff Law <law@redhat.com>
20260
20261 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20262 out of bounds read.
20263
1f393a11
MP
202642012-02-29 Marek Polacek <polacek@redhat.com>
20265
20266 [BZ #13706]
20267 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20268 * elf/Makefile: Add rules to run tst-unused-dep.out.
20269
8847f037
DM
202702012-02-28 David S. Miller <davem@davemloft.net>
20271
20272 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20273 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20274 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20275 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20276 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20277 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20278
169d7f11
JM
202792012-02-29 Joseph Myers <joseph@codesourcery.com>
20280
20281 * math/libm-test.inc (llround_test): Move one test from
20282 lround_test. Use TEST_f_L in moved test.
20283 (lround_test): Move misplaced test to llround_test. Add testcase
20284 from bug 2561.
20285
39adf059
UD
202862012-02-28 Ulrich Drepper <drepper@gmail.com>
20287
20288 * sysdeps/x86_64/fpu/e_expf.S: New file.
20289 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20290
71b5d1c5
SB
202912012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20292
20293 [BZ #13637]
20294 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20295 of remain_len that may cause incomplete multi-byte character and
20296 false match.
20297 * posix/bug-regex33.c: New file.
20298 * posix/Makefile (tests): Add bug-regex33.
20299
1f77f049
JM
203002012-02-28 Joseph Myers <joseph@codesourcery.com>
20301
20302 * manual/macros.texi: New file.
20303 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20304 * manual/libc.texinfo: Include macros.texi.
20305 * manual/creatute.texi: Likewise.
20306 * manual/install.texi: Likewise.
20307 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20308 @glibcadj{} in references to the GNU C Library.
20309 * manual/charset.texi: Likewise.
20310 * manual/conf.texi: Likewise.
20311 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20312 when not using those macros.
20313 * manual/creature.texi: Likewise.
20314 * manual/crypt.texi: Likewise.
20315 * manual/errno.texi: Likewise.
20316 * manual/filesys.texi: Likewise.
20317 * manual/header.texi: Likewise.
20318 * manual/install.texi: Likewise.
20319 * manual/intro.texi: Likewise.
20320 * manual/io.texi: Likewise.
20321 * manual/job.texi: Likewise.
20322 * manual/lang.texi: Likewise.
20323 * manual/libc.texiinfo: Likewise.
20324 * manual/llio.texi: Likewise.
20325 * manual/locale.texi: Likewise.
20326 * manual/maint.texi: Likewise.
20327 * manual/math.texi: Likewise.
20328 * manual/memory.texi: Likewise.
20329 * manual/message.texi: Likewise.
20330 * manual/nss.texi: Likewise.
20331 * manual/pattern.texi: Likewise.
20332 * manual/process.texi: Likewise.
20333 * manual/resource.texi: Likewise.
20334 * manual/search.texi: Likewise.
20335 * manual/setjmp.texi: Likewise.
20336 * manual/signal.texi: Likewise.
20337 * manual/socket.texi: Likewise.
20338 * manual/startup.texi: Likewise.
20339 * manual/stdio.texi: Likewise.
20340 * manual/string.texi: Likewise.
20341 * manual/sysinfo.texi: Likewise.
20342 * manual/syslog.texi: Likewise.
20343 * manual/terminal.texi: Likewise.
20344 * manual/time.texi: Likewise.
20345 * manual/users.texi: Likewise.
20346 * INSTALL: Regenerated.
20347 * NOTES: Regenerated.
d40c5d54 20348 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20349
450bf206
AS
203502012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20351
20352 * include/dirent.h: Include <dirstream.h> before
20353 <dirent/dirent.h>.
20354
741a235b
DM
203552012-02-28 David S. Miller <davem@davemloft.net>
20356
20357 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20358 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20359 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20360 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20361
d6b5aa58
DM
203622012-02-27 David S. Miller <davem@davemloft.net>
20363
1aff59a3
DM
20364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20366 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20367 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20368
d6b5aa58
DM
20369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20370 frame pointer instead of stack pointer relative arg slot.
20371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20372 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20373 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20374
433f48bf
CD
203752012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20376
20377 [BZ #3992]
20378 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20379
d674b76d
DM
203802012-02-27 David S. Miller <davem@davemloft.net>
20381
20382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20386 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20387 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20388 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20389 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20390
0e7727f7
JM
203912012-02-27 Joseph Myers <joseph@codesourcery.com>
20392
20393 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20394 later. Allow versions 5-9.
43be4ca2 20395 * configure: Regenerated.
0e7727f7
JM
20396 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20397 required minimum version and 4.6 as recommended version. Do not
20398 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20399 * INSTALL: Regenerated.
0e7727f7 20400
a78bc654
DM
204012012-02-27 David S. Miller <davem@davemloft.net>
20402
428d5830
DM
20403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20404 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20407 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20408 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20409 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20410 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20411
a78bc654
DM
20412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20413 manipulate bits before adding and subtracting TWO112[sx].
20414 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20415
4579f81c
RM
204162012-02-27 Roland McGrath <roland@hack.frob.com>
20417
36c8acb4
RM
20418 [BZ #13775]
20419 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20420 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20421 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20422 being in POSIX, because they are in 1003.1-2008.
20423
84ad622b
RM
20424 * rt/tst-aio.c: Include <fcntl.h>.
20425 * rt/tst-aio7.c: Likewise.
20426 * rt/tst-aio64.c: Likewise.
20427
4579f81c
RM
20428 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20429
abd923db
JM
204302012-02-27 Joseph Myers <joseph@codesourcery.com>
20431
20432 * manual/install.texi (--with-headers): Describe headers as
20433 interface headers, not private headers.
20434 (Specific advice for GNU/Linux systems): Describe use of headers
20435 from "make headers_install", not private headers from older
20436 kernels.
43be4ca2 20437 * INSTALL: Regenerated.
abd923db
JM
20438 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20439 Change to 2.6.19.
20440 * sysdeps/unix/sysv/linux/configure: Regenerated.
20441
6664049b
JM
20442 * manual/llio.texi (fclean): Remove documentation.
20443
bb8b6697
JM
20444 * manual/Makefile (libc-texi-generated): New variable. Include
20445 version.texi.
20446 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20447 $(libc-texi-generated), not duplicated list of files.
20448 (version.texi, stamp-version): New rules.
20449 (realclean): Remove $(libc-texi-generated), not individual files
20450 from that list. Do not remove dir-add.texinfo.
20451 * manual/libc.texinfo: Comment out uses of edition numbers and
20452 references to printed manual. Remove last-updated dates.
20453 (EDITION): Comment out.
20454 (ISBN): Likewise.
20455 (VERSION, UPDATED): Remove.
20456 (version.texi): Include.
20457
12e5c3b9
AS
204582012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20459
20460 * sysdeps/posix/spawni.c: Include <signal.h>.
20461 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20462 * sysdeps/pthread/aio_fsync.c: Likewise.
20463
4efeffc1 204642012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20465
ba63ba08
UD
20466 * conform/Makefile (tests): Run only when not cross-compiling and
20467 when fast-check is not defined.
20468
d94a4670
UD
20469 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20470 * conform/data/limits.h-data: Fixes for POSIX2008.
20471 * conform/run-conformtest.sh: Run all tests.
20472 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20473 headers.
20474 * include/bits/dlfcn.h: Likewise.
20475 * include/langinfo.h: Likewise.
20476 * include/monetary.h: Likewise.
20477 * include/sys/poll.h: Likewise.
20478
20479 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20480 for __USE_GNU.
20481 * posix/spawn.h: Define __need_sigset_t.
20482 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20483 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20484 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20485 to get sigevent_t only.
20486 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20487 only for __USE_GNU.
20488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20489 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20490 process_vm_writev only for __USE_GNU.
20491 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20492
20493 * conform/Makefile: For now ignore errors from run-conformtest.
20494 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20495 POSIX to avoid namespace pollution. Don't prepend headers.
20496 * conform/data/aio.h-data: Fixes for POSIX testing.
20497 * conform/data/fcntl.h-data: Likewise.
20498 * conform/data/glob.h-data: Likewise.
20499 * conform/data/grp.h-data: Likewise.
20500 * conform/data/pthread.h-data: Likewise.
20501 * conform/data/pwd.h-data: Likewise.
20502 * conform/data/signal.h-data: Likewise.
20503 * conform/data/spawn.h-data: Likewise.
20504 * conform/data/stdio.h-data: Likewise.
20505 * conform/data/stdlib.h-data: Likewise.
20506 * conform/data/stropts.h-data: Likewise.
20507 * conform/data/sys/mman.h-data: Likewise.
20508 * conform/data/sys/stat.h-data: Likewise.
20509 * conform/data/sys/types.h-data: Likewise.
20510 * conform/data/sys/wait.h-data: Likewise.
20511 * conform/data/time.h-data: Likewise.
20512 * conform/data/unistd.h-data: Likewise.
20513 * conform/data/utime.h-data: Likewise.
20514
20515 * io/sys/stat.h: fchmod was always in POSIX.
20516 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20517 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20518 * rt/aio.h: Define __need_timespec before including <time.h>.
20519 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20520 struct. Add forward declaration of pthread_attr_t and use it in
20521 sigevent.
20522 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20523 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20524 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20525 always remove CLK_TCK definition.
20526
c20105c3
AS
205272012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20528
20529 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20530
7a270350
UD
205312012-02-25 Ulrich Drepper <drepper@gmail.com>
20532
31341567
UD
20533 * conform/run-conformtest.sh: New file.
20534 * conform/Makefile: Run run-conformtest for tests.
20535 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20536 support.
20537
20538 * conform/data/uchar.h-data: New file.
20539 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20540 * conform/data/arpa/inet.h-data: Likewise.
20541 * conform/data/assert.h-data: Likewise.
20542 * conform/data/complex.h-data: Likewise.
20543 * conform/data/cpio.h-data: Likewise.
20544 * conform/data/ctype.h-data: Likewise.
20545 * conform/data/dirent.h-data: Likewise.
20546 * conform/data/dlfcn.h-data: Likewise.
20547 * conform/data/errno.h-data: Likewise.
20548 * conform/data/fcntl.h-data: Likewise.
20549 * conform/data/float.h-data: Likewise.
20550 * conform/data/fmtmsg.h-data: Likewise.
20551 * conform/data/fnmatch.h-data: Likewise.
20552 * conform/data/ftw.h-data: Likewise.
20553 * conform/data/glob.h-data: Likewise.
20554 * conform/data/grp.h-data: Likewise.
20555 * conform/data/iconv.h-data: Likewise.
20556 * conform/data/inttypes.h-data: Likewise.
20557 * conform/data/langinfo.h-data: Likewise.
20558 * conform/data/libgen.h-data: Likewise.
20559 * conform/data/limits.h-data: Likewise.
20560 * conform/data/locale.h-data: Likewise.
20561 * conform/data/math.h-data: Likewise.
20562 * conform/data/monetary.h-data: Likewise.
20563 * conform/data/mqueue.h-data: Likewise.
20564 * conform/data/ndbm.h-data: Likewise.
20565 * conform/data/net/if.h-data: Likewise.
20566 * conform/data/netdb.h-data: Likewise.
20567 * conform/data/netinet/in.h-data: Likewise.
20568 * conform/data/nl_types.h-data: Likewise.
20569 * conform/data/poll.h-data: Likewise.
20570 * conform/data/pthread.h-data: Likewise.
20571 * conform/data/pwd.h-data: Likewise.
20572 * conform/data/regex.h-data: Likewise.
20573 * conform/data/sched.h-data: Likewise.
20574 * conform/data/search.h-data: Likewise.
20575 * conform/data/semaphore.h-data: Likewise.
20576 * conform/data/setjmp.h-data: Likewise.
20577 * conform/data/signal.h-data: Likewise.
20578 * conform/data/spawn.h-data: Likewise.
20579 * conform/data/stdarg.h-data: Likewise.
20580 * conform/data/stdio.h-data: Likewise.
20581 * conform/data/stdlib.h-data: Likewise.
20582 * conform/data/string.h-data: Likewise.
20583 * conform/data/strings.h-data: Likewise.
20584 * conform/data/stropts.h-data: Likewise.
20585 * conform/data/sys/ipc.h-data: Likewise.
20586 * conform/data/sys/mman.h-data: Likewise.
20587 * conform/data/sys/msg.h-data: Likewise.
20588 * conform/data/sys/resource.h-data: Likewise.
20589 * conform/data/sys/select.h-data: Likewise.
20590 * conform/data/sys/sem.h-data: Likewise.
20591 * conform/data/sys/shm.h-data: Likewise.
20592 * conform/data/sys/socket.h-data: Likewise.
20593 * conform/data/sys/stat.h-data: Likewise.
20594 * conform/data/sys/statvfs.h-data: Likewise.
20595 * conform/data/sys/time.h-data: Likewise.
20596 * conform/data/sys/timeb.h-data: Likewise.
20597 * conform/data/sys/times.h-data: Likewise.
20598 * conform/data/sys/types.h-data: Likewise.
20599 * conform/data/sys/uio.h-data: Likewise.
20600 * conform/data/sys/un.h-data: Likewise.
20601 * conform/data/sys/utsname.h-data: Likewise.
20602 * conform/data/sys/wait.h-data: Likewise.
20603 * conform/data/syslog.h-data: Likewise.
20604 * conform/data/tar.h-data: Likewise.
20605 * conform/data/termios.h-data: Likewise.
20606 * conform/data/utime.h-data: Likewise.
20607 * conform/data/utmpx.h-data: Likewise.
20608 * conform/data/varargs.h-data: Likewise.
20609 * conform/data/wchar.h-data: Likewise.
20610 * conform/data/wctype.h-data: Likewise.
20611 * conform/data/wordexp.h-data: Likewise.
20612
20613 * include/stropts.h: New file.
20614 * include/uchar.h: New file.
20615 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20616 * include/assert.h: Likewise.
20617 * include/ctype.h: Likewise.
20618 * include/dirent.h: Likewise.
20619 * include/dlfcn.h: Likewise.
20620 * include/fcntl.h: Likewise.
20621 * include/fnmatch.h: Likewise.
20622 * include/glob.h: Likewise.
20623 * include/grp.h: Likewise.
20624 * include/libio.h: Likewise.
20625 * include/locale.h: Likewise.
20626 * include/math.h: Likewise.
20627 * include/net/if.h: Likewise.
20628 * include/netdb.h: Likewise.
20629 * include/netinet/in.h: Likewise.
20630 * include/pthread.h: Likewise.
20631 * include/pwd.h: Likewise.
20632 * include/regex.h: Likewise.
20633 * include/sched.h: Likewise.
20634 * include/search.h: Likewise.
20635 * include/setjmp.h: Likewise.
20636 * include/signal.h: Likewise.
20637 * include/stdio.h: Likewise.
20638 * include/stdlib.h: Likewise.
20639 * include/string.h: Likewise.
20640 * include/sys/cdefs.h: Likewise.
20641 * include/sys/mman.h: Likewise.
20642 * include/sys/msg.h: Likewise.
20643 * include/sys/resource.h: Likewise.
20644 * include/sys/select.h: Likewise.
20645 * include/sys/socket.h: Likewise.
20646 * include/sys/stat.h: Likewise.
20647 * include/sys/statvfs.h: Likewise.
20648 * include/sys/time.h: Likewise.
20649 * include/sys/times.h: Likewise.
20650 * include/sys/uio.h: Likewise.
20651 * include/sys/utsname.h: Likewise.
20652 * include/sys/wait.h: Likewise.
20653 * include/termios.h: Likewise.
20654 * include/time.h: Likewise.
20655 * include/ulimit.h: Likewise.
20656 * include/unistd.h: Likewise.
20657 * include/utime.h: Likewise.
20658 * include/wchar.h: Likewise.
20659 * include/wctype.h: Likewise.
20660 * include/wordexp.h: Likewise.
20661
20662 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20663
7a270350
UD
20664 * time/time.h: TIME_UTC must be a macro.
20665 Make timespec_get available for ISO C11 only as well.
20666
7724defc
UD
206672012-02-24 Ulrich Drepper <drepper@gmail.com>
20668
20669 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20670 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20671
6b1d1d46
JM
206722012-02-24 Joseph Myers <joseph@codesourcery.com>
20673
20674 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20675
0f8bbd69
JM
206762012-02-24 Joseph Myers <joseph@codesourcery.com>
20677
20678 * manual/texinfo.tex: Update to version 2012-01-19.16.
20679
66ab80bc
JM
206802012-02-24 Joseph Myers <joseph@codesourcery.com>
20681
20682 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20683
74981cc5
RM
206842012-02-24 Roland McGrath <roland@hack.frob.com>
20685
ee968201
RM
20686 [BZ #13738]
20687 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20688 * manual/fdl-1.3.texi: New file.
20689 * manual/fdl-1.1.texi: File removed.
20690
74981cc5
RM
20691 [BZ #13738]
20692 * manual/libc.texinfo (FDL_VERSION): New @set.
20693 Use it for mention of FDL in cover text.
20694 (Documentation License): Use it in @include file name.
20695
7bb764bc
JM
206962012-02-22 Joseph Myers <joseph@codesourcery.com>
20697 Roland McGrath <roland@hack.frob.com>
20698
20699 [BZ #5461]
20700 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20701 not LONG_LONG_MAX and LONG_LONG_MIN.
20702 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20703 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20704 name.
20705 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20706
6cbeae47
JM
207072012-02-22 Joseph Myers <joseph@codesourcery.com>
20708
20709 [BZ #2547]
20710 [BZ #11365]
20711 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20712 manipulate bits before adding and subtracting TWO23[sx].
20713 * math/libm-test.inc (nearbyint_test): Add more tests.
20714
fe45ce09
JM
207152012-02-22 Joseph Myers <joseph@codesourcery.com>
20716
20717 [BZ #2548]
20718 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20719 bits before adding and subtracting TWO23[sx].
20720 * math/libm-test.inc (rint_test): Add more tests.
20721 (rint_test_tonearest): Likewise.
20722 (rint_test_towardzero): Likewise.
20723 (rint_test_downward): Likewise.
20724 (rint_test_upward: Likewise.
20725
ff3b3d82
JM
207262012-02-22 Joseph Myers <joseph@codesourcery.com>
20727
20728 [BZ #10110]
20729 * include/stdc-predef.h: New file. Extracted from features.h.
20730 * include/features.h: Include stdc-predef.h.
20731 * Makefile (headers): Add stdc-predef.h.
20732 * CONFORMANCE (Compiler limitations): Update.
20733
ef0aab35
JM
207342012-02-22 Joseph Myers <joseph@codesourcery.com>
20735
20736 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20737
58639409
DM
207382012-02-21 David S. Miller <davem@davemloft.net>
20739
20740 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20742
c0e70b25
DM
207432012-02-20 David S. Miller <davem@davemloft.net>
20744
20745 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20746 using a normal save/restore sequence, rather than allocating a
20747 dummy stack frame just to store a frame pointer and restore.
20748 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20749
fb06851d
JM
207502012-02-21 Joseph Myers <joseph@codesourcery.com>
20751
20752 * manual/install.texi: Fix stray word in line-wrapped comment.
20753
7a8b71c3
DM
207542012-02-20 David S. Miller <davem@davemloft.net>
20755
d510c123
DM
20756 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20757 both binutils and gcc support GOTDATA.
20758
0722d7c2
DM
20759 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20760 "rd %pc" in the PIC register setup sequences.
20761
3d2b3019
DM
20762 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20763 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20764 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20765 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20766 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20768 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20769 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20771 (SYSCALL_ERROR_HANDLER): Likewise.
20772 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20773 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20774 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20775 (SYSCALL_ERROR_HANDLER): Likewise.
20776
c80098a9
DM
20777 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20778 (HAVE_GCC_GOTDATA): New.
20779 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20780 relocation support in both binutils and gcc.
20781 * sysdeps/sparc/elf/configure: Regenerate.
20782
3a2545a0
DM
20783 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20784 * sysdeps/sparc/sparc32/elf/configure: Delete.
20785 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20786 * sysdeps/sparc/sparc64/elf/configure: Delete.
20787 * sysdeps/sparc/elf/configure.in: New file.
20788 * sysdeps/sparc/elf/configure: Generate.
20789
7a8b71c3
DM
20790 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20791 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20792 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20793 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20794 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20795
f1e86fca
JM
207962012-02-21 Joseph Myers <joseph@codesourcery.com>
20797
20798 * manual/install.texi: Do not mention specific glibc version
20799 numbers.
20800 * manual/libc.texinfo (VERSION, UPDATED): Update.
20801 (@copying): Use @copyright{} and range of years.
20802
0e7dfaef
JM
208032012-02-21 Joseph Myers <joseph@codesourcery.com>
20804
20805 [BZ #13695]
20806 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20807 [crti.S not in sysdirs] (generated): Do not append.
20808 [crti.S not in sysdirs] (omit-deps): Likewise.
20809 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20810 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20811 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20812 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20813 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20814 Likewise.
20815 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20816 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20817 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20818 * csu/defs.awk: Remove file.
20819 * sysdeps/generic/initfini.c: Likewise.
20820 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20821 variable.
20822 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20823 Likewise.
20824
599af3ca
JM
208252012-02-20 Joseph Myers <joseph@codesourcery.com>
20826
20827 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20828 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20829 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20831 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20832 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20833 <bits/epoll.h>.
20834 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20835 (__EPOLL_PACKED): Define to empty if not defined by
20836 <bits/epoll.h>.
20837 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20839 bits/epoll.h.
20840
0e499750
JM
208412012-02-20 Joseph Myers <joseph@codesourcery.com>
20842
20843 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20844 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20845 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20846 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20847 <bits/timerfd.h>.
20848 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20849 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20850 bits/timerfd.h.
20851
5ad91f6e
JM
208522012-02-20 Joseph Myers <joseph@codesourcery.com>
20853
20854 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20855 in C locale.
20856 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20857 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20858 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20860
06b99b02
AJ
208612012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20862
20863 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20864 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20865
7638c0fd
AS
208662012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20867
20868 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20869 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20870 defined.
20871 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20872 Likewise.
20873 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20874 entry for 2.16.
20875
92221550
AJ
208762012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20877
20878 * math/w_acos.c: Use non-signaling floating-point comparisons.
20879 * math/w_acosf.c: Likewise.
20880 * math/w_acosh.c: Likewise.
20881 * math/w_acoshf.c: Likewise.
20882 * math/w_acoshl.c: Likewise.
20883 * math/w_acosl.c: Likewise.
20884 * math/w_asin.c: Likewise.
20885 * math/w_asinf.c: Likewise.
20886 * math/w_asinl.c: Likewise.
20887 * math/w_atanh.c: Likewise.
20888 * math/w_atanhf.c: Likewise.
20889 * math/w_atanhl.c: Likewise.
20890 * math/w_exp2.c: Likewise.
20891 * math/w_exp2f.c: Likewise.
20892 * math/w_exp2l.c: Likewise.
20893 * math/w_j0.c: Likewise.
20894 * math/w_j0f.c: Likewise.
20895 * math/w_j0l.c: Likewise.
20896 * math/w_j1.c: Likewise.
20897 * math/w_j1f.c: Likewise.
20898 * math/w_j1l.c: Likewise.
20899 * math/w_jn.c: Likewise.
20900 * math/w_jnf.c: Likewise.
20901 * math/w_log.c: Likewise.
20902 * math/w_log10.c: Likewise.
20903 * math/w_log10f.c: Likewise.
20904 * math/w_log10l.c: Likewise.
20905 * math/w_log2.c: Likewise.
20906 * math/w_log2f.c: Likewise.
20907 * math/w_log2l.c: Likewise.
20908 * math/w_logf.c: Likewise.
20909 * math/w_logl.c: Likewise.
20910 * math/w_sqrt.c: Likewise.
20911 * math/w_sqrtf.c: Likewise.
20912 * math/w_sqrtl.c: Likewise.
20913 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20914 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20916 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20917 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20918
ebaf36eb
JM
209192012-02-19 Joseph Myers <joseph@codesourcery.com>
20920
20921 [BZ #9739]
20922 * manual/string.texi (strnlen): Use correct parameter name in
20923 equivalent expression.
20924
71c254a6
JM
209252012-02-19 Joseph Myers <joseph@codesourcery.com>
20926
20927 [BZ #11174]
20928 * manual/users.texi (seteuid): Consistently use neweuid for
20929 argument name.
20930
16d2c631
JM
209312012-02-19 Joseph Myers <joseph@codesourcery.com>
20932
20933 [BZ #13704]
20934 * manual/nss.texi (Services in the NSS configuration): Correct
20935 list of services in example configuration file.
20936
cd837b09
NB
209372012-02-19 Nick Bowler <nbowler@draconx.ca>
20938
20939 [BZ #11322]
20940 * manual/arith.texi: Remove statements about negative zero
20941 behaving identically to zero.
20942
02c4bbad
JM
209432012-02-18 Joseph Myers <joseph@codesourcery.com>
20944
20945 [BZ #5993]
20946 * manual/install.texi: Do not document upgrading from libc5.
20947
366842e7
JM
209482012-02-18 Joseph Myers <joseph@codesourcery.com>
20949
20950 [BZ #4596]
20951 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20952
dd54084d
DM
209532012-02-18 David S. Miller <davem@davemloft.net>
20954
20955 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20956 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20957 %o7 across the call.
20958 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20959 instead.
20960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20961 SETUP_PIC_REG_LEAF.
20962 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20963 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20964 * sysdeps/sparc/crtn.S: Likewise.
20965
2bcc53a3
UD
209662012-02-17 Ulrich Drepper <drepper@gmail.com>
20967
20968 * aout/Makefile: Remove.
20969
09c093b5
RK
209702012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20971
20972 [BZ #13058]
20973 * manual/examples/argp-ex1.c (main): Format definition in GNU
20974 style.
20975 * manual/examples/argp-ex2.c (main): Likewise.
20976 * manual/examples/argp-ex3.c (main): Likewise.
20977 * manual/examples/argp-ex4.c (main): Likewise.
20978 * manual/examples/longopt.c (main): Use new-style prototype
20979 definition.
20980 * manual/examples/strncat.c (main): Specify return type and use
20981 (void) for arguments.
20982 * manual/examples/subopt.c (main): Use char **argv argument.
20983
2ee633a2
JM
209842012-02-17 Joseph Myers <joseph@codesourcery.com>
20985
20986 [BZ #5077]
20987 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20988 rounding modes.
20989
0520adde
FB
209902012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20991
20992 [BZ #6907]
20993 * manual/string.texi (strchr): Change when strchrnul is
20994 recommended.
20995
3f4081cd
DGM
209962012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20997
20998 [BZ #174]
20999 * manual/locale.texi (setlocale): Document LOCPATH.
21000
d1b10e78
JM
210012012-02-17 Joseph Myers <joseph@codesourcery.com>
21002
21003 [BZ #10210]
21004 * manual/process.texi (execle): Move @dots{} before last argument.
21005
79c6869c
PB
210062012-02-17 Paul Bolle <pebolle@tiscali.nl>
21007
21008 [BZ #12047]
21009 * manual/charset.texi (Generic Charset Conversion): Fix typo
21010 (LC_TYPE -> LC_CTYPE).
21011
cc6e48bc
NB
210122012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
21013
21014 [BZ #5805]
21015 * manual/arith.texi (scalbn): Use @var{} on parameter names.
21016 (scalbnf): Likewise.
21017 (scalbnl): Likewise.
21018 (scalbln): Likewise.
21019 (scalblnf): Likewise.
21020 (scalblnl): Likewise.
21021 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
21022 (vwarnx): Likewise.
21023 (verr): Likewise.
21024 (verrx): Likewise.
21025 * manual/filesys.texi (telldir): Use braces around return type.
21026 * manual/llio.texi (mmap): Add space after comma.
21027 (mmap64): Likewise.
21028 * manual/math.texi (jn): Use @var{} on parameter names.
21029 (jnf): Likewise.
21030 (jnl): Likewise.
21031 (yn): Likewise.
21032 (ynf): Likewise.
21033 (ynl): Likewise.
21034 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21035 line.
21036 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21037 "...".
21038 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21039 (sched_get_priority_max): Likewise.
21040 * manual/signal.texi (sigvec): Add space after comma.
21041 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21042 names.
21043 (if_indextoname): Likewise.
21044 (if_freenameindex): Likewise.
21045 (sendto): Use ',' instead of '.' in prototype.
21046 * manual/startup.texi (syscall): Use @dots{} instead of literal
21047 "...".
21048 * manual/stdio.texi (__fpending): Separate initial words of
21049 paragraph from @deftypefun line.
21050 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21051 "...".
21052 (vsyslog): Use @var{} on parameter names.
21053 * manual/terminal.texi (stty): Use @var{} on parameter names.
21054 * manual/users.texi (getutmp): Use @var{} on parameter names.
21055 (getutmpx): Likewise.
21056
5b23062f
JM
210572012-02-17 Joseph Myers <joseph@codesourcery.com>
21058
21059 [BZ #6884]
21060 * manual/stdio.texi (fopen): Fix typos in description of
21061 ",ccs=STRING".
21062
8dee4833
AJ
210632012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21064
21065 [BZ #4026]
21066 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21067 get clock_id definition.
21068
9078ce93
TS
210692012-02-17 Thomas Schwinge <thomas@schwinge.name>
21070
21071 [BZ #4822]
21072 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21073 (madvise): Cast every argument to void on its own.
21074
3835c55f
JM
210752012-02-17 Joseph Myers <joseph@codesourcery.com>
21076
21077 [BZ #9902]
21078 * manual/startup.texi (Exit Status): Fix typo.
21079
35c47e37
JM
210802012-02-17 Joseph Myers <joseph@codesourcery.com>
21081
21082 [BZ #10140]
21083 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21084 * manual/examples/argp-ex2.c: Likewise.
21085 * manual/examples/argp-ex3.c: Likewise.
21086
e3b69ca7
RH
210872012-02-16 Richard Henderson <rth@redhat.com>
21088
21089 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21090 * sysdeps/s390/s390-32/initfini.c: Remove.
21091 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21092 * sysdeps/s390/s390-64/initfini.c: Remove.
21093
df83af67
KK
210942012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21095
21096 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21097 compiler output for sysdeps/generic/initfini.c.
21098 * sysdeps/sh/elf/initfini.c: Remove file.
21099
f63f3380
DM
211002012-02-16 David S. Miller <davem@davemloft.net>
21101
fb59b3a4
DM
21102 [BZ #11494]
21103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21104
f63f3380
DM
21105 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21106 * sysdeps/sparc/crti.S: New file.
21107 * sysdeps/sparc/crtn.S: New file.
21108 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21109 * sysdeps/sparc/sparc64/Makefile: Likewise.
21110
df6a4a4a
MF
211112012-02-15 Mike Frysinger <vapier@gentoo.org>
21112
6dd8f3dc 21113 [BZ #3335]
df6a4a4a
MF
21114 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21115
1cac7236
RM
211162012-02-15 Roland McGrath <roland@hack.frob.com>
21117
d2c736f8
RM
21118 [BZ #4822]
21119 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21120
1cac7236
RM
21121 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21122 (write, read, close): Likewise.
21123 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21124
8e475601
JM
211252012-02-15 Joseph Myers <joseph@codesourcery.com>
21126
21127 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21128 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21129 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21130 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21131 <bits/signalfd.h>.
21132 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21134 bits/signalfd.h.
21135
ed656b40
MP
211362012-02-14 Marek Polacek <polacek@redhat.com>
21137
21138 * sysdeps/x86_64/crti.S: New file.
21139 * sysdeps/x86_64/crtn.S: New file.
21140 * sysdeps/x86_64/elf/initfini.c: Remove file.
21141
2a979d3a
JM
211422012-02-13 Joseph Myers <joseph@codesourcery.com>
21143
21144 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21145 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21146 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21147 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21148 <bits/inotify.h>.
21149 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21151 bits/inotify.h.
21152
2a418ac3
JM
211532012-02-13 Joseph Myers <joseph@codesourcery.com>
21154
21155 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21156 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21157 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21158 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21159 <bits/eventfd.h>.
21160 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21161 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21162 bits/eventfd.h.
21163
fb779be7
TS
211642012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21165
e19e83c5
RM
21166 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21167 __feraiseexcept instead of feraiseexcept.
7c35ffed 21168
fb779be7
TS
21169 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21170 nanosleep invocations.
21171 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21172 strings, and add error checking for a nanosleep invocations.
21173
59ba27a6
PE
211742012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21175
21176 Replace FSF snail mail address with URLs, as per GNU coding standards.
21177 Most of the snail mail addresses were wrong anyway, and omitting
21178 them makes the source code easier to maintain. Almost all of the
21179 changes are to license notices and to locale LC_IDENTIFICATION
21180 addresses, except for this one:
21181 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21182 not its snail mail address.
21183
57b957eb
RH
211842012-02-09 Richard Henderson <rth@twiddle.net>
21185
af850b1c
RH
21186 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21187 of kernel-features.h.
21188
57b957eb
RH
21189 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21190
6b73181a
MP
211912012-02-08 Marek Polacek <polacek@redhat.com>
21192
21193 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21194 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21195 * sysdeps/gnu/_G_config.h: Likewise.
21196 * sysdeps/generic/_G_config.h: Likewise.
21197
26ecc33a
AS
211982012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21199
6c6dbc63
AS
21200 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21201 tests.
21202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21203
e216c012
AS
21204 * sysdeps/powerpc/powerpc32/crti.S: New file.
21205 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21206 * sysdeps/powerpc/powerpc64/crti.S: New file.
21207 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21208
26ecc33a
AS
21209 * Makeconfig (have-initfini): Don't set.
21210 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21211 * configure.in (nopic_initfini): Don't substitute.
21212 * config.h.in (HAVE_INITFINI): Don't #undef.
21213 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21214 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21215
3add8e13
JM
212162012-02-08 Joseph Myers <joseph@codesourcery.com>
21217
21218 Support crti.S and crtn.S provided directly by architectures.
21219 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21220 [crti.S in sysdirs] (omit-deps): Likewise.
21221 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21222 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21223 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21224 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21225 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21226 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21227 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21228 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21229 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21230 compiler output for sysdeps/generic/initfini.c.
21231 * sysdeps/i386/elf/Makefile: Remove file.
21232 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21233
a22f12b4
MP
212342012-02-07 Marek Polacek <polacek@redhat.com>
21235
21236 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21237 * sysdeps/gnu/_G_config.h: Likewise.
21238 * sysdeps/mach/hurd/_G_config.h: Likewise.
21239
148cf100
MP
212402012-02-07 Marek Polacek <polacek@redhat.com>
21241
21242 * math/Makefile (tests): Add tst-CMPLX2.
21243 * math/tst-CMPLX2.c: New file.
21244
cfdc0dd7
AS
212452012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21246
84ba42c4
AS
21247 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21248
cfdc0dd7
AS
21249 * math/libm-test.inc (jn_test): Add missing L suffix.
21250
622c86f4
MP
212512012-02-06 Marek Polacek <polacek@redhat.com>
21252
21253 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21254 * sysdeps/i386/fpu/e_powf.S: Likewise.
21255 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21256 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21257 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21258 * sysdeps/i386/fpu/e_pow.S: Likewise.
21259 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21260 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21261 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21262 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21263 * sysdeps/i386/fpu/e_log2.S: Likewise.
21264 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21265 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21266 * sysdeps/i386/fpu/e_powl.S: Likewise.
21267 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21268 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21269 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21270 * sysdeps/i386/fpu/e_logl.S: Likewise.
21271 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21272 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21273 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21274 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21275 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21276 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21277 * sysdeps/i386/fpu/e_log.S: Likewise.
21278 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21279 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21280 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21281 * sysdeps/i386/fpu/e_logf.S: Likewise.
21282 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21283 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21284 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21285 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21286 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21287 * sysdeps/i386/fpu/e_log10.S: Likewise.
21288 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21289 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21290 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21291 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21292 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21293 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21294 * sysdeps/i386/asm-syntax.h: Likewise.
21295 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21296 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21297 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21298 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21299 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21300 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21301 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21302 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21303 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21304 * sysdeps/powerpc/sysdep.h: Likewise.
21305 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21306 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21307
d4a54ac6
JM
213082012-02-06 Joseph Myers <joseph@codesourcery.com>
21309
21310 [BZ #411]
21311 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21312
314054ea
JM
213132012-02-06 Joseph Myers <joseph@codesourcery.com>
21314
21315 * sysdeps/i386/sysdep.h: Include <features.h>.
21316 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21317 version.
21318
d8e0ca50
JM
213192012-02-05 Joseph Myers <joseph@codesourcery.com>
21320
21321 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21322 Define.
21323 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21324 LOAD_PIC_REG_STR.
21325
b1da7dd9
JM
213262012-02-03 Joseph Myers <joseph@codesourcery.com>
21327
21328 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21329 (SETUP_PIC_REG): Use GET_PC_THUNK.
21330 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21331 macro.
21332
9a1d9254
JM
213332012-02-03 Joseph Myers <joseph@codesourcery.com>
21334
21335 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21336 for non-PIC compilation.
21337 (SETUP_PIC_REG): Add .p2align directive.
21338 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21339 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21340 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21341 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21342 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21343 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21345 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21346 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21347 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21348 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21349 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21351 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21352 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21353 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21354 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21359 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21360 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21361 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21362 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21363 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21364 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21365 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21366 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21367 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21368 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21369 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21370 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21371 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21372 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21373 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21374 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21375 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21376 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21377 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21378 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21379
65dc3b75
JM
213802012-02-03 Joseph Myers <joseph@codesourcery.com>
21381
21382 * math/tst-CMPLX.c: Include <stdio.h>.
21383
d55bf177
JM
213842012-01-31 Joseph Myers <joseph@codesourcery.com>
21385
21386 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21387 float.
21388 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21389 * sysdeps/sparc/bits/mathdef.h: Likewise.
21390
69db4f8f
MP
213912012-01-31 Marek Polacek <polacek@redhat.com>
21392
21393 * libio/libio.h: Don't define _PARAMS.
21394 * locale/programs/config.h: Don't define PARAMS.
21395 * stdlib/strtol_l.c: Likewise.
21396 (__strtol_l): Remove PARAMS from the prototype.
21397
41b81892
UD
213982012-01-31 Ulrich Drepper <drepper@gmail.com>
21399
3b49edc0
UD
21400 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21401 names. Just use the correct names. Remove unnecessary wrapper
21402 functions.
21403 * malloc/arena.c: Likewise.
21404 * malloc/hooks.c: Likewise.
21405
41b81892
UD
21406 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21407 ARENA_TEST says not to. Simplify test for creation of a new arena.
21408 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21409
27a25b6e
UD
214102012-01-30 Ulrich Drepper <drepper@gmail.com>
21411
21412 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21413 into tail calls.
21414 (update_get_addr): New function.
21415 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21416 GET_ADDR_MODULE parameter.
21417
c8a89e7d
JM
214182012-01-30 Joseph Myers <joseph@codesourcery.com>
21419
21420 * crypt/cert.c: Remove __STDC__ conditionals.
21421 * crypt/crypt-entry.c: Likewise.
21422 * crypt/crypt_util.c: Likewise.
21423 * libio/filedoalloc.c: Likewise.
21424 * libio/fileops.c: Likewise.
21425 * libio/genops.c: Likewise.
21426 * libio/iofclose.c: Likewise.
21427 * libio/iofdopen.c: Likewise.
21428 * libio/iofopen.c: Likewise.
21429 * libio/iofopen64.c: Likewise.
21430 * libio/iogetdelim.c: Likewise.
21431 * libio/iopopen.c: Likewise.
21432 * libio/obprintf.c: Likewise.
21433 * libio/oldfileops.c: Likewise.
21434 * libio/oldiofclose.c: Likewise.
21435 * libio/oldiofdopen.c: Likewise.
21436 * libio/oldiofopen.c: Likewise.
21437 * libio/oldiopopen.c: Likewise.
21438 * libio/wfiledoalloc.c: Likewise.
21439 * libio/wgenops.c: Likewise.
21440 * locale/programs/xmalloc.c: Likewise.
21441 * misc/syslog.c: Likewise.
21442 * stdio-common/xbug.c: Likewise.
21443 * string/memchr.c: Likewise.
21444 * string/memcmp.c: Likewise.
21445 * string/memrchr.c: Likewise.
21446 * string/rawmemchr.c: Likewise.
21447 * sysdeps/posix/getcwd.c: Likewise.
21448 * time/strftime_l.c: Likewise.
21449
3b100462
JM
214502012-01-30 Joseph Myers <joseph@codesourcery.com>
21451
21452 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21453 * config.make.in (config-cflags-sse2avx): Define.
21454 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21455 Fix typo.
21456
607998af
CM
214572012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21458
21459 * scripts/config.guess: Update from upstream config git repository.
21460 * scripts/config.sub: Likewise.
21461
3601428f
CM
214622012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21463
3ac8b282
CM
21464 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21465 (EM_NUM): Update.
21466 (R_TILEPRO_*, R_TILEGX_*): New macros.
21467
e034841e
CM
21468 * scripts/firstversions.awk: Fix bug in version range handling.
21469
540d7568
CM
21470 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21471
3601428f
CM
21472 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21473
463de862
CM
21474 * include/sys/epoll.h: New file.
21475 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21476 libc_hidden_def.
21477
73139a76
UD
214782012-01-28 Ulrich Drepper <drepper@gmail.com>
21479
96bc5b45
UD
21480 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21481 Avoid unnecessary __WORDSIZE == 64 test.
21482 (fmaxf): Use VEX format if possible.
21483 (fmax): Likewise.
21484 (fminf): Likewise.
21485 (fmin): Likewise.
21486
56f6f6a2
UD
21487 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21488 * math/math_private.h: Remove libc_fegetround* and
21489 libc_fesetround*.
21490 * sysdeps/i386/configure.in: Check for -msse2avx.
21491 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21492 also if SSE2AVX is defined.
21493 Remove libc_fegetround* and libc_fesetround*.
21494 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21495 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21496 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21497 of HAS_YMM_USABLE.
21498 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21499 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21500 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21501 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21502 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21503
73139a76
UD
21504 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21505
d73f93a4
AZ
215062012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21507
21508 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21509 size is not set.
21510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21511
6ee65ed6
UD
215122012-01-27 Ulrich Drepper <drepper@gmail.com>
21513
21514 [BZ #13618]
21515 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21516 relocation.
21517 * Makeconfig (libm): Define.
21518 * elf/Makefile: Add rules to build and run tst-relsort1.
21519 * elf/tst-relsort1.c: New file.
21520 * elf/tst-relsort1mod1.c: New file.
21521 * elf/tst-relsort1mod2.c: New file.
21522
8db21882
JM
215232012-01-27 Joseph Myers <joseph@codesourcery.com>
21524
21525 * math/s_ldexp.c: Remove __STDC__ conditionals.
21526 * math/s_ldexpf.c: Likewise.
21527 * math/s_ldexpl.c: Likewise.
21528 * math/s_nextafter.c: Likewise.
21529 * math/s_nexttowardf.c: Likewise.
21530 * math/s_significand.c: Likewise.
21531 * math/s_significandf.c: Likewise.
21532 * math/s_significandl.c: Likewise.
21533 * math/w_jnl.c: Likewise.
21534 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21535 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21536 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21537 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21538 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21553 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21554 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21555 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21556 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21557 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21558 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21559 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21560 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21561 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21562 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21563 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21564 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21565 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21566 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21567 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21568 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21569 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21570 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21571 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21572 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21573 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21574 * sysdeps/ieee754/k_standard.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21606 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21607 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21609 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21610 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21615 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21619 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21624 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21625 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21628 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21629 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21630 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21631 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21632 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21633 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21634 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21635 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21636 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21637 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21638 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21639 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21640 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21641 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21642 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21643 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21647 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21649 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21650 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21651 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21654 * sysdeps/ieee754/s_matherr.c: Likewise.
21655 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21656 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21657 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21658 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21659
965a54a4
JM
216602012-01-26 Joseph Myers <joseph@codesourcery.com>
21661
21662 * crypt/md5.h: Remove __STDC__ conditionals.
21663 * libio/libioP.h: Likewise.
21664 * locale/programs/config.h: Likewise.
21665 * sysdeps/generic/sysdep.h: Likewise.
21666 * sysdeps/i386/asm-syntax.h: Likewise.
21667 * sysdeps/s390/asm-syntax.h: Likewise.
21668 * sysdeps/unix/sysdep.h: Likewise.
21669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21671
7071ad79
JM
216722012-01-26 Joseph Myers <joseph@codesourcery.com>
21673
21674 * libio/libio.h: Remove __STDC__ conditionals.
21675 * malloc/obstack.h: Likewise.
21676 * math/complex.h: Likewise.
21677 * math/math.h: Likewise.
21678 * sysdeps/generic/_G_config.h: Likewise.
21679 * sysdeps/gnu/_G_config.h: Likewise.
21680 * sysdeps/mach/hurd/_G_config.h: Likewise.
21681 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21682 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21683 * sysdeps/sparc/bits/mathdef.h: Likewise.
21684
afc5ed09
UD
216852012-01-26 Ulrich Drepper <drepper@gmail.com>
21686
21687 [BZ #13583]
21688 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21689 Clean up HAS_* macros.
afc5ed09 21690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21691 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21692 possible.
21693 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21694 HAS_AVX.
21695 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21696 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21697 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21698 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21699 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21700
bdb6de1d
JM
217012012-01-25 Joseph Myers <joseph@codesourcery.com>
21702
21703 * elf/tst-unique3.cc (gets): Remove declaration.
21704 * elf/tst-unique3lib.cc (gets): Likewise.
21705 * elf/tst-unique3lib2.cc (gets): Likewise.
21706 * elf/tst-unique4.cc (gets): Likewise.
21707
b15549e6
UD
217082012-01-24 Ulrich Drepper <drepper@gmail.com>
21709
21710 * include/stdio.h: Add C++ protection. Add gets declarations and
21711 definitions.
21712 * debug/tst-chk1.c: Don't declare gets here.
21713 * stdio-common/tst-gets.c: Likewise.
21714
a037381f
JM
217152012-01-24 Joseph Myers <joseph@codesourcery.com>
21716
21717 * posix/glob: Remove directory.
21718
f1d4aa75
JM
217192012-01-24 Joseph Myers <joseph@codesourcery.com>
21720
21721 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21722
81c0c964
PT
217232012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21724
21725 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21726 of the non-standard EPFNOSUPPORT.
21727
0ea698ae
ST
217282011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21729
21730 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21731 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21732 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21733
d220b117
UD
217342012-01-21 Ulrich Drepper <drepper@gmail.com>
21735
21736 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21737
3e1aa84e
UD
217382012-01-20 Ulrich Drepper <drepper@gmail.com>
21739
21740 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21741 transient errors.
21742 * nscd/grpcache.c (cache_addgr): Likewise.
21743 * nscd/hstcache.c (cache_addhst): Likewise.
21744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21745 * nscd/pwdcache.c (cache_addpw): Likewise.
21746 * nscd/servicescache.c (cache_addserv): Likewise.
21747
400aa020
UD
217482012-01-16 Ulrich Drepper <drepper@gmail.com>
21749
d77e7869
UD
21750 * malloc/malloc.c: Various cleanups.
21751 * malloc/hooks.c: Likewise.
21752
400aa020
UD
21753 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21754 * stdlib/bug-fmtmsg1.c: New file.
21755
21756 * stdlib/fmtmsg.c (init): Add missing unlock.
21757 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21758
e0a309cf
MP
217592012-01-12 Marek Polacek <polacek@redhat.com>
21760
21761 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21762 and _GNU_SOURCE.
21763
929d11c7
WS
217642012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21765
21766 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21767 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21768 macro to ensure uniqueness of label name.
21769 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21770 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21771
41d0e869
UD
217722012-01-11 Ulrich Drepper <drepper@gmail.com>
21773
0cc5ed3b
UD
21774 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21775
41d0e869
UD
21776 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21777 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21778 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21780
a47a831a
UD
217812012-01-10 Ulrich Drepper <drepper@gmail.com>
21782
daa891c0
UD
21783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21784
21785 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21786 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21787 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21788
e58ef0f2
UD
21789 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21790
a47a831a 21791 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21792 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21795
21796 * math/bits/math-finite.h: Add ldexp support.
21797
a0bfc9c7
MP
217982012-01-10 Marek Polacek <polacek@redhat.com>
21799
21800 * locale/programs/localedef.h (show_archive_content): Add noreturn
21801 attribute.
21802
d6e97a1d
UD
218032012-01-09 Ulrich Drepper <drepper@gmail.com>
21804
21805 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21806
d5835c26
UD
218072012-01-08 Ulrich Drepper <drepper@gmail.com>
21808
e5f484c6
UD
21809 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21810
d5835c26
UD
21811 * io/Makefile (headers): Add bits/poll2.h.
21812
d1f741e9
WS
218132011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21814
21815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21816 typo #include statement.
21817
ec09c1c4
UD
218182012-01-08 Ulrich Drepper <drepper@gmail.com>
21819
21820 * include/sys/cdefs.h: Define __attribute_alloc_size.
21821 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21822 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21823 * elf/pldd.c: Likewise.
21824 * iconv/iconv_charmap.c: Likewise.
21825 * iconv/iconvconfig.c: Likewise.
21826 * iconv/strtab.c: Likewise.
21827 * locale/programs/locale.c: Likewise.
21828 * locale/programs/localedef.h: Likewise.
21829 * locale/programs/simple-hash.c: Likewise.
21830 * nscd/nscd.h: Likewise.
21831 * nss/makedb.c: Likewise.
21832 * sysdeps/generic/ldconfig.h: Likewise.
21833 * locale/programs/localedef.c: Remove xmalloc prototype.
21834 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21835
20b38e03
PP
218362012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21837
21838 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21839 appropriate.
21840
a0da5fe1
UD
218412012-01-08 Ulrich Drepper <drepper@gmail.com>
21842
1d5a644a 21843 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21844 * math/tst-CMPLX.c: New file.
1d5a644a 21845
8784a6db
UD
21846 * math/complex.h (CMPLXL): Fix typo.
21847
d9a216c0
UD
21848 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21849 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21850 GLIBC_2.16.
21851 * debug/tst-chk1.c: Add poll and ppoll tests.
21852 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21853 * include/sys/poll.h: Add hidden proto for ppoll.
21854 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21855 * sysdeps/mach/hurd/ppoll.c: Likewise.
21856 * io/ppoll.c: Likewise.
21857 * debug/poll_chk.c: New file.
21858 * debug/ppoll_chk.c: New file.
21859 * include/bits/poll2.h: New file.
21860 * io/bits/poll2.h: New file.
21861
ac097f5c
UD
21862 [BZ #1350]
21863 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21864
2119dcfa
UD
21865 * configure.in: static is always set to yes. Remove.
21866 * config.make.in: Don't set build-static.
21867 * Makeconfig: Remove use of build-static.
21868 * dlfcn/Makefile: Likewise.
21869 * elf/Makefile: Likewise.
21870 * math/Makefile: Likewise.
21871 * misc/Makefile: Likewise.
21872 * nptl/Makefile: Likewise.
21873 * sysdeps/mach/hurd/Makefile: Likewise.
21874
121766a9
UD
21875 * configure.in: PWD_P is not used anymore.
21876 * config.make.in: Remove PWD_P entry.
21877
51a1d39c 21878 * configure.in: Remove last remnants of RANLIB.
8720d066 21879 No need to check for signed size_t anymore.
215f4bdc
UD
21880 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21881 and IA-64.
3857022a 21882 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21883 * aclocal.m4: Likewise.
21884
d3ed7225
UD
21885 * wcsmbs/mbrtoc16.c: Implement using towc function.
21886 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21887 * wcsmbs/wcsmbsload.c: Likewise.
21888 * iconv/gconv_simple.c: Likewise.
21889 * iconv/gconv_int.h: Likewise.
21890 * iconv/gconv_builtin.h: Likewise.
21891 * iconv/iconv_prog.c: Remove CHAR16 handling.
21892
21893 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21894
21895 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21896
a0da5fe1
UD
21897 * configure.in: Remove --with-elf and --enable-bounded options.
21898 Dont set base_machine for ia64. More non-ELF conditions removed.
21899 Remove testing and setting of leading underscore information.
21900 * config.make.in (build-bounded): Set to no.
21901 * config.h.in: Remove NO_UNDERSCORES entry.
21902 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21903 them.
21904 * csu/start.c: Remove !NO_UNDERSCORE code.
21905 * locale/localeinfo.h: Likewise.
21906 * sysdeps/generic/machine-gmon.h: Likewise.
21907 * sysdeps/generic/sysdep.h: Likewise.
21908 * sysdeps/i386/sysdep.h: Likewise.
21909 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21910 * sysdeps/mach/sysdep.h: Likewise.
21911 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21912 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21913 * sysdeps/sh/sysdep.h: Likewise.
21914 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21915 * sysdeps/unix/i386/sysdep.S: Likewise.
21916 * sysdeps/unix/sparc/start.c: Likewise.
21917 * sysdeps/unix/sparc/sysdep.S: Likewise.
21918 * sysdeps/unix/sparc/sysdep.h: Likewise.
21919 * sysdeps/unix/start.c: Likewise.
21920 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21921 * sysdeps/x86_64/sysdep.h: Likewise.
21922
df78418a
UD
219232012-01-07 Ulrich Drepper <drepper@gmail.com>
21924
a784e502
UD
21925 [BZ #13553]
21926 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21927 for non-gcc.
21928 * argp/argp-fmtstream.h: Use const instead __const.
21929 * argp/argp.h: Likewise.
21930 * assert/assert.h: Likewise.
21931 * bits/fenv.h: Likewise.
21932 * bits/sched.h: Likewise.
21933 * bits/sigset.h: Likewise.
21934 * bits/sigthread.h: Likewise.
21935 * catgets/nl_types.h: Likewise.
21936 * conform/data/pthread.h-data: Likewise.
21937 * crypt/crypt-private.h: Likewise.
21938 * crypt/crypt.h: Likewise.
21939 * crypt/crypt_util.c: Likewise.
21940 * ctype/ctype.h: Likewise.
21941 * debug/execinfo.h: Likewise.
21942 * debug/mbsnrtowcs_chk.c: Likewise.
21943 * debug/mbsrtowcs_chk.c: Likewise.
21944 * debug/wcsnrtombs_chk.c: Likewise.
21945 * debug/wcsrtombs_chk.c: Likewise.
21946 * debug/wcstombs_chk.c: Likewise.
21947 * dirent/dirent.h: Likewise.
21948 * dlfcn/dlfcn.h: Likewise.
21949 * elf/neededtest4.c: Likewise.
21950 * grp/grp.h: Likewise.
21951 * gshadow/gshadow.h: Likewise.
21952 * iconv/gconv.h: Likewise.
21953 * iconv/gconv_int.h: Likewise.
21954 * iconv/gconv_simple.c: Likewise.
21955 * iconv/iconv.h: Likewise.
21956 * iconv/loop.c: Likewise.
21957 * iconv/skeleton.c: Likewise.
21958 * include/aio.h: Likewise.
21959 * include/aliases.h: Likewise.
21960 * include/argz.h: Likewise.
21961 * include/arpa/inet.h: Likewise.
21962 * include/assert.h: Likewise.
21963 * include/dirent.h: Likewise.
21964 * include/dlfcn.h: Likewise.
21965 * include/execinfo.h: Likewise.
21966 * include/fcntl.h: Likewise.
21967 * include/fenv.h: Likewise.
21968 * include/glob.h: Likewise.
21969 * include/grp.h: Likewise.
21970 * include/libintl.h: Likewise.
21971 * include/mntent.h: Likewise.
21972 * include/netdb.h: Likewise.
21973 * include/pwd.h: Likewise.
21974 * include/rpc/netdb.h: Likewise.
21975 * include/sched.h: Likewise.
21976 * include/search.h: Likewise.
21977 * include/shadow.h: Likewise.
21978 * include/signal.h: Likewise.
21979 * include/stdio.h: Likewise.
21980 * include/stdlib.h: Likewise.
21981 * include/string.h: Likewise.
21982 * include/sys/socket.h: Likewise.
21983 * include/sys/stat.h: Likewise.
21984 * include/sys/statfs.h: Likewise.
21985 * include/sys/statvfs.h: Likewise.
21986 * include/sys/syslog.h: Likewise.
21987 * include/sys/time.h: Likewise.
21988 * include/sys/uio.h: Likewise.
21989 * include/time.h: Likewise.
21990 * include/unistd.h: Likewise.
21991 * include/utmp.h: Likewise.
21992 * include/wchar.h: Likewise.
21993 * include/wctype.h: Likewise.
21994 * inet/aliases.h: Likewise.
21995 * inet/arpa/inet.h: Likewise.
21996 * inet/netinet/ether.h: Likewise.
21997 * inet/netinet/in.h: Likewise.
21998 * intl/libintl.h: Likewise.
21999 * io/bits/fcntl2.h: Likewise.
22000 * io/fcntl.h: Likewise.
22001 * io/ftw.h: Likewise.
22002 * io/sys/poll.h: Likewise.
22003 * io/sys/stat.h: Likewise.
22004 * io/sys/statfs.h: Likewise.
22005 * io/sys/statvfs.h: Likewise.
22006 * io/utime.h: Likewise.
22007 * libio/bits/stdio.h: Likewise.
22008 * libio/bits/stdio2.h: Likewise.
22009 * libio/libio.h: Likewise.
22010 * libio/libioP.h: Likewise.
22011 * libio/stdio.h: Likewise.
22012 * locale/lc-ctype.c: Likewise.
22013 * locale/locale.h: Likewise.
22014 * login/utmp.h: Likewise.
22015 * malloc/arena.c: Likewise.
22016 * malloc/malloc.c: Likewise.
22017 * malloc/malloc.h: Likewise.
22018 * malloc/mcheck.c: Likewise.
22019 * malloc/mtrace.c: Likewise.
22020 * math/bits/mathcalls.h: Likewise.
22021 * math/fenv.h: Likewise.
22022 * math/math_private.h: Likewise.
22023 * misc/bits/error.h: Likewise.
22024 * misc/bits/syslog.h: Likewise.
22025 * misc/err.h: Likewise.
22026 * misc/error.h: Likewise.
22027 * misc/fstab.h: Likewise.
22028 * misc/mntent.h: Likewise.
22029 * misc/regexp.h: Likewise.
22030 * misc/search.h: Likewise.
22031 * misc/sgtty.h: Likewise.
22032 * misc/sys/mman.h: Likewise.
22033 * misc/sys/syslog.h: Likewise.
22034 * misc/sys/uio.h: Likewise.
22035 * misc/sys/xattr.h: Likewise.
22036 * misc/ttyent.h: Likewise.
22037 * nis/rpcsvc/ypclnt.h: Likewise.
22038 * nss/nss.h: Likewise.
22039 * posix/bits/unistd.h: Likewise.
22040 * posix/fnmatch.h: Likewise.
22041 * posix/glob.h: Likewise.
22042 * posix/sched.h: Likewise.
22043 * posix/spawn.h: Likewise.
22044 * posix/sys/wait.h: Likewise.
22045 * posix/unistd.h: Likewise.
22046 * posix/wordexp.h: Likewise.
22047 * pwd/pwd.h: Likewise.
22048 * resolv/netdb.h: Likewise.
22049 * resource/sys/resource.h: Likewise.
22050 * rt/aio.h: Likewise.
22051 * rt/bits/mqueue2.h: Likewise.
22052 * rt/mqueue.h: Likewise.
22053 * shadow/shadow.h: Likewise.
22054 * signal/signal.h: Likewise.
22055 * socket/send.c: Likewise.
22056 * socket/sendto.c: Likewise.
22057 * socket/sys/socket.h: Likewise.
22058 * stdio-common/printf.h: Likewise.
22059 * stdlib/bits/stdlib.h: Likewise.
22060 * stdlib/fmtmsg.h: Likewise.
22061 * stdlib/monetary.h: Likewise.
22062 * stdlib/stdlib.h: Likewise.
22063 * stdlib/ucontext.h: Likewise.
22064 * streams/stropts.h: Likewise.
22065 * string/argz.h: Likewise.
22066 * string/bits/string2.h: Likewise.
22067 * string/string.h: Likewise.
22068 * string/strings.h: Likewise.
22069 * sunrpc/rpc/auth.h: Likewise.
22070 * sunrpc/rpc/auth_des.h: Likewise.
22071 * sunrpc/rpc/clnt.h: Likewise.
22072 * sunrpc/rpc/netdb.h: Likewise.
22073 * sunrpc/rpc/pmap_clnt.h: Likewise.
22074 * sunrpc/rpc/xdr.h: Likewise.
22075 * sysdeps/generic/inttypes.h: Likewise.
22076 * sysdeps/generic/net/if.h: Likewise.
22077 * sysdeps/generic/sys/swap.h: Likewise.
22078 * sysdeps/gnu/net/if.h: Likewise.
22079 * sysdeps/gnu/utmpx.h: Likewise.
22080 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22081 * sysdeps/i386/i486/bits/string.h: Likewise.
22082 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22083 * sysdeps/s390/bits/string.h: Likewise.
22084 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22085 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22086 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22087 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22088 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22089 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22090 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22091 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22092 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22093 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22094 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22095 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22096 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22097 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22098 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22099 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22100 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22103 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22104 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22105 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22106 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22107 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22108 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22109 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22110 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22111 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22112 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22113 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22114 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22115 * sysvipc/sys/ipc.h: Likewise.
22116 * sysvipc/sys/msg.h: Likewise.
22117 * sysvipc/sys/sem.h: Likewise.
22118 * sysvipc/sys/shm.h: Likewise.
22119 * termios/termios.h: Likewise.
22120 * time/sys/time.h: Likewise.
22121 * time/time.h: Likewise.
22122 * wcsmbs/bits/wchar2.h: Likewise.
22123 * wcsmbs/uchar.h: Likewise.
22124 * wcsmbs/wchar.h: Likewise.
22125 * wctype/wctype.h: Likewise.
22126
0269750c
UD
22127 [BZ #13551]
22128 * Makeconfig: Remove all but ELF support including AIX support.
22129 * Makerules: Likewise.
22130 * config.h.in: Likewise.
22131 * config.make.in: Likewise.
22132 * configure: Likewise.
22133 * configure.in: Likewise.
22134 * csu/Makefile: Likewise.
22135 * csu/version.c: Likewise.
22136 * debug/Makefile: Likewise.
22137 * dlfcn/Makefile: Likewise.
22138 * elf/Makefile: Likewise.
22139 * extra-lib.mk: Likewise.
22140 * iconv/Makefile: Likewise.
22141 * include/libc-symbols.h: Likewise.
22142 * include/shlib-compat.h: Likewise.
22143 * resolv/Makefile: Likewise.
22144 * resolv/res_libc.c: Likewise.
22145 * rt/Makefile: Likewise.
22146 * sysdeps/i386/asm-syntax.h: Likewise.
22147 * sysdeps/i386/sysdep.h: Likewise.
22148 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22149 * sysdeps/mach/sysdep.h: Likewise.
22150 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22151 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22152 * sysdeps/s390/asm-syntax.h: Likewise.
22153 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22155 * sysdeps/sh/sysdep.h: Likewise.
22156 * sysdeps/unix/sparc/sysdep.h: Likewise.
22157 * sysdeps/wordsize-32/divdi3.c: Likewise.
22158 * sysdeps/x86_64/sysdep.h: Likewise.
22159
00bbd29b
UD
22160 * argp/Versions: Remove _argp_unlock_xxx.
22161
22162 [BZ #13559]
22163 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22164 * abilist/libBrokenLocale.abilist: Likewise.
22165 * abilist/libanl.abilist: Likewise.
22166 * abilist/libc.abilist: Likewise.
22167 * abilist/libcrypt.abilist: Likewise.
22168 * abilist/libdl.abilist: Likewise.
22169 * abilist/libm.abilist: Likewise.
22170 * abilist/libnsl.abilist: Likewise.
22171 * abilist/libpthread.abilist: Likewise.
22172 * abilist/libresolv.abilist: Likewise.
22173 * abilist/librt.abilist: Likewise.
22174 * abilist/libthread_db.abilist: Likewise.
22175 * abilist/libutil.abilist: Likewise.
22176 * abilist/libnss_db.abilist: New file.
22177
22178 * scripts/abilist.awk: Add support for indirect functions.
22179
a2693a0e
UD
22180 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22181
3f05895f
UD
22182 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22183
ecb6fb48
UD
22184 * shlib-versions: Remove entries for ports architectures.
22185
664f8cb9
UD
22186 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22187 files in ports.
22188 * elf/stackguard-macros.h: Remove support for IA-64.
22189 * elf/tst-auditmod1.c: Likewise.
22190 * sysdeps/generic/ldsodefs.h: Likewise.
22191
7ae81d88
UD
22192 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22193 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22194 configure files.
22195
bdeba135
UD
22196 [BZ #13552]
22197 * configure.in: Remove --enable-omitfp support.
22198 * FAQ.in: Adjust.
22199 * config.make.in: Likewise.
22200 * Makeconfig: Likewise.
22201 * manual/install.texi: Likewise.
22202
d75a0a62
UD
22203 In case anyone cares, the IA-64 architecture could move to ports.
22204 * sysdeps/ia64/*: Removed.
22205 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 22206 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 22207
dcc9756b
UD
22208 [BZ #13555]
22209 * configure.in: Remove entries for unsupported architectures.
22210
d3761ebc 22211 [BZ #13533]
9954432e
UD
22212 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22213 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22214 routines.
22215 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22216 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22217 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22218 fall back to using wcrtomb.
22219 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22220 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22221 renaming.
22222 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22223 * wcsmbs/tst-c16c32-1.c: New file.
22224
22225 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22226 local variable.
22227
c3a87236
UD
22228 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22229
28926a1b
UD
22230 * elf/tst-unique3.cc: Add explicit declaration of gets.
22231 * elf/tst-unique3lib.cc: Likewise.
22232 * elf/tst-unique3lib2.cc: Likewise.
22233 * elf/tst-unique4.cc: Likewise.
22234
df78418a
UD
22235 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22236
8ecd6b2a
JM
222372012-01-06 Joseph Myers <joseph@codesourcery.com>
22238
22239 [BZ #13566]
22240 * assert/assert.h (static_assert): Don't define for C++.
22241 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22242 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22243
9f115170
UD
222442012-01-03 Ulrich Drepper <drepper@gmail.com>
22245
5e0d0300
UD
22246 * iconv/loop.c (single loop): Fix assertion in storing of
22247 remaining bytes.
22248
9f115170
UD
22249 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22250
81fb02b0
UD
222512012-01-01 Ulrich Drepper <drepper@gmail.com>
22252
22253 * posix/getconf.c: Update copyright year.
22254 * nss/getent.c: Likewise.
a316c1f6 22255 * nss/makedb.c: Likewise.
81fb02b0
UD
22256 * iconv/iconvconfig.c: Likewise.
22257 * iconv/iconv_prog.c: Likewise.
22258 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22259 * elf/pldd.c: Likewise.
22260 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22261 * catgets/gencat.c: Likewise.
22262 * csu/version.c: Likewise.
22263 * elf/ldd.bash.in: Likewise.
22264 * elf/sprof.c (print_version): Likewise.
22265 * locale/programs/locale.c: Likewise.
22266 * locale/programs/localedef.c: Likewise.
a316c1f6 22267 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22268 * nscd/nscd.c (print_version): Likewise.
22269 * debug/xtrace.sh: Likewise.
22270 * malloc/memusage.sh: Likewise.
22271 * malloc/mtrace.pl: Likewise.
22272 * debug/catchsegv.sh: Likewise.
22273
2ba92745
JJ
222742011-12-30 Jakub Jelinek <jakub@redhat.com>
22275
22276 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22277 pure attribute.
22278
dadebdae
UD
222792011-12-24 Ulrich Drepper <drepper@gmail.com>
22280
d3761ebc 22281 [BZ #13533]
db6af3eb
UD
22282 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22283 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22284 transformations.
22285 * iconv/gconv_int.h: Likewise.
22286 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22287 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22288 from libc for GLIBC_2.16.
22289 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22290 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22291 * wcsmbs/uchar.h: Really define mbstate_t.
22292 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22293 * wcsmbs/c16rtomb.c: New file.
22294 * wcsmbs/mbrtoc16.c: New file.
22295 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22296 for C/POSIX locale.
22297 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22298 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22299
dadebdae
UD
22300 * wcsmbs/wchar.h: Add missing __restrict.
22301
67371b56
UD
223022011-12-23 Ulrich Drepper <drepper@gmail.com>
22303
74033a25
UD
22304 [BZ #13532]
22305 * time/Makefile (routines): Add timespec_get.
22306 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22307 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22308 timespec for ISO C11.
22309 * time/timespec_get.c: New file.
22310 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22311 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22312
380d7e87
UD
22313 [BZ #13531]
22314 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22315 * stdlib/stdlib.h: Declare aligned_alloc.
22316 * Versions.def: Add GLIBC_2.16 for libc.
22317 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22318
4e9e7a35
UD
22319 [BZ 13527]
22320 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22321 ISO C11.
22322
380d7e87 22323 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22324 code.
22325
03a71829
UD
22326 [BZ #13528]
22327 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22328
839e283e
UD
22329 [BZ #13529]
22330 * assert/assert.h (static_assert): Define.
22331
ce5294e2 22332 * version.h: Update for 2.16 development version.
90fa7312 22333
8d44e150 22334 [BZ #13526]
d7809905
UD
22335 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22336 _ISOC11_SOURCE.
22337
c0da14cd
UD
22338 * version.h (RELEASE): Bump for 2.15 release.
22339 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22340
530a3249
MP
22341 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22342 Patch by Marek Polacek <mpolacek@redhat.com>.
22343
67371b56
UD
22344 * bits/byteswap.h: Protect long long constants with __extension__.
22345 * sysdeps/i386/bits/byteswap.h: Likewise.
22346 * sysdeps/ia64/bits/byteswap.h: Likewise.
22347 * sysdeps/s390/bits/byteswap.h: Likewise.
22348 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22349
15db4de1
LD
223502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22351
22352 [BZ #13540]
bbe315ea
LD
22353 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22354 destination buffer.
15db4de1
LD
22355 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22356
2b2596b1
MP
223572011-12-23 Marek Polacek <polacek@redhat.com>
22358
22359 * elf/dl-addr.c (determine_info): Add inline keyword.
22360 * elf/tst-auditmod4b.c (check_avx): Likewise.
22361 * elf/tst-auditmod6b.c (check_avx): Likewise.
22362 * elf/tst-auditmod6c.c (check_avx): Likewise.
22363 * elf/tst-auditmod7b.c (check_avx): Likewise.
22364
70c6c246
UD
223652011-12-23 Ulrich Drepper <drepper@gmail.com>
22366
22367 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22368 !__SSE_MATH__.
22369
c044cf14
LD
223702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22371
15db4de1 22372 [BZ #13540]
c044cf14
LD
22373 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22374 processing for last bytes.
22375
6b13d9d9
BH
223762011-08-06 Bruno Haible <bruno@clisp.org>
22377
d455f537
BH
22378 [BZ #13061]
22379 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22380 U+0385, not to U+1FEE.
22381
6b13d9d9
BH
22382 [BZ #13062]
22383 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22384 entry for U+00A5 U+0301.
22385
db910efd
UD
223862011-12-22 Ulrich Drepper <drepper@gmail.com>
22387
27deeafc
UD
22388 [BZ #13166]
22389 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22390 buffer for the output is too small.
22391
aed9d171
UD
22392 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22393 optimization.
22394
db910efd
UD
22395 [BZ #13185]
22396 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22397 SSE flags if possible.
22398
2bd779ae
LD
223992011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22400
e7f9dac3 22401 [BZ #13540]
2bd779ae
LD
22402 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22403 processing for last bytes.
22404
154bfc16
JM
224052011-12-22 Joseph Myers <joseph@codesourcery.com>
22406
22407 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22408 (syscall-list-default-options, syscall-list-default-condition)
22409 (syscall-list-includes): Define.
22410 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22411 list of ABIs and options and #if conditions for each ABI. Do not
22412 handle common syscalls between ABIs specially.
22413 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22414 Remove.
22415 (syscall-list-variants, syscall-list-32bit-options)
22416 (syscall-list-32bit-condition, syscall-list-64bit-options)
22417 (syscall-list-64bit-condition): Define.
22418 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22419 (syscall-list-variants, syscall-list-32bit-options)
22420 (syscall-list-32bit-condition, syscall-list-64bit-options)
22421 (syscall-list-64bit-condition): Define.
22422 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22423 Remove.
22424 (syscall-list-variants, syscall-list-32bit-options)
22425 (syscall-list-32bit-condition, syscall-list-64bit-options)
22426 (syscall-list-64bit-condition): Define.
22427 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22428 Remove.
22429 (syscall-list-variants, syscall-list-32bit-options)
22430 (syscall-list-32bit-condition, syscall-list-64bit-options)
22431 (syscall-list-64bit-condition): Define.
22432
21eaf3a5
UD
224332011-12-22 Ulrich Drepper <drepper@gmail.com>
22434
16c6f992
UD
22435 * locale/iso-639.def: Add brx entry.
22436
41043168
UD
22437 [BZ #13328]
22438 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22439 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22440
21eaf3a5
UD
22441 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22442 __feraiseexcept_renamed.
22443
e3a851a2
UD
224442011-12-21 Ulrich Drepper <drepper@gmail.com>
22445
4920765e
UD
22446 [BZ #13538]
22447 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22448 EPOLLET with unsigned values.
22449 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22450 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22451
e3a851a2
UD
22452 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22453 to large cancellation.
22454 * math/s_cacoshf.c: Likewise.
22455 * math/s_cacoshl.c: Likewise.
22456
b27e24b8
RK
224572011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22458
22459 [BZ #13305]
aebefeee 22460 [BZ #12786]
b27e24b8
RK
22461 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22462 * math/s_cacoshf.c: Likewise.
22463 * math/s_cacoshl.c: Likewise.
22464
ee190f67
UD
224652011-12-21 Ulrich Drepper <drepper@gmail.com>
22466
22467 [BZ #13439]
22468 * iconv/gconv.h: Define __GCONV_SWAP.
22469 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22470 * iconvdata/utf-16.c: Likewise.
22471 * iconvdata/utf-32.c: Likewise.
22472
707f25df
AS
224732011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22474
22475 [BZ #13524]
22476 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22477 numerator after shifting it by one limb.
22478
d2daaa1e
RÁE
224792011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22480
22481 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22482 under [__USE_EXTERN_INLINES].
22483
a4647e72
UD
224842011-12-17 Ulrich Drepper <drepper@gmail.com>
22485
22486 [BZ #13446]
22487 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22488
f0b264f1
AZ
224892011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22490
22491 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22492 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22493 optimized code.
22494 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22495 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22496 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22497 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22498 for strncasecmp/strncasecmp_l compilation.
22499 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22500 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22501
8ef4f244
MP
225022011-12-08 Marek Polacek <mpolacek@redhat.com>
22503
22504 [BZ #13484]
22505 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22506 of __asm__.
22507
97ac2654
UD
225082011-12-17 Ulrich Drepper <drepper@gmail.com>
22509
22510 [BZ #13506]
22511 * time/tzfile.c (__tzfile_read): Check values from file header.
22512
91d2a845
WS
225132011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22514
22515 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22516 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22517 * powerpc/powerpc32/dl-start.S: Likewise.
22518 * powerpc/powerpc32/elf/start.S: Likewise.
22519 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22520 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22521 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22522 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22523 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22524 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22525 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22526 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22527 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22528 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22529 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22530 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22531 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22532 * powerpc/powerpc32/memset.S: Likewise.
22533 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22534 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22535 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22536 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22537 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22538 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22539 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22540 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22541 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22542 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22543 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22544 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22545 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22546
a1267ba1
AZ
225472011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22548
22549 * math/libm-test.inc: Added more nearbyint tests.
22550 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22552 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22554
ad8ac1bd
RL
225552011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22556
22557 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22558 FD_CLOEXEC.
22559
1d3e4b61
UD
225602011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22561
22562 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22563 Add wcscpy-ssse3 wcscpy-c.
22564 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22565 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22566 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22567 * sysdeps/x86_64/wcschr.S: New file.
22568 * sysdeps/x86_64/wcsrchr.S: New file.
22569 * string/test-strcmp.c: Remove checking of wcscmp function for
22570 wrong alignments.
22571 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22572 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22573 wcsrchr-sse2 wcsrchr-c.
22574 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22575 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22576 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22577 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22578 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22579 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22580 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22581 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22582 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22583 * wcsmbc/wcschr.c (WCSCHR): New macro.
22584
5b330a2d
UD
225852011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22586
22587 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22588 * wcsmbs/test-wcsrchr.c: New file.
22589 * string/test-strrchr.c: Add wcsrchr support.
22590 (WIDE): New macro.
22591 * wcsmbs/test-wcscpy.c: New file.
22592 * string/test-strcpy.c: Add wcscpy support.
22593 (WIDE): New macro.
26428b7c 22594
f039c043
UD
225952011-12-10 Ulrich Drepper <drepper@gmail.com>
22596
22597 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22598 the inner loop.
22599
850fb039
AS
226002011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22601
22602 [BZ #13472]
22603 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22604
4efbd5cb
UD
226052011-12-04 Ulrich Drepper <drepper@gmail.com>
22606
52ff5dd0 22607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22608 Minor optimizations.
52ff5dd0 22609
4efbd5cb
UD
22610 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22611 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22612 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22613
8a426e12
UD
226142011-12-03 Ulrich Drepper <drepper@gmail.com>
22615
aff2453d
UD
22616 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22617 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22618 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22619 for gcc to avoid warnings.
22620 * inet/Makefile (tests): Add tst-checks.
22621 * inet/tst-checks.c: New file.
22622
22623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22624 warning.
22625
22626 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22627 __wmemcmp_sse2.
22628
22629 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22630 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22631
8a426e12
UD
22632 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22633
9bea3473
UD
226342011-12-02 Ulrich Drepper <drepper@gmail.com>
22635
3a965496
UD
22636 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22637 problem.
22638
9bea3473
UD
22639 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22640
f101631b
UD
226412011-11-29 Joseph Myers <joseph@codesourcery.com>
22642
22643 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22644 conditional on GCC version.
22645 (__arch_compare_and_exchange_val_8_acq)
22646 (__arch_compare_and_exchange_val_16_acq)
22647 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22648 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22649 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22650
a98275aa
UD
226512011-12-02 Joseph Myers <joseph@codesourcery.com>
22652
22653 * sysdeps/sh/backtrace.c: New file.
22654
d4cc29a2
AS
226552011-12-02 Andreas Schwab <schwab@redhat.com>
22656
22657 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22658 parenthesis.
22659
6257af2d
AS
226602011-12-01 Andreas Schwab <schwab@redhat.com>
22661
22662 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22663 falling back to utime.
22664
b5f44c1a
AS
226652011-11-30 Andreas Schwab <schwab@redhat.com>
22666
22667 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22668 expectations for float.
22669
f3a6cc0a
AS
226702011-11-29 Andreas Schwab <schwab@redhat.com>
22671
22672 * locale/weight.h (findidx): Add parameter len.
22673 * locale/weightwc.h (findidx): Likewise.
22674 * posix/fnmatch_loop.c (FCT): Adjust caller.
22675 * posix/regcomp.c (build_equiv_class): Likewise.
22676 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22677 * posix/regexec.c (check_node_accept_bytes): Likewise.
22678 * string/strcoll_l.c (STRCOLL): Likewise.
22679 * string/strxfrm_l.c (STRXFRM): Likewise.
22680
9d65ea3a
UD
226812011-11-17 Ulrich Drepper <drepper@gmail.com>
22682
22683 * Makefile.in: Remove CVSOPT handling.
22684 * configure.in: Remove use of AC_REVISION.
22685 * iconvdata/Makefile (distribute): No need to filter out CVS.
22686 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22687 handling.
22688
5583a086
AS
226892011-11-16 Andreas Schwab <schwab@redhat.com>
22690
22691 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22692 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22693 [USE_AS_STRNCASECMP_L]: Likewise.
22694 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22695 NO_TLS_DIRECT_SEG_REFS.
22696 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22697 Fix argument offsets for non-PIC.
22698 [USE_AS_STRNCASECMP_L]: Likewise.
22699 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22700 NO_TLS_DIRECT_SEG_REFS.
22701
d62a8200
UD
227022011-11-15 Ulrich Drepper <drepper@gmail.com>
22703
9d65ea3a 22704 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22705 O_CLOEXEC.
22706 * locale/loadlocale.c (_nl_load_locale): Likewise.
22707
09f93bd3
AS
227082011-11-15 Andreas Schwab <schwab@redhat.com>
22709
446514f9
AS
22710 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22711 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22712 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22713 (SYSCALL_GETTIME): Set errno on error.
22714
09f93bd3
AS
22715 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22716 count references to noai6ai_cached.
22717
312be3f9
UD
227182011-11-15 Ulrich Drepper <drepper@gmail.com>
22719
22720 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22721
22722 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22723 FD_CLOEXEC for /proc/self/maps.
22724
22725 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22726 FD_CLOEXEC for /proc/meminfo.
22727
22728 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22729 gai.conf.
22730
22731 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22732 FD_CLOEXEC for given file.
22733
22734 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22735
22736 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22737 FD_CLOEXEC for /etc/hosts.
22738 (_gethtent): Likewise.
22739
22740 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22741
22742 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22743 cancellation and set FD_CLOEXEC for /etc/netgroup.
22744
22745 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22746 reading /etc/publickey.
22747
22748 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22749 allow cancellation when reading /etc/group.
22750
22751 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22752 cancellation.
22753 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22754
22755 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22756 when using data file.
22757
22758 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22759
22760 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22761 (write_nis_obj): Use "c" and "e" in fopen.
22762
22763 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22764
22765 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22766
22767 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22768
22769 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22770
22771 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22772 locale.alias.
22773
22774 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22775
22776 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22777
22778 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22779
22780 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22781 file parsing and set FD_CLOEXEC.
22782
82af0fa8
UD
227832011-11-14 Ulrich Drepper <drepper@gmail.com>
22784
22785 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22786
a5fb313c
AS
227872011-11-14 Andreas Schwab <schwab@redhat.com>
22788
22789 * malloc/arena.c (arena_get2): Don't call reused_arena when
22790 _int_new_arena failed.
22791
6abf3465
UD
227922011-11-14 Ulrich Drepper <drepper@gmail.com>
22793
22794 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22795 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22796 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22797 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22798 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22799 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22800 to compile strcasecmp and strncasecmp.
22801 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22802 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22803
22804 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22805
76e3966e
UD
228062011-11-13 Ulrich Drepper <drepper@gmail.com>
22807
22808 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22809 locale-defines.sym to gen-as-const-headers.
22810 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22811 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22813 to compile strcasecmp and strncasecmp.
22814 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22815 strcasecmp_l and strncasecmp_l.
22816 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22817 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22818 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22819 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22820 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22821 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22822 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22823 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22824 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22825 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22826 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22827
ab26144e
UD
228282011-11-12 Ulrich Drepper <drepper@gmail.com>
22829
7edb22ef
UD
22830 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22831 result of SYSDEP_GETTIME_CPU to retval.
22832 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22833 parameter list to macro. Remove trailing semicolon. Adjust users.
22834
9694fc44
UD
22835 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22836 variable.
22837
8ad89ef8
UD
22838 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22839 mantissa words.
22840 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22841
0c822ef9
UD
22842 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22843 from unused variable.
22844
874e0564
UD
22845 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22846 DWARF definitions.
22847 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22848 for assembling.
22849
3a2edc79
UD
22850 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22851 over namespaces.
22852
f3c2577f
UD
22853 * sunrpc/rpc_prot.c (rejected): Fix case value.
22854
294ce126
UD
22855 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22856 unsigned long long int to avoid warnings in shift.
22857
5e2b63c6
UD
22858 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22859 of use of trans.
22860 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22861 variable tmp.
22862
e7f4b08e
UD
22863 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22864 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22865 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22866
ab26144e
UD
22867 * nis/nis_table.c (nis_list): Use variable of correct type for
22868 result of __follow_path call.
22869
8a6d5255
AZ
228702011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22871
22872 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22873 of math functions ceil, trunc, floor, round, and sqrt, when
22874 avaliable on the platform.
22875 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22876 name clash.
22877 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22878 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22879 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22880
aaddc98c
MP
228812011-10-30 Marek Polacek <mpolacek@redhat.com>
22882
22883 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22884 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22885
95b7042b
RM
228862011-11-11 Roland McGrath <roland@hack.frob.com>
22887
22888 * include/unistd.h: Fix __readlink return type.
22889 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22890
57769839
UD
228912011-11-11 Ulrich Drepper <drepper@gmail.com>
22892
22893 * stdlib/ucontext.h: Undo last change for makecontext.
22894
edc5984d
AS
228952011-11-11 Andreas Schwab <schwab@redhat.com>
22896
98591e58
AS
22897 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22898
edc5984d
AS
22899 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22900 * setjmp/setjmp.h: Mark functions as non-leaf.
22901 * setjmp/bits/setjmp2.h: Likewise.
22902 * stdlib/ucontext.h: Likewise.
22903
77cdc054
AS
229042011-11-10 Andreas Schwab <schwab@redhat.com>
22905
22906 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22907 (reused_arena): Don't check arena limit.
22908 (arena_get2): Atomically check arena limit.
22909
fe72eebd
UD
229102011-11-08 Ulrich Drepper <drepper@gmail.com>
22911
5f078c32
UD
22912 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22913 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22914
fe72eebd
UD
22915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22916 instructions.
22917
ae1bc2fa
AS
229182011-11-07 Andreas Schwab <schwab@redhat.com>
22919
7583a88d
AS
22920 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22921 handler when locking.
22922
ae1bc2fa
AS
22923 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22924 Fix size of allocated buffer.
22925
10fb0bfa
AS
229262011-11-04 Andreas Schwab <schwab@redhat.com>
22927
998832a4
AS
22928 [BZ #10103]
22929 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22930 declarations for long double functions.
22931 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22932
10fb0bfa
AS
22933 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22934
3d7ba52b
AS
229352011-11-03 Andreas Schwab <schwab@redhat.com>
22936
a9ae54a1
AS
22937 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22938 installed.
22939
3d7ba52b
AS
22940 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22941 is disabled.
22942
bc8db248
ST
229432011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22944
22945 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22946
45b96dd6
AS
229472011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22948
647776f6
AS
22949 * include/alloca.h (stackinfo_alloca_round): Define.
22950 (extend_alloca): Use it.
22951 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22952 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22953 here.
22954
d91a8b93
AS
22955 * scripts/check-local-headers.sh: Ignore libaudit.h.
22956
45b96dd6
AS
22957 * nscd/Makefile (extra-objs): Make recursively expanded.
22958
432d41ce
UD
229592011-11-01 Ulrich Drepper <drepper@gmail.com>
22960
34372fc6
UD
22961 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22962 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22963
fadb59f8
UD
22964 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22965 * posix/tst-rfc3484-2.c: Likewise.
22966 * posix/tst-rfc3484-3.c: Likewise.
22967
78239589
UD
22968 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22969 process_vm_writev.
22970 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22971 process_vm_writev.
22972 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22973 process_vm_writev from libc using GLIBC_2.15 version.
22974
432d41ce
UD
22975 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22976
02f9c6cf
PP
229772011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22978
22979 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22980 stack usage.
22981
3a2c0242
UD
229822011-10-31 Ulrich Drepper <drepper@gmail.com>
22983
f4ec4833
UD
22984 [BZ #13367]
22985 * nss/getent.c (initgroups_keys): Show error message in case no group
22986 names are given.
22987
3a2c0242
UD
22988 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22989 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22990 __bump_nl_timestamp.
22991 * nscd/connections (nscd_init): When host database is served open
22992 netlink socket and request notification about configuration changes.
22993 (main_loop_poll): Track netlink file descriptor and bump timestamp
22994 in case data becomes available.
22995 (main_loop_epoll): Likewise.
22996 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22997 (database_pers_head): Add extra_data fileds.
22998 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22999 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
23000 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
23001 Adjust caller.
23002 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
23003 in6ai data, call __free_in6ai.
23004 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
23005 Add -DHAVE_NETLINK.
23006 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
23007 interface information. Reuse previous data if netlink timestamp
23008 is not changed.
23009 (__bump_nl_timestamp): New function.
23010 (__free_in6ai): New function.
23011
636064eb
UD
230122011-10-30 Ulrich Drepper <drepper@gmail.com>
23013
23014 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
23015 close_not_cancel_no_status here.
23016 (__check_pf): Reorganize code a bit to not call close twice if OOM.
23017
9beb2334
UD
230182011-10-29 Ulrich Drepper <drepper@gmail.com>
23019
6ef76f3b
UD
23020 [BZ #13276]
23021 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
23022 return value.
23023
0ffc4f3e 23024 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
23025 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23026 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23027
cb95113e
UD
230282011-07-03 Andreas Jaeger <aj@suse.de>
23029
23030 [BZ #10709]
23031 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23032 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23033 * math/libm-test.inc (sin_test): Add test case.
23034
a1b560ff
UD
230352011-10-29 Ulrich Drepper <drepper@gmail.com>
23036
c9aaface
UD
23037 [BZ #13337]
23038 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23039 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23040
d272e7f1
UD
23041 * elf/chroot_canon.c (chroot_canon): Cleanups.
23042
1bc33071
UD
23043 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23044
1760874d
TJ
23045 [BZ #13335]
23046 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23047 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23048
51d91b18
UD
23049 * string/test-strchr.c: Make usable for strchrnul testing.
23050 * string/test-strchrnul.c: New file.
23051 * string/Makefile (strop-tests): Add strchrnul.
23052
a1b560ff 23053 * po/it.po: Update from translation team.
b611fb81 23054 * po/es.po: Likewise.
a1b560ff 23055
a5b81e1f
UD
230562011-10-28 Ulrich Drepper <drepper@gmail.com>
23057
fd52bc6d
UD
23058 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23059 the three constants needed as parameters. Drop the others.
23060 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23061 __m128i_strloadu_tolower.
52e4b9eb
UD
23062 Create and initialize variable zero and use it in all the places
23063 where _mm_setzero_si128 was used.
fd52bc6d 23064
a5b81e1f
UD
23065 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23066 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23067 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23069 anymore.
23070 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23071 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23072 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23073 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23074 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23075 __mpranred, __mptan.
23076 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23077 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23078 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23079 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23080 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23081 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23083 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23084 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23085
b4343346
AS
230862011-10-28 Andreas Schwab <schwab@redhat.com>
23087
0c92d8a8
AS
23088 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23089 redefine if SHARED.
23090 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23091
b4343346
AS
23092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23093 wide char related routines to wcsmbs subdir.
23094
3871f58f
AS
230952011-10-27 Andreas Schwab <schwab@redhat.com>
23096
23097 [BZ #13344]
23098 * misc/sys/cdefs.h (__THROWNL): Define.
23099 * posix/unistd.h: Use __THREADNL instead of __THREAD
23100 for memory synchronization functions.
23101
94d44d9f
RM
231022011-10-26 Roland McGrath <roland@hack.frob.com>
23103
21b64b15 23104 [BZ #13349]
94d44d9f
RM
23105 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23106 doesn't exist.
23107 * manual/stdio.texi (Obstack Streams): Node removed.
23108
f6ce9294
AS
231092011-10-26 Andreas Schwab <schwab@redhat.com>
23110
80479147
AS
23111 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23112 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23113 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23114
f6ce9294
AS
23115 * math/math_private.h (math_force_eval): Allow non-addressable
23116 arguments.
23117 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23118
618280a1
UD
231192011-10-25 Ulrich Drepper <drepper@gmail.com>
23120
e0016b11
UD
23121 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23122 file is not needed.
23123
23124 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23125 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23126 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23127 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23128 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23129 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23131 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23132 Add AVX variants.
23133 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23134 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23135 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23136 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23137 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23138 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23139 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23140 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23141 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23142 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23143 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23144 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23146 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23147 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23148 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23149 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23150 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23151 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23152
23153 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23154 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23155
618280a1
UD
23156 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23157 place. Use VEX encoding when compiling for AVX.
23158
37822576
AS
231592011-10-25 Andreas Schwab <schwab@redhat.com>
23160
1f1e1947
AS
23161 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23162 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23163
37822576
AS
23164 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23165
31ea014d
UD
231662011-10-25 Ulrich Drepper <drepper@gmail.com>
23167
d7826aa1 23168 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23169 useless if() expression.
d7826aa1
UD
23170 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23171 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23172 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23173 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23174 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23175 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23176 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23179 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23180 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23181 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23182 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23183 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23184 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23185 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23187 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23188 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23189
31ea014d
UD
23190 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23191
16437fec
AS
231922011-10-25 Andreas Schwab <schwab@redhat.com>
23193
23194 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23195 condition.
23196 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23197
31d3cc00
UD
231982011-10-25 Ulrich Drepper <drepper@gmail.com>
23199
23200 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23201 .text section. Avoid duplicate constants.
23202 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23212 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23214 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23215 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23216 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23219 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23221 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23225 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23226 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23227 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23228 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23229 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23231 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23232 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23233 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23234 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23235 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23236 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23237 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23238 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23239 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23240 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23241 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23242 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23243 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23244 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23245 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23246 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23247
58985aa9
UD
232482011-10-24 Ulrich Drepper <drepper@gmail.com>
23249
202c9deb
UD
23250 * sysdeps/x86_64/dla.h: Move to ...
23251 * sysdeps/x86_64/fpu/dla.h: ...here.
23252 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23253 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23254
af968f62
UD
23255 * config.make.in: Add have-mfma4 entry.
23256 * configure.in: Substitute libc_cv_cc_fma4.
23257 * math/Makefile (dbl-only-routines): Add sincostab.
23258 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23259 Use __sincostab not sincos.
23260 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23261 name is a macro.
23262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23265 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23266 using __copysign.
23267 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23268 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23269 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23270 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23271 and __inv.
23272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23273 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23274 __copysign.
23275 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23276 define aliases when function name is a macro.
23277 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23278 sysdeps/ieee754/dbl-64/sincos.tbl.
23279 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23280 fma4-enabled routines.
23281 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23282 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23283 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23284 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23285 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23286 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23287 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23288 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23289 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23290 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23291 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23292 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23293 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23294 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23295 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23296 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23297 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23298 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23299 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23300 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23301 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23302 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23303 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23304 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23305 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23306 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23308 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23309 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23310 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23311
58985aa9
UD
23312 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23313 rename.
23314 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23322
a201fbcf
AS
233232011-10-24 Andreas Schwab <schwab@redhat.com>
23324
23325 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23326
fc2ee42a
LD
233272011-10-23 Ulrich Drepper <drepper@gmail.com>
23328
bb3129bd
UD
23329 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23330
0275fff8
UD
23331 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23332 prediction.
23333 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23334
2fa2ae85
UD
23335 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23336 Remove unused variable magic_bits.
23337 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23338
fc2ee42a
LD
23339 * string/strnlen.c: Define and use STRNLEN macro.
23340 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23341 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23343 * wcsmbs/wcslen.c: Define and use WCSLEN.
23344 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23345 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23346 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23347 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23348 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23349 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23350 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23351
ce7dd29f
LD
233522011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23353
23354 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23355 strnlen-sse2-no-bsf.
23356 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23357 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23358 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23359 Add strnlen support.
23360 (USE_AS_STRNLEN): New macro.
23361 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23362 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23363 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23364 * sysdeps/x86_64/wcslen.S: New file.
23365
979c70a3
MZ
233662011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23367
23368 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23369 XMM-moves are used for copying on small sizes.
23370
2d09f82f
LD
233712011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23372
23373 * wcsmbs/Makefile (strop-tests): Add wcschr.
23374 * wcsmbs/test-wcschr.c: New file.
23375 * string/test-strchr.c: Update.
23376 Add wcschr support.
23377 (WIDE): New macro.
23378
619fccca
LD
233792011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23380
2d09f82f 23381 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23382 * wcsmbs/test-wcslen.c: New file.
23383 * string/test-strlen.c: Update.
23384 Add wcslen support.
23385 (WIDE): New macro.
23386
09f699ea
UD
233872011-10-23 Ulrich Drepper <drepper@gmail.com>
23388
23389 * po/it.po: Update from translation team.
23390
95584d3b
LD
233912011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23392
23393 * sysdeps/x86_64/wcscmp.S: Update.
23394 Fix wrong comparison semantics.
23395 wcscmp shall use signed comparison not unsigned.
23396 Don't use substraction to avoid overflow bug.
23397 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23398 * wcsmbc/wcscmp.c: Likewise.
23399 * string/test-strcmp.c: Likewise.
23400 Add new tests to check cases with negative values.
23401
c8b3296b
UD
234022011-10-23 Ulrich Drepper <drepper@gmail.com>
23403
23404 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23405 * sysdeps/x86_64/dla.h: ...here. New file.
23406 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23407 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23410 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23411 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23412 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23413 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23415
246ad57a
AS
234162011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23417
23418 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23419 __ynl_finite aliases.
23420
a1a87169
UD
234212011-10-22 Ulrich Drepper <drepper@gmail.com>
23422
0d355eb7
UD
23423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23424
a1a87169
UD
23425 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23426 define DLA_FMA.
23427 [DLA_FMA] (EMULV): Use DLA_FMA.
23428 [DLA_FMA] (MUL12): Use EMULV.
23429 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23430 that are not needed.
23431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23433 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23435 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23436 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23437 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23438
ee2aafe0
AS
234392011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23440
23441 * math/s_nan.c: Undef __nan.
23442 * math/s_nanf.c: Undef __nanf.
23443 * math/s_nanl.c: Undef __nanl.
23444 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23445 "math_private.h".
23446
bc62c2fb
UD
234472011-10-22 Ulrich Drepper <drepper@gmail.com>
23448
77425c63
UD
23449 * math/s_catan.c: Add branch predictions.
23450 * math/s_catanf.c: Likewise.
23451 * math/s_catanh.c: Likewise.
23452 * math/s_catanhf.c: Likewise.
23453 * math/s_catanhl.c: Likewise.
23454 * math/s_catanl.c: Likewise.
23455 * math/s_cexp.c: Likewise.
23456 * math/s_cexpf.c: Likewise.
23457 * math/s_cexpl.c: Likewise.
23458 * math/s_clog.c: Likewise.
23459 * math/s_clog10.c: Likewise.
23460 * math/s_clog10f.c: Likewise.
23461 * math/s_clog10l.c: Likewise.
23462 * math/s_clogf.c: Likewise.
23463 * math/s_clogl.c: Likewise.
23464 * math/s_csqrt.c: Likewise.
23465 * math/s_csqrtf.c: Likewise.
23466 * math/s_csqrtl.c: Likewise.
23467 * math/s_ctanf.c: Likewise.
23468 * math/s_ctanh.c: Likewise.
23469 * math/s_ctanhf.c: Likewise.
23470 * math/s_ctanhl.c: Likewise.
23471 * math/s_ctanl.c: Likewise.
23472
bc62c2fb
UD
23473 * math/math_private.h: Define __nan, __nanf, __nanl.
23474 * math/s_cacosh.c: Include <math_private.h>.
23475 * math/s_cacoshl.c: Likewise.
23476 * math/s_casinh.c: Likewise.
23477 * math/s_casinhf.c: Likewise.
23478 * math/s_casinhl.c: Likewise.
23479 * math/s_ccos.c: Rely entire on ccosh.
23480 * math/s_ccosf.c: Rely entire on ccoshf.
23481 * math/s_ccosl.c: Rely entirely on ccoshl.
23482 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23483 Remove tests for FE_INVALID.
23484 * math/s_ccoshf.c: Likewise.
23485 * math/s_ccoshl.c: Likewise.
23486 * math/s_csin.c: Likewise.
23487 * math/s_csinf.c: Likewise.
23488 * math/s_csinh.c Likewise.
23489 * math/s_csinhf.c: Likewise.
23490 * math/s_csinhl.c: Likewise.
23491 * math/s_csinl.c: Likewise.
23492 * math/s_ctan.c: Likewise.
23493 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23494 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23495 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23496
8ec250a4
UD
234972011-10-21 Ulrich Drepper <drepper@gmail.com>
23498
c196fed8
UD
23499 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23500 compilation problems.
23501
8ec250a4
UD
23502 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23503 __builtin_expect.
23504
8d4f46c6
UD
235052011-10-20 Ulrich Drepper <drepper@gmail.com>
23506
ed72b654
UD
23507 * sysdeps/i386/configure.in: Test for -mfma4 option.
23508 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23509 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23510 COMMON_CPUID_INDEX_80000001.
23511 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23512 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23513 use it if FMA3 is not supported.
23514 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23515
8d4f46c6
UD
23516 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23517 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23518
d45c60c2
AS
235192011-10-20 Andreas Schwab <schwab@redhat.com>
23520
23521 [BZ #12892]
23522 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23523 it would create a cycle with a link time dependency.
23524
d9a4d2ab
UD
235252011-10-19 Ulrich Drepper <drepper@gmail.com>
23526
855d1560
UD
23527 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23528 instruction.
23529 * string/Makefile (strop-tests): Add rawmemchr.
23530 * string/test-rawmemchr.c: New file.
23531
d9a4d2ab
UD
23532 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23533 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23534 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23535 when compiling str{,n}casecmp and when AVX is available. Hook up
23536 new optimized code in initializers.
23537
8f3b1ffe
AS
235382011-10-19 Andreas Schwab <schwab@redhat.com>
23539
23540 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23541 __feraiseexcept instead of feraiseexcept.
23542
d38f1dba
UD
235432011-10-18 Ulrich Drepper <drepper@gmail.com>
23544
d9a8d0ab
UD
23545 * math/math_private.h: Define defaults for libc_fetestexcept and
23546 libc_feupdateenv.
23547 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23548 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23549 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23550 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23551 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23552 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23553 libc_fetestexcept and libc_feupdateenv.
23554
4855e3dd
UD
23555 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23556 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23557 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23558 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23559 libc_feholdexcept_setround.
23560
581d30e3
UD
23561 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23562 Add s_nearbyint-c and s_nearbyintf-c.
23563 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23564 nearbyintf inlines.
23565 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23566 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23567 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23568 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23569
d38f1dba
UD
23570 * math/math_private.h: Define defaults for libc_fegetround,
23571 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23572 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23573 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23574 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23575 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23576 standard functions.
23577 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23578 Remove comments and hacks for old compiler versions.
23579 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23580 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23581 libc_feholdexceptl.
23582
caa6c9d8
AS
235832011-10-18 Andreas Schwab <schwab@redhat.com>
23584
23585 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23586 (__feraiseexcept_renamed): Add __NTH.
23587 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23588 namespace violations.
23589
97c066e6
UD
235902011-10-17 Ulrich Drepper <drepper@gmail.com>
23591
99ce7b04
UD
23592 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23593
1004d182
UD
23594 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23595
228a984d
UD
23596 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23597 recently added interfaces.
23598 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23599
c8553a6a
UD
23600 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23601 about macro parameter expansion.
23602
ed22dcf6
UD
23603 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23604 __NO_MATH_INLINES is defined. Cleanups.
23605
23606 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23607 and __floorf is target has SSE4.1.
23608 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23609 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23610 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23611 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23612
b171c137
UD
23613 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23614 name.
23615 (floorf): Likewise.
23616
97c066e6
UD
23617 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23618
629f62ef
AS
236192011-10-17 Andreas Schwab <schwab@redhat.com>
23620
49a43d80
AS
23621 * misc/sys/cdefs.h: Fix last change.
23622
629f62ef
AS
23623 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23624 database lookup.
23625
e453f6cd
UD
236262011-10-16 Ulrich Drepper <drepper@gmail.com>
23627
aa78043a
UD
23628 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23629
ad0f5cad
UD
23630 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23632 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23633 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23634 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23635 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23636 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23637 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23638 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23639 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23640 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23641 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23642 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23643 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23644 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23645 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23646 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23647 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23648 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23649 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23650 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23651 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23652
23653 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23654 ceil, ceilf, floor, floorf.
23655
23656 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23657 Perform IRELATIVE relocations last.
23658
e453f6cd
UD
23659 * elf/do-rel.h: Add another parameter nrelative, replacing the
23660 local variable with the same name. Change name of the function
23661 to end in Rel or Rela (uppercase).
23662 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23663 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23664 elf_dynamic_do_##reloc function.
23665
fd5bdc09
UD
236662011-10-15 Ulrich Drepper <drepper@gmail.com>
23667
79b195b5
UD
23668 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23669 is sufficient, at least on modern CPUs.
23670
d4a28569
UD
23671 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23672
b61099b5
UD
23673 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23674 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23675
bcf01e6d
UD
23676 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23677 __expl_finite.
23678 * math/bits/math-finite.h: Add entries for exp.
23679 * math/e_expl.c: Add __*_finite alias.
23680 * sysdeps/i386/fpu/e_exp.S: Likewise.
23681 * sysdeps/i386/fpu/e_expf.S: Likewise.
23682 * sysdeps/i386/fpu/e_expl.c: Likewise.
23683 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23684 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23685 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23686 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23687 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23688 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23689 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23690
ba1a0d59
UD
23691 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23692 is sufficient, at least on modern CPUs.
23693
fd5bdc09
UD
23694 * ctype/ctype-info.c (__ctype_init): Define.
23695 * include/ctype.h (__ctype_init): Declare.
23696 (__ctype_b_loc): The variable is always initialized.
23697 (__ctype_toupper_loc): Likewise.
23698 (__ctype_tolower_loc): Likewise.
23699 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23700 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23701
7872cfb0
AS
237022011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23703
b468825a
AS
23704 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23705
7872cfb0
AS
23706 * configure.in: Also look in $cxxmachine/include for C++ system
23707 headers.
23708
be13f7bf
LD
237092011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23710
23711 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23712 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23713 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23714 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23715 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23716 (USE_AS_WMEMCMP): New macro.
23717 Fixing indents.
23718 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23719 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23720 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23721 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23722 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23723 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23724 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23725 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23726 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23727 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23728 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23729 (USE_AS_WMEMCMP): New macro.
23730 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23731 * sysdeps/string/test-memcmp.c: Update.
23732 Fix simple_wmemcmp.
23733 Add new tests.
23734 * wcsmbs/wmemcmp.c: Update.
23735 (WMEMCMP): New macro.
23736 Fix overflow bug.
23737
556a2007
AJ
237382011-10-12 Andreas Jaeger <aj@suse.de>
23739
23740 [BZ #13268]
23741 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23742
538faaa7
UD
237432011-10-15 Ulrich Drepper <drepper@gmail.com>
23744
ab6737ff
UD
23745 * libio/iofwide.c (do_length): Avoid warning.
23746
538faaa7
UD
23747 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23748
396a21b1
UD
237492011-10-14 Ulrich Drepper <drepper@gmail.com>
23750
cdf2901f
UD
23751 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23752
38ad40ce
UD
23753 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23754 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23755 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23756 * sysdeps/i386/i686/fpu/e_log.S: New file.
23757 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23758 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23759
396a21b1
UD
23760 * ctype/ctype.h: Add support for inlined isXXX functions when
23761 compiling C++ code.
23762
6b1f68c9
AS
237632011-10-14 Andreas Schwab <schwab@redhat.com>
23764
349290c0
AS
23765 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23766
6b1f68c9
AS
23767 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23768
f2282d42
RM
237692011-10-13 Roland McGrath <roland@hack.frob.com>
23770
23771 [BZ #13291]
23772 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23773
5298ffa8
AS
237742011-10-13 Andreas Schwab <schwab@redhat.com>
23775
714fad23
AS
23776 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23777 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23778 feraiseexcept.
23779
81dcc7fb
AS
23780 * sysdeps/x86_64/memrchr.S: Check for zero size.
23781
5298ffa8
AS
23782 * string/stratcliff.c: Add memrchr tests.
23783
951fbcec
LD
237842011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23785
23786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23787 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23788 rawmemchr-sse2 rawmemchr-sse2-bsf.
23789 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23790 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23791 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23792 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23793 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23794 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23795 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23796 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23797 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23798 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23799 * string/memrchr.c (MEMRCHR): New macro.
23800
0ac5ae23
UD
238012011-10-12 Ulrich Drepper <drepper@gmail.com>
23802
23803 Add integration with gcc's -ffinite-math-only and optimize wrapper
23804 functions in libm.
23805 * Versions.def: Define GLIBC_2.15 version for libm.
23806 * math/Makefile (headers): Add bits/math-finite.h.
23807 * math/bits/math-finite.h: New file.
23808 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23809 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23810 * math/e_acoshl.c: Add __*_finite alias.
23811 * math/e_acosl.c: Likewise.
23812 * math/e_asinl.c: Likewise.
23813 * math/e_atan2l.c: Likewise.
23814 * math/e_atanhl.c: Likewise.
23815 * math/e_coshl.c: Likewise.
23816 * math/e_exp10.c: Likewise.
23817 * math/e_exp10f.c: Likewise.
23818 * math/e_exp10l.c: Likewise.
23819 * math/e_exp2l.c: Likewise.
23820 * math/e_fmodl.c: Likewise.
23821 * math/e_gammal_r.c: Likewise.
23822 * math/e_hypotl.c: Likewise.
23823 * math/e_j0l.c: Likewise.
23824 * math/e_j1l.c: Likewise.
23825 * math/e_jnl.c: Likewise.
23826 * math/e_lgammal_r.c: Likewise.
23827 * math/e_log10l.c: Likewise.
23828 * math/e_log2l.c: Likewise.
23829 * math/e_logl.c: Likewise.
23830 * math/e_powl.c: Likewise.
23831 * math/e_sinhl.c: Likewise.
23832 * math/e_sqrtl.c: Likewise.
23833 * math/e_scalb.c: Completely rewritten and optimized.
23834 * math/e_scalbf.c: Likewise.
23835 * math/e_scalbl.c: Likewise.
23836 * math/w_acos.c: Likewise.
23837 * math/w_acosf.c: Likewise.
23838 * math/w_acosl.c: Likewise.
23839 * math/w_acosh.c: Likewise.
23840 * math/w_acoshf.c: Likewise.
23841 * math/w_acoshl.c: Likewise.
23842 * math/w_asin.c: Likewise.
23843 * math/w_asinf.c: Likewise.
23844 * math/w_asinl.c: Likewise.
23845 * math/w_atan2.c: Likewise.
23846 * math/w_atan2f.c: Likewise.
23847 * math/w_atan2l.c: Likewise.
23848 * math/w_atanh.c: Likewise.
23849 * math/w_atanhf.c: Likewise.
23850 * math/w_atanhl.c: Likewise.
23851 * math/w_exp10.c: Likewise.
23852 * math/w_exp10f.c: Likewise.
23853 * math/w_exp10l.c: Likewise.
23854 * math/w_fmod.c: Likewise.
23855 * math/w_fmodf.c: Likewise.
23856 * math/w_fmodl.c: Likewise.
23857 * math/w_j0.c: Likewise.
23858 * math/w_j0f.c: Likewise.
23859 * math/w_j0l.c: Likewise.
23860 * math/w_j1.c: Likewise.
23861 * math/w_j1f.c: Likewise.
23862 * math/w_j1l.c: Likewise.
23863 * math/w_jn.c: Likewise.
23864 * math/w_jnf.c: Likewise.
23865 * math/w_log.c: Likewise.
23866 * math/w_logf.c: Likewise.
23867 * math/w_logl.c: Likewise.
23868 * math/w_log10.c: Likewise.
23869 * math/w_log10f.c: Likewise.
23870 * math/w_log10l.c: Likewise.
23871 * math/w_log2.c: Likewise.
23872 * math/w_log2f.c: Likewise.
23873 * math/w_log2l.c: Likewise.
23874 * math/w_pow.c: Likewise.
23875 * math/w_powf.c: Likewise.
23876 * math/w_powl.c: Likewise.
23877 * math/w_remainder.c: Likewise.
23878 * math/w_remainderf.c: Likewise.
23879 * math/w_remainderl.c: Likewise.
23880 * math/w_scalb.c: Likewise.
23881 * math/w_scalbf.c: Likewise.
23882 * math/w_scalbl.c: Likewise.
23883 * math/w_sqrt.c: Likewise.
23884 * math/w_sqrtf.c: Likewise.
23885 * math/w_sqrtl.c: Likewise.
23886 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23887 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23888 used.
23889 * math/math_private.h: Declare __kernel_standard_f.
23890 * math/w_cosh.c: Remove cruft and optimize a bit.
23891 * math/w_coshf.c: Likewise.
23892 * math/w_coshl.c: Likewise.
23893 * math/w_exp2.c: Likewise.
23894 * math/w_exp2f.c: Likewise.
23895 * math/w_exp2l.c: Likewise.
23896 * math/w_hypot.c: Likewise.
23897 * math/w_hypotf.c: Likewise.
23898 * math/w_hypotl.c: Likewise.
23899 * math/w_lgamma.c: Likewise.
23900 * math/w_lgamma_r.c: Likewise.
23901 * math/w_lgammaf.c: Likewise.
23902 * math/w_lgammaf_r.c: Likewise.
23903 * math/w_lgammal.c: Likewise.
23904 * math/w_lgammal_r.c: Likewise.
23905 * math/w_sinh.c: Likewise.
23906 * math/w_sinhf.c: Likewise.
23907 * math/w_sinhl.c: Likewise.
23908 * math/w_tgamma.c: Likewise.
23909 * math/w_tgammaf.c: Likewise.
23910 * math/w_tgammal.c: Likewise.
23911 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23912 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23913 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23914 Minor optimizations. Pretty printing. Remove cruft.
23915 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23916 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23917 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23918 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23919 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23920 * sysdeps/i386/fpu/e_asin.S: Likewise.
23921 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23922 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23923 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23924 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23925 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23926 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23927 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23928 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23929 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23930 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23931 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23932 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23933 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23934 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23935 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23936 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23937 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23938 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23939 * sysdeps/i386/fpu/e_log.S: Likewise.
23940 * sysdeps/i386/fpu/e_log10.S: Likewise.
23941 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23942 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23943 * sysdeps/i386/fpu/e_log2.S: Likewise.
23944 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23945 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23946 * sysdeps/i386/fpu/e_logf.S: Likewise.
23947 * sysdeps/i386/fpu/e_logl.S: Likewise.
23948 * sysdeps/i386/fpu/e_pow.S: Likewise.
23949 * sysdeps/i386/fpu/e_powf.S: Likewise.
23950 * sysdeps/i386/fpu/e_powl.S: Likewise.
23951 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23952 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23953 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23954 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23955 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23956 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23957 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23958 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23959 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23960 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23961 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23962 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23963 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23964 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23965 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23966 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23967 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23968 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23969 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23970 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23971 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23973 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23974 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23975 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23976 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23977 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23978 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23979 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23980 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23981 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23982 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23983 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23984 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23985 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23986 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23987 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23988 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23989 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23990 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23991 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23992 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23993 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23994 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23995 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23996 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23997 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23998 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23999 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24000 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24001 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24012 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24013 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24014 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24015 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24016 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24017 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24019 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24020 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24022 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24024 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24025 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24026 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24027 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24028 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24029 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24030 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24031 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24039 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24040 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24043 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24045 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24046 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24047 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24048 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24049 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24051 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24052 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24053 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24054 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24055 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24056 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24057 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24058 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24059 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24060 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24061 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24062 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24063 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24064 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24065 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24066 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24067 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24068 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24069 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24070 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24071 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24072 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24073 (__isnanf): Likewise.
24074 (__isinf_ns): Likewise.
24075 (__isinf_nsf): Likewise.
24076 (__finite): Likewise.
24077 (__finitef): Likewise.
24078 (__ieee754_sqrt): Define as macro.
24079 (__ieee754_sqrtf): Define as macro.
24080 (__ieee754_sqrtl): Define as macro.
24081 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24082 inlined copy.
24083 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24084 __FINITE_MATH_ONLY__ consistent.
24085 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24086
12cc2fcd
AS
240872011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24088
a843a204
AS
24089 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24090 of rawmemchr.
24091
12cc2fcd
AS
24092 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24093
c853acd5
UD
240942011-10-09 Ulrich Drepper <drepper@gmail.com>
24095
24096 * po/ja.po: Update from translation team.
24097
c658d255
RM
240982011-10-08 Roland McGrath <roland@hack.frob.com>
24099
110946e4
RM
24100 * locale/programs/locarchive.c (prepare_address_space): New function.
24101 (create_archive, enlarge_archive, open_archive): Use it.
24102
50604220
RM
24103 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24104 inside [SHARED], where it is used.
24105
c658d255
RM
24106 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24107
24108 * nss/getent.c (netgroup_keys): Remove unused variable.
24109 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24110
6a621eb7
UD
241112011-10-08 Ulrich Drepper <drepper@gmail.com>
24112
7edb55ce
UD
24113 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24114 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24115 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24116 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24117 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24118 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24119 * math/Makefile (libm-calls): Add s_isinf_ns.
24120 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24121 * math/multc3.c: Likewise.
24122 * math/s_casin.c: Likewise.
24123 * math/s_casinf.c: Likewise.
24124 * math/s_casinl.c: Likewise.
24125 * math/s_ccos.c: Likewise.
24126 * math/s_ccosf.c: Likewise.
24127 * math/s_ccosl.c: Likewise.
24128 * math/s_ctan.c: Likewise.
24129 * math/s_ctanf.c: Likewise.
24130 * math/s_ctanh.c: Likewise.
24131 * math/s_ctanhf.c: Likewise.
24132 * math/s_ctanhl.c: Likewise.
24133 * math/s_ctanl.c: Likewise.
24134 * math/w_fmod.c: Likewise.
24135 * math/w_fmodf.c: Likewise.
24136 * math/w_fmodl.c: Likewise.
24137 * math/w_remainder.c: Likewise.
24138 * math/w_remainderf.c: Likewise.
24139 * math/w_remainderl.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24141 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24142 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24143 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24144 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24145 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24146 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24147 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24148
187da0ae
UD
24149 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24150 of the number.
24151 * stdio-common/printf_fphex.c: Likewise.
24152 * stdio-common/printf_size.c: Likewise.
24153
9277c064
UD
24154 * math/e_exp10.c: Include math_private.h using <...> not "...".
24155 * math/e_exp10f.c: Likewise.
24156 * math/e_exp10l.c: Likewise.
24157 * math/e_exp2l.c: Likewise.
24158 * math/e_j0l.c: Likewise.
24159 * math/e_j1l.c: Likewise.
24160 * math/e_jnl.c: Likewise.
24161 * math/e_lgammal_r.c: Likewise.
24162 * math/e_rem_pio2l.c: Likewise.
24163 * math/e_scalb.c: Likewise.
24164 * math/e_scalbf.c: Likewise.
24165 * math/e_scalbl.c: Likewise.
24166 * math/k_cosl.c: Likewise.
24167 * math/k_sinl.c: Likewise.
24168 * math/k_tanl.c: Likewise.
24169 * math/s_cacoshf.c: Likewise.
24170 * math/s_catan.c: Likewise.
24171 * math/s_catanf.c: Likewise.
24172 * math/s_catanh.c: Likewise.
24173 * math/s_catanhf.c: Likewise.
24174 * math/s_catanhl.c: Likewise.
24175 * math/s_catanl.c: Likewise.
24176 * math/s_ccosh.c: Likewise.
24177 * math/s_ccoshf.c: Likewise.
24178 * math/s_ccoshl.c: Likewise.
24179 * math/s_cexp.c: Likewise.
24180 * math/s_cexpf.c: Likewise.
24181 * math/s_cexpl.c: Likewise.
24182 * math/s_clog.c: Likewise.
24183 * math/s_clog10.c: Likewise.
24184 * math/s_clog10f.c: Likewise.
24185 * math/s_clog10l.c: Likewise.
24186 * math/s_clogf.c: Likewise.
24187 * math/s_clogl.c: Likewise.
24188 * math/s_csin.c: Likewise.
24189 * math/s_csinf.c: Likewise.
24190 * math/s_csinh.c: Likewise.
24191 * math/s_csinhf.c: Likewise.
24192 * math/s_csinhl.c: Likewise.
24193 * math/s_csinl.c: Likewise.
24194 * math/s_csqrt.c: Likewise.
24195 * math/s_csqrtf.c: Likewise.
24196 * math/s_csqrtl.c: Likewise.
24197 * math/s_ctan.c: Likewise.
24198 * math/s_ctanf.c: Likewise.
24199 * math/s_ctanh.c: Likewise.
24200 * math/s_ctanhf.c: Likewise.
24201 * math/s_ctanhl.c: Likewise.
24202 * math/s_ctanl.c: Likewise.
24203 * math/s_ldexp.c: Likewise.
24204 * math/s_ldexpf.c: Likewise.
24205 * math/s_ldexpl.c: Likewise.
24206 * math/s_significand.c: Likewise.
24207 * math/s_significandf.c: Likewise.
24208 * math/s_significandl.c: Likewise.
24209 * math/w_acos.c: Likewise.
24210 * math/w_acosf.c: Likewise.
24211 * math/w_acosh.c: Likewise.
24212 * math/w_acoshf.c: Likewise.
24213 * math/w_acoshl.c: Likewise.
24214 * math/w_acosl.c: Likewise.
24215 * math/w_asin.c: Likewise.
24216 * math/w_asinf.c: Likewise.
24217 * math/w_asinl.c: Likewise.
24218 * math/w_atan2.c: Likewise.
24219 * math/w_atan2f.c: Likewise.
24220 * math/w_atan2l.c: Likewise.
24221 * math/w_atanh.c: Likewise.
24222 * math/w_atanhf.c: Likewise.
24223 * math/w_atanhl.c: Likewise.
24224 * math/w_cosh.c: Likewise.
24225 * math/w_coshf.c: Likewise.
24226 * math/w_coshl.c: Likewise.
24227 * math/w_dremf.c: Likewise.
24228 * math/w_exp10.c: Likewise.
24229 * math/w_exp10f.c: Likewise.
24230 * math/w_exp10l.c: Likewise.
24231 * math/w_exp2.c: Likewise.
24232 * math/w_exp2f.c: Likewise.
24233 * math/w_fmod.c: Likewise.
24234 * math/w_fmodf.c: Likewise.
24235 * math/w_fmodl.c: Likewise.
24236 * math/w_hypot.c: Likewise.
24237 * math/w_hypotf.c: Likewise.
24238 * math/w_hypotl.c: Likewise.
24239 * math/w_j0.c: Likewise.
24240 * math/w_j0f.c: Likewise.
24241 * math/w_j0l.c: Likewise.
24242 * math/w_j1.c: Likewise.
24243 * math/w_j1f.c: Likewise.
24244 * math/w_j1l.c: Likewise.
24245 * math/w_jn.c: Likewise.
24246 * math/w_jnf.c: Likewise.
24247 * math/w_jnl.c: Likewise.
24248 * math/w_lgamma.c: Likewise.
24249 * math/w_lgamma_r.c: Likewise.
24250 * math/w_lgammaf.c: Likewise.
24251 * math/w_lgammaf_r.c: Likewise.
24252 * math/w_lgammal.c: Likewise.
24253 * math/w_lgammal_r.c: Likewise.
24254 * math/w_log.c: Likewise.
24255 * math/w_log10.c: Likewise.
24256 * math/w_log10f.c: Likewise.
24257 * math/w_log10l.c: Likewise.
24258 * math/w_log2.c: Likewise.
24259 * math/w_log2f.c: Likewise.
24260 * math/w_log2l.c: Likewise.
24261 * math/w_logf.c: Likewise.
24262 * math/w_logl.c: Likewise.
24263 * math/w_pow.c: Likewise.
24264 * math/w_powf.c: Likewise.
24265 * math/w_powl.c: Likewise.
24266 * math/w_remainder.c: Likewise.
24267 * math/w_remainderf.c: Likewise.
24268 * math/w_remainderl.c: Likewise.
24269 * math/w_scalb.c: Likewise.
24270 * math/w_scalbf.c: Likewise.
24271 * math/w_scalbl.c: Likewise.
24272 * math/w_sinh.c: Likewise.
24273 * math/w_sinhf.c: Likewise.
24274 * math/w_sinhl.c: Likewise.
24275 * math/w_sqrt.c: Likewise.
24276 * math/w_sqrtf.c: Likewise.
24277 * math/w_sqrtl.c: Likewise.
24278 * math/w_tgamma.c: Likewise.
24279 * math/w_tgammaf.c: Likewise.
24280 * math/w_tgammal.c: Likewise.
24281
6a621eb7
UD
24282 * po/ja.po: Update from translation team.
24283
bf582445
AJ
242842011-09-29 Andreas Jaeger <aj@suse.de>
24285
f9efbf3a
AJ
24286 [BZ #13179]
24287 * sunrpc/netname.c (netname2host): Fix logic.
24288
bf582445
AJ
24289 [BZ #6779]
24290 [BZ #6783]
24291 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24292 correctly.
24293 * math/w_remainder.c (__remainder): Likewise.
24294 * math/w_remainderf.c (__remainderf): Likewise.
24295 * math/libm-test.inc (remainder_test): Add test cases.
24296
48693bea
AK
242972011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24298
24299 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24300 sdiv_qrnnd.
24301
42622229
LD
243022011-10-07 Ulrich Drepper <drepper@gmail.com>
24303
24304 * string/test-memcmp.c: Avoid unncessary #defines.
24305 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24306
093ecf92
LD
243072011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24308
24309 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24310 Use new sse2 version for core i3 - i7 as it's faster
24311 than sse42 version.
24312 (bit_Prefer_PMINUB_for_stringop): New.
24313 * sysdeps/x86_64/rawmemchr.S: Update.
24314 Replace with faster SSE2 version.
24315 * sysdeps/x86_64/memrchr.S: New file.
24316 * sysdeps/x86_64/memchr.S: Update.
24317 Replace with faster SSE2 version.
24318
fde56e5c
MP
243192011-09-12 Marek Polacek <mpolacek@redhat.com>
24320
24321 * elf/dl-load.c (lose): Add cast to avoid warning.
24322
21fd49a9
UD
243232011-10-07 Ulrich Drepper <drepper@gmail.com>
24324
5a06e643
UD
24325 * po/ca.po: Update from translation team.
24326
684ae515
UD
24327 * inet/getnetgrent_r.c: Hook up nscd.
24328 * nscd/Makefile (routines): Add nscd_netgroup.
24329 (nscd-modules): Add netgroupcache.
24330 (CFLAGS-netgroupcache.c): Define.
24331 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24332 (cache_search): Add const to second parameter.
24333 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24334 INNETGR.
24335 (dbs): Add netgrdb entry.
24336 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24337 (verify_persistent_db): Handle netgrdb.
24338 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24339 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24340 GETFDNETGR.
24341 (netgroup_response_header): Define.
24342 (innetgroup_response_header): Define.
24343 (datahead): Add netgroup_response_header and innetgroup_response_header
24344 elements.
24345 * nscd/nscd.conf: Add entries for netgroup cache.
24346 * nscd/nscd.h (dbtype): Add netgrdb.
24347 (_PATH_NSCD_NETGROUP_DB): Define.
24348 (netgroup_iov_disabled): Declare.
24349 (xmalloc, xcalloc, xrealloc): Move declarations here.
24350 (cache_search): Adjust prototype.
24351 Add netgroup-related prototypes.
24352 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24353 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24354 (__nscd_innetgr): Declare.
24355 * nscd/selinux.c (perms): Use access_vector_t as element type and
24356 add netgroup-related initializers.
24357 * nscd/netgroupcache.c: New file.
24358 * nscd/nscd_netgroup.c: New file.
24359 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24360 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24361 For four parameters use innetgr.
24362 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24363 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24364 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24365 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24366
21fd49a9
UD
24367 * nscd/connections.c (register_traced_file): Don't register file
24368 for disabled databases.
24369
054c0457
UD
243702011-10-06 Ulrich Drepper <drepper@gmail.com>
24371
32b63198
UD
24372 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24373
054c0457
UD
24374 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24375 from tree and freeing node.
24376
64031225
JO
243772011-09-25 Jiri Olsa <jolsa@redhat.com>
24378
24379 * nss/nsswitch.c (__nss_database_lookup): Handle
24380 nss_parse_service_list out of memory case.
24381
0490345c
JO
243822011-09-15 Jiri Olsa <jolsa@redhat.com>
24383
24384 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24385 out of memory case.
24386
3a62d00d
AS
243872011-10-04 Andreas Schwab <schwab@redhat.com>
24388
24389 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24390 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24391 pass it down.
24392 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24393 elf_machine_rela, elf_machine_lazy_rel.
24394 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24395 (ELF_DYNAMIC_DO_REL): Likewise.
24396 (ELF_DYNAMIC_DO_RELA): Likewise.
24397 (ELF_DYNAMIC_RELOCATE): Likewise.
24398 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24399 to ELF_DYNAMIC_DO_REL.
24400 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24401 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24402 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24403 elf_machine_rela.
24404 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24405 skip_ifunc, don't call ifunc function if non-zero.
24406 (elf_machine_rela): Likewise.
24407 (elf_machine_lazy_rel): Likewise.
24408 (elf_machine_lazy_rela): Likewise.
24409 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24410 (elf_machine_lazy_rel): Likewise.
24411 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24412 Likewise.
24413 (elf_machine_lazy_rel): Likewise.
24414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24415 Likewise.
24416 (elf_machine_lazy_rel): Likewise.
24417 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24418 (elf_machine_lazy_rel): Likewise.
24419 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24420 (elf_machine_lazy_rel): Likewise.
24421 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24422 (elf_machine_lazy_rel): Likewise.
24423 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24424 (elf_machine_lazy_rel): Likewise.
24425 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24426 (elf_machine_lazy_rel): Likewise.
24427 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24428 (elf_machine_lazy_rel): Likewise.
24429
68577918
UD
244302011-09-28 Ulrich Drepper <drepper@gmail.com>
24431
24432 * nss/nss_files/files-init.c (_nss_files_init): Use static
24433 initialization for all the *_traced_file variables.
24434
68822d74
AS
244352011-09-28 Andreas Schwab <schwab@redhat.com>
24436
24437 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24438
2056100b
RM
244392011-09-27 Roland McGrath <roland@hack.frob.com>
24440
24441 [BZ #13226]
24442 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24443
32c76b63
AS
244442011-09-27 Andreas Schwab <schwab@redhat.com>
24445
24446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24447 Reread the line before reparsing it.
24448
bf972c9d
AS
244492011-09-26 Andreas Schwab <schwab@redhat.com>
24450
24451 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24452
e057a1b5
JM
244532011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24454 Maxim Kuvyrkov <maxim@codesourcery.com>
24455 Joseph Myers <joseph@codesourcery.com>
24456
24457 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24458 if needed for __stack_chk_guard.
24459
bc7e1c36
RM
244602011-09-19 Roland McGrath <roland@hack.frob.com>
24461
ecb1482f
RM
24462 * sysdeps/posix/spawni.c (script_execute): Always define it.
24463 It will be optimized away if unused.
24464 (maybe_script_execute): New function.
24465 (__spawni): Call it.
24466
bc7e1c36
RM
24467 * Makerules: Don't include tls.make.
24468 (config-tls): Always set to thread.
24469 * tls.make.c: File removed.
24470
1c3b002b
MF
244712011-09-19 Mike Frysinger <vapier@gentoo.org>
24472
24473 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24474 * config.make.in (CPPFLAGS-config): New substituted variable.
24475
2840865d
UD
244762011-09-15 Ulrich Drepper <drepper@gmail.com>
24477
88738eb6
UD
24478 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24479
cbf645a6 24480 [BZ #13192]
2840865d
UD
24481 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24482 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24483
b402e91a
RM
244842011-09-15 Roland McGrath <roland@hack.frob.com>
24485
24486 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24487 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24489 (CALL_FAIL): Likewise.
24490 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24491 (CALL_FAIL): Macro removed.
24492 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24493
4c1a1f71
UD
244942011-09-15 Ulrich Drepper <drepper@gmail.com>
24495
24496 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24497 for __FINITE_MATH_ONLY__ == 1.
24498
edc121be
AS
244992011-09-15 Andreas Schwab <schwab@redhat.com>
24500
24501 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24502 __ieee754_sqrt instead of sqrt.
24503 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24504 __ieee754_sqrtf instead of sqrtf.
24505 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24506 __floorf instead of floorf.
24507 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24508 __floorf, __truncf instead of floorf, truncf.
24509
cd205654
UD
245102011-09-14 Ulrich Drepper <drepper@gmail.com>
24511
ee4d0315
UD
24512 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24513
cd205654
UD
24514 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24515 __extern_always_inline.
24516 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24517 32-bit.
24518
48b67d71
AS
245192011-09-14 Andreas Schwab <schwab@redhat.com>
24520
24521 * elf/rtld.c (dl_main): Also relocate in dependency order when
24522 doing symbol dependency testing.
24523
1ae12c75
AS
245242011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24525
24526 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24527 Always define `refsym'.
24528
995a80df
AS
245292011-09-13 Andreas Schwab <schwab@redhat.com>
24530
e529793b
AS
24531 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24532 (__FD_ELT): Renamed from __FDELT.
24533 * misc/bits/select2.h (__FD_ELT): Likewise.
24534 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24535 __FD_MASK instead of __FDELT, __FDMASK.
24536 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24537 Likewise.
24538 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24539 Likewise.
24540
52d4fef8
AS
24541 * elf/Makefile (gen-ldd): Fix pattern.
24542
995a80df
AS
24543 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24544 (init_tls): Likewise.
24545
8682f8b0
UD
245462011-09-12 Ulrich Drepper <drepper@gmail.com>
24547
24548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24549
de82006d
AS
245502011-09-12 Andreas Schwab <schwab@redhat.com>
24551
a7c8e6a1
AS
24552 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24553 `struct cmsghdr *' instead of `void *'.
24554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24555 Likewise.
24556
0f31fe77
AS
245572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24558
24559 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24560 if non-absolute.
24561 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24562 ldd_rewrite_script.
0f31fe77 24563
32b4c839
UD
245642011-09-11 Ulrich Drepper <drepper@gmail.com>
24565
83cd1420
UD
24566 * configure.in: Remove --with-tls option.
24567 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24568 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24569 out in case it is missing.
24570 * sysdeps/ia64/elf/configure.in: Likewise.
24571 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24572 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24573 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24574 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24575 * sysdeps/sh/elf/configure.in: Likewise.
24576 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24577 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24578 * sysdeps/x86_64/elf/configure.in: Likewise.
24579 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24580 * sysdeps/mach/hurd/tls.h: Likewise.
24581
633f745d
UD
24582 [BZ #13067]
24583 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24584
f318beb8
UD
24585 [BZ #13090]
24586 * configure.in: Fix use of AC_INIT.
24587
32b4c839
UD
24588 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24589
3ce1f295
UD
245902011-09-10 Ulrich Drepper <drepper@gmail.com>
24591
bb016596
UD
24592 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24593 __set_errno.
8e58439c
UD
24594 * malloc/hooks.c: Likewise.
24595
aebae053 24596 [BZ #11929]
02d46fc4
UD
24597 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24598 variables statically.
24599 (narenas): Initialize.
24600 (list_lock): Initialize.
bb016596
UD
24601 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24602 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24603 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24604 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24605 Add initializers to main_arena and mp_.
24606 (malloc_state): Remove pagesize member. Change all users to use
24607 GLRO(dl_pagesize).
24608
24609 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24610 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24611 is always initialized.
24612
22a89187
UD
24613 * malloc/malloc.c: Removed unused configurations and dead code.
24614 * malloc/arena.c: Likewise.
24615 * malloc/hooks.c: Likewise.
02d46fc4 24616 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24617
d063d164
UD
24618 * include/tls.h: Removed. USE___THREAD must always be defined.
24619 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24620 * elf/dl-libc.c: Likewise.
24621 * elf/dl-tsd.c: Likewise.
24622 * include/errno.h: Likewise.
24623 * include/netdb.h: Likewise.
24624 * include/resolv.h: Likewise.
24625 * inet/herrno-loc.c: Likewise.
24626 * inet/herrno.c: Likewise.
24627 * malloc/arena.c: Likewise.
24628 * malloc/hooks.c: Likewise.
24629 * malloc/malloc.c: Likewise.
24630 * resolv/res-state.c: Likewise.
24631 * resolv/res_libc.c: Likewise.
24632 * sysdeps/i386/dl-machine.h: Likewise.
24633 * sysdeps/ia64/dl-machine.h: Likewise.
24634 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24635 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24636 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24637 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24638 * sysdeps/sh/dl-machine.h: Likewise.
24639 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24640 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24641 * sysdeps/unix/i386/sysdep.S: Likewise.
24642 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24643 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24644 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24645 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24648 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24649 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24650 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24652 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24653 * sysdeps/x86_64/dl-machine.h: Likewise.
24654 * tls.make.c: Likewise.
24655
3ce1f295
UD
24656 * configure.in: Remove --with-__thread option. Make tests for
24657 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24658 tls_model attribute fail if no support is available. Remove
24659 USE_IN_LIBIO.
24660 * Makeconfig: Adjust for dropped configure option. All features are
24661 now mandatory.
24662 * Makerules: Likewise.
24663 * Versions.def: Likewise.
24664 * argp/argp-fmtstream.c: Likewise.
24665 * argp/argp-fmtstream.h: Likewise.
24666 * argp/argp-help.c: Likewise.
24667 * assert/assert.c: Likewise.
24668 * config.h.in: Likewise.
24669 * config.make.in: Likewise.
24670 * configure: Likewise.
24671 * configure.in: Likewise.
24672 * csu/Versions: Likewise.
24673 * csu/init.c: Likewise.
24674 * elf/tst-audit2.c: Likewise.
24675 * elf/tst-tls10.c: Likewise.
24676 * elf/tst-tls10.h: Likewise.
24677 * elf/tst-tls11.c: Likewise.
24678 * elf/tst-tls12.c: Likewise.
24679 * elf/tst-tls14.c: Likewise.
24680 * elf/tst-tlsmod11.c: Likewise.
24681 * elf/tst-tlsmod12.c: Likewise.
24682 * elf/tst-tlsmod13.c: Likewise.
24683 * elf/tst-tlsmod13a.c: Likewise.
24684 * elf/tst-tlsmod14a.c: Likewise.
24685 * elf/tst-tlsmod15b.c: Likewise.
24686 * elf/tst-tlsmod16a.c: Likewise.
24687 * elf/tst-tlsmod16b.c: Likewise.
24688 * elf/tst-tlsmod7.c: Likewise.
24689 * elf/tst-tlsmod8.c: Likewise.
24690 * elf/tst-tlsmod9.c: Likewise.
24691 * gmon/gmon.c: Likewise.
24692 * grp/fgetgrent_r.c: Likewise.
24693 * grp/putgrent.c: Likewise.
24694 * hurd/fopenport.c: Likewise.
24695 * include/libc-symbols.h: Likewise.
24696 * include/tls.h: Likewise.
24697 * intl/gettextP.h: Likewise.
24698 * intl/loadinfo.h: Likewise.
24699 * locale/global-locale.c: Likewise.
24700 * locale/localeinfo.h: Likewise.
24701 * mach/devstream.c: Likewise.
24702 * malloc/arena.c: Likewise.
24703 * malloc/set-freeres.c: Likewise.
24704 * misc/err.c: Likewise.
24705 * misc/getttyent.c: Likewise.
24706 * misc/mntent_r.c: Likewise.
24707 * posix/getopt.c: Likewise.
24708 * posix/wordexp.c: Likewise.
24709 * pwd/fgetpwent_r.c: Likewise.
24710 * resolv/Versions: Likewise.
24711 * resolv/res_hconf.c: Likewise.
24712 * shadow/fgetspent_r.c: Likewise.
24713 * shadow/putspent.c: Likewise.
24714 * stdio-common/printf_fphex.c: Likewise.
24715 * stdio-common/tmpfile.c: Likewise.
24716 * stdlib/abort.c: Likewise.
24717 * stdlib/fmtmsg.c: Likewise.
24718 * sunrpc/auth_unix.c: Likewise.
24719 * sunrpc/clnt_perr.c: Likewise.
24720 * sunrpc/clnt_tcp.c: Likewise.
24721 * sunrpc/clnt_udp.c: Likewise.
24722 * sunrpc/clnt_unix.c: Likewise.
24723 * sunrpc/openchild.c: Likewise.
24724 * sunrpc/svc_simple.c: Likewise.
24725 * sunrpc/svc_tcp.c: Likewise.
24726 * sunrpc/svc_udp.c: Likewise.
24727 * sunrpc/svc_unix.c: Likewise.
24728 * sunrpc/xdr.c: Likewise.
24729 * sunrpc/xdr_array.c: Likewise.
24730 * sunrpc/xdr_rec.c: Likewise.
24731 * sunrpc/xdr_ref.c: Likewise.
24732 * sunrpc/xdr_stdio.c: Likewise.
24733
1248c1c4
PB
247342011-09-09 Ulrich Drepper <drepper@gmail.com>
24735
24736 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24737
247382011-07-03 Andreas Jaeger <aj@suse.de>
24739
24740 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24741 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24742 regenerate with gen-libm-tests.pl.
24743
247442010-05-12 Petr Baudis <pasky@suse.cz>
24745
24746 [BZ #11589]
24747 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24748 around j0() zero points by switching to j1().
24749 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24750 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24753
f22e1074
UD
247542011-09-09 Ulrich Drepper <drepper@gmail.com>
24755
f19009c1
UD
24756 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24757 instead of 0.
24758 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24759 instead of 0.
f19009c1
UD
24760 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24761 Patch in part by Pavel Roskin <proski@gnu.org>.
24762
3f8cc204
UD
24763 [BZ #13138]
24764 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24765 realloc.
24766 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24767 Free memory block if necessary.
24768
f22e1074
UD
24769 [BZ #12847]
24770 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24771 be NULL. Don't lock in this case.
24772
0a2349f9
RM
247732011-09-09 Roland McGrath <roland@hack.frob.com>
24774
24775 * elf/elf.h (ELFOSABI_GNU): New macro.
24776 (ELFOSABI_LINUX): Define to that.
24777
f3cdd467
DZ
247782011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24779
24780 * string/strncat.c (strncat): Undef the symbol in case it has been
24781 defined in bits/string.h.
24782
74718d13
UD
247832011-09-09 Ulrich Drepper <drepper@gmail.com>
24784
633e9e0f
UD
24785 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24786
0a2349f9 24787 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24788 link map.
24789
f9924780
AJ
247902011-08-17 Andreas Jaeger <aj@suse.de>
24791
24792 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24793
7f5517aa
PP
247942011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24795 Ian Lance Taylor <iant@google.com>
24796
24797 * math/libm-test.inc (lround_test): New testcase.
24798 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24799
762011fe
UD
248002011-09-08 Ulrich Drepper <drepper@gmail.com>
24801
92963737
UD
24802 * Makefile: Remove support for automatic cvs check-ins.
24803 * Makerules: Likewise.
24804 * config.make.in: Likewise.
24805 * configure.in: Likewise.
24806 * intl/Makefile: Likewise.
24807 * locale/Makefile: Likewise.
24808 * po/Makefile: Likewise.
24809 * posix/Makefile: Likewise.
24810 * sysdeps/gnu/Makefile: Likewise.
24811 * sysdeps/mach/hurd/Makefile: Likewise.
24812 * sysdeps/sparc/sparc32/Makefile: Likewise.
24813
b0727fd8
JS
24814 [BZ #13118]
24815 * posix/Makefile (bug-regex32-ENV): Define.
24816 Patch by John Stanley <jpsinthemix@verizon.net>.
24817
a0f33f99
UD
24818 * misc/Makefile (headers): Add bits/select2.h.
24819 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24820 * misc/bits/select2.h: New file.
24821 * include/bits/select2.h: New file.
24822 * debug/Makefile (routines): Add fdelt_chk.
24823 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24824 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24825 FD_ISSET.
24826 * debug/fdelt_chk.c: New file.
24827
762011fe
UD
24828 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24829 * wcsmbs/test-wmemcmp.c: Likewise.
24830 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24831 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24832
248332011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24834
24835 * string/Makefile (strop-tests): Add memcmp.
24836 * string/test-wmemcmp.c: New file.
24837 * string/test-memcmp.c: Add wmemcmp support.
24838
7f513ec8
RM
248392011-09-08 Roland McGrath <roland@hack.frob.com>
24840
0442afb4
RM
24841 [BZ #13153]
24842 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24843 2011-07-19 change.
24844
7f513ec8
RM
24845 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24846 garbage value in a __mach_port_mod_refs call in the cases of the
24847 task-self and thread-self ports.
24848
a12b2239
ST
248492011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24850
24851 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24852
610f9ab4
AS
248532011-09-08 Andreas Schwab <schwab@redhat.com>
24854
7f513ec8 24855 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24856
48882a1a
LD
248572011-09-07 Ulrich Drepper <drepper@gmail.com>
24858
b49865be
UD
24859 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24860
fdc86bc9
UD
24861 * elf/dl-libc.c (dlerror_run): Pass back error code from
24862 dl_catch_error.
24863
c966526a
UD
24864 [BZ #13123]
24865 * elf/dl-load.c (lose): Free l_origin if it is valid.
24866
48882a1a
LD
24867 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24868 names.
24869 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24870 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24871 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24872 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24873 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24874 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24875
77a2a8b4
AZ
248762011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24877
24878 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24879 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24880 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24881 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24882 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24883 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24884 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24885 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24886 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24887 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24888
24f579d8
AM
248892011-08-15 Alan Modra <amodra@gmail.com>
24890
24891 [BZ #13092]
24892 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24893 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24894 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24895 ppc_mcount to static-only-routines.
24896 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24897 __mcount_internal.
24898 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24899 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24900
3d4837df
UD
249012011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24902
24903 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24904 for finite and infinity parameters.
24905
22700377
WS
249062011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24907
24908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24909 and add nop instructions for throughput optimization.
24910 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24911
5025581e
WS
249122011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24913
24914 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24915 aligned copy for power7 with vector-scalar instructions.
24916 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24917
08a300c9
L
249182011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24919
24920 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24921 AVX check.
24922
59178ef9
AS
249232011-09-07 Andreas Schwab <schwab@redhat.com>
24924
24925 [BZ #13144]
24926 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24927 last change.
24928
e38ba7ab
UD
249292011-09-07 Ulrich Drepper <drepper@gmail.com>
24930
24931 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24932 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24933 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24934 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24935 clock_gettime.
24936
d53a73ac
UD
249372011-09-06 Ulrich Drepper <drepper@gmail.com>
24938
fc8bffcc
UD
24939 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24940 Forgot to demangle the pointer.
24941
ceaa0c5d
UD
24942 * sysdeps/i386/sysdep.h: Define atom_text_section.
24943 * sysdeps/x86_64/sysdep.h: Likewise.
24944 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24945 section with atom_text_section.
24946 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24947 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24948 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24950 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24951
a77d3c17
UD
24952 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24953 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24954 already be defined. Change to take two parameters and don't assign
24955 result to variable. Adjust all users.
24956 Define INTERNAL_GETTIME if not already defined.
24957 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24958 call.
24959 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24960 HAVE_CLOCK_GETTIME_VSYSCALL.
24961 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24962
d53a73ac
UD
24963 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24964 gettimeofday vsyscall, just use time.
24965
a8f84144
AS
249662011-09-06 Andreas Schwab <schwab@redhat.com>
24967
24968 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24969 <errno.h>.
24970
ef606249
UD
249712011-09-06 Ulrich Drepper <drepper@gmail.com>
24972
24973 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24974 syscall on x86-64.
24975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24976 syscall.
24977 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24978 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24979 syscall if possible.
24980
6585cb60
UD
249812011-09-05 Ulrich Drepper <drepper@gmail.com>
24982
24983 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24984 e_ident. Don't pass to find_mapsXX.
24985 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24986
a5f524e4
LD
249872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24988
24989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24990 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24991 * sysdeps/x86_64/multiarch/strchr.S: Update.
24992 Check bit_slow_BSF bit.
24993 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24994 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24995 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24996
554881ef
UD
249972011-09-05 Ulrich Drepper <drepper@gmail.com>
24998
d96de963
UD
24999 [BZ #13134]
25000 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
25001 before glibc 2.15.
25002 (tryshell): Define.
25003 (__spawni): Change last parameter to be flag. Test
25004 SPAWN_XFLAGS_USE_PATH flag to use path or not.
25005 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
25006 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
25007 * posix/spawni.c: Likewise.
25008 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
25009 * posix/spawnp.c: Likewise. Change normal version to use
25010 SPAWN_XFLAGS_USE_PATH.
25011 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
25012 SPAWN_XFLAGS_TRY_SHELL.
25013
d48e5868
UD
25014 [BZ #13150]
25015 * posix/glob.h: Remove gcc 1.x support.
25016
554881ef
UD
25017 [BZ #13068]
25018 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
25019
693fb948
LD
250202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25021
25022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25023 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
25024 strrchr-sse2-bsf
25025 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25026 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25027 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25028 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25029 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25030 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25031
1b48c537
UD
250322011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25033
49d42c37
UD
25034 * sysdeps/x86_64/wcscmp.S: New file.
25035
1b48c537
UD
25036 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25037 wcscmp-c wcscmp-sse2
25038 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25039 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25040 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25041 * wcsmbs/wcscmp.c: Allow renaming.
25042
15c95c5d
DM
250432011-09-05 David S. Miller <davem@davemloft.net>
25044
25045 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25046 stack slot, rather than the struct return pointer slot.
25047 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25048 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25050 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25051
2f0ad8f3
UD
250522011-09-05 Ulrich Drepper <drepper@gmail.com>
25053
d88ae418
UD
25054 * po/ja.po: Update from translation team.
25055
2f0ad8f3
UD
25056 [BZ #13144]
25057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25058 kernel in 64-bit binaries.
25059
5f4318d1
DM
250602011-09-01 David S. Miller <davem@davemloft.net>
25061
25062 * elf/elf.h (HWCAP_SPARC_*): Move to..
25063 * sysdeps/sparc/sysdep.h: this new file and add new values.
25064 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25065 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25066 _DL_HWCAP_COUNT to 24.
25067 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25068 entries.
25069 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25070 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25071 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25073 instead of magic constants.
25074 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25075
3ba57516
DM
250762011-08-31 David S. Miller <davem@davemloft.net>
25077
25078 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25080 Reimplement to do errno handling inline.
25081 (SYSCALL_ERROR_HANDLER): New macro.
25082 (__SYSCALL_STRING): Do not do errno handling in asm.
25083 (__CLONE_SYSCALL_STRING): Delete.
25084 (__INTERNAL_SYSCALL_STRING): Delete.
25085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25086 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25087 (PSEUDO): Reimplement to do errno handling inline.
25088 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25089 (SYSCALL_ERROR_HANDLER): New macro.
25090 (__SYSCALL_STRING): Do not do errno handling in asm.
25091 (__CLONE_SYSCALL_STRING): Delete.
25092 (__INTERNAL_SYSCALL_STRING): Delete.
25093 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25094 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25095 i386.
25096 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25097 (inline_syscall*): Add 'err' argument.
25098 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25099 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25100 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25101 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25102
25103 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25104 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25105
2bc17433
AS
251062011-08-30 Andreas Schwab <schwab@redhat.com>
25107
25108 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25109
fbeb5f4d
JO
251102011-08-29 Jiri Olsa <jolsa@redhat.com>
25111
25112 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25113 directive.
25114
ad69cc26
DM
251152011-08-24 David S. Miller <davem@davemloft.net>
25116
25117 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25118
39dd69df
AS
251192011-08-24 Andreas Schwab <schwab@redhat.com>
25120
25121 * elf/Makefile: Add rules to build and run unload8 test.
25122 * elf/unload8.c: New file.
25123 * elf/unload8mod1.c: New file.
25124 * elf/unload8mod1x.c: New file.
25125 * elf/unload8mod2.c: New file.
25126 * elf/unload8mod3.c: New file.
25127
25128 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25129 it wasn't used.
25130
2c0b250a
DM
251312011-08-23 David S. Miller <davem@davemloft.net>
25132
25133 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25134 subtract stack bias.
25135 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25136 %sp not %fp in calculations.
25137 (_JMPBUF_UNWINDS_ADJ): Likewise.
25138
22044b48
DM
25139 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25140 (aio_suspend): Call it to force an exception region around the
25141 AIO_MISC_WAIT() invocation.
25142
2cae4995
AS
251432011-08-23 Andreas Schwab <schwab@redhat.com>
25144
25145 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25146 backslash.
25147
873a772e
AJ
251482011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25149
25150 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25151 protection macro.
25152 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25153 and <dl-machine.h>.
25154 (Elf64_FuncDesc): Remove.
25155
25ad0df1
DM
251562011-08-22 David S. Miller <davem@davemloft.net>
25157
25158 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25159 sigaltstack check, add missing cfi directives.
25160 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25161 missing cfi directives, and sigaltstack handling.
25162
e888bcbe
AS
251632011-08-16 Andreas Schwab <schwab@redhat.com>
25164
25165 [BZ #11724]
25166 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25167 object is seen twice.
25168 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25169
25170 * elf/Makefile (distribute): Add tst-initorder2.c.
25171 (tests): Add tst-initorder2.
25172 (modules-names): Add tst-initorder2a tst-initorder2b
25173 tst-initorder2c tst-initorder2d. Add rules to build them.
25174 ($(objpfx)tst-initorder2.out): New rule.
25175 * elf/tst-initorder2.c: New file.
25176 * elf/tst-initorder2.exp: New file.
25177
87162f46
AS
251782011-08-22 Andreas Schwab <schwab@redhat.com>
25179
70538b7f
AS
25180 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25181
f55ffe58
AS
25182 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25183 dependencies back to end of function.
25184
87162f46
AS
25185 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25186 $(elfobjdir)/ld.so.
25187
91b392a4
UD
251882011-08-21 Ulrich Drepper <drepper@gmail.com>
25189
25190 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25191 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25193 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25194 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25195 of __vdso_gettimeofday.
25196 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25197 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25198 attribute_hidden.
25199 (_libc_vdso_platform_setup): Remove initialization of
25200 __vdso_gettimeofday and __vdso_time.
25201
5c43483f
UD
252022011-08-20 Ulrich Drepper <drepper@gmail.com>
25203
775a77e7
UD
25204 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25205 and fgetc_unlocked.
25206 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25207 getc_unlocked.
89f447ed 25208
49c74ba9
UD
25209 * elf/dl-open.c (add_to_global): Report additions to the global scope
25210 for LD_DEBUG=scopes.
25211 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25212 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25213
5c43483f
UD
25214 [BZ #13114]
25215 * stdio-common/Makefile (tests): Add bug24.
25216 * stdio-common/bug24.c: New file.
25217
a101b025
AJ
252182011-08-19 Andreas Jaeger <aj@suse.de>
25219
25220 [BZ #13114]
25221 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25222 non-existant file when using close-on-exec mode.
25223
c88f1766
UD
252242011-08-20 Ulrich Drepper <drepper@gmail.com>
25225
0276a718
UD
25226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25227 the very first instruction.
25228
c88f1766
UD
25229 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25230 the CFI state in the end.
25231 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25232 inclusion of dl-trampoline.h.
25233 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25234
51ccffa0
AS
252352011-08-19 Andreas Schwab <schwab@redhat.com>
25236
94d7165f
AS
25237 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25238 expectations for long double.
25239
51ccffa0
AS
25240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25241 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25242
fd708658 252432011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25244
25245 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25246 artificual limit depends upon the system page size.
25247
44f0a71e
UD
252482011-08-17 Ulrich Drepper <drepper@gmail.com>
25249
25250 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25251 * resolv/Makefile: Define CFLAGS-libresolv.
25252
8de79a24
AS
252532011-08-17 Andreas Schwab <schwab@redhat.com>
25254
25255 * nss/makedb.c (compute_tables): Make variables used in nested
25256 function static.
25257
27724598
UD
252582011-08-17 Ulrich Drepper <drepper@gmail.com>
25259
c5305d88
UD
25260 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25261 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25262 if buffer was too small.
25263
27724598
UD
25264 * elf/pldd.c (main): Attach to all threads in the process.
25265 Rewrite /proc handling to use *at functions.
25266
076fe015
UD
252672011-08-16 Ulrich Drepper <drepper@gmail.com>
25268
174baab3
UD
25269 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25270 specifies first scope to show.
25271 (dl_open_worker): Update callers. Move printing scope of new
25272 object to before the relocation.
44f0a71e 25273 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25274 * sysdeps/generic/ldsodefs.h: Update declaration.
25275
076fe015
UD
25276 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25277 string for the scope number.
25278
a60df2c3
UD
252792011-08-14 Ulrich Drepper <drepper@gmail.com>
25280
25281 * nscd/servicescache.c (cache_addserv): Make sure written is always
25282 initialized.
25283
5e4287d1
RM
252842011-08-14 Roland McGrath <roland@hack.frob.com>
25285
85ae0589
RM
25286 * sysdeps/i386/i486/bits/atomic.h
25287 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25288 statement expression, so as to suppress "set but not used" warning.
25289 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25290
69f63097
RM
25291 * string/strncat.c (STRNCAT): Use prototype definition.
25292
675456ef
RM
25293 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25294 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25295 -Iprograms here.
25296 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25297 (localedef-modules): Add localedef.
25298 (locale-modules): Add locale.
25299
5e4287d1
RM
25300 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25301 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25302 to avoid a warning.
25303
9c96ff23
DM
253042011-08-14 David S. Miller <davem@davemloft.net>
25305
25306 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25307 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25308
f9ddf089
UD
253092011-08-13 Ulrich Drepper <drepper@gmail.com>
25310
44f0a71e 25311 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25312 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25313 * elf/rtld.c (dl_main): Set l_name of vDSO.
25314 Call _dl_show_scope when DL_DEBUG_SCOPES.
25315 (process_dl_debug): Recognize scopes flag and also set it for all.
25316 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25317 Declare _dl_show_scope.
25318
1dc27704
UD
25319 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25320 (do_dlopen): Pass caller_dlopen to dl_open.
25321 (__libc_dlopen_mode): Initialize caller_dlopen.
25322
f9ddf089
UD
25323 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25324 of libc. Make tolower call locale-independent. Optimize a bit by
25325 using isdigit instead of isalnum.
25326 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25327
9ac533d3
UD
253282011-08-12 Ulrich Drepper <drepper@gmail.com>
25329
25330 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25331 was a dependency or dynamically loaded.
25332
89edf2e9
UD
253332011-08-11 Ulrich Drepper <drepper@gmail.com>
25334
8e999d29
UD
25335 * intl/l10nflist.c: Allow architecture-specific pop function.
25336 * sysdeps/x86_64/l10nflist.c: New file.
25337
89edf2e9
UD
25338 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25339 classification.
25340
14d96785
AS
253412011-08-10 Andreas Schwab <schwab@redhat.com>
25342
25343 * include/dirent.h: Add libc_hidden_proto for scandirat and
25344 scandirat64. Don't declare __scandirat64.
25345 * dirent/scandirat.c: Add libc_hidden_def.
25346 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25347 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25348
6761ac04
DM
253492011-08-10 David S. Miller <davem@davemloft.net>
25350
25351 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25352 enum.
25353 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25355 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25356
c55fbd1e
UD
253572011-08-09 Ulrich Drepper <drepper@gmail.com>
25358
25359 * Versions.def [libc]: Add GLIBC_2.15.
25360 * dirent/Makefile (routines): Add scandirat and scandirat64.
25361 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25362 GLIBC_2.15.
25363 * dirent/dirent.h: Declare scandirat and scandirat64.
25364 * dirent/scandirat.c: New file.
25365 * dirent/scandirat64.c: New file.
25366 * sysdeps/wordsize-64/scandirat.c: New file.
25367 * sysdeps/wordsize-64/scandirat64.c: New file.
25368 * dirent/opendir.c: Define opendirat.
25369 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25370 using scandirat.
25371 * dirent/scandir64.c: Adjust for scandir.c change.
25372 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25373 __scandirat64, and __scandir_cancel_handler.
25374 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25375 additional parameter and use openat instead of open (outside of ld.so).
25376 Add new __opendir as wrapper around __opendirat.
25377 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25378 here without requiring old scandirat implementation.
25379
879165f2
UD
253802011-08-08 Ulrich Drepper <drepper@gmail.com>
25381
25382 * dirent/scandir.c (cancel_handler): Renamed to
25383 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25384 defined. Adjust users.
25385 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25386 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25387
cb7e923b
UD
253882011-08-04 Ulrich Drepper <drepper@gmail.com>
25389
16292edd
UD
25390 * string/test-string.h (IMPL): Use __STRING to expand name and then
25391 stringify it.
25392
cb7e923b
UD
25393 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25394 of cleanups.
25395
cff82933
LD
253962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25397
25398 * string/Makefile: Update.
25399 (strop-tests): Append strncat.
25400 * string/test-wcscmp.c: New file.
25401 New comprehensive test for wcscmp.
25402 * string/test-strcmp.c: Update.
25403 (WIDE): New define.
25404
9be9bfcc
AS
254052011-07-22 Andreas Schwab <schwab@redhat.com>
25406
25407 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25408 line.
25409
2e96f1c7
AS
254102011-07-26 Andreas Schwab <schwab@redhat.com>
25411
25412 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25413 encoding to ACE if AI_IDN.
25414
85188888
JJ
254152011-08-01 Jakub Jelinek <jakub@redhat.com>
25416
25417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25418 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25419
5fa16e9b
LD
254202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25421
25422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25423 Fix overflow bug in strncat.
25424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25425
25426 * string/test-strncat.c: Update.
25427 Add new tests for checking overflow bugs.
25428
254292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25430
25431 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25432 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25433 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25434 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25435 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25436 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25437 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25438 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25439 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25440
25441 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25442 (USE_AS_STRCAT): Define.
25443 Add strcat and strncat support.
25444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25445
8c1a459f
AS
254462011-07-25 Andreas Schwab <schwab@redhat.com>
25447
25448 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25449 __n bigger than INT_MAX+1.
25450 (__strncmp_g): Likewise.
25451
bba33c28
UD
254522011-07-23 Ulrich Drepper <drepper@gmail.com>
25453
798be72d
UD
25454 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25455 * libio/stido.h: Likewise.
25456
8accd4dc
UD
25457 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25458 (AF_NFC): Define.
25459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25460 (AF_NFC): Define.
25461
cbff0d96
UD
25462 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25463 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25464 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25465 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25466 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25467
9191c04a
UD
25468 [BZ #13021]
25469 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25470 installed.
25471
bba33c28
UD
25472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25473 typo.
25474 (_dl_x86_64_save_sse): Likewise.
25475
90f139dd
UD
254762011-07-22 Ulrich Drepper <drepper@gmail.com>
25477
1aae088a
UD
25478 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25479 OSXSAVE.
25480 (_dl_x86_64_save_sse): Likewise.
25481
8e2045f5
UD
25482 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25483
90f139dd
UD
25484 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25485
1d002f25
AS
254862011-07-21 Andreas Schwab <schwab@redhat.com>
25487
25488 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25489 change.
25490 (_dl_x86_64_save_sse): Use correct AVX check.
25491
21137f89
UD
254922011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25493
25494 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25495 bug in strncpy/strncat.
25496 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25497
a65c0b7a
UD
254982011-07-21 Ulrich Drepper <drepper@gmail.com>
25499
25500 * string/tester.c (test_strcat): Add tests for different alignments
25501 of source and destination.
25502 (test_strncat): Likewise.
25503
6986b98a
UD
255042011-07-20 Ulrich Drepper <drepper@gmail.com>
25505
90bb2039
UD
25506 [BZ #12852]
25507 * posix/glob.c (glob): Check passed in values before using them in
25508 expressions to avoid some overflows.
25509 (glob_in_dir): Likewise.
25510
5644ef54
UD
25511 [BZ #13007]
25512 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25513 check for AVX enablement so that we don't crash with old kernels and
25514 new hardware.
25515 * elf/tst-audit4.c: Add same checks here.
25516 * elf/tst-audit6.c: Likewise.
25517
25518 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25519
bfc9dc9b
AS
255202011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25521
25522 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25523
702e64bb
UD
255242011-07-20 Ulrich Drepper <drepper@gmail.com>
25525
25526 * po/cs.po: Update from translation team.
25527 * po/bg.po: Likewise.
25528
295e904f
MP
255292011-07-12 Marek Polacek <mpolacek@redhat.com>
25530
25531 * misc/sys/cdefs.h: Add support for const attribute.
25532 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25533 to gnu_dev_{major,minor,makedev} functions.
25534
3ff94596
MP
255352011-07-20 Marek Polacek <mpolacek@redhat.com>
25536
25537 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25538
28b59fca
AS
255392011-07-20 Andreas Schwab <schwab@redhat.com>
25540
25541 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25542 strlen results.
25543
19df733e
AK
255442011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25545
25546 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25547 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25548 register in order to avoid conflicts with the soft frame pointer
25549 being held in r11 when necessary.
25550 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25551 (INTERNAL_VSYSCALL_NCS): Likewise.
25552
c8835729
MP
255532011-07-14 Marek Polacek <mpolacek@redhat.com>
25554
25555 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25556 * elf/dl-fini.c (_dl_fini): Adjust caller.
25557 * elf/dl-close.c (_dl_close_worker): Likewise.
25558 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25559
b902330c
MP
255602011-07-15 Marek Polacek <mpolacek@redhat.com>
25561
8991e135
MP
25562 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25563 "aux_cache->nlibs < 0".
25564
b902330c
MP
25565 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25566 in the reload-count case.
25567
99710781
LD
255682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25569
25570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25571 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25572 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25573 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25574 * sysdeps/x86_64/multiarch/strcat.S: New file.
25575 * sysdeps/x86_64/multiarch/strncat.S: New file.
25576 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25577 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25578 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25579 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25580 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25581 (USE_AS_STRCAT): Define.
25582 Add strcat and strncat support.
25583 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25584 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25585 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25586 * string/strncat.c: Update.
25587 (USE_AS_STRNCAT): Define.
25588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25589 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25590 and i7.
25591 * sysdeps/x86_64/multiarch/init-arch.h
25592 (bit_Prefer_PMINUB_for_stringop): New.
25593 (index_Prefer_PMINUB_for_stringop): Likewise.
25594 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25595 bit_Prefer_PMINUB_for_stringop.
25596
7dc6bd90
UD
255972011-07-19 Ulrich Drepper <drepper@gmail.com>
25598
25599 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25600 buffer64.
25601 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25602 of casting of buffer.
25603 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25604 buffer32 and buffer64.
25605 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25606 writes instead of casting of buffer.
25607 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25608 buffer32.
25609 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25610 casting of buffer.
25611
e0e72284
AS
256122011-07-19 Andreas Schwab <schwab@redhat.com>
25613
25614 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25615
feb1eb0b
UD
256162011-07-19 Ulrich Drepper <drepper@gmail.com>
25617
25618 * nscd/nscd.c (termination_handler): Don't do anything for a database
25619 if it has not yet been initialized.
25620
298711ff
UD
256212011-07-18 Ulrich Drepper <drepper@gmail.com>
25622
25623 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25624
256252011-07-15 Marek Polacek <mpolacek@redhat.com>
25626
25627 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25628
f9d68389
UD
256292011-07-18 Ulrich Drepper <drepper@gmail.com>
25630
25631 * po/nl.po: Update from translation team.
25632 * po/sv.po: Likewise.
25633
db290cf5
RM
256342011-07-16 Roland McGrath <roland@hack.frob.com>
25635
25636 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25637 now disallowed by GCC.
5c550700 25638
fd5e21c7
RM
25639 * configure.in (use-default-link): Default to yes if a test -shared
25640 link meets our qualifications.
25641 * configure: Regenerated.
25642
5c550700
RM
25643 * config.make.in (output-format): New variable.
25644 * configure.in: Check for ld --print-output-format support.
25645 * configure: Regenerated.
25646 * Makerules ($(common-objpfx)format.lds)
25647 [$(output-format) != unknown]: Just use $(output-format),
25648 instead of the linker-script munging.
25649
9fa2c032
RM
256502011-07-14 Roland McGrath <roland@hack.frob.com>
25651
a6928d51
RM
25652 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25653 of $(common-objpfx)shlib.lds.
25654 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25655
661607b3
RM
25656 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25657 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25658
9fa2c032
RM
25659 * configure.in (-z relro check): Adjust test code to add a large
25660 writable data section after it.
25661 * configure: Regenerated.
25662
defe9061
RM
256632011-07-11 Roland McGrath <roland@hack.frob.com>
25664
25665 * configure.in (-z relro check): Fix test code to make the variable
25666 truly const.
25667 * configure: Regenerated.
25668
319b9ad4
UD
256692011-07-11 Ulrich Drepper <drepper@gmail.com>
25670
25671 * nscd/nscd.h (struct traced_file): Define.
25672 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25673 elements. Add traced_files.
25674 (inotify_fd): Declare.
25675 (register_traced_file): Declare.
25676 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25677 (inotify_fd): Export.
25678 (resolv_conf_descr): Remove.
25679 (nscd_init): Move inotify descriptor creation to main.
25680 Don't register files for notification here.
25681 (register_traced_file): New function.
25682 (invalidate_cache): Don't use reset_res to determine whether to call
25683 res_init, go through the list of registered files.
25684 (main_loop_poll): The inotify descriptors are now stored in the
25685 structures for the traced files.
25686 (main_loop_epoll): Likewise
25687 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25688 to __nss_disable_nscd.
25689 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25690 for a database anymore. Check the records for all the registered
25691 files instead.
25692 * nss/Makefile (libnss_files-routines): Add files-init.
25693 (libnss_db-routines): Add db-init.
25694 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25695 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25696 * nss/nss_db/db-init.c: New file.
25697 * nss/nss_files/files-init.c: New file.
25698 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25699 __nss_lookup_function.
25700 (__nss_lookup_function): Call nss_load_library.
25701 (nss_load_all_libraries): New function.
25702 (__nss_disable_nscd): Take parameter with callback function for files
25703 to register. Set is_nscd. Load all the DSOs for the NSS modules
25704 used for the cached services.
25705 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25706 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25707 options for features to all the files in nscd.
25708
25709 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25710
23bee3e8
RM
257112011-07-10 Roland McGrath <roland@hack.frob.com>
25712
25713 * csu/elf-init.c (__libc_csu_init): Comment typo.
25714
46a5b7f0
UD
257152011-07-09 Ulrich Drepper <drepper@gmail.com>
25716
25717 * po/pl.po: Update from translation team.
25718 * po/ja.po: Likewise.
25719 * po/ru.po: Likewise.
25720 * po/ko.po: Likewise.
25721 * po/fr.po: Likewise.
25722
d30cf5bb
RM
257232011-07-09 Roland McGrath <roland@hack.frob.com>
25724
113ddea4
RM
25725 * configure.in (.ctors/.dtors header and trailer check):
25726 Use an empirical test on a built program.
25727 * configure: Regenerated.
25728
574920b4
RM
25729 * configure.in (-z relro check): Use an empirical test on a built DSO.
25730 Detect, but do not require, on ia64.
25731 * configure: Regenerated.
25732
d30cf5bb
RM
25733 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25734 Update tests that use readelf to use $READELF instead.
25735 * configure: Regenerated.
25736
8538fdb3
UD
257372011-07-08 Ulrich Drepper <drepper@gmail.com>
25738
25739 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25740 if the result is not used.
25741
04d08991
AJ
257422011-07-05 Andreas Jaeger <aj@suse.de>
25743
25744 [BZ#9696]
25745 * stdlib/tst-strtod.c: Add testcase.
25746
de283087
AD
257472011-07-07 Ulrich Drepper <drepper@gmail.com>
25748
4e5f31c8 25749 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25750 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25751 The latter has a higher limit. Take additional parameter to pass to
25752 the new function.
25753 (__pathconf): Pass file to __statfs_link_max.
25754 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25755 __statfs_link_max.
25756 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25757 __statfs_link_max.
25758
de283087
AD
25759 [BZ #12868]
25760 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25761 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25762 Handle Lustre.
25763 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25764 (__statfs_filesize_max): Likewise.
25765 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25766
c75fa153
AJ
257672011-07-05 Andreas Jaeger <aj@suse.de>
25768
25769 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25770
1a544854
UD
257712011-07-06 Marek Polacek <mpolacek@redhat.com>
25772
25773 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25774 `status' variable.
25775 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25776 Likewise.
25777
6f0eec67
UD
257782011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25779
25780 * Makefile (strop-tests): Add strncat.
25781 * string/test-strncat.c: New file.
25782
aae30307
UD
257832011-06-30 Marek Polacek <mpolacek@redhat.com>
25784
25785 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25786
c0cfb5eb
UD
257872011-06-21 Andreas Jaeger <aj@suse.de>
25788
25789 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25790 Copy rule from iconvdata/Makefile.
25791
01636b21
UD
257922011-07-06 Ulrich Drepper <drepper@gmail.com>
25793
25794 [BZ #12922]
25795 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25796 but no long options are defined, just return 'W'.
25797
9895c8bc
UD
257982011-06-22 Marek Polacek <mpolacek@redhat.com>
25799
25800 [BZ #9696]
25801 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25802
5d4cf042
UD
258032011-07-06 Ulrich Drepper <drepper@gmail.com>
25804
25805 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25806 netgroups to read.
960e5535 25807 (innetgr): Likewise.
5d4cf042 25808
751eb97e
RM
258092011-07-05 Roland McGrath <roland@hack.frob.com>
25810
25811 * config.make.in (install_root): Default to $(DESTDIR).
25812
f15f1e45
UD
258132011-07-05 Ulrich Drepper <drepper@gmail.com>
25814
25815 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25816
4e34ac6a
RM
258172011-07-02 Roland McGrath <roland@hack.frob.com>
25818
5e9b6af4
RM
25819 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25820
84f9ea0f
RM
25821 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25822 containing directory rather than embedding absolute directory names.
25823
ea5ee9f7
RM
25824 * scripts/check-local-headers.sh: Rewritten using awk.
25825 Match by word, not by line. Print error messages for matches.
25826 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25827
1b74661a
RM
25828 * Makerules [shlib-lds-flags empty]:
25829 ($(common-objpfx)libc_pic.opts): New target.
25830 ($(common-objpfx)libc_pic.os.clean): New target.
25831 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25832
25833 * config.make.in (OBJCOPY): New variable.
25834 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25835 * configure: Regenerated.
25836
f781ef40
RM
25837 * config.make.in (use-default-link): New variable.
25838 * configure.in (use_default_link): Grok --with-default-link to set it.
25839 * configure: Regenerated.
25840 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25841 (shlib-lds, shlib-lds-flags): Define to empty.
25842
2d4fa81e
RM
25843 * Makerules (shlib-lds): New variable.
25844 (shlib-lds-flags): New variable.
25845 (build-shlib, build-moduile, build-module-asneeded): Use it.
25846 ($(common-objpfx)libc.so): Use $(shlib-lds).
25847 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25848 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25849
31fffa6b
RM
25850 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25851 DT_FLAGS/DT_FLAGS_1 with zero flags.
25852
4e34ac6a
RM
25853 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25854 linker script munging.
25855
fcfc776b
UD
258562011-07-02 Ulrich Drepper <drepper@gmail.com>
25857
25858 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25859 as 128-bit value.
25860 * crypt/sha512.c (sha512_process_block): Perform total addition using
25861 128-bit if possible.
25862 (__sha512_finish_ctx): Likewise.
25863 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25864 as 64-bit value.
25865 * crypt/sha256.c (SWAP64): Define.
25866 (sha256_process_block): Perform total addition using 64-bit if
25867 possible.
25868 (__sha256_finish_ctx): Likewise.
25869
99231d9a
UD
258702011-07-01 Ulrich Drepper <drepper@gmail.com>
25871
25872 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25873 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25874 * nscd/hstcache.c (cache_addhst): Likewise.
25875 * nscd/grpcache.c (cache_addgr): Likewise.
25876 * nscd/aicache.c (addhstaiX): Likewise
25877 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25878
445b4a53
TK
258792011-07-01 Thorsten Kukuk <kukuk@suse.de>
25880
25881 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25883 * nscd/hstcache.c (cache_addhst): Likewise.
25884 * nscd/grpcache.c (cache_addgr): Likewise.
25885 * nscd/aicache.c (addhstaiX): Likewise
25886
6d4d8e8e
AS
258872011-07-01 Andreas Schwab <schwab@redhat.com>
25888
25889 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25890 domain only when needed.
25891
89f654c5
AS
258922011-06-30 Andreas Schwab <schwab@redhat.com>
25893
25894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25895 is always restored.
25896
cf3b23ff
UD
258972011-06-29 Ulrich Drepper <drepper@gmail.com>
25898
25899 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25900 are re-adding the entry.
25901 * nscd/servicescache.c (cache_addserv): Likewise.
25902
751626f9
AJ
259032011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25904
25905 * sysdeps/generic/dl-irel.h: fix protection against multiple
25906 inclusions.
25907 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25908
9113ea1f
UD
259092011-06-28 Ulrich Drepper <drepper@gmail.com>
25910
5c0b8d90
UD
25911 [BZ #12935]
25912 * malloc/memusage.sh: Fix quoting in message.
25913 * debug/xtrace.sh: Likewise.
25914
9113ea1f
UD
25915 * configure.in: Remove support for --experimental-malloc option, make
25916 it the default.
25917 * config.make.in: Likewise.
25918 * malloc/Makefile: Likewise.
25919
a4172181
AS
259202011-06-27 Andreas Schwab <schwab@redhat.com>
25921
25922 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25923 two-byte characters.
25924
78a7eee7
RM
259252011-06-27 Roland McGrath <roland@hack.frob.com>
25926
62bede13
RM
25927 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25928 AC_CACHE_CHECK invocation.
25929 * configure: Regenerated.
25930
78a7eee7
RM
25931 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25932
5ce33a62
UD
259332011-06-27 Ulrich Drepper <drepper@gmail.com>
25934
034807a9
UD
25935 [BZ #12350]
25936 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25937 bit from old_res_options.
25938
4902da17
UD
25939 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25940
5ce33a62
UD
25941 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25942 value type for setfct.
25943
c2344f56
L
259442011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25945
25946 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25947 __gettimeofday instead of gettimeofday.
25948
68468076
UD
259492011-06-26 Ulrich Drepper <drepper@gmail.com>
25950
25951 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25952
acb0d739
L
259532011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25954
25955 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25956
25957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25958 info.
25959
8912479f
L
259602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25961
25962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25963 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25964 strcpy-sse2-unaligned strncpy-sse2-unaligned
25965 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25966 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25967 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25968 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25969 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25970 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25971 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25972 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25973 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25974 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25975 (STRCPY): Support SSE2 and SSSE3 versions.
25976
d5495a11
UD
259772011-06-24 Ulrich Drepper <drepper@gmail.com>
25978
25979 [BZ #12874]
25980 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25981 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25982 kernels which artificially limit size of requests.
25983
0b1cbaae
L
259842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25985
25986 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25987 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25988 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25989 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25990 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25991 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25992 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25993 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25994 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25995 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25996 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25997 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25998 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25999 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
26000 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
26001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26002 Enable unaligned load optimization for Intel Core i3, i5 and i7
26003 processors.
26004 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
26005 Define.
26006 (index_Fast_Unaligned_Load): Define.
26007 (HAS_FAST_UNALIGNED_LOAD): Define.
26008
07f494a0
MP
260092011-06-23 Marek Polacek <mpolacek@redhat.com>
26010
26011 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
26012
fa3fc0fe
UD
260132011-06-22 Ulrich Drepper <drepper@gmail.com>
26014
26015 [BZ #12907]
26016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
26017 until it is clear that the information is realy needed.
26018 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
26019
e12df166
AS
260202011-06-22 Andreas Schwab <schwab@redhat.com>
26021
26022 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
26023
852eb34d
UD
260242011-06-22 Ulrich Drepper <drepper@gmail.com>
26025
84e2a551
UD
26026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26027 /sys/devices/system/cpu/online if it is usable.
26028
852eb34d
UD
26029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26030 reading the information from the /proc filesystem to once a second.
26031
6e502e19
UD
260322011-06-21 Andreas Jaeger <aj@suse.de>
26033
26034 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26035 NULL after inclusion of kernel headers.
26036
75d39ff2
UD
260372011-06-21 Ulrich Drepper <drepper@gmail.com>
26038
51f9aa6a
UD
26039 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26040 calls to internal_setent.
26041
c0244a9d
UD
26042 [BZ #12885]
26043 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26044 addresses using gethostbyname4_r ignore IPv4 addresses.
26045
c5e3c2ae
UD
26046 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26047 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26048
75d39ff2
UD
26049 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26050
42675c6f
DM
260512011-06-20 David S. Miller <davem@davemloft.net>
26052
26053 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26054 inclusions.
26055 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26056
26057 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26058 (elf_irel): Use it.
26059 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26060 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26061 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26062 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26063 * sysdeps/x86_64/dl-irel.h: Likewise.
26064
26065 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26066 * elf/dl-sym.c: Likewise.
26067
57912a71
UD
260682011-06-15 Ulrich Drepper <drepper@gmail.com>
26069
26070 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26071 need to dereference resplen2.
26072
ee22793d
AS
260732011-06-14 Andreas Schwab <schwab@redhat.com>
26074
26075 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26076
a9e836b0
UD
260772011-06-15 Ulrich Drepper <drepper@gmail.com>
26078
77fb9117
UD
26079 * Makeconfig: Define vardbdir and inst_vardbdir.
26080 * nss/Makefile: Add rules to install db-Makefile.
26081
40c1b22c
UD
26082 * nss/nss_db/db-XXX.c: Cleanup.
26083
9f2da732
UD
26084 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26085 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26086 GLIBC_PRIVATE.
26087 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26088 * nss/makedb.c: Implement -g option to specify that value strings
26089 are generated and should not be added to table iterated over for
26090 get*ent calls.
26091 * nss/nss_db/db-initgroups.c: New file.
26092
82e9a1f7
UD
26093 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26094 interface.
26095
c41af17e
UD
26096 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26097 (internal_getgrouplist): Adjust to name change.
26098 Update use_initgroups_entry if this is not the first call.
26099 * nss/databases.def: Add initgroups entry.
26100
a9e836b0
UD
26101 * nss/makedb.c (compute_tables): Check result of multiple hash table
26102 sizes to minimize maximum chain length.
26103
2666d441
UD
261042011-06-14 Ulrich Drepper <drepper@gmail.com>
26105
26106 * Versions.def: Add entry for libnss_db.
26107 * shlib-versions: Likewise.
26108 * nss/Makefile: Add rules to build libnss_db.
26109 * nss/Versions: Add libnss_db information. Organize libnss_files
26110 entries better.
26111 * nss/db-Makefile: Add gshadow support. Change rules for the new
26112 makedb progra. Some minor improvements to generate smaller files.
26113 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26114 here from...
26115 * nss/makedb.c: ...here.
26116 Improve database format to be smaller and require less memory at
26117 runtime.
26118 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26119 db anymore.
26120 * nss/nss_db/db-netgrp.c: Likewise.
26121 * nss/nss_db/db-open.c: Likewise.
26122 * nss/nss_files/flies-XXX.x: Adjust comments.
26123 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26124 * nss/nss_files/files-grp.c: Likewise.
26125 * nss/nss_files/files-hosts.c: Likewise.
26126 * nss/nss_files/files-network.c: Likewise.
26127 * nss/nss_files/files-proto.c: Likewise.
26128 * nss/nss_files/files-pwd.c: Likewise.
26129 * nss/nss_files/files-rpc.c: Likewise.
26130 * nss/nss_files/files-service.c: Likewise.
26131 * nss/nss_files/files-sgrp.c: Likewise.
26132 * nss/nss_files/files-spwd.c: Likewise.
26133 * nss/nss_db/db-alias.c: Removed.
26134 * nss/nss_db/dummy-db.h: Removed.
26135
9ee76b5a
UD
261362011-06-02 Ulrich Drepper <drepper@gmail.com>
26137
26138 * nss/makedb.c: Rewritten to not use database library.
26139 * nss/Makefile: Update to build new makedb program.
26140
c71ca1f8
AJ
261412011-06-14 Andreas Jaeger <aj@suse.de>
26142
26143 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26144 memset declaration.
26145
3154bfb8
UD
261462011-06-10 Andreas Schwab <schwab@redhat.com>
26147
26148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26149 tmpbuf.
26150
b350afab
RM
261512011-06-10 Roland McGrath <roland@hack.frob.com>
26152
decd4e50
RM
26153 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26154 * elf/Makefile ($(objpfx)ld.so): Likewise.
26155
5615eaf2
RM
26156 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26157 Don't list ld.so twice in dependencies.
26158
26159 * posix/bug-regex31.c: Include <stdlib.h>.
26160
26161 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26162
26163 * nis/nss_compat/compat-spwd.c
26164 (getspent_next_nss_netgr): Remove unused variable.
26165 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26166
26167 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26168 nonmembers" output to use the right array.
26169
26170 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26171
26172 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26173
26174 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26175 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26176 * catgets/gencat.c (read_input_file): Likewise.
26177 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26178
26179 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26180 variable definition inside #if's controlling its use.
26181
26182 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26183
26184 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26185
26186 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26187
26188 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26189 unreachable code.
26190
26191 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26192
b68e08db
RM
26193 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26194 * configure: Regenerated.
26195
b350afab
RM
26196 * Makerules: Revert last change.
26197 * elf/Makefile: Likewise.
26198
28368601
RM
261992011-06-09 Roland McGrath <roland@hack.frob.com>
26200
26201 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26202 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26203 (reloc-link): Likewise.
26204
11988f8f
UD
262052011-06-09 Ulrich Drepper <drepper@gmail.com>
26206
26207 * elf/Makefile: Add rules to build pldd.
26208 * elf/pldd.c: New file.
26209 * elf/pldd-xx.c: New file.
26210
e80fab37
UD
262112011-06-07 Ulrich Drepper <drepper@gmail.com>
26212
26213 * version.h: Update for 2.15 development version.
26214
9b849836
DM
262152011-06-07 David S. Miller <davem@davemloft.net>
26216
26217 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26218 ifuncs.
26219 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26220 elf_machine_lazy_rel): Likewise.
26221 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26223 elf_machine_lazy_rel): Likewise.
26224 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26225 dl_hwcap via passed in argument.
26226 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26227 Likewise.
26228
5a31b283
AK
262292011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26230
26231 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26232
069e52f8
RM
262332011-06-06 Roland McGrath <roland@hack.frob.com>
26234
26235 [BZ #12849]
26236 * manual/fdl-1.1.texi: New file, verbatim from:
26237 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26238 * manual/lgpl-2.1.texi: New file, verbatim from:
26239 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26240 * manual/Makefile (licenses): New variable, list those new file names.
26241 (texis): Use it.
26242 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26243
26244 * manual/fdl.texi: File removed.
26245 * manual/lesser.texi: File removed.
26246 * manual/libc.texinfo (Copying, Documentation License):
26247 Use new @include file names, put @appendix directive before @include.
26248
f16846a5
JJ
262492011-06-04 Jakub Jelinek <jakub@redhat.com>
26250
26251 [BZ #12841]
26252 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26253 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26254 (mq_open): Add __NTH.
26255
3d29045b
L
262562011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26257
26258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26259 Assume Intel Core i3/i5/i7 processor if AVX is available.
26260
8c297311
UD
262612011-05-31 Ulrich Drepper <drepper@gmail.com>
26262
26263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26264 typo.
26265
c8fc0c91
UD
262662011-05-31 Andreas Schwab <schwab@redhat.com>
26267
26268 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26269 memory. Use alloca_account. Fix memory leak when retrying.
26270
5b27a807
UD
262712011-05-31 Ulrich Drepper <drepper@gmail.com>
26272
356f8bc6
UD
26273 * version.h (RELEASE): Bump for 2.14 release.
26274 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26275
5b27a807
UD
26276 * config.make.in (RANLIB): Remove entry.
26277
01f16ab0
UD
262782011-05-30 Ulrich Drepper <drepper@gmail.com>
26279
41fce8bd
UD
26280 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26281 (libc.pot): Work around missing support for .ksh extension in xgettext.
26282
4769ae77
UD
26283 [BZ #12684]
26284 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26285 if both request failed.
26286 (send_dg): In case of server errors clear resplen or *resplen2.
26287
6b1e7d19
UD
26288 [BZ #12454]
26289 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26290 when there are multiple maps.
26291 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26292 (_dl_fini): Remove test here.
26293
01f16ab0
UD
26294 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26295
b1ebd700
UD
262962011-05-29 Ulrich Drepper <drepper@gmail.com>
26297
7ae22829
UD
26298 [BZ #12350]
26299 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26300 bit from old_res_options.
26301 (gaih_inet): Likewise.
26302
553149f6 26303 [BZ #11099]
18a84741 26304 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26305 as signed.
26306
652ffab1
UD
26307 * resolv/res_init.c (res_setoptions): Make the code more compact.
26308
16985fd0
UD
26309 [BZ #11558]
26310 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26311 set RES_USEVC.
26312
0464f746
UD
26313 [BZ #11634]
26314 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26315
7d17596c
UD
26316 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26317
cf6bbbd7
UD
26318 [BZ #11781]
26319 * malloc/malloc.h: Declare malloc hook variables as volatile.
26320
13f1ab36
UD
26321 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26322 in last patch.
26323
b1ebd700
UD
26324 [BZ #11799]
26325 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26326 raise in the comment.
80e2212d
UD
26327 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26328 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26329 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26330
ce67228d
UD
263312011-05-28 Ulrich Drepper <drepper@gmail.com>
26332
8887a920
UD
26333 [BZ #12811]
26334 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26335 grow the buffers more if it already has to be sufficient.
26336 (build_wcs_upper_buffer): Likewise.
26337 * posix/regexec.c (check_matching): Likewise.
26338 (clean_state_log_if_needed): Likewise.
26339 (extend_buffers): Don't enlarge buffers beyond size of the input
26340 buffer.
26341 Patches mostly by Emil Wojak <emil@wojak.eu>.
26342 * posix/bug-regex32.c: New file.
26343 * posix/Makefile (tests): Add bug-regex32.
26344
4f031072
UD
26345 * locale/findlocale.c (_nl_find_locale): Return right away if
26346 _nl_explode_name failed.
26347 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26348
d0478f0c
UD
26349 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26350
de81b246
UD
26351 * debug/xtrace.sh: Unify messages.
26352 * malloc/memusage.sh: Likewise.
26353
c738465a
UD
26354 [BZ #12813]
26355 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26356 time symbol from vDSO. Substitute with vsyscall if not available.
26357 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26358 __vdso_time.
26359
f1f929d7
UD
26360 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26361 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26362 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26363 Add sendmmsg and internal_sendmmsg.
26364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26365 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26366 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26367
ce67228d
UD
26368 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26369 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26370 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26371
e57420c6
UD
263722011-05-27 Ulrich Drepper <drepper@gmail.com>
26373
a8509ca5
UD
26374 [BZ #12813]
26375 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26376 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26377 available.
26378 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26379 __vdso_getcpu.
26380
e57420c6
UD
26381 [BZ #12814]
26382 * iconvdata/Makefile (tests): Add bug-iconv9.
26383 * iconvdata/bug-iconv9.c: New file.
26384
4d07db15
AS
263852011-05-27 Andreas Schwab <schwab@redhat.com>
26386
26387 [BZ #12814]
26388 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26389
ea486f69
JJ
263902011-05-25 Jakub Jelinek <jakub@redhat.com>
26391
26392 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26393 (struct user_regs_struct): Change intcs field back to cs.
26394
6f038433
UD
263952011-05-25 Ulrich Drepper <drepper@gmail.com>
26396
26397 * po/ja.po: Update from translation team.
26398
67f86a25
UD
263992011-05-23 Ulrich Drepper <drepper@gmail.com>
26400
26401 [BZ #12795]
26402 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26403 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26404
def7fbd6
AS
264052011-05-20 Andreas Schwab <schwab@redhat.com>
26406
26407 * stdlib/longlong.h: Update from GCC.
26408
f50ef8f1
AS
264092011-05-23 Andreas Schwab <schwab@redhat.com>
26410
26411 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26412 parameter name.
26413 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26414 Add parameter name.
26415 (__sysconf): Pass it down.
26416
de7ce8f1
UD
264172011-05-22 Ulrich Drepper <drepper@gmail.com>
26418
f2962a71
UD
26419 [BZ #12671]
26420 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26421 some situations.
26422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26423 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26424 add in in __libc_use_alloca calls. Adjust callers.
26425 (glob): Use malloc in some situations.
26426
de7ce8f1
UD
26427 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26428 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26429 pltexit.
26430
aec84f53
UD
264312011-05-21 Ulrich Drepper <drepper@gmail.com>
26432
05bb4a68
UD
26433 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26434 and CLOCK_BOOTTIME_ALARM.
26435
7ea72f99
UD
26436 [BZ #12782]
26437 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26438 is returned.
26439
7e4afad5
UD
26440 * string/_strerror.c (__strerror_r): Print negative errors as signed
26441 numbers.
26442
8e211fec
UD
26443 [BZ #12777]
26444 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26445 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26446 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26447
f7d82dc9
UD
26448 * configure.in: Fix typo in redirection and correct removal of test
26449 files in two cases.
26450
cc9e536d
UD
26451 [BZ #12788]
26452 * locale/setlocale.c (new_composite_name): Fix test to check for
26453 identical name of all categories.
26454
aec84f53
UD
26455 [BZ #12792]
26456 * libio/filedoalloc.c (local_isatty): New function.
26457 (_IO_file_doallocate): Use local_isatty.
26458 * stdio-common/perror.c (perror): In case a new stream is used
26459 forward the stream error.
26460 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26461 error flag.
26462
78e64fdc
RT
264632011-05-20 Ulrich Drepper <drepper@gmail.com>
26464
34a9094f
UD
26465 [BZ #11869]
26466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26467 alloca.
26468 * include/alloca.h (extend_alloca_account): Define.
26469
78e64fdc
RT
26470 [BZ #11857]
26471 * posix/regex.h: Fix comments with documentation of user-accessible
26472 fields after compilation and describe correct free'ing of pattern
26473 after re_compile_pattern.
26474 Patch by Reuben Thomas <rrt@sc3d.org>.
26475
457bddfc
RA
264762011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26477
26478 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26479 and -mno-altivec to prevent the compiler from using Altivec and/or
26480 VSX instructions when the corresponding registers are not available.
26481
a4527b51
AS
264822011-05-19 Andreas Schwab <schwab@redhat.com>
26483
26484 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26485
ed690b2f
UD
264862011-05-19 Ulrich Drepper <drepper@gmail.com>
26487
26488 * libio/freopen.c (freopen): Use __dup2, not dup2.
26489 * libio/freopen64.c (freopen64): Likewise.
26490
8db73634
L
264912011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26492
26493 [BZ #12775]
26494 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26495 * math/Makefile (tests): Add test-powl.
26496 (CFLAGS-test-powl.c): Define.
26497 * math/test-powl.c: New file.
26498
0a197a9d
L
264992011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26500
26501 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26502
ee30c380
UD
265032011-05-17 Ulrich Drepper <drepper@gmail.com>
26504
26505 [BZ #11837]
26506 * iconvdata/gb18030.c: Update to GB18020-2005.
26507
6ce75379
UD
265082011-05-16 Ulrich Drepper <drepper@gmail.com>
26509
a4b89fd8
AR
26510 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26511 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26512 Patch by Aharon Robbins <arnold@skeeve.com>.
26513
ea389b12
UD
26514 [BZ #11892]
26515 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26516 on the stack.
26517
68a3f91f
UD
26518 [BZ #11895]
26519 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26520 through underflows.
26521
15cc7dd1
UD
26522 [BZ #12766]
26523 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26524 point to strings before performing equality test for error_one_per_line
26525 mode.
26526
f3799213
UD
26527 [BZ #11697]
26528 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26529
d79a9c94
UD
26530 [BZ #11820]
26531 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26532 (struct user_fpregs_struct): Avoid __uint*_t types.
26533
56e5eb46
UD
26534 [BZ #6420]
26535 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26536 symbol info. Use it instead of calling _dl_addr locally.
26537 (lock_and_info): New function.
26538 (tr_freehook): Call lock_and_info and pass symbol info as additional
26539 parameter to tr_where.
26540 (tr_mallochook): Likewise.
26541 (tr_reallochook): Likewise.
26542 (tr_memalignhook): Likewise.
26543
6ce75379
UD
26544 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26545 used and couldn't be at all thread-safe.
26546
f8a3b5bf
UD
265472011-05-15 Ulrich Drepper <drepper@gmail.com>
26548
94b7cc37
UD
26549 * libio/freopen.c (freopen): Don't close old file descriptor
26550 before the new one is opened. Instead dup the new file descriptor
26551 to the old one after the new stream is created.
26552 * libio/freopen64.c (freopen64): Likewise.
26553 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26554 * libio/fileops.c (_IO_new_file_close_it): Handle new
26555 _IO_FLAGS2_NOCLOSE flag.
26556 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26557 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26558 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26559 _IO_FLAGS2_NOCLOSE flag.
26560 * include/unistd.h: Add hidden_proto for dup3.
26561 Define __have_dup3.
26562 * io/dup3.c: Define hidden symbol.
26563 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26564
bd25564e
UD
26565 [BZ #7101]
26566 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26567 when an incomplete long option is used.
26568 * posix/tst-getopt_long1.c: New file.
26569 * posix/Makefile (tests): Add tst-getopt_long1.
26570
c84cfef4
UD
26571 [BZ #10138]
26572 * scripts/config.guess: Update from autoconf-2.68.
26573 * scripts/config.sub: Likewise.
26574
3b85df27
UD
26575 [BZ #10157]
26576 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26577 tests into ...
26578 (has_cpuclock): ...this. New function.
26579 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26580 macro here based on has_cpuclock code.
26581
15a856b1
UD
26582 [BZ #10149]
26583 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26584 First byte (not low byte) is now always NUL.
26585 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26586
05f399e6
UD
26587 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26588 Use non-cancelable interfaces.
26589
10a52685 26590 [BZ #9809]
94ecc67d
UD
26591 * locale/iso-639.def: Add entry for Sorani.
26592
f8a3b5bf
UD
26593 [BZ #11901]
26594 * include/stdlib.h: Move include protection to the right place.
26595 Define abort_msg_s. Declare __abort_msg with it.
26596 * stdlib/abort.c (__abort_msg): Adjust type.
26597 * assert/assert.c (__assert_fail_base): New function. Majority
26598 of code from __assert_fail. Allocate memory for __abort_msg with
26599 mmap.
26600 (__assert_fail): Now call __assert_fail_base.
26601 * assert/assert-perr.c: Remove bulk of implementation. Use
26602 __assert_fail_base.
26603 * include/assert.hL Declare __assert_fail_base.
26604 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26605 mmap.
26606 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26607
1af4e298
UD
266082011-05-14 Ulrich Drepper <drepper@gmail.com>
26609
f8a3b5bf 26610 [BZ #11952]
d26dfc60
MG
26611 [BZ #12453]
26612 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26613 until all modules are registered in the DTV.
26614 * elf/Makefile: Add rules to build and run tst-tls19.
26615 * elf/tst-tls19.c: New file.
26616 * elf/tst-tls19mod1.c: New file.
26617 * elf/tst-tls19mod2.c: New file.
26618 * elf/tst-tls19mod3.c: New file.
26619 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26620
2fc54d6f
UD
26621 [BZ #12083]
26622 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26623 correctly.
26624
98d76b46
UD
26625 [BZ #12601]
26626 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26627 two-byte sequence errors.
26628 * iconvdata/Makefile (tests): Add bug-iconv8.
26629 * iconvdata/bug-iconv8.c: New file.
26630
da3c19ef
UD
26631 [BZ #12626]
26632 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26633 buf2 definition.
26634
ca408c15
UD
26635 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26636
d6f67f7d
UD
26637 [BZ #12432]
26638 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26639 (dummy_getcfa): New function.
26640 (init): Get _Unwind_GetCFA address, use dummy if not found.
26641 (backtrace_helper): In recursion check, also check whether CFA changes.
26642 (__backtrace): Completely initialize arg.
26643
1af4e298 26644 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26645 storing incomplete byte sequence in state object. Avoid testing for
26646 guaranteed too small input if we know there is enough data available.
1af4e298 26647
da62f81b
AS
266482011-05-11 Andreas Schwab <schwab@redhat.com>
26649
26650 * Makeconfig (+link-pie): Indent.
26651 * Rules (binaries-pie): Define if $(have-fpie) and
26652 $(build-shared).
26653 (binaries-shared): Also filter out $(binaries-pie).
26654 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26655 * nscd/Makefile (others-pie): Add nscd.
26656 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26657 ($(objpfx)nscd): Remove command override.
26658 * login/Makefile (others-pie): Add pt_chown.
26659 ($(objpfx)pt_chown): Remove command override.
26660 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26661 remove command overrides.
26662
fcabc0f8
UD
266632011-05-13 Ulrich Drepper <drepper@gmail.com>
26664
20030ae6
UD
26665 * libio/tst_putwc.c: Fix error messages.
26666
fcabc0f8
UD
26667 [BZ #12724]
26668 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26669 currently writing and seek to current position when not.
26670 * libio/Makefile (tests): Add bug-fclose1.
26671 * libio/bug-fclose1.c: New file.
26672
320a5dc0
PB
266732011-05-12 Ulrich Drepper <drepper@gmail.com>
26674
26675 [BZ #12511]
26676 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26677 don't set DF_1_NODELETE here.
26678 (do_lookup_x): When entering new entry test for copy relocation
26679 and if necessary set DF_1_NODELETE flag.
26680 * elf/tst-unique4.cc: New file.
26681 * elf/tst-unique4.h: New file.
26682 * elf/tst-unique4lib.cc: New file.
26683 * elf/Makefile: Add rules to build and run tst-unique4.
26684 Patch by Piotr Bury <pbury@goahead.com>.
26685
22836f52
UD
266862011-05-11 Ulrich Drepper <drepper@gmail.com>
26687
f574184a
UD
26688 [BZ #12052]
26689 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26690
e1fb097f
UD
26691 [BZ #12625]
26692 * misc/mntent_r.c (addmntent): Flush the stream after the output
26693
22836f52
UD
26694 [BZ #12393]
26695 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26696 (is_trusted_path_normalize): Skip initial colon. Append slash
26697 to empty buffer. Duplicate is_trusted_path code but allow
26698 constructed patch to be prefix.
26699 (is_dst): Allow $ORIGIN followed by /.
26700 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26701 Correct testing of result of is_trusted_path_normalize
26702 (decompose_rpath): Fix warning.
26703
7b3b0b2a
UD
267042011-05-10 Ulrich Drepper <drepper@gmail.com>
26705
26706 [BZ #11257]
26707 * grp/initgroups.c (internal_getgrouplist): When we found the service
26708 list through the initgroups entry in nsswitch.conf do not always
26709 continue on a successful lookup. Don't always use the
eac80ce2 26710 __nss_group_database value if it is set.
7b3b0b2a
UD
26711 * nss/nsswitch.conf (initgroups): Change action for successful db
26712 lookup to continue for compatibility.
26713
2a81eaa5
UD
267142011-05-09 Ulrich Drepper <drepper@gmail.com>
26715
be97a69e
UD
26716 [BZ #11532]
26717 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26718 and CP774 modules.
26719 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26720 and CP774 modules.
26721 * iconvdata/tst-tables.sh: Likewise.
26722 * iconvdata/cp770.c: New file.
26723 * iconvdata/cp771.c: New file.
26724 * iconvdata/cp772.c: New file.
26725 * iconvdata/cp773.c: New file.
26726 * iconvdata/cp774.c: New file.
26727 * iconvdata/testdata/CP770: New file.
26728 * iconvdata/testdata/CP770..UTF8: New file.
26729 * iconvdata/testdata/CP771: New file.
26730 * iconvdata/testdata/CP771..UTF8: New file.
26731 * iconvdata/testdata/CP772: New file.
26732 * iconvdata/testdata/CP772..UTF8: New file.
26733 * iconvdata/testdata/CP773: New file.
26734 * iconvdata/testdata/CP773..UTF8: New file.
26735 * iconvdata/testdata/CP774: New file.
26736 * iconvdata/testdata/CP774..UTF8: New file.
26737
26738 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26739 END CHARMAP line.
26740 * iconvdata/gen-8bit-gap.sh: Likewise.
26741 * iconvdata/gen-8bit.sh: Likewise.
26742
c1e9e399
UD
26743 * locale/iso-639.def: Add ary entry.
26744
24c55fb3 26745 [BZ #11258]
96b4b1b0
UD
26746 * locale/C-translit.h.in: Add U20A1 transliteration.
26747
bdc2f971
KB
26748 [BZ #12178]
26749 * locale/iso-639.def: Add wae entry.
26750 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26751
2952b117
UD
26752 [BZ #12545]
26753 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26754 for n.
26755
2a81eaa5
UD
26756 [BZ #12711]
26757 * locale/C-translit.h.in: Add entry for U20B9.
26758 Patch by pravin.d.s@gmail.com.
26759
28377d1b
UD
267602011-05-08 Ulrich Drepper <drepper@gmail.com>
26761
7fb90fb8
UD
26762 [BZ #12713]
26763 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26764 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26765 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26766 in rtld. Use *stat64.
7fb90fb8 26767 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26768 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26769 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26770 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26771 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26772 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26773 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26774 __fstatat64 macros.
7fb90fb8
UD
26775 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26776 * dirent/rewinddir.c: Add libc_hidden_def.
26777 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26778 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26779
28377d1b
UD
26780 * include/dirent.h (__alloc_dir): Add flags parameter.
26781 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26782 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26783 __alloc_dir.
26784 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26785 from fdopendir if O_CLOEXEC is already set.
26786
66bdbaa4
AM
267872011-03-15 Alan Modra <amodra@gmail.com>
26788
26789 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26790 l_tls_firstbyte_offset non-zero. Save padding offset in
26791 l_tls_firstbyte_offset for later use.
26792 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26793 freeing static tls block.
26794
95721191
JN
267952011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26796
26797 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26798 where #ifdef was intended. The intent is to prevent ARG_MAX from
26799 being defined by the kernel headers.
26800
f87dfb1f
UD
268012011-05-07 Ulrich Drepper <drepper@gmail.com>
26802
26803 [BZ #12734]
26804 * resolv/resolv.h: Define RES_NOTLDQUERY.
26805 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26806 no-tld-query and set RES_NOTLDQUERY.
26807 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26808 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26809 modern BIND to search name as TLD unless forbidden.
26810
47c3cd7a
UD
268112011-05-07 Petr Baudis <pasky@suse.cz>
26812 Ulrich Drepper <drepper@gmail.com>
26813
26814 [BZ #12393]
26815 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26816 (is_trusted_path): ...to here.
c1e9ea35 26817 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26818 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26819 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26820
8a35c912
PP
268212011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26822
26823 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26824 __BEGIN/__END_DECLS.
26825
acd41f47
UD
268262011-05-06 Ulrich Drepper <drepper@gmail.com>
26827
26828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26829 NSS_STATUS_NOTFOUND if no record was found.
26830
597df647
AS
268312011-05-05 Andreas Schwab <schwab@redhat.com>
26832
26833 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26834 (headers-not-in-tirpc): Remove rpc/netdb.h
26835 * resolv/netdb.h: Revert last change.
26836
b9af1301
PP
268372011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26838
26839 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26840 circular dependency between libgcc.a and libc.a.
26841
4e34d5f5
AS
268422011-05-05 Andreas Schwab <schwab@redhat.com>
26843
26844 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26845 * nis/Makefile: Don't install rpcsvc/*.
26846 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26847 instead of <rpc/types.h>.
26848 (MAXHOSTNAMELEN): Define.
26849
00ee369c
AS
268502011-05-03 Andreas Schwab <schwab@redhat.com>
26851
26852 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26853
0b592a30
MB
268542011-04-28 Maciej Babinski <mbabinski@google.com>
26855
26856 [BZ #12714]
26857 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26858 gethostbyname4_r when IPv6 results are possible.
26859
6e04cbbe
UD
268602011-05-02 Ulrich Drepper <drepper@gmail.com>
26861
26862 [BZ #12723]
26863 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26864 _PC_PIPE_BUF handling.
26865
e4ecafe0
BH
268662011-04-30 Bruno Haible <bruno@clisp.org>
26867
26868 [BZ #12717]
26869 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26870 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26871 to 'int'.
26872 * inet/getnameinfo.c (getnameinfo): Likewise.
26873
125ee683
UD
268742011-04-29 Ulrich Drepper <drepper@gmail.com>
26875
26876 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26877 to groups setting in database lookup.
26878 * nss/nsswitch.conf: Add initgroups entry.
26879
b722481a
EB
268802011-04-22 Ulrich Drepper <drepper@gmail.com>
26881
26882 [BZ #12685]
26883 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26884 mode string.
26885 Patch by Eric Blake <eblake@redhat.com>.
26886
4df46dbd
L
268872011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26888
26889 * sunrpc/Makefile (need-export-routines): Add svc_run.
26890 (routines): Remove svc_run.
26891 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26892 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26893 * sunrpc/svc_run.c (svc_run): Likewise.
26894 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26895
e84142d2
UD
268962011-04-21 Ulrich Drepper <drepper@gmail.com>
26897
26898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26899 problem in reallocation in last patch.
26900
877175d8
UD
269012011-04-20 Ulrich Drepper <drepper@gmail.com>
26902
26903 * sunrpc/Makefile: Move inclusion of Rules.
26904
ab8eed78
UD
269052011-04-19 Ulrich Drepper <drepper@gmail.com>
26906
26907 * nss/nss_files/files-initgroups.c: New file.
26908 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26909 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26910 _nss_files_initgroups_dyn.
26911
e3d8f584
RS
269122011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26913
26914 * elf/elf.h (R_ARM_IRELATIVE): Define.
26915
af190f45
UD
269162011-04-19 Ulrich Drepper <drepper@gmail.com>
26917
26918 * po/ru.po: Update from translation team.
26919
53cf59ef
UD
269202011-04-17 Ulrich Drepper <drepper@gmail.com>
26921
26922 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26923 dependencies.
26924
4c559bcd
MF
269252011-02-06 Mike Frysinger <vapier@gentoo.org>
26926
26927 [BZ #12653]
26928 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26929 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26930 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26931 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26932 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26933
4420675c
AS
269342011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26935
26936 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26937 differing bytes.
26938 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26939 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26940 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26941
75ea32ab
UD
269422011-04-17 Ulrich Drepper <drepper@gmail.com>
26943
26944 [BZ #12420]
26945 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26946 storing it.
26947 * stdlib/bug-getcontext.c: New file.
26948 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26949
27390476
AK
269502011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26951
26952 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26953 instructions into .machine "z9-109".
26954 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26955 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26956
10442705
AK
269572011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26958
26959 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26960 between environment variables and auxiliary vector.
26961
7b57bfe5
UD
269622011-04-16 Ulrich Drepper <drepper@gmail.com>
26963
26964 * Makefile: Add rules to build linkobj/libc.so.
26965 * include/libc-symbols.h: Define libc_hidden_nolink.
26966 * include/rpc/auth.h: Mark functions which are to be hidden.
26967 * include/rpc/auth_des.h: Likewise.
26968 * include/rpc/auth_unix.h: Likewise.
26969 * include/rpc/clnt.h: Likewise.
26970 * include/rpc/des_crypt.h: Likewise.
26971 * include/rpc/key_prot.h: Likewise.
26972 * include/rpc/pmap_clnt.h: Likewise.
26973 * include/rpc/pmap_prot.h: Likewise.
26974 * include/rpc/pmap_rmt.h: Likewise.
26975 * include/rpc/rpc_msg.h: Likewise.
26976 * include/rpc/svc.h: Likewise.
26977 * include/rpc/svc_auth.h: Likewise.
26978 * include/rpc/xdr.h: Likewise.
26979 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26980 * nss/Makefile: Likewise.
26981 * sunrpc/Makefile: Don't install headers. Build library with normal
26982 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26983 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26984 for the compat linking library. Remove use of INTDEF/INTUSE.
26985 * sunrpc/auth_none.c: Likewise.
26986 * sunrpc/auth_unix.c: Likewise.
26987 * sunrpc/authdes_prot.c: Likewise.
26988 * sunrpc/authuxprot.c: Likewise.
26989 * sunrpc/clnt_gen.c: Likewise.
26990 * sunrpc/clnt_perr.c: Likewise.
26991 * sunrpc/clnt_raw.c: Likewise.
26992 * sunrpc/clnt_simp.c: Likewise.
26993 * sunrpc/clnt_tcp.c: Likewise.
26994 * sunrpc/clnt_udp.c: Likewise.
26995 * sunrpc/clnt_unix.c: Likewise.
26996 * sunrpc/des_crypt.c: Likewise.
26997 * sunrpc/des_soft.c: Likewise.
26998 * sunrpc/get_myaddr.c: Likewise.
26999 * sunrpc/key_call.c: Likewise.
27000 * sunrpc/key_prot.c: Likewise.
27001 * sunrpc/netname.c: Likewise.
27002 * sunrpc/pm_getmaps.c: Likewise.
27003 * sunrpc/pm_getport.c: Likewise.
27004 * sunrpc/pmap_clnt.c: Likewise.
27005 * sunrpc/pmap_prot.c: Likewise.
27006 * sunrpc/pmap_prot2.c: Likewise.
27007 * sunrpc/pmap_rmt.c: Likewise.
27008 * sunrpc/publickey.c: Likewise.
27009 * sunrpc/rpc_cmsg.c: Likewise.
27010 * sunrpc/rpc_common.c: Likewise.
27011 * sunrpc/rpc_dtable.c: Likewise.
27012 * sunrpc/rpc_prot.c: Likewise.
27013 * sunrpc/rpc_thread.c: Likewise.
27014 * sunrpc/rtime.c: Likewise.
27015 * sunrpc/svc.c: Likewise.
27016 * sunrpc/svc_auth.c: Likewise.
27017 * sunrpc/svc_authux.c: Likewise.
27018 * sunrpc/svc_raw.c: Likewise.
27019 * sunrpc/svc_run.c: Likewise.
27020 * sunrpc/svc_simple.c: Likewise.
27021 * sunrpc/svc_tcp.c: Likewise.
27022 * sunrpc/svc_udp.c: Likewise.
27023 * sunrpc/svc_unix.c: Likewise.
27024 * sunrpc/svcauth_des.c: Likewise.
27025 * sunrpc/xcrypt.c: Likewise.
27026 * sunrpc/xdr.c: Likewise.
27027 * sunrpc/xdr_array.c: Likewise.
27028 * sunrpc/xdr_float.c: Likewise.
27029 * sunrpc/xdr_intXX_t.c: Likewise.
27030 * sunrpc/xdr_mem.c: Likewise.
27031 * sunrpc/xdr_rec.c: Likewise.
27032 * sunrpc/xdr_ref.c: Likewise.
27033 * sunrpc/xdr_sizeof.c: Likewise.
27034 * sunrpc/xdr_stdio.c: Likewise.
27035
e6c61494
UD
270362011-04-10 Ulrich Drepper <drepper@gmail.com>
27037
27038 [BZ #12650]
27039 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27040 * sysdeps/ia64/dl-tls.h: Likewise.
27041 * sysdeps/powerpc/dl-tls.h: Likewise.
27042 * sysdeps/s390/dl-tls.h: Likewise.
27043 * sysdeps/sh/dl-tls.h: Likewise.
27044 * sysdeps/sparc/dl-tls.h: Likewise.
27045 * sysdeps/x86_64/dl-tls.h: Likewise.
27046 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27047
34fe483e
AS
270482011-03-14 Andreas Schwab <schwab@redhat.com>
27049
27050 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27051 rpath element also skip the following colon.
27052 (expand_dynamic_string_token): Add is_path parameter and pass
27053 down to DL_DST_REQUIRED and _dl_dst_substitute.
27054 (decompose_rpath): Call expand_dynamic_string_token with
27055 non-zero is_path. Ignore empty rpaths.
27056 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27057 with zero is_path.
27058
f12a32e6
AS
270592011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27060
27061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27062 Make cancelable.
27063
38a7d692
UD
270642011-04-09 Ulrich Drepper <drepper@gmail.com>
27065
27066 [BZ #12655]
27067 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27068 Patch by Filipe David Manana <fdmanana@apache.org>.
27069
e451d22b
AS
270702011-04-07 Andreas Schwab <schwab@redhat.com>
27071
27072 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27073 Maintain aligned stack.
27074 (CHECK_RSP): Remove unused macro.
27075
dedc7c7b
UD
270762011-04-03 Ulrich Drepper <drepper@gmail.com>
27077
27078 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27079 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27080
94521213
UD
270812011-04-02 Ulrich Drepper <drepper@gmail.com>
27082
27083 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27084
8cb700c0 27085 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27086
0354e355
L
270872011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27088
27089 [BZ #12518]
27090 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27091 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27092 * sysdeps/x86_64/memmove.c: New file.
27093 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27094 (memcpy): Renamed to ...
27095 (__new_memcpy): This.
27096 (memcpy): Provide GLIBC_2_14 memcpy.
27097 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27098 (memcpy): Provide GLIBC_2_2_5 memcpy.
27099
8593482f
UD
271002011-04-01 Ulrich Drepper <drepper@gmail.com>
27101
27102 [BZ #12631]
27103 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27104
81a5726b
AS
271052011-03-30 Andreas Schwab <schwab@redhat.com>
27106
27107 * misc/syncfs.c: New file.
27108 * misc/Makefile (routines): Add syncfs.
27109 * posix/unistd.h: Declare syncfs.
27110 * sysdeps/unix/syscalls.list: Add syncfs.
27111
00e5419f
AS
271122011-04-01 Andreas Schwab <schwab@redhat.com>
27113
27114 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27115 open_by_handle_at.
27116 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27119 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27121 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27123
748876bf
UD
271242011-04-01 Ulrich Drepper <drepper@gmail.com>
27125
658e451d
UD
27126 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27128 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27129 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27130 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27132 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27133
748876bf
UD
27134 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27135 sync_file_range.c with -fexceptions.
27136 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27137 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27138 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27139 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27140 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27141 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27142 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27143 sync_file_range as cancellation point
27144 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27145 now a wrapper around __call_sync_file_range with cancellation handling.
27146 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27147 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27148 function name to __call_sync_file_range.
27149 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27150 Add call_sync_file_range.
748876bf 27151
6e63d5e1
AS
271522011-04-01 Andreas Schwab <schwab@redhat.com>
27153
27154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27155 bits/timex.h.
6e63d5e1 27156
46998f74
UD
271572011-04-01 Ulrich Drepper <drepper@gmail.com>
27158
4c1423ed
UD
27159 * iconv/iconv.h: Fix typo in comment.
27160 * io/fcntl.h: Likewise.
27161 * libio/stdio.h: Likewise.
27162 * posix/spawn.h: Likewise.
27163 * posix/unistd.h: Likewise.
27164 * stdlib/stdlib.h: Likewise.
27165 * time/time.h: Likewise.
27166 * wcsmbs/wchar.h: Likewise.
27167
158648c0
UD
27168 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27169 open_by_handle): Add.
27170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27171 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27172 Augment a few comments.
27173 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27174 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27175 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27177 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27178 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27179 open_by_handle.
27180
46998f74
UD
27181 * io/fcntl.h (AT_EMPTY_PATH): Define.
27182
83fe108b
UD
271832011-03-30 Ulrich Drepper <drepper@gmail.com>
27184
27185 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27186 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27187 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27188 to...
27189 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27190 * Versions.def: Add GLIBC_2.14.
27191 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27192 Export.
83fe108b 27193
bb242059
UD
271942011-03-22 Ulrich Drepper <drepper@gmail.com>
27195
27196 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27197 round counter.
27198 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27199
c97a1282
L
272002011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27201
27202 [BZ #12597]
27203 * string/test-strncmp.c (do_page_test): New function.
27204 (check2): Likewise.
27205 (test_main): Call check2.
27206 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27207
2a115601
UD
272082011-03-20 Ulrich Drepper <drepper@gmail.com>
27209
27210 [BZ #12587]
27211 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27212 Handle cache information in CPU leaf 4.
27213 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27214
8126d904
UD
272152011-03-18 Ulrich Drepper <drepper@gmail.com>
27216
042c49c6 27217 [BZ #12583]
8126d904
UD
27218 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27219 character representation.
27220 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27221
ccfe366e
RA
272222011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27223
27224 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27225 END(__isnan) to END(__isnanf) to match function entry point/label
27226 EALIGN(__isnanf,...).
27227
c6e13027
JJ
272282011-03-10 Jakub Jelinek <jakub@redhat.com>
27229
27230 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27231
33f85a3f
UD
272322011-03-10 Ulrich Drepper <drepper@gmail.com>
27233
028478fa
UD
27234 [BZ #12510]
27235 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27236 copy from the symbol referenced in the relocation to initialize the
27237 used variable.
27238 Patch by Piotr Bury <pbury@goahead.com>.
27239 * elf/Makefile: Add rules to build and tst-unique3.
27240 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27241 * elf/tst-unique3.cc: New file.
27242 * elf/tst-unique3.h: New file.
27243 * elf/tst-unique3lib.cc: New file.
27244 * elf/tst-unique3lib2.cc: New file.
27245
33f85a3f
UD
27246 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27247
03592fc7
MF
272482011-03-10 Mike Frysinger <vapier@gentoo.org>
27249
27250 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27251 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27252 to _start.
03592fc7 27253
6a5ee102
UD
272542011-03-06 Ulrich Drepper <drepper@gmail.com>
27255
27256 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27257 to-be-loaded object along a path to loader is ld.so.
27258
7e4ba49c
HJ
272592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27260 Ulrich Drepper <drepper@gmail.com>
27261
27262 * sysdeps/x86_64/memset.S: After aligning destination, code
27263 branches to different locations depending on the value of
27264 misalignment, when multiarch is enabled. Fix this.
27265
272662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27267
27268 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27269 Set _x86_64_preferred_memory_instruction for AMD processsors.
27270 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27271 Set bit_Prefer_SSE_for_memop for AMD processors.
27272
13a804de
UD
272732011-03-04 Ulrich Drepper <drepper@gmail.com>
27274
27275 * libio/fmemopen.c (fmemopen): Optimize a bit.
27276
9d25c392
AS
272772011-03-03 Andreas Schwab <schwab@redhat.com>
27278
27279 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27280
a5543c6a
RM
272812011-03-03 Roland McGrath <roland@redhat.com>
27282
27283 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27284
012d35f7
DM
272852011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27286
7e4ba49c 27287 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27288 __bzero_ultra1 instead of __memset_ultra1.
27289
4bff6e01
AS
272902011-02-23 Andreas Schwab <schwab@redhat.com>
27291 Ulrich Drepper <drepper@gmail.com>
27292
27293 [BZ #12509]
27294 * include/link.h (struct link_map): Add l_orig_initfini.
27295 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27296 returning unsuccessfully.
27297 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27298 close of a file loaded at startup, restore the original l_initfini
27299 list.
27300 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27301 list, store the pointer.
27302 * elf/Makefile ($(objpfx)noload-mem): New rule.
27303 (noload-ENV): Define.
27304 (tests): Add $(objpfx)noload-mem.
27305 * elf/noload.c: Include <memcheck.h>.
27306 (main): Call mtrace. Close all opened handles.
27307
f2092faf
AS
273082011-02-17 Andreas Schwab <schwab@redhat.com>
27309
27310 [BZ #12454]
27311 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27312 dependencies are missing.
27313
6c8a2e88
ST
273142011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27315
f2092faf 27316 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27317 Hurd needs munmap.
27318 * sysdeps/mach/hurd/ifreq.h: New file.
27319
84a42118
PB
273202011-01-27 Petr Baudis <pasky@suse.cz>
27321 Ulrich Drepper <drepper@gmail.com>
27322
071f805e 27323 [BZ 12445]#
84a42118
PB
27324 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27325 to extend_alloca().
27326 * stdio-common/bug23.c: New file.
27327 * stdio-common/Makefile (tests): Add bug23.
27328
e23fe25b
AS
273292010-09-28 Andreas Schwab <schwab@redhat.com>
27330 Ulrich Drepper <drepper@gmail.com>
27331
27332 [BZ #12489]
27333 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27334 before performing relro protection. At old place add assertion
27335 to make sure nothing changed.
27336
d3f02e10
NS
273372011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27338 Glauber de Oliveira Costa <glommer@gmail.com>
27339
27340 * elf/elf.h: Add new ARM TLS relocs.
27341
d55fd7a5
RA
273422011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27343
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27345 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27346 cast from r3.
27347 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27348 'tests' variable.
27349 * sysdeps/wordsize-64/tst-writev.c: New file.
27350
2206397e
RA
273512011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27352
27353 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27354 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27355 insns in _dl_start to prevent a TOC reference before relocs are
27356 resolved.
27357
e9433893
UD
273582011-02-15 Ulrich Drepper <drepper@gmail.com>
27359
27360 [BZ #12469]
27361 * Makeconfig: Remove RANLIB definition.
27362 * Makerules: Don't use RANLIB.
27363 * aclocal.m4: Remove ranlib test.
27364 * configure.in: No need to check for ranlib.
27365 * elf/rtld-Rules: Don't use RANLIB.
27366
f75286c6
ST
273672011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27368
8e31c82d
ST
27369 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27370 protection macro.
27371 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27372 inclusion protection macro.
27373
f75286c6
ST
27374 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27375 SIGRTMIN and SIGRTMAX and print information in that case only when
27376 SIGRTMIN is defined.
27377
c1d0e639
JJ
273782011-02-11 Jakub Jelinek <jakub@redhat.com>
27379
27380 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27381 arginfo fn returning -1.
27382
27383 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27384 and thousands string is zero terminated.
27385
edf9294e
AS
273862011-02-03 Andreas Schwab <schwab@redhat.com>
27387
27388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27389 sysdeps/unix/sysv/linux/bits/socket.h.
27390
2b7e92df
ST
273912011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27392
edf9294e
AS
27393 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27394 (__CPU_COUNT): Remove old macros.
27395 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27396 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27397 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27398 (__sched_cpualloc, __sched_cpufree): Add declarations.
27399
a4c7ea7b
UD
274002011-02-05 Ulrich Drepper <drepper@gmail.com>
27401
27402 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27403 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27404 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27405 (readdhstai): Return value of addhstaiX call.
27406 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27407 (addgrbyX): Return value returned by cache_addgr.
27408 (readdgrbyname): Return value returned by addgrbyX.
27409 (readdgrbygid): Likewise.
27410 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27411 (addpwbyX): Return value returned by cache_addpw.
27412 (readdpwbyname): Return value returned by addhstbyX.
27413 (readdpwbyuid): Likewise.
27414 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27415 (addservbyX): Return value returned by cache_addserv.
27416 (readdservbyname): Return value returned by addservbyX:
27417 (readdservbyport): Likewise.
27418 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27419 (addhstbyX): Return value returned by cache_addhst.
27420 (readdhstbyname): Return value returned by addhstbyX.
27421 (readdhstbyaddr): Likewise.
27422 (readdhstbynamev6): Likewise.
27423 (readdhstbyaddrv6): Likewise.
27424 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27425 (readdinitgroups): Return value returned by addinitgroupsX.
27426 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27427 (prune_cache): Keep track of timeout value of re-added entries.
27428 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27429 * nscd/nscd.h: Adjust prototypes of readd* functions.
27430
a0bf67cc
RM
274312011-02-04 Roland McGrath <roland@redhat.com>
27432
27433 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27434 (nis_stats): Likewise.
27435 * nis/nis_modify.c (nis_modify): Likewise.
27436 * nis/nis_remove.c (nis_remove): Likewise.
27437 * nis/nis_add.c (nis_add): Likewise.
27438
27439 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27440
27441 * posix/fnmatch_loop.c: Add some consts.
27442
27443 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27444
435b95eb
L
274452011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27446
27447 [BZ #12460]
27448 * config.make.in (config-cflags-novzeroupper): Define.
27449 * configure.in: Substitute libc_cv_cc_novzeroupper.
27450 * elf/Makefile (AVX-CFLAGS): Define.
27451 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27452 (CFLAGS-tst-auditmod4a.c): Likewise.
27453 (CFLAGS-tst-auditmod4b.c): Likewise.
27454 (CFLAGS-tst-auditmod6b.c): Likewise.
27455 (CFLAGS-tst-auditmod6c.c): Likewise.
27456 (CFLAGS-tst-auditmod7b.c): Likewise.
27457 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27458
8517b15e
UD
274592011-02-02 Ulrich Drepper <drepper@gmail.com>
27460
27461 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27462 function to the callback.
27463 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27464
10a656fe
AS
274652011-02-02 Andreas Schwab <schwab@redhat.com>
27466
27467 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27468 of errno.
27469
968dad0a
UD
274702011-01-19 Ulrich Drepper <drepper@gmail.com>
27471
9f94d2ea 27472 [BZ #11724]
968dad0a
UD
27473 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27474 of constructors.
27475 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27476 of destructors.
27477 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27478
27479 [BZ #11724]
27480 * elf/Makefile: Add rules to build and run new test.
27481 * elf/tst-initorder.c: New file.
27482 * elf/tst-initorder.exp: New file.
27483 * elf/tst-initordera1.c: New file.
27484 * elf/tst-initordera2.c: New file.
27485 * elf/tst-initordera3.c: New file.
27486 * elf/tst-initordera4.c: New file.
27487 * elf/tst-initorderb1.c: New file.
27488 * elf/tst-initorderb2.c: New file.
27489 * elf/tst-order-a1.c: New file.
27490 * elf/tst-order-a2.c: New file.
27491 * elf/tst-order-a3.c: New file.
27492 * elf/tst-order-a4.c: New file.
27493 * elf/tst-order-b1.c: New file.
27494 * elf/tst-order-b2.c: New file.
27495 * elf/tst-order-main.c: New file.
27496 New test case by George Gensure <werkt0@gmail.com>.
27497
86e92359
UD
274982010-10-01 Andreas Schwab <schwab@redhat.com>
27499
27500 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27501 decoding ACE if AI_CANONIDN.
27502
5d5732b0
UD
275032011-01-18 Ulrich Drepper <drepper@gmail.com>
27504
27505 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27506
a77e8cbc
UD
275072011-01-17 Ulrich Drepper <drepper@gmail.com>
27508
6392473f
UD
27509 * version.h (RELEASE): Bump for 2.13 release.
27510 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27511
620a0529
UD
27512 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27513
18ba70a5
UD
27514 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27515 MADV_NOHUGEPAGE.
32465c3e
UD
27516 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27518 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27519 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27520 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27521 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27522
c0dafcf1
UD
27523 * posix/getconf.c: Update copyright year.
27524 * catgets/gencat.c: Likewise.
27525 * csu/version.c: Likewise.
27526 * debug/catchsegv.sh: Likewise.
27527 * debug/xtrace.sh: Likewise.
27528 * elf/ldconfig.c: Likewise.
27529 * elf/ldd.bash.in: Likewise.
27530 * elf/sprof.c (print_version): Likewise.
27531 * iconv/iconv_prog.c: Likewise.
27532 * iconv/iconvconfig.c: Likewise.
27533 * locale/programs/locale.c: Likewise.
27534 * locale/programs/localedef.c: Likewise.
27535 * malloc/memusage.sh: Likewise.
27536 * malloc/mtrace.pl: Likewise.
27537 * nscd/nscd.c (print_version): Likewise.
27538 * nss/getent.c: Likewise.
27539
a77e8cbc
UD
27540 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27541 PF_CAIF, and PF_ALG.
27542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27543
77e8bddf
AS
275442011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27545
1f20b93a
AS
27546 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27547 (modules-names): Use them.
27548 (ifunc-test-modules, ifunc-pie-tests): Define.
27549 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27550 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27551 (test-extras): Likewise.
27552 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27553 $(compile-command.c).
27554 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27555 (all-built-dso): Define.
27556 (check-textrel.out, check-execstack.out): Depend on it.
27557
77e8bddf
AS
27558 * configure.in: Don't override --enable-multi-arch.
27559
bc425b33
UD
275602011-01-15 Ulrich Drepper <drepper@gmail.com>
27561
27562 [BZ #6812]
27563 * nscd/hstcache.c (tryagain): Define.
27564 (cache_addhst): Return tryagain not notfound for temporary errors.
27565 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27566 failed.
27567
794c3ad3
UD
275682011-01-14 Ulrich Drepper <drepper@gmail.com>
27569
70181fdd
UD
27570 [BZ #10563]
27571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27572 to make the syscall.
27573 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27574
794c3ad3
UD
27575 [BZ #12378]
27576 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27577 and fall back to matching as normal character if the string ends before
27578 the matching ']' is found. This is what POSIX requires.
27579 * posix/testfnm.c: Adjust test result.
27580 * posix/globtest.sh: Adjust test result. Add new test.
27581 * posix/tst-fnmatch.input: Likewise.
27582 * posix/tst-fnmatch2.c: Add new test.
27583
68dc9497
AS
275842010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27585
27586 * elf/Makefile (check-execstack): Revert last change. Depend on
27587 check-execstack.h.
27588 (check-execstack.h): New target.
27589 (generated): Add check-execstack.h.
27590 * elf/check-execstack.c: Include "check-execstack.h".
27591 (main): Revert last change.
27592 (handle_file): Return zero if GNU_STACK is absent and
27593 DEFAULT_STACK_PERMS doesn't include PF_X.
27594
451f001b
UD
275952011-01-13 Ulrich Drepper <drepper@gmail.com>
27596
cfa28e56
UD
27597 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27598 in child fails because the descriptor is already closed.
8cf8ce17
UD
27599 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27600 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27601 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27602
1086d70d
UD
27603 [BZ #12397]
27604 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27605 syscall.
27606
451f001b
UD
27607 [BZ #10484]
27608 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27609 temporary buffer used to handle multi lookups locally.
a85b5cb4 27610 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27611
08769175
UD
276122011-01-12 Ulrich Drepper <drepper@gmail.com>
27613
27614 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27615 loader is ld.so.
27616
5e49c52e
UD
276172011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27618
27619 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27620 alignment for SSE2.
27621
60522a5f
UD
276222011-01-12 Ulrich Drepper <drepper@gmail.com>
27623
27624 [BZ #12394]
27625 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27626 characters. When rounding increased number of integer digits recompute
27627 number of groups.
27628 * stdio-common/tst-grouping.c: New file.
27629 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27630
f257bbd7
UD
276312011-01-09 Ulrich Drepper <drepper@gmail.com>
27632
27633 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27634 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27635
27636 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27637 void.
27638 * bits/select.h: Likewise.
27639
fa9c15cb
UD
276402011-01-08 Ulrich Drepper <drepper@gmail.com>
27641
27642 * po/ja.po: Update from translation team.
27643
16c2895f
DM
276442011-01-04 David S. Miller <davem@sunset.davemloft.net>
27645
27646 [BZ #11155]
27647 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27648 implementation just like for lxstat, fxstatat, et al.
27649
2543fef2
JM
276502010-12-27 Jim Meyering <meyering@redhat.com>
27651
27652 [BZ #12348]
27653 * posix/regexec.c (build_trtable): Return failure indication upon
27654 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27655
98727dbe
UD
276562010-12-25 Ulrich Drepper <drepper@gmail.com>
27657
5bd6dc5c
UD
27658 [BZ #12201]
27659 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27660 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27661 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27662 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27663
97983464
UD
27664 [BZ #12207]
27665 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27666
98727dbe
UD
27667 [BZ #12204]
27668 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27669 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27670
4a531bb0
L
276712010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27672
27673 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27674 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27675 script has SORT_BY_INIT_PRIORITY.
27676 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27677 NO_CTORS_DTORS_SECTIONS is defined.
27678 * elf/soinit.c: Likewise.
27679 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27680 NO_CTORS_DTORS_SECTIONS is defined.
27681 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27682 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27683 * sysdeps/sh/init-first.c: Likewise.
27684 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27685
07eb4b71
UD
276862010-12-24 Ulrich Drepper <drepper@gmail.com>
27687
27688 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27689 always use the slow path.
27690
30950a5f
RA
276912010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27692
27693 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27694 similar rule which adds the sysdep directories to the header search in
27695 order to pick up the correct platform stackinfo.h.
27696 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27697 perform test if it is, otherwise return successfully without testing.
27698 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27699 DEFAULT_STACK_PERMS define in stackinfo.h.
27700 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27701 defined in stackinfo.h.
27702 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27703 DEFAULT_STACK_PERMS defined in stackinfo.h.
27704 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27705 * sysdeps/ia64/stackinfo.h: Likewise.
27706 * sysdeps/s390/stackinfo.h: Likewise.
27707 * sysdeps/sh/stackinfo.h: Likewise.
27708 * sysdeps/sparc/stackinfo.h: Likewise.
27709 * sysdeps/x86_64/stackinfo.h: Likewise.
27710 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27711 PF_X for powerpc64. Retain PF_X for powerpc32.
27712
db753e2c
UD
277132010-12-19 Ulrich Drepper <drepper@gmail.com>
27714
14b697f7
UD
27715 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27716 accurately.
db753e2c
UD
27717 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27718 GETDENTS_64BIT_ALIGNED.
27719
28300719
UD
277202010-12-14 Ulrich Drepper <dreper@gmail.com>
27721
14b697f7 27722 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27723
4f197237
AS
277242010-12-10 Andreas Schwab <schwab@redhat.com>
27725
dbb0472f
AS
27726 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27727 _GNU_SOURCE.
27728
4f197237
AS
27729 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27730 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27731 Remove __restrict.
27732 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27733 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27734
fb88ac72
UD
277352010-12-09 Ulrich Drepper <drepper@gmail.com>
27736
27737 [BZ #11655]
27738 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27739 are initialized.
27740
42acbb92
JJ
277412010-12-09 Jakub Jelinek <jakub@redhat.com>
27742
27743 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27744
c038d98d
UD
277452010-12-03 Ulrich Drepper <drepper@gmail.com>
27746
27747 * po/it.po: Update from translation team.
27748
3a4a2499
L
277492010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27750
27751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27752 unused codes.
27753
1e24cf6e
UD
277542010-11-30 Ulrich Drepper <drepper@gmail.com>
27755
27756 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27757
a7690819
AS
277582010-11-24 Andreas Schwab <schwab@redhat.com>
27759
27760 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27761 specially.
27762 (gaih_getanswer_slice): Likewise.
27763
3bf8d1b1
JJ
277642010-10-20 Jakub Jelinek <jakub@redhat.com>
27765
27766 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27767
6db52fbb
PB
277682010-05-31 Petr Baudis <pasky@suse.cz>
27769
27770 [BZ #11149]
27771 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27772 silently even in the chroot mode.
27773
eaca7569
UD
277742010-11-22 Ulrich Drepper <drepper@gmail.com>
27775
27776 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27777 last patch a bit. Pretty printing
27778
3056dcdb
UD
277792010-05-31 Petr Baudis <pasky@suse.cz>
27780
27781 [BZ #10085]
27782 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27783 initialization of skip_initgroups_dyn.
27784
cf7c9078
UD
277852010-11-19 Ulrich Drepper <drepper@gmail.com>
27786
27787 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27788 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27789
a1fb5e3e
UD
277902010-11-16 Ulrich Drepper <drepper@gmail.com>
27791
27792 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27793
3540d66b
AS
277942010-11-11 Andreas Schwab <schwab@redhat.com>
27795
27796 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27797 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27798 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27799 ($(objpfx)tst-fnmatch-mem): New rule.
27800 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27801 * posix/tst-fnmatch.c (main): Call mtrace.
27802
13b69574
L
278032010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27804
27805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27806 Support Intel processor model 6 and model 0x2c.
27807
da93d214
LM
278082010-11-10 Luis Machado <luisgpm@br.ibm.com>
27809
27810 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27811 signed comparison.
27812
8ca52c6e
L
278132010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 [BZ #12205]
27816 * string/test-strncasecmp.c (check_result): New function.
27817 (do_one_test): Use it.
27818 (check1): New function.
27819 (test_main): Use it.
27820 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27821 Support strcasecmp and strncasecmp.
27822
69da074d
UD
278232010-11-08 Ulrich Drepper <drepper@gmail.com>
27824
27825 [BZ #12194]
27826 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27828
ff02d528
L
278292010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27830
27831 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27832 IFUNC support.
27833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27834 memset-x86-64.
27835 * sysdeps/x86_64/multiarch/bzero.S: New file.
27836 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27837 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27838 * sysdeps/x86_64/multiarch/memset.S: New file.
27839 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27841 Set bit_Prefer_SSE_for_memop for Intel processors.
27842 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27843 Define.
27844 (index_Prefer_SSE_for_memop): Define.
27845 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27846
344d0b54
LM
278472010-11-04 Luis Machado <luisgpm@br.ibm.com>
27848
27849 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27850 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27851
c0dde15b
UD
278522010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27853
27854 [BZ #12191]
27855 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27856 (__x86_64_raw_data_cache_size_half): Likewise.
27857 (__x86_64_raw_shared_cache_size): Likewise.
27858 (__x86_64_raw_shared_cache_size_half): Likewise.
27859
27860 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27861 (__x86_64_raw_data_cache_size_half): Likewise.
27862 (__x86_64_raw_shared_cache_size): Likewise.
27863 (__x86_64_raw_shared_cache_size_half): Likewise.
27864 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27865 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27866 and __x86_64_raw_shared_cache_size_half. Round
27867 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27868 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27869 to multiple of 256 bytes.
27870
0e516e0e
MS
278712010-11-03 Ulrich Drepper <drepper@gmail.com>
27872
27873 [BZ #12167]
27874 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27875 of inacessible symlinks. Verify result of symlink before returning it.
27876 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27877 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27878
0e012e87
ER
278792010-10-28 Erich Ritz <erichritz@gmail.com>
27880
27881 * math/math.h (isinf): Fix typo in comment.
27882
de0ff7bc
UD
278832010-11-01 Ulrich Drepper <drepper@gmail.com>
27884
27885 * po/da.po: Update from translation team.
27886
fa41c84d
UD
278872010-10-26 Ulrich Drepper <drepper@gmail.com>
27888
27889 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27890 is added to the list.
27891
f0967738
AK
278922010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27893 Ulrich Drepper <drepper@gmail.com>
27894
27895 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27896 the global list here. Move code to...
27897 (_dl_add_to_namespace_list): ...here. New function.
27898 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27899 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27900 * elf/dl-load.c (lose): Don't remove the element from the list.
27901 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27902 (_dl_map_object): Likewise.
27903
279042010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27905
27906 [BZ #12159]
27907 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27908 into all bytes of SSE register.
27909 Patch by Richard Li <richardpku@gmail.com>.
27910
f0967738 279112010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27912
27913 [BZ #12140]
27914 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27915 perturbing.
27916
d0b9e94f
MB
279172010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27918
27919 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27920 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27921 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27922 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27924 submachine.
27925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27926
8e9f92e9
AS
279272010-10-22 Andreas Schwab <schwab@redhat.com>
27928
27929 * include/dlfcn.h (__RTLD_SECURE): Define.
27930 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27931 mode & __RTLD_SECURE instead.
27932 (open_path): Rename preloaded parameter to secure.
27933 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27934 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27935 * elf/dl-deps.c (openaux): Likewise.
27936 * elf/rtld.c (struct map_args): Remove is_preloaded.
27937 (map_doit): Don't use it.
27938 (dl_main): Likewise.
27939 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27940 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27941
bc96fbda
AS
279422010-09-09 Andreas Schwab <schwab@redhat.com>
27943
27944 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27945 (sysd-rules-targets): Remove duplicates.
27946 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27947 rtld-%.$o dependency.
27948
22cd1c9b
AS
279492010-10-18 Andreas Schwab <schwab@redhat.com>
27950
27951 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27952 _dl_map_object do it.
27953
18edac48
UD
279542010-10-19 Ulrich Drepper <drepper@gmail.com>
27955
27956 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27957 fast fma builtins, define the macros in the C99 standard.
27958 (FP_FAST_FMAF): Likewise.
27959 (FP_FAST_FMAL): Likewise.
27960 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27961
27962 * bits/mathdef.h: Update copyright year.
27963 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27964
d2050124
MM
279652010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27966
27967 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27968 builtins, define the macros in the C99 standard.
27969 (FP_FAST_FMAF): Likewise.
27970 (FP_FAST_FMAL): Likewise.
27971 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27972 multiply/add.
27973 (FP_FAST_FMAF): Likewise.
27974
475facd1
JJ
279752010-10-15 Jakub Jelinek <jakub@redhat.com>
27976
27977 [BZ #3268]
27978 * math/libm-test.inc (fma_test): Some new testcases.
27979 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27980 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27981 y and infinite z. Do multiplication by C already in long double.
27982 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27983 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27984 y and infinite z. Do bitwise or of inexact bit into u.d.
27985 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27986 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27987 * sysdeps/i386/fpu/s_fma.S: Removed.
27988 * sysdeps/i386/fpu/s_fmal.S: Removed.
27989
7c08a05c
JJ
279902010-10-16 Jakub Jelinek <jakub@redhat.com>
27991
27992 [BZ #3268]
27993 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27994 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27995 computation is not scheduled after fetestexcept. Fix value
27996 of minimum denormal long double.
27997
f3f7372d
JJ
279982010-10-14 Jakub Jelinek <jakub@redhat.com>
27999
28000 [BZ #3268]
28001 * math/libm-test.inc (fma_test): Add some more tests.
28002 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
28003 correctly.
28004
14d43591
AS
280052010-10-15 Andreas Schwab <schwab@redhat.com>
28006
28007 * scripts/data/localplt-s390-linux-gnu.data: New file.
28008 * scripts/data/localplt-s390x-linux-gnu.data: New file.
28009
5e908464
JJ
280102010-10-13 Jakub Jelinek <jakub@redhat.com>
28011
28012 [BZ #3268]
28013 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
28014 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
28015 instead of dbl-64.
28016 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
28017 inlines.
28018 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
28019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
28020 if one of x and y is very large and the other is subnormal.
28021 * sysdeps/s390/fpu/s_fmaf.c: New file.
28022 * sysdeps/s390/fpu/s_fma.c: New file.
28023 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
28024 * sysdeps/powerpc/fpu/s_fma.S: New file.
28025 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28026 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28027 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28028
280292010-10-12 Jakub Jelinek <jakub@redhat.com>
28030
28031 [BZ #3268]
28032 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28033 fma tests.
28034 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28035 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28036 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28037 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28038 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28039 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28040 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28041
b833d51f
UD
280422010-10-12 Ulrich Drepper <drepper@redhat.com>
28043
28044 [BZ #12078]
28045 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28046 * posix/bug-regex31.input: Add test case.
28047
1751705d
UD
280482010-10-11 Ulrich Drepper <drepper@gmail.com>
28049
e9b9cbf5
UD
28050 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28051 * posix/bug-regex31.input: New file.
28052
28053 [BZ #12078]
28054 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28055 (parse_sub_exp): Fix last change, use postorder.
28056
ef06edbe
UD
28057 * posix/bug-regex31.c: New file.
28058 * posix/Makefile: Add rules to build and run bug-regex31.
28059
a129c80d
UD
28060 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28061
28062 [BZ #12078]
28063 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28064
b76b818e
UD
28065 [BZ #12108]
28066 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28067 to have entries in sys_siglist.
28068
1751705d
UD
28069 [BZ #12093]
28070 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28071 be NULL.
28072
9ff8d36f
JJ
280732010-10-07 Jakub Jelinek <jakub@redhat.com>
28074
28075 [BZ #3268]
28076 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28077 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28078 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28079 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28080 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28081 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28082 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28083 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28084 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28085 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28086 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28087 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28088 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28089 * math/ftestexcept.c (fetestexcept): Likewise.
28090 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28091 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28092 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28093 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28094 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28095 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28096 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28097
af325969
UD
280982010-10-11 Ulrich Drepper <drepper@gmail.com>
28099
c579b202 28100 [BZ #12107]
af325969
UD
28101 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28102 newline.
28103
67a67b95
UD
281042010-10-06 Ulrich Drepper <drepper@gmail.com>
28105
28106 * string/bug-strstr1.c: New file.
28107 * string/Makefile: Add rules to build and run bug-strstr1.
28108
5fb308bc
EB
281092010-10-05 Eric Blake <eblake@redhat.com>
28110
28111 [BZ #12092]
28112 * string/str-two-way.h (two_way_long_needle): Always clear memory
28113 when skipping input due to the shift table.
28114
45db99c7
UD
281152010-10-03 Ulrich Drepper <drepper@gmail.com>
28116
3b111893
UD
28117 [BZ #12005]
28118 * malloc/mcheck.c: Handle large requests.
28119
45db99c7
UD
28120 [BZ #12077]
28121 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28122 for strncmp and strncasecmp.
28123 * string/stratcliff.c: Add tests for strcmp and strncmp.
28124 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28125
cf7a1eb8
NI
281262010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28127
28128 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28129 __set_fpscr.
28130
6484ba5e
AJ
281312010-09-30 Andreas Jaeger <aj@suse.de>
28132
28133 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28134 (CGROUP_SUPER_MAGIC): Define.
28135 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28136 Handle btrfs and cgroup file systems.
28137 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28138 Likewise.
28139
91c42559
LM
281402010-09-27 Luis Machado <luisgpm@br.ibm.com>
28141
28142 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28143 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28144
87a97932
AK
281452010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28146
28147 [BZ #12067]
28148 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28149 trying to locate the ELF header.
28150
c21cc9bc
AS
281512010-09-27 Andreas Schwab <schwab@redhat.com>
28152
28153 [BZ #11611]
28154 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28155 Mask out sign-bit copies when constructing f_fsid.
28156
315970f6
PB
281572010-09-24 Petr Baudis <pasky@suse.cz>
28158
28159 * debug/stack_chk_fail_local.c: Add missing licence exception.
28160 * debug/warning-nop.c: Likewise.
28161
1ac7a2c7
JM
281622010-09-15 Joseph Myers <joseph@codesourcery.com>
28163
28164 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28165 implementing getdents64 using getdents syscall, set d_type if
28166 __ASSUME_GETDENTS32_D_TYPE.
28167
56801c50
AS
281682010-09-16 Andreas Schwab <schwab@redhat.com>
28169
28170 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28171 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28172
dda51327
UD
281732010-09-21 Ulrich Drepper <drepper@redhat.com>
28174
28175 [BZ #12037]
28176 * posix/unistd.h: Undo change of feature selection for ftruncate from
28177 2010-01-11.
28178
8ffcee4a
UD
281792010-09-20 Ulrich Drepper <drepper@redhat.com>
28180
a545ecd9 28181 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28182 detection.
28183
e24f0a8b
AS
281842010-09-20 Andreas Schwab <schwab@redhat.com>
28185
28186 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28187 fanotify_mark.
28188 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28189
7291c56f
AS
281902010-09-14 Andreas Schwab <schwab@redhat.com>
28191
28192 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28193 variables after CHECK_SP call.
28194 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28195
bc5fb037
AS
281962010-09-13 Andreas Schwab <schwab@redhat.com>
28197 Ulrich Drepper <drepper@redhat.com>
28198
28199 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28200 re-relocationg ld.so.
28201 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28202 _dl_init_paths call.
28203 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28204 here anymore.
28205
e66e7419
UD
282062010-09-14 Ulrich Drepper <drepper@redhat.com>
28207
28208 * resolv/res_init.c (__res_vinit): Count the default server we added.
28209
c044aa75
CLT
282102010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28211 Ulrich Drepper <drepper@redhat.com>
28212
28213 [BZ #11968]
28214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28215 (____longjmp_chk): Use %ebx for saving value across system call.
28216 Add unwind info.
28217
32cf4069
AS
282182010-09-06 Andreas Schwab <schwab@redhat.com>
28219
28220 * manual/Makefile: Don't mix pattern rules with normal rules.
28221
817328ee
AS
282222010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28223
28224 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28225 operation.
28226 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28227 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28228 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28229 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28230 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28231 Likewise.
28232
29fddf61
UD
282332010-09-04 Ulrich Drepper <drepper@redhat.com>
28234
28235 [BZ #11979]
28236 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28237 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28238
0959ffc9
UD
282392010-09-02 Ulrich Drepper <drepper@redhat.com>
28240
28241 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28242 * sysdeps/x86_64/addmul_1.S: Likewise.
28243 * sysdeps/x86_64/lshift.S: Likewise.
28244 * sysdeps/x86_64/mul_1.S: Likewise.
28245 * sysdeps/x86_64/rshift.S: Likewise.
28246 * sysdeps/x86_64/sub_n.S: Likewise.
28247 * sysdeps/x86_64/submul_1.S: Likewise.
28248
ece29840
ST
282492010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28250
0959ffc9
UD
28251 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28252 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28253 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28254 * bits/sched.h [__need_schedparam]
ece29840 28255 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28256 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28257 (__defined_schedparam): Define to 1.
ece29840
ST
28258 (__sched_param): New structure, identical to sched_param.
28259 (__need_schedparam): Undefine.
28260
e53a31fe
MF
282612010-08-31 Mike Frysinger <vapier@gentoo.org>
28262
fdc0c10d
MF
28263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28264 (epoll_create1): Declare.
28265
e53a31fe
MF
28266 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28267
a726d796
AS
282682010-08-31 Andreas Schwab <schwab@redhat.com>
28269
28270 [BZ #7066]
28271 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28272 shifting retval into place.
28273
2f3e3dc7
UD
282742010-09-01 Ulrich Drepper <drepper@redhat.com>
28275
f2933da9
UD
28276 * nis/rpcsvc/nis.h: Update copyright notice.
28277 * nis/rpcsvc/nis.x: Likewise.
28278 * nis/rpcsvc/nis_callback.h: Likewise.
28279 * nis/rpcsvc/nis_callback.x: Likewise.
28280 * nis/rpcsvc/nis_object.x: Likewise.
28281 * nis/rpcsvc/nis_tags.h: Likewise.
28282 * nis/rpcsvc/yp.h: Likewise.
28283 * nis/rpcsvc/yp.x: Likewise.
28284 * nis/rpcsvc/ypupd.h: Likewise.
28285 * nis/yp_xdr.c: Likewise.
28286 * nis/ypupdate_xdr.c: Likewise.
28287
2f3e3dc7
UD
28288 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28289 mainly the body of pmap_getport. Add parameters to specify timeouts.
28290 (pmap_getport): Use __libc_rpc_getport.
28291 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28292 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28293 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28294
f3dcc2f9
AS
282952010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28296
28297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28298 fanotify_mark.
28299
6d34eb5b
RM
283002010-08-27 Roland McGrath <roland@redhat.com>
28301
28302 * sysdeps/i386/i686/multiarch/Makefile
28303 (CFLAGS-varshift.c): New variable.
28304
9ea3de11
UD
283052010-08-27 Ulrich Drepper <drepper@redhat.com>
28306
c96d23fc
UD
28307 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28308 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28309
9ea3de11
UD
28310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28311
28312 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28313
623aac7f
L
283142010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28315
28316 * sysdeps/x86_64/strlen.S: Unroll the loop.
28317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28318 strlen-sse2 strlen-sse2-bsf.
28319 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28320 __strlen_no_bsf if bit_Slow_BSF is set.
28321 (__strlen_sse42): Removed.
28322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28323 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28324
8b2b7715
RM
283252010-08-25 Roland McGrath <roland@redhat.com>
28326
28327 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28328 * sysdeps/x86_64/multiarch/varshift.c: New file.
28329 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28330 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28331 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28332 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28333
e73015f2
L
283342010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28335
28336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28337 strlen-sse2 strlen-sse2-bsf.
28338 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28339 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28340 (__strlen_sse2): Removed.
28341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28344 bit_Slow_BSF for Atom.
28345 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28346 (index_Slow_BSF): Define.
28347 (HAS_SLOW_BSF): Define.
28348
df24a73e
UD
283492010-08-25 Ulrich Drepper <drepper@redhat.com>
28350
28351 [BZ #10851]
28352 * resolv/res_init.c (__res_vinit): When no server address at all
28353 is given default to loopback.
28354
f2ac4868
RM
283552010-08-24 Roland McGrath <roland@redhat.com>
28356
09055553
RM
28357 * configure.in: Remove config-name.h generation.
28358 * configure: Regenerated.
28359 * config-name.in: File removed.
28360 * scripts/config-uname.sh: New file.
28361 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28362 ($(objdir)config-name.h): New target.
28363
f2ac4868
RM
28364 * sunrpc/rpc_parse.h: Avoid nested comment.
28365
73f27d5e
RH
283662010-08-24 Richard Henderson <rth@redhat.com>
28367 Ulrich Drepper <drepper@redhat.com>
28368 H.J. Lu <hongjiu.lu@intel.com>
28369
28370 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28372 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28373 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28374 _mm_alignr_epi8 with _mm_loadu_si128.
28375 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28376 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28377 (__m128i_shift_right): Removed.
28378 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28379 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28380 * sysdeps/x86_64/multiarch/varshift.h: New file.
28381 * sysdeps/x86_64/multiarch/varshift.S: New file.
28382
84b9230c
MF
283832010-08-21 Mike Frysinger <vapier@gentoo.org>
28384
28385 * configure.in: Move assembler checks to before sysdep dir checking.
28386
9bbd0ddc
PB
283872010-08-20 Petr Baudis <pasky@suse.cz>
28388
28389 * LICENSES: Sync the sunrpc license.
28390
9da4bb31
UD
283912010-08-19 Ulrich Drepper <drepper@redhat.com>
28392
a7ab6ec8
UD
28393 * sunrpc/auth_des.c: Update copyright notice once again.
28394 * sunrpc/auth_none.c: Likewise.
28395 * sunrpc/auth_unix.c: Likewise.
28396 * sunrpc/authdes_prot.c: Likewise.
28397 * sunrpc/authuxprot.c: Likewise.
28398 * sunrpc/bindrsvprt.c: Likewise.
28399 * sunrpc/clnt_gen.c: Likewise.
28400 * sunrpc/clnt_perr.c: Likewise.
28401 * sunrpc/clnt_raw.c: Likewise.
28402 * sunrpc/clnt_simp.c: Likewise.
28403 * sunrpc/clnt_tcp.c: Likewise.
28404 * sunrpc/clnt_udp.c: Likewise.
28405 * sunrpc/clnt_unix.c: Likewise.
28406 * sunrpc/des_crypt.c: Likewise.
28407 * sunrpc/des_soft.c: Likewise.
28408 * sunrpc/get_myaddr.c: Likewise.
28409 * sunrpc/getrpcport.c: Likewise.
28410 * sunrpc/key_call.c: Likewise.
28411 * sunrpc/key_prot.c: Likewise.
28412 * sunrpc/openchild.c: Likewise.
28413 * sunrpc/pm_getmaps.c: Likewise.
28414 * sunrpc/pm_getport.c: Likewise.
28415 * sunrpc/pmap_clnt.c: Likewise.
28416 * sunrpc/pmap_prot.c: Likewise.
28417 * sunrpc/pmap_prot2.c: Likewise.
28418 * sunrpc/pmap_rmt.c: Likewise.
28419 * sunrpc/rpc/auth.h: Likewise.
28420 * sunrpc/rpc/auth_unix.h: Likewise.
28421 * sunrpc/rpc/clnt.h: Likewise.
28422 * sunrpc/rpc/des_crypt.h: Likewise.
28423 * sunrpc/rpc/key_prot.h: Likewise.
28424 * sunrpc/rpc/netdb.h: Likewise.
28425 * sunrpc/rpc/pmap_clnt.h: Likewise.
28426 * sunrpc/rpc/pmap_prot.h: Likewise.
28427 * sunrpc/rpc/pmap_rmt.h: Likewise.
28428 * sunrpc/rpc/rpc.h: Likewise.
28429 * sunrpc/rpc/rpc_des.h: Likewise.
28430 * sunrpc/rpc/rpc_msg.h: Likewise.
28431 * sunrpc/rpc/svc.h: Likewise.
28432 * sunrpc/rpc/svc_auth.h: Likewise.
28433 * sunrpc/rpc/types.h: Likewise.
28434 * sunrpc/rpc/xdr.h: Likewise.
28435 * sunrpc/rpc_clntout.c: Likewise.
28436 * sunrpc/rpc_cmsg.c: Likewise.
28437 * sunrpc/rpc_common.c: Likewise.
28438 * sunrpc/rpc_cout.c: Likewise.
28439 * sunrpc/rpc_dtable.c: Likewise.
28440 * sunrpc/rpc_hout.c: Likewise.
28441 * sunrpc/rpc_main.c: Likewise.
28442 * sunrpc/rpc_parse.c: Likewise.
28443 * sunrpc/rpc_parse.h: Likewise.
28444 * sunrpc/rpc_prot.c: Likewise.
28445 * sunrpc/rpc_sample.c: Likewise.
28446 * sunrpc/rpc_scan.c: Likewise.
28447 * sunrpc/rpc_scan.h: Likewise.
28448 * sunrpc/rpc_svcout.c: Likewise.
28449 * sunrpc/rpc_tblout.c: Likewise.
28450 * sunrpc/rpc_util.c: Likewise.
28451 * sunrpc/rpc_util.h: Likewise.
28452 * sunrpc/rpcinfo.c: Likewise.
28453 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28454 * sunrpc/rpcsvc/key_prot.x: Likewise.
28455 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28456 * sunrpc/rpcsvc/mount.x: Likewise.
28457 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28458 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28459 * sunrpc/rpcsvc/rex.x: Likewise.
28460 * sunrpc/rpcsvc/rstat.x: Likewise.
28461 * sunrpc/rpcsvc/rusers.x: Likewise.
28462 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28463 * sunrpc/rpcsvc/spray.x: Likewise.
28464 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28465 * sunrpc/rtime.c: Likewise.
28466 * sunrpc/svc.c: Likewise.
28467 * sunrpc/svc_auth.c: Likewise.
28468 * sunrpc/svc_authux.c: Likewise.
28469 * sunrpc/svc_raw.c: Likewise.
28470 * sunrpc/svc_run.c: Likewise.
28471 * sunrpc/svc_simple.c: Likewise.
28472 * sunrpc/svc_tcp.c: Likewise.
28473 * sunrpc/svc_udp.c: Likewise.
28474 * sunrpc/svc_unix.c: Likewise.
28475 * sunrpc/svcauth_des.c: Likewise.
28476 * sunrpc/xcrypt.c: Likewise.
28477 * sunrpc/xdr.c: Likewise.
28478 * sunrpc/xdr_array.c: Likewise.
28479 * sunrpc/xdr_float.c: Likewise.
28480 * sunrpc/xdr_mem.c: Likewise.
28481 * sunrpc/xdr_rec.c: Likewise.
28482 * sunrpc/xdr_ref.c: Likewise.
28483 * sunrpc/xdr_sizeof.c: Likewise.
28484 * sunrpc/xdr_stdio.c: Likewise.
28485
9da4bb31
UD
28486 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28487 handling.
28488
bdaa77bc
AS
284892010-08-19 Andreas Schwab <schwab@redhat.com>
28490
28491 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28492
fe2f79db
LM
284932010-08-19 Luis Machado <luisgpm@br.ibm.com>
28494
28495 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28496 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28497 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28498 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28499 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28500 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28501 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28502 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28503 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28504 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28505 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28506 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28507 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28508 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28509
b9b42ee0
AB
285102010-07-26 Anton Blanchard <anton@samba.org>
28511
28512 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28513 * malloc/arena.c (heap_trim): Likewise.
28514
1c06ba31
UD
285152010-08-16 Ulrich Drepper <drepper@redhat.com>
28516
28517 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28518 here. Not...
28519 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28520 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28521
f8392f40
L
285222010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28523
28524 * sysdeps/i386/elf/Makefile: New file.
28525
3162f12e
AS
285262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28527
28528 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28529 from fanotify_init.
28530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28532
28c90b2c
UD
285332010-08-15 Ulrich Drepper <drepper@redhat.com>
28534
28535 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28536 of strncasecmp_l.
1feccb6c 28537 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28538
ca6bb004
UD
285392010-08-14 Ulrich Drepper <drepper@redhat.com>
28540
e9f82e0d
UD
28541 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28542 strncase_l-nonascii.
28543 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28544 Add strncase_l-ssse3.
28545 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28546 * sysdeps/x86_64/strcmp.S: Likewise.
28547 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28548 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28549 * sysdeps/x86_64/strncase.S: New file.
28550 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28551 * sysdeps/x86_64/strncase_l.S: New file.
28552 * string/Makefile (strop-tests): Add strncasecmp.
28553 * string/test-strncasecmp.c: New file.
28554
28555 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28556 warning.
28557
ca6bb004
UD
28558 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28559 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28560
052fa7b3
AS
285612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28562
28563 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28564
962dba78
UD
285652010-08-12 Ulrich Drepper <drepper@redhat.com>
28566
28567 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28568 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28569 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28570
bebff237
AM
285712010-05-01 Alan Modra <amodra@gmail.com>
28572
28573 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28574 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28575 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28576 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28577 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28578 tidying. Don't tail-call __sigjmp_save for static lib.
28579 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28580 save location.
28581 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28582 (CALL_MCOUNT): Add eh info, and nop after bl.
28583 (TAIL_CALL_SYSCALL_ERROR): New macro.
28584 (PSEUDO_RET): Use it.
28585 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28586 Correct save location of integer regs and cr.
28587 (_dl_profile_resolve): Correct cr save location. Delete nops
28588 after bl when SHARED. Reduce cfi size a little by better
28589 placement of cfi directives.
28590 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28591 make a stack frame. Instead use parm save area as a temp.
28592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28593 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28595 Don't make a stack frame for parent, use parm save area.
28596 Increase child stack frame to 112 bytes. Don't save unused reg,
28597 and adjust reg usage. Set up cfi on error recovery and
28598 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28600 (__makecontext): Add dummy nop after jump to exit.
28601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28602 Use correct parm save area and cr save, reduce stack frame.
28603 Correct cfi for possible PSEUDO_RET frame setup.
28604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28605 Branch to local label emitted by PSEUDO_RET rather than
28606 __syscall_error.
28607
02637374
AS
286082010-08-12 Andreas Schwab <schwab@redhat.com>
28609
28610 [BZ #11904]
28611 * locale/programs/locale.c (print_assignment): New function.
28612 (show_locale_vars): Use it.
28613
c3e2f19b
UD
286142010-08-11 Ulrich Drepper <drepper@redhat.com>
28615
3cdaa6ad
UD
28616 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28617 field.
28618 (struct statfs64): Likewise.
28619 (_STATFS_F_FLAGS): Define.
28620 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28621 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28622 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28623 (ST_VALID): Define locally.
28624 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28625 __statvfs_getflags, use the provided value.
28626 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28627 __ASSUME_STATFS_F_FLAGS.
28628
754f7da3
UD
28629 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28630
10b3bedc
UD
28631 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28632 Add sys/fanotify.h.
28633 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28634 fanotify_mask for GLIBC_2.13.
28635 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28636 fanotify_init and fanotify_mark.
28637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28638 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28639
c08fb0d7
UD
28640 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28641 Add prlimit.
28642 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28643 prlimit64 for GLIBC_2.13.
28644 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28645 prlimit64.
28646 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28647 syscall.
28648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28649 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28650 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28651 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28653 add prlimit alias.
28654 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28655
15bac72b
UD
28656 [BZ #11903]
28657 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28658 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28659
c3e2f19b
UD
28660 * nss/Makefile: Add rules to build and run tst-nss-test1.
28661 * shlib-versions: Add entry for libnss_test1.
28662 * nss/nss_test1.c: New file.
28663 * nss/tst-nss-test1.c: New file.
28664
28665 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28666 (__nss_configure_lookup): Set appropriate entry in
28667 __nss_configure_lookup to true.
28668 * nss/nsswitch.h: Define enum with indeces of databases in
28669 databases and __nss_database_custom arrays. Declare
28670 __nss_database_custom.
28671 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28672 to avoid using nscd when custom rules are installed.
28673 * nss/getXXbyYY_r.c: Likewise.
28674 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28675
28676 * nss/nss_files/files-parse.c: Whitespace fixes.
28677
f15ce4d8
UD
286782010-08-09 Ulrich Drepper <drepper@redhat.com>
28679
28680 [BZ #11883]
28681 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28682 * posix/fnmatch_loop.c: Likewise.
28683
d22e4cc9
AK
286842010-07-17 Andi Kleen <ak@linux.intel.com>
28685
28686 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28687 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28688 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28689 * Versions.def [GLIBC_2.13]: Add.
28690
805bc17d
UD
286912010-08-06 Ulrich Drepper <drepper@redhat.com>
28692
28693 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28694 Also fail if tpwd after pwuid call is NULL.
28695
5a42321d
ST
286962010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28697
28698 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28699 when converting to ms.
28700
fd3ebeda
ST
287012010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28702
28703 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28704 EOPNOTSUPP errors with ENOTTY.
28705 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28706 EOPNOTSUPP errors with ENOTTY.
28707
73507d3a
UD
287082010-07-31 Ulrich Drepper <drepper@redhat.com>
28709
28710 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28711 Add strcasecmp_l-ssse3.
28712 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28713 strcasecmp.
28714 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28715 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28716 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28717
fe36dd02
UD
287182010-07-30 Ulrich Drepper <drepper@redhat.com>
28719
66f6765a
UD
28720 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28721
42e08a54
UD
28722 * string/Makefile (strop-tests): Add strcasecmp.
28723 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28724 strcasecmp_l-nonascii.
28725 (gen-as-const-headers): Add locale-defines.sym.
28726 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28727 * sysdeps/x86_64/strcasecmp.S: New file.
28728 * sysdeps/x86_64/strcasecmp_l.S: New file.
28729 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28730 * sysdeps/x86_64/locale-defines.sym: New file.
28731 * string/test-strcasecmp.c: New file.
28732
fe36dd02
UD
28733 * string/test-strcasestr.c: Test both ends of the range of characters.
28734 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28735
48cbc0d6
RM
287362010-07-29 Roland McGrath <roland@redhat.com>
28737
76e6d6bc 28738 [BZ #11856]
48cbc0d6
RM
28739 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28740
880113d9
UD
287412010-07-27 Ulrich Drepper <drepper@redhat.com>
28742
28743 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28744 for ld.so.
28745
deb9cabb
AS
287462010-07-27 Andreas Schwab <schwab@redhat.com>
28747
28748 * manual/memory.texi (Malloc Tunable Parameters): Document
28749 M_PERTURB.
28750
1c7570ff
RM
287512010-07-26 Roland McGrath <roland@redhat.com>
28752
28753 [BZ #11840]
28754 * configure.in (-fgnu89-inline check): Set and substitute
28755 gnu89_inline, not libc_cv_gnu89_inline.
28756 * configure: Regenerated.
28757 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28758
24fb0f88
UD
287592010-07-26 Ulrich Drepper <drepper@redhat.com>
28760
28761 * string/test-strnlen.c: New file.
28762 * string/Makefile (strop-tests): Add strnlen.
28763 * string/tester.c (test_strnlen): Add a few more test cases.
28764 * string/tst-strlen.c: Better error reporting.
28765
28766 * sysdeps/x86_64/strnlen.S: New file.
28767
8e96b93a
UD
287682010-07-24 Ulrich Drepper <drepper@redhat.com>
28769
28770 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28771 lower-latency instructions.
28772
dbc676d4
UD
287732010-07-23 Ulrich Drepper <drepper@redhat.com>
28774
28775 * string/test-strcasestr.c: New file.
28776 * string/test-strstr.c: New file.
28777 * string/Makefile (strop-tests): Add strstr and strcasestr.
28778 * string/str-two-way.h: Don't undefine MAX.
28779 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28780
f6a31e0e
AS
287812010-07-21 Andreas Schwab <schwab@redhat.com>
28782
28783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28784 strcasestr-nonascii.
28785 (CFLAGS-strcasestr-nonascii.c): Define.
28786 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28787 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28788 Remove unused attribute.
28789
5dbc3b6c
RM
287902010-07-20 Roland McGrath <roland@redhat.com>
28791
28792 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28793 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28794 ld.so.cache was broken. With it, there is no way to disable dsocaps
28795 like LD_HWCAP_MASK can disable hwcaps.
28796
23d101d8
EPM
287972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28798
28799 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28800
cc9f2e47
UD
288012010-07-16 Ulrich Drepper <drepper@redhat.com>
28802
28803 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28804 call in strcasestr.
28805 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28806 __strcasestr_sse42_nonascii.
28807 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28808 strcasestr-nonascii.c.
28809 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28810
77c1b069
LM
288112010-06-15 Luis Machado <luisgpm@br.ibm.com>
28812
28813 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28814 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28815 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28816 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28817
440566c3
UD
288182010-07-09 Ulrich Drepper <drepper@redhat.com>
28819
28820 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28821 fcntl.
28822
5be9d05d
AS
288232010-07-06 Andreas Schwab <schwab@redhat.com>
28824
c30b7ee2 28825 [BZ #11577]
5be9d05d
AS
28826 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28827 dl_signal_cerror.
28828
8a492a67
UD
288292010-07-06 Ulrich Drepper <drepper@redhat.com>
28830
28831 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28832 _PC_PIPE_BUF using F_GETPIPE_SZ.
28833
713df3d5
RM
288342010-07-05 Roland McGrath <roland@redhat.com>
28835
28836 * manual/arith.texi (Rounding Functions): Fix rint description
28837 implicit in round description.
28838
702e8f14
UD
288392010-07-02 Ulrich Drepper <drepper@redhat.com>
28840
28841 * elf/Makefile: Fix linking for a few tests to make recent linker
28842 happy.
28843
52ed8be9
AS
288442010-06-30 Andreas Schwab <schwab@redhat.com>
28845
28846 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28847 $(common-objpfx)libc_nonshared.a.
28848
f47c9a11
LM
288492010-06-21 Luis Machado <luisgpm@br.ibm.com>
28850
28851 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28852 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28853 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28854 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28855 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28856 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28857 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28858 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28873 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28874 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28875 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28876 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28877 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28878 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28879 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28880 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28881 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28882 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28883 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28884 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28899
6fb8cbcb
L
289002010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28903 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28904 * string/memmove.c (memmove): Renamed to ...
28905 (MEMMOVE): ...this. Default to memmove.
28906 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28907 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28908 (END_CHK): Define.
28909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28910 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28911 mempcpy-ssse3-back memmove-ssse3-back.
28912 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28913 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28915 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28916 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28917 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28918 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28919 * sysdeps/x86_64/multiarch/memmove.c: New file.
28920 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28921 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28922 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28923 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28924 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28925 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28926 Define.
28927 (index_Fast_Copy_Backward): Define.
28928 (HAS_ARCH_FEATURE): Define.
28929 (HAS_FAST_REP_STRING): Define.
28930 (HAS_FAST_COPY_BACKWARD): Define.
28931
4e733bac 289322010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28933
28934 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28935 Restore proper fallback handling.
28936
63c4ed22
UD
289372010-06-19 Ulrich Drepper <drepper@redhat.com>
28938
ac2b484c
UD
28939 [BZ #11701]
28940 * posix/group_member.c (__group_member): Correct checking loop.
28941
63c4ed22
UD
28942 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28943 OOM in getpwuid_r correctly. Return error number when the caller
28944 should return, otherwise -1.
28945 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28946 call returning > 0 value.
28947 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28948
765ade4b
AS
289492010-06-07 Andreas Schwab <schwab@redhat.com>
28950
28951 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28952 libc_nonshared.a from targets in modules-names.
28953
80da2e09
KS
289542010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28955
28956 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28957 requires it.
28958
158db122
LM
289592010-06-10 Luis Machado <luisgpm@br.ibm.com>
28960
28961 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28962 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28963 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28965
caa78cf8
AS
289662010-06-02 Andreas Schwab <schwab@redhat.com>
28967
28968 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28969
b2ef2c01
UD
289702010-06-14 Ulrich Drepper <drepper@redhat.com>
28971
28972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28973 and F_GETPIPE_SZ.
28974 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28975 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28978 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28979 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28980
fbd643b6
RM
289812010-06-14 Roland McGrath <roland@redhat.com>
28982
28983 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28984
f32f2869
JJ
289852010-06-07 Jakub Jelinek <jakub@redhat.com>
28986
28987 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28988 __REDIRECT followed by __THROW.
28989 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28990 * posix/getopt.h (getopt): Likewise.
28991
2a50c078
EPM
289922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28993
28994 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28995 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28996 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28997 in AT_FLAGS.
28998 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28999 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
29000
eb5ad2eb
LM
290012010-05-28 Luis Machado <luisgpm@br.ibm.com>
29002
29003 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
29004
3c88fe1e
L
290052010-05-26 H.J. Lu <hongjiu.lu@intel.com>
29006
29007 [BZ #11640]
29008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29009 Properly check family and model.
29010
d2f73151
TY
290112010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
29012
29013 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
29014
ebd2e13d
LM
290152010-05-24 Luis Machado <luisgpm@br.ibm.com>
29016
29017 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
29018
b32b8b45
UD
290192010-05-21 Ulrich Drepper <drepper@redhat.com>
29020
29021 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
29022 symbol reference.
29023
9acbe24d
AS
290242010-05-19 Andreas Schwab <schwab@redhat.com>
29025
29026 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29027 symbol reference.
29028
f0ccf6ea
AS
290292010-05-21 Andreas Schwab <schwab@redhat.com>
29030
3d04ff3a
AS
29031 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29032 and internal_recvmmsg.
29033 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29034 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29035 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29036 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29037
f0ccf6ea
AS
29038 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29039 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29040 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29041
5b08ac57
AS
290422010-05-20 Andreas Schwab <schwab@redhat.com>
29043
29044 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29045
4828935d
LM
290462010-05-17 Luis Machado <luisgpm@br.ibm.com>
29047
29048 POWER7 optimizations.
29049 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29050 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29051
373d545e
UD
290522010-05-19 Ulrich Drepper <drepper@redhat.com>
29053
29054 * version.h: Update for 2.13 development version.
29055
21a2b1ae
AS
290562010-05-12 Andrew Stubbs <ams@codesourcery.com>
29057
29058 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29059 exceptions. Return 0.
29060
3f7dcb2b
RM
290612010-05-07 Roland McGrath <roland@redhat.com>
29062
29063 * elf/ldconfig.c (main): Add a const.
29064
5f24d53a 290652010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29066
a160f8d8
UD
29067 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29068 (args_options): Add no-idn option.
29069 (ahosts_keys_int): Add idn_flags to ai_flags.
29070 (parse_option): Handle 'i' option to clear idn_flags.
29071
5f24d53a
UD
29072 * malloc/malloc.c (_int_free): Possible race in the most recently
29073 added check. Only act on the data if no current modification
29074 happened.
265bb1ce
UD
29075
29076See ChangeLog.17 for earlier changes.
This page took 3.839934 seconds and 5 git commands to generate.