]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Convert TEST_fF_f1 tests from code to data.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
87aa21df
JM
12013-05-14 Joseph Myers <joseph@codesourcery.com>
2
9dc9095d
JM
3 * math/libm-test.inc (struct test_fF_f1_data): New type.
4 (RUN_TEST_LOOP_fF_f1): New macro.
5 (modf_test_data): New variable.
6 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7
87aa21df
JM
8 * math/libm-test.inc (struct test_f_f1_data): New type.
9 (RUN_TEST_LOOP_f_f1): New macro.
10 (gamma_test_data): New variable.
11 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
12 (lgamma_test_data): New variable.
13 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14
141af660
CD
152013-05-13 Carlos O'Donell <carlos@redhat.com>
16
17 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19 (main): Comment "tls" pseudo-hwcap.
20
6d33265c
JM
212013-05-13 Joseph Myers <joseph@codesourcery.com>
22
68fc074c
JM
23 * math/libm-test.inc (struct test_fl_f_data): New type.
24 (RUN_TEST_LOOP_fl_f): New variable.
25 (scalbln_test_data): New variable.
26 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27
243216e1
JM
28 * math/libm-test.inc (struct test_fi_f_data): New type.
29 (RUN_TEST_LOOP_fi_f): New macro.
30 (ldexp_test_data): New variable.
31 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
32 (scalbn_test_data): New variable.
33 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
34
6a1992e2
JM
35 * math/libm-test.inc (struct test_c_f_data): New type.
36 (RUN_TEST_LOOP_c_f): New macro.
37 (cabs_test_data): New variable.
38 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
39 (carg_test_data): New variable.
40 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
41 (cimag_test_data): New variable.
42 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
43 (creal_test_data): New variable.
44 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
45
0e400df5
JM
46 * math/libm-test.inc (struct test_if_f_data): New type.
47 (RUN_TEST_LOOP_if_f): New macro.
48 (jn_test_data): New variable.
49 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50 (yn_test_data): New variable.
51 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52
6d33265c
JM
53 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54
f98ece5f
AZ
552013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56
57 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
58 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
59
0f7d347b
SP
602013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
61
43fe811b
SP
62 * benchtests/Makefile (CPPFLAGS-nonlib): Add
63 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64 (bench-deps): Add bench-timing.h.
65 * benchtests-bench-skeleton.c: Include bench-timing.h.
66 (main): Use TIMING_* macros instead of clock_gettime.
67 * benchtests/bench-timing.h: New file.
68
0f7d347b
SP
69 [BZ #14582]
70 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
71 Renamed from _LIB_VERSION.
72 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
73
601a3a5f
JM
742013-05-12 Joseph Myers <joseph@codesourcery.com>
75
4f184d30
JM
76 * math/libm-test.inc (struct test_fff_f_data): New type.
77 (RUN_TEST_LOOP_fff_f): New macro.
78 (fma_test_data): New variable.
79 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
80 (fma_towardzero_test_data): New variable.
81 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
82 (fma_downward_test_data): New variable.
83 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
84 (fma_upward_test_data): New variable.
85 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
86
08198877
JM
87 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
88 (struct test_c_c_data): New type.
89 (RUN_TEST_LOOP_c_c): New macro.
90 (cacos_test_data): New variable.
91 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
92 (cacosh_test_data): New variable.
93 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
94 (casin_test_data): New variable.
95 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
96 (casinh_test_data): New variable.
97 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
98 (catan_test_data): New variable.
99 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
100 (catanh_test_data): New variable.
101 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
102 (ccos_test_data): New variable.
103 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
104 (ccosh_test_data): New variable.
105 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
106 (cexp_test_data): New variable.
107 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
108 (clog_test_data): New variable.
109 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
110 (clog10_test_data): New variable.
111 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
112 (conj_test_data): New variable.
113 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
114 (cproj_test_data): New variable.
115 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
116 (csin_test_data): New variable.
117 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
118 (csinh_test_data): New variable.
119 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
120 (csqrt_test_data): New variable.
121 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
122 (ctan_test_data): New variable.
123 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
124 (ctan_tonearest_test_data): New variable.
125 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
126 (ctan_towardzero_test_data): New variable.
127 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
128 (ctan_downward_test_data): New variable.
129 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
130 (ctan_upward_test_data): New variable.
131 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
132 (ctanh_test_data): New variable.
133 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
134 (ctanh_tonearest_test_data): New variable.
135 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
136 (ctanh_towardzero_test_data): New variable.
137 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
138 (ctanh_downward_test_data): New variable.
139 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
140 (ctanh_upward_test_data): New variable.
141 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
142 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
143 of BUILD_COMPLEX.
144
601a3a5f
JM
145 * math/libm-test.inc (struct test_ff_f_data): New type.
146 (struct test_ff_f_data_nexttoward): Likewise.
147 (RUN_TEST_LOOP_2_f): New macro.
148 (RUN_TEST_LOOP_ff_f): Likewise.
149 (atan2_test_data): New variable.
150 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
151 (copysign_test_data): New variable.
152 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
153 (fdim_test_data): New variable.
154 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
155 (fmax_test_data): New variable.
156 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
157 (fmin_test_data): New variable.
158 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
159 (fmod_test_data): New variable.
160 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
161 (hypot_test_data): New variable.
162 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
163 (nextafter_test_data): New variable.
164 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
165 (nexttoward_test_data): New variable.
166 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
167 (pow_test_data): New variable.
168 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
169 (pow_tonearest_test_data): New variable.
170 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
171 (pow_towardzero_test_data): New variable.
172 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
173 (pow_downward_test_data): New variable.
174 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
175 (pow_upward_test_data): New variable.
176 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
177 (remainder_test_data): New variable.
178 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
179 (scalb_test_data): New variable.
180 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
181 * sysdeps/i386/fpu/libm-test-ulps: Update.
182
74c57478
JM
1832013-05-11 Joseph Myers <joseph@codesourcery.com>
184
8329e4da
JM
185 * math/libm-test.inc (fma_test): Use max_value instead of local
186 variable fltmax.
187 (nextafter_test): Likewise.
188
74c57478
JM
189 * math/libm-test.inc (acos_towardzero_test_data): New variable.
190 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
191 (acos_downward_test_data): New variable.
192 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
193 (acos_upward_test_data): New variable.
194 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
195 (acosh_test_data): New variable.
196 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
197 (asin_test_data): New variable.
198 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
199 (asin_tonearest_test_data): New variable.
200 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
201 (asin_towardzero_test_data): New variable.
202 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
203 (asin_downward_test_data): New variable.
204 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
205 (asin_upward_test_data): New variable.
206 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
207 (asinh_test_data): New variable.
208 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
209 (atan_test_data): New variable.
210 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
211 (atanh_test_data): New variable.
212 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
213 (cbrt_test_data): New variable.
214 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
215 (ceil_test_data): New variable.
216 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
217 (cos_test_data): New variable.
218 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
219 (cos_tonearest_test_data): New variable.
220 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
221 (cos_towardzero_test_data): New variable.
222 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
223 (cos_downward_test_data): New variable.
224 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
225 (cos_upward_test_data): New variable.
226 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
227 (cosh_test_data): New variable.
228 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
229 (cosh_tonearest_test_data): New variable.
230 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
231 (cosh_towardzero_test_data): New variable.
232 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
233 (cosh_downward_test_data): New variable.
234 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
235 (cosh_upward_test_data): New variable.
236 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
237 (erf_test_data): New variable.
238 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
239 (erfc_test_data): New variable.
240 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
241 (exp_test_data): New variable.
242 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
243 (exp_tonearest_test_data): New variable.
244 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
245 (exp_towardzero_test_data): New variable.
246 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
247 (exp_downward_test_data): New variable.
248 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
249 (exp_upward_test_data): New variable.
250 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
251 (exp10_test_data): New variable.
252 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
253 (exp2_test_data): New variable.
254 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
255 (expm1_test_data): New variable.
256 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
257 (fabs_test_data): New variable.
258 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
259 (floor_test_data): New variable.
260 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
261 (j0_test_data): New variable.
262 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
263 (j1_test_data): New variable.
264 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
265 (log_test_data): New variable.
266 (log_test): Run tests with RUN_TEST_LOOP_f_f.
267 (log10_test_data): New variable.
268 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
269 (log1p_test_data): New variable.
270 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
271 (log2_test_data): New variable.
272 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
273 (logb_test_data): New variable.
274 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
275 (logb_downward_test_data): New variable.
276 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
277 (nearbyint_test_data): New variable.
278 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
279 (rint_test_data): New variable.
280 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
281 (rint_tonearest_test_data): New variable.
282 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
283 (rint_towardzero_test_data): New variable.
284 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
285 (rint_downward_test_data): New variable.
286 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
287 (rint_upward_test_data): New variable.
288 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
289 (round_test_data): New variable.
290 (round_test): Run tests with RUN_TEST_LOOP_f_f.
291 (sin_test_data): New variable.
292 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
293 (sin_tonearest_test_data): New variable.
294 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
295 (sin_towardzero_test_data): New variable.
296 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
297 (sin_downward_test_data): New variable.
298 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
299 (sin_upward_test_data): New variable.
300 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
301 (sinh_test_data): New variable.
302 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
303 (sinh_tonearest_test_data): New variable.
304 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
305 (sinh_towardzero_test_data): New variable.
306 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
307 (sinh_downward_test_data): New variable.
308 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
309 (sinh_upward_test_data): New variable.
310 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
311 (sqrt_test_data): New variable.
312 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
313 (tan_test_data): New variable.
314 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
315 (tan_tonearest_test_data): New variable.
316 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
317 (tan_towardzero_test_data): New variable.
318 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
319 (tan_downward_test_data): New variable.
320 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
321 (tan_upward_test_data): New variable.
322 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
323 (tanh_test_data): New variable.
324 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
325 (tgamma_test_data): New variable.
326 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
327 (trunc_test_data): New variable.
328 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
329 (y0_test_data): New variable.
330 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
331 (y1_test_data): New variable.
332 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
333 (significand_test_data): New variable.
334 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
335
7187d844
CG
3362013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
337
338 [BZ #12387]
339 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
340
f63fae73
PT
3412013-05-10 Pino Toscano <toscano.pino@tiscali.it>
342
343 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
344
8a67a4b3
AJ
3452013-05-10 Andreas Jaeger <aj@suse.de>
346
347 [BZ #15448]
348 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
349 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
350
51df539d
JM
3512013-05-10 Joseph Myers <joseph@codesourcery.com>
352
353 * math/gen-libm-test.pl (adjust_arg): New function.
354 (special_functions): Handle generating output in both functions
355 and arrays.
356 (parse_args): Likewise.
357 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
358 $in_func argument to parse_args.
359 * math/libm-test.inc (struct test_f_f_data): New type.
360 (IF_ROUND_INIT_): New macro.
361 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
362 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
363 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
364 (IF_ROUND_INIT_FE_UPWARD): Likewise.
365 (ROUND_RESTORE_): Likewise.
366 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
367 (ROUND_RESTORE_FE_TONEAREST): Likewise.
368 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
369 (ROUND_RESTORE_FE_UPWARD): Likewise.
370 (RUN_TEST_LOOP_f_f): New macro.
371 (acos_test_data): New variable.
372 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
373 (acos_tonearest_test_data): New variable.
374 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
375
5c637fe5
SP
3762013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
377
378 * benchtests/bench-skeleton.c (startup): Fix coding style.
379
ab2b9461
JM
3802013-05-10 Joseph Myers <joseph@codesourcery.com>
381
382 [BZ #6809]
383 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
384 negative infinity argument.
385 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
386 negative infinity argument.
387 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
388 negative infinity argument.
389 * math/libm-test.inc (tgamma_test): Expect errno to be set for
390 domain errors.
391
4c0fe6fe
FW
3922013-05-10 Florian Weimer <fweimer@redhat.com>
393
394 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
395 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
396 * iconv/iconv_prog.c (main): Likewise.
397 * locale/programs/charmap-dir.c (charmap_readdir)
398 (fopen_uncompressed): Likewise.
399 * locale/programs/locfile.c (siblings_uncached)
400 (write_locale_data): Use lstat64 instead of lstat.
401 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
402 stat.
403
a3375d29
AJ
4042013-05-10 Andreas Jaeger <aj@suse.de>
405
406 [BZ #15395]
407 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
408 localization.
409 Include <locale.h>.
410
36129722
CD
4112013-05-09 Carlos O'Donell <carlos@redhat.com>
412
413 * elf/dl-close.c (_dl_close_worker): Add comments.
414
faa7f811
JM
4152013-05-09 Joseph Myers <joseph@codesourcery.com>
416
ed41ffef
JM
417 [BZ #15359]
418 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
419 high part of pi/2.
420 (__ieee754_rem_pio2l): Update comments.
421
d0213cd0
JM
422 [BZ #15429]
423 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
424 high part of pi/2.
425 (__ieee754_rem_pio2l): Update comments.
426
0d3e777a
JM
427 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
428 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
429
24f56066
JM
430 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
431 M_PI_4l.
432
faa7f811
JM
433 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
434 (M_PI_34_LOG10El): Likewise.
435 (M_PI2_LOG10El): Likewise.
436 (M_PI4_LOG10El): Likewise.
437 (M_PI_LOG10El): Likewise.
438
e9a5e0fd
AZ
4392013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
440
441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
442
d8cd06db
JM
4432013-05-08 Joseph Myers <joseph@codesourcery.com>
444
a0d9f9d7
JM
445 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
446 (MINUS_ZERO_INIT): Likewise.
447 (PLUS_INFTY_INIT): Likewise.
448 (MINUS_INFTY_INIT): Likewise.
449 (QNAN_VALUE_INIT): Likewise.
450 (MAX_VALUE_INIT): Likewise.
451 (MIN_VALUE_INIT): Likewise.
452 (MIN_SUBNORM_VALUE_INIT): Likewise.
453 (plus_zero): Initialize with PLUS_ZERO_INIT.
454 (minus_zero): Initialize with MINUS_ZERO_INIT.
455 (plus_infty): Initialize with PLUS_INFTY_INIT.
456 (minus_infty): Initialize with MINUS_INFTY_INIT.
457 (qnan_value): Initialize with QNAN_VALUE_INIT.
458 (max_value): Initialize with MAX_VALUE_INIT.
459 (min_value): Initialize with MIN_VALUE_INIT.
460 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
461
ae08db3b
JM
462 * math/libm-test.inc (RUN_TEST_if_f): New macro.
463 (jn_test): Use TEST_if_f instead of TEST_ff_f.
464 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
465 (yn_test): Use TEST_if_f instead of TEST_ff_f.
466
f44bf14a
JM
467 * math/libm-test.inc (RUN_TEST_f_f): New macro.
468 (RUN_TEST_2_f): Likewise.
469 (RUN_TEST_ff_f): Likewise.
470 (RUN_TEST_fi_f): Likewise.
471 (RUN_TEST_fl_f): Likewise.
472 (RUN_TEST_fff_f): Likewise.
473 (RUN_TEST_c_f): Likewise.
474 (RUN_TEST_f_f1): Likewise.
475 (RUN_TEST_fF_f1): Likewise.
476 (RUN_TEST_fI_f1): Likewise.
477 (RUN_TEST_ffI_f1): Likewise.
478 (RUN_TEST_c_c): Likewise.
479 (RUN_TEST_cc_c): Likewise.
480 (RUN_TEST_f_i): Likewise.
481 (RUN_TEST_f_i_tg): Likewise.
482 (RUN_TEST_ff_i_tg): Likewise.
483 (RUN_TEST_f_b): Likewise.
484 (RUN_TEST_f_b_tg): Likewise.
485 (RUN_TEST_f_l): Likewise.
486 (RUN_TEST_f_L): Likewise.
487 (RUN_TEST_sincos): Likewise.
488 * math/gen-libm-test.pl (new_test): Take new argument to indicate
489 whether to show exceptions. Do not include ");\n" in return
490 value.
491 (special_functions): Output call to RUN_TEST_sincos instead of
492 check_float calls. Update calls to new_test.
493 (parse_args): Output call to single RUN_TEST_* macro instead of
494 check_* calls and other assignments. Update calls to new_test.
495
d8cd06db
JM
496 [BZ #2546]
497 [BZ #2560]
498 [BZ #5159]
499 [BZ #15426]
500 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
501 input to result for tgamma overflow.
502 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
503 (gamma_coeff): New variable.
504 (NCOEFF): New macro.
505 (gamma_positive): New function.
506 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
507 underflow here. Use gamma_positive instead of exp (lgamma) for
508 other arguments.
509 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
510 (gamma_coeff): New variable.
511 (NCOEFF): New macro.
512 (gammaf_positive): New function.
513 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
514 underflow here. Use gamma_positive instead of exp (lgamma) for
515 other arguments.
516 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
517 (gamma_coeff): New variable.
518 (NCOEFF): New macro.
519 (gammal_positive): New function.
520 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
521 underflow here. Use gamma_positive instead of exp (lgamma) for
522 other arguments.
523 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
524 (gamma_coeff): New variable.
525 (NCOEFF): New macro.
526 (gammal_positive): New function.
527 (__ieee754_gammal_r): Handle positive infinity, overflow and
528 underflow here. Handle NaN the same as positive infinity. Remove
529 check x < 0xffffffff for negative integers. Use gamma_positive
530 instead of exp (lgamma) for other arguments.
531 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
532 (gamma_coeff): New variable.
533 (NCOEFF): New macro.
534 (gammal_positive): New function.
535 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
536 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
537 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
538 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
539 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
540 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
541 * sysdeps/generic/math_private.h (__gamma_productf): New
542 prototype.
543 (__gamma_product): Likewise.
544 (__gamma_productl): Likewise.
545 * math/Makefile (libm-calls): Add gamma_product.
546 * math/libm-test.inc (tgamma_test): Add more tests.
547 * sysdeps/i386/fpu/libm-test-ulps: Update.
548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
549
bb7cf681
OB
5502013-05-08 Ondřej Bílka <neleai@seznam.cz>
551
552 * benchtests/bench-skeleton.c (main): Preheat CPU.
553
ba853947
AJ
5542013-05-07 Aurelien Jarno <aurelien@aurel32.net>
555
556 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
557
8347c74c
RM
5582013-05-07 Roland McGrath <roland@hack.frob.com>
559
560 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
561 and _dl_skip_args_internal.
562
e8dd4791
CD
5632013-05-07 Carlos O'Donell <carlos@redhat.com>
564
565 * manual/message.texi (Message Translation): Talk about users.
566 Message to key mapping impacts design.
567
c7405830
RM
5682013-05-06 Roland McGrath <roland@hack.frob.com>
569
a9173057
RM
570 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
571
976e2f03
RM
572 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
573
9723ffc5
RM
574 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
575 * sysdeps/wordsize-64/glob64.c: ... here.
576
962e6658
RM
577 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
578 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
579 New macros.
580
ee586a6d
RM
581 * debug/getlogin_r_chk.c: Moved to ...
582 * login/getlogin_r_chk.c: ... here.
583 * debug/Makefile (routines): Move getlogin_r_chk to ...
584 * login/Makefile (routines): ... here.
585 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
586 * login/Versions (libc: GLIBC_2.4): ... here.
587
355f9165
RM
588 * io/poll.c (__poll): Renamed from poll.
589 Add libc_hidden_def.
590 (poll): Define as weak alias.
591
bd9ffde6
RM
592 * debug/ptsname_r_chk.c: Moved to ...
593 * login/ptsname_r_chk.c: ... here.
594 * debug/Makefile (routines): Move ptsname_r_chk to ...
595 * login/Makefile (routines): ... here.
596 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
597 * login/Versions (libc: GLIBC_2.4): ... here.
598
8fb16a04
RM
599 * posix/getlogin.c: Moved to ...
600 * login/getlogin.c: ... here.
601 * posix/getlogin_r.c: Moved to ...
602 * login/getlogin_r.c: ... here.
603 * posix/getlogin_r.c: Moved to ...
604 * login/getlogin_r.c: ... here.
605 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
606 * login/Makefile (routines): ... here.
607 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
608 * login/Versions (libc: GLIBC_2.0): ... here.
609
b99b892f
RM
610 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
611 (setrlimit): Define as weak alias.
612
c7405830
RM
613 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
614 Call __ names for open, ftruncate, and close.
615 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
616 (truncate): Define as weak alias.
617
5bf96de5
JM
6182013-05-06 Joseph Myers <joseph@codesourcery.com>
619
9ea3513c
JM
620 * math/gen-libm-test.pl (parse_args): Initialize x before each
621 test of frexp, modf and remquo.
622
5bf96de5
JM
623 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
624 test signgam value.
625
16e616a7
AZ
6262013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627
628 [BZ #15418]
629 [BZ #15419]
630 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
631 internal tests.
632 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
633
d5e82754
RM
6342013-05-06 Roland McGrath <roland@hack.frob.com>
635
636 * elf/dl-writev.h: New file.
637 * elf/dl-misc.c: Include it.
638 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
639 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
640
a7548d41
JM
6412013-05-04 Joseph Myers <joseph@codesourcery.com>
642
b7dab1e4
JM
643 * math/libm-test.inc (noXFails): Remove variable.
644 (noXPasses): Likewise.
645 (BUILD_COMPLEX_INT): Remove macro.
646 (print_screen): Remove xfail argument.
647 (print_screen_max_error): Likewise.
648 (update_stats): Likewise.
649 (print_max_error): Likewise. Update calls to other affected
650 functions.
651 (print_complex_max_error): Likewise.
652 (test_single_exception): Update calls to print_screen.
653 (test_single_errno): Likewise.
654 (check_float_internal): Remove xfail argument. Update calls to
655 other affected functions.
656 (check_float): Likewise.
657 (check_complex): Likewise.
658 (check_int): Likewise.
659 (check_long): Likewise.
660 (check_bool): Likewise.
661 (check_longlong): Likewise.
662 (main): Don't print noXFails and noXPasses.
663 * math/gen-libm-test.pl (top level): Don't mention expected
664 failure handling in comment.
665 (new_test): Don't handle expected failures.
666 (parse_args): Don't mention expected failure handling in comment.
667 (generate_testfile): Don't handle expected failures.
668 (parse_ulps): Likewise.
669 (print_ulps_file): Likewise.
670 (get_failure): Remove function.
671 (output_test): Don't handle expected failures.
672 * make/README.libm-test: Don't mention expected failure handling.
673
a7548d41
JM
674 * math/libm-test.inc (plus_zero): Make const. Add initializer.
675 (minus_zero): Likewise.
676 (plus_infty): Likewise.
677 (minus_infty): Likewise.
678 (qnan_value): Likewise.
679 (max_value): Likewise.
680 (min_value): Likewise.
681 (min_subnorm_value): Likewise.
682 (initialize): Do not initialize those variables dynamically.
683
60bfd54c
RM
6842013-05-03 Roland McGrath <roland@hack.frob.com>
685
cc0e6ed8
RM
686 * io/open.c (__open_2): Moved to ...
687 * io/open_2.c: ... this new file.
688 * io/open64.c (__open64_2): Moved to ...
689 * io/open64_2.c: ... this new file.
690 * io/openat.c (__openat_2): Moved to ...
691 * io/openat_2.c: ... this new file.
692 * io/openat64.c (__openat64_2): Moved to ...
693 * io/openat64_2.c: ... this new file.
694 * io/Makefile (routines): Add them.
695 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
696 * sysdeps/unix/sysv/linux/open_2.c: File removed.
697 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
698 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
699 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
700 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
701 (__openat64): Add hidden_ver.
702 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
703 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
704
60bfd54c
RM
705 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
706 Separately conditionalize setting of GLRO(dl_sysinfo) so
707 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
708 as well, but the actual setting is only under [NEED_DL_SYSINFO].
709
83e7640f
AZ
7102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
711
712 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
714 definition.
715 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
716 * sysdeps/unix/sysv/linux/powerpc/init-first.c
717 (_libc_vdso_platform_setup): Add __vdso_time initialization.
718 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
719 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
720
d5dc2af3
JM
7212013-05-03 Joseph Myers <joseph@codesourcery.com>
722
c31a5b1e
JM
723 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
724 test signgam value.
725
d5dc2af3
JM
726 * math/libm-test.inc (hypot_test): Do not use
727 IGNORE_ZERO_INF_SIGN.
728
164fd39d
AJ
7292013-05-03 Andreas Jaeger <aj@suse.de>
730
731 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
732 Linux 3.9.
733 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
734 (PF_MAX): Adjust for VSOCK change.
735
8237f48c
AZ
7362013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
737
738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
739
9df02941
CD
7402013-05-02 Carlos O'Donell <carlos@redhat.com>
741
742 [BZ #15264]
743 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
744 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
745 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
746
d422395e
DM
7472013-05-02 David S. Miller <davem@davemloft.net>
748
749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
750
a07c5731
OB
7512013-05-01 Ondřej Bílka <neleai@seznam.cz>
752
753 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
754
1324e37f
RM
7552013-05-01 Roland McGrath <roland@hack.frob.com>
756
757 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
758
0695940b
RS
7592013-05-01 Richard Smith <richard@metafoo.co.uk>
760
bb5f27ad 761 [BZ #14952]
0695940b
RS
762 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
763 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
764 Use __attribute__ ((__gnu_inline__)).
765 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
766 Don't use __attribute__ ((__gnu_inline__)).
767
10de07f5
JM
7682013-05-01 Joseph Myers <joseph@codesourcery.com>
769
770 [BZ #15423]
771 * math/s_catan.c (__catan): Handle small real or imaginary part of
772 input specially to avoid spurious underflow.
773 * math/s_catanf.c (__catanf): Likewise.
774 * math/s_catanh.c (__catanh): Likewise.
775 * math/s_catanhf.c (__catanhf): Likewise.
776 * math/s_catanhl.c (__catanhl): Likewise.
777 * math/s_catanl.c (__catanl): Likewise.
778 * math/libm-test.inc (catan_test): Add more tests.
779 (catanh_test): Likewise.
780 * sysdeps/i386/fpu/libm-test-ulps: Update.
781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
782
cb4d5414
AZ
7832013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
784
785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
786
caf84319
JM
7872013-04-30 Joseph Myers <joseph@codesourcery.com>
788
789 [BZ #15416]
790 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
791 accurately for denominator in atan2.
792 * math/s_catanf.c (__catanf): Likewise.
793 * math/s_catanh.c (__catanh): Likewise.
794 * math/s_catanhf.c (__catanhf): Likewise.
795 * math/s_catanhl.c (__catanhl): Likewise.
796 * math/s_catanl.c (__catanl): Likewise.
797 * math/libm-test.inc (catan_test): Add more tests.
798 (catanh_test): Likewise.
799 * sysdeps/i386/fpu/libm-test-ulps: Update.
800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
801
d569c6ee
SP
8022013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
803
6dbe713d
SP
804 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
805
f0ee064b
SP
806 * benchtests/Makefile (bench): Remove slow benchmarks.
807 * benchtests/atan-inputs: Add slow benchmark inputs.
808 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
809 (BENCH_FUNC): Accept variant offset.
810 (VARIANT): Define.
811 * benchtests/bench-skeleton.c (main): Run benchmark for each
812 variant.
813 * benchtests/cos-inputs: Add slow benchmark inputs.
814 * benchtests/exp-inputs: Likewise.
815 * benchtests/pow-inputs: Likewise.
816 * benchtests/sin-inputs: Likewise.
817 * benchtests/slowatan-inputs: Remove.
818 * benchtests/slowatan.c: Remove.
819 * benchtests/slowcos-inputs: Remove.
820 * benchtests/slowcos.c: Remove.
821 * benchtests/slowexp-inputs: Remove.
822 * benchtests/slowexp.c: Remove.
823 * benchtests/slowpow-inputs: Remove.
824 * benchtests/slowpow.c: Remove.
825 * benchtests/slowsin-inputs: Remove.
826 * benchtests/slowsin.c: Remove.
827 * benchtests/slowtan-inputs: Remove.
828 * benchtests/slowtan.c: Remove.
829 * benchtests/tan-inputs: Add slow benchmark inputs.
830 * scripts/bench.pl: Parse comments and directives.
831
d569c6ee
SP
832 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
833 in CPPFLAGS.
834 ($(objpfx)bench-%.c): Remove *-ITER.
835 * benchtests/bench-modf.c: Remove definition of ITER.
836 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
837 (main): Loop for DURATION seconds instead of fixed number of
838 iterations.
839 * scripts/bench.pl: Don't expect iterations in parameters.
840
a6a242fe
RM
8412013-04-29 Roland McGrath <roland@hack.frob.com>
842
843 * io/fchdir.c (__fchdir): Renamed from fchdir.
844 (fchdir): Define as weak alias.
845
f2da7793
JM
8462013-04-29 Joseph Myers <joseph@codesourcery.com>
847
848 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
849 (ERRNO_EDOM): Likewise.
850 (ERRNO_ERANGE): Likewise.
851 (noErrnoTests): New variable.
852 (init_max_error): Set errno to 0.
853 (test_single_errno): New function.
854 (test_errno): Likewise.
855 (check_float_internal): Call test_errno. Set errno to 0.
856 (check_complex): Refer to errno tests in comment.
857 (check_int): Call test_errno. Set errno to 0.
858 (check_long): Likewise.
859 (check_bool): Likewise.
860 (check_longlong): Likewise.
861 (cos_test): Use ERRNO_* flags for errno tests instead of
862 check_int.
863 (expm1_test): Likewise.
864 (fmod_test): Likewise.
865 (ilogb_test): Likewise.
866 (lgamma_test): Likewise.
867 (pow_test): Likewise.
868 (remainder_test): Likewise.
869 (sin_test): Likewise.
870 (tan_test): Likewise.
871 (yn_test): Likewise.
872 (initialize): Set errno to 0.
873 (main): Print number of errno tests.
874 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
875
b1a36ceb
AJ
8762013-04-29 Andreas Jaeger <aj@suse.de>
877
c3ed8088
AJ
878 [BZ #15084]
879 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
880 and RES_USEVC.
881
f1a24198
AJ
882 [BZ #15085]
883 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
884 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
885 unimplemented.
886
9ce3b2cb
AJ
887 [BZ #15380]
888 * stdlib/random.c (__initstate): Return NULL if
889 __initstate fails.
890
f1a24198 891 [BZ #15086]
b1a36ceb
AJ
892 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
893 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
894 RES_SNGLKUPREOP.
895
7e7b6f36
AZ
8962013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
897
898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
899
4d14f449
JM
9002013-04-29 Joseph Myers <joseph@codesourcery.com>
901
902 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
903 of individual tests.
904 (casin_test): Likewise.
905 (casinh_test): Likewise.
906
5b4217d7
JM
9072013-04-27 Joseph Myers <joseph@codesourcery.com>
908
909 [BZ #15409]
910 * math/s_catan.c (__catan): Handle arguments with large real or
911 imaginary part separately without squaring.
912 * math/s_catanf.c (__catanf): Likewise.
913 * math/s_catanh.c (__catanh): Likewise.
914 * math/s_catanhf.c (__catanhf): Likewise.
915 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
916 and redefine.
917 (__catanhl): Handle arguments with large real or imaginary part
918 separately without squaring.
919 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
920 and redefine.
921 (__catanl): Handle arguments with large real or imaginary part
922 separately without squaring.
923 * math/libm-test.inc (catan_test): Add more tests.
924 (catanh_test): Likewise.
925 * sysdeps/i386/fpu/libm-test-ulps: Update.
926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
927
4220c3ef
AJ
9282013-04-27 Andreas Jaeger <aj@suse.de>
929
930 [BZ #15007]
931 * stdlib/stdlib.h: Update guards for qecvt.
932 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
933 <stdlib.h>.
934
4721b2d1
AM
9352013-04-27 Allan McRae <allan@archlinux.org>
936
937 * sysdeps/i386/fpu/libm-test-ulps: Update.
938
f0302940
JM
9392013-04-26 Joseph Myers <joseph@codesourcery.com>
940
9457fd95
JM
941 [BZ #15406]
942 * math/s_catan.c: Include <float.h>.
943 (__catan): Ensure underflow exception occurs for underflowed
944 result.
945 * math/s_catanf.c: Include <float.h>.
946 (__catanf): Ensure underflow exception occurs for underflowed
947 result.
948 * math/s_catanh.c: Include <float.h>.
949 (__catanh): Ensure underflow exception occurs for underflowed
950 result.
951 * math/s_catanhf.c: Include <float.h>.
952 (__catanhf): Ensure underflow exception occurs for underflowed
953 result.
954 * math/s_catanhl.c: Include <float.h>.
955 (__catanhl): Ensure underflow exception occurs for underflowed
956 result.
957 * math/s_catanl.c: Include <float.h>.
958 (__catanl): Ensure underflow exception occurs for underflowed
959 result.
960 * math/libm-test.inc (catan_test): Add more tests.
961 (catanh_test): Likewise.
962
f0302940
JM
963 [BZ #15405]
964 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
965 underflowed result.
966 * math/s_ccoshf.c (__ccoshf): Likewise.
967 * math/s_ccoshl.c (__ccoshl): Likewise.
968 * math/s_csin.c (__csin): Likewise.
969 * math/s_csinf.c (__csinf): Likewise.
970 * math/s_csinh.c (__csinh): Likewise.
971 * math/s_csinhf.c (__csinhf): Likewise.
972 * math/s_csinhl.c (__csinhl): Likewise.
973 * math/s_csinl.c (__csinl): Likewise.
974 * math/libm-test.inc (ccos_test): Add more tests.
975 (ccosh_test): Likewise.
976 (csin_test): Likewise.
977 (csinh_test): Likewise.
978
aa630f59
AZ
9792013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
980
981 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
982 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
983 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
984 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
985 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
986 powerpc/power5+/fpu folders.
987 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
988
989
1b835983
MT
9902013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
991
992 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
993
73709b26
JM
9942013-04-25 Joseph Myers <joseph@codesourcery.com>
995
996 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
997 additions to variable.
998 [$(config-machine) = x86_64] (modules-names): Likewise.
999 ($(objpfx)tst-audit3): Remove dependency.
1000 ($(objpfx)tst-audit3.out): Likewise.
1001 ($(objpfx)tst-audit4): Likewise.
1002 ($(objpfx)tst-audit4.out): Likewise.
1003 ($(objpfx)tst-audit5): Likewise.
1004 ($(objpfx)tst-audit5.out): Likewise.
1005 ($(objpfx)tst-audit6): Likewise.
1006 ($(objpfx)tst-audit6.out): Likewise.
1007 ($(objpfx)tst-audit7): Likewise.
1008 ($(objpfx)tst-audit7.out): Likewise.
1009 (tst-audit3-ENV): Remove variable.
1010 (tst-audit4-ENV): Likewise.
1011 (tst-audit5-ENV): Likewise.
1012 (tst-audit6-ENV): Likewise.
1013 (tst-audit7-ENV): Likewise.
1014 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
1015 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
1016 addition to variable.
1017 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
1018 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
1019 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
1020 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
1021 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
1022 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
1023 tst-audit3, tst-audit4 and tst-audit5.
1024 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
1025 tst-audit6 and tst-audit7.
1026 [$(subdir) = elf] (modules-names): Add audit modules for those
1027 tests.
1028 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
1029 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
1030 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
1031 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
1032 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
1033 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
1034 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
1035 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
1036 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
1037 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
1038 [$(subdir) = elf] (tst-audit3-ENV): New variable.
1039 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
1040 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
1041 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
1042 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
1043 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
1044 Likewise.
1045 [$(subdir) = elf && $(config-cflags-avx) = yes]
1046 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
1047 [$(subdir) = elf && $(config-cflags-avx) = yes]
1048 (CFLAGS-tst-auditmod4a.c): Likewise.
1049 [$(subdir) = elf && $(config-cflags-avx) = yes]
1050 (CFLAGS-tst-auditmod4b.c): Likewise.
1051 [$(subdir) = elf && $(config-cflags-avx) = yes]
1052 (CFLAGS-tst-auditmod6b.c): Likewise.
1053 [$(subdir) = elf && $(config-cflags-avx) = yes]
1054 (CFLAGS-tst-auditmod6c.c): Likewise.
1055 [$(subdir) = elf && $(config-cflags-avx) = yes]
1056 (CFLAGS-tst-auditmod7b.c): Likewise.
1057 * elf/tst-audit3.c: Move to ...
1058 * sysdeps/x86_64/tst-audit3.c: ... here.
1059 * elf/tst-audit4.c: Move to ...
1060 * sysdeps/x86_64/tst-audit4.c: ... here.
1061 * elf/tst-audit5.c: Move to ...
1062 * sysdeps/x86_64/tst-audit5.c: ... here.
1063 * elf/tst-audit6.c: Move to ...
1064 * sysdeps/x86_64/tst-audit6.c: ... here.
1065 * elf/tst-audit7.c: Move to ...
1066 * sysdeps/x86_64/tst-audit7.c: ... here.
1067 * elf/tst-auditmod3a.c: Move to ...
1068 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
1069 * elf/tst-auditmod3b.c: Move to ...
1070 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
1071 * elf/tst-auditmod4a.c: Move to ...
1072 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
1073 * elf/tst-auditmod4b.c: Move to ...
1074 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
1075 * elf/tst-auditmod5a.c: Move to ...
1076 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
1077 * elf/tst-auditmod5b.c: Move to ...
1078 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
1079 * elf/tst-auditmod6a.c: Move to ...
1080 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
1081 * elf/tst-auditmod6b.c: Move to ...
1082 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
1083 * elf/tst-auditmod6c.c: Move to ...
1084 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
1085 * elf/tst-auditmod7a.c: Move to ...
1086 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
1087 * elf/tst-auditmod7b.c: Move to ...
1088 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
1089
1ef74943
PP
10902013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
1091
1092 [BZ #15366]
1093 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
1094 define unconditionally.
1095 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
1096 define unconditionally.
1097 (INT8_C, INT16_C, etc.): Likewise.
1098
93fd48c5
MR
10992013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
1100
ae9552cf
MR
1101 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
1102 __ehdr_start with hidden visibility.
1103
93fd48c5
MR
1104 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
1105
418601aa
CD
11062013-04-24 Carlos O'Donell <carlos@redhat.com>
1107
1108 * math/libm-test.inc (cos_test): Use accurate hex constants.
1109 (sincost_test): Likewise.
1110
2f38fbfe
JM
11112013-04-24 Joseph Myers <joseph@codesourcery.com>
1112
5e221800
JM
1113 * math/libm-test.inc (catan_test): Add more tests.
1114 (catanh_test): Likewise.
1115
77f143fd
JM
1116 * math/s_catanf.c (__catanf): Use suffixed floating-point
1117 constants.
1118 * math/s_catanhf.c (__catanhf): Likewise.
1119 * math/s_catanhl.c (__catanhl): Likewise.
1120 * math/s_catanl.c (__catanl): Likewise.
1121
2f38fbfe
JM
1122 [BZ #15394]
1123 * math/s_catan.c (__catan): Calculate imaginary part of result
1124 with log1p not log unless computing log of number close to 0.
1125 * math/s_catanf.c (__catanf): Likewise.
1126 * math/s_catanl.c (__catanl): Likewise.
1127 * math/s_catanh.c (__catanh): Calculate real part of result with
1128 log1p not log unless computing log of number close to 0.
1129 * math/s_catanhf.c (__catanhf): Likewise.
1130 * math/s_catanhl.c (__catanhl): Likewise.
1131 * math/libm-test.inc (catan_test): Add more tests.
1132 (catanh_test): Likewise.
1133 * sysdeps/i386/fpu/libm-test-ulps: Update.
1134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1135
45d69176
SP
11362013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1137
1138 * benchtests/Makefile: Mention files in which fast and slow
1139 paths of math functions are implemented.
1140
87f51853
RM
11412013-04-23 Roland McGrath <roland@hack.frob.com>
1142
1143 * sysdeps/posix/timespec_get.c: New file.
1144
3c026539
AZ
11452013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1146
1147 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
1148 POWER.
1149 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
1150 for POWER.
1151 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
1152 powerpc/power5/fpu folders.
1153 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
1154 * benchtests/Makefile: Add modf testcase.
1155 * benchtests/bench-modf.c: New file: Benchmark test for mo
1156
ff491d14
SP
11572013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1158
1159 [BZ #14888]
1160 * time/Makefile (tests): Add tst-strptime-whitespace.
1161 * time/strptime_l.c (get_number): Use ISSPACE.
1162 (__strptime_internal): Likewise.
1163 * time/tst-strptime-whitespace.c: New test case.
1164
7ed3f4e8
AS
11652013-04-23 Andreas Schwab <schwab@linux-m68k.org>
1166
1167 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
1168 member.
1169 (_nss_files_init): Set it here.
1170
5c95f7b6
HC
11712013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
1172
1173 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
1174 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
1175 unsigned.
1176
d34c9158
JBG
11772013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
1178
1179 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
1180
2169712d
SP
11812013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1182
1183 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
1184 size just once.
1185
29c5de99
DM
11862013-04-21 David S. Miller <davem@davemloft.net>
1187
1188 * po/ru.po: Update Russion translation from translation project.
1189
ccdad15d
AC
11902013-04-17 Adam Conrad <adconrad@0c3.net>
1191
1192 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
1193 and setfsgid.
1194
0f122b8d
CD
11952013-04-17 Carlos O'Donell <carlos@redhat.com>
1196
5c5b07da 1197 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 1198 * configure: Regenerate.
5c5b07da 1199 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
1200 Add example to error message.
1201 * sysdeps/i386/configure: Regenerate.
1202
037714dd
SP
12032013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1204
1205 * benchtests/Makefile (bench): Add cos, tan, slowcos and
1206 slowtan.
1207 * benchtests/cos-inputs: New file.
1208 * benchtests/slowcos-inputs: New file.
1209 * benchtests/slowcos.c: New file.
1210 * benchtests/slowtan-inputs: New file.
1211 * benchtests/slowtan.c: New file.
1212 * benchtests/tan-inputs: New file.
1213
e913141d
RM
12142013-04-16 Roland McGrath <roland@hack.frob.com>
1215
1216 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
1217 considered kosher.
1218
a2964074
SP
12192013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1220
4856bcd2
SP
1221 * benchtests/Makefile: Include cppflags-iterator.mk to add
1222 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
1223
a2964074
SP
1224 * Makefile.in (bench-clean): New target.
1225 * benchtests/Makefile (bench-clean): Likewise.
1226
9fbf9aca
DH
12272013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
1228
1229 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
1230
207d1e2a
TS
12312013-04-15 Thomas Schwinge <thomas@codesourcery.com>
1232
1233 * stdio-common/tstdiomisc.c: Fix coding-style violation.
1234
306dfba9
AS
12352013-04-15 Andreas Schwab <schwab@suse.de>
1236
1237 * nscd/grpcache.c (cache_addgr): Properly check for short write.
1238 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1239 * nscd/pwdcache.c (cache_addpw): Likewise.
1240 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
1241 more than recsize.
1242
206a6699
SP
12432013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1244
1245 * benchtests/Makefile (bench): Write all output to
1246 bench-out.tmp together.
1247
0582f6b3
AS
12482013-04-15 Andreas Schwab <schwab@suse.de>
1249
1250 * nscd/nscd.c (main): Don't fork again after closing files.
1251
acb4325f
SP
12522013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1253
5cb26d0a
SP
1254 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
1255
acb4325f
SP
1256 * benchtests/Rules (bench-deps): Collect dependencies into a
1257 single variable. Add Makefile to dependencies.
1258 ($(objpfx)bench-%.c): Depend on bench-deps.
1259
47792506
RM
12602013-04-12 Roland McGrath <roland@hack.frob.com>
1261 Xavier Roche <roche+kml2@exalead.com>
1262
1263 [BZ #15361]
1264 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
1265 just that it's a file descriptor.
1266 * manual/llio.texi (Synchronizing AIO Operations): Update description
1267 for EBADF error from aio_fsync.
1268
8fc1bee5
SP
12692013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1270
1271 * Rules (bench): Move target definition...
1272 * benchtests/Makefile: ... here.
1273
aba5e333
CD
12742013-04-11 Carlos O'Donell <carlos@redhat.com>
1275
1276 * math/libm-test.inc (cos_test): Fix PI/2 test.
1277 (sincos_test): Likewise.
1278 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1279 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
1280
273cdee8
AS
12812013-04-11 Andreas Schwab <schwab@suse.de>
1282
6ecec3b6
AS
1283 [BZ #13988]
1284 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
1285 accept exponent character only when digits were seen.
1286 * stdio-common/Makefile (tests): Add bug26.
1287 * stdio-common/bug26.c: New file.
1288
273cdee8
AS
1289 [BZ #14293]
1290 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
1291 non-freeable.
1292
8da491f5
SP
12932013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1294
01dc6df9
SP
1295 * Makeconfig (rtld-prefix): Define built linker prefix.
1296 * Rules (run-bench): Use it.
1297 * math/Makefile (run-regen-ulps): Likewise.
1298
8da491f5
SP
1299 * Rules (bench): Remove eval.
1300
abe7f530
SP
13012013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1302 Roland McGrath <roland@hack.frob.com>
1303 Ondrej Bilka <neleai@seznam.cz>
1304
1305 [BZ #15346]
1306 * time/getdate.c: Include ctype.h and alloca.h.
1307 (__getdate_r): Trim leading and trailing spaces of input.
1308 * time/tst-getdate.c (tests): Add tests with leading and
1309 trailing spaces.
1310
61c23e62
RM
13112013-04-08 Roland McGrath <roland@hack.frob.com>
1312
1313 [BZ #14280]
1314 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
1315 when computing value.
1316
7208a313
CD
13172013-04-06 Carlos O'Donell <carlos@redhat.com>
1318
085b2d41
CD
1319 * math/README.libm-test (How can I generate "libm-test-ulps"?):
1320 Use testrun.sh to run libm tests.
1321
7208a313
CD
1322 [BZ #15309]
1323 * elf/dl-open.c (dl_open_worker): memset all of seen array.
1324
872c0acd
MM
13252013-04-06 Marko Myllynen <myllynen@redhat.com>
1326
1327 [BZ #15264]
1328 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
1329
26510bdd
CD
13302013-04-06 Carlos O'Donell <carlos@redhat.com>
1331
1332 * Makefile.in (regen-ulps): New target.
1333 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
1334 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
1335 [ifneq (no,$(PERL)] (regen-ulps): New target.
1336 [ifeq (no,$(PERL)] (regen-ulps): New target.
1337 * math/libm-test.inc (ulps_file_name): Define.
1338 (output_dir): New variable.
1339 (options): Add "output-dir" option.
1340 (parse_opt): Handle 'o' case.
1341 (main): If output_dir is non-NULL use it as a prefix
1342 otherwise use "".
1343 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
1344
a01f19c8
CD
13452013-04-06 Carlos O'Donell <carlos@redhat.com>
1346
1347 [BZ #10060, #10062]
1348 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
1349 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
1350 fail configure if __sync_val_compare_and_swap is not inlined.
1351 * sysdeps/i386/configure: Regenerate.
1352 * configure.in: Build for i686 when configured for i386.
1353 * configure: Regenerate.
1354 * README: Remove i386 reference.
1355
b7a329a5
CD
13562013-04-06 Carlos O'Donell <carlos@redhat.com>
1357
1358 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
1359 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1360
bf0f50df
TS
13612013-04-05 Thomas Schwinge <thomas@codesourcery.com>
1362
ee091edf
TS
1363 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
1364 (lmsnanval): New variables.
1365 (F): Add conversion tests.
1366 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
1367 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
1368
a8b792d6
TS
1369 * stdio-common/tstdiomisc.c (F): Properly collect individual
1370 tests' results.
1371
a1cbf437
TS
1372 [BZ #14686, #15336]
1373 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
1374 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
1375 Instead, use input NaN values or generate a qNaN by arithmetic
1376 operation. Also fix bugs to comply with the standard.
1377 * math/libm-test.inc (remainder_test): Add more tests.
1378
8b43a0c9
TS
1379 [BZ #15335, #15342]
1380 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
1381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
1382 input NaN values or generate a qNaN by arithmetic operation.
1383
d91da4ce
TS
1384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
1385 unreachable code.
1386
bf0f50df
TS
1387 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
1388 definitions.
1389
05e166c8
JM
13902013-04-03 Joseph Myers <joseph@codesourcery.com>
1391
1392 [BZ #14478]
1393 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
1394 underflowed result.
1395 * math/s_cexpf.c (__cexpf): Likewise.
1396 * math/s_cexpl.c (__cexpl): Likewise.
1397 * math/libm-test.inc (cexp_test): Add more tests.
1398
1cef1b19
AS
13992013-04-03 Andreas Schwab <schwab@suse.de>
1400
1401 [BZ #15330]
1402 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
1403 order arrays from heap if bigger than alloca cutoff.
1404
74d87055
TS
14052013-04-03 Thomas Schwinge <thomas@codesourcery.com>
1406
1407 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
1408 (SNAN_TESTS_double): Refer to GCC PR56831.
1409 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
1410 GCC PR56828.
1411
d755bba4
SP
14122013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1413
90d5d5bb
SP
1414 * Rules (bench): Move bench.out after the run is complete.
1415
73e0cd5d
SP
1416 * Rules (bench): Echo currently running benchmark.
1417
64aabd4b
SP
1418 * benchtests/Makefile (bench): Add atan and slowatan.
1419 * benchtests/atan-inputs: New file.
1420 * benchtests/slowatan-inputs: New file.
1421 * benchtests/slowatan.c: New file.
1422
c871eccd
SP
1423 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
1424 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
1425 its value.
1426
d755bba4
SP
1427 [BZ #15305]
1428 * sysdeps/unix/sysv/linux/kernel-features.h
1429 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
1430 __ASSUME_XFS_RESTRICTED_CHOWN.
1431 * sysdeps/unix/sysv/linux/pathconf.c
1432 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
1433 Save and restore errno.
1434
52ce4860
JM
14352013-04-02 Joseph Myers <joseph@codesourcery.com>
1436
1437 [BZ #15327]
1438 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
1439 arguments using __kernel_casinh.
1440 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
1441 arguments using __kernel_casinhf.
1442 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
1443 arguments using __kernel_casinhl.
1444 * math/libm-test.inc (cacosh_test): Add more tests.
1445 * sysdeps/i386/fpu/libm-test-ulps: Update.
1446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1447
81f311c2
SP
14482013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1449
e7906a47
SP
1450 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
1451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
1452
92e3664b
SP
1453 * bench/Makefile (bench): Add sin and slowsin.
1454 * benchtests/sin-inputs: New file.
1455 * benchtests/slowsin-inputs: New file.
1456 * benchtests/slowsin.c: New file.
1457
81f311c2
SP
1458 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
1459 (bench): Add slowexp and slowpow.
1460 (exp-ITER): Increase iterations.
1461 (pow-ITER): Likewise.
1462 * benchtests/exp-inputs: Change input.
1463 * benchtests/pow-inputs: Likewise.
1464 * benchtests/slowexp-inputs: New file.
1465 * benchtests/slowexp.c: New file.
1466 * benchtests/slowpow-inputs: New file.
1467 * benchtests/slowpow.c: New file.
1468
ab0f1aa9
AZ
14692013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1470
1471 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
1472 instructions.
1473 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1474 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
1475 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1476 * benchtests/Makefile: Add rint benchtest.
1477 * benchtests/rint-inputs: Input for rint benchtest.
1478
57267616
TS
14792013-04-02 Thomas Schwinge <thomas@codesourcery.com>
1480
1481 * Versions.def (libm): Add GLIBC_2.18.
1482 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
1483 hidden libm prototypes.
1484 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
1485 * math/Makefile (libm-calls): Add s_issignaling.
1486 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
1487 __issignalingf, __issignalingl. Adjust all libm.abilist files.
1488 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
1489 declaration.
1490 * math/math.h [__USE_GNU] (issignaling): New macro.
1491 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
1492 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
1494 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
1495 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
1496 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
1497 * manual/arith.texi (issignaling): New section.
1498 * manual/libm-err-tab.pl (@all_functions): Update comment.
1499 * math/gen-libm-test.pl (parse_args): Apply special handling for
1500 issignaling.
1501 * math/libm-test.inc (print_float, issignaling_test): New
1502 functions.
1503 (check_float_internal): Add issignaling checks.
1504 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
1505 default definition.
1506 * sysdeps/powerpc/math-tests.h: New file.
1507 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
1508 tests.
1509 * math/test-snan.c (TEST_FUNC): Likewise.
1510
6142896d
DM
15112013-03-30 David S. Miller <davem@davemloft.net>
1512
1513 * po/de.po: Update from translation team.
1514
ccc8cadf
JM
15152013-03-30 Joseph Myers <joseph@codesourcery.com>
1516
1517 [BZ #10357]
1518 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1519 imaginary part less than 1.0 and real part less than 0.5
1520 specially.
1521 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1522 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1523 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
1524 (cacos_test): Add more tests.
1525 (casin_test): Likewise.
1526 (casinh_test): Likewise.
1527 * sysdeps/i386/fpu/libm-test-ulps: Update.
1528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1529
0f6a8d4b
SP
15302013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1531
0d1029de
SP
1532 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
1533 ONE with its value.
1534
c2d94018
SP
1535 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
1536 (__pow_mp): Replace ONE and MONE with their values.
1537 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1538 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
1539 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1540 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
1541 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1542 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1543
27ec37f1
SP
1544 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
1545
a64d7e0e
SP
1546 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
1547 (__pow_mp): Replace ZERO and MZERO with their values.
1548 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1549 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1550 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
1551 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1552 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1553 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
1554 (__sqr): Likewise.
1555
d26dd3eb
SP
1556 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
1557
0f6a8d4b
SP
1558 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
1559
e57b0c61
RM
15602013-03-28 Roland McGrath <roland@hack.frob.com>
1561
1562 * include/stdlib.h [!SHARED] (__call_tls_dtors):
1563 Declare with __attribute__ ((weak)).
1564 * stdlib/exit.c (__libc_atexit) [!SHARED]:
1565 Call __call_tls_dtors only if it's not NULL.
1566
356b3480
RM
15672013-03-28 Roland McGrath <roland@hack.frob.com>
1568
288f7d79
RM
1569 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
1570 didn't do it already, then set _dl_phdr and _dl_phnum based on the
1571 magic __ehdr_start linker symbol if it's defined.
1572 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
1573 them up here if it was already done.
1574
dc0a0263
RM
1575 * elf/dl-support.c (_dl_phdr): Make pointer to const.
1576 (_dl_aux_init): Use const in cast when setting it.
1577 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
1578 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
1579 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
1580
3d3436ae
RM
1581 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
1582 Declare them here.
1583 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
1584 * csu/libc-tls.c: Nor here.
1585 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
1586
356b3480
RM
1587 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
1588 (__libc_message): Never call vsyslog.
1589
b0f1246a
AM
15902013-03-28 Alan Modra <amodra@gmail.com>
1591
1592 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
1593 Define as empty.
1594 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
1595 Likewise.
1596
fbbe2b9a
AZ
15972013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1598
1599 [BZ #15214]
1600 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
1601 underflow.
1602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1603
1728ab37
SP
16042013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1605
7a86be6e
SP
1606 [BZ #15304]
1607 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1608 Don't add gid passed as argument.
1609
1728ab37
SP
1610 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
1611
3a7182a1
JM
16122013-03-27 Joseph Myers <joseph@codesourcery.com>
1613
1614 [BZ #15307]
1615 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1616 imaginary part between 1.0 and 1.5 and real part less than 0.5
1617 specially.
1618 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1619 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1620 * math/libm-test.inc (cacos_test): Add more tests.
1621 (casin_test): Likewise.
1622 (casinh_test): Likewise.
1623 * sysdeps/i386/fpu/libm-test-ulps: Update.
1624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1625
6f2e90e7
SP
16262013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1627
5739f705
SP
1628 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
1629 constants.
1630 (norm): Likewise.
1631 (denorm): Likewise.
1632 (__dbl_mp): Likewise.
1633 (add_magnitudes): Likewise.
1634 (sub_magnitudes): Likewise.
1635 (__add): Likewise.
1636 (__sub): Likewise.
1637 (__mul): Likewise.
1638 (__sqr): Likewise.
1639 (__inv): Likewise.
1640 (__dvd): Likewise.
1641
e375e83d
SP
1642 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
1643 commented code.
1644 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
1645 (__dubcos): Likewise.
1646 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
1647 (__ieee754_acos): Likewise.
1648 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
1649 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
1650 (__exp1): Likewise.
1651 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1652 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1653 (log1): Likewise.
1654 (my_log2): Likewise.
1655 (checkint): Likewise.
1656 * sysdeps/ieee754/dbl-64/e_remainder.c
1657 (__ieee754_remainder): Likewise.
1658 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
1659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1660 (bsloww): Likewise.
1661 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
1662
6f2e90e7
SP
1663 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
1664 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
1665 MANTISSA_STORE_T to store computations on mantissa. Use
1666 macros for rounding and division.
1667 (denorm): Likewise.
1668 (__dbl_mp): Likewise.
1669 (add_magnitudes): Likewise.
1670 (sub_magnitudes): Likewise.
1671 (__mul): Likewise.
1672 (__sqr): Likewise.
1673 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
1674 powers of two in terms of TWOPOW macro.
1675 (mp_no): Make type of mantissa as MANTISSA_T.
1676 [!RADIXI]: Define RADIXI.
1677 [!TWO52]: Define TWO52.
1678 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
1679
fce14d4e
AZ
16802013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1681
1682 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
1683 llroundl symbol when building for PPC32.
1684
9ad027fb
MW
16852013-03-24 Mark H Weaver <mhw@netris.org>
1686
1687 * manual/arith.texi (Normalization Functions): Fix prototypes for
1688 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
1689
e42a38dd
AZ
16902013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691
1692 [BZ #13889]
1693 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
1694 high value to check if expl overflow.
1695 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
1696 to check for underflow and overflow.
1697 * math/libm-test.inc: Add exp test.
1698
2e0fb521
DL
16992013-03-21 Dmitry V. Levin <ldv@altlinux.org>
1700
1701 [BZ #11120]
1702 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
1703 with NOT_IN_libc.
1704
b5784d95
AZ
17052013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1706
1707 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
1708 symbol.
1709
5aa4a1a1
TS
17102013-03-21 Thomas Schwinge <thomas@codesourcery.com>
1711
bdef0be7
TS
1712 * math/gen-libm-test.pl (parse_args, special_functions): Properly
1713 wrap blocks consisting of several statements.
1714
5aa4a1a1
TS
1715 * sysdeps/generic/math-tests.h: New file.
1716 * sysdeps/i386/fpu/math-tests.h: Likewise.
1717 * math/test-snan.c: Include it.
1718 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
1719
98c48fe5
JM
17202013-03-21 Joseph Myers <joseph@codesourcery.com>
1721
1722 [BZ #15285]
1723 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
1724 (__ieee754_j0l): Do not improve calculations using cos of twice
1725 input for inputs above LDBL_MAX / 2.0L.
1726 (__ieee754_y0l): Likewise.
1727 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
1728 (__ieee754_j1l): Do not improve calculations using cos of twice
1729 input for inputs above LDBL_MAX / 2.0L.
1730 (__ieee754_y1l): Likewise.
1731 * math/libm-test.inc (j0_test): Add another test.
1732 (j1_test): Likewise.
1733 (y0_test): Likewise.
1734 (y1_test): Likewise.
1735 * sysdeps/i386/fpu/libm-test-ulps: Update.
1736
3775a8bc
SP
17372013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1738
1739 * Rules ($(objpfx)bench-%.c): Include code from a C source
1740 file.
1741
0a1b2ae6
JM
17422013-03-21 Joseph Myers <joseph@codesourcery.com>
1743
1744 [BZ #15287]
1745 * math/k_casinh.c (__kernel_casinh): Handle arguments with
1746 imaginary part 1.0 and real part less than 0.5 specially.
1747 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1748 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1749 * math/libm-test.inc (cacos_test): Add more tests.
1750 (casin_test): Likewise.
1751 (casinh_test): Likewise.
1752 * sysdeps/i386/fpu/libm-test-ulps: Update.
1753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1754
b33d4ce4
SP
17552013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1756
1757 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
1758 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
1759
bef0b507
JM
17602013-03-20 Joseph Myers <joseph@codesourcery.com>
1761
1762 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
1763 * config.make.in (config-cflags-sse4): Remove variable.
1764 (config-cflags-avx): Likewise.
1765 (config-cflags-sse2avx): Likewise.
1766 (config-cflags-novzeroupper): Likewise.
1767 (config-asflags-i686): Likewise.
1768 (have-mfma4): Likewise.
1769 (have-as-vis3): Likewise.
1770 (MIG): Likewise.
1771 * configure.in (MIG): Do not AC_SUBST.
1772 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
1773 (libc_cv_cc_sse4): Do not AC_SUBST.
1774 (libc_cv_cc_avx): Likewise.
1775 (libc_cv_cc_sse2avx): Likewise.
1776 (libc_cv_cc_novzeroupper): Likewise.
1777 (libc_cv_cc_fma4): Likewise.
1778 (libc_cv_as_i686): Likewise.
1779 (libc_cv_sparc_as_vis3): Likewise.
1780 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
1781 LIBC_CONFIG_VAR.
1782 (config-asflags-i686): Likewise.
1783 (config-cflags-avx): Likewise.
1784 (config-cflags-sse2avx): Likewise.
1785 (have-mfma4): Likewise.
1786 (config-cflags-novzeroupper): Likewise.
1787 * sysdeps/mach/configure.in (MIG): Likewise.
1788 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
1789 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
1790 LIBC_CONFIG_VAR.
1791 (config-cflags-avx): Likewise.
1792 (config-cflags-sse2avx): Likewise.
1793 (have-mfma4): Likewise.
1794 (config-cflags-novzeroupper): Likewise.
1795 * configure: Regenerated.
1796 * sysdeps/i386/configure: Likewise.
1797 * sysdeps/mach/configure: Likewise.
1798 * sysdeps/sparc/configure: Likewise.
1799 * sysdeps/x86_64/configure: Likewise.
1800
912cc4b3
RM
18012013-03-20 Roland McGrath <roland@hack.frob.com>
1802
1803 [BZ #14812]
1804 * locale/programs/localedef.c (options): Put N_ translation marker
1805 on argument names, not just descriptions.
1806
04eed2b0
MS
18072013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1808
1809 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
1810
a065ceff
OB
18112013-03-20 Ondřej Bílka <neleai@seznam.cz>
1812
9bb2a810 1813 [BZ #14176]
a065ceff
OB
1814 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
1815
a600e5ce
RM
18162013-03-19 Roland McGrath <roland@hack.frob.com>
1817
1818 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
1819 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
1820 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
1821 [!BEFORE_ABORT] (before_abort): New function.
1822 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
1823 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
1824 (writev_for_fatal): New function.
1825 (WRITEV_FOR_FATAL): New macro; call that.
1826 (backtrace_and_maps): New function.
1827 (BEFORE_ABORT): New macro; call that.
1828 (struct str_list): Type removed.
1829 (__libc_message, __libc_fatal): Functions removed.
1830 Include <sysdeps/posix/libc_fatal.c> instead.
1831
6b18bea6
JM
18322013-03-19 Joseph Myers <joseph@codesourcery.com>
1833
1834 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
1835 constants.
1836 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
1837 double constants.
1838
aaa8cb4b
AS
18392013-03-19 Andreas Schwab <schwab@suse.de>
1840
44673770
AS
1841 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
1842 * sysdeps/gnu/configure: Regenerate.
1843
aaa8cb4b
AS
1844 * configure.in: Substitute libc_cv_rtlddir.
1845 * configure: Regenerate.
1846 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
1847 * Makeconfig (rtlddir, inst_rtlddir): New variables.
1848 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
1849 * elf/Makefile (install-others, CFLAGS-interp.c)
1850 (ldso_install, common-ldd-rewrite): Likewise.
1851 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
1852 $(inst_slibdir)/$(rtld-installed-name).
1853 * scripts/rellns-sh: Add -p option.
1854 * Makerules (make-shlib-link): Use rellns-sh to get relative name
1855 for source.
1856
d3cfc668
SP
18572013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1858
1859 * manual/nptl.texi: Renamed to ...
1860 * manual/threads.texi: ... this.
1861 * manual/Makefile (chapters): Update.
1862
0e2b9cdd
RM
18632013-03-18 Roland McGrath <roland@hack.frob.com>
1864
1865 [BZ #14812]
1866 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
1867 on argument names, not just descriptions.
0e2b9cdd
RM
1868 * malloc/memusagestat.c (options): Likewise.
1869 * nss/getent.c (options): Likewise.
63270c24
RM
1870
18712013-03-18 Benno Schulenberg <bensberg@justemail.net>
1872
1873 [BZ #14812]
1874 * iconv/iconv_prog.c (options): Put N_ translation marker
1875 on argument names, not just descriptions.
1876 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 1877
b2e1393c
OB
18782013-03-18 Ondrej Bilka <neleai@seznam.cz>
1879
1880 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
1881 implementation which is faster on all x86_64 architectures.
1882 Tested on AMD, Intel Nehalem, SNB, IVB.
1883 * sysdeps/x86_64/strnlen.S: Likewise.
1884
1885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1886 Remove all multiarch strlen and strnlen versions.
1887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1888 Remove strlen and strnlen related parts.
1889
1890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
1891 Inline strlen part.
1892 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1893
1894 * sysdeps/x86_64/multiarch/strlen.S: Remove.
1895 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
1896 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
1897 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
1898 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
1899 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
1900
ec4ff04d
CD
19012013-03-17 Carlos O'Donell <carlos@redhat.com>
1902
1903 * manual/memory.texi (Malloc Tunable Parameters):
1904 Sort parameters alphabetically. Add comments for missing entries.
1905
cd18e90a
DM
19062013-03-17 David S. Miller <davem@davemloft.net>
1907
1908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1909
2a185d32
JM
19102013-03-16 Joseph Myers <joseph@codesourcery.com>
1911
d2f9799e
JM
1912 [BZ #15283]
1913 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
1914 for arguments at most half maximum finite value.
1915 * math/libm-test.inc (j0_test): Add more tests.
1916 (j1_test): Likewise.
1917 (y0_test): Likewise.
1918 (y1_test): Likewise.
1919 * sysdeps/i386/fpu/libm-test-ulps: Update.
1920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1921
2a185d32
JM
1922 [BZ #14155]
1923 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
1924 1 / x and functions P and Q for arguments above 0x1p256L.
1925 (__ieee754_y0l): Likewise.
1926 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
1927 (__ieee754_y1l): Likewise.
1928 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
1929 (j1_test): Likewise.
1930 (y0_test): Likewise.
1931 (y1_test): Likewise.
1932
6cbec759
TS
19332013-03-16 Thomas Schwinge <thomas@codesourcery.com>
1934
1935 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
1936 variable.
1937
bc16e260
RM
19382013-03-15 Roland McGrath <roland@hack.frob.com>
1939
aefc9b8c
RM
1940 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
1941 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
1942 zero since it's initialized to EXEC_PAGESIZE.
1943
bc16e260
RM
1944 * sysdeps/unix/sysv/linux/ldsodefs.h
1945 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
1946 * sysdeps/generic/ldsodefs.h: ... here.
1947
a57da955
TS
19482013-03-15 Thomas Schwinge <thomas@codesourcery.com>
1949
af00a34d
TS
1950 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
1951
495ded2c
TS
1952 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
1953 math/test-snan.c.
1954 * math/test-snan.c: Renamed from
1955 sysdeps/powerpc/fpu/test-powerpc-snan.c.
1956 * math/Makefile (tests): Add test-snan.
1957 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
1958 test-powerpc-snan.
1959
777b0332
TS
1960 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
1961 SUFFIX. Initialize qNaN_var with __builtin_nan family of
1962 functions.
1963 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
1964 __builtin_nan family of functions.
1965 * math/libm-test.inc (initialize): Initialize qnan_value with
1966 __builtin_nan family of functions.
1967 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
1968 Remove variables.
1969 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
1970 Remove functions.
1971 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
1972 storage class. Initialize qNaN_var and sNaN_var with
1973 __builtin_nan and __builtin_nans families of functions,
1974 respectively.
1975
64d063b8
TS
1976 * math/libm-test.inc (acosh_test): Also test with qNaN input.
1977 (sqrt_test): Remove duplicate test with qNaN input.
1978 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
1979 (round_test, signbit_test, significand_test): Note missing +/-Inf
1980 as well as qNaN tests.
1981
67e971f1
TS
1982 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
1983 qNaN_var. Fix a few strings, too.
1984 * math/libm-test.inc (nan_value): Rename to qnan_value.
1985 * math/gen-libm-test.pl (%beautify): Adjust to that.
1986 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
1987 * math/test-misc.c (main): Likewise.
1988 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
1989 to __qnan_bytes, and __qnan_union, respectively.
1990 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
1991 Likewise.
1992 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
1993 and lqnanval, respectively.
1994 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
1995 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
1996 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
1997 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
1998
64487e12
TS
1999 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
2000 * math/test-misc.c (main) [__x86_64__]: Enable test for long
2001 doubles.
2002
e015e27b
TS
2003 * math/test-misc.c (main): Fix copy'n'pastos.
2004 * misc/tst-efgcvt.c (special): Likewise.
2005
a57da955
TS
2006 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
2007 Remove declarations.
2008
1e380345
SP
20092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2010
2011 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
2012 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
2013 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
2014 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
2015
ef26eece
AZ
20162013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2017
2018 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
2019 macro to return vdso values correctly in IFUNC implementations.
2020 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2021 Optimization by using IFUNC.
2022
8cfdb7e0
SP
20232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2024 Richard Henderson <rth@redhat.com>
2025 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2026
2027 * Makefile.in (bench): New target.
2028 * NEWS: Mention the benchmark framework.
2029 * Rules (bench): Likewise.
2030 (binaries-bench): Generate binaries for functions to
2031 benchmark.
2032 * benchtests/Makefile: New makefile for benchmark tests.
2033 * benchtests/bench-skeleton.c: New skeleton file for benchmark
2034 programs.
2035 * benchtests/exp-inputs: New input file for EXP function.
2036 * benchtests/pow-inputs: New input file for POW function.
2037 * scripts/bench.pl: New script to generate source files for
2038 benchmark programs.
2039
bcda9880
SP
20402013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2041
d22ca8cd
SP
2042 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
2043 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
2044 computations on mantissa. Use macros for rounding and
2045 division.
2046 (denorm): Likewise.
2047 (__dbl_mp): Likewise.
2048 (add_magnitudes): Likewise.
2049 (sub_magnitudes): Likewise.
2050 (__mul): Likewise.
2051 (__sqr): Likewise.
2052 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
2053 powers of two in terms of TWOPOW macro.
2054 (mp_no): Make type of mantissa as MANTISSA_T.
2055 [!RADIXI]: Define RADIXI.
2056 [!TWO52]: Define TWO52.
2057 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
2058
bcda9880
SP
2059 * manual/nptl.texi (cindex): Modify threads to pthreads.
2060
06d5adfb
JM
20612013-03-15 Joseph Myers <joseph@codesourcery.com>
2062
2063 * sysdeps/x86_64/preconfigure: Regenerated.
2064
41c7328e
JM
20652013-03-14 Joseph Myers <joseph@codesourcery.com>
2066
2067 [BZ #14155]
2068 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
2069 0x1p28 and above.
2070 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
2071 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
2072 0x1p28 and above.
2073 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
2074 * math/libm-test.inc (j0_test): Do not allow one spurious
2075 underflow exception.
2076 (y1_test): Likewise.
2077
e25cfa60
SP
20782013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2079
0409959c
SP
2080 * manual/Makefile (chapters): Add nptl.
2081 * manual/debug.texi (Debugging Support): Add link to Threads
2082 chapter.
2083 * manual/nptl.texi: New file.
2084
e25cfa60
SP
2085 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
2086
58a1335e
PB
20872013-03-14 Petr Baudis <pasky@ucw.cz>
2088
2089 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
2090 for non-NULL pointer before the memory validity test. Pointed
2091 out by Holger Brunck <holger.brunck@keymile.com>.
2092
9dc7c64f
AS
20932013-03-13 Andreas Schwab <schwab@suse.de>
2094
2095 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
2096 instead of .os.
2097
54206aa6
JM
20982013-03-13 Joseph Myers <joseph@codesourcery.com>
2099
2100 * timezone/zic.c: Update from tzcode 2013b.
2101
e98cdb38
CD
21022013-03-12 Carlos O'Donell <carlos@redhat.com>
2103
2104 * manual/install.texi (Configuring and compiling):
2105 Mention i686 and i586.
2106 * INSTALL: Regenerate.
2107
9967e003
RM
21082013-03-12 Roland McGrath <roland@hack.frob.com>
2109
2110 * sysdeps/init_array/elf-init.c: New file.
2111 * csu/elf-init.c
2112 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
2113 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
2114
2115 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
2116 __gmon_start__ as global, but as static with a .preinit_array pointer.
2117 * sysdeps/init_array/gmon-start.c: New file. Use that.
2118 * sysdeps/init_array/crti.S: New file, empty except for comments.
2119 * sysdeps/init_array/crtn.S: Likewise.
2120
e6b5a293 21212013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
2122
2123 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
2124 definining bcopy.
80f844c9
OB
2125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2126 Remove Prefer_SSE_for_memop.
2127 * sysdeps/x86_64/multiarch/init-arch.h: Remove
2128 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
2129 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
2130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2131 memset-x86-64.
80f844c9 2132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 2133 Remove bzero, memset ifunc support.
80f844c9
OB
2134 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
2135 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
2136 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2137 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2138
fb6b0fcb
AS
21392013-03-11 Andreas Schwab <schwab@suse.de>
2140
2141 [BZ #15234]
2142 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
2143 by SHLIB_COMPAT.
2144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
2145 (GLIBC_2.16): Remove pthread_atfork.
2146
3e6bd4b1
PP
21472013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2148
2149 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
2150 (ptestcases.h): Likewise.
2151
222d7f00
RM
21522013-03-08 Roland McGrath <roland@hack.frob.com>
2153
2154 * Makeconfig ($(common-objpfx)config.status): Depend on
2155 sysdeps/*/preconfigure{,.in} too.
2156
1ba4f030
JM
21572013-03-08 Joseph Myers <joseph@codesourcery.com>
2158
a222d91a
JM
2159 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
2160 (__free_hook): Use void * instead of __malloc_ptr_t.
2161 (__malloc_hook): Likewise.
2162 (__realloc_hook): Likewise.
2163 (__memalign_hook): Likewise.
2164 (__after_morecore_hook): Likewise.
2165 * malloc/arena.c (save_malloc_hook): Likewise.
2166 (save_free_hook): Likewise.
2167 * malloc/hooks.c (malloc_hook_ini): Likewise.
2168 (realloc_hook_ini): Likewise.
2169 (memalign_hook_ini): Likewise.
2170 * malloc/malloc.c (malloc_hook_ini): Likewise.
2171 (realloc_hook_ini): Likewise.
2172 (memalign_hook_ini): Likewise.
2173 (__free_hook): Likewise.
2174 (__malloc_hook): Likewise.
2175 (__realloc_hook): Likewise.
2176 (__memalign_hook): Likewise.
2177 (__libc_malloc): Likewise.
2178 (__libc_free): Likewise.
2179 (__libc_realloc): Likewise.
2180 (__libc_memalign): Likewise.
2181 (__libc_valloc): Likewise.
2182 (__libc_pvalloc): Likewise.
2183 (__libc_calloc): Likewise.
2184 (__posix_memalign): Likewise.
2185 * malloc/morecore.c (__sbrk): Likewise.
2186 (__default_morecore): Likewise.
2187
5cc45e10
JM
2188 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
2189
dd54b864
JM
2190 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
2191 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
2192 __malloc_ptrdiff_t.
2193
1ba4f030
JM
2194 * malloc/malloc.h (__malloc_size_t): Remove macro.
2195 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
2196 __malloc_size_t.
2197 (old_memalign_hook): Likewise.
2198 (old_realloc_hook): Likewise.
2199 (struct hdr): Likewise.
2200 (flood): Likewise.
2201 (mallochook): Likewise.
2202 (memalignhook): Likewise.
2203 (reallochook): Likewise.
2204 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
2205 (tr_old_realloc_hook): Likewise.
2206 (tr_old_memalign_hook): Likewise.
2207 (tr_mallochook): Likewise.
2208 (tr_reallochook): Likewise.
2209 (tr_memalignhook): Likewise.
2210
edf66e57
AZ
22112013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2212
2213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
2214 default_ldbl_pack and using as default implementation.
2215 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
2216 implementation.
2217 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
2218 redundant definition.
2219 (ldbl_insert_mantissa): Likewise.
2220 (ldbl_canonicalize): Likewise.
2221 (ldbl_nearbyint): Likewise.
2222 (ldbl_pack): Rename to ldbl_pack_ppc.
2223 (ldbl_unpack): Rename to ldbl_unpack_ppc.
2224 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
2225 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
2226
6d9145d8
SP
22272013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2228
2229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
2230 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
2231 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
2232 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
2233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
2234 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
2235 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
2236 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
2237
4dd4e157
AJ
22382013-03-07 Andreas Jaeger <aj@suse.de>
2239
2240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2241 bits/mman-linux.h.
2242
adbb8027
SP
22432013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2244
ce544b5b
SP
2245 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
2246 Include mpa.h and declare __MPEXP.
2247 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
2248 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2249 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
2251 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2252 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
2253 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
2254
4cc149fd
SP
2255 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
2256 (__slowpow): Use long double EXPL and LOGL functions to
2257 compute POW.
2258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
2259 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2260 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
2261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
2262 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
2263 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
2264
e6ebd4a7
SP
2265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
2266 intermediate variable to calculate exponent.
2267 (__sqr): Likewise.
2268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2269 Likewise.
2270 (__sqr): Likewise.
2271
82a9811d
SP
2272 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
2273 [!NO__SQR]: Define __sqr.
2274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
2275 and NO__SQR. Remove all code except __mul and __sqr. Include
2276 sysdeps/ieee754/dbl-64/mpa.c.
2277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2278
adbb8027
SP
2279 [BZ #12723]
2280 * posix/Makefile (tests): Add tst-pathconf.
2281 * posix/tst-pathconf.c: New test case.
2282 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
2283 _PC_PIPE_BUF.
2284 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
2285
39120df9
PF
22862013-03-06 Patsy Franklin <pfrankli@redhat.com>
2287
2288 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
2289
67525cb8
AJ
22902013-03-06 Andreas Jaeger <aj@suse.de>
2291
664a9ce4
AJ
2292 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
2293 definition via __MAP_ANONYMOUS.
2294
8e39047d
AJ
2295 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
2296 it's not part of Linux headers.
2297
67525cb8
AJ
2298 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
2299 (MAP_HUGE_MASK): Define.
2300
2301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2302 Define.
2303 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2304 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2305 Define.
2306 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2307 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
2308 Define.
2309 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
2311 Define.
2312 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
2313
2314 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
2315 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
2316 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
2317 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
2318 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
2319 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
2320
2321 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
2322 Handle f2fs.
2323
2324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2325 Handle f2fs and efivarfs.
2326
2327 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
2328 f2fs.
2329
2330 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
2331 (EFIVARFS_MAGIC): Add.
2332 (F2FS_LINK_MAX): Add.
2333
e1b42695
PP
23342013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2335
2336 * stdio-common/vfprintf.c: Replace __builtin_expect with
2337 __glibc_unlikely.
2338
2d67d91a
JM
23392013-03-06 Joseph Myers <joseph@codesourcery.com>
2340
2341 [BZ #13550]
2342 * sysdeps/generic/bp-sym.h: Remove file.
2343 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
2344 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
2345 <bp-sym.h> and <bp-asm.h>.
2346 (__longjmp): Don't use BP_SYM.
2347 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
2348 and <bp-asm.h>.
2349 (memcpy): Don't use BP_SYM.
2350 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
2351 <bp-sym.h> and <bp-asm.h>.
2352 (memcpy): Don't use BP_SYM.
2353 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
2354 <bp-asm.h>.
2355 (memcpy): Don't use BP_SYM.
2356 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
2357 <bp-asm.h>.
2358 (memset): Don't use BP_SYM.
2359 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2360 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2361 (__bzero): Don't use BP_SYM.
2362 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2363 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2364 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
2365 <bp-sym.h> and <bp-asm.h>.
2366 (memcmp): Don't use BP_SYM. Remove comment about bounded
2367 pointers.
2368 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
2369 <bp-sym.h> and <bp-asm.h>.
2370 (memcpy): Don't use BP_SYM.
2371 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
2372 <bp-sym.h> and <bp-asm.h>.
2373 (memset): Don't use BP_SYM.
2374 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2375 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2376 (__bzero): Don't use BP_SYM.
2377 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2378 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2379 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
2380 <bp-sym.h> and <bp-asm.h>.
2381 (strncmp): Don't use BP_SYM. Remove comment about bounded
2382 pointers.
2383 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
2384 <bp-sym.h> and <bp-asm.h>.
2385 (memcpy): Don't use BP_SYM.
2386 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
2387 <bp-sym.h> and <bp-asm.h>.
2388 (memset): Don't use BP_SYM.
2389 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2390 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2391 (__bzero): Don't use BP_SYM.
2392 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2393 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2394 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
2395 <bp-sym.h> and <bp-asm.h>.
2396 (__memchr): Don't use BP_SYM.
2397 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
2398 <bp-sym.h> and <bp-asm.h>.
2399 (memcmp): Don't use BP_SYM. Remove comment about bounded
2400 pointers.
2401 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
2402 <bp-sym.h> and <bp-asm.h>.
2403 (memcpy): Don't use BP_SYM.
2404 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
2405 <bp-sym.h> and <bp-asm.h>.
2406 (__mempcpy): Don't use BP_SYM.
2407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
2408 <bp-sym.h> and <bp-asm.h>.
2409 (__memrchr): Don't use BP_SYM.
2410 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
2411 <bp-sym.h> and <bp-asm.h>.
2412 (memset): Don't use BP_SYM.
2413 (__bzero): Likewise.
2414 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
2415 <bp-sym.h> and <bp-asm.h>.
2416 (__rawmemchr): Don't use BP_SYM.
2417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
2418 <bp-sym.h> and <bp-asm.h>.
2419 (__STRCMP): Don't use BP_SYM.
2420 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
2421 <bp-sym.h> and <bp-asm.h>.
2422 (strchr): Don't use BP_SYM.
2423 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
2424 <bp-sym.h> and <bp-asm.h>.
2425 (__strchrnul): Don't use BP_SYM.
2426 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
2427 <bp-sym.h> and <bp-asm.h>.
2428 (strlen): Don't use BP_SYM.
2429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
2430 <bp-sym.h> and <bp-asm.h>.
2431 (strncmp): Don't use BP_SYM. Remove comment about bounded
2432 pointers.
2433 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
2434 <bp-sym.h> and <bp-asm.h>.
2435 (__strnlen): Don't use BP_SYM.
2436 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
2437 <bp-sym.h> and <bp-asm.h>.
2438 (__GI__setjmp): Don't use BP_SYM.
2439 (_setjmp): Likewise.
2440 (__sigsetjmp): Likewise.
2441 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
2442 (L(start_addresses)): Don't use BP_SYM.
2443 (_start): Likewise.
2444 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
2445 <bp-asm.h>.
2446 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
2447 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
2448 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2449 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2450 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
2451 <bp-asm.h>.
2452 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
2453 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
2454 about bounded pointers.
2455 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2456 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2457 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
2458 <bp-asm.h>.
2459 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2460 about bounded pointers. Remove GKM FIXME comments.
2461 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2462 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
2463 <bp-asm.h>.
2464 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
2465 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
2466 Remove GKM FIXME comments.
2467 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2468 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2469 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
2470 <bp-asm.h>.
2471 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
2472 about bounded pointers. Remove GKM FIXME comment.
2473 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
2474 and <bp-asm.h>.
2475 (strncmp): Don't use BP_SYM. Remove comment about bounded
2476 pointers.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
2478 <bp-sym.h> and <bp-asm.h>.
2479 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
2481 <bp-sym.h> and <bp-asm.h>.
2482 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2483 comment.
2484
cdcf361f
PP
24852013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
2486
2487 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
2488 call free(NULL).
2489
3c4a2b15
DM
24902013-03-05 David S. Miller <davem@davemloft.net>
2491
2492 * po/es.po: Update from translation team.
2493
cdcf361f 24942013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
2495
2496 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
2497 <bits/mman-linux.h>.
2498 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2499 is fine.
2500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
2501 <bits/mman-linux.h> to end of file.
2502 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2503 is fine.
2504 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
2505 <bits/mman-linux.h> to end of file.
2506 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
2507 is fine.
2508 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
2509 <bits/mman-linux.h> to end of file.
2510
2511 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
2512 (MCL_CURRENT, MCL_FUTURE): Define here.
2513
5f67c04f
AK
25142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2515
8a4473cc 2516 [BZ #15232]
5f67c04f
AK
2517 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
2518 attribute_hidden.
2519 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2520
c3e94a95
AK
25212013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2522
2523 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
2524 fourth parameter needed for rt_sigprocmask syscall.
2525 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
2526 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2527 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
2528 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2529 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2530 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
2531
cfb6382a
JM
25322013-03-04 Joseph Myers <joseph@codesourcery.com>
2533
2534 [BZ #13550]
2535 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
2536 comment about bounded pointers.
2537 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
2538 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
2539
539d8e01
AJ
25402013-03-04 Andreas Jaeger <aj@suse.de>
2541
2542 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
2543 common definitions.
2544
2545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
2546 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
2547 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
2548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2549 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
2550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2551
2e167a70 25522013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
2553
2554 [BZ #15055]
2555 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2556 __ieee754_sqrl instead of __sqrl.
2557
68508633
JM
25582013-03-01 Joseph Myers <joseph@codesourcery.com>
2559
2560 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
2561 * sysdeps/powerpc/fpu_control.h: ... here.
2562 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
2563 * sysdeps/powerpc/bits/fenvinline.h: ... here.
2564 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
2565 * sysdeps/powerpc/bits/mathinline.h: ... here.
2566
7775448e
RM
25672013-03-01 Roland McGrath <roland@hack.frob.com>
2568
2569 * elf/dl-hwcaps.c (_dl_important_hwcaps):
2570 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
2571 to just [NEED_DL_SYSINFO_DSO].
2572 * elf/dl-support.c: Likewise.
2573 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2574 * elf/rtld.c (dl_main): Likewise.
2575 * elf/setup-vdso.h (setup_vdso): Likewise.
2576 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
2577 * sysdeps/unix/sysv/linux/dl-sysdep.c
2578 (_dl_discover_osversion): Likewise.
2579
4e9b5995
CD
25802013-03-01 Carlos O'Donell <carlos@redhat.com>
2581
2582 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
2583 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2584
e23872c8
SP
25852013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
2586
e5c74c63
SP
2587 * NEWS: Mention libm performance improvements and non-x86 PI
2588 futex support.
2589
e23872c8
SP
2590 * csu/libc-start.c (__pthread_initialize_minimal): Change
2591 function arguments.
2592 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
2593
b5510883
JM
25942013-02-28 Joseph Myers <joseph@codesourcery.com>
2595
2596 [BZ #13550]
2597 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
2598 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
2599 <bp-sym.h> and <bp-asm.h>.
2600 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2601 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
2602 and <bp-asm.h>.
2603 (memcpy): Don't use BP_SYM.
2604 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
2605 <bp-asm.h>.
2606 (__mpn_add_n): Don't use BP_SYM.
2607 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
2608 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
2609 and <bp-asm.h>.
2610 (__mpn_addmul_1): Don't use BP_SYM.
2611 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2612 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
2613 <bp-sym.h>.
2614 (_setjmp): Don't use BP_SYM.
2615 (__novmx_setjmp): Likewise.
2616 (__GI__setjmp): Likewise.
2617 (__vmx_setjmp): Likewise.
2618 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
2619 <bp-sym.h>.
2620 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
2621 (__bzero): Don't use BP_SYM.
2622 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
2623 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
2624 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
2625 <bp-sym.h> and <bp-asm.h>.
2626 (memcpy): Don't use BP_SYM.
2627 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
2628 <bp-sym.h> and <bp-asm.h>.
2629 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2630 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
2631 <bp-sym.h> and <bp-asm.h>.
2632 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
2633 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
2634 <bp-asm.h>.
2635 (__mpn_lshift): Don't use BP_SYM.
2636 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2637 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
2638 <bp-asm.h>.
2639 (memset): Don't use BP_SYM.
2640 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
2641 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
2642 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
2643 <bp-asm.h>.
2644 (__mpn_mul_1): Don't use BP_SYM.
2645 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2646 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
2647 <bp-sym.h> and <bp-asm.h>.
2648 (memcmp): Don't use BP_SYM.
2649 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
2650 <bp-sym.h> and <bp-asm.h>.
2651 (memcpy): Don't use BP_SYM.
2652 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
2653 <bp-sym.h> and <bp-asm.h>.
2654 (memset): Don't use BP_SYM.
2655 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
2656 <bp-sym.h> and <bp-asm.h>.
2657 (strncmp): Don't use BP_SYM.
2658 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
2659 <bp-sym.h> and <bp-asm.h>.
2660 (memcpy): Don't use BP_SYM.
2661 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
2662 <bp-sym.h> and <bp-asm.h>.
2663 (memset): Don't use BP_SYM.
2664 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
2665 <bp-sym.h> and <bp-asm.h>.
2666 (__memchr): Don't use BP_SYM.
2667 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
2668 <bp-sym.h> and <bp-asm.h>.
2669 (memcmp): Don't use BP_SYM.
2670 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
2671 <bp-sym.h> and <bp-asm.h>.
2672 (memcpy): Don't use BP_SYM.
2673 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
2674 <bp-sym.h> and <bp-asm.h>.
2675 (__mempcpy): Don't use BP_SYM.
2676 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
2677 <bp-sym.h> and <bp-asm.h>.
2678 (__memrchr): Don't use BP_SYM.
2679 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
2680 <bp-sym.h> and <bp-asm.h>.
2681 (memset): Don't use BP_SYM.
2682 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
2683 <bp-sym.h> and <bp-asm.h>.
2684 (__rawmemchr): Don't use BP_SYM.
2685 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
2686 <bp-sym.h> and <bp-asm.h>.
2687 (__STRCMP): Don't use BP_SYM.
2688 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
2689 <bp-sym.h> and <bp-asm.h>.
2690 (strchr): Don't use BP_SYM.
2691 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
2692 <bp-sym.h> and <bp-asm.h>.
2693 (__strchrnul): Don't use BP_SYM.
2694 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
2695 <bp-sym.h> and <bp-asm.h>.
2696 (strlen): Don't use BP_SYM.
2697 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
2698 <bp-sym.h> and <bp-asm.h>.
2699 (strncmp): Don't use BP_SYM.
2700 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
2701 <bp-sym.h> and <bp-asm.h>.
2702 (__strnlen): Don't use BP_SYM.
2703 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
2704 <bp-asm.h>.
2705 (__mpn_rshift): Don't use BP_SYM.
2706 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2707 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
2708 <bp-sym.h> and <bp-asm.h>.
2709 (__sigsetjmp): Don't use BP_SYM.
2710 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
2711 (L(start_addresses)): Don't use BP_SYM.
2712 (_start): Likewise.
2713 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
2714 <bp-asm.h>.
2715 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
2716 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2717 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2718 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
2719 <bp-asm.h>.
2720 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
2721 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2722 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2723 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
2724 <bp-asm.h>.
2725 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2726 comments.
2727 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2728 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
2729 <bp-asm.h>.
2730 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
2731 FIXME comments.
2732 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2733 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
2734 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
2735 <bp-asm.h>.
2736 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
2737 comment.
2738 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
2739 and <bp-asm.h>.
2740 (strncmp): Don't use BP_SYM,
2741 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
2742 <bp-asm.h>.
2743 (__mpn_sub_n): Don't use BP_SYM.
2744 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2745 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
2746 and <bp-asm.h>.
2747 (__mpn_submul_1): Don't use BP_SYM.
2748 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
2750 <bp-sym.h> and <bp-asm.h>.
2751 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
2752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
2753 <bp-sym.h> and <bp-asm.h>.
2754 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
2755 comment.
2756
8d19fe64
SP
27572013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2758
2759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
2760 Use ZK to minimize writes to Z.
2761 (sub_magnitudes): Simplify code a bit.
2762 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
2763 Use ZK to minimize writes to Z.
2764 (sub_magnitudes): Simplify code a bit.
2765
85bd816a
RM
27662013-02-27 Roland McGrath <roland@hack.frob.com>
2767
2768 * csu/gmon-start.c: Add special exception to license text.
2769
b5977bf2
RH
27702013-02-27 Richard Henderson <rth@redhat.com>
2771
2772 * scripts/config.guess: Update from config.git.
2773 * scripts/config.sub: Likewise.
2774
11d6e2f2
SP
27752013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2776
09c14ed2
SP
2777 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
2778
a688864e
SP
2779 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
2780
6295157a
SP
2781 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
2782
b8de2202
SP
2783 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
2784
11d6e2f2
SP
2785 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
2786
7e80ddb8
RM
27872013-02-26 Roland McGrath <roland@hack.frob.com>
2788
2789 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
2790 [$(build-shared = yes].
7e80ddb8 2791
7da6d9ed
SP
27922013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2793
45f05884
SP
2794 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
2795 (__mul): Reduce iterations for calculating mantissa.
2796
2236d359
SP
2797 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
2798 MPTWO.
2799 (__mpranred): Likewise.
2800
7da6d9ed
SP
2801 [BZ #15160]
2802 * malloc/memusagestat.c (main): Draw graphs for heap and stack
2803 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
2804
b7688c42
PE
28052013-02-26 Paul Eggert <eggert@cs.ucla.edu>
2806
2807 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
2808 Define __attribute__.
2809
53a5c423
SP
28102013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2811
2812 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
2813 unused.
2814 * posix/regex_internal.h (__attribute): Remove.
2815 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
2816 (re_string_context_at): Likewise.
2817 (bitset_not): Use __attribute__ and mark function as possibly
2818 unused.
2819 (bitset_merge): Likewise.
2820 (bitset_mask): Likewise.
2821 (re_string_char_size_at): Likewise.
2822 (re_string_wchar_at): Likewise.
2823 (re_string_elem_size_at): Likewise.
2824
60f5a8b5
SP
28252013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2826
2a983a2e
SP
2827 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
2828 code.
2829 (cc32): Likewise.
2830
e69804d1
SP
2831 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
2832 (__acr): Likewise.
2833 (__cpy): Likewise.
2834 (norm): Likewise.
2835 (denorm): Likewise.
2836 (__dbl_mp): Likewise.
2837 (add_magnitudes): Likewise.
2838 (sub_magnitudes): Likewise.
2839 (__mul): Likewise.
2840 (__inv): Likewise.
2841
2f22a1e8
SP
2842 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
2843 style.
2844
8930ddc7
SP
2845 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
2846 style.
2847
dc60cb11
SP
2848 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
2849 code.
2850
60f5a8b5
SP
2851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
2852 up changes with default code.
2853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
2854 Likewise.
2855
b4d1fd33
AM
28562013-02-24 Allan McRae <allan@archlinux.org>
2857
faf6f8bc
AM
2858 * manual/socket.texi (The Internet Namespace): Order menu items
2859 to match that in the file.
2860
b4d1fd33
AM
2861 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
2862 node listing of the info page menu.
2863
2366713d
JM
28642013-02-21 Joseph Myers <joseph@codesourcery.com>
2865
2866 [BZ #13550]
2867 * sysdeps/i386/bp-asm.h: Remove file.
2868 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
2869 (PARMS): Do not use macros from bp-asm.h.
2870 (S1): Likewise.
2871 (S2): Likewise.
2872 (SIZE): Likewise.
2873 (__mpn_add_n): Do not use BP_SYM
2874 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
2875 "bp-asm.h".
2876 (PARMS): Do not use macros from bp-asm.h.
2877 (S1): Likewise.
2878 (SIZE): Likewise.
2879 (__mpn_addmul_1): Do not use BP_SYM
2880 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
2881 "bp-asm.h".
2882 (PARMS): Do not use macros from bp-asm.h.
2883 (SIGMSK): Likewise.
2884 (_setjmp): Likewise. Do not use BP_SYM.
2885 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
2886 "bp-asm.h".
2887 (PARMS): Do not use macros from bp-asm.h.
2888 (SIGMSK): Likewise.
2889 (setjmp): Likewise. Do not use BP_SYM.
2890 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
2891 "bp-asm.h".
2892 (PARMS): Do not use macros from bp-asm.h.
2893 (__frexp): Do not use BP_SYM.
2894 (frexp): Likewise.
2895 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
2896 "bp-asm.h".
2897 (PARMS): Do not use macros from bp-asm.h.
2898 (__frexpf): Do not use BP_SYM.
2899 (frexpf): Likewise.
2900 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
2901 "bp-asm.h".
2902 (PARMS): Do not use macros from bp-asm.h.
2903 (__frexpl): Do not use BP_SYM.
2904 (frexpl): Likewise.
2905 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
2906 "bp-asm.h".
2907 (PARMS): Do not use macros from bp-asm.h.
2908 (__remquo): Do not use BP_SYM.
2909 (remquo): Likewise.
2910 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
2911 "bp-asm.h".
2912 (PARMS): Do not use macros from bp-asm.h.
2913 (__remquof): Do not use BP_SYM.
2914 (remquof): Likewise.
2915 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
2916 "bp-asm.h".
2917 (PARMS): Do not use macros from bp-asm.h.
2918 (__remquol): Do not use BP_SYM.
2919 (remquol): Likewise.
2920 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
2921 "bp-asm.h".
2922 (PARMS): Do not use macros from bp-asm.h.
2923 (DEST): Likewise.
2924 (SRC): Likewise.
2925 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
2926 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
2927 "bp-asm.h".
2928 (PARMS): Do not use macros from bp-asm.h.
2929 (strlen): Do not use BP_SYM.
2930 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
2931 "bp-asm.h".
2932 (PARMS): Do not use macros from bp-asm.h.
2933 (S1): Likewise.
2934 (S2): Likewise.
2935 (SIZE): Likewise.
2936 (__mpn_add_n): Do not use BP_SYM.
2937 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
2938 "bp-asm.h".
2939 (PARMS): Do not use macros from bp-asm.h.
2940 (S1): Likewise.
2941 (SIZE): Likewise.
2942 (__mpn_addmul_1): Do not use BP_SYM.
2943 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
2944 weak_alias.
2945 (bzero): Likewise.
2946 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
2947 "bp-asm.h".
2948 (PARMS): Do not use macros from bp-asm.h.
2949 (S): Likewise.
2950 (SIZE): Likewise.
2951 (__mpn_lshift): Do not use BP_SYM.
2952 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
2953 "bp-asm.h".
2954 (PARMS): Do not use macros from bp-asm.h.
2955 (DEST): Likewise.
2956 (SRC): Likewise.
2957 (LEN): Likewise.
2958 (memcpy): Likewise. Do not use BP_SYM.
2959 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
2960 libc_hidden_def and weak_alias.
2961 (mempcpy): Do not use BP_SYM in weak_alias.
2962 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
2963 "bp-asm.h".
2964 (PARMS): Do not use macros from bp-asm.h.
2965 (DEST): Likewise.
2966 (LEN): Likewise.
2967 [!BZERO_P] (CHR): Likewise.
2968 (memset): Likewise. Do not use BP_SYM.
2969 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
2970 "bp-asm.h".
2971 (PARMS): Do not use macros from bp-asm.h.
2972 (S1): Likewise.
2973 (SIZE): Likewise.
2974 (__mpn_mul_1): Do not use BP_SYM.
2975 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
2976 "bp-asm.h".
2977 (PARMS): Do not use macros from bp-asm.h.
2978 (S): Likewise.
2979 (SIZE): Likewise.
2980 (__mpn_rshift): Do not use BP_SYM.
2981 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
2982 "bp-asm.h".
2983 (PARMS): Do not use macros from bp-asm.h.
2984 (STR): Likewise.
2985 (CHR): Likewise.
2986 (strchr): Likewise. Do not use BP_SYM.
2987 (index): Do not use BP_SYM in weak_alias.
2988 * sysdeps/i386/i586/strcpy.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 (SRC): Likewise.
2993 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
2994 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
2995 "bp-asm.h".
2996 (PARMS): Do not use macros from bp-asm.h.
2997 (strlen): Do not use BP_SYM.
2998 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
2999 "bp-asm.h".
3000 (PARMS): Do not use macros from bp-asm.h.
3001 (S1): Likewise.
3002 (S2): Likewise.
3003 (SIZE): Likewise.
3004 (__mpn_sub_n): Do not use BP_SYM.
3005 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
3006 "bp-asm.h".
3007 (PARMS): Do not use macros from bp-asm.h.
3008 (S1): Likewise.
3009 (SIZE): Likewise.
3010 (__mpn_submul_1): Do not use BP_SYM.
3011 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
3012 "bp-asm.h".
3013 (PARMS): Do not use macros from bp-asm.h.
3014 (S1): Likewise.
3015 (S2): Likewise.
3016 (SIZE): Likewise.
3017 (__mpn_add_n): Do not use BP_SYM.
3018 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
3019 weak_alias.
3020 (bzero): Likewise.
3021 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
3022 "bp-asm.h".
3023 (PARMS): Do not use macros from bp-asm.h.
3024 (BLK2): Likewise.
3025 (LEN): Likewise.
3026 (memcmp): Do not use BP_SYM.
3027 (bcmp): Do not use BP_SYM in weak_alias.
3028 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
3029 "bp-asm.h".
3030 (PARMS): Do not use macros from bp-asm.h.
3031 (DEST): Likewise.
3032 (SRC): Likewise.
3033 (LEN): Likewise.
3034 (memcpy): Likewise. Do not use BP_SYM.
3035 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
3036 "bp-asm.h".
3037 (PARMS): Do not use macros from bp-asm.h.
3038 (DEST): Likewise.
3039 (SRC): Likewise.
3040 (LEN): Likewise.
3041 (memmove): Likewise. Do not use BP_SYM.
3042 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
3043 "bp-asm.h".
3044 (PARMS): Do not use macros from bp-asm.h.
3045 (DEST): Likewise.
3046 (SRC): Likewise.
3047 (LEN): Likewise.
3048 (__mempcpy): Likewise. Do not use BP_SYM.
3049 (mempcpy): Do not use BP_SYM in weak_alias.
3050 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
3051 "bp-asm.h".
3052 (PARMS): Do not use macros from bp-asm.h.
3053 (DEST): Likewise.
3054 (LEN): Likewise.
3055 [!BZERO_P] (CHR): Likewise.
3056 (memset): Likewise. Do not use BP_SYM.
3057 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
3058 "bp-asm.h".
3059 (PARMS): Do not use macros from bp-asm.h.
3060 (STR2): Likewise.
3061 (strcmp): Do not use BP_SYM.
3062 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
3063 "bp-asm.h".
3064 (PARMS): Do not use macros from bp-asm.h.
3065 (STR): Likewise.
3066 (DELIM): Likewise.
3067 [USE_AS_STRTOK_R] (SAVE): Likewise.
3068 (FUNCTION): Likewise. Do not use BP_SYM.
3069 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
3070 aliases.
3071 (strtok_r): Likewise.
3072 (__GI___strtok_r): Likewise.
3073 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3074 (PARMS): Do not use macros from bp-asm.h.
3075 (S): Likewise.
3076 (SIZE): Likewise.
3077 (__mpn_lshift): Do not use BP_SYM.
3078 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3079 (PARMS): Do not use macros from bp-asm.h.
3080 (STR): Likewise.
3081 (CHR): Likewise.
3082 (__memchr): Do not use BP_SYM.
3083 (memchr): Do not use BP_SYM in weak_alias.
3084 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3085 (PARMS): Do not use macros from bp-asm.h.
3086 (BLK2): Likewise.
3087 (LEN): Likewise.
3088 (memcmp): Do not use BP_SYM.
3089 (bcmp): Do not use BP_SYM in weak_alias.
3090 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
3091 (PARMS): Do not use macros from bp-asm.h.
3092 (S1): Likewise.
3093 (SIZE): Likewise.
3094 (__mpn_mul_1): Do not use BP_SYM.
3095 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
3096 "bp-asm.h".
3097 (PARMS): Do not use macros from bp-asm.h.
3098 (STR): Likewise.
3099 (CHR): Likewise.
3100 (__rawmemchr): Do not use BP_SYM.
3101 (rawmemchr): Do not use BP_SYM in weak_alias.
3102 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
3103 (PARMS): Do not use macros from bp-asm.h.
3104 (S): Likewise.
3105 (SIZE): Likewise.
3106 (__mpn_rshift): Do not use BP_SYM.
3107 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
3108 (PARMS): Do not use macros from bp-asm.h.
3109 (SIGMSK): Likewise.
3110 (__sigsetjmp): Likewise. Do not use BP_SYM.
3111 * sysdeps/i386/start.S: Do not include "bp-sym.h".
3112 (_start): Do not use BP_SYM.
3113 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
3114 (PARMS): Do not use macros from bp-asm.h.
3115 (DEST): Likewise.
3116 (SRC): Likewise.
3117 (__stpcpy): Likewise. Do not use BP_SYM.
3118 (stpcpy): Do not use BP_SYM in weak_alias.
3119 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
3120 "bp-asm.h".
3121 (PARMS): Do not use macros from bp-asm.h.
3122 (DEST): Likewise.
3123 (SRC): Likewise.
3124 (LEN): Likewise.
3125 (__stpncpy): Likewise. Do not use BP_SYM.
3126 (stpncpy): Do not use BP_SYM in weak_alias.
3127 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
3128 (PARMS): Do not use macros from bp-asm.h.
3129 (STR): Likewise.
3130 (CHR): Likewise.
3131 (strchr): Likewise. Do not use BP_SYM.
3132 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
3133 "bp-asm.h".
3134 (PARMS): Do not use macros from bp-asm.h.
3135 (STR): Likewise.
3136 (CHR): Likewise.
3137 (__strchrnul): Likewise. Do not use BP_SYM.
3138 (strchrnul): Do not use BP_SYM in weak_alias.
3139 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
3140 "bp-asm.h".
3141 (PARMS): Do not use macros from bp-asm.h.
3142 (STOP): Likewise.
3143 (strcspn): Do not use BP_SYM.
3144 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
3145 "bp-asm.h".
3146 (PARMS): Do not use macros from bp-asm.h.
3147 (STR): Likewise.
3148 (STOP): Likewise.
3149 (strpbrk): Likewise. Do not use BP_SYM.
3150 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
3151 "bp-asm.h".
3152 (PARMS): Do not use macros from bp-asm.h.
3153 (STR): Likewise.
3154 (CHR): Likewise.
3155 (strrchr): Likewise. Do not use BP_SYM.
3156 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
3157 (PARMS): Do not use macros from bp-asm.h.
3158 (SKIP): Likewise.
3159 (strspn): Do not use BP_SYM.
3160 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
3161 (PARMS): Do not use macros from bp-asm.h.
3162 (STR): Likewise.
3163 (DELIM): Likewise.
3164 (SAVE): Likewise.
3165 (FUNCTION): Likewise. Do not use BP_SYM.
3166 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
3167 aliases.
3168 (strtok_r): Likewise.
3169 (__GI___strtok_r): Likewise.
3170 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
3171 (PARMS): Do not use macros from bp-asm.h.
3172 (S1): Likewise.
3173 (S2): Likewise.
3174 (SIZE): Likewise.
3175 (__mpn_sub_n): Do not use BP_SYM.
3176 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
3177 "bp-asm.h".
3178 (PARMS): Do not use macros from bp-asm.h.
3179 (S1): Likewise.
3180 (SIZE): Likewise.
3181 (__mpn_submul_1): Do not use BP_SYM.
3182 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
3183 <bp-sym.h>.
3184 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
3185 and <bp-asm.h>.
3186 (PARMS): Do not use macros from bp-asm.h.
3187 (FLAGS): Likewise.
3188 (PTID): Likewise.
3189 (TLS): Likewise.
3190 (CTID): Likewise.
3191 (__clone): Do not use BP_SYM.
3192 (clone): Do not use BP_SYM in weak_alias.
3193 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
3194 and <bp-asm.h>.
3195 (PARMS): Do not use macros from bp-asm.h.
3196 (LEN): Likewise.
3197 (__mmap64): Do not use BP_SYM.
3198 (mmap64): Do not use BP_SYM in weak_alias.
3199 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
3200 <bp-sym.h> and <bp-asm.h>.
3201 (PARMS): Do not use macros from bp-asm.h.
3202 (__posix_fadvise64_l64): Do not use BP_SYM.
3203 * sysdeps/unix/sysv/linux/i386/semtimedop.S
3204 (PARMS): Do not use macros from bp-asm.h.
3205 (NSOPS): Likewise.
3206 (semtimedop): Do not use BP_SYM.
3207 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
3208 and <bp-asm.h>.
3209
582a3cff
AM
32102013-02-21 Allan McRae <allan@archlinux.org>
3211
3212 * manual/message.texi (Charset conversion in gettext):
3213 Move @end statement to beginning of line.
3214
bab8a695
SP
32152013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3216
80945231
SP
3217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
3218 static.
3219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3220 Likewise.
3221
bab8a695
SP
3222 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
3223 (denorm): Likewise.
3224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
3225 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
3226
e21d7aa7
AK
32272013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3228
3229 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
3230 tail-call to the resolved function if pltexit isn't needed.
3231
4c7a4263
SP
32322013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3233
3234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
3235 or Y being zero as being unlikely.
3236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
3237 Likewise.
3238
41f49342
CD
32392013-02-20 Carlos O'Donell <carlos@redhat.com>
3240
3241 * manual/nss.texi (System Databases and Name Service Switch):
3242 Remove frobnicate @pxref.
3243
50022a93
TS
32442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3245
3246 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3247 __attribute__ ((unused)) to __attribute__ ((__unused__)).
3248
08cbd996
PM
32492013-02-20 Petr Machata <pmachata@redhat.com>
3250
3251 * elf/elf.h (R_ARM_TARGET1): New macro.
3252 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
3253 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
3254 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
3255 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
3256 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
3257 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
3258 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
3259 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
3260 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
3261 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
3262 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
3263 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
3264 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
3265 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
3266 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
3267 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
3268 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
3269 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
3270 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
3271 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
3272 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
3273 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
3274 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
3275 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
3276 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
3277 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
3278 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
3279 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
3280 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
3281 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
3282 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
3283 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
3284 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
3285 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
3286 (R_ARM_THM_GOT_BREL12): Likewise.
3287 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
3288 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
3289 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
3290 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
3291 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
3292 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
3293 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
3294 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
3295 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
3296
c7b275d6
TS
32972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
3298
3299 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
3300 __attribute_used__ to __attribute__ ((unused)).
3301
20cd7fb3
SP
33022013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3303
3304 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
3305 powerpc mpa.c.
3306 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
3307 comment formatting.
3308 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
3309
92945b52
JM
33102013-02-19 Joseph Myers <joseph@codesourcery.com>
3311
3312 [BZ #13550]
3313 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
3314 Remove macro.
3315 (ENTER): Remove both macro definitions.
3316 (LEAVE): Likewise.
3317 (CHECK_BOUNDS_LOW): Likewise.
3318 (CHECK_BOUNDS_HIGH): Likewise.
3319 (CHECK_BOUNDS_BOTH): Likewise.
3320 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
3321 (RETURN_BOUNDED_POINTER): Likewise.
3322 (RETURN_NULL_BOUNDED_POINTER): Likewise.
3323 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
3324 (POP_ERRNO_LOCATION_RETURN): Likewise.
3325 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
3326 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3327 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
3328 macros.
3329 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3330 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
3331 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
3332 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
3333 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
3334 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
3335 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
3336 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
3337 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
3338 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
3339 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
3340 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
3341 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3342 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
3343 removed macros.
3344 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3345 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
3346 macros.
3347 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3348 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
3349 * sysdeps/i386/i586/memset.S (memset): Likewise.
3350 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
3351 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3352 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
3353 macros.
3354 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3355 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
3356 Change uses of L(2) to L(out).
3357 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
3358 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
3359 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
3360 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3361 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
3362 removed macros.
3363 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3364 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
3365 macros.
3366 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3367 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
3368 (RETURN): Do not use macro LEAVE.
3369 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
3370 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
3371 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
3372 * sysdeps/i386/i686/memset.S (memset): Likewise.
3373 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
3374 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
3375 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
3376 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
3377 Likewise.
3378 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3379 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
3380 L(1_2) and L(1_3) into L(1).
3381 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3382 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
3383 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3384 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
3385 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
3386 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
3387 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
3388 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3389 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
3390 macros.
3391 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
3392 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
3393 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
3394 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
3395 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
3396 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
3397 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
3398 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
3399 * sysdeps/i386/strcspn.S (strcspn): Likewise.
3400 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
3401 * sysdeps/i386/strrchr.S (strrchr): Likewise.
3402 * sysdeps/i386/strspn.S (strspn): Likewise.
3403 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
3404 conditional code.
3405 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
3406 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
3407 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
3408 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
3409 L(1_3) into L(1_1).
3410 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
3411 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
3412 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
3413 macros.
3414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
3415
2389741a
JJ
34162013-02-19 Jakub Jelinek <jakub@redhat.com>
3417
3418 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
3419 macro.
3420
2016b3cd
SP
34212013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3422
e4f22324
SP
3423 * math/atest-exp.c (exp_mpn): Remove ROUND.
3424 * math/atest-exp2.c (exp_mpn): Likewise.
3425 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
3426
2016b3cd
SP
3427 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
3428 * stdlib/tst-tls-atexit-lib.c: Likewise.
3429 * stdlib/tst-tls-atexit.c: Likewise.
3430
4be9b544
MF
34312013-02-18 Mike Frysinger <vapier@gentoo.org>
3432
3433 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
3434 and __attribute_alloc_size__.
3435
2f62b9ee
MF
34362013-02-18 Mike Frysinger <vapier@gentoo.org>
3437
3438 * include/programs/xmalloc.h: Change __attribute_alloc_size to
3439 __attribute_alloc_size__.
3440 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
3441 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
3442
6ff444c4
MF
34432013-02-18 Mike Frysinger <vapier@gentoo.org>
3444
3445 * include/programs/xmalloc.h: New file.
3446 * catgets/gencat.c: Include it.
3447 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
3448 * elf/pldd.c: Likewise.
3449 * iconv/iconv_charmap.c: Likewise.
3450 * iconv/iconvconfig.c: Likewise.
3451 * iconv/strtab.c: Likewise.
3452 * locale/programs/locale.c: Likewise.
3453 * locale/programs/localedef.h: Likewise.
3454 * locale/programs/simple-hash.c: Likewise.
3455 * nscd/nscd.h: Likewise.
3456 * nss/makedb.c: Likewise.
3457 * sysdeps/generic/ldconfig.h: Likewise.
3458
be179c8a
SP
34592013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3460
ba384f6e
SP
3461 * Versions.def: Add GLIBC_2.18.
3462 * include/link.h (struct link_map): New member l_tls_dtor_count.
3463 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
3464 (__call_tls_dtors): Likewise.
3465 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
3466 __cxa_thread_atexit_impl.
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3468 Likewise.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3470 Likewise.
3471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3472 Likewise.
3473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3474 Likewise.
3475 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3476 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
3477 Likewise.
3478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
3479 Likewise.
3480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3482 Likewise.
3483 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
3484 (tests): Add test case tst-tls-atexit.
3485 (modules-names): Add shared library for tst-tls-atexit.
3486 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
3487 (GLIBC_PRIVATE): Add __call_tls_dtors.
3488 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
3489 for libstdc++.
3490 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
3491 * stdlib/tst-tls-atexit.c: New test case.
3492 * stdlib/tst-tls-atexit-lib.c: New test case.
3493
ffaa74cf 3494 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 3495
be179c8a
SP
3496 * elf/Versions (ld): Add _dl_find_dso_for_object.
3497 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
3498 * elf/dl-open.c (_dl_find_dso_for_object): New function.
3499 (dl_open_worker): Use _dl_find_dso_for_object.
3500 * elf/dl-sym.c (do_sym): Likewise.
3501 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
3502
f78b5caa
AK
35032013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3504
3505 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
3506 Syntactic changes only.
3507 (_dl_runtime_profile): Do a tail-call to the resolved function.
3508
29691210
JM
35092013-02-17 Joseph Myers <joseph@codesourcery.com>
3510
3511 [BZ #13550]
3512 * sysdeps/x86_64/bp-asm.h: Remove file.
3513 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
3514 <bp-sym.h> and <bp-asm.h>.
3515 (__clone): Do not use BP_SYM.
3516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
3517 <bp-sym.h> and <bp-asm.h>.
3518 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3519 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
3520 "bp-asm.h".
3521 (_setjmp): Do not use BP_SYM.
3522 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
3523 "bp-asm.h".
3524 (setjmp): Do not use BP_SYM.
3525 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
3526 libc_hidden_def.
3527 (mempcpy): Do not use BP_SYM in weak_alias.
3528 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
3529 "bp-asm.h".
3530 (strchr): Do not use BP_SYM.
3531 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
3532 "bp-asm.h".
3533 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
3534 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
3535 (_start): Do not use BP_SYM.
3536 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
3537 "bp-asm.h".
3538 (strcat): Do not use BP_SYM.
3539 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
3540 "bp-asm.h".
3541 (STRCMP): Do not use BP_SYM.
3542 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
3543 "bp-asm.h".
3544 (STRCPY): Do not use BP_SYM.
3545 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
3546 "bp-asm.h".
3547 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
3548 "bp-asm.h".
3549 (FUNCTION): Do not use BP_SYM.
3550 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
3551 weak_alias.
3552 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
3553
f238fd19
AJ
35542013-02-17 Andreas Jaeger <aj@suse.de>
3555
3556 * time/Versions: Sort entries.
3557 * string/Versions: Likewise.
3558 * resolv/Versions: Likewise.
3559 * posix/Versions: Likewise.
3560 * iconv/Versions: Likewise.
3561 * elf/Versions: Likewise.
3562 * wcsmbs/Versions: Likewise.
3563
bd07f23c 35642013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 3565
22af19f9
SP
3566 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
3567 loop termination condition.
3568
4709fe76
SP
3569 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
3570 variable to calculate EZ.
3571 (__sqr): Likewise.
2d0e0f29
SP
3572
3573 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
3574 the lower precision input.
3575
daaa7713
JM
35762013-02-15 Joseph Myers <joseph@codesourcery.com>
3577
3578 [BZ #13550]
3579 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
3580 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
3581 (run-via-rtld-prefix): Do not handle %-bp tests.
3582 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
3583 (all-object-suffixes): Remove .ob.
3584 (bppfx): Remove variable.
3585 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
3586 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
3587 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
3588 [$(build-bounded) = yes] (libtype.ob): Likewise.
3589 * Makerules (elide-routines.ob): Remove variable.
3590 (do-tests-clean): Do not handle *-bp.out.
3591 (common-mostlyclean): Do not handle *-bp and *-bp.out.
3592 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
3593 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
3594 (tests): Do not include $(tests-bp.out).
3595 (xtests): Do not include $(xtests-bp.out).
3596 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
3597 [$(build-bounded) = yes] ($(addprefix
3598 $(objpfx),$(binaries-bounded))): Remove rule.
3599 ($(objpfx)%-bp.out): Remove rule.
3600 * config.make.in (build-bounded): Remove variable.
3601 * crypt/Makefile [$(build-bounded) = yes]
3602 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
3603 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
3604 append to variable.
3605 [$(build-bounded) = yes] (install-lib): Likewise.
3606 [$(build-bounded) = yes] (generated): Likewise.
3607 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
3608 Remove rule.
3609 * intl/Makefile [$(build-bounded) = yes]
3610 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
3611 * math/Makefile [$(build-bounded) = yes]
3612 ($(tests:%=$(objpfx)%-bp): Likewise.
3613 * misc/Makefile [$(build-bounded) = yes]
3614 ($(objpfx)tst-tsearch-bp): Likewise.
3615 * nptl/Makeconfig (bounded-thread-library): Remove variable.
3616 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
3617 Remove dependency.
3618 * string/Makefile (o-objects.ob): Remove variable.
3619 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
3620 (CFLAGS-.ob): Remove variable.
3621 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
3622 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
3623 both definitions of variable.
3624 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
3625 (ASFLAGS-.ob): Remove variable.
3626
e97ed6dd
JM
36272013-02-14 Joseph Myers <joseph@codesourcery.com>
3628
2bdd4ca6
JM
3629 [BZ #13550]
3630 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
3631 Remove __BOUNDED_POINTERS__ from condition.
3632 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
3633 * string/bits/string2.h [!__NO_STRING_INLINES &&
3634 !__BOUNDED_POINTERS__]: Likewise.
3635 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
3636 Likewise.
3637 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
3638 Remove conditional code.
3639 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
3640 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
3641 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
3642 condition.
3643
e97ed6dd
JM
3644 [BZ #13550]
3645 * csu/libc-start.c: Do not include <bp-sym.h>.
3646 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
3647 * elf/dl-open.c: Do not include <bp-sym.h>.
3648 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
3649 * math/fegetenv.c: Do not include <bp-sym.h>.
3650 (fegetenv): Do not use BP_SYM in versioned symbols.
3651 * nptl/sysdeps/pthread/bits/libc-lockP.h
3652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
3653 <bp-sym.h>.
3654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3655 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
3656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3657 (__pthread_mutex_destroy): Likewise.
3658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3659 (__pthread_mutex_lock): Likewise.
3660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3661 (__pthread_mutex_trylock): Likewise.
3662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3663 (__pthread_mutex_unlock): Likewise.
3664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3665 (__pthread_mutexattr_init): Likewise.
3666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3667 (__pthread_mutexattr_destroy): Likewise.
3668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3669 (__pthread_mutexattr_settype): Likewise.
3670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3671 (__pthread_rwlock_init): Likewise.
3672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3673 (__pthread_rwlock_destroy): Likewise.
3674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3675 (__pthread_rwlock_rdlock): Likewise.
3676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3677 (__pthread_rwlock_tryrdlock): Likewise.
3678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3679 (__pthread_rwlock_wrlock): Likewise.
3680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3681 (__pthread_rwlock_trywrlock): Likewise.
3682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3683 (__pthread_rwlock_unlock): Likewise.
3684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3685 (__pthread_key_create): Likewise.
3686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3687 (__pthread_setspecific): Likewise.
3688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3689 (__pthread_getspecific): Likewise.
3690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
3691 Likewise.
3692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3693 (_pthread_cleanup_push_defer): Likewise.
3694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3695 (_pthread_cleanup_pop_restore): Likewise.
3696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
3697 (pthread_setcancelstate): Likewise.
3698 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
3699 <bp-sym.h>.
3700 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
3701 (memchr): Do not use BP_SYM in weak_alias.
3702 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
3703 (fegetenv): Do not use BP_SYM in versioned symbols.
3704 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
3705 (fesetenv): Do not use BP_SYM in versioned symbols.
3706 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3707 (feupdateenv): Do not use BP_SYM in versioned symbols.
3708 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3709 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3710 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
3711 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
3712 (open64): Do not use BP_SYM in weak_alias.
3713 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
3714 (fegetenv): Do not use BP_SYM in versioned symbols.
3715 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
3716 (fesetenv): Do not use BP_SYM in versioned symbols.
3717 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
3718 (feupdateenv): Do not use BP_SYM in versioned symbols.
3719 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
3720 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
3721 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
3722 (feraiseexcept): Do not use BP_SYM in versioned symbols.
3723 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
3724 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
3725 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
3726 <bp-sym.h>.
3727 (__libc_start_main): Do not use BP_SYM.
3728
d6752ccd
SP
37292013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3730
cb57ce60
SP
3731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
3732 redundant return line.
3733 (norm): Likewise.
3734 (denorm): Likewise.
3735 (dbl_mp): Likewise.
3736 (sub_magnitudes): Likewise.
3737 (__add): Likewise.
3738 (__sub): Likewise.
3739 (__mul): Likewise.
3740 (__inv): Likewise.
3741 (__dvd): Likewise.
3742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
3743 (norm): Likewise.
3744 (denorm): Likewise.
3745 (dbl_mp): Likewise.
3746 (sub_magnitudes): Likewise.
3747 (__add): Likewise.
3748 (__sub): Likewise.
3749 (__mul): Likewise.
3750 (__inv): Likewise.
3751 (__dvd): Likewise.
3752
f414520d
SP
3753 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
3754 instead of __mul.
3755 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
3756 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
3757 (cc32): Likewise.
3758
d6752ccd
SP
3759 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
3760 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
3761 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
3762 of __mul for squares.
3763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
3764 function
3765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
3766 Likewise.
3767 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
3768 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3769
70d9946a
JM
37702013-02-13 Joseph Myers <joseph@codesourcery.com>
3771
3772 [BZ #13550]
3773 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
3774 code.
3775 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
3776 prototype or function definition. Rename ubp_* variables and
3777 parameters. Remove argv definitions conditional on
3778 [__BOUNDED_POINTERS__].
3779 * debug/backtrace.c (__backtrace): Do not use __unbounded.
3780 * elf/dl-runtime.c (_dl_fixup): Likewise.
3781 * include/set-hooks.h (RUN_HOOK): Likewise.
3782 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
3783 definition.
3784 * string/strcpy.c (strcpy): Do not use __unbounded.
3785 * sysdeps/generic/frame.h (struct layout): Likewise.
3786 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
3787 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
3788 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
3789 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
3790 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
3791 (__backtrace): Likewise.
3792 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
3793 use __ptrvalue.
3794 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
3795 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3796 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
3797 Likewise.
3798 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
3799 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
3800 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3801 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3802 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
3803 Do not use __unbounded.
3804 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
3805 Rename __unboundedrlimits parameter to rlimits in prototype.
3806 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
3807 Do not use __unbounded.
3808 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
3809 not use __ptrvalue.
3810 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3811 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
3812 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3813 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
3814 __ptrvalue or __unbounded.
3815 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
3816 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
3817 use __unbounded.
3818 (__new_msgctl): Do not use __ptrvalue.
3819 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
3820 __unbounded.
3821 (__libc_msgrcv): Do not use __ptrvalue.
3822 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
3823 startup_info): Do not use __unbounded.
3824 (__libc_start_main): Likewise. Rename ubp_* variables and
3825 parameters. Remove argv definitions conditional on
3826 [__BOUNDED_POINTERS__].
3827 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
3828 __ptrvalue.
3829 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
3830 use __unbounded.
3831 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
3832 or __ptrvalue.
3833 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
3834 use __unbounded.
3835 (__new_shmctl): Do not use __ptrvalue.
3836 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
3837 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
3838 Likewise.
3839 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
3840 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
3841 (__libc_sigaction): Likewise.
3842 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
3843 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
3844 Likewise.
3845 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3846
cc7834d6
OB
38472013-02-13 Ondřej Bílka <neleai@seznam.cz>
3848
ffb1ec7b 3849 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
3850
3851 * string/mempcpy.c: Implement by calling memcpy.
3852
bdf02814
SP
38532013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3854
c2af38aa
SP
3855 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
3856
4e92d59e
SP
3857 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
3858 evaluation.
3859
909279a5
SP
3860 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
3861 values in the mantissa.
3862
bdf02814
SP
3863 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
3864 minimize writes to Z.
3865 (sub_magnitudes): Simplify code a bit.
3866
cd525923
RM
38672013-02-12 Roland McGrath <roland@hack.frob.com>
3868
3869 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
3870 from the message. The linker prefixes all warnings with that already.
3871
7e2f0d2d
AS
38722013-02-12 Andreas Schwab <schwab@suse.de>
3873
a445af0b
AS
3874 [BZ #15078]
3875 * posix/regexec.c (extend_buffers): Add parameter min_len.
3876 (check_matching): Pass minimum needed length.
3877 (clean_state_log_if_needed): Likewise.
3878 (get_subexp): Likewise.
3879 * posix/Makefile (tests): Add bug-regex34.
3880 (bug-regex34-ENV): Define.
3881 * posix/bug-regex34.c: New file.
3882
7e2f0d2d
AS
3883 [BZ #11561]
3884 * posix/regcomp.c (parse_bracket_exp): When looking up collating
3885 elements compare against the byte sequence of it, not its name.
3886 * posix/Makefile (tests): Add bug-regex35.
3887 (bug-regex35-ENV): Define.
3888 * posix/bug-regex35.c: New file.
3889
a175b684
TV
38902013-02-11 Tom de Vries <tom@codesourcery.com>
3891
3892 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
3893 comment.
3894 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
3895 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
3896 (CHECK_EOL): Add undef.
3897
310998fe 38982013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
3899
3900 * bits/stdlib-bsearch.h: New file.
3901 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 3902 * stdlib/stdlib.h: Likewise.
41eda41d 3903
8ded91fb
RM
39042013-02-11 Roland McGrath <roland@hack.frob.com>
3905
3906 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
3907 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
3908 declaration.
3909 * manual/search.texi (Array Search Function): Add missing const in
3910 lfind prototype.
3911 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
3912 declaration to use rlim_t.
3913 (Basic Scheduling Functions): Remove erroneous const from
3914 sched_getparam prototype. Remove erroneous * from
3915 sched_get_priority_max and sched_get_priority_min prototypes.
3916 (Resource Usage): Fix summary @comment on vtimes to refer to
3917 sys/vtimes.h rather than vtimes.h.
3918 Add missing *s in vtimes prototype.
3919 (Limits on Resources): Fix ulimit prototype to return long int.
3920 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
3921 prototypes to use long int rather than double.
3922 (BSD Random): Fix initstate and setstate to use char *, not void *.
3923 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
3924 prototype to make second argument 'struct aiocb64 *const[]'.
3925 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
3926 (Status of AIO Operations): Remove erroneous const in aio_return and
3927 aio_return64 prototypes.
3928 (Synchronizing I/O): Fix sync prototype to return void.
3929 * manual/startup.texi (Suboptions): Remove an erroneous const in
3930 getsubopt prototype.
3931 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
3932 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
3933 use size_t rather than int.
3934 (Scanning All Users): Likewise for getpwent_r.
3935 (Setting Groups): Add missing const to setgroups prototype.
3936 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
3937 * manual/socket.texi (Host Names): Fix gethostbyaddr and
3938 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
3939 'const void *' rather than 'const char *'.
3940 (Host Address Functions): Likewise for inet_ntop.
3941 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
3942 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
3943 ssize_t for return value.
3944 (Sending Data): Likewise for send, sendto, sendmsg.
3945 (Socket Option Functions): Add a missing const in setsockopt prototype.
3946 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
3947 use wchar_t for the argument.
3948 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
3949 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
3950 take no arguments.
3951 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
3952 double/float/long double for second argument.
3953 Fix return types of significand, significandf, significandl.
3954 * manual/filesys.texi (Setting Permissions): Use mode_t for second
3955 argument in fchmod prototype.
3956 (File Owner): Use uid_t and gid_t in fchown prototype.
3957 (File Times): Add const to utimes, futimes, and lutimes prototypes.
3958 (Making Special Files): Use mode_t and dev_t in mknod prototype.
3959 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
3960 use 'const struct dirent **' as argument types to CMP function pointer
3961 argument.
3962 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
3963 (File Times): Fix summary magic @comment for struct utimbuf and utime
3964 to refer to utime.h, not time.h.
3965 * manual/string.texi (Argz Functions): Add missing const in
3966 argz_extract and argz_next prototypes.
3967 (Finding Tokens in a String): Likewise for basename.
3968 (String/Array Comparison): Fix typo in wcscasecmp prototype.
3969 (Copying and Concatenation): Fix typo in wmemmove prototype.
3970 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
3971 (Signal Stack): Remove erroneous const in sigstack prototype.
3972 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
3973 prototype.
3974 (Simple Calendar Time): Likewise for stime.
3975 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
3976 prototype.
3977 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
3978 say sys/sysctl.h instead.
3979 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
3980 and vsyslog prototypes.
3981
fe77fe6d
TV
39822013-02-11 Tom de Vries <tom@codesourcery.com>
3983
3984 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
3985 Remove.
3986
3a09b620
RM
39872013-02-11 Roland McGrath <roland@hack.frob.com>
3988
3989 * misc/sys/mman.h: Fix typo in mremap comment.
3990
550a0b89
RM
39912013-02-08 Roland McGrath <roland@hack.frob.com>
3992
3993 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
3994 the '\0' terminator.
3995
a2da1673
JM
39962013-02-08 Joseph Myers <joseph@codesourcery.com>
3997
3998 [BZ #13550]
3999 * debug/segfault.c: Don't include <bp-checks.h>.
4000 * sysdeps/generic/bp-checks.h: Remove file.
4001 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
4002 (__GETDENTS): Don't use CHECK_N.
4003 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
4004 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4005 (__getgroups): Don't use CHECK_N.
4006 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4007 (setgroups): Don't use CHECK_N.
4008 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
4009 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
4010 (__libc_msgrcv): Don't use CHECK_N.
4011 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
4012 (__libc_msgsnd): Don't use CHECK_N.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
4014 <bp-checks.h>.
4015 (__libc_pread): Don't use CHECK_N.
4016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
4017 include <bp-checks.h>.
4018 (__libc_pread64): Don't use CHECK_N.
4019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
4020 include <bp-checks.h>.
4021 (__libc_pwrite): Don't use CHECK_N.
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
4023 include <bp-checks.h>.
4024 (__libc_pwrite64): Don't use CHECK_N.
4025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
4026 <bp-checks.h>.
4027 (__libc_pread): Don't use CHECK_N.
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
4029 include <bp-checks.h>.
4030 (__libc_pread64): Don't use CHECK_N.
4031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
4032 include <bp-checks.h>.
4033 (__libc_pwrite): Don't use CHECK_N.
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
4035 include <bp-checks.h>.
4036 (__libc_pwrite64): Don't use CHECK_N.
4037 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
4038 (do_pread): Don't use CHECK_N.
4039 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
4040 (do_pread64): Don't use CHECK_N.
4041 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
4042 (do_pwrite): Don't use CHECK_N.
4043 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
4044 (do_pwrite64): Don't use CHECK_N.
4045 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
4046 (__libc_readv): Don't use CHECK_N.
4047 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
4048 (semop): Don't use CHECK_N.
4049 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
4050 <bp-checks.h>.
4051 (semtimedop): Don't use CHECK_N.
4052 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
4053 (__libc_pread): Don't use CHECK_N.
4054 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
4055 <bp-checks.h>.
4056 (__libc_pread64): Don't use CHECK_N.
4057 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
4058 <bp-checks.h>.
4059 (__libc_pwrite): Don't use CHECK_N.
4060 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
4061 <bp-checks.h>.
4062 (__libc_pwrite64): Don't use CHECK_N.
4063 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
4064 <bp-checks.h>.
4065 (__libc_msgrcv): Don't use CHECK_N.
4066 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
4067 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
4068 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
4069 (__libc_writev): Don't use CHECK_N.
4070
b84660a8
RM
40712013-02-08 Roland McGrath <roland@hack.frob.com>
4072
7f3e75f8
RM
4073 * string/strcpy.c: Removed unused variable.
4074
b84660a8
RM
4075 * Makeconfig (+sysdep-includes): Define with := rather than =.
4076 Use an existing include/ subdir of each sysdeps dir before it.
4077
471514d3
CD
40782013-02-08 Carlos O'Donell <carlos@redhat.com>
4079
4080 * nscd/connection.c (register_traced_file): Comment function.
4081 [HAVE_INOTIFY] (union __inev): Define.
4082 [HAVE_INOTIFY] (inotify_check_files): New function.
4083 [HAVE_INOTIFY] (clear_db_cache): Likewise.
4084 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
4085 clear_db_cache.
4086 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
4087
b2d3c3be
CD
40882013-02-08 Carlos O'Donell <carlos@redhat.com>
4089
4090 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
4091 loaded if not already and that a failure is permanent.
4092
b39949d2
CD
40932013-02-08 Carlos O'Donell <carlos@redhat.com>
4094
ddacd1db 4095 [BZ #15006]
b39949d2
CD
4096 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
4097 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
4098
b2c9eff4
JM
40992013-02-08 Joseph Myers <joseph@codesourcery.com>
4100
f3aae3f3
JM
4101 [BZ #13550]
4102 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
4103 (CHECK_1_NULL_OK): Likewise.
4104 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
4105 (__fxstat): Do not use CHECK_1.
4106 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
4107 <bp-checks.h>.
4108 (___fxstat64): Do not use CHECK_1.
4109 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
4110 <bp-checks.h>.
4111 (__fxstatat): Do not use CHECK_1.
4112 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
4113 <bp-checks.h>.
4114 (__fxstatat64): Do not use CHECK_1.
4115 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
4116 <bp-checks.h>.
4117 (__fxstat): Do not use CHECK_1.
4118 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
4119 <bp-checks.h>.
4120 (__fxstatat): Do not use CHECK_1.
4121 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
4122 <bp-checks.h>.
4123 (__getresgid): Do not use CHECK_1.
4124 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
4125 <bp-checks.h>.
4126 (__getresuid): Do not use CHECK_1.
4127 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
4128 <bp-checks.h>.
4129 (__lxstat): Do not use CHECK_1.
4130 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
4131 <bp-checks.h>.
4132 (__old_msgctl): Do not use CHECK_1.
4133 (__new_msgctl): Likewise.
4134 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
4135 <bp-checks.h>.
4136 (__new_setrlimit): Do not use CHECK_1.
4137 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
4138 <bp-checks.h>.
4139 (__old_shmctl): Do not use CHECK_1.
4140 (__new_shmctl): Likewise.
4141 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
4142 <bp-checks.h>.
4143 (__xstat): Do not use CHECK_1.
4144 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
4145 (__lxstat): Do not use CHECK_1.
4146 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
4147 <bp-checks.h>.
4148 (___lxstat64): Do not use CHECK_1.
4149 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
4150 (__old_msgctl): Do not use CHECK_1.
4151 (__new_msgctl): Likewise.
4152 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
4153 <bp-checks.h>.
4154 (__gettimeofday): Do not use CHECK_1.
4155 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
4156 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
4157 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
4158 <bp-checks.h>.
4159 (__gettimeofday): Do not use CHECK_1.
4160 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
4161 (__old_shmctl): Do not use CHECK_1_NULL_OK.
4162 (__new_shmctl): Do not use CHECK_1.
4163 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
4164 <bp-checks.h>.
4165 (do_sigtimedwait): Do not use CHECK_1.
4166 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
4167 <bp-checks.h>.
4168 (do_sigwaitinfo): Do not use CHECK_1.
4169 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
4170 <bp-checks.h>.
4171 (msgctl): Do not use CHECK_1.
4172 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
4173 <bp-checks.h>.
4174 (shmctl): Do not use CHECK_1.
4175 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
4176 (ustat): Do not use CHECK_1.
4177 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
4178 <bp-checks.h>.
4179 (__fxstat): Do not use CHECK_1.
4180 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
4181 <bp-checks.h>.
4182 (__fxstatat): Do not use CHECK_1.
4183 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
4184 <bp-checks.h>.
4185 (__lxstat): Do not use CHECK_1.
4186 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
4187 <bp-checks.h>.
4188 (__xstat): Do not use CHECK_1.
4189 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
4190 (__xstat): Do not use CHECK_1.
4191 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
4192 (___xstat64): Do not use CHECK_1.
4193
b2c9eff4
JM
4194 [BZ #13550]
4195 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
4196 definitions.
4197 (CHECK_BOUNDS_HIGH): Likewise.
4198 * string/strcpy.c: Do not include <bp-checks.h>.
4199 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
4200
f1d70dad
RM
42012013-02-07 Roland McGrath <roland@hack.frob.com>
4202
4203 * nscd/nscd-client.h (__nscd_drop_map_ref):
4204 Add __attribute__ ((unused)).
4205 * nis/nss-nisplus.h (niserr2nss): Likewise.
4206
4207 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
4208 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
4209
4210 * csu/libc-tls.c (init_static_tls, init_slotinfo):
4211 Remove inline keyword.
4212 * include/rounding-mode.h (round_away): Likewise.
4213 * libio/wfileops.c (adjust_wide_data): Likewise.
4214 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
4215 (__m128i_strloadu_tolower): Likewise.
4216 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
4217 (__m128i_strloadu_tolower): Likewise.
4218 * time/mktime.c (ydhms_diff): Likewise.
4219 * locale/elem-hash.h (elem_hash): Likewise.
4220 * locale/setlocale.c (setdata): Likewise.
4221 * posix/regex_internal.h (re_string_char_size_at): Likewise.
4222 (re_string_wchar_at): Likewise.
4223 (bitset_not, bitset_merge, bitset_mask): Likewise.
4224 [!(__GNUC__ > 3)] (inline): Remove macro.
4225 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
4226 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
4227 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4228 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
4229 * string/memcmp.c (memcmp_bytes): Likewise.
4230 * locale/programs/locarchive.c (compute_hashval): Likewise.
4231 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
4232 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
4233 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
4234 * nss/getent.c (print_rpc, print_protocols): Likewise.
4235 (print_passwd, print_group, print_aliases): Likewise.
4236 * nis/nss-nisplus.h (niserr2nss): Likewise.
4237 * nscd/connections.c (restart_p): Likewise.
4238 Change return type to bool.
4239
eab55bfb
RM
42402013-02-05 Roland McGrath <roland@hack.frob.com>
4241
7bd642f5
RM
4242 * Makeconfig (all-Depend-files): Add existing
4243 $(sorted-subdirs:=/Depend) files.
4244 (all-subdirs): Remove nss.
4245 * sysdeps/unix/inet/Subdirs: Add it here instead.
4246 * hesiod/Depend: New file.
4247
573c29b2
RM
4248 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
4249 instead of calling alloca.
4250
b2e25af0
RM
4251 * io/lseek.c (__lseek): Rename to __libc_lseek.
4252 Define __lseek as an alias.
4253
eab55bfb
RM
4254 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
4255
9a0d1941
CD
42562013-02-04 Carlos O'Donell <carlos@redhat.com>
4257
4258 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
4259 else clause and remove check for non-standard endianness.
4260
b83bbec4
DM
42612013-02-04 David S. Miller <davem@davemloft.net>
4262
4263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4264
6277fdab
JM
42652013-02-04 Joseph Myers <joseph@codesourcery.com>
4266
4267 [BZ #13550]
4268 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
4269 (__ubp_memchr): Remove prototype.
4270 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
4271 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4272 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
4273 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
4274 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
4275 Remove alias.
4276 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
4277 (__ubp_memchr): Likewise.
4278 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
4279 (__ubp_memchr): Likewise.
4280 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
4281 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
4282 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
4283 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
4284 CHECK_STRING.
4285 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4286 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
4287 (__getcwd): Do not use CHECK_STRING.
4288 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
4289 <bp-checks.h>.
4290 (__real_chown): Do not use CHECK_STRING.
4291 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
4292 <bp-checks.h>.
4293 (fchownat): Do not use CHECK_STRING.
4294 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
4295 CHECK_STRING.
4296 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
4297 <bp-checks.h>.
4298 (__lchown): Do not use CHECK_STRING.
4299 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4300 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4301 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
4302 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
4304 include <bp-checks.h>.
4305 (truncate64): Do not use CHECK_STRING.
4306 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
4307 <bp-checks.h>.
4308 (__real_chown): Do not use CHECK_STRING.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
4310 <bp-checks.h>.
4311 (__lchown): Do not use CHECK_STRING.
4312 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
4313 <bp-checks.h>.
4314 (__chown): Do not use CHECK_STRING.
4315 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
4316 <bp-checks.h>.
4317 (truncate64): Do not use CHECK_STRING.
4318 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
4319 Likewise.
4320 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
4321 (__xmknod): Do not use CHECK_STRING.
4322 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
4323 <bp-checks.h>.
4324 (__xmknodat): Do not use CHECK_STRING.
4325 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
4326 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4327
903ae060
AS
43282013-02-04 Andreas Schwab <schwab@suse.de>
4329
4330 [BZ #14142]
4331 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
4332 * include/netdb.h: Likewise for h_errno.
4333 * elf/tst-stackguard1.c: Include <tls.h>.
4334
542f9466
JK
43352013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4336
4337 * elf/link.h (struct link_map): Extend the l_addr comment.
4338 * include/link.h (struct link_map): Likewise.
4339
e782a927
JM
43402013-02-01 Joseph Myers <joseph@codesourcery.com>
4341
4342 [BZ #13550]
4343 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
4344 (BOUNDED_1): Remove macro.
4345 * debug/backtrace.c: Don't include <bp-checks.h>.
4346 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
4347 (__backtrace): Likewise.
4348 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
4349 <bp-checks.h>.
4350 (__backtrace): Don't use BOUNDED_1.
4351 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
4352 <bp-checks.h>.
4353 (__backtrace): Don't use BOUNDED_1.
4354 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
4355 (__backtrace): Don't use BOUNDED_1.
4356 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
4357 (shmat): Don't use BOUNDED_N.
4358
8cf28c5e
JM
43592013-01-31 Joseph Myers <joseph@codesourcery.com>
4360
3a7ac8a0
JM
4361 [BZ #13550]
4362 * sysdeps/generic/bp-start.h: Remove file.
4363 * csu/libc-start.c: Don't include <bp-start.h>.
4364 (LIBC_START_MAIN): Set up __environ directly instead of using
4365 INIT_ARGV_and_ENVIRON.
4366 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
4367 <bp-start.h>.
4368
f3499f95
JM
4369 [BZ #13550]
4370 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
4371 definitions.
4372 (CHECK_FCNTL): Likewise.
4373 (CHECK_N_PAGES): Likewise.
4374
32a45bea
JM
4375 [BZ #13550]
4376 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
4377 definitions.
4378 (CHECK_SIGSET_NULL_OK): Likewise.
4379 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
4380 <bp-checks.h>.
4381 (sigpending): Don't use CHECK_SIGSET.
4382 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
4383 <bp-checks.h>.
4384 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4385 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
4386 <bp-checks.h>.
4387 (do_sigsuspend): Don't use CHECK_SIGSET.
4388 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
4389 use CHECK_SIGSET.
4390 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
4391 (do_sigwait): Don't use CHECK_SIGSET.
4392 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
4393 use CHECK_SIGSET.
4394 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
4395 include <bp-checks.h>.
4396 (sigpending): Don't use CHECK_SIGSET.
4397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
4398 include <bp-checks.h>.
4399 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4400 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
4401 <bp-checks.h>.
4402 (sigpending): Don't use CHECK_SIGSET.
4403 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
4404 <bp-checks.h>.
4405 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
4406
2e8a5c8c
JM
4407 [BZ #13550]
4408 * sysdeps/generic/bp-semctl.h: Remove file.
4409 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
4410 <bp-checks.h> and <bp-semctl.h>.
4411 (__old_semctl): Don't use CHECK_SEMCTL.
4412 (__new_semctl): Likewise.
4413 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
4414 and <bp-semctl.h>.
4415 (__old_semctl): Don't use CHECK_SEMCTL.
4416 (__new_semctl): Likewise.
4417 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
4418 <bp-checks.h> and <bp-semctl.h>.
4419 (__old_semctl): Don't use CHECK_SEMCTL.
4420 (__new_semctl): Likewise.
4421 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
4422 <bp-checks.h> and <bp-semctl.h>.
4423 (semctl): Don't use CHECK_SEMCTL.
4424
c2d54929
JM
4425 [BZ #13550]
4426 * Makerules (elide-bp-thunks): Remove variable.
4427 (elide-routines.oS): Don't use $(elide-bp-thunks).
4428 (elide-routines.os): Likewise.
4429 (elide-routines.o): Likewise.
4430 (elide-routines.op): Likewise.
4431 (elide-routines.og): Likewise.
4432 (objects): Don't use $(bp-thunks).
4433 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
4434 include.
4435 (common-generated): Do not add s-proto-bp.d.
4436 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
4437 (int): Likewise.
4438 (typ): Likewise.
4439 Do not generate makefile rules for bounded-pointer thunks.
4440 * sysdeps/generic/bp-thunks.h: Remove file.
4441 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
4442 * sysdeps/unix/s-proto-bp.S: Likewise.
4443
8cf28c5e
JM
4444 [BZ #15062]
4445 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
4446 parts of result separately when argument is not close to line from
4447 -i to i and one part of argument is small.
4448 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4449 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4450 * math/libm-test.inc (cacos_test): Add more tests.
4451 (casin_test): Likewise.
4452 (casinh_test): Likewise.
4453 * sysdeps/i386/fpu/libm-test-ulps: Update.
4454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4455
c4e33b8d
DM
44562013-01-31 David S. Miller <davem@davemloft.net>
4457
4458 * po/de.po: Update from translation team.
4459
3b60b421
MK
44602013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4461
4462 * time/tzfile.c: Include stdint.h for SIZE_MAX.
4463
bb931195
TS
44642013-01-25 Thomas Schwinge <thomas@codesourcery.com>
4465
b5a5da23
TS
4466 * configure.in (_AC_PROG_CC_C89): New definition.
4467 * configure: Regenerate.
4468
bb931195
TS
4469 * configure.in (AC_PROG_CPP): New definition.
4470 * configure: Regenerate.
4471
8c53a12c
JM
44722013-01-23 Joseph Myers <joseph@codesourcery.com>
4473
4474 * debug/tst-backtrace.h: New file.
4475 * debug/tst-backtrace2.c: Include tst-backtrace.h.
4476 (ret): Remove variable.
4477 (x): Likewise.
4478 (FAIL): Remove macro.
4479 (NO_INLINE): Likewise.
4480 (fn1): Use match function instead of strstr.
4481 * debug/tst-backtrace3.c: Include tst-backtrace.h.
4482 (ret): Remove variable.
4483 (x): Likewise.
4484 (FAIL): Remove macro.
4485 (NO_INLINE): Likewise.
4486 (fn): Use match function instead of strstr.
4487 * debug/tst-backtrace4.c: Include tst-backtrace.h.
4488 (ret): Remove variable.
4489 (x): Likewise.
4490 (FAIL): Remove macro.
4491 (NO_INLINE): Likewise.
4492 (handle_signal): Use match function instead of strstr.
4493 * debug/tst-backtrace5.c: Include tst-backtrace.h.
4494 (ret): Remove variable.
4495 (x): Likewise.
4496 (FAIL): Remove macro.
4497 (NO_INLINE): Likewise.
4498 (handle_signal): Use match function instead of strstr.
4499
4858fa2a
RM
45002013-01-23 Roland McGrath <roland@hack.frob.com>
4501
4502 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
4503
bae8e7f5
DM
45042013-01-23 David S. Miller <davem@davemloft.net>
4505
4506 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
4507 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
4508 argument of CAS if possible.
4509 * sysdeps/sparc/sparc64/bits/atomic.h
4510 (__arch_compare_and_exchange_val_32_acq): Likewise.
4511 (__arch_compare_and_exchange_val_64_acq): Likewise.
4512
9cbbc4ae
PT
45132013-01-23 Pino Toscano <toscano.pino@tiscali.it>
4514
4515 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
4516 * sysdeps/posix/ulimit.c: ... this.
92a601b8 4517 Include <limits.h>.
67b3f58c 4518 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 4519
5655a0b5
AC
45202013-01-23 Adam Conrad <adconrad@0c3.net>
4521
4522 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
4523 (LDFLAGS-tst-array5): Likewise.
4524
052aff95
JM
45252013-01-23 Joseph Myers <joseph@codesourcery.com>
4526
4527 [BZ #15036]
4528 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
4529 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
4530 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
4531 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
4532
7c1e01aa
DM
45332013-01-21 David S. Miller <davem@davemloft.net>
4534
4535 * sysdeps/sparc/backtrace.c: New file.
4536 * sysdeps/sparc/sparc32/backtrace.h: New file.
4537 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
4538 * sysdeps/sparc/sparc64/backtrace.h: New file.
4539 * sysdeps/sparc/sparc64/backtrace.c: Delete.
4540 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
4541 -funwind-tables.
4542
ab087e0a
AS
45432013-01-21 Andreas Schwab <schwab@suse.de>
4544
4545 [BZ #15020]
4546 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
4547 closed its stdout.
4548
ed689c2f
AS
45492013-01-20 Andreas Schwab <schwab@linux-m68k.org>
4550
4551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
4552 "mpa2.h".
4553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4554
31d470ac
JM
45552013-01-18 Joseph Myers <joseph@codesourcery.com>
4556 Mark Mitchell <mark@codesourcery.com>
4557 Tom de Vries <tom@codesourcery.com>
4558 Paul Pluzhnikov <ppluzhnikov@google.com>
4559
4560 * debug/tst-backtrace2.c: New file.
4561 * debug/tst-backtrace3.c: Likewise.
4562 * debug/tst-backtrace4.c: Likewise.
4563 * debug/tst-backtrace5.c: Likewise.
4564 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
4565 (CFLAGS-tst-backtrace3.c): Likewise.
4566 (CFLAGS-tst-backtrace4.c): Likewise.
4567 (CFLAGS-tst-backtrace5.c): Likewise.
4568 (LDFLAGS-tst-backtrace2): Likewise.
4569 (LDFLAGS-tst-backtrace3): Likewise.
4570 (LDFLAGS-tst-backtrace4): Likewise.
4571 (LDFLAGS-tst-backtrace5): Likewise.
4572 (tests): Add new tests tst-backtrace2, tst-backtrace3,
4573 tst-backtrace4 and tst-backtrace5.
4574
90567f30 45752013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
4576 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4577
4578 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
4579 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
4580 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
4581 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4583 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
4584 "+r" and remove output regs list as redundant. Add explicit inline
4585 asm to specify register of return val to work around compiler codegen
4586 bug. Remove (int) cast on return value. Add return type parameter to
4587 use in macro so that this macro does not truncate return value for
4588 64-bit values.
4589 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
4590 pass to INTERNAL_VSYSCALL_NCS.
4591 (INLINE_VSYSCALL): Add 'long int' as return type to
4592 INTERNAL_VSYSCALL_NCS macro invocation.
4593 (INTERNAL_VSYSCALL): Add 'long int' as return type to
4594 INTERNAL_VSYSCALL_NCS macro invocation.
4595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4596
d3b9ea61
SP
45972013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4598
0b57daeb
SP
4599 [BZ #14496]
4600 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
4601 Fix application of SIMD FP exception mask.
4602
caa99d06
SP
4603 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
4604 mp_no from a power of two.
4605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
4606 __mpexp_twomm1. Use __pow_mp.
4607
d3b9ea61
SP
4608 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
4609 multiplication.
4610
1dbaee3c
DM
46112013-01-17 David S. Miller <davem@davemloft.net>
4612
4613 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4614
728d7b43
JM
46152013-01-17 Joseph Myers <joseph@codesourcery.com>
4616
4617 [BZ #15023]
4618 * include/complex.h: Condition contents on [!_COMPLEX_H].
4619 (__kernel_casinhf): New prototype.
4620 (__kernel_casinh): Likewise.
4621 (__kernel_casinhl): Likewise.
4622 * math/Makefile (libm_calls): Add k_casinh.
4623 * math/k_casinh.c: New file.
4624 * math/k_casinhf.c: Likewise.
4625 * math/k_casinhl.c: Likewise.
4626 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
4627 finite nonzero arguments.
4628 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
4629 finite nonzero arguments.
4630 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
4631 finite nonzero arguments.
4632 * math/s_casinh.c: Do not include <float.h>.
4633 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
4634 * math/s_casinhf.c: Do not include <float.h>.
4635 (__casinhf): Move code for finite nonzero arguments to
4636 k_casinhf.c.
4637 * math/s_casinhl.c: Do not include <float.h>.
4638 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
4639 redefine.
4640 (__casinhl): Move code for finite nonzero arguments to
4641 k_casinhl.c.
4642 * math/libm-test.inc (cacos_test): Add more tests.
4643 * sysdeps/i386/fpu/libm-test-ulps: Update.
4644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4645
2a26ef3a
PT
46462013-01-17 Pino Toscano <toscano.pino@tiscali.it>
4647
4648 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
4649 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
4650 [!HAVE_MREMAP]: Remove [defined linux] case.
4651 * malloc/arena.c: Do not include <malloc-sysdep.h>.
4652
a897655d
SP
46532013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4654
4655 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
4656
881ebe89 46572013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
4658
4659 * elf/elf.h (R_386_SIZE32): New relocation.
4660 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
4661 R_386_SIZE32.
4662 (elf_machine_rela): Likewise.
4663 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
4664 R_X86_64_SIZE64 and R_X86_64_SIZE32.
4665
59981e9b
JM
46662013-01-17 Joseph Myers <joseph@codesourcery.com>
4667
4668 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
4669 (FP_FAST_FMA): Do not define.
4670 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
4671 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
4672 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
4673 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
4674 !_SOFT_FLOAT]: Likewise.
4675 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
4676 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
4677 value.
4678 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
4679 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
4680 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
4681 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
4682 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
4683 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
4684 file.
4685
cfa8054f
AS
46862013-01-16 Andreas Schwab <schwab@suse.de>
4687
4688 [BZ #14327]
4689 * include/stdlib.h (__mktemp): Add declaration.
4690 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
4691 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
4692
dd930cc5
SP
46932013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4694
881ebe89
SP
4695 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
4696 definitions.
4697 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4698 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
4699 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
4700 definitions here.
4701 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
4702 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
4703 definitions.
4704 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
4705 and ONE.
4706 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
4707 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
4708 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
4709 definitions.
4710 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
4711 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
4712 definitions.
4713 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 4714
dd930cc5
SP
4715 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
4716
c19a9f89
DM
47172013-01-15 David S. Miller <davem@davemloft.net>
4718
1aa61767
DM
4719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4720 trunc{,f} to libm-sysdep_routes.
4721 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
4723 file.
4724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
4725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
4726 file.
4727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
4728 file.
4729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
4730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
4731 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
4732 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
4733 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
4734 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
4735 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
4736 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
4737
c42d5e98
DM
4738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4739 nearbyint{,f} to libm-sysdep_routes.
4740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
4742 New file.
4743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
4744 file.
4745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
4746 New file.
4747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
4748 file.
4749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
4750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
4751 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
4752 file.
4753 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
4754 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
4755 file.
4756 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
4757 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
4758 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
4759
c19a9f89
DM
4760 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4761 libc_feholdexcept and libc_fesetenv.
4762
357679d2
MF
47632013-01-15 Mike Frysinger <vapier@gentoo.org>
4764
4765 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
4766
65a82e3d
DM
47672013-01-14 David S. Miller <davem@davemloft.net>
4768
8b954ab9
DM
4769 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
4770 (SPARC_ASM_VIS2_IFUNC): Likewise.
4771 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
4772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
4773 use of 'siam' instruction.
4774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
4775 Likewise.
4776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
4777 Likewise.
4778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
4779 Likewise.
4780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4781 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
4785 file.
4786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
4787 file.
4788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
4789 file.
4790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
4791 file.
4792 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
4793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
4794 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
4795 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
4796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
4797 new VIS2 routines.
4798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4801 Likewise.
4802 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4803 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4805 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
4807 routines to libm-sysdep_routines.
4808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4809
65a82e3d
DM
4810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
4811 fdim/fdimf to libm-sysdep_routines.
4812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
4813 file.
4814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
4815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
4816 file.
4817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
4818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
4819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
4820 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
4821 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
4822 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
4823 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
4824
e34ab705
SP
48252013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4826
2a91b573
SP
4827 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
4828 to optimize copies.
4829
1066a534
SP
4830 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
4831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4833
e34ab705
SP
4834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
4835 local variable MPTWO.
4836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
4837 Likewise.
4838
aba5e596
MF
48392013-01-13 Mike Frysinger <vapier@gentoo.org>
4840
4841 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
4842 GLOB_NOESCAPE.
4843
e557e9e5
MF
48442013-01-13 Mike Frysinger <vapier@gentoo.org>
4845
4846 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
4847
0428cec9
MF
48482013-01-13 Mike Frysinger <vapier@gentoo.org>
4849
4850 * manual/pattern.texi (glob_t): Document gl_flags.
4851 (glob64_t): Likewise.
4852
8794a964
DM
48532013-01-11 David S. Miller <davem@davemloft.net>
4854
66438c3f
RM
4855 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
4856 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
4857 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
4858 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
4859 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
4860 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
4861 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
4862 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
4863 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
4864 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
4865 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
4866 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
4867 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
4868
4ae4244d
DM
4869 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
4870 sparc V9 rather than using V8 code.
4871 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
4872 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
4873
8794a964
DM
4874 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4875 Move to...
4876 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
4877 Here.
4878
6270516e
RM
48792013-01-11 Roland McGrath <roland@hack.frob.com>
4880
4881 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
4882 not in the main loop.
4883 * configure: Regenerated.
4884
6a57d931
JM
48852013-01-11 Joseph Myers <joseph@codesourcery.com>
4886
4887 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
4888 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
4889 to just #else.
4890 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
4891 [!__GLIBC_HAVE_LONG_LONG] case.
4892 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
4893 condition to just #else.
4894 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
4895 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
4896 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
4897 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
4898 unconditional.
4899 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
4900 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4901 #elif condition to just #else.
4902 * sysdeps/unix/sysv/linux/sys/sysmacros.h
4903 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
4904 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
4905 #elif condition to just #else.
4906
0e8529e9
SE
49072013-01-11 Steve Ellcey <sellcey@mips.com>
4908
4909 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
4910 (EF_MIPS_ARCH_64): Fix value.
4911 (EF_MIPS_ARCH_32R2): New.
4912 (EF_MIPS_ARCH_64R2): New.
4913
740b3dbe
L
49142013-01-11 H.J. Lu <hongjiu.lu@intel.com>
4915
4916 * Makeconfig (+link-pie-before-libc): New.
4917 (+link-pie-after-libc): Likewise.
4918 (+link-pie-tests): Likewise.
4919 (+link-pie): Rewritten.
4920 (link-before-libc): Remove $(config-LDFLAGS).
4921 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
4922 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
4923 (config-LDFLAGS): Renamed to ...
4924 (rtld-LDFLAGS): This.
4925 (rtld-tests-LDFLAGS): New macro.
4926 (link-libc-rpath-link): Likewise.
4927 (link-libc-tests-rpath-link): Likewise.
4928 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
4929 (link-libc): Prepand $(link-libc-rpath-link).
4930 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
4931 (test-program-prefix): New macro.
4932 (test-via-rtld-prefix): Likewise.
4933 (test-program-cmd): Likewise.
4934 (host-test-program-cmd): Likewise.
4935 * Makefile ($(common-objpfx)testrun.sh): Replace
4936 $(run-program-prefix) with $(test-program-prefix).
4937 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
4938 $(rtld-LDFLAGS).
4939 ($(common-objpfx)shlib.lds): Likewise.
4940 (build-module-helper): Likewise.
4941 ($(common-objpfx)format.lds): Likewise.
4942 * Rules (binaries-pie-tests): New.
4943 (binaries-pie-notests): Likewise.
4944 (binaries-pie): Rewritten.
4945 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
4946 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
4947 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
4948 (make-test-out): Replace $(host-built-program-cmd) with
4949 $(host-test-program-cmd).
4950 * config.make.in (build-hardcoded-path-in-tests): New variable.
4951 * configure.in (--enable-hardcoded-path-in-tests): New configure
4952 option.
4953 (hardcoded_path_in_tests): New AC_SUBST.
4954 * configure: Regenerated.
4955 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
4956 $(built-program-cmd) with $(test-program-cmd).
4957 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
4958 (test_program_cmd): This.
4959 * elf/Makefile ($(objpfx)order.out): Run test with
4960 $(test-program-prefix).
4961 ($(objpfx)order2.out): Likewise.
4962 ($(objpfx)tst-initorder.out): Likewise.
4963 ($(objpfx)tst-initorder2.out): Likewise.
4964 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
4965 $(test-program-cmd).
4966 ($(objpfx)tst-array1-static.out): Likewise.
4967 ($(objpfx)tst-array2.out): Likewise.
4968 ($(objpfx)tst-array3.out): Likewise.
4969 ($(objpfx)tst-array4.out): Likewise.
4970 ($(objpfx)tst-array5.out): Likewise.
4971 ($(objpfx)tst-array5-static.out): Likewise.
4972 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
4973 $(test-program-cmd).
4974 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
4975 $(run-program-prefix) with $(test-program-prefix).
4976 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
4977 (test_program_prefix): This.
4978 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
4979 $(run-program-prefix) with $(test-program-prefix).
4980 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
4981 (test_program_prefix): This.
4982 * iconvdata/tst-tables.sh: Likewise.
4983 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
4984 $(run-program-prefix) with $(test-program-prefix).
4985 ($(objpfx)tst-translit.out): Likewise.
4986 ($(objpfx)tst-gettext2.out): Likewise.
4987 ($(objpfx)tst-gettext4.out): Likewise.
4988 ($(objpfx)tst-gettext6.out): Likewise.
4989 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
4990 (test_program_prefix): This.
4991 * intl/tst-gettext2.sh: Likewise.
4992 * intl/tst-gettext4.sh Likewise.
4993 * intl/tst-gettext6.sh: Likewise.
4994 * intl/tst-translit.sh: Likewise.
4995 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
4996 with $(test-program-cmd).
4997 * libio/Makefile ($(objpfx)test-freopen.out): Replace
4998 $(run-program-prefix) with $(test-program-prefix).
4999 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
5000 (test_program_prefix): This.
5001 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
5002 $(run-program-prefix) with $(test-program-prefix).
5003 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
5004 (test_program_prefix): This.
5005 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
5006 * posix/Makefile ($(objpfx)globtest.out): Replace
5007 $(run-via-rtld-prefix) and $(test-wrapper) with
5008 $(test-program-prefix) and $(test-via-rtld-prefix).
5009 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
5010 $(test-program-prefix).
5011 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
5012 $(host-test-program-cmd).
5013 (tst-spawn-ARGS): Likewise.
5014 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
5015 $(test-program-prefix).
5016 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
5017 (test_via_rtld_prefix): This.
5018 (test_wrapper): Renamed to ...
5019 (test_program_prefix): This.
5020 (run_program_prefix): Replaced by test_program_prefix.
5021 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
5022 (test_program_prefix): This.
5023 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
5024 with $(host-test-program-cmd).
5025 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
5026 $(run-program-prefix) with $(test-program-prefix).
5027 ($(objpfx)tst-printf.out): Likewise.
5028 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
5029 $(test-program-cmd).
5030 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
5031 (test_program_prefix): This.
5032 * stdio-common/tst-unbputc.sh: Likewise.
5033 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
5034 $(run-program-prefix) with $(test-program-prefix).
5035 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
5036 (test_program_prefix): This.
5037 * string/Makefile ($(objpfx)tst-svc.out): Replace
5038 $(built-program-cmd) with $(test-program-cmd).
5039
c6fe55cf
AJ
50402013-01-11 Andreas Jaeger <aj@suse.de>
5041
5042 [BZ #15003]
5043 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
5044 value. Sync with Linux 3.7.
5045
9e6919c8
DM
50462013-01-10 David S. Miller <davem@davemloft.net>
5047
5048 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
5049 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5050 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5051
1c9f1a02
RM
50522013-01-10 Roland McGrath <roland@hack.frob.com>
5053
5054 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
5055 never set.
5056 * configure: Regenerated.
5057
b9de2dde
DM
50582013-01-10 David S. Miller <davem@davemloft.net>
5059
5060 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
5061 sparc V9 rather than using V8 code.
5062 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
5063 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
5064
e7f68ef4
RM
50652013-01-10 Roland McGrath <roland@hack.frob.com>
5066
5067 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
5068 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5069 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
5070 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
5071 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
5072 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
5073 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
5074 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
5075 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
5076 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
5077 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
5078 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
5079 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
5080 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
5081 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
5082 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
5083 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
5084 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
5085 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
5086 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
5087 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
5088 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
5089 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
5090 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
5091 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
5092 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
5093 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
5094
5a47cc9c
DM
50952013-01-10 David S. Miller <davem@davemloft.net>
5096
5097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5098
4cf8f209
L
50992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 * posix/Makefile (tests-static): New variable.
5102 (tests): Add $(tests-static).
5103 (tst-exec-static-ARGS): New variable.
5104 (tst-spawn-static-ARGS): Likewise.
5105 * posix/tst-exec-static.c: New file.
5106 * posix/tst-spawn-static.c: Likewise.
5107 * posix/tst-exec.c: Support run directly.
5108 * posix/tst-spawn.c: Likewise.
5109
fed0faa1
JM
51102013-01-10 Joseph Myers <joseph@codesourcery.com>
5111
828beb13
JM
5112 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
5113 long.
5114 * math/bits/mathcalls.h (llrint): Likewise.
5115 (llround): Likewise.
5116 * stdlib/stdlib.h (struct drand48_data): Likewise.
5117 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
5118 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
5119 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
5120 Likewise.
5121 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
5122 Likewise.
5123 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
5124 (elf_greg_t): Likewise.
5125 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
5126 (__jmp_buf): Likewise.
5127 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
5128 definitions.
5129 (llrint): Likewise, for all definitions.
5130 (llrintl): Likewise.
5131
fed0faa1
JM
5132 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
5133 Remove [__GNUC__] condition.
5134 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
5135 condition to just [__USE_ISOC99].
5136 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
5137
1a20cb20
L
51382013-01-10 H.J. Lu <hongjiu.lu@intel.com>
5139
5140 [BZ #14200]
5141 * sysdeps/unix/sysv/linux/x86/bits/environments.h
5142 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
5143 defined.
5144 (_POSIX_V6_ILP32_OFF32): Likewise.
5145 (_XBS5_ILP32_OFF32): Likewise.
5146 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
5147 (__ILP32_OFFBIG_LDFLAGS): Likewise.
5148
751b85f7
SP
51492013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5150
7490eb81
SP
5151 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
5152
751b85f7
SP
5153 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
5154 doubles __mpexp_twomm1. Adjust usage.
5155 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
5156 Remove.
5157
988197f0
AS
51582013-01-10 Andreas Schwab <schwab@suse.de>
5159
5160 [BZ #14964]
5161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
5162 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
5163
e83d7298
DM
51642013-01-09 David S. Miller <davem@davemloft.net>
5165
034ed64b 5166 [BZ #15003]
e83d7298
DM
5167 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
5168 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
5169 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
5170 TCP_FASTOPEN): Define.
5171 (tcp_repair_opt): New structure.
5172 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
5173 enum values.
5174 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
5175 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
5176 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
5177 (tcp_cookie_transactions): New structure.
5178
d5e0b9bd
AB
51792013-01-09 Anton Blanchard <anton@samba.org>
5180
5181 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
5182 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
5183 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
5184 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
5185
0c07e3ea
JM
51862013-01-09 Joseph Myers <joseph@codesourcery.com>
5187
5188 * include/features.h (__USE_ANSI): Remove.
5189
232f7002
RM
51902013-01-09 Roland McGrath <roland@hack.frob.com>
5191
ad98e30c
RM
5192 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
5193
232f7002
RM
5194 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5195
950c99ca
SP
51962013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5197
b5792741
SP
5198 * sysdeps/s390/fpu/libm-test-ulps: Update.
5199
47cf2278
SP
5200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5201
950c99ca
SP
5202 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
5203 (__acr): Likewise.
5204 (__cpy): Likewise.
5205 (norm): Likewise.
5206 (denorm): Likewise.
5207 (__mp_dbl): Likewise.
5208 (__dbl_mp): Likewise.
5209 (add_magnitudes): Likewise.
5210 (sub_magnitudes): Likewise.
5211 (__add): Likewise.
5212 (__sub): Likewise.
5213 (__mul): Likewise.
5214 (__inv): Likewise.
5215 (__dvd): Likewise.
5216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
5217 (__acr): Likewise.
5218 (__cpy): Likewise.
5219 (norm): Likewise.
5220 (denorm): Likewise.
5221 (__mp_dbl): Likewise.
5222 (__dbl_mp): Likewise.
5223 (add_magnitudes): Likewise.
5224 (sub_magnitudes): Likewise.
5225 (__add): Likewise.
5226 (__sub): Likewise.
5227 (__mul): Likewise.
5228 (__inv): Likewise.
5229 (__dvd): Likewise.
5230 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
5231 (__acr): Likewise.
5232 (__cpy): Likewise.
5233 (norm): Likewise.
5234 (denorm): Likewise.
5235 (__mp_dbl): Likewise.
5236 (__dbl_mp): Likewise.
5237 (add_magnitudes): Likewise.
5238 (sub_magnitudes): Likewise.
5239 (__add): Likewise.
5240 (__sub): Likewise.
5241 (__mul): Likewise.
5242 (__inv): Likewise.
5243 (__dvd): Likewise.
5244
eede9df9
JM
52452013-01-08 Joseph Myers <joseph@codesourcery.com>
5246
5247 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
5248 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
5249 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
5250 2 && __USE_EXTERN_INLINES]: Likewise.
5251
c40ea3d9
AJ
52522013-01-08 Andreas Jaeger <aj@suse.de>
5253
5254 [BZ# 14985]
5255 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
5256 Remove.
5257 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5258 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
5259
2ccdea26
AB
52602013-01-07 Anton Blanchard <anton@samba.org>
5261
5262 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
5263 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5264 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
5265 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5266 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5267 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5268 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
5269 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5271 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5272 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5273 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5276 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5277 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5278 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5279 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5280 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
5281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5282 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
5283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
5284 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5285 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5286 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
5287 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5288 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5289 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5290 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
5291 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5292 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5294 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5297 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5298 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5299 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5301 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5302 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
5303 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5304 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5305
a9708fed
JM
53062013-01-07 Joseph Myers <joseph@codesourcery.com>
5307
375607b9
JM
5308 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
5309 (__MALLOC_PMT): Likewise.
5310 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
5311 [__GNUC__], only on [_LIBC].
5312 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5313 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
5314 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
5315 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
5316 forward declaration.
5317 (realloc_hook_ini): Likewise.
5318 (memalign_hook_ini): Likewise.
5319 (__libc_memalign): Do not use __MALLOC_PMT in variable
5320 declaration.
5321 (__libc_valloc): Likewise.
5322 (__libc_pvalloc): Likewise.
5323 (__libc_calloc): Likewise.
5324 (__posix_memalign): Likewise.
5325
a9708fed
JM
5326 [BZ #14996]
5327 * math/s_casinh.c: Include <float.h>.
5328 (__casinh): Do not do computation with squaring and square root
5329 for large arguments.
5330 * math/s_casinhf.c: Include <float.h>.
5331 (__casinhf): Do not do computation with squaring and square root
5332 for large arguments.
5333 * math/s_casinhl.c: Include <float.h>.
5334 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
5335 (__casinhl): Do not do computation with squaring and square root
5336 for large arguments.
5337 * math/libm-test.inc (casin_test): Add more tests.
5338 (casinh_test): Likewise.
5339 * sysdeps/i386/fpu/libm-test-ulps: Update.
5340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5341
afec409a
L
53422013-01-04 H.J. Lu <hongjiu.lu@intel.com>
5343
5344 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
5345 (__x86_64_raw_data_cache_size): Likewise.
5346 (__x86_64_data_cache_size_half): Likewise.
5347 (__x86_64_raw_data_cache_size_half): Likewise.
5348 (__x86_64_shared_cache_size): Likewise.
5349 (__x86_64_raw_shared_cache_size): Likewise.
5350 (__x86_64_shared_cache_size_half): Likewise.
5351 (__x86_64_raw_shared_cache_size_half): Likewise.
5352 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
5353 to ...
5354 (__x86_data_cache_size): This.
5355 (__x86_64_raw_data_cache_size): Renamed to ...
5356 (__x86_raw_data_cache_size): This.
5357 (__x86_64_data_cache_size_half): Renamed to ...
5358 (__x86_data_cache_size_half): This.
5359 (__x86_64_raw_data_cache_size_half): Renamed to ...
5360 (__x86_raw_data_cache_size_half): This.
5361 (__x86_64_shared_cache_size): Renamed to ...
5362 (__x86_shared_cache_size): This.
5363 (__x86_64_raw_shared_cache_size): Renamed to ...
5364 (__x86_raw_shared_cache_size): This.
5365 (__x86_64_shared_cache_size_half): Renamed to ...
5366 (__x86_shared_cache_size_half): This.
5367 (__x86_64_raw_shared_cache_size_half): Renamed to ...
5368 (__x86_raw_shared_cache_size_half): This.
5369 * sysdeps/x86_64/memcpy.S: Updated.
5370 * sysdeps/x86_64/memset.S: Likewise.
5371 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5374
0b3986d0
DM
53752013-01-04 David S. Miller <davem@davemloft.net>
5376
5377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5378
e47686e9
AS
53792013-01-04 Andreas Schwab <schwab@linux-m68k.org>
5380
d643bac1
AS
5381 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
5382 1 to avoid redefinition warning.
5383 (__USE_GNU): Don't define.
5384 (init_signaling_nan): Protoize.
5385
e47686e9
AS
5386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5387
b18decba
SP
53882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5389
fffb407f
SP
5390 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
5391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
5392 (__cpymn): Likewise.
5393 (norm): Remove commented code.
5394 (denorm): Likewise.
5395 (__mp_dbl): Likewise.
5396 (__inv): Likewise.
5397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
5398 (__cpymn): Likewise.
5399 (norm): Remove commented code.
5400 (denorm): Likewise.
5401 (__mp_dbl): Likewise.
5402 (__inv): Likewise.
5403
b18decba
SP
5404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
5405 mp_no value for 1.0 and 2.0.
5406 (norm): Use RADIXI instead of radixi.d.
5407 (denorm): Likewise.
5408 (__mul): Use 0.0 instead of zero.d.
5409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
5410 mp_no value for 1.0 and 2.0.
5411 (norm): Use RADIXI instead of radixi.d.
5412 (denorm): Likewise.
5413 (__mul): Use 0.0 instead of zero.d.
5414
cdc1c96f
JM
54152013-01-04 Joseph Myers <joseph@codesourcery.com>
5416
5417 [BZ #14994]
5418 * math/s_casinh.c (__casinh): Reduce finite argument to first
5419 quadrant then set signs of results at the end.
5420 * math/s_casinhf.c (__casinhf): Likewise.
5421 * math/s_casinhl.c (__casinhl): Likewise.
5422 * math/libm-test.inc (casin_test): Add more tests.
5423 (casinh_test): Likewise.
5424 * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5426
302913e1
SP
54272013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5428
6420d207
SP
5429 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
5430
a9e48ab4
SP
5431 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
5432
b7837264
SP
5433 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
5434 declarations.
5435 (denorm): Likewise.
5436 (__mp_dbl): Likewise.
5437 (__inv): Likewise.
5438
f8af25d2
SP
5439 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
5440 and adjust the header comment.
5441
302913e1
SP
5442 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
5443 variable name from declaration.
5444
5d7dd1ca
L
54452013-01-03 H.J. Lu <hongjiu.lu@intel.com>
5446
5447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5448 Initialize COMMON_CPUID_INDEX_7 element.
5449 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
5450 (CPUID_RTM): Likewise.
5451 (HAS_RTM): Likewise.
5452 (COMMON_CPUID_INDEX_7): New enum.
5453
2f5f40f4
AS
54542013-01-03 Andreas Schwab <schwab@linux-m68k.org>
5455
5456 [BZ #14981]
5457 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
5458 size is zero, record memory as freed.
5459
4056f4a0
AJ
54602013-01-03 Andreas Jaeger <aj@suse.de>
5461
5462 * po/ia.po: Add new Interlingua translation.
5463
ab15736f 54642012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
5465
5466 * locale/programs/localedef.c: Fix description of '--posix' flag.
5467
568035b7
JM
54682013-01-02 Joseph Myers <joseph@codesourcery.com>
5469
e6898b8d
JM
5470 * NEWS: Update dates in second copyright notice.
5471 * README: Update copyright dates in example.
5472 * manual/libc.texinfo: Update copyright dates.
5473 * scripts/test-installation.pl: Update copyright date in --version
5474 output.
5475
0e2f9562
JM
5476 * hurd/ctty-input.c: Fix copyright notice formatting.
5477 * hurd/ctty-output.c: Likewise.
5478 * hurd/dtable.c: Likewise.
5479 * hurd/hurd-raise.c: Likewise.
5480 * hurd/hurdprio.c: Likewise.
5481 * hurd/msgportdemux.c: Likewise.
5482 * misc/sys/file.h: Likewise.
5483 * misc/sys/ioctl.h: Likewise.
5484 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5485 * sysdeps/mach/hurd/chdir.c: Likewise.
5486 * sysdeps/mach/hurd/fchdir.c: Likewise.
5487 * sysdeps/mach/hurd/rename.c: Likewise.
5488 * sysdeps/mach/hurd/rmdir.c: Likewise.
5489 * sysdeps/mach/hurd/seekdir.c: Likewise.
5490 * sysdeps/mach/hurd/setsid.c: Likewise.
5491 * sysdeps/posix/wait3.c: Likewise.
5492
568035b7
JM
5493 * All files with FSF copyright notices: Update copyright dates
5494 using scripts/update-copyrights.
5495 * intl/plural.c: Regenerated.
5496 * locale/programs/charmap-kw.h: Likewise.
5497 * locale/programs/locfile-kw.h: Likewise.
5498
da08f647
SP
54992013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5500
0f5477af
SP
5501 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
5502 four values.
5503
44e0d4c2
SP
5504 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
5505 calculation loop and add branch prediction.
5506
4d55b4e5
SP
5507 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
5508 check access beyond bounds of m1np.
5509
da08f647
SP
5510 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5511 MPTWO.
5512 (__inv): Remove local variable MPTWO to use the global
5513 constant.
5514 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
5515 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5516 variable MPTWO.
5517 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
5518 MP3HALFS static const.
5519
8e051029
DM
55202013-01-01 David S. Miller <davem@davemloft.net>
5521
5522 * po/ca.po: Update from translation team.
5523
f4cf5f2d
JM
55242013-01-01 Joseph Myers <joseph@codesourcery.com>
5525
5526 * scripts/update-copyrights: New file.
5527 * Makeconfig: Reformat copyright notice.
5528 * ctype/ctype.h: Likewise.
5529 * debug/swprintf_chk.c: Likewise.
5530 * elf/dl-cache.c: Likewise.
5531 * elf/dl-debug.c: Likewise.
5532 * elf/dl-object.c: Likewise.
5533 * grp/initgroups.c: Likewise.
5534 * hurd/Makefile: Likewise.
5535 * hurd/hurd/signal.h: Likewise.
5536 * hurd/hurdfault.c: Likewise.
5537 * hurd/hurdioctl.c: Likewise.
5538 * hurd/hurdlookup.c: Likewise.
5539 * hurd/intr-msg.c: Likewise.
5540 * iconv/gconv_open.c: Likewise.
5541 * libio/swprintf.c: Likewise.
5542 * locale/lc-ctype.c: Likewise.
5543 * locale/nl_langinfo.c: Likewise.
5544 * mach/Machrules: Likewise.
5545 * mach/Makefile: Likewise.
5546 * malloc/obstack.h: Likewise.
5547 * manual/Makefile: Likewise.
5548 * manual/tsort.awk: Likewise.
5549 * misc/bits/stab.def: Likewise.
5550 * nis/nis_print_group_entry.c: Likewise.
5551 * nis/nis_table.c: Likewise.
5552 * nis/nss_compat/compat-pwd.c: Likewise.
5553 * nis/nss_compat/compat-spwd.c: Likewise.
5554 * po/Makefile: Likewise.
5555 * posix/fnmatch.c: Likewise.
5556 * posix/regex.h: Likewise.
5557 * resolv/Makefile: Likewise.
5558 * resolv/nss_dns/dns-network.c: Likewise.
5559 * resolv/res_hconf.c: Likewise.
5560 * scripts/gen-sorted.awk: Likewise.
5561 * soft-fp/soft-fp.h: Likewise.
5562 * stdio-common/printf.h: Likewise.
5563 * stdlib/monetary.h: Likewise.
5564 * stdlib/random.c: Likewise.
5565 * stdlib/random_r.c: Likewise.
5566 * sysdeps/generic/Makefile: Likewise.
5567 * sysdeps/gnu/Makefile: Likewise.
5568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5575 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5576 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5577 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5578 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5579 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5582 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
5583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5584 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5585 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5591 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5592 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5595 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
5596 * sysdeps/mach/hurd/errnos.awk: Likewise.
5597 * sysdeps/mach/hurd/fork.c: Likewise.
5598 * sysdeps/mach/hurd/getcwd.c: Likewise.
5599 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
5600 * sysdeps/mach/hurd/mmap.c: Likewise.
5601 * sysdeps/mach/hurd/utimes.c: Likewise.
5602 * sysdeps/mach/hurd/xmknod.c: Likewise.
5603 * sysdeps/posix/profil.c: Likewise.
5604 * sysdeps/posix/readdir_r.c: Likewise.
5605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5606 * sysdeps/powerpc/bits/setjmp.h: Likewise.
5607 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
5608 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
5609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
5610 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
5611 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
5612 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5614 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
5615 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
5616 * sysdeps/pthread/lio_listio.c: Likewise.
5617 * sysdeps/sparc/dl-procinfo.h: Likewise.
5618 * sysdeps/unix/i386/sysdep.S: Likewise.
5619 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
5620 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
5621 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
5622 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5624 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
5625 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
5626 * sysdeps/unix/sysv/linux/speed.c: Likewise.
5627 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5628 * sysdeps/wordsize-32/divdi3.c: Likewise.
5629 * time/sys/time.h: Likewise.
5630 * wcsmbs/Makefile: Likewise.
5631
0549fbba
DM
56322013-01-01 David S. Miller <davem@davemloft.net>
5633
a141f1a7
DM
5634 * po/fr.po: Update from translation team.
5635
0549fbba
DM
5636 * catgets/gencat.c: Update copyright year.
5637 * csu/version.c: Likewise.
5638 * debug/catchsegv.sh: Likewise.
5639 * debug/pcprofiledump.c: Likewise.
5640 * debug/xtrace.sh: Likewise.
5641 * elf/ldconfig.c: Likewise.
5642 * elf/ldd.bash.in: Likewise.
5643 * elf/pldd.c: Likewise.
5644 * elf/sotruss.ksh: Likewise.
5645 * elf/sprof.c: Likewise.
5646 * iconv/iconv_prog.c: Likewise.
5647 * iconv/iconvconfig.c: Likewise.
5648 * locale/programs/locale.c: Likewise.
5649 * locale/programs/localedef.c: Likewise.
5650 * login/programs/pt_chown.c: Likewise.
5651 * malloc/memusage.sh: Likewise.
5652 * malloc/memusagestat.c: Likewise.
5653 * malloc/mtrace.pl: Likewise.
5654 * nscd/nscd.c: Likewise.
5655 * nss/getent.c: Likewise.
5656 * nss/makedb.c: Likewise.
5657 * posix/getconf.c: Likewise.
5658
18ea052c
SP
56592012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5660
5661 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
5662 numbers.
5663
9c89fca6
MF
56642012-12-30 Mike Frysinger <vapier@gentoo.org>
5665
5666 * math/bits/mathcalls.h (modf): Use __nonnull.
5667
085ec079
SP
56682012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5669
5670 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
5671 (split): Use macro CN instead of the bare value.
5672 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
5673 could be used.
5674 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
5675 instead of the bare value.
5676 (power1): Likewise.
5677
6d9f97e1
SP
56782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5679
d63f73be
SP
5680 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
5681 __ATAN_TWOM.
5682 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5683
6d9f97e1
SP
5684 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
5685 their values.
5686 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
5687 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
5688 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
5689 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
5690
4c4febf5
AJ
56912012-12-28 Andreas Jaeger <aj@suse.de>
5692
af5843ef
AJ
5693 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
5694 values are from Linux 3.7.
5695
4c4febf5
AJ
5696 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
5697 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
5698
99136f82
SP
56992012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5700
2f216c3c 5701 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
5702 TRUE case.
5703
99136f82
SP
5704 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
5705 (norm): Likewise.
5706 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
5707 variables with preprocessor constants.
5708 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5709 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5710 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5711
7fffbdff
BH
57122012-12-27 Bruno Haible <bruno@clisp.org>
5713
5714 [BZ #14317]
5715 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
5716 only if needed.
5717
b76eb5f0
SP
57182012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5719
31a7fe5c
SP
5720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
5721 and use variable directly.
5722 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
5723
b76eb5f0
SP
5724 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
5725 MPONE.
5726 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
5727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
5728 variable MPONE.
5729 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
5730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5731 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
5732 include directive. Remove local variable MPONE.
5733 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
5734 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
5735 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5736
2c8bfe7d
DM
57372012-12-25 David S. Miller <davem@davemloft.net>
5738
5739 * version.h (RELEASE): Set to "development".
5740 (VERSION): Set to "2.17.90".
5741 * NEWS: Add 2.18 section.
5742
147d03b0
DM
57432012-12-21 David S. Miller <davem@davemloft.net>
5744
5745 * po/hr.po: Update from translation team.
5746
a8ebb2b9
AK
57472012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5748
5749 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
5750
95b4f1b6
SE
57512012-12-19 Steve Ellcey <sellcey@mips.com>
5752
b2d94007 5753 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 5754
cedb2a90
MS
57552012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5756
5757 * manual/contrib.texi (Contributors): Spelling correction.
5758
bbf527d6
DM
57592012-12-15 David S. Miller <davem@davemloft.net>
5760
5761 * po/ru.po: Update from translation team.
5762
bc38c906
DM
57632012-12-13 David S. Miller <davem@davemloft.net>
5764
85429b1a
DM
5765 * NEWS: Mention IFUNC testsuite enhancements.
5766
d283e353
DM
5767 * po/pl.po: Update from translation team.
5768 * po/bg.po: Likewise.
5769
bc38c906
DM
5770 * manual/contrib.texi (Contributors): Update entries for Hongjiu
5771 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
5772
a181b0d7
DM
57732012-12-11 David S. Miller <davem@davemloft.net>
5774
4641d57e
DM
5775 * po/sv.po: Update from translation team.
5776
f7bc6495
DM
5777 * po/vi.po: Update from translation team.
5778
6fc9048f
DM
5779 * po/cs.po: Update from translation team.
5780
a181b0d7
DM
5781 * po/de.po: Update from translation team.
5782 * po/eo.po: Likewise.
5783 * po/nl.po: Likewise.
5784
f70bfe80
SP
57852012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5786
3c8b4190
SP
5787 [BZ #14246]
5788 * manual/argp.texi (Argp Helper Functions): Move node to follow
5789 Argp Parsing State.
5790
f70bfe80
SP
5791 [BZ #14872]
5792 * manual/conf.texi (Limits on File System Capacity): Mention if
5793 terminating null is included in the max size.
5794
188f0adf
AJ
57952012-12-10 Andreas Jaeger <aj@suse.de>
5796
5797 * po/cs.po: Update from translation team.
5798
56e7d3ad
SP
57992012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5800
5801 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
5802 void pointer and cast to uintptr_t.
5803 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
5804 path.
5805 * sysdeps/s390/s390-64/memcpy.S: Likewise.
5806 * sysdeps/s390/s390-64/memset.S: Likewise.
5807
76f2d2ea 58082012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
5809
5810 [BZ #14833]
5811 * menual/message.texi (Message Translation): Fix typos.
5812 (Helper programs for gettext): Likewise.
5813
67cbf9a2
AS
58142012-12-07 Andreas Schwab <schwab@linux-m68k.org>
5815
5816 [BZ #14898]
5817 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
5818 Change to -1.
5819
682d0e9a
DM
58202012-12-07 David S. Miller <davem@davemloft.net>
5821
5822 * po/libc.pot: Update.
5823
573cd484
RH
58242012-12-07 Richard Henderson <rth@redhat.com>
5825
7e9da188 5826 [BZ #10114]
573cd484
RH
5827 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
5828 normal/normal case to before the switch.
5829 (_FP_DIV): Likewise.
5830
e933a943
MF
58312012-12-06 Carlos O'Donell <carlos@systemhalted.org>
5832 Mike Frysinger <vapier@gentoo.org>
5833
5834 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
5835 check for __NR_fadvise64_64.
5836
82123268
CM
58372012-12-06 Chris Metcalf <cmetcalf@tilera.com>
5838
5839 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
5840 0, not just to plain "0" as a statement.
5841 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
5842 with cw.
5843
d9814526
JM
58442012-12-06 Joseph Myers <joseph@codesourcery.com>
5845
5846 * NEWS: Use sourceware.org in Bugzilla URL.
5847
7728c574
SP
58482012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
5849
f16946dd
SP
5850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5851 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5852
5704bbcb
SP
5853 * stdio-common/tst-put-error.c (do_test): Add newline to the
5854 padded test to ensure flush.
5855
17aa0516
JL
58562012-12-05 Jeff Law <law@redhat.com>
5857
5858 * sunrpc/etc.rpc (fedfs_admin): Add entry.
5859
363313b5
JM
58602012-12-05 Joseph Myers <joseph@codesourcery.com>
5861
effbd42a
JM
5862 * README: Don't refer to ports add-on as distributed separately.
5863 Mention AArch64 in list of systems supported in the ports add-on.
5864
87600365
JM
5865 * LICENSES: Add more non-FSF copyright and license notices.
5866
a0d7066a
JM
5867 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
5868 ((unused)).
5869
66ca5a5b
JM
5870 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
5871
363313b5
JM
5872 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
5873 10000 as width of padded output.
5874
b37984ad
JM
58752012-12-04 Joseph Myers <joseph@codesourcery.com>
5876
9003570a
JM
5877 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
5878
b37984ad
JM
5879 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
5880 variable LX with __attribute__ ((unused)).
5881 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5882 Likewise.
5883 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5884 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5885 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
5886 with __attribute__ ((unused)).
5887
c8df52ec
DM
58882012-12-04 David S. Miller <davem@abraco.davemloft.net>
5889
5890 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
5891
b3b099af
JM
58922012-12-04 Joseph Myers <joseph@codesourcery.com>
5893
c33aa6e3
JM
5894 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
5895 (CFLAGS-nldbl-acos.c): New variable.
5896 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
5897 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
5898 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
5899 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
5900 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
5901 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
5902 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
5903 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
5904 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
5905 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
5906 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
5907 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
5908 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
5909 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
5910 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
5911 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
5912 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
5913 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
5914 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
5915 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
5916 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
5917 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
5918 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
5919 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
5920 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
5921 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
5922 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
5923 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
5924 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
5925 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
5926 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
5927 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
5928 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
5929 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
5930 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
5931 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
5932 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
5933 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
5934 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
5935 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
5936 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
5937 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
5938 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
5939 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
5940 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
5941 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
5942 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
5943 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
5944 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
5945 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
5946 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
5947 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
5948 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
5949 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
5950 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
5951 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
5952 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
5953 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
5954 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
5955 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
5956 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
5957 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
5958 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
5959 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
5960 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
5961 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
5962 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
5963 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
5964 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
5965 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
5966 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
5967 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
5968 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
5969 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
5970 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
5971 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
5972 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
5973 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
5974 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
5975 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
5976 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
5977 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
5978 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
5979 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
5980 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
5981 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
5982 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
5983 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
5984 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
5985 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
5986 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
5987 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
5988 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
5989 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
5990 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
5991 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
5992 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
5993
20f0018d
JM
5994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5995 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
5996
b3b099af
JM
5997 [BZ #14914]
5998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
5999 whole low double instead of just low 47 bits when splitting values
6000 into two parts.
6001
029264d1
AM
60022012-12-03 Allan McRae <allan@archlinux.org>
6003
6004 * manual/stdio.texi (Predefined Printf Handlers): Remove
6005 @hsep and @vsep usage.
6006
c9d6789e
MF
60072012-12-03 Mike Frysinger <vapier@gentoo.org>
6008
6009 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
6010 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
6011
4b7634a5
JL
60122012-12-03 Jeff Law <law@redhat.com>
6013
6014 * time/sys/time.h (settimeofday): Do not mark TV argument
6015 as __nonnull.
6016
eb6cbd24
MF
60172012-12-01 Mike Frysinger <vapier@gentoo.org>
6018
6019 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
6020 when currently writing and seek to current position when not.
6021 * libio/Makefile (tests): Remove bug-fclose1.
6022 * libio/bug-fclose1.c: Delete.
6023
f638872a
JM
60242012-12-01 Joseph Myers <joseph@codesourcery.com>
6025
6026 * manual/arith.texi (feenableexcept): Fix typo.
6027 (fedisableexcept): Likewise.
6028
48085d14
RM
60292012-11-30 Roland McGrath <roland@hack.frob.com>
6030
6031 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
6032 second, differently-typed declaration, rather than a cast.
6033
1a538b9f
SP
60342012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6035
6036 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
6037 * include/rpc/svc.h: ... here.
6038
d07f2ff1 60392012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
6040
6041 [BZ #13013]
6042 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
6043 depending n and resplen2 to catch cases where answer
6044 equals answerp2.
6045
c93ec1f0
CD
60462012-11-29 Carlos O'Donell <carlos@systemhalted.org>
6047
6048 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
6049 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
6050
37db69de
MF
60512012-11-29 Mike Frysinger <vapier@gentoo.org>
6052
6053 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
6054
e10c4e4f
RM
60552012-11-29 Roland McGrath <roland@hack.frob.com>
6056
6057 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
6058
2af1b328
JL
60592012-11-28 Jeff Law <law@redhat.com>
6060
6061 [BZ #13761]
6062 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
6063 dataset_temporary. Track alloca usage into alloca_used.
6064 If dataset is large allocate and release it via malloc/free.
6065
111db5b1
FW
60662012-06-04 Florian Weimer <fweimer@redhat.com>
6067
f06cc227 6068 [BZ #14197]
111db5b1
FW
6069 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
6070
dd694abd
DM
60712012-11-28 David S. Miller <davem@davemloft.net>
6072
6073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6074
9984dd01
JM
60752012-11-28 Joseph Myers <joseph@codesourcery.com>
6076
6077 [BZ #14803]
6078 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
6079 of pi/2 rounded to nearest to 64 bits.
6080 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
6081 nearest to 64 bits.
6082 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
6083 bits.
6084
14bc93a9
JL
60852012-11-28 Jeff Law <law@redhat.com>
6086 Martin Osvald <mosvald@redhat.com>
6087
6088 [BZ #14889]
6089 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
6090 * sunrpc/svc.c: Include time.h.
6091 (__svc_accept_failed): New function.
6092 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
6093 any reason other than EINTR, call __svc_accept_failed.
6094 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
6095 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
6096
e3c6aa3a
AS
60972012-11-28 Andreas Schwab <schwab@suse.de>
6098
6099 * scripts/abilist.awk: Also handle indirect functions in .opd
6100 section.
6101
1bead169
JM
61022012-11-28 Joseph Myers <joseph@codesourcery.com>
6103
6104 [BZ #13881]
6105 * sysdeps/x86/fpu/powl_helper.c: New file.
6106 * sysdeps/x86/fpu/Makefile: Likewise.
6107 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
6108 (p3): New object.
6109 (__ieee754_powl): Use __powl_helper for finite arguments except
6110 integer exponents below 8.
6111 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
6112 (p3): New object.
6113 (__ieee754_powl): Use __powl_helper for finite arguments except
6114 integer exponents below 8.
6115 * math/libm-test.inc (pow_test): Add more tests and enable some
6116 previously disabled tests.
6117 * sysdeps/i386/fpu/libm-test-ulps: Update.
6118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6119
0817d63d
SP
61202012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6121 Carlos O'Donell <carlos_odonell@mentor.com>
6122
6123 * nss/makedb.c (is_prime): Assert that input is odd and greater
6124 than 4. Note that fact in a comment too.
6125 (next_prime): Add 4 to input.
6126
de2fd463
SP
61272012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6128
6129 [BZ #11741]
6130 * libio/Makefile (tests): Add test case tst-fwrite-error.
6131 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
6132 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6133 * libio/tst-fwrite-error.c: New test case.
6134
c515fb51
L
61352012-11-26 H.J. Lu <hongjiu.lu@intel.com>
6136
6137 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
6138 before casting to void *.
6139 * include/libc-internal.h (__pointer_type): New macro.
6140 (__integer_if_pointer_type_sub): Likewise.
6141 (__integer_if_pointer_type): Likewise.
6142 (cast_to_integer): Likewise.
6143 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
6144 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
6145 before casting to atomic64_t.
6146 (atomic_exchange_acq): Likewise.
6147 (__arch_exchange_and_add_body): Likewise.
6148 (__arch_add_body): Likewise.
6149 (atomic_add_negative): Likewise.
6150 (atomic_add_zero): Likewise.
6151
4cf77aa9
JM
61522012-11-26 Joseph Myers <joseph@codesourcery.com>
6153
6154 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
6155 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
6156 (add_fdes): Likewise.
6157 (linear_search_fdes): Likewise.
6158 (binary_search_unencoded_fdes): Likewise.
6159
d260b3b4
AS
61602012-11-26 Andreas Schwab <schwab@linux-m68k.org>
6161
6162 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
6163
67060746
AC
61642012-11-24 Adam Conrad <adconrad@0c3.net>
6165
6166 * configure.in: Autodetect C++ header directories.
6167 * configure: Regenerated.
6168
800938a1
MF
61692012-11-23 Mike Frysinger <vapier@gentoo.org>
6170
6171 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
6172
4e6e34e6
AS
61732012-11-23 Andreas Schwab <schwab@linux-m68k.org>
6174
6175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6176
7c7feb47
JM
61772012-11-22 Joseph Myers <joseph@codesourcery.com>
6178
7184dcdf
JM
6179 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
6180 LDBL_MANT_DIG == 106]: Disable some tests.
6181 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6182 Likewise.
6183 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
6184 Likewise.
6185
0a42601f
JM
6186 [BZ #14871]
6187 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
6188 input for small inputs. Return +/- pi/2 for large inputs.
6189 * math/libm-test.inc (atan_test): Add more tests.
6190
79c9b9fe
JM
6191 * sysdeps/generic/unwind-dw2-fde-glibc.c
6192 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
6193 __attribute__ ((unused)).
6194
c60d3bf2
JM
6195 [BZ #14645]
6196 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
6197 x * y if x and y are nonzero and z is zero.
6198
ef1e0867
JM
6199 [BZ #14811]
6200 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
6201 nonzero exponents with absolute value below 0x1p-117 to +/-
6202 0x1p-117.
6203
1468ded3
JM
6204 [BZ #14869]
6205 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
6206 up arguments below 2**-450, not just those below 2**-500.
6207 * math/libm-test.inc (hypot_test): Add another test.
6208
8e27e3cc
JM
6209 [BZ #14868]
6210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6211 Return a+b for ratio over 2**120, not 2**60.
6212 * math/libm-test.inc (hypot_test): Add another test.
6213
c9c0279b
JM
6214 * math/libm-test.inc (clog_test): Use
6215 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
6216 (clog10_test): Likewise.
6217
7c7feb47
JM
6218 [BZ #6778]
6219 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
6220
fff1530e
AS
62212012-11-22 Andreas Schwab <schwab@suse.de>
6222
6223 * sysdeps/i386/fpu/libm-test-ulps: Update.
6224
94558d30
PT
62252012-11-22 Pino Toscano <toscano.pino@tiscali.it>
6226
6227 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
6228 printf output with newline.
6229
7e1be741
L
62302012-11-21 H.J. Lu <hongjiu.lu@intel.com>
6231
6bfea974
L
6232 [BZ #14865]
6233 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
6234 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
6235 -z nodlopen, -z initfirst and -z execstack support.
6236 * configure: Regenerated.
6237
7e1be741
L
6238 * elf/elf.h (DF_1_NODIRECT): New macro.
6239 (DF_1_IGNMULDEF): Likewise.
6240 (DF_1_NOKSYMS): Likewise.
6241 (DF_1_NOHDR): Likewise.
6242 (DF_1_EDITED): Likewise.
6243 (DF_1_NORELOC): Likewise.
6244 (DF_1_SYMINTPOSE): Likewise.
6245 (DF_1_GLOBAUDIT): Likewise.
6246 (DF_1_SINGLETON): Likewise.
6247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
6248 DT_1_SUPPORTED_MASK bits.
6249 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
6250
105ce2ce
CD
62512012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
6252
6253 * sysdeps/unix/make-syscalls.sh: Document prefixes.
6254
123be9de
TS
62552012-11-20 Thomas Schwinge <thomas@codesourcery.com>
6256
d072f3f7
TS
6257 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
6258 macro.
6259
123be9de
TS
6260 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
6261 (sendmmsg): Move declarations...
6262 * socket/sys/socket.h: ... here.
6263 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
6264 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
6265 include it from...
6266 * socket/recvmmsg.c: ... this new file.
6267 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
6268 (sendmmsg): Rename to __sendmmsg, create weak alias and make
6269 definition of __sendmmsg hidden.
6270 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
6271 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
6272 Move ENOSYS stub into and include it from...
6273 * socket/sendmmsg.c: ... this new file.
6274 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
6275 (sysdep_routines): Move recvmmsg and sendmmsg...
6276 * socket/Makefile (routines): ... here.
6277 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
6278 (GLIBC_PRIVATE): Add __sendmmsg.
6279 * include/sys/socket.h (__sendmmsg): Add declarations.
6280 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
6281 sendmmsg.
6282
cf9a5d18
JM
62832012-11-20 Joseph Myers <joseph@codesourcery.com>
6284
6285 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
6286 variable I1 with __attribute__ ((unused)).
6287 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
6288
ecd4caf9
JM
62892012-11-19 Joseph Myers <joseph@codesourcery.com>
6290
be14d48f
JM
6291 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
6292 DUMMY variables with __attribute__ ((unused)).
6293
ecd4caf9
JM
6294 * bits/byteswap.h: Include <bits/types.h>.
6295 (__bswap_64): Use __uint64_t instead of unsigned long long int.
6296
986cab95
PT
62972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6298
6299 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
6300 string_t. Do not manually set errno.
6301 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
6302 length with __strnlen. Make sure to both set errno and return it on
6303 failure.
6304
6d33cc9d
DM
63052012-11-19 David S. Miller <davem@davemloft.net>
6306
6307 With help from Joseph Myers.
6308 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
6309 very large arguments properly.
6310 * math/libm-test.inc (atan_test): New tests.
6311 (atan2_test): New tests.
6312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6314
ee663277
JM
63152012-11-19 Joseph Myers <joseph@codesourcery.com>
6316
877f2d8e
JM
6317 [BZ #14856]
6318 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
6319 Define to 3.
6320
116fc08a
JM
6321 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
6322 [POSIX] (EADDRNOTAVAIL): Likewise.
6323 [POSIX] (EAFNOSUPPORT): Likewise.
6324 [POSIX] (EALREADY): Likewise.
6325 [POSIX] (ECONNABORTED): Likewise.
6326 [POSIX] (ECONNREFUSED): Likewise.
6327 [POSIX] (ECONNRESET): Likewise.
6328 [POSIX] (EDESTADDRREQ): Likewise.
6329 [POSIX] (EDQUOT): Likewise.
6330 [POSIX] (EHOSTUNREACH): Likewise.
6331 [POSIX] (EIDRM): Likewise.
6332 [POSIX] (EISCONN): Likewise.
6333 [POSIX] (ELOOP): Likewise.
6334 [POSIX] (EMULTIHOP): Likewise.
6335 [POSIX] (ENETDOWN): Likewise.
6336 [POSIX] (ENETUNREACH): Likewise.
6337 [POSIX] (ENOBUFS): Likewise.
6338 [POSIX] (ENODATA): Likewise.
6339 [POSIX] (ENOLINK): Likewise.
6340 [POSIX] (ENOMSG): Likewise.
6341 [POSIX] (ENOPROTOOPT): Likewise.
6342 [POSIX] (ENOSR): Likewise.
6343 [POSIX] (ENOSTR): Likewise.
6344 [POSIX] (ENOTCONN): Likewise.
6345 [POSIX] (ENOTSOCK): Likewise.
6346 [POSIX] (EOPNOTSUPP): Likewise.
6347 [POSIX] (EOVERFLOW): Likewise.
6348 [POSIX] (EPROTO): Likewise.
6349 [POSIX] (EPROTONOSUPPORT): Likewise.
6350 [POSIX] (EPROTOTYPE): Likewise.
6351 [POSIX] (ESTALE): Likewise.
6352 [POSIX] (ETIME): Likewise.
6353 [POSIX] (ETXTBSY): Likewise.
6354 [POSIX] (EWOULDBLOCK): Likewise.
6355 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
6356 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
6357 [POSIX] (SEEK_CUR): Likewise.
6358 [POSIX] (SEEK_END): Likewise.
6359 [POSIX || UNIX98] (mode_t): Do not require.
6360 [POSIX] (off_t): Likewise.
6361 [POSIX] (pid_t): Likewise.
6362 [POSIX] (sys/stat.h): Do not allow header.
6363 [POSIX] (unistd.h): Likewise.
6364 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
6365 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
6366 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
6367 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
6368 require.
6369 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
6370 sigevent): Specify elements.
6371 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
6372 entry.
6373 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
6374 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
6375
a483863f
JM
6376 * conform/data/cpio.h-data [POSIX]: Disable whole file.
6377 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
6378 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
6379 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
6380 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
6381 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
6382 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
6383 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
6384 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
6385 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
6386 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
6387 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
6388 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
6389 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
6390 Likewise.
6391 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
6392 Likewise.
6393 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
6394 Likewise.
6395 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
6396 Likewise.
6397 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
6398 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
6399 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
6400 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
6401 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
6402 Specify lower bound on value.
6403 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
6404 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
6405 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
6406 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
6407 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
6408 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
6409 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
6410 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
6411 value.
6412 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
6413 as optional.
6414 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
6415 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
6416 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
6417 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
6418 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
6419 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
6420 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
6421 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
6422 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
6423 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
6424 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
6425 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
6426 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
6427 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
6428 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
6429 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
6430 entry.
6431 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
6432 optional.
6433 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
6434 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
6435 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
6436 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
6437 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
6438 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
6439 Likewise.
6440 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
6441 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
6442 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
6443 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
6444 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
6445 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
6446 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
6447 as optional.
6448 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
6449 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
6450 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
6451 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
6452 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
6453 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
6454 specify as optional.
6455 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
6456 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
6457 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
6458 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
6459 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
6460 [XPG3] (NL_LANGMAX): Likewise.
6461 [POSIX || XPG3] (NL_MSGMAX): Likewise.
6462 [POSIX || XPG3] (NL_NMAX): Likewise.
6463 [POSIX || XPG3] (NL_SETMAX): Likewise.
6464 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
6465 [XPG3] (NZERO): Likewise.
6466 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
6467 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
6468 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
6469 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
6470 (REG_ERANGE): Expect.
6471 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
6472 optional-constant.
6473 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
6474 Use (void) in prototype.
6475 [POSIX] (*_t): Allow.
6476 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
6477 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
6478 (WRDE_BADVAL): Expect.
6479
5ba924e3
JM
6480 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
6481 expect.
6482 [XPG3 || XPG4] (O_RSYNC): Likewise.
6483 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
6484 Likewise.
6485 [XPG3 || XPG4] (pthread_sigmask): Likewise.
6486 [XPG3 || XPG4] (sigqueue): Likewise.
6487 [XPG3 || XPG4] (sigtimedwait): Likewise.
6488 [XPG3 || XPG4] (sigwaitinfo): Likewise.
6489 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
6490 [XPG3 || XPG4] (vsnprintf): Likewise.
6491 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
6492 Likewise.
6493 [XPG3 || XPG4] (blksize_t): Likewise.
6494 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
6495 Likewise.
6496 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
6497 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
6498 [XPG3 || XPG4] (struct itimerspec): Likewise.
6499 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
6500 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
6501 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
6502 [XPG3 || XPG4] (clockid_t): Likewise.
6503 [XPG3 || XPG4] (timer_t): Likewise.
6504 [XPG3 || XPG4] (clock_getres): Likewise.
6505 [XPG3 || XPG4] (clock_gettime): Likewise.
6506 [XPG3 || XPG4] (clock_settime): Likewise.
6507 [XPG3 || XPG4] (nanosleep): Likewise.
6508 [XPG3 || XPG4] (timer_create): Likewise.
6509 [XPG3 || XPG4] (timer_delete): Likewise.
6510 [XPG3 || XPG4] (timer_gettime): Likewise.
6511 [XPG3 || XPG4] (timer_getoverrun): Likewise.
6512 [XPG3 || XPG4] (timer_settime): Likewise.
6513 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
6514 [XPG3 || XPG4] (getlogin_r): Likewise.
6515 [XPG3 || XPG4] (pread): Likewise.
6516 [XPG3 || XPG4] (pthread_atfork): Likewise.
6517 [XPG3 || XPG4] (pwrite): Likewise.
6518
ee663277
JM
6519 [BZ #14835]
6520 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
6521 <bits/siginfo.h>.
6522
942caa16
PT
65232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
6524
e19af380
PT
6525 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
6526 finalizing MALLSTREAM.
6527
942caa16
PT
6528 * sysdeps/mach/hurd/syncfs.c: New file.
6529
cfde9b46
SP
65302012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6531
6532 [BZ #14719]
6533 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
6534 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
6535 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
6536 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
6537 (_nss_dns_gethostbyname4_r): Likewise.
6538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
6539 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
6540
f6da27e5
PH
65412012-11-19 Peng Haitao <penght@cn.fujitsu.com>
6542
6543 [BZ #13763]
6544 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
6545
6665d4a2
SM
65462012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
6547
1f51ee92
SM
6548 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
6549 * elf/cache.c (print_entry): Print ",AArch64" for
6550 FLAG_AARCH64_LIB64
6551
6665d4a2
SM
6552 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
6553 * elf/cache.c (print_entry): Print ",hard-float" for
6554 FLAG_ARM_LIBHF.
6555
05b227bd
DM
65562012-11-18 David S. Miller <davem@davemloft.net>
6557
6558 With help from Joseph Myers.
6559 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
6560 cutoff to 2**-13.
6561 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
6562 cutoff to 2**-25.
6563 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
6564 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
6565 small.
6566 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
6567 * math/libm-test.inc (y0_test): New tests.
6568 (y1_test): New tests.
6569 * sysdeps/i386/fpu/libm-test-ulps: Update.
6570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6572
786b0b67
AS
65732012-11-18 Andreas Schwab <schwab@linux-m68k.org>
6574
6575 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
6576 64-bit targets.
6577 * configure: Regenerated.
6578
8e18b86d
DM
65792012-11-17 David S. Miller <davem@davemloft.net>
6580
6581 [BZ #14811]
6582 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
6583 nonzero exponents with absolute value below 0x1p-128 to +/-
6584 0x1p-128.
6585
531f1ae0
JM
65862012-11-17 Joseph Myers <joseph@codesourcery.com>
6587
12df29e2
JM
6588 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
6589
150dc1a0
JM
6590 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
6591
531f1ae0
JM
6592 * posix/getconf-speclist.c: New file.
6593 * posix/posix-envs.def: Likewise.
6594 * posix/confstr.c (START_ENV_GROUP): New macro.
6595 (END_ENV_GROUP): Likewise.
6596 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6597 (KNOWN_PRESENT_ENV_STRING): Likewise.
6598 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6599 (UNKNOWN_ENVIRONMENT): Likewise.
6600 (confstr): Include posix-envs.def instead of handling
6601 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
6602 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
6603 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
6604 (END_ENV_GROUP): Likewise.
6605 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
6606 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
6607 (UNKNOWN_ENVIRONMENT): Likewise.
6608 (__sysconf): Include posix-envs.def instead of handling associated
6609 cases directly here.
6610 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
6611 preprocessing getconf-speclist.c rather than running getconf or
6612 generating empty file.
6613
a93f9cbc
PT
66142012-11-16 Pino Toscano <toscano.pino@tiscali.it>
6615
6616 * scripts/check-local-headers.sh: Ignore 'mach' headers.
6617
d64d9f87
AL
66182012-11-16 Andrej Lajovic <natrij@gmail.com>
6619
6620 [BZ #14672]
6621 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
6622
447885eb
DM
66232012-11-16 David S. Miller <davem@davemloft.net>
6624
6625 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
6626 smaller than LDBL_EPSILON/2.0L, just return xm1.
6627
bcbf9830
L
66282012-11-16 H.J. Lu <hongjiu.lu@intel.com>
6629
6630 * elf/tst-array1.c (init): Set constructor priority to 1000.
6631 (fini): Set destructor priority to 1000.
6632 * elf/tst-array2dep.c: Likewise.
6633
2b766585
SP
66342012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6635
6636 [BZ #11741]
6637 * libio/fileops.c (_IO_new_file_write): Correctly return error.
6638 (_IO_new_file_xsputn): Also return EOF if none of the input
6639 data was written when overflow failed.
6640 * libio/iopadn.c (_IO_padn): Likewise.
6641 * libio/iowpadn.c (_IO_wpadn): Likewise.
6642 * stdio-common/tst-put-error.c: Add copyright notice.
6643 (do_test): Add case for printing padded string.
6644 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
6645 _IO_padn returned error.
6646 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
6647 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
6648 return EOF.
6649
b1848fde
SP
66502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6651
6652 * libio/libioP.h: Add comment note that the references to C++
6653 bits are now obsolete.
6654
2fd89785
MS
66552012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6656
6657 * math/libm-test.inc (check_complex): Use asprintf.
6658
e3ea5409
JM
66592012-11-14 Joseph Myers <joseph@codesourcery.com>
6660
6661 * debug/pcprofiledump.c (print_version): Update copyright year.
6662 * malloc/memusagestat.c (print_version): Likewise.
6663
2e64d265
L
66642012-11-14 H.J. Lu <hongjiu.lu@intel.com>
6665
6666 [BZ #14831]
6667 * elf/Makefile (tests): Add tst-audit8.
6668 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
6669 ($(objpfx)tst-audit8.out): New target.
6670 (tst-audit8-ENV): New variable.
6671 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
6672 audit if l_reloc_result is NULL.
6673 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
6674 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
6675 * elf/tst-audit8.c: New file.
6676
c485e4d2
MS
66772012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6678
6679 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
6680 * misc/Makefile (CFLAGS-select.c): Define.
6681 * posix/Makefile (CFLAGS-pause.c): Define.
6682
3a0d900a
DM
66832012-11-13 David S. Miller <davem@davemloft.net>
6684
6685 * crypt/Makefile: Move test targets after toplevel Rules
6686 inclusion. Grab any necessary sysdep routines when linking.
6687 * crypt/md5.c (md5_process_block): Remove define, we will always
6688 name it __md5_process_block.
6689 (md5_finish_ctx): Update md5_process_block call.
6690 (md5_stream): Likewise.
6691 (md5_process_bytes): Likewise.
6692 (md5_process_block): Rename to __md5_process_block and move to ...
6693 * crypt/md5-block.c: ... here.
6694 * crypt/sha256.c (sha256_process_block): Move to ...
6695 * crypt/sha256-block.c: ... here.
6696 * crypt/sha512.c (sha512_process_block): Move to ...
6697 * crypt/sha512-block.c: ... here.
6698 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
6699 path.
6700 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
6701 * sysdeps/sparc/sparc64/multiarch/Makefile
6702 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
6703 crypt subdir.
6704 (localedef-aux): Add md5 crypto assembler when in locale subdir.
6705 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
6706 multiarch changes.
6707 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
6708 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
6709 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
6710 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
6711 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
6712 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
6713 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
6714 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
6715 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
6716 file.
6717 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
6718 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
6719 file.
6720 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
6721
8ca89318
JM
67222012-11-13 Joseph Myers <joseph@codesourcery.com>
6723
e27d476a
JM
6724 * timezone/tzselect.ksh: Update from tzcode git revision
6725 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
6726 * timezone/zdump.c: Likewise.
6727 * timezone/zic.c: Likewise.
6728 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
6729 in TZVERSION setting, not $(PKGVERSION).
6730 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
6731 REPORT_BUGS_TO settings.
6732
8ca89318
JM
6733 [BZ #14838]
6734 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
6735 macro.
6736
47594329
MS
67372012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6738
6739 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
6740 detection to immediately after _FP_ROUND().
6741 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
6742 bits are 0.
6743
640ac3f1
DM
67442012-11-11 David S. Miller <davem@davemloft.net>
6745
6746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
6747 inttypes.h
6748 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
6749 __close rather than their public counterparts.
6750
3d2577bb
JM
67512012-11-10 Joseph Myers <joseph@codesourcery.com>
6752
6753 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
6754 file.
6755 [UNIX98] (sem_timedwait): Do not expect.
6756 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
6757 [XPG4 || UNIX98] (sockatmark): Do not expect.
6758 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
6759 (clock_getcpuclockid): Do not expect.
6760 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
6761 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
6762 Do not expect.
6763 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
6764 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
6765 [UNIX98] (vwscanf): Likewise.
6766 [UNIX98] (vswscanf): Likewise.
6767
fb1ae1ee
JM
67682012-11-09 Joseph Myers <joseph@codesourcery.com>
6769
9ec6f8bd
JM
6770 * timezone/version.h: Remove file.
6771 * timezone/README: Do not refer to version.h.
6772 * timezone/Makefile ($(objpfx)zic.o): New dependency on
6773 $(objpfx)version.h.
6774 ($(objpfx)zdump.o): Likewise.
c3f81911 6775 ($(objpfx)version.h): New target.
9ec6f8bd 6776
0aa8f8a1
JM
6777 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
6778 2012i.
6779 * timezone/README: Don't mention modification to tzselect.ksh.
6780 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
6781 work on unmodified tzselect.ksh. Substitute version numbers in
6782 tzselect.ksh.
6783
4e87147f
JM
6784 * Makefile (format-me): Remove.
6785 (INSTALL): Adjust indentation. Use commands directly instead of
6786 using $(format-me).
6787
8b748aed
JM
6788 * aclocal.m4 (ACX_PKGVERSION): New macro.
6789 (ACX_BUGURL): Likewise.
6790 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
6791 (PKGVERSION): New AC_DEFINE_UNQUOTED.
6792 (REPORT_BUGS_TO): Likewise.
6793 * configure: Regenerated.
6794 * config.h.in (PKGVERSION): New macro.
6795 (REPORT_BUGS_TO): Likewise.
6796 * config.make.in (PKGVERSION): New variable.
6797 (PKGVERSION_TEXI): Likewise.
6798 (REPORT_BUGS_TO): Likewise.
6799 (REPORT_BUGS_TEXI): Likewise.
6800 * Makefile (format-me): Use -I$(common-objpfx)manual.
6801 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
6802 ($(common-objpfx)manual/%): New target.
6803 (manual/%): Remove target.
6804 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
6805 (print_version): Use PKGVERSION.
6806 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
6807 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
6808 and REPORT_BUGS_TO.
6809 ($(objpfx)xtrace): Likewise.
6810 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
6811 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
6812 (print_version): Use PKGVERSION.
6813 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
6814 (do_version): Use PKGVERSION.
6815 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
6816 REPORT_BUGS_TO.
6817 (common-ldd-rewrite): Likewise.
6818 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
6819 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
6820 (print_version): Use PKGVERSION.
6821 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
6822 * elf/pldd.c (argp_program_bug_address): Remove variable.
6823 (more_help): New function.
6824 (argp): Use more_help.
6825 (print_version): Use PKGVERSION.
6826 * elf/sln.c (main): Use PKGVERSION.
6827 (usage): Use REPORT_BUGS_TO.
6828 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
6829 (top level): Use PKGVERSION.
6830 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
6831 (print_version): Use PKGVERSION.
6832 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
6833 (print_version): Use PKGVERSION.
6834 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
6835 (print_version): Use PKGVERSION.
6836 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
6837 (print_version): Use PKGVERSION.
6838 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
6839 (print_version): Use PKGVERSION.
6840 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
6841 (print_version): Use PKGVERSION.
6842 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
6843 and BUGURL.
6844 ($(objpfx)memusage): Likewise.
6845 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
6846 (do_version): Use PKGVERSION.
6847 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
6848 (print_version): Use PKGVERSION.
6849 * malloc/mtrace.pl ($PACKAGE): Remove variable.
6850 ($PKGVERSION): New variable.
6851 ($REPORT_BUGS_TO): Likewise.
6852 (usage): Use $REPORT_BUGS_TO.
6853 (top level): Use $PKGVERSION.
6854 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
6855 ($(objpfx)pkgvers.texi): New rule.
6856 ($(objpfx)stamp-pkgvers): Likewise.
6857 * manual/install.texi: Include pkgvers.texi.
6858 (--with-pkgversion): Document new configure option.
6859 (--with-bugurl): Likewise.
6860 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
6861 than necessarily for this particular distribution. Use
6862 REPORT_BUGS_TO for where to report bugs.
6863 * INSTALL: Regenerated.
6864 * manual/libc.texinfo: Include pkgvers.texi.
6865 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
6866 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
6867 (print_version): Use PKGVERSION.
6868 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
6869 (print_version): Use PKGVERSION.
6870 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
6871 (print_version): Use PKGVERSION.
6872 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
6873 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
6874 macro.
6875 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
6876 (print_version): Use PKGVERSION.
6877 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
6878 (print_version): Use PKGVERSION.
6879 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
6880 and PKGVERSION.
6881
92e4b6a9
JM
6882 * timezone/checktab.awk: Update from tzcode 2012i.
6883 * timezone/ialloc.c: Likewise.
6884 * timezone/private.h: Likewise.
6885 * timezone/scheck.c: Likewise.
6886 * timezone/tzfile.h: Likewise.
6887 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
6888 (TZVERSION): Hardcode tzcode version number.
6889 * timezone/zdump.c: Update from tzcode 2012i.
6890 * timezone/zic.c: Likewise.
6891 * timezone/version.h: New file.
6892 * timezone/README: Describe version.h. Update upstream location.
6893
9bde902c
JM
6894 [BZ #14824]
6895 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
6896 (mktemp): Enable declaration.
6897 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
6898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
6899 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
6900 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
6901 Likewise.
6902 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
6903 Likewise.
6904 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
6905 Likewise.
6906 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
6907 Likewise.
6908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
6909 Likewise.
6910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
6911 Likewise.
6912
fb1ae1ee
JM
6913 [BZ #14821]
6914 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
6915 offset in buffer as u_int32_t not u_long. Consistently use memcpy
6916 for copies of such integer values.
6917 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
6918 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
6919
2c1adbcb
AJ
69202012-11-09 Andreas Jaeger <aj@suse.de>
6921
6922 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
6923 definitions and declarations that are provided by
6924 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6925
d0f8457e
AK
69262012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6927
3a235abb 6928 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
6929 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
6930 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
6931 definition.
6932
57241e26
MS
69332012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6934
6935 * elf/elf.h: Update comment before AArch64 relocations.
6936
60e8270d
DM
69372012-11-07 David S. Miller <davem@davemloft.net>
6938
6939 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
6940 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6941 (__start_context): Declare.
6942 (__makecontext_ret): Delete.
6943 (__makecontext): Hook up __start_context instead of
6944 __makecontext_ret.
6945 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
6946 (sysdep_routines): Add __start_context when in stdlib.
6947
0fbb0fbc
JM
69482012-11-07 Joseph Myers <joseph@codesourcery.com>
6949
6950 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
6951 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
6952 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
6953 hardcoded "nm".
6954 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
6955 (READELF): New variable. Use it instead of hardcoded "readelf".
6956
eb48db7e
L
69572012-11-07 H.J. Lu <hongjiu.lu@intel.com>
6958
6959 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
6960 * sysdeps/x86/Makefile: Here.
6961 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
6962 * sysdeps/x86/tst-xmmymm.sh: This.
6963
05bcf62a
JM
69642012-11-07 Joseph Myers <joseph@codesourcery.com>
6965
c4b6cf53
JM
6966 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
6967 expectations.
6968 [UNIX98] (pthread_barrier_t): Do not expect.
6969 [UNIX98] (pthread_barrierattr_t): Likewise.
6970 [UNIX98] (pthread_spinlock_t): Likewise.
6971 [UNIX98] (pthread_barrier_destroy): Likewise.
6972 [UNIX98] (pthread_barrier_init): Likewise.
6973 [UNIX98] (pthread_barrier_wait): Likewise.
6974 [UNIX98] (pthread_barrierattr_destroy): Likewise.
6975 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
6976 [UNIX98] (pthread_barrierattr_init): Likewise.
6977 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
6978 [UNIX98] (pthread_getcpuclockid): Likewise.
6979 [UNIX98] (pthread_mutex_timedlock): Likewise.
6980 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
6981 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
6982 [UNIX98] (pthread_sigmask): Likewise.
6983 [UNIX98] (pthread_spin_destroy): Likewise.
6984 [UNIX98] (pthread_spin_init): Likewise.
6985 [UNIX98] (pthread_spin_lock): Likewise.
6986 [UNIX98] (pthread_spin_trylock): Likewise.
6987 [UNIX98] (pthread_spin_unlock): Likewise.
6988 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
6989 Do not expect.
6990 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
6991 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
6992 [XPG3 || XPG4] (pthread_cond_t): Likewise.
6993 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
6994 [XPG3 || XPG4] (pthread_key_t): Likewise.
6995 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
6996 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
6997 [XPG3 || XPG4] (pthread_once_t): Likewise.
6998 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
6999 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
7000 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
7001 [XPG3 || XPG4] (pthread_t): Likewise.
7002
cbe6e120
JM
7003 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
7004 not expect.
7005 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
7006
1b126443
JM
7007 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
7008 Change function return type to int.
7009
b961a573
JM
7010 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
7011 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
7012 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
7013 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
7014 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
7015 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
7016 [!POSIX] (posix_madvise): Likewise.
7017 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
7018 && !UNIX98].
7019 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
7020 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
7021 (mode_t): Likewise.
7022 (posix_mem_offset): Likewise.
7023 (posix_typed_mem_get_info): Likewise.
7024 (posix_typed_mem_open): Likewise.
7025
9e188909
JM
7026 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
7027 Change condition to [XOPEN2K8].
7028
05bcf62a
JM
7029 * conform/conformtest.pl: Preprocess allow-header data with -x c
7030 instead of from stdin.
7031 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
7032 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
7033 [C99-based standards] (cerfc): Likewise.
7034 [C99-based standards] (cexp2): Likewise.
7035 [C99-based standards] (cexpm1): Likewise.
7036 [C99-based standards] (clog10): Likewise.
7037 [C99-based standards] (clog1p): Likewise.
7038 [C99-based standards] (clog2): Likewise.
7039 [C99-based standards] (clgamma): Likewise.
7040 [C99-based standards] (ctgamma): Likewise.
7041 [C99-based standards] (cerff): Likewise.
7042 [C99-based standards] (cerfcf): Likewise.
7043 [C99-based standards] (cexp2f): Likewise.
7044 [C99-based standards] (cexpm1f): Likewise.
7045 [C99-based standards] (clog10f): Likewise.
7046 [C99-based standards] (clog1pf): Likewise.
7047 [C99-based standards] (clog2f): Likewise.
7048 [C99-based standards] (clgammaf): Likewise.
7049 [C99-based standards] (ctgammaf): Likewise.
7050 [C99-based standards] (cerfl): Likewise.
7051 [C99-based standards] (cerfcl): Likewise.
7052 [C99-based standards] (cexp2l): Likewise.
7053 [C99-based standards] (cexpm1l): Likewise.
7054 [C99-based standards] (clog10l): Likewise.
7055 [C99-based standards] (clog1pl): Likewise.
7056 [C99-based standards] (clog2l): Likewise.
7057 [C99-based standards] (clgammal): Likewise.
7058 [C99-based standards] (ctgammal): Likewise.
7059 * conform/data/inttypes.h-data [C99-based standards]: Include
7060 stdint.h-data. Remove all expectations for stdint.h contents.
7061 [C99-based standards] (PRI*): Do not allow.
7062 [C99-based standards] (SCN*): Likewise.
7063 [C99-based standards] (*_t): Likewise.
7064 [C99-based-standards] (PRId8): Expect macro.
7065 [C99-based-standards] (PRIi8): Likewise.
7066 [C99-based-standards] (PRIo8): Likewise.
7067 [C99-based-standards] (PRIu8): Likewise.
7068 [C99-based-standards] (PRIx8): Likewise.
7069 [C99-based-standards] (PRIX8): Likewise.
7070 [C99-based-standards] (SCNd8): Likewise.
7071 [C99-based-standards] (SCNi8): Likewise.
7072 [C99-based-standards] (SCNo8): Likewise.
7073 [C99-based-standards] (SCNu8): Likewise.
7074 [C99-based-standards] (SCNx8): Likewise.
7075 [C99-based-standards] (PRIdLEAST8): Likewise.
7076 [C99-based-standards] (PRIiLEAST8): Likewise.
7077 [C99-based-standards] (PRIoLEAST8): Likewise.
7078 [C99-based-standards] (PRIuLEAST8): Likewise.
7079 [C99-based-standards] (PRIxLEAST8): Likewise.
7080 [C99-based-standards] (PRIXLEAST8): Likewise.
7081 [C99-based-standards] (SCNdLEAST8): Likewise.
7082 [C99-based-standards] (SCNiLEAST8): Likewise.
7083 [C99-based-standards] (SCNoLEAST8): Likewise.
7084 [C99-based-standards] (SCNuLEAST8): Likewise.
7085 [C99-based-standards] (SCNxLEAST8): Likewise.
7086 [C99-based-standards] (PRIdFAST8): Likewise.
7087 [C99-based-standards] (PRIiFAST8): Likewise.
7088 [C99-based-standards] (PRIoFAST8): Likewise.
7089 [C99-based-standards] (PRIuFAST8): Likewise.
7090 [C99-based-standards] (PRIxFAST8): Likewise.
7091 [C99-based-standards] (PRIXFAST8): Likewise.
7092 [C99-based-standards] (SCNdFAST8): Likewise.
7093 [C99-based-standards] (SCNiFAST8): Likewise.
7094 [C99-based-standards] (SCNoFAST8): Likewise.
7095 [C99-based-standards] (SCNuFAST8): Likewise.
7096 [C99-based-standards] (SCNxFAST8): Likewise.
7097 [C99-based-standards] (PRId16): Likewise.
7098 [C99-based-standards] (PRIi16): Likewise.
7099 [C99-based-standards] (PRIo16): Likewise.
7100 [C99-based-standards] (PRIu16): Likewise.
7101 [C99-based-standards] (PRIx16): Likewise.
7102 [C99-based-standards] (PRIX16): Likewise.
7103 [C99-based-standards] (SCNd16): Likewise.
7104 [C99-based-standards] (SCNi16): Likewise.
7105 [C99-based-standards] (SCNo16): Likewise.
7106 [C99-based-standards] (SCNu16): Likewise.
7107 [C99-based-standards] (SCNx16): Likewise.
7108 [C99-based-standards] (PRIdLEAST16): Likewise.
7109 [C99-based-standards] (PRIiLEAST16): Likewise.
7110 [C99-based-standards] (PRIoLEAST16): Likewise.
7111 [C99-based-standards] (PRIuLEAST16): Likewise.
7112 [C99-based-standards] (PRIxLEAST16): Likewise.
7113 [C99-based-standards] (PRIXLEAST16): Likewise.
7114 [C99-based-standards] (SCNdLEAST16): Likewise.
7115 [C99-based-standards] (SCNiLEAST16): Likewise.
7116 [C99-based-standards] (SCNoLEAST16): Likewise.
7117 [C99-based-standards] (SCNuLEAST16): Likewise.
7118 [C99-based-standards] (SCNxLEAST16): Likewise.
7119 [C99-based-standards] (PRIdFAST16): Likewise.
7120 [C99-based-standards] (PRIiFAST16): Likewise.
7121 [C99-based-standards] (PRIoFAST16): Likewise.
7122 [C99-based-standards] (PRIuFAST16): Likewise.
7123 [C99-based-standards] (PRIxFAST16): Likewise.
7124 [C99-based-standards] (PRIXFAST16): Likewise.
7125 [C99-based-standards] (SCNdFAST16): Likewise.
7126 [C99-based-standards] (SCNiFAST16): Likewise.
7127 [C99-based-standards] (SCNoFAST16): Likewise.
7128 [C99-based-standards] (SCNuFAST16): Likewise.
7129 [C99-based-standards] (SCNxFAST16): Likewise.
7130 [C99-based-standards] (PRId32): Likewise.
7131 [C99-based-standards] (PRIi32): Likewise.
7132 [C99-based-standards] (PRIo32): Likewise.
7133 [C99-based-standards] (PRIu32): Likewise.
7134 [C99-based-standards] (PRIx32): Likewise.
7135 [C99-based-standards] (PRIX32): Likewise.
7136 [C99-based-standards] (SCNd32): Likewise.
7137 [C99-based-standards] (SCNi32): Likewise.
7138 [C99-based-standards] (SCNo32): Likewise.
7139 [C99-based-standards] (SCNu32): Likewise.
7140 [C99-based-standards] (SCNx32): Likewise.
7141 [C99-based-standards] (PRIdLEAST32): Likewise.
7142 [C99-based-standards] (PRIiLEAST32): Likewise.
7143 [C99-based-standards] (PRIoLEAST32): Likewise.
7144 [C99-based-standards] (PRIuLEAST32): Likewise.
7145 [C99-based-standards] (PRIxLEAST32): Likewise.
7146 [C99-based-standards] (PRIXLEAST32): Likewise.
7147 [C99-based-standards] (SCNdLEAST32): Likewise.
7148 [C99-based-standards] (SCNiLEAST32): Likewise.
7149 [C99-based-standards] (SCNoLEAST32): Likewise.
7150 [C99-based-standards] (SCNuLEAST32): Likewise.
7151 [C99-based-standards] (SCNxLEAST32): Likewise.
7152 [C99-based-standards] (PRIdFAST32): Likewise.
7153 [C99-based-standards] (PRIiFAST32): Likewise.
7154 [C99-based-standards] (PRIoFAST32): Likewise.
7155 [C99-based-standards] (PRIuFAST32): Likewise.
7156 [C99-based-standards] (PRIxFAST32): Likewise.
7157 [C99-based-standards] (PRIXFAST32): Likewise.
7158 [C99-based-standards] (SCNdFAST32): Likewise.
7159 [C99-based-standards] (SCNiFAST32): Likewise.
7160 [C99-based-standards] (SCNoFAST32): Likewise.
7161 [C99-based-standards] (SCNuFAST32): Likewise.
7162 [C99-based-standards] (SCNxFAST32): Likewise.
7163 [C99-based-standards] (PRId64): Likewise.
7164 [C99-based-standards] (PRIi64): Likewise.
7165 [C99-based-standards] (PRIo64): Likewise.
7166 [C99-based-standards] (PRIu64): Likewise.
7167 [C99-based-standards] (PRIx64): Likewise.
7168 [C99-based-standards] (PRIX64): Likewise.
7169 [C99-based-standards] (SCNd64): Likewise.
7170 [C99-based-standards] (SCNi64): Likewise.
7171 [C99-based-standards] (SCNo64): Likewise.
7172 [C99-based-standards] (SCNu64): Likewise.
7173 [C99-based-standards] (SCNx64): Likewise.
7174 [C99-based-standards] (PRIdLEAST64): Likewise.
7175 [C99-based-standards] (PRIiLEAST64): Likewise.
7176 [C99-based-standards] (PRIoLEAST64): Likewise.
7177 [C99-based-standards] (PRIuLEAST64): Likewise.
7178 [C99-based-standards] (PRIxLEAST64): Likewise.
7179 [C99-based-standards] (PRIXLEAST64): Likewise.
7180 [C99-based-standards] (SCNdLEAST64): Likewise.
7181 [C99-based-standards] (SCNiLEAST64): Likewise.
7182 [C99-based-standards] (SCNoLEAST64): Likewise.
7183 [C99-based-standards] (SCNuLEAST64): Likewise.
7184 [C99-based-standards] (SCNxLEAST64): Likewise.
7185 [C99-based-standards] (PRIdFAST64): Likewise.
7186 [C99-based-standards] (PRIiFAST64): Likewise.
7187 [C99-based-standards] (PRIoFAST64): Likewise.
7188 [C99-based-standards] (PRIuFAST64): Likewise.
7189 [C99-based-standards] (PRIxFAST64): Likewise.
7190 [C99-based-standards] (PRIXFAST64): Likewise.
7191 [C99-based-standards] (SCNdFAST64): Likewise.
7192 [C99-based-standards] (SCNiFAST64): Likewise.
7193 [C99-based-standards] (SCNoFAST64): Likewise.
7194 [C99-based-standards] (SCNuFAST64): Likewise.
7195 [C99-based-standards] (SCNxFAST64): Likewise.
7196 [C99-based-standards] (PRIdMAX): Likewise.
7197 [C99-based-standards] (PRIiMAX): Likewise.
7198 [C99-based-standards] (PRIoMAX): Likewise.
7199 [C99-based-standards] (PRIuMAX): Likewise.
7200 [C99-based-standards] (PRIxMAX): Likewise.
7201 [C99-based-standards] (PRIXMAX): Likewise.
7202 [C99-based-standards] (SCNdMAX): Likewise.
7203 [C99-based-standards] (SCNiMAX): Likewise.
7204 [C99-based-standards] (SCNoMAX): Likewise.
7205 [C99-based-standards] (SCNuMAX): Likewise.
7206 [C99-based-standards] (SCNxMAX): Likewise.
7207 [C99-based-standards] (PRIdPTR): Likewise.
7208 [C99-based-standards] (PRIiPTR): Likewise.
7209 [C99-based-standards] (PRIoPTR): Likewise.
7210 [C99-based-standards] (PRIuPTR): Likewise.
7211 [C99-based-standards] (PRIxPTR): Likewise.
7212 [C99-based-standards] (PRIXPTR): Likewise.
7213 [C99-based-standards] (SCNdPTR): Likewise.
7214 [C99-based-standards] (SCNiPTR): Likewise.
7215 [C99-based-standards] (SCNoPTR): Likewise.
7216 [C99-based-standards] (SCNuPTR): Likewise.
7217 [C99-based-standards] (SCNxPTR): Likewise.
7218 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
7219 allow.
7220 * conform/data/stdint.h-data: Update comments to clarify
7221 requirements.
7222 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
7223 type.
7224 [C99-based standards] (INT8_MAX): Likewise.
7225 [C99-based standards] (INT16_MIN): Likewise.
7226 [C99-based standards] (INT16_MAX): Likewise.
7227 [C99-based standards] (INT32_MIN): Likewise.
7228 [C99-based standards] (INT32_MAX): Likewise.
7229 [C99-based standards] (INT64_MIN): Likewise.
7230 [C99-based standards] (INT64_MAX): Likewise.
7231 [C99-based standards] (UINT8_MAX): Likewise.
7232 [C99-based standards] (UINT16_MAX): Likewise.
7233 [C99-based standards] (UINT32_MAX): Likewise.
7234 [C99-based standards] (UINT64_MAX): Likewise.
7235 [C99-based standards] (INT_LEAST8_MIN): Likewise.
7236 [C99-based standards] (INT_LEAST8_MAX): Likewise.
7237 [C99-based standards] (INT_LEAST16_MIN): Likewise.
7238 [C99-based standards] (INT_LEAST16_MAX): Likewise.
7239 [C99-based standards] (INT_LEAST32_MIN): Likewise.
7240 [C99-based standards] (INT_LEAST32_MAX): Likewise.
7241 [C99-based standards] (INT_LEAST64_MIN): Likewise.
7242 [C99-based standards] (INT_LEAST64_MAX): Likewise.
7243 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
7244 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
7245 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
7246 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
7247 [C99-based standards] (INT_FAST8_MIN): Likewise.
7248 [C99-based standards] (INT_FAST8_MAX): Likewise.
7249 [C99-based standards] (INT_FAST16_MIN): Likewise.
7250 [C99-based standards] (INT_FAST16_MAX): Likewise.
7251 [C99-based standards] (INT_FAST32_MIN): Likewise.
7252 [C99-based standards] (INT_FAST32_MAX): Likewise.
7253 [C99-based standards] (INT_FAST64_MIN): Likewise.
7254 [C99-based standards] (INT_FAST64_MAX): Likewise.
7255 [C99-based standards] (UINT_FAST8_MAX): Likewise.
7256 [C99-based standards] (UINT_FAST16_MAX): Likewise.
7257 [C99-based standards] (UINT_FAST32_MAX): Likewise.
7258 [C99-based standards] (UINT_FAST64_MAX): Likewise.
7259 [C99-based standards] (INTPTR_MIN): Likewise.
7260 [C99-based standards] (INTPTR_MAX): Likewise.
7261 [C99-based standards] (UINTPTR_MAX): Likewise.
7262 [C99-based standards] (INTMAX_MIN): Likewise.
7263 [C99-based standards] (INTMAX_MAX): Likewise.
7264 [C99-based standards] (UINTMAX_MAX): Likewise.
7265 [C99-based standards] (PTRDIFF_MIN): Likewise.
7266 [C99-based standards] (PTRDIFF_MAX): Likewise.
7267 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
7268 [C99-based standards] (SIZE_MAX): Likewise.
7269 [C99-based standards] (WCHAR_MAX): Likewise.
7270 [C99-based standards] (WINT_MAX): Likewise.
7271 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
7272 constraint on value.
7273 [C99-based standards] (WCHAR_MIN): Likewise.
7274 [C99-based standards] (WINT_MIN): Likewise.
7275 [C99-based standards] (*_t): Allow.
7276 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
7277 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
7278 Include math.h-data and complex.h-data. Remove all expectations
7279 of math.h and complex.h contents.
7280 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
7281 at end of line.
7282 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
7283 (struct tm): Expect tag.
7284 [C99-based-standards] (wcstof): Expect function.
7285 [C99-based-standards] (wcstold): Likewise.
7286 [C99-based-standards] (wcstoll): Likewise.
7287 [C99-based-standards] (wcstoull): Likewise.
7288 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
7289 macro-int-constant. Specify type.
7290 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
7291 constraint on value.
7292 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7293 Specify type.
7294 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
7295 Specify value.
7296 [ISO C standards]: Do not allow headers.
7297 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
7298 wcs[abcdefghijklmnopqrstuvwxyz]*.
7299 [ISO C standards] (*_t): Do not allow.
7300 * conform/data/wctype.h-data [C99-based standards] (iswblank):
7301 Expect function.
7302 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
7303 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
7304 Specify type.
7305 [ISO C standards]: Do not allow headers.
7306 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
7307 is[abcdefghijklmnopqrstuvwxyz]*.
7308 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
7309 to[abcdefghijklmnopqrstuvwxyz]*.
7310 [ISO C standards] (*_t): Do not allow.
7311 * conform/data/stdalign.h-data: New file.
7312 * conform/data/stdbool.h-data: Likewise.
7313 * conform/data/stdnoreturn.h-data: Likewise.
7314
7514feb8
RM
73152012-11-07 Roland McGrath <roland@hack.frob.com>
7316
7317 [BZ #14815]
7318 * manual/filesys.texi (Directory Entries): Typo fix.
7319 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
7320
19b2ecfc
MS
73212012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7322
7323 * elf/elf.h (EM_AARCH64): New macro.
7324 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
7325 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
7326 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
7327 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
7328 (R_AARCH64_TLSDESC): Likewise.
7329 (NT_ARM_TLS): Likewise.
7330 (NT_ARM_HW_BREAK): Likewise.
7331 (NT_ARM_HW_WATCH): Likewise.
7332
60e235ee
JM
73332012-11-07 Joseph Myers <joseph@codesourcery.com>
7334
7335 [BZ #14811]
7336 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
7337 (__ieee754_powl): Saturate nonzero exponents with absolute value
7338 below 0x1p-79 to +/- 0x1p-79.
7339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
7340 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
7341 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
7342 nonzero exponents with absolute value below 0x1p-32 to +/-
7343 0x1p-32.
7344 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
7345 (__ieee754_powl): Saturate nonzero exponents with absolute value
7346 below 0x1p-79 to +/- 0x1p-79.
7347 * math/libm-test.inc (pow_test): Add more tests.
7348
0ab234b7
AK
73492012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7350
7351 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
7352 _dl_s390_cap_flags with kernel. Increase string length.
7353 (_dl_s390_platforms): Add z196 and zEC12.
7354
45832f74
JM
73552012-11-07 Joseph Myers <joseph@codesourcery.com>
7356
7357 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
7358 Change XOPEN21K to XOPEN2K.
7359
19218757
MK
73602012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
7361
7362 * string/memmove.c: Use memcpy when possible.
7363
c5f45721
AJ
73642012-11-06 Andreas Jaeger <aj@suse.de>
7365
7366 * po/eo.po: Update from translation team.
7367
82477c28
JM
73682012-11-06 Joseph Myers <joseph@codesourcery.com>
7369
7370 [BZ #14793]
7371 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
7372 exponent and small x and y exponents, scale x or y up. Increase
7373 by 2 the exponent used in scaling up.
7374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7375 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7376 * math/libm-test.inc (fma_test): Add more tests.
7377 (fma_test_towardzero): Likewise.
7378 (fma_test_downward): Likewise.
7379 (fma_test_upward): Likewise.
7380
99252c8c
JM
73812012-11-05 Joseph Myers <joseph@codesourcery.com>
7382
acfa885f
JM
7383 [BZ #14805]
7384 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
7385 fenv_t *.
7386
99252c8c
JM
7387 [BZ #14801]
7388 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
7389 namespace for names of struct fields.
7390 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
7391 fenv_t fields.
7392 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
7393 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
7394
d6d98dea
ST
73952012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
7396
7397 [BZ #3665]
7398 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
7399
e10bb107
TS
74002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7401
7402 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
7403 PTR_DEMANGLE.
7404
7405 [BZ #5246]
7406 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
7407 PTR_DEMANGLE.
7408
a0c2940d
JM
74092012-11-04 Joseph Myers <joseph@codesourcery.com>
7410
7411 [BZ #14797]
7412 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
7413 definitely overflow as x * y not x * y + z.
7414 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7415 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7416 * math/libm-test.inc (fma_test): Add more tests.
7417 (fma_test_towardzero): Likewise.
7418 (fma_test_downward): Likewise.
7419 (fma_test_upward): Likewise.
7420
b830319d
TS
74212012-11-04 Thomas Schwinge <thomas@codesourcery.com>
7422
7423 [BZ #157]
7424
7425 * include/stub-tag.h: Remove file.
7426 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
7427 '#include' of it.
7428 * manual/maint.texi (Porting): Don't reference it.
7429 * Makerules ($(objpfx)stubs): Likewise.
7430 * dirent/closedir.c: Don't include <stub-tag.h>.
7431 * dirent/dirfd.c: Likewise.
7432 * dirent/fdopendir.c: Likewise.
7433 * dirent/getdents.c: Likewise.
7434 * dirent/getdents64.c: Likewise.
7435 * dirent/opendir.c: Likewise.
7436 * dirent/readdir.c: Likewise.
7437 * dirent/readdir64.c: Likewise.
7438 * dirent/readdir64_r.c: Likewise.
7439 * dirent/readdir_r.c: Likewise.
7440 * dirent/rewinddir.c: Likewise.
7441 * dirent/seekdir.c: Likewise.
7442 * dirent/telldir.c: Likewise.
7443 * gmon/profil.c: Likewise.
7444 * grp/setgroups.c: Likewise.
7445 * inet/if_index.c: Likewise.
7446 * io/access.c: Likewise.
7447 * io/chdir.c: Likewise.
7448 * io/chmod.c: Likewise.
7449 * io/chown.c: Likewise.
7450 * io/close.c: Likewise.
7451 * io/dup.c: Likewise.
7452 * io/dup2.c: Likewise.
7453 * io/dup3.c: Likewise.
7454 * io/euidaccess.c: Likewise.
7455 * io/faccessat.c: Likewise.
7456 * io/fchdir.c: Likewise.
7457 * io/fchmod.c: Likewise.
7458 * io/fchmodat.c: Likewise.
7459 * io/fchown.c: Likewise.
7460 * io/fchownat.c: Likewise.
7461 * io/fcntl.c: Likewise.
7462 * io/flock.c: Likewise.
7463 * io/fstatfs.c: Likewise.
7464 * io/fstatfs64.c: Likewise.
7465 * io/fstatvfs.c: Likewise.
7466 * io/fstatvfs64.c: Likewise.
7467 * io/futimens.c: Likewise.
7468 * io/fxstat.c: Likewise.
7469 * io/fxstat64.c: Likewise.
7470 * io/fxstatat.c: Likewise.
7471 * io/fxstatat64.c: Likewise.
7472 * io/getcwd.c: Likewise.
7473 * io/isatty.c: Likewise.
7474 * io/lchmod.c: Likewise.
7475 * io/lchown.c: Likewise.
7476 * io/link.c: Likewise.
7477 * io/linkat.c: Likewise.
7478 * io/lseek.c: Likewise.
7479 * io/lseek64.c: Likewise.
7480 * io/lxstat64.c: Likewise.
7481 * io/mkdir.c: Likewise.
7482 * io/mkdirat.c: Likewise.
7483 * io/mkfifo.c: Likewise.
7484 * io/mkfifoat.c: Likewise.
7485 * io/open.c: Likewise.
7486 * io/open64.c: Likewise.
7487 * io/openat.c: Likewise.
7488 * io/openat64.c: Likewise.
7489 * io/pipe.c: Likewise.
7490 * io/pipe2.c: Likewise.
7491 * io/poll.c: Likewise.
7492 * io/posix_fadvise.c: Likewise.
7493 * io/posix_fadvise64.c: Likewise.
7494 * io/posix_fallocate.c: Likewise.
7495 * io/posix_fallocate64.c: Likewise.
7496 * io/read.c: Likewise.
7497 * io/readlink.c: Likewise.
7498 * io/readlinkat.c: Likewise.
7499 * io/rmdir.c: Likewise.
7500 * io/sendfile.c: Likewise.
7501 * io/sendfile64.c: Likewise.
7502 * io/statfs.c: Likewise.
7503 * io/statfs64.c: Likewise.
7504 * io/statvfs.c: Likewise.
7505 * io/statvfs64.c: Likewise.
7506 * io/symlink.c: Likewise.
7507 * io/symlinkat.c: Likewise.
7508 * io/ttyname.c: Likewise.
7509 * io/ttyname_r.c: Likewise.
7510 * io/umask.c: Likewise.
7511 * io/unlink.c: Likewise.
7512 * io/unlinkat.c: Likewise.
7513 * io/utime.c: Likewise.
7514 * io/utimensat.c: Likewise.
7515 * io/write.c: Likewise.
7516 * io/xmknod.c: Likewise.
7517 * io/xmknodat.c: Likewise.
7518 * io/xstat.c: Likewise.
7519 * io/xstat64.c: Likewise.
7520 * login/getpt.c: Likewise.
7521 * login/grantpt.c: Likewise.
7522 * login/unlockpt.c: Likewise.
7523 * math/e_acoshl.c: Likewise.
7524 * math/e_acosl.c: Likewise.
7525 * math/e_asinl.c: Likewise.
7526 * math/e_atan2l.c: Likewise.
7527 * math/e_atanhl.c: Likewise.
7528 * math/e_coshl.c: Likewise.
7529 * math/e_expl.c: Likewise.
7530 * math/e_fmodl.c: Likewise.
7531 * math/e_gammal_r.c: Likewise.
7532 * math/e_hypotl.c: Likewise.
7533 * math/e_j0l.c: Likewise.
7534 * math/e_j1l.c: Likewise.
7535 * math/e_jnl.c: Likewise.
7536 * math/e_lgammal_r.c: Likewise.
7537 * math/e_log10l.c: Likewise.
7538 * math/e_log2l.c: Likewise.
7539 * math/e_logl.c: Likewise.
7540 * math/e_powl.c: Likewise.
7541 * math/e_rem_pio2l.c: Likewise.
7542 * math/e_sinhl.c: Likewise.
7543 * math/e_sqrtl.c: Likewise.
7544 * math/fclrexcpt.c: Likewise.
7545 * math/fedisblxcpt.c: Likewise.
7546 * math/feenablxcpt.c: Likewise.
7547 * math/fegetenv.c: Likewise.
7548 * math/fegetexcept.c: Likewise.
7549 * math/fegetround.c: Likewise.
7550 * math/feholdexcpt.c: Likewise.
7551 * math/fesetenv.c: Likewise.
7552 * math/fesetround.c: Likewise.
7553 * math/feupdateenv.c: Likewise.
7554 * math/fgetexcptflg.c: Likewise.
7555 * math/fraiseexcpt.c: Likewise.
7556 * math/fsetexcptflg.c: Likewise.
7557 * math/ftestexcept.c: Likewise.
7558 * math/k_cosl.c: Likewise.
7559 * math/k_rem_pio2l.c: Likewise.
7560 * math/k_sinl.c: Likewise.
7561 * math/k_tanl.c: Likewise.
7562 * math/s_asinhl.c: Likewise.
7563 * math/s_atanl.c: Likewise.
7564 * math/s_cbrtl.c: Likewise.
7565 * math/s_erfl.c: Likewise.
7566 * math/s_expm1l.c: Likewise.
7567 * math/s_log1pl.c: Likewise.
7568 * math/s_tanhl.c: Likewise.
7569 * misc/acct.c: Likewise.
7570 * misc/brk.c: Likewise.
7571 * misc/chflags.c: Likewise.
7572 * misc/chroot.c: Likewise.
7573 * misc/fchflags.c: Likewise.
7574 * misc/fgetxattr.c: Likewise.
7575 * misc/flistxattr.c: Likewise.
7576 * misc/fremovexattr.c: Likewise.
7577 * misc/fsetxattr.c: Likewise.
7578 * misc/fsync.c: Likewise.
7579 * misc/ftruncate.c: Likewise.
7580 * misc/futimes.c: Likewise.
7581 * misc/futimesat.c: Likewise.
7582 * misc/getdomain.c: Likewise.
7583 * misc/getdtsz.c: Likewise.
7584 * misc/gethostid.c: Likewise.
7585 * misc/gethostname.c: Likewise.
7586 * misc/getloadavg.c: Likewise.
7587 * misc/getpagesize.c: Likewise.
7588 * misc/getsysstats.c: Likewise.
7589 * misc/getxattr.c: Likewise.
7590 * misc/gtty.c: Likewise.
7591 * misc/ioctl.c: Likewise.
7592 * misc/lgetxattr.c: Likewise.
7593 * misc/listxattr.c: Likewise.
7594 * misc/llistxattr.c: Likewise.
7595 * misc/lremovexattr.c: Likewise.
7596 * misc/lsetxattr.c: Likewise.
7597 * misc/lutimes.c: Likewise.
7598 * misc/madvise.c: Likewise.
7599 * misc/mincore.c: Likewise.
7600 * misc/mlock.c: Likewise.
7601 * misc/mlockall.c: Likewise.
7602 * misc/mmap.c: Likewise.
7603 * misc/mprotect.c: Likewise.
7604 * misc/msync.c: Likewise.
7605 * misc/munlock.c: Likewise.
7606 * misc/munlockall.c: Likewise.
7607 * misc/munmap.c: Likewise.
7608 * misc/preadv.c: Likewise.
7609 * misc/preadv64.c: Likewise.
7610 * misc/ptrace.c: Likewise.
7611 * misc/pwritev.c: Likewise.
7612 * misc/pwritev64.c: Likewise.
7613 * misc/readv.c: Likewise.
7614 * misc/reboot.c: Likewise.
7615 * misc/remap_file_pages.c: Likewise.
7616 * misc/removexattr.c: Likewise.
7617 * misc/revoke.c: Likewise.
7618 * misc/select.c: Likewise.
7619 * misc/setdomain.c: Likewise.
7620 * misc/setegid.c: Likewise.
7621 * misc/seteuid.c: Likewise.
7622 * misc/sethostid.c: Likewise.
7623 * misc/sethostname.c: Likewise.
7624 * misc/setregid.c: Likewise.
7625 * misc/setreuid.c: Likewise.
7626 * misc/setxattr.c: Likewise.
7627 * misc/sstk.c: Likewise.
7628 * misc/stty.c: Likewise.
7629 * misc/swapoff.c: Likewise.
7630 * misc/swapon.c: Likewise.
7631 * misc/sync.c: Likewise.
7632 * misc/syncfs.c: Likewise.
7633 * misc/syscall.c: Likewise.
7634 * misc/truncate.c: Likewise.
7635 * misc/ualarm.c: Likewise.
7636 * misc/usleep.c: Likewise.
7637 * misc/ustat.c: Likewise.
7638 * misc/utimes.c: Likewise.
7639 * misc/vhangup.c: Likewise.
7640 * misc/writev.c: Likewise.
7641 * posix/_exit.c: Likewise.
7642 * posix/alarm.c: Likewise.
7643 * posix/execve.c: Likewise.
7644 * posix/fexecve.c: Likewise.
7645 * posix/fork.c: Likewise.
7646 * posix/fpathconf.c: Likewise.
7647 * posix/getaddrinfo.c: Likewise.
7648 * posix/getegid.c: Likewise.
7649 * posix/geteuid.c: Likewise.
7650 * posix/getgid.c: Likewise.
7651 * posix/getgroups.c: Likewise.
7652 * posix/getlogin.c: Likewise.
7653 * posix/getlogin_r.c: Likewise.
7654 * posix/getpgid.c: Likewise.
7655 * posix/getpid.c: Likewise.
7656 * posix/getppid.c: Likewise.
7657 * posix/getresgid.c: Likewise.
7658 * posix/getresuid.c: Likewise.
7659 * posix/getsid.c: Likewise.
7660 * posix/getuid.c: Likewise.
7661 * posix/glob64.c: Likewise.
7662 * posix/nanosleep.c: Likewise.
7663 * posix/pathconf.c: Likewise.
7664 * posix/pause.c: Likewise.
7665 * posix/posix_madvise.c: Likewise.
7666 * posix/pread.c: Likewise.
7667 * posix/pread64.c: Likewise.
7668 * posix/pwrite.c: Likewise.
7669 * posix/pwrite64.c: Likewise.
7670 * posix/sched_getaffinity.c: Likewise.
7671 * posix/sched_getp.c: Likewise.
7672 * posix/sched_gets.c: Likewise.
7673 * posix/sched_primax.c: Likewise.
7674 * posix/sched_primin.c: Likewise.
7675 * posix/sched_rr_gi.c: Likewise.
7676 * posix/sched_setaffinity.c: Likewise.
7677 * posix/sched_setp.c: Likewise.
7678 * posix/sched_sets.c: Likewise.
7679 * posix/sched_yield.c: Likewise.
7680 * posix/setgid.c: Likewise.
7681 * posix/setlogin.c: Likewise.
7682 * posix/setpgid.c: Likewise.
7683 * posix/setresgid.c: Likewise.
7684 * posix/setresuid.c: Likewise.
7685 * posix/setsid.c: Likewise.
7686 * posix/setuid.c: Likewise.
7687 * posix/sleep.c: Likewise.
7688 * posix/spawni.c: Likewise.
7689 * posix/sysconf.c: Likewise.
7690 * posix/times.c: Likewise.
7691 * posix/wait.c: Likewise.
7692 * posix/wait3.c: Likewise.
7693 * posix/wait4.c: Likewise.
7694 * posix/waitpid.c: Likewise.
7695 * resolv/gai_sigqueue.c: Likewise.
7696 * resource/getpriority.c: Likewise.
7697 * resource/getrlimit.c: Likewise.
7698 * resource/getrusage.c: Likewise.
7699 * resource/nice.c: Likewise.
7700 * resource/setpriority.c: Likewise.
7701 * resource/setrlimit.c: Likewise.
7702 * resource/ulimit.c: Likewise.
7703 * rt/aio_cancel.c: Likewise.
7704 * rt/aio_fsync.c: Likewise.
7705 * rt/aio_read.c: Likewise.
7706 * rt/aio_sigqueue.c: Likewise.
7707 * rt/aio_suspend.c: Likewise.
7708 * rt/aio_write.c: Likewise.
7709 * rt/clock_getres.c: Likewise.
7710 * rt/clock_gettime.c: Likewise.
7711 * rt/clock_nanosleep.c: Likewise.
7712 * rt/clock_settime.c: Likewise.
7713 * rt/lio_listio.c: Likewise.
7714 * rt/mq_close.c: Likewise.
7715 * rt/mq_getattr.c: Likewise.
7716 * rt/mq_notify.c: Likewise.
7717 * rt/mq_open.c: Likewise.
7718 * rt/mq_receive.c: Likewise.
7719 * rt/mq_send.c: Likewise.
7720 * rt/mq_setattr.c: Likewise.
7721 * rt/mq_timedreceive.c: Likewise.
7722 * rt/mq_timedsend.c: Likewise.
7723 * rt/mq_unlink.c: Likewise.
7724 * rt/shm_open.c: Likewise.
7725 * rt/shm_unlink.c: Likewise.
7726 * rt/timer_create.c: Likewise.
7727 * rt/timer_delete.c: Likewise.
7728 * rt/timer_getoverr.c: Likewise.
7729 * rt/timer_gettime.c: Likewise.
7730 * rt/timer_settime.c: Likewise.
7731 * setjmp/__longjmp.c: Likewise.
7732 * setjmp/setjmp.c: Likewise.
7733 * signal/kill.c: Likewise.
7734 * signal/killpg.c: Likewise.
7735 * signal/raise.c: Likewise.
7736 * signal/sigaction.c: Likewise.
7737 * signal/sigaltstack.c: Likewise.
7738 * signal/sigblock.c: Likewise.
7739 * signal/sigignore.c: Likewise.
7740 * signal/sigintr.c: Likewise.
7741 * signal/signal.c: Likewise.
7742 * signal/sigpause.c: Likewise.
7743 * signal/sigpending.c: Likewise.
7744 * signal/sigqueue.c: Likewise.
7745 * signal/sigreturn.c: Likewise.
7746 * signal/sigset.c: Likewise.
7747 * signal/sigsetmask.c: Likewise.
7748 * signal/sigstack.c: Likewise.
7749 * signal/sigsuspend.c: Likewise.
7750 * signal/sigtimedwait.c: Likewise.
7751 * signal/sigvec.c: Likewise.
7752 * signal/sigwait.c: Likewise.
7753 * signal/sigwaitinfo.c: Likewise.
7754 * signal/sysv_signal.c: Likewise.
7755 * socket/accept.c: Likewise.
7756 * socket/accept4.c: Likewise.
7757 * socket/bind.c: Likewise.
7758 * socket/connect.c: Likewise.
7759 * socket/getpeername.c: Likewise.
7760 * socket/getsockname.c: Likewise.
7761 * socket/getsockopt.c: Likewise.
7762 * socket/isfdtype.c: Likewise.
7763 * socket/listen.c: Likewise.
7764 * socket/recv.c: Likewise.
7765 * socket/recvfrom.c: Likewise.
7766 * socket/recvmsg.c: Likewise.
7767 * socket/send.c: Likewise.
7768 * socket/sendmsg.c: Likewise.
7769 * socket/sendto.c: Likewise.
7770 * socket/setsockopt.c: Likewise.
7771 * socket/shutdown.c: Likewise.
7772 * socket/sockatmark.c: Likewise.
7773 * socket/socket.c: Likewise.
7774 * socket/socketpair.c: Likewise.
7775 * stdio-common/ctermid.c: Likewise.
7776 * stdio-common/cuserid.c: Likewise.
7777 * stdio-common/remove.c: Likewise.
7778 * stdio-common/rename.c: Likewise.
7779 * stdio-common/renameat.c: Likewise.
7780 * stdio-common/tempname.c: Likewise.
7781 * stdlib/getcontext.c: Likewise.
7782 * stdlib/makecontext.c: Likewise.
7783 * stdlib/setcontext.c: Likewise.
7784 * stdlib/swapcontext.c: Likewise.
7785 * stdlib/system.c: Likewise.
7786 * streams/fattach.c: Likewise.
7787 * streams/fdetach.c: Likewise.
7788 * streams/getmsg.c: Likewise.
7789 * streams/getpmsg.c: Likewise.
7790 * streams/putmsg.c: Likewise.
7791 * streams/putpmsg.c: Likewise.
7792 * sysdeps/unix/bsd/getpt.c: Likewise.
7793 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
7794 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
7795 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
7797 Likewise.
7798 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
7799 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
7800 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7801 * sysvipc/msgctl.c: Likewise.
7802 * sysvipc/msgget.c: Likewise.
7803 * sysvipc/msgrcv.c: Likewise.
7804 * sysvipc/msgsnd.c: Likewise.
7805 * sysvipc/semctl.c: Likewise.
7806 * sysvipc/semget.c: Likewise.
7807 * sysvipc/semop.c: Likewise.
7808 * sysvipc/semtimedop.c: Likewise.
7809 * sysvipc/shmat.c: Likewise.
7810 * sysvipc/shmctl.c: Likewise.
7811 * sysvipc/shmdt.c: Likewise.
7812 * sysvipc/shmget.c: Likewise.
7813 * termios/tcdrain.c: Likewise.
7814 * termios/tcflow.c: Likewise.
7815 * termios/tcflush.c: Likewise.
7816 * termios/tcgetattr.c: Likewise.
7817 * termios/tcgetpgrp.c: Likewise.
7818 * termios/tcsendbrk.c: Likewise.
7819 * termios/tcsetattr.c: Likewise.
7820 * termios/tcsetpgrp.c: Likewise.
7821 * time/adjtime.c: Likewise.
7822 * time/clock.c: Likewise.
7823 * time/getitimer.c: Likewise.
7824 * time/gettimeofday.c: Likewise.
7825 * time/setitimer.c: Likewise.
7826 * time/settimeofday.c: Likewise.
7827 * time/stime.c: Likewise.
7828 * time/time.c: Likewise.
7829
78302012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 7831
a20492cf
PT
7832 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
7833 /usr/old/bin.
7834
72e182e3
PT
7835 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
7836 instead of spaces.
7837 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
7838
fbeafede
JM
78392012-11-03 Joseph Myers <joseph@codesourcery.com>
7840
5b5b04d6
JM
7841 [BZ #14796]
7842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
7843 FE_TONEAREST before applying Dekker multiplication and Knuth
7844 addition. Clear inexact exceptions and check for exact zero
7845 results afterwards.
7846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7847 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7848 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7849 * math/libm-test.inc (fma_test): Add more tests.
7850 (fma_test_towardzero): Likewise.
7851 (fma_test_downward): Likewise.
7852 (fma_test_upward): Likewise.
7853 * sysdeps/generic/math_private.h (default_libc_fesetround): New
7854 function.
7855 (libc_fesetround): New macro.
7856 (libc_fesetroundf): Likewise.
7857 (libc_fesetroundl): Likewise.
7858 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
7859 function.
7860 (libc_fesetround_387): Likewise.
7861 (libc_fesetroundf): New macro.
7862 (libc_fesetround): Likewise.
7863 (libc_fesetroundl): Likewise.
7864 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
7865 function.
7866 (libc_fesetroundf): New macro.
7867 (libc_fesetround): Likewise.
7868 (libc_fesetroundl): Likewise.
7869 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
7870 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
7871 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
7872 libm_hidden_ver.
7873 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
7874 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
7875 libm_hidden_def.
7876 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
7877 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
7878 libm_hidden_ver.
7879 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
7880 libm_hidden_def.
7881
fbeafede
JM
7882 [BZ #3439]
7883 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
7884 integer constant usable in #if and use that to give value to enum
7885 constant.
7886 (FE_DIVBYZERO): Likewise.
7887 (FE_UNDERFLOW): Likewise.
7888 (FE_OVERFLOW): Likewise.
7889 (FE_INVALID): Likewise.
7890 (FE_INVALID_SNAN): Likewise.
7891 (FE_INVALID_ISI): Likewise.
7892 (FE_INVALID_IDI): Likewise.
7893 (FE_INVALID_ZDZ): Likewise.
7894 (FE_INVALID_IMZ): Likewise.
7895 (FE_INVALID_COMPARE): Likewise.
7896 (FE_INVALID_SOFTWARE): Likewise.
7897 (FE_INVALID_SQRT): Likewise.
7898 (FE_INVALID_INTEGER_CONVERSION): Likewise.
7899 (FE_TONEAREST): Likewise.
7900 (FE_TOWARDZERO): Likewise.
7901 (FE_UPWARD): Likewise.
7902 (FE_DOWNWARD): Likewise.
7903 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
7904 (FE_DIVBYZERO): Likewise.
7905 (FE_OVERFLOW): Likewise.
7906 (FE_UNDERFLOW): Likewise.
7907 (FE_INEXACT): Likewise.
7908 (FE_TONEAREST): Likewise.
7909 (FE_DOWNWARD): Likewise.
7910 (FE_UPWARD): Likewise.
7911 (FE_TOWARDZERO): Likewise.
7912 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
7913 (FE_UNDERFLOW): Likewise.
7914 (FE_OVERFLOW): Likewise.
7915 (FE_DIVBYZERO): Likewise.
7916 (FE_INVALID): Likewise.
7917 (FE_TONEAREST): Likewise.
7918 (FE_TOWARDZERO): Likewise.
7919 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
7920 (FE_OVERFLOW): Likewise.
7921 (FE_UNDERFLOW): Likewise.
7922 (FE_DIVBYZERO): Likewise.
7923 (FE_INEXACT): Likewise.
7924 (FE_TONEAREST): Likewise.
7925 (FE_TOWARDZERO): Likewise.
7926 (FE_UPWARD): Likewise.
7927 (FE_DOWNWARD): Likewise.
7928 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
7929 (FE_DIVBYZERO): Likewise.
7930 (FE_OVERFLOW): Likewise.
7931 (FE_UNDERFLOW): Likewise.
7932 (FE_INEXACT): Likewise.
7933 (FE_TONEAREST): Likewise.
7934 (FE_DOWNWARD): Likewise.
7935 (FE_UPWARD): Likewise.
7936 (FE_TOWARDZERO): Likewise.
7937
105ca950
CM
79382012-11-02 Chris Metcalf <cmetcalf@tilera.com>
7939
7940 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
7941
a542b389
AS
79422012-11-03 Andreas Schwab <schwab@linux-m68k.org>
7943
7944 * scripts/cross-test-ssh.sh (command): Use newlines to separate
7945 commands. Quote $PWD.
7946 (blacklist_exports): Don't use remove_newlines. Replace "declare
7947 -x" by "export".
7948 (remove_newlines): Remove.
7949
f62c8abc
L
79502012-11-02 H.J. Lu <hongjiu.lu@intel.com>
7951
7952 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
7953 * stdlib/stdlib.h (atof): Moved to ...
7954 * include/bits/stdlib-float.h: Here. New file.
7955 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
7956 * stdlib/bits/stdlib-float.h: New file.
7957 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
7958 -mno-sse -mno-mmx.
7959 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
7960 <xmmintrin.h>.
7961
0155d5b2
JM
79622012-11-02 Joseph Myers <joseph@codesourcery.com>
7963
a68d0680
JM
7964 * conform/conformtest.pl (@headers): Add fenv.h.
7965 * conform/data/fenv.h-data: New file.
7966 * include/fenv.h [_ISOMAC]: Disable all contents of file except
7967 include of <math/fenv.h>.
7968
caf7f573
JM
7969 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
7970 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
7971 && !UNIX98]. Enables tests for XOPEN2K8.
7972 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
7973 POSIX2008]: Likewise.
7974
6c073ad6
JM
7975 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
7976 (struct rusage): Do not expect type or its members.
7977
0155d5b2
JM
7978 [BZ #3439]
7979 * math/math.h (FP_NAN): Define macro to integer constant usable in
7980 #if and use that to give value to enum constant.
7981 (FP_INFINITE): Likewise.
7982 (FP_ZERO): Likewise.
7983 (FP_SUBNORMAL): Likewise.
7984 (FP_NORMAL): Likewise.
7985
b5dcacb4
AS
79862012-11-02 Andreas Schwab <schwab@linux-m68k.org>
7987
7988 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
7989 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
7990 arguments.
7991
f7934be8
RM
79922012-11-02 Roland McGrath <roland@hack.frob.com>
7993
7994 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
7995 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
7996 autoconf-time if not.
7997 * configure.in: Remove AC_PREREQ.
7998
d7d08bde
TMQMF
79992012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8000
8001 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
8002 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
8003 of the internal implementation.
8004
dcdae19a
JM
80052012-11-02 Joseph Myers <joseph@codesourcery.com>
8006
8007 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
8008 except include of <misc/sys/syslog.h>.
8009
d6cffd3e
AS
80102012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8011
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
8013 function returns with a NULL context exit with zero.
8014
b3563932
TMQMF
80152012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8016
8017 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
8018
b288a93d
L
80192012-11-01 H.J. Lu <hongjiu.lu@intel.com>
8020
8021 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
8022 (run_program_cmd): This.
8023 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
8024 (tst_langinfo): New variable. Use it.
8025
a2421a68
SAS
80262012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
8027
8028 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
8029 floating point opcodes.
8030
6f796e1b
TS
80312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8032
7402596b
TS
8033 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
8034 variable.
8035
d0d4f868
TS
8036 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
8037
6f796e1b
TS
8038 * sysdeps/mach/hurd/powerpc: Remove directory.
8039 * sysdeps/mach/powerpc: Likewise.
8040
4da224a2
AS
80412012-11-01 Andreas Schwab <schwab@linux-m68k.org>
8042
8043 * scripts/check-local-headers.sh: Ignore c++ headers.
8044
341dd673
TS
80452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8046
8047 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
8048 __libc_cleanup_region_start argument.
8049
473611b2
JM
80502012-11-01 Joseph Myers <joseph@codesourcery.com>
8051
8052 [BZ #14784]
8053 [BZ #14785]
8054 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
8055 x * y using scaling, not as x * y + z.
8056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8057 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8058 * math/libm-test.inc (fma_test): Add more tests.
8059 (fma_test_towardzero): Likewise.
8060 (fma_test_downward): Likewise.
8061 (fma_test_upward): Likewise.
8062
4078da3d
TS
80632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
8064
8065 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
8066
903252aa
JM
80672012-10-31 Joseph Myers <joseph@codesourcery.com>
8068
8069 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
8070 New variable.
8071
cbc818d0
TS
80722012-10-31 Thomas Schwinge <thomas@codesourcery.com>
8073
8074 * rt/tst-shm.c (worker): Correct checking for mmap failure.
8075
5a03cb1e
AS
80762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8077
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8079 Fix sort order.
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8081 Likewise.
8082
90aff2ff
TMQMF
80832012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8084
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8086 Fix the order of the list for glibc 2.17.
8087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8088 Likewise.
8089
1818fcb7
AS
80902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
8091
8092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8093
ef82f4da
JM
80942012-10-31 Joseph Myers <joseph@codesourcery.com>
8095
16a0e2ec
JM
8096 [BZ #14610]
8097 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
8098 for low part of x being zero before using __atanl (y).
8099 * math/libm-test.inc (atan2_test): Add another test.
8100
0eb69512
JM
8101 * manual/install.texi (Configuring and compiling): Document
8102 general use of test-wrapper and test-wrapper-env.
8103 * INSTALL: Regenerated.
8104
ef82f4da
JM
8105 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
8106 (__fma): Do not extract and scale down low bits on after-rounding
8107 systems when result rounded to normal precision would have normal
8108 exponent.
8109 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
8110 (__fmal): Do not extract and scale down low bits on after-rounding
8111 systems when result rounded to normal precision would have normal
8112 exponent.
8113 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
8114 (__fmal): Do not extract and scale down low bits on after-rounding
8115 systems when result rounded to normal precision would have normal
8116 exponent.
8117 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
8118 macro.
8119 (fma_test): Add more tests.
8120 (fma_test_towardzero): Likewise.
8121 (fma_test_downward): Likewise.
8122 (fma_test_upward): Likewise.
8123
954ef0d9
L
81242012-10-30 H.J. Lu <hongjiu.lu@intel.com>
8125
8126 * sysdeps/i386/tininess.h: Renamed to ...
8127 * sysdeps/x86/tininess.h: This.
8128 * sysdeps/x86_64/tininess.h: Removed.
8129
df61ffb2
JM
81302012-10-30 Joseph Myers <joseph@codesourcery.com>
8131
8132 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
8133 input. Use $(build-program-cmd).
8134 ($(objpfx)tst-array1-static.out): Likewise.
8135 ($(objpfx)tst-array2.out): Likewise.
8136 ($(objpfx)tst-array3.out): Likewise.
8137 ($(objpfx)tst-array4.out): Likewise.
8138 ($(objpfx)tst-array5.out): Likewise.
8139 ($(objpfx)tst-array5-static.out): Likewise.
8140
01767843
CM
81412012-10-30 Chris Metcalf <cmetcalf@tilera.com>
8142
47cc1490
CM
8143 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
8144 if defined.
8145
01767843
CM
8146 * nss/nsswitch.h (nss_interface_function): Provide new
8147 macro for use with NSS functions.
8148 * grp/initgroups.c: Use new macro.
8149 * nss/getXXbyYY.c: Likewise.
8150 * nss/getXXbyYY_r.c: Likewise.
8151 * nss/getXXent.c: Likewise.
8152 * nss/getXXent_r.c: Likewise.
8153 * sysdeps/posix/getaddrinfo.c: Likewise.
8154
8321aa97
AJ
81552012-10-30 Andreas Jaeger <aj@suse.de>
8156
8157 * po/ru.po: Update Russion translation from translation project.
8158
2a27fd6d
JM
81592012-10-30 Joseph Myers <joseph@codesourcery.com>
8160
8627a232
JM
8161 [BZ #14152]
8162 [BZ #14783]
8163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
8164 result and shift together with sticky bit instead of replicating
8165 round-to-nearest rounding.
8166 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8168 * math/libm-test.inc (fma_test): Add more tests. Do not permit
8169 missing underflow exceptions.
8170 (fma_test_towardzero): Add more tests.
8171 (fma_test_downward): Likewise.
8172 (fma_test_upward): Likewise.
8173
2a27fd6d
JM
8174 [BZ #14047]
8175 * sysdeps/generic/tininess.h: New file.
8176 * sysdeps/i386/tininess.h: Likewise.
8177 * sysdeps/sh/tininess.h: Likewise.
8178 * sysdeps/x86_64/tininess.h: Likewise.
8179 * stdlib/tst-strtod-underflow.c: Likewise.
8180 * stdlib/tst-tininess.c: Likewise.
8181 * stdlib/strtod_l.c: Include <tininess.h>.
8182 (round_and_return): Do not set errno for exact underflow cases.
8183 Force an underflow exception when setting errno for underflow.
8184 Determine underflow based on rounding to normal precision if
8185 TININESS_AFTER_ROUNDING.
8186 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
8187 ERANGE for exact underflow cases.
8188 * stdlib/Makefile (tests): Add tst-tininess and
8189 tst-strtod-underflow.
8190 ($(objpfx)tst-tininess): Use $(link-libm).
8191 ($(objpfx)tst-strtod-underflow): Likewise.
8192
e7170363
AJ
81932012-10-30 Andreas Jaeger <aj@suse.de>
8194
e5088dc6
AJ
8195 [BZ#14767]
8196 * elf/Makefile (tests): Remove conditional for have-initfini-array
8197 since this is now always required and the variable does not exist
8198 anymore.
8199 (tests-static): Likewise.
8200 (modules-names): Likewise.
8201
e7170363 8202 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
8203
8204 * elf/tst-array1.c (fini_array): Make writeable so that it can be
8205 merged with constructor/destructor.
8206 (init_array): Likewise.
8207 * elf/tst-array2dep.c (fini_array): Likewise.
8208 (init_array): Likewise.
8209
60457d8a
MF
82102012-10-29 Mike Frysinger <vapier@gentoo.org>
8211
8212 * manual/message.texi: Delete @cartouche tags.
8213
8bece752
PT
82142012-10-29 Pino Toscano <toscano.pino@tiscali.it>
8215
94ce799f
PT
8216 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
8217 EOPNOTSUPP.
8218 * sysdeps/mach/hurd/fsync.c: Likewise.
8219
8bece752
PT
8220 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
8221 [_POSIX_REALTIME_SIGNALS]: Change condition to
8222 [_POSIX_REALTIME_SIGNALS > 0].
8223
86ebe6b1
AJ
82242012-10-27 Andreas Jaeger <aj@suse.de>
8225
8226 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
8227 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
8228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
8229 [__WORDSIZE != 64]: Likewise.
8230
54399c08
L
82312012-10-26 H.J. Lu <hongjiu.lu@intel.com>
8232
8233 * iconvdata/tst-table.sh: Remove ${SHELL}.
8234 * iconvdata/tst-tables.sh: Likewise.
8235
e2211bed
DM
82362012-10-25 David S. Miller <davem@davemloft.net>
8237
8238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8239 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
8240 of strtoull.
8241
f303f97c
DM
8242 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
8243 ifunc-impl-list.c
8244 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8245 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
8246 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
8247 file.
8248
1e9d84cd
RM
82492012-10-25 Roland McGrath <roland@hack.frob.com>
8250
8251 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8252 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
8253 __getdirentries.
8254
df381762
JM
82552012-10-25 Joseph Myers <joseph@codesourcery.com>
8256 Jim Blandy <jimb@codesourcery.com>
8257
8258 * scripts/cross-test-ssh.sh: New file.
8259 * manual/install.texi (Configuring and compiling): Document use of
8260 cross-test-ssh.sh.
8261 * INSTALL: Regenerated.
8262
bff64913
PT
82632012-10-25 Pino Toscano <toscano.pino@tiscali.it>
8264
8265 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
8266 EOPNOTSUPP.
8267
25fe8932
JM
82682012-10-25 Joseph Myers <joseph@codesourcery.com>
8269
8270 * Makeconfig (run-program-prefix): Fix comment.
8271
cc1290d0
JM
82722012-10-24 Joseph Myers <joseph@codesourcery.com>
8273 Jim Blandy <jimb@codesourcery.com>
8274
8275 * Makeconfig (test-wrapper): New variable,
8276 (test-wrapper-env): Likewise.
8277 [$(cross-compiling) = yes && $(test-wrapper) != ""]
8278 (run-built-tests): Define to yes.
8279 (run-program-prefix): Use $(test-wrapper).
8280 (built-program-cmd): Likewise.
8281 * Rules (make-test-out): Use $(test-wrapper-env) and
8282 $(host-built-program-cmd).
8283 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
8284 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
8285 tst-pathopt.sh.
8286 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
8287 $(test-wrapper-env) to tst-rtld-load-self.sh.
8288 ($(objpfx)order2.out): Use $(test-wrapper).
8289 ($(objpfx)tst-initorder.out): Likewise.
8290 ($(objpfx)tst-initorder2.out): Likewise.
8291 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
8292 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
8293 (test_wrapper_env): New variable. Use it to run ld.so.
8294 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
8295 Use it to run ld.so.
8296 (test_wrapper_env): Likewise.
8297 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
8298 $(test-wrapper) to run-iconv-test.sh.
8299 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
8300 (ICONV): Use $test_wrapper.
8301 * posix/Makefile ($(objpfx)globtest.out): Pass
8302 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
8303 globtest.sh, not $(run-program-prefix).
8304 * posix/globtest.sh (run_via_rtld_prefix): New variable.
8305 (test_wrapper): Likewise.
8306 (test_wrapper_env): Likewise. Use it to run globtest with HOME
8307 set together with run_via_rtld_prefix.
8308 (run_program_prefix): Define in terms of test_wrapper and
8309 run_via_rtld_prefix.
8310
6e6249d0
RM
83112012-10-24 Roland McGrath <roland@hack.frob.com>
8312
8313 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
8314 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
8315 Targets removed.
8316
8317 [BZ #14743]
8318 * include/time.h: Remove librt_hidden_proto (clock_gettime).
8319 Declare __clock_getres, __clock_gettime, __clock_settime,
8320 __clock_nanosleep, and __clock_getcpuclockid.
8321 * rt/clock_gettime.c: Define __clock_gettime as an alias.
8322 Remove librt_hidden_def (clock_gettime).
8323 * sysdeps/unix/clock_gettime.c: Likewise.
8324 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
8325 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8326 * rt/clock_getres.c: Define __clock_getres as an alias.
8327 * sysdeps/posix/clock_getres.c: Likewise.
8328 * rt/clock_settime.c: Define __clock_settime as an alias.
8329 * sysdeps/unix/clock_settime.c: Likewise.
8330 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
8331 * sysdeps/unix/clock_nanosleep.c: Likewise.
8332 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8333 * rt/clock-compat.c: New file.
8334 * rt/Makefile (librt-routines): Add clock-compat and move
8335 $(clock-routines) to ...
8336 (routines): ... here, new variable.
8337 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
8338 Don't add get_clockfreq here.
8339 * rt/Versions (libc: GLIBC_2.17): New version set.
8340 Add clock_* symbols here.
8341 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
8342 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
8343 (GLIBC_2.17): Add clock_* symbols.
8344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
8345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
8346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8348 Likewise.
8349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8350 Likewise.
8351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
8353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
8354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
8355 * NEWS: Mention the move.
8356
8357 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8358 Use __open, __read, __close rather than their public counterparts.
8359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8360 (__get_clockfreq_via_cpuinfo): Likewise.
8361 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
8362 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
8363
8364 * config.h.in (HAVE_IFUNC): New #undef.
8365 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
8366 was successful.
8367 * configure: Regenerated.
8368
0cae3f4b
MF
83692012-10-24 Mike Frysinger <vapier@gentoo.org>
8370
8371 * configure.in: Move READELF check to start of file.
8372 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
8373 libc_cv_asm_gnu_indirect_function in the process.
8374 * configure: Regenerated.
8375
8175a253
MF
83762012-10-24 Mike Frysinger <vapier@gentoo.org>
8377
8378 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
8379 send the output to /dev/null.
8380 (libc_cv_cc_with_libunwind): Likewise.
8381 (libc_cv_as_noexecstack): Likewise.
8382 * configure: Regenerate.
8383
0708a7d1
JM
83842012-10-24 Joseph Myers <joseph@codesourcery.com>
8385
10b40d85
JM
8386 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
8387
0708a7d1
JM
8388 * posix/globtest.sh (TMPDIR): Do not set.
8389 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
8390 (testout): Likewise.
8391
9fddec1a
AJ
83922012-10-24 Andreas Jaeger <aj@suse.de>
8393
3a8db22f
AJ
8394 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
8395 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
8396 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
8397 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
8398 posix_fadvise64, posix_fallocate64.
8399
9fddec1a
AJ
8400 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
8401 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
8402 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
8403 Likewise.
8404 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
8405 Likewise.
8406 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
8407
8408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
8409 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
8410 <bits/fcntl-linux.h>.
8411 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
8412
8413 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
8414 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
8415 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
8416 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
8417 [__WORDSIZE != 64]: Likewise.
8418
ebfd1bbd
JM
84192012-10-23 Joseph Myers <joseph@codesourcery.com>
8420
03ac099f
JM
8421 * Makeconfig (run-built-tests): New variable.
8422 * Rules [$(cross-compiling) = yes]: Change condition to
8423 [$(run-built-tests) = no].
8424 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
8425 to [$(run-built-tests) = yes].
8426 * elf/Makefile [$(cross-compiling) = no]: Likewise
8427 * grp/Makefile [$(cross-compiling) = no]: Likewise.
8428 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
8429 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
8430 * intl/Makefile [$(cross-compiling) = no]: Likewise.
8431 * io/Makefile [$(cross-compiling) = no]: Likewise.
8432 * libio/Makefile [$(cross-compiling) = no]: Likewise.
8433 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
8434 * misc/Makefile [$(cross-compiling) = no]: Likewise.
8435 * posix/Makefile [$(cross-compiling) = no]: Likewise.
8436 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
8437 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
8438 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
8439 * string/Makefile [$(cross-compiling) = no]: Likewise.
8440
ebfd1bbd
JM
8441 * posix/Makefile ($(objpfx)globtest.out): Pass
8442 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
8443 $(rtld-installed-name).
8444 * posix/globtest.sh (elf_objpfx): Remove variable.
8445 (rtld_installed_name): Likewise.
8446 (library_path): Likewise.
8447 (run_program_prefix): New variable. Use for running globtest
8448 binary.
8449
166bca24
JB
84502012-10-23 Jim Blandy <jimb@codesourcery.com>
8451 Joseph Myers <joseph@codesourcery.com>
8452
8453 * Makeconfig (host-built-program-cmd): New variable.
8454 * elf/Makefile (tst-stackguard1-ARGS): Use
8455 $(host-built-program-cmd).
8456 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
8457 (tst-spawn-ARGS): Likewise.
8458 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
8459
88866099
JM
84602012-10-23 Joseph Myers <joseph@codesourcery.com>
8461 Jim Blandy <jimb@codesourcery.com>
8462
8463 * Makeconfig (run-via-rtld-prefix): New variable.
8464 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
8465 (built-program-cmd): Likewise.
8466
b4b4c296
AJ
84672012-10-22 Andreas Jaeger <aj@suse.de>
8468
8469 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
8470 __O_RSYNC if it exists, otherwise to O_SYNC.
8471
6fb54a22
JB
84722012-10-22 Jim Blandy <jimb@codesourcery.com>
8473 Joseph Myers <joseph@codesourcery.com>
8474
8475 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
8476 /dev/null.
8477 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
8478 from /dev/null
8479 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
8480 /dev/null.
8481
481b90b9
AJ
84822012-10-22 Andreas Jaeger <aj@suse.de>
8483
2a0e2669
AJ
8484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
8485 Define always.
8486 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
8487
76e38f9a
AJ
8488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8489 bits/fcntl-linux.h.
8490
7cd37b43
AJ
8491 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
8492 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
8493
481b90b9
AJ
8494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
8495 to __O_LARGEFILE.
8496 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
8497 to __O_LARGEFILE.
8498
aba75984
JB
84992012-10-21 Jim Blandy <jimb@codesourcery.com>
8500 Joseph Myers <joseph@codesourcery.com>
8501
8502 * config.make.in (NM): New variable.
8503
88d4247f
AJ
85042012-10-21 Andreas Jaeger <aj@suse.de>
8505
8506 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
8507 definitions and declarations that are provided by
8508 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
8509
f2eed205
L
85102012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8511
8512 [BZ #14683]
8513 * elf/Makefile (tests-static): Add tst-leaks1-static.
8514 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
8515 ($(objpfx)tst-leaks1-static): New rule.
8516 ($(objpfx)tst-leaks1-static-mem): Likewise.
8517 (tst-leaks1-static-ENV): New macro.
8518 * elf/dl-open.c (dl_open_worker): Check the main application
8519 only if SHARED is defined.
8520 * elf/tst-leaks1-static.c: New file.
8521
335e6931
AJ
85222012-10-20 Andreas Jaeger <aj@suse.de>
8523
8524 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
8525 generic values for Linux.
8526 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
8527 and declarations that are provided by <bits/fcntl-linux.h> and
8528 include <bits/fcntl-linux.h>.
8529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8530 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8531
ac5c94d3
RM
85322012-10-20 Roland McGrath <roland@hack.frob.com>
8533
8534 * io/fcntl.h: Move include of <bits/types.h> to the top and
8535 include it unconditionally.
8536
de54b33a
L
85372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
8538
228cfb01
L
8539 * wcsmbs/Makefile (tests-ifunc): New variable.
8540 (tests): Add $(tests-ifunc).
8541 * wcsmbs/test-wcschr-ifunc.c: New file.
8542 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8543 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8544 * wcsmbs/test-wcslen-ifunc.c: Likewise.
8545 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8546 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8547
69f07e5f
L
8548 * string/Makefile (tests-ifunc): New variable.
8549 (tests): Add $(tests-ifunc).
8550 * string/test-memccpy.c (TEST_NAME): New macro.
8551 * string/test-memchr.c (TEST_NAME): Likewise.
8552 * string/test-memcmp.c (TEST_NAME): Likewise.
8553 * string/test-memcpy.c (TEST_NAME): Likewise.
8554 * string/test-memmem.c (TEST_NAME): Likewise.
8555 * string/test-memmove.c (TEST_NAME): Likewise.
8556 * string/test-memset.c (TEST_NAME): Likewise.
8557 * string/test-rawmemchr.c (TEST_NAME): Likewise.
8558 * string/test-stpcpy.c (TEST_NAME): Likewise.
8559 * string/test-stpncpy.c (TEST_NAME): Likewise.
8560 * string/test-strcasecmp.c (TEST_NAME): Likewise.
8561 * string/test-strcasestr.c (TEST_NAME): Likewise.
8562 * string/test-strcat.c (TEST_NAME): Likewise.
8563 * string/test-strchr.c (TEST_NAME): Likewise.
8564 * string/test-strcmp.c(TEST_NAME): Likewise.
8565 * string/test-strcpy.c (TEST_NAME): Likewise.
8566 * string/test-strcspn.c (TEST_NAME): Likewise.
8567 * string/test-strlen.c (TEST_NAME): Likewise.
8568 * string/test-strncasecmp.c (TEST_NAME): Likewise.
8569 * string/test-strncmp.c (TEST_NAME): Likewise.
8570 * string/test-strncpy.c (TEST_NAME): Likewise.
8571 * string/test-strnlen.c (TEST_NAME): Likewise.
8572 * string/test-strpbrk.c (TEST_NAME): Likewise.
8573 * string/test-strrchr.c (TEST_NAME): Likewise.
8574 * string/test-strspn.c (TEST_NAME): Likewise.
8575 * string/test-strstr.c (TEST_NAME): Likewise.
8576 * string/test-bcopy-ifunc.c: New file.
8577 * string/test-bzero-ifunc.c: Likewise.
8578 * string/test-memccpy-ifunc.c: Likewise.
8579 * string/test-memchr-ifunc.c: Likewise.
8580 * string/test-memcmp-ifunc.c: Likewise.
8581 * string/test-memcpy-ifunc.c: Likewise.
8582 * string/test-memmem-ifunc.c: Likewise.
8583 * string/test-memmove-ifunc.c: Likewise.
8584 * string/test-mempcpy-ifunc.c: Likewise.
8585 * string/test-memset-ifunc.c: Likewise.
8586 * string/test-rawmemchr-ifunc.c: Likewise.
8587 * string/test-stpcpy-ifunc.c: Likewise.
8588 * string/test-stpncpy-ifunc.c: Likewise.
8589 * string/test-strcasecmp-ifunc.c: Likewise.
8590 * string/test-strcasestr-ifunc.c: Likewise.
8591 * string/test-strcat-ifunc.c: Likewise.
8592 * string/test-strchr-ifunc.c: Likewise.
8593 * string/test-strchrnul-ifunc.c: Likewise.
8594 * string/test-strcmp-ifunc.c: Likewise.
8595 * string/test-strcpy-ifunc.c: Likewise.
8596 * string/test-strcspn-ifunc.c: Likewise.
8597 * string/test-strlen-ifunc.c: Likewise.
8598 * string/test-strncasecmp-ifunc.c: Likewise.
8599 * string/test-strncat-ifunc.c: Likewise.
8600 * string/test-strncmp-ifunc.c: Likewise.
8601 * string/test-strncpy-ifunc.c: Likewise.
8602 * string/test-strnlen-ifunc.c: Likewise.
8603 * string/test-strpbrk-ifunc.c: Likewise.
8604 * string/test-strrchr-ifunc.c: Likewise.
8605 * string/test-strspn-ifunc.c: Likewise.
8606 * string/test-strstr-ifunc.c: Likewise.
8607
de54b33a
L
8608 * debug/Makefile (tests-ifunc): New variable.
8609 (tests): Add $(tests-ifunc).
8610 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
8611 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
8612 * debug/test-stpcpy_chk-ifunc.c: New file.
8613 * debug/test-strcpy_chk-ifunc.c: Likewise.
8614
88481c16
SP
86152012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8616
8617 [BZ #13601]
8618 * elf/dl-load.c (open_verify): Retry read if the entire ELF
8619 header is not read in.
8620
135948bd
JM
86212012-10-19 Joseph Myers <joseph@codesourcery.com>
8622
89f1c388
JM
8623 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
8624 script to $(SHELL) as $<. Pass $(common-objpfx) to script
8625 directly. Pass built executable to script as
8626 $(built-program-cmd).
8627 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
8628 $testprogram without using LD_LIBRARY_PATH and $ldso.
8629
e40a0d21
JM
8630 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
8631 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
8632 $(rtld-installed-name).
8633 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
8634 (rtld_installed_name): Likewise.
8635 (library_path): Likewise.
8636 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
8637 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
8638 $(run-program-prefix) to tst-tables.sh.
8639 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
8640 it to run tst-table-from and tst-table-to.
8641 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
8642 Pass it to tst-table.sh.
8643 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
8644 $(run-program-prefix) to tst-gettext.sh.
8645 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
8646 tst-translit.sh.
8647 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
8648 tst-gettext2.sh.
8649 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
8650 to run tst-gettext.
8651 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
8652 to run tst-gettext2.
8653 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
8654 to run tst-translit.
8655 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
8656 $(run-program-prefix) to tst-mtrace.sh.
8657 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
8658 to run tst-mtrace.
8659 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
8660 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
8661 $(rtld-installed-name).
8662 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
8663 (rtld_installed_name): Likewise.
8664 (run_program_prefix): New variable. Use it to run wordexp-test.
8665
728e272a
JM
8666 * Makeconfig (ARCH): Remove all definitions.
8667 (machine): Likewise.
8668 [ARCH]: Remove conditional code.
8669 [!objdir]: Give error.
8670 [!objdir] (objpfx): Remove.
8671 [!objdir] (common-objpfx): Likewise.
8672 [!objdir] (common-objdir): Likewise.
8673 * configure.in (config_makefile): Remove. Hardcode Makefile in
8674 AC_CONFIG_FILES call.
8675 * configure: Regenerated.
8676
d528cdcf
JM
8677 [BZ #13888]
8678 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
8679 or TMPDIR.
8680 (testout): Likewise.
8681
135948bd
JM
8682 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
8683 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
8684 $(rtld-installed-name).
8685 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
8686 (rtld_installed_name): Likwise.
8687 (runit): Remove function.
8688 (run_getconf): New variable, Use it for running getconf binary.
8689
38c78296
L
86902012-10-18 H.J. Lu <hongjiu.lu@intel.com>
8691
8692 [BZ #14716]
8693 * string/test-memmem.c (check_result): New function.
8694 (do_one_test): Use it.
8695 (check1): New function.
8696 (test_main): Use it.
8697
d077f65f
MT
86982012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
8699
8700 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
8701
ced52c71
JM
87022012-10-18 Joseph Myers <joseph@codesourcery.com>
8703
8704 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
8705 (_G_LSEEK64): Likewise.
8706 (_G_MMAP64): Likewise.
8707 (_G_FSTAT64): Likewise.
8708 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
8709 (_G_LSEEK64): Likewise.
8710 (_G_MMAP64): Likewise.
8711 (_G_FSTAT64): Likewise.
8712 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
8713 unconditional. Call __mmap64 directly.
8714 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
8715 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
8716 __lseek64 directly.
8717 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
8718 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
8719 __mmap64 directly.
8720 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
8721 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
8722 __lseek64 directly.
8723 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
8724 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
8725 __lseek64 directly.
8726 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
8727 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
8728 __lseek64 directly.
8729 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
8730 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
8731 __fxstat64 directly.
8732 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
8733 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
8734 unconditional.
8735 (freopen64) [!_G_OPEN64]: Remove conditional code.
8736 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
8737 unconditional.
8738 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
8739 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
8740 unconditional.
8741 (ftello64) [!_G_LSEEK64]: Remove conditional code.
8742 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
8743 unconditional.
8744 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8745 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
8746 unconditional.
8747 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
8748 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
8749 unconditional.
8750 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8751 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
8752 unconditional.
8753 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
8754 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
8755 unconditional.
8756 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
8757
b741de23
SP
87582012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8759
8760 [BZ #12140]
8761 * manual/memory.texi (Malloc Tunable Parameters): Add note
8762 about free list pointers overwriting some perturb bytes.
8763 Wording suggested by Roland McGrath.
8764
f9b9d9c9
JM
87652012-10-17 Joseph Myers <joseph@codesourcery.com>
8766
8767 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
8768 (lgamma_test): Likewise.
8769 (tgamma_test): Likewise.
8770
172a631a
FW
87712012-10-16 Florian Weimer <fweimer@redhat.com>
8772
8773 [BZ #14700]
8774 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
8775 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
8776
e9f37252
MK
87772012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
8778
8779 * NEWS: Mention BZ #14716.
8780 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
8781 when removing AVAILABLE1_USES_J macro.
8782
d394eb74
L
87832012-10-12 H.J. Lu <hongjiu.lu@intel.com>
8784
8785 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
8786 (__bswap_64): __uint64_t for unsigned 64-bit int.
8787
ca38dc17
AS
87882012-10-12 Andreas Schwab <schwab@linux-m68k.org>
8789
8790 * include/string.h (memmem): Declare libc hidden alias.
8791 * string/memmem.c (memmem): Define libc hidden alias.
8792 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
8793 __read, __close instead of open, read, close.
8794
9a387d1f
L
87952012-10-11 H.J. Lu <hongjiu.lu@intel.com>
8796
ac49ecaf
L
8797 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
8798 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
8799 global and hidden.
8800 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
8801 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
8802 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
8803 Likewise.
8804 (__rawmemchr_sse2): Likewise.
8805 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
8806 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
8807 (__strchr_sse2): Likewise.
8808 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
8809 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
8810 (__strcasecmp_sse2): Likewise.
8811 (__strncasecmp_sse2): Likewise.
8812 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
8813 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
8814 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
8815 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
8816 (__strrchr_sse2): Likewise.
8817 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
8818 ifunc-impl-list.c.
8819 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8820 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8821 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8822 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
8823 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8824 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8825 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8826 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8827 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
8828 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
8829 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
8830 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
8831 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
8832 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8833 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8834 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8835 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8836 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8837 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
8838 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
8839 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
8840 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
8841 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
8842 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8843 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
8844 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8845 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8846 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8847 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8848 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8849
b090e8ea
L
8850 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
8851 global and hidden.
8852 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
8853 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
8854 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
8855 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
8856 Likewise.
8857 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
8858 Likewise.
8859 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
8860 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
8861 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
8862 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
8863 ifunc-impl-list.c.
8864 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8865 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8866 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8867 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8868 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8869 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8870 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8871 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8872 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8873 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8874 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8875 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8876 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8877 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
8878 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
8879 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8880 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
8881 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
8882 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8883 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8884 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8885 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8886 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8887 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8888 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8889 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
8890 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
8891 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
8892 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
8893 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8894 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
8895 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8896 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8897 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
8898 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8899 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8900 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8901 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8902 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8903 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8904 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
8905
11dd4af6
L
8906 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
8907 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
8908 * include/ifunc-impl-list.h: New file.
8909 * misc/ifunc-impl-list.c: Likewise.
8910 * misc/Makefile (routines): Add ifunc-impl-list.
8911 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
8912 * string/test-string.h: Include <ifunc-impl-list.h>.
8913 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
8914 impl_array): New variables.
8915 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
8916 are defined.
8917 (test_init): Call __libc_ifunc_impl_list to initialize
8918 func_list if TEST_IFUNC and TEST_NAME are defined.
8919
9a387d1f
L
8920 * string/Makefile (strop-tests): Add bcopy and bzero.
8921 * string/test-bcopy.c: New file.
8922 * string/test-bzero.c: Likewise.
8923 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
8924 defined.
8925 * string/test-memset.c: Support bzero test if TEST_BZERO is
8926 defined.
8927 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
8928 __libc_memmove.
8929 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
8930 __libc_memset.
8931 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
8932 of memset.
8933
472371b9
JM
89342012-10-10 Joseph Myers <joseph@codesourcery.com>
8935
1e4a9536
JM
8936 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
8937 * configure: Regenerated.
8938
d173d12e
JM
8939 * Makeconfig (+link-static-before-libc): Don't include
8940 $(link-static-libc).
8941
472371b9
JM
8942 * libio/libio.h (_IO_pos_t): Remove.
8943
89a3ad0b
AO
89442012-10-10 Alexandre Oliva <aoliva@redhat.com>
8945
8946 * NEWS: Add note about FIPS mode. Wording suggested by Roland
8947 McGrath.
8948
e7451425
AO
89492012-10-10 Alexandre Oliva <aoliva@redhat.com>
8950
8951 * crypt/crypt-entry.c: Include fips-private.h.
8952 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
8953 * crypt/md5c-test.c (main): Tolerate disabled MD5.
8954 * sysdeps/unix/sysv/linux/fips-private.h: New file.
8955 * sysdeps/generic/fips-private.h: New file, dummy fallback.
8956
4ba74a35
AO
89572012-10-10 Alexandre Oliva <aoliva@redhat.com>
8958
8959 * crypt/crypt-private.h: Include stdbool.h.
8960 (_ufc_setup_salt_r): Return bool.
8961 * crypt/crypt-entry.c: Include errno.h.
8962 (__crypt_r): Return NULL with EINVAL for bad salt.
8963 * crypt/crypt_util.c (bad_for_salt): New.
8964 (_ufc_setup_salt_r): Check that salt is long enough and within
8965 the specified alphabet.
8966 * crypt/badsalttest.c: New file.
8967 * crypt/Makefile (tests): Add it.
8968 ($(objpfx)badsalttest): New.
8969
f96f1242
MK
89702012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
8971
8972 * NEWS: Add entry for BZ #14602.
8973
0e8e0c1c
JM
89742012-10-09 Joseph Myers <joseph@codesourcery.com>
8975
8976 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
8977 type-generic.
8978 * math/libm-test.inc: Update comment listing what functions and
8979 macros are tested.
8980 (isgreater_test): New function.
8981 (isgreaterequal_test): Likewise.
8982 (isless_test): Likewise.
8983 (islessequal_test): Likewise.
8984 (islessgreater_test): Likewise.
8985 (isunordered_test): Likewise.
8986 (main): Call the new functions.
8987
273edc5e
RM
89882012-10-09 Roland McGrath <roland@hack.frob.com>
8989
b8493de0
RM
8990 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
8991 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
8992 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
8993 * sysdeps/i386/configure: Regenerated.
8994 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
8995 * sysdeps/mach/configure: Regenerated.
8996 * sysdeps/mach/hurd/configure: Regenerated.
8997 * sysdeps/powerpc/configure: Regenerated.
8998 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8999 * sysdeps/powerpc/powerpc64/configure: Regenerated.
9000 * sysdeps/s390/s390-32/configure: Regenerated.
9001 * sysdeps/s390/s390-64/configure: Regenerated.
9002 * sysdeps/sh/configure: Regenerated.
9003 * sysdeps/sparc/configure: Regenerated.
9004 * sysdeps/unix/sysv/linux/configure: Regenerated.
9005 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9006 * sysdeps/x86_64/configure: Regenerated.
9007
273edc5e
RM
9008 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
9009 defined. Don't check if MAP is NULL.
9010
c8450f70
JM
90112012-10-09 Joseph Myers <joseph@codesourcery.com>
9012
9013 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
9014 (_G_stat64): Likewise.
9015 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
9016 (_G_stat64): Likewise.
9017 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
9018 instead of struct _G_stat64.
9019 * libio/fileops.c (mmap_remap_check): Likewise.
9020 (decide_maybe_mmap): Likewise.
9021 (_IO_new_file_seekoff): Likewise.
9022 (_IO_file_stat): Likewise.
9023 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
9024 _G_off64_t.
9025 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
9026 instead of struct _G_stat64.
9027 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9028
57e605ba
MK
90292012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
9030
9031 [BZ #14602]
9032 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9033 Replace with ...
9034 (CHECK_EOL): New macro.
9035 (two_way_short_needle): Check beginning of haystack for EOL. Use
9036 CHECK_EOL.
9037 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9038 Replace with CHECK_EOL.
9039 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
9040 Replace with CHECK_EOL.
9041
ef1bb361
JM
90422012-10-08 Joseph Myers <joseph@codesourcery.com>
9043
9044 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
9045 type-generic.
9046 * math/libm-test.inc: Update comment listing what functions and
9047 macros are tested.
9048 (finite_test): New function.
9049 (isinf_test): Likewise.
9050 (isnan_test): Likewise.
9051 (fpclassify_test): Test subnormal input.
9052 (isfinite_test): Likewise.
9053 (isnormal_test): Likewise.
9054 (main): Call the new functions.
9055
55f11534
JN
90562012-10-08 Jonathan Nieder <jrnieder@gmail.com>
9057
9058 [BZ #14660]
9059 * Makerules (%.dynsym): Force C locale when running
9060 $(OBJDUMP) --dynamic-syms.
9061
1ab29350
AS
90622012-10-08 Andreas Schwab <schwab@linux-m68k.org>
9063
9064 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
9065 <stdint.h>.
9066
f1ecb7ef
DM
90672012-10-06 David S. Miller <davem@davemloft.net>
9068
9069 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
9070 upper 32-bits of the length value in %o2 since we use branch-on-register
9071 tests which consider the entire 64-bit register.
9072
5d41d91a
L
90732012-10-06 H.J. Lu <hongjiu.lu@intel.com>
9074
9075 * string/test-strstr.c (check2): Add a test for page boundary.
9076
3baddb72
DM
90772012-10-05 David S. Miller <davem@davemloft.net>
9078
9079 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
9080 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
9081 file.
9082 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9083 sysdep_routines.
9084 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9085 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
9086 and bzero when HWCAP_SPARC_CRYPTO is present.
9087
9cee5585
L
90882012-10-05 H.J. Lu <hongjiu.lu@intel.com>
9089
d7e0dab9
L
9090 [BZ #14602]
9091 * string/test-strstr.c (check2): New function.
9092 (test_main): Call check2.
9093
03759f47
L
9094 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
9095 and bug-strchr1.
9096 * string/bug-strcasestr1.c (do_test): Moved to ...
9097 * string/test-strcasestr.c (check1): Here. New function.
9098 (do_one_test): Break out result checking code into ...
9099 (check_result): This. New function.
9100 (do_one_test): Call check_result.
9101 (test_main): Call check1.
9102 * string/bug-strchr1.c (do_test): Moved to ...
9103 * string/test-strchr.c (check1): Here. New function.
9104 (do_one_test): Break out result checking code into ...
9105 (check_result): This. New function.
9106 (do_one_test): Call check_result.
9107 (test_main): Call check1.
9108 * string/bug-strstr1.c (main): Moved to ...
046f153e 9109 * string/test-strstr.c (check1): Here. New function.
03759f47
L
9110 (do_one_test): Break out result checking code into ...
9111 (check_result): This. New function.
9112 (do_one_test): Call check_result.
9113 (test_main): Call check1.
9114 * string/bug-strcasestr1.c: Removed.
9115 * string/bug-strchr1.c: Likewise.
9116 * string/bug-strstr1.c: Likewise.
9117
53cea63e
L
9118 * elf/Makefile (dl-routines): Add hwcaps.
9119 * elf/dl-support.c (_dl_important_hwcaps): Removed.
9120 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
9121 (_dl_important_hwcaps): Moved to ...
9122 * elf/dl-hwcaps.c: Here. New file.
9123 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
9124
9cee5585 9125 [BZ #14557]
bb859b06
L
9126 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
9127 if IS_IN_rtld isn't defined.
9128
9cee5585
L
9129 * elf/dl-support.c (_dl_sysinfo_map): New.
9130 Include "get-dynamic-info.h" and "setup-vdso.h".
9131 (_dl_non_dynamic_init): Call setup_vdso.
9132 * elf/dynamic-link.h: Don't include <assert.h>.
9133 (elf_get_dynamic_info): Moved to ...
9134 * elf/get-dynamic-info.h: Here. New file.
9135 * elf/dynamic-link.h: Include "get-dynamic-info.h".
9136 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
9137 * elf/setup-vdso.h: Here. New file.
9138 * elf/rtld.c: Include "setup-vdso.h".
9139 (dl_main): Call setup_vdso.
9140
23c31b76
JM
91412012-10-05 Joseph Myers <joseph@codesourcery.com>
9142
28234b07
JM
9143 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
9144 creal in comment listing functions tested. List finite, isinf,
9145 isnan, isless, islessequal, isgreater, isgreaterequal,
9146 islessgreater, isunordered, lgamma_r and pow10 as functions and
9147 macros not tested. Mention which functions not tested are aliases
9148 for other functions. Fix typo. Note that signs of NaNs are not
9149 tested.
9150
23c31b76
JM
9151 * scripts/config.guess: Update from config.git.
9152 * scripts/config.sub: Likewise.
9153
9043e228
RM
91542012-10-04 Roland McGrath <roland@hack.frob.com>
9155
9156 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
9157 * misc/madvise.c (madvise): Renamed to __madvise.
9158 Make madvise a weak alias.
9159 * include/sys/mman.h: Declare __madvise.
9160 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
9161 * sysdeps/unix/syscalls.list
9162 (madvise): Make __madvise the strong name, and madvise a weak alias.
9163 * sysdeps/unix/sysv/linux/syscalls.list
9164 (madvise, mmap): Remove redundant entries.
9165 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
9166 * malloc/malloc.c (mtrim): Likewise.
9167 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
9168
f57f8055
RM
91692012-10-03 Roland McGrath <roland@hack.frob.com>
9170
9171 * sysdeps/mach/hurd/dl-cache.c: File removed.
9172 * config.h.in (USE_LDCONFIG): New #undef.
9173 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
9174 * configure: Regenerated.
9175 * elf/Makefile (dl-routines): Add dl-cache only under
9176 [$(use-ldconfig) = yes].
9177 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
9178 cache on [USE_LDCONFIG].
9179 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
9180 [USE_LDCONFIG].
9181 * elf/rtld.c (dl_main): Likewise.
9182
5bb0c10a
PT
91832012-10-03 Pino Toscano <toscano.pino@tiscali.it>
9184
9185 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
9186 _SC_LEVEL4_CACHE_LINESIZE.
9187
010188c6
RM
91882012-10-03 Roland McGrath <roland@hack.frob.com>
9189
9190 * sysdeps/unix/bsd/confstr.h: File removed.
9191
b6c5ec07
AO
91922012-10-02 Alexandre Oliva <aoliva@redhat.com>
9193
9194 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
9195 sys/sdt-config.h.
9196
408223d4
RM
91972012-10-02 Roland McGrath <roland@hack.frob.com>
9198
9199 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
9200 Make 'mapoff' field ElfW(Off) rather than off_t.
9201
bb9510dc
DL
92022012-10-02 Dmitry V. Levin <ldv@altlinux.org>
9203
fc997c6e
DL
9204 * nscd/Makefile: Remove nscd-cflags and all its users.
9205 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
9206 (CFLAGS-nonlib): Add compiler flags for nscd modules.
9207
bb9510dc
DL
9208 [BZ #10631]
9209 * malloc.c (malloc_printerr): Clarify error message.
9210
05699367
L
92112012-10-02 H.J. Lu <hongjiu.lu@intel.com>
9212
9213 [BZ #14648]
9214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9215 Set bit_FMA_Usable if FMA is supported.
9216 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
9217 macro.
9218 (bit_FMA4_Usable): Updated.
9219 (index_FMA_Usable): New macro.
9220 (CPUID_FMA): Likewise
9221 (HAS_FMA): Defined with bit_FMA_Usable.
9222
51367701
RM
92232012-10-01 Roland McGrath <roland@hack.frob.com>
9224
9225 * bits/types.h (__swblk_t): Type removed.
9226 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
9227 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
9228 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9229 (__SWBLK_T_TYPE): Likewise.
9230 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9231 (__SWBLK_T_TYPE): Likewise.
9232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9233 (__SWBLK_T_TYPE): Likewise.
9234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9235 (__SWBLK_T_TYPE): Likewise.
9236
4d57bf63 92372012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 9238 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
9239
9240 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
9241 (xdr_mapname): Use YPMAXMAP as maxsize.
9242 (xdr_peername): Use YPMAXPEER as maxsize.
9243 (xdr_keydat): Use YPAXRECORD as maxsize.
9244 (xdr_valdat): Use YPMAXRECORD as maxsize.
9245
93c65d43
RM
92462012-10-01 Roland McGrath <roland@hack.frob.com>
9247
497a03d6
RM
9248 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
9249
93c65d43
RM
9250 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
9251 * csu/init-first.c: ... here.
9252 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
9253 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
9254 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9255 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9256 * sysdeps/i386/init-first.c: File removed.
9257 * sysdeps/sh/init-first.c: File removed.
9258
bec749fd
JM
92592012-10-01 Joseph Myers <joseph@codesourcery.com>
9260
9261 [BZ #14645]
9262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
9263 if x * y might underflow to zero and z is zero.
9264 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9265 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9266 * math/libm-test.inc (min_subnorm_value): New variable.
9267 (fma_test): Add more tests.
9268 (fma_test_towardzero): Likewise.
9269 (fma_test_downward): Likewise
9270 (fma_test_upward): Likewise.
9271 (initialize): Set min_subnorm_value.
9272
8ec5b013
JM
92732012-09-29 Joseph Myers <joseph@codesourcery.com>
9274
9275 [BZ #14638]
9276 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
9277 0 + 0.
9278 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
9279 mode for addition resulting in exact zero.
9280 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
9281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
9282 exact 0 + 0.
9283 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9284 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9285 * math/libm-test.inc (fma_test): Add more tests.
9286 (fma_test_towardzero): New function.
9287 (fma_test_downward): Likewise.
9288 (fma_test_upward): Likewise.
9289 (main): Call the new functions.
9290
b1fa802e
DM
92912012-09-28 David S. Miller <davem@davemloft.net>
9292
9293 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
9294
d3b9fd9e
RM
92952012-09-28 Roland McGrath <roland@hack.frob.com>
9296
ea4d37b3
RM
9297 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
9298 instead of SIGALRM.
9299
ac51c949
RM
9300 * sysdeps/gnu/_G_config.h: Moved to ...
9301 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
9302 * sysdeps/mach/hurd/_G_config.h: Moved to ...
9303 * sysdeps/generic/_G_config.h: ... here.
9304
28c195f7
RM
9305 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
9306
848917f9
RM
9307 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
9308
6bacf05b
RM
9309 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
9310 Conditionalize target on [libnss_test1.so-version].
9311
91363dbb
RM
9312 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
9313
cc87f7d8
RM
9314 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
9315 (elfobjdir): Move out of conditionals.
9316
b1c608fe
RM
9317 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
9318 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
9319 (__nss_lookup_function): Conditionalize label remove_from_tree on
9320 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 9321
1d9a6d96
DM
93222012-09-28 David S. Miller <davem@davemloft.net>
9323
9324 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
9325 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
9326 file.
9327 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
9328 sysdep_routines.
9329 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
9330 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
9331 when HWCAP_SPARC_CRYPTO is present.
9332
72581615
PT
93332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9334
9335 * io/tst-mknodat.c: Create a FIFO instead of a socket.
9336
715a900c
JL
93372012-09-28 Andreas Schwab <schwab@linux-m68k.org>
9338
9339 [BZ #6530]
9340 * stdio-common/vfprintf.c (process_string_arg): Revert
9341 2000-07-22 change.
9342
93432011-09-28 Jonathan Nieder <jrnieder@gmail.com>
9344
9345 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
9346 for testcase.
9347 * stdio-common/tst-sprintf.c: Include <locale.h>
9348 (main): Test sprintf's handling of incomplete multibyte
9349 characters.
9350
9bac1d86
L
93512012-09-28 H.J. Lu <hongjiu.lu@intel.com>
9352
9353 * elf/dl-runtime.c (VERSYMIDX): Removed.
9354 * elf/dl-version.c (VERSYMIDX): Likewise.
9355 * elf/do-rel.h (VERSYMIDX): Likewise.
9356 (VALIDX): Likewise.
9357 * elf/dynamic-link.h (VERSYMIDX): Likewise.
9358 * elf/rtld.c (VALIDX): Likewise.
9359 (ADDRIDX): Likewise.
9bac1d86
L
9360 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
9361 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
9362 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
9363 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
9364 (VALIDX): Likewise.
9365 (ADDRIDX): Likewise.
9bac1d86 9366
b31606c0
PT
93672012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9368
9369 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
9370
11541177
JL
93712012-09-28 Dmitry V. Levin <ldv@altlinux.org>
9372
9373 [BZ #11438]
9374 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
9375 to global scope.
9376 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
9377 addresses are in the same scope as 192.0.2/24.
9378 * posix/gai.conf: Document new scope table defaults.
9379
adb26fae
SP
93802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9381
9382 [BZ #5298]
9383 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
9384 for ftell. Compute offsets from write pointers instead.
9385 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
9386
4573c6b0
SP
93872012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9388
9389 [BZ #14543]
9390 * libio/Makefile (tests): New test case tst-fseek.
9391 * libio/tst-fseek.c: New test case to verify that fseek/ftell
9392 combination works in wide mode.
9393 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
9394 state when the external buffer state changes.
9395
aa9bbfe6
DM
93962012-09-27 David S. Miller <davem@davemloft.net>
9397
9398 [BZ #14376]
9399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
9400 pass reloc->r_addend in as the 'high' argument to
9401 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
9402
784421e7
DM
9403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9404
c39bc8b8
PT
94052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
9406
9407 * rt/tst-aio2.c: Include <pthread.h>.
9408 * rt/tst-aio3.c: Likewise.
9409
1ccc2399
SE
94102012-09-27 Steve Ellcey <sellcey@mips.com>
9411
9412 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
9413
31ed4153
L
94142012-09-27 H.J. Lu <hongjiu.lu@intel.com>
9415
25f5f885
L
9416 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
9417 contents on [SHARED].
31ed4153 9418
b7bfe116
MP
94192012-09-26 Marek Polacek <polacek@redhat.com>
9420
9421 [BZ #14530]
9422 [BZ #13741]
9423 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
9424 for C++ and GCC <4.3 as well as for non GCC compilers.
9425
43c4edba
MT
94262012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
9427
9428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9429
6a1bf82f
RM
94302012-09-25 Roland McGrath <roland@hack.frob.com>
9431
9432 * Makefile.in (all, install): Declare with .PHONY.
9433 Reported by Michael Hope <michael.hope@linaro.org>.
9434
8ad11b9a
TMQMF
94352012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9436
9437 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
9438 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
9439 system header.
9440 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
9441 Likewise.
9442 (sydep_routines): Add the new and the internal functions.
9443 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
9444 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
9445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
9446 (GLIBC_2.17): Add the new function.
9447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
9448 (GLIBC_2.17): Likewise.
9449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9450 (GLIBC_2.17): Likewise.
9451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
9452 (GLIBC_2.17): Likewise.
9453 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
9454
7e2fca8d
AM
94552012-09-25 Alan Modra <amodra@gmail.com>
9456
9457 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
9458 Add release barrier before setting once_control to say
9459 initialisation is done. Add hints on lwarx. Use macro in
9460 place of isync.
9461 (clear_once_control): Add release barrier.
9462
b87c4b24
JM
94632012-09-25 Joseph Myers <joseph@codesourcery.com>
9464
d032e0d2
JM
9465 [BZ #13629]
9466 * math/s_clog.c (__clog): Handle more values close to |z| = 1
9467 specially.
9468 * math/s_clog10.c (__clog10): Likewise.
9469 * math/s_clog10f.c (__clog10f): Likewise.
9470 * math/s_clog10l.c (__clog10l): Likewise.
9471 * math/s_clogf.c (__clogf): Likewise.
9472 * math/s_clogl.c (__clogl): Likewise.
9473 * math/Makefile (libm-calls): Add x2y2m1.
9474 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
9475 (__x2y2m1): Likewise.
9476 (__x2y2m1l): Likewise.
9477 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
9478 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9481 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
9482 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9483 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
9484 * sysdeps/i386/fpu/libm-test-ulps: Update.
9485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9486
b87c4b24
JM
9487 [BZ #14621]
9488 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
9489 int as type of variable DEPTH.
9490 (glob): Use size_t instead of int as type of variables NEWCOUNT
9491 and OLD_PATHC.
9492
6d3bf199
LD
94932012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9494
22bf5c17
LD
9495 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9496 Add s_sincosf-sse2.
9497 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
9498 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
9499 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
9500 macros for using routine as __sincosf_ia32.
9501 Use macro for function declaration and weak_alias.
9502 * sysdeps/i386/fpu/libm-test-ulps: Update.
9503
9504 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
9505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9506
9507 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
9508 subnormal argument.
9509 * math/s_cexpf.c (__cexpf): Likewise.
9510 * math/s_csinf.c (__csinf): Likewise.
9511 * math/s_csinhf.c (__csinhf): Likewise.
9512 * math/s_ctanf.c (__ctanf): Likewise.
9513 * math/s_ctanhf.c (__ctanhf): Likewise.
9514 * math/s_ccosh.c (__ccoshf): Likewise.
9515 * math/s_cexp.c (__cexpl): Likewise.
9516 * math/s_csin.c (__csin): Likewise.
9517 * math/s_csinh.c (__csinh): Likewise.
9518 * math/s_ctan.c (__ctan): Likewise.
9519 * math/s_ctanh.c (ctanh): Likewise.
9520 * math/s_ccoshl.c (__ccoshl): Likewise.
9521 * math/s_cexpl.c (__cexpl): Likewise.
9522 * math/s_csinl.c (__csinl): Likewise.
9523 * math/s_csinhl.c (__csinhl): Likewise.
9524 * math/s_ctanl.c (__ctanl): Likewise.
9525 * math/s_ctanhl.c (__ctanhl): Likewise.
9526
203e5603
JM
95272012-09-25 Joseph Myers <joseph@codesourcery.com>
9528
9529 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
9530 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
9531 (_IO_off_t): Define to __off_t, not _G_off_t.
9532 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
9533 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
9534 (_IO_wint_t): Define to wint_t, not _G_wint_t.
9535 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
9536 type of __dummy and __dummy2 fields.
9537 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
9538 (_G_ssize_t): Likewise.
9539 (_G_off_t): Likewise.
9540 (_G_pid_t): Likewise.
9541 (_G_uid_t): Likewise.
9542 (_G_wchar_t): Likewise.
9543 (_G_wint_t): Likewise.
9544 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
9545 (_G_ssize_t): Likewise.
9546 (_G_off_t): Likewise.
9547 (_G_pid_t): Likewise.
9548 (_G_uid_t): Likewise.
9549 (_G_wchar_t): Likewise.
9550 (_G_wint_t): Likewise.
9551 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
9552 (_G_ssize_t): Likewise.
9553 (_G_off_t): Likewise.
9554 (_G_pid_t): Likewise.
9555 (_G_uid_t): Likewise.
9556 (_G_wchar_t): Likewise.
9557 (_G_wint_t): Likewise.
9558
9fab36eb
SP
95592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9560
9561 * malloc/arena.c: Include malloc-sysdep.h.
9562 (shrink_heap): Use check_may_shrink_heap to decide if madvise
9563 is sufficient to shrink the heap or an unmap is needed.
9564 * sysdeps/generic/malloc-sysdep.h: New file. Define
9565 new function check_may_shrink_heap.
9566 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
9567 new function check_may_shrink_heap.
9568
2b4f00d1
SP
95692012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9570
9571 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
9572 comments.
9573
9a9028b1
DL
95742012-09-24 Dmitry V. Levin <ldv@altlinux.org>
9575
57c69bef
DL
9576 * catgets/test-gencat.sh: Add "set -e".
9577 * elf/tst-pathopt.sh: Likewise.
9578 * grp/tst_fgetgrent.sh: Likewise.
9579 * iconvdata/run-iconv-test.sh: Likewise.
9580 * intl/tst-gettext.sh: Likewise.
9581 * intl/tst-gettext2.sh: Likewise.
9582 * intl/tst-gettext4.sh: Likewise.
9583 * intl/tst-gettext6.sh: Likewise.
9584 * intl/tst-translit.sh: Likewise.
9585 * io/ftwtest-sh: Likewise.
9586 * libio/test-freopen.sh: Likewise.
9587 * malloc/tst-mtrace.sh: Likewise.
9588 * posix/globtest.sh: Likewise.
9589 * posix/tst-getconf.sh: Likewise.
9590 * posix/wordexp-tst.sh: Likewise.
9591 * stdio-common/tst-printf.sh: Likewise.
9592 * stdio-common/tst-unbputc.sh: Likewise.
9593 * stdlib/tst-fmtmsg.sh: Likewise.
9594 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9595 * catgets/Makefile: Do not specify -e option when running
9596 testsuite shell scripts.
9597 * elf/Makefile: Likewise.
9598 * grp/Makefile: Likewise.
9599 * iconvdata/Makefile: Likewise.
9600 * intl/Makefile: Likewise.
9601 * io/Makefile: Likewise.
9602 * libio/Makefile: Likewise.
9603 * malloc/Makefile: Likewise.
9604 * posix/Makefile: Likewise.
9605 * stdio-common/Makefile: Likewise.
9606 * stdlib/Makefile: Likewise.
9607 * sysdeps/x86_64/Makefile: Likewise.
9608
9a9028b1
DL
9609 * io/ftwtest-sh: Add copyright header.
9610 * posix/globtest.sh: Likewise.
9611 * posix/tst-getconf.sh: Likewise.
9612 * posix/wordexp-tst.sh: Likewise.
9613 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
9614
ced6f16e
L
96152012-09-24 H.J. Lu <hongjiu.lu@intel.com>
9616
94b32c39
L
9617 [BZ #13679]
9618 * Makeconfig (+link): Defined as $(+link-static) if
9619 $(build-shared) isn't yes.
9620 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
9621 isn't yes.
9622 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
9623
189e935b
L
9624 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
9625
ced6f16e
L
9626 [BZ #14562]
9627 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
9628 new chunk size with MALLOC_ALIGN_MASK.
9629
a9f8e53a
JM
96302012-09-24 Joseph Myers <joseph@codesourcery.com>
9631
9632 [BZ #5044]
9633 * stdio-common/printf_fphex.c: Include <stdbool.h> and
9634 <rounding-mode.h>.
9635 (__printf_fphex): Determine rounding using get_rounding_mode and
9636 round_away.
9637 * stdio-common/tst-printf-round.c (struct hex_test): New
9638 structure.
9639 (hex_tests): New variable.
9640 (test_hex_in_one_mode): New function.
9641 (do_test): Also run tests for hex float output.
9642
43153109
JM
96432012-09-21 Joseph Myers <joseph@codesourcery.com>
9644
9645 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9646 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9647 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
9648 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
9649 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
9650 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
9651 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9652 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
9653
8a26625d
JM
96542012-09-20 Joseph Myers <joseph@codesourcery.com>
9655
9656 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
9657 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
9658 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
9659 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
9660
f3fd569c
DL
96612012-09-19 Dmitry V. Levin <ldv@altlinux.org>
9662
9663 [BZ #14579]
9664 * elf/rtld.c (dl_main): Limit the check for self loading to normal
9665 mode only.
9666 * elf/tst-rtld-load-self.sh: New test.
9667 * elf/Makefile: Run it.
9668
63bbedd4
JM
96692012-09-18 Joseph Myers <joseph@codesourcery.com>
9670
9671 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
9672 (tst-writev-ENV): Remove.
9673 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
9674
626f8b6a
CM
96752012-09-17 Chris Metcalf <cmetcalf@tilera.com>
9676
9677 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
9678
b7aaa4d6
JM
96792012-09-17 Joseph Myers <joseph@codesourcery.com>
9680
9681 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
9682 unconditional.
9683 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
9684 Likewise.
9685 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
9686 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
9687 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
9688 Likewise.
9689
65513990
L
96902012-09-14 H.J. Lu <hongjiu.lu@intel.com>
9691
9692 [BZ #14587]
9693 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
9694 * config.make.in (have-cpp-asm-debuginfo): Removed.
9695 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
9696 * configure: Regenerated.
9697
784761be
JM
96982012-09-14 Joseph Myers <joseph@codesourcery.com>
9699
9700 [BZ #5044]
9701 * stdio-common/printf_fp.c: Include <stdbool.h> and
9702 <rounding-mode.h>.
9703 (___printf_fp): Determine rounding using get_rounding_mode and
9704 round_away.
9705 * stdio-common/tst-printf-round.c: New file.
9706 * stdio-common/Makefile (tests): Add tst-printf-round.
9707 (link-libm): New variable.
9708 ($(objpfx)tst-printf-round): Depend in $(link-libm).
9709
9503345f
L
97102012-09-13 H.J. Lu <hongjiu.lu@intel.com>
9711
9712 [BZ #14576]
9713 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
9714 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
9715 Likewise.
9716 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
9717 Likewise.
9718
ad35fc00
JM
97192012-09-13 Joseph Myers <joseph@codesourcery.com>
9720
9721 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
9722 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9723 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9724 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
9725
6c9b0f68
JM
97262012-09-12 Joseph Myers <joseph@codesourcery.com>
9727
9728 [BZ #14518]
9729 * include/rounding-mode.h: New file.
9730 * sysdeps/generic/get-rounding-mode.h: Likewise.
9731 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
9732 * stdlib/strtod_l.c: Include <rounding-mode.h>.
9733 (MAX_VALUE): New macro.
9734 (MIN_VALUE): Likewise.
9735 (overflow_value): New function.
9736 (underflow_value): Likewise.
9737 (round_and_return): Use overflow_value and underflow_value to
9738 determine return values in overflow and underflow cases. Use
9739 round_away to determine rounding depending on rounding mode.
9740 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
9741 determine return values in overflow and underflow cases.
9742 * stdlib/tst-strtod-round.c: Include <fenv.h>.
9743 (struct test_results): New structure.
9744 (struct test): Use struct test_results to store expected results
9745 for all rounding modes.
9746 (TEST): Include expected results for all rounding modes.
9747 (test_in_one_mode): New function.
9748 (do_test): Use test_in_one_mode to compute and check results.
9749 Check results for all rounding modes.
9750 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
9751 $(link-libm).
9752
19fcedd5
AM
97532012-12-09 Allan McRae <allan@archlinux.org>
9754
1e9d84cd 9755 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 9756
8bbfd2f1
JM
97572012-09-11 Joseph Myers <joseph@codesourcery.com>
9758
9759 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
9760 (_G_int32_t): Likewise.
9761 (_G_uint16_t): Likewise.
9762 (_G_uint32_t): Likewise.
9763 (_G_HAVE_BOOL): Likewise.
9764 (_G_HAVE_ATEXIT): Likewise.
9765 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9766 (_G_HAVE_IO_FILE_OPEN): Likewise.
9767 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
9768 (_G_int32_t): Likewise.
9769 (_G_uint16_t): Likewise.
9770 (_G_uint32_t): Likewise.
9771 (_G_HAVE_BOOL): Likewise.
9772 (_G_HAVE_ATEXIT): Likewise.
9773 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9774 (_G_HAVE_IO_FILE_OPEN): Likewise.
9775 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
9776 (_G_int32_t): Likewise.
9777 (_G_uint16_t): Likewise.
9778 (_G_uint32_t): Likewise.
9779 (_G_HAVE_BOOL): Likewise.
9780 (_G_HAVE_ATEXIT): Likewise.
9781 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
9782 (_G_HAVE_IO_FILE_OPEN): Likewise.
9783
b1dc5912
L
97842012-09-11 H.J. Lu <hongjiu.lu@intel.com>
9785
9786 * csu/libc-tls.c: Update copyright years.
9787
0e886ef9
JM
97882012-09-10 Joseph Myers <joseph@codesourcery.com>
9789
28361c5e
JM
9790 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
9791 [!_G_USING_THUNKS]: Remove conditional code.
9792 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
9793 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
9794
0e886ef9
JM
9795 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
9796 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
9797 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9798 (_G_VTABLE_LABEL_PREFIX): Likewise.
9799 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9800 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9801 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9802 (_G_VTABLE_LABEL_PREFIX): Likewise.
9803 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9804 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
9805 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
9806 (_G_VTABLE_LABEL_PREFIX): Likewise.
9807 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
9808
bcba7aa2
L
98092012-09-10 H.J. Lu <hongjiu.lu@intel.com>
9810
9811 * libio/Makefile: Include ../Makeconfig before tests.
9812 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
9813 only if $(build-shared) is yes.
9814
06585ee8
L
9815 * iconv/gconv_db.c: Update copyright years.
9816
80ccd52c
LD
98172012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9818
9819 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
9820 unwind info if defined PIC. Fix special cases description.
9821 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
9822
9823 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
9824 DP_HI_MASK entry.
9825 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
9826
691bc9c1
L
98272012-09-07 H.J. Lu <hongjiu.lu@intel.com>
9828
3d9b46b3
L
9829 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
9830
de2139a9
L
9831 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
9832 is NULL.
9833
5ca78dd0
L
9834 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
9835 (LDLIBS-tst-chk4): This.
9836 (LDFLAGS-tst-chk5): Renamed to ...
9837 (LDLIBS-tst-chk5): This.
9838 (LDFLAGS-tst-chk6): Renamed to ...
9839 (LDLIBS-tst-chk6): This.
9840 (LDFLAGS-tst-lfschk4): Renamed to ...
9841 (LDLIBS-tst-lfschk4): This.
9842 (LDFLAGS-tst-lfschk5): Renamed to ...
9843 (LDLIBS-tst-lfschk5): This.
9844 (LDFLAGS-tst-lfschk6): Renamed to ...
9845 (LDLIBS-tst-lfschk6): This.
9846
691bc9c1
L
9847 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
9848 on $(common-objpfx)soversions.mk.
9849
65cafb1c
JM
98502012-09-07 Joseph Myers <joseph@codesourcery.com>
9851
9852 [BZ #10014]
9853 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
9854 example host name.
9855
c78ab094
SP
98562012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9857
9858 * malloc/arena.c (arena_get_retry): New function that gets
9859 another arena for the caller to try its request on.
9860 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
9861 current arena cannot fulfill the request.
9862 (__libc_memalign): Likewise.
9863 (__libc_memalign): Likewise.
9864 (__libc_pvalloc): Likewise.
9865 (__libc_calloc): Likewise.
9866
01f49f59
JT
98672012-09-05 John Tobey <john.tobey@gmail.com>
9868
9869 [BZ #13542]
9870 * manual/arith.texi (Operations on Complex): Fix description
9871 of carg branch cut.
9872
4c23fed5
JM
98732012-09-06 Joseph Myers <joseph@codesourcery.com>
9874
1d3c8572
JM
9875 [BZ #10014]
9876 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
9877 host name.
9878
4c23fed5
JM
9879 [BZ #10038]
9880 * manual/memory.texi (Memory): Make order of menu items match
9881 order of sections.
9882
04570aaa
L
98832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9884
9885 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
9886 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
9887 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
9888
b80af2f4
L
98892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9890
9891 * csu/libc-tls.c (static_dtv): Renamed to ...
9892 (_dl_static_dtv): This. Make it global.
9893 (_dl_initial_dtv): Removed.
9894 (__libc_setup_tls): Updated.
9895 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
9896 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
9897 DL_INITIAL_DTV.
9898
2abe9f15
PM
98992012-09-06 Petr Machata <pmachata@redhat.com>
9900
9901 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
9902 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
9903 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
9904 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
9905
0948c3af
L
99062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9907
9908 [BZ #14545]
9909 * csu/libc-tls.c (_dl_initial_dtv): New variable.
9910 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
9911 freeing dtv[-1].
9912
a5055ad1
L
99132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
9914
9915 [BZ #14544]
9916 * Makeconfig (link-static-before-libc): Replace $(+prector)
9917 with $(+prectorT).
9918 (link-static-after-libc): Replace $(+postctor) with
9919 $(+postctorT).
9920 (link-bounded): Replace $(+prector)/$(+postctor) with
9921 $(+prectorT)/$(+postctorT).
9922 (+prectorT): New macro.
9923 (+postctorT): Likewise.
9924
ed8c2ecd
JM
99252012-09-06 Joseph Myers <joseph@codesourcery.com>
9926
9927 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
9928 (round_str): Handle values above the maximum for IBM long double
9929 as inexact.
9930 * stdlib/tst-strtod-round.c (tests): Regenerated.
9931
14c996c8
AK
99322012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9933
9934 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
9935 assembler flag.
9936 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
9937 zarch_nohighgprs around the zarch optimized routines.
9938 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
9939 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
9940 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
9941 for zarch.
9942
430d6ce6
DM
99432012-09-05 David S. Miller <davem@davemloft.net>
9944
9945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9946
ff04dda4
DM
9947 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
9948 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
9949 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
9950 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9951 entries.
9952
24d4e01b
AO
99532012-09-05 Alexandre Oliva <aoliva@redhat.com>
9954
9955 * malloc/arena.c: Fold copyright years.
9956 * malloc/mcheck.c, malloc/memusage.c: Likewise.
9957
61d58174
AO
99582012-09-05 Alexandre Oliva <aoliva@redhat.com>
9959
9960 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
9961
20196a5e
AO
99622012-09-05 Alexandre Oliva <aoliva@redhat.com>
9963
9964 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
9965
5c447383
AO
99662012-09-05 Alexandre Oliva <aoliva@redhat.com>
9967
9968 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
9969 change internal state upon failure.
9970
fad64255
AO
99712012-09-05 Alexandre Oliva <aoliva@redhat.com>
9972
9973 * malloc/mcheck.c (mcheck_check_all): Fix typo.
9974 * malloc/memusage.c (mmap): Likewise.
9975 (mmap64, mremap): Likewise. Adjust name in comment.
9976
1ffb8c90
SP
99772012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9978
9979 * libio/fileops.c: Fix typos in comments.
9980 * libio/oldfileops.c: Likewise.
9981 * libio/wfileops.c: Likewise.
9982
6ef9cc37
SP
99832012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9984
9985 [BZ #1349]
9986 * malloc/Makefile (tests): Add tst-malloc-usable test case.
9987 (tst-malloc-usable-ENV): Set environment for test case.
9988 * malloc/hooks.c (malloc_check_get_size): New function to get
9989 requested size.
9990 * malloc/malloc.c (musable): Use malloc_check_get_size.
9991 * malloc/tst-malloc-usable.c: New test case.
9992
4d038ae3
AS
99932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
9994
9995 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
9996
c4e85184
AM
99972012-09-05 Allan McRae <allan@archlinux.org>
9998
b9dafc56 9999 [BZ #13966]
c4e85184
AM
10000 * configure.in (CXX_SYSINCLUDES): Use compiler output to
10001 determine header location.
10002 * configure: Regenerated.
10003
e1343020
AS
100042012-09-05 Andreas Schwab <schwab@linux-m68k.org>
10005
10006 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
10007 float format.
10008 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
10009 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
10010 format.
e1343020
AS
10011 (test): Regenerate.
10012
0a9f1987
DM
100132012-09-04 David S. Miller <davem@davemloft.net>
10014
10015 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
10016 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
10017 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
10018
29237804
FW
100192012-09-04 Florian Weimer <fweimer@redhat.com>
10020
10021 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
10022 failures.
10023
edb3cb88
FW
10024 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
10025
60160d83
JM
100262012-09-04 Joseph Myers <joseph@codesourcery.com>
10027
10028 [BZ #9914]
10029 * libio/iogetdelim.c: Include <limits.h>.
10030 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
10031 + len + 1 would overflow.
10032
bcd6c8dc
AJ
100332012-09-03 Andreas Jaeger <aj@suse.de>
10034
10035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10036 * sysdeps/i386/fpu/libm-test-ulps: Update.
10037
4ffffbd2
LD
100382012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10039
10040 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
10041 Add s_sinf-sse2, s_conf-sse2.
10042
10043 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
10044 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
10045 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
10046 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
10047
10048 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
10049 for using routine as __sinf_ia32.
10050 Use macro for function declaration and weak_alias.
10051 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
10052 for using routine as __cosf_ia32.
10053 Use macro for function declaration and weak_alias.
10054
10055 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
10056 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
10057
10058 * sysdeps/x86_64/fpu/s_sinf.S: New file.
10059 * sysdeps/x86_64/fpu/s_cosf.S: New file.
10060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10061
10062 * math/libm-test.inc (cos_test): Add more test cases.
10063 (sin_test): Likewise.
10064 (sincos_test): Likewise.
10065
511fa286
AK
100662012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10067
10068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
10069 (IFUNC_RESOLVE): Make pointers to the specialized implementations
10070 hidden.
10071 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10072
5f30cfec
L
100732012-09-02 H.J. Lu <hongjiu.lu@intel.com>
10074
10075 [BZ #14538]
10076 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
10077 first element of the GOT.
10078 (elf_machine_load_address): Return the difference between
10079 the runtime address of _DYNAMIC and elf_machine_dynamic ().
10080
0786794f
AM
100812012-09-01 Allan McRae <allan@archlinux.org>
10082
5f30cfec
L
10083 [BZ #13412]
10084 * configure.in (AWK): Require gawk version 3.0 or later.
10085 * configure: Regenerated.
0786794f 10086
26889eac
JM
100872012-09-01 Joseph Myers <joseph@codesourcery.com>
10088
10089 * sysdeps/unix/sysv/linux/kernel-features.h
10090 (__ASSUME_POSIX_CPU_TIMERS): Remove.
10091 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10092 [__NR_clock_getres]: Make code unconditional.
10093 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
10094 (clock_getcpuclockid): Remove code left unreachable by removal of
10095 conditionals.
10096 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
10097 code unconditional.
10098 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10099 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10100 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
10101 Make code unconditional.
10102 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
10103 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10104 * sysdeps/unix/sysv/linux/clock_settime.c
10105 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
10106 conditional code.
10107 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
10108 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
10109
d22e28b0
L
101102012-08-29 H.J. Lu <hongjiu.lu@intel.com>
10111
10112 [BZ #14476]
10113 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
10114 scripts/test-installation.pl.
10115
10116 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
10117 and $ld_so_version if it is set.
10118
050af9c4
SP
101192012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10120
10121 [BZ #14516]
10122 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
10123 failure if reading from procfs failed.
10124 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
10125
ad845c0b
JM
101262012-08-27 Joseph Myers <joseph@codesourcery.com>
10127
10128 * sysdeps/unix/sysv/linux/kernel-features.h
10129 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
10130 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10131 Remove conditional code.
10132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10133 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
10134 Remove conditional code.
10135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10136 * sysdeps/unix/sysv/linux/i386/fxstat.c
10137 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10139 * sysdeps/unix/sysv/linux/i386/fxstatat.c
10140 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10141 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10142 * sysdeps/unix/sysv/linux/i386/lxstat.c
10143 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
10144 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10145 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
10146 Remove conditional code.
10147 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10148 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
10149 Remove conditional code.
10150 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10151 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
10152 <kernel-features.h>.
10153 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
10154 Remove.
10155 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
10156 Remove conditional code.
10157 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
10158 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
10159 Remove conditional.
10160
5dbf56af
MF
101612012-08-27 Mike Frysinger <vapier@gentoo.org>
10162
10163 [BZ #5400]
10164 * NEWS: Add fixed bug number.
10165
d6e70f43
JM
101662012-08-27 Joseph Myers <joseph@codesourcery.com>
10167
7efb4737
JM
10168 [BZ #14519]
10169 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
10170 underflowing exponent in case of negative sign.
10171 * stdlib/tst-strtod-round-data: Add more tests.
10172 * stdlib/tst-strtod-round.c (tests): Regenerated.
10173
af92131a
JM
10174 [BZ #3479]
10175 * stdlib/strtod_l.c (NDIG): Remove.
10176 (HEXNDIG): Likewise.
10177 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
10178 smallest representable value.
10179 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
10180 lie within an exact representation of 1/2 ulp of the result.
10181 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
10182 unconditionally.
10183 (TENS_P9_IDX): Define unconditionally.
10184 (TENS_P9_SIZE): Likewise.
10185 (TENS_P10_IDX): Likewise.
10186 (TENS_P10_SIZE): Likewise.
10187 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
10188 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
10189 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
10190 entries for 10^2^13 and 10^2^14.
10191 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
10192 (TENS_P13_IDX): Define.
10193 (TENS_P13_SIZE): Likewise.
10194 (TENS_P14_IDX): Likewise.
10195 (TENS_P14_SIZE): Likewise.
10196 (_fpioconst_pow10): Change array size to
10197 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
10198 unconditional.
10199 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
10200 1024]: Add entries for 10^2^13 and 10^2^14.
10201 [LAST_POW10 > _LAST_POW10]: Remove #error.
10202 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
10203 (_fpioconst_pow10): Change array size to
10204 FPIOCONST_POW10_ARRAY_SIZE.
10205 * stdlib/gen-fpioconst.c: New file.
10206 * stdlib/gen-tst-strtod-round.c: Likewise.
10207 * stdlib/tst-strtod-round-data: Likewise.
10208 * stdlib/tst-strtod-round.c: Likewise.
10209 * stdlib/Makefile (tests): Add tst-strtod-round.
10210
d6e70f43
JM
10211 [BZ #14459]
10212 * stdlib/strtod_l.c: Include <stdint.h>.
10213 (NDEBUG): Do not define.
10214 (round_and_return): Change EXPONENT parameter to type intmax_t.
10215 Rearrange calculations to avoid internal overflow possibilities.
10216 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
10217 Rearrange calculations to avoid internal overflow possibilities.
10218 Assert that number fits inside MPNSIZE limbs.
10219 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
10220 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
10221 calculations and add assertions to avoid internal overflow
10222 possibilities. Add casts to avoid signed/unsigned operations.
10223 * stdlib/tst-strtod-overflow.c: New file.
10224 * stdlib/Makefile (tests): Add tst-strtod-overflow.
10225
1f529f7d
MP
102262012-08-25 Marek Polacek <polacek@redhat.com>
10227
10228 * time/time.h: Fix some typos in comments.
10229
59a629f1
RM
102302012-08-23 Roland McGrath <roland@hack.frob.com>
10231
10232 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
10233 * posix/tst-rfc3484-2.c: Likewise.
10234 * posix/tst-rfc3484-3.c: Likewise.
10235
d3bafbc9
SM
102362012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
10237
10238 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
10239 (EF_ARM_ABI_FLOAT_HARD): Likewise.
10240
4efcc022
JM
102412012-08-23 Joseph Myers <joseph@codesourcery.com>
10242
10243 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
10244 #include of fxstatat64.c.
10245
3cc3ef96
RM
102462012-08-22 Roland McGrath <roland@hack.frob.com>
10247
f04e2132
RM
10248 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
10249 * shadow/getspent_r.c: Likewise.
10250 * shadow/getspnam.c: Likewise.
10251 * shadow/getspnam_r.c: Likewise.
10252 * gshadow/getsgent.c: Likewise.
10253 * gshadow/getsgent_r.c: Likewise.
10254 * gshadow/getsgnam.c: Likewise.
10255 * gshadow/getsgnam_r.c: Likewise.
10256 * inet/getnetbyad.c: Likewise.
10257 * inet/getnetbyad_r.c: Likewise.
10258 * inet/getnetbynm.c: Likewise.
10259 * inet/getnetbynm_r.c: Likewise.
10260 * inet/getnetent.c: Likewise.
10261 * inet/getnetent_r.c: Likewise.
10262 * inet/getproto.c: Likewise.
10263 * inet/getproto_r.c: Likewise.
10264 * inet/getprtent.c: Likewise.
10265 * inet/getprtent_r.c: Likewise.
10266 * inet/getprtname.c: Likewise.
10267 * inet/getprtname_r.c: Likewise.
10268 * inet/getrpcbyname.c: Likewise.
10269 * inet/getrpcbyname_r.c: Likewise.
10270 * inet/getrpcbynumber.c: Likewise.
10271 * inet/getrpcbynumber_r.c: Likewise.
10272 * inet/getrpcent.c: Likewise.
10273 * inet/getrpcent_r.c: Likewise.
10274 * inet/getaliasent.c: Likewise.
10275 * inet/getaliasent_r.c: Likewise.
10276 * inet/getaliasname.c: Likewise.
10277 * inet/getaliasname_r.c: Likewise.
10278 * nscd/getgrgid_r.c: Likewise.
10279 * nscd/getgrnam_r.c: Likewise.
10280 * nscd/gethstbyad_r.c: Likewise.
10281 * nscd/gethstbynm3_r.c: Likewise.
10282 * nscd/getpwnam_r.c: Likewise.
10283 * nscd/getpwuid_r.c: Likewise.
10284 * nscd/getsrvbynm_r.c: Likewise.
10285 * nscd/getsrvbypt_r.c: Likewise.
10286 * nscd/gai.c: Likewise.
10287
c53d909c
RM
10288 * configure.in (build_nscd): New substituted variable, set
10289 by --disable-build-nscd and defaults to $use_nscd.
10290 * configure: Regenerated.
10291 * config.make.in (build-nscd): New substituted variable.
10292 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
10293 Change conditional to require [$(build-nscd) = yes] as well.
10294 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
10295
3cc3ef96
RM
10296 [BZ# 13696]
10297 * configure.in (use_nscd): New substituted variable, set by
10298 --disable-nscd. If enabled, define USE_NSCD.
10299 * configure: Regenerated.
10300 * config.h.in: Add USE_NSCD.
10301 * config.make.in (use-nscd): New substituted variable.
10302 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
10303 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
10304 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
10305 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
10306 (CFLAGS-getgrnam_r.c): Likewise.
10307 (CFLAGS-initgroups.c): Likewise.
10308 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
10309 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
10310 Variables removed.
10311 * inet/getnetgrent_r.c
10312 (nscd_setnetgrent): New function, broken out of ...
10313 (setnetgrent): ... here. Call it.
10314 (innetgr): Conditionalize nscd bits on [USE_NSCD].
10315 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
10316 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
10317 * nscd/Makefile (routines, aux): Move definitions after include of
10318 Makeconfig. Conditionalize on [$(use-nscd) != no].
10319 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
10320 Conditionalize on [USE_NSCD].
10321 (is_nscd, nscd_init_cb): Likewise.
10322 (nss_load_library): Conditionalize init callback on [USE_NSCD].
10323 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
10324 * nss/nss_db/db-init.c: Likewise.
10325 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
10326 [USE_NSCD].
10327 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
10328 (make_request): Use it.
10329 (cache_valid_p): New function.
10330 (__check_pf): Use it.
10331 * NEWS: Add item for --disable-nscd.
10332
07e51550
DL
103332012-08-22 Dmitry V. Levin <ldv@altlinux.org>
10334
10335 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
10336 to support sed >= 4.2.1-20-ga9bf076.
10337 * configure: Regenerated.
10338
35a5b08b
RM
103392012-08-22 Roland McGrath <roland@hack.frob.com>
10340
10341 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
10342 Conditionalize whole body on [IREL].
10343
8479f23a
JL
103442012-08-22 Jeff Law <law@redhat.com>
10345
10346 [BZ #14505]
10347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
10348 if the family is PF_UNSPEC.
10349
48da0b21
MF
103502012-08-22 Mike Frysinger <vapier@gentoo.org>
10351
10352 * Makerules (lib-version): Rename from V.
10353 (install-lib-nosubdir): Change V to lib-version.
10354
15d0da8c
WS
103552012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
10356
10357 [BZ #14252]
10358 * powerpc32/power6/wcschr.c: New file.
10359 * powerpc32/power6/wcscpy.c: New file.
10360 * powerpc32/power6/wcsrchr.c: New file.
10361 * powerpc64/power6/wcschr.c: New file.
10362 * powerpc64/power6/wcscpy.c: New file.
10363 * powerpc64/power6/wcsrchr.c: New file.
10364
bcca0895
MK
103652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10366
10367 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
10368 (two_way_short_needle): Use it.
5a4aaa33
RM
10369 * string/strstr.c (AVAILABLE1_USES_J): Define.
10370 * string/strcasestr.c: Likewise.
99677e57
MK
10371
10372 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
10373 array references.
10374 * string/strcasestr.c (TOLOWER): Make side-effect safe.
10375
400726de
MK
10376 [BZ #11607]
10377 * NEWS: Add an entry.
10378 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
10379 define their defaults.
10380 (two_way_short_needle): Detect end-of-string on-the-fly.
10381 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
10382 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
10383 * string/bug-strcasestr1.c: New test.
10384 * string/Makefile: Run it.
10385
20a71f2c
MK
103862012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
10387
10388 [BZ #11607]
10389 * string/str-two-way.h (two_way_short_needle): Optimize matching of
10390 the first character.
10391
21ad0558
RM
103922012-08-21 Roland McGrath <roland@hack.frob.com>
10393
10394 * csu/elf-init.c (__libc_csu_irel): Function removed.
10395 * csu/libc-start.c (apply_irel): New function.
10396 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
10397
0e1d9911
JM
103982012-08-21 Joseph Myers <joseph@codesourcery.com>
10399
10400 * sysdeps/unix/sysv/linux/kernel-features.h
10401 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
10402 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10403 <kernel-features.h>.
10404 [__NR_fadvise64_64]: Make code unconditional.
10405 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
10406 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10407 !__NR_fadvise64_64)]: Likewise.
10408 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
10409 !__NR_fadvise64_64))]: Likewise.
10410 [__NR_fadvise64]: Make code unconditional.
10411 [!__NR_fadvise64]: Remove conditional code.
10412 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
10413 <kernel-features.h>.
10414 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10415 unconditional.
10416 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10417 conditional code.
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
10419 not include <kernel-features.h>.
10420 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10421 unconditional.
10422 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10423 conditional code.
10424 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
10425 include <kernel-features.h>.
10426 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
10427 unconditional.
10428 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
10429 conditional code.
10430
14a50c9d
WS
104312012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10432
10433 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
10434 slight instruction rearrangements per scrollpipe analysis.
10435 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10436
c0f4faf0
RM
104372012-08-20 Roland McGrath <roland@hack.frob.com>
10438
696da859
RM
10439 * manual/syslog.texi (syslog; vsyslog, closelog):
10440 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
10441 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
10442
c0f4faf0
RM
10443 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
10444 DSOCAPS to match condition on defining it.
10445
348363b2
JM
104462012-08-20 Joseph Myers <joseph@codesourcery.com>
10447
a35cbf28
JM
10448 * sysdeps/unix/sysv/linux/kernel-features.h
10449 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
10450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
10451 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10452 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
10454 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10455 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
10457 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
10458 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
10459
445f7ecd
JM
10460 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
10461 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
10462
348363b2
JM
10463 * sysdeps/unix/sysv/linux/kernel-features.h
10464 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
10465 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
10466 unconditional.
10467 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10468 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
10469 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10470 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10471 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
10472 Make code unconditional.
10473 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10474 (__mmap64) [!__NR_mmap2]: Likewise.
10475 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
10476 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
10477 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10478 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
10479 [__NR_mmap2]: Make code unconditional.
10480 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
10481 (__mmap64) [!__NR_mmap2]: Likewise.
10482
bc5bc0e5
AK
104832012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10484
10485 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
10486
88d506de
AJ
104872012-08-18 Andreas Jaeger <aj@suse.de>
10488
10489 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
10490
493387d2
MF
104912012-08-18 Mike Frysinger <vapier@gentoo.org>
10492
10493 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
10494 * include/unistd.h (__have_sock_cloexec): Likewise.
10495 (__have_pipe2): Likewise.
10496 (__have_dup3): Likewise.
10497
a277af22
MF
104982012-08-18 Mike Frysinger <vapier@gentoo.org>
10499
10500 [BZ #9685]
10501 * include/unistd.h (__have_pipe2): Change define into an extern int.
10502 (__have_dup3): Likewise.
10503 * socket/have_sock_cloexec.c: Include fcntl.h.
10504 (__have_pipe2): New variable.
10505 (__have_dup3): Likewise.
10506
fdab8fd3
MF
105072012-08-17 Mike Frysinger <vapier@gentoo.org>
10508
10509 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
10510
31035e80
MP
105112012-08-17 Marek Polacek <polacek@redhat.com>
10512
10513 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
10514 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
10515
3bd9e993
RM
105162012-08-17 Roland McGrath <roland@hack.frob.com>
10517
c91c505f
RM
10518 * configure.in: Add AC_SUBST for sysheaders.
10519 * configure: Regenerated.
10520 * config.make.in (sysheaders): New substituted variable.
10521
7c6f9d53
RM
10522 * sysdeps/unix/mkfifo.c: Moved ...
10523 * sysdeps/posix/mkfifo.c: ... here.
10524 * sysdeps/unix/mkfifoat.c: Moved ...
10525 * sysdeps/posix/mkfifoat.c: ... here.
10526
10527 * sysdeps/unix/utime.c: Moved ...
10528 * sysdeps/posix/utime.c: ... here.
10529
10530 * sysdeps/unix/time.c: Moved ...
10531 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
10532 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
10533 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
10534
10535 * sysdeps/unix/nice.c: Moved ...
10536 * sysdeps/posix/nice.c: ... here.
10537
10538 * sysdeps/unix/alarm.c: Moved ...
10539 * sysdeps/posix/alarm.c: ... here.
10540
3bd9e993
RM
10541 * intl/Makefile ($(codeset_mo)): Depend on the input file.
10542
d1f09384
JL
105432012-08-17 Jeff Law <law@redhat.com>
10544
10545 * intl/Makefile (codeset_mo): New variable.
10546 ($(codeset_mo)): New target.
10547 (tst-codeset.out): Depend on that. Remove explicit rule.
10548 (tst-gettext3.out, tst-gettext5.out): Likewise.
10549 (LOCPATH-ENV, tst-codeset-ENV): New variables.
10550 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
10551 * intl/tst-codeset.sh: Remove.
10552 * intl/tst-gettext3.sh: Likewise.
10553 * intl/tst-gettext5.sh: Likewise.
10554
2ae1ae5c
RM
105552012-08-17 Roland McGrath <roland@hack.frob.com>
10556
c31fdb83
RM
10557 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
10558 * sysdeps/unix/syscalls.list: ... here.
10559
a0844057
RM
10560 * sysdeps/posix/getaddrinfo.c
10561 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
10562 (gaiconf_init, gaiconf_reload): Use them.
10563 [!_STATBUF_ST_NSEC]
10564 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
10565 Define using time_t rather than struct timespec.
10566
750c1f2a
RM
10567 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
10568 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
10569 Macros removed.
10570 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
10571 [!NO_THREADS].
10572 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
10573 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
10574 Likewise.
10575
2ae1ae5c
RM
10576 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
10577 __libc_cleanup_push argument.
10578
e66a42f5
RM
10579 * bits/param.h: New file.
10580 * misc/sys/param.h: New file.
10581 * include/sys/param.h: New file.
10582 * misc/Makefile (headers): Add bits/param.h.
10583 * sysdeps/generic/sys/param.h: File removed.
10584 * sysdeps/unix/sysv/linux/bits/param.h: New file.
10585 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
10586 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 10587 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 10588
b7c08a66
RM
10589 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
10590 last change.
10591
b2e1c562
RM
10592 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
10593 [_IO_MTSAFE_IO].
10594 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
10595 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
10596 New macros.
10597
c75ccd4c
RM
10598 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
10599 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
10600 rather than -D_IO_MTSAFE_IO conditionally.
10601 * stdio-common/Makefile (CPPFLAGS): Likewise.
10602 * wcsmbs/Makefile (CPPFLAGS): Likewise.
10603 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
10604 Use $(libio-mtsafe).
10605 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
10606 of -D_IO_MTSAFE_IO.
10607 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
10608 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
10609 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
10610 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
10611 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
10612 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
10613 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
10614 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
10615 (CFLAGS-fread_u_chk.c): Likewise.
10616 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
10617 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
10618 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
10619 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
10620 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
10621 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
10622 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
10623 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
10624 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
10625
10626 * libio/Makefile: Test [$(libc-reentrant) = yes]
10627 instead of [$(filter %REENTRANT, $(defines)) nonempty].
10628
10629 * Makeconfig
10630 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
10631 * sysdeps/pthread/configure: File removed.
10632 * sysdeps/pthread/Makeconfig: New file.
10633 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
10634 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
10635
d9195db8
GB
106362012-08-16 Gary Benson <gbenson@redhat.com>
10637
10638 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
10639 unmapping the first object in a namespace.
10640
86466cd9
RM
106412012-08-16 Roland McGrath <roland@hack.frob.com>
10642
10643 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
10644 (__internal_setnetgrent): ... this. Add internal_function to
10645 definition. Add libc_hidden_def.
10646 (setnetgrent): Update caller.
10647 (internal_endnetgrent): Renamed to ...
10648 (__internal_endnetgrent): ... this. Add internal_function to
10649 definition. Add libc_hidden_def.
10650 (endnetgrent): Update caller.
10651 (internal_getnetgrent_r): Renamed to ...
10652 (__internal_getnetgrent_r): ... this. Add internal_function to
10653 definition. Add libc_hidden_def.
10654 (__getnetgrent_r): Update caller.
10655 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
10656
c3c8283c
JM
106572012-08-16 Joseph Myers <joseph@codesourcery.com>
10658
10659 * stdlib/longlong.h: Update from GCC.
10660
db1ee0a8
RM
106612012-08-16 Roland McGrath <roland@hack.frob.com>
10662
10663 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
10664 on _QL, which is set by umul_ppmm but never used.
10665 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
10666 variables, which are set by GMP macros but never used.
10667 * stdio-common/_itowa.c (_itowa): Likewise.
10668 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
10669 * stdlib/mod_1.c (mpn_mod_1): Likewise.
10670
30f69637
CD
106712012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
10672
10673 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
10674 struct La_sh_regs is not constant.
10675 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
10676 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
10677 and struct La_sparc64_regs are not constant.
10678
93a78ac4
JM
106792012-08-16 Joseph Myers <joseph@codesourcery.com>
10680
10681 * sysdeps/unix/sysv/linux/kernel-features.h
10682 (__ASSUME_POSIX_TIMERS): Remove.
10683 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10685 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
10686 Make code unconditional.
10687 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10688 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
10689 Make code unconditional.
10690 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10691 * sysdeps/unix/sysv/linux/clock_nanosleep.c
10692 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
10693 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10694 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
10695 Make code unconditional.
10696 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
10697 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
10698 (__libc_missing_posix_timers): Remove.
10699
dd924cd7
RM
107002012-08-15 Roland McGrath <roland@hack.frob.com>
10701
4b4f2771
RM
10702 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
10703 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
10704
601c888b
RM
10705 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
10706
176790a7
RM
10707 * elf/dl-sym.c: Include <stdlib.h>.
10708
329bc018
RM
10709 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
10710 constants, which avoids warnings in 32-bit builds.
10711
e04e272d
RM
10712 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
10713 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
10714
952bf94a
RM
10715 * misc/lseek.c: File moved to ...
10716 * io/lseek.c: ... here.
10717
7c99b50a
RM
10718 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
10719
dd924cd7
RM
10720 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
10721 shifting LEN more than 31 bits at once.
10722
b3f479a8
LD
107232012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10724
10725 [BZ #14195]
8c4ae0d4
RM
10726 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
10727 segmentation fault for a case of two empty input strings.
b3f479a8
LD
10728 * string/test-strncasecmp.c (check1): Renamed to...
10729 (bz12205): ...this.
10730 (bz14195): Add new testcase for two empty input strings and N > 0.
10731 (test_main): Call new testcase, adapt for renamed function.
10732
9c55864e
AJ
107332012-08-15 Andreas Jaeger <aj@suse.de>
10734
10735 [BZ #14090]
10736 * crypt/md5test2.c: New test, based on test supplied by Serge
10737 Belyshev <belyshev@depni.sinp.msu.ru>.
10738 * crypt/Makefile (xtests): Add md5test-giant..
10739 * crypt/Makefile ($(objpfx)md5test-giant): Add.
10740
02dcb6c5
PE
107412012-08-15 Paul Eggert <eggert@cs.ucla.edu>
10742
10743 [BZ #14090]
10744 * crypt/md5.c (md5_process_block): Don't assume the buffer
10745 length is less than 2**32.
10746 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
10747 length is less than 2**64.
10748
a3f95dcc
RM
107492012-08-15 Roland McGrath <roland@hack.frob.com>
10750
be75d758
RM
10751 * string/str-two-way.h: Include <sys/param.h>.
10752 (MAX): Macro removed.
10753
7312ca90
RM
10754 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
10755 Move #define and #undef of memmove to just before and after
10756 including <string.h>.
10757
9a0a5486
RM
10758 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
10759 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
10760 and after including <string.h>. Move declarations of
10761 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
10762 to before #include "string/memmove.c".
10763
67cc348d
RM
10764 * include/dirent.h: Declare __getdirentries.
10765
a3f95dcc
RM
10766 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
10767 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
10768
ca98e171
MF
107692012-08-14 Mike Frysinger <vapier@gentoo.org>
10770
10771 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
10772 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
10773 * sysdeps/i386/configure: Regenerated.
10774 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
10775 STABS_CURRENT_FILE, and STABS_FUN.
10776 (END): Remove call to STABS_FUN_END.
10777 (STABS_CURRENT_FILE1): Delete.
10778 (STABS_CURRENT_FILE): Likewise.
10779 (STABS_FUN): Likewise.
10780 (STABS_FUN_END): Likewise.
10781 (STABS_FUN2): Likewise.
10782 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
10783 * sysdeps/x86_64/configure: Regenerated.
10784
5908bf46
RM
107852012-08-14 Roland McGrath <roland@hack.frob.com>
10786
10787 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 10788 * elf/dl-lookup.c: Likewise.
5908bf46 10789
f2c05b9e
JM
107902012-08-14 Joseph Myers <joseph@codesourcery.com>
10791
10792 * sysdeps/unix/sysv/linux/kernel-features.h
10793 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
10794 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
10795 unconditionally.
10796 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
10797 unconditionally.
10798 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
10799 condition on __ASSUME_CLONE_THREAD_FLAGS.
10800
e11f5155
AJ
108012012-08-14 Andreas Jaeger <aj@suse.de>
10802
10803 * sysdeps/i386/fpu/libm-test-ulps: Update.
10804
51a9ba86
MK
108052012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
10806
2fdd4f78
AJ
10807 * include/atomic.h (atomic_exchange_and_add): Split into ...
10808 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
10809 New atomic macros.
51a9ba86 10810
ba6cba9e
MT
108112012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
10812
10813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10814
42443a47
JL
108152012-08-13 Jeff Law <law@redhat.com>
10816
10817 * manual/stdio.texi (snprintf): Clarify handling of the trailing
10818 null byte in the output string.
10819
121dce05
JM
108202012-08-10 Joseph Myers <joseph@codesourcery.com>
10821
10822 * sysdeps/unix/sysv/linux/kernel-features.h
10823 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
10824 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
10825 (__ASSUME_ARG_MAX_STACK_BASED): Define.
10826 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10827 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
10828 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
10829 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
10830
bf51f568
JL
108312012-08-09 Jeff Law <law@redhat.com>
10832
10833 [BZ #13939]
10834 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
10835 When avoid_arena is set, don't retry in the that arena. Pick the
10836 next one, whatever it might be.
10837 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
10838 (arena_lock): Pass in new parameter to arena_get2.
10839 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
10840 arena_get2.
10841 (__libc_malloc): Unify retrying after main arena failure with
10842 __libc_memalign version.
10843 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
10844
f85fa270
L
108452012-08-09 H.J. Lu <hongjiu.lu@intel.com>
10846
10847 [BZ #14166]
10848 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
10849 to __redirect_strstr.
10850 (__strstr_sse42): Use typeof __redirect_strstr.
10851 (__strstr_ia32): Likewise.
10852 (__libc_strstr): New prototype.
10853 (strstr): Renamed to ...
10854 (__libc_strstr): This.
10855 (strstr): New strong alias of __libc_strstr.
10856 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
10857 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
10858 __redirect_time.
10859 Include <time.h>.
10860 (__libc_time): New prototype.
10861 (time_ifunc): Replace time with __libc_time.
10862 (time): New strong alias and hidden definition of __libc_time.
10863 (__GI_time): Remove strong alias.
10864 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
10865 Include <stddef.h>.
10866 (memmove): Redefined to __redirect_memmove.
10867 (__memmove_sse2): Use typeof __redirect_memmove.
10868 (__memmove_ssse3): Likewise.
10869 (__memmove_ssse3_back): Likewise.
10870 (__libc_memmove): New prototype.
10871 (memmove): Renamed to ...
10872 (__libc_memmove): This.
10873 (memmove): New strong alias of __libc_memmove.
10874
33b4a91e
MS
108752012-08-08 Mark Salter <msalter@redhat.com>
10876
10877 * elf/elf.h
10878 (R_MN10300_TLS_GD): Define.
10879 (R_MN10300_TLS_LD): Likewise.
10880 (R_MN10300_TLS_LDO): Likewise.
10881 (R_MN10300_TLS_GOTIE): Likewise.
10882 (R_MN10300_TLS_IE): Likewise.
10883 (R_MN10300_TLS_LE): Likewise.
10884 (R_MN10300_TLS_DTPMOD): Likewise.
10885 (R_MN10300_TLS_DTPOFF): Likewise.
10886 (R_MN10300_TLS_TPOFF): Likewise.
10887 (R_MN10300_SYM_DIFF): Likewise.
10888 (R_MN10300_ALIGN): Likewise.
10889 (R_MN10300_NUM): Update.
10890
b36137f1
JM
108912012-08-08 Joseph Myers <joseph@codesourcery.com>
10892
10893 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
10894 Remove.
10895
cdd915fd
RM
108962012-08-08 Roland McGrath <roland@hack.frob.com>
10897
a2433aac
RM
10898 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
10899
cdd915fd
RM
10900 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
10901 sysdeps/unix -> sysdeps/posix move.
10902 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10903
bf9b740a
AM
109042012-08-07 Allan McRae <allan@archlinux.org>
10905
10906 [BZ #14303]
10907 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
10908 (SUNOS_CPP): Likewise.
10909 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
10910 not found.
10911 (open_input): Call CPP using execvp.
10912
93df14ee
JM
109132012-08-07 Joseph Myers <joseph@codesourcery.com>
10914
10915 * sysdeps/unix/sysv/linux/kernel-features.h
10916 (__ASSUME_PROT_GROWSUPDOWN): Remove.
10917 (__ASSUME_NO_CLONE_DETACHED): Likewise.
10918 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
10919 (__ASSUME_WAITID_SYSCALL): Likewise.
10920 * sysdeps/unix/sysv/linux/dl-execstack.c
10921 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
10922 code unconditional.
10923 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
10924 conditional code.
10925 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
10926 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
10927 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
10928 code.
10929 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
10930 unconditional.
10931 [__ASSUME_WAITID_SYSCALL]: Likewise.
10932 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
10933
d34689de
RM
109342012-08-07 Roland McGrath <roland@hack.frob.com>
10935
a281decc
RM
10936 * sysdeps/unix/closedir.c: Renamed to ...
10937 * sysdeps/posix/closedir.c: ... here.
10938 * sysdeps/unix/dirfd.c: Renamed to ...
10939 * sysdeps/posix/dirfd.c: ... here.
10940 * sysdeps/unix/dirstream.h: Renamed to ...
10941 * sysdeps/posix/dirstream.h: ... here.
10942 * sysdeps/unix/fdopendir.c: Renamed to ...
10943 * sysdeps/posix/fdopendir.c: ... here.
10944 * sysdeps/unix/opendir.c: Renamed to ...
10945 * sysdeps/posix/opendir.c: ... here.
10946 * sysdeps/unix/readdir.c: Renamed to ...
10947 * sysdeps/posix/readdir.c: ... here.
10948 * sysdeps/unix/readdir_r.c: Renamed to ...
10949 * sysdeps/posix/readdir_r.c: ... here.
10950 * sysdeps/unix/rewinddir.c: Renamed to ...
10951 * sysdeps/posix/rewinddir.c: ... here.
10952 * sysdeps/unix/seekdir.c: Renamed to ...
10953 * sysdeps/posix/seekdir.c: ... here.
10954 * sysdeps/unix/telldir.c: Renamed to ...
10955 * sysdeps/posix/telldir.c: ... here.
10956 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
10957 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
10958 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
10959 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
10960
22895b47
RM
10961 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
10962 * bits/fcntl.h: ... here.
10963
707a53b6
RM
10964 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
10965 not 0.
10966 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
10967 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
10968 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
10969 (struct flock): Move l_start, l_len to the beginning.
10970 Use __pid_t for l_pid.
10971 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
10972 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
10973 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
10974 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
10975 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
10976 [__USE_LARGEFILE64] (struct flock64): New type.
10977 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
10978
f0bd3e25
RM
10979 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
10980 * bits/dirent.h: ... here.
10981
d34689de
RM
10982 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
10983 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
10984
6dad2c06
JM
109852012-08-07 Joseph Myers <joseph@codesourcery.com>
10986
10987 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10988 Change from 2.6.0 to 2.6.16.
10989 * sysdeps/unix/sysv/linux/configure: Regenerated.
10990 * sysdeps/unix/sysv/linux/kernel-features.h
10991 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
10992 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
10993 version.
10994 (__ASSUME_UTIMES): Likewise.
10995 (__ASSUME_CLONE_STOPPED): Remove.
10996 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
10997 architectures, not kernel version.
10998 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
10999 (__ASSUME_NO_CLONE_DETACHED): Likewise.
11000 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
11001 (__ASSUME_WAITID_SYSCALL): Likewise.
11002 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
11003 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
11004 * README: State 2.6.16 as minimum Linux kernel version. Do not
11005 refer to older versions.
11006
03af9520
RM
110072012-08-06 Roland McGrath <roland@hack.frob.com>
11008
8e49df1d
RM
11009 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
11010 Define alphasort64 as an alias.
11011 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
11012 Define versionsort64 as an alias.
11013 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
11014 Define scandir64 as an alias.
11015 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
11016 Define scandirat64 as an alias.
11017 * dirent/alphasort64.c (alphasort64):
11018 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
11019 * dirent/versionsort64.c: Likewise.
11020 * dirent/scandir64.c: Likewise.
11021 * dirent/scandirat64.c: Likewise.
11022 * sysdeps/wordsize-64/alphasort.c: File removed.
11023 * sysdeps/wordsize-64/alphasort64.c: File removed.
11024 * sysdeps/wordsize-64/scandir.c: File removed.
11025 * sysdeps/wordsize-64/scandir64.c: File removed.
11026 * sysdeps/wordsize-64/scandirat.c: File removed.
11027 * sysdeps/wordsize-64/scandirat64.c: File removed.
11028 * sysdeps/wordsize-64/versionsort.c: File removed.
11029 * sysdeps/wordsize-64/versionsort64.c: File removed.
11030 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
11031 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
11032 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
11033 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
11034 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
11035 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
11036 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
11037 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
11038
11039 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
11040 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11041 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
11042 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11043 [defined __arch64__ || defined __sparcv9]
11044 (__INO_T_MATCHES_INO64_T): New macro.
11045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11046 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
11047 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
11048 * sysdeps/unix/sysv/linux/bits/dirent.h
11049 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
11050 (_DIRENT_MATCHES_DIRENT64): New macro.
11051
03af9520
RM
11052 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
11053 Define lockf64 as an alias.
11054 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
11055 Define fseeko64 as an alias.
11056 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
11057 Define ftello64 as an alias.
11058 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
11059 Define _IO_fgetpos64 and fgetpos64 as aliases.
11060 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
11061 Define _IO_fsetpos64 and fsetpos64 as aliases.
11062 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
11063 Conditionalize body on this.
11064 * libio/fseeko64.c: Likewise.
11065 * libio/ftello64.c: Likewise.
11066 * libio/iofgetpos64.c: Likewise.
11067 * libio/iofsetpos64.c: Likewise.
11068 * sysdeps/wordsize-64/lockf.c: File removed.
11069 * sysdeps/wordsize-64/lockf64.c: File removed.
11070 * sysdeps/wordsize-64/fseeko.c: File removed.
11071 * sysdeps/wordsize-64/fseeko64.c: File removed.
11072 * sysdeps/wordsize-64/ftello.c: File removed.
11073 * sysdeps/wordsize-64/ftello64.c: File removed.
11074 * sysdeps/wordsize-64/iofgetpos.c: File removed.
11075 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
11076 * sysdeps/wordsize-64/iofsetpos.c: File removed.
11077 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
11078 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
11079 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
11080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
11081 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
11082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
11083 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
11084 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
11085 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
11086 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
11087 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
11088
11089 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
11091 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
11092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11093 [defined __arch64__ || defined __sparcv9]
11094 (__OFF_T_MATCHES_OFF64_T): New macro.
11095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11096 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
11097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11098 (__OFF_T_MATCHES_OFF64_T): New macro.
11099
c5757acd
L
111002012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11101
11102 * stdlib/secure-getenv.c (__secure_getenv): Replace
11103 GLIBC_2_16 with GLIBC_2_17.
11104
3a31811e
L
111052012-08-06 H.J. Lu <hongjiu.lu@intel.com>
11106
11107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
11108 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
11109
faa2bccb
DM
111102012-08-03 David S. Miller <davem@davemloft.net>
11111
11112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11113
85fe1997
JM
111142012-08-03 Joseph Myers <joseph@codesourcery.com>
11115
11116 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
11117 Remove.
11118 (__ASSUME_CORRECT_SI_PID): Likewise.
11119 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
11120 (__ASSUME_TMPFS_NAME): Likewise.
11121 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
11122 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
11123 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
11124 (HAVE_AUX_SECURE): Make definition unconditional.
11125 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
11126 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
11127
4f75b7a0
RM
111282012-08-03 Roland McGrath <roland@hack.frob.com>
11129
11130 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
11131 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
11132 * sysdeps/mach/hurd/eloop-threshold.h: New file.
11133 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
11134 __eloop_threshold instead of SYMLOOP_MAX.
11135
11136 * sysdeps/generic/eloop-threshold.h: New file.
11137 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
11138 of MAXSYMLINKS.
11139 * elf/chroot_canon.c (chroot_canon): Likewise.
11140
7aab07e4
JM
111412012-08-03 Joseph Myers <joseph@codesourcery.com>
11142
11143 [BZ #13717]
11144 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11145 Change to 2.6.0 everywhere.
11146 * sysdeps/unix/sysv/linux/configure: Regenerated.
11147 * sysdeps/unix/sysv/linux/kernel-features.h
11148 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
11149 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
11150 kernel versions.
11151 (__ASSUME_POSIX_TIMERS): Define unconditionally.
11152 (__ASSUME_FUTEX_REQUEUE): Remove.
11153 (__ASSUME_STATFS64): Define unconditionally.
11154 (__ASSUME_AT_SECURE): Likewise.
11155 (__ASSUME_CORRECT_SI_PID): Likewise.
11156 (__ASSUME_TGKILL): Define without depending on kernel version for
11157 i386.
11158 (__ASSUME_UTIMES): Likewise.
11159 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
11160 kernel version.
11161 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
11162 (__ASSUME_TMPFS_NAME): Likewise.
11163 * README: Update reference to Linux kernel versions.
11164
b67e9372
MP
111652012-08-02 Marek Polacek <polacek@redhat.com>
11166
1f529f7d 11167 [BZ# 14150]
b67e9372
MP
11168 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
11169 libc_cv_asm_type_prefix with %.
11170 * configure: Regenerated.
d2441631
RM
11171 * include/libc-symbols.h: Remove comment about
11172 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
11173 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
11174 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
11175 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
11176 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
11177 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
11178 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
11179 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
11180 * elf/tst-unique2mod1.c: Likewise.
11181 * elf/tst-unique1mod2.c: Likewise.
11182 * elf/tst-unique1mod1.c: Likewise.
11183 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
11184 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
11185 Replace ASM_TYPE_DIRECTIVE with .type.
11186 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11187 * sysdeps/i386/sysdep.h: Likewise.
11188 * sysdeps/x86_64/sysdep.h: Likewise.
11189 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11191 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 11192 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
11193 * sysdeps/powerpc/powerpc32/sysdep.h:
11194 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
11195 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11196 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11197 * sysdeps/i386/fpu/e_powf.S: Likewise.
11198 * sysdeps/i386/fpu/e_expl.S: Likewise.
11199 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11200 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11201 * sysdeps/i386/fpu/e_pow.S: Likewise.
11202 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11203 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11204 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11205 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11206 * sysdeps/i386/fpu/e_log2.S: Likewise.
11207 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11208 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11209 * sysdeps/i386/fpu/e_powl.S: Likewise.
11210 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11211 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11212 * sysdeps/i386/fpu/e_logl.S: Likewise.
11213 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11214 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11215 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11216 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11217 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11218 * sysdeps/i386/fpu/e_log.S: Likewise.
11219 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11220 * sysdeps/i386/fpu/e_logf.S: Likewise.
11221 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11222 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11223 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11224 * sysdeps/i386/fpu/e_log10.S: Likewise.
11225 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11226 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11227 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11228 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11229 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11230 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
11231 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11232 * sysdeps/i386/i686/strtok.S: Likewise.
11233 * sysdeps/i386/i386-mcount.S: Likewise.
11234 * sysdeps/i386/strtok.S: Likewise.
11235 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
11236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11238 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11239 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
11240 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11241 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11242 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11243 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11244 * sysdeps/x86_64/_mcount.S: Likewise.
11245 * sysdeps/x86_64/strtok.S: Likewise.
11246 * sysdeps/sh/_mcount.S: Likewise.
11247
2747bf9a
RM
112482012-08-01 Roland McGrath <roland@hack.frob.com>
11249
11250 * libio/iofopen.c: Include <fcntl.h>.
11251 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
11252 (_IO_fopen64, fopen64): Define as aliases.
11253 * libio/iofopen64.c: Include <fcntl.h>.
11254 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
11255 Conditionalize body on this.
11256 * sysdeps/wordsize-64/iofopen.c: File removed.
11257 * sysdeps/wordsize-64/iofopen64.c: File removed.
11258
3fb791b8
MP
112592012-08-01 Marek Polacek <polacek@redhat.com>
11260
11261 * libc/Makeconfig: Use elf in place of binfmt-subdir.
11262 Use dlfcn directly instead of a variable.
11263 (binfmt-subdir): Do not define.
11264 (dlfcn): Likewise.
11265
a9f1039f
JM
112662012-08-01 Joseph Myers <joseph@codesourcery.com>
11267
23bddc06
JM
11268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
11269 Remove all definitions.
11270 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
11271 <kernel-features.h>.
11272 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11273 (miss_F_GETOWN_EX): Remove all definitions.
11274 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
11275 macro definition.
11276 [!__ASSUME_FCNTL64]: Remove conditional code.
11277 [__ASSUME_FCNTL64]: Make code unconditional.
11278 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
11279 <kernel-features.h>.
11280 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
11281 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
11282 (lockf64) [__NR_fcntl64]: Make code unconditional.
11283 (lockf64) [__ASSUME_FCNTL64]: Likewise.
11284
a9f1039f
JM
11285 * sysdeps/unix/sysv/linux/kernel-features.h
11286 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
11287 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
11288 Make code unconditional.
11289 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11290 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
11292 [__NR_vfork]: Make code unconditional.
11293 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11294 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
11296 [__NR_vfork]: Make code unconditional.
11297 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
11298 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
11299
09c0ee5f
RM
113002012-08-01 Roland McGrath <roland@hack.frob.com>
11301
48aec5b9
RM
11302 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
11303 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
11304
cd97c966
RM
11305 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11306 Define mkstemp64 as an alias.
3f55550c
RM
11307 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11308 Define mkstemps64 as an alias.
cd97c966
RM
11309 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11310 Define mkostemp64 as an alias.
b8625cfc
RM
11311 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
11312 Define mkostemps64 as an alias.
cd97c966
RM
11313 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
11314 Conditionalize body on this.
11315 * misc/mkostemp64.c: Likewise.
b8625cfc 11316 * misc/mkostemps64.c: Likewise.
3f55550c 11317 * misc/mkstemps64.c: Likewise.
cd97c966
RM
11318 * sysdeps/wordsize-64/mkstemp64.c: File removed.
11319 * sysdeps/wordsize-64/mkostemp64.c: File removed.
11320 * sysdeps/wordsize-64/mkostemp.c: File removed.
11321 * sysdeps/wordsize-64/mkstemp.c: File removed.
11322 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
11323 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
11324 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
11325 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
11326
09c0ee5f
RM
11327 [BZ #14138]
11328 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
11329 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
11330 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
11331 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
11332
11333 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
11334 compat_symbol macros from <shlib-compat.h> rather than the underlying
11335 default_symbol_version and symbol_version macros, so that DEFAULT
11336 lines in shlib-versions are respected.
11337 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
11338
7e66ee51
FW
113392012-08-01 Florian Weimer <fweimer@redhat.com>
11340
11341 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
11342 Declare with warn_unused_result.
11343 (setgid, setregid, setegid, setresgid): Likewise.
11344 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
11345 Likewise.
11346 * WUR-REPORT: Remove set*id functions.
11347
d2a54255
PT
113482012-07-31 Pino Toscano <toscano.pino@tiscali.it>
11349
11350 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
11351
7ecdb005
RM
113522012-07-31 Roland McGrath <roland@hack.frob.com>
11353
b4180a5e 11354 [BZ #10191]
789bd351
RM
11355 * include/sys/socket.h (__libc_accept, __libc_accept4):
11356 Add attribute_hidden.
11357 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
11358
40ce302d
RM
11359 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
11360 use of PTR_MANGLE.
11361 * inet/getnetgrent_r.c (setup): Likewise.
11362
7ecdb005
RM
11363 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
11364
e2eabb2c
DM
113652012-07-31 David S. Miller <davem@davemloft.net>
11366
11367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11368
d0419dbf
JM
113692012-07-31 Joseph Myers <joseph@codesourcery.com>
11370
11371 [BZ #13629]
11372 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
11373 value between 1.0 and 2.0 and smaller part has absolute value less
11374 than 1.0.
11375 * math/s_clog10.c (__clog10): Likewise.
11376 * math/s_clog10f.c (__clog10f): Likewise.
11377 * math/s_clog10l.c (__clog10l): Likewise.
11378 * math/s_clogf.c (__clogf): Likewise.
11379 * math/s_clogl.c (__clogl): Likewise.
11380 * math/libm-test.inc (clog_test): Add more tests.
11381 (clog10_test): Likewise.
11382 * sysdeps/i386/fpu/libm-test-ulps: Update.
11383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11384
2bc13872
FW
113852012-07-31 Florian Weimer <fweimer@redhat.com>
11386
11387 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
11388 Exit with zero in case no suitable GID is found, and write a
11389 message to standard error.
11390
bea9b193
RM
113912012-07-30 Roland McGrath <roland@hack.frob.com>
11392
11393 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
11394 rather than to 1.
11395 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
11396 (MAXPATHLEN): Removed.
11397 (NOGROUP, NODEV): New macros.
11398 (setbit, clrbit, isset, isclr): New macros.
11399 (howmany, roundup, powerof2): New macros.
11400 (DEV_BSIZE): New macro.
11401
11402 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
11403 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
11404
11405 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
11406 definition on [!__NO_LONG_DOUBLE_MATH].
11407
11408 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
11409 PTR_MANGLE and PTR_DEMANGLE.
11410
11411 * socket/accept4.c (accept4): Rename to __libc_accept4.
11412 Define accept4 as a weak alias.
11413
11414 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
11415 on [_DIRENT_HAVE_D_TYPE].
11416 * io/ftw.c (ftw_dir): Likewise.
11417
11418 * io/xmknod.c (__xmknod): Don't check PATH for being null.
11419
11420 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
11421
11422 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
11423 Use the BSD numbers rather than the arbitrary ones we had.
11424 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
11425 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
11426 (SIGXCPU, SIGXFSZ): New macros.
11427 (_NSIG): Now 32.
11428
11429 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
11430 initializer on [_LIBC_REENTRANT].
11431
11432 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
11433 definitions inside [_POSIX_MAPPED_FILES].
11434
11435 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
11436
11437 * dirent/opendir.c: Include <fcntl.h>.
11438
11439 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
11440 (__libc_getspecific): Likewise.
11441 (__libc_key_create): Likewise.
11442
11443 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
11444 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
11445 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
11446 (tmpfile64): Define as alias.
11447 * sysdeps/wordsize-64/tmpfile.c: File removed.
11448 * sysdeps/wordsize-64/tmpfile64.c: File removed.
11449 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
11450 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
11451
11452 * stdio-common/vfscanf.c: Include <stdbool.h>.
11453 * nss/makedb.c: Likewise.
11454 * stdio-common/_i18n_number.h: Likewise.
11455 * argp/argp-help.c: Likewise.
11456 * posix/wordexp.c: Likewise.
11457 * sysdeps/posix/spawni.c: Likewise.
11458 * nss/nss_files/files-initgroups.c: Likewise.
11459 * stdio-common/reg-modifier.c: Include <stdlib.h>.
11460 * nss/nss_files/files-initgroups.c: Likewise.
11461 * nss/nss_db/db-netgrp.c: Likewise.
11462 * nss/nss_db/db-initgroups.c: Likewise.
11463 * io/fchmodat.c: Include <sys/stat.h>.
11464
11465 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
11466 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
11467
11468 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
11469 [HAVE_MMAP].
11470
11471 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
11472 Add multiple inclusion protection.
11473
e5abc686
DM
114742012-07-27 David S. Miller <davem@davemloft.net>
11475
11476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11477
815e6fa3
GB
114782012-07-27 Gary Benson <gbenson@redhat.com>
11479
11480 [BZ #14298]
11481 * elf/rtld.c: Include <stap-probe.h>.
11482 (dl_main): Added static probes "init_start" and "init_complete".
11483 * elf/dl-load.c: Include <stap-probe.h>.
11484 (lose): Take new parameter "nsid".
11485 Added static probe "map_failed".
11486 (_dl_map_object_from_fd): Pass namespace id to lose.
11487 Added static probe "map_start".
11488 (open_verify): Pass namespace id to lose.
11489 * elf/dl-open.c: Include <stap-probe.h>.
11490 (dl_open_worker) Added static probes "map_complete", "reloc_start"
11491 and "reloc_complete".
11492 * elf/dl-close.c: Include <stap-probe.h>.
11493 (_dl_close_worker): Added static probes "unmap_start" and
11494 "unmap_complete".
11495 * elf/rtld-debugger-interface.txt: New file documenting the above.
11496
9f98c16c
RM
114972012-07-26 Roland McGrath <roland@hack.frob.com>
11498
11499 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
11500 rather than a string variable.
11501 * sunrpc/rpc_main.c (h_output): Likewise.
11502 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
11503
f3c22df3
PT
115042012-07-26 Pino Toscano <toscano.pino@tiscali.it>
11505
11506 * inet/check_native.c: New file.
11507
3129cfc6
JM
115082012-07-26 Joseph Myers <joseph@codesourcery.com>
11509
da865e95
JM
11510 [BZ #13629]
11511 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
11512 if larger part has absolute value 1.0.
11513 * math/s_clog10.c (__clog10): Likewise.
11514 * math/s_clog10f.c (__clog10f): Likewise.
11515 * math/s_clog10l.c (__clog10l): Likewise.
11516 * math/s_clogf.c (__clogf): Likewise.
11517 * math/s_clogl.c (__clogl): Likewise.
11518 * math/libm-test.inc (clog_test): Add more tests.
11519 (clog10_test): Likewise.
11520 * sysdeps/i386/fpu/libm-test-ulps: Update.
11521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11522
3129cfc6
JM
11523 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
11524 (pltexit): Likewise.
11525 (La_regs): Likewise.
11526 (La_retval): Likewise.
11527 (int_retval): Likewise.
11528 Update #error for removed macros to refer only to definitions in
11529 tst-audit.h.
11530 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
11531 macro.
11532 (pltexit): Likewise.
11533 (La_regs): Likewise.
11534 (La_retval): Likewise.
11535 (int_retval): Likewise.
11536 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
11537 macro.
11538 (pltexit): Likewise.
11539 (La_regs): Likewise.
11540 (La_retval): Likewise.
11541 (int_retval): Likewise.
11542 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
11543 macro.
11544 (pltexit): Likewise.
11545 (La_regs): Likewise.
11546 (La_retval): Likewise.
11547 (int_retval): Likewise.
11548 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
11549 macro.
11550 (pltexit): Likewise.
11551 (La_regs): Likewise.
11552 (La_retval): Likewise.
11553 (int_retval): Likewise.
11554 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
11555 macro.
11556 (pltexit): Likewise.
11557 (La_regs): Likewise.
11558 (La_retval): Likewise.
11559 (int_retval): Likewise.
11560 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
11561 macro.
11562 (pltexit): Likewise.
11563 (La_regs): Likewise.
11564 (La_retval): Likewise.
11565 (int_retval): Likewise.
11566 * sysdeps/generic/tst-audit.h: Update comment to refer only to
11567 macro definitions in tst-audit.h.
11568 * sysdeps/i386/tst-audit.h: New file.
11569 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
11570 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
11571 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
11572 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
11573 * sysdeps/sh/tst-audit.h: Likewise.
11574 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
11575 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
11576 * sysdeps/x86_64/tst-audit.h: Likewise.
11577
bfc07087
AJ
115782012-07-26 Andreas Jaeger <aj@suse.de>
11579
b1b2aaf8
AJ
11580 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
11581 ptrace.
11582
11583 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
11584 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
11585 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
11586 PTRACE_O_MASK.
11587 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
11588 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
11589 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
11590
bfc07087
AJ
11591 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
11592 value.
11593
11594 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
11595 _sigsys.
11596 (si_call_addr, si_syscall, si_arch): Define new macro.
11597 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
11598 _sigsys.
11599 (si_call_addr, si_syscall, si_arch): Define new marcro.
11600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
11601 _sigsys.
11602 (si_call_addr, si_syscall, si_arch): Define new macro.
11603 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
11604 _sigsys.
11605 (si_call_addr, si_syscall, si_arch): Define new macro.
11606
89b4b02f
JM
116072012-07-25 Joseph Myers <joseph@codesourcery.com>
11608
11609 [BZ #13717]
11610 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
11611 Change to 2.4.21 where previously 2.4.1.
11612 * sysdeps/unix/sysv/linux/configure: Regenerated.
11613 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
11614 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
11615 Linux kernel version.
11616 (__ASSUME_STD_AUXV): Remove.
11617 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
11618 kernel version.
11619 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
11620 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
11621 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
11622 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
11623 (__ASSUME_NETLINK_SUPPORT): Likewise.
11624 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
11625 (__no_netlink_support): Remove conditional definition.
11626 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
11627 Remove.
11628 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11629 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
11630 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
11631 (if_nameindex_ioctl): Remove.
11632 (if_nameindex_netlink): Do not handle __no_netlink_support.
11633 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11634 code.
11635 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
11636 Remove conditional code.
11637 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
11638 code.
11639 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
11640 unconditional.
11641 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
11642 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
11643 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
11644 Remove.
11645 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
11646 [!__ASSUME_STD_AUXV]: Remove conditional code.
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
11648 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
11649 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
11651 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
11652 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11653 code.
11654 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11656 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
11657 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11658 conditional code.
11659 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11661 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
11662 code.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11664 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
11665 conditional code.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
11667 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11668 code unconditional.
11669 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11670 conditional code.
11671 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11672 unconditional.
11673 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11674 conditional code.
11675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11676 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11677 unconditional.
11678 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11679 conditional code.
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
11681 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11682 code unconditional.
11683 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11684 conditional code.
11685 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11686 unconditional.
11687 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11688 conditional code.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
11690 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
11691 code unconditional.
11692 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11693 conditional code.
11694 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
11695 unconditional.
11696 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
11697 conditional code.
11698
842a39cd
AS
116992012-07-25 Andreas Schwab <schwab@linux-m68k.org>
11700
11701 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
11702 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
11703 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11704 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
11705 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
11706 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
11707 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11708 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11709 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
11710 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
11711 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
11712 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
11713 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
11714 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11715 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11716 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
11717 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
11718 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
11719 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
11720 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
11721 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
11722 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
11724
84b3fd84
FW
117252012-07-25 Florian Weimer <fweimer@redhat.com>
11726
11727 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
11728 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
11729 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
11730 Introduce __libc_secure_getenv.
0c7936d5
FW
11731 * stdlib/Versions (2.17): Add secure_getenv
11732 (GLIBC_PRIVATE): Add __libc_secure_getenv.
11733 * stdlib/secure-getenv.c: Rename __secure_getenv to
11734 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
11735 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
11736 * stdlib/tst-secure-getenv.c: New.
11737 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
11738 * manual/startup.texi (Environment Access): Document
11739 secure_getenv.
84b3fd84
FW
11740 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
11741 __libc_secure_getenv.
11742 * inet/ruserpass.c (ruserpass): Likewise.
11743 * malloc/mtrace.c (mtrace): Likewise.
11744 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 11745 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
11746 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
11747 * sysdeps/posix/tempname.c: Likewise. Evaluate
11748 HAVE_SECURE_GETENV.
11749 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 11750 __secure_getenv to __libc_secure_getenv.
84b3fd84 11751 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11753 Likewise.
11754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11755 Likewise.
11756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11758 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 11763
56e49b71
JM
117642012-07-25 Joseph Myers <joseph@codesourcery.com>
11765
11766 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
11767 (struct La_i86_retval): Likewise.
11768 (struct La_x86_64_regs): Likewise.
11769 (struct La_x86_64_retval): Likewise.
11770 (struct La_x32_regs): Likewise.
11771 (struct La_x32_retval): Likewise.
11772 (struct La_ppc32_regs): Likewise.
11773 (struct La_ppc32_retval): Likewise.
11774 (struct La_ppc64_regs): Likewise.
11775 (struct La_ppc64_retval): Likewise.
11776 (struct La_sh_regs): Likewise.
11777 (struct La_sh_retval): Likewise.
11778 (struct La_s390_32_regs): Likewise.
11779 (struct La_s390_32_retval): Likewise.
11780 (struct La_s390_64_regs): Likewise.
11781 (struct La_s390_64_retval): Likewise.
11782 (struct La_sparc32_regs): Likewise.
11783 (struct La_sparc32_retval): Likewise.
11784 (struct La_sparc64_regs): Likewise.
11785 (struct La_sparc64_retval): Likewise.
11786 (struct audit_ifaces): Remove architecture-specific pltenter and
11787 pltexit members.
11788 * sysdeps/i386/ldsodefs.h: New file.
11789 * sysdeps/powerpc/ldsodefs.h: Likewise.
11790 * sysdeps/s390/ldsodefs.h: Likewise.
11791 * sysdeps/sh/ldsodefs.h: Likewise.
11792 * sysdeps/sparc/ldsodefs.h: Likewise.
11793 * sysdeps/x86_64/ldsodefs.h: Likewise.
11794
354691b7
MP
117952012-07-25 Marek Polacek <polacek@redhat.com>
11796
11797 [BZ #6808]
11798 * math/libm-test.inc (yn_test): Add another test.
11799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
11800 to ERANGE when the result is +-Inf.
11801 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11802 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
11803 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
11804 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
11805
bf9e2071
JM
118062012-07-24 Joseph Myers <joseph@codesourcery.com>
11807
11808 * conform/data/time.h-data (NULL): Use macro-constant. Require
11809 equal to 0.
11810 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
11811 clock_t.
11812 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
11813
57633811
TS
118142012-07-23 Thomas Schwinge <thomas@codesourcery.com>
11815
11816 * configure.in <sysdeps resolving>: Correct printing
11817 Implies_before.
11818 * configure: Regenerate.
11819
c23c33b0
TS
118202012-07-22 Thomas Schwinge <thomas@codesourcery.com>
11821
11822 * math/w_ilogb.c: Include <limits.h>.
11823 * math/w_ilogbl.c: Likewise.
11824
b5982523
JM
118252012-07-20 Joseph Myers <joseph@codesourcery.com>
11826
11827 * manual/lang.texi (__va_copy): Document primarily as ISO C99
11828 va_copy. Document allowing for unavailable va_copy only as
11829 pre-C99 compatibility.
11830 * manual/string.texi (Copying and Concatenation): Use va_copy
11831 instead of __va_copy in concat example.
11832
ac4ea442
PT
118332012-07-20 Pino Toscano <toscano.pino@tiscali.it>
11834
11835 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
11836 (__sendto): Use create_address_port. Initialize APORT and deallocate
11837 it if not null.
11838
f98eafbd
PT
11839 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
11840 with O_NOLINK passed to __file_name_lookup.
11841
898c7aab
PT
11842 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
11843 with O_NOLINK passed to __file_name_lookup.
11844
0ced335a
PT
11845 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
11846 negative N or less than NGIDS.
11847
b3404dbd
PT
11848 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
11849 type to string_t. Set ERANGE as errno and return it if NAME is not big
11850 enough. Use memcpy instead of strncpy.
11851
0f48659e
JM
118522012-07-20 Joseph Myers <joseph@codesourcery.com>
11853
11854 * elf/Makefile (check-data): Remove.
11855 (localplt.data): New vpath directive.
11856 ($(objpfx)check-localplt.out): Use localplt.data from vpath
11857 instead of $(check-data).
11858 * scripts/data/localplt-generic.data: Move to ...
11859 * sysdeps/generic/localplt.data: ... here.
11860 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
11861 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
11862 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
11863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11864 ... here.
11865 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
11866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11867 ... here.
11868 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
11869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
11870 ... here.
11871 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
11872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
11873 ... here.
11874 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
11875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
11876 ... here.
11877 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
11878 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
11879 ... here.
11880
d37cbdaa
AZ
118812012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11882
11883 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
11884 PPC32 and PPC64 files.
11885 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
11886 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
11887
46f85fc2
AK
118882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11889
11890 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
11891 __makecontext_ret to ...
11892 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11893 ... here and call exit if uc_link is NULL. New file.
11894 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
11895 __makecontext_ret.S.
11896 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
11897 __makecontext_ret to ...
11898 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11899 ... here and call exit if uc_link is NULL. New file.
11900 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
11901 __makecontext_ret.S.
11902
08f43f9b
AK
119032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11904
11905 * elf/elf.h (R_390_IRELATIVE): New definition.
11906 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
11907 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
11908 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
11909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11910 (elf_machine_lazy_rel): Likewise.
11911 * sysdeps/s390/dl-irel.h: New file.
11912 * sysdeps/s390/s390-64/memcpy.S: New asm code.
11913 * sysdeps/s390/s390-64/memset.S: New asm code.
11914 * sysdeps/s390/s390-64/memcmp.S: New asm code.
11915 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
11916 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
11917 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
11918 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
11919 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
11920 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
11921 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
11922 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
11923 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
11924 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
11925 * sysdeps/s390/s390-32/memcpy.S: New asm code.
11926 * sysdeps/s390/s390-32/memset.S: New asm code.
11927 * sysdeps/s390/s390-32/memcmp.S: New asm code.
11928
3b05db33
MP
119292012-07-17 Marek Polacek <polacek@redhat.com>
11930
11931 [BZ #14349]
11932 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
11933 * sysdeps/s390/s390-64/configure.in: Likewise.
11934 * sysdeps/sparc/configure.in: Likewise.
11935 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
11936 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
11937 * sysdeps/i386/configure.in: Likewise.
11938 * sysdeps/x86_64/configure.in: Likewise.
11939 * sysdeps/sh/configure.in: Likewise.
11940 * sysdeps/s390/s390-32/configure: Regenerated.
11941 * sysdeps/s390/s390-64/configure: Likewise.
11942 * sysdeps/x86_64/configure: Likewise.
11943 * sysdeps/sh/configure: Likewise.
11944 * sysdeps/powerpc/powerpc64/configure: Likewise.
11945 * sysdeps/powerpc/powerpc32/configure: Likewise.
11946 * sysdeps/sparc/configure: Likwise.
11947 * sysdeps/i386/configure: Likewise.
11948
a66877c6
MP
11949 * elf/dl-open.c: Comment fixes.
11950
cfc82fd8
JM
119512012-07-17 Joseph Myers <joseph@codesourcery.com>
11952
bd29910a
JM
11953 * Makefile [CXX] (check-data): Remove.
11954 [CXX] (c++-types.data): New vpath directive.
11955 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
11956 vpath. Do not allow for C++ type data being missing.
11957 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
11958 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
11959 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
11960 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
11961 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
11962 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
11963 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
11964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11965 ... here.
11966 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11968 ... here.
11969 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
11970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
11971 ... here.
11972 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
11973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
11974 ... here.
11975 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
11976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
11977 ... here.
11978 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
11979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
11980 ... here.
11981 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
11982 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
11983 ... here.
11984 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
11985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
11986
cfc82fd8
JM
11987 * elf/tls-macros.h (TLS_LE): Move architecture-specific
11988 definitions to architecture-specific files.
11989 (TLS_IE): Likewise.
11990 (TLS_LD): Likewise.
11991 (TLS_GD): Likewise.
11992 * sysdeps/i386/tls-macros.h: New file.
11993 * sysdeps/powerpc/tls-macros.h: Likewise.
11994 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11995 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11996 * sysdeps/sh/tls-macros.h: Likewise.
11997 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
11998 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
11999 * sysdeps/x86_64/tls-macros.h: Likewise.
12000
f7db3170
TS
120012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12002
07cbfc23
TS
12003 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
12004 zero value for regular exit case.
12005
f7db3170
TS
12006 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12007 (__start_context): Preserve zero value for regular exit case.
12008
dc97c227
TS
120092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
12010 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12011
12012 * manual/setjmp.texi (setcontext): Clarify normal process
12013 termination when uc_link is the null pointer.
12014 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
12015 exit call.
12016
d0cd7d02
AS
120172012-07-16 Andreas Schwab <schwab@linux-m68k.org>
12018
12019 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
12020 preprocessor. Test for each exception mask separately.
12021
dd318934
AJ
120222012-07-16 Andreas Jaeger <aj@suse.de>
12023
12024 * po/ru.po: Update from translation team.
12025
8048311a
JM
120262012-07-15 Joseph Myers <joseph@codesourcery.com>
12027
12028 * conform/data/string.h-data (NULL): Use macro-constant. Require
12029 equal to 0.
12030 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12031 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12032 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
12033 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
12034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12035
b637d46e
AJ
120362012-07-13 Andreas Jaeger <aj@suse.de>
12037
12038 * po/fr.po: Update from translation team.
12039
541428fe
MP
120402012-07-12 Marek Polacek <polacek@redhat.com>
12041
12042 [BZ #14173]
12043 * math/libm-test.inc (yn_test): Add test for BZ #14173.
12044 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
12045 loop condition.
12046
ec332e94
JM
120472012-07-12 Joseph Myers <joseph@codesourcery.com>
12048
12049 [BZ #13717]
12050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
12051 Change to 2.4.1 where previously 2.4.0.
12052 * sysdeps/unix/sysv/linux/configure: Regenerated.
12053 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
12054 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
12055 version.
12056 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
12057 (__ASSUME_AT_CLKTCK): Remove.
12058 (__ASSUME_AT_PAGESIZE): Likewise.
12059 (__ASSUME_AT_XID): Likewise.
12060 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
12061 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
12062 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
12063 unconditionally.
12064 (HAVE_AUX_PAGESIZE): Likewise.
12065 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
12066 [__ASSUME_AT_CLKTCK]: Make code unconditional.
12067 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
12068
7b6e99be
JB
120692012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
12070
12071 [BZ #14307]
12072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
12073 the temporary buffer used to invoke __gethostbyname2_r,
12074 __gethostbyaddr_r and gethostbyname4_r to make room for struct
12075 host_data / struct gaih_addrtuple.
12076 * resolv/nss_dns/dns-host.c (global scope): Move definition of
12077 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
12078 header file nss/nsswitch.h.
12079 * nss/nsswitch.h (global scope): Add definition of implementation
12080 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
12081 resolv/nss_dns/dns-host.c).
12082
608404eb
AJ
120832012-07-11 Andreas Jaeger <aj@suse.de>
12084
12085 * po/fr.po: Update from translation team.
12086
71220aca
AJ
12087 * po/sv.po: Update from translation team
12088 * po/fr.po: Another update from translation team.
12089
28cfe843
AZ
120902012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12091
12092 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
12093 for subnormals or multiply small sinh result by itself.
12094 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12096
6b90f981
DM
120972012-07-11 David S. Miller <davem@davemloft.net>
12098
12099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12100
c6825772
AS
121012012-07-10 Andreas Schwab <schwab@linux-m68k.org>
12102
12103 [BZ #14347]
12104 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
12105 (INTERNAL_MARK): Shift it here.
12106
7b8e0d49
MP
121072012-07-10 Marek Polacek <polacek@redhat.com>
12108
12109 [BZ #14151]
12110 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
12111 libc_cv_asm_global_directive with .globl.
12112 * configure: Regenerated.
12113 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
12114 with .globl.
12115 * sysdeps/i386/configure: Regenerated.
12116 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
12117 with .globl.
12118 * sysdeps/x86_64/configure: Regenerated.
12119 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
12120 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
12121 * elf/tst-unique2mod2.c: Likewise.
12122 * elf/tst-unique2mod1.c: Likewise.
12123 * elf/tst-unique1mod2.c: Likewise.
12124 * elf/tst-unique1mod1.c: Likewise.
12125 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12126 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12127 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12128 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12129 * sysdeps/mach/sysdep.h: Likewise.
12130 * sysdeps/i386/sysdep.h: Likewise.
12131 * sysdeps/i386/i386-mcount.S: Likewise.
12132 * sysdeps/x86_64/_mcount.S: Likewise.
12133 * sysdeps/x86_64/sysdep.h: Likewise.
12134 * sysdeps/sh/_mcount.S: Likewise.
12135 * sysdeps/sh/sysdep.h: Likewise.
12136 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
12137 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
12138 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
12139 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12140 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
12141 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
12142 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
12143 * locale/localeinfo.h: Likewise.
12144 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
12145 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
12146
6c55cda3
RM
121472012-07-09 Roland McGrath <roland@hack.frob.com>
12148
12149 [BZ #14336]
12150 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
12151 system".
12152 * manual/message.texi (The Uniforum approach): Likewise.
12153 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
12154 (glibc iconv Implementation): Likewise.
12155
638a572e
JM
121562012-07-09 Joseph Myers <joseph@codesourcery.com>
12157
12158 [BZ #14337]
12159 * math/s_clog.c (__clog): Avoid scaling a value down where that
12160 could result in underflow.
12161 * math/s_clog10.c (__clog10): Likewise.
12162 * math/s_clog10f.c (__clog10f): Likewise.
12163 * math/s_clog10l.c (__clog10l): Likewise.
12164 * math/s_clogf.c (__clogf): Likewise.
12165 * math/s_clogl.c (__clogl): Likewise.
12166 * math/libm-test.inc (clog_test): Add more tests.
12167 (clog10_test): Likewise.
12168 * sysdeps/i386/fpu/libm-test-ulps: Update.
12169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12170
261f4859
AS
121712012-07-06 Andreas Schwab <schwab@linux-m68k.org>
12172
0abaf3e4
AS
12173 [BZ #14283]
12174 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
12175 by 7 not 8 to examine high bit of fractional part.
12176
261f4859
AS
12177 [BZ #14042]
12178 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
12179 for call to __mcount_internal.
12180 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
12181 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
12182 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
12183
f17ac40d
JM
121842012-07-06 Joseph Myers <joseph@codesourcery.com>
12185
9ad63c23
JM
12186 [BZ #14154]
12187 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
12188 approximation for values within 0x1p-13f of an odd multiple of
12189 pi/4.
12190 * math/libm-test.inc (tan_test): Do not allow spurious underflow
12191 exception. Add more tests.
12192 * sysdeps/i386/fpu/libm-test-ulps: Update.
12193
f17ac40d
JM
12194 [BZ #6778]
12195 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
12196 inputs and return -1 for them. Do not check for +Inf in case not
12197 reachable for +Inf.
12198 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12199 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
12200 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12201 and return -1 for them. Do not check for +Inf in case not
12202 reachable for +Inf.
12203 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
12204 define.
12205 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
12206 and return -1 for them. Do not check for +Inf in case not
12207 reachable for +Inf.
12208 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
12209 spurious underflow.
12210 * sysdeps/i386/fpu/libm-test-ulps: Update.
12211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12212
fb21f89b
MF
122132012-07-06 Mike Frysinger <vapier@gentoo.org>
12214
12215 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
12216
cdfe2c5e
JM
122172012-07-05 Joseph Myers <joseph@codesourcery.com>
12218
12219 [BZ #14157]
12220 [BZ #14331]
12221 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
12222 could result in spurious underflow. Scale down values above
12223 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
12224 * math/s_csqrtf.c (__csqrtf): Likewise.
12225 * math/s_csqrtl.c (__csqrtl): Likewise.
12226 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
12227 spurious underflow.
12228 * sysdeps/i386/fpu/libm-test-ulps: Update.
12229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12230
70d35b67
AS
122312012-07-04 Andreas Schwab <schwab@linux-m68k.org>
12232
704bc459
AS
12233 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
12234 xopen-msg.sed.
12235 * catgets/xopen-msg.awk: New file.
12236 * catgets/xopen-msg.sed: Removed.
12237
70d35b67
AS
12238 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
12239 po2text.sed.
12240 * intl/po2test.awk: New file.
12241 * intl/po2test.sed: Removed.
12242
ca61cf32
JM
122432012-07-04 Joseph Myers <joseph@codesourcery.com>
12244
12245 [BZ #14328]
12246 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
12247 or multiply small sinh result by itself.
12248 * math/s_ctanf.c (__ctanf): Likewise.
12249 * math/s_ctanh.c (__ctanh): Likewise.
12250 * math/s_ctanhf.c (__ctanhf): Likewise.
12251 * math/s_ctanhl.c (__ctanhl): Likewise.
12252 * math/s_ctanl.c (__ctanl): Likewise.
12253 * math/libm-test.inc (ctan_test_tonearest): New function.
12254 (ctan_test_towardzero): Likewise.
12255 (ctan_test_downward): Likewise.
12256 (ctan_test_upward): Likewise.
12257 (ctanh_test_tonearest): Likewise.
12258 (ctanh_test_towardzero): Likewise.
12259 (ctanh_test_downward): Likewise.
12260 (ctanh_test_upward): Likewise.
12261 (main): Call these new functions.
12262 * sysdeps/i386/fpu/libm-test-ulps: Update.
12263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12264
ca48a46a
MF
122652012-07-03 Mike Frysinger <vapier@gentoo.org>
12266
12267 * .gitignore: Delete /ports entry.
12268
9d63d37d
AJ
122692012-07-03 Andreas Jaeger <aj@suse.de>
12270
12271 * po/bg.po: Update from translation team.
12272 * po/cs.po: Likewise.
12273 * po/de.po: Likewise.
12274 * po/hr.po: Likewise.
12275 * po/nl.pl: Likewise.
12276 * po/pl.po: Likewise.
12277 * po/vi.po: Likewise.
12278
370ca3d2
JM
122792012-07-03 Joseph Myers <joseph@codesourcery.com>
12280
95f5a9a8
JM
12281 * Makeconfig [!+link] (+link-before-libc): New variable.
12282 [!+link] (+link-after-libc): Likewise.
12283 [!+link] (+link-tests): Likewise.
12284 [!+link] (+link): Define in terms of $(+link-before-libc) and
12285 $(+link-after-libc).
12286 [!+link-static] (+link-static-before-libc): New variable.
12287 [!+link-static] (+link-static-after-libc): Likewise.
12288 [!+link-static] (+link-static-tests): Likewise.
12289 [!+link-static] (+link-static): Define in terms of
12290 $(+link-static-before-libc) and $(+link-static-after-libc).
12291 [build-shared] (link-libc-before-gnulib): New variable.
12292 [build-shared] (link-libc-tests): Likewise.
12293 [build-shared] (link-libc): Define in terms of
12294 $(link-libc-before-gnulib).
12295 [!build-shared] (link-libc-tests): New variable.
12296 (link-libc-static-tests): New variable.
12297 [!gnulib] (gnulib-arch): New variable.
12298 [!gnulib] (gnulib-tests): Likewise.
12299 [!gnulib] (static-gnulib-arch): Likewise.
12300 [!gnulib] (static-gnulib-tests): Likewise.
12301 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
12302 Define with "=" instead of ":=".
12303 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
12304 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
12305 * Rules (binaries-all-notests): New variable.
12306 (binaries-all-tests): Likewise.
12307 (binaries-static-notests): Likewise.
12308 (binaries-static-tests): Likewise.
12309 (binaries-all): Define using $(binaries-all-notests) and
12310 $(binaries-all-tests).
12311 (binaries-static): Define using $(binaries-static-notests) and
12312 $(binaries-static-tests).
12313 (binaries-shared-tests): New variable.
12314 (binaries-shared-notests): Likewise.
12315 (binaries-shared): Remove variable.
12316 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
12317 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
12318 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
12319 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
12320 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
12321 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
12322 * elf/Makefile (sln-modules): New variable.
12323 (extra-objs): Add $(sln-modules:=.o).
12324 (ldconfig-modules): Add static-stubs.
12325 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
12326 * elf/static-stubs.c: New file.
12327
7a845b2c
JM
12328 [BZ #14283]
12329 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
12330 by 7 not 8 to examine high bit of fractional part. Use volatile
12331 variables when splitting into final array of floats if
12332 __FLT_EVAL_METHOD__ != 0.
12333 * math/libm-test.inc (cos_test): Add another test.
12334 (sin_test): Likewise.
12335 * sysdeps/i386/fpu/libm-test-ulps: Update.
12336
e2283f38
JM
12337 [BZ #14273]
12338 * math/libm-test.inc (cosh_test): Add more tests.
12339
370ca3d2
JM
12340 * version.h (RELEASE): Set to "development".
12341 (VERSION): Set to "2.16.90".
12342
ee9247c3
CD
123432012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
12344
12345 * NEWS: Update copyright. Remove last-updated date.
12346 Mention math library bug fixes and timezone data changes.
12347 * README: Mention GNU/Hurd, x32, and HPPA support status.
12348
4648c381
TS
123492012-06-28 Thomas Schwinge <thomas@codesourcery.com>
12350
12351 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
12352
aac78a43
AJ
123532012-06-27 Andreas Jaeger <aj@suse.de>
12354
12355 * manual/contrib.texi (Contributors): Add Samuel Thibault.
12356
ed3dbfad
AJ
123572012-06-25 Andreas Jaeger <aj@suse.de>
12358
12359 * sysdeps/s390/fpu/libm-test-ulps: Update.
12360
4d0ee855
AS
123612012-06-23 Andreas Schwab <schwab@linux-m68k.org>
12362 Thomas Schwinge <thomas@codesourcery.com>
12363
12364 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
12365 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
12366 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
12367 fanotify_mark.
12368
af1bce34
TS
123692012-06-23 Thomas Schwinge <thomas@codesourcery.com>
12370
a9fa33ba
TS
12371 * sysdeps/mach/start.c: Remove file.
12372 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
12373 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
12374 * sysdeps/sh/init-first.c: Likewise.
12375
58f902b8
TS
12376 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
12377 registers for frame unwinding purposes, add CFI directives.
12378 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12379 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
12380 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
12381 Likewise.
12382
1518f58b
TS
12383 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
12384 __fortify_fail returning.
12385 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
12386
db9b5059
TS
12387 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
12388 sysdeps/sh/____longjmp_chk.S.
12389 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
12390 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
12391 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
12392 (gen-as-const-headers): Append sigaltstack-offsets.sym.
12393
967705fe
TS
12394 * sysdeps/sh/abort-instr.h: New file.
12395 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
12396 process in case exit returns.
12397
a9def8c4
TS
12398 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
12399 initialize the GOT register before use.
12400
2a649725
TS
12401 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
12402 calculation of ARGC > 4.
12403
af1bce34
TS
12404 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
12405 meaningful names to some local labels.
12406
d230f50a
KK
124072012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12408 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12409
12410 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
12411 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
12412 (__arch_compare_and_exchange_val_16_acq): Likewise.
12413 (__arch_compare_and_exchange_val_32_acq): Likewise.
12414 (atomic_exchange_and_add): Fix gUSA sequence.
12415 (atomic_add): Likewise.
12416 (atomic_add_negative): Likewise.
12417 (atomic_add_zero): Likewise.
12418 (atomic_bit_test_set): Likewise.
12419
0479b305
AS
124202012-06-22 Andreas Schwab <schwab@redhat.com>
12421
12422 [BZ #13579]
12423 * include/link.h (struct link_map): Add l_free_initfini.
12424 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
12425 l_initfini.
12426 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
12427 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
12428 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
12429 set.
12430
0e3933b9
CD
124312012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
12432
12433 * configure.in: Use AC_LANG_SOURCE.
12434 * configure: Regenerate.
12435
4248b1b1
RM
124362012-06-22 Roland McGrath <roland@hack.frob.com>
12437
12438 * configure.in (libc_cv_localstatedir): New substituted variable.
12439 * configure: Regenerated.
12440 * config.make.in (localstatedir): New variable, substituted from
12441 libc_cv_localstatedir.
12442 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
12443 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
12444 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
12445 * sysdeps/gnu/configure: Regenerated.
12446
006dd861
JL
124472012-06-21 Jeff Law <law@redhat.com>
12448
12449 [BZ #14277]
12450 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
12451 free. Simplify list management for _LIBC case.
12452
79662d42
JM
124532012-06-21 Joseph Myers <joseph@codesourcery.com>
12454
b7abb4bf
JM
12455 [BZ #14273]
12456 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12457 Clear sign bit of 64-bit integer value before comparing against
12458 overflow value.
12459
79662d42
JM
12460 * sysdeps/mach/configure: Regenerated.
12461
1f150908
L
124622012-06-21 H.J. Lu <hongjiu.lu@intel.com>
12463
12464 [BZ #14278]
12465 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
12466
28363bbf
JL
124672012-06-21 Jeff Law <law@redhat.com>
12468
12469 [BZ #13882]
12470 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
12471 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 12472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
12473 * elf/dl-open.c (dl_open_worker): Likewise.
12474
09615db4
CD
124752012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
12476
12477 * scripts/list-sources.sh: Scan PORTS for translations.
12478 * po/libc.pot: Regenerated.
12479
2174c6dd
AJ
124802012-06-21 Andreas Jaeger <aj@suse.de>
12481
12482 [BZ #12194]
12483 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
12484 warning.
12485 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
12486 * bits/byteswap-16.h (__bswap_16): Likewise.
12487 * bits/byteswap.h (__bswap_constant_16): Likewise.
12488
3ee947b1
L
124892012-06-18 H.J. Lu <hongjiu.lu@intel.com>
12490
12491 [BZ #14117]
a2f34833
L
12492 * sysdeps/i386/fpu_control.h: Removed.
12493 * sysdeps/x86_64/fpu_control.h: Moved to ...
12494 * sysdeps/x86/fpu_control.h: Here.
12495
3ee947b1
L
12496 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
12497 (_FPU_SETCW): Likewise.
12498
ed1825f8
L
124992012-06-15 H.J. Lu <hongjiu.lu@intel.com>
12500
25f1282a
L
12501 [BZ #14117]
12502 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
12503 * sysdeps/x86/fpu/bits/mathinline.h: This.
12504 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
12505
ed1825f8
L
12506 [BZ #14050]
12507 [BZ #14117]
12508 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
12509 functions if __x86_64__ is defined.
12510
36d54b74
CLT
125112012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
12512
12513 * string/endian.h: Add !__ASSEMBLER__ condition for including
12514 conversion interfaces.
12515
10285c21
JM
125162012-06-15 Joseph Myers <joseph@codesourcery.com>
12517
12518 [BZ #14241]
12519 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
12520 of ABS(x) in calculating zero to negative powers other than odd
12521 integers.
12522 * math/libm-test.inc (pow_test): Add more tests.
12523
06c5abbd
AJ
125242012-06-15 Andreas Jaeger <aj@suse.de>
12525
12526 * manual/contrib.texi (Contributors): Update entry of Liubov
12527 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
12528 Machado Filho.
12529
a3aeac40
CH
125302012-06-15 Cyril Hrubis <metan@ucw.cz>
12531
12532 * string/string.h: Add __wur to GNU version of strerror_r.
12533
49bdf4c1
L
125342012-06-14 H.J. Lu <hongjiu.lu@intel.com>
12535
12536 [BZ #14229]
12537 * string/Makefile (tests): Add tst-strtok_r.
12538 * string/tst-strtok_r.c: New file.
12539 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
12540 RAX_LP/RDX_LP on SAVE_PTR.
12541
834f9b8d
RM
125422012-06-14 Roland McGrath <roland@hack.frob.com>
12543
12544 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
12545
75fa1921
JM
125462012-06-14 Joseph Myers <joseph@codesourcery.com>
12547
12548 * libm_test.inc (csqrt_test): Allow more spurious underflow
12549 exceptions.
12550 (j0_test): Likewise.
12551 (j1_test): Likewise.
12552 (y0_test): Likewise.
12553 (y1_test): Likewise.
12554
771766df
CD
125552012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
12556
12557 * po/Makefile (libc.pot): Use UTF-8 charset.
12558
ceb9e56b
PP
125592012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
12560
12561 [BZ #14210]
12562 Suppress sign-conversion warning from FD_SET.
12563 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
12564 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
12565 not unsigned long int.
12566 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
12567
ddb28975
L
125682012-06-12 H.J. Lu <hongjiu.lu@intel.com>
12569
12570 [BZ #14050]
12571 [BZ #14117]
12572 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
12573 __extern_always_inline instead of __extern_inline.
12574 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
12575 (__signbit): Likewise.
12576 (__signbitl): Support C++ namespace.
12577 (lrintf): New inline function.
12578 (lrint): Likewise.
12579 (llrintf): Likewise.
12580 (llrint): Likewise.
12581 (fmaxf): Likewise.
12582 (fmax): Likewise.
12583 (fminf): Likewise.
12584 (fmin): Likewise.
12585 (rint): Likewise.
12586 (rintf): Likewise.
12587 (ceil): Likewise.
12588 (ceilf): Likewise.
12589 (floor): Likewise.
12590 (floorf): Likewise.
12591 (nearbyint): Likewise.
12592 (nearbyintf): Likewise.
12593
d7b4fb26
TS
125942012-06-12 Thomas Schwinge <thomas@codesourcery.com>
12595
12596 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
12597 non-default versions.
12598
eb55f5c2
RM
125992012-06-11 Roland McGrath <roland@hack.frob.com>
12600
12601 [BZ #14218]
12602 * manual/argp.texi (Argp): Reword argp_parse description slightly.
12603
366af02c
TS
126042012-06-09 Thomas Schwinge <thomas@codesourcery.com>
12605
99ff6e5c
TS
12606 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
12607 (FE_UPWARD, FE_DOWNWARD): Don't define.
12608 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
12609 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
12610
366af02c
TS
12611 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
12612 reading it.
12613 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
12614 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12615
793ea851
KK
126162012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12617
12618 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
12619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
12620 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
12621 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
12622
a728a38f
L
126232012-06-06 H.J. Lu <hongjiu.lu@intel.com>
12624
12625 [BZ #14117]
c08010c7
L
12626 * sysdeps/i386/fpu/bits/fenv.h: Removed.
12627 * sysdeps/i386/fpu/Implies: New file.
12628 * sysdeps/x86_64/fpu/Implies: Likewise.
12629 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
12630 * sysdeps/x86/fpu/bits/fenv.h: This.
12631
a728a38f
L
12632 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
12633 __SSE_MATH__.
12634
6e230d11
SP
126352012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12636
12637 [BZ #14134]
12638 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
12639 character 0xffff that matches the last element of the
12640 conversion table.
12641
1b671feb
AZ
126422012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12643
12644 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
12645 fmodl commit.
12646
6043738b
AZ
126472012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12648
12649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
12650 values higher than 25.6283.
12651
34ae0b32
AZ
126522012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12653
12654 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
12655 subnormal exponent extraction and add some __builtin_expect.
12656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
12657 Fix for subnormal mantissa calculation.
12658
1214ec8f
MF
126592012-06-04 Mike Frysinger <vapier@gentoo.org>
12660
12661 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
12662 cpu2 is -1 and errno is not ENOSYS.
12663
f3d1f93c
L
126642012-06-04 H.J. Lu <hongjiu.lu@intel.com>
12665
12666 [BZ #14117]
0e4a3cd7
L
12667 * sysdeps/i386/i486/bits/string.h: Renamed to ...
12668 * sysdeps/x86/bits/string.h: This.
12669 * sysdeps/x86_64/bits/string.h: Removed.
12670
6704c645
L
12671 * sysdeps/i386/i486/bits/string.h: Define inline functions only
12672 if not compiling for x86-64, but compiling for >= i486.
12673
48495318
L
12674 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
12675 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
12676
14adcbfc
L
12677 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
12678 New macro from Linux kernel 3.4.0.
12679 (FP_XSTATE_MAGIC2): Likewise.
12680 (FP_XSTATE_MAGIC2_SIZE): Likewise.
12681 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
12682 (struct _fpx_sw_bytes): New struct.
12683 (struct _xsave_hdr): Likewise.
12684 (struct _ymmh_state): Likewise.
12685 (struct _xstate): Likewise.
12686
68e408ab
L
12687 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
12688 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
12689 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
12690 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
12691 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
12692 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
12693
f3d1f93c
L
12694 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
12695 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
12696 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
12697 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
12698 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
12699 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
12700
d9dc34cd
TMQMF
127012012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12702
12703 [BZ #13743]
12704 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
12705 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
12706 (sysdep_headers): Include sys/platform/ppc.h.
12707 * sysdeps/powerpc/test-gettimebase.c: Test for
12708 __ppc_get_timebase() to catch future ISA opcode/insn changes.
12709 * manual/Makefile (appendices): Include platform.texi.
12710 * manual/contrib.texi (Contributors): Update @node pointers.
12711 * manual/maint.texi (Maintenance): Likewise.
12712 (Platform): New node.
12713 * manual/platform.texi: New file. Document the new features.
12714
4af3879c
SP
127152012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12716 Jakub Jelinek <jakub@redhat.com>
12717
12718 [BZ #14188]
12719 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
12720 where __builtin_expect is unavailable.
12721
2fd6ff13
DM
127222012-06-03 David S. Miller <davem@davemloft.net>
12723
12724 * stdlib/longlong.h: Updated from GCC.
12725
173f7220
AS
127262012-06-02 Andreas Schwab <schwab@linux-m68k.org>
12727
12728 [BZ #14042]
12729 * sysdeps/powerpc/powerpc32/mcount.c: New file.
12730 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
12731 __mcount_internal.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12733 (GLIBC_2.16): Likewise.
12734
f34a1c6f
L
127352012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12736
12737 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
12738
88a4576f
JM
127392012-06-01 Joseph Myers <joseph@codesourcery.com>
12740
ea32bcdd
JM
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
12742 (default-abi): New variable.
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
12744 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
12745 variable.
12746 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
12747 Likewise.
12748 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
12749 Likewise.
12750 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
12751 Likewise.
12752
88a4576f
JM
12753 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
12754 definition. Document in comment.
12755
402fe938
DM
127562012-06-01 David S. Miller <davem@davemloft.net>
12757
12758 * stdlib/longlong.h: Updated from GCC.
12759
3553723f
L
127602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12761
12762 [BZ #14117]
3bd872c4
L
12763 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
12764 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
12765 sys/debugreg.h sys/io.h here.
12766 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
12767 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
12768 sys/io.h.
12769 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
12770 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
12771 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
12772 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
12773 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
12774 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
12775
3553723f
L
12776 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
12777 Define only if __x86_64__ is defined.
12778
4842e4fe
JM
127792012-06-01 Joseph Myers <joseph@codesourcery.com>
12780
c5bfe3d5
JM
12781 [BZ #14048]
12782 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
12783 Use int64_t for variable i.
12784 * math/libm-test.inc (fmod_test): Add more tests.
12785
4842e4fe
JM
12786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
12787 z computation is not scheduled after fetestexcept.
12788 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
12789 Use math_force_eval instead of asm to ensure calculation scheduled
12790 before exception test.
12791 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
12792 Ensure a1 + u.d computation is not scheduled after fetestexcept.
12793
efb73488
AJ
127942012-06-01 Aurelien Jarno <aurelien@aurel32.net>
12795
12796 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
12797 computation is not scheduled after fetestexcept.
12798
29bcce7c
L
127992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
12800
12801 [BZ #14117]
12802 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
12803 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
12804
73a68f94
AZ
128052012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12806
12807 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
12808 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
12809
67b6df78
L
128102012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12811
edf2933a 12812 [BZ #14117]
ebc64a18
L
12813 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
12814 <bits/wordsize.h>.
12815 (__WCHAR_MIN): Support __WORDSIZE == 64.
12816 (__WCHAR_MAX): Likewise.
12817
edf2933a
L
12818 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
12819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
12820
57c6cf40
L
12821 [BZ #14183]
12822 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
12823 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
12824
67b6df78 12825 [BZ #14117]
8eb6281e
L
12826 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
12827 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
12828
aac639f4
L
12829 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
12830 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
12831
67b6df78
L
12832 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
12833 Defined to 1 if __x86_64__ isn't defined.
12834 (_STAT_VER_LINUX_OLD): New.
12835 (st_atime): Remove duplicate.
12836 (st_mtime): Likewise.
12837 (st_ctime): Likewise.
12838
1c2cfe81
DM
128392012-05-31 David S. Miller <davem@davemloft.net>
12840
12841 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
12842 entries.
12843
5be8418c
AS
128442012-06-01 Andreas Schwab <schwab@linux-m68k.org>
12845
e7725326
AS
12846 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12847 gen-libm-test.pl.
12848
5be8418c
AS
12849 [BZ #14132]
12850 * elf/dl-reloc.c: Include <_itoa.h>.
12851 (_dl_reloc_bad_type): Remove use of INTUSE.
12852 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
12853 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
12854 * stdio-common/psiginfo.c (psiginfo): Likewise.
12855 * stdio-common/psignal.c (psignal): Likewise.
12856 * string/strsignal.c (strsignal): Likewise.
12857 * include/signal.h (_sys_siglist): Declare hidden proto.
12858 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
12859 INTVARDEF with libc_hidden_data_def.
12860 * stdio-common/itoa-udigits.c: Likewise.
12861 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
12862 (_itoa_lower_digits_internal): Remove declaration.
12863 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
12864 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
12865 (_sys_sigabbrev_internal): Remove aliases.
12866 (_sys_siglist): Define hidden alias.
12867
507352f1
MT
128682012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
12869
12870 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12871 bits/sysctl.h.
12872
42bbb1c3
L
128732012-05-31 H.J. Lu <hongjiu.lu@intel.com>
12874
12875 [BZ #14117]
6bd784b6
L
12876 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
12877 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
12878
8bca20f0
L
12879 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
12880 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
12881 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
12882 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
12883 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
12884 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
12885
f9e890a9
L
12886 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
12887 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
12888 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
12889
471101a1
L
12890 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
12891 with __addr.
12892 (insw): Likewise.
12893 (insl): Likewise.
12894 (outsb): Likewise.
12895 (outsw): Likewise.
12896 (outsl): Likewise.
12897
6451c862
L
12898 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
12899 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
12900 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
12901
a254b8c9
L
12902 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
12903 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
12904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
12905 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12906 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
12907 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
12908
b8dfdd92
L
12909 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12910 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
12911
578cd270
L
12912 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
12913 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
12914
de662f5f
L
12915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
12916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
12917 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
12918
25653439
L
12919 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
12920 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
12921 to ...
12922 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
12923
6bad24a0
L
12924 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
12925 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
12926 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
12927
42bbb1c3
L
12928 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
12929 for x86-64.
12930 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
12931
2d10d547
JM
129322012-05-31 Joseph Myers <joseph@codesourcery.com>
12933
12934 * math/math.h (M_El): Use two more decimal places.
12935 (M_LOG2El): Likewise.
12936 (M_LOG10El): Likewise.
12937 (M_LN2l): Likewise.
12938 (M_LN10l): Likewise.
12939 (M_PIl): Likewise.
12940 (M_PI_2l): Likewise.
12941 (M_PI_4l): Likewise.
12942 (M_1_PIl): Likewise.
12943 (M_2_PIl): Likewise.
12944 (M_2_SQRTPIl): Likewise.
12945 (M_SQRT2l): Likewise.
12946 (M_SQRT1_2l): Likewise.
12947
f230c29b
DM
129482012-05-31 David S. Miller <davem@davemloft.net>
12949
12950 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
12951 values between float registers.
12952 * sysdeps/sparc/sparc64/memset.S: Likewise.
12953 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12954
fed806c3
MF
129552012-05-31 Mike Frysinger <vapier@gentoo.org>
12956
12957 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
12958 -D_FORTIFY_SOURCE=1.
12959 (CPPFLAGS-tst-longjmp_chk.c): Define.
12960 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
12961 (CPPFLAGS-tst-longjmp_chk2.c): Define.
12962 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
12963 CFLAGS-tst-wchar-h.c.
12964
30917259
MP
129652012-05-31 Marek Polacek <polacek@redhat.com>
12966
12967 [BZ #14132]
12968 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
12969 __endmntent_internal): Remove declaration.
12970 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
12971 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
12972 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
12973
1c58d5dc
DM
129742012-05-30 David S. Miller <davem@davemloft.net>
12975
12976 * sysdeps/sparc/sparc32/soft-fp/q_util.c
12977 (___Q_simulate_exceptions): Use real FP ops rather than writing
12978 into the %fsr.
12979 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
12980 Likewise.
12981
7dc00e0d
L
129822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
12983
12984 [BZ #14117]
0bd53985
L
12985 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
12986 * sysdeps/x86/bits/xtitypes.h: This.
12987
3a257e66
L
12988 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
12989 * sysdeps/x86/bits/wordsize.h: This.
12990
62f62904
L
12991 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
12992 * sysdeps/x86/bits/huge_vall.h: This.
12993
404fe9d9
L
12994 * sysdeps/i386/bits/select.h: Removed.
12995 * sysdeps/x86_64/bits/select.h: Renamed to ...
12996 * sysdeps/x86/bits/select.h: This.
12997
d48d0446
L
12998 * sysdeps/i386/bits/setjmp.h: Removed.
12999 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
13000 * sysdeps/x86/bits/setjmp.h: This.
13001
7dc00e0d
L
13002 * sysdeps/i386/bits/mathdef.h: Removed.
13003 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
13004 * sysdeps/x86/bits/mathdef.h: This.
13005
03277f8f
AS
130062012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13007
13008 [BZ #14132]
13009 * include/sys/socket.h (__connect_internal)
13010 (__libc_sa_len_internal): Remove declaration.
13011 (__connect, __libc_sa_len): Declare hidden_proto.
13012 (SA_LEN): Remove use of INTUSE.
13013 * socket/connect.c: Add libc_hidden_def.
13014 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
13015 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
13016 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
13017 alias.
13018 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13019 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
13020 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
13021 of adding _internal alias.
13022
13764867
L
130232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13024
13025 [BZ #14117]
6bd97696
L
13026 * sysdeps/i386/bits/link.h: Removed.
13027 * sysdeps/i386/bits/linkmap.h: Likewise.
13028 * sysdeps/x86_64/bits/link.h: Renamed to ...
13029 * sysdeps/x86/bits/link.h: This.
13030 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
13031 * sysdeps/x86/bits/linkmap.h: This.
13032
f726f0bb
L
13033 * sysdeps/i386/bits/endian.h: Removed.
13034 * sysdeps/x86_64/bits/endian.h: Renamed to ...
13035 * sysdeps/x86/bits/endian.h: This.
13036
13764867
L
13037 * sysdeps/i386/bits/byteswap.h: Removed.
13038 * sysdeps/i386/bits/byteswap-16.h: Likewise.
13039 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
13040 * sysdeps/x86/bits/byteswap.h: This.
13041 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13042 * sysdeps/x86/bits/byteswap-16.h: This.
13043 * sysdeps/i386/Implies: Add x86.
13044 * sysdeps/x86_64/Implies: Likewise.
13045
ae251b0b
DM
130462012-05-30 David S. Miller <davem@davemloft.net>
13047
13048 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
13049 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
13050 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13051 (FP_TRAPPING_EXCEPTIONS): Define.
13052 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13053 (FP_TRAPPING_EXCEPTIONS): Define.
13054 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
13055 subnormals only when inexact has been signalled or underflow
13056 exceptions are enabled.
13057 (_FP_PACK_CANONICAL): Likewise.
13058
d5c90867
L
130592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13060
13061 [BZ #14183]
13062 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
13063 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
13064
63f1549e
RH
130652012-05-30 Richard Henderson <rth@twiddle.net>
13066
8d8f2279
RH
13067 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
13068 with #ifndef NOT_IN_libc.
13069
63f1549e
RH
13070 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
13071 marked to avoid plt entry.
13072
0ab0291b
L
130732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
13074
13075 [BZ #14112]
13076 * Makeconfig (default-abi): New macro.
13077 (abi-includes): Likewise.
13078 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
13079 $(abi-$(default-abi)-lib-soname) for soname if defined.
13080 ($(common-objpfx)gnu/lib-names.stmp): Generate from
13081 abi-variants.
13082 * Makefile (installed-stubs): Likewise.
13083 * include/stubs-biarch.h: Removed.
13084 * scripts/lib-names.awk: Only handle one library at a time.
13085 * scripts/soversions.awk: Remove WORDSIZE support.
13086 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
13087 entries.
13088 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
13089 Removed.
13090 (syscall-list-default-condition): Likewise.
13091 (syscall-list-default-condition): Likewise.
13092 (syscall-list-includes): Likewise.
13093 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
13094 syscall-list-* with abi-*. Handle undefined abi-variants.
13095 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
13096 * sysdeps/unix/sysv/linux/i386/Implies: New file.
13097 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
13098 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
13099 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
13100 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
13101 Removed.
13102 (syscall-list-32-options): Likewise.
13103 (syscall-list-32-condition): Likewise.
13104 (syscall-list-64-options): Likewise.
13105 (syscall-list-64-condition): Likewise.
13106 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
13107 macro.
13108 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
13109 Renamed to ...
13110 (abi-*): This.
13111 (abi-64-ld-soname): New macro.
13112 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
13113 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
13114 Renamed to ...
13115 (abi-*): This.
13116 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
13117 * sysdeps/x86_64/x32/shlib-versions: Likewise.
13118
4da0431d
JM
131192012-05-30 Joseph Myers <joseph@codesourcery.com>
13120
3a85279c
JM
13121 * sysdeps/unix/sysv/linux/kernel-features.h
13122 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
13123 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
13124 include <kernel-features.h>.
13125 [!__NR_ftruncate64]: Remove conditional code.
13126 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13127 [__NR_ftruncate64]: Make code unconditional.
13128 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13129 * sysdeps/unix/sysv/linux/truncate64.c: Do not
13130 include <kernel-features.h>.
13131 [!__NR_ftruncate64]: Remove conditional code.
13132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13133 [__NR_ftruncate64]: Make code unconditional.
13134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
13136 include <kernel-features.h>.
13137 [!__NR_ftruncate64]: Remove conditional code.
13138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13139 [__NR_ftruncate64]: Make code unconditional.
13140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13142 include <kernel-features.h>.
13143 [!__NR_ftruncate64]: Remove conditional code.
13144 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13145 [__NR_ftruncate64]: Make code unconditional.
13146 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
13147
4da0431d
JM
13148 * configure.in (libc_cv_fpie): Weaken to a compile test using
13149 LIBC_TRY_CC_OPTION.
13150 * configure: Regenerated.
13151
11ef492c
AK
131522012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13153
13154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
13155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
13156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
13157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13158 Refreshed.
13159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
13160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
13161 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
13162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
13163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13165 Refreshed.
13166
d66ef399
DM
131672012-05-27 David S. Miller <davem@davemloft.net>
13168
13169 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
13170 (___Q_zero): New.
13171 (__Q_simulate_exceptions): Return void. Change to simulate
13172 exceptions by writing into the %fsr.
13173 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
13174 (__Qp_handle_exceptions): Likewise.
13175 (numbers): Delete.
13176 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
13177 __Qp_handle_exceptions.
13178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
13179 __Qp_handle_exceptions.
13180 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13181 as unused and give dummy FP_RND_NEAREST initializer.
13182 (FP_INHIBIT_RESULTS): Define.
13183 (___Q_simulate_exceptions): Update declaration.
13184 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
13185 formatting.
13186 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
13187 as unused and give dummy FP_RND_NEAREST initializer.
13188 (__Qp_handle_exceptions): Update declaration.
13189 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
13190 formatting.
13191
04fb54b5
TS
131922012-05-27 Thomas Schwinge <thomas@codesourcery.com>
13193
13194 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
13195 the temporary FPU control word.
13196 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13197 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
13198 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
13199 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
13200 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
13201 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
13202 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
13203 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13204 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
13205 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
13206 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13207
3f99608f
KK
132082012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13209
13210 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
13211 fields.
13212
65a4de4e
CLT
132132012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
13214
13215 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
13216 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
13217 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
13218 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
13219 Likewise.
13220 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
13221 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
13222 Likewise.
13223
15749d40
UD
132242012-05-27 Ulrich Drepper <drepper@gmail.com>
13225
13226 * po/h.po: Update from translation team.
13227
25dbcb27
AS
132282012-05-26 Andreas Schwab <schwab@linux-m68k.org>
13229
3d3f8e55
AS
13230 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
13231
25dbcb27
AS
13232 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
13233 handling of denormals.
13234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13235 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13236 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13237 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13238 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
13240 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
13241 Likewise.
13242
7ad47a80 132432012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
13244
13245 [BZ #14152]
13246 * math/libm-test.inc (fma_test): Don't always expect underflow
13247 exception.
13248
9c6ea9fa
SP
132492012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13250
13251 [BZ #12416]
13252 * elf/tst-execstack.c: Include stackinfo.h.
13253 (do_test): Adjust test case to ensure that pthread_getattr_np
13254 behaviour remains the same after marking stack executable.
13255
a8239222
JM
132562012-05-25 Joseph Myers <joseph@codesourcery.com>
13257
13258 * sysdeps/unix/sysv/linux/kernel-features.h
13259 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
13260 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
13261 kernel-features.h.
13262 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13263 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13264 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
13265 kernel-features.h.
13266 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
13267 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
13268
918b5606
L
132692012-05-25 H.J. Lu <hongjiu.lu@intel.com>
13270
13271 * configure.in: Define the default includes to being none.
13272 * configure: Regenerated.
13273
3a097cc7
RM
132742012-05-25 Roland McGrath <roland@hack.frob.com>
13275
8422c9a5
RM
13276 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
13277 * sysdeps/x86_64/setjmp.S: Likewise.
13278 * sysdeps/i386/bsd-setjmp.S: Likewise.
13279 * sysdeps/i386/bsd-_setjmp.S: Likewise.
13280 * sysdeps/i386/setjmp.S: Likewise.
13281 * sysdeps/i386/__longjmp.S: Likewise.
13282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
13283 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
13284
3a097cc7
RM
13285 * include/stap-probe.h: New file.
13286 * configure.in: Handle --enable-systemtap.
13287 * configure: Regenerated.
13288 * config.h.in (USE_STAP_PROBE): New #undef.
13289 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
13290 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
13291 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13292
21708942
JM
132932012-05-25 Joseph Myers <joseph@codesourcery.com>
13294
13295 [BZ #13717]
13296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13297 to 2.4.0 where earlier.
13298 * sysdeps/unix/sysv/linux/configure: Regenerated.
13299 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13300 <kernel-features.h>.
13301 [__ASSUME_32BITUIDS]: Make code unconditional.
13302 [!__ASSUME_32BITUIDS]: Remove conditional code.
13303 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
13304 <kernel-features.h>.
13305 [__ASSUME_32BITUIDS]: Make code unconditional.
13306 [!__ASSUME_32BITUIDS]: Remove conditional code.
13307 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
13308 [__ASSUME_32BITUIDS]: Make code unconditional.
13309 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
13310 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
13311 <kernel-features.h>.
13312 [__ASSUME_32BITUIDS]: Make code unconditional.
13313 [!__ASSUME_32BITUIDS]: Remove conditional code.
13314 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
13315 <kernel-features.h>.
13316 [__ASSUME_32BITUIDS]: Make code unconditional.
13317 [!__ASSUME_32BITUIDS]: Remove conditional code.
13318 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
13319 <kernel-features.h>.
13320 [__ASSUME_32BITUIDS]: Make code unconditional.
13321 [!__ASSUME_32BITUIDS]: Remove conditional code.
13322 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
13323 <kernel-features.h>.
13324 [__ASSUME_32BITUIDS]: Make code unconditional.
13325 [!__ASSUME_32BITUIDS]: Remove conditional code.
13326 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13327 <kernel-features.h>.
13328 [__ASSUME_32BITUIDS]: Make code unconditional.
13329 [!__ASSUME_32BITUIDS]: Remove conditional code.
13330 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13331 <kernel-features.h>.
13332 [__ASSUME_32BITUIDS]: Make code unconditional.
13333 [!__ASSUME_32BITUIDS]: Remove conditional code.
13334 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
13335 <kernel-features.h>.
13336 [__ASSUME_32BITUIDS]: Make code unconditional.
13337 [!__ASSUME_32BITUIDS]: Remove conditional code.
13338 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13339 <kernel-features.h>.
13340 [__ASSUME_32BITUIDS]: Make code unconditional.
13341 [!__ASSUME_32BITUIDS]: Remove conditional code.
13342 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13343 <kernel-features.h>.
13344 [__ASSUME_32BITUIDS]: Make code unconditional.
13345 [!__ASSUME_32BITUIDS]: Remove conditional code.
13346 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
13347 <kernel-features.h>.
13348 [__ASSUME_32BITUIDS]: Make code unconditional.
13349 [!__ASSUME_32BITUIDS]: Remove conditional code.
13350 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
13351 <kernel-features.h>.
13352 [__NR_setresgid] (__setresgid): Do not declare.
13353 [__ASSUME_32BITUIDS]: Make code unconditional.
13354 [!__ASSUME_32BITUIDS]: Remove conditional code.
13355 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
13356 <kernel-features.h>.
13357 [__NR_setresuid] (__setresuid): Do not declare.
13358 [__ASSUME_32BITUIDS]: Make code unconditional.
13359 [!__ASSUME_32BITUIDS]: Remove conditional code.
13360 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
13377 <kernel-features.h>.
13378 [__ASSUME_32BITUIDS]: Make code unconditional.
13379 [!__ASSUME_32BITUIDS]: Remove conditional code.
13380 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
13381 <kernel-features.h>.
13382 [__ASSUME_32BITUIDS]: Make code unconditional.
13383 [!__ASSUME_32BITUIDS]: Remove conditional code.
13384 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
13385 <kernel-features.h>.
13386 [__ASSUME_32BITUIDS]: Make code unconditional.
13387 [!__ASSUME_32BITUIDS]: Remove conditional code.
13388 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
13389 <kernel-features.h>.
13390 [__ASSUME_32BITUIDS]: Make code unconditional.
13391 [!__ASSUME_32BITUIDS]: Remove conditional code.
13392 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
13393 <kernel-features.h>.
13394 [__ASSUME_32BITUIDS]: Make code unconditional.
13395 [!__ASSUME_32BITUIDS]: Remove conditional code.
13396 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13397 <kernel-features.h>.
13398 [__ASSUME_32BITUIDS]: Make code unconditional.
13399 [!__ASSUME_32BITUIDS]: Remove conditional code.
13400 * sysdeps/unix/sysv/linux/kernel-features.h
13401 (__ASSUME_SETRESUID_SYSCALL): Remove.
13402 (__ASSUME_SETRESGID_SYSCALL): Likewise.
13403 (__ASSUME_32BITUIDS): Likewise.
13404 (__ASSUME_LDT_WORKS): Likewise.
13405 (__ASSUME_O_DIRECTORY): Likewise.
13406 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
13407 architecture but not kernel version.
13408 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13409 (__ASSUME_MMAP2_SYSCALL): Likewise.
13410 (__ASSUME_STAT64_SYSCALL): Likewise.
13411 (__ASSUME_IPC64): Likewise.
13412 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
13413 <kernel-features.h>.
13414 [__ASSUME_32BITUIDS]: Make code unconditional.
13415 [!__ASSUME_32BITUIDS]: Remove conditional code.
13416 * sysdeps/unix/sysv/linux/opendir.c: Do not include
13417 <kernel-features.h>.
13418 [__ASSUME_O_DIRECTORY]: Make code unconditional.
13419 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
13420 132096]: Remove conditional code.
13421 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
13422 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
13427 <kernel-features.h>.
13428 [__ASSUME_32BITUIDS]: Make code unconditional.
13429 [!__ASSUME_32BITUIDS]: Remove conditional code.
13430 * sysdeps/unix/sysv/linux/setegid.c: Do not include
13431 <kernel-features.h>.
13432 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
13433 unconditional.
13434 (__setresgid): Do not declare.
13435 [__ASSUME_32BITUIDS]: Make code unconditional.
13436 [!__ASSUME_32BITUIDS]: Remove conditional code.
13437 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
13438 <kernel-features.h>.
13439 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
13440 unconditional.
13441 (__setresuid): Do not declare.
13442 [__ASSUME_32BITUIDS]: Make code unconditional.
13443 [!__ASSUME_32BITUIDS]: Remove conditional code.
13444 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13445 <kernel-features.h>.
13446 [__ASSUME_32BITUIDS]: Make code unconditional.
13447 [!__ASSUME_32BITUIDS]: Remove conditional code.
13448 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
13449 <kernel-features.h>.
13450 [__ASSUME_32BITUIDS]: Make code unconditional.
13451 [!__ASSUME_32BITUIDS]: Remove conditional code.
13452
a386f1cc
RH
134532012-05-25 Richard Henderson <rth@twiddle.net>
13454
13455 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
13456 dl_hwcap to ifunc resolver.
13457 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
13458 elf_ifunc_invoke.
13459 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
13460 dl_hwcap to ifunc resolver.
13461 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
13462
b6550497
JM
134632012-05-24 Joseph Myers <joseph@codesourcery.com>
13464
13465 [BZ #14153]
13466 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
13467 for |x| <= 2**-26, not 2**-57.
13468 * math/libm-test.inc (acos_test): Do not allow spurious underflow
13469 exception.
13470
b0bc23a1
JL
134712012-05-24 Jeff Law <law@redhat.com>
13472
13473 * stdio-common/Makefile (tests): Add bug25.
13474 * stdio-common/bug25.c: New test.
13475
347c92e9
L
134762012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13477
13478 [BZ #13576]
13479 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
13480 multiple of MALLOC_ALIGNMENT in size.
13481 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
13482
6bcc8b3f
JM
134832012-05-24 Joseph Myers <joseph@codesourcery.com>
13484
13485 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
13486 Require >= 256.
13487 (FILENAME_MAX): Use macro-int-constant.
13488 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
13489 (_IOFBF): Use macro-int-constant.
13490 (_IOLBF): Likewise.
13491 (_IONBF): Likewise.
13492 (SEEK_CUR): Likewise.
13493 (SEEK_END): Likewise.
13494 (SEEK_SET): Likewise.
13495 (TMP_MAX): Likewise.
13496 (EOF): Use macro-int-constant. Require < 0.
13497 (NULL): Use macro-constant. Require == 0.
13498 (stdin): Require type to be FILE *.
13499 (stdout): Likewise.
13500 (stderr): Likewise.
13501 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
13502 macro-int-constant.
13503 (EXIT_SUCCESS): Likewise.
13504 (NULL): Use macro-constant. Require == 0.
13505 (RAND_MAX): Use macro-int-constant.
13506 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
13507 [C99-based standards] (strtof): Require function.
13508 [C99-based standards] (strtold): Likewise.
13509 [C99-based standards] (strtoll): Likewise.
13510 [C99-based standards] (strtoull): Likewise.
13511 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
13512 [ISO || ISO99 || ISO11] (limits.h): Likewise.
13513 [ISO || ISO99 || ISO11] (math.h): Likewise.
13514 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
13515 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
13516 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13517
d18ea0c5
AS
135182012-05-24 Andreas Schwab <schwab@linux-m68k.org>
13519
13520 [BZ #14132]
56d25bb8
AS
13521 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
13522 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
13523 * intl/dgettext.c (DCGETTEXT): Likewise.
13524 * intl/gettext.c (DCGETTEXT): Likewise.
13525 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
13526 * posix/regex_internal.h (gettext): Likewise.
13527 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
13528 Remove declaration.
13529 * include/argz.h (__argz_count_internal)
13530 (__argz_stringify_internal): Remove declaration.
13531 (__argz_count, __argz_stringify): Declare hidden proto.
13532 * intl/dcgettext.c: Remove use of INTDEF.
13533 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
13534 * string/argz-stringify.c: Likewise.
13535 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13536 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13537 Declare hidden proto.
d18ea0c5
AS
13538 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
13539 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
13540 Declare hidden proto.
13541 * include/stdio.h (__asprintf_internal): Don't declare.
13542 (__asprintf): Don't define as macro. Declare hidden proto.
13543 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
13544 (__fsetlocking): Declare hidden proto.
13545 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
13546 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
13547 hidden proto.
13548 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
13549 (_IO_setlinebuf): Remove use of INTUSE.
13550 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
13551 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
13552 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
13553 Remove declaration.
13554 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
13555 (_IO_do_flush): Remove use of INTUSE.
13556 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
13557 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
13558 (_IO_adjust_column, _IO_least_wmarker)
13559 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
13560 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
13561 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
13562 (_IO_default_doallocate, _IO_wdefault_doallocate)
13563 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
13564 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
13565 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
13566 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
13567 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
13568 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
13569 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
13570 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
13571 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
13572 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
13573 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
13574 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
13575 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
13576 proto.
13577 (_IO_flush_all_internal, _IO_adjust_column_internal)
13578 (_IO_default_uflow_internal, _IO_default_finish_internal)
13579 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
13580 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
13581 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
13582 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
13583 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
13584 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
13585 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
13586 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
13587 (_IO_file_close_internal, _IO_file_close_it_internal)
13588 (_IO_file_underflow_internal, _IO_file_overflow_internal)
13589 (_IO_file_init_internal, _IO_file_attach_internal)
13590 (_IO_file_fopen_internal, _IO_file_read_internal)
13591 (_IO_file_sync_internal, _IO_file_seek_internal)
13592 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
13593 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
13594 (_IO_str_underflow_internal, _IO_str_overflow_internal)
13595 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
13596 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
13597 (_IO_list_all_internal, _IO_link_in_internal)
13598 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
13599 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
13600 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
13601 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
13602 (_IO_do_write_internal, _IO_padn_internal)
13603 (_IO_getline_info_internal, _IO_getline_internal)
13604 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
13605 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
13606 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
13607 (_IO_vfscanf_internal, _IO_vfprintf_internal)
13608 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
13609 (_IO_init_internal, _IO_un_link_internal): Don't declare.
13610 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
13611 with libc_hidden_ver, remove use of INTUSE.
13612 * libio/genops.c: Likewise.
13613 * libio/freopen.c: Likewise.
13614 * libio/freopen64.c: Likewise.
13615 * libio/iofclose.c: Likewise.
13616 * libio/iofdopen.c: Likewise.
13617 * libio/iofflush.c: Likewise.
13618 * libio/iofflush_u.c: Likewise.
13619 * libio/iofgets.c: Likewise.
13620 * libio/iofgets_u.c: Likewise.
13621 * libio/iofopen.c: Likewise.
13622 * libio/iofopncook.c: Likewise.
13623 * libio/iofread.c: Likewise.
13624 * libio/iofread_u.c: Likewise.
13625 * libio/ioftell.c: Likewise.
13626 * libio/iofwrite.c: Likewise.
13627 * libio/iogetline.c: Likewise.
13628 * libio/iogets.c: Likewise.
13629 * libio/iogetwline.c: Likewise.
13630 * libio/iopadn.c: Likewise.
13631 * libio/iopopen.c: Likewise.
13632 * libio/ioseekoff.c: Likewise.
13633 * libio/ioseekpos.c: Likewise.
13634 * libio/iosetbuffer.c: Likewise.
13635 * libio/iosetvbuf.c: Likewise.
13636 * libio/ioungetc.c: Likewise.
13637 * libio/ioungetwc.c: Likewise.
13638 * libio/iovdprintf.c: Likewise.
13639 * libio/iovsprintf.c: Likewise.
13640 * libio/iovsscanf.c: Likewise.
13641 * libio/memstream.c: Likewise.
13642 * libio/obprintf.c: Likewise.
13643 * libio/oldfileops.c: Likewise.
13644 * libio/oldiofclose.c: Likewise.
13645 * libio/oldiofdopen.c: Likewise.
13646 * libio/oldiofopen.c: Likewise.
13647 * libio/oldiopopen.c: Likewise.
13648 * libio/oldstdfiles.c: Likewise.
13649 * libio/putc.c: Likewise.
13650 * libio/setbuf.c: Likewise.
13651 * libio/setlinebuf.c: Likewise.
13652 * libio/stdfiles.c: Likewise.
13653 * libio/strops.c: Likewise.
13654 * libio/vasprintf.c: Likewise.
13655 * libio/vscanf.c: Likewise.
13656 * libio/vsnprintf.c: Likewise.
13657 * libio/vswprintf.c: Likewise.
13658 * libio/wfiledoalloc.c: Likewise.
13659 * libio/wfileops.c: Likewise.
13660 * libio/wgenops.c: Likewise.
13661 * libio/wmemstream.c: Likewise.
13662 * libio/wstrops.c: Likewise.
13663 * libio/__fpurge.c: Likewise.
13664 * libio/__fsetlocking.c: Likewise.
13665 * assert/assert.c: Likewise.
13666 * debug/fgets_chk.c: Likewise.
13667 * debug/fgets_u_chk.c: Likewise.
13668 * debug/fread_chk.c: Likewise.
13669 * debug/fread_u_chk.c: Likewise.
13670 * debug/gets_chk.c: Likewise.
13671 * debug/obprintf_chk.c: Likewise.
13672 * debug/vasprintf_chk.c: Likewise.
13673 * debug/vdprintf_chk.c: Likewise.
13674 * debug/vsnprintf_chk.c: Likewise.
13675 * debug/vsprintf_chk.c: Likewise.
13676 * malloc/mtrace.c: Likewise.
13677 * misc/error.c: Likewise.
13678 * misc/syslog.c: Likewise.
13679 * stdio-common/asprintf.c: Likewise.
13680 * stdio-common/fxprintf.c: Likewise.
13681 * stdio-common/getw.c: Likewise.
13682 * stdio-common/isoc99_fscanf.c: Likewise.
13683 * stdio-common/isoc99_scanf.c: Likewise.
13684 * stdio-common/isoc99_vfscanf.c: Likewise.
13685 * stdio-common/isoc99_vscanf.c: Likewise.
13686 * stdio-common/isoc99_vsscanf.c: Likewise.
13687 * stdio-common/printf-prs.c: Likewise.
13688 * stdio-common/printf_fp.c: Likewise.
13689 * stdio-common/printf_fphex.c: Likewise.
13690 * stdio-common/printf_size.c: Likewise.
13691 * stdio-common/putw.c: Likewise.
13692 * stdio-common/scanf.c: Likewise.
13693 * stdio-common/sprintf.c: Likewise.
13694 * stdio-common/tmpfile.c: Likewise.
13695 * stdio-common/vfprintf.c: Likewise.
13696 * stdio-common/vfscanf.c: Likewise.
13697 * stdlib/strfmon_l.c: Likewise.
13698 * sunrpc/openchild.c: Likewise.
13699 * sunrpc/xdr_stdio.c: Likewise.
13700 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13701 * sysdeps/mach/hurd/tmpfile.c: Likewise.
13702
d6c33fda
RM
137032012-05-24 Roland McGrath <roland@hack.frob.com>
13704
c1487492
RM
13705 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
13706
13707 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
13708 in the third column, to generate for the shared library an IFUNC
13709 that uses _dl_vdso_vsym.
13710 * Makerules (COMPILE.c, compile-stdin.c): New variables.
13711 * Makeconfig (object-suffixes-noshared): New variable.
13712
13713 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
13714 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
13715 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
13716 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
13717
d6c33fda
RM
13718 [BZ #14132]
13719 * include/sys/time.h (__gettimeofday): Remove macro.
13720 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
13721 * time/gettimeofday.c (__gettimeofday): Remove #undef.
13722 Remove INTDEF.
13723 (__gettimeofday): Add libc_hidden_def.
13724 (gettimeofday): Add libc_hidden_weak.
13725 * sysdeps/mach/gettimeofday.c: Likewise.
13726 * sysdeps/posix/gettimeofday.c: Likewise.
13727 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
13728 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
13730 (__gettimeofday_internal): Remove strong_alias.
13731 (__gettimeofday): Add libc_hidden_def.
13732 (gettimeofday): Add libc_hidden_weak.
13733 * sysdeps/unix/syscalls.list (gettimeofday):
13734 Remove __gettimeofday_internal alias.
13735
b5a2bbe6
L
137362012-05-24 Daniel Jacobowitz <drow@false.org>
13737 H.J. Lu <hongjiu.lu@intel.com>
13738
13739 [BZ #12495]
13740 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
13741 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
13742 (largebin_index_32_big): New.
13743 (largebin_index): Use it for 16-byte alignment.
13744 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
13745 correction with front_misalign.
13746
cfba4fda
L
137472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
13748
7f907421
L
13749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
13750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13751 Likewise.
13752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
13753 Likewise.
13754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13755 Likewise.
13756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
13757 Likewise.
13758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
13759 Likewise.
13760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
13761 Likewise.
13762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
13763 Likewise.
13764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13765 Likewise.
13766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
13767 Likewise.
13768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
13769 Likewise.
13770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13771 Likewise.
13772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
13773 Likewise.
13774
cfba4fda
L
13775 * scripts/data/c++-types-x32-linux-gnu.data: New file.
13776 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
13777
80bad0cc
JM
137782012-05-24 Joseph Myers <joseph@codesourcery.com>
13779
7a25eb06
JM
13780 [BZ #10846]
13781 [BZ #14036]
13782 * math/libm-test.inc (exp_test): Add test from bug 14036.
13783 (pow_test): Add test from bug 10846.
13784
795405f9
JM
13785 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
13786 and other flags.
13787 (special_function): Do not include flags in test name.
13788 (parse_args): Likewise.
13789 * sysdeps/i386/fpu/libm-test-ulps: Update.
13790 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13791 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13792 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13794
80bad0cc
JM
13795 * math/gen-libm-test.pl (%beautify): Add entries for underflow
13796 exceptions.
13797 * math/libm-test.inc ("Philosophy"): Update comment about
13798 exception testing.
13799 (UNDERFLOW_EXCEPTION): New macro.
13800 (UNDERFLOW_EXCEPTION_OK): Likewise.
13801 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
13802 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
13803 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
13804 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
13805 (INVALID_EXCEPTION_OK): Update value.
13806 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13807 (OVERFLOW_EXCEPTION_OK): Likewise.
13808 (IGNORE_ZERO_INF_SIGN): Likewise.
13809 (test_exceptions): Handle underflow exceptions.
13810 (acos_test): Update for underflow exception expectations.
13811 (cexp_test): Likewise.
13812 (clog_test): Likewise.
13813 (clog10_test): Likewise.
13814 (csqrt_test): Likewise.
13815 (ctan_test): Likewise.
13816 (ctanh_test): Likewise.
13817 (exp_test): Likewise.
13818 (exp10_test): Likewise.
13819 (exp2_test): Likewise.
13820 (expm1_test): Likewise.
13821 (fma_test): Likewise.
13822 (j0_test): Likewise.
13823 (jn_test): Likewise.
13824 (nexttoward_test): Likewise.
13825 (pow_test): Likewise.
13826 (scalbn_test): Likewise.
13827 (scalbln_test): Likewise.
13828 (tan_test): Likewise.
13829 (y1_test): Likewise.
13830 * sysdeps/i386/fpu/libm-test-ulps: Update.
13831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13832
9e0e3d0b
DM
138332012-05-23 David S. Miller <davem@davemloft.net>
13834
13835 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13836 (__libc_sigaction): Remove unused local variables.
13837
ccd0a08f
L
138382012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13839
13840 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
13841
62bdf9a6
PE
138422012-05-23 Paul Eggert <eggert@cs.ucla.edu>
13843
f8591f80
PE
13844 mktime: avoid signed integer overflow
13845 * time/mktime.c (__mktime_internal): Do not mishandle the case
13846 where diff == INT_MIN.
13847
94c7d826
PE
13848 mktime: simplify computation of average
13849 * time/mktime.c (ranged_convert): Use new time_t_avg function
13850 instead of rolling our own (probably-slower) code.
13851
ce73d683
PE
13852 mktime: do not assume signed right shift propagates sign bit
13853 * time/mktime.c (isdst_differ): New static function.
13854 (__mktime_internal): No need to normalize tm_isdst now.
13855 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
13856 tm_isdst values.
13857
72a22e59
PE
13858 mktime: merge another wrapv change from gnulib
13859 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
13860 from some compilers.
13861
68605433
PE
13862 mktime: remove incorrect attempt at unusual arithmetics
13863 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
13864 The code didn't really work on such machines anyway.
13865 (TYPE_MINIMUM): Assume two's complement.
13866 (twos_complement_arithmetic): Verify that long_int and time_t
13867 are two's complement (or unsigned, in the latter case).
13868
03cf7fe3
PE
13869 mktime: check signed shifts on long_int and time_t, too
13870 * time/mktime.c (SHR): Check that shifts work as desired
13871 on the types long_int and time_t too, as SHR is used on
13872 such types.
13873
f04dfbc2
PE
13874 mktime: do not assume 'long' is wide enough
13875 * time/mktime.c (verify): Move decl up.
13876 (long_int): New type.
13877 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
13878 to remove assumption in the code that 'long' is wide enough to
13879 store year values. This assumption is not true on x32 and on
13880 some non-glibc platforms.
13881
62bdf9a6
PE
13882 mktime: merge wrapv change from gnulib
13883 * time/mktime.c (WRAPV): New macro.
13884 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
13885 (guess_time_tm, __mktime_internal): Do not assume that signed
13886 integer overflow wraps around; modern compilers generate code
13887 where this assumption is no longer valid.
13888
5e292e4f
L
138892012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13890
13891 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
13892 Replace "jmp L(pseudo_end)" with "ret".
13893 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
13894 Likewise.
13895
8caf8c87
AJ
138962012-05-23 Andreas Jaeger <aj@suse.de>
13897
13898 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
13899 * sysdeps/unix/sysv/linux/poll.c: Remove file.
13900
1a09dc56
AJ
139012012-05-23 Andreas Jaeger <aj@suse.de>
13902 Maximilian Attems <max@stro.at>
13903
13904 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
13905 New macros.
13906
1c87aba0
L
139072012-05-23 H.J. Lu <hongjiu.lu@intel.com>
13908
13909 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
13910 code so that pseudo_end is just ret and the stack pointer is
13911 correct also for static library in error case.
13912
40e45bd5
JM
139132012-05-23 Joseph Myers <joseph@codesourcery.com>
13914
c2670533
JM
13915 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
13916 move to syscalls.list.
13917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13921
40e45bd5
JM
13922 * manual/install.texi (Running make install): Do not mention Linux
13923 kernel version for which pt_chown is not needed.
13924 (Linux): Do not mention problems with nscd with 2.0 kernels.
13925 * INSTALL: Regenerated.
13926
be08eda5
AJ
139272012-05-23 Andreas Jaeger <aj@suse.de>
13928
13929 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
13930 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
13931 macro.
13932 * sysdeps/unix/sysv/linux/s390/bits/mman.h
13933 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13934 * sysdeps/unix/sysv/linux/sh/bits/mman.h
13935 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13936 * sysdeps/unix/sysv/linux/i386/bits/mman.h
13937 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13938 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
13939 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
13941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
13942 * sysdeps/unix/sysv/linux/bits/in.h
13943 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
13944
a6a056bb
RM
139452012-05-22 Roland McGrath <roland@hack.frob.com>
13946
13947 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
13948 (PREPARE_VERSION): Just use assert instead, it will be elided
13949 under [NDEBUG] anyway.
13950
c9009328
L
139512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13952
13953 * sysdeps/unix/sysv/linux/Makefile: Include
13954 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 13955 (sysdep_routines): Remove sysctl.
c9009328
L
13956 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
13957 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
13958 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
13959 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
13960 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
13961
73338355
AJ
139622012-05-22 Andreas Jaeger <aj@suse.de>
13963
13964 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
13965 that pseudo_end is just ret and the stack pointer is correct also
13966 for static library in error case.
13967
d44638b0
PP
139682012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
13969
13970 [BZ #14122]
13971 * nss/nsswitch.c (defconfig_entries): New variable.
13972 (__nss_database_lookup): Don't leak defconfig entries.
13973 (nss_parse_service_list): Don't leak on error paths.
13974 (free_database_entries): New function.
13975 (free_defconfig): New function.
13976 (free_mem): Move common code to free_database_entries.
13977
31a39bd8
L
139782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
13979
da0331a8
L
13980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
13981 Add arch_prctl.
13982 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
13983
31a39bd8
L
13984 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13985 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
13986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
13987 New macro.
13988 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
13989 (INTERNAL_SYSCALL_TYPES): Likewise.
13990 (LOAD_ARGS_TYPES_[1-6]): Likewise.
13991 (LOAD_REGS_TYPES_[1-6]): Likewise.
13992 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
13993 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
13994
45470df3
AZ
139952012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13996
13997 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
13998 copysignl for GLIBC_2_0.
13999 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
14000 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
14001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
14002 logbl for GLIBC_2_0.
14003 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14004 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14005
98a61bcb
L
140062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14007
a4f6e481
L
14008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
14009 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14010
f63d5db6
L
14011 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
14012 Use "neg %eax".
14013
98a61bcb
L
14014 * time/mktime.c: Update copyright years.
14015
95770f14
PE
140162012-05-22 Paul Eggert <eggert@cs.ucla.edu>
14017
6226efbd
PE
14018 mktime: merge comment-quoting-style change from gnulib
14019 * time/mktime.c: Quote 'like this' in comments.
14020 The GNU coding standards suggest that we no longer quote `like this',
14021 as "`" and "'" are typically rendered asymmetrically nowadays.
14022 The typical gnulib style is to quote 'like this' when quoting
14023 code, and "like this" when quoting English.
14024
b99e4f78
PE
14025 * time/mktime.c (compile-command): Add "-I.".
14026
643e01e6
PE
14027 mktime: merge mktime-internal.h change from gnulib
14028 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
14029
2554247d
PE
14030 mktime: merge time_r change from gnulib
14031 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
14032
826dd0ab
PE
14033 mktime: merge DEBUG change from gnulib
14034 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
14035 case system <time.h> has a #define.
14036
bd83aabe
PE
14037 mktime: merge <sys/types.h> change from gnulib
14038 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
14039 since <time.t> is now guaranteed to define time_t.
14040
95770f14
PE
14041 mktime: merge HAVE_CONFIG_H change from gnulib
14042 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
14043
5e1a27a9
L
140442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
14045
0e44a77e
L
14046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14047 Use "neg %eax".
14048
5e1a27a9
L
14049 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
14050 __rlim_t cast.
14051 (struct rusage): Use anonymous union to pad each field to
14052 __syscall_slong_t.
14053
46259bec
DM
140542012-05-21 David S. Miller <davem@davemloft.net>
14055
14056 * Makefules (o-iterator): Remove .s cases.
14057 (compile-command.s): Delete.
14058 (COMPILE.s): Delete.
14059 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
14060
59f0c22e
JM
140612012-05-21 Joseph Myers <joseph@codesourcery.com>
14062
14063 * configure.in (libc_cv_predef_stack_protector): Only consider
14064 "foobar" and "__stack_chk_fail" lines in libc_undefs.
14065 * configure: Regenerated.
14066
20c07380
L
140672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14068
bbb3154b
L
14069 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
14070 New macro. Use R*LP on int and pointer.
14071 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
14072 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
14073 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
14074 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
14075
20c07380
L
14076 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
14077 [__WORDSIZE_TIME64_COMPAT32] instead of
14078 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
14079 (struct utmp): Likewise.
14080 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
14081 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
14082 Renamed to ...
14083 (__WORDSIZE_TIME64_COMPAT32): This.
14084 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14085 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14086 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14087 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14088 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
14089 (__WORDSIZE_TIME64_COMPAT32): New macro.
14090
d8d1017e
AJ
140912012-05-21 Andreas Jaeger <aj@suse.de>
14092
14093 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
14094 only if [SHARED]. Add prototype for __wcschr_ia32.
14095
6c7fb145
RM
140962012-05-21 Roland McGrath <roland@hack.frob.com>
14097
14098 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
14099 of %rbp unmolested in the jmp_buf while mangling the low bits.
14100 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
14101 unmolested high bits of %rbp while demangling the low bits.
14102 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
14103
66274218
AJ
141042012-05-21 Andreas Jaeger <aj@suse.de>
14105
07c58f8f
AJ
14106 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
14107 * sunrpc/svc_simple.c: Use it for registerrpc.
14108 * sunrpc/xcrypt.c: Use it for passwd2des.
14109
66274218
AJ
14110 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
14111
61f65140
L
141122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
14115 Don't define if [__SYSCALL_WORDSIZE != 32].
14116 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
14117 New macro.
14118
5fefb436
AJ
141192012-05-21 Bruno Haible <bruno@clisp.org>
14120 Andreas Jaeger <aj@suse.de>
14121
14122 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
14123 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
14124 inptr and inend for must_buffer_ch.
14125 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
14126 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
14127 * stdio-common/Makefile (tests): Remove bug15.
14128 (bug15-ENV): Remove macro.
14129 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
14130 anymore.
14131
d8e272ab
AJ
141322012-05-19 Andreas Jaeger <aj@suse.de>
14133 Roland McGrath <roland@hack.frob.com>
14134
14135 * manual/contrib.texi: Completely rewritten. It contains now an
14136 alphabetical list of contributors and their contributions.
14137
4a56a162
RH
141382012-05-21 Richard Henderson <rth@twiddle.net>
14139
14140 * misc/getauxval.c (__getauxval): Use unsigned long int.
14141 * misc/sys/auxv.h: Include <sys/cdefs.h>.
14142 (getauxval): Use unsigned long int.
14143
d024d23c
L
141442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
14145
14146 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
14147
cbc00a03
RM
141482012-05-21 Roland McGrath <roland@hack.frob.com>
14149
14150 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
14151 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
14152 __alignof__ (long double).
14153
478143fa
AZ
141542012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14155
14156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14157
c7683a6d
RH
141582012-05-20 Richard Henderson <rth@twiddle.net>
14159
14160 * misc/getauxval.c: New file.
14161 * misc/sys/auxv.h: New file.
14162 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
14163 (routines): Add getauxval.
14164 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
14165 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
14166 * elf/dl-sysdep.c (_dl_auxv): Remove.
14167 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
14168 * elf/dl-support.c (_dl_auxv): New variable.
14169 (_dl_aux_init): Initialize it.
14170 * manual/startup.texi (Auxiliary Vector): New node.
14171 * sysdeps/generic/bits/hwcap.h: New file.
14172 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
14173 * sysdeps/powerpc/sysdep.h: ... here. Include it.
14174 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
14175 * sysdeps/sparc/sysdep.h: ... here. Include it.
14176 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
14177 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
14178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14179 Update.
c7683a6d
RH
14180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
14181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
14182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
14183 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
14184 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
14186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
14187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
14188
a6f1845d
AZ
141892012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14190
14191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14192
cbcbe830
DM
141932012-05-19 David S. Miller <davem@davemloft.net>
14194
14195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14196
e0b16cc2
JM
141972012-05-19 Joseph Myers <joseph@codesourcery.com>
14198
14199 [BZ #14123]
14200 * math/s_ccosh.c: Include <float.h>
14201 (__ccosh): Avoid internal overflow calculating sinh and cosh
14202 values before multiplying by sin and cos values.
14203 * math/s_ccoshf.c: Likewise.
14204 * math/s_ccoshl.c: Likewise.
14205 * math/s_csin.c: Likewise.
14206 * math/s_csinf.c: Likewise.
14207 * math/s_csinl.c: Likewise.
14208 * math/s_csinh.c: Likewise.
14209 * math/s_csinhf.c: Likewise.
14210 * math/s_csinhl.c: Likewise.
14211 * math/libm-test.inc (ccos_test): Add more tests.
14212 (ccosh_test): Likewise.
14213 (csin_test): Likewise.
14214 (csinh_test): Likewise.
14215 * sysdeps/i386/fpu/libm-test-ulps: Update.
14216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14217
6ad13e08
L
142182012-05-19 H.J. Lu <hongjiu.lu@intel.com>
14219
f66f0ce8
L
14220 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
14221 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14222
6ad13e08
L
14223 * sysdeps/x86_64/x32/_itoa.h: Add comment.
14224
b1d072a7
JM
142252012-05-19 Joseph Myers <joseph@codesourcery.com>
14226
14227 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
14228 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
14229 * sysdeps/powerpc/soft-fp/Versions: Likewise.
14230 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
14231 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
14232 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
14233 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
14234 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
14235 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
14236 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
14237 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
14238 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
14239 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
14240 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
14241 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
14242 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
14243 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
14244 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
14245 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
14246 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
14247 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
14248 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
14249 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
14250 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
14251 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
14252 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
14253 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
14254 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
14255 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
14256 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
14257 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
14258
9eae47cb
AJ
142592012-05-18 Andreas Jaeger <aj@suse.de>
14260
14261 * csu/.gitignore: Delete.
14262
bb07f69f
L
142632012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14264
14265 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
14266 (timex): Use __syscall_slong_t.
14267
e6bdb741
AJ
142682012-05-18 Andreas Jaeger <aj@suse.de>
14269 Carlos O'Donell <carlos_odonell@mentor.com>
14270
14271 * manual/install.texi (Configuring and compiling): Update
14272 description about files modified in the source directory.
d6c33fda 14273 * INSTALL: Regenerated.
e6bdb741 14274
1b74487e
L
142752012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14276
14277 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
14278 value. Use "or" to set return value to -1.
14279 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
14280 negate return value.
14281
a88b64b9
TMQMF
142822012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14283
14284 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
14285 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
14286 failure if the compiler has Graphite support disabled.
14287 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
14288 Likewise.
14289 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
14290 CFLAGS-memmove.c): Likewise.
14291 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
14292 Likewise.
14293
3707636e
L
142942012-05-18 H.J. Lu <hongjiu.lu@intel.com>
14295
610b8622
L
14296 * sysdeps/x86_64/x32/_itoa.h: New file.
14297
7cd195df
L
14298 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
14299 getdents system call only if kernel and user dirents have the
14300 same d_ino and d_off.
14301
94b07d20
L
14302 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
14303 LLONG_MAX != LONG_MAX.
14304 (_itoa_word): Use _ITOA_WORD_TYPE on value.
14305 (_fitoa_word): Likewise.
14306
18298070
L
14307 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
14308 years.
14309 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
14310 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
14311 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
14312
553c7ea4
L
14313 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
14314 include <bits/wordsize.h>. Check __x86_64__ instead of
14315 __WORDSIZE.
14316 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
14317 if __x86_64__ is defined. Use anonymous union on fpstate.
14318
3707636e
L
14319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
14320 anonymous union.
14321
b53ef01a
AS
143222012-05-18 Andreas Schwab <schwab@linux-m68k.org>
14323
37fb1dc0
AS
14324 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
14325 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
14326 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
14327 Refer to _rtld_local_ro instead of _rtld_global_ro.
14328 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
14329 Likewise.
14330 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
14331 Likewise.
14332 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
14333 Likewise.
14334 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
14335 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
14336 of _rtld_global, and rtld_progname instead of _dl_argv[0].
14337
b53ef01a
AS
14338 * sysdeps/powerpc/powerpc32/dl-machine.c
14339 (__elf_machine_runtime_setup) [PROF]: Don't reference
14340 _dl_prof_resolve.
14341
7a185db2
AJ
143422012-05-18 Andreas Jaeger <aj@suse.de>
14343
14344 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
14345 function only available for GCCs before 3.4 since GCC 3.4
14346 introduced a builtin.
14347 (lrint): Likewise.
14348 (llrintf): Likewise.
14349 (llrint): Likewise.
14350 (fmaxf): Likewise.
14351 (fmax): Likewise.
14352 (fminf): Likewise.
14353 (fmin): Likewise.
14354 (rint): Likewise.
14355 (rintf): Likewise.
14356 (nearbyint): Likewise.
14357 (nearbyintf): Likewise.
14358 (ceil): Likewise.
14359 (ceilf): Likewise.
14360 (floor): Likewise.
14361 (floorf): Likewise.
14362
3e5aef87
L
143632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14364
428bd707
L
14365 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
14366 on both fields and cast pointer to __syscall_ulong_t.
14367
3e5aef87
L
14368 * bits/types.h (__fsword_t): New type.
14369 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
14370 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
14371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14372 (__FSWORD_T_TYPE): Likewise.
14373 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14374 (__FSWORD_T_TYPE): Likewise.
14375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14376 (__FSWORD_T_TYPE): Likewise.
14377 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
14378 (__FSWORD_T_TYPE): Likewise.
14379 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
14380 __SWORD_TYPE with __fsword_t.
14381 (statfs64): Likewise.
14382
1ba7c3dc
DM
143832012-05-17 David S. Miller <davem@davemloft.net>
14384
14385 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
14386
59910343
AJ
143872012-05-17 Andreas Jaeger <aj@suse.de>
14388
14389 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
14390 warning.
14391
2e4c1e9e
L
143922012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14393
14394 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
14395
de7f5ce7
AJ
143962012-05-17 Andreas Jaeger <aj@suse.de>
14397
14398 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
14399 when it is used.
14400
286abc3d
CM
144012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14402
14403 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
14404
477cc68e
L
144052012-05-17 H.J. Lu <hongjiu.lu@intel.com>
14406
14407 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
14408 * sysdeps/x86_64/tst-mallocalign1.c: New file.
14409
1a0994f5
CD
144102012-05-17 Andreas Jaeger <aj@suse.de>
14411 Carlos O'Donell <carlos_odonell@mentor.com>
14412
14413 [BZ #14059]
14414 * sysdeps/x86_64/multiarch/init-arch.h
14415 (bit_YMM_Usable): Rename to...
14416 (bit_AVX_Usable): ... this.
14417 (bit_FMA4_Usable): New macro.
14418 (bit_XMM_state): New macro.
14419 (bit_YMM_state): New macro.
14420 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
14421 [__ASSEMBLER__] (index_AVX_Usable): ... this.
14422 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
14423 (CPUID_OSXSAVE): New macro.
14424 (CPUID_AVX): New macro.
14425 (CPUID_FMA4): New macro.
14426 (index_YMM_Usable): Rename to...
14427 (index_AVX_Usable): ... this.
14428 (HAS_AVX): Use HAS_ARCH_FEATURE.
14429 (HAS_FMA4): Likewise.
14430 (HAS_YMM_USABLE): Remove.
14431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14432 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
14433 are present.
14434 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
14435 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
14436 * sysdeps/x86_64/multiarch/Makefile: Likewise.
14437 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
14438 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
14439
0af797de
CM
144402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
14441
14442 * math/libm-test.c: Support platforms without multiple rounding modes.
14443 * math/bug-nextafter.c: Support platforms without FP exceptions.
14444 * math/bug-nexttoward.c: Likewise.
14445 * math/test-fenv.c: Likewise.
14446 * math/test-misc.c: Likewise.
14447 * stdlib/bug-getcontext.c: Likewise.
14448
e39745ff
AJ
144492012-05-17 Andreas Jaeger <aj@suse.de>
14450
14451 * manual/examples/search.c (critter_cmp): Change signature to
14452 avoid warnings.
14453 * manual/string.texi (Collation Functions): Likewise.
14454
48970aba
L
144552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14456
14457 * bits/types.h: Fold copyright years.
14458 * bits/typesizes.h: Likewise.
14459 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
14460 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
14461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
14462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
14463 * time/time.h: Likewise.
14464
bedee953
PP
144652012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
14466
14467 [BZ #208]
14468 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
14469 in instead of returning them. Return void.
14470 (__libc_mallinfo): Accumulate over all arenas.
14471 (__malloc_stats): Adjust for change in int_mallinfo interface.
14472
61653dfb
RM
144732012-05-16 Roland McGrath <roland@hack.frob.com>
14474
30b99d79
RM
14475 [BZ #10375]
14476 * configure.in (NM): Add AC_CHECK_TOOL for it.
14477 (libc_extra_cflags): New substituted variable.
14478 Check for -fstack-protector being used implicitly.
14479 * configure: Regenerated.
14480 * config.make.in (config-extra-cflags): New variable,
14481 gets @libc_extra_cflags@.
14482 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
14483
61653dfb
RM
14484 [BZ #10375]
14485 * configure.in: Check for _FORTIFY_SOURCE being predefined.
14486 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
14487 * configure: Regenerated.
14488 * config.make.in (CPPUNDEFS): New substituted variable.
14489 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
14490 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
14491 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
14492
661768bb
L
144932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14494
14495 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
14496 (mq_attr): Use __syscall_slong_t.
14497
d4261567
L
144982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14499
14500 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
14501 Check __x86_64__ instead of __WORDSIZE.
14502 (_STAT_VER_LINUX): Likewise.
14503 (stat): Check __x86_64__ instead of __WORDSIZE. Use
14504 __syscall_ulong_t and __syscall_slong_t.
14505 (stat64): Likewise.
14506
cf3ff365
L
145072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14508
14509 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
14510
76cf3e4d
L
145112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14512
14513 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
14514
a637753a
L
145152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14516
14517 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
14518 __syscall_ulong_t.
14519
d5e05119
L
14520 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
14521 include <bits/wordsize.h>. Check __x86_64__ instead of
14522 __WORDSIZE.
14523 (greg_t): Use "__extension__ long long int" if __x86_64__ is
14524 defined.
14525 (mcontext_t): Replace "unsigned long" with "unsigned long long".
14526
f62ee380
L
14527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
14528 include <bits/wordsize.h>. Check __x86_64__ instead of
14529 __WORDSIZE.
14530 (user_regs_struct): Use "__extension__ unsigned long long"
14531 instead of "unsigned long" if __x86_64__ is defined.
14532 (user): Likewise. Pad after pointer field if __ILP32__ is
14533 defined.
14534
4e124ced
JM
145352012-05-16 Joseph Myers <joseph@codesourcery.com>
14536
6a3951a0
JM
14537 * configure.in (makeinfo): Require version 4.5 or later. Allow
14538 versions 5 to 9.
14539 * configure: Regenerated.
14540 * manual/install.texi (texinfo): Increase version requirement to
14541 4.5 or later.
14542 * INSTALL: Regenerated.
14543
4e124ced
JM
14544 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
14545
953ca31a
L
145462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
14547
14548 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
14549
617aca05
L
14550 * sysdeps/x86_64/x32/ffs.c: New file.
14551
5762f7ae
L
14552 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
14553 __syscall_ulong_t.
14554 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
14555 defined. Use __syscall_ulong_t.
14556 (shminfo): Use __syscall_ulong_t.
14557 (shm_info): Likewise.
14558
a26b6856
L
14559 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
14560 __syscall_ulong_t.
14561
cb2b9ef7
L
14562 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
14563 <bits/wordsize.h>.
14564 (msgqnum_t): Use __syscall_ulong_t.
14565 (msglen_t): Likewise.
14566 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
14567 __syscall_ulong_t.
14568
34683bb0
L
14569 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
14570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14571
84a68786
L
14572 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
14573
48baa5f1
L
14574 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
14575 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
14576
180be88b
L
14577 * sysvipc/sys/msg.h (msgbuf): Replace long int with
14578 __syscall_slong_t.
14579
5e90c8ad
L
14580 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
14581 include <bits/wordsize.h>. Check __x86_64__ instead of
14582 __WORDSIZE.
14583
23dfb58b
L
14584 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
14585 "unsigned long long int" if __x86_64__ is defined.
14586 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
14587
ce5d54b0
L
14588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
14589 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
14590 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
14591
13dc9eac
L
14592 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
14593 <stdint.h>.
14594 (GET_PC): Cast to uintptr_t first.
14595 (GET_FRAME): Likewise.
14596 (GET_STACK): Likewise.
14597
a7895d15
L
14598 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
14599 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
14600 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
14601 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
14602 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
14603 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
14604 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
14605 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
14606 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
14607 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
14608 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
14609 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
14610 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14611 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
14612 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
14613 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
14614 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
14615 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
14616 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
14617 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
14618 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
14619 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
14620 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
14621 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
14622 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
14623 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
14624 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
14625 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
14626 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
14627
656416c9
AS
146282012-05-16 Andreas Schwab <schwab@linux-m68k.org>
14629
5bd66283
AS
14630 * Makerules (+depfiles): Also collect depfiles from .oS in
14631 $(extra-objs).
14632 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
14633 .oS, $(libnldbl-routines)).
14634
656416c9
AS
14635 * Makerules (native-compile-mkdep-flags): Define.
14636 * sunrpc/Makefile (extra-objs): Add $(addprefix
14637 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
14638 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
14639 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
14640 calling $(make-target-directory).
14641
a46f2169
L
146422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14643
14644 * bits/types.h (__snseconds_t): Removed.
14645 * time/time.h (struct timespec): Replace __snseconds_t with
14646 __syscall_slong_t.
14647 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
14648 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
14649 Likewise.
14650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14651 (__SNSECONDS_T_TYPE): Likewise.
14652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14653 (__SNSECONDS_T_TYPE): Likewise.
14654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14655 (__SNSECONDS_T_TYPE): Likewise.
14656
6af6528b
L
146572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14658
14659 * sysdeps/mach/hurd/bits/typesizes.h
14660 (__SYSCALL_SLONG_TYPE): New macro.
14661 (__SYSCALL_ULONG_TYPE): Likewise.
14662
de986b56
L
146632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14664
14665 * bits/types.h (__syscall_slong_t): New type.
14666 (__syscall_ulong_t): Likewise.
14667
14668 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
14669 (__SYSCALL_ULONG_TYPE): Likewise.
14670 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14671 (__SYSCALL_SLONG_TYPE): Likewise.
14672 (__SYSCALL_ULONG_TYPE): Likewise.
14673 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14674 (__SYSCALL_SLONG_TYPE): Likewise.
14675 (__SYSCALL_ULONG_TYPE): Likewise.
14676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14677 (__SYSCALL_SLONG_TYPE): Likewise.
14678 (__SYSCALL_ULONG_TYPE): Likewise.
14679
85736dc7
L
146802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
14683 Add sigaltstack-offsets.sym.
14684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
14685 <sigaltstack-offsets.h>.
14686 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
14687 longjmp_msg pointer.
14688 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
14689 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
14690 signal stack.
14691 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
14692
cc03b296
JM
146932012-05-15 Joseph Myers <joseph@codesourcery.com>
14694
a9538892
JM
14695 * elf/stackguard-macros.h: Remove file.
14696 * sysdeps/generic/stackguard-macros.h: New file.
14697 * sysdeps/i386/stackguard-macros.h: Likewise.
14698 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14699 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14700 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14701 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14702 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14703 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14704 * sysdeps/x86_64/stackguard-macros.h: Likewise.
14705 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
14706 <elf/stackguard-macros.h>.
14707
cc03b296
JM
14708 [BZ #14109]
14709 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
14710 __aligned__ in attribute.
14711 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
14712 (gregset_t): Likewise.
14713
93171016
L
147142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14715
14716 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
14717 * sysdeps/x86_64/64/Implies-after: Here. New file.
14718 * sysdeps/x86_64/x32/Implies-after: New file.
14719
d86813a0
L
147202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14721
14722 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
14723 and access return value for _dl_profile_fixup. Use R10_LP to
14724 load frame size.
14725
2953ec75
L
147262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14727
14728 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
14729
3b550e9e
L
147302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14731
14732 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
14733 * sysdeps/x86_64/x32/sysdep.h: New file.
14734
eda41706
L
147352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14736
14737 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
14738 * sysdeps/x86_64/setjmp.S: Likewise.
14739
9ea01d93
AZ
147402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14741
14742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
14743 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
14744 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
14745 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
14746 remove unused global constant.
14747
02a91938
CM
147482012-05-15 Chris Metcalf <cmetcalf@tilera.com>
14749
14750 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
14751 include of <not-cancel.h>.
14752
6540185f
RM
147532012-05-15 Roland McGrath <roland@hack.frob.com>
14754
14755 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
14756
509072a0
AJ
147572012-05-15 Jeff Law <law@redhat.com>
14758 Andreas Jaeger <aj@suse.de>
14759
14760 [BZ #13594]
14761 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
14762 out from...
14763 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
14764 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
14765 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
14766 code changing __hst_map_handle.map.
14767
ba75122d
RM
147682012-05-15 Roland McGrath <roland@hack.frob.com>
14769
14770 * configure.in (sysnames): Look for Implies-before and Implies-after
14771 files.
14772 * configure: Regenerated.
14773
890d8bd8
L
147742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14775
14776 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
14777 8-byte data alignment with LP_SIZE alignment.
14778
f6ee6623
L
147792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14780
14781 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
14782 into R10_LP.
14783
ea2626f6
L
147842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14785
14786 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
14787
085f715e
L
147882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14789
14790 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
14791 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14792 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
14793 Likewise.
14794 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14795
be8498fc
L
147962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14797
14798 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
14799 (stackinfo_sub_sp): Likewise.
14800
70bc83b9
L
148012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14802
14803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
14804 RAX_LP.
14805
9bc0b730
L
148062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14807
14808 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
14809 into R*_LP.
14810
6d2850e7
L
148112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14812
14813 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
14814 sizes into R*_LP.
14815
3cb84561
L
148162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14817
14818 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
14819
54e2ed81
L
148202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14821
14822 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
14823 into R11_LP and load __x86_64_shared_cache_size_half into
14824 R8_LP.
14825
8a17f349
L
148262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
14827
14828 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14829 R8_LP.
14830
777b1eea
AZ
148312012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14832
14833 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
14834 logb for POWER7.
14835 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
14836 logbf for POWER7.
14837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
14838 logbl for POWER7.
14839 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
14840 powerpc32/power7/fpu/s_logb.c via #include.
14841 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
14842 powerpc32/power7/fpu/s_logbf.c via #include.
14843 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
14844 powerpc32/power7/fpu/s_logbl.c via #include.
14845
d20d4ac2
JM
148462012-05-15 Joseph Myers <joseph@codesourcery.com>
14847
14848 * README.libm: Remove file.
14849
6cdef1ab
L
148502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14851
14852 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
14853 count for x32. Use R*_LP and omit operand-size suffix.
14854
0b254d8f
L
148552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14856
14857 * shlib-versions: Move x86_64-.*-linux.* entries to ...
14858 * sysdeps/x86_64/64/shlib-versions: Here. New file.
14859 * sysdeps/x86_64/x32/shlib-versions: New file.
14860
ceb809dc
RM
148612012-05-14 Roland McGrath <roland@hack.frob.com>
14862
14863 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
14864 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
14865 Use _dl_fatal_printf instead.
14866
37f1abd4
JM
148672012-05-14 Joseph Myers <joseph@codesourcery.com>
14868
14869 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
14870 set if not set by the user. Do not allow for being unset.
14871 * sysdeps/unix/sysv/linux/configure: Regenerated.
14872
11de3a33
L
148732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14874
14875 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
14876 the `q' suffix from lea and replace .quad with ASM_ADDR.
14877
e02f153a
L
148782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14879
14880 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
14881 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
14882 instead of $17.
14883 (PTR_DEMANGLE): Likewise.
14884
520ae0fd
L
148852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14886
14887 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
14888 (LP_OP): Likewise.
14889 (ASM_ADDR): Likewise.
14890 (RAX_LP): Likewise.
14891 (RBP_LP): Likewise.
14892 (RBX_LP): Likewise.
14893 (RCX_LP): Likewise.
14894 (RDI_LP): Likewise.
14895 (RSI_LP): Likewise.
14896 (RSP_LP): Likewise.
14897 (R8_LP): Likewise.
14898 (R9_LP): Likewise.
14899 (R10_LP): Likewise.
14900 (R10_LP): Likewise.
14901 (R11_LP): Likewise.
14902 (R12_LP): Likewise.
14903 (R13_LP): Likewise.
14904 (R14_LP): Likewise.
14905 (R15_LP): Likewise.
14906
b985be81
L
149072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14908
14909 * sysdeps/x86_64/x32/dl-machine.h: New file.
14910
6a4888ff
AJ
149112012-05-14 Andreas Jaeger <aj@suse.de>
14912
14913 * manual/Makefile (subdir): Remove export of subdir.
14914 (all): Remove target.
14915 (.PHONY): Remove all from list.
14916 (mkinstalldirs): Remove.
14917 (.PHONY): Remove installdirs from list.
14918 ($(inst_infodir)/libc.info): Use make-target-directory.
14919 (installdirs): Remove.
14920 (subdir_%): Remove.
14921 (glibc-targets): Remove.
14922 (lib): Remove.
14923 (stubs): Remove.
14924 ($(objpfx)stubs ../po/manual.pot): Remove.
14925 ($(objpfx)stamp%): Remove.
14926 (make-target-directory): Remove.
14927 (subdir_install): Remove.
14928 (routines): Remove.
14929 (aux): Remove.
14930 (sources): Remove.
14931 (objects): Remove.
14932 (headers): Remove.
14933
14934 [BZ #13750]
14935 * manual/.gitignore: Remove, it's not needed anymore.
14936 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
14937 all files in it.
14938 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
14939 directory.
14940 (texis): Renamed to $(objpfx)texis.
14941 (texis-path): New, contains path to generated files.
14942 (chapters.%): Use texis-path for complete path, add extra argument
14943 libc-texinfo.sh.
14944 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14945 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
14946 (summary,texi, stamp-summary): Use complete path of
14947 files. Generate files in build dir.
14948 (dir-add.texi): Build in build dir.
14949 (libm-err.texi,stamp-libm-err): Likewise.
14950 (version.texi, stamp-version): Likewise.
14951 (.%c.texi): Likewise.
14952 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
14953 (mostlyclean): Remove target.
14954 (realclean): Remove target.
14955 (generated): Add new variable with contents from mostlyclean and
14956 realclean, remove entries duplicated in common-mostlyclean, add
14957 stamp-libm-err and stamp-version.
14958 (generated-dirs): Add libc directory.
14959 ($(inst_infodir)/libc.info): Install files from build dir.
14960
14961 * manual/install.texi (Configuring and compiling): Adjust since
14962 the info files are not part of the tar ball anymore.
14963
7ac77294
AJ
149642012-05-14 Andreas Jaeger <aj@suse.de>
14965
14966 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
14967 variable.
14968
ffb7875d
JM
149692012-05-14 Joseph Myers <joseph@codesourcery.com>
14970
14971 [BZ #13717]
14972 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
14973 to 2.2.0 where earlier.
14974 * sysdeps/unix/sysv/linux/configure: Regenerated.
14975 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
14976 Remove conditional code.
14977 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
14978 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
14979 Remove conditional code.
14980 [!__NR_lchown]: Likewise.
14981 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
14982 [__NR_lchown]: Likewise.
14983 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
14984 comment referencing __ASSUME_LCHOWN_SYSCALL.
14985 * sysdeps/unix/sysv/linux/i386/sigaction.c
14986 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
14987 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
14988 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
14989 Remove conditional code.
14990 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
14991 (__protocol_available): Remove #if 0 code.
14992 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
14993 conditional code.
14994 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
14995 * sysdeps/unix/sysv/linux/kernel-features.h
14996 (__ASSUME_GETCWD_SYSCALL): Don't define.
14997 (__ASSUME_REALTIME_SIGNALS): Likewise.
14998 (__ASSUME_PREAD_SYSCALL): Likewise.
14999 (__ASSUME_PWRITE_SYSCALL): Likewise.
15000 (__ASSUME_POLL_SYSCALL): Likewise.
15001 (__ASSUME_LCHOWN_SYSCALL): Likewise.
15002 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
15003 non-SPARC.
15004 (__ASSUME_SIOCGIFNAME): Don't define.
15005 (__ASSUME_MSG_NOSIGNAL): Likewise.
15006 (__ASSUME_SENDFILE): Define unconditionally.
15007 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
15008 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
15009 conditional code.
15010 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
15011 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
15012 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15013 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15014 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
15015 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
15016 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
15018 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15019 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15021 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15022 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
15024 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
15027 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
15030 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15033 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
15034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
15036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15039 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15041 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
15042 Remove conditional code.
15043 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15044 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15045 Remove conditional code.
15046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15047 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
15048 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
15049 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15050 Remove conditional code.
15051 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15052 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
15053 Remove conditional code.
15054 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15055 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
15056 Remove conditional code.
15057 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15058 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
15059 Remove conditional code.
15060 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
15061 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
15062 Remove conditional code.
15063 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15064 * sysdeps/unix/sysv/linux/sh/pwrite64.c
15065 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
15066 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
15067 * sysdeps/unix/sysv/linux/sigaction.c
15068 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15069 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15070 * sysdeps/unix/sysv/linux/sigpending.c
15071 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15072 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15073 * sysdeps/unix/sysv/linux/sigprocmask.c
15074 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15075 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15076 * sysdeps/unix/sysv/linux/sigsuspend.c
15077 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
15078 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
15079 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
15080 (__libc_missing_rt_sigs): Remove.
15081 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
15082 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
15083 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
15084 Remove conditional code.
15085 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
15086 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
15087 return 1.
15088 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
15089 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
15090 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
15091 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
15092
1bfb7291
AJ
150932012-05-14 Andreas Jaeger <aj@suse.de>
15094
caae5a81
AJ
15095 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
15096 it's not used in glibc.
15097 (__coshm1): Likewise.
15098 (__acosh1p): Likewise.
15099 (__sgn): Likewise.
15100
1bfb7291
AJ
15101 * manual/string.texi (Copying and Concatenation): Add missing
15102 variable in concat example.
15103 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15104
c044d724
L
151052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15106
144c5467 15107 [BZ #14103]
c044d724
L
15108 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
15109 __builtin_clzl with __builtin_clzll.
15110
2523c62b
L
151112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
15112
15113 [BZ #14104]
15114 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
15115 libc_freeres_ptr.
15116
d7bb4c42
LD
151172012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15118
15119 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
15120 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
15121 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
15122 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
15123
9dc4e1fb
MF
151242012-05-14 Mike Frysinger <vapier@gentoo.org>
15125
15126 * NEWS: Update ia64 info.
15127
c7df0112
AS
151282012-05-12 Andreas Schwab <schwab@linux-m68k.org>
15129
15130 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
15131 used as bcopy.
15132
dc70356c
TS
151332012-05-12 Thomas Schwinge <thomas@codesourcery.com>
15134
15135 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
15136 * sysdeps/unix/syscalls.list (dup3): Likewise.
15137 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
15138 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
15139
9fb1a21f
L
151402012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15141
15142 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
15143 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
15144
4822a2a5
L
151452012-05-11 H.J. Lu <hongjiu.lu@intel.com>
15146
15147 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
15148 thread pointer.
15149 (TLS_IE): Use mov/add instead of movq/addq to load thread
15150 pointer.
15151 (TLS_GD_PREFIX): New.
15152 (TLS_GD): Use it.
15153
842b81d6
DM
151542012-05-11 David S. Miller <davem@davemloft.net>
15155
15156 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
15157 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
15158 (_FPU_SETCW): Likewise.
15159
1cf463cd
L
151602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15161
15162 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
15163 is 32-byte aligned.
15164
60cc4a18
AS
151652012-05-11 Andreas Schwab <schwab@linux-m68k.org>
15166
15167 [BZ #11837]
15168 * iconvdata/gb18030.c: Update tables.
15169 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
15170 characters specially.
15171 (BODY for TO_LOOP): Add encoding of missing ranges.
15172
febb44a4
TS
151732012-05-11 Thomas Schwinge <thomas@codesourcery.com>
15174
15175 [BZ #13673]
15176 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
15177 * sysdeps/mach/hurd/dup3.c: Likewise.
15178 * sysdeps/mach/hurd/readlinkat.c: Likewise.
15179 * sysdeps/powerpc/memmove.c:: Likewise.
15180
0a10fb9e
L
151812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15182
15183 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
15184 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
15185
df8a552f
L
151862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15187
15188 * elf/elf.h (R_X86_64_RELATIVE64): New.
15189 (R_X86_64_NUM): Updated.
15190 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
15191 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
15192 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
15193 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
15194 tst-quad1pie tst-quad2pie
15195 (modules-names): Add tst-quadmod1 tst-quadmod2.
15196 ($(objpfx)tst-quad1): New dependency.
15197 ($(objpfx)tst-quad2): Likewise.
15198 ($(objpfx)tst-quad1pie): Likewise.
15199 ($(objpfx)tst-quad2pie): Likewise.
15200 * sysdeps/x86_64/tst-quad1.c: New file.
15201 * sysdeps/x86_64/tst-quad1pie.c: New file.
15202 * sysdeps/x86_64/tst-quad2.c: Likewise.
15203 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
15204 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
15205 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
15206 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
15207 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
15208
f34d6f84
ST
152092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15210
f42d41d1
ST
15211 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
15212 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
15213 * streams/stropts.h (t_scalar_t): Define type.
15214
3c3571fc
ST
15215 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
15216 (_PATH_PRESERVE): Set to "/var/lib".
15217 (_PATH_RWHODIR): Set to "/var/spool/rwho".
15218
61f06bd3
ST
15219 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
15220 instead of int.
15221
918d4d71
ST
15222 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
15223 if __dir_mkfile succeeded.
15224
f34d6f84
ST
15225 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
15226 checking for _hurd_dtablesize. Unlock it right after having
15227 finished _hurd_dtable allocation.
15228
10589b4a
TS
152292012-05-10 Thomas Schwinge <thomas@schwinge.name>
15230
674cdbc7
TS
15231 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
15232 * sysdeps/mach/hurd/configure: Regenerated.
15233 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
15234 special-casing to...
15235 * sysdeps/gnu/configure.in: ... this new file.
15236 * sysdeps/unix/sysv/linux/configure: Regenerated.
15237 * sysdeps/gnu/configure: New generated file.
15238
8e41b99f
TS
15239 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
15240 for Linux: use nsec instead of usec, as well as:
15241 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
15242 members of type struct timespec.
15243 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
15244 New macros.
15245 (struct stat64): Likewise.
15246 (_STATBUF_ST_NSEC): New macro.
15247 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
15248
10589b4a
TS
15249 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15250 __strtoul_internal rather than strtoul.
15251
63643c85
PT
152522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15253
15254 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
15255 and reject them.
15256
3faebe6a
ST
152572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15258
15259 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
15260 which preserves existing values.
15261 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
15262
c6474b07
PT
152632012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15264
15265 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
15266 TIMEOUT values. Return EINVAL for NFDS values either negative or
15267 greater than FD_SETSIZE.
15268
1043890b
ST
152692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15270
15271 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
15272 allocated, call __vm_protect to finish enabling the existing space, and
15273 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
15274 allocate the remainder.
15275
37ed8b9b
PT
152762012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15277
15278 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
15279 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
15280
db653660
ST
152812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15282
37ed8b9b
PT
15283 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
15284 sysdeps/mach/hurd/readlink.c.
b29d4053 15285
db653660
ST
15286 * posix/tst-sysconf.c (posix_options): Only use
15287 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
15288 _POSIX_SYNCHRONIZED_IO when they are defined
15289 * sysdeps/mach/hurd/bits/posix_opt.h:
15290 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
15291 (_XOPEN_REALTIME): Undefine macro.
15292 (_XOPEN_REALTIME_THREADS): Undefine macro.
15293 (_XOPEN_SHM): Undefine macro.
15294 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
15295 macro to -1.
15296 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
15297 macro to -1.
15298 (_POSIX_ASYNC_IO): Undefine macro.
15299 (_POSIX_PRIORITIZED_IO): Undefine macro.
15300 (_POSIX_SPIN_LOCKS): Define macro to -1.
15301
ee16e894
ST
15302 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
15303 SA_NODEFER, SA_RESETHAND.
15304 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
15305 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
15306 F_DUPFD_CLOEXEC.
15307
6103ae3b
TS
153082012-05-10 Thomas Schwinge <thomas@schwinge.name>
15309
15310 * elf/Makefile (pldd-modules): Define unconditionally.
15311
80b4e5f3
TS
153122012-05-10 Thomas Schwinge <thomas@schwinge.name>
15313
15314 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
15315
edadcbd6
ST
153162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15317
15318 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
15319 Return ENOENT when name is empty.
15320 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
15321
80694780
TS
153222012-05-10 Thomas Schwinge <thomas@schwinge.name>
15323
1792c087
TS
15324 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
15325
80694780
TS
15326 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
15327
6b645f0d
ST
153282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15329
80694780
TS
15330 Fix mlock in all cases except non-readable pages.
15331 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
15332 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 15333
6b645f0d
ST
15334 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
15335 (__mkdir): When path is `/', just fail with EEXIST.
15336 * sysdeps/mach/hurd/mkdirat.c: Likewise.
15337
e468f8a3
TS
153382012-05-10 Thomas Schwinge <thomas@schwinge.name>
15339
15340 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
15341 <sys/uio.h> (for writev).
15342 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
15343 and <sys/param.h> (for MIN).
15344
a4186cff
PT
153452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
15346
15347 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
15348 REQUESTED_TIME. Properly set the remaining time and return EINTR
15349 if interrupted.
15350
510bbf14
TS
153512012-05-10 Thomas Schwinge <thomas@schwinge.name>
15352
15353 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
15354 Depend on against $(link-rpcuserlibs).
15355
5d5722e8
ST
153562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15357
a4186cff
PT
15358 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
15359 (__libc_stack_end): Do not use attribute_relro.
15360 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
15361 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 15362 to libthread-provided value.
a4186cff
PT
15363 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
15364 attribute_relro.
5d5722e8 15365
37233df9
TS
153662012-05-10 Thomas Schwinge <thomas@schwinge.name>
15367
be971a2b
TS
15368 [BZ #3748]
15369 * bits/libc-lock.h (__libc_once_get): New macro.
15370 * sysdeps/mach/bits/libc-lock.h: Likewise.
15371 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
15372 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
15373 instead of using implementation details.
15374
37233df9
TS
15375 * libio/fileops.c: Unconditionally include <kernel-features.h>.
15376 * libio/freopen.c: Likewise.
15377 * libio/freopen64.c: Likewise.
15378 * misc/syslog.c: Likewise.
15379 * nscd/connections.c: Likewise.
15380 * nscd/netgroupcache.c: Likewise.
15381 * sysdeps/posix/getcwd.c: Likewise.
15382
38de94a5
RM
153832012-05-10 Roland McGrath <roland@hack.frob.com>
15384
15385 * math/w_ilogbf.c: Add #include <limits.h>.
15386
67530489
ST
153872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15388
a4186cff 15389 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
15390 path instead of returning without unlocking.
15391
67530489
ST
15392 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
15393 immediate-write ioctls.
15394 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
15395
5aa3a74a
TS
153962012-05-10 Thomas Schwinge <thomas@schwinge.name>
15397
18bad2ae
TS
15398 * sysdeps/mach/hurd/i386/init-first.c (init): Use
15399 __builtin_frame_address instead of making assumptions about the
15400 location of the return address relative to DATA. Force early load of
15401 the return address.
15402 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
15403 __builtin_frame_address.
15404
5aa3a74a
TS
15405 dup3 for GNU Hurd.
15406 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
15407 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
15408 implement dup3 and do some further code clean-ups.
15409 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
15410 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
15411
ecd0de9a
ST
154122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15413
cd9fa985
ST
15414 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
15415
a4186cff
PT
15416 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
15417 HURD_CRITICAL_END around holding _hurd_dtable_lock.
15418 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
15419 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
15420 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
15421 d->port.lock.
802ca5a5 15422
a4186cff
PT
15423 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
15424 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
15425 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 15426
bcf55240
TS
154272012-05-10 Thomas Schwinge <thomas@schwinge.name>
15428
6960eb42
TS
15429 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
15430 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
15431 definitions.
15432
eb43375f
TS
15433 accept4 for GNU Hurd.
15434 * include/sys/socket.h (__libc_accept4): New prototype.
15435 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
15436 to implement __libc_accept4.
15437 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
15438 __libc_accept4.
15439 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
15440
bcf55240
TS
15441 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
15442 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
15443 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
15444 signal-defines.sym.
15445
6178c55b
ST
154462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15447
a4186cff 15448 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 15449
6f080c2f
TS
154502012-05-10 Thomas Schwinge <thomas@schwinge.name>
15451
15452 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
15453 assertion on O_CLOEXEC flag.
15454 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
15455 * hurd/intern-fd.c: Likewise.
15456 * hurd/port2fd.c: Likewise.
15457
bcfe3a54
ST
154582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
15459
15460 [BZ #3906]
15461 * bits/in.h (IPV6_PKTINFO): Define new macro.
15462 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
15463
89c9aa49
AZ
154642012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15465
15466 [BZ #13954]
15467 [BZ #13955]
15468 [BZ #13956]
15469 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
15470 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15471 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
15472 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15473 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15474 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15475 * math/libm-test.inc (logb_test) : Additional logb tests.
15476
021db4be
AJ
154772012-05-09 Andreas Schwab <schwab@linux-m68k.org>
15478 Andreas Jaeger <aj@suse.de>
15479
15480 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
15481 * configure: Regenerated.
15482 * config.h.in (LINK_OBSOLETE_RPC): New macro.
15483 * config.make.in (link-obsolete-rpc): New substituted variable.
15484 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
15485 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
15486 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15487 (shared-only-routines): Don't set it under [link-obsolete-rpc],
15488 so that libc.a contains the symbols.
15489 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
15490 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
15491 * sunrpc/auth_none.c: Likewise.
15492 * sunrpc/auth_unix.c: Likewise.
15493 * sunrpc/authdes_prot.c: Likewise.
15494 * sunrpc/authuxprot.c: Likewise.
15495 * sunrpc/clnt_gen.c: Likewise.
15496 * sunrpc/clnt_perr.c: Likewise.
15497 * sunrpc/clnt_raw.c: Likewise.
15498 * sunrpc/clnt_simp.c: Likewise.
15499 * sunrpc/clnt_tcp.c: Likewise.
15500 * sunrpc/clnt_udp.c: Likewise.
15501 * sunrpc/clnt_unix.c: Likewise.
15502 * sunrpc/des_crypt.c: Likewise.
15503 * sunrpc/des_soft.c: Likewise.
15504 * sunrpc/get_myaddr.c: Likewise.
15505 * sunrpc/key_call.c: Likewise.
15506 * sunrpc/key_prot.c: Likewise.
15507 * sunrpc/netname.c: Likewise.
15508 * sunrpc/pm_getmaps.c: Likewise.
15509 * sunrpc/pm_getport.c: Likewise.
15510 * sunrpc/pmap_clnt.c: Likewise.
15511 * sunrpc/pmap_prot.c: Likewise.
15512 * sunrpc/pmap_prot2.c: Likewise.
15513 * sunrpc/pmap_rmt.c: Likewise.
15514 * sunrpc/publickey.c: Likewise.
15515 * sunrpc/rpc_cmsg.c: Likewise.
15516 * sunrpc/rpc_common.c: Likewise.
15517 * sunrpc/rpc_dtable.c: Likewise.
15518 * sunrpc/rpc_prot.c: Likewise.
15519 * sunrpc/rpc_thread.c: Likewise.
15520 * sunrpc/rtime.c: Likewise.
15521 * sunrpc/svc.c: Likewise.
15522 * sunrpc/svc_auth.c: Likewise.
15523 * sunrpc/svc_raw.c: Likewise.
15524 * sunrpc/svc_run.c: Likewise.
15525 * sunrpc/svc_tcp.c: Likewise.
15526 * sunrpc/svc_udp.c: Likewise.
15527 * sunrpc/svc_unix.c: Likewise.
15528 * sunrpc/svcauth_des.c: Likewise.
15529 * sunrpc/xcrypt.c: Likewise.
15530 * sunrpc/xdr.c: Likewise.
15531 * sunrpc/xdr_array.c: Likewise.
15532 * sunrpc/xdr_float.c: Likewise.
15533 * sunrpc/xdr_intXX_t.c: Likewise.
15534 * sunrpc/xdr_mem.c: Likewise.
15535 * sunrpc/xdr_rec.c: Likewise.
15536 * sunrpc/xdr_ref.c: Likewise.
15537 * sunrpc/xdr_sizeof.c: Likewise.
15538 * sunrpc/xdr_stdio.c: Likewise.
15539
b5c086a2
RM
155402012-05-10 Roland McGrath <roland@hack.frob.com>
15541
15542 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
15543 change. Update copyright years.
15544
6d74dd09
JM
155452012-05-10 Joseph Myers <joseph@codesourcery.com>
15546
15547 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
15548
28e72501
MK
155492012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
15550 Joseph Myers <joseph@codesourcery.com>
15551 Paul Pluzhnikov <ppluzhnikov@google.com>
15552
15553 [BZ #14012]
15554 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
15555 requiring rpcgen.
15556 [cross-compiling] (extra-libs): Likewise.
15557 [cross-compiling] (extra-libs-others): Likewise.
15558 [cross-compiling] (librpcsvc-routines): Likewise.
15559 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
15560 [cross-compiling] (omit-deps): Likewise.
15561 (sunrpc-CPPFLAGS): New variable.
15562 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
15563 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
15564 (cross-rpcgen-objs): New variable.
15565 (extra-objs): Append $(cross-rpcgen-objs).
15566 ($(cross-rpcgen-objs)): New rule.
15567 ($(objpfx)cross-rpcgen): Likewise.
15568 (rpcgen-cmd): Define to use $(built-program-file). Expand
15569 comment.
15570 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
15571 ($(objpfx)x%.stmp): Likewise.
15572 * sunrpc/proto.h [IS_IN_build] (_): Define.
15573 [IS_IN_build] (_libc_intl_domainname): Likewise.
15574
c8c59454
L
155752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
15576
15577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
15578 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
15579 and R_X86_64_TPOFF64.
15580
6f27cd16
JM
155812012-05-10 Joseph Myers <joseph@codesourcery.com>
15582
15583 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
15584 sysdeps/unix/sysv/syscalls.list.
15585 (stime): Likewise.
15586 (utime): Likewise.
15587 * sysdeps/unix/sysv/syscalls.list: Remove file.
15588
02467e1c
PE
155892012-05-10 Paul Eggert <eggert@cs.ucla.edu>
15590
15591 [BZ #3440]
15592 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
15593 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
15594 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
15595 (__LC_IDENTIFICATION): Make these macros useful in #if
15596 expressions, as required by C99.
15597
da392631
AS
155982012-05-10 Andreas Schwab <schwab@linux-m68k.org>
15599
15600 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
15601 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
15602 after this.
15603
8115f29b
L
156042012-05-09 H.J. Lu <hongjiu.lu@intel.com>
15605
15606 * stdlib/longlong.h: Updated from GCC.
15607
bdd74070
AJ
156082012-05-09 Andreas Jaeger <aj@suse.de>
15609
edfe0dbe
AJ
15610 * nscd/nscd.c (run_modes): Make named enum, reorder so that
15611 default is first entry.
15612 (run_mode): Set type.
15613 (main): Remove informal message about syslog.
15614 (options): Fix typo.
15615
bcfe3a54
ST
15616 [BZ #14053]
15617 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 15618 to asm.
bcfe3a54
ST
15619 (lrint): Likewise.
15620 (llrintf): Likewise.
15621 (llrint): Likewise.
15622 (rint): Likewise.
15623 (rintf): Likewise.
15624 (nearbyint): Likewise.
15625 (nearbyintf): Likewise.
bdd74070 15626
91d8d69e
AJ
156272012-05-09 Andreas Jaeger <aj@suse.de>
15628 Pedro Alves <palves@redhat.com>
15629
15630 * nscd/nscd.c (run_mode): Use enum.
15631 (main): Cleanup coding style issue.
15632
bb90b80b
AJ
156332012-05-09 Alexandre Oliva <aoliva@redhat.com>
15634 Andreas Jaeger <aj@suse.de>
15635
bcfe3a54
ST
15636 * nscd/nscd.c (go_background): Replaced with...
15637 (run_mode): ... this.
bb90b80b 15638 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
15639 (options): Add -F --foreground.
15640 (main): Implement it.
15641 (parse_opt): Parse it.
bb90b80b 15642
1a4b75a1
AJ
156432012-05-09 Andreas Jaeger <aj@suse.de>
15644
15645 [BZ #14083]
15646 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
15647 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
15648 -Wconversion warning.
15649 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
15650 Likewise.
15651
b1cc2472
JM
156522012-05-09 Joseph Myers <joseph@codesourcery.com>
15653
15654 * conform/data/locale.h-data (NULL): Use macro-constant. Require
15655 == 0.
15656 (LC_ALL): Use macro-int-constant.
15657 (LC_COLLATE): Likewise.
15658 (LC_CTYPE): Likewise.
15659 (LC_MESSAGES): Likewise.
15660 (LC_MONETARY): Likewise.
15661 (LC_NUMERIC): Likewise.
15662 (LC_TIME): Likewise.
15663 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
15664 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15665 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15666 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
15667 Specify type.
15668 [C99-based standards] (float_t): Expect type.
15669 [C99-based standards] (double_t): Expect type.
15670 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
15671 type.
15672 [C99-based standards] (HUGE_VALL): Likewise.
15673 [C99-based standards] (INFINITY): Likewise.
15674 [C99-based standards] (NAN): Likewise.
15675 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
15676 [C99-based standards] (FP_NAN): Likewise.
15677 [C99-based standards] (FP_NORMAL): Likewise.
15678 [C99-based standards] (FP_SUBNORMAL): Likewise.
15679 [C99-based standards] (FP_ZERO): Likewise.
15680 [C99-based standards] (FP_FAST_FMA): Use
15681 optional-macro-int-constant. Specify type. Require == 1.
15682 [C99-based standards] (FP_FAST_FMAF): Likewise.
15683 [C99-based standards] (FP_FAST_FMAL): Likewise.
15684 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
15685 [C99-based standards] (FP_ILOGBNAN): Likewise.
15686 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
15687 Specify type.
15688 [C99-based standards] (MATH_ERREXCEPT): Likewise.
15689 [C99-based standards] (math_errhandling): Specify type.
15690 [ISO99 || ISO11] (signgam): Do not allow.
15691 [non-C99-based standards] (copysignf): Do not allow.
15692 [non-C99-based standards] (exp2f): Likewise.
15693 [non-C99-based standards] (log2f): Likewise.
15694 [non-C99-based standards] (modff): Allow.
15695 [non-C99-based standards] (erff): Do not allow.
15696 [non-C99-based standards] (erfcf): Likewise.
15697 [non-C99-based standards] (gammaf): Likewise.
15698 [non-C99-based standards] (hypotf): Likewise.
15699 [non-C99-based standards] (j0f): Likewise.
15700 [non-C99-based standards] (j1f): Likewise.
15701 [non-C99-based standards] (jnf): Likewise.
15702 [non-C99-based standards] (lgammaf): Likewise.
15703 [non-C99-based standards] (tgammaf): Likewise.
15704 [non-C99-based standards] (y0f): Likewise.
15705 [non-C99-based standards] (y1f): Likewise.
15706 [non-C99-based standards] (ynf): Likewise.
15707 [non-C99-based standards] (isnanf): Likewise.
15708 [non-C99-based standards] (acoshf): Likewise.
15709 [non-C99-based standards] (asinhf): Likewise.
15710 [non-C99-based standards] (atanhf): Likewise.
15711 [non-C99-based standards] (cbrtf): Likewise.
15712 [non-C99-based standards] (expm1f): Likewise.
15713 [non-C99-based standards] (ilogbf): Likewise.
15714 [non-C99-based standards] (log1pf): Likewise.
15715 [non-C99-based standards] (logbf): Likewise.
15716 [non-C99-based standards] (nextafterf): Likewise.
15717 [non-C99-based standards] (remainderf): Likewise.
15718 [non-C99-based standards] (rintf): Likewise.
15719 [non-C99-based standards] (scalbf): Likewise.
15720 [non-C99-based standards] (copysignl): Likewise.
15721 [non-C99-based standards] (exp2l): Likewise.
15722 [non-C99-based standards] (log2l): Likewise.
15723 [non-C99-based standards] (modfl): Allow.
15724 [non-C99-based standards] (erfl): Do not allow.
15725 [non-C99-based standards] (erfcl): Likewise.
15726 [non-C99-based standards] (gammal): Likewise.
15727 [non-C99-based standards] (hypotl): Likewise.
15728 [non-C99-based standards] (j0l): Likewise.
15729 [non-C99-based standards] (j1l): Likewise.
15730 [non-C99-based standards] (jnl): Likewise.
15731 [non-C99-based standards] (lgammal): Likewise.
15732 [non-C99-based standards] (tgammal): Likewise.
15733 [non-C99-based standards] (y0l): Likewise.
15734 [non-C99-based standards] (y1l): Likewise.
15735 [non-C99-based standards] (ynl): Likewise.
15736 [non-C99-based standards] (isnanl): Likewise.
15737 [non-C99-based standards] (acoshl): Likewise.
15738 [non-C99-based standards] (asinhl): Likewise.
15739 [non-C99-based standards] (atanhl): Likewise.
15740 [non-C99-based standards] (cbrtl): Likewise.
15741 [non-C99-based standards] (expm1l): Likewise.
15742 [non-C99-based standards] (ilogbl): Likewise.
15743 [non-C99-based standards] (log1pl): Likewise.
15744 [non-C99-based standards] (logbl): Likewise.
15745 [non-C99-based standards] (nextafterl): Likewise.
15746 [non-C99-based standards] (remainderl): Likewise.
15747 [non-C99-based standards] (rintl): Likewise.
15748 [non-C99-based standards] (scalbl): Likewise.
15749 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15750 [non-C99-based standards] (FP_*): Do not allow.
15751 [C99-based standards] (FP_*): Change to
15752 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
15753 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15754 allow.
15755 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
15756 (SIG_ERR): Likewise.
15757 [X/Open-based standards] (SIG_HOLD): Likewise.
15758 (SIG_IGN): Likewise.
15759 (SIGABRT): Use macro-int-constant. Specify type. Require
15760 positive value.
15761 (SIGFPE): Likewise.
15762 (SIGILL): Likewise.
15763 (SIGINT): Likewise.
15764 (SIGSEGV): Likewise.
15765 (SIGTER): Likewise.
15766 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
15767 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
15768 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
15769 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
15770 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
15771 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
15772 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
15773 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
15774 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
15775 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
15776 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
15777 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
15778 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
15779 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
15780 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
15781 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
15782 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
15783 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
15784 [X/Open-based standards] (SIGTRAP): Likewise.
15785 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
15786 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
15787 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
15789 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
15790 allow.
15791
b9f1922d
IW
157922012-05-08 Ian Wienand <ianw@vmware.com>
15793
15794 [BZ #14080]
15795 * time/tzset.c (__tzset_parse_tz): Update default rules for
15796 daylight time changes in the Energy Policy Act of 2005.
15797
1db86e88
AJ
157982012-05-09 Andreas Jaeger <aj@suse.de>
15799
15800 [BZ #13983]
15801 * elf/ldconfig.c (parse_conf): Change string to make clear that
15802 ldconfig only issued a warning if ld.so.conf does not exist.
15803
dee4a4e3
DM
158042012-05-08 David S. Miller <davem@davemloft.net>
15805
ee0db190
DM
15806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
15807 movxtod instead of popping the value on the stack.
15808
dee4a4e3
DM
15809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15810
6a43ec98
CD
158112012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
15812
15813 * config.h.in: Add HAVE_ARM_PCS_VFP.
15814
05c2c961
RMG
158152012-05-08 Roland Mc Grath <roland@hack.frob.com>
15816
bcfe3a54
ST
15817 [BZ #13979]
15818 * include/features.h: Warn if user requests __FORTIFY_SOURCE
15819 checking but the checks are disabled for any reason.
05c2c961 15820
4b30f61a
L
158212012-05-08 H.J. Lu <hongjiu.lu@intel.com>
15822
15823 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
15824 and ELF64_R_TYPE with ELFW(R_TYPE).
15825
eee2bc67
JM
158262012-05-08 Joseph Myers <joseph@codesourcery.com>
15827
7ea5391a
JM
15828 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
15829 (ulimit): Likewise.
15830
eee2bc67
JM
15831 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
15832 (settimeofday): Likewise.
15833
abb66a67
MF
158342012-05-08 Mike Frysinger <vapier@gentoo.org>
15835
15836 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
15837 a struct th_u2 inside the union, and move tu_block/tu_code into
15838 a new th_u3 union of tu_block/tu_code inside of that. Move
15839 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
15840 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
15841 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
15842 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
15843 (th_stuff): Change to th_u1.tu_stuff.
15844 (th_data): Define.
15845 (th_msg): Change to th_u1.th_u2.tu_data.
15846
7f18b530
DM
158472012-05-07 David S. Miller <davem@davemloft.net>
15848
05760585
DM
15849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15850
7f18b530
DM
15851 [BZ #14074]
15852 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
15853 (SETUP_PIC_REG): Use it.
15854 (SETUP_PIC_REG_LEAF): Use it.
15855
495fd99f
JM
158562012-05-07 Joseph Myers <joseph@codesourcery.com>
15857
15858 [BZ #13885]
15859 [BZ #13923]
15860 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15861 USE_AS_EXPM1L.
15862 (EXPL_FINITE): Likewise.
15863 (FLDLOG): Likewise.
15864 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15865 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15866 e_expl.S.
15867 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15868 USE_AS_EXPM1L.
15869 (EXPL_FINITE): Likewise.
15870 (FLDLOG): Likewise.
15871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
15872 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
15873 e_expl.S.
15874 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
15875 test of -max_value argument for long double.
15876 * sysdeps/i386/fpu/libm-test-ulps: Update.
15877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15878
6693d694
DM
158792012-05-06 David S. Miller <davem@davemloft.net>
15880
15881 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
15882 quad soft-float symbols whose references which are compiler
15883 generated.
15884 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15885
6c23e11c
JM
158862012-05-06 Joseph Myers <joseph@codesourcery.com>
15887
d8b82cad
JM
15888 [BZ #13884]
15889 [BZ #13914]
15890 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15891 USE_AS_EXP10L.
15892 (EXPL_FINITE): Likewise.
15893 (FLDLOG): Likewise.
15894 (c0): Likewise.
15895 (c1): Likewise.
15896 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15897 Adjust comments for base varying.
15898 (__expl_finite): Change alias to EXPL_FINITE.
15899 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
15900 e_expl.S.
15901 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
15902 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15904 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
15905 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
15906 USE_AS_EXP10L.
15907 (EXPL_FINITE): Likewise.
15908 (FLDLOG): Likewise.
15909 (c0): Likewise.
15910 (c1): Likewise.
15911 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
15912 Adjust comments for base varying.
15913 (__expl_finite): Change alias to EXPL_FINITE.
15914 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
15915 tests for bugs.
15916 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15917
6c23e11c
JM
15918 [BZ #14064]
15919 * math/libm-test.inc (check_float_internal): Correct ulp
15920 calculation for subnormal expected results.
15921
29ba805c
AJ
159222012-05-06 Andreas Jaeger <aj@suse.de>
15923
15924 * Makeconfig (+math-flags): New, set to -frounding-math.
15925 (+cflags): Add +math-flags so that all of glibc gets compiled with
15926 it.
15927
15928 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
15929
7b17aeda
JM
159302012-05-05 Joseph Myers <joseph@codesourcery.com>
15931
5779f134
JM
15932 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
15933 Disable one test.
15934
41498f4d
JM
15935 [BZ #13787]
15936 [BZ #13922]
15937 [BZ #14036]
15938 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
15939 (__ieee754_expl): Allow for and saturate large arguments.
15940 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
15941 (u_threshold): Likewise.
15942 (__exp): Call __ieee754_exp before checking for overflow and
15943 underflow.
15944 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
15945 (u_threshold): Likewise.
15946 (__expf): Call __ieee754_expf before checking for overflow and
15947 underflow.
15948 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
15949 (u_threshold): Likewise.
15950 (__expl): Call __ieee754_expl before checking for overflow and
15951 underflow.
15952 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
15953 (__ieee754_expl): Allow for and saturate large arguments.
15954 * math/libm-test.inc (exp_test): Add another test. Do not allow
15955 missing overflow exception on overflow.
15956 (expm1_test): Do not allow missing overflow exception on overflow.
15957
6698b8bf
JM
15958 * sysdeps/i386/fpu/e_expl.c: Move to ...
15959 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
15960 rather than using inline asm.
15961 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
15962 * sysdeps/x86_64/fpu/e_expl.S: Copy from
15963 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
15964
7b17aeda
JM
15965 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
15966 (nice): Likewise.
15967 (poll): Likewise.
15968 (signal): Likewise.
15969 (time): Likewise.
15970 (times): Likewise.
15971
f7c85819
JM
159722012-05-04 Joseph Myers <joseph@codesourcery.com>
15973
15974 * sysdeps/unix/syscalls.list (adjtime): Add entry from
15975 sysdeps/unix/common/syscalls.list.
15976 (fchmod): Likewise.
15977 (fchown): Likewise.
15978 (ftruncate): Likewise.
15979 (getrusage): Likewise.
15980 (gettimeofday): Likewise.
15981 (setpgid): Likewise.
15982 (setregid): Likewise.
15983 (setreuid): Likewise.
15984 (sigaction): Likewise.
15985 (truncate): Likewise.
15986 (vhangup): Likewise.
15987 * sysdeps/unix/common/syscalls.list: Remove file.
15988 * sysdeps/unix/bsd/Implies: Don't include unix/common.
15989 * sysdeps/unix/sysv/linux/Implies: Likewise.
15990
336270d0
L
159912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
15992
15993 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
15994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
15995 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
15996 Moved to ...
15997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15998 Here.
15999 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
16000 to ...
16001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
16002 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
16003 to ...
16004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
16005 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
16006 to ...
16007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
16008 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
16009 to ...
16010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
16011 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
16012 to ...
16013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
16014 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
16015 to ...
16016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
16017 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
16018 to ...
16019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16020 Here.
16021 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
16022 to ...
16023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
16024 Here.
16025 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
16026 to ...
16027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
16028 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
16029 Moved to ...
16030 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
16031 Here.
16032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
16033 to ...
16034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
16035
d128e450
JM
160362012-05-04 Joseph Myers <joseph@codesourcery.com>
16037
fa8ee516
JM
16038 * sysdeps/unix/common/bits/dirent.h: Remove file.
16039 * sysdeps/unix/common/bits/fcntl.h: Likewise.
16040
d128e450
JM
16041 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
16042 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
16043 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
16044 * sysdeps/unix/bsd/isatty.c: Likewise.
16045 * sysdeps/unix/bsd/tcdrain.c: Likewise.
16046 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
16047 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
16048
ff8faaf0 160492012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 16050
62881be4 16051 [BZ #13563]
31dc8730
AZ
16052 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
16053 long double comparison inaccuracies.
16054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16056
6fef930c
AS
160572012-05-04 Andreas Schwab <schwab@linux-m68k.org>
16058
16059 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
16060 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
16061
8f203e6c
JM
160622012-05-04 Joseph Myers <joseph@codesourcery.com>
16063
16064 [BZ #14049]
16065 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
16066 nonzero digits before rounding a hex value.
16067 * stdlib/tst-strtod.c (tests): Add another test.
16068
5197d9c2
AK
160692012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16070
16071 * sysdeps/s390/fpu/libm-test-ulps: Update.
16072
f0c1dedf
AJ
160732012-05-03 Andreas Jaeger <aj@suse.de>
16074
16075 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
16076 does not get optimized out.
16077 (malloc_opt_barrier): New.
16078
a65ef2ae 160792012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 16080 Roland McGrath <roland@hack.frob.com>
a65ef2ae 16081
2b942cb7 16082 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 16083 intermediate file deletion.
2b942cb7 16084 (generated): Add .symlist files.
a65ef2ae 16085
54b71e02
JM
160862012-05-03 Joseph Myers <joseph@codesourcery.com>
16087
16088 [BZ #13775]
16089 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
16090 Redirect under this condition.
16091 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16092 [__USE_GNU] (__dprintf_chk): Not under this condition.
16093 [__USE_GNU] (__vdprintf_chk): Likewise.
16094 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
16095 under this condition.
16096 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
16097 [__USE_XOPEN2K8] (dprintf): Define under this condition.
16098 [__USE_XOPEN2K8] (vdprintf): Likewise.
16099 [__USE_GNU] (__dprintf_chk): Not under this condition.
16100 [__USE_GNU] (__vdprintf_chk): Likewise.
16101 [__USE_GNU] (dprintf): Likewise.
16102 [__USE_GNU] (vdprintf): Likewise.
16103
d3dfcc41
RM
161042012-05-03 Roland McGrath <roland@hack.frob.com>
16105
16106 * elf/Makefile (common-generated): Set this instead of generated for
16107 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
16108 $(all-built-dso)-derived lists.
16109
7ac30cc5
AJ
161102012-05-03 Andreas Jaeger <aj@suse.de>
16111
0c51e550
AJ
16112 * sysdeps/i386/fpu/libm-test-ulps: Update.
16113
7ac30cc5
AJ
16114 * FAQ: Removed.
16115 * FAQ.in: Likewise.
16116 * scripts/gen-FAQ.pl: Likewise.
16117 * manual/install.texi (Installation): Point to online location of
16118 FAQ.
16119 * Makefile (files-for-dist): Remove FAQ.
16120 (FAQ): Remove.
16121
d4c2917f
AM
161222012-05-02 Allan McRae <allan@archlinux.org>
16123
16124 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
16125 (LDFLAGS-reldepmod5.so): Likewise.
16126 (LDFLAGS-reldep6mod1.so): Likewise.
16127 (LDFLAGS-reldep6mod4.so): Likewise.
16128 (LDFLAGS-reldep8mod3.so): Likewise.
16129 (LDFLAGS-unload4mod1.so): Likewise.
16130 (LDFLAGS-unload4mod2.so): Likewise.
16131 (LDFLAGS-tst-initorder): Likewise.
16132 (LDFLAGS-tst-initordera2.so): Likewise.
16133 (LDFLAGS-tst-initordera3.so): Likewise.
16134 (LDFLAGS-tst-initordera4.so): Likewise.
16135 (LDFLAGS-tst-initorderb2.so): Likewise.
16136 (LDFLAGS-noload): Likewise.
16137 (LDFLAGS-next): Likewise.
16138 (LDFLAGS-order2mod1.so): Likewise.
16139 (LDFLAGS-order2mod2.so): Likewise.
16140 (LDFLAGS-tst-initorder2): Likewise.
16141 (LDFLAGS-tst-initorder2a.so): Likewise.
16142 (LDFLAGS-tst-initorder2b.so): Likewise.
16143 (LDFLAGS-tst-initorder2c.so): Likewise.
16144 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
16145
d77f993f
DM
161462012-05-02 David S. Miller <davem@davemloft.net>
16147
16148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16149
171a70b4
PP
161502012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
16151
16152 [BZ #14055]
16153 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
16154
0be196ad
AJ
161552012-05-02 Andreas Jaeger <aj@suse.de>
16156
16157 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
16158 since we manipulate rounding mode.
16159 (CPPFLAGS-test-idouble.c): Likewise.
16160 (CPPFLAGS-test-ifloat.c): Likewise.
16161 (CFLAGS-test-ldouble.c): Likewise.
16162 (CFLAGS-test-double.c): Likewise.
16163 (CFLAGS-test-float.c): Likewise.
16164 (CFLAGS-test-misc.c): Likewise.
16165 (CFLAGS-test-test-fenv.c): Likewise.
16166
4f9d04aa
AZ
161672012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16168
2b942cb7
RM
16169 [BZ #2550]
16170 [BZ #2570]
16171 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
16172 comparisons to determine direction to adjust input.
4f9d04aa 16173
82a79e7d
RM
161742012-05-01 Roland McGrath <roland@hack.frob.com>
16175
f5a01ca9
RM
16176 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
16177 output to the target.
16178
90fe4186
RM
16179 * scripts/localplt.awk: New file.
16180 * elf/Makefile ($(objpfx)check-localplt): Target removed.
16181 (check-localplt-CFLAGS): Variable removed.
16182 ($(all-built-dso:=.jmprel)): New static pattern rule.
16183 (generated): Add those targets.
16184 (localplt-built-dso): New variable.
16185 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
16186
16187 * elf/check-localplt.c: File removed.
16188
82397ed6
RM
16189 * scripts/check-execstack.awk: New file.
16190 * elf/Makefile ($(objpfx)check-execstack): Target removed.
16191 (check-execstack-CFLAGS): Variable removed.
16192 ($(objpfx)check-execstack.h): Target removed.
16193 ($(objpfx)execstack-default): New target.
16194 (generated): Add that instead of check-execstack.h.
16195 ($(all-built-dso:=.phdr)): New static pattern rule.
16196 (generated): Add those targets.
16197 * elf/check-execstack.c: File removed.
16198
82a79e7d
RM
16199 * scripts/check-textrel.awk: New file.
16200 * elf/Makefile ($(objpfx)check-textrel): Target removed.
16201 (check-textrel-CFLAGS): Variable removed.
16202 (all-built-dso): Use := to define.o
16203 ($(all-built-dso:=.dyn)): New static pattern rule.
16204 (generated): Add those targets.
16205 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
16206 * config.make.in (READELF): New substituted variable.
16207 * elf/check-textrel.c: File removed.
16208
62fde54f 162092012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 16210
615605c9
JM
16211 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
16212 allow.
16213 * conform/data/ctype.h-data [C99-based standards] (isblank):
16214 Expect function.
16215 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
16216 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
16217 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16218 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
16219 Specify type. Require positive value.
16220 (EILSEQ): Likewise.
16221 (ERANGE): Likewise.
16222 [ISO || POSIX] (EILSEQ): Do not expect.
16223 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
16224 Specify type. Require positive value.
16225 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
16226 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
16227 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
16228 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
16229 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
16230 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
16231 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
16232 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
16233 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
16234 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
16235 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
16236 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
16237 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
16238 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
16239 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
16240 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
16241 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
16242 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
16243 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
16244 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
16245 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
16246 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
16247 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
16248 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
16249 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
16250 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
16251 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
16252 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
16253 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
16254 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
16255 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
16256 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
16257 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
16258 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
16259 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
16260 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
16261 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
16262 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
16263 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
16264 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
16265 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
16266 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
16267 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
16268 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
16269 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
16270 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
16271 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
16272 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
16273 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
16274 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
16275 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
16276 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
16277 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
16278 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
16279 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
16280 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
16281 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
16282 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
16283 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
16284 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
16285 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
16286 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
16287 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
16288 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
16289 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
16290 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
16291 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
16292 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
16293 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
16294 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
16295 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
16296 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
16297 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
16298 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
16299 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
16300 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
16301 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
16302 Require >= 2.
16303 (FLT_ROUNDS): Expect as macro, not constant.
16304 (FLT_MANT_DIG): Use macro-int-constant.
16305 (DBL_MANT_DIG): Likewise.
16306 (LDBL_MANT_DIG): Likewise.
16307 (FLT_DIG): Likewise.
16308 (DBL_DIG): Likewise.
16309 (LDBL_DIG): Likewise.
16310 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
16311 (DBL_MIN_EXP): Likewise.
16312 (LDBL_MIN_EXP): Likewise.
16313 (FLT_MAX_EXP): Use macro-int-constant.
16314 (DBL_MAX_EXP): Likewise.
16315 (LDBL_MAX_EXP): Likewise.
16316 (FLT_MAX_10_EXP): Likewise.
16317 (DBL_MAX_10_EXP): Likewise.
16318 (LDBL_MAX_10_EXP): Likewise.
16319 (FLT_MAX): Use macro-constant.
16320 (DBL_MAX): Likewise.
16321 (LDBL_MAX): Likewise.
16322 (FLT_EPSILON): Use macro-constant. Give upper bound.
16323 (DBL_EPSILON): Likewise.
16324 (LDBL_EPSILON): Likewise.
16325 (FLT_MIN): Likewise.
16326 (DBL_MIN): Likewise.
16327 (LDBL_MIN): Likewise.
16328 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
16329 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
16330 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
16331 [ISO11] (FLT_HAS_SUBNORM): Likewise.
16332 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
16333 [ISO11] (DBL_DECIMAL_DIG): Likewise.
16334 [ISO11] (FLT_DECIMAL_DIG): Likewise.
16335 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
16336 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
16337 [ISO11] (FLT_TRUE_MIN): Likewise.
16338 [ISO11] (LDBL_TRUE_MIN): Likewise.
16339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16340 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
16341 (SCHAR_MIN): Use macro-int-constant. Specify type.
16342 (SCHAR_MAX): Likewise.
16343 (UCHAR_MAX): Likewise.
16344 (CHAR_MIN): Likewise.
16345 (CHAR_MAX): Likewise.
16346 (MB_LEN_MAX): Use macro-int-constant.
16347 (SHRT_MIN): Use macro-int-constant. Specify type.
16348 (SHRT_MAX): Likewise.
16349 (USHRT_MAX): Likewise.
16350 (INT_MAX): Likewise.
16351 (INT_MIN): Use macro-int-constant. Specify type. Make upper
16352 bound negative.
16353 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
16354 bound with "U".
16355 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16356 bound with "L".
16357 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
16358 bound negative. Suffix upper bound with "L".
16359 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
16360 bound with "UL".
16361 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
16362 Specify type.
16363 [C99-based standards] (LLONG_MAX): Likewise.
16364 [C99-based standards] (ULLONG_MAX): Likewise.
16365 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
16366 == 0.
16367 [ISO11] (max_align_t): Require type.
16368 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16369
c9140a62
JM
16370 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
16371 from $CFLAGS, without defining away __attribute__ calls.
16372 (checknamespace): Use $CFLAGS_namespace.
16373
9af0bf29
JM
16374 * conform/conformtest.pl (@keywords): Only include C99 keywords
16375 for standards based on C99 or C11.
16376
343222a2
JM
16377 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
16378 Disable tests.
16379 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
16380 UNIX98]: Likewise.
16381
661f8cf0
JM
16382 * conform/conformtest.pl: Handle "macro-int-constant" and test for
16383 usability of symbols in #if.
16384
ee74b9cb
JM
16385 * conform/conformtest.pl: If macro or constant types start
16386 "promoted:", expect the symbol to be of the following type
16387 promoted by the integer promotions.
62fde54f 16388
aafc49b3
JM
16389 * conform/conformtest.pl: Parse all "constant" and "macro" lines
16390 in one place. Also handle "macro-constant".
16391
fefdf574
JM
16392 * conform/conformtest.pl: Only accept expected macro values with
16393 "==". Parse all "macro" lines in one place.
16394 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
16395
f2d922fe
JM
16396 * conform/conformtest.pl: Handle braced types on "constant" lines
16397 instead of handling "typed-constant".
16398 * conform/data/signal.h-data: Use "constant" instead of
16399 "typed-constant".
16400
d22956c9
JM
16401 * conform/conformtest.pl: Handle "optional-" at start of lines in
16402 one place rather than duplicating several cases. Handle each
16403 format of "macro" line with initial "optional-".
16404
028e2e38
JM
16405 * conform/conformtest.pl: Only accept expected constant or
16406 optional-constant values with "==". Parse all "constant" lines in
16407 one place. Parse all "optional-constant" lines in one place.
16408 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
16409 * conform/data/fmtmsg.h-data: Likewise.
16410 * conform/data/netinet/in.h-data: Likewise.
16411 * conform/data/tar.h-data: Likewise.
16412 * conform/data/limits.h-data: Use "==" form on "constant" and
16413 "optional-constant" lines.
16414
1b8f2850
JM
16415 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
16416 Use -std=c99 for XOPEN2K.
16417 (@knownproblems): Remove.
16418 (newtoken): Don't check %isknown.
16419
a05a144b
JM
16420 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
16421 Do not expect macro.
16422 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
16423 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
16424 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
16425 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
16426 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
16427 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
16428 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
16429 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
16430 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
16431 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
16432 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
16433 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
16434 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
16435 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
16436 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
16437 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
16438 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
16439 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
16440 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
16441 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
16442 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
16443 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
16444 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
16445 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
16446 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
16447 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
16448 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
16449 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
16450 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
16451 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
16452 [XPG3] (acosh): Likewise.
16453 [XPG3] (asinh): Likewise.
16454 [XPG3] (atanh): Likewise.
16455 [XPG3] (cbrt): Likewise.
16456 [XPG3] (expm1): Likewise.
16457 [XPG3] (ilogb): Likewise.
16458 [XPG3] (log1p): Likewise.
16459 [XPG3] (logb): Likewise.
16460 [XPG3] (nextafter): Likewise.
16461 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
16462 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
16463 [XPG3] (remainder): Likewise.
16464 [XPG3] (rint): Likewise.
16465 [XPG3 || XPG4 || UNIX98] (round): Likewise.
16466 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
16467 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
16468 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
16469 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
16470 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
16471 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
16472 [UNIX98 || XOPEN2K] (scalb): Expect.
16473 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
16474 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
16475 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
16476 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
16477 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
16478 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
16479 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
16480 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
16481 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
16482 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
16483 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
16484 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
16485 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
16486 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
16487 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
16488 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
16489 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
16490 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
16491 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
16492 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
16493 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
16494 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
16495 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
16496 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
16497 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
16498 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
16499 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
16500 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
16501 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
16502 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
16503 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
16504 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
16505 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
16506 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
16507 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
16508 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
16509 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
16510 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
16511 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
16512 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
16513 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
16514 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
16515 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
16516 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
16517 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
16518 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
16519 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
16520 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
16521 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
16522 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
16523 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
16524 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
16525 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
16526 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
16527 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
16528 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
16529 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
16530 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
16531 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
16532 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
16533 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
16534 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
16535 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
16536 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
16537 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
16538 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
16539 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
16540 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
16541 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
16542 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
16543 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
16544 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
16545 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
16546 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
16547 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
16548 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
16549 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
16550 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
16551 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
16552 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
16553 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
16554 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
16555 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
16556 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
16557 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
16558 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
16559 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
16560 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
16561 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
16562 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
16563 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
16564 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
16565 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
16566 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
16567 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
16568 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
16569 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
16570 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
16571 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
16572 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
16573 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
16574 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
16575 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
16576 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
16577 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
16578 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
16579 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
16580 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
16581 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
16582 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
16583 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
16584 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
16585 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
16586 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
16587 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
16588 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
16589 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
16590 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
16591 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
16592 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
16593 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
16594 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
16595 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
16596 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
16597 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
16598 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
16599 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
16600 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
16601 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
16602 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
16603 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
16604 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
16605 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
16606 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
16607 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
16608 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
16609 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
16610
73c5ebe3
JM
16611 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
16612 _XOPEN_SOURCE_EXTENDED for XPG4.
16613
39c33b6c
JM
16614 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
16615
62fde54f
JM
16616 * Makeconfig (localtime): Remove variable.
16617 (inst_localtime-file): Likewise.
16618
0741d64c
AS
166192012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16620
16621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
16622 Update.
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16624 Update.
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
16626 Update.
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16628 Update.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
16630 Update.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
16632 Update.
16633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16634 Update.
16635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
16636 Update.
16637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16638 Update.
16639
7cb029ee
JM
166402012-05-01 Joseph Myers <joseph@codesourcery.com>
16641
16642 [BZ #2550]
16643 [BZ #2570]
16644 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
16645 comparisons to determine direction to adjust input.
16646 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16647 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
16648 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16649 Likewise.
16650 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16651 Likewise.
16652 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16653 Likewise.
16654 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16655 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16656 Likewise.
16657 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16658 Likewise.
16659 * math/libm-test.inc (nexttoward_test): Add more tests.
16660
412bd966
AS
166612012-05-01 Andreas Schwab <schwab@linux-m68k.org>
16662
16663 [BZ #14040]
16664 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
16665 in version GLIBC_2.1, not GLIBC_2.0.
16666 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
16667 Likewise.
16668
9568c0c2
JM
166692012-04-30 Joseph Myers <joseph@codesourcery.com>
16670
adfbc8ac
JM
16671 [BZ #13942]
16672 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
16673 (1 - x) * (1 + x).
16674 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16675 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
16676 * math/libm-test.inc (acos_test): Add more tests.
16677 (asin_test): Likewise.
16678 * sysdeps/i386/fpu/libm-test-ulps: Update.
16679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16680
5ba3cc69
JM
16681 [BZ #14034]
16682 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
16683 of square root.
16684 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
16685 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
16686 * math/libm-test.inc (acos_test_tonearest): New function.
16687 (acos_test_towardzero): Likewise.
16688 (acos_test_downward): Likewise.
16689 (acos_test_upward): Likewise.
16690 (asin_test_tonearest): Likewise.
16691 (asin_test_towardzero): Likewise.
16692 (asin_test_downward): Likewise.
16693 (asin_test_upward): Likewise.
16694 (main): Call the new functions.
16695 * sysdeps/i386/fpu/libm-test-ulps: Update.
16696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16697
9568c0c2
JM
16698 [BZ #13884]
16699 [BZ #13924]
16700 * math/e_exp10.c: Include <float.h>.
16701 (__ieee754_exp10): Handle underflow here rather than multiplying
16702 large negative argument by M_LN10.
16703 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
16704 of __ieee754_expf.
16705 * math/e_exp10l.c: Include <float.h>.
16706 (__ieee754_exp10l): Handle underflow here rather than multiplying
16707 large negative argument by M_LN10l.
16708 * math/libm-test.inc (exp10_test): Add another test. Do not allow
16709 spurious overflow exception on underflow.
16710
5ac3ea17
MP
167112012-04-29 Marek Polacek <polacek@redhat.com>
16712
16713 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
16714 (__fortify_function): New macro.
16715 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
16716 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
16717 __extern_always_inline.
16718 * libio/bits/stdio2.h: Likewise.
16719 * libio/bits/stdio.h: Likewise.
16720 * string/string.h: Likewise.
16721 * string/bits/string3.h: Likewise.
16722 * include/stdio.h: Likewise.
16723 * stdlib/bits/stdlib.h: Likewise.
16724 * stdlib/stdlib.h: Likewise.
16725 * rt/bits/mqueue2.h: Likewise.
16726 * rt/mqueue.h: Likewise.
16727 * posix/bits/unistd.h: Likewise.
16728 * posix/unistd.h: Likewise.
16729 * io/bits/poll2.h: Likewise.
16730 * io/bits/fcntl2.h: Likewise.
16731 * io/fcntl.h: Likewise.
16732 * io/sys/poll.h: Likewise.
16733 * misc/bits/syslog.h: Likewise.
16734 * misc/bits/syslog-ldbl.h: Likewise.
16735 * misc/sys/syslog.h: Likewise.
16736 * socket/bits/socket2.h: Likewise.
16737 * socket/sys/socket.h: Likewise.
16738 * debug/tst-chk1.c: Likewise.
16739 * wcsmbs/bits/wchar2.h: Likewise.
16740 * wcsmbs/bits/wchar-ldbl.h: Likewise.
16741 * wcsmbs/wchar.h: Likewise.
16742
ecf0ebfb
AJ
167432012-04-29 Andreas Jaeger <aj@suse.de>
16744
16745 * Makerules (tests): Remove enable-check-abi protection.
16746 (check-abi-warn): Remove.
16747 (check-abi-%): Remove check-abi-warn usage.
16748
16749 * configure.in: Remove check-abi configure option.
16750 * configure: Regenerated.
16751 * config.make.in (enable-check-abi): Remove.
16752
6d5c57fa
AS
167532012-04-28 Andreas Schwab <schwab@linux-m68k.org>
16754
24c5d07e 16755 [BZ #14033]
ded5180a
AS
16756 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
16757 double functions to double *_finite functions.
16758
7e0d315d
AS
16759 [BZ #13941]
16760 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
16761 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
16762 LDBL_MIN_EXP.
16763 * stdio-common/Makefile (tests): Add tst-sprintf3.
16764 * stdio-common/tst-sprintf3.c: New file.
16765
6d5c57fa
AS
16766 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
16767 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
16768
0749ff8b
JM
167692012-04-28 Joseph Myers <joseph@codesourcery.com>
16770
16771 * conform/conformtest.pl: Remove duplicate typed-constant
16772 handling.
16773
8dbd5d7b
DM
167742012-04-28 David S. Miller <davem@davemloft.net>
16775
16776 * Makerules (%.abilist): Add vpath on sysdep_dirs.
16777 (check-abi-%): Remove AWK script prerequisite and explicit
16778 abilist directory.
16779 (check-abi): Rewrite to just diff the symlist with the abilist.
16780 (config-tls, config-abi-config): Delete, no longer used.
16781 (update-abi-%): Remove AWK script and explicit abilist directory.
16782 (update-abi): Rewrite to simply compare and conditionally copy the
16783 symlist and the sysdep abilist file. Remove update-abi-config
16784 checks.
16785 * abilist/ld.abilist: Remove.
16786 * abilist/libBrokenLocale.abilist: Remove.
16787 * abilist/libanl.abilist: Remove.
16788 * abilist/libcrypt.abilist: Remove.
16789 * abilist/libdl.abilist: Remove.
16790 * abilist/librt.abilist: Remove.
16791 * abilist/libthread_db.abilist: Remove.
16792 * abilist/libutil.abilist: Remove.
16793 * scripts/extract-abilist.awk: Remove.
16794 * scripts/merge-abilist.awk: Remove.
16795 * sysdeps/generic/libcidn.abilist: New file.
16796 * sysdeps/generic/libnss_compat.abilist: New file.
16797 * sysdeps/generic/libnss_db.abilist: New file.
16798 * sysdeps/generic/libnss_dns.abilist: New file.
16799 * sysdeps/generic/libnss_files.abilist: New file.
16800 * sysdeps/generic/libnss_hesiod.abilist: New file.
16801 * sysdeps/generic/libnss_nis.abilist: New file.
16802 * sysdeps/generic/libnss_nisplus.abilist: New file.
16803 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
16804 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
16805 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
16806 file.
16807 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
16808 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
16809 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
16810 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
16811 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
16812 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
16813 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
16814 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
16815 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
16816 file.
16817 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
16818 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
16819 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
16820 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
16821 file.
16822 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
16823 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
16824 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
16825 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
16826 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
16827 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
16828 file.
16829 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
16830 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
16831 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
16832 file.
16833 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
16834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
16835 New file.
16836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
16837 New file.
16838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
16839 New file.
16840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
16841 New file.
16842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
16843 New file.
16844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
16845 New file.
16846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
16847 New file.
16848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
16849 New file.
16850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
16851 New file.
16852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
16853 New file.
16854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
16855 New file.
16856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
16857 New file.
16858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
16859 New file.
16860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
16861 file.
16862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
16863 New file.
16864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
16865 New file.
16866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
16867 file.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
16869 New file.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
16871 New file.
16872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
16873 file.
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
16875 New file.
16876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16877 New file.
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
16879 New file.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
16881 New file.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
16883 New file.
16884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
16885 New file.
16886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
16887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
16888 file.
16889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
16890 New file.
16891 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
16892 file.
16893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
16894 file.
16895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
16896 file.
16897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
16898 file.
16899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
16900 file.
16901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16902 New file.
16903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
16904 file.
16905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
16906 file.
16907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
16908 New file.
16909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
16910 file.
16911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
16912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
16913 file.
16914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
16915 New file.
16916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
16917 file.
16918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
16919 file.
16920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
16921 file.
16922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
16923 file.
16924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
16925 file.
16926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16927 New file.
16928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
16929 file.
16930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
16931 file.
16932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
16933 New file.
16934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
16935 file.
16936 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
16937 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
16938 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
16939 file.
16940 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
16941 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
16942 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
16943 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
16944 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
16945 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
16946 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
16947 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
16948 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
16949 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
16950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
16951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
16952 file.
16953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
16954 New file.
16955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
16956 file.
16957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
16958 file.
16959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
16960 file.
16961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
16962 file.
16963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
16964 file.
16965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16966 New file.
16967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
16968 New file.
16969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
16970 file.
16971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
16972 New file.
16973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
16974 file.
16975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
16976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
16977 file.
16978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
16979 New file.
16980 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
16981 file.
16982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
16983 file.
16984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
16985 file.
16986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
16987 file.
16988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
16989 file.
16990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16991 New file.
16992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
16993 New file.
16994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
16995 file.
16996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
16997 New file.
16998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
16999 file.
17000
41d73a1b
JM
170012012-04-28 Joseph Myers <joseph@codesourcery.com>
17002
17003 * conform/conformtest.pl: Fix typo in handling typed-constant from
17004 allow-header.
17005
28aeeda4
JM
170062012-04-27 Joseph Myers <joseph@codesourcery.com>
17007
adae8f5e
JM
17008 * README: Cut down references to pre-2.6 Linux kernels and
17009 Linuxthreads. Update lists of configurations in libc and ports
17010 and sort alphabetically. Say "or newer" with Linux kernel version
17011 requirements.
17012
28aeeda4
JM
17013 * config.h.in [IS_IN_build]: Allow compiling without optimization.
17014
a462cb63
RA
170152012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17016
17017 [BZ #887]
17018 * math/libm-test.inc (logb_test_downward): New test to expose
17019 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
17020 rounding mode.
17021
6ad3493e
JM
170222012-04-27 Joseph Myers <joseph@codesourcery.com>
17023
17024 [BZ #14027]
17025 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
17026 to be done.
17027 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
17028 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
17029
2ce4f015
JM
170302012-04-26 Joseph Myers <joseph@codesourcery.com>
17031
5aeb141a
JM
17032 * sysdeps/unix/i386/brk.S: Remove file.
17033 * sysdeps/unix/i386/dl-brk.S: Likewise.
17034 * sysdeps/unix/i386/pipe.S: Likewise.
17035 * sysdeps/unix/i386/sigreturn.S: Likewise.
17036 * sysdeps/unix/i386/syscall.S: Likewise.
17037 * sysdeps/unix/i386/vfork.S: Likewise.
17038 * sysdeps/unix/i386/wait.S: Likewise.
17039
7143acae
JM
17040 * sysdeps/unix/common/tcsendbrk.c: Move to ...
17041 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
17042
2ce4f015
JM
17043 * configure.in (arm*-none*): Do not allow without
17044 --enable-hacker-mode.
17045 (netbsd*): Remove case setting base_os.
17046 (386bsd*): Likewise.
17047 (freebsd*): Likewise.
17048 (bsdi*): Likewise.
17049 (osf*): Likewise.
17050 (sunos*): Likewise.
17051 (ultrix*): Likewise.
17052 (newsos*): Likewise.
17053 (dynix*): Likewise.
17054 (*bsd*): Likewise.
17055 (sysv*): Likewise.
17056 (isc*): Likewise.
17057 (esix*): Likewise.
17058 (sco*): Likewise.
17059 (minix*): Likewise.
17060 (irix4*): Likewise.
17061 (irix6*): Likewise.
17062 (solaris[2-9]*): Likewise.
17063 (none): Likewise.
17064 * configure: Regenerated.
17065
0ac229c8
AZ
170662012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17067
17068 [BZ #11521]
17069 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
17070 overflow or cancellation in calculating denominator.
17071 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
17073 down expression to avoid unexpected rounding in newer GCCs.
17074 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
17075
33f244f4
DM
170762012-04-26 David S. Miller <davem@davemloft.net>
17077
17078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
17079 long-double compat symbols.
17080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
17084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
17086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
17087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
17088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
17089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
17090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
17091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
17092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
17093
cfa1f3e8
DM
170942012-04-25 David S. Miller <davem@davemloft.net>
17095
17096 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
17097 HWCAP_* values only after the memory barriers have been defined.
17098 (atomic_full_barrier): Define.
17099 (atomic_read_barrier): Define.
17100 (atomic_write_barrier): Define.
17101
6e236b92
SP
171022012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17103
17104 * shlib-versions: Add libgcc_s version information.
17105 * sysdeps/generic/libgcc_s.h: Remove.
17106 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
17107 libgcc_s.h.
17108 * sysdeps/gnu/unwind-resume.c: Likewise.
17109 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17110
aab39a09
DM
171112012-04-25 David S. Miller <davem@davemloft.net>
17112
17113 * sysdeps/unix/sparc/brk.S: Delete.
17114 * sysdeps/unix/sparc/dl-brk.S: Delete.
17115 * sysdeps/unix/sparc/pipe.S: Delete.
17116 * sysdeps/unix/sparc/sysdep.S: Delete.
17117 * sysdeps/unix/sparc/sysdep.h: Delete.
17118 * sysdeps/unix/sparc/vfork.S: Delete.
17119 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
17120 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
17121 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
17122 ret_ERRVAL, r0, r1, MOVE): Define.
17123 (JUMPTARGET): Remove.
17124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
17125 sysdeps/unix/sparc/sysdep.h
17126 (ENTRY, END): Remove.
17127 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17128
a3cc4f48
JM
171292012-04-25 Joseph Myers <joseph@codesourcery.com>
17130
2ed8cda2
JM
17131 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
17132 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
17133 -DIS_IN_build.
17134
35d76d59
JM
17135 * timezone/README: Update upstream location and email address for
17136 tzcode and tzdata.
17137 * timezone/zdump.c: Update from tzcode 2012b.
17138 * timezone/zic.c: Likewise.
17139
a3cc4f48
JM
17140 * configure.in (libc_cv_as_needed): Remove test.
17141 * configure: Regenerated.
17142 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
17143 conditional definition.
17144 [$(have-as-needed) != yes] (no-as-needed): Likewise.
17145 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
17146 * config.make.in (have-as-needed): Remove variable.
17147
ceab42c3
SP
171482012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17149 Paul Pluzhnikov <ppluzhnikov@google.com>
17150
17151 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
17152 strings correctly.
17153
3ce2865f
CLT
171542012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
17155
17156 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
17157 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
17158 * sysdeps/sh/strlen.S: Likewise.
17159
f37e0d68
JM
171602012-04-24 Joseph Myers <joseph@codesourcery.com>
17161
ae186e9a
JM
17162 * sysdeps/unix/fork.S: Remove file.
17163 * sysdeps/unix/i386/fork.S: Likewise.
17164 * sysdeps/unix/sparc/fork.S: Likewise.
17165
b96914af
JM
17166 * sysdeps/unix/system.c: Remove file.
17167 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
17168
f37e0d68
JM
17169 * sysdeps/unix/getegid.S: Remove file.
17170 * sysdeps/unix/geteuid.S: Likewise.
17171
87ef29ca
RM
171722012-04-24 Roland McGrath <roland@hack.frob.com>
17173
83bcd236
RM
17174 * scripts/check-localplt.awk: New file.
17175 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
17176 of diff.
17177 * scripts/data/localplt-generic.data: Add a comment.
17178
87ef29ca
RM
17179 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
17180 NODE when __dir_mkfile failed.
17181 * sysdeps/mach/hurd/symlinkat.c: Likewise.
17182 Reported by Ludovic Courtès <ludo@gnu.org>.
17183
e5a6e567
AJ
171842012-04-24 Andreas Jaeger <aj@suse.de>
17185
17186 * Makerules (common-clean): Also remove gen-as-const-headers
17187 files.
17188
c1820385
JM
171892012-04-24 Joseph Myers <joseph@codesourcery.com>
17190
17191 * Makerules (native-compile): Do not change working directory for
17192 build. Use $(OUTPUT_OPTION) in command.
17193 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
17194
94e02fc4
AZ
171952012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17196
17197 [BZ #13886]
17198 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
17199 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
17200 * math/libm-test.inc (floor_test): Add more tests.
17201 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
17202
3a533ca3
JM
172032012-04-24 Joseph Myers <joseph@codesourcery.com>
17204
940ab4b3
JM
17205 * sysdeps/unix/getdents.c: Remove file.
17206 * sysdeps/unix/sysv/getdents.c: Likewise.
17207 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
17208
90e037bd
JM
17209 * sysdeps/unix/syscalls.list (madvise): Add syscall from
17210 sysdeps/unix/mman/syscalls.list.
17211 (mmap): Likewise.
17212 (mprotect): Likewise.
17213 (msync): Likewise.
17214 (munmap): Likewise.
17215 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
17216 * sysdeps/unix/mman/syscalls.list: Remove.
17217 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
17218
3a533ca3
JM
17219 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
17220 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
17221 * configure: Regenerated.
17222 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
17223 $(libgcc_s_suffix).
17224 * config.make.in (libgcc_s_suffix): Remove variable.
17225
1ad743de
JM
172262012-04-23 Joseph Myers <joseph@codesourcery.com>
17227
4ad451e2
JM
17228 * sysdeps/unix/sysv/gethostname.c: Move to ...
17229 * sysdeps/posix/gethostname.c: ... here.
17230
5e37ce39
JM
17231 * sysdeps/unix/execve.S: Remove file.
17232
1ad743de
JM
17233 * sysdeps/unix/_exit.S: Remove file.
17234
4e681b5b
AJ
172352012-04-23 Andreas Jaeger <aj@suse.de>
17236
17237 [BZ #13739]
17238 * manual/Makefile: Remove make dist support, there's no
17239 need for a stand-alone documentation tar ball.
17240 (TEXI2DVI): Define always, it's not in Makeconfig.
17241 (dist): Removed.
17242 (tar-it): Removed.
17243 (edition): Removed.
17244 (glibc-doc-$(edition).tar): Removed
17245 (%.Z): Removed.
17246 (%.gz): Removed.
17247 (%.uu): Removed.
17248 (ETAGS): Remove, it's in Makeconfig.
17249 (move-if-change): Remove, it's in Makeconfig.
17250
38686a03 172512012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
17252
17253 [BZ #13970]
17254 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
17255 (strtod, strtof, strtold, strtol, strtoul, strtoq)
17256 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
17257 (strtod_l, strtof_l, strtold_l): Remove __wur.
17258 It is not necessarily an error to ignore strtol's return value.
17259 One can reliably look at the stored endptr to decide whether
17260 the number had valid syntax.
17261
7c0616fa
AJ
172622012-04-21 Andreas Jaeger <aj@suse.de>
17263
803cb6b7 17264 [BZ #13739]
7c0616fa
AJ
17265 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
17266
b0fe253f
JM
172672012-04-21 Joseph Myers <joseph@codesourcery.com>
17268
17269 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
17270 * sysdeps/unix/sysv/Versions: Remove file.
17271
8280f22d
MT
172722012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
17273
17274 [BZ #13927]
17275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17276
75ce411f 172772012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
17278
17279 [BZ #7064]
17280 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
17281 version from __vm86.
17282
097d59fa
JM
172832012-04-20 Joseph Myers <joseph@codesourcery.com>
17284
a90f3bcb
JM
17285 * sysdeps/unix/common/lxstat.c: Remove file.
17286 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
17287
edc7ea78
JM
17288 * sysdeps/unix/sysv/Makefile: Remove file.
17289
cb78c221
JM
17290 * sysdeps/unix/sysv/direct.h: Remove file.
17291
efa6a45f
JM
17292 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
17293 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
17294 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
17295 * sysdeps/unix/sysv/bits/signum.h: Likewise.
17296 * sysdeps/unix/sysv/bits/stat.h: Likewise.
17297 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
17298 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
17299
9c9f2d0c
JM
17300 * sysdeps/unix/sysv/setrlimit.c: Remove file.
17301
4541c83b
JM
17302 * sysdeps/unix/xmknod.c: Remove file.
17303 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
17304
f5d153a0
JM
17305 * sysdeps/unix/sysv/settimeofday.c: Remove file.
17306
aa746595
JM
17307 * sysdeps/unix/sysv/i386/time.S: Remove file.
17308
cce5905e
JM
17309 * sysdeps/unix/fxstat.c: Remove file.
17310 * sysdeps/unix/xstat.c: Likewise.
17311 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
17312
37fa3841
JM
17313 * sysdeps/unix/sysv/sigaction.c: Remove file.
17314
ff1962a3
JM
17315 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
17316 (sysdep_headers): Remove variable.
17317 [termio.h not in sysdep_headers] (generated): Likewise.
17318 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
17319 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
17320 * sysdeps/unix/sysv/tcdrain.c: Likewise.
17321 * sysdeps/unix/sysv/tcflow.c: Likewise.
17322 * sysdeps/unix/sysv/tcflush.c: Likewise.
17323 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
17324 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
17325 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
17326 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
17327 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
17328
e7740d31
JM
17329 * sysdeps/unix/siglist.c: Remove file.
17330
ee06f18b
JM
17331 * sysdeps/unix/getppid.S: Remove file.
17332
097d59fa
JM
17333 * sysdeps/unix/mkdir.c: Remove file.
17334 * sysdeps/unix/rmdir.c: Likewise.
17335
ff3d51ec
AS
173362012-04-19 Andreas Schwab <schwab@linux-m68k.org>
17337
17338 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
17339 ERR_MAX value.
17340 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
17341 errlist-compat value.
17342
50f81fd7
DM
173432012-04-18 David S. Miller <davem@davemloft.net>
17344
17345 * sysdeps/generic/memcopy.h (reg_char): Delete.
17346 * debug/strcat_chk.c: Use char, not reg_char.
17347 * debug/strcpy_chk.c: Likewise.
17348 * debug/strncat_chk.c: Likewise.
17349 * debug/strncpy_chk.c: Likewise.
17350 * string/memchr.c: Likewise.
17351 * string/memrchr.c: Likewise.
17352 * string/rawmemchr.c: Likewise.
17353 * string/strcat.c: Likewise.
17354 * string/strchr.c: Likewise.
17355 * string/strchrnul.c: Likewise.
17356 * string/strcmp.c: Likewise.
17357 * string/strcpy.c: Likewise.
17358 * string/strncat.c: Likewise.
17359 * string/strncmp.c: Likewise.
17360 * string/strncpy.c: Likewise.
17361
8ff41c46
WS
173622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17363
17364 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
17365 __builtin_memcopy is called when src and dest ranges are known to not
17366 overlap.
17367
6b652f46
WS
173682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17369
17370 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
17371 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
17372 fwd_align_merge macro call.
17373 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
17374 bwd_align_merge macro call.
17375 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17376
b282631e
WS
173772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
17378
17379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
17380 bwd_align_merge macros.
17381 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
17382 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
17383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17384
95aa737c
DM
173852012-04-18 David S. Miller <davem@davemloft.net>
17386
17387 * sysdeps/sparc/sparc64/memcopy.h: Delete.
17388
7a99a614
AJ
173892012-04-18 Andreas Jaeger <aj@suse.de>
17390
17391 [BZ# 6794]
17392 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17393 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
17394 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17395
17396 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
17397 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
17398 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17399
17400 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
17401 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
17402 Adjust for changed ldbl-128 files.
17403
17404 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
17405 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
17406 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
17407
e5270c23
DM
174082012-04-17 David S. Miller <davem@davemloft.net>
17409
17410 * sysdeps/sparc/sparc32/memcopy.h: Delete.
17411
fb5e92c9
AS
174122012-04-17 Andreas Schwab <schwab@linux-m68k.org>
17413
17414 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
17415 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
17416 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
17417 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
17418 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
17419 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
17420
76da7265
AZ
174212012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17422
17423 [BZ #6794]
17424 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
17425 * math/libm-test.inc: Add ilogb errno and exception tests.
17426 * math/w_ilogb.c: New file: ilogb wrapper.
17427 * math/w_ilogbf.c: New file: ilogbf wrapper.
17428 * math/w_ilogbl.c: New file: ilogbl wrapper.
17429 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
17430 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
17431 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
17432 exception being thrown with 0.0 as argument.
17433 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
17434 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
17435 exception being thrown with 0.0 as argument.
17436 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
17437 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17438 exception being thrown with 0.0 as argument.
17439 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
17440 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
17441 exception being thrown with 0.0 as argument.
17442 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
17443 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 17444 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
17445 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
17446 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
17447 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
17448 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
17449 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
17450 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
17451
0396e69d
PB
174522012-04-17 Petr Baudis <pasky@ucw.cz>
17453
17454 * include/sys/uio.h: Change __vector to __iovec to avoid clash
17455 with altivec.
17456
750b5926
MP
174572012-04-16 Marek Polacek <polacek@redhat.com>
17458
17459 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
17460
751728a1
MP
174612012-04-16 Marek Polacek <polacek@redhat.com>
17462
17463 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
17464 operands of fdivp instruction.
17465
34a27407
L
174662012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17467
17468 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
17469 * elf/tst-auditmod3b.c: Likewise.
17470 * elf/tst-auditmod4b.c: Likewise.
17471 * elf/tst-auditmod5b.c: Likewise.
17472 * elf/tst-auditmod6b.c: Likewise.
17473 * elf/tst-auditmod6c.c: Likewise.
17474 * elf/tst-auditmod7b.c: Likewise.
17475 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
17476 * sysdeps/x86_64/preconfigure.in: Likewise.
17477 * sysdeps/x86_64/preconfigure: Regenerated.
17478
7e73e17d
L
174792012-04-13 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17482 __ILP32__.
17483
c7a6ab72
AB
174842012-04-13 Antoine Balestrat <merkil33@gmail.com>
17485
17486 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17487 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
17488
a9e8e0e0
CL
174892012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
17490
17491 [BZ #13973]
17492 * locale/iso-639.def: Fix gl language name. Spotted by
17493 Yaron Shahrabani.
17494
ec98af7d
RM
174952012-04-12 Roland McGrath <roland@hack.frob.com>
17496
17497 [BZ #2074]
17498 * libio/libio.h (__io_write_fn): Update comment.
17499
247c3ede
PB
175002012-04-12 Petr Baudis <pasky@ucw.cz>
17501
17502 [BZ #2074]
17503 * stdio.texi (Hook Functions): The user provided writer function
17504 is not allowed to return -1.
17505
55939d6d
DM
175062012-04-11 David S. Miller <davem@davemloft.net>
17507
17508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17509
90020f5a
MF
175102012-04-11 Mike Frysinger <vapier@gentoo.org>
17511
17512 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
17513 Add a leading slash to rtkaio.
17514
288f9098
JM
175152012-04-11 Jim Meyering <meyering@redhat.com>
17516
90020f5a
MF
17517 [BZ #11959]
17518 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
17519 It is not necessarily an error to ignore fwrite's return
17520 value. One can reliably use ferror to test for errors after
17521 the fact.
288f9098 17522
4be2b570
L
175232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17524
17525 * bits/types.h (__snseconds_t): New type.
17526 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
17527
17528 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
17529 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17530 (__SNSECONDS_T_TYPE): Likewise.
17531 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17532 (__SNSECONDS_T_TYPE): Likewise.
17533 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17534 (__SNSECONDS_T_TYPE): Likewise.
17535
288f9098 175362012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
17537
17538 [BZ #2636]
17539 * manual/time.texi (Processor Time): Return type of times is
17540 elapsed real time since an arbitrary point in the past.
17541 (CPU Time): Move CLK_TCK from here...
17542 (Processor Time): ...to here. Correct description.
17543 * manual/conf.texi (Constants for Sysconf): Correct description of
17544 _SC_CLK_TCK.
17545
d7dd4413
DM
175462012-04-10 David S. Miller <davem@davemloft.net>
17547
17548 [BZ #13967]
17549 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
17550 where the is a gap between DT_REL(A) and DT_JMPREL.
17551
b46068fc
L
175522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
17553
17554 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
17555 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17556 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17557
73d65cc3
SP
175582012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17559
17560 * elf/dl-support.c (_dl_inhibit_cache): New variable.
17561 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17562 (dl_main): Handle --inhibit-cache.
17563 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
17564 _dl_inhibit_cache.
17565 * elf/dl-load.c (_dl_map_object): Use it.
17566 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
17567
bcc8d661
JM
175682012-04-09 Joseph Myers <joseph@codesourcery.com>
17569
8f9a2fae
JM
17570 [BZ #13872]
17571 * sysdeps/i386/fpu/e_powl.S (p78): New object.
17572 (__ieee754_powl): Saturate large exponents rather than testing for
17573 overflow of y*log2(x).
17574 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17575 * math/libm-test.inc (pow_test): Do not permit spurious overflow
17576 exceptions.
17577
bcc8d661
JM
17578 [BZ #11521]
17579 * math/s_ctan.c: Include <float.h>.
17580 (__ctan): Avoid internal overflow or cancellation in calculating
17581 denominator.
17582 * math/s_ctanf.c: Likewise.
17583 * math/s_ctanl.c: Likewise.
17584 * math/s_ctanh.c: Likewise.
17585 * math/s_ctanhf.c: Likewise.
17586 * math/s_ctanhl.c: Likewise.
17587 * math/libm-test.inc (ctan_test): Add more tests.
17588 (ctanh_test): Likewise.
17589 * sysdeps/i386/fpu/libm-test-ulps: Update.
17590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17591
823fbbb4
AJ
175922012-04-09 Andreas Jaeger <aj@suse.de>
17593
03879793
AJ
17594 [BZ #6894]
17595 * manual/filesys.texi (Directory Entries): Mention that d_namlen
17596 is an optional BSD extension.
17597
823fbbb4
AJ
17598 [BZ #10254]
17599 * manual/stdio.texi (Opening Streams): Document additional fopen
17600 parameters.
17601
8de131cb
RM
176022012-04-09 Roland McGrath <roland@hack.frob.com>
17603
17604 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
17605 %eax without telling the compiler.
17606
c0ed9d7d
CD
176072012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
17608
17609 [BZ # 13963]
17610 * manual/install.texi: Use sourceware.org.
17611
c483f6b4
JM
176122012-04-09 Joseph Myers <joseph@codesourcery.com>
17613
d7dd9453
JM
17614 [BZ #13873]
17615 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
17616 (__ieee754_pow): Generate overflow and underflow using huge*huge
17617 and tiny*tiny rather than just returning constant infinity or zero
17618 for large exponents.
17619 * math/libm-test.inc (pow_test): Require overflow exceptions for
17620 applicable cases of large exponents.
17621
c483f6b4
JM
17622 [BZ #706]
17623 * sysdeps/i386/fpu/e_pow.S (p10): New object.
17624 (__ieee754_pow): Use iterative multiplication algorithm only for
17625 integer exponents with absolute value below 1024. Check for odd
17626 integer exponents when using algorithm for real exponents.
17627 * math/libm-test.inc (pow_test): Add more tests.
17628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17629
d2de7579
JM
176302012-04-08 Joseph Myers <joseph@codesourcery.com>
17631
17632 [BZ #13705]
17633 * math/libm-test.inc (exp_test): Do not allow overflow exception
17634 on underflow test.
17635
f77f1232
AJ
176362012-04-08 Aurelien Jarno <aurelien@aurel32.net>
17637
17638 [BZ #13705]
17639 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
17640 instead of __kernel_standard_f.
17641
3884932b
MF
176422012-04-08 Mike Frysinger <vapier@gentoo.org>
17643
17644 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
17645 * sysdeps/x86_64/memset_chk.S: Likewise.
17646
54472e9c
AJ
176472012-04-08 Andreas Jaeger <aj@suse.de>
17648
6ab0fbfc
AJ
17649 [BZ #10153]
17650 * manual/startup.texi (Environment Access): Describe return value
17651 for putenv and setenv.
17652
61efba8c
AJ
17653 [BZ #6895]
17654 * manual/filesys.texi (Directory Entries): Add description for
17655 DT_LNK.
17656
95c3f29a
AJ
17657 [BZ #6890]
17658 * manual/filesys.texi (Directory Entries): Clarify that it's file
17659 system not operating system in the description of DT_UNKNOWN.
17660
54472e9c
AJ
17661 [BZ #6578]
17662 * manual/syslog.texi (closelog): Fix reference, it's openlog.
17663
624254b1
SC
176642012-04-08 Stephen Compall <s11@member.fsf.org>
17665
17666 [BZ #6649]
17667 * manual/llio.texi (Opening and Closing Files): Add cross
17668 reference to explain mode argument.
17669
1e4920e0
MF
176702012-04-07 Mike Frysinger <vapier@gentoo.org>
17671
17672 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
17673 * sysdeps/x86_64/memset_chk.S: Likewise.
17674
5ed848f3
DM
176752012-04-07 David S. Miller <davem@davemloft.net>
17676
17677 * elf/elf.h (R_SPARC_WDISP10): Define.
17678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
17679 R_SPARC_SIZE32.
17680 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
17681 R_SPARC_SIZE64 and R_SPARC_H34.
17682
96154cd8
CD
176832012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
17684
17685 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
17686 conditions and remove no longer applicable assertion.
17687
9904dc47
L
176882012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17689
17690 * bits/byteswap.h: Include <features.h>.
17691 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
17692 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
17693
f8887d0a
L
176942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
17695
17696 * bits/byteswap.h (__bswap_16): Removed.
17697 Include <bits/byteswap-16.h> to get __bswap_16.
17698 * sysdeps/i386/bits/byteswap.h: Likewise.
17699 * sysdeps/s390/bits/byteswap.h: Likewise.
17700 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17701 * bits/byteswap-16.h: New file.
17702 * sysdeps/i386/bits/byteswap-16.h: Likewise.
17703 * sysdeps/s390/bits/byteswap-16.h: Likewise.
17704 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
17705 * string/Makefile (headers): Add bits/byteswap-16.h.
17706
62470f60
PP
177072012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
17708
17709 [BZ #13895]
17710 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
17711 extra indirection.
17712 * nss/Makefile (tests-static, tests): Add tst-nss-static.
17713 * nss/tst-nss-static.c: New.
17714
4dad7bab
RM
177152012-04-06 Robert Millan <rmh@gnu.org>
17716
17717 [BZ #6486]
17718 * manual/llio.texi (File Position Primitive): lseek
17719 refers to WHENCE when it really means OFFSET.
17720
e9142a17
AJ
177212012-04-06 Andreas Jaeger <aj@suse.de>
17722
2c040eff
AJ
17723 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
17724 strncmp declarations.
17725
e9142a17
AJ
17726 * abilist/libc.abilist: Add __poll and __ppoll.
17727
ff9f1c5f
DM
177282012-04-05 David S. Miller <davem@davemloft.net>
17729
dcd2ae90
DM
17730 * scripts/check-local-headers.sh: Accept a host triplet in the
17731 path matched by the exclude regexp.
17732
993eb054
DM
17733 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
17734 definition.
17735 * sysdeps/powerpc/powerpc32/dl-machine.h
17736 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
17737 * sysdeps/s390/s390-32/dl-machine.h
17738 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17739 * sysdeps/sparc/sparc32/dl-machine.h
17740 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17741 * sysdeps/sparc/sparc64/dl-machine.h
17742 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
17743
ff9f1c5f
DM
17744 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
17745 lazy binding.
48e2e132 17746 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
17747 undefined symbol errors.
17748
48e2e132 17749 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
17750 DT_NEEDED entries.
17751
e80d6f94
MM
177522012-04-05 Michael Matz <matz@suse.de>
17753
17754 [BZ #13592]
17755 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
17756
349fa79f
AJ
177572012-04-05 Andreas Jaeger <aj@suse.de>
17758
17759 [BZ #13908]
17760 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
17761 comment.
17762
f402708f
KK
177632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17764
17765 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
17766 which ROUND is no valid rounding mode.
17767
2ecccfc9
KK
177682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17769
17770 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
17771 read again.
17772 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
17773
8a53f50f
KK
177742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17775
17776 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
17777 an exception using FPU order intentionally.
17778
177792012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
17780
17781 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
17782 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
17783 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
17784 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
17785
d653abb7
SJ
177862012-04-05 Simon Josefsson <simon@josefsson.org>
17787
17788 [BZ #12340]
17789 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
17790 EINVAL when BUFLEN is too smal.
17791
c3b1bf7d
TS
177922012-04-05 Thomas Schwinge <thomas@codesourcery.com>
17793
17794 [BZ #13553]
17795 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
17796 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
17797
b1aa60f3
AJ
177982012-04-03 Andreas Jaeger <aj@suse.de>
17799
c3b1bf7d 17800 [BZ #13938]
67f60a26
AJ
17801 * manual/setjmp.texi (System V contexts): Fix sentence.
17802
b1aa60f3
AJ
17803 [BZ #13926]
17804 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
17805 New macro for this case.
17806 [!__GNUC__] (__bswap_64): New inline function for this case.
17807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17808 * bits/byteswap.h: Likewise.
17809 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
17810 ull, guard with __GLIBC_HAVE_LONG_LONG.
17811
17812 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
17813 __GLIBC_HAVE_LONG_LONG.
17814
17815 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
17816 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
17817
39c59c35
TMQMF
178182012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17819
17820 [BZ #13691]
17821 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
17822 inptr and inend, rather than using last_ch.
17823
135ffda8
DM
178242012-04-02 David S. Miller <davem@davemloft.net>
17825
17826 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
17827 * stdio-common/printf-parse.h (read_int): Change return type to
17828 'int', return -1 on INT_MAX overflow.
17829 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
17830 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
17831 overflows INT_MAX. Check for overflow of in-format-string precision
17832 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
17833 SIZE_MAX not INT_MAX for integer overflow test.
17834 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
17835 skip the construct in the format string but do not record anything.
17836 * stdio-common/bug22.c: Adjust to test both width/prevision
17837 INT_MAX overflow as well as total length INT_MAX overflow. Check
17838 explicitly for proper errno values.
17839
228c019e
TS
178402012-04-02 Thomas Schwinge <thomas@codesourcery.com>
17841
302cadd3
TS
17842 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
17843 CHAR_MAX.
17844 * string/test-strcmp.c [! WIDE]: Likewise.
17845 * time/tst-mktime2.c: Likewise for INT_MAX.
17846 * string/test-string.h: #include <sys/param.h> for MIN.
17847
228c019e
TS
17848 * csu/init-first.c (__libc_init_first): Call __ctype_init.
17849 * sysdeps/i386/init-first.c (init): Likewise.
17850 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
17851 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
17852 * sysdeps/sh/init-first.c (init): Likewise.
17853
cfa633f5
UD
178542012-04-01 Ulrich Drepper <drepper@gmail.com>
17855
17856 * po/ru.po: Update from translation team.
d1635ef8 17857 * po/vi.po: Likewise.
cfa633f5 17858
6cd0a5ea
SP
178592012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17860
17861 * resolv/nss_dns/dns-host.c: Merge copyright years.
17862
4b43400f
LD
178632012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17864
17865 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
17866 Optimize memcpy with prefetch if
17867 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
17868 src, dst pointers have unequal 16 byte alignments.
17869
48c41d04
SP
178702012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17871
17872 [BZ #13928]
17873 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
17874 from a CNAME entry and return the minimum ttl for the query.
17875 (gaih_getanswer_slice): Likewise.
17876
b8dc394d
JL
178772012-03-30 Jeff Law <law@redhat.com>
17878
17879 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
17880 due to long keys.
17881 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17882 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17883
2f5a5ed0
JL
17884 * resolv/nss_dns/dns-host.c: Update copyright year.
17885
1d39e359
UD
178862012-03-30 Ulrich Drepper <drepper@gmail.com>
17887
c030f70c 17888 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 17889 requests to save a system call. Fix check that all bytes are sent.
c030f70c 17890
1d39e359
UD
17891 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
17892 comments for sendmmsg.
17893
178942012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
17895
17896 [BZ #13691]
17897 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
17898 with only 1 character between 0x0041 and 0x01b0.
17899 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
17900 * wcsmbs/tst-mbsnrtowcs.c: New file.
17901
20fde227
DM
179022012-03-29 David S. Miller <davem@davemloft.net>
17903
17904 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17905 small copies by hand.
17906
984a4237
JL
179072012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17908
17909 [BZ #13761]
17910 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
17911 _nss_compat_initgroups_dyn): Fall back to malloc/free
17912 for large group memberships.
17913
18c9d62b
DM
179142012-03-28 David S. Miller <davem@davemloft.net>
17915
88d85d4f
DM
17916 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
17917 that branches into memcpy.
17918 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17919 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
17920 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17921 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
17922 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
17923 bits.
17924 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
17925 implementation too.
17926 * sysdeps/sparc/mempcpy.S: New file.
17927
e5aa83e1
DM
17928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
17929 the IFUNC routine in the libc case.
17930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
17931
88570753
DM
17932 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
17933 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
17934 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
17935 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
17936 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
17937 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
17938 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
17939 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
17940
249d7567
DM
17941 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
17942 loop to 256 bytes instead of 64 bytes and fix test signedness.
17943
18c9d62b
DM
17944 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
17945 * sysdeps/sparc/sparc32/Makefile: rather than here...
17946 * sysdeps/sparc/sparc64/Makefile: and here.
17947
05f3d1f6
UD
179482012-03-28 Ulrich Drepper <drepper@gmail.com>
17949
17950 * malloc/mallocbug.c: Avoid warnings about unused variables.
17951
86ae07a8
JL
179522012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
17953
17954 [BZ #13760]
17955 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
17956 in the right place. Discard and retry query if response is
17957 larger than input buffer size.
17958
41bf21a1
JM
179592012-03-28 Joseph Myers <joseph@codesourcery.com>
17960
d6270972
JM
17961 [BZ #369]
17962 [BZ #2678]
17963 [BZ #3866]
17964 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
17965 x for large integer exponent.
17966 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17967 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
17968 sign of result as needed afterwards.
17969 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17970 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
17971 result for underflowing pow the same as for overflow.
17972 (__kernel_standard_l): Handle powl overflow and underflow here
17973 rather than calling __kernel_standard.
17974 * math/libm-test.inc (pow_test): Add more tests.
17975
414fca03 17976 [BZ #3868]
41bf21a1
JM
17977 [BZ #13879]
17978 [BZ #13910]
17979 [BZ #13911]
17980 [BZ #13912]
17981 [BZ #13913]
17982 [BZ #13915]
17983 [BZ #13916]
17984 [BZ #13917]
17985 [BZ #13918]
17986 [BZ #13919]
17987 [BZ #13920]
17988 [BZ #13921]
17989 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
17990 * sysdeps/ieee754/k_standard.c: Include <float.h>.
17991 (__kernel_standard_l): New function.
17992 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
17993 __kernel_standard.
17994 * math/w_acosl.c (__acosl): Likewise.
17995 * math/w_asinl.c (__asinl): Likewise.
17996 * math/w_atan2l.c (__atan2l): Likewise.
17997 * math/w_atanhl.c (__atanhl): Likewise.
17998 * math/w_coshl.c (__coshl): Likewise.
17999 * math/w_exp10l.c (__exp10l): Likewise.
18000 * math/w_exp2l.c (__exp2l): Likewise.
18001 * math/w_fmodl.c (__fmodl): Likewise.
18002 * math/w_hypotl.c (__hypotl): Likewise.
18003 * math/w_j0l.c (__j0l, __y0l): Likewise.
18004 * math/w_j1l.c (__j1l, __y1l): Likewise.
18005 * math/w_jnl.c (__jnl, __ynl): Likewise.
18006 * math/w_lgammal.c (__lgammal): Likewise.
18007 * math/w_log10l.c (__log10l): Likewise.
18008 * math/w_log2l.c (__log2l): Likewise.
18009 * math/w_logl.c (__logl): Likewise.
18010 * math/w_powl.c (__powl): Likewise.
18011 * math/w_remainderl.c (__remainderl): Likewise.
18012 * math/w_scalbl.c (sysv_scalbl): Likewise.
18013 * math/w_sinhl.c (__sinhl): Likewise.
18014 * math/w_sqrtl.c (__sqrtl): Likewise.
18015 * math/w_tgammal.c (__tgammal): Likewise.
18016 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
18017 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
18018 * math/libm-test.inc (acos_test): Add more tests.
18019 (acosh_test): Likewise.
18020 (asin_test): Likewise.
18021 (atanh_test): Likewise.
18022 (exp_test): Likewise.
18023 (exp10_test): Likewise.
18024 (exp2_test): Likewise.
18025 (expm1_test): Likewise.
18026 (lgamma_test): Likewise.
18027 (log_test): Likewise.
18028 (log10_test): Likewise.
18029 (log1p_test): Likewise.
18030 (log2_test): Likewise.
18031 (pow_test): Do not allow some spurious overflow exceptions.
18032 (sqrt_test): Add more tests.
18033 (tgamma_test): Likewise.
18034 (y0_test): Likewise.
18035 (y1_test): Likewise.
18036 (yn_test): Likewise.
18037
dd62fda6
AB
180382012-03-27 Anton Blanchard <anton@samba.org>
18039
18040 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
18041 MAP_HUGETLB.
18042 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
18044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18045
1e3cdfda
AJ
180462012-03-27 David S. Miller <davem@davemloft.net>
18047
b855ab85
DM
18048 * conform/Makefile: Run run-conformtest.sh using $(BASH).
18049
1e3cdfda
AJ
18050 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
18051 have-as-vis3 check.
18052
180532012-03-27 Andreas Jaeger <aj@suse.de>
18054
18055 * sysdeps/x86_64/elf/configure.in: Moved to ...
18056 * sysdeps/x86_64/configure.in: ... here.
18057 * sysdeps/x86_64/elf/start.S: Moved to ...
18058 * sysdeps/x86_64/start.S: ... here.
18059 * sysdeps/x86_64/elf/configure: Delete.
18060
18061 * sysdeps/x86_64/configure.in: Merge contents from
18062 sysdeps/i386/configure.in (without i686 check).
18063
18064 * sysdeps/i386/elf/Versions: Merge into ...
18065 * sysdeps/i386/Versions: ... this.
18066 * sysdeps/i386/elf/Versions: Delete file.
18067 * sysdeps/i386/elf/start.S: Moved to ...
18068 * sysdeps/i386/start.S: ...here.
18069 * sysdeps/i386/elf/configure.in: Merge into...
18070 * sysdeps/i386/configure.in: ...here.
18071 * sysdeps/i386/elf/configure.in: Delete file.
18072 * sysdeps/i386/elf/configure: Delete file.
18073
18074 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
18075 * debug/backtracesyms.c: ... here.
18076 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
18077 * debug/backtracesymsfd.c: ... here.
18078 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
18079 * sysdeps/generic/ifunc-sel.h: ... here.
18080
18081 * sysdeps/unix/i386/start.c: Delete file.
18082 * sysdeps/unix/sparc/start.c: Delete file.
18083 * sysdeps/unix/start.c: Delete file.
18084
18085 * sysdeps/sh/elf/configure.in: Moved to ...
18086 * sysdeps/sh/configure.in: ... here.
18087 * sysdeps/sh/elf/start.S: Moved to ...
18088 * sysdeps/sh/start.S: ... here.
18089 * sysdeps/sh/elf/configure: Delete file.
18090
18091 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
18092 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
18093 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
18094 * sysdeps/powerpc/powerpc64/entry.h: ... here.
18095 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
18096 * sysdeps/powerpc/powerpc64/start.S: here.
18097 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
18098 * sysdeps/powerpc/powerpc64/Makefile: ... this.
18099 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
18100 * sysdeps/powerpc/powerpc64/configure.in: ... this.
18101 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
18102
18103 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
18104 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
18105 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
18106 * sysdeps/powerpc/powerpc32/start.S: ... here.
18107 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
18108 * sysdeps/powerpc/powerpc32/configure.in: ... this.
18109 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
18110
18111 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
18112 * sysdeps/powerpc/ifunc-sel.h: ... here.
18113 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
18114 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
18115
18116 * sysdeps/sparc/elf/configure.in: Moved to ...
18117 * sysdeps/sparc/configure.in: ... here.
18118 * sysdeps/sparc/elf/configure: Delete file.
18119 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
18120 * sysdeps/sparc/sparc32/start.S: ... here.
18121 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
18122 * sysdeps/sparc/sparc64/start.S: ... here.
18123 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
18124 * sysdeps/sparc/sparc32/Makefile: ... this.
18125 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
18126 * sysdeps/sparc/sparc64/Makefile: ... this.
18127
18128 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
18129 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
18130 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
18131 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
18132 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
18133 * sysdeps/s390/s390-32/setjmp.S: ... here.
18134 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
18135 * sysdeps/s390/s390-32/configure.in: ... here.
18136 * sysdeps/s390/s390-32/elf/configure: Delete file.
18137 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
18138 * sysdeps/s390/s390-32/start.S: ... here.
18139
18140 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
18141 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
18142 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
18143 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
18144 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
18145 * sysdeps/s390/s390-64/setjmp.S: ... here.
18146 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
18147 * sysdeps/s390/s390-64/configure.in: ... here
18148 * sysdeps/s390/s390-64/elf/configure: Delete file.
18149 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
18150 * sysdeps/s390/s390-64/start.S: ... here.
18151 * sysdeps/s390/s390-64/elf/configure: Delete.
18152
18153 * configure.in: Remove support for elf directories in sysdeps.
18154
18155 * configure: Regenerated.
18156 * sysdeps/i386/configure: Regenerated.
18157 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18158 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18159 * sysdeps/s390/s390-32/configure: Regenerated.
18160 * sysdeps/s390/s390-64/configure: Regenerated.
18161 * sysdeps/sh/configure: Regenerated.
18162 * sysdeps/sparc/configure: Regenerated.
18163 * sysdeps/x86_64/configure: Regenerated.
18164
a3f61311
AS
181652012-03-26 Andreas Schwab <schwab@linux-m68k.org>
18166
c876e002
AS
18167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18168
a3f61311
AS
18169 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
18170 denormal result into account.
18171
ac4c54f0
RM
181722012-03-25 Roland McGrath <roland@hack.frob.com>
18173
18174 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
18175 Reported by Allan McRae <allan@archlinux.org>.
18176
6a9b9c02
JL
181772012-03-23 Jeff Law <law@redhat.com>
18178
18179 * nss/getnssent.c (__nss_getent): Fix typo.
18180
4c42a0c1
DM
181812012-03-23 David S. Miller <davem@davemloft.net>
18182
18183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18184
1532c7ac
L
181852012-03-23 H.J. Lu <hongjiu.lu@intel.com>
18186
18187 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
18188 to pad to uint64_t for each field.
18189 (dl_tls_index): Replace unsigned long with uint64_t.
18190
3ff42526
PP
181912012-03-23 Daniel Jacobowitz <dmj@google.com>
18192 Paul Pluzhnikov <ppluzhnikov@google.com>
18193
18194 [BZ #6528]
18195 * grp/Makefile (otherlibs): Don't set it.
18196 * inet/Makefile (otherlibs): Likewise.
18197 * login/Makefile (otherlibs): Likewise.
18198 * nscd/Makefile (otherlibs): Likewise.
18199 * posix/Makefile (otherlibs): Likewise.
18200 * pwd/Makefile (otherlibs): Likewise.
18201 * rt/Makefile (otherlibs): Likewise.
18202 * sunrpc/Makefile (otherlibs): Likewise.
18203 * nss/Makefile (otherlibs): Likewise.
18204 Add libnss_files to routines and static-only-routines.
18205 ($(objpfx)getent): Remove rule.
18206 * resolv/Makefile: Add libnss_dns and libresolv to routines and
18207 static-only-routines.
18208
7c69cd14
JM
182092012-03-22 Joseph Myers <joseph@codesourcery.com>
18210
18211 [BZ #13892]
18212 * math/s_cexp.c: Include <float.h>.
18213 (__cexp): Handle exp result overflowing not necessarily
18214 overflowing both real and imaginary parts of result.
18215 * math/s_cexpf.c: Likewise.
18216 * math/s_cexpl.c: Likewise.
18217 * math/libm-test.inc (cexp_test): Add more tests.
18218 * sysdeps/i386/fpu/libm-test-ulps: Update.
18219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18220
81b035fe
L
182212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18222
18223 * include/link.h (ELFW): New macro.
18224 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
18225 Replace ELF64_R_TYPE with ELFW(R_TYPE).
18226
1da7940c
L
182272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18228
18229 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
18230 with uint64_t.
18231
b749dbb9
L
182322012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18233
18234 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
18235 declaration.
18236 (struct La_x32_retval): Likewise.
18237
2ff87f3f
L
182382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
18239
18240 * sysdeps/x86_64/preconfigure.in: New file.
18241 * sysdeps/x86_64/preconfigure: New generated file.
18242
c0df8e69
JM
182432012-03-22 Joseph Myers <joseph@codesourcery.com>
18244
48e44791
JM
18245 [BZ #13824]
18246 * math/e_exp2l.c: Include <float.h>.
18247 (__ieee754_exp2l): Handle overflow and underflow cases
18248 separately. Only pass fractional part of argument to
18249 __ieee754_expl.
18250 * math/libm-test.inc (exp2_test): Add more tests.
18251
c0df8e69
JM
18252 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
18253 negating x to take absolute value.
18254 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
18255 Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
18258 Likewise.
18259 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
18260 computing low part if x was negated.
18261 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
18262
c8e43ba7
L
182632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18264
18265 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
18266 la_x32_gnu_pltexit.
18267 (pltexit): Cast int_retval to ptrdiff_t.
18268 * elf/tst-auditmod3b.c: Likewise.
18269 * elf/tst-auditmod4b.c: Likewise.
18270 * elf/tst-auditmod5b.c: Likewise.
18271 * elf/tst-auditmod6b.c: Likewise.
18272 * elf/tst-auditmod6c.c: Likewise.
18273 * elf/tst-auditmod7b.c: Likewise.
18274
18275 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
18276 and x32_gnu_pltexit.
18277
18278 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
18279 __ELF_NATIVE_CLASS.
18280 (La_x32_regs): New macro.
18281 (La_x32_retval): Likewise.
18282 (la_x32_gnu_pltenter): New function prototype.
18283 (la_x32_gnu_pltexit): Likewise.
18284
7998fa78
AS
182852012-03-21 Andreas Schwab <schwab@linux-m68k.org>
18286
dcb33988
AS
18287 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
18288 exponent.
18289
233fc563
AS
18290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18291
7998fa78
AS
18292 * configure.in (libc_cv_cc_nofma): Check for option to disable
18293 generation of FMA instructions.
18294 * configure: Regenerate.
18295 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
18296 * sysdeps/ieee754/dbl-64/Makefile: New file.
18297 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
18298 Remove brandred-fma4.
18299 (CFLAGS-brandred-fma4.c): Remove.
18300 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
18301 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
18302 define.
18303 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
18304 define.
18305
8e95c99a
L
183062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18307
18308 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18309 LLONG_MAX != LONG_MAX.
18310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18311 (_fitoa_word): Likewise.
18312 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
18313 LLONG_MAX != LONG_MAX.
18314 * stdio-common/_itowa.h: Include <_itoa.h>.
18315 (_itowa_word): Use _ITOA_WORD_TYPE on value.
18316 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
18317 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
18318 only if not defined.
18319 (_ITOA_WORD_TYPE): Likewise.
18320 (_itoa_word): Use _ITOA_WORD_TYPE on value.
18321 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
18322
6f4db457
DM
183232012-03-21 David S. Miller <davem@davemloft.net>
18324
18325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18326
7785fe5a
L
183272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
18328
18329 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
18330 of x86_64 when setting libc_cv_slibdir, libdir and
18331 libc_cv_localedir.
18332 * sysdeps/unix/sysv/linux/configure: Regenerated.
18333
4535cd55
JM
183342012-03-21 Joseph Myers <joseph@codesourcery.com>
18335
18336 * manual/lang.texi (Old Varargs): Remove section.
18337 (How Variadic): Update menu.
18338 (va_start): Do not mention varargs.h.
18339
17228132
TS
183402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18341 Joseph Myers <joseph@codesourcery.com>
18342
18343 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
18344 link test.
18345 * configure: Regenerated.
18346
8149f976
TS
183472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
18348
05f3d1f6
UD
18349 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
18350 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
18351 conformtest.pl
8149f976 18352
1a4ac776
JM
183532012-03-21 Joseph Myers <joseph@codesourcery.com>
18354
be22ce65
JM
18355 * NOTES: Remove.
18356 * Makefile (files-for-dist): Remove NOTES.
18357 (NOTES): Remove rule.
18358 * README: Don't refer to NOTES.
18359 * manual/creature.texi: Don't include macros.texi.
18360 * manual/intro.texi (creature.texi): Remove comment referring to
18361 NOTES.
18362
40b601fb
JM
18363 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
18364 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
18365 * configure: Regenerated.
18366 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
18367 LIBC_TRY_CC_OPTION.
18368 (libc_cv_as_i686): Likewise.
18369 (libc_cv_cc_avx): Likewise.
18370 (libc_cv_cc_sse2avx): Likewise.
18371 (libc_cv_cc_fma4): Likewise.
18372 (libc_cv_cc_novzeroupper): Likewise.
18373 * sysdeps/i386/configure: Regenerated.
18374
1a4ac776
JM
18375 [BZ #13883]
18376 * sysdeps/i386/fpu/s_cexp.S: Remove.
18377 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
18378 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
18379 * math/libm-test.inc (cexp_test): Add more tests.
18380 * sysdeps/i386/fpu/libm-test-ulps: Update.
18381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18382
a458e7fe
AM
183832012-03-21 Allan McRae <allan@archlinux.org>
18384
18385 * timezone/Makefile: Do not install iso3166.tab and zone.tab
18386
0cb7efc5
JM
183872012-03-21 Joseph Myers <joseph@codesourcery.com>
18388
18389 [BZ #13871]
18390 * math/w_exp2.c: Do not include <float.h>.
18391 (o_threshold, u_threshold): Remove.
18392 (__exp2): Calculate result before checking finiteness and calling
18393 __kernel_standard.
18394 * math/w_exp2f.c: Likewise.
18395 * math/w_exp2l.c: Likewise.
18396 * math/libm-test.inc (exp2_test): Require overflow exception for
18397 1e6 input.
2460d3aa
JM
18398
18399 [BZ #3866]
18400 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
18401 range of signed 64-bit integers before using fistpll. Remove
18402 checks for whether integers fit in mantissa bits.
18403 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
18404 the range of signed 32-bit integers before using fistpl. Remove
18405 checks for whether integers fit in mantissa bits.
18406 * sysdeps/i386/fpu/e_powl.S (p64): New object.
18407 (__ieee754_powl): Test for y outside the range of signed 64-bit
18408 integers before using fistpll. Reduce 64-bit values to 63-bit
18409 ones as needed.
18410 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
18411 divide-by-zero is raised for zero to large negative powers.
18412 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
18413 (__ieee754_powl): Test for y outside the range of signed 64-bit
18414 integers before using fistpll. Reduce 64-bit values to 63-bit
18415 ones as needed.
18416 * math/libm-test.inc (pow_test): Add more tests.
18417
eb96ffb0
L
184182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18419
18420 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
18421 <stdio-common/_itoa.h>.
18422 * debug/segfault.c: Likewise.
18423 * elf/dl-cache.c: Likewise.
18424 * elf/dl-minimal.c: Likewise.
18425 * elf/dl-misc.c: Likewise.
18426 * elf/dl-sysdep.c: Likewise.
18427 * elf/dl-version.c: Likewise.
18428 * elf/rtld.c: Likewise.
18429 * hurd/hurdsock.c: Likewise.
18430 * hurd/lookup-retry.c: Likewise.
18431 * malloc/malloc.c: Likewise.
18432 * malloc/mtrace.c: Likewise.
18433 * nscd/nscd_getgr_r.c: Likewise.
18434 * nscd/nscd_getpw_r.c: Likewise.
18435 * nscd/nscd_getserv_r.c: Likewise.
18436 * posix/getopt_init.c: Likewise.
18437 * posix/wordexp.c: Likewise.
18438 * stdio-common/_itoa.c: Likewise.
18439 * stdio-common/printf_fphex.c: Likewise.
18440 * stdio-common/vfprintf.c: Likewise.
18441 * string/_strerror.c: Likewise.
18442 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
18443 * sysdeps/i386/i686/hp-timing.h: Likewise.
18444 * sysdeps/mach/_strerror.c: Likewise.
18445 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
18446 * sysdeps/mach/hurd/sethostid.c: Likewise.
18447 * sysdeps/mach/hurd/xmknodat.c: Likewise.
18448 * sysdeps/mach/xpg-strerror.c: Likewise.
18449 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18450 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18451 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
18452 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
18453 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18454 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
18455 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18456 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18457 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
18458 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
18459 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
18460 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
18461 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
18462 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
18463 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
18464 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
18465 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
18466 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
18467 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
18468 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
18469 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
18470
18471 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
18472
18473 * stdio-common/_itoa.h: Moved to ...
18474 * sysdeps/generic/_itoa.h: Here.
18475
18476 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
18477
18478 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
18479 instead of "_itoa.h" and "_itowa.h".
18480 * stdio-common/vfprintf.: Likewise.
18481
d1af992d
L
184822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18483
18484 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
18485 <bits/wordsize.h>.
18486 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
18487 (__signbit): Likwise.
18488 (llrintf): Likwise.
18489 (llrint): Likwise.
18490
114883e0
L
184912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
18492
18493 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
18494 __WORDSIZE != 64.
18495
c135cc1b
JM
184962012-03-20 Joseph Myers <joseph@codesourcery.com>
18497
18498 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
18499 OVERFLOW_EXCEPTION_OK.
18500 * math/libm-test.inc ("Philosophy"): Update comment about
18501 exception testing.
18502 (OVERFLOW_EXCEPTION): Define.
18503 (OVERFLOW_EXCEPTION_OK): Likewise.
18504 (INVALID_EXCEPTION_OK): Renumber.
18505 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18506 (IGNORE_ZERO_INF_SIGN): Likewise.
18507 (test_exceptions): Handle FE_OVERFLOW.
18508 (exp10_test): Expect overflow exceptions.
18509 (exp2_test): Likewise.
18510 (expm1_test): Likewise.
18511 (nextafter_test): Likewise.
18512 (pow_test): Likewise.
18513 (scalbn_test): Likewise.
18514 (scalbln_test): Likewise.
18515
95443d88
L
185162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18517
18518 * sysdeps/x86_64/bits/atomic.h
18519 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
18520 64bit integer.
18521 (atomic_exchange_acq): Likewise.
18522 (__arch_exchange_and_add_body): Likewise.
18523 (__arch_add_body): Likewise.
18524 (atomic_add_negative): Likewise.
18525 (atomic_add_zero): Likewise.
18526
490df6c4
L
185272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18528
c2722551 18529 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
18530 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
18531
5e52b189
L
185322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18533
18534 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
18535 Check __x86_64__ instead of __WORDSIZE.
18536
a9879d4c
L
185372012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18538
18539 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
18540
5df98260
DM
185412012-03-19 David S. Miller <davem@davemloft.net>
18542
e1497744
DM
18543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18544
5df98260
DM
18545 * sysdeps/sparc/fpu/fenv_private.h: New file.
18546 * sysdeps/sparc/fpu/math_private.h: Use it.
18547 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
18548 Remove.
18549 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
18550 (libc_feholdexcept_setroundl): Remove.
18551 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
18552 Remove.
18553 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
18554 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
18555
b4c35121
L
185562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18557
18558 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
18559 int64_t instead of long int.
18560 (INSERT_WORDS64): Likwise.
18561
56965fd7
L
185622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
18563
18564 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
18565 _Unwind_GetCFA return to _Unwind_Ptr first.
18566
83d1aec8
JM
185672012-03-19 Joseph Myers <joseph@codesourcery.com>
18568
1897ad44
JM
18569 [BZ #13629]
18570 * math/s_clog.c: Include <float.h>.
18571 (__clog): Scale large or subnormal inputs.
18572 * math/s_clogf.c: Likewise.
18573 * math/s_clogl.c: Likewise.
18574 * math/s_clog10.c: Include <float.h>.
18575 (M_LOG10_2): Define.
18576 (__clog10): Scale large or subnormal inputs.
18577 * math/s_clog10f.c: Likewise.
18578 * math/s_clog10l.c: Likewise.
18579 * math/libm-test.inc (clog_test): Add more tests.
18580 (clog10_test): Likewise.
18581 * sysdeps/i386/fpu/libm-test-ulps: Update.
18582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18583
7726d6a9
JM
18584 [BZ #11451]
18585 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
18586 x and y.
18587 * math/libm-test.inc (atan2_test): Add another test.
18588
83d1aec8
JM
18589 * Makerules (common-objdir-compile): Remove.
18590 * sysdeps/unix/Makefile (config-generated): Do not add
18591 $(unix-generated) to variable.
18592 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
18593 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
18594 Remove rule.
18595 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
18596 Likewise.
18597 [generic bits/local_lim.h] (before-compile): Do not append to
18598 variable.
18599 [generic bits/local_lim.h] (common-generated): Likewise.
18600 [generic sys/param.h] (before-compile): Do not append to variable.
18601 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
18602 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
18603 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
18604 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
18605 include.
18606 [generic sys/param.h] (sys/param.h-includes): Remove variable.
18607 [generic sys/param.h] (sys/param.h-includes): Remove rule.
18608 [generic sys/param.h] ($(addprefix
18609 $(common-objpfx),$(sys/param.h-includes))): Likewise.
18610 [generic sys/param.h] (common-generated): Do not append to
18611 variable.
18612 [generic sys/param.h] (sysdep_headers): Likewise.
18613 [generic bits/errno.h] (before-compile): Do not append to
18614 variable.
18615 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
18616 rule.
18617 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
18618 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
18619 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
18620 [generic bits/errno.h] (common-generated): Do not append to
18621 variable.
18622 [generic bits/ioctls.h] (before-compile): Do not append to
18623 variable.
18624 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
18625 rule.
18626 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
18627 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
18628 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
18629 rule.
18630 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
18631 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
18632 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
18633 [generic bits/ioctls.h] (common-generated): Do not append to
18634 variable.
18635 [generic sys/syscall.h] (syscall.h): Remove variable.
18636 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
18637 rule.
18638 [generic sys/syscall.h] (before-compile): Do not append to
18639 variable.
18640 [generic sys/syscall.h] (common-generated): Likewise.
18641 * sysdeps/unix/errnos-tmpl.c: Remove file.
18642 * sysdeps/unix/errnos.awk: Likewise.
18643 * sysdeps/unix/ioctls-tmpl.c: Likewise.
18644 * sysdeps/unix/ioctls.awk: Likewise.
18645 * sysdeps/unix/mk-local_lim.c: Likewise.
18646 * sysdeps/unix/snarf-ioctls: Likewise.
18647
4851a949
RH
186482012-03-19 Richard Henderson <rth@twiddle.net>
18649
bd37f2ee
RH
18650 * sysdeps/i386/fpu/fenv_private.h: New file.
18651 * sysdeps/i386/fpu/math_private.h: Use it.
18652 (math_opt_barrier, math_force_eval): Remove.
18653 (libc_feholdexcept_setround_53bit): Remove.
18654 (libc_feupdateenv_53bit): Remove.
18655 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18656 (math_opt_barrier, math_force_eval): Remove.
18657 (libc_feholdexcept): Remove.
18658 (libc_feholdexcept_setround): Remove.
18659 (libc_fetestexcept, libc_fesetenv): Remove.
18660 (libc_feupdateenv_test): Remove.
18661 (libc_feupdateenv, libc_feholdsetround): Remove.
18662 (libc_feresetround): Remove.
18663
d0adc922
RH
18664 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
18665 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18666
0fe0f1f8
RH
18667 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
18668 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
18669 (libc_feupdateenv_testl): New.
18670 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
18671 (libc_feupdateenv_testf): New.
18672 (libc_feupdateenv): Use libc_feupdateenv_test.
18673 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
18674 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
18675
eb92c487
RH
18676 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
18677 (libc_feholdsetroundf, libc_feholdsetroundl): New.
18678 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
18679 (libc_feresetround_noex): New.
18680 (libc_feresetround_noexf): New.
18681 (libc_feresetround_noexl): New.
18682 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
18683 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
18684 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
18685 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
18686 SET_RESTORE_ROUND.
18687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
18689 (__cos): Likewise.
18690 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
18691 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
18692 SET_RESTORE_ROUND_NOEX.
18693 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
18694 SET_RESTORE_ROUND_NOEXF.
18695 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
18696 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
18697 (libc_feholdsetroundf): New.
18698 (libc_feresetround, libc_feresetroundf): New.
18699
7d2e8012
RH
18700 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
18701 (libc_feholdexcept_setround_53bit): Convert from macro to function.
18702 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
18703
b4dabbb4
RH
18704 * sysdeps/generic/math_private.h: Include <fenv.h>.
18705 (default_libc_feholdexcept): New.
18706 (default_libc_feholdexcept_setround): New.
18707 (default_libc_fesetenv, default_libc_feupdateenv): New.
18708 (libc_feholdexcept): Only define if undefined.
18709 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
18710 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
18711 (libc_feholdexcept_setroundl): Likewise.
18712 (libc_feholdexcept_setround_53bit): Likewise.
18713 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
18714 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
18715 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
18716 (libc_feupdateenv_53bit): Likewise.
18717 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
18718 (libc_feholdexcept): Convert from macro to inline function.
18719 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
18720 (libc_fesetenv, libc_feupdateenv): Likewise.
18721
4851a949
RH
18722 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
18723 not previously defined.
18724 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
18725 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
18726 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
18727 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
18728 * sysdeps/ieee754/flt-32/math_private.h: New file.
18729 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
18730 math_private.h below SET_FLOAT_WORD.
18731 (__isnan, __isinf_ns, __finite): Remove.
18732 (__isnanf, __isinf_nsf, __finitef): Remove.
18733
e79d442e
AS
187342012-03-18 Andreas Schwab <schwab@linux-m68k.org>
18735
18736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18737
90b80344
DM
187382012-03-17 David S. Miller <davem@davemloft.net>
18739
18740 [BZ #6471]
18741 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
18742 for 2.16.
18743
edc21804
DM
187442012-03-16 David S. Miller <davem@davemloft.net>
18745
77e927af
DM
18746 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
18747 warnings.
18748
374976dd
DM
18749 [BZ #6471]
18750 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
18751 properly.
18752 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
18753 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
18754 sysdep_routines when subdir is sysvipc.
18755 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
18756 __getshmlba helper.
18757
edc21804
DM
18758 * sysdeps/sparc/fpu/libm-test/ulps: Update.
18759
473c3ef3
L
187602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18761
18762 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
18763 [__LP64__].
18764
eb0f39b6
L
187652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18766
18767 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
18768 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
18769 (__lround): Renamed to ...
18770 (__llround): This. Replace long int with long long int.
18771 Define lround functions as aliases of llround functions.
18772 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
18773
6b6cd74b
L
187742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18775
18776 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
18777 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
18778 adresses to uintptr_t. Replace "long int" and "unsigned long
18779 int" with "greg_t" on va_arg.
18780
f1a77b01
L
187812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18782
18783 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
18784 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
18785
18786 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
18787 Move e_machine check before EI_CLASS check. Handle x32
18788 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
18789 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
18790 SKIP_EM_IA_64 and include
18791 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
18792
18793 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
18794 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
18795 (add_system_dir): New macro.
18796
18797 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
18798 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
18799
11b90b9f
JM
188002012-03-16 Joseph Myers <joseph@codesourcery.com>
18801
c36e1d23
JM
18802 [BZ #2551]
18803 [BZ #2552]
18804 [BZ #2553]
18805 [BZ #2554]
18806 [BZ #2562]
18807 [BZ #2563]
18808 [BZ #2565]
18809 [BZ #2566]
18810 [BZ #2576]
18811 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
18812 (y0): Likewise.
18813 * math/w_j0f.c (j0f): Likewise.
18814 (y0f): Likewise.
18815 * math/w_j0l.c (__j0l): Likewise.
18816 (__y0l): Likewise.
18817 * math/w_j1.c (j1): Likewise.
18818 (y1): Likewise.
18819 * math/w_j1f.c (j1f): Likewise.
18820 (y1f): Likewise.
18821 * math/w_j1l.c (__j1l): Likewise.
18822 (__y1l): Likewise.
18823 * math/w_jn.c (jn): Likewise.
18824 (yn): Likewise.
18825 * math/w_jnf.c (jnf): Likewise.
18826 (ynf): Likewise.
18827 * math/w_jnl.c (__jnl): Likewise.
18828 (__ynl): Likewise.
18829 * math/libm-test.inc (j0_test): Add more tests.
18830 (j1_test): Likewise.
18831 (jn_test): Likewise. Add trailing semicolon to existing test.
18832 (y0_test): Likewise.
18833 (y1_test): Likewise.
18834 * sysdeps/i386/fpu/libm-test-ulps: Update.
18835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18836
11b90b9f
JM
18837 [BZ #13851]
18838 [BZ #13854]
18839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
18840 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
18841 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
18842 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
18843 (__tanl): Set errno for infinite argument.
18844 * sysdeps/i386/fpu/mptan.c: Remove.
18845 * sysdeps/i386/fpu/s_tan.S: Likewise.
18846 * sysdeps/i386/fpu/s_tanl.S: Likewise.
18847 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
18848 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
18849 * math/libm-test.inc (tan_test): Add more tests and enable more
18850 tests for double and long double.
18851 * sysdeps/i386/fpu/libm-test-ulps: Update.
18852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18853
6a1bd2a1
JK
188542012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
18855
18856 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
18857 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
18858
10a803e0
RM
188592012-03-16 Roland McGrath <roland@hack.frob.com>
18860
18861 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
18862 * configure.in: Use it for both main tree and add-ons.
18863 * configure: Regenerated.
18864
f196c7f7
L
188652012-03-16 H.J. Lu <hongjiu.lu@intel.com>
18866
18867 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
18868
8848d99d
JM
188692012-03-16 Joseph Myers <joseph@codesourcery.com>
18870
96cbe7f4
JM
18871 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
18872 in comment.
18873
8848d99d
JM
18874 [BZ #13851]
18875 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
18876 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
18877 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
18878 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
18879 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
18880 infinite argument.
18881 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
18882 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
18883 != 0 for prec == 2.
18884 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
18885 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
18886 * sysdeps/i386/fpu/s_cosl.S: Likewise.
18887 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
18888 * sysdeps/i386/fpu/s_sinl.S: Likewise.
18889 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
18890 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
18891 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
18892 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
18893 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
18894 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
18895 * math/libm-test.inc (cos_test): Add more tests and enable more
18896 tests for long double.
18897 (sin_test): Likewise.
18898 (sincos_test): Likewise.
18899 * sysdeps/i386/fpu/libm-test-ulps: Update.
18900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18901
dd7f4703
DM
189022012-03-16 David S. Miller <davem@davemloft.net>
18903
18904 * sysdeps/sparc/fpu/math_private.h: New file.
18905
006f1daa
DM
189062012-03-15 David S. Miller <davem@davemloft.net>
18907
c0c83bc8
DM
18908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
18909 file.
e6a62e18 18910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
18911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
18912 file.
e6a62e18
DM
18913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
18914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
18915 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
18916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
18917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
18919 sysdep routines.
18920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
18921
88cb87d9
DM
18922 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
18923 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
18924
006f1daa 18925 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
18927 sparc-ifunc.h
006f1daa 18928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
18929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
18930 Likewise.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
18932 Likewise.
006f1daa
DM
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
18934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18937 Likewise.
006f1daa
DM
18938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
18940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
18943 Likewise.
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
18945 Likewise.
006f1daa
DM
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
18949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
18950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18952 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
18953 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
18954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18955 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18956 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
18957 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
18958 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
18959 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
18960 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
18961 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
18962 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
18963 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
18964 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
18965 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
18966 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
18967 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
18968 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
18969 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
18970
11e0098e
AS
189712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
18972
18973 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
18974 scaling.
18975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18976
e85b09d0
AJ
189772012-03-15 Andreas Jaeger <aj@suse.de>
18978
18979 [BZ #13852]
18980 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
18981 ieee754/flt-32 implementation for sin, cos and sincos.
18982 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
18983 * sysdeps/i386/fpu/s_cosf.S: Likewise.
18984 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
18985 * sysdeps/i386/fpu/s_sinf.S: Likewise.
18986 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
18987 ieee754/flt-32 implementation for tan.
18988
18989 * math/libm-test.inc (cos_test): Enable some large input tests for
18990 float as well
18991 (sin_test): Likewise.
18992 (sincos_test): Likewise.
18993 (tan_test): Add tests for large input.
18994
18995 * sysdeps/i386/fpu/libm-test-ulps: Update.
18996
81c64153
AJ
189972012-03-15 Andreas Jaeger <aj@suse.de>
18998
18999 [BZ #13658]
19000 * math/libm-test.inc (cos_test): Add more test cases.
19001 (sin_test): Likewise.
19002 (sincos_test): Likewise.
19003
7bbfa5c6
AJ
190042012-03-15 Andreas Jaeger <aj@suse.de>
19005
19006 [BZ #13837]
19007 * math/libm-test.inc (cos_test): Add a test case for large input
19008 value.
19009 (sin_test): Likewise.
19010 (sincos_test): Likewise.
19011
190122012-03-15 Andreas Jaeger <aj@suse.de>,
19013 Joseph Myers <joseph@codesourcery.com>
19014
19015 [BZ #13658]
0671f479 19016 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
19017 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
19018 * sysdeps/i386/fpu/branred.c: Likewise.
19019 * sysdeps/i386/fpu/dosincos.c: Likewise.
19020 * sysdeps/i386/fpu/mpa.c: Likewise.
19021 * sysdeps/i386/fpu/s_cos.S: Likewise.
19022 * sysdeps/i386/fpu/s_sin.S: Likewise.
19023 * sysdeps/i386/fpu/s_sincos.S: Likewise.
19024 * sysdeps/i386/fpu/sincos32.c: Likewise.
19025
19026 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
19027 Define.
19028 (libc_feupdateenv_53bit): Define.
19029 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
19030 Define.
19031 (libc_feupdateenv_53bit): Define.
19032
19033 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
19034 53 bit (without extend i386 double precision).
19035
19036 * math/libm-test.inc (sincos_test): Add tests for large input.
19037 (sin): Likewise.
19038 (cos): Likewise.
19039
19040 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
19041
9cad04ea
AS
190422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
19043
19044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19045
f7062b9a
DM
190462012-03-15 David S. Miller <davem@davemloft.net>
19047
19048 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
19049 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
19050 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
19051 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
19052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
19053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
19054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
19055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
19056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
19057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
19058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
19059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
19060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
19061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
19062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
19063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
19064 file.
f7062b9a 19065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
19067 file.
f7062b9a 19068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
19069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
19070 file.
f7062b9a 19071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
19072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
19073 file.
f7062b9a
DM
19074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
19075 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
19076 fmin/fmax sysdep routines.
19077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
19078
7bd951ff
DM
190792012-03-14 David S. Miller <davem@davemloft.net>
19080
559398ab
DM
19081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
19082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
19083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
19084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
19085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
19086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
19087 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
19088 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
19089 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
19090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
19091 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
19092 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
19093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
19094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
19095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
19096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
19097 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
19098 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
19099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
19100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
19101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
19102 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
19103 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
19104 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
19105 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
19106 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
19107 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
19108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19109 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
19110 routines.
19111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
19112 file.
559398ab 19113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
19114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
19115 file.
559398ab 19116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
19118 file.
559398ab 19119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
19120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
19121 file.
559398ab 19122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
19124 file.
559398ab 19125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
19126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
19127 file.
19128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
19129 file.
19130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
19131 file.
19132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
19133 file.
19134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
19135 New file.
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
19137 file.
19138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
19139 file.
559398ab 19140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
19141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
19142 file.
559398ab 19143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
19144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
19145 file.
559398ab 19146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
19147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
19148 file.
559398ab 19149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
19150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
19151 VIS3 routines.
559398ab
DM
19152
19153 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19154 New file.
19155
5a1c1e32
DM
19156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19157
eae47a36
DM
19158 * sysdeps/sparc/configure.in: New file.
19159 * sysdeps/sparc/configure: Generate.
19160 * configure.in (libc_cv_sparc_as_vis3): Substitute.
19161 * configure: Regenerate.
19162 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
19163 * config.make.in (have-as-vis3): New.
19164 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
19165 available use -Av9d instead of -Av9a.
19166 * sysdeps/sparc/sparc64/Makefile: Likewise.
19167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
19168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
19169 New file.
19170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
19171 file.
19172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
19173 New file.
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
19175 file.
eae47a36
DM
19176 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
19177 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
19181
c0c83bc8
DM
19182 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
19183 fzeros/fnegs to load 0x80000000 into a float register instead of
19184 using the stack.
7bd951ff
DM
19185 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
19186
bd951ccb
JM
191872012-03-14 Joseph Myers <joseph@codesourcery.com>
19188
19189 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19190 bits/syscall.h.
19191 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
19192 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
19193 ($(inst_includedir)/bits/syscall.h): Remove rule.
19194 ($(objpfx)bits/syscall.d): Include instead of
19195 $(objpfx)syscall-list.d.
19196 (generated): Change syscall-list.h and syscall-list.d to
19197 bits/syscall.h and bits/syscall.d.
19198
bb4e6db2
RM
191992012-03-14 Roland McGrath <roland@hack.frob.com>
19200
19201 [BZ #13846]
19202 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
19203
aa4a2ae1
JM
192042012-03-14 Joseph Myers <joseph@codesourcery.com>
19205
e456826d
JM
19206 [BZ #13841]
19207 * math/s_csqrt.c: Include <float.h>.
19208 (__csqrt): Scale large or subnormal inputs.
19209 * math/s_csqrtf.c: Likewise.
19210 * math/s_csqrtl.c: Likewise.
19211 * math/libm-test.inc (csqrt_test): Add more tests.
19212 * sysdeps/i386/fpu/libm-test-ulps: Update.
19213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19214
aa4a2ae1
JM
19215 [BZ #13840]
19216 * math/libm-test.inc (hypot_test): Add more tests.
19217
7c10fd35
DM
192182012-03-13 David S. Miller <davem@davemloft.net>
19219
19220 [BZ #13840]
19221 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
19222 double-precision for the calculation instead of scaling.
19223
f453b98b
JM
192242012-03-13 Joseph Myers <joseph@codesourcery.com>
19225
19226 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
19227 manipulate bits before adding and subtracting TWO52[sx].
19228 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
19229 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
19230 Likewise.
19231 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
19232
09a3453f
DM
192332012-03-13 David S. Miller <davem@davemloft.net>
19234
8e59da90
DM
19235 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
19236 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
19237 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
19238 rtld-global-offsets.h
19239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19240
2a8ab7f2
DM
19241 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
19242 large parameters.
19243
10f62770
DM
19244 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
19245
5f0bdb18
DM
19246 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
19247 'err' in the ifdef scope in which it is actually used.
19248
09a3453f
DM
19249 * nss/nss_db/db-init.c: Include string.h
19250
b4b2eb5e
DM
192512012-03-12 David S. Miller <davem@davemloft.net>
19252
98bb2f1c
DM
19253 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
19254 masking out of the most significant byte of random value used.
19255 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19256 Fix coding style in previous change.
19257
b4b2eb5e
DM
19258 * sysdeps/unix/sysv/linux/kernel-features.h
19259 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
19260 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
19261 expression.
19262 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
19263 later.
19264
6e226b09
DM
192652012-03-11 David S. Miller <davem@davemloft.net>
19266
a1bcbd40
DM
19267 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19268 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
19269 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
19270 for 'resultvar' otherwise things get truncated on 64-bit.
19271
cb9d6174
DM
19272 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19273 Fix masking out of the most significant byte of random value used.
19274
6e226b09
DM
19275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19276
058c132d
AS
192772012-03-10 Andreas Schwab <schwab@linux-m68k.org>
19278
19279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19280
2d2cd515
DM
192812012-03-09 David S. Miller <davem@davemloft.net>
19282
19283 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
19284 variables with appropriate CPP guards.
19285 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
19286 frame pointer, not the stack pointer. Correct layout comments. Fix test
19287 on resulting framesize and the management of the outregs buffer for pltexit.
19288 Preserve floating point return values across _dl_call_pltexit call.
19289 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
19290 framesize and the management of the outregs buffer for pltexit.
19291 Preserve floating point return values across _dl_call_pltexit
19292 call.
19293 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
19294 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
19295 (print_exit): Fix format string for return register value.
19296
9a07f9d0
JM
192972012-03-10 Joseph Myers <joseph@codesourcery.com>
19298
19299 * sunrpc/Makefile (others): Add rpcgen.
19300 ($(objpfx)rpcgen): Remove special build rule and dependency on
19301 libc.
19302 * sunrpc/rpcgen.c: New file.
19303
547b5e30
PE
193042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
19305
c524201a
PE
19306 [BZ #13673]
19307 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
19308 * stdio-common/bug-vfprintf-nargs.c: Likewise.
19309 * sysdeps/i386/crti.S: Likewise.
19310 * sysdeps/i386/crtn.S: Likewise.
19311 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
19312 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
19313 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
19314 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
19315 * sysdeps/sh/crti.S: Likewise.
19316 * sysdeps/sh/crtn.S: Likewise.
19317 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19318
7b6235f2
PE
19319 [BZ #13673]
19320 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
19321 with URL.
19322 * locale/programs/locfile-kw.gperf: Likewise.
19323 * locale/programs/charmap-kw.h: Regenerated.
19324 * locale/programs/locfile-kw.h: Likewise.
19325
547b5e30
PE
19326 [BZ #13673]
19327 * intl/plural.y: Replace FSF snail mail address with URL.
19328 * intl/plural.c: Regenerated.
19329
5f0a5dae
RH
193302012-03-09 Richard Henderson <rth@twiddle.net>
19331
19332 * include/math_private.h: Remove file.
19333 * math/math_private.h: Move file ...
19334 * sysdeps/generic/math_private.h: ... here.
19335
b8c03620
RH
19336 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
19337 * sysdeps/powerpc/fpu/math_private.h: Likewise.
19338 * sysdeps/x86_64/fpu/math_private.h: Likewise.
19339
4e234f5d 19340 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
19341 and <math_private.h>.
19342 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19343 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19344 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19345 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19346 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19347 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
19348 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19350 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19351 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19352 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19353 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19354 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19355 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19356 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19357 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19358 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19359 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19360 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19361 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
19362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19363 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19364 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19366 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19367 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19368 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19369 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19370 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19374 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19375 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19376 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19377 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19378 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19379 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19380 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19381 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19382 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
19383 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19384 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19385 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19386 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19387 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19388 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
19389 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19390 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19391 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19392 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19393 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
19394 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19395 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19396 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19397 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19398 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
19399 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19400 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19401 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
19402 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19403 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19404 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19405 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19406 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
19407 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19408 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19409 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19410 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
19411 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
19412 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
19413 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
19414 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19415 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
19416 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
19417 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19418 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
19419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19420 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
19421 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
19422 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
19423 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
19424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
19425 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
19426 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
19427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19428 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
19429 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
19430 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
19431 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19432 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19433 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
19434 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19435 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
19436 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
19437 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
19438 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
19439 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19440 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19441 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
19442 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
19443 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
19444 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
19445 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
19446 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19447 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
19448 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
19449 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
19450 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19451 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19452 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19453 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19454 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
19455 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19456 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
19457 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
19458 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19459 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19460 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19461 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
19462 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19463 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19464 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
19465 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
19466 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19467 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19468 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19469 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
19470 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19471 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
19472 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
19473 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
19474 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19475 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
19476 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
19477 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19478 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
19479 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19480 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
19481 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
19482 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
19483 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19484 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19485 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
19486 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
19487 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19488 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19489 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19490 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
19491 * sysdeps/ieee754/k_standard.c: Likewise.
19492 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
19493 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
19494 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19495 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
19496 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
19497 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
19498 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
19499 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
19500 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19501 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19502 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19503 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19504 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
19505 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
19506 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
19507 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
19508 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19509 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
19510 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
19511 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
19512 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
19513 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
19514 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19515 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19516 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19517 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19518 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19519 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19520 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19521 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19522 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19523 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19524 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19525 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19526 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19527 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19528 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19529 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
19530 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
19531 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19535 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19536 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19537 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19538 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19539 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19540 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19541 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19542 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19543 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19544 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19545 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
19546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19547 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19548 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
19549 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
19550 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19551 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19552 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19553 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19554 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19555 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
19556 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19557 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19558 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
19559 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
19560 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
19561 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
19562 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
19563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19564 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
19565 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
19566 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
19567 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
19568 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
19569 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
19570 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19571 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19572 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19573 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19574 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19575 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19576 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
19577 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19578 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19579 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19580 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19581 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19582 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
19583 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19584 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
19585 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19586 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19587 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19588 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
19589 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
19590 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
19591 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
19592 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19593 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19594 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19595 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19596 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
19597 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19598 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
19600 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
19601 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19603 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19604 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
19605 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19606 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
19607 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
19608 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
19609 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19610 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
19611 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19612 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19613 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
19614 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19615 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
19616 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19617 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
19618 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19619 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19620 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19621 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19622 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19623 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19624 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19625 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19626 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19627 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19628 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
19629 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19630 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19631 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
19632 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
19633 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19634 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
19635 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
19636 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19637 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19638 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19639 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19640 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19641 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
19642 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19643 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
19644 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19645 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19646 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
19647 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
19648 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19649 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19651 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19652 * sysdeps/ieee754/s_lib_version.c: Likewise.
19653 * sysdeps/ieee754/s_matherr.c: Likewise.
19654 * sysdeps/ieee754/s_signgam.c: Likewise.
19655 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
19656 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19657 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
19658 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
19659 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
19660 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19661 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
19662 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
19663 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
19664 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
19665 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19666 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
19667 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19668 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19669 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
19670 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19671 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19672 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19673 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 19676
1991fa03
JM
196772012-03-09 Joseph Myers <joseph@codesourcery.com>
19678
19679 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
19680 * sunrpc/rpc_main.c: Likewise.
19681 * sunrpc/rpc_svcout.c: Likewise.
19682
60d6f5a6
DM
196832012-03-09 David S. Miller <davem@davemloft.net>
19684
19685 * include/math_private.h: New file.
19686
4962050e
JM
196872012-03-09 Joseph Myers <joseph@codesourcery.com>
19688
02a6f887
JM
19689 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
19690 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
19691 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
19692 from <bits/socket_type.h>.
19693 (enum __socket_type): Don't define here.
19694 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
19695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19696 bits/socket_type.h.
19697
c6e013c1
JM
19698 [BZ #13566]
19699 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
19700 checking __USE_GNU.
19701
4962050e
JM
19702 * Makerules ($(inst_includedir)/%.h): New rule.
19703 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
19704 (install-others): Remove variable setting.
19705 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
19706
38842f45
RH
197072012-03-08 Richard Henderson <rth@twiddle.net>
19708
67bb6da6
RH
19709 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
19710 from macro to inline function; merge with the
19711 !__LIBC_INTERNAL_MATH_INLINES version.
19712 (__ieee754_sqrtf): Likewise.
19713
15194b4b
RH
19714 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
19715 to inline function.
19716 (__rintf, __floor, __floorf): Likewise.
19717
64e21ede
RH
19718 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
19719 macro to inline function.
19720 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
19721
38842f45
RH
19722 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
19723 not <math/math_private.h>.
19724
c64bf5fe
DM
197252012-03-08 David S. Miller <davem@davemloft.net>
19726
19727 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
19728 copyright year.
19729 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19730
82d86f28
TS
197312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
19732
19733 * resolv/gai_misc.c (handle_requests): Fix struct timespec
19734 normalization.
19735 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
19736 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19737
aea5d727
UD
197382012-03-08 Ulrich Drepper <drepper@gmail.com>
19739
19740 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
19741 be defined individually, they must be defined as a block. Define
19742 S for printing a string instead of hidint the different by using a
19743 macro for adding the 'l'.
19744 * stdio-common/tst-fphex-wide.c: Adjust.
19745
70bca0a3
MP
197462012-03-07 Marek Polacek <polacek@redhat.com>
19747
19748 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
19749
65b81130
MP
197502012-03-08 Marek Polacek <polacek@redhat.com>
19751
19752 [BZ #13806]
19753 * stdio-common/Makefile (tests): Add tst-fphex-wide.
19754 * stdio-common/tst-fphex.c: Define a few macros to make the
19755 test reusable. Use them.
19756 * stdio-common/tst-fphex-wide.c: New file.
19757
07037eeb
JM
197582012-03-08 Joseph Myers <joseph@codesourcery.com>
19759
a7a93d50
JM
19760 [BZ #6911]
19761 * manual/macros.texi (gnusystems): New macro.
19762 (nongnusystems): Likewise.
19763 (gnulinuxhurdsystems): Likewise.
19764 (gnuhurdsystems): Likewise..
19765 (gnulinuxsystems): Likewise.
19766 * manual/charset.texi: Use new macros or @theglibc{} to refer to
19767 variants of the GNU system, not "GNU system".
19768 * manual/conf.texi: Likewise.
19769 * manual/errno.texi: Likewise. Update example of errno macro
19770 expansion.
19771 * manual/filesys.texi: Likewise.
19772 (getumask): Document as specific to GNU/Hurd.
19773 * manual/install.texi: Likewise. Reword some references to
19774 GNU/Linux.
19775 * manual/intro.texi: Likewise.
19776 * manual/io.texi: Likewise.
19777 (File Name Portability): Detail which constraints are inapplicable
19778 to all GNU systems and which are only inapplicable to GNU/Hurd.
19779 * manual/job.texi: Likewise.
19780 * manual/llio.texi: Likewise.
19781 (O_NOCTTY): Document as present on GNU/Linux.
19782 * manual/maint.texi: Likewise.
19783 * manual/memory.texi: Likewise.
19784 * manual/pattern.texi: Likewise.
19785 * manual/pipe.texi: Likewise.
19786 * manual/process.texi: Likewise.
19787 * manual/resource.texi: Likewise.
19788 (RUSAGE_CHILDREN): Remove statement about specifying a particular
19789 child on GNU/Hurd.
19790 * manual/setjmp.texi: Likewise.
19791 * manual/signal.texi: Likewise.
19792 * manual/startup.texi: Likewise.
19793 * manual/stdio.texi: Likewise.
19794 * manual/terminal.texi: Likewise.
19795 (ONLCR): Document as POSIX.
19796 (OXTABS): Document availability on GNU/Linux as XTABS.
19797 (ONOEOT): Document availability separately from other bits.
19798 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
19799 * manual/time.texi: Likewise.
19800 * manual/users.texi: Likewise.
19801 * INSTALL: Regenerated.
19802 * sysdeps/gnu/errlist.c: Regenerated.
19803
07037eeb
JM
19804 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
19805 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
19806 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
19807 puts.
19808 * configure: Regenerated.
19809
d1d3431a
JM
198102012-03-07 Joseph Myers <joseph@codesourcery.com>
19811
af6a1e37
JM
19812 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
19813 default includes instead of AC_HEADER_CHECK.
19814 * sysdeps/i386/configure: Regenerated.
19815
d1d3431a
JM
19816 [BZ #10716]
19817 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
19818 * math/s_cacoshf.c (__cacoshf): Likewise.
19819 * math/s_cacoshl.c (__cacoshl): Likewise.
19820 * math/s_casinh.c (__casinh): Set signs of result from argument.
19821 * math/s_casinhf.c (__casinhf): Likewise.
19822 * math/s_casinhl.c (__casinhl): Likewise.
19823 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
19824 (casinh_test): Add more tests.
19825 * sysdeps/i386/fpu/libm-test-ulps: Update.
19826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19827
482ff4da
UD
198282012-03-07 Ulrich Drepper <drepper@gmail.com>
19829
872fda05
UD
19830 * po/zh_TW.po: Update from translation team.
19831
a4300c7a
UD
19832 * login/Makefile (distribute): Remove variable.
19833 * catgets/Makefile: Likewise.
19834 * mach/Makefile: Likewise.
19835 * malloc/Makefile: Likewise.
19836 * misc/Makefile: Likewise.
19837 * iconv/Makefile: Likewise.
19838 * nscd/Makefile: Likewise.
19839 * hurd/Makefile: Likewise.
19840 * manual/Makefile: Likewise.
19841 * locale/Makefile: Likewise.
19842 * intl/Makefile: Likewise.
19843 * conform/Makefile: Likewise.
19844 * nss/Makefile: Likewise.
19845 * time/Makefile: Likewise.
19846 * soft-fp/Makefile: Likewise.
19847 * dirent/Makefile: Likewise.
19848 * gmon/Makefile: Likewise.
19849 * po/Makefile: Likewise.
19850 * rt/Makefile: Likewise.
19851 * socket/Makefile: Likewise.
19852 * math/Makefile: Likewise.
19853 * signal/Makefile: Likewise.
19854 * debug/Makefile: Likewise.
19855 * elf/Makefile: Likewise.
19856 * timezone/Makefile: Likewise.
19857 * stdlib/Makefile: Likewise.
19858 * iconvdata/Makefile: Likewise.
19859 * sunrpc/Makefile: Likewise.
19860 * io/Makefile: Likewise.
19861 * argp/Makefile: Likewise.
19862 * inet/Makefile: Likewise.
19863 * hesiod/Makefile: Likewise.
19864 * grp/Makefile: Likewise.
19865 * csu/Makefile: Likewise.
19866 * wctype/Makefile: Likewise.
19867 * crypt/Makefile: Likewise.
19868 * libio/Makefile: Likewise.
19869 * string/Makefile: Likewise.
19870 * nis/Makefile: Likewise.
19871 * resolv/Makefile: Likewise.
19872 * stdio-common/Makefile: Likewise.
19873 * wcsmbs/Makefile: Likewise.
19874 * dlfcn/Makefile: Likewise.
19875 * posix/Makefile: Likewise.
19876
3b7c4e74 19877 [BZ #6959]
482ff4da
UD
19878 * timezone/Makefile: Don't install timezone files, just the programs
19879 and scripts.
19880
f72ed77d
UD
198812012-03-06 Ulrich Drepper <drepper@gmail.com>
19882
a000466f
UD
19883 * nss/databases.def: Add missing gshadow entry.
19884
f72ed77d
UD
19885 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
19886
a53b7a4e
MP
198872012-03-06 Marek Polacek <polacek@redhat.com>
19888
19889 [BZ #13726]
19890 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
19891 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19892 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
19893 * stdio-common/tst-long-dbl-fphex.c: New file.
19894
e9258400
DM
198952012-03-06 David S. Miller <davem@davemloft.net>
19896
19897 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19898 (set_obp_int): New function.
19899 (get_obp_int): New function.
19900 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
19901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
19902 Avoid unused variable warnings on 'val' and use builtin_expect.
19903 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
19904 __builtin_expect.
e9258400
DM
19905 (INLINE_CLONE_SYSCALL): Likewise.
19906
3bd2c723
DM
199072012-03-05 David S. Miller <davem@davemloft.net>
19908
19909 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19910
bbb78d03
AS
199112012-03-05 Andreas Schwab <schwab@linux-m68k.org>
19912
884c5db4
AS
19913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19914
bbb78d03
AS
19915 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
19916 only for |x| >= 40.
19917 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
19918
1c9f702a 199192012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
19920
19921 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
19922 Replace gettimeofday with __vdso_gettimeofday.
19923
7be16f82
RM
19924 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19925 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
19926 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
19927
19928 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
19929 time with __vdso_time.
19930
ed58a00f
JM
199312012-03-05 Joseph Myers <joseph@codesourcery.com>
19932
19933 * manual/lang.texi (size_t): Note types to which size_t may be
19934 equivalent with the GNU C Library, but do not describe when
19935 differences between them are significant.
19936
30ee4ced
AJ
199372012-03-05 Andreas Jaeger <aj@suse.de>
19938
19939 * sysdeps/i386/fpu/libm-test-ulps: Update.
19940
b7cd39e8
JM
199412012-03-05 Joseph Myers <joseph@codesourcery.com>
19942
19943 [BZ #3976]
19944 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
19945 (__ieee754_pow): Save and restore rounding mode and use
19946 round-to-nearest for main computations.
19947 * math/libm-test.inc (pow_test_tonearest): New function.
19948 (pow_test_towardzero): Likewise.
19949 (pow_test_downward): Likewise.
19950 (pow_test_upward): Likewise.
19951 (main): Call the new functions.
19952 * sysdeps/i386/fpu/libm-test-ulps: Update.
19953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
19954
19955 [BZ #3976]
19956 * math/libm-test.inc (cosh_test_tonearest): New function.
19957 (cosh_test_towardzero): Likewise.
19958 (cosh_test_downward): Likewise.
19959 (cosh_test_upward): Likewise.
19960 (sinh_test_tonearest): Likewise.
19961 (sinh_test_towardzero): Likewise.
19962 (sinh_test_downward): Likewise.
19963 (sinh_test_upward): Likewise.
19964 (main): Call the new functions.
19965 * sysdeps/i386/fpu/libm-test-ulps: Update.
19966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19967
6c6a98c9
TV
199682012-03-05 Tom de Vries <tom@codesourcery.com>
19969
19970 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
19971 default stack guard is set in last bytes.
19972 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
19973
21bb2d2e 199742012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 19975
21bb2d2e 19976 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 19977
21bb2d2e
AJ
19978 [BZ #13656]
19979 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
19980 possibly allocate from heap instead of stack.
19981 * stdio-common/bug-vfprintf-nargs.c: New file.
19982 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 19983
c6922934
AS
199842012-03-03 Andreas Schwab <schwab@linux-m68k.org>
19985
19986 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19987
bc957d53
MP
199882012-03-03 Marek Polacek <polacek@redhat.com>
19989
19990 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
19991 * math/math_private.h: Likewise.
19992 * stdlib/tst-strtod.c: Likewise.
19993 * sysdeps/i386/i486/bits/atomic.h: Likewise.
19994 * sysdeps/x86_64/bits/atomic.h: Likewise.
19995
6358490d
DM
199962012-03-02 David S. Miller <davem@davemloft.net>
19997
19998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
19999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
20000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
20001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
20002 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
20003 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
20004 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
20005 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
20006
01ae168d
RM
200072012-03-02 Roland McGrath <roland@hack.frob.com>
20008
d9a17c07
RM
20009 [BZ #13792]
20010 * manual/examples/README: New file, says the example source files
20011 can be used under GPL>=2.
20012 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
20013 line containing just "*/".
20014 * manual/examples/add.c: Add copyright header (GPL>=2).
20015 * manual/examples/argp-ex1.c: Likewise.
20016 * manual/examples/argp-ex2.c: Likewise.
20017 * manual/examples/argp-ex3.c: Likewise.
20018 * manual/examples/argp-ex4.c: Likewise.
20019 * manual/examples/atexit.c: Likewise.
20020 * manual/examples/db.c: Likewise.
20021 * manual/examples/dir.c: Likewise.
20022 * manual/examples/dir2.c: Likewise.
20023 * manual/examples/execinfo.c: Likewise.
20024 * manual/examples/filecli.c: Likewise.
20025 * manual/examples/filesrv.c: Likewise.
20026 * manual/examples/fmtmsgexpl.c: Likewise.
20027 * manual/examples/genpass.c: Likewise.
20028 * manual/examples/inetcli.c: Likewise.
20029 * manual/examples/inetsrv.c: Likewise.
20030 * manual/examples/isockad.c: Likewise.
20031 * manual/examples/longopt.c: Likewise.
20032 * manual/examples/memopen.c: Likewise.
20033 * manual/examples/memstrm.c: Likewise.
20034 * manual/examples/mkfsock.c: Likewise.
20035 * manual/examples/mkisock.c: Likewise.
20036 * manual/examples/mygetpass.c: Likewise.
20037 * manual/examples/pipe.c: Likewise.
20038 * manual/examples/popen.c: Likewise.
20039 * manual/examples/rprintf.c: Likewise.
20040 * manual/examples/search.c: Likewise.
20041 * manual/examples/select.c: Likewise.
20042 * manual/examples/setjmp.c: Likewise.
20043 * manual/examples/sigh1.c: Likewise.
20044 * manual/examples/sigusr.c: Likewise.
20045 * manual/examples/stpcpy.c: Likewise.
20046 * manual/examples/strdupa.c: Likewise.
20047 * manual/examples/strftim.c: Likewise.
20048 * manual/examples/strncat.c: Likewise.
20049 * manual/examples/subopt.c: Likewise.
20050 * manual/examples/swapcontext.c: Likewise.
20051 * manual/examples/termios.c: Likewise.
20052 * manual/examples/testopt.c: Likewise.
20053 * manual/examples/testpass.c: Likewise.
20054 * manual/examples/timeval_subtract.c: Likewise.
20055
01ae168d
RM
20056 [BZ #13792]
20057 * manual/time.texi (Elapsed Time): Move timeval_subtract example
20058 function to ...
20059 * manual/timeval_subtract.c.texi: ... here, new file.
20060
49efa33d
DM
200612012-03-02 David S. Miller <davem@davemloft.net>
20062
20063 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
20064
28afd92d
JM
200652012-03-02 Joseph Myers <joseph@codesourcery.com>
20066
804360ed
JM
20067 [BZ #3976]
20068 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
20069 (__sin): Save and restore rounding mode and use round-to-nearest
20070 for all computations.
20071 (__cos): Save and restore rounding mode and use round-to-nearest
20072 for all computations.
20073 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
20074 <fenv.h>.
20075 (tan): Save and restore rounding mode and use round-to-nearest for
20076 all computations.
20077 * math/libm-test.inc (cos_test_tonearest): New function.
20078 (cos_test_towardzero): Likewise.
20079 (cos_test_downward): Likewise.
20080 (cos_test_upward): Likewise.
20081 (sin_test_tonearest): Likewise.
20082 (sin_test_towardzero): Likewise.
20083 (sin_test_downward): Likewise.
20084 (sin_test_upward): Likewise.
20085 (tan_test_tonearest): Likewise.
20086 (tan_test_towardzero): Likewise.
20087 (tan_test_downward): Likewise.
20088 (tan_test_upward): Likewise.
20089 (main): Call the new functions.
20090 * sysdeps/i386/fpu/libm-test-ulps: Update.
20091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20092
a6d06d7b
JM
20093 [BZ #10135]
20094 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
20095 small n, then large n, before computing and testing k+n.
20096 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
20097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
20098 Likewise.
20099 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
20100 Likewise.
20101 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
20102 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
20103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
20104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
20105 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20106 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20107 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
20108 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
20109 * math/libm-test.inc (scalbn_test): Add more tests.
20110 (scalbln_test): Likewise.
20111
07e12bb3
JM
20112 * manual/filesys.texi (mode_t): Describe constraints on size and
20113 signedness, not exact equivalence to a particular type.
20114 (ino_t): Likewise.
20115 (ino64_t): Likewise.
20116 (dev_t): Likewise.
20117 (nlink_t): Likewise.
20118 (blkcnt_t): Likewise.
20119 (blkcnt64_t): Likewise.
20120 * manual/llio.texi (off_t): Likewise.
20121
28afd92d
JM
20122 [BZ #3976]
20123 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
20124 (__ieee754_exp): Save and restore rounding mode and use
20125 round-to-nearest for all computations.
20126 * math/libm-test.inc (exp_test_tonearest): New function.
20127 (exp_test_towardzero): Likewise.
20128 (exp_test_downward): Likewise.
20129 (exp_test_upward): Likewise.
20130 (main): Call the new functions.
20131 * sysdeps/i386/fpu/libm-test-ulps: Update.
20132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20133
b1eeb65d
CD
201342012-03-01 Chris Demetriou <cgd@google.com>
20135
20136 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
20137 have predictable order.
20138
53362a4b
DM
201392012-03-01 David S. Miller <davem@davemloft.net>
20140
3c969083
DM
20141 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
20142
759707de
DM
20143 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
20144 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
20145 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
20146 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
20147
dfdb8ff2
DM
20148 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
20149 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
20150 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
20151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
20152 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
20153 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
20154 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
20155 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
20156 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
20157
ead89f96
DM
20158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20159
7f66bd07
DM
20160 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
20161 * sysdeps/sparc/fpu/libm-test-ulps: to here.
20162 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
20163
53362a4b
DM
20164 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
20165 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
20166 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20167 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
20168 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
20169 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
20170 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
20171 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
20172 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20173 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
20174 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
20175 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20176 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20177 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20178 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20179 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20180 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
20181 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
20182 * sysdeps/sparc/elf/configure: Regenerated.
20183
7b1902cb
JM
201842012-03-01 Joseph Myers <joseph@codesourcery.com>
20185
bec039bc
JM
20186 * configure.in (AS, LD): Require binutils 2.20 or later.
20187 * configure: Regenerated.
20188 * manual/install.texi (Tools for Compilation): Give binutils 2.20
20189 as required minimum version.
20190 * INSTALL: Regenerated.
20191
7b1902cb
JM
20192 [BZ #2541]
20193 [BZ #4108]
20194 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
20195 before squaring exponent.
20196 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
20197 bottom long double and 27 bits of top long double before squaring
20198 exponent.
20199 * math/libm-test.inc (erfc_test): Add more tests.
20200 * sysdeps/i386/fpu/libm-test-ulps: Update.
20201 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20203
f775c276
KT
202042012-03-01 Kai Tietz <ktietz@redhat.com>
20205
20206 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
20207 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
20208 containing bit-fields.
20209 * soft-fp/extended.h (_FP_UNION_E): Likewise.
20210 * soft-fp/single.h (_FP_UNION_S): Likewise.
20211 * soft-fp/double.h (_FP_UNION_D): Likewise.
20212
5b8a4d4a
JM
202132012-02-29 Joseph Myers <joseph@codesourcery.com>
20214
0bab47b6
JM
20215 [BZ #13786]
20216 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
20217 not include ../strcmp.S.
20218 [USE_AS_STRNCASECMP_L]: Likewise.
20219 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
20220 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
20221 * sysdeps/i386/i686/multiarch/strncase_l-c.c
20222 (__strncasecmp_l_ia32): Define as alias to
20223 __strncasecmp_l_nonascii.
20224
0fcad3e2
JM
20225 [BZ #5794]
20226 * math/libm-test.inc (expm1_test): Add test for bug 5794.
20227 * sysdeps/i386/fpu/libm-test-ulps: Update.
20228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20229
5b8a4d4a
JM
20230 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
20231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20232
8fdceb2e
JL
202332012-02-29 Jeff Law <law@redhat.com>
20234
20235 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
20236 out of bounds read.
20237
1f393a11
MP
202382012-02-29 Marek Polacek <polacek@redhat.com>
20239
20240 [BZ #13706]
20241 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
20242 * elf/Makefile: Add rules to run tst-unused-dep.out.
20243
8847f037
DM
202442012-02-28 David S. Miller <davem@davemloft.net>
20245
20246 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
20247 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
20248 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
20249 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
20250 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
20251 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
20252
169d7f11
JM
202532012-02-29 Joseph Myers <joseph@codesourcery.com>
20254
20255 * math/libm-test.inc (llround_test): Move one test from
20256 lround_test. Use TEST_f_L in moved test.
20257 (lround_test): Move misplaced test to llround_test. Add testcase
20258 from bug 2561.
20259
39adf059
UD
202602012-02-28 Ulrich Drepper <drepper@gmail.com>
20261
20262 * sysdeps/x86_64/fpu/e_expf.S: New file.
20263 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
20264
71b5d1c5
SB
202652012-02-28 Stanislav Brabec <sbrabec@suse.cz>
20266
20267 [BZ #13637]
20268 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
20269 of remain_len that may cause incomplete multi-byte character and
20270 false match.
20271 * posix/bug-regex33.c: New file.
20272 * posix/Makefile (tests): Add bug-regex33.
20273
1f77f049
JM
202742012-02-28 Joseph Myers <joseph@codesourcery.com>
20275
20276 * manual/macros.texi: New file.
20277 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
20278 * manual/libc.texinfo: Include macros.texi.
20279 * manual/creatute.texi: Likewise.
20280 * manual/install.texi: Likewise.
20281 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
20282 @glibcadj{} in references to the GNU C Library.
20283 * manual/charset.texi: Likewise.
20284 * manual/conf.texi: Likewise.
20285 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
20286 when not using those macros.
20287 * manual/creature.texi: Likewise.
20288 * manual/crypt.texi: Likewise.
20289 * manual/errno.texi: Likewise.
20290 * manual/filesys.texi: Likewise.
20291 * manual/header.texi: Likewise.
20292 * manual/install.texi: Likewise.
20293 * manual/intro.texi: Likewise.
20294 * manual/io.texi: Likewise.
20295 * manual/job.texi: Likewise.
20296 * manual/lang.texi: Likewise.
20297 * manual/libc.texiinfo: Likewise.
20298 * manual/llio.texi: Likewise.
20299 * manual/locale.texi: Likewise.
20300 * manual/maint.texi: Likewise.
20301 * manual/math.texi: Likewise.
20302 * manual/memory.texi: Likewise.
20303 * manual/message.texi: Likewise.
20304 * manual/nss.texi: Likewise.
20305 * manual/pattern.texi: Likewise.
20306 * manual/process.texi: Likewise.
20307 * manual/resource.texi: Likewise.
20308 * manual/search.texi: Likewise.
20309 * manual/setjmp.texi: Likewise.
20310 * manual/signal.texi: Likewise.
20311 * manual/socket.texi: Likewise.
20312 * manual/startup.texi: Likewise.
20313 * manual/stdio.texi: Likewise.
20314 * manual/string.texi: Likewise.
20315 * manual/sysinfo.texi: Likewise.
20316 * manual/syslog.texi: Likewise.
20317 * manual/terminal.texi: Likewise.
20318 * manual/time.texi: Likewise.
20319 * manual/users.texi: Likewise.
20320 * INSTALL: Regenerated.
20321 * NOTES: Regenerated.
d40c5d54 20322 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 20323
450bf206
AS
203242012-02-28 Andreas Schwab <schwab@linux-m68k.org>
20325
20326 * include/dirent.h: Include <dirstream.h> before
20327 <dirent/dirent.h>.
20328
741a235b
DM
203292012-02-28 David S. Miller <davem@davemloft.net>
20330
20331 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
20332 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
20333 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
20334 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
20335
d6b5aa58
DM
203362012-02-27 David S. Miller <davem@davemloft.net>
20337
1aff59a3
DM
20338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
20339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
20340 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
20341 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
20342
d6b5aa58
DM
20343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
20344 frame pointer instead of stack pointer relative arg slot.
20345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20346 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20347 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20348
433f48bf
CD
203492012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
20350
20351 [BZ #3992]
20352 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
20353
d674b76d
DM
203542012-02-27 David S. Miller <davem@davemloft.net>
20355
20356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
20357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
20358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
20360 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
20361 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
20362 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
20363 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
20364
0e7727f7
JM
203652012-02-27 Joseph Myers <joseph@codesourcery.com>
20366
20367 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
20368 later. Allow versions 5-9.
43be4ca2 20369 * configure: Regenerated.
0e7727f7
JM
20370 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
20371 required minimum version and 4.6 as recommended version. Do not
20372 mention bugs in GCC 2.7 and 2.8.
43be4ca2 20373 * INSTALL: Regenerated.
0e7727f7 20374
a78bc654
DM
203752012-02-27 David S. Miller <davem@davemloft.net>
20376
428d5830
DM
20377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
20378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
20379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
20380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
20381 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
20382 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
20383 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
20384 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
20385
a78bc654
DM
20386 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
20387 manipulate bits before adding and subtracting TWO112[sx].
20388 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20389
4579f81c
RM
203902012-02-27 Roland McGrath <roland@hack.frob.com>
20391
36c8acb4
RM
20392 [BZ #13775]
20393 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
20394 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
20395 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
20396 being in POSIX, because they are in 1003.1-2008.
20397
84ad622b
RM
20398 * rt/tst-aio.c: Include <fcntl.h>.
20399 * rt/tst-aio7.c: Likewise.
20400 * rt/tst-aio64.c: Likewise.
20401
4579f81c
RM
20402 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
20403
abd923db
JM
204042012-02-27 Joseph Myers <joseph@codesourcery.com>
20405
20406 * manual/install.texi (--with-headers): Describe headers as
20407 interface headers, not private headers.
20408 (Specific advice for GNU/Linux systems): Describe use of headers
20409 from "make headers_install", not private headers from older
20410 kernels.
43be4ca2 20411 * INSTALL: Regenerated.
abd923db
JM
20412 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
20413 Change to 2.6.19.
20414 * sysdeps/unix/sysv/linux/configure: Regenerated.
20415
6664049b
JM
20416 * manual/llio.texi (fclean): Remove documentation.
20417
bb8b6697
JM
20418 * manual/Makefile (libc-texi-generated): New variable. Include
20419 version.texi.
20420 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
20421 $(libc-texi-generated), not duplicated list of files.
20422 (version.texi, stamp-version): New rules.
20423 (realclean): Remove $(libc-texi-generated), not individual files
20424 from that list. Do not remove dir-add.texinfo.
20425 * manual/libc.texinfo: Comment out uses of edition numbers and
20426 references to printed manual. Remove last-updated dates.
20427 (EDITION): Comment out.
20428 (ISBN): Likewise.
20429 (VERSION, UPDATED): Remove.
20430 (version.texi): Include.
20431
12e5c3b9
AS
204322012-02-27 Andreas Schwab <schwab@linux-m68k.org>
20433
20434 * sysdeps/posix/spawni.c: Include <signal.h>.
20435 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
20436 * sysdeps/pthread/aio_fsync.c: Likewise.
20437
4efeffc1 204382012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 20439
ba63ba08
UD
20440 * conform/Makefile (tests): Run only when not cross-compiling and
20441 when fast-check is not defined.
20442
d94a4670
UD
20443 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
20444 * conform/data/limits.h-data: Fixes for POSIX2008.
20445 * conform/run-conformtest.sh: Run all tests.
20446 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
20447 headers.
20448 * include/bits/dlfcn.h: Likewise.
20449 * include/langinfo.h: Likewise.
20450 * include/monetary.h: Likewise.
20451 * include/sys/poll.h: Likewise.
20452
20453 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
20454 for __USE_GNU.
20455 * posix/spawn.h: Define __need_sigset_t.
20456 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
20457 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
20458 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
20459 to get sigevent_t only.
20460 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
20461 only for __USE_GNU.
20462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20463 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20464 process_vm_writev only for __USE_GNU.
20465 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
20466
20467 * conform/Makefile: For now ignore errors from run-conformtest.
20468 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
20469 POSIX to avoid namespace pollution. Don't prepend headers.
20470 * conform/data/aio.h-data: Fixes for POSIX testing.
20471 * conform/data/fcntl.h-data: Likewise.
20472 * conform/data/glob.h-data: Likewise.
20473 * conform/data/grp.h-data: Likewise.
20474 * conform/data/pthread.h-data: Likewise.
20475 * conform/data/pwd.h-data: Likewise.
20476 * conform/data/signal.h-data: Likewise.
20477 * conform/data/spawn.h-data: Likewise.
20478 * conform/data/stdio.h-data: Likewise.
20479 * conform/data/stdlib.h-data: Likewise.
20480 * conform/data/stropts.h-data: Likewise.
20481 * conform/data/sys/mman.h-data: Likewise.
20482 * conform/data/sys/stat.h-data: Likewise.
20483 * conform/data/sys/types.h-data: Likewise.
20484 * conform/data/sys/wait.h-data: Likewise.
20485 * conform/data/time.h-data: Likewise.
20486 * conform/data/unistd.h-data: Likewise.
20487 * conform/data/utime.h-data: Likewise.
20488
20489 * io/sys/stat.h: fchmod was always in POSIX.
20490 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
20491 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
20492 * rt/aio.h: Define __need_timespec before including <time.h>.
20493 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
20494 struct. Add forward declaration of pthread_attr_t and use it in
20495 sigevent.
20496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
20497 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
20498 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
20499 always remove CLK_TCK definition.
20500
c20105c3
AS
205012012-02-26 Andreas Schwab <schwab@linux-m68k.org>
20502
20503 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
20504
7a270350
UD
205052012-02-25 Ulrich Drepper <drepper@gmail.com>
20506
31341567
UD
20507 * conform/run-conformtest.sh: New file.
20508 * conform/Makefile: Run run-conformtest for tests.
20509 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
20510 support.
20511
20512 * conform/data/uchar.h-data: New file.
20513 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
20514 * conform/data/arpa/inet.h-data: Likewise.
20515 * conform/data/assert.h-data: Likewise.
20516 * conform/data/complex.h-data: Likewise.
20517 * conform/data/cpio.h-data: Likewise.
20518 * conform/data/ctype.h-data: Likewise.
20519 * conform/data/dirent.h-data: Likewise.
20520 * conform/data/dlfcn.h-data: Likewise.
20521 * conform/data/errno.h-data: Likewise.
20522 * conform/data/fcntl.h-data: Likewise.
20523 * conform/data/float.h-data: Likewise.
20524 * conform/data/fmtmsg.h-data: Likewise.
20525 * conform/data/fnmatch.h-data: Likewise.
20526 * conform/data/ftw.h-data: Likewise.
20527 * conform/data/glob.h-data: Likewise.
20528 * conform/data/grp.h-data: Likewise.
20529 * conform/data/iconv.h-data: Likewise.
20530 * conform/data/inttypes.h-data: Likewise.
20531 * conform/data/langinfo.h-data: Likewise.
20532 * conform/data/libgen.h-data: Likewise.
20533 * conform/data/limits.h-data: Likewise.
20534 * conform/data/locale.h-data: Likewise.
20535 * conform/data/math.h-data: Likewise.
20536 * conform/data/monetary.h-data: Likewise.
20537 * conform/data/mqueue.h-data: Likewise.
20538 * conform/data/ndbm.h-data: Likewise.
20539 * conform/data/net/if.h-data: Likewise.
20540 * conform/data/netdb.h-data: Likewise.
20541 * conform/data/netinet/in.h-data: Likewise.
20542 * conform/data/nl_types.h-data: Likewise.
20543 * conform/data/poll.h-data: Likewise.
20544 * conform/data/pthread.h-data: Likewise.
20545 * conform/data/pwd.h-data: Likewise.
20546 * conform/data/regex.h-data: Likewise.
20547 * conform/data/sched.h-data: Likewise.
20548 * conform/data/search.h-data: Likewise.
20549 * conform/data/semaphore.h-data: Likewise.
20550 * conform/data/setjmp.h-data: Likewise.
20551 * conform/data/signal.h-data: Likewise.
20552 * conform/data/spawn.h-data: Likewise.
20553 * conform/data/stdarg.h-data: Likewise.
20554 * conform/data/stdio.h-data: Likewise.
20555 * conform/data/stdlib.h-data: Likewise.
20556 * conform/data/string.h-data: Likewise.
20557 * conform/data/strings.h-data: Likewise.
20558 * conform/data/stropts.h-data: Likewise.
20559 * conform/data/sys/ipc.h-data: Likewise.
20560 * conform/data/sys/mman.h-data: Likewise.
20561 * conform/data/sys/msg.h-data: Likewise.
20562 * conform/data/sys/resource.h-data: Likewise.
20563 * conform/data/sys/select.h-data: Likewise.
20564 * conform/data/sys/sem.h-data: Likewise.
20565 * conform/data/sys/shm.h-data: Likewise.
20566 * conform/data/sys/socket.h-data: Likewise.
20567 * conform/data/sys/stat.h-data: Likewise.
20568 * conform/data/sys/statvfs.h-data: Likewise.
20569 * conform/data/sys/time.h-data: Likewise.
20570 * conform/data/sys/timeb.h-data: Likewise.
20571 * conform/data/sys/times.h-data: Likewise.
20572 * conform/data/sys/types.h-data: Likewise.
20573 * conform/data/sys/uio.h-data: Likewise.
20574 * conform/data/sys/un.h-data: Likewise.
20575 * conform/data/sys/utsname.h-data: Likewise.
20576 * conform/data/sys/wait.h-data: Likewise.
20577 * conform/data/syslog.h-data: Likewise.
20578 * conform/data/tar.h-data: Likewise.
20579 * conform/data/termios.h-data: Likewise.
20580 * conform/data/utime.h-data: Likewise.
20581 * conform/data/utmpx.h-data: Likewise.
20582 * conform/data/varargs.h-data: Likewise.
20583 * conform/data/wchar.h-data: Likewise.
20584 * conform/data/wctype.h-data: Likewise.
20585 * conform/data/wordexp.h-data: Likewise.
20586
20587 * include/stropts.h: New file.
20588 * include/uchar.h: New file.
20589 * include/aio.h: Changes to allow conformtest.pl to use the headers.
20590 * include/assert.h: Likewise.
20591 * include/ctype.h: Likewise.
20592 * include/dirent.h: Likewise.
20593 * include/dlfcn.h: Likewise.
20594 * include/fcntl.h: Likewise.
20595 * include/fnmatch.h: Likewise.
20596 * include/glob.h: Likewise.
20597 * include/grp.h: Likewise.
20598 * include/libio.h: Likewise.
20599 * include/locale.h: Likewise.
20600 * include/math.h: Likewise.
20601 * include/net/if.h: Likewise.
20602 * include/netdb.h: Likewise.
20603 * include/netinet/in.h: Likewise.
20604 * include/pthread.h: Likewise.
20605 * include/pwd.h: Likewise.
20606 * include/regex.h: Likewise.
20607 * include/sched.h: Likewise.
20608 * include/search.h: Likewise.
20609 * include/setjmp.h: Likewise.
20610 * include/signal.h: Likewise.
20611 * include/stdio.h: Likewise.
20612 * include/stdlib.h: Likewise.
20613 * include/string.h: Likewise.
20614 * include/sys/cdefs.h: Likewise.
20615 * include/sys/mman.h: Likewise.
20616 * include/sys/msg.h: Likewise.
20617 * include/sys/resource.h: Likewise.
20618 * include/sys/select.h: Likewise.
20619 * include/sys/socket.h: Likewise.
20620 * include/sys/stat.h: Likewise.
20621 * include/sys/statvfs.h: Likewise.
20622 * include/sys/time.h: Likewise.
20623 * include/sys/times.h: Likewise.
20624 * include/sys/uio.h: Likewise.
20625 * include/sys/utsname.h: Likewise.
20626 * include/sys/wait.h: Likewise.
20627 * include/termios.h: Likewise.
20628 * include/time.h: Likewise.
20629 * include/ulimit.h: Likewise.
20630 * include/unistd.h: Likewise.
20631 * include/utime.h: Likewise.
20632 * include/wchar.h: Likewise.
20633 * include/wctype.h: Likewise.
20634 * include/wordexp.h: Likewise.
20635
20636 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
20637
7a270350
UD
20638 * time/time.h: TIME_UTC must be a macro.
20639 Make timespec_get available for ISO C11 only as well.
20640
7724defc
UD
206412012-02-24 Ulrich Drepper <drepper@gmail.com>
20642
20643 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
20644 Reported by Peng Haitao <penght@cn.fujitsu.com>.
20645
6b1d1d46
JM
206462012-02-24 Joseph Myers <joseph@codesourcery.com>
20647
20648 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 20649
0f8bbd69
JM
206502012-02-24 Joseph Myers <joseph@codesourcery.com>
20651
20652 * manual/texinfo.tex: Update to version 2012-01-19.16.
20653
66ab80bc
JM
206542012-02-24 Joseph Myers <joseph@codesourcery.com>
20655
20656 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
20657
74981cc5
RM
206582012-02-24 Roland McGrath <roland@hack.frob.com>
20659
ee968201
RM
20660 [BZ #13738]
20661 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
20662 * manual/fdl-1.3.texi: New file.
20663 * manual/fdl-1.1.texi: File removed.
20664
74981cc5
RM
20665 [BZ #13738]
20666 * manual/libc.texinfo (FDL_VERSION): New @set.
20667 Use it for mention of FDL in cover text.
20668 (Documentation License): Use it in @include file name.
20669
7bb764bc
JM
206702012-02-22 Joseph Myers <joseph@codesourcery.com>
20671 Roland McGrath <roland@hack.frob.com>
20672
20673 [BZ #5461]
20674 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
20675 not LONG_LONG_MAX and LONG_LONG_MIN.
20676 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
20677 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
20678 name.
20679 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
20680
6cbeae47
JM
206812012-02-22 Joseph Myers <joseph@codesourcery.com>
20682
20683 [BZ #2547]
20684 [BZ #11365]
20685 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
20686 manipulate bits before adding and subtracting TWO23[sx].
20687 * math/libm-test.inc (nearbyint_test): Add more tests.
20688
fe45ce09
JM
206892012-02-22 Joseph Myers <joseph@codesourcery.com>
20690
20691 [BZ #2548]
20692 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
20693 bits before adding and subtracting TWO23[sx].
20694 * math/libm-test.inc (rint_test): Add more tests.
20695 (rint_test_tonearest): Likewise.
20696 (rint_test_towardzero): Likewise.
20697 (rint_test_downward): Likewise.
20698 (rint_test_upward: Likewise.
20699
ff3b3d82
JM
207002012-02-22 Joseph Myers <joseph@codesourcery.com>
20701
20702 [BZ #10110]
20703 * include/stdc-predef.h: New file. Extracted from features.h.
20704 * include/features.h: Include stdc-predef.h.
20705 * Makefile (headers): Add stdc-predef.h.
20706 * CONFORMANCE (Compiler limitations): Update.
20707
ef0aab35
JM
207082012-02-22 Joseph Myers <joseph@codesourcery.com>
20709
20710 * manual/libc.texinfo (VERSION, UPDATED): Revert.
20711
58639409
DM
207122012-02-21 David S. Miller <davem@davemloft.net>
20713
20714 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
20715 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20716
c0e70b25
DM
207172012-02-20 David S. Miller <davem@davemloft.net>
20718
20719 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
20720 using a normal save/restore sequence, rather than allocating a
20721 dummy stack frame just to store a frame pointer and restore.
20722 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20723
fb06851d
JM
207242012-02-21 Joseph Myers <joseph@codesourcery.com>
20725
20726 * manual/install.texi: Fix stray word in line-wrapped comment.
20727
7a8b71c3
DM
207282012-02-20 David S. Miller <davem@davemloft.net>
20729
d510c123
DM
20730 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
20731 both binutils and gcc support GOTDATA.
20732
0722d7c2
DM
20733 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
20734 "rd %pc" in the PIC register setup sequences.
20735
3d2b3019
DM
20736 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
20737 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
20738 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
20739 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
20740 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
20741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20742 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20743 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
20744 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
20745 (SYSCALL_ERROR_HANDLER): Likewise.
20746 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
20747 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
20749 (SYSCALL_ERROR_HANDLER): Likewise.
20750
c80098a9
DM
20751 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
20752 (HAVE_GCC_GOTDATA): New.
20753 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
20754 relocation support in both binutils and gcc.
20755 * sysdeps/sparc/elf/configure: Regenerate.
20756
3a2545a0
DM
20757 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
20758 * sysdeps/sparc/sparc32/elf/configure: Delete.
20759 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
20760 * sysdeps/sparc/sparc64/elf/configure: Delete.
20761 * sysdeps/sparc/elf/configure.in: New file.
20762 * sysdeps/sparc/elf/configure: Generate.
20763
7a8b71c3
DM
20764 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
20765 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
20766 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
20767 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
20768 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
20769
f1e86fca
JM
207702012-02-21 Joseph Myers <joseph@codesourcery.com>
20771
20772 * manual/install.texi: Do not mention specific glibc version
20773 numbers.
20774 * manual/libc.texinfo (VERSION, UPDATED): Update.
20775 (@copying): Use @copyright{} and range of years.
20776
0e7dfaef
JM
207772012-02-21 Joseph Myers <joseph@codesourcery.com>
20778
20779 [BZ #13695]
20780 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
20781 [crti.S not in sysdirs] (generated): Do not append.
20782 [crti.S not in sysdirs] (omit-deps): Likewise.
20783 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
20784 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
20785 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
20786 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
20787 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
20788 Likewise.
20789 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
20790 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
20791 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
20792 * csu/defs.awk: Remove file.
20793 * sysdeps/generic/initfini.c: Likewise.
20794 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
20795 variable.
20796 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
20797 Likewise.
20798
599af3ca
JM
207992012-02-20 Joseph Myers <joseph@codesourcery.com>
20800
20801 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
20802 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
20803 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
20804 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
20805 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20806 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
20807 <bits/epoll.h>.
20808 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
20809 (__EPOLL_PACKED): Define to empty if not defined by
20810 <bits/epoll.h>.
20811 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
20812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20813 bits/epoll.h.
20814
0e499750
JM
208152012-02-20 Joseph Myers <joseph@codesourcery.com>
20816
20817 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
20818 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
20819 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
20820 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
20821 <bits/timerfd.h>.
20822 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
20823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20824 bits/timerfd.h.
20825
5ad91f6e
JM
208262012-02-20 Joseph Myers <joseph@codesourcery.com>
20827
20828 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
20829 in C locale.
20830 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20831 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20832 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
20833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20834
06b99b02
AJ
208352012-02-20 Aurelien Jarno <aurelien@aurel32.net>
20836
20837 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20838 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
20839
7638c0fd
AS
208402012-02-19 Andreas Schwab <schwab@linux-m68k.org>
20841
20842 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
20843 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
20844 defined.
20845 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
20846 Likewise.
20847 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
20848 entry for 2.16.
20849
92221550
AJ
208502012-02-19 Aurelien Jarno <aurelien@aurel32.net>
20851
20852 * math/w_acos.c: Use non-signaling floating-point comparisons.
20853 * math/w_acosf.c: Likewise.
20854 * math/w_acosh.c: Likewise.
20855 * math/w_acoshf.c: Likewise.
20856 * math/w_acoshl.c: Likewise.
20857 * math/w_acosl.c: Likewise.
20858 * math/w_asin.c: Likewise.
20859 * math/w_asinf.c: Likewise.
20860 * math/w_asinl.c: Likewise.
20861 * math/w_atanh.c: Likewise.
20862 * math/w_atanhf.c: Likewise.
20863 * math/w_atanhl.c: Likewise.
20864 * math/w_exp2.c: Likewise.
20865 * math/w_exp2f.c: Likewise.
20866 * math/w_exp2l.c: Likewise.
20867 * math/w_j0.c: Likewise.
20868 * math/w_j0f.c: Likewise.
20869 * math/w_j0l.c: Likewise.
20870 * math/w_j1.c: Likewise.
20871 * math/w_j1f.c: Likewise.
20872 * math/w_j1l.c: Likewise.
20873 * math/w_jn.c: Likewise.
20874 * math/w_jnf.c: Likewise.
20875 * math/w_log.c: Likewise.
20876 * math/w_log10.c: Likewise.
20877 * math/w_log10f.c: Likewise.
20878 * math/w_log10l.c: Likewise.
20879 * math/w_log2.c: Likewise.
20880 * math/w_log2f.c: Likewise.
20881 * math/w_log2l.c: Likewise.
20882 * math/w_logf.c: Likewise.
20883 * math/w_logl.c: Likewise.
20884 * math/w_sqrt.c: Likewise.
20885 * math/w_sqrtf.c: Likewise.
20886 * math/w_sqrtl.c: Likewise.
20887 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
20888 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
20889 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20890 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
20891 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
20892
ebaf36eb
JM
208932012-02-19 Joseph Myers <joseph@codesourcery.com>
20894
20895 [BZ #9739]
20896 * manual/string.texi (strnlen): Use correct parameter name in
20897 equivalent expression.
20898
71c254a6
JM
208992012-02-19 Joseph Myers <joseph@codesourcery.com>
20900
20901 [BZ #11174]
20902 * manual/users.texi (seteuid): Consistently use neweuid for
20903 argument name.
20904
16d2c631
JM
209052012-02-19 Joseph Myers <joseph@codesourcery.com>
20906
20907 [BZ #13704]
20908 * manual/nss.texi (Services in the NSS configuration): Correct
20909 list of services in example configuration file.
20910
cd837b09
NB
209112012-02-19 Nick Bowler <nbowler@draconx.ca>
20912
20913 [BZ #11322]
20914 * manual/arith.texi: Remove statements about negative zero
20915 behaving identically to zero.
20916
02c4bbad
JM
209172012-02-18 Joseph Myers <joseph@codesourcery.com>
20918
20919 [BZ #5993]
20920 * manual/install.texi: Do not document upgrading from libc5.
20921
366842e7
JM
209222012-02-18 Joseph Myers <joseph@codesourcery.com>
20923
20924 [BZ #4596]
20925 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
20926
dd54084d
DM
209272012-02-18 David S. Miller <davem@davemloft.net>
20928
20929 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
20930 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
20931 %o7 across the call.
20932 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
20933 instead.
20934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
20935 SETUP_PIC_REG_LEAF.
20936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20937 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
20938 * sysdeps/sparc/crtn.S: Likewise.
20939
2bcc53a3
UD
209402012-02-17 Ulrich Drepper <drepper@gmail.com>
20941
20942 * aout/Makefile: Remove.
20943
09c093b5
RK
209442012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
20945
20946 [BZ #13058]
20947 * manual/examples/argp-ex1.c (main): Format definition in GNU
20948 style.
20949 * manual/examples/argp-ex2.c (main): Likewise.
20950 * manual/examples/argp-ex3.c (main): Likewise.
20951 * manual/examples/argp-ex4.c (main): Likewise.
20952 * manual/examples/longopt.c (main): Use new-style prototype
20953 definition.
20954 * manual/examples/strncat.c (main): Specify return type and use
20955 (void) for arguments.
20956 * manual/examples/subopt.c (main): Use char **argv argument.
20957
2ee633a2
JM
209582012-02-17 Joseph Myers <joseph@codesourcery.com>
20959
20960 [BZ #5077]
20961 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
20962 rounding modes.
20963
0520adde
FB
209642012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
20965
20966 [BZ #6907]
20967 * manual/string.texi (strchr): Change when strchrnul is
20968 recommended.
20969
3f4081cd
DGM
209702012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
20971
20972 [BZ #174]
20973 * manual/locale.texi (setlocale): Document LOCPATH.
20974
d1b10e78
JM
209752012-02-17 Joseph Myers <joseph@codesourcery.com>
20976
20977 [BZ #10210]
20978 * manual/process.texi (execle): Move @dots{} before last argument.
20979
79c6869c
PB
209802012-02-17 Paul Bolle <pebolle@tiscali.nl>
20981
20982 [BZ #12047]
20983 * manual/charset.texi (Generic Charset Conversion): Fix typo
20984 (LC_TYPE -> LC_CTYPE).
20985
cc6e48bc
NB
209862012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
20987
20988 [BZ #5805]
20989 * manual/arith.texi (scalbn): Use @var{} on parameter names.
20990 (scalbnf): Likewise.
20991 (scalbnl): Likewise.
20992 (scalbln): Likewise.
20993 (scalblnf): Likewise.
20994 (scalblnl): Likewise.
20995 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
20996 (vwarnx): Likewise.
20997 (verr): Likewise.
20998 (verrx): Likewise.
20999 * manual/filesys.texi (telldir): Use braces around return type.
21000 * manual/llio.texi (mmap): Add space after comma.
21001 (mmap64): Likewise.
21002 * manual/math.texi (jn): Use @var{} on parameter names.
21003 (jnf): Likewise.
21004 (jnl): Likewise.
21005 (yn): Likewise.
21006 (ynf): Likewise.
21007 (ynl): Likewise.
21008 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
21009 line.
21010 * manual/resource.texi (ulimit): Use @dots{} instead of literal
21011 "...".
21012 (sched_get_priority_min): Remove semicolon on @deftypefun line.
21013 (sched_get_priority_max): Likewise.
21014 * manual/signal.texi (sigvec): Add space after comma.
21015 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
21016 names.
21017 (if_indextoname): Likewise.
21018 (if_freenameindex): Likewise.
21019 (sendto): Use ',' instead of '.' in prototype.
21020 * manual/startup.texi (syscall): Use @dots{} instead of literal
21021 "...".
21022 * manual/stdio.texi (__fpending): Separate initial words of
21023 paragraph from @deftypefun line.
21024 * manual/syslog.texi (syslog): Use @dots{} instead of literal
21025 "...".
21026 (vsyslog): Use @var{} on parameter names.
21027 * manual/terminal.texi (stty): Use @var{} on parameter names.
21028 * manual/users.texi (getutmp): Use @var{} on parameter names.
21029 (getutmpx): Likewise.
21030
5b23062f
JM
210312012-02-17 Joseph Myers <joseph@codesourcery.com>
21032
21033 [BZ #6884]
21034 * manual/stdio.texi (fopen): Fix typos in description of
21035 ",ccs=STRING".
21036
8dee4833
AJ
210372012-02-17 Aurelien Jarno <aurelien@aurel32.net>
21038
21039 [BZ #4026]
21040 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
21041 get clock_id definition.
21042
9078ce93
TS
210432012-02-17 Thomas Schwinge <thomas@schwinge.name>
21044
21045 [BZ #4822]
21046 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
21047 (madvise): Cast every argument to void on its own.
21048
3835c55f
JM
210492012-02-17 Joseph Myers <joseph@codesourcery.com>
21050
21051 [BZ #9902]
21052 * manual/startup.texi (Exit Status): Fix typo.
21053
35c47e37
JM
210542012-02-17 Joseph Myers <joseph@codesourcery.com>
21055
21056 [BZ #10140]
21057 * manual/examples/argp-ex1.c: Include <stdlib.h>.
21058 * manual/examples/argp-ex2.c: Likewise.
21059 * manual/examples/argp-ex3.c: Likewise.
21060
e3b69ca7
RH
210612012-02-16 Richard Henderson <rth@redhat.com>
21062
21063 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
21064 * sysdeps/s390/s390-32/initfini.c: Remove.
21065 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
21066 * sysdeps/s390/s390-64/initfini.c: Remove.
21067
df83af67
KK
210682012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21069
21070 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
21071 compiler output for sysdeps/generic/initfini.c.
21072 * sysdeps/sh/elf/initfini.c: Remove file.
21073
f63f3380
DM
210742012-02-16 David S. Miller <davem@davemloft.net>
21075
fb59b3a4
DM
21076 [BZ #11494]
21077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
21078
f63f3380
DM
21079 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
21080 * sysdeps/sparc/crti.S: New file.
21081 * sysdeps/sparc/crtn.S: New file.
21082 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
21083 * sysdeps/sparc/sparc64/Makefile: Likewise.
21084
df6a4a4a
MF
210852012-02-15 Mike Frysinger <vapier@gentoo.org>
21086
6dd8f3dc 21087 [BZ #3335]
df6a4a4a
MF
21088 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
21089
1cac7236
RM
210902012-02-15 Roland McGrath <roland@hack.frob.com>
21091
d2c736f8
RM
21092 [BZ #4822]
21093 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
21094
1cac7236
RM
21095 * mach/devstream.c (cookie_io_functions_t): Macro removed.
21096 (write, read, close): Likewise.
21097 Patch by Aurelien Jarno <aurelien@aurel32.net>.
21098
8e475601
JM
210992012-02-15 Joseph Myers <joseph@codesourcery.com>
21100
21101 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
21102 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
21103 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
21104 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
21105 <bits/signalfd.h>.
21106 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
21107 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21108 bits/signalfd.h.
21109
ed656b40
MP
211102012-02-14 Marek Polacek <polacek@redhat.com>
21111
21112 * sysdeps/x86_64/crti.S: New file.
21113 * sysdeps/x86_64/crtn.S: New file.
21114 * sysdeps/x86_64/elf/initfini.c: Remove file.
21115
2a979d3a
JM
211162012-02-13 Joseph Myers <joseph@codesourcery.com>
21117
21118 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
21119 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
21120 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
21121 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
21122 <bits/inotify.h>.
21123 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
21124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21125 bits/inotify.h.
21126
2a418ac3
JM
211272012-02-13 Joseph Myers <joseph@codesourcery.com>
21128
21129 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
21130 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
21131 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
21132 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
21133 <bits/eventfd.h>.
21134 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
21135 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21136 bits/eventfd.h.
21137
fb779be7
TS
211382012-02-10 Thomas Schwinge <thomas@codesourcery.com>
21139
e19e83c5
RM
21140 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
21141 __feraiseexcept instead of feraiseexcept.
7c35ffed 21142
fb779be7
TS
21143 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
21144 nanosleep invocations.
21145 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
21146 strings, and add error checking for a nanosleep invocations.
21147
59ba27a6
PE
211482012-02-09 Paul Eggert <eggert@cs.ucla.edu>
21149
21150 Replace FSF snail mail address with URLs, as per GNU coding standards.
21151 Most of the snail mail addresses were wrong anyway, and omitting
21152 them makes the source code easier to maintain. Almost all of the
21153 changes are to license notices and to locale LC_IDENTIFICATION
21154 addresses, except for this one:
21155 * manual/libc.texinfo: In "Published by", give the FSF's URL,
21156 not its snail mail address.
21157
57b957eb
RH
211582012-02-09 Richard Henderson <rth@twiddle.net>
21159
af850b1c
RH
21160 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
21161 of kernel-features.h.
21162
57b957eb
RH
21163 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
21164
6b73181a
MP
211652012-02-08 Marek Polacek <polacek@redhat.com>
21166
21167 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21168 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
21169 * sysdeps/gnu/_G_config.h: Likewise.
21170 * sysdeps/generic/_G_config.h: Likewise.
21171
26ecc33a
AS
211722012-02-08 Andreas Schwab <schwab@linux-m68k.org>
21173
6c6dbc63
AS
21174 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
21175 tests.
21176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21177
e216c012
AS
21178 * sysdeps/powerpc/powerpc32/crti.S: New file.
21179 * sysdeps/powerpc/powerpc32/crtn.S: New file.
21180 * sysdeps/powerpc/powerpc64/crti.S: New file.
21181 * sysdeps/powerpc/powerpc64/crtn.S: New file.
21182
26ecc33a
AS
21183 * Makeconfig (have-initfini): Don't set.
21184 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
21185 * configure.in (nopic_initfini): Don't substitute.
21186 * config.h.in (HAVE_INITFINI): Don't #undef.
21187 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
21188 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
21189
3add8e13
JM
211902012-02-08 Joseph Myers <joseph@codesourcery.com>
21191
21192 Support crti.S and crtn.S provided directly by architectures.
21193 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
21194 [crti.S in sysdirs] (omit-deps): Likewise.
21195 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
21196 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
21197 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
21198 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
21199 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
21200 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
21201 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
21202 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
21203 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
21204 compiler output for sysdeps/generic/initfini.c.
21205 * sysdeps/i386/elf/Makefile: Remove file.
21206 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
21207
a22f12b4
MP
212082012-02-07 Marek Polacek <polacek@redhat.com>
21209
21210 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
21211 * sysdeps/gnu/_G_config.h: Likewise.
21212 * sysdeps/mach/hurd/_G_config.h: Likewise.
21213
148cf100
MP
212142012-02-07 Marek Polacek <polacek@redhat.com>
21215
21216 * math/Makefile (tests): Add tst-CMPLX2.
21217 * math/tst-CMPLX2.c: New file.
21218
cfdc0dd7
AS
212192012-02-07 Andreas Schwab <schwab@linux-m68k.org>
21220
84ba42c4
AS
21221 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21222
cfdc0dd7
AS
21223 * math/libm-test.inc (jn_test): Add missing L suffix.
21224
622c86f4
MP
212252012-02-06 Marek Polacek <polacek@redhat.com>
21226
21227 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
21228 * sysdeps/i386/fpu/e_powf.S: Likewise.
21229 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21230 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21231 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21232 * sysdeps/i386/fpu/e_pow.S: Likewise.
21233 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
21234 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21235 * sysdeps/i386/fpu/s_expm1.S: Likewise.
21236 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
21237 * sysdeps/i386/fpu/e_log2.S: Likewise.
21238 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21239 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21240 * sysdeps/i386/fpu/e_powl.S: Likewise.
21241 * sysdeps/i386/fpu/s_log1p.S: Likewise.
21242 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21243 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
21244 * sysdeps/i386/fpu/e_logl.S: Likewise.
21245 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
21246 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
21247 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
21248 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
21249 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21250 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21251 * sysdeps/i386/fpu/e_log.S: Likewise.
21252 * sysdeps/i386/fpu/s_cexp.S: Likewise.
21253 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21254 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
21255 * sysdeps/i386/fpu/e_logf.S: Likewise.
21256 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21257 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21258 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
21259 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
21260 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21261 * sysdeps/i386/fpu/e_log10.S: Likewise.
21262 * sysdeps/i386/fpu/s_frexp.S: Likewise.
21263 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21264 * sysdeps/i386/fpu/s_asinh.S: Likewise.
21265 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
21266 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21267 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
21268 * sysdeps/i386/asm-syntax.h: Likewise.
21269 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21270 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21271 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21272 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
21273 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
21274 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21275 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
21276 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
21277 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21278 * sysdeps/powerpc/sysdep.h: Likewise.
21279 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21280 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21281
d4a54ac6
JM
212822012-02-06 Joseph Myers <joseph@codesourcery.com>
21283
21284 [BZ #411]
21285 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
21286
314054ea
JM
212872012-02-06 Joseph Myers <joseph@codesourcery.com>
21288
21289 * sysdeps/i386/sysdep.h: Include <features.h>.
21290 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
21291 version.
21292
d8e0ca50
JM
212932012-02-05 Joseph Myers <joseph@codesourcery.com>
21294
21295 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
21296 Define.
21297 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
21298 LOAD_PIC_REG_STR.
21299
b1da7dd9
JM
213002012-02-03 Joseph Myers <joseph@codesourcery.com>
21301
21302 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
21303 (SETUP_PIC_REG): Use GET_PC_THUNK.
21304 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
21305 macro.
21306
9a1d9254
JM
213072012-02-03 Joseph Myers <joseph@codesourcery.com>
21308
21309 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
21310 for non-PIC compilation.
21311 (SETUP_PIC_REG): Add .p2align directive.
21312 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
21313 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21314 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21315 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21317 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21318 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21320 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21321 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21322 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21323 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21324 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21325 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21326 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21327 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21328 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21329 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21330 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21331 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21332 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21333 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21334 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21335 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21337 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21338 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21339 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21340 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21341 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21342 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21343 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21344 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21345 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21346 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21347 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21348 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21349 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21350 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21351 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21352 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21353
65dc3b75
JM
213542012-02-03 Joseph Myers <joseph@codesourcery.com>
21355
21356 * math/tst-CMPLX.c: Include <stdio.h>.
21357
d55bf177
JM
213582012-01-31 Joseph Myers <joseph@codesourcery.com>
21359
21360 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
21361 float.
21362 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21363 * sysdeps/sparc/bits/mathdef.h: Likewise.
21364
69db4f8f
MP
213652012-01-31 Marek Polacek <polacek@redhat.com>
21366
21367 * libio/libio.h: Don't define _PARAMS.
21368 * locale/programs/config.h: Don't define PARAMS.
21369 * stdlib/strtol_l.c: Likewise.
21370 (__strtol_l): Remove PARAMS from the prototype.
21371
41b81892
UD
213722012-01-31 Ulrich Drepper <drepper@gmail.com>
21373
3b49edc0
UD
21374 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
21375 names. Just use the correct names. Remove unnecessary wrapper
21376 functions.
21377 * malloc/arena.c: Likewise.
21378 * malloc/hooks.c: Likewise.
21379
41b81892
UD
21380 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
21381 ARENA_TEST says not to. Simplify test for creation of a new arena.
21382 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
21383
27a25b6e
UD
213842012-01-30 Ulrich Drepper <drepper@gmail.com>
21385
21386 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
21387 into tail calls.
21388 (update_get_addr): New function.
21389 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
21390 GET_ADDR_MODULE parameter.
21391
c8a89e7d
JM
213922012-01-30 Joseph Myers <joseph@codesourcery.com>
21393
21394 * crypt/cert.c: Remove __STDC__ conditionals.
21395 * crypt/crypt-entry.c: Likewise.
21396 * crypt/crypt_util.c: Likewise.
21397 * libio/filedoalloc.c: Likewise.
21398 * libio/fileops.c: Likewise.
21399 * libio/genops.c: Likewise.
21400 * libio/iofclose.c: Likewise.
21401 * libio/iofdopen.c: Likewise.
21402 * libio/iofopen.c: Likewise.
21403 * libio/iofopen64.c: Likewise.
21404 * libio/iogetdelim.c: Likewise.
21405 * libio/iopopen.c: Likewise.
21406 * libio/obprintf.c: Likewise.
21407 * libio/oldfileops.c: Likewise.
21408 * libio/oldiofclose.c: Likewise.
21409 * libio/oldiofdopen.c: Likewise.
21410 * libio/oldiofopen.c: Likewise.
21411 * libio/oldiopopen.c: Likewise.
21412 * libio/wfiledoalloc.c: Likewise.
21413 * libio/wgenops.c: Likewise.
21414 * locale/programs/xmalloc.c: Likewise.
21415 * misc/syslog.c: Likewise.
21416 * stdio-common/xbug.c: Likewise.
21417 * string/memchr.c: Likewise.
21418 * string/memcmp.c: Likewise.
21419 * string/memrchr.c: Likewise.
21420 * string/rawmemchr.c: Likewise.
21421 * sysdeps/posix/getcwd.c: Likewise.
21422 * time/strftime_l.c: Likewise.
21423
3b100462
JM
214242012-01-30 Joseph Myers <joseph@codesourcery.com>
21425
21426 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
21427 * config.make.in (config-cflags-sse2avx): Define.
21428 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
21429 Fix typo.
21430
607998af
CM
214312012-01-29 Chris Metcalf <cmetcalf@tilera.com>
21432
21433 * scripts/config.guess: Update from upstream config git repository.
21434 * scripts/config.sub: Likewise.
21435
3601428f
CM
214362012-01-28 Chris Metcalf <cmetcalf@tilera.com>
21437
3ac8b282
CM
21438 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
21439 (EM_NUM): Update.
21440 (R_TILEPRO_*, R_TILEGX_*): New macros.
21441
e034841e
CM
21442 * scripts/firstversions.awk: Fix bug in version range handling.
21443
540d7568
CM
21444 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
21445
3601428f
CM
21446 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
21447
463de862
CM
21448 * include/sys/epoll.h: New file.
21449 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
21450 libc_hidden_def.
21451
73139a76
UD
214522012-01-28 Ulrich Drepper <drepper@gmail.com>
21453
96bc5b45
UD
21454 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
21455 Avoid unnecessary __WORDSIZE == 64 test.
21456 (fmaxf): Use VEX format if possible.
21457 (fmax): Likewise.
21458 (fminf): Likewise.
21459 (fmin): Likewise.
21460
56f6f6a2
UD
21461 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
21462 * math/math_private.h: Remove libc_fegetround* and
21463 libc_fesetround*.
21464 * sysdeps/i386/configure.in: Check for -msse2avx.
21465 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
21466 also if SSE2AVX is defined.
21467 Remove libc_fegetround* and libc_fesetround*.
21468 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
21469 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
21470 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
21471 of HAS_YMM_USABLE.
21472 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21473 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21474 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21475 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21476 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21477
73139a76
UD
21478 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
21479
d73f93a4
AZ
214802012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21481
21482 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
21483 size is not set.
21484 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
21485
6ee65ed6
UD
214862012-01-27 Ulrich Drepper <drepper@gmail.com>
21487
21488 [BZ #13618]
21489 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
21490 relocation.
21491 * Makeconfig (libm): Define.
21492 * elf/Makefile: Add rules to build and run tst-relsort1.
21493 * elf/tst-relsort1.c: New file.
21494 * elf/tst-relsort1mod1.c: New file.
21495 * elf/tst-relsort1mod2.c: New file.
21496
8db21882
JM
214972012-01-27 Joseph Myers <joseph@codesourcery.com>
21498
21499 * math/s_ldexp.c: Remove __STDC__ conditionals.
21500 * math/s_ldexpf.c: Likewise.
21501 * math/s_ldexpl.c: Likewise.
21502 * math/s_nextafter.c: Likewise.
21503 * math/s_nexttowardf.c: Likewise.
21504 * math/s_significand.c: Likewise.
21505 * math/s_significandf.c: Likewise.
21506 * math/s_significandl.c: Likewise.
21507 * math/w_jnl.c: Likewise.
21508 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21509 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21510 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21511 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21512 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21513 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
21515 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21516 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21517 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21518 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21519 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21520 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21521 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21522 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21523 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21524 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21525 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
21527 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21528 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21529 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21530 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21531 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21532 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21533 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21534 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21535 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21536 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
21537 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21538 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21539 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
21540 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21541 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
21542 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
21543 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21544 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
21545 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21546 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
21547 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
21548 * sysdeps/ieee754/k_standard.c: Likewise.
21549 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21550 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21551 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
21552 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
21553 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
21554 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
21555 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21556 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
21557 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
21558 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
21559 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
21560 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
21561 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
21562 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
21563 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
21564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
21565 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
21566 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21567 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21568 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
21569 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21570 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21571 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
21572 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
21573 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21574 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21575 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21578 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
21579 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
21580 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
21581 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
21582 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
21583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
21584 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
21585 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
21586 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
21587 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
21588 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
21589 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
21590 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
21591 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
21593 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
21594 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21595 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21596 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21597 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
21598 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
21599 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
21600 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21602 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
21603 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
21604 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
21605 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
21606 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21607 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21608 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21609 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21610 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
21611 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
21612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21613 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21614 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21615 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21616 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
21617 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
21618 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21619 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
21623 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
21624 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21625 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
21626 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
21627 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
21628 * sysdeps/ieee754/s_matherr.c: Likewise.
21629 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
21630 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21631 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21632 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21633
965a54a4
JM
216342012-01-26 Joseph Myers <joseph@codesourcery.com>
21635
21636 * crypt/md5.h: Remove __STDC__ conditionals.
21637 * libio/libioP.h: Likewise.
21638 * locale/programs/config.h: Likewise.
21639 * sysdeps/generic/sysdep.h: Likewise.
21640 * sysdeps/i386/asm-syntax.h: Likewise.
21641 * sysdeps/s390/asm-syntax.h: Likewise.
21642 * sysdeps/unix/sysdep.h: Likewise.
21643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21645
7071ad79
JM
216462012-01-26 Joseph Myers <joseph@codesourcery.com>
21647
21648 * libio/libio.h: Remove __STDC__ conditionals.
21649 * malloc/obstack.h: Likewise.
21650 * math/complex.h: Likewise.
21651 * math/math.h: Likewise.
21652 * sysdeps/generic/_G_config.h: Likewise.
21653 * sysdeps/gnu/_G_config.h: Likewise.
21654 * sysdeps/mach/hurd/_G_config.h: Likewise.
21655 * sysdeps/powerpc/bits/mathdef.h: Likewise.
21656 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
21657 * sysdeps/sparc/bits/mathdef.h: Likewise.
21658
afc5ed09
UD
216592012-01-26 Ulrich Drepper <drepper@gmail.com>
21660
21661 [BZ #13583]
21662 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 21663 Clean up HAS_* macros.
afc5ed09 21664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
21665 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
21666 possible.
21667 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
21668 HAS_AVX.
21669 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21670 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21671 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21672 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 21674
bdb6de1d
JM
216752012-01-25 Joseph Myers <joseph@codesourcery.com>
21676
21677 * elf/tst-unique3.cc (gets): Remove declaration.
21678 * elf/tst-unique3lib.cc (gets): Likewise.
21679 * elf/tst-unique3lib2.cc (gets): Likewise.
21680 * elf/tst-unique4.cc (gets): Likewise.
21681
b15549e6
UD
216822012-01-24 Ulrich Drepper <drepper@gmail.com>
21683
21684 * include/stdio.h: Add C++ protection. Add gets declarations and
21685 definitions.
21686 * debug/tst-chk1.c: Don't declare gets here.
21687 * stdio-common/tst-gets.c: Likewise.
21688
a037381f
JM
216892012-01-24 Joseph Myers <joseph@codesourcery.com>
21690
21691 * posix/glob: Remove directory.
21692
f1d4aa75
JM
216932012-01-24 Joseph Myers <joseph@codesourcery.com>
21694
21695 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
21696
81c0c964
PT
216972012-01-22 Pino Toscano <toscano.pino@tiscali.it>
21698
21699 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
21700 of the non-standard EPFNOSUPPORT.
21701
0ea698ae
ST
217022011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
21703
21704 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
21705 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
21706 ANYWHERE set to 1 only on KERN_NO_SPACE error.
21707
d220b117
UD
217082012-01-21 Ulrich Drepper <drepper@gmail.com>
21709
21710 * wcsmbs/uchar.h: Test __STDC_VERSION__.
21711
3e1aa84e
UD
217122012-01-20 Ulrich Drepper <drepper@gmail.com>
21713
21714 * nscd/aicache.c (addhstaiX): Do not cache negative results of
21715 transient errors.
21716 * nscd/grpcache.c (cache_addgr): Likewise.
21717 * nscd/hstcache.c (cache_addhst): Likewise.
21718 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21719 * nscd/pwdcache.c (cache_addpw): Likewise.
21720 * nscd/servicescache.c (cache_addserv): Likewise.
21721
400aa020
UD
217222012-01-16 Ulrich Drepper <drepper@gmail.com>
21723
d77e7869
UD
21724 * malloc/malloc.c: Various cleanups.
21725 * malloc/hooks.c: Likewise.
21726
400aa020
UD
21727 * stdlib/Makefile (tests): Add bug-fmtmsg1.
21728 * stdlib/bug-fmtmsg1.c: New file.
21729
21730 * stdlib/fmtmsg.c (init): Add missing unlock.
21731 Patch by Peng Haitao <penght@cn.fujitsu.com>.
21732
e0a309cf
MP
217332012-01-12 Marek Polacek <polacek@redhat.com>
21734
21735 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
21736 and _GNU_SOURCE.
21737
929d11c7
WS
217382012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
21739
21740 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
21741 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
21742 macro to ensure uniqueness of label name.
21743 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21744 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21745
41d0e869
UD
217462012-01-11 Ulrich Drepper <drepper@gmail.com>
21747
0cc5ed3b
UD
21748 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
21749
41d0e869
UD
21750 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
21751 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
21752 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
21753 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
21754
a47a831a
UD
217552012-01-10 Ulrich Drepper <drepper@gmail.com>
21756
daa891c0
UD
21757 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
21758
21759 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
21760 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
21761 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
21762
e58ef0f2
UD
21763 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
21764
a47a831a 21765 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
21766 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
21767 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 21768 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
21769
21770 * math/bits/math-finite.h: Add ldexp support.
21771
a0bfc9c7
MP
217722012-01-10 Marek Polacek <polacek@redhat.com>
21773
21774 * locale/programs/localedef.h (show_archive_content): Add noreturn
21775 attribute.
21776
d6e97a1d
UD
217772012-01-09 Ulrich Drepper <drepper@gmail.com>
21778
21779 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
21780
d5835c26
UD
217812012-01-08 Ulrich Drepper <drepper@gmail.com>
21782
e5f484c6
UD
21783 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
21784
d5835c26
UD
21785 * io/Makefile (headers): Add bits/poll2.h.
21786
d1f741e9
WS
217872011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
21788
21789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
21790 typo #include statement.
21791
ec09c1c4
UD
217922012-01-08 Ulrich Drepper <drepper@gmail.com>
21793
21794 * include/sys/cdefs.h: Define __attribute_alloc_size.
21795 * catgets/gencat.c: Add alloc_size attribute and apply consistently
21796 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
21797 * elf/pldd.c: Likewise.
21798 * iconv/iconv_charmap.c: Likewise.
21799 * iconv/iconvconfig.c: Likewise.
21800 * iconv/strtab.c: Likewise.
21801 * locale/programs/locale.c: Likewise.
21802 * locale/programs/localedef.h: Likewise.
21803 * locale/programs/simple-hash.c: Likewise.
21804 * nscd/nscd.h: Likewise.
21805 * nss/makedb.c: Likewise.
21806 * sysdeps/generic/ldconfig.h: Likewise.
21807 * locale/programs/localedef.c: Remove xmalloc prototype.
21808 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
21809
20b38e03
PP
218102012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21811
21812 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
21813 appropriate.
21814
a0da5fe1
UD
218152012-01-08 Ulrich Drepper <drepper@gmail.com>
21816
1d5a644a 21817 * math/Makefile (tests): Add tst-CMPLX.
669704fd 21818 * math/tst-CMPLX.c: New file.
1d5a644a 21819
8784a6db
UD
21820 * math/complex.h (CMPLXL): Fix typo.
21821
d9a216c0
UD
21822 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
21823 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
21824 GLIBC_2.16.
21825 * debug/tst-chk1.c: Add poll and ppoll tests.
21826 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
21827 * include/sys/poll.h: Add hidden proto for ppoll.
21828 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
21829 * sysdeps/mach/hurd/ppoll.c: Likewise.
21830 * io/ppoll.c: Likewise.
21831 * debug/poll_chk.c: New file.
21832 * debug/ppoll_chk.c: New file.
21833 * include/bits/poll2.h: New file.
21834 * io/bits/poll2.h: New file.
21835
ac097f5c
UD
21836 [BZ #1350]
21837 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
21838
2119dcfa
UD
21839 * configure.in: static is always set to yes. Remove.
21840 * config.make.in: Don't set build-static.
21841 * Makeconfig: Remove use of build-static.
21842 * dlfcn/Makefile: Likewise.
21843 * elf/Makefile: Likewise.
21844 * math/Makefile: Likewise.
21845 * misc/Makefile: Likewise.
21846 * nptl/Makefile: Likewise.
21847 * sysdeps/mach/hurd/Makefile: Likewise.
21848
121766a9
UD
21849 * configure.in: PWD_P is not used anymore.
21850 * config.make.in: Remove PWD_P entry.
21851
51a1d39c 21852 * configure.in: Remove last remnants of RANLIB.
8720d066 21853 No need to check for signed size_t anymore.
215f4bdc
UD
21854 Don't set libc_commonpagesize and libc_relro_required here for Alpha
21855 and IA-64.
3857022a 21856 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
21857 * aclocal.m4: Likewise.
21858
d3ed7225
UD
21859 * wcsmbs/mbrtoc16.c: Implement using towc function.
21860 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
21861 * wcsmbs/wcsmbsload.c: Likewise.
21862 * iconv/gconv_simple.c: Likewise.
21863 * iconv/gconv_int.h: Likewise.
21864 * iconv/gconv_builtin.h: Likewise.
21865 * iconv/iconv_prog.c: Remove CHAR16 handling.
21866
21867 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
21868
21869 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
21870
a0da5fe1
UD
21871 * configure.in: Remove --with-elf and --enable-bounded options.
21872 Dont set base_machine for ia64. More non-ELF conditions removed.
21873 Remove testing and setting of leading underscore information.
21874 * config.make.in (build-bounded): Set to no.
21875 * config.h.in: Remove NO_UNDERSCORES entry.
21876 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
21877 them.
21878 * csu/start.c: Remove !NO_UNDERSCORE code.
21879 * locale/localeinfo.h: Likewise.
21880 * sysdeps/generic/machine-gmon.h: Likewise.
21881 * sysdeps/generic/sysdep.h: Likewise.
21882 * sysdeps/i386/sysdep.h: Likewise.
21883 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
21884 * sysdeps/mach/sysdep.h: Likewise.
21885 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21886 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21887 * sysdeps/sh/sysdep.h: Likewise.
21888 * sysdeps/sparc/sparc32/alloca.S: Likewise.
21889 * sysdeps/unix/i386/sysdep.S: Likewise.
21890 * sysdeps/unix/sparc/start.c: Likewise.
21891 * sysdeps/unix/sparc/sysdep.S: Likewise.
21892 * sysdeps/unix/sparc/sysdep.h: Likewise.
21893 * sysdeps/unix/start.c: Likewise.
21894 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21895 * sysdeps/x86_64/sysdep.h: Likewise.
21896
df78418a
UD
218972012-01-07 Ulrich Drepper <drepper@gmail.com>
21898
a784e502
UD
21899 [BZ #13553]
21900 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
21901 for non-gcc.
21902 * argp/argp-fmtstream.h: Use const instead __const.
21903 * argp/argp.h: Likewise.
21904 * assert/assert.h: Likewise.
21905 * bits/fenv.h: Likewise.
21906 * bits/sched.h: Likewise.
21907 * bits/sigset.h: Likewise.
21908 * bits/sigthread.h: Likewise.
21909 * catgets/nl_types.h: Likewise.
21910 * conform/data/pthread.h-data: Likewise.
21911 * crypt/crypt-private.h: Likewise.
21912 * crypt/crypt.h: Likewise.
21913 * crypt/crypt_util.c: Likewise.
21914 * ctype/ctype.h: Likewise.
21915 * debug/execinfo.h: Likewise.
21916 * debug/mbsnrtowcs_chk.c: Likewise.
21917 * debug/mbsrtowcs_chk.c: Likewise.
21918 * debug/wcsnrtombs_chk.c: Likewise.
21919 * debug/wcsrtombs_chk.c: Likewise.
21920 * debug/wcstombs_chk.c: Likewise.
21921 * dirent/dirent.h: Likewise.
21922 * dlfcn/dlfcn.h: Likewise.
21923 * elf/neededtest4.c: Likewise.
21924 * grp/grp.h: Likewise.
21925 * gshadow/gshadow.h: Likewise.
21926 * iconv/gconv.h: Likewise.
21927 * iconv/gconv_int.h: Likewise.
21928 * iconv/gconv_simple.c: Likewise.
21929 * iconv/iconv.h: Likewise.
21930 * iconv/loop.c: Likewise.
21931 * iconv/skeleton.c: Likewise.
21932 * include/aio.h: Likewise.
21933 * include/aliases.h: Likewise.
21934 * include/argz.h: Likewise.
21935 * include/arpa/inet.h: Likewise.
21936 * include/assert.h: Likewise.
21937 * include/dirent.h: Likewise.
21938 * include/dlfcn.h: Likewise.
21939 * include/execinfo.h: Likewise.
21940 * include/fcntl.h: Likewise.
21941 * include/fenv.h: Likewise.
21942 * include/glob.h: Likewise.
21943 * include/grp.h: Likewise.
21944 * include/libintl.h: Likewise.
21945 * include/mntent.h: Likewise.
21946 * include/netdb.h: Likewise.
21947 * include/pwd.h: Likewise.
21948 * include/rpc/netdb.h: Likewise.
21949 * include/sched.h: Likewise.
21950 * include/search.h: Likewise.
21951 * include/shadow.h: Likewise.
21952 * include/signal.h: Likewise.
21953 * include/stdio.h: Likewise.
21954 * include/stdlib.h: Likewise.
21955 * include/string.h: Likewise.
21956 * include/sys/socket.h: Likewise.
21957 * include/sys/stat.h: Likewise.
21958 * include/sys/statfs.h: Likewise.
21959 * include/sys/statvfs.h: Likewise.
21960 * include/sys/syslog.h: Likewise.
21961 * include/sys/time.h: Likewise.
21962 * include/sys/uio.h: Likewise.
21963 * include/time.h: Likewise.
21964 * include/unistd.h: Likewise.
21965 * include/utmp.h: Likewise.
21966 * include/wchar.h: Likewise.
21967 * include/wctype.h: Likewise.
21968 * inet/aliases.h: Likewise.
21969 * inet/arpa/inet.h: Likewise.
21970 * inet/netinet/ether.h: Likewise.
21971 * inet/netinet/in.h: Likewise.
21972 * intl/libintl.h: Likewise.
21973 * io/bits/fcntl2.h: Likewise.
21974 * io/fcntl.h: Likewise.
21975 * io/ftw.h: Likewise.
21976 * io/sys/poll.h: Likewise.
21977 * io/sys/stat.h: Likewise.
21978 * io/sys/statfs.h: Likewise.
21979 * io/sys/statvfs.h: Likewise.
21980 * io/utime.h: Likewise.
21981 * libio/bits/stdio.h: Likewise.
21982 * libio/bits/stdio2.h: Likewise.
21983 * libio/libio.h: Likewise.
21984 * libio/libioP.h: Likewise.
21985 * libio/stdio.h: Likewise.
21986 * locale/lc-ctype.c: Likewise.
21987 * locale/locale.h: Likewise.
21988 * login/utmp.h: Likewise.
21989 * malloc/arena.c: Likewise.
21990 * malloc/malloc.c: Likewise.
21991 * malloc/malloc.h: Likewise.
21992 * malloc/mcheck.c: Likewise.
21993 * malloc/mtrace.c: Likewise.
21994 * math/bits/mathcalls.h: Likewise.
21995 * math/fenv.h: Likewise.
21996 * math/math_private.h: Likewise.
21997 * misc/bits/error.h: Likewise.
21998 * misc/bits/syslog.h: Likewise.
21999 * misc/err.h: Likewise.
22000 * misc/error.h: Likewise.
22001 * misc/fstab.h: Likewise.
22002 * misc/mntent.h: Likewise.
22003 * misc/regexp.h: Likewise.
22004 * misc/search.h: Likewise.
22005 * misc/sgtty.h: Likewise.
22006 * misc/sys/mman.h: Likewise.
22007 * misc/sys/syslog.h: Likewise.
22008 * misc/sys/uio.h: Likewise.
22009 * misc/sys/xattr.h: Likewise.
22010 * misc/ttyent.h: Likewise.
22011 * nis/rpcsvc/ypclnt.h: Likewise.
22012 * nss/nss.h: Likewise.
22013 * posix/bits/unistd.h: Likewise.
22014 * posix/fnmatch.h: Likewise.
22015 * posix/glob.h: Likewise.
22016 * posix/sched.h: Likewise.
22017 * posix/spawn.h: Likewise.
22018 * posix/sys/wait.h: Likewise.
22019 * posix/unistd.h: Likewise.
22020 * posix/wordexp.h: Likewise.
22021 * pwd/pwd.h: Likewise.
22022 * resolv/netdb.h: Likewise.
22023 * resource/sys/resource.h: Likewise.
22024 * rt/aio.h: Likewise.
22025 * rt/bits/mqueue2.h: Likewise.
22026 * rt/mqueue.h: Likewise.
22027 * shadow/shadow.h: Likewise.
22028 * signal/signal.h: Likewise.
22029 * socket/send.c: Likewise.
22030 * socket/sendto.c: Likewise.
22031 * socket/sys/socket.h: Likewise.
22032 * stdio-common/printf.h: Likewise.
22033 * stdlib/bits/stdlib.h: Likewise.
22034 * stdlib/fmtmsg.h: Likewise.
22035 * stdlib/monetary.h: Likewise.
22036 * stdlib/stdlib.h: Likewise.
22037 * stdlib/ucontext.h: Likewise.
22038 * streams/stropts.h: Likewise.
22039 * string/argz.h: Likewise.
22040 * string/bits/string2.h: Likewise.
22041 * string/string.h: Likewise.
22042 * string/strings.h: Likewise.
22043 * sunrpc/rpc/auth.h: Likewise.
22044 * sunrpc/rpc/auth_des.h: Likewise.
22045 * sunrpc/rpc/clnt.h: Likewise.
22046 * sunrpc/rpc/netdb.h: Likewise.
22047 * sunrpc/rpc/pmap_clnt.h: Likewise.
22048 * sunrpc/rpc/xdr.h: Likewise.
22049 * sysdeps/generic/inttypes.h: Likewise.
22050 * sysdeps/generic/net/if.h: Likewise.
22051 * sysdeps/generic/sys/swap.h: Likewise.
22052 * sysdeps/gnu/net/if.h: Likewise.
22053 * sysdeps/gnu/utmpx.h: Likewise.
22054 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
22055 * sysdeps/i386/i486/bits/string.h: Likewise.
22056 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
22057 * sysdeps/s390/bits/string.h: Likewise.
22058 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
22059 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
22060 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
22061 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
22062 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
22063 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
22064 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
22065 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
22066 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
22067 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
22068 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
22069 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
22070 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
22071 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
22072 * sysdeps/unix/sysv/linux/readv.c: Likewise.
22073 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
22074 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22075 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22076 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
22077 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
22078 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22079 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
22080 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
22081 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
22082 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
22083 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
22084 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
22085 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22086 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
22087 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
22088 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
22089 * sysvipc/sys/ipc.h: Likewise.
22090 * sysvipc/sys/msg.h: Likewise.
22091 * sysvipc/sys/sem.h: Likewise.
22092 * sysvipc/sys/shm.h: Likewise.
22093 * termios/termios.h: Likewise.
22094 * time/sys/time.h: Likewise.
22095 * time/time.h: Likewise.
22096 * wcsmbs/bits/wchar2.h: Likewise.
22097 * wcsmbs/uchar.h: Likewise.
22098 * wcsmbs/wchar.h: Likewise.
22099 * wctype/wctype.h: Likewise.
22100
0269750c
UD
22101 [BZ #13551]
22102 * Makeconfig: Remove all but ELF support including AIX support.
22103 * Makerules: Likewise.
22104 * config.h.in: Likewise.
22105 * config.make.in: Likewise.
22106 * configure: Likewise.
22107 * configure.in: Likewise.
22108 * csu/Makefile: Likewise.
22109 * csu/version.c: Likewise.
22110 * debug/Makefile: Likewise.
22111 * dlfcn/Makefile: Likewise.
22112 * elf/Makefile: Likewise.
22113 * extra-lib.mk: Likewise.
22114 * iconv/Makefile: Likewise.
22115 * include/libc-symbols.h: Likewise.
22116 * include/shlib-compat.h: Likewise.
22117 * resolv/Makefile: Likewise.
22118 * resolv/res_libc.c: Likewise.
22119 * rt/Makefile: Likewise.
22120 * sysdeps/i386/asm-syntax.h: Likewise.
22121 * sysdeps/i386/sysdep.h: Likewise.
22122 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
22123 * sysdeps/mach/sysdep.h: Likewise.
22124 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
22125 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
22126 * sysdeps/s390/asm-syntax.h: Likewise.
22127 * sysdeps/s390/s390-32/sysdep.h: Likewise.
22128 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22129 * sysdeps/sh/sysdep.h: Likewise.
22130 * sysdeps/unix/sparc/sysdep.h: Likewise.
22131 * sysdeps/wordsize-32/divdi3.c: Likewise.
22132 * sysdeps/x86_64/sysdep.h: Likewise.
22133
00bbd29b
UD
22134 * argp/Versions: Remove _argp_unlock_xxx.
22135
22136 [BZ #13559]
22137 * abilist/ld.abilist: Update. Adjust for removal of tls option.
22138 * abilist/libBrokenLocale.abilist: Likewise.
22139 * abilist/libanl.abilist: Likewise.
22140 * abilist/libc.abilist: Likewise.
22141 * abilist/libcrypt.abilist: Likewise.
22142 * abilist/libdl.abilist: Likewise.
22143 * abilist/libm.abilist: Likewise.
22144 * abilist/libnsl.abilist: Likewise.
22145 * abilist/libpthread.abilist: Likewise.
22146 * abilist/libresolv.abilist: Likewise.
22147 * abilist/librt.abilist: Likewise.
22148 * abilist/libthread_db.abilist: Likewise.
22149 * abilist/libutil.abilist: Likewise.
22150 * abilist/libnss_db.abilist: New file.
22151
22152 * scripts/abilist.awk: Add support for indirect functions.
22153
a2693a0e
UD
22154 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
22155
3f05895f
UD
22156 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
22157
ecb6fb48
UD
22158 * shlib-versions: Remove entries for ports architectures.
22159
664f8cb9
UD
22160 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
22161 files in ports.
22162 * elf/stackguard-macros.h: Remove support for IA-64.
22163 * elf/tst-auditmod1.c: Likewise.
22164 * sysdeps/generic/ldsodefs.h: Likewise.
22165
7ae81d88
UD
22166 * sysdeps/unix/sysv/linux/configure.in: Ports should define
22167 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
22168 configure files.
22169
bdeba135
UD
22170 [BZ #13552]
22171 * configure.in: Remove --enable-omitfp support.
22172 * FAQ.in: Adjust.
22173 * config.make.in: Likewise.
22174 * Makeconfig: Likewise.
22175 * manual/install.texi: Likewise.
22176
d75a0a62
UD
22177 In case anyone cares, the IA-64 architecture could move to ports.
22178 * sysdeps/ia64/*: Removed.
22179 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 22180 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 22181
dcc9756b
UD
22182 [BZ #13555]
22183 * configure.in: Remove entries for unsupported architectures.
22184
d3761ebc 22185 [BZ #13533]
9954432e
UD
22186 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
22187 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
22188 routines.
22189 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
22190 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
22191 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
22192 fall back to using wcrtomb.
22193 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
22194 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
22195 renaming.
22196 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
22197 * wcsmbs/tst-c16c32-1.c: New file.
22198
22199 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
22200 local variable.
22201
c3a87236
UD
22202 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
22203
28926a1b
UD
22204 * elf/tst-unique3.cc: Add explicit declaration of gets.
22205 * elf/tst-unique3lib.cc: Likewise.
22206 * elf/tst-unique3lib2.cc: Likewise.
22207 * elf/tst-unique4.cc: Likewise.
22208
df78418a
UD
22209 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
22210
8ecd6b2a
JM
222112012-01-06 Joseph Myers <joseph@codesourcery.com>
22212
22213 [BZ #13566]
22214 * assert/assert.h (static_assert): Don't define for C++.
22215 * libio/stdio.h (gets): Do declare for C++ <= C++11.
22216 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
22217
9f115170
UD
222182012-01-03 Ulrich Drepper <drepper@gmail.com>
22219
5e0d0300
UD
22220 * iconv/loop.c (single loop): Fix assertion in storing of
22221 remaining bytes.
22222
9f115170
UD
22223 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
22224
81fb02b0
UD
222252012-01-01 Ulrich Drepper <drepper@gmail.com>
22226
22227 * posix/getconf.c: Update copyright year.
22228 * nss/getent.c: Likewise.
a316c1f6 22229 * nss/makedb.c: Likewise.
81fb02b0
UD
22230 * iconv/iconvconfig.c: Likewise.
22231 * iconv/iconv_prog.c: Likewise.
22232 * elf/ldconfig.c: Likewise.
a316c1f6
UD
22233 * elf/pldd.c: Likewise.
22234 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
22235 * catgets/gencat.c: Likewise.
22236 * csu/version.c: Likewise.
22237 * elf/ldd.bash.in: Likewise.
22238 * elf/sprof.c (print_version): Likewise.
22239 * locale/programs/locale.c: Likewise.
22240 * locale/programs/localedef.c: Likewise.
a316c1f6 22241 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
22242 * nscd/nscd.c (print_version): Likewise.
22243 * debug/xtrace.sh: Likewise.
22244 * malloc/memusage.sh: Likewise.
22245 * malloc/mtrace.pl: Likewise.
22246 * debug/catchsegv.sh: Likewise.
22247
2ba92745
JJ
222482011-12-30 Jakub Jelinek <jakub@redhat.com>
22249
22250 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
22251 pure attribute.
22252
dadebdae
UD
222532011-12-24 Ulrich Drepper <drepper@gmail.com>
22254
d3761ebc 22255 [BZ #13533]
db6af3eb
UD
22256 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
22257 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
22258 transformations.
22259 * iconv/gconv_int.h: Likewise.
22260 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
22261 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
22262 from libc for GLIBC_2.16.
22263 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
22264 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
22265 * wcsmbs/uchar.h: Really define mbstate_t.
22266 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
22267 * wcsmbs/c16rtomb.c: New file.
22268 * wcsmbs/mbrtoc16.c: New file.
22269 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
22270 for C/POSIX locale.
22271 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
22272 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
22273
dadebdae
UD
22274 * wcsmbs/wchar.h: Add missing __restrict.
22275
67371b56
UD
222762011-12-23 Ulrich Drepper <drepper@gmail.com>
22277
74033a25
UD
22278 [BZ #13532]
22279 * time/Makefile (routines): Add timespec_get.
22280 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
22281 * time/time.h: Define TIME_UTC and declare timespec_get. Define
22282 timespec for ISO C11.
22283 * time/timespec_get.c: New file.
22284 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
22285 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
22286
380d7e87
UD
22287 [BZ #13531]
22288 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
22289 * stdlib/stdlib.h: Declare aligned_alloc.
22290 * Versions.def: Add GLIBC_2.16 for libc.
22291 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
22292
4e9e7a35
UD
22293 [BZ 13527]
22294 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
22295 ISO C11.
22296
380d7e87 22297 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
22298 code.
22299
03a71829
UD
22300 [BZ #13528]
22301 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
22302
839e283e
UD
22303 [BZ #13529]
22304 * assert/assert.h (static_assert): Define.
22305
ce5294e2 22306 * version.h: Update for 2.16 development version.
90fa7312 22307
8d44e150 22308 [BZ #13526]
d7809905
UD
22309 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
22310 _ISOC11_SOURCE.
22311
c0da14cd
UD
22312 * version.h (RELEASE): Bump for 2.15 release.
22313 * include/features.h (__GLIBC_MINOR__): Bump to 15.
22314
530a3249
MP
22315 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
22316 Patch by Marek Polacek <mpolacek@redhat.com>.
22317
67371b56
UD
22318 * bits/byteswap.h: Protect long long constants with __extension__.
22319 * sysdeps/i386/bits/byteswap.h: Likewise.
22320 * sysdeps/ia64/bits/byteswap.h: Likewise.
22321 * sysdeps/s390/bits/byteswap.h: Likewise.
22322 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22323
15db4de1
LD
223242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22325
22326 [BZ #13540]
bbe315ea
LD
22327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
22328 destination buffer.
15db4de1
LD
22329 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22330
2b2596b1
MP
223312011-12-23 Marek Polacek <polacek@redhat.com>
22332
22333 * elf/dl-addr.c (determine_info): Add inline keyword.
22334 * elf/tst-auditmod4b.c (check_avx): Likewise.
22335 * elf/tst-auditmod6b.c (check_avx): Likewise.
22336 * elf/tst-auditmod6c.c (check_avx): Likewise.
22337 * elf/tst-auditmod7b.c (check_avx): Likewise.
22338
70c6c246
UD
223392011-12-23 Ulrich Drepper <drepper@gmail.com>
22340
22341 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
22342 !__SSE_MATH__.
22343
c044cf14
LD
223442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22345
15db4de1 22346 [BZ #13540]
c044cf14
LD
22347 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
22348 processing for last bytes.
22349
6b13d9d9
BH
223502011-08-06 Bruno Haible <bruno@clisp.org>
22351
d455f537
BH
22352 [BZ #13061]
22353 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
22354 U+0385, not to U+1FEE.
22355
6b13d9d9
BH
22356 [BZ #13062]
22357 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
22358 entry for U+00A5 U+0301.
22359
db910efd
UD
223602011-12-22 Ulrich Drepper <drepper@gmail.com>
22361
27deeafc
UD
22362 [BZ #13166]
22363 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
22364 buffer for the output is too small.
22365
aed9d171
UD
22366 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
22367 optimization.
22368
db910efd
UD
22369 [BZ #13185]
22370 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
22371 SSE flags if possible.
22372
2bd779ae
LD
223732011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22374
e7f9dac3 22375 [BZ #13540]
2bd779ae
LD
22376 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
22377 processing for last bytes.
22378
154bfc16
JM
223792011-12-22 Joseph Myers <joseph@codesourcery.com>
22380
22381 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
22382 (syscall-list-default-options, syscall-list-default-condition)
22383 (syscall-list-includes): Define.
22384 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
22385 list of ABIs and options and #if conditions for each ABI. Do not
22386 handle common syscalls between ABIs specially.
22387 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
22388 Remove.
22389 (syscall-list-variants, syscall-list-32bit-options)
22390 (syscall-list-32bit-condition, syscall-list-64bit-options)
22391 (syscall-list-64bit-condition): Define.
22392 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
22393 (syscall-list-variants, syscall-list-32bit-options)
22394 (syscall-list-32bit-condition, syscall-list-64bit-options)
22395 (syscall-list-64bit-condition): Define.
22396 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
22397 Remove.
22398 (syscall-list-variants, syscall-list-32bit-options)
22399 (syscall-list-32bit-condition, syscall-list-64bit-options)
22400 (syscall-list-64bit-condition): Define.
22401 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
22402 Remove.
22403 (syscall-list-variants, syscall-list-32bit-options)
22404 (syscall-list-32bit-condition, syscall-list-64bit-options)
22405 (syscall-list-64bit-condition): Define.
22406
21eaf3a5
UD
224072011-12-22 Ulrich Drepper <drepper@gmail.com>
22408
16c6f992
UD
22409 * locale/iso-639.def: Add brx entry.
22410
41043168
UD
22411 [BZ #13328]
22412 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
22413 Proposed by Mariusz_Cukr <marcukr@op.pl>.
22414
21eaf3a5
UD
22415 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
22416 __feraiseexcept_renamed.
22417
e3a851a2
UD
224182011-12-21 Ulrich Drepper <drepper@gmail.com>
22419
4920765e
UD
22420 [BZ #13538]
22421 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
22422 EPOLLET with unsigned values.
22423 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
22424 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
22425
e3a851a2
UD
22426 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
22427 to large cancellation.
22428 * math/s_cacoshf.c: Likewise.
22429 * math/s_cacoshl.c: Likewise.
22430
b27e24b8
RK
224312011-11-18 Richard B. Kreckel <kreckel@ginac.de>
22432
22433 [BZ #13305]
aebefeee 22434 [BZ #12786]
b27e24b8
RK
22435 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
22436 * math/s_cacoshf.c: Likewise.
22437 * math/s_cacoshl.c: Likewise.
22438
ee190f67
UD
224392011-12-21 Ulrich Drepper <drepper@gmail.com>
22440
22441 [BZ #13439]
22442 * iconv/gconv.h: Define __GCONV_SWAP.
22443 * iconvdata/unicode.c: The swap bit must be stored in __flags.
22444 * iconvdata/utf-16.c: Likewise.
22445 * iconvdata/utf-32.c: Likewise.
22446
707f25df
AS
224472011-12-21 Andreas Schwab <schwab@linux-m68k.org>
22448
22449 [BZ #13524]
22450 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
22451 numerator after shifting it by one limb.
22452
d2daaa1e
RÁE
224532011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
22454
22455 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
22456 under [__USE_EXTERN_INLINES].
22457
a4647e72
UD
224582011-12-17 Ulrich Drepper <drepper@gmail.com>
22459
22460 [BZ #13446]
22461 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
22462
f0b264f1
AZ
224632011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22464
22465 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
22466 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
22467 optimized code.
22468 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
22469 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
22470 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
22471 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
22472 for strncasecmp/strncasecmp_l compilation.
22473 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
22474 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
22475
8ef4f244
MP
224762011-12-08 Marek Polacek <mpolacek@redhat.com>
22477
22478 [BZ #13484]
22479 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
22480 of __asm__.
22481
97ac2654
UD
224822011-12-17 Ulrich Drepper <drepper@gmail.com>
22483
22484 [BZ #13506]
22485 * time/tzfile.c (__tzfile_read): Check values from file header.
22486
91d2a845
WS
224872011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
22488
22489 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
22490 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
22491 * powerpc/powerpc32/dl-start.S: Likewise.
22492 * powerpc/powerpc32/elf/start.S: Likewise.
22493 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22494 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
22495 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
22496 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
22497 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22498 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
22499 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
22500 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22501 * powerpc/powerpc32/fpu/s_round.S: Likewise.
22502 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22503 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22504 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22505 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22506 * powerpc/powerpc32/memset.S: Likewise.
22507 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22508 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22509 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22510 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22511 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22512 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22513 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22514 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22515 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
22516 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
22517 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
22518 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
22519 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
22520
a1267ba1
AZ
225212011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22522
22523 * math/libm-test.inc: Added more nearbyint tests.
22524 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
22525 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
22526 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
22527 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
22528
ad8ac1bd
RL
225292011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
22530
22531 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
22532 FD_CLOEXEC.
22533
1d3e4b61
UD
225342011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22535
22536 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
22537 Add wcscpy-ssse3 wcscpy-c.
22538 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
22539 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
22540 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
22541 * sysdeps/x86_64/wcschr.S: New file.
22542 * sysdeps/x86_64/wcsrchr.S: New file.
22543 * string/test-strcmp.c: Remove checking of wcscmp function for
22544 wrong alignments.
22545 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
22546 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
22547 wcsrchr-sse2 wcsrchr-c.
22548 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
22549 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
22550 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
22551 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
22552 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
22553 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
22554 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
22555 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
22556 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
22557 * wcsmbc/wcschr.c (WCSCHR): New macro.
22558
5b330a2d
UD
225592011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22560
22561 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
22562 * wcsmbs/test-wcsrchr.c: New file.
22563 * string/test-strrchr.c: Add wcsrchr support.
22564 (WIDE): New macro.
22565 * wcsmbs/test-wcscpy.c: New file.
22566 * string/test-strcpy.c: Add wcscpy support.
22567 (WIDE): New macro.
26428b7c 22568
f039c043
UD
225692011-12-10 Ulrich Drepper <drepper@gmail.com>
22570
22571 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
22572 the inner loop.
22573
850fb039
AS
225742011-12-06 Andreas Schwab <schwab@linux-m68k.org>
22575
22576 [BZ #13472]
22577 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
22578
4efbd5cb
UD
225792011-12-04 Ulrich Drepper <drepper@gmail.com>
22580
52ff5dd0 22581 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 22582 Minor optimizations.
52ff5dd0 22583
4efbd5cb
UD
22584 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
22585 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
22586 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
22587
8a426e12
UD
225882011-12-03 Ulrich Drepper <drepper@gmail.com>
22589
aff2453d
UD
22590 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
22591 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
22592 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
22593 for gcc to avoid warnings.
22594 * inet/Makefile (tests): Add tst-checks.
22595 * inet/tst-checks.c: New file.
22596
22597 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
22598 warning.
22599
22600 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
22601 __wmemcmp_sse2.
22602
22603 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
22604 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
22605
8a426e12
UD
22606 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
22607
9bea3473
UD
226082011-12-02 Ulrich Drepper <drepper@gmail.com>
22609
3a965496
UD
22610 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
22611 problem.
22612
9bea3473
UD
22613 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
22614
f101631b
UD
226152011-11-29 Joseph Myers <joseph@codesourcery.com>
22616
22617 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
22618 conditional on GCC version.
22619 (__arch_compare_and_exchange_val_8_acq)
22620 (__arch_compare_and_exchange_val_16_acq)
22621 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
22622 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
22623 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
22624
a98275aa
UD
226252011-12-02 Joseph Myers <joseph@codesourcery.com>
22626
22627 * sysdeps/sh/backtrace.c: New file.
22628
d4cc29a2
AS
226292011-12-02 Andreas Schwab <schwab@redhat.com>
22630
22631 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
22632 parenthesis.
22633
6257af2d
AS
226342011-12-01 Andreas Schwab <schwab@redhat.com>
22635
22636 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
22637 falling back to utime.
22638
b5f44c1a
AS
226392011-11-30 Andreas Schwab <schwab@redhat.com>
22640
22641 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
22642 expectations for float.
22643
f3a6cc0a
AS
226442011-11-29 Andreas Schwab <schwab@redhat.com>
22645
22646 * locale/weight.h (findidx): Add parameter len.
22647 * locale/weightwc.h (findidx): Likewise.
22648 * posix/fnmatch_loop.c (FCT): Adjust caller.
22649 * posix/regcomp.c (build_equiv_class): Likewise.
22650 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
22651 * posix/regexec.c (check_node_accept_bytes): Likewise.
22652 * string/strcoll_l.c (STRCOLL): Likewise.
22653 * string/strxfrm_l.c (STRXFRM): Likewise.
22654
9d65ea3a
UD
226552011-11-17 Ulrich Drepper <drepper@gmail.com>
22656
22657 * Makefile.in: Remove CVSOPT handling.
22658 * configure.in: Remove use of AC_REVISION.
22659 * iconvdata/Makefile (distribute): No need to filter out CVS.
22660 * scripts/list-sources.sh: Remove CVS, subversion and monotone
22661 handling.
22662
5583a086
AS
226632011-11-16 Andreas Schwab <schwab@redhat.com>
22664
22665 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
22666 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
22667 [USE_AS_STRNCASECMP_L]: Likewise.
22668 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
22669 NO_TLS_DIRECT_SEG_REFS.
22670 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
22671 Fix argument offsets for non-PIC.
22672 [USE_AS_STRNCASECMP_L]: Likewise.
22673 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
22674 NO_TLS_DIRECT_SEG_REFS.
22675
d62a8200
UD
226762011-11-15 Ulrich Drepper <drepper@gmail.com>
22677
9d65ea3a 22678 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
22679 O_CLOEXEC.
22680 * locale/loadlocale.c (_nl_load_locale): Likewise.
22681
09f93bd3
AS
226822011-11-15 Andreas Schwab <schwab@redhat.com>
22683
446514f9
AS
22684 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
22685 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
22686 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
22687 (SYSCALL_GETTIME): Set errno on error.
22688
09f93bd3
AS
22689 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
22690 count references to noai6ai_cached.
22691
312be3f9
UD
226922011-11-15 Ulrich Drepper <drepper@gmail.com>
22693
22694 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
22695
22696 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
22697 FD_CLOEXEC for /proc/self/maps.
22698
22699 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
22700 FD_CLOEXEC for /proc/meminfo.
22701
22702 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
22703 gai.conf.
22704
22705 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
22706 FD_CLOEXEC for given file.
22707
22708 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
22709
22710 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
22711 FD_CLOEXEC for /etc/hosts.
22712 (_gethtent): Likewise.
22713
22714 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
22715
22716 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
22717 cancellation and set FD_CLOEXEC for /etc/netgroup.
22718
22719 * nss/nss_files/files-key.c (search): Don't allow cancellation when
22720 reading /etc/publickey.
22721
22722 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
22723 allow cancellation when reading /etc/group.
22724
22725 * nss/nss_files/files-alias.c (internal_setent): Don't allow
22726 cancellation.
22727 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
22728
22729 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
22730 when using data file.
22731
22732 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
22733
22734 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
22735 (write_nis_obj): Use "c" and "e" in fopen.
22736
22737 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
22738
22739 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
22740
22741 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
22742
22743 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
22744
22745 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
22746 locale.alias.
22747
22748 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
22749
22750 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
22751
22752 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
22753
22754 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
22755 file parsing and set FD_CLOEXEC.
22756
82af0fa8
UD
227572011-11-14 Ulrich Drepper <drepper@gmail.com>
22758
22759 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
22760
a5fb313c
AS
227612011-11-14 Andreas Schwab <schwab@redhat.com>
22762
22763 * malloc/arena.c (arena_get2): Don't call reused_arena when
22764 _int_new_arena failed.
22765
6abf3465
UD
227662011-11-14 Ulrich Drepper <drepper@gmail.com>
22767
22768 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
22769 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
22770 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
22771 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22772 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22773 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
22774 to compile strcasecmp and strncasecmp.
22775 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
22776 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
22777
22778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
22779
76e3966e
UD
227802011-11-13 Ulrich Drepper <drepper@gmail.com>
22781
22782 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
22783 locale-defines.sym to gen-as-const-headers.
22784 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
22785 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
22786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
22787 to compile strcasecmp and strncasecmp.
22788 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
22789 strcasecmp_l and strncasecmp_l.
22790 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
22791 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
22792 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
22793 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
22794 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
22795 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
22796 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
22797 * sysdeps/i386/i686/multiarch/strncase.S: New file.
22798 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
22799 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
22800 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
22801
ab26144e
UD
228022011-11-12 Ulrich Drepper <drepper@gmail.com>
22803
7edb22ef
UD
22804 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
22805 result of SYSDEP_GETTIME_CPU to retval.
22806 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
22807 parameter list to macro. Remove trailing semicolon. Adjust users.
22808
9694fc44
UD
22809 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
22810 variable.
22811
8ad89ef8
UD
22812 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
22813 mantissa words.
22814 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
22815
0c822ef9
UD
22816 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
22817 from unused variable.
22818
874e0564
UD
22819 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
22820 DWARF definitions.
22821 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
22822 for assembling.
22823
3a2edc79
UD
22824 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
22825 over namespaces.
22826
f3c2577f
UD
22827 * sunrpc/rpc_prot.c (rejected): Fix case value.
22828
294ce126
UD
22829 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
22830 unsigned long long int to avoid warnings in shift.
22831
5e2b63c6
UD
22832 * posix/regex_internal.c (re_string_reconstruct): Actually use result
22833 of use of trans.
22834 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
22835 variable tmp.
22836
e7f4b08e
UD
22837 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
22838 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22839 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22840
ab26144e
UD
22841 * nis/nis_table.c (nis_list): Use variable of correct type for
22842 result of __follow_path call.
22843
8a6d5255
AZ
228442011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22845
22846 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
22847 of math functions ceil, trunc, floor, round, and sqrt, when
22848 avaliable on the platform.
22849 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
22850 name clash.
22851 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22852 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22853 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22854
aaddc98c
MP
228552011-10-30 Marek Polacek <mpolacek@redhat.com>
22856
22857 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
22858 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22859
95b7042b
RM
228602011-11-11 Roland McGrath <roland@hack.frob.com>
22861
22862 * include/unistd.h: Fix __readlink return type.
22863 Reported by Chris Metcalf <cmetcalf@tilera.com>.
22864
57769839
UD
228652011-11-11 Ulrich Drepper <drepper@gmail.com>
22866
22867 * stdlib/ucontext.h: Undo last change for makecontext.
22868
edc5984d
AS
228692011-11-11 Andreas Schwab <schwab@redhat.com>
22870
98591e58
AS
22871 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
22872
edc5984d
AS
22873 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
22874 * setjmp/setjmp.h: Mark functions as non-leaf.
22875 * setjmp/bits/setjmp2.h: Likewise.
22876 * stdlib/ucontext.h: Likewise.
22877
77cdc054
AS
228782011-11-10 Andreas Schwab <schwab@redhat.com>
22879
22880 * malloc/arena.c (_int_new_arena): Don't increment narenas.
22881 (reused_arena): Don't check arena limit.
22882 (arena_get2): Atomically check arena limit.
22883
fe72eebd
UD
228842011-11-08 Ulrich Drepper <drepper@gmail.com>
22885
5f078c32
UD
22886 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
22887 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
22888
fe72eebd
UD
22889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
22890 instructions.
22891
ae1bc2fa
AS
228922011-11-07 Andreas Schwab <schwab@redhat.com>
22893
7583a88d
AS
22894 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
22895 handler when locking.
22896
ae1bc2fa
AS
22897 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22898 Fix size of allocated buffer.
22899
10fb0bfa
AS
229002011-11-04 Andreas Schwab <schwab@redhat.com>
22901
998832a4
AS
22902 [BZ #10103]
22903 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
22904 declarations for long double functions.
22905 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
22906
10fb0bfa
AS
22907 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
22908
3d7ba52b
AS
229092011-11-03 Andreas Schwab <schwab@redhat.com>
22910
a9ae54a1
AS
22911 * nscd/nscd.c (main): Don't start AVC thread until credentials are
22912 installed.
22913
3d7ba52b
AS
22914 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
22915 is disabled.
22916
bc8db248
ST
229172011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
22918
22919 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
22920
45b96dd6
AS
229212011-11-01 Andreas Schwab <schwab@linux-m68k.org>
22922
647776f6
AS
22923 * include/alloca.h (stackinfo_alloca_round): Define.
22924 (extend_alloca): Use it.
22925 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
22926 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
22927 here.
22928
d91a8b93
AS
22929 * scripts/check-local-headers.sh: Ignore libaudit.h.
22930
45b96dd6
AS
22931 * nscd/Makefile (extra-objs): Make recursively expanded.
22932
432d41ce
UD
229332011-11-01 Ulrich Drepper <drepper@gmail.com>
22934
34372fc6
UD
22935 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
22936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22937
fadb59f8
UD
22938 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
22939 * posix/tst-rfc3484-2.c: Likewise.
22940 * posix/tst-rfc3484-3.c: Likewise.
22941
78239589
UD
22942 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
22943 process_vm_writev.
22944 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
22945 process_vm_writev.
22946 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
22947 process_vm_writev from libc using GLIBC_2.15 version.
22948
432d41ce
UD
22949 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
22950
02f9c6cf
PP
229512011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
22952
22953 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
22954 stack usage.
22955
3a2c0242
UD
229562011-10-31 Ulrich Drepper <drepper@gmail.com>
22957
f4ec4833
UD
22958 [BZ #13367]
22959 * nss/getent.c (initgroups_keys): Show error message in case no group
22960 names are given.
22961
3a2c0242
UD
22962 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
22963 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
22964 __bump_nl_timestamp.
22965 * nscd/connections (nscd_init): When host database is served open
22966 netlink socket and request notification about configuration changes.
22967 (main_loop_poll): Track netlink file descriptor and bump timestamp
22968 in case data becomes available.
22969 (main_loop_epoll): Likewise.
22970 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
22971 (database_pers_head): Add extra_data fileds.
22972 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
22973 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
22974 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
22975 Adjust caller.
22976 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
22977 in6ai data, call __free_in6ai.
22978 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
22979 Add -DHAVE_NETLINK.
22980 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
22981 interface information. Reuse previous data if netlink timestamp
22982 is not changed.
22983 (__bump_nl_timestamp): New function.
22984 (__free_in6ai): New function.
22985
636064eb
UD
229862011-10-30 Ulrich Drepper <drepper@gmail.com>
22987
22988 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
22989 close_not_cancel_no_status here.
22990 (__check_pf): Reorganize code a bit to not call close twice if OOM.
22991
9beb2334
UD
229922011-10-29 Ulrich Drepper <drepper@gmail.com>
22993
6ef76f3b
UD
22994 [BZ #13276]
22995 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
22996 return value.
22997
0ffc4f3e 22998 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
22999 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
23000 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
23001
cb95113e
UD
230022011-07-03 Andreas Jaeger <aj@suse.de>
23003
23004 [BZ #10709]
23005 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
23006 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
23007 * math/libm-test.inc (sin_test): Add test case.
23008
a1b560ff
UD
230092011-10-29 Ulrich Drepper <drepper@gmail.com>
23010
c9aaface
UD
23011 [BZ #13337]
23012 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
23013 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23014
d272e7f1
UD
23015 * elf/chroot_canon.c (chroot_canon): Cleanups.
23016
1bc33071
UD
23017 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
23018
1760874d
TJ
23019 [BZ #13335]
23020 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
23021 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
23022
51d91b18
UD
23023 * string/test-strchr.c: Make usable for strchrnul testing.
23024 * string/test-strchrnul.c: New file.
23025 * string/Makefile (strop-tests): Add strchrnul.
23026
a1b560ff 23027 * po/it.po: Update from translation team.
b611fb81 23028 * po/es.po: Likewise.
a1b560ff 23029
a5b81e1f
UD
230302011-10-28 Ulrich Drepper <drepper@gmail.com>
23031
fd52bc6d
UD
23032 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
23033 the three constants needed as parameters. Drop the others.
23034 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
23035 __m128i_strloadu_tolower.
52e4b9eb
UD
23036 Create and initialize variable zero and use it in all the places
23037 where _mm_setzero_si128 was used.
fd52bc6d 23038
a5b81e1f
UD
23039 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
23040 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
23041 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
23042 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
23043 anymore.
23044 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
23045 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
23046 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
23047 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
23048 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
23049 __mpranred, __mptan.
23050 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
23051 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
23052 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
23053 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
23054 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
23055 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
23056 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
23057 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
23058 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
23059
b4343346
AS
230602011-10-28 Andreas Schwab <schwab@redhat.com>
23061
0c92d8a8
AS
23062 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
23063 redefine if SHARED.
23064 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
23065
b4343346
AS
23066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
23067 wide char related routines to wcsmbs subdir.
23068
3871f58f
AS
230692011-10-27 Andreas Schwab <schwab@redhat.com>
23070
23071 [BZ #13344]
23072 * misc/sys/cdefs.h (__THROWNL): Define.
23073 * posix/unistd.h: Use __THREADNL instead of __THREAD
23074 for memory synchronization functions.
23075
94d44d9f
RM
230762011-10-26 Roland McGrath <roland@hack.frob.com>
23077
21b64b15 23078 [BZ #13349]
94d44d9f
RM
23079 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
23080 doesn't exist.
23081 * manual/stdio.texi (Obstack Streams): Node removed.
23082
f6ce9294
AS
230832011-10-26 Andreas Schwab <schwab@redhat.com>
23084
80479147
AS
23085 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
23086 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23087 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23088
f6ce9294
AS
23089 * math/math_private.h (math_force_eval): Allow non-addressable
23090 arguments.
23091 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
23092
618280a1
UD
230932011-10-25 Ulrich Drepper <drepper@gmail.com>
23094
e0016b11
UD
23095 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
23096 file is not needed.
23097
23098 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
23099 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23101 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23102 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23103 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23105 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
23106 Add AVX variants.
23107 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
23108 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
23109 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
23110 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
23111 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
23112 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
23113 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
23114 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
23115 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
23116 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
23117 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
23118 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
23119 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
23120 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
23121 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
23122 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
23123 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
23124 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
23125 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
23126
23127 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
23128 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
23129
618280a1
UD
23130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
23131 place. Use VEX encoding when compiling for AVX.
23132
37822576
AS
231332011-10-25 Andreas Schwab <schwab@redhat.com>
23134
1f1e1947
AS
23135 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
23136 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23137
37822576
AS
23138 * string/test-strchr.c (do_test): Don't generate NUL bytes.
23139
31ea014d
UD
231402011-10-25 Ulrich Drepper <drepper@gmail.com>
23141
d7826aa1 23142 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 23143 useless if() expression.
d7826aa1
UD
23144 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23153 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23154 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23155 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23156 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23157 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23158 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23159 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23160 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
23161 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
23162 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
23163
31ea014d
UD
23164 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
23165
16437fec
AS
231662011-10-25 Andreas Schwab <schwab@redhat.com>
23167
23168 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
23169 condition.
23170 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23171
31d3cc00
UD
231722011-10-25 Ulrich Drepper <drepper@gmail.com>
23173
23174 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
23175 .text section. Avoid duplicate constants.
23176 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23178 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23180 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23182 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23183 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23184 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23185 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
23186 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23187 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23188 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23189 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23190 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23191 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23192 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23193 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23199 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
23200 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
23201 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
23202 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
23203 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
23204 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
23205 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
23206 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
23207 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
23208 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23209 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
23210 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
23211 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
23212 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
23213 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
23214 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
23215 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
23216 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
23217 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
23218 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
23219 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
23220 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
23221
58985aa9
UD
232222011-10-24 Ulrich Drepper <drepper@gmail.com>
23223
202c9deb
UD
23224 * sysdeps/x86_64/dla.h: Move to ...
23225 * sysdeps/x86_64/fpu/dla.h: ...here.
23226 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
23227 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 23228
af968f62
UD
23229 * config.make.in: Add have-mfma4 entry.
23230 * configure.in: Substitute libc_cv_cc_fma4.
23231 * math/Makefile (dbl-only-routines): Add sincostab.
23232 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
23233 Use __sincostab not sincos.
23234 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
23235 name is a macro.
23236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
23240 using __copysign.
23241 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
23242 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
23243 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
23244 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
23245 and __inv.
23246 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
23247 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
23248 __copysign.
23249 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
23250 define aliases when function name is a macro.
23251 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
23252 sysdeps/ieee754/dbl-64/sincos.tbl.
23253 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
23254 fma4-enabled routines.
23255 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
23256 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
23257 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
23258 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
23259 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
23260 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
23261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
23262 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
23263 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
23264 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
23265 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
23266 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
23267 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
23268 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
23269 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
23270 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
23271 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
23272 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
23273 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
23274 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
23275 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
23276 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
23277 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
23278 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
23279 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
23280 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
23281 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
23282 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
23283 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
23284 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
23285
58985aa9
UD
23286 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
23287 rename.
23288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23293 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23294 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23296
a201fbcf
AS
232972011-10-24 Andreas Schwab <schwab@redhat.com>
23298
23299 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
23300
fc2ee42a
LD
233012011-10-23 Ulrich Drepper <drepper@gmail.com>
23302
bb3129bd
UD
23303 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
23304
0275fff8
UD
23305 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
23306 prediction.
23307 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
23308
2fa2ae85
UD
23309 * string/strnlen.c: Don't define STRNLEN, reverse logic.
23310 Remove unused variable magic_bits.
23311 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
23312
fc2ee42a
LD
23313 * string/strnlen.c: Define and use STRNLEN macro.
23314 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
23315 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
23316 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
23317 * wcsmbs/wcslen.c: Define and use WCSLEN.
23318 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
23319 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
23320 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
23321 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
23322 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
23323 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
23324 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23325
ce7dd29f
LD
233262011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23327
23328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23329 strnlen-sse2-no-bsf.
23330 Rename strlen-no-bsf to strlen-sse2-no-bsf.
23331 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
23332 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
23333 Add strnlen support.
23334 (USE_AS_STRNLEN): New macro.
23335 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
23336 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
23337 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
23338 * sysdeps/x86_64/wcslen.S: New file.
23339
979c70a3
MZ
233402011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
23341
23342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23343 XMM-moves are used for copying on small sizes.
23344
2d09f82f
LD
233452011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23346
23347 * wcsmbs/Makefile (strop-tests): Add wcschr.
23348 * wcsmbs/test-wcschr.c: New file.
23349 * string/test-strchr.c: Update.
23350 Add wcschr support.
23351 (WIDE): New macro.
23352
619fccca
LD
233532011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23354
2d09f82f 23355 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
23356 * wcsmbs/test-wcslen.c: New file.
23357 * string/test-strlen.c: Update.
23358 Add wcslen support.
23359 (WIDE): New macro.
23360
09f699ea
UD
233612011-10-23 Ulrich Drepper <drepper@gmail.com>
23362
23363 * po/it.po: Update from translation team.
23364
95584d3b
LD
233652011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23366
23367 * sysdeps/x86_64/wcscmp.S: Update.
23368 Fix wrong comparison semantics.
23369 wcscmp shall use signed comparison not unsigned.
23370 Don't use substraction to avoid overflow bug.
23371 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
23372 * wcsmbc/wcscmp.c: Likewise.
23373 * string/test-strcmp.c: Likewise.
23374 Add new tests to check cases with negative values.
23375
c8b3296b
UD
233762011-10-23 Ulrich Drepper <drepper@gmail.com>
23377
23378 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
23379 * sysdeps/x86_64/dla.h: ...here. New file.
23380 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
23381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23387 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23388 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23389
246ad57a
AS
233902011-10-23 Andreas Schwab <schwab@linux-m68k.org>
23391
23392 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
23393 __ynl_finite aliases.
23394
a1a87169
UD
233952011-10-22 Ulrich Drepper <drepper@gmail.com>
23396
0d355eb7
UD
23397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23398
a1a87169
UD
23399 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
23400 define DLA_FMA.
23401 [DLA_FMA] (EMULV): Use DLA_FMA.
23402 [DLA_FMA] (MUL12): Use EMULV.
23403 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
23404 that are not needed.
23405 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23406 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23407 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23408 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23409 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23410 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23411 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23412
ee2aafe0
AS
234132011-10-22 Andreas Schwab <schwab@linux-m68k.org>
23414
23415 * math/s_nan.c: Undef __nan.
23416 * math/s_nanf.c: Undef __nanf.
23417 * math/s_nanl.c: Undef __nanl.
23418 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
23419 "math_private.h".
23420
bc62c2fb
UD
234212011-10-22 Ulrich Drepper <drepper@gmail.com>
23422
77425c63
UD
23423 * math/s_catan.c: Add branch predictions.
23424 * math/s_catanf.c: Likewise.
23425 * math/s_catanh.c: Likewise.
23426 * math/s_catanhf.c: Likewise.
23427 * math/s_catanhl.c: Likewise.
23428 * math/s_catanl.c: Likewise.
23429 * math/s_cexp.c: Likewise.
23430 * math/s_cexpf.c: Likewise.
23431 * math/s_cexpl.c: Likewise.
23432 * math/s_clog.c: Likewise.
23433 * math/s_clog10.c: Likewise.
23434 * math/s_clog10f.c: Likewise.
23435 * math/s_clog10l.c: Likewise.
23436 * math/s_clogf.c: Likewise.
23437 * math/s_clogl.c: Likewise.
23438 * math/s_csqrt.c: Likewise.
23439 * math/s_csqrtf.c: Likewise.
23440 * math/s_csqrtl.c: Likewise.
23441 * math/s_ctanf.c: Likewise.
23442 * math/s_ctanh.c: Likewise.
23443 * math/s_ctanhf.c: Likewise.
23444 * math/s_ctanhl.c: Likewise.
23445 * math/s_ctanl.c: Likewise.
23446
bc62c2fb
UD
23447 * math/math_private.h: Define __nan, __nanf, __nanl.
23448 * math/s_cacosh.c: Include <math_private.h>.
23449 * math/s_cacoshl.c: Likewise.
23450 * math/s_casinh.c: Likewise.
23451 * math/s_casinhf.c: Likewise.
23452 * math/s_casinhl.c: Likewise.
23453 * math/s_ccos.c: Rely entire on ccosh.
23454 * math/s_ccosf.c: Rely entire on ccoshf.
23455 * math/s_ccosl.c: Rely entirely on ccoshl.
23456 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
23457 Remove tests for FE_INVALID.
23458 * math/s_ccoshf.c: Likewise.
23459 * math/s_ccoshl.c: Likewise.
23460 * math/s_csin.c: Likewise.
23461 * math/s_csinf.c: Likewise.
23462 * math/s_csinh.c Likewise.
23463 * math/s_csinhf.c: Likewise.
23464 * math/s_csinhl.c: Likewise.
23465 * math/s_csinl.c: Likewise.
23466 * math/s_ctan.c: Likewise.
23467 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
23468 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
23469 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
23470
8ec250a4
UD
234712011-10-21 Ulrich Drepper <drepper@gmail.com>
23472
c196fed8
UD
23473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
23474 compilation problems.
23475
8ec250a4
UD
23476 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
23477 __builtin_expect.
23478
8d4f46c6
UD
234792011-10-20 Ulrich Drepper <drepper@gmail.com>
23480
ed72b654
UD
23481 * sysdeps/i386/configure.in: Test for -mfma4 option.
23482 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
23483 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
23484 COMMON_CPUID_INDEX_80000001.
23485 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
23486 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
23487 use it if FMA3 is not supported.
23488 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23489
8d4f46c6
UD
23490 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
23491 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
23492
d45c60c2
AS
234932011-10-20 Andreas Schwab <schwab@redhat.com>
23494
23495 [BZ #12892]
23496 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
23497 it would create a cycle with a link time dependency.
23498
d9a4d2ab
UD
234992011-10-19 Ulrich Drepper <drepper@gmail.com>
23500
855d1560
UD
23501 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
23502 instruction.
23503 * string/Makefile (strop-tests): Add rawmemchr.
23504 * string/test-rawmemchr.c: New file.
23505
d9a4d2ab
UD
23506 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
23507 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
23508 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
23509 when compiling str{,n}casecmp and when AVX is available. Hook up
23510 new optimized code in initializers.
23511
8f3b1ffe
AS
235122011-10-19 Andreas Schwab <schwab@redhat.com>
23513
23514 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
23515 __feraiseexcept instead of feraiseexcept.
23516
d38f1dba
UD
235172011-10-18 Ulrich Drepper <drepper@gmail.com>
23518
d9a8d0ab
UD
23519 * math/math_private.h: Define defaults for libc_fetestexcept and
23520 libc_feupdateenv.
23521 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
23522 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
23523 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23524 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23525 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23526 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23527 libc_fetestexcept and libc_feupdateenv.
23528
4855e3dd
UD
23529 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
23530 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
23531 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
23532 * sysdeps/x86_64/fpu/math_private.h: Define special version of
23533 libc_feholdexcept_setround.
23534
581d30e3
UD
23535 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
23536 Add s_nearbyint-c and s_nearbyintf-c.
23537 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
23538 nearbyintf inlines.
23539 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
23540 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
23541 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
23542 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
23543
d38f1dba
UD
23544 * math/math_private.h: Define defaults for libc_fegetround,
23545 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
23546 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
23547 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
23548 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
23549 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
23550 standard functions.
23551 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23552 Remove comments and hacks for old compiler versions.
23553 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
23554 libc_fegetround, libc_fesetround, libc_feholdexcept, and
23555 libc_feholdexceptl.
23556
caa6c9d8
AS
235572011-10-18 Andreas Schwab <schwab@redhat.com>
23558
23559 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
23560 (__feraiseexcept_renamed): Add __NTH.
23561 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
23562 namespace violations.
23563
97c066e6
UD
235642011-10-17 Ulrich Drepper <drepper@gmail.com>
23565
99ce7b04
UD
23566 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
23567
1004d182
UD
23568 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
23569
228a984d
UD
23570 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
23571 recently added interfaces.
23572 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
23573
c8553a6a
UD
23574 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
23575 about macro parameter expansion.
23576
ed22dcf6
UD
23577 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
23578 __NO_MATH_INLINES is defined. Cleanups.
23579
23580 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
23581 and __floorf is target has SSE4.1.
23582 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
23583 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
23584 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
23585 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
23586
b171c137
UD
23587 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
23588 name.
23589 (floorf): Likewise.
23590
97c066e6
UD
23591 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
23592
629f62ef
AS
235932011-10-17 Andreas Schwab <schwab@redhat.com>
23594
49a43d80
AS
23595 * misc/sys/cdefs.h: Fix last change.
23596
629f62ef
AS
23597 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
23598 database lookup.
23599
e453f6cd
UD
236002011-10-16 Ulrich Drepper <drepper@gmail.com>
23601
aa78043a
UD
23602 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
23603
ad0f5cad
UD
23604 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
23605 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23606 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23607 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23608 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23609 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23610 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23611 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23612 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23613 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
23614 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
23615 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
23616 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
23617 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
23618 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
23619 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
23620 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
23621 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
23622 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
23623 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
23624 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
23625 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
23626
23627 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
23628 ceil, ceilf, floor, floorf.
23629
23630 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
23631 Perform IRELATIVE relocations last.
23632
e453f6cd
UD
23633 * elf/do-rel.h: Add another parameter nrelative, replacing the
23634 local variable with the same name. Change name of the function
23635 to end in Rel or Rela (uppercase).
23636 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
23637 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
23638 elf_dynamic_do_##reloc function.
23639
fd5bdc09
UD
236402011-10-15 Ulrich Drepper <drepper@gmail.com>
23641
79b195b5
UD
23642 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
23643 is sufficient, at least on modern CPUs.
23644
d4a28569
UD
23645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
23646
b61099b5
UD
23647 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
23648 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
23649
bcf01e6d
UD
23650 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
23651 __expl_finite.
23652 * math/bits/math-finite.h: Add entries for exp.
23653 * math/e_expl.c: Add __*_finite alias.
23654 * sysdeps/i386/fpu/e_exp.S: Likewise.
23655 * sysdeps/i386/fpu/e_expf.S: Likewise.
23656 * sysdeps/i386/fpu/e_expl.c: Likewise.
23657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23658 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23661 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
23662 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23663 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23664
ba1a0d59
UD
23665 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
23666 is sufficient, at least on modern CPUs.
23667
fd5bdc09
UD
23668 * ctype/ctype-info.c (__ctype_init): Define.
23669 * include/ctype.h (__ctype_init): Declare.
23670 (__ctype_b_loc): The variable is always initialized.
23671 (__ctype_toupper_loc): Likewise.
23672 (__ctype_tolower_loc): Likewise.
23673 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
23674 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
23675
7872cfb0
AS
236762011-10-15 Andreas Schwab <schwab@linux-m68k.org>
23677
b468825a
AS
23678 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
23679
7872cfb0
AS
23680 * configure.in: Also look in $cxxmachine/include for C++ system
23681 headers.
23682
be13f7bf
LD
236832011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23684
23685 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
23686 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
23687 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
23688 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
23689 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
23690 (USE_AS_WMEMCMP): New macro.
23691 Fixing indents.
23692 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
23693 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
23694 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
23695 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
23696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23697 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
23698 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
23699 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
23700 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
23701 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
23702 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
23703 (USE_AS_WMEMCMP): New macro.
23704 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
23705 * sysdeps/string/test-memcmp.c: Update.
23706 Fix simple_wmemcmp.
23707 Add new tests.
23708 * wcsmbs/wmemcmp.c: Update.
23709 (WMEMCMP): New macro.
23710 Fix overflow bug.
23711
556a2007
AJ
237122011-10-12 Andreas Jaeger <aj@suse.de>
23713
23714 [BZ #13268]
23715 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
23716
538faaa7
UD
237172011-10-15 Ulrich Drepper <drepper@gmail.com>
23718
ab6737ff
UD
23719 * libio/iofwide.c (do_length): Avoid warning.
23720
538faaa7
UD
23721 * ctype/ctype.h (__isctype_f): Add missing __THROW.
23722
396a21b1
UD
237232011-10-14 Ulrich Drepper <drepper@gmail.com>
23724
cdf2901f
UD
23725 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
23726
38ad40ce
UD
23727 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
23728 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
23729 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
23730 * sysdeps/i386/i686/fpu/e_log.S: New file.
23731 * sysdeps/i386/i686/fpu/e_logf.S: New file.
23732 * sysdeps/i386/i686/fpu/e_logl.S: New file.
23733
396a21b1
UD
23734 * ctype/ctype.h: Add support for inlined isXXX functions when
23735 compiling C++ code.
23736
6b1f68c9
AS
237372011-10-14 Andreas Schwab <schwab@redhat.com>
23738
349290c0
AS
23739 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23740
6b1f68c9
AS
23741 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
23742
f2282d42
RM
237432011-10-13 Roland McGrath <roland@hack.frob.com>
23744
23745 [BZ #13291]
23746 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
23747
5298ffa8
AS
237482011-10-13 Andreas Schwab <schwab@redhat.com>
23749
714fad23
AS
23750 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
23751 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
23752 feraiseexcept.
23753
81dcc7fb
AS
23754 * sysdeps/x86_64/memrchr.S: Check for zero size.
23755
5298ffa8
AS
23756 * string/stratcliff.c: Add memrchr tests.
23757
951fbcec
LD
237582011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23759
23760 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23761 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
23762 rawmemchr-sse2 rawmemchr-sse2-bsf.
23763 * sysdeps/i386/i686/multiarch/memchr.S: New file.
23764 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
23765 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
23766 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
23767 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
23768 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
23769 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
23770 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
23771 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
23772 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
23773 * string/memrchr.c (MEMRCHR): New macro.
23774
0ac5ae23
UD
237752011-10-12 Ulrich Drepper <drepper@gmail.com>
23776
23777 Add integration with gcc's -ffinite-math-only and optimize wrapper
23778 functions in libm.
23779 * Versions.def: Define GLIBC_2.15 version for libm.
23780 * math/Makefile (headers): Add bits/math-finite.h.
23781 * math/bits/math-finite.h: New file.
23782 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
23783 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
23784 * math/e_acoshl.c: Add __*_finite alias.
23785 * math/e_acosl.c: Likewise.
23786 * math/e_asinl.c: Likewise.
23787 * math/e_atan2l.c: Likewise.
23788 * math/e_atanhl.c: Likewise.
23789 * math/e_coshl.c: Likewise.
23790 * math/e_exp10.c: Likewise.
23791 * math/e_exp10f.c: Likewise.
23792 * math/e_exp10l.c: Likewise.
23793 * math/e_exp2l.c: Likewise.
23794 * math/e_fmodl.c: Likewise.
23795 * math/e_gammal_r.c: Likewise.
23796 * math/e_hypotl.c: Likewise.
23797 * math/e_j0l.c: Likewise.
23798 * math/e_j1l.c: Likewise.
23799 * math/e_jnl.c: Likewise.
23800 * math/e_lgammal_r.c: Likewise.
23801 * math/e_log10l.c: Likewise.
23802 * math/e_log2l.c: Likewise.
23803 * math/e_logl.c: Likewise.
23804 * math/e_powl.c: Likewise.
23805 * math/e_sinhl.c: Likewise.
23806 * math/e_sqrtl.c: Likewise.
23807 * math/e_scalb.c: Completely rewritten and optimized.
23808 * math/e_scalbf.c: Likewise.
23809 * math/e_scalbl.c: Likewise.
23810 * math/w_acos.c: Likewise.
23811 * math/w_acosf.c: Likewise.
23812 * math/w_acosl.c: Likewise.
23813 * math/w_acosh.c: Likewise.
23814 * math/w_acoshf.c: Likewise.
23815 * math/w_acoshl.c: Likewise.
23816 * math/w_asin.c: Likewise.
23817 * math/w_asinf.c: Likewise.
23818 * math/w_asinl.c: Likewise.
23819 * math/w_atan2.c: Likewise.
23820 * math/w_atan2f.c: Likewise.
23821 * math/w_atan2l.c: Likewise.
23822 * math/w_atanh.c: Likewise.
23823 * math/w_atanhf.c: Likewise.
23824 * math/w_atanhl.c: Likewise.
23825 * math/w_exp10.c: Likewise.
23826 * math/w_exp10f.c: Likewise.
23827 * math/w_exp10l.c: Likewise.
23828 * math/w_fmod.c: Likewise.
23829 * math/w_fmodf.c: Likewise.
23830 * math/w_fmodl.c: Likewise.
23831 * math/w_j0.c: Likewise.
23832 * math/w_j0f.c: Likewise.
23833 * math/w_j0l.c: Likewise.
23834 * math/w_j1.c: Likewise.
23835 * math/w_j1f.c: Likewise.
23836 * math/w_j1l.c: Likewise.
23837 * math/w_jn.c: Likewise.
23838 * math/w_jnf.c: Likewise.
23839 * math/w_log.c: Likewise.
23840 * math/w_logf.c: Likewise.
23841 * math/w_logl.c: Likewise.
23842 * math/w_log10.c: Likewise.
23843 * math/w_log10f.c: Likewise.
23844 * math/w_log10l.c: Likewise.
23845 * math/w_log2.c: Likewise.
23846 * math/w_log2f.c: Likewise.
23847 * math/w_log2l.c: Likewise.
23848 * math/w_pow.c: Likewise.
23849 * math/w_powf.c: Likewise.
23850 * math/w_powl.c: Likewise.
23851 * math/w_remainder.c: Likewise.
23852 * math/w_remainderf.c: Likewise.
23853 * math/w_remainderl.c: Likewise.
23854 * math/w_scalb.c: Likewise.
23855 * math/w_scalbf.c: Likewise.
23856 * math/w_scalbl.c: Likewise.
23857 * math/w_sqrt.c: Likewise.
23858 * math/w_sqrtf.c: Likewise.
23859 * math/w_sqrtl.c: Likewise.
23860 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
23861 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
23862 used.
23863 * math/math_private.h: Declare __kernel_standard_f.
23864 * math/w_cosh.c: Remove cruft and optimize a bit.
23865 * math/w_coshf.c: Likewise.
23866 * math/w_coshl.c: Likewise.
23867 * math/w_exp2.c: Likewise.
23868 * math/w_exp2f.c: Likewise.
23869 * math/w_exp2l.c: Likewise.
23870 * math/w_hypot.c: Likewise.
23871 * math/w_hypotf.c: Likewise.
23872 * math/w_hypotl.c: Likewise.
23873 * math/w_lgamma.c: Likewise.
23874 * math/w_lgamma_r.c: Likewise.
23875 * math/w_lgammaf.c: Likewise.
23876 * math/w_lgammaf_r.c: Likewise.
23877 * math/w_lgammal.c: Likewise.
23878 * math/w_lgammal_r.c: Likewise.
23879 * math/w_sinh.c: Likewise.
23880 * math/w_sinhf.c: Likewise.
23881 * math/w_sinhl.c: Likewise.
23882 * math/w_tgamma.c: Likewise.
23883 * math/w_tgammaf.c: Likewise.
23884 * math/w_tgammal.c: Likewise.
23885 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23886 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23887 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
23888 Minor optimizations. Pretty printing. Remove cruft.
23889 * sysdeps/i386/fpu/e_acosf.S: Likewise.
23890 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23891 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23892 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23893 * sysdeps/i386/fpu/e_acosl.c: Likewise.
23894 * sysdeps/i386/fpu/e_asin.S: Likewise.
23895 * sysdeps/i386/fpu/e_asinf.S: Likewise.
23896 * sysdeps/i386/fpu/e_atan2.S: Likewise.
23897 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
23898 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
23899 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23900 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23901 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23902 * sysdeps/i386/fpu/e_exp10.S: Likewise.
23903 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
23904 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
23905 * sysdeps/i386/fpu/e_exp2.S: Likewise.
23906 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
23907 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
23908 * sysdeps/i386/fpu/e_fmod.S: Likewise.
23909 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
23910 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
23911 * sysdeps/i386/fpu/e_hypot.S: Likewise.
23912 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
23913 * sysdeps/i386/fpu/e_log.S: Likewise.
23914 * sysdeps/i386/fpu/e_log10.S: Likewise.
23915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23916 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23917 * sysdeps/i386/fpu/e_log2.S: Likewise.
23918 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23919 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23920 * sysdeps/i386/fpu/e_logf.S: Likewise.
23921 * sysdeps/i386/fpu/e_logl.S: Likewise.
23922 * sysdeps/i386/fpu/e_pow.S: Likewise.
23923 * sysdeps/i386/fpu/e_powf.S: Likewise.
23924 * sysdeps/i386/fpu/e_powl.S: Likewise.
23925 * sysdeps/i386/fpu/e_remainder.S: Likewise.
23926 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
23927 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
23928 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23929 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23930 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23931 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
23932 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
23933 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
23934 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23935 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23936 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23937 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23938 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23939 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23940 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23941 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23942 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23943 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23944 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23945 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23947 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23948 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23950 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23951 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23952 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23953 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23954 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23955 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23956 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23957 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23958 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23959 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23960 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
23961 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23962 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
23963 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23964 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23965 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23966 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23967 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23968 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23969 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23970 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23971 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23972 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23973 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23974 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23975 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23976 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23977 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23978 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23979 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23980 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23981 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23982 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23983 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
23984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23993 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
23994 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24011 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24013 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24014 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24015 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24016 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
24017 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24018 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24019 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24020 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24021 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24022 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24023 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24024 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24025 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24026 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24027 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24028 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24029 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
24030 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
24031 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
24032 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
24033 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
24034 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
24035 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
24036 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
24037 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
24038 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24039 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24040 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24041 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24042 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
24043 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24044 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
24045 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
24046 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
24047 (__isnanf): Likewise.
24048 (__isinf_ns): Likewise.
24049 (__isinf_nsf): Likewise.
24050 (__finite): Likewise.
24051 (__finitef): Likewise.
24052 (__ieee754_sqrt): Define as macro.
24053 (__ieee754_sqrtf): Define as macro.
24054 (__ieee754_sqrtl): Define as macro.
24055 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
24056 inlined copy.
24057 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
24058 __FINITE_MATH_ONLY__ consistent.
24059 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
24060
12cc2fcd
AS
240612011-10-10 Andreas Schwab <schwab@linux-m68k.org>
24062
a843a204
AS
24063 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
24064 of rawmemchr.
24065
12cc2fcd
AS
24066 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
24067
c853acd5
UD
240682011-10-09 Ulrich Drepper <drepper@gmail.com>
24069
24070 * po/ja.po: Update from translation team.
24071
c658d255
RM
240722011-10-08 Roland McGrath <roland@hack.frob.com>
24073
110946e4
RM
24074 * locale/programs/locarchive.c (prepare_address_space): New function.
24075 (create_archive, enlarge_archive, open_archive): Use it.
24076
50604220
RM
24077 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
24078 inside [SHARED], where it is used.
24079
c658d255
RM
24080 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
24081
24082 * nss/getent.c (netgroup_keys): Remove unused variable.
24083 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24084
6a621eb7
UD
240852011-10-08 Ulrich Drepper <drepper@gmail.com>
24086
7edb55ce
UD
24087 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
24088 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
24089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
24090 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
24091 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
24092 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
24093 * math/Makefile (libm-calls): Add s_isinf_ns.
24094 * math/divtc3.c: Use __isinf_nsl instead of isinf.
24095 * math/multc3.c: Likewise.
24096 * math/s_casin.c: Likewise.
24097 * math/s_casinf.c: Likewise.
24098 * math/s_casinl.c: Likewise.
24099 * math/s_ccos.c: Likewise.
24100 * math/s_ccosf.c: Likewise.
24101 * math/s_ccosl.c: Likewise.
24102 * math/s_ctan.c: Likewise.
24103 * math/s_ctanf.c: Likewise.
24104 * math/s_ctanh.c: Likewise.
24105 * math/s_ctanhf.c: Likewise.
24106 * math/s_ctanhl.c: Likewise.
24107 * math/s_ctanl.c: Likewise.
24108 * math/w_fmod.c: Likewise.
24109 * math/w_fmodf.c: Likewise.
24110 * math/w_fmodl.c: Likewise.
24111 * math/w_remainder.c: Likewise.
24112 * math/w_remainderf.c: Likewise.
24113 * math/w_remainderl.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
24115 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
24116 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
24117 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
24118 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
24119 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
24120 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
24121 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
24122
187da0ae
UD
24123 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
24124 of the number.
24125 * stdio-common/printf_fphex.c: Likewise.
24126 * stdio-common/printf_size.c: Likewise.
24127
9277c064
UD
24128 * math/e_exp10.c: Include math_private.h using <...> not "...".
24129 * math/e_exp10f.c: Likewise.
24130 * math/e_exp10l.c: Likewise.
24131 * math/e_exp2l.c: Likewise.
24132 * math/e_j0l.c: Likewise.
24133 * math/e_j1l.c: Likewise.
24134 * math/e_jnl.c: Likewise.
24135 * math/e_lgammal_r.c: Likewise.
24136 * math/e_rem_pio2l.c: Likewise.
24137 * math/e_scalb.c: Likewise.
24138 * math/e_scalbf.c: Likewise.
24139 * math/e_scalbl.c: Likewise.
24140 * math/k_cosl.c: Likewise.
24141 * math/k_sinl.c: Likewise.
24142 * math/k_tanl.c: Likewise.
24143 * math/s_cacoshf.c: Likewise.
24144 * math/s_catan.c: Likewise.
24145 * math/s_catanf.c: Likewise.
24146 * math/s_catanh.c: Likewise.
24147 * math/s_catanhf.c: Likewise.
24148 * math/s_catanhl.c: Likewise.
24149 * math/s_catanl.c: Likewise.
24150 * math/s_ccosh.c: Likewise.
24151 * math/s_ccoshf.c: Likewise.
24152 * math/s_ccoshl.c: Likewise.
24153 * math/s_cexp.c: Likewise.
24154 * math/s_cexpf.c: Likewise.
24155 * math/s_cexpl.c: Likewise.
24156 * math/s_clog.c: Likewise.
24157 * math/s_clog10.c: Likewise.
24158 * math/s_clog10f.c: Likewise.
24159 * math/s_clog10l.c: Likewise.
24160 * math/s_clogf.c: Likewise.
24161 * math/s_clogl.c: Likewise.
24162 * math/s_csin.c: Likewise.
24163 * math/s_csinf.c: Likewise.
24164 * math/s_csinh.c: Likewise.
24165 * math/s_csinhf.c: Likewise.
24166 * math/s_csinhl.c: Likewise.
24167 * math/s_csinl.c: Likewise.
24168 * math/s_csqrt.c: Likewise.
24169 * math/s_csqrtf.c: Likewise.
24170 * math/s_csqrtl.c: Likewise.
24171 * math/s_ctan.c: Likewise.
24172 * math/s_ctanf.c: Likewise.
24173 * math/s_ctanh.c: Likewise.
24174 * math/s_ctanhf.c: Likewise.
24175 * math/s_ctanhl.c: Likewise.
24176 * math/s_ctanl.c: Likewise.
24177 * math/s_ldexp.c: Likewise.
24178 * math/s_ldexpf.c: Likewise.
24179 * math/s_ldexpl.c: Likewise.
24180 * math/s_significand.c: Likewise.
24181 * math/s_significandf.c: Likewise.
24182 * math/s_significandl.c: Likewise.
24183 * math/w_acos.c: Likewise.
24184 * math/w_acosf.c: Likewise.
24185 * math/w_acosh.c: Likewise.
24186 * math/w_acoshf.c: Likewise.
24187 * math/w_acoshl.c: Likewise.
24188 * math/w_acosl.c: Likewise.
24189 * math/w_asin.c: Likewise.
24190 * math/w_asinf.c: Likewise.
24191 * math/w_asinl.c: Likewise.
24192 * math/w_atan2.c: Likewise.
24193 * math/w_atan2f.c: Likewise.
24194 * math/w_atan2l.c: Likewise.
24195 * math/w_atanh.c: Likewise.
24196 * math/w_atanhf.c: Likewise.
24197 * math/w_atanhl.c: Likewise.
24198 * math/w_cosh.c: Likewise.
24199 * math/w_coshf.c: Likewise.
24200 * math/w_coshl.c: Likewise.
24201 * math/w_dremf.c: Likewise.
24202 * math/w_exp10.c: Likewise.
24203 * math/w_exp10f.c: Likewise.
24204 * math/w_exp10l.c: Likewise.
24205 * math/w_exp2.c: Likewise.
24206 * math/w_exp2f.c: Likewise.
24207 * math/w_fmod.c: Likewise.
24208 * math/w_fmodf.c: Likewise.
24209 * math/w_fmodl.c: Likewise.
24210 * math/w_hypot.c: Likewise.
24211 * math/w_hypotf.c: Likewise.
24212 * math/w_hypotl.c: Likewise.
24213 * math/w_j0.c: Likewise.
24214 * math/w_j0f.c: Likewise.
24215 * math/w_j0l.c: Likewise.
24216 * math/w_j1.c: Likewise.
24217 * math/w_j1f.c: Likewise.
24218 * math/w_j1l.c: Likewise.
24219 * math/w_jn.c: Likewise.
24220 * math/w_jnf.c: Likewise.
24221 * math/w_jnl.c: Likewise.
24222 * math/w_lgamma.c: Likewise.
24223 * math/w_lgamma_r.c: Likewise.
24224 * math/w_lgammaf.c: Likewise.
24225 * math/w_lgammaf_r.c: Likewise.
24226 * math/w_lgammal.c: Likewise.
24227 * math/w_lgammal_r.c: Likewise.
24228 * math/w_log.c: Likewise.
24229 * math/w_log10.c: Likewise.
24230 * math/w_log10f.c: Likewise.
24231 * math/w_log10l.c: Likewise.
24232 * math/w_log2.c: Likewise.
24233 * math/w_log2f.c: Likewise.
24234 * math/w_log2l.c: Likewise.
24235 * math/w_logf.c: Likewise.
24236 * math/w_logl.c: Likewise.
24237 * math/w_pow.c: Likewise.
24238 * math/w_powf.c: Likewise.
24239 * math/w_powl.c: Likewise.
24240 * math/w_remainder.c: Likewise.
24241 * math/w_remainderf.c: Likewise.
24242 * math/w_remainderl.c: Likewise.
24243 * math/w_scalb.c: Likewise.
24244 * math/w_scalbf.c: Likewise.
24245 * math/w_scalbl.c: Likewise.
24246 * math/w_sinh.c: Likewise.
24247 * math/w_sinhf.c: Likewise.
24248 * math/w_sinhl.c: Likewise.
24249 * math/w_sqrt.c: Likewise.
24250 * math/w_sqrtf.c: Likewise.
24251 * math/w_sqrtl.c: Likewise.
24252 * math/w_tgamma.c: Likewise.
24253 * math/w_tgammaf.c: Likewise.
24254 * math/w_tgammal.c: Likewise.
24255
6a621eb7
UD
24256 * po/ja.po: Update from translation team.
24257
bf582445
AJ
242582011-09-29 Andreas Jaeger <aj@suse.de>
24259
f9efbf3a
AJ
24260 [BZ #13179]
24261 * sunrpc/netname.c (netname2host): Fix logic.
24262
bf582445
AJ
24263 [BZ #6779]
24264 [BZ #6783]
24265 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
24266 correctly.
24267 * math/w_remainder.c (__remainder): Likewise.
24268 * math/w_remainderf.c (__remainderf): Likewise.
24269 * math/libm-test.inc (remainder_test): Add test cases.
24270
48693bea
AK
242712011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24272
24273 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
24274 sdiv_qrnnd.
24275
42622229
LD
242762011-10-07 Ulrich Drepper <drepper@gmail.com>
24277
24278 * string/test-memcmp.c: Avoid unncessary #defines.
24279 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
24280
093ecf92
LD
242812011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24282
24283 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
24284 Use new sse2 version for core i3 - i7 as it's faster
24285 than sse42 version.
24286 (bit_Prefer_PMINUB_for_stringop): New.
24287 * sysdeps/x86_64/rawmemchr.S: Update.
24288 Replace with faster SSE2 version.
24289 * sysdeps/x86_64/memrchr.S: New file.
24290 * sysdeps/x86_64/memchr.S: Update.
24291 Replace with faster SSE2 version.
24292
fde56e5c
MP
242932011-09-12 Marek Polacek <mpolacek@redhat.com>
24294
24295 * elf/dl-load.c (lose): Add cast to avoid warning.
24296
21fd49a9
UD
242972011-10-07 Ulrich Drepper <drepper@gmail.com>
24298
5a06e643
UD
24299 * po/ca.po: Update from translation team.
24300
684ae515
UD
24301 * inet/getnetgrent_r.c: Hook up nscd.
24302 * nscd/Makefile (routines): Add nscd_netgroup.
24303 (nscd-modules): Add netgroupcache.
24304 (CFLAGS-netgroupcache.c): Define.
24305 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
24306 (cache_search): Add const to second parameter.
24307 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
24308 INNETGR.
24309 (dbs): Add netgrdb entry.
24310 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
24311 (verify_persistent_db): Handle netgrdb.
24312 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
24313 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
24314 GETFDNETGR.
24315 (netgroup_response_header): Define.
24316 (innetgroup_response_header): Define.
24317 (datahead): Add netgroup_response_header and innetgroup_response_header
24318 elements.
24319 * nscd/nscd.conf: Add entries for netgroup cache.
24320 * nscd/nscd.h (dbtype): Add netgrdb.
24321 (_PATH_NSCD_NETGROUP_DB): Define.
24322 (netgroup_iov_disabled): Declare.
24323 (xmalloc, xcalloc, xrealloc): Move declarations here.
24324 (cache_search): Adjust prototype.
24325 Add netgroup-related prototypes.
24326 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
24327 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
24328 (__nscd_innetgr): Declare.
24329 * nscd/selinux.c (perms): Use access_vector_t as element type and
24330 add netgroup-related initializers.
24331 * nscd/netgroupcache.c: New file.
24332 * nscd/nscd_netgroup.c: New file.
24333 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
24334 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
24335 For four parameters use innetgr.
24336 * nss/nss_files/files-init.c: Add definition and callback for netgr.
24337 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
24338 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
24339 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
24340
21fd49a9
UD
24341 * nscd/connections.c (register_traced_file): Don't register file
24342 for disabled databases.
24343
054c0457
UD
243442011-10-06 Ulrich Drepper <drepper@gmail.com>
24345
32b63198
UD
24346 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
24347
054c0457
UD
24348 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
24349 from tree and freeing node.
24350
64031225
JO
243512011-09-25 Jiri Olsa <jolsa@redhat.com>
24352
24353 * nss/nsswitch.c (__nss_database_lookup): Handle
24354 nss_parse_service_list out of memory case.
24355
0490345c
JO
243562011-09-15 Jiri Olsa <jolsa@redhat.com>
24357
24358 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
24359 out of memory case.
24360
3a62d00d
AS
243612011-10-04 Andreas Schwab <schwab@redhat.com>
24362
24363 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
24364 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
24365 pass it down.
24366 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
24367 elf_machine_rela, elf_machine_lazy_rel.
24368 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
24369 (ELF_DYNAMIC_DO_REL): Likewise.
24370 (ELF_DYNAMIC_DO_RELA): Likewise.
24371 (ELF_DYNAMIC_RELOCATE): Likewise.
24372 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
24373 to ELF_DYNAMIC_DO_REL.
24374 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
24375 (dl_main): In trace mode always set __RTLD_NOIFUNC.
24376 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
24377 elf_machine_rela.
24378 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
24379 skip_ifunc, don't call ifunc function if non-zero.
24380 (elf_machine_rela): Likewise.
24381 (elf_machine_lazy_rel): Likewise.
24382 (elf_machine_lazy_rela): Likewise.
24383 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
24384 (elf_machine_lazy_rel): Likewise.
24385 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
24386 Likewise.
24387 (elf_machine_lazy_rel): Likewise.
24388 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24389 Likewise.
24390 (elf_machine_lazy_rel): Likewise.
24391 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
24392 (elf_machine_lazy_rel): Likewise.
24393 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
24394 (elf_machine_lazy_rel): Likewise.
24395 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24396 (elf_machine_lazy_rel): Likewise.
24397 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
24398 (elf_machine_lazy_rel): Likewise.
24399 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
24400 (elf_machine_lazy_rel): Likewise.
24401 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24402 (elf_machine_lazy_rel): Likewise.
24403
68577918
UD
244042011-09-28 Ulrich Drepper <drepper@gmail.com>
24405
24406 * nss/nss_files/files-init.c (_nss_files_init): Use static
24407 initialization for all the *_traced_file variables.
24408
68822d74
AS
244092011-09-28 Andreas Schwab <schwab@redhat.com>
24410
24411 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24412
2056100b
RM
244132011-09-27 Roland McGrath <roland@hack.frob.com>
24414
24415 [BZ #13226]
24416 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
24417
32c76b63
AS
244182011-09-27 Andreas Schwab <schwab@redhat.com>
24419
24420 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
24421 Reread the line before reparsing it.
24422
bf972c9d
AS
244232011-09-26 Andreas Schwab <schwab@redhat.com>
24424
24425 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
24426
e057a1b5
JM
244272011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
24428 Maxim Kuvyrkov <maxim@codesourcery.com>
24429 Joseph Myers <joseph@codesourcery.com>
24430
24431 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
24432 if needed for __stack_chk_guard.
24433
bc7e1c36
RM
244342011-09-19 Roland McGrath <roland@hack.frob.com>
24435
ecb1482f
RM
24436 * sysdeps/posix/spawni.c (script_execute): Always define it.
24437 It will be optimized away if unused.
24438 (maybe_script_execute): New function.
24439 (__spawni): Call it.
24440
bc7e1c36
RM
24441 * Makerules: Don't include tls.make.
24442 (config-tls): Always set to thread.
24443 * tls.make.c: File removed.
24444
1c3b002b
MF
244452011-09-19 Mike Frysinger <vapier@gentoo.org>
24446
24447 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
24448 * config.make.in (CPPFLAGS-config): New substituted variable.
24449
2840865d
UD
244502011-09-15 Ulrich Drepper <drepper@gmail.com>
24451
88738eb6
UD
24452 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
24453
cbf645a6 24454 [BZ #13192]
2840865d
UD
24455 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
24456 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
24457
b402e91a
RM
244582011-09-15 Roland McGrath <roland@hack.frob.com>
24459
24460 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
24461 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
24462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
24463 (CALL_FAIL): Likewise.
24464 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
24465 (CALL_FAIL): Macro removed.
24466 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
24467
4c1a1f71
UD
244682011-09-15 Ulrich Drepper <drepper@gmail.com>
24469
24470 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
24471 for __FINITE_MATH_ONLY__ == 1.
24472
edc121be
AS
244732011-09-15 Andreas Schwab <schwab@redhat.com>
24474
24475 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
24476 __ieee754_sqrt instead of sqrt.
24477 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
24478 __ieee754_sqrtf instead of sqrtf.
24479 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
24480 __floorf instead of floorf.
24481 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
24482 __floorf, __truncf instead of floorf, truncf.
24483
cd205654
UD
244842011-09-14 Ulrich Drepper <drepper@gmail.com>
24485
ee4d0315
UD
24486 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
24487
cd205654
UD
24488 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
24489 __extern_always_inline.
24490 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
24491 32-bit.
24492
48b67d71
AS
244932011-09-14 Andreas Schwab <schwab@redhat.com>
24494
24495 * elf/rtld.c (dl_main): Also relocate in dependency order when
24496 doing symbol dependency testing.
24497
1ae12c75
AS
244982011-09-13 Andreas Schwab <schwab@linux-m68k.org>
24499
24500 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24501 Always define `refsym'.
24502
995a80df
AS
245032011-09-13 Andreas Schwab <schwab@redhat.com>
24504
e529793b
AS
24505 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
24506 (__FD_ELT): Renamed from __FDELT.
24507 * misc/bits/select2.h (__FD_ELT): Likewise.
24508 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
24509 __FD_MASK instead of __FDELT, __FDMASK.
24510 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24511 Likewise.
24512 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
24513 Likewise.
24514
52d4fef8
AS
24515 * elf/Makefile (gen-ldd): Fix pattern.
24516
995a80df
AS
24517 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
24518 (init_tls): Likewise.
24519
8682f8b0
UD
245202011-09-12 Ulrich Drepper <drepper@gmail.com>
24521
24522 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
24523
de82006d
AS
245242011-09-12 Andreas Schwab <schwab@redhat.com>
24525
a7c8e6a1
AS
24526 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
24527 `struct cmsghdr *' instead of `void *'.
24528 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
24529 Likewise.
24530
0f31fe77
AS
245312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
24532
24533 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
24534 if non-absolute.
24535 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
24536 ldd_rewrite_script.
0f31fe77 24537
32b4c839
UD
245382011-09-11 Ulrich Drepper <drepper@gmail.com>
24539
83cd1420
UD
24540 * configure.in: Remove --with-tls option.
24541 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
24542 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
24543 out in case it is missing.
24544 * sysdeps/ia64/elf/configure.in: Likewise.
24545 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
24546 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
24547 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
24548 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
24549 * sysdeps/sh/elf/configure.in: Likewise.
24550 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
24551 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
24552 * sysdeps/x86_64/elf/configure.in: Likewise.
24553 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
24554 * sysdeps/mach/hurd/tls.h: Likewise.
24555
633f745d
UD
24556 [BZ #13067]
24557 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
24558
f318beb8
UD
24559 [BZ #13090]
24560 * configure.in: Fix use of AC_INIT.
24561
32b4c839
UD
24562 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
24563
3ce1f295
UD
245642011-09-10 Ulrich Drepper <drepper@gmail.com>
24565
bb016596
UD
24566 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
24567 __set_errno.
8e58439c
UD
24568 * malloc/hooks.c: Likewise.
24569
aebae053 24570 [BZ #11929]
02d46fc4
UD
24571 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
24572 variables statically.
24573 (narenas): Initialize.
24574 (list_lock): Initialize.
bb016596
UD
24575 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
24576 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
24577 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
24578 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
24579 Add initializers to main_arena and mp_.
24580 (malloc_state): Remove pagesize member. Change all users to use
24581 GLRO(dl_pagesize).
24582
24583 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
24584 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
24585 is always initialized.
24586
22a89187
UD
24587 * malloc/malloc.c: Removed unused configurations and dead code.
24588 * malloc/arena.c: Likewise.
24589 * malloc/hooks.c: Likewise.
02d46fc4 24590 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 24591
d063d164
UD
24592 * include/tls.h: Removed. USE___THREAD must always be defined.
24593 * bits/libc-tsd.h: Don't handle !USE___THREAD.
24594 * elf/dl-libc.c: Likewise.
24595 * elf/dl-tsd.c: Likewise.
24596 * include/errno.h: Likewise.
24597 * include/netdb.h: Likewise.
24598 * include/resolv.h: Likewise.
24599 * inet/herrno-loc.c: Likewise.
24600 * inet/herrno.c: Likewise.
24601 * malloc/arena.c: Likewise.
24602 * malloc/hooks.c: Likewise.
24603 * malloc/malloc.c: Likewise.
24604 * resolv/res-state.c: Likewise.
24605 * resolv/res_libc.c: Likewise.
24606 * sysdeps/i386/dl-machine.h: Likewise.
24607 * sysdeps/ia64/dl-machine.h: Likewise.
24608 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
24609 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24610 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
24611 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
24612 * sysdeps/sh/dl-machine.h: Likewise.
24613 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24614 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24615 * sysdeps/unix/i386/sysdep.S: Likewise.
24616 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
24617 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
24618 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
24619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
24620 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
24621 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
24622 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
24623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
24626 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24627 * sysdeps/x86_64/dl-machine.h: Likewise.
24628 * tls.make.c: Likewise.
24629
3ce1f295
UD
24630 * configure.in: Remove --with-__thread option. Make tests for
24631 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
24632 tls_model attribute fail if no support is available. Remove
24633 USE_IN_LIBIO.
24634 * Makeconfig: Adjust for dropped configure option. All features are
24635 now mandatory.
24636 * Makerules: Likewise.
24637 * Versions.def: Likewise.
24638 * argp/argp-fmtstream.c: Likewise.
24639 * argp/argp-fmtstream.h: Likewise.
24640 * argp/argp-help.c: Likewise.
24641 * assert/assert.c: Likewise.
24642 * config.h.in: Likewise.
24643 * config.make.in: Likewise.
24644 * configure: Likewise.
24645 * configure.in: Likewise.
24646 * csu/Versions: Likewise.
24647 * csu/init.c: Likewise.
24648 * elf/tst-audit2.c: Likewise.
24649 * elf/tst-tls10.c: Likewise.
24650 * elf/tst-tls10.h: Likewise.
24651 * elf/tst-tls11.c: Likewise.
24652 * elf/tst-tls12.c: Likewise.
24653 * elf/tst-tls14.c: Likewise.
24654 * elf/tst-tlsmod11.c: Likewise.
24655 * elf/tst-tlsmod12.c: Likewise.
24656 * elf/tst-tlsmod13.c: Likewise.
24657 * elf/tst-tlsmod13a.c: Likewise.
24658 * elf/tst-tlsmod14a.c: Likewise.
24659 * elf/tst-tlsmod15b.c: Likewise.
24660 * elf/tst-tlsmod16a.c: Likewise.
24661 * elf/tst-tlsmod16b.c: Likewise.
24662 * elf/tst-tlsmod7.c: Likewise.
24663 * elf/tst-tlsmod8.c: Likewise.
24664 * elf/tst-tlsmod9.c: Likewise.
24665 * gmon/gmon.c: Likewise.
24666 * grp/fgetgrent_r.c: Likewise.
24667 * grp/putgrent.c: Likewise.
24668 * hurd/fopenport.c: Likewise.
24669 * include/libc-symbols.h: Likewise.
24670 * include/tls.h: Likewise.
24671 * intl/gettextP.h: Likewise.
24672 * intl/loadinfo.h: Likewise.
24673 * locale/global-locale.c: Likewise.
24674 * locale/localeinfo.h: Likewise.
24675 * mach/devstream.c: Likewise.
24676 * malloc/arena.c: Likewise.
24677 * malloc/set-freeres.c: Likewise.
24678 * misc/err.c: Likewise.
24679 * misc/getttyent.c: Likewise.
24680 * misc/mntent_r.c: Likewise.
24681 * posix/getopt.c: Likewise.
24682 * posix/wordexp.c: Likewise.
24683 * pwd/fgetpwent_r.c: Likewise.
24684 * resolv/Versions: Likewise.
24685 * resolv/res_hconf.c: Likewise.
24686 * shadow/fgetspent_r.c: Likewise.
24687 * shadow/putspent.c: Likewise.
24688 * stdio-common/printf_fphex.c: Likewise.
24689 * stdio-common/tmpfile.c: Likewise.
24690 * stdlib/abort.c: Likewise.
24691 * stdlib/fmtmsg.c: Likewise.
24692 * sunrpc/auth_unix.c: Likewise.
24693 * sunrpc/clnt_perr.c: Likewise.
24694 * sunrpc/clnt_tcp.c: Likewise.
24695 * sunrpc/clnt_udp.c: Likewise.
24696 * sunrpc/clnt_unix.c: Likewise.
24697 * sunrpc/openchild.c: Likewise.
24698 * sunrpc/svc_simple.c: Likewise.
24699 * sunrpc/svc_tcp.c: Likewise.
24700 * sunrpc/svc_udp.c: Likewise.
24701 * sunrpc/svc_unix.c: Likewise.
24702 * sunrpc/xdr.c: Likewise.
24703 * sunrpc/xdr_array.c: Likewise.
24704 * sunrpc/xdr_rec.c: Likewise.
24705 * sunrpc/xdr_ref.c: Likewise.
24706 * sunrpc/xdr_stdio.c: Likewise.
24707
1248c1c4
PB
247082011-09-09 Ulrich Drepper <drepper@gmail.com>
24709
24710 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24711
247122011-07-03 Andreas Jaeger <aj@suse.de>
24713
24714 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
24715 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
24716 regenerate with gen-libm-tests.pl.
24717
247182010-05-12 Petr Baudis <pasky@suse.cz>
24719
24720 [BZ #11589]
24721 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
24722 around j0() zero points by switching to j1().
24723 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24727
f22e1074
UD
247282011-09-09 Ulrich Drepper <drepper@gmail.com>
24729
f19009c1
UD
24730 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
24731 instead of 0.
24732 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 24733 instead of 0.
f19009c1
UD
24734 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24735 Patch in part by Pavel Roskin <proski@gnu.org>.
24736
3f8cc204
UD
24737 [BZ #13138]
24738 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
24739 realloc.
24740 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
24741 Free memory block if necessary.
24742
f22e1074
UD
24743 [BZ #12847]
24744 * libio/genops.c (INTDEF): For string streams the _lock pointer can
24745 be NULL. Don't lock in this case.
24746
0a2349f9
RM
247472011-09-09 Roland McGrath <roland@hack.frob.com>
24748
24749 * elf/elf.h (ELFOSABI_GNU): New macro.
24750 (ELFOSABI_LINUX): Define to that.
24751
f3cdd467
DZ
247522011-07-29 Denis Zaitceff <zaitceff@gmail.com>
24753
24754 * string/strncat.c (strncat): Undef the symbol in case it has been
24755 defined in bits/string.h.
24756
74718d13
UD
247572011-09-09 Ulrich Drepper <drepper@gmail.com>
24758
633e9e0f
UD
24759 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
24760
0a2349f9 24761 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
24762 link map.
24763
f9924780
AJ
247642011-08-17 Andreas Jaeger <aj@suse.de>
24765
24766 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
24767
7f5517aa
PP
247682011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24769 Ian Lance Taylor <iant@google.com>
24770
24771 * math/libm-test.inc (lround_test): New testcase.
24772 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
24773
762011fe
UD
247742011-09-08 Ulrich Drepper <drepper@gmail.com>
24775
92963737
UD
24776 * Makefile: Remove support for automatic cvs check-ins.
24777 * Makerules: Likewise.
24778 * config.make.in: Likewise.
24779 * configure.in: Likewise.
24780 * intl/Makefile: Likewise.
24781 * locale/Makefile: Likewise.
24782 * po/Makefile: Likewise.
24783 * posix/Makefile: Likewise.
24784 * sysdeps/gnu/Makefile: Likewise.
24785 * sysdeps/mach/hurd/Makefile: Likewise.
24786 * sysdeps/sparc/sparc32/Makefile: Likewise.
24787
b0727fd8
JS
24788 [BZ #13118]
24789 * posix/Makefile (bug-regex32-ENV): Define.
24790 Patch by John Stanley <jpsinthemix@verizon.net>.
24791
a0f33f99
UD
24792 * misc/Makefile (headers): Add bits/select2.h.
24793 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
24794 * misc/bits/select2.h: New file.
24795 * include/bits/select2.h: New file.
24796 * debug/Makefile (routines): Add fdelt_chk.
24797 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
24798 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
24799 FD_ISSET.
24800 * debug/fdelt_chk.c: New file.
24801
762011fe
UD
24802 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
24803 * wcsmbs/test-wmemcmp.c: Likewise.
24804 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 24805 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
24806
248072011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24808
24809 * string/Makefile (strop-tests): Add memcmp.
24810 * string/test-wmemcmp.c: New file.
24811 * string/test-memcmp.c: Add wmemcmp support.
24812
7f513ec8
RM
248132011-09-08 Roland McGrath <roland@hack.frob.com>
24814
0442afb4
RM
24815 [BZ #13153]
24816 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
24817 2011-07-19 change.
24818
7f513ec8
RM
24819 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
24820 garbage value in a __mach_port_mod_refs call in the cases of the
24821 task-self and thread-self ports.
24822
a12b2239
ST
248232011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
24824
24825 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
24826
610f9ab4
AS
248272011-09-08 Andreas Schwab <schwab@redhat.com>
24828
7f513ec8 24829 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 24830
48882a1a
LD
248312011-09-07 Ulrich Drepper <drepper@gmail.com>
24832
b49865be
UD
24833 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
24834
fdc86bc9
UD
24835 * elf/dl-libc.c (dlerror_run): Pass back error code from
24836 dl_catch_error.
24837
c966526a
UD
24838 [BZ #13123]
24839 * elf/dl-load.c (lose): Free l_origin if it is valid.
24840
48882a1a
LD
24841 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
24842 names.
24843 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
24844 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24845 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24846 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24847 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
24848 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
24849
77a2a8b4
AZ
248502011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24851
24852 * sysdeps/powerpc/fpu/e_hypot.c: New file.
24853 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
24854 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
24855 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
24856 * sysdeps/powerpc/fpu/k_cosf.c: New file.
24857 * sysdeps/powerpc/fpu/k_sinf.c: New file.
24858 * sysdeps/powerpc/fpu/s_cosf.c: New file.
24859 * sysdeps/powerpc/fpu/s_sinf.c: New file.
24860 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
24861 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
24862
24f579d8
AM
248632011-08-15 Alan Modra <amodra@gmail.com>
24864
24865 [BZ #13092]
24866 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
24867 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
24868 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
24869 ppc_mcount to static-only-routines.
24870 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
24871 __mcount_internal.
24872 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
24873 __mcount_internal with usual JUMPTARGET. Remove useless nop.
24874
3d4837df
UD
248752011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
24876
24877 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
24878 for finite and infinity parameters.
24879
22700377
WS
248802011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24881
24882 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
24883 and add nop instructions for throughput optimization.
24884 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24885
5025581e
WS
248862011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
24887
24888 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
24889 aligned copy for power7 with vector-scalar instructions.
24890 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24891
08a300c9
L
248922011-07-24 H.J. Lu <hongjiu.lu@intel.com>
24893
24894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
24895 AVX check.
24896
59178ef9
AS
248972011-09-07 Andreas Schwab <schwab@redhat.com>
24898
24899 [BZ #13144]
24900 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
24901 last change.
24902
e38ba7ab
UD
249032011-09-07 Ulrich Drepper <drepper@gmail.com>
24904
24905 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24906 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
24907 syscall wrapper around clock_gettime in __vdso_clock_gettime.
24908 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
24909 clock_gettime.
24910
d53a73ac
UD
249112011-09-06 Ulrich Drepper <drepper@gmail.com>
24912
fc8bffcc
UD
24913 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
24914 Forgot to demangle the pointer.
24915
ceaa0c5d
UD
24916 * sysdeps/i386/sysdep.h: Define atom_text_section.
24917 * sysdeps/x86_64/sysdep.h: Likewise.
24918 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
24919 section with atom_text_section.
24920 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
24921 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
24922 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
24923 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24924 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
24925
a77d3c17
UD
24926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
24927 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
24928 already be defined. Change to take two parameters and don't assign
24929 result to variable. Adjust all users.
24930 Define INTERNAL_GETTIME if not already defined.
24931 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
24932 call.
24933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
24934 HAVE_CLOCK_GETTIME_VSYSCALL.
24935 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
24936
d53a73ac
UD
24937 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
24938 gettimeofday vsyscall, just use time.
24939
a8f84144
AS
249402011-09-06 Andreas Schwab <schwab@redhat.com>
24941
24942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
24943 <errno.h>.
24944
ef606249
UD
249452011-09-06 Ulrich Drepper <drepper@gmail.com>
24946
24947 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
24948 syscall on x86-64.
24949 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
24950 syscall.
24951 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24952 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
24953 syscall if possible.
24954
6585cb60
UD
249552011-09-05 Ulrich Drepper <drepper@gmail.com>
24956
24957 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
24958 e_ident. Don't pass to find_mapsXX.
24959 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
24960
a5f524e4
LD
249612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24962
24963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24964 strchr-sse2-no-bsf strrchr-sse2-no-bsf
24965 * sysdeps/x86_64/multiarch/strchr.S: Update.
24966 Check bit_slow_BSF bit.
24967 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24968 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
24969 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
24970
554881ef
UD
249712011-09-05 Ulrich Drepper <drepper@gmail.com>
24972
d96de963
UD
24973 [BZ #13134]
24974 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
24975 before glibc 2.15.
24976 (tryshell): Define.
24977 (__spawni): Change last parameter to be flag. Test
24978 SPAWN_XFLAGS_USE_PATH flag to use path or not.
24979 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
24980 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
24981 * posix/spawni.c: Likewise.
24982 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
24983 * posix/spawnp.c: Likewise. Change normal version to use
24984 SPAWN_XFLAGS_USE_PATH.
24985 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
24986 SPAWN_XFLAGS_TRY_SHELL.
24987
d48e5868
UD
24988 [BZ #13150]
24989 * posix/glob.h: Remove gcc 1.x support.
24990
554881ef
UD
24991 [BZ #13068]
24992 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
24993
693fb948
LD
249942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24995
24996 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24997 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
24998 strrchr-sse2-bsf
24999 * sysdeps/i386/i686/multiarch/strchr.S: New file.
25000 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
25001 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
25002 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
25003 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
25004 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
25005
1b48c537
UD
250062011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25007
49d42c37
UD
25008 * sysdeps/x86_64/wcscmp.S: New file.
25009
1b48c537
UD
25010 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
25011 wcscmp-c wcscmp-sse2
25012 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
25013 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
25014 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
25015 * wcsmbs/wcscmp.c: Allow renaming.
25016
15c95c5d
DM
250172011-09-05 David S. Miller <davem@davemloft.net>
25018
25019 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
25020 stack slot, rather than the struct return pointer slot.
25021 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
25022 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
25024 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
25025
2f0ad8f3
UD
250262011-09-05 Ulrich Drepper <drepper@gmail.com>
25027
d88ae418
UD
25028 * po/ja.po: Update from translation team.
25029
2f0ad8f3
UD
25030 [BZ #13144]
25031 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
25032 kernel in 64-bit binaries.
25033
5f4318d1
DM
250342011-09-01 David S. Miller <davem@davemloft.net>
25035
25036 * elf/elf.h (HWCAP_SPARC_*): Move to..
25037 * sysdeps/sparc/sysdep.h: this new file and add new values.
25038 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
25039 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
25040 _DL_HWCAP_COUNT to 24.
25041 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25042 entries.
25043 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
25044 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
25045 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
25046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
25047 instead of magic constants.
25048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25049
3ba57516
DM
250502011-08-31 David S. Miller <davem@davemloft.net>
25051
25052 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
25053 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
25054 Reimplement to do errno handling inline.
25055 (SYSCALL_ERROR_HANDLER): New macro.
25056 (__SYSCALL_STRING): Do not do errno handling in asm.
25057 (__CLONE_SYSCALL_STRING): Delete.
25058 (__INTERNAL_SYSCALL_STRING): Delete.
25059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
25060 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
25061 (PSEUDO): Reimplement to do errno handling inline.
25062 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
25063 (SYSCALL_ERROR_HANDLER): New macro.
25064 (__SYSCALL_STRING): Do not do errno handling in asm.
25065 (__CLONE_SYSCALL_STRING): Delete.
25066 (__INTERNAL_SYSCALL_STRING): Delete.
25067 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
25068 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
25069 i386.
25070 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
25071 (inline_syscall*): Add 'err' argument.
25072 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
25073 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
25074 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
25075 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
25076
25077 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
25078 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25079
2bc17433
AS
250802011-08-30 Andreas Schwab <schwab@redhat.com>
25081
25082 * elf/rtld.c (dl_main): Relocate objects in dependency order.
25083
fbeb5f4d
JO
250842011-08-29 Jiri Olsa <jolsa@redhat.com>
25085
25086 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
25087 directive.
25088
ad69cc26
DM
250892011-08-24 David S. Miller <davem@davemloft.net>
25090
25091 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
25092
39dd69df
AS
250932011-08-24 Andreas Schwab <schwab@redhat.com>
25094
25095 * elf/Makefile: Add rules to build and run unload8 test.
25096 * elf/unload8.c: New file.
25097 * elf/unload8mod1.c: New file.
25098 * elf/unload8mod1x.c: New file.
25099 * elf/unload8mod2.c: New file.
25100 * elf/unload8mod3.c: New file.
25101
25102 * elf/dl-close.c (_dl_close_worker): Reset private search list if
25103 it wasn't used.
25104
2c0b250a
DM
251052011-08-23 David S. Miller <davem@davemloft.net>
25106
25107 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
25108 subtract stack bias.
25109 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
25110 %sp not %fp in calculations.
25111 (_JMPBUF_UNWINDS_ADJ): Likewise.
25112
22044b48
DM
25113 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
25114 (aio_suspend): Call it to force an exception region around the
25115 AIO_MISC_WAIT() invocation.
25116
2cae4995
AS
251172011-08-23 Andreas Schwab <schwab@redhat.com>
25118
25119 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
25120 backslash.
25121
873a772e
AJ
251222011-07-04 Aurelien Jarno <aurelien@aurel32.net>
25123
25124 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
25125 protection macro.
25126 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
25127 and <dl-machine.h>.
25128 (Elf64_FuncDesc): Remove.
25129
25ad0df1
DM
251302011-08-22 David S. Miller <davem@davemloft.net>
25131
25132 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
25133 sigaltstack check, add missing cfi directives.
25134 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
25135 missing cfi directives, and sigaltstack handling.
25136
e888bcbe
AS
251372011-08-16 Andreas Schwab <schwab@redhat.com>
25138
25139 [BZ #11724]
25140 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
25141 object is seen twice.
25142 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25143
25144 * elf/Makefile (distribute): Add tst-initorder2.c.
25145 (tests): Add tst-initorder2.
25146 (modules-names): Add tst-initorder2a tst-initorder2b
25147 tst-initorder2c tst-initorder2d. Add rules to build them.
25148 ($(objpfx)tst-initorder2.out): New rule.
25149 * elf/tst-initorder2.c: New file.
25150 * elf/tst-initorder2.exp: New file.
25151
87162f46
AS
251522011-08-22 Andreas Schwab <schwab@redhat.com>
25153
70538b7f
AS
25154 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
25155
f55ffe58
AS
25156 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
25157 dependencies back to end of function.
25158
87162f46
AS
25159 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
25160 $(elfobjdir)/ld.so.
25161
91b392a4
UD
251622011-08-21 Ulrich Drepper <drepper@gmail.com>
25163
25164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
25165 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
25166 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
25167 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
25168 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
25169 of __vdso_gettimeofday.
25170 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
25171 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
25172 attribute_hidden.
25173 (_libc_vdso_platform_setup): Remove initialization of
25174 __vdso_gettimeofday and __vdso_time.
25175
5c43483f
UD
251762011-08-20 Ulrich Drepper <drepper@gmail.com>
25177
775a77e7
UD
25178 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
25179 and fgetc_unlocked.
25180 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
25181 getc_unlocked.
89f447ed 25182
49c74ba9
UD
25183 * elf/dl-open.c (add_to_global): Report additions to the global scope
25184 for LD_DEBUG=scopes.
25185 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 25186 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 25187
5c43483f
UD
25188 [BZ #13114]
25189 * stdio-common/Makefile (tests): Add bug24.
25190 * stdio-common/bug24.c: New file.
25191
a101b025
AJ
251922011-08-19 Andreas Jaeger <aj@suse.de>
25193
25194 [BZ #13114]
25195 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
25196 non-existant file when using close-on-exec mode.
25197
c88f1766
UD
251982011-08-20 Ulrich Drepper <drepper@gmail.com>
25199
0276a718
UD
25200 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
25201 the very first instruction.
25202
c88f1766
UD
25203 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
25204 the CFI state in the end.
25205 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
25206 inclusion of dl-trampoline.h.
25207 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
25208
51ccffa0
AS
252092011-08-19 Andreas Schwab <schwab@redhat.com>
25210
94d7165f
AS
25211 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
25212 expectations for long double.
25213
51ccffa0
AS
25214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
25215 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
25216
fd708658 252172011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
25218
25219 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
25220 artificual limit depends upon the system page size.
25221
44f0a71e
UD
252222011-08-17 Ulrich Drepper <drepper@gmail.com>
25223
25224 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
25225 * resolv/Makefile: Define CFLAGS-libresolv.
25226
8de79a24
AS
252272011-08-17 Andreas Schwab <schwab@redhat.com>
25228
25229 * nss/makedb.c (compute_tables): Make variables used in nested
25230 function static.
25231
27724598
UD
252322011-08-17 Ulrich Drepper <drepper@gmail.com>
25233
c5305d88
UD
25234 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
25235 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
25236 if buffer was too small.
25237
27724598
UD
25238 * elf/pldd.c (main): Attach to all threads in the process.
25239 Rewrite /proc handling to use *at functions.
25240
076fe015
UD
252412011-08-16 Ulrich Drepper <drepper@gmail.com>
25242
174baab3
UD
25243 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
25244 specifies first scope to show.
25245 (dl_open_worker): Update callers. Move printing scope of new
25246 object to before the relocation.
44f0a71e 25247 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
25248 * sysdeps/generic/ldsodefs.h: Update declaration.
25249
076fe015
UD
25250 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
25251 string for the scope number.
25252
a60df2c3
UD
252532011-08-14 Ulrich Drepper <drepper@gmail.com>
25254
25255 * nscd/servicescache.c (cache_addserv): Make sure written is always
25256 initialized.
25257
5e4287d1
RM
252582011-08-14 Roland McGrath <roland@hack.frob.com>
25259
85ae0589
RM
25260 * sysdeps/i386/i486/bits/atomic.h
25261 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
25262 statement expression, so as to suppress "set but not used" warning.
25263 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
25264
69f63097
RM
25265 * string/strncat.c (STRNCAT): Use prototype definition.
25266
675456ef
RM
25267 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
25268 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
25269 -Iprograms here.
25270 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
25271 (localedef-modules): Add localedef.
25272 (locale-modules): Add locale.
25273
5e4287d1
RM
25274 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
25275 * elf/rtld.c (dl_main): Invert order of assignment in last change,
25276 to avoid a warning.
25277
9c96ff23
DM
252782011-08-14 David S. Miller <davem@davemloft.net>
25279
25280 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
25281 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
25282
f9ddf089
UD
252832011-08-13 Ulrich Drepper <drepper@gmail.com>
25284
44f0a71e 25285 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
25286 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
25287 * elf/rtld.c (dl_main): Set l_name of vDSO.
25288 Call _dl_show_scope when DL_DEBUG_SCOPES.
25289 (process_dl_debug): Recognize scopes flag and also set it for all.
25290 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
25291 Declare _dl_show_scope.
25292
1dc27704
UD
25293 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
25294 (do_dlopen): Pass caller_dlopen to dl_open.
25295 (__libc_dlopen_mode): Initialize caller_dlopen.
25296
f9ddf089
UD
25297 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
25298 of libc. Make tolower call locale-independent. Optimize a bit by
25299 using isdigit instead of isalnum.
25300 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
25301
9ac533d3
UD
253022011-08-12 Ulrich Drepper <drepper@gmail.com>
25303
25304 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
25305 was a dependency or dynamically loaded.
25306
89edf2e9
UD
253072011-08-11 Ulrich Drepper <drepper@gmail.com>
25308
8e999d29
UD
25309 * intl/l10nflist.c: Allow architecture-specific pop function.
25310 * sysdeps/x86_64/l10nflist.c: New file.
25311
89edf2e9
UD
25312 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
25313 classification.
25314
14d96785
AS
253152011-08-10 Andreas Schwab <schwab@redhat.com>
25316
25317 * include/dirent.h: Add libc_hidden_proto for scandirat and
25318 scandirat64. Don't declare __scandirat64.
25319 * dirent/scandirat.c: Add libc_hidden_def.
25320 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
25321 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
25322
6761ac04
DM
253232011-08-10 David S. Miller <davem@davemloft.net>
25324
25325 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
25326 enum.
25327 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25328 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25329 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25330
c55fbd1e
UD
253312011-08-09 Ulrich Drepper <drepper@gmail.com>
25332
25333 * Versions.def [libc]: Add GLIBC_2.15.
25334 * dirent/Makefile (routines): Add scandirat and scandirat64.
25335 * dirent/Versions [libc]: Export scandirat and scandirat64 for
25336 GLIBC_2.15.
25337 * dirent/dirent.h: Declare scandirat and scandirat64.
25338 * dirent/scandirat.c: New file.
25339 * dirent/scandirat64.c: New file.
25340 * sysdeps/wordsize-64/scandirat.c: New file.
25341 * sysdeps/wordsize-64/scandirat64.c: New file.
25342 * dirent/opendir.c: Define opendirat.
25343 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
25344 using scandirat.
25345 * dirent/scandir64.c: Adjust for scandir.c change.
25346 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
25347 __scandirat64, and __scandir_cancel_handler.
25348 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
25349 additional parameter and use openat instead of open (outside of ld.so).
25350 Add new __opendir as wrapper around __opendirat.
25351 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
25352 here without requiring old scandirat implementation.
25353
879165f2
UD
253542011-08-08 Ulrich Drepper <drepper@gmail.com>
25355
25356 * dirent/scandir.c (cancel_handler): Renamed to
25357 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
25358 defined. Adjust users.
25359 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
25360 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
25361
cb7e923b
UD
253622011-08-04 Ulrich Drepper <drepper@gmail.com>
25363
16292edd
UD
25364 * string/test-string.h (IMPL): Use __STRING to expand name and then
25365 stringify it.
25366
cb7e923b
UD
25367 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
25368 of cleanups.
25369
cff82933
LD
253702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25371
25372 * string/Makefile: Update.
25373 (strop-tests): Append strncat.
25374 * string/test-wcscmp.c: New file.
25375 New comprehensive test for wcscmp.
25376 * string/test-strcmp.c: Update.
25377 (WIDE): New define.
25378
9be9bfcc
AS
253792011-07-22 Andreas Schwab <schwab@redhat.com>
25380
25381 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
25382 line.
25383
2e96f1c7
AS
253842011-07-26 Andreas Schwab <schwab@redhat.com>
25385
25386 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25387 encoding to ACE if AI_IDN.
25388
85188888
JJ
253892011-08-01 Jakub Jelinek <jakub@redhat.com>
25390
25391 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
25392 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
25393
5fa16e9b
LD
253942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25395
25396 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
25397 Fix overflow bug in strncat.
25398 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25399
25400 * string/test-strncat.c: Update.
25401 Add new tests for checking overflow bugs.
25402
254032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25404
25405 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25406 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
25407 * sysdeps/i386/i686/multiarch/strcat.S: New file.
25408 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
25409 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
25410 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
25411 * sysdeps/i386/i686/multiarch/strncat.S: New file.
25412 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
25413 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
25414
25415 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
25416 (USE_AS_STRCAT): Define.
25417 Add strcat and strncat support.
25418 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25419
8c1a459f
AS
254202011-07-25 Andreas Schwab <schwab@redhat.com>
25421
25422 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
25423 __n bigger than INT_MAX+1.
25424 (__strncmp_g): Likewise.
25425
bba33c28
UD
254262011-07-23 Ulrich Drepper <drepper@gmail.com>
25427
798be72d
UD
25428 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
25429 * libio/stido.h: Likewise.
25430
8accd4dc
UD
25431 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
25432 (AF_NFC): Define.
25433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
25434 (AF_NFC): Define.
25435
cbff0d96
UD
25436 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
25437 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25439 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
25440 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25441
9191c04a
UD
25442 [BZ #13021]
25443 * scripts/test-installation.pl: Don't expect libnss_test1 to be
25444 installed.
25445
bba33c28
UD
25446 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
25447 typo.
25448 (_dl_x86_64_save_sse): Likewise.
25449
90f139dd
UD
254502011-07-22 Ulrich Drepper <drepper@gmail.com>
25451
1aae088a
UD
25452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
25453 OSXSAVE.
25454 (_dl_x86_64_save_sse): Likewise.
25455
8e2045f5
UD
25456 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
25457
90f139dd
UD
25458 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
25459
1d002f25
AS
254602011-07-21 Andreas Schwab <schwab@redhat.com>
25461
25462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
25463 change.
25464 (_dl_x86_64_save_sse): Use correct AVX check.
25465
21137f89
UD
254662011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25467
25468 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
25469 bug in strncpy/strncat.
25470 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25471
a65c0b7a
UD
254722011-07-21 Ulrich Drepper <drepper@gmail.com>
25473
25474 * string/tester.c (test_strcat): Add tests for different alignments
25475 of source and destination.
25476 (test_strncat): Likewise.
25477
6986b98a
UD
254782011-07-20 Ulrich Drepper <drepper@gmail.com>
25479
90bb2039
UD
25480 [BZ #12852]
25481 * posix/glob.c (glob): Check passed in values before using them in
25482 expressions to avoid some overflows.
25483 (glob_in_dir): Likewise.
25484
5644ef54
UD
25485 [BZ #13007]
25486 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
25487 check for AVX enablement so that we don't crash with old kernels and
25488 new hardware.
25489 * elf/tst-audit4.c: Add same checks here.
25490 * elf/tst-audit6.c: Likewise.
25491
25492 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 25493
bfc9dc9b
AS
254942011-07-09 Andreas Schwab <schwab@linux-m68k.org>
25495
25496 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
25497
702e64bb
UD
254982011-07-20 Ulrich Drepper <drepper@gmail.com>
25499
25500 * po/cs.po: Update from translation team.
25501 * po/bg.po: Likewise.
25502
295e904f
MP
255032011-07-12 Marek Polacek <mpolacek@redhat.com>
25504
25505 * misc/sys/cdefs.h: Add support for const attribute.
25506 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
25507 to gnu_dev_{major,minor,makedev} functions.
25508
3ff94596
MP
255092011-07-20 Marek Polacek <mpolacek@redhat.com>
25510
25511 * intl/dcigettext.c (get_output_charset): Add missing bracket.
25512
28b59fca
AS
255132011-07-20 Andreas Schwab <schwab@redhat.com>
25514
25515 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
25516 strlen results.
25517
19df733e
AK
255182011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25519
25520 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25521 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
25522 register in order to avoid conflicts with the soft frame pointer
25523 being held in r11 when necessary.
25524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25525 (INTERNAL_VSYSCALL_NCS): Likewise.
25526
c8835729
MP
255272011-07-14 Marek Polacek <mpolacek@redhat.com>
25528
25529 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
25530 * elf/dl-fini.c (_dl_fini): Adjust caller.
25531 * elf/dl-close.c (_dl_close_worker): Likewise.
25532 * sysdeps/generic/ldsodefs.h: Adjust declaration.
25533
b902330c
MP
255342011-07-15 Marek Polacek <mpolacek@redhat.com>
25535
8991e135
MP
25536 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
25537 "aux_cache->nlibs < 0".
25538
b902330c
MP
25539 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
25540 in the reload-count case.
25541
99710781
LD
255422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25543
25544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25545 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
25546 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
25547 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
25548 * sysdeps/x86_64/multiarch/strcat.S: New file.
25549 * sysdeps/x86_64/multiarch/strncat.S: New file.
25550 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
25551 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
25552 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
25553 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
25554 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
25555 (USE_AS_STRCAT): Define.
25556 Add strcat and strncat support.
25557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
25558 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25559 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
25560 * string/strncat.c: Update.
25561 (USE_AS_STRNCAT): Define.
25562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25563 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
25564 and i7.
25565 * sysdeps/x86_64/multiarch/init-arch.h
25566 (bit_Prefer_PMINUB_for_stringop): New.
25567 (index_Prefer_PMINUB_for_stringop): Likewise.
25568 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
25569 bit_Prefer_PMINUB_for_stringop.
25570
7dc6bd90
UD
255712011-07-19 Ulrich Drepper <drepper@gmail.com>
25572
25573 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
25574 buffer64.
25575 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
25576 of casting of buffer.
25577 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
25578 buffer32 and buffer64.
25579 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
25580 writes instead of casting of buffer.
25581 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
25582 buffer32.
25583 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
25584 casting of buffer.
25585
e0e72284
AS
255862011-07-19 Andreas Schwab <schwab@redhat.com>
25587
25588 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
25589
feb1eb0b
UD
255902011-07-19 Ulrich Drepper <drepper@gmail.com>
25591
25592 * nscd/nscd.c (termination_handler): Don't do anything for a database
25593 if it has not yet been initialized.
25594
298711ff
UD
255952011-07-18 Ulrich Drepper <drepper@gmail.com>
25596
25597 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25598
255992011-07-15 Marek Polacek <mpolacek@redhat.com>
25600
25601 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
25602
f9d68389
UD
256032011-07-18 Ulrich Drepper <drepper@gmail.com>
25604
25605 * po/nl.po: Update from translation team.
25606 * po/sv.po: Likewise.
25607
db290cf5
RM
256082011-07-16 Roland McGrath <roland@hack.frob.com>
25609
25610 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
25611 now disallowed by GCC.
5c550700 25612
fd5e21c7
RM
25613 * configure.in (use-default-link): Default to yes if a test -shared
25614 link meets our qualifications.
25615 * configure: Regenerated.
25616
5c550700
RM
25617 * config.make.in (output-format): New variable.
25618 * configure.in: Check for ld --print-output-format support.
25619 * configure: Regenerated.
25620 * Makerules ($(common-objpfx)format.lds)
25621 [$(output-format) != unknown]: Just use $(output-format),
25622 instead of the linker-script munging.
25623
9fa2c032
RM
256242011-07-14 Roland McGrath <roland@hack.frob.com>
25625
a6928d51
RM
25626 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
25627 of $(common-objpfx)shlib.lds.
25628 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
25629
661607b3
RM
25630 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
25631 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
25632
9fa2c032
RM
25633 * configure.in (-z relro check): Adjust test code to add a large
25634 writable data section after it.
25635 * configure: Regenerated.
25636
defe9061
RM
256372011-07-11 Roland McGrath <roland@hack.frob.com>
25638
25639 * configure.in (-z relro check): Fix test code to make the variable
25640 truly const.
25641 * configure: Regenerated.
25642
319b9ad4
UD
256432011-07-11 Ulrich Drepper <drepper@gmail.com>
25644
25645 * nscd/nscd.h (struct traced_file): Define.
25646 (struct database_dyn): Remove inotify_descr, reset_res, and filename
25647 elements. Add traced_files.
25648 (inotify_fd): Declare.
25649 (register_traced_file): Declare.
25650 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
25651 (inotify_fd): Export.
25652 (resolv_conf_descr): Remove.
25653 (nscd_init): Move inotify descriptor creation to main.
25654 Don't register files for notification here.
25655 (register_traced_file): New function.
25656 (invalidate_cache): Don't use reset_res to determine whether to call
25657 res_init, go through the list of registered files.
25658 (main_loop_poll): The inotify descriptors are now stored in the
25659 structures for the traced files.
25660 (main_loop_epoll): Likewise
25661 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
25662 to __nss_disable_nscd.
25663 * nscd/cache.c (prune_cache): There is no single inotify descriptor
25664 for a database anymore. Check the records for all the registered
25665 files instead.
25666 * nss/Makefile (libnss_files-routines): Add files-init.
25667 (libnss_db-routines): Add db-init.
25668 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
25669 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
25670 * nss/nss_db/db-init.c: New file.
25671 * nss/nss_files/files-init.c: New file.
25672 * nss/nsswitch.c (nss_load_library): New function. Broken out of
25673 __nss_lookup_function.
25674 (__nss_lookup_function): Call nss_load_library.
25675 (nss_load_all_libraries): New function.
25676 (__nss_disable_nscd): Take parameter with callback function for files
25677 to register. Set is_nscd. Load all the DSOs for the NSS modules
25678 used for the cached services.
25679 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
25680 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
25681 options for features to all the files in nscd.
25682
25683 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
25684
23bee3e8
RM
256852011-07-10 Roland McGrath <roland@hack.frob.com>
25686
25687 * csu/elf-init.c (__libc_csu_init): Comment typo.
25688
46a5b7f0
UD
256892011-07-09 Ulrich Drepper <drepper@gmail.com>
25690
25691 * po/pl.po: Update from translation team.
25692 * po/ja.po: Likewise.
25693 * po/ru.po: Likewise.
25694 * po/ko.po: Likewise.
25695 * po/fr.po: Likewise.
25696
d30cf5bb
RM
256972011-07-09 Roland McGrath <roland@hack.frob.com>
25698
113ddea4
RM
25699 * configure.in (.ctors/.dtors header and trailer check):
25700 Use an empirical test on a built program.
25701 * configure: Regenerated.
25702
574920b4
RM
25703 * configure.in (-z relro check): Use an empirical test on a built DSO.
25704 Detect, but do not require, on ia64.
25705 * configure: Regenerated.
25706
d30cf5bb
RM
25707 * configure.in (READELF): Find it with AC_CHECK_TOOL.
25708 Update tests that use readelf to use $READELF instead.
25709 * configure: Regenerated.
25710
8538fdb3
UD
257112011-07-08 Ulrich Drepper <drepper@gmail.com>
25712
25713 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
25714 if the result is not used.
25715
04d08991
AJ
257162011-07-05 Andreas Jaeger <aj@suse.de>
25717
25718 [BZ#9696]
25719 * stdlib/tst-strtod.c: Add testcase.
25720
de283087
AD
257212011-07-07 Ulrich Drepper <drepper@gmail.com>
25722
4e5f31c8 25723 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 25724 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
25725 The latter has a higher limit. Take additional parameter to pass to
25726 the new function.
25727 (__pathconf): Pass file to __statfs_link_max.
25728 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
25729 __statfs_link_max.
25730 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
25731 __statfs_link_max.
25732
de283087
AD
25733 [BZ #12868]
25734 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
25735 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25736 Handle Lustre.
25737 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
25738 (__statfs_filesize_max): Likewise.
25739 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
25740
c75fa153
AJ
257412011-07-05 Andreas Jaeger <aj@suse.de>
25742
25743 * resolv/res_comp.c (dn_skipname): Remove unused variable.
25744
1a544854
UD
257452011-07-06 Marek Polacek <mpolacek@redhat.com>
25746
25747 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
25748 `status' variable.
25749 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
25750 Likewise.
25751
6f0eec67
UD
257522011-07-04 H.J. Lu <hongjiu.lu@intel.com>
25753
25754 * Makefile (strop-tests): Add strncat.
25755 * string/test-strncat.c: New file.
25756
aae30307
UD
257572011-06-30 Marek Polacek <mpolacek@redhat.com>
25758
25759 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
25760
c0cfb5eb
UD
257612011-06-21 Andreas Jaeger <aj@suse.de>
25762
25763 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
25764 Copy rule from iconvdata/Makefile.
25765
01636b21
UD
257662011-07-06 Ulrich Drepper <drepper@gmail.com>
25767
25768 [BZ #12922]
25769 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
25770 but no long options are defined, just return 'W'.
25771
9895c8bc
UD
257722011-06-22 Marek Polacek <mpolacek@redhat.com>
25773
25774 [BZ #9696]
25775 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
25776
5d4cf042
UD
257772011-07-06 Ulrich Drepper <drepper@gmail.com>
25778
25779 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
25780 netgroups to read.
960e5535 25781 (innetgr): Likewise.
5d4cf042 25782
751eb97e
RM
257832011-07-05 Roland McGrath <roland@hack.frob.com>
25784
25785 * config.make.in (install_root): Default to $(DESTDIR).
25786
f15f1e45
UD
257872011-07-05 Ulrich Drepper <drepper@gmail.com>
25788
25789 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
25790
4e34ac6a
RM
257912011-07-02 Roland McGrath <roland@hack.frob.com>
25792
5e9b6af4
RM
25793 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
25794
84f9ea0f
RM
25795 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
25796 containing directory rather than embedding absolute directory names.
25797
ea5ee9f7
RM
25798 * scripts/check-local-headers.sh: Rewritten using awk.
25799 Match by word, not by line. Print error messages for matches.
25800 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
25801
1b74661a
RM
25802 * Makerules [shlib-lds-flags empty]:
25803 ($(common-objpfx)libc_pic.opts): New target.
25804 ($(common-objpfx)libc_pic.os.clean): New target.
25805 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
25806
25807 * config.make.in (OBJCOPY): New variable.
25808 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
25809 * configure: Regenerated.
25810
f781ef40
RM
25811 * config.make.in (use-default-link): New variable.
25812 * configure.in (use_default_link): Grok --with-default-link to set it.
25813 * configure: Regenerated.
25814 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
25815 (shlib-lds, shlib-lds-flags): Define to empty.
25816
2d4fa81e
RM
25817 * Makerules (shlib-lds): New variable.
25818 (shlib-lds-flags): New variable.
25819 (build-shlib, build-moduile, build-module-asneeded): Use it.
25820 ($(common-objpfx)libc.so): Use $(shlib-lds).
25821 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
25822 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
25823
31fffa6b
RM
25824 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
25825 DT_FLAGS/DT_FLAGS_1 with zero flags.
25826
4e34ac6a
RM
25827 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
25828 linker script munging.
25829
fcfc776b
UD
258302011-07-02 Ulrich Drepper <drepper@gmail.com>
25831
25832 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
25833 as 128-bit value.
25834 * crypt/sha512.c (sha512_process_block): Perform total addition using
25835 128-bit if possible.
25836 (__sha512_finish_ctx): Likewise.
25837 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
25838 as 64-bit value.
25839 * crypt/sha256.c (SWAP64): Define.
25840 (sha256_process_block): Perform total addition using 64-bit if
25841 possible.
25842 (__sha256_finish_ctx): Likewise.
25843
99231d9a
UD
258442011-07-01 Ulrich Drepper <drepper@gmail.com>
25845
25846 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
25847 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25848 * nscd/hstcache.c (cache_addhst): Likewise.
25849 * nscd/grpcache.c (cache_addgr): Likewise.
25850 * nscd/aicache.c (addhstaiX): Likewise
25851 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
25852
445b4a53
TK
258532011-07-01 Thorsten Kukuk <kukuk@suse.de>
25854
25855 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
25856 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25857 * nscd/hstcache.c (cache_addhst): Likewise.
25858 * nscd/grpcache.c (cache_addgr): Likewise.
25859 * nscd/aicache.c (addhstaiX): Likewise
25860
6d4d8e8e
AS
258612011-07-01 Andreas Schwab <schwab@redhat.com>
25862
25863 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
25864 domain only when needed.
25865
89f654c5
AS
258662011-06-30 Andreas Schwab <schwab@redhat.com>
25867
25868 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
25869 is always restored.
25870
cf3b23ff
UD
258712011-06-29 Ulrich Drepper <drepper@gmail.com>
25872
25873 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
25874 are re-adding the entry.
25875 * nscd/servicescache.c (cache_addserv): Likewise.
25876
751626f9
AJ
258772011-06-30 Aurelien Jarno <aurelien@aurel32.net>
25878
25879 * sysdeps/generic/dl-irel.h: fix protection against multiple
25880 inclusions.
25881 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
25882
9113ea1f
UD
258832011-06-28 Ulrich Drepper <drepper@gmail.com>
25884
5c0b8d90
UD
25885 [BZ #12935]
25886 * malloc/memusage.sh: Fix quoting in message.
25887 * debug/xtrace.sh: Likewise.
25888
9113ea1f
UD
25889 * configure.in: Remove support for --experimental-malloc option, make
25890 it the default.
25891 * config.make.in: Likewise.
25892 * malloc/Makefile: Likewise.
25893
a4172181
AS
258942011-06-27 Andreas Schwab <schwab@redhat.com>
25895
25896 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
25897 two-byte characters.
25898
78a7eee7
RM
258992011-06-27 Roland McGrath <roland@hack.frob.com>
25900
62bede13
RM
25901 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
25902 AC_CACHE_CHECK invocation.
25903 * configure: Regenerated.
25904
78a7eee7
RM
25905 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
25906
5ce33a62
UD
259072011-06-27 Ulrich Drepper <drepper@gmail.com>
25908
034807a9
UD
25909 [BZ #12350]
25910 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
25911 bit from old_res_options.
25912
4902da17
UD
25913 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
25914
5ce33a62
UD
25915 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
25916 value type for setfct.
25917
c2344f56
L
259182011-06-23 H.J. Lu <hongjiu.lu@intel.com>
25919
25920 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
25921 __gettimeofday instead of gettimeofday.
25922
68468076
UD
259232011-06-26 Ulrich Drepper <drepper@gmail.com>
25924
25925 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
25926
acb0d739
L
259272011-06-24 H.J. Lu <hongjiu.lu@intel.com>
25928
25929 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
25930
25931 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
25932 info.
25933
8912479f
L
259342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25937 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25938 strcpy-sse2-unaligned strncpy-sse2-unaligned
25939 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
25940 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
25941 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
25942 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
25943 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
25944 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
25945 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
25946 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
25947 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
25948 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
25949 (STRCPY): Support SSE2 and SSSE3 versions.
25950
d5495a11
UD
259512011-06-24 Ulrich Drepper <drepper@gmail.com>
25952
25953 [BZ #12874]
25954 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
25955 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
25956 kernels which artificially limit size of requests.
25957
0b1cbaae
L
259582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
25959
25960 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
25961 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
25962 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
25963 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
25964 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
25965 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
25966 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
25967 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
25968 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
25969 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
25970 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
25971 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
25972 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
25973 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
25974 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
25975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25976 Enable unaligned load optimization for Intel Core i3, i5 and i7
25977 processors.
25978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
25979 Define.
25980 (index_Fast_Unaligned_Load): Define.
25981 (HAS_FAST_UNALIGNED_LOAD): Define.
25982
07f494a0
MP
259832011-06-23 Marek Polacek <mpolacek@redhat.com>
25984
25985 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
25986
fa3fc0fe
UD
259872011-06-22 Ulrich Drepper <drepper@gmail.com>
25988
25989 [BZ #12907]
25990 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
25991 until it is clear that the information is realy needed.
25992 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
25993
e12df166
AS
259942011-06-22 Andreas Schwab <schwab@redhat.com>
25995
25996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
25997
852eb34d
UD
259982011-06-22 Ulrich Drepper <drepper@gmail.com>
25999
84e2a551
UD
26000 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
26001 /sys/devices/system/cpu/online if it is usable.
26002
852eb34d
UD
26003 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
26004 reading the information from the /proc filesystem to once a second.
26005
6e502e19
UD
260062011-06-21 Andreas Jaeger <aj@suse.de>
26007
26008 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
26009 NULL after inclusion of kernel headers.
26010
75d39ff2
UD
260112011-06-21 Ulrich Drepper <drepper@gmail.com>
26012
51f9aa6a
UD
26013 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
26014 calls to internal_setent.
26015
c0244a9d
UD
26016 [BZ #12885]
26017 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
26018 addresses using gethostbyname4_r ignore IPv4 addresses.
26019
c5e3c2ae
UD
26020 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
26021 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
26022
75d39ff2
UD
26023 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
26024
42675c6f
DM
260252011-06-20 David S. Miller <davem@davemloft.net>
26026
26027 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
26028 inclusions.
26029 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
26030
26031 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
26032 (elf_irel): Use it.
26033 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
26034 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
26035 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
26036 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
26037 * sysdeps/x86_64/dl-irel.h: Likewise.
26038
26039 * elf/dl-runtime.c: Use elf_ifunc_invoke.
26040 * elf/dl-sym.c: Likewise.
26041
57912a71
UD
260422011-06-15 Ulrich Drepper <drepper@gmail.com>
26043
26044 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
26045 need to dereference resplen2.
26046
ee22793d
AS
260472011-06-14 Andreas Schwab <schwab@redhat.com>
26048
26049 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
26050
a9e836b0
UD
260512011-06-15 Ulrich Drepper <drepper@gmail.com>
26052
77fb9117
UD
26053 * Makeconfig: Define vardbdir and inst_vardbdir.
26054 * nss/Makefile: Add rules to install db-Makefile.
26055
40c1b22c
UD
26056 * nss/nss_db/db-XXX.c: Cleanup.
26057
9f2da732
UD
26058 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
26059 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
26060 GLIBC_PRIVATE.
26061 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
26062 * nss/makedb.c: Implement -g option to specify that value strings
26063 are generated and should not be added to table iterated over for
26064 get*ent calls.
26065 * nss/nss_db/db-initgroups.c: New file.
26066
82e9a1f7
UD
26067 * nss/getent.c: Add support for initgroups lookups through getgrouplist
26068 interface.
26069
c41af17e
UD
26070 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
26071 (internal_getgrouplist): Adjust to name change.
26072 Update use_initgroups_entry if this is not the first call.
26073 * nss/databases.def: Add initgroups entry.
26074
a9e836b0
UD
26075 * nss/makedb.c (compute_tables): Check result of multiple hash table
26076 sizes to minimize maximum chain length.
26077
2666d441
UD
260782011-06-14 Ulrich Drepper <drepper@gmail.com>
26079
26080 * Versions.def: Add entry for libnss_db.
26081 * shlib-versions: Likewise.
26082 * nss/Makefile: Add rules to build libnss_db.
26083 * nss/Versions: Add libnss_db information. Organize libnss_files
26084 entries better.
26085 * nss/db-Makefile: Add gshadow support. Change rules for the new
26086 makedb progra. Some minor improvements to generate smaller files.
26087 * nss/nss_db/nss_db.h: Move NSS database header data structures to
26088 here from...
26089 * nss/makedb.c: ...here.
26090 Improve database format to be smaller and require less memory at
26091 runtime.
26092 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
26093 db anymore.
26094 * nss/nss_db/db-netgrp.c: Likewise.
26095 * nss/nss_db/db-open.c: Likewise.
26096 * nss/nss_files/flies-XXX.x: Adjust comments.
26097 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
26098 * nss/nss_files/files-grp.c: Likewise.
26099 * nss/nss_files/files-hosts.c: Likewise.
26100 * nss/nss_files/files-network.c: Likewise.
26101 * nss/nss_files/files-proto.c: Likewise.
26102 * nss/nss_files/files-pwd.c: Likewise.
26103 * nss/nss_files/files-rpc.c: Likewise.
26104 * nss/nss_files/files-service.c: Likewise.
26105 * nss/nss_files/files-sgrp.c: Likewise.
26106 * nss/nss_files/files-spwd.c: Likewise.
26107 * nss/nss_db/db-alias.c: Removed.
26108 * nss/nss_db/dummy-db.h: Removed.
26109
9ee76b5a
UD
261102011-06-02 Ulrich Drepper <drepper@gmail.com>
26111
26112 * nss/makedb.c: Rewritten to not use database library.
26113 * nss/Makefile: Update to build new makedb program.
26114
c71ca1f8
AJ
261152011-06-14 Andreas Jaeger <aj@suse.de>
26116
26117 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
26118 memset declaration.
26119
3154bfb8
UD
261202011-06-10 Andreas Schwab <schwab@redhat.com>
26121
26122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
26123 tmpbuf.
26124
b350afab
RM
261252011-06-10 Roland McGrath <roland@hack.frob.com>
26126
decd4e50
RM
26127 * Makerules (shlib.lds): Fail if the linker script comes out empty.
26128 * elf/Makefile ($(objpfx)ld.so): Likewise.
26129
5615eaf2
RM
26130 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
26131 Don't list ld.so twice in dependencies.
26132
26133 * posix/bug-regex31.c: Include <stdlib.h>.
26134
26135 * nscd/hstcache.c (cache_addhst): Remove unused variable.
26136
26137 * nis/nss_compat/compat-spwd.c
26138 (getspent_next_nss_netgr): Remove unused variable.
26139 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
26140
26141 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
26142 nonmembers" output to use the right array.
26143
26144 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
26145
26146 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
26147
26148 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
26149 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
26150 * catgets/gencat.c (read_input_file): Likewise.
26151 * locale/programs/locarchive.c (enlarge_archive): Likewise.
26152
26153 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
26154 variable definition inside #if's controlling its use.
26155
26156 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
26157
26158 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
26159
26160 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
26161
26162 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
26163 unreachable code.
26164
26165 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
26166
b68e08db
RM
26167 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
26168 * configure: Regenerated.
26169
b350afab
RM
26170 * Makerules: Revert last change.
26171 * elf/Makefile: Likewise.
26172
28368601
RM
261732011-06-09 Roland McGrath <roland@hack.frob.com>
26174
26175 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
26176 * elf/Makefile ($(objpfx)librtld.os): Likewise.
26177 (reloc-link): Likewise.
26178
11988f8f
UD
261792011-06-09 Ulrich Drepper <drepper@gmail.com>
26180
26181 * elf/Makefile: Add rules to build pldd.
26182 * elf/pldd.c: New file.
26183 * elf/pldd-xx.c: New file.
26184
e80fab37
UD
261852011-06-07 Ulrich Drepper <drepper@gmail.com>
26186
26187 * version.h: Update for 2.15 development version.
26188
9b849836
DM
261892011-06-07 David S. Miller <davem@davemloft.net>
26190
26191 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
26192 ifuncs.
26193 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
26194 elf_machine_lazy_rel): Likewise.
26195 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26196 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
26197 elf_machine_lazy_rel): Likewise.
26198 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
26199 dl_hwcap via passed in argument.
26200 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
26201 Likewise.
26202
5a31b283
AK
262032011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26204
26205 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
26206
069e52f8
RM
262072011-06-06 Roland McGrath <roland@hack.frob.com>
26208
26209 [BZ #12849]
26210 * manual/fdl-1.1.texi: New file, verbatim from:
26211 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
26212 * manual/lgpl-2.1.texi: New file, verbatim from:
26213 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
26214 * manual/Makefile (licenses): New variable, list those new file names.
26215 (texis): Use it.
26216 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
26217
26218 * manual/fdl.texi: File removed.
26219 * manual/lesser.texi: File removed.
26220 * manual/libc.texinfo (Copying, Documentation License):
26221 Use new @include file names, put @appendix directive before @include.
26222
f16846a5
JJ
262232011-06-04 Jakub Jelinek <jakub@redhat.com>
26224
26225 [BZ #12841]
26226 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
26227 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
26228 (mq_open): Add __NTH.
26229
3d29045b
L
262302011-06-02 H.J. Lu <hongjiu.lu@intel.com>
26231
26232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26233 Assume Intel Core i3/i5/i7 processor if AVX is available.
26234
8c297311
UD
262352011-05-31 Ulrich Drepper <drepper@gmail.com>
26236
26237 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26238 typo.
26239
c8fc0c91
UD
262402011-05-31 Andreas Schwab <schwab@redhat.com>
26241
26242 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
26243 memory. Use alloca_account. Fix memory leak when retrying.
26244
5b27a807
UD
262452011-05-31 Ulrich Drepper <drepper@gmail.com>
26246
356f8bc6
UD
26247 * version.h (RELEASE): Bump for 2.14 release.
26248 * include/features.h (__GLIBC_MINOR__): Bump to 14.
26249
5b27a807
UD
26250 * config.make.in (RANLIB): Remove entry.
26251
01f16ab0
UD
262522011-05-30 Ulrich Drepper <drepper@gmail.com>
26253
41fce8bd
UD
26254 * po/Makefile (po-sed-cmd): Add ksh to extensions.
26255 (libc.pot): Work around missing support for .ksh extension in xgettext.
26256
4769ae77
UD
26257 [BZ #12684]
26258 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
26259 if both request failed.
26260 (send_dg): In case of server errors clear resplen or *resplen2.
26261
6b1e7d19
UD
26262 [BZ #12454]
26263 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
26264 when there are multiple maps.
26265 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
26266 (_dl_fini): Remove test here.
26267
01f16ab0
UD
26268 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
26269
b1ebd700
UD
262702011-05-29 Ulrich Drepper <drepper@gmail.com>
26271
7ae22829
UD
26272 [BZ #12350]
26273 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
26274 bit from old_res_options.
26275 (gaih_inet): Likewise.
26276
553149f6 26277 [BZ #11099]
18a84741 26278 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
26279 as signed.
26280
652ffab1
UD
26281 * resolv/res_init.c (res_setoptions): Make the code more compact.
26282
16985fd0
UD
26283 [BZ #11558]
26284 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
26285 set RES_USEVC.
26286
0464f746
UD
26287 [BZ #11634]
26288 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
26289
7d17596c
UD
26290 * malloc/malloc.h: Mark malloc hook variables as deprecated.
26291
cf6bbbd7
UD
26292 [BZ #11781]
26293 * malloc/malloc.h: Declare malloc hook variables as volatile.
26294
13f1ab36
UD
26295 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
26296 in last patch.
26297
b1ebd700
UD
26298 [BZ #11799]
26299 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 26300 raise in the comment.
80e2212d
UD
26301 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26303 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 26304
ce67228d
UD
263052011-05-28 Ulrich Drepper <drepper@gmail.com>
26306
8887a920
UD
26307 [BZ #12811]
26308 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
26309 grow the buffers more if it already has to be sufficient.
26310 (build_wcs_upper_buffer): Likewise.
26311 * posix/regexec.c (check_matching): Likewise.
26312 (clean_state_log_if_needed): Likewise.
26313 (extend_buffers): Don't enlarge buffers beyond size of the input
26314 buffer.
26315 Patches mostly by Emil Wojak <emil@wojak.eu>.
26316 * posix/bug-regex32.c: New file.
26317 * posix/Makefile (tests): Add bug-regex32.
26318
4f031072
UD
26319 * locale/findlocale.c (_nl_find_locale): Return right away if
26320 _nl_explode_name failed.
26321 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
26322
d0478f0c
UD
26323 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
26324
de81b246
UD
26325 * debug/xtrace.sh: Unify messages.
26326 * malloc/memusage.sh: Likewise.
26327
c738465a
UD
26328 [BZ #12813]
26329 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
26330 time symbol from vDSO. Substitute with vsyscall if not available.
26331 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
26332 __vdso_time.
26333
f1f929d7
UD
26334 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
26335 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
26336 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
26337 Add sendmmsg and internal_sendmmsg.
26338 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
26339 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
26340 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
26341
ce67228d
UD
26342 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
26343 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
26344 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
26345
e57420c6
UD
263462011-05-27 Ulrich Drepper <drepper@gmail.com>
26347
a8509ca5
UD
26348 [BZ #12813]
26349 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
26350 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
26351 available.
26352 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
26353 __vdso_getcpu.
26354
e57420c6
UD
26355 [BZ #12814]
26356 * iconvdata/Makefile (tests): Add bug-iconv9.
26357 * iconvdata/bug-iconv9.c: New file.
26358
4d07db15
AS
263592011-05-27 Andreas Schwab <schwab@redhat.com>
26360
26361 [BZ #12814]
26362 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
26363
ea486f69
JJ
263642011-05-25 Jakub Jelinek <jakub@redhat.com>
26365
26366 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26367 (struct user_regs_struct): Change intcs field back to cs.
26368
6f038433
UD
263692011-05-25 Ulrich Drepper <drepper@gmail.com>
26370
26371 * po/ja.po: Update from translation team.
26372
67f86a25
UD
263732011-05-23 Ulrich Drepper <drepper@gmail.com>
26374
26375 [BZ #12795]
26376 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
26377 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
26378
def7fbd6
AS
263792011-05-20 Andreas Schwab <schwab@redhat.com>
26380
26381 * stdlib/longlong.h: Update from GCC.
26382
f50ef8f1
AS
263832011-05-23 Andreas Schwab <schwab@redhat.com>
26384
26385 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
26386 parameter name.
26387 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
26388 Add parameter name.
26389 (__sysconf): Pass it down.
26390
de7ce8f1
UD
263912011-05-22 Ulrich Drepper <drepper@gmail.com>
26392
f2962a71
UD
26393 [BZ #12671]
26394 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
26395 some situations.
26396 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26397 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
26398 add in in __libc_use_alloca calls. Adjust callers.
26399 (glob): Use malloc in some situations.
26400
de7ce8f1
UD
26401 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
26402 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
26403 pltexit.
26404
aec84f53
UD
264052011-05-21 Ulrich Drepper <drepper@gmail.com>
26406
05bb4a68
UD
26407 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
26408 and CLOCK_BOOTTIME_ALARM.
26409
7ea72f99
UD
26410 [BZ #12782]
26411 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
26412 is returned.
26413
7e4afad5
UD
26414 * string/_strerror.c (__strerror_r): Print negative errors as signed
26415 numbers.
26416
8e211fec
UD
26417 [BZ #12777]
26418 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
26419 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
26420 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
26421
f7d82dc9
UD
26422 * configure.in: Fix typo in redirection and correct removal of test
26423 files in two cases.
26424
cc9e536d
UD
26425 [BZ #12788]
26426 * locale/setlocale.c (new_composite_name): Fix test to check for
26427 identical name of all categories.
26428
aec84f53
UD
26429 [BZ #12792]
26430 * libio/filedoalloc.c (local_isatty): New function.
26431 (_IO_file_doallocate): Use local_isatty.
26432 * stdio-common/perror.c (perror): In case a new stream is used
26433 forward the stream error.
26434 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
26435 error flag.
26436
78e64fdc
RT
264372011-05-20 Ulrich Drepper <drepper@gmail.com>
26438
34a9094f
UD
26439 [BZ #11869]
26440 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
26441 alloca.
26442 * include/alloca.h (extend_alloca_account): Define.
26443
78e64fdc
RT
26444 [BZ #11857]
26445 * posix/regex.h: Fix comments with documentation of user-accessible
26446 fields after compilation and describe correct free'ing of pattern
26447 after re_compile_pattern.
26448 Patch by Reuben Thomas <rrt@sc3d.org>.
26449
457bddfc
RA
264502011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
26451
26452 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
26453 and -mno-altivec to prevent the compiler from using Altivec and/or
26454 VSX instructions when the corresponding registers are not available.
26455
a4527b51
AS
264562011-05-19 Andreas Schwab <schwab@redhat.com>
26457
26458 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
26459
ed690b2f
UD
264602011-05-19 Ulrich Drepper <drepper@gmail.com>
26461
26462 * libio/freopen.c (freopen): Use __dup2, not dup2.
26463 * libio/freopen64.c (freopen64): Likewise.
26464
8db73634
L
264652011-05-17 H.J. Lu <hongjiu.lu@intel.com>
26466
26467 [BZ #12775]
26468 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
26469 * math/Makefile (tests): Add test-powl.
26470 (CFLAGS-test-powl.c): Define.
26471 * math/test-powl.c: New file.
26472
0a197a9d
L
264732011-05-16 H.J. Lu <hongjiu.lu@intel.com>
26474
26475 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
26476
ee30c380
UD
264772011-05-17 Ulrich Drepper <drepper@gmail.com>
26478
26479 [BZ #11837]
26480 * iconvdata/gb18030.c: Update to GB18020-2005.
26481
6ce75379
UD
264822011-05-16 Ulrich Drepper <drepper@gmail.com>
26483
a4b89fd8
AR
26484 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
26485 RE_SYNTAX_POSIX_AWK): Update to match recent development.
26486 Patch by Aharon Robbins <arnold@skeeve.com>.
26487
ea389b12
UD
26488 [BZ #11892]
26489 * stdlib/putenv.c (putenv): Don't always create copy of the variable
26490 on the stack.
26491
68a3f91f
UD
26492 [BZ #11895]
26493 * misc/pselect.c (__pselect): Handle timeout value errors hidden
26494 through underflows.
26495
15cc7dd1
UD
26496 [BZ #12766]
26497 * misc/error.c (error_at_line): Ensure file_name and old_file_name
26498 point to strings before performing equality test for error_one_per_line
26499 mode.
26500
f3799213
UD
26501 [BZ #11697]
26502 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
26503
d79a9c94
UD
26504 [BZ #11820]
26505 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
26506 (struct user_fpregs_struct): Avoid __uint*_t types.
26507
56e5eb46
UD
26508 [BZ #6420]
26509 * malloc/mtrace.c (tr_where): Add additional parameter to point to
26510 symbol info. Use it instead of calling _dl_addr locally.
26511 (lock_and_info): New function.
26512 (tr_freehook): Call lock_and_info and pass symbol info as additional
26513 parameter to tr_where.
26514 (tr_mallochook): Likewise.
26515 (tr_reallochook): Likewise.
26516 (tr_memalignhook): Likewise.
26517
6ce75379
UD
26518 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
26519 used and couldn't be at all thread-safe.
26520
f8a3b5bf
UD
265212011-05-15 Ulrich Drepper <drepper@gmail.com>
26522
94b7cc37
UD
26523 * libio/freopen.c (freopen): Don't close old file descriptor
26524 before the new one is opened. Instead dup the new file descriptor
26525 to the old one after the new stream is created.
26526 * libio/freopen64.c (freopen64): Likewise.
26527 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
26528 * libio/fileops.c (_IO_new_file_close_it): Handle new
26529 _IO_FLAGS2_NOCLOSE flag.
26530 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
26531 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
26532 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
26533 _IO_FLAGS2_NOCLOSE flag.
26534 * include/unistd.h: Add hidden_proto for dup3.
26535 Define __have_dup3.
26536 * io/dup3.c: Define hidden symbol.
26537 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
26538
bd25564e
UD
26539 [BZ #7101]
26540 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
26541 when an incomplete long option is used.
26542 * posix/tst-getopt_long1.c: New file.
26543 * posix/Makefile (tests): Add tst-getopt_long1.
26544
c84cfef4
UD
26545 [BZ #10138]
26546 * scripts/config.guess: Update from autoconf-2.68.
26547 * scripts/config.sub: Likewise.
26548
3b85df27
UD
26549 [BZ #10157]
26550 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
26551 tests into ...
26552 (has_cpuclock): ...this. New function.
26553 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
26554 macro here based on has_cpuclock code.
26555
15a856b1
UD
26556 [BZ #10149]
26557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26558 First byte (not low byte) is now always NUL.
26559 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
26560
05f399e6
UD
26561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26562 Use non-cancelable interfaces.
26563
10a52685 26564 [BZ #9809]
94ecc67d
UD
26565 * locale/iso-639.def: Add entry for Sorani.
26566
f8a3b5bf
UD
26567 [BZ #11901]
26568 * include/stdlib.h: Move include protection to the right place.
26569 Define abort_msg_s. Declare __abort_msg with it.
26570 * stdlib/abort.c (__abort_msg): Adjust type.
26571 * assert/assert.c (__assert_fail_base): New function. Majority
26572 of code from __assert_fail. Allocate memory for __abort_msg with
26573 mmap.
26574 (__assert_fail): Now call __assert_fail_base.
26575 * assert/assert-perr.c: Remove bulk of implementation. Use
26576 __assert_fail_base.
26577 * include/assert.hL Declare __assert_fail_base.
26578 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
26579 mmap.
26580 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
26581
1af4e298
UD
265822011-05-14 Ulrich Drepper <drepper@gmail.com>
26583
f8a3b5bf 26584 [BZ #11952]
d26dfc60
MG
26585 [BZ #12453]
26586 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
26587 until all modules are registered in the DTV.
26588 * elf/Makefile: Add rules to build and run tst-tls19.
26589 * elf/tst-tls19.c: New file.
26590 * elf/tst-tls19mod1.c: New file.
26591 * elf/tst-tls19mod2.c: New file.
26592 * elf/tst-tls19mod3.c: New file.
26593 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
26594
2fc54d6f
UD
26595 [BZ #12083]
26596 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
26597 correctly.
26598
98d76b46
UD
26599 [BZ #12601]
26600 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
26601 two-byte sequence errors.
26602 * iconvdata/Makefile (tests): Add bug-iconv8.
26603 * iconvdata/bug-iconv8.c: New file.
26604
da3c19ef
UD
26605 [BZ #12626]
26606 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
26607 buf2 definition.
26608
ca408c15
UD
26609 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
26610
d6f67f7d
UD
26611 [BZ #12432]
26612 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
26613 (dummy_getcfa): New function.
26614 (init): Get _Unwind_GetCFA address, use dummy if not found.
26615 (backtrace_helper): In recursion check, also check whether CFA changes.
26616 (__backtrace): Completely initialize arg.
26617
1af4e298 26618 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
26619 storing incomplete byte sequence in state object. Avoid testing for
26620 guaranteed too small input if we know there is enough data available.
1af4e298 26621
da62f81b
AS
266222011-05-11 Andreas Schwab <schwab@redhat.com>
26623
26624 * Makeconfig (+link-pie): Indent.
26625 * Rules (binaries-pie): Define if $(have-fpie) and
26626 $(build-shared).
26627 (binaries-shared): Also filter out $(binaries-pie).
26628 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
26629 * nscd/Makefile (others-pie): Add nscd.
26630 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
26631 ($(objpfx)nscd): Remove command override.
26632 * login/Makefile (others-pie): Add pt_chown.
26633 ($(objpfx)pt_chown): Remove command override.
26634 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
26635 remove command overrides.
26636
fcabc0f8
UD
266372011-05-13 Ulrich Drepper <drepper@gmail.com>
26638
20030ae6
UD
26639 * libio/tst_putwc.c: Fix error messages.
26640
fcabc0f8
UD
26641 [BZ #12724]
26642 * libio/fileops.c (_IO_new_file_close_it): Always flush when
26643 currently writing and seek to current position when not.
26644 * libio/Makefile (tests): Add bug-fclose1.
26645 * libio/bug-fclose1.c: New file.
26646
320a5dc0
PB
266472011-05-12 Ulrich Drepper <drepper@gmail.com>
26648
26649 [BZ #12511]
26650 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
26651 don't set DF_1_NODELETE here.
26652 (do_lookup_x): When entering new entry test for copy relocation
26653 and if necessary set DF_1_NODELETE flag.
26654 * elf/tst-unique4.cc: New file.
26655 * elf/tst-unique4.h: New file.
26656 * elf/tst-unique4lib.cc: New file.
26657 * elf/Makefile: Add rules to build and run tst-unique4.
26658 Patch by Piotr Bury <pbury@goahead.com>.
26659
22836f52
UD
266602011-05-11 Ulrich Drepper <drepper@gmail.com>
26661
f574184a
UD
26662 [BZ #12052]
26663 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
26664
e1fb097f
UD
26665 [BZ #12625]
26666 * misc/mntent_r.c (addmntent): Flush the stream after the output
26667
22836f52
UD
26668 [BZ #12393]
26669 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
26670 (is_trusted_path_normalize): Skip initial colon. Append slash
26671 to empty buffer. Duplicate is_trusted_path code but allow
26672 constructed patch to be prefix.
26673 (is_dst): Allow $ORIGIN followed by /.
26674 (_dl_dst_substitute): Correct clearing of check_for_trusted.
26675 Correct testing of result of is_trusted_path_normalize
26676 (decompose_rpath): Fix warning.
26677
7b3b0b2a
UD
266782011-05-10 Ulrich Drepper <drepper@gmail.com>
26679
26680 [BZ #11257]
26681 * grp/initgroups.c (internal_getgrouplist): When we found the service
26682 list through the initgroups entry in nsswitch.conf do not always
26683 continue on a successful lookup. Don't always use the
eac80ce2 26684 __nss_group_database value if it is set.
7b3b0b2a
UD
26685 * nss/nsswitch.conf (initgroups): Change action for successful db
26686 lookup to continue for compatibility.
26687
2a81eaa5
UD
266882011-05-09 Ulrich Drepper <drepper@gmail.com>
26689
be97a69e
UD
26690 [BZ #11532]
26691 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
26692 and CP774 modules.
26693 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
26694 and CP774 modules.
26695 * iconvdata/tst-tables.sh: Likewise.
26696 * iconvdata/cp770.c: New file.
26697 * iconvdata/cp771.c: New file.
26698 * iconvdata/cp772.c: New file.
26699 * iconvdata/cp773.c: New file.
26700 * iconvdata/cp774.c: New file.
26701 * iconvdata/testdata/CP770: New file.
26702 * iconvdata/testdata/CP770..UTF8: New file.
26703 * iconvdata/testdata/CP771: New file.
26704 * iconvdata/testdata/CP771..UTF8: New file.
26705 * iconvdata/testdata/CP772: New file.
26706 * iconvdata/testdata/CP772..UTF8: New file.
26707 * iconvdata/testdata/CP773: New file.
26708 * iconvdata/testdata/CP773..UTF8: New file.
26709 * iconvdata/testdata/CP774: New file.
26710 * iconvdata/testdata/CP774..UTF8: New file.
26711
26712 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
26713 END CHARMAP line.
26714 * iconvdata/gen-8bit-gap.sh: Likewise.
26715 * iconvdata/gen-8bit.sh: Likewise.
26716
c1e9e399
UD
26717 * locale/iso-639.def: Add ary entry.
26718
24c55fb3 26719 [BZ #11258]
96b4b1b0
UD
26720 * locale/C-translit.h.in: Add U20A1 transliteration.
26721
bdc2f971
KB
26722 [BZ #12178]
26723 * locale/iso-639.def: Add wae entry.
26724 Patch by Kevin Bortis <bortis@translate-wae.ch>.
26725
2952b117
UD
26726 [BZ #12545]
26727 * locale/programs/localedef.c (construct_output_path): Use ssize_t
26728 for n.
26729
2a81eaa5
UD
26730 [BZ #12711]
26731 * locale/C-translit.h.in: Add entry for U20B9.
26732 Patch by pravin.d.s@gmail.com.
26733
28377d1b
UD
267342011-05-08 Ulrich Drepper <drepper@gmail.com>
26735
7fb90fb8
UD
26736 [BZ #12713]
26737 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
26738 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
26739 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
26740 in rtld. Use *stat64.
7fb90fb8 26741 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 26742 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 26743 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
26744 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
26745 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
26746 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
26747 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
26748 __fstatat64 macros.
7fb90fb8
UD
26749 * include/dirent.h: Add libc_hidden_proto for rewinddir.
26750 * dirent/rewinddir.c: Add libc_hidden_def.
26751 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 26752 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 26753
28377d1b
UD
26754 * include/dirent.h (__alloc_dir): Add flags parameter.
26755 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
26756 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
26757 __alloc_dir.
26758 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
26759 from fdopendir if O_CLOEXEC is already set.
26760
66bdbaa4
AM
267612011-03-15 Alan Modra <amodra@gmail.com>
26762
26763 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
26764 l_tls_firstbyte_offset non-zero. Save padding offset in
26765 l_tls_firstbyte_offset for later use.
26766 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
26767 freeing static tls block.
26768
95721191
JN
267692011-03-05 Jonathan Nieder <jrnieder@gmail.com>
26770
26771 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
26772 where #ifdef was intended. The intent is to prevent ARG_MAX from
26773 being defined by the kernel headers.
26774
f87dfb1f
UD
267752011-05-07 Ulrich Drepper <drepper@gmail.com>
26776
26777 [BZ #12734]
26778 * resolv/resolv.h: Define RES_NOTLDQUERY.
26779 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
26780 no-tld-query and set RES_NOTLDQUERY.
26781 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
26782 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
26783 modern BIND to search name as TLD unless forbidden.
26784
47c3cd7a
UD
267852011-05-07 Petr Baudis <pasky@suse.cz>
26786 Ulrich Drepper <drepper@gmail.com>
26787
26788 [BZ #12393]
26789 * elf/dl-load.c (fillin_rpath): Move trusted path check...
26790 (is_trusted_path): ...to here.
c1e9ea35 26791 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 26792 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 26793 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 26794
8a35c912
PP
267952011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26796
26797 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
26798 __BEGIN/__END_DECLS.
26799
acd41f47
UD
268002011-05-06 Ulrich Drepper <drepper@gmail.com>
26801
26802 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
26803 NSS_STATUS_NOTFOUND if no record was found.
26804
597df647
AS
268052011-05-05 Andreas Schwab <schwab@redhat.com>
26806
26807 * sunrpc/Makefile (headers): Add rpc/netdb.h.
26808 (headers-not-in-tirpc): Remove rpc/netdb.h
26809 * resolv/netdb.h: Revert last change.
26810
b9af1301
PP
268112011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26812
26813 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
26814 circular dependency between libgcc.a and libc.a.
26815
4e34d5f5
AS
268162011-05-05 Andreas Schwab <schwab@redhat.com>
26817
26818 * resolv/netdb.h: Don't include <rpc/netdb.h>.
26819 * nis/Makefile: Don't install rpcsvc/*.
26820 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
26821 instead of <rpc/types.h>.
26822 (MAXHOSTNAMELEN): Define.
26823
00ee369c
AS
268242011-05-03 Andreas Schwab <schwab@redhat.com>
26825
26826 * elf/ldconfig.c (add_dir): Don't crash on empty path.
26827
0b592a30
MB
268282011-04-28 Maciej Babinski <mbabinski@google.com>
26829
26830 [BZ #12714]
26831 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
26832 gethostbyname4_r when IPv6 results are possible.
26833
6e04cbbe
UD
268342011-05-02 Ulrich Drepper <drepper@gmail.com>
26835
26836 [BZ #12723]
26837 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
26838 _PC_PIPE_BUF handling.
26839
e4ecafe0
BH
268402011-04-30 Bruno Haible <bruno@clisp.org>
26841
26842 [BZ #12717]
26843 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
26844 * resolv/netdb.h (getnameinfo): Change type of flags parameter
26845 to 'int'.
26846 * inet/getnameinfo.c (getnameinfo): Likewise.
26847
125ee683
UD
268482011-04-29 Ulrich Drepper <drepper@gmail.com>
26849
26850 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
26851 to groups setting in database lookup.
26852 * nss/nsswitch.conf: Add initgroups entry.
26853
b722481a
EB
268542011-04-22 Ulrich Drepper <drepper@gmail.com>
26855
26856 [BZ #12685]
26857 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
26858 mode string.
26859 Patch by Eric Blake <eblake@redhat.com>.
26860
4df46dbd
L
268612011-04-20 H.J. Lu <hongjiu.lu@intel.com>
26862
26863 * sunrpc/Makefile (need-export-routines): Add svc_run.
26864 (routines): Remove svc_run.
26865 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
26866 * sunrpc/clnt_perr.c (clnt_perrno): Export.
26867 * sunrpc/svc_run.c (svc_run): Likewise.
26868 * sunrpc/svc_udp.c (svcudp_create): Likewise.
26869
e84142d2
UD
268702011-04-21 Ulrich Drepper <drepper@gmail.com>
26871
26872 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
26873 problem in reallocation in last patch.
26874
877175d8
UD
268752011-04-20 Ulrich Drepper <drepper@gmail.com>
26876
26877 * sunrpc/Makefile: Move inclusion of Rules.
26878
ab8eed78
UD
268792011-04-19 Ulrich Drepper <drepper@gmail.com>
26880
26881 * nss/nss_files/files-initgroups.c: New file.
26882 * nss/Makefile (libnss_files-routines): Add files-initgroups.
26883 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
26884 _nss_files_initgroups_dyn.
26885
e3d8f584
RS
268862011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
26887
26888 * elf/elf.h (R_ARM_IRELATIVE): Define.
26889
af190f45
UD
268902011-04-19 Ulrich Drepper <drepper@gmail.com>
26891
26892 * po/ru.po: Update from translation team.
26893
53cf59ef
UD
268942011-04-17 Ulrich Drepper <drepper@gmail.com>
26895
26896 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
26897 dependencies.
26898
4c559bcd
MF
268992011-02-06 Mike Frysinger <vapier@gentoo.org>
26900
26901 [BZ #12653]
26902 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
26903 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
26904 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26905 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26907
4420675c
AS
269082011-03-28 Andreas Schwab <schwab@linux-m68k.org>
26909
26910 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
26911 differing bytes.
26912 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26913 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26914 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26915
75ea32ab
UD
269162011-04-17 Ulrich Drepper <drepper@gmail.com>
26917
26918 [BZ #12420]
26919 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
26920 storing it.
26921 * stdlib/bug-getcontext.c: New file.
26922 * stdlib/Makefile: Add rules to build and run bug-getcontext.
26923
27390476
AK
269242011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26925
26926 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
26927 instructions into .machine "z9-109".
26928 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26929 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26930
10442705
AK
269312011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26932
26933 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
26934 between environment variables and auxiliary vector.
26935
7b57bfe5
UD
269362011-04-16 Ulrich Drepper <drepper@gmail.com>
26937
26938 * Makefile: Add rules to build linkobj/libc.so.
26939 * include/libc-symbols.h: Define libc_hidden_nolink.
26940 * include/rpc/auth.h: Mark functions which are to be hidden.
26941 * include/rpc/auth_des.h: Likewise.
26942 * include/rpc/auth_unix.h: Likewise.
26943 * include/rpc/clnt.h: Likewise.
26944 * include/rpc/des_crypt.h: Likewise.
26945 * include/rpc/key_prot.h: Likewise.
26946 * include/rpc/pmap_clnt.h: Likewise.
26947 * include/rpc/pmap_prot.h: Likewise.
26948 * include/rpc/pmap_rmt.h: Likewise.
26949 * include/rpc/rpc_msg.h: Likewise.
26950 * include/rpc/svc.h: Likewise.
26951 * include/rpc/svc_auth.h: Likewise.
26952 * include/rpc/xdr.h: Likewise.
26953 * nis/Makefile: Link all DSOs against linkobj/libc.so.
26954 * nss/Makefile: Likewise.
26955 * sunrpc/Makefile: Don't install headers. Build library with normal
26956 entry points. Don't build rpcinfo. Link RPC tests appropriately.
26957 * sunrpc/auth_des.c: Hide exported symbols by default, export some
26958 for the compat linking library. Remove use of INTDEF/INTUSE.
26959 * sunrpc/auth_none.c: Likewise.
26960 * sunrpc/auth_unix.c: Likewise.
26961 * sunrpc/authdes_prot.c: Likewise.
26962 * sunrpc/authuxprot.c: Likewise.
26963 * sunrpc/clnt_gen.c: Likewise.
26964 * sunrpc/clnt_perr.c: Likewise.
26965 * sunrpc/clnt_raw.c: Likewise.
26966 * sunrpc/clnt_simp.c: Likewise.
26967 * sunrpc/clnt_tcp.c: Likewise.
26968 * sunrpc/clnt_udp.c: Likewise.
26969 * sunrpc/clnt_unix.c: Likewise.
26970 * sunrpc/des_crypt.c: Likewise.
26971 * sunrpc/des_soft.c: Likewise.
26972 * sunrpc/get_myaddr.c: Likewise.
26973 * sunrpc/key_call.c: Likewise.
26974 * sunrpc/key_prot.c: Likewise.
26975 * sunrpc/netname.c: Likewise.
26976 * sunrpc/pm_getmaps.c: Likewise.
26977 * sunrpc/pm_getport.c: Likewise.
26978 * sunrpc/pmap_clnt.c: Likewise.
26979 * sunrpc/pmap_prot.c: Likewise.
26980 * sunrpc/pmap_prot2.c: Likewise.
26981 * sunrpc/pmap_rmt.c: Likewise.
26982 * sunrpc/publickey.c: Likewise.
26983 * sunrpc/rpc_cmsg.c: Likewise.
26984 * sunrpc/rpc_common.c: Likewise.
26985 * sunrpc/rpc_dtable.c: Likewise.
26986 * sunrpc/rpc_prot.c: Likewise.
26987 * sunrpc/rpc_thread.c: Likewise.
26988 * sunrpc/rtime.c: Likewise.
26989 * sunrpc/svc.c: Likewise.
26990 * sunrpc/svc_auth.c: Likewise.
26991 * sunrpc/svc_authux.c: Likewise.
26992 * sunrpc/svc_raw.c: Likewise.
26993 * sunrpc/svc_run.c: Likewise.
26994 * sunrpc/svc_simple.c: Likewise.
26995 * sunrpc/svc_tcp.c: Likewise.
26996 * sunrpc/svc_udp.c: Likewise.
26997 * sunrpc/svc_unix.c: Likewise.
26998 * sunrpc/svcauth_des.c: Likewise.
26999 * sunrpc/xcrypt.c: Likewise.
27000 * sunrpc/xdr.c: Likewise.
27001 * sunrpc/xdr_array.c: Likewise.
27002 * sunrpc/xdr_float.c: Likewise.
27003 * sunrpc/xdr_intXX_t.c: Likewise.
27004 * sunrpc/xdr_mem.c: Likewise.
27005 * sunrpc/xdr_rec.c: Likewise.
27006 * sunrpc/xdr_ref.c: Likewise.
27007 * sunrpc/xdr_sizeof.c: Likewise.
27008 * sunrpc/xdr_stdio.c: Likewise.
27009
e6c61494
UD
270102011-04-10 Ulrich Drepper <drepper@gmail.com>
27011
27012 [BZ #12650]
27013 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
27014 * sysdeps/ia64/dl-tls.h: Likewise.
27015 * sysdeps/powerpc/dl-tls.h: Likewise.
27016 * sysdeps/s390/dl-tls.h: Likewise.
27017 * sysdeps/sh/dl-tls.h: Likewise.
27018 * sysdeps/sparc/dl-tls.h: Likewise.
27019 * sysdeps/x86_64/dl-tls.h: Likewise.
27020 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
27021
34fe483e
AS
270222011-03-14 Andreas Schwab <schwab@redhat.com>
27023
27024 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
27025 rpath element also skip the following colon.
27026 (expand_dynamic_string_token): Add is_path parameter and pass
27027 down to DL_DST_REQUIRED and _dl_dst_substitute.
27028 (decompose_rpath): Call expand_dynamic_string_token with
27029 non-zero is_path. Ignore empty rpaths.
27030 (_dl_map_object_from_fd): Call expand_dynamic_string_token
27031 with zero is_path.
27032
f12a32e6
AS
270332011-04-08 Andreas Schwab <schwab@linux-m68k.org>
27034
27035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
27036 Make cancelable.
27037
38a7d692
UD
270382011-04-09 Ulrich Drepper <drepper@gmail.com>
27039
27040 [BZ #12655]
27041 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
27042 Patch by Filipe David Manana <fdmanana@apache.org>.
27043
e451d22b
AS
270442011-04-07 Andreas Schwab <schwab@redhat.com>
27045
27046 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
27047 Maintain aligned stack.
27048 (CHECK_RSP): Remove unused macro.
27049
dedc7c7b
UD
270502011-04-03 Ulrich Drepper <drepper@gmail.com>
27051
27052 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
27053 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
27054
94521213
UD
270552011-04-02 Ulrich Drepper <drepper@gmail.com>
27056
27057 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
27058
8cb700c0 27059 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 27060
0354e355
L
270612011-03-26 H.J. Lu <hongjiu.lu@intel.com>
27062
27063 [BZ #12518]
27064 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
27065 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
27066 * sysdeps/x86_64/memmove.c: New file.
27067 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
27068 (memcpy): Renamed to ...
27069 (__new_memcpy): This.
27070 (memcpy): Provide GLIBC_2_14 memcpy.
27071 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
27072 (memcpy): Provide GLIBC_2_2_5 memcpy.
27073
8593482f
UD
270742011-04-01 Ulrich Drepper <drepper@gmail.com>
27075
27076 [BZ #12631]
27077 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
27078
81a5726b
AS
270792011-03-30 Andreas Schwab <schwab@redhat.com>
27080
27081 * misc/syncfs.c: New file.
27082 * misc/Makefile (routines): Add syncfs.
27083 * posix/unistd.h: Declare syncfs.
27084 * sysdeps/unix/syscalls.list: Add syncfs.
27085
00e5419f
AS
270862011-04-01 Andreas Schwab <schwab@redhat.com>
27087
27088 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
27089 open_by_handle_at.
27090 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27091 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27093 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27095 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
27096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27097
748876bf
UD
270982011-04-01 Ulrich Drepper <drepper@gmail.com>
27099
658e451d
UD
27100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
27101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27102 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
27103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27107
748876bf
UD
27108 * io/Makefile: Compile fallocate.c, fallocate64.c, and
27109 sync_file_range.c with -fexceptions.
27110 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
27111 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
27112 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27113 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27114 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
27115 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
27116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
27117 sync_file_range as cancellation point
27118 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
27119 now a wrapper around __call_sync_file_range with cancellation handling.
27120 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
27121 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
27122 function name to __call_sync_file_range.
27123 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
27124 Add call_sync_file_range.
748876bf 27125
6e63d5e1
AS
271262011-04-01 Andreas Schwab <schwab@redhat.com>
27127
27128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 27129 bits/timex.h.
6e63d5e1 27130
46998f74
UD
271312011-04-01 Ulrich Drepper <drepper@gmail.com>
27132
4c1423ed
UD
27133 * iconv/iconv.h: Fix typo in comment.
27134 * io/fcntl.h: Likewise.
27135 * libio/stdio.h: Likewise.
27136 * posix/spawn.h: Likewise.
27137 * posix/unistd.h: Likewise.
27138 * stdlib/stdlib.h: Likewise.
27139 * time/time.h: Likewise.
27140 * wcsmbs/wchar.h: Likewise.
27141
158648c0
UD
27142 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
27143 open_by_handle): Add.
27144 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
27145 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
27146 Augment a few comments.
27147 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
27148 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27149 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27151 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27152 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
27153 open_by_handle.
27154
46998f74
UD
27155 * io/fcntl.h (AT_EMPTY_PATH): Define.
27156
83fe108b
UD
271572011-03-30 Ulrich Drepper <drepper@gmail.com>
27158
27159 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
27160 * sysdeps/unix/sysv/linux/bits/time.h: New file.
27161 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
27162 to...
27163 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
27164 * Versions.def: Add GLIBC_2.14.
27165 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
27166 Export.
83fe108b 27167
bb242059
UD
271682011-03-22 Ulrich Drepper <drepper@gmail.com>
27169
27170 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
27171 round counter.
27172 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27173
c97a1282
L
271742011-03-20 H.J. Lu <hongjiu.lu@intel.com>
27175
27176 [BZ #12597]
27177 * string/test-strncmp.c (do_page_test): New function.
27178 (check2): Likewise.
27179 (test_main): Call check2.
27180 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
27181
2a115601
UD
271822011-03-20 Ulrich Drepper <drepper@gmail.com>
27183
27184 [BZ #12587]
27185 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
27186 Handle cache information in CPU leaf 4.
27187 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
27188
8126d904
UD
271892011-03-18 Ulrich Drepper <drepper@gmail.com>
27190
042c49c6 27191 [BZ #12583]
8126d904
UD
27192 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
27193 character representation.
27194 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
27195
ccfe366e
RA
271962011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
27197
27198 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
27199 END(__isnan) to END(__isnanf) to match function entry point/label
27200 EALIGN(__isnanf,...).
27201
c6e13027
JJ
272022011-03-10 Jakub Jelinek <jakub@redhat.com>
27203
27204 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
27205
33f85a3f
UD
272062011-03-10 Ulrich Drepper <drepper@gmail.com>
27207
028478fa
UD
27208 [BZ #12510]
27209 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
27210 copy from the symbol referenced in the relocation to initialize the
27211 used variable.
27212 Patch by Piotr Bury <pbury@goahead.com>.
27213 * elf/Makefile: Add rules to build and tst-unique3.
27214 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
27215 * elf/tst-unique3.cc: New file.
27216 * elf/tst-unique3.h: New file.
27217 * elf/tst-unique3lib.cc: New file.
27218 * elf/tst-unique3lib2.cc: New file.
27219
33f85a3f
UD
27220 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
27221
03592fc7
MF
272222011-03-10 Mike Frysinger <vapier@gentoo.org>
27223
27224 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
27225 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
27226 to _start.
03592fc7 27227
6a5ee102
UD
272282011-03-06 Ulrich Drepper <drepper@gmail.com>
27229
27230 * elf/dl-load.c (_dl_map_object): If we are looking for the first
27231 to-be-loaded object along a path to loader is ld.so.
27232
7e4ba49c
HJ
272332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27234 Ulrich Drepper <drepper@gmail.com>
27235
27236 * sysdeps/x86_64/memset.S: After aligning destination, code
27237 branches to different locations depending on the value of
27238 misalignment, when multiarch is enabled. Fix this.
27239
272402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
27241
27242 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
27243 Set _x86_64_preferred_memory_instruction for AMD processsors.
27244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27245 Set bit_Prefer_SSE_for_memop for AMD processors.
27246
13a804de
UD
272472011-03-04 Ulrich Drepper <drepper@gmail.com>
27248
27249 * libio/fmemopen.c (fmemopen): Optimize a bit.
27250
9d25c392
AS
272512011-03-03 Andreas Schwab <schwab@redhat.com>
27252
27253 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
27254
a5543c6a
RM
272552011-03-03 Roland McGrath <roland@redhat.com>
27256
27257 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
27258
012d35f7
DM
272592011-02-28 Aurelien Jarno <aurelien@aurel32.net>
27260
7e4ba49c 27261 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
27262 __bzero_ultra1 instead of __memset_ultra1.
27263
4bff6e01
AS
272642011-02-23 Andreas Schwab <schwab@redhat.com>
27265 Ulrich Drepper <drepper@gmail.com>
27266
27267 [BZ #12509]
27268 * include/link.h (struct link_map): Add l_orig_initfini.
27269 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
27270 returning unsuccessfully.
27271 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
27272 close of a file loaded at startup, restore the original l_initfini
27273 list.
27274 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
27275 list, store the pointer.
27276 * elf/Makefile ($(objpfx)noload-mem): New rule.
27277 (noload-ENV): Define.
27278 (tests): Add $(objpfx)noload-mem.
27279 * elf/noload.c: Include <memcheck.h>.
27280 (main): Call mtrace. Close all opened handles.
27281
f2092faf
AS
272822011-02-17 Andreas Schwab <schwab@redhat.com>
27283
27284 [BZ #12454]
27285 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
27286 dependencies are missing.
27287
6c8a2e88
ST
272882011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
27289
f2092faf 27290 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
27291 Hurd needs munmap.
27292 * sysdeps/mach/hurd/ifreq.h: New file.
27293
84a42118
PB
272942011-01-27 Petr Baudis <pasky@suse.cz>
27295 Ulrich Drepper <drepper@gmail.com>
27296
071f805e 27297 [BZ 12445]#
84a42118
PB
27298 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
27299 to extend_alloca().
27300 * stdio-common/bug23.c: New file.
27301 * stdio-common/Makefile (tests): Add bug23.
27302
e23fe25b
AS
273032010-09-28 Andreas Schwab <schwab@redhat.com>
27304 Ulrich Drepper <drepper@gmail.com>
27305
27306 [BZ #12489]
27307 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
27308 before performing relro protection. At old place add assertion
27309 to make sure nothing changed.
27310
d3f02e10
NS
273112011-02-17 Nathan Sidwell <nathan@codesourcery.com>
27312 Glauber de Oliveira Costa <glommer@gmail.com>
27313
27314 * elf/elf.h: Add new ARM TLS relocs.
27315
d55fd7a5
RA
273162011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
27317
27318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27319 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
27320 cast from r3.
27321 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
27322 'tests' variable.
27323 * sysdeps/wordsize-64/tst-writev.c: New file.
27324
2206397e
RA
273252011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
27326
27327 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
27328 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
27329 insns in _dl_start to prevent a TOC reference before relocs are
27330 resolved.
27331
e9433893
UD
273322011-02-15 Ulrich Drepper <drepper@gmail.com>
27333
27334 [BZ #12469]
27335 * Makeconfig: Remove RANLIB definition.
27336 * Makerules: Don't use RANLIB.
27337 * aclocal.m4: Remove ranlib test.
27338 * configure.in: No need to check for ranlib.
27339 * elf/rtld-Rules: Don't use RANLIB.
27340
f75286c6
ST
273412011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
27342
8e31c82d
ST
27343 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
27344 protection macro.
27345 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
27346 inclusion protection macro.
27347
f75286c6
ST
27348 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
27349 SIGRTMIN and SIGRTMAX and print information in that case only when
27350 SIGRTMIN is defined.
27351
c1d0e639
JJ
273522011-02-11 Jakub Jelinek <jakub@redhat.com>
27353
27354 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
27355 arginfo fn returning -1.
27356
27357 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
27358 and thousands string is zero terminated.
27359
edf9294e
AS
273602011-02-03 Andreas Schwab <schwab@redhat.com>
27361
27362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
27363 sysdeps/unix/sysv/linux/bits/socket.h.
27364
2b7e92df
ST
273652011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
27366
edf9294e
AS
27367 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
27368 (__CPU_COUNT): Remove old macros.
27369 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
27370 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
27371 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
27372 (__sched_cpualloc, __sched_cpufree): Add declarations.
27373
a4c7ea7b
UD
273742011-02-05 Ulrich Drepper <drepper@gmail.com>
27375
27376 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
27377 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
27378 * nscd/aicache.c (addhstaiX): Return timeout of added value.
27379 (readdhstai): Return value of addhstaiX call.
27380 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
27381 (addgrbyX): Return value returned by cache_addgr.
27382 (readdgrbyname): Return value returned by addgrbyX.
27383 (readdgrbygid): Likewise.
27384 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
27385 (addpwbyX): Return value returned by cache_addpw.
27386 (readdpwbyname): Return value returned by addhstbyX.
27387 (readdpwbyuid): Likewise.
27388 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
27389 (addservbyX): Return value returned by cache_addserv.
27390 (readdservbyname): Return value returned by addservbyX:
27391 (readdservbyport): Likewise.
27392 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
27393 (addhstbyX): Return value returned by cache_addhst.
27394 (readdhstbyname): Return value returned by addhstbyX.
27395 (readdhstbyaddr): Likewise.
27396 (readdhstbynamev6): Likewise.
27397 (readdhstbyaddrv6): Likewise.
27398 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
27399 (readdinitgroups): Return value returned by addinitgroupsX.
27400 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
27401 (prune_cache): Keep track of timeout value of re-added entries.
27402 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
27403 * nscd/nscd.h: Adjust prototypes of readd* functions.
27404
a0bf67cc
RM
274052011-02-04 Roland McGrath <roland@redhat.com>
27406
27407 * nis/nis_server.c (nis_servstate): Use the right name for 0.
27408 (nis_stats): Likewise.
27409 * nis/nis_modify.c (nis_modify): Likewise.
27410 * nis/nis_remove.c (nis_remove): Likewise.
27411 * nis/nis_add.c (nis_add): Likewise.
27412
27413 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
27414
27415 * posix/fnmatch_loop.c: Add some consts.
27416
27417 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
27418
435b95eb
L
274192011-02-02 H.J. Lu <hongjiu.lu@intel.com>
27420
27421 [BZ #12460]
27422 * config.make.in (config-cflags-novzeroupper): Define.
27423 * configure.in: Substitute libc_cv_cc_novzeroupper.
27424 * elf/Makefile (AVX-CFLAGS): Define.
27425 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
27426 (CFLAGS-tst-auditmod4a.c): Likewise.
27427 (CFLAGS-tst-auditmod4b.c): Likewise.
27428 (CFLAGS-tst-auditmod6b.c): Likewise.
27429 (CFLAGS-tst-auditmod6c.c): Likewise.
27430 (CFLAGS-tst-auditmod7b.c): Likewise.
27431 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
27432
8517b15e
UD
274332011-02-02 Ulrich Drepper <drepper@gmail.com>
27434
27435 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
27436 function to the callback.
27437 Patch partly by Jiri Olsa <jolsa@redhat.com>.
27438
10a656fe
AS
274392011-02-02 Andreas Schwab <schwab@redhat.com>
27440
27441 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
27442 of errno.
27443
968dad0a
UD
274442011-01-19 Ulrich Drepper <drepper@gmail.com>
27445
9f94d2ea 27446 [BZ #11724]
968dad0a
UD
27447 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
27448 of constructors.
27449 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
27450 of destructors.
27451 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
27452
27453 [BZ #11724]
27454 * elf/Makefile: Add rules to build and run new test.
27455 * elf/tst-initorder.c: New file.
27456 * elf/tst-initorder.exp: New file.
27457 * elf/tst-initordera1.c: New file.
27458 * elf/tst-initordera2.c: New file.
27459 * elf/tst-initordera3.c: New file.
27460 * elf/tst-initordera4.c: New file.
27461 * elf/tst-initorderb1.c: New file.
27462 * elf/tst-initorderb2.c: New file.
27463 * elf/tst-order-a1.c: New file.
27464 * elf/tst-order-a2.c: New file.
27465 * elf/tst-order-a3.c: New file.
27466 * elf/tst-order-a4.c: New file.
27467 * elf/tst-order-b1.c: New file.
27468 * elf/tst-order-b2.c: New file.
27469 * elf/tst-order-main.c: New file.
27470 New test case by George Gensure <werkt0@gmail.com>.
27471
86e92359
UD
274722010-10-01 Andreas Schwab <schwab@redhat.com>
27473
27474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27475 decoding ACE if AI_CANONIDN.
27476
5d5732b0
UD
274772011-01-18 Ulrich Drepper <drepper@gmail.com>
27478
27479 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
27480
a77e8cbc
UD
274812011-01-17 Ulrich Drepper <drepper@gmail.com>
27482
6392473f
UD
27483 * version.h (RELEASE): Bump for 2.13 release.
27484 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
27485
620a0529
UD
27486 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
27487
18ba70a5
UD
27488 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
27489 MADV_NOHUGEPAGE.
32465c3e
UD
27490 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
27491 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27492 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27493 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27494 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27495 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27496
c0dafcf1
UD
27497 * posix/getconf.c: Update copyright year.
27498 * catgets/gencat.c: Likewise.
27499 * csu/version.c: Likewise.
27500 * debug/catchsegv.sh: Likewise.
27501 * debug/xtrace.sh: Likewise.
27502 * elf/ldconfig.c: Likewise.
27503 * elf/ldd.bash.in: Likewise.
27504 * elf/sprof.c (print_version): Likewise.
27505 * iconv/iconv_prog.c: Likewise.
27506 * iconv/iconvconfig.c: Likewise.
27507 * locale/programs/locale.c: Likewise.
27508 * locale/programs/localedef.c: Likewise.
27509 * malloc/memusage.sh: Likewise.
27510 * malloc/mtrace.pl: Likewise.
27511 * nscd/nscd.c (print_version): Likewise.
27512 * nss/getent.c: Likewise.
27513
a77e8cbc
UD
27514 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
27515 PF_CAIF, and PF_ALG.
27516 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27517
77e8bddf
AS
275182011-01-16 Andreas Schwab <schwab@linux-m68k.org>
27519
1f20b93a
AS
27520 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
27521 (modules-names): Use them.
27522 (ifunc-test-modules, ifunc-pie-tests): Define.
27523 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
27524 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
27525 (test-extras): Likewise.
27526 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
27527 $(compile-command.c).
27528 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
27529 (all-built-dso): Define.
27530 (check-textrel.out, check-execstack.out): Depend on it.
27531
77e8bddf
AS
27532 * configure.in: Don't override --enable-multi-arch.
27533
bc425b33
UD
275342011-01-15 Ulrich Drepper <drepper@gmail.com>
27535
27536 [BZ #6812]
27537 * nscd/hstcache.c (tryagain): Define.
27538 (cache_addhst): Return tryagain not notfound for temporary errors.
27539 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
27540 failed.
27541
794c3ad3
UD
275422011-01-14 Ulrich Drepper <drepper@gmail.com>
27543
70181fdd
UD
27544 [BZ #10563]
27545 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
27546 to make the syscall.
27547 * sysdeps/unix/sysv/linux/setgroups.c: New file.
27548
794c3ad3
UD
27549 [BZ #12378]
27550 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
27551 and fall back to matching as normal character if the string ends before
27552 the matching ']' is found. This is what POSIX requires.
27553 * posix/testfnm.c: Adjust test result.
27554 * posix/globtest.sh: Adjust test result. Add new test.
27555 * posix/tst-fnmatch.input: Likewise.
27556 * posix/tst-fnmatch2.c: Add new test.
27557
68dc9497
AS
275582010-12-28 Andreas Schwab <schwab@linux-m68k.org>
27559
27560 * elf/Makefile (check-execstack): Revert last change. Depend on
27561 check-execstack.h.
27562 (check-execstack.h): New target.
27563 (generated): Add check-execstack.h.
27564 * elf/check-execstack.c: Include "check-execstack.h".
27565 (main): Revert last change.
27566 (handle_file): Return zero if GNU_STACK is absent and
27567 DEFAULT_STACK_PERMS doesn't include PF_X.
27568
451f001b
UD
275692011-01-13 Ulrich Drepper <drepper@gmail.com>
27570
cfa28e56
UD
27571 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
27572 in child fails because the descriptor is already closed.
8cf8ce17
UD
27573 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
27574 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
27575 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 27576
1086d70d
UD
27577 [BZ #12397]
27578 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
27579 syscall.
27580
451f001b
UD
27581 [BZ #10484]
27582 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
27583 temporary buffer used to handle multi lookups locally.
a85b5cb4 27584 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 27585
08769175
UD
275862011-01-12 Ulrich Drepper <drepper@gmail.com>
27587
27588 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
27589 loader is ld.so.
27590
5e49c52e
UD
275912011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
27592
27593 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
27594 alignment for SSE2.
27595
60522a5f
UD
275962011-01-12 Ulrich Drepper <drepper@gmail.com>
27597
27598 [BZ #12394]
27599 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
27600 characters. When rounding increased number of integer digits recompute
27601 number of groups.
27602 * stdio-common/tst-grouping.c: New file.
27603 * stdio-common/Makefile: Add rules to build and run tst-grouping.
27604
f257bbd7
UD
276052011-01-09 Ulrich Drepper <drepper@gmail.com>
27606
27607 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
27608 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
27609
27610 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
27611 void.
27612 * bits/select.h: Likewise.
27613
fa9c15cb
UD
276142011-01-08 Ulrich Drepper <drepper@gmail.com>
27615
27616 * po/ja.po: Update from translation team.
27617
16c2895f
DM
276182011-01-04 David S. Miller <davem@sunset.davemloft.net>
27619
27620 [BZ #11155]
27621 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
27622 implementation just like for lxstat, fxstatat, et al.
27623
2543fef2
JM
276242010-12-27 Jim Meyering <meyering@redhat.com>
27625
27626 [BZ #12348]
27627 * posix/regexec.c (build_trtable): Return failure indication upon
27628 calloc failure. Otherwise, re_search_internal could infloop on OOM.
27629
98727dbe
UD
276302010-12-25 Ulrich Drepper <drepper@gmail.com>
27631
5bd6dc5c
UD
27632 [BZ #12201]
27633 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
27634 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
27635 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
27636 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
27637
97983464
UD
27638 [BZ #12207]
27639 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
27640
98727dbe
UD
27641 [BZ #12204]
27642 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
27643 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
27644
4a531bb0
L
276452010-12-15 H.J. Lu <hongjiu.lu@intel.com>
27646
27647 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
27648 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
27649 script has SORT_BY_INIT_PRIORITY.
27650 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
27651 NO_CTORS_DTORS_SECTIONS is defined.
27652 * elf/soinit.c: Likewise.
27653 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
27654 NO_CTORS_DTORS_SECTIONS is defined.
27655 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
27656 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
27657 * sysdeps/sh/init-first.c: Likewise.
27658 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
27659
07eb4b71
UD
276602010-12-24 Ulrich Drepper <drepper@gmail.com>
27661
27662 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
27663 always use the slow path.
27664
30950a5f
RA
276652010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
27666
27667 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
27668 similar rule which adds the sysdep directories to the header search in
27669 order to pick up the correct platform stackinfo.h.
27670 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
27671 perform test if it is, otherwise return successfully without testing.
27672 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
27673 DEFAULT_STACK_PERMS define in stackinfo.h.
27674 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
27675 defined in stackinfo.h.
27676 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
27677 DEFAULT_STACK_PERMS defined in stackinfo.h.
27678 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
27679 * sysdeps/ia64/stackinfo.h: Likewise.
27680 * sysdeps/s390/stackinfo.h: Likewise.
27681 * sysdeps/sh/stackinfo.h: Likewise.
27682 * sysdeps/sparc/stackinfo.h: Likewise.
27683 * sysdeps/x86_64/stackinfo.h: Likewise.
27684 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
27685 PF_X for powerpc64. Retain PF_X for powerpc32.
27686
db753e2c
UD
276872010-12-19 Ulrich Drepper <drepper@gmail.com>
27688
14b697f7
UD
27689 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
27690 accurately.
db753e2c
UD
27691 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
27692 GETDENTS_64BIT_ALIGNED.
27693
28300719
UD
276942010-12-14 Ulrich Drepper <dreper@gmail.com>
27695
14b697f7 27696 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 27697
4f197237
AS
276982010-12-10 Andreas Schwab <schwab@redhat.com>
27699
dbb0472f
AS
27700 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
27701 _GNU_SOURCE.
27702
4f197237
AS
27703 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
27704 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
27705 Remove __restrict.
27706 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
27707 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
27708
fb88ac72
UD
277092010-12-09 Ulrich Drepper <drepper@gmail.com>
27710
27711 [BZ #11655]
27712 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
27713 are initialized.
27714
42acbb92
JJ
277152010-12-09 Jakub Jelinek <jakub@redhat.com>
27716
27717 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
27718
c038d98d
UD
277192010-12-03 Ulrich Drepper <drepper@gmail.com>
27720
27721 * po/it.po: Update from translation team.
27722
3a4a2499
L
277232010-12-01 H.J. Lu <hongjiu.lu@intel.com>
27724
27725 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
27726 unused codes.
27727
1e24cf6e
UD
277282010-11-30 Ulrich Drepper <drepper@gmail.com>
27729
27730 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
27731
a7690819
AS
277322010-11-24 Andreas Schwab <schwab@redhat.com>
27733
27734 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
27735 specially.
27736 (gaih_getanswer_slice): Likewise.
27737
3bf8d1b1
JJ
277382010-10-20 Jakub Jelinek <jakub@redhat.com>
27739
27740 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
27741
6db52fbb
PB
277422010-05-31 Petr Baudis <pasky@suse.cz>
27743
27744 [BZ #11149]
27745 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
27746 silently even in the chroot mode.
27747
eaca7569
UD
277482010-11-22 Ulrich Drepper <drepper@gmail.com>
27749
27750 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
27751 last patch a bit. Pretty printing
27752
3056dcdb
UD
277532010-05-31 Petr Baudis <pasky@suse.cz>
27754
27755 [BZ #10085]
27756 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
27757 initialization of skip_initgroups_dyn.
27758
cf7c9078
UD
277592010-11-19 Ulrich Drepper <drepper@gmail.com>
27760
27761 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
27762 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
27763
a1fb5e3e
UD
277642010-11-16 Ulrich Drepper <drepper@gmail.com>
27765
27766 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
27767
3540d66b
AS
277682010-11-11 Andreas Schwab <schwab@redhat.com>
27769
27770 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
27771 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
27772 (tst-fnmatch-ENV): Set MALLOC_TRACE.
27773 ($(objpfx)tst-fnmatch-mem): New rule.
27774 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
27775 * posix/tst-fnmatch.c (main): Call mtrace.
27776
13b69574
L
277772010-11-11 H.J. Lu <hongjiu.lu@intel.com>
27778
27779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27780 Support Intel processor model 6 and model 0x2c.
27781
da93d214
LM
277822010-11-10 Luis Machado <luisgpm@br.ibm.com>
27783
27784 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
27785 signed comparison.
27786
8ca52c6e
L
277872010-11-09 H.J. Lu <hongjiu.lu@intel.com>
27788
27789 [BZ #12205]
27790 * string/test-strncasecmp.c (check_result): New function.
27791 (do_one_test): Use it.
27792 (check1): New function.
27793 (test_main): Use it.
27794 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
27795 Support strcasecmp and strncasecmp.
27796
69da074d
UD
277972010-11-08 Ulrich Drepper <drepper@gmail.com>
27798
27799 [BZ #12194]
27800 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
27801 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27802
ff02d528
L
278032010-11-07 H.J. Lu <hongjiu.lu@intel.com>
27804
27805 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
27806 IFUNC support.
27807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27808 memset-x86-64.
27809 * sysdeps/x86_64/multiarch/bzero.S: New file.
27810 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
27811 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
27812 * sysdeps/x86_64/multiarch/memset.S: New file.
27813 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
27814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27815 Set bit_Prefer_SSE_for_memop for Intel processors.
27816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
27817 Define.
27818 (index_Prefer_SSE_for_memop): Define.
27819 (HAS_PREFER_SSE_FOR_MEMOP): Define.
27820
344d0b54
LM
278212010-11-04 Luis Machado <luisgpm@br.ibm.com>
27822
27823 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
27824 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
27825
c0dde15b
UD
278262010-11-03 H.J. Lu <hongjiu.lu@intel.com>
27827
27828 [BZ #12191]
27829 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27830 (__x86_64_raw_data_cache_size_half): Likewise.
27831 (__x86_64_raw_shared_cache_size): Likewise.
27832 (__x86_64_raw_shared_cache_size_half): Likewise.
27833
27834 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
27835 (__x86_64_raw_data_cache_size_half): Likewise.
27836 (__x86_64_raw_shared_cache_size): Likewise.
27837 (__x86_64_raw_shared_cache_size_half): Likewise.
27838 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
27839 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
27840 and __x86_64_raw_shared_cache_size_half. Round
27841 __x86_64_data_cache_size_half, __x86_64_data_cache_size
27842 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
27843 to multiple of 256 bytes.
27844
0e516e0e
MS
278452010-11-03 Ulrich Drepper <drepper@gmail.com>
27846
27847 [BZ #12167]
27848 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
27849 of inacessible symlinks. Verify result of symlink before returning it.
27850 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
27851 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
27852
0e012e87
ER
278532010-10-28 Erich Ritz <erichritz@gmail.com>
27854
27855 * math/math.h (isinf): Fix typo in comment.
27856
de0ff7bc
UD
278572010-11-01 Ulrich Drepper <drepper@gmail.com>
27858
27859 * po/da.po: Update from translation team.
27860
fa41c84d
UD
278612010-10-26 Ulrich Drepper <drepper@gmail.com>
27862
27863 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
27864 is added to the list.
27865
f0967738
AK
278662010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27867 Ulrich Drepper <drepper@gmail.com>
27868
27869 * elf/dl-object.c (_dl_new_object): Don't append the new object to
27870 the global list here. Move code to...
27871 (_dl_add_to_namespace_list): ...here. New function.
27872 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
27873 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
27874 * elf/dl-load.c (lose): Don't remove the element from the list.
27875 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
27876 (_dl_map_object): Likewise.
27877
278782010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
27879
27880 [BZ #12159]
27881 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
27882 into all bytes of SSE register.
27883 Patch by Richard Li <richardpku@gmail.com>.
27884
f0967738 278852010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
27886
27887 [BZ #12140]
27888 * malloc/malloc.c (_int_free): Fill correct number of bytes when
27889 perturbing.
27890
d0b9e94f
MB
278912010-10-20 Michael B. Brutman <brutman@us.ibm.com>
27892
27893 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
27894 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
27895 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
27896 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
27898 submachine.
27899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
27900
8e9f92e9
AS
279012010-10-22 Andreas Schwab <schwab@redhat.com>
27902
27903 * include/dlfcn.h (__RTLD_SECURE): Define.
27904 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
27905 mode & __RTLD_SECURE instead.
27906 (open_path): Rename preloaded parameter to secure.
27907 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
27908 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
27909 * elf/dl-deps.c (openaux): Likewise.
27910 * elf/rtld.c (struct map_args): Remove is_preloaded.
27911 (map_doit): Don't use it.
27912 (dl_main): Likewise.
27913 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
27914 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
27915
bc96fbda
AS
279162010-09-09 Andreas Schwab <schwab@redhat.com>
27917
27918 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
27919 (sysd-rules-targets): Remove duplicates.
27920 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
27921 rtld-%.$o dependency.
27922
22cd1c9b
AS
279232010-10-18 Andreas Schwab <schwab@redhat.com>
27924
27925 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
27926 _dl_map_object do it.
27927
18edac48
UD
279282010-10-19 Ulrich Drepper <drepper@gmail.com>
27929
27930 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
27931 fast fma builtins, define the macros in the C99 standard.
27932 (FP_FAST_FMAF): Likewise.
27933 (FP_FAST_FMAL): Likewise.
27934 * sysdeps/x86_64/bits/mathdef.h: Likewise.
27935
27936 * bits/mathdef.h: Update copyright year.
27937 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27938
d2050124
MM
279392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
27940
27941 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
27942 builtins, define the macros in the C99 standard.
27943 (FP_FAST_FMAF): Likewise.
27944 (FP_FAST_FMAL): Likewise.
27945 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
27946 multiply/add.
27947 (FP_FAST_FMAF): Likewise.
27948
475facd1
JJ
279492010-10-15 Jakub Jelinek <jakub@redhat.com>
27950
27951 [BZ #3268]
27952 * math/libm-test.inc (fma_test): Some new testcases.
27953 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
27954 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
27955 y and infinite z. Do multiplication by C already in long double.
27956 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
27957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
27958 y and infinite z. Do bitwise or of inexact bit into u.d.
27959 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
27960 * sysdeps/i386/fpu/s_fmaf.S: Removed.
27961 * sysdeps/i386/fpu/s_fma.S: Removed.
27962 * sysdeps/i386/fpu/s_fmal.S: Removed.
27963
7c08a05c
JJ
279642010-10-16 Jakub Jelinek <jakub@redhat.com>
27965
27966 [BZ #3268]
27967 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
27968 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
27969 computation is not scheduled after fetestexcept. Fix value
27970 of minimum denormal long double.
27971
f3f7372d
JJ
279722010-10-14 Jakub Jelinek <jakub@redhat.com>
27973
27974 [BZ #3268]
27975 * math/libm-test.inc (fma_test): Add some more tests.
27976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
27977 correctly.
27978
14d43591
AS
279792010-10-15 Andreas Schwab <schwab@redhat.com>
27980
27981 * scripts/data/localplt-s390-linux-gnu.data: New file.
27982 * scripts/data/localplt-s390x-linux-gnu.data: New file.
27983
5e908464
JJ
279842010-10-13 Jakub Jelinek <jakub@redhat.com>
27985
27986 [BZ #3268]
27987 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
27988 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
27989 instead of dbl-64.
27990 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
27991 inlines.
27992 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
27993 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
27994 if one of x and y is very large and the other is subnormal.
27995 * sysdeps/s390/fpu/s_fmaf.c: New file.
27996 * sysdeps/s390/fpu/s_fma.c: New file.
27997 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
27998 * sysdeps/powerpc/fpu/s_fma.S: New file.
27999 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
28000 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
28001 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
28002
280032010-10-12 Jakub Jelinek <jakub@redhat.com>
28004
28005 [BZ #3268]
28006 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
28007 fma tests.
28008 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
28009 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
28010 * sysdeps/i386/i686/multiarch/s_fma.c: Include
28011 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
28012 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
28013 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
28014 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
28015
b833d51f
UD
280162010-10-12 Ulrich Drepper <drepper@redhat.com>
28017
28018 [BZ #12078]
28019 * posix/regcomp.c (parse_branch): One more memory leak plugged.
28020 * posix/bug-regex31.input: Add test case.
28021
1751705d
UD
280222010-10-11 Ulrich Drepper <drepper@gmail.com>
28023
e9b9cbf5
UD
28024 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
28025 * posix/bug-regex31.input: New file.
28026
28027 [BZ #12078]
28028 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
28029 (parse_sub_exp): Fix last change, use postorder.
28030
ef06edbe
UD
28031 * posix/bug-regex31.c: New file.
28032 * posix/Makefile: Add rules to build and run bug-regex31.
28033
a129c80d
UD
28034 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
28035
28036 [BZ #12078]
28037 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
28038
b76b818e
UD
28039 [BZ #12108]
28040 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
28041 to have entries in sys_siglist.
28042
1751705d
UD
28043 [BZ #12093]
28044 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
28045 be NULL.
28046
9ff8d36f
JJ
280472010-10-07 Jakub Jelinek <jakub@redhat.com>
28048
28049 [BZ #3268]
28050 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
28051 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
28052 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
28053 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
28054 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28055 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
28056 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
28057 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
28058 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
28059 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
28060 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
28061 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
28062 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28063 * math/ftestexcept.c (fetestexcept): Likewise.
28064 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
28065 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
28066 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
28067 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
28068 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
28069 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
28070 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28071
af325969
UD
280722010-10-11 Ulrich Drepper <drepper@gmail.com>
28073
c579b202 28074 [BZ #12107]
af325969
UD
28075 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
28076 newline.
28077
67a67b95
UD
280782010-10-06 Ulrich Drepper <drepper@gmail.com>
28079
28080 * string/bug-strstr1.c: New file.
28081 * string/Makefile: Add rules to build and run bug-strstr1.
28082
5fb308bc
EB
280832010-10-05 Eric Blake <eblake@redhat.com>
28084
28085 [BZ #12092]
28086 * string/str-two-way.h (two_way_long_needle): Always clear memory
28087 when skipping input due to the shift table.
28088
45db99c7
UD
280892010-10-03 Ulrich Drepper <drepper@gmail.com>
28090
3b111893
UD
28091 [BZ #12005]
28092 * malloc/mcheck.c: Handle large requests.
28093
45db99c7
UD
28094 [BZ #12077]
28095 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
28096 for strncmp and strncasecmp.
28097 * string/stratcliff.c: Add tests for strcmp and strncmp.
28098 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
28099
cf7a1eb8
NI
281002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28101
28102 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
28103 __set_fpscr.
28104
6484ba5e
AJ
281052010-09-30 Andreas Jaeger <aj@suse.de>
28106
28107 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
28108 (CGROUP_SUPER_MAGIC): Define.
28109 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28110 Handle btrfs and cgroup file systems.
28111 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28112 Likewise.
28113
91c42559
LM
281142010-09-27 Luis Machado <luisgpm@br.ibm.com>
28115
28116 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
28117 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
28118
87a97932
AK
281192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28120
28121 [BZ #12067]
28122 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
28123 trying to locate the ELF header.
28124
c21cc9bc
AS
281252010-09-27 Andreas Schwab <schwab@redhat.com>
28126
28127 [BZ #11611]
28128 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
28129 Mask out sign-bit copies when constructing f_fsid.
28130
315970f6
PB
281312010-09-24 Petr Baudis <pasky@suse.cz>
28132
28133 * debug/stack_chk_fail_local.c: Add missing licence exception.
28134 * debug/warning-nop.c: Likewise.
28135
1ac7a2c7
JM
281362010-09-15 Joseph Myers <joseph@codesourcery.com>
28137
28138 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
28139 implementing getdents64 using getdents syscall, set d_type if
28140 __ASSUME_GETDENTS32_D_TYPE.
28141
56801c50
AS
281422010-09-16 Andreas Schwab <schwab@redhat.com>
28143
28144 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
28145 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
28146
dda51327
UD
281472010-09-21 Ulrich Drepper <drepper@redhat.com>
28148
28149 [BZ #12037]
28150 * posix/unistd.h: Undo change of feature selection for ftruncate from
28151 2010-01-11.
28152
8ffcee4a
UD
281532010-09-20 Ulrich Drepper <drepper@redhat.com>
28154
a545ecd9 28155 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
28156 detection.
28157
e24f0a8b
AS
281582010-09-20 Andreas Schwab <schwab@redhat.com>
28159
28160 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
28161 fanotify_mark.
28162 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28163
7291c56f
AS
281642010-09-14 Andreas Schwab <schwab@redhat.com>
28165
28166 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
28167 variables after CHECK_SP call.
28168 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
28169
bc5fb037
AS
281702010-09-13 Andreas Schwab <schwab@redhat.com>
28171 Ulrich Drepper <drepper@redhat.com>
28172
28173 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
28174 re-relocationg ld.so.
28175 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
28176 _dl_init_paths call.
28177 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
28178 here anymore.
28179
e66e7419
UD
281802010-09-14 Ulrich Drepper <drepper@redhat.com>
28181
28182 * resolv/res_init.c (__res_vinit): Count the default server we added.
28183
c044aa75
CLT
281842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
28185 Ulrich Drepper <drepper@redhat.com>
28186
28187 [BZ #11968]
28188 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28189 (____longjmp_chk): Use %ebx for saving value across system call.
28190 Add unwind info.
28191
32cf4069
AS
281922010-09-06 Andreas Schwab <schwab@redhat.com>
28193
28194 * manual/Makefile: Don't mix pattern rules with normal rules.
28195
817328ee
AS
281962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
28197
28198 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
28199 operation.
28200 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28201 * libio/iofopncook.c (_IO_cookie_init): Likewise.
28202 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28203 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28204 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28205 Likewise.
28206
29fddf61
UD
282072010-09-04 Ulrich Drepper <drepper@redhat.com>
28208
28209 [BZ #11979]
28210 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
28211 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
28212
0959ffc9
UD
282132010-09-02 Ulrich Drepper <drepper@redhat.com>
28214
28215 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
28216 * sysdeps/x86_64/addmul_1.S: Likewise.
28217 * sysdeps/x86_64/lshift.S: Likewise.
28218 * sysdeps/x86_64/mul_1.S: Likewise.
28219 * sysdeps/x86_64/rshift.S: Likewise.
28220 * sysdeps/x86_64/sub_n.S: Likewise.
28221 * sysdeps/x86_64/submul_1.S: Likewise.
28222
ece29840
ST
282232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
28224
0959ffc9
UD
28225 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
28226 Define __sched_param instead of SCHED_* and sched_param when
ece29840 28227 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 28228 * bits/sched.h [__need_schedparam]
ece29840 28229 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
28230 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
28231 (__defined_schedparam): Define to 1.
ece29840
ST
28232 (__sched_param): New structure, identical to sched_param.
28233 (__need_schedparam): Undefine.
28234
e53a31fe
MF
282352010-08-31 Mike Frysinger <vapier@gentoo.org>
28236
fdc0c10d
MF
28237 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
28238 (epoll_create1): Declare.
28239
e53a31fe
MF
28240 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
28241
a726d796
AS
282422010-08-31 Andreas Schwab <schwab@redhat.com>
28243
28244 [BZ #7066]
28245 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
28246 shifting retval into place.
28247
2f3e3dc7
UD
282482010-09-01 Ulrich Drepper <drepper@redhat.com>
28249
f2933da9
UD
28250 * nis/rpcsvc/nis.h: Update copyright notice.
28251 * nis/rpcsvc/nis.x: Likewise.
28252 * nis/rpcsvc/nis_callback.h: Likewise.
28253 * nis/rpcsvc/nis_callback.x: Likewise.
28254 * nis/rpcsvc/nis_object.x: Likewise.
28255 * nis/rpcsvc/nis_tags.h: Likewise.
28256 * nis/rpcsvc/yp.h: Likewise.
28257 * nis/rpcsvc/yp.x: Likewise.
28258 * nis/rpcsvc/ypupd.h: Likewise.
28259 * nis/yp_xdr.c: Likewise.
28260 * nis/ypupdate_xdr.c: Likewise.
28261
2f3e3dc7
UD
28262 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
28263 mainly the body of pmap_getport. Add parameters to specify timeouts.
28264 (pmap_getport): Use __libc_rpc_getport.
28265 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
28266 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
28267 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
28268
f3dcc2f9
AS
282692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
28270
28271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
28272 fanotify_mark.
28273
6d34eb5b
RM
282742010-08-27 Roland McGrath <roland@redhat.com>
28275
28276 * sysdeps/i386/i686/multiarch/Makefile
28277 (CFLAGS-varshift.c): New variable.
28278
9ea3de11
UD
282792010-08-27 Ulrich Drepper <drepper@redhat.com>
28280
c96d23fc
UD
28281 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
28282 * sysdeps/i386/i686/multiarch/varshift.c: New file.
28283
9ea3de11
UD
28284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
28285
28286 * sysdeps/x86_64/strlen.S: Minimal code improvement.
28287
623aac7f
L
282882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
28289
28290 * sysdeps/x86_64/strlen.S: Unroll the loop.
28291 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28292 strlen-sse2 strlen-sse2-bsf.
28293 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
28294 __strlen_no_bsf if bit_Slow_BSF is set.
28295 (__strlen_sse42): Removed.
28296 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
28297 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
28298
8b2b7715
RM
282992010-08-25 Roland McGrath <roland@redhat.com>
28300
28301 * sysdeps/x86_64/multiarch/varshift.S: File removed.
28302 * sysdeps/x86_64/multiarch/varshift.c: New file.
28303 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
28304 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
28305 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
28306 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
28307
e73015f2
L
283082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
28309
28310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28311 strlen-sse2 strlen-sse2-bsf.
28312 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
28313 __strlen_sse2_bsf if bit_Slow_BSF is unset.
28314 (__strlen_sse2): Removed.
28315 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
28316 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
28317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28318 bit_Slow_BSF for Atom.
28319 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
28320 (index_Slow_BSF): Define.
28321 (HAS_SLOW_BSF): Define.
28322
df24a73e
UD
283232010-08-25 Ulrich Drepper <drepper@redhat.com>
28324
28325 [BZ #10851]
28326 * resolv/res_init.c (__res_vinit): When no server address at all
28327 is given default to loopback.
28328
f2ac4868
RM
283292010-08-24 Roland McGrath <roland@redhat.com>
28330
09055553
RM
28331 * configure.in: Remove config-name.h generation.
28332 * configure: Regenerated.
28333 * config-name.in: File removed.
28334 * scripts/config-uname.sh: New file.
28335 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
28336 ($(objdir)config-name.h): New target.
28337
f2ac4868
RM
28338 * sunrpc/rpc_parse.h: Avoid nested comment.
28339
73f27d5e
RH
283402010-08-24 Richard Henderson <rth@redhat.com>
28341 Ulrich Drepper <drepper@redhat.com>
28342 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
28345 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
28346 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
28347 Replace _mm_srli_si128 with __m128i_shift_right. Replace
28348 _mm_alignr_epi8 with _mm_loadu_si128.
28349 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
28350 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
28351 (__m128i_shift_right): Removed.
28352 * sysdeps/i386/i686/multiarch/varshift.h: New file.
28353 * sysdeps/i386/i686/multiarch/varshift.S: New file.
28354 * sysdeps/x86_64/multiarch/varshift.h: New file.
28355 * sysdeps/x86_64/multiarch/varshift.S: New file.
28356
84b9230c
MF
283572010-08-21 Mike Frysinger <vapier@gentoo.org>
28358
28359 * configure.in: Move assembler checks to before sysdep dir checking.
28360
9bbd0ddc
PB
283612010-08-20 Petr Baudis <pasky@suse.cz>
28362
28363 * LICENSES: Sync the sunrpc license.
28364
9da4bb31
UD
283652010-08-19 Ulrich Drepper <drepper@redhat.com>
28366
a7ab6ec8
UD
28367 * sunrpc/auth_des.c: Update copyright notice once again.
28368 * sunrpc/auth_none.c: Likewise.
28369 * sunrpc/auth_unix.c: Likewise.
28370 * sunrpc/authdes_prot.c: Likewise.
28371 * sunrpc/authuxprot.c: Likewise.
28372 * sunrpc/bindrsvprt.c: Likewise.
28373 * sunrpc/clnt_gen.c: Likewise.
28374 * sunrpc/clnt_perr.c: Likewise.
28375 * sunrpc/clnt_raw.c: Likewise.
28376 * sunrpc/clnt_simp.c: Likewise.
28377 * sunrpc/clnt_tcp.c: Likewise.
28378 * sunrpc/clnt_udp.c: Likewise.
28379 * sunrpc/clnt_unix.c: Likewise.
28380 * sunrpc/des_crypt.c: Likewise.
28381 * sunrpc/des_soft.c: Likewise.
28382 * sunrpc/get_myaddr.c: Likewise.
28383 * sunrpc/getrpcport.c: Likewise.
28384 * sunrpc/key_call.c: Likewise.
28385 * sunrpc/key_prot.c: Likewise.
28386 * sunrpc/openchild.c: Likewise.
28387 * sunrpc/pm_getmaps.c: Likewise.
28388 * sunrpc/pm_getport.c: Likewise.
28389 * sunrpc/pmap_clnt.c: Likewise.
28390 * sunrpc/pmap_prot.c: Likewise.
28391 * sunrpc/pmap_prot2.c: Likewise.
28392 * sunrpc/pmap_rmt.c: Likewise.
28393 * sunrpc/rpc/auth.h: Likewise.
28394 * sunrpc/rpc/auth_unix.h: Likewise.
28395 * sunrpc/rpc/clnt.h: Likewise.
28396 * sunrpc/rpc/des_crypt.h: Likewise.
28397 * sunrpc/rpc/key_prot.h: Likewise.
28398 * sunrpc/rpc/netdb.h: Likewise.
28399 * sunrpc/rpc/pmap_clnt.h: Likewise.
28400 * sunrpc/rpc/pmap_prot.h: Likewise.
28401 * sunrpc/rpc/pmap_rmt.h: Likewise.
28402 * sunrpc/rpc/rpc.h: Likewise.
28403 * sunrpc/rpc/rpc_des.h: Likewise.
28404 * sunrpc/rpc/rpc_msg.h: Likewise.
28405 * sunrpc/rpc/svc.h: Likewise.
28406 * sunrpc/rpc/svc_auth.h: Likewise.
28407 * sunrpc/rpc/types.h: Likewise.
28408 * sunrpc/rpc/xdr.h: Likewise.
28409 * sunrpc/rpc_clntout.c: Likewise.
28410 * sunrpc/rpc_cmsg.c: Likewise.
28411 * sunrpc/rpc_common.c: Likewise.
28412 * sunrpc/rpc_cout.c: Likewise.
28413 * sunrpc/rpc_dtable.c: Likewise.
28414 * sunrpc/rpc_hout.c: Likewise.
28415 * sunrpc/rpc_main.c: Likewise.
28416 * sunrpc/rpc_parse.c: Likewise.
28417 * sunrpc/rpc_parse.h: Likewise.
28418 * sunrpc/rpc_prot.c: Likewise.
28419 * sunrpc/rpc_sample.c: Likewise.
28420 * sunrpc/rpc_scan.c: Likewise.
28421 * sunrpc/rpc_scan.h: Likewise.
28422 * sunrpc/rpc_svcout.c: Likewise.
28423 * sunrpc/rpc_tblout.c: Likewise.
28424 * sunrpc/rpc_util.c: Likewise.
28425 * sunrpc/rpc_util.h: Likewise.
28426 * sunrpc/rpcinfo.c: Likewise.
28427 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
28428 * sunrpc/rpcsvc/key_prot.x: Likewise.
28429 * sunrpc/rpcsvc/klm_prot.x: Likewise.
28430 * sunrpc/rpcsvc/mount.x: Likewise.
28431 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
28432 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
28433 * sunrpc/rpcsvc/rex.x: Likewise.
28434 * sunrpc/rpcsvc/rstat.x: Likewise.
28435 * sunrpc/rpcsvc/rusers.x: Likewise.
28436 * sunrpc/rpcsvc/sm_inter.x: Likewise.
28437 * sunrpc/rpcsvc/spray.x: Likewise.
28438 * sunrpc/rpcsvc/yppasswd.x: Likewise.
28439 * sunrpc/rtime.c: Likewise.
28440 * sunrpc/svc.c: Likewise.
28441 * sunrpc/svc_auth.c: Likewise.
28442 * sunrpc/svc_authux.c: Likewise.
28443 * sunrpc/svc_raw.c: Likewise.
28444 * sunrpc/svc_run.c: Likewise.
28445 * sunrpc/svc_simple.c: Likewise.
28446 * sunrpc/svc_tcp.c: Likewise.
28447 * sunrpc/svc_udp.c: Likewise.
28448 * sunrpc/svc_unix.c: Likewise.
28449 * sunrpc/svcauth_des.c: Likewise.
28450 * sunrpc/xcrypt.c: Likewise.
28451 * sunrpc/xdr.c: Likewise.
28452 * sunrpc/xdr_array.c: Likewise.
28453 * sunrpc/xdr_float.c: Likewise.
28454 * sunrpc/xdr_mem.c: Likewise.
28455 * sunrpc/xdr_rec.c: Likewise.
28456 * sunrpc/xdr_ref.c: Likewise.
28457 * sunrpc/xdr_sizeof.c: Likewise.
28458 * sunrpc/xdr_stdio.c: Likewise.
28459
9da4bb31
UD
28460 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
28461 handling.
28462
bdaa77bc
AS
284632010-08-19 Andreas Schwab <schwab@redhat.com>
28464
28465 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
28466
fe2f79db
LM
284672010-08-19 Luis Machado <luisgpm@br.ibm.com>
28468
28469 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
28470 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
28471 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
28472 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
28473 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
28474 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
28475 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
28476 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
28477 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
28478 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
28479 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
28480 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
28481 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
28482 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
28483
b9b42ee0
AB
284842010-07-26 Anton Blanchard <anton@samba.org>
28485
28486 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
28487 * malloc/arena.c (heap_trim): Likewise.
28488
1c06ba31
UD
284892010-08-16 Ulrich Drepper <drepper@redhat.com>
28490
28491 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
28492 here. Not...
28493 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
28494 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
28495
f8392f40
L
284962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
28497
28498 * sysdeps/i386/elf/Makefile: New file.
28499
3162f12e
AS
285002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28501
28502 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
28503 from fanotify_init.
28504 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
28505 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28506
28c90b2c
UD
285072010-08-15 Ulrich Drepper <drepper@redhat.com>
28508
28509 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
28510 of strncasecmp_l.
1feccb6c 28511 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 28512
ca6bb004
UD
285132010-08-14 Ulrich Drepper <drepper@redhat.com>
28514
e9f82e0d
UD
28515 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28516 strncase_l-nonascii.
28517 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28518 Add strncase_l-ssse3.
28519 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
28520 * sysdeps/x86_64/strcmp.S: Likewise.
28521 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
28522 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
28523 * sysdeps/x86_64/strncase.S: New file.
28524 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
28525 * sysdeps/x86_64/strncase_l.S: New file.
28526 * string/Makefile (strop-tests): Add strncasecmp.
28527 * string/test-strncasecmp.c: New file.
28528
28529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
28530 warning.
28531
ca6bb004
UD
28532 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
28533 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
28534
052fa7b3
AS
285352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
28536
28537 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
28538
962dba78
UD
285392010-08-12 Ulrich Drepper <drepper@redhat.com>
28540
28541 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
28542 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
28543 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
28544
bebff237
AM
285452010-05-01 Alan Modra <amodra@gmail.com>
28546
28547 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
28548 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
28549 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
28550 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
28551 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
28552 tidying. Don't tail-call __sigjmp_save for static lib.
28553 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
28554 save location.
28555 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
28556 (CALL_MCOUNT): Add eh info, and nop after bl.
28557 (TAIL_CALL_SYSCALL_ERROR): New macro.
28558 (PSEUDO_RET): Use it.
28559 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
28560 Correct save location of integer regs and cr.
28561 (_dl_profile_resolve): Correct cr save location. Delete nops
28562 after bl when SHARED. Reduce cfi size a little by better
28563 placement of cfi directives.
28564 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
28565 make a stack frame. Instead use parm save area as a temp.
28566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
28567 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
28568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
28569 Don't make a stack frame for parent, use parm save area.
28570 Increase child stack frame to 112 bytes. Don't save unused reg,
28571 and adjust reg usage. Set up cfi on error recovery and
28572 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
28573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28574 (__makecontext): Add dummy nop after jump to exit.
28575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
28576 Use correct parm save area and cr save, reduce stack frame.
28577 Correct cfi for possible PSEUDO_RET frame setup.
28578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
28579 Branch to local label emitted by PSEUDO_RET rather than
28580 __syscall_error.
28581
02637374
AS
285822010-08-12 Andreas Schwab <schwab@redhat.com>
28583
28584 [BZ #11904]
28585 * locale/programs/locale.c (print_assignment): New function.
28586 (show_locale_vars): Use it.
28587
c3e2f19b
UD
285882010-08-11 Ulrich Drepper <drepper@redhat.com>
28589
3cdaa6ad
UD
28590 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
28591 field.
28592 (struct statfs64): Likewise.
28593 (_STATFS_F_FLAGS): Define.
28594 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
28595 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28596 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
28597 (ST_VALID): Define locally.
28598 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
28599 __statvfs_getflags, use the provided value.
28600 * sysdeps/unix/sysv/linux/kernel-features.h: Define
28601 __ASSUME_STATFS_F_FLAGS.
28602
754f7da3
UD
28603 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
28604
10b3bedc
UD
28605 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
28606 Add sys/fanotify.h.
28607 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
28608 fanotify_mask for GLIBC_2.13.
28609 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
28610 fanotify_init and fanotify_mark.
28611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
28612 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
28613
c08fb0d7
UD
28614 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
28615 Add prlimit.
28616 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
28617 prlimit64 for GLIBC_2.13.
28618 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
28619 prlimit64.
28620 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
28621 syscall.
28622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
28623 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
28624 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
28625 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
28626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
28627 add prlimit alias.
28628 * sysdeps/unix/sysv/linux/prlimit.c: New file.
28629
15bac72b
UD
28630 [BZ #11903]
28631 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
28632 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
28633
c3e2f19b
UD
28634 * nss/Makefile: Add rules to build and run tst-nss-test1.
28635 * shlib-versions: Add entry for libnss_test1.
28636 * nss/nss_test1.c: New file.
28637 * nss/tst-nss-test1.c: New file.
28638
28639 * nss/nsswitch.c (__nss_database_custom): Define new variable.
28640 (__nss_configure_lookup): Set appropriate entry in
28641 __nss_configure_lookup to true.
28642 * nss/nsswitch.h: Define enum with indeces of databases in
28643 databases and __nss_database_custom arrays. Declare
28644 __nss_database_custom.
28645 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
28646 to avoid using nscd when custom rules are installed.
28647 * nss/getXXbyYY_r.c: Likewise.
28648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28649
28650 * nss/nss_files/files-parse.c: Whitespace fixes.
28651
f15ce4d8
UD
286522010-08-09 Ulrich Drepper <drepper@redhat.com>
28653
28654 [BZ #11883]
28655 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
28656 * posix/fnmatch_loop.c: Likewise.
28657
d22e4cc9
AK
286582010-07-17 Andi Kleen <ak@linux.intel.com>
28659
28660 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
28661 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
28662 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
28663 * Versions.def [GLIBC_2.13]: Add.
28664
805bc17d
UD
286652010-08-06 Ulrich Drepper <drepper@redhat.com>
28666
28667 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28668 Also fail if tpwd after pwuid call is NULL.
28669
5a42321d
ST
286702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
28671
28672 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
28673 when converting to ms.
28674
fd3ebeda
ST
286752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
28676
28677 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
28678 EOPNOTSUPP errors with ENOTTY.
28679 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
28680 EOPNOTSUPP errors with ENOTTY.
28681
73507d3a
UD
286822010-07-31 Ulrich Drepper <drepper@redhat.com>
28683
28684 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
28685 Add strcasecmp_l-ssse3.
28686 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
28687 strcasecmp.
28688 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
28689 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
28690 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
28691
fe36dd02
UD
286922010-07-30 Ulrich Drepper <drepper@redhat.com>
28693
66f6765a
UD
28694 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
28695
42e08a54
UD
28696 * string/Makefile (strop-tests): Add strcasecmp.
28697 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
28698 strcasecmp_l-nonascii.
28699 (gen-as-const-headers): Add locale-defines.sym.
28700 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
28701 * sysdeps/x86_64/strcasecmp.S: New file.
28702 * sysdeps/x86_64/strcasecmp_l.S: New file.
28703 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
28704 * sysdeps/x86_64/locale-defines.sym: New file.
28705 * string/test-strcasecmp.c: New file.
28706
fe36dd02
UD
28707 * string/test-strcasestr.c: Test both ends of the range of characters.
28708 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
28709
48cbc0d6
RM
287102010-07-29 Roland McGrath <roland@redhat.com>
28711
76e6d6bc 28712 [BZ #11856]
48cbc0d6
RM
28713 * manual/locale.texi (Yes-or-No Questions): Fix example code.
28714
880113d9
UD
287152010-07-27 Ulrich Drepper <drepper@redhat.com>
28716
28717 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
28718 for ld.so.
28719
deb9cabb
AS
287202010-07-27 Andreas Schwab <schwab@redhat.com>
28721
28722 * manual/memory.texi (Malloc Tunable Parameters): Document
28723 M_PERTURB.
28724
1c7570ff
RM
287252010-07-26 Roland McGrath <roland@redhat.com>
28726
28727 [BZ #11840]
28728 * configure.in (-fgnu89-inline check): Set and substitute
28729 gnu89_inline, not libc_cv_gnu89_inline.
28730 * configure: Regenerated.
28731 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
28732
24fb0f88
UD
287332010-07-26 Ulrich Drepper <drepper@redhat.com>
28734
28735 * string/test-strnlen.c: New file.
28736 * string/Makefile (strop-tests): Add strnlen.
28737 * string/tester.c (test_strnlen): Add a few more test cases.
28738 * string/tst-strlen.c: Better error reporting.
28739
28740 * sysdeps/x86_64/strnlen.S: New file.
28741
8e96b93a
UD
287422010-07-24 Ulrich Drepper <drepper@redhat.com>
28743
28744 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
28745 lower-latency instructions.
28746
dbc676d4
UD
287472010-07-23 Ulrich Drepper <drepper@redhat.com>
28748
28749 * string/test-strcasestr.c: New file.
28750 * string/test-strstr.c: New file.
28751 * string/Makefile (strop-tests): Add strstr and strcasestr.
28752 * string/str-two-way.h: Don't undefine MAX.
28753 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
28754
f6a31e0e
AS
287552010-07-21 Andreas Schwab <schwab@redhat.com>
28756
28757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28758 strcasestr-nonascii.
28759 (CFLAGS-strcasestr-nonascii.c): Define.
28760 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
28761 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
28762 Remove unused attribute.
28763
5dbc3b6c
RM
287642010-07-20 Roland McGrath <roland@redhat.com>
28765
28766 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
28767 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
28768 ld.so.cache was broken. With it, there is no way to disable dsocaps
28769 like LD_HWCAP_MASK can disable hwcaps.
28770
23d101d8
EPM
287712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28772
28773 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
28774
cc9f2e47
UD
287752010-07-16 Ulrich Drepper <drepper@redhat.com>
28776
28777 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
28778 call in strcasestr.
28779 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
28780 __strcasestr_sse42_nonascii.
28781 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
28782 strcasestr-nonascii.c.
28783 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
28784
77c1b069
LM
287852010-06-15 Luis Machado <luisgpm@br.ibm.com>
28786
28787 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
28788 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
28789 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
28790 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
28791
440566c3
UD
287922010-07-09 Ulrich Drepper <drepper@redhat.com>
28793
28794 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
28795 fcntl.
28796
5be9d05d
AS
287972010-07-06 Andreas Schwab <schwab@redhat.com>
28798
c30b7ee2 28799 [BZ #11577]
5be9d05d
AS
28800 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
28801 dl_signal_cerror.
28802
8a492a67
UD
288032010-07-06 Ulrich Drepper <drepper@redhat.com>
28804
28805 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
28806 _PC_PIPE_BUF using F_GETPIPE_SZ.
28807
713df3d5
RM
288082010-07-05 Roland McGrath <roland@redhat.com>
28809
28810 * manual/arith.texi (Rounding Functions): Fix rint description
28811 implicit in round description.
28812
702e8f14
UD
288132010-07-02 Ulrich Drepper <drepper@redhat.com>
28814
28815 * elf/Makefile: Fix linking for a few tests to make recent linker
28816 happy.
28817
52ed8be9
AS
288182010-06-30 Andreas Schwab <schwab@redhat.com>
28819
28820 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28821 $(common-objpfx)libc_nonshared.a.
28822
f47c9a11
LM
288232010-06-21 Luis Machado <luisgpm@br.ibm.com>
28824
28825 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
28826 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
28827 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28828 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28829 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
28830 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
28831 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28832 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
28834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
28835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
28836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
28837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
28838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
28839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
28840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
28841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
28842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
28843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
28844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
28845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
28846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
28847 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
28848 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
28849 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
28850 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
28851 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
28852 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
28853 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
28854 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
28855 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
28856 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
28857 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
28858 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
28859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
28861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
28862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
28863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
28864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
28865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
28866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
28867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
28868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
28869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
28870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
28871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
28872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
28873
6fb8cbcb
L
288742010-06-25 H.J. Lu <hongjiu.lu@intel.com>
28875
28876 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
28877 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
28878 * string/memmove.c (memmove): Renamed to ...
28879 (MEMMOVE): ...this. Default to memmove.
28880 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
28881 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
28882 (END_CHK): Define.
28883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28884 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
28885 mempcpy-ssse3-back memmove-ssse3-back.
28886 * sysdeps/x86_64/multiarch/bcopy.S: New file .
28887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
28888 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
28889 * sysdeps/x86_64/multiarch/memcpy.S: New file.
28890 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
28891 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
28892 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
28893 * sysdeps/x86_64/multiarch/memmove.c: New file.
28894 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
28895 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
28896 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
28897 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
28898 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
28899 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
28900 Define.
28901 (index_Fast_Copy_Backward): Define.
28902 (HAS_ARCH_FEATURE): Define.
28903 (HAS_FAST_REP_STRING): Define.
28904 (HAS_FAST_COPY_BACKWARD): Define.
28905
4e733bac 289062010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
28907
28908 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28909 Restore proper fallback handling.
28910
63c4ed22
UD
289112010-06-19 Ulrich Drepper <drepper@redhat.com>
28912
ac2b484c
UD
28913 [BZ #11701]
28914 * posix/group_member.c (__group_member): Correct checking loop.
28915
63c4ed22
UD
28916 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
28917 OOM in getpwuid_r correctly. Return error number when the caller
28918 should return, otherwise -1.
28919 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
28920 call returning > 0 value.
28921 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
28922
765ade4b
AS
289232010-06-07 Andreas Schwab <schwab@redhat.com>
28924
28925 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
28926 libc_nonshared.a from targets in modules-names.
28927
80da2e09
KS
289282010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
28929
28930 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
28931 requires it.
28932
158db122
LM
289332010-06-10 Luis Machado <luisgpm@br.ibm.com>
28934
28935 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
28936 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
28937 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
28938 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
28939
caa78cf8
AS
289402010-06-02 Andreas Schwab <schwab@redhat.com>
28941
28942 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
28943
b2ef2c01
UD
289442010-06-14 Ulrich Drepper <drepper@redhat.com>
28945
28946 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
28947 and F_GETPIPE_SZ.
28948 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
28949 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
28950 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
28951 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
28952 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
28953 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
28954
fbd643b6
RM
289552010-06-14 Roland McGrath <roland@redhat.com>
28956
28957 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
28958
f32f2869
JJ
289592010-06-07 Jakub Jelinek <jakub@redhat.com>
28960
28961 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
28962 __REDIRECT followed by __THROW.
28963 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
28964 * posix/getopt.h (getopt): Likewise.
28965
2a50c078
EPM
289662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
28967
28968 * hurd/lookup-at.c (__file_name_lookup_at): Accept
28969 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
28970 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
28971 in AT_FLAGS.
28972 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
28973 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
28974
eb5ad2eb
LM
289752010-05-28 Luis Machado <luisgpm@br.ibm.com>
28976
28977 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
28978
3c88fe1e
L
289792010-05-26 H.J. Lu <hongjiu.lu@intel.com>
28980
28981 [BZ #11640]
28982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28983 Properly check family and model.
28984
d2f73151
TY
289852010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
28986
28987 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
28988
ebd2e13d
LM
289892010-05-24 Luis Machado <luisgpm@br.ibm.com>
28990
28991 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
28992
b32b8b45
UD
289932010-05-21 Ulrich Drepper <drepper@redhat.com>
28994
28995 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
28996 symbol reference.
28997
9acbe24d
AS
289982010-05-19 Andreas Schwab <schwab@redhat.com>
28999
29000 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
29001 symbol reference.
29002
f0ccf6ea
AS
290032010-05-21 Andreas Schwab <schwab@redhat.com>
29004
3d04ff3a
AS
29005 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
29006 and internal_recvmmsg.
29007 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
29008 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
29009 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
29010 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
29011
f0ccf6ea
AS
29012 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
29013 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
29014 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
29015
5b08ac57
AS
290162010-05-20 Andreas Schwab <schwab@redhat.com>
29017
29018 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
29019
4828935d
LM
290202010-05-17 Luis Machado <luisgpm@br.ibm.com>
29021
29022 POWER7 optimizations.
29023 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
29024 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
29025
373d545e
UD
290262010-05-19 Ulrich Drepper <drepper@redhat.com>
29027
29028 * version.h: Update for 2.13 development version.
29029
21a2b1ae
AS
290302010-05-12 Andrew Stubbs <ams@codesourcery.com>
29031
29032 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
29033 exceptions. Return 0.
29034
3f7dcb2b
RM
290352010-05-07 Roland McGrath <roland@redhat.com>
29036
29037 * elf/ldconfig.c (main): Add a const.
29038
5f24d53a 290392010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 29040
a160f8d8
UD
29041 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
29042 (args_options): Add no-idn option.
29043 (ahosts_keys_int): Add idn_flags to ai_flags.
29044 (parse_option): Handle 'i' option to clear idn_flags.
29045
5f24d53a
UD
29046 * malloc/malloc.c (_int_free): Possible race in the most recently
29047 added check. Only act on the data if no current modification
29048 happened.
265bb1ce
UD
29049
29050See ChangeLog.17 for earlier changes.